PageSourceSearch

https://hunter.io/assets/Index-LKlo62D4.js

js hunter.io collected 2026-09-24 07:53:15 UTC 91,991 bytes, 2,860 lines download raw bytes

1(function() {
2	try {
3		var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {};
4		e.SENTRY_RELEASE = { id: "b96dc26" };
5		var n = new e.Error().stack;
6		n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8b98aec8-4cde-4343-8f38-fad574df4925", e._sentryDebugIdIdentifier = "sentry-dbid-8b98aec8-4cde-4343-8f38-fad574df4925");
7	} catch (e) {}
8})();
9import { n as __esmMin } from "./rolldown-runtime-sLwMD6dS.js";
10import { Ka as onboarding_steps_path, M as init_currency_helper, Mi as init_routes, On as api_domain_search_path, Pi as last_domain_searches_search_index_path, Po as signal_path, Qo as upgrade_welcome_index_path, Yr as discovers_path, dn as formatCompanySizeRangeLabel, j as CurrencyHelper, no as related_companies_search_index_path, pn as init_text_helpers } from "./controllers-jdPQjaCB.js";
11import { i as require_compiler_runtime, l as getCsrfToken, t as require_jsx_runtime, u as init_utils } from "./jsx-runtime-CHSMGLHp.js";
12import { t as require_react } from "./react-CrLPhuc5.js";
13import { n as init_icon, t as Icon } from "./icon-BNzYbsdJ.js";
14import { r as init_button, t as Button } from "./button-DOiPZHfy.js";
15import { a as init_tooltip, i as TooltipTrigger, n as TooltipContent, t as Tooltip } from "./tooltip-HHfiWInP.js";
16import { Bn as DomainSignals, Gn as init_domain_search, Vn as init_domain_signals, Wn as DomainSearch, an as data_no_data_default, in as init_data_no_results, on as init_data_no_data, rn as data_no_results_default } from "./turbo-mount-DM0tFk1M.js";
17import { l as init_upgrade_illustration, u as upgrade_illustration_default } from "./useLeadsListSave-sUF_wqjF.js";
18import { i as init_popover, n as PopoverContent, r as PopoverTrigger, t as Popover } from "./popover-BGt3etf0.js";
19import { a as init_key_value, i as KeyValueTitle, n as KeyValueDescription, r as KeyValueItem, t as KeyValue } from "./key-value-BT2BBBdT.js";
20import { n as init_default_company_logo, t as default_company_logo_default } from "./default_company_logo-CUlbiX6a.js";
21import { t as Dialog, u as init_dialog } from "./dialog-XgiZyeRA.js";
22import { a as EmptyStateDescription, c as EmptyStateImage, d as init_empty_state, i as EmptyStateContent, l as EmptyStateTitle, n as EmptyStateActions, t as EmptyState } from "./empty-state-Crv2GUlN.js";
23import { n as init_loading_spinner, t as LoadingSpinner } from "./loading-spinner-Ati6dit1.js";
24import { n as useDialog, t as init_useDialog } from "./useDialog-CwjC07YA.js";
25import { n as hostnameFromURL } from "./domain-helpers-B3p1HhXC.js";
26import { a as init_dist$1, l as router, s as usePage, t as Head_default } from "./dist-ZlUHm0R7.js";
27import { n as init_DomainAutocomplete, t as DomainAutocomplete } from "./DomainAutocomplete-CoYw37Ma.js";
28import { n as useFlashMessages, t as init_useFlashMessages } from "./useFlashMessages-CIiIqxbs.js";
29import { n as init_data_verify, t as data_verify_default } from "./data-verify-fLBS8B4_.js";
30import { i as init_SearchShell, n as useFollowCompany, r as SearchShell, t as init_useFollowCompany } from "./useFollowCompany-ChMqxS_O.js";
31import { n as init_campaigns_copy_promotion_visual, t as campaigns_copy_promotion_visual_default } from "./campaigns-copy-promotion-visual-qqrsHZLl.js";
32//#region app/frontend/pages/Search/SearchSidebar.tsx
33function searchPath(domain) {
34	return `/search/${encodeURIComponent(domain)}`;
35}
36function technologyLogoUrl(website) {
37	if (!website) return default_company_logo_default;
38	try {
39		return `https://logos.hunter.io/${new URL(website).hostname}`;
40	} catch {
41		return default_company_logo_default;
42	}
43}
44function Accordion({ title, defaultOpen = false, onFirstOpen, children }) {
45	const [open, setOpen] = (0, import_react$5.useState)(defaultOpen);
46	const [opened, setOpened] = (0, import_react$5.useState)(defaultOpen);
47	function toggle() {
48		if (!opened) {
49			setOpened(true);
50			onFirstOpen?.();
51		}
52		setOpen((value) => !value);
53	}
54	return /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("div", {
55		className: "board-box p-0 mb-4",
56		children: [/* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("header", {
57			className: "accordion__header",
58			children: [/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("h2", {
59				className: "accordion__title",
60				children: title
61			}), /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("button", {
62				type: "button",
63				className: "btn-empty accordion__expand",
64				onClick: toggle,
65				"aria-expanded": open,
66				children: /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(Icon, { icon: open ? "angle-up" : "angle-down" })
67			})]
68		}), open && /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("div", {
69			className: "accordion__content",
70			children
71		})]
72	});
73}
74function FollowCompany(t0) {
75	const $ = (0, import_compiler_runtime$7.c)(22);
76	const { companyName, companySignal, followState } = t0;
77	const signalId = companySignal?.id ?? followState.followedSignalId ?? null;
78	if (signalId !== null || followState.followed) {
79		let t1;
80		if ($[0] !== signalId) {
81			t1 = signalId ? signal_path(signalId) : "/signals";
82			$[0] = signalId;
83			$[1] = t1;
84		} else t1 = $[1];
85		let t2;
86		if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
87			t2 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(Icon, { icon: "check" });
88			$[2] = t2;
89		} else t2 = $[2];
90		let t3;
91		if ($[3] !== t1) {
92			t3 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(TooltipTrigger, {
93				asChild: true,
94				children: /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(Button, {
95					variant: "successLight",
96					size: "sm",
97					fullWidth: true,
98					asChild: true,
99					children: /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("a", {
100						href: t1,
101						children: [t2, "Following"]
102					})
103				})
104			});
105			$[3] = t1;
106			$[4] = t3;
107		} else t3 = $[4];
108		let t4;
109		if ($[5] !== companyName) {
110			t4 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)(TooltipContent, { children: ["See updates for ", companyName] });
111			$[5] = companyName;
112			$[6] = t4;
113		} else t4 = $[6];
114		let t5;
115		if ($[7] !== t3 || $[8] !== t4) {
116			t5 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("div", {
117				className: "ds-following",
118				children: /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)(Tooltip, {
119					delayDuration: 100,
120					children: [t3, t4]
121				})
122			});
123			$[7] = t3;
124			$[8] = t4;
125			$[9] = t5;
126		} else t5 = $[9];
127		return t5;
128	}
129	let t1;
130	if ($[10] === Symbol.for("react.memo_cache_sentinel")) {
131		t1 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(Icon, {
132			icon: "radar",
133			className: "ds-follow__icon"
134		});
135		$[10] = t1;
136	} else t1 = $[10];
137	let t2;
138	let t3;
139	if ($[11] !== companyName) {
140		t2 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("h2", {
141			className: "ds-follow__title",
142			children: [
143				"Follow ",
144				companyName,
145				" for updates"
146			]
147		});
148		t3 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("p", {
149			className: "ds-follow__description",
150			children: [
151				"Get notified when ",
152				companyName,
153				" opens new jobs, raises funds, and more."
154			]
155		});
156		$[11] = companyName;
157		$[12] = t2;
158		$[13] = t3;
159	} else {
160		t2 = $[12];
161		t3 = $[13];
162	}
163	const t4 = followState.following ? "Following…" : "Follow this company";
164	let t5;
165	if ($[14] !== followState.follow || $[15] !== followState.following || $[16] !== t4) {
166		t5 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(Button, {
167			variant: "primary",
168			size: "sm",
169			fullWidth: true,
170			onClick: followState.follow,
171			disabled: followState.following,
172			children: t4
173		});
174		$[14] = followState.follow;
175		$[15] = followState.following;
176		$[16] = t4;
177		$[17] = t5;
178	} else t5 = $[17];
179	let t6;
180	if ($[18] !== t2 || $[19] !== t3 || $[20] !== t5) {
181		t6 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("div", {
182			className: "ds-follow",
183			children: [
184				t1,
185				t2,
186				t3,
187				t5
188			]
189		});
190		$[18] = t2;
191		$[19] = t3;
192		$[20] = t5;
193		$[21] = t6;
194	} else t6 = $[21];
195	return t6;
196}
197function CompanyCard(t0) {
198	const $ = (0, import_compiler_runtime$7.c)(63);
199	const { company, isAdmin } = t0;
200	const [descExpanded, setDescExpanded] = (0, import_react$5.useState)(false);
201	const t1 = `https://www.linkedin.com/company/${company.linkedin}`;
202	let t2;
203	if ($[0] !== t1) {
204		t2 = {
205			key: "linkedin",
206			href: t1,
207			icon: "linkedin",
208			variant: "brand"
209		};
210		$[0] = t1;
211		$[1] = t2;
212	} else t2 = $[1];
213	const t3 = `https://twitter.com/${company.twitter}`;
214	let t4;
215	if ($[2] !== t3) {
216		t4 = {
217			key: "twitter",
218			href: t3,
219			icon: "x-twitter",
220			variant: "brand"
221		};
222		$[2] = t3;
223		$[3] = t4;
224	} else t4 = $[3];
225	const t5 = `https://facebook.com/${company.facebook}`;
226	let t6;
227	if ($[4] !== t5) {
228		t6 = {
229			key: "facebook",
230			href: t5,
231			icon: "facebook",
232			variant: "brand"
233		};
234		$[4] = t5;
235		$[5] = t6;
236	} else t6 = $[5];
237	const t7 = `https://youtube.com/${company.youtube}`;
238	let t8;
239	if ($[6] !== t7) {
240		t8 = {
241			key: "youtube",
242			href: t7,
243			icon: "youtube",
244			variant: "brand"
245		};
246		$[6] = t7;
247		$[7] = t8;
248	} else t8 = $[7];
249	const t9 = `https://instagram.com/${company.instagram}`;
250	let t10;
251	if ($[8] !== t9) {
252		t10 = {
253			key: "instagram",
254			href: t9,
255			icon: "instagram",
256			variant: "brand"
257		};
258		$[8] = t9;
259		$[9] = t10;
260	} else t10 = $[9];
261	let t11;
262	if ($[10] !== t10 || $[11] !== t2 || $[12] !== t4 || $[13] !== t6 || $[14] !== t8) {
263		t11 = [
264			t2,
265			t4,
266			t6,
267			t8,
268			t10
269		];
270		$[10] = t10;
271		$[11] = t2;
272		$[12] = t4;
273		$[13] = t6;
274		$[14] = t8;
275		$[15] = t11;
276	} else t11 = $[15];
277	const socials = t11;
278	let t12;
279	if ($[16] !== company.city || $[17] !== company.countryName || $[18] !== company.postcode || $[19] !== company.stateName || $[20] !== company.street) {
280		t12 = [
281			company.street,
282			company.postcode,
283			company.city,
284			company.stateName,
285			company.countryName
286		].filter(Boolean);
287		$[16] = company.city;
288		$[17] = company.countryName;
289		$[18] = company.postcode;
290		$[19] = company.stateName;
291		$[20] = company.street;
292		$[21] = t12;
293	} else t12 = $[21];
294	const address = t12.join(", ");
295	const hasStreetLevelAddress = Boolean(company.street || company.postcode || company.city);
296	let t13;
297	if ($[22] !== company.countryName || $[23] !== company.stateName) {
298		t13 = [company.countryName, company.stateName].filter(Boolean);
299		$[22] = company.countryName;
300		$[23] = company.stateName;
301		$[24] = t13;
302	} else t13 = $[24];
303	const country = t13.join(", ");
304	const hasDetails = company.industryName || company.emailPattern || company.countryName || company.size || company.companyType;
305	let t14;
306	if ($[25] !== company.logoUrl) {
307		t14 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("img", {
308			className: "ds-company__logo",
309			src: company.logoUrl,
310			alt: "",
311			onError: _temp$2
312		});
313		$[25] = company.logoUrl;
314		$[26] = t14;
315	} else t14 = $[26];
316	let t15;
317	if ($[27] !== company.companyName) {
318		t15 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("strong", {
319			className: "ds-company__name",
320			children: company.companyName
321		});
322		$[27] = company.companyName;
323		$[28] = t15;
324	} else t15 = $[28];
325	let t16;
326	if ($[29] !== t14 || $[30] !== t15) {
327		t16 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("div", {
328			className: "ds-company__heading",
329			children: [t14, t15]
330		});
331		$[29] = t14;
332		$[30] = t15;
333		$[31] = t16;
334	} else t16 = $[31];
335	let t17;
336	if ($[32] !== company.description || $[33] !== descExpanded) {
337		t17 = company.description && (company.description.length > 130 ? /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("div", {
338			className: "ds-company__desc",
339			children: [
340				descExpanded ? company.description : `${company.description.slice(0, 130)}…`,
341				" ",
342				/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("button", {
343					type: "button",
344					className: "btn-empty",
345					onClick: () => setDescExpanded(_temp2$2),
346					children: descExpanded ? "less" : "more"
347				})
348			]
349		}) : /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("div", {
350			className: "ds-company__desc",
351			children: company.description
352		}));
353		$[32] = company.description;
354		$[33] = descExpanded;
355		$[34] = t17;
356	} else t17 = $[34];
357	const t18 = `https://${company.value}`;
358	const t19 = `${company.companyName}'s website`;
359	let t20;
360	if ($[35] === Symbol.for("react.memo_cache_sentinel")) {
361		t20 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(Icon, { icon: "globe" });
362		$[35] = t20;
363	} else t20 = $[35];
364	let t21;
365	if ($[36] !== t18 || $[37] !== t19) {
366		t21 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("a", {
367			className: "ds-company__link",
368			href: t18,
369			"aria-label": t19,
370			rel: "noopener noreferrer nofollow",
371			target: "_blank",
372			children: t20
373		}) });
374		$[36] = t18;
375		$[37] = t19;
376		$[38] = t21;
377	} else t21 = $[38];
378	let t22;
379	if ($[39] !== company || $[40] !== socials) {
380		t22 = socials.map((social) => company[social.key] ? /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("a", {
381			className: "ds-company__link",
382			href: social.href,
383			"aria-label": `${company.companyName} ${social.icon}`,
384			rel: "noopener noreferrer nofollow",
385			target: "_blank",
386			children: /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(Icon, {
387				icon: social.icon,
388				variant: social.variant
389			})
390		}) }, social.icon) : null);
391		$[39] = company;
392		$[40] = socials;
393		$[41] = t22;
394	} else t22 = $[41];
395	let t23;
396	if ($[42] !== t21 || $[43] !== t22) {
397		t23 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("ul", {
398			className: "ds-company__links",
399			children: [t21, t22]
400		});
401		$[42] = t21;
402		$[43] = t22;
403		$[44] = t23;
404	} else t23 = $[44];
405	let t24;
406	if ($[45] !== address || $[46] !== company.acceptAll || $[47] !== company.companyType || $[48] !== company.emailPattern || $[49] !== company.industryName || $[50] !== company.size || $[51] !== company.smtpProvider || $[52] !== company.value || $[53] !== country || $[54] !== hasDetails || $[55] !== hasStreetLevelAddress || $[56] !== isAdmin) {
407		t24 = hasDetails && /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)(import_jsx_runtime$7.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("hr", { className: "my-4" }), /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)(KeyValue, {
408			inline: true,
409			children: [
410				company.emailPattern && /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)(KeyValueItem, { children: [/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(KeyValueTitle, { children: "Email pattern:" }), /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(KeyValueDescription, { children: /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("code", { children: [
411					company.emailPattern,
412					"@",
413					company.value
414				] }) })] }),
415				/* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)(KeyValueItem, { children: [/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(KeyValueTitle, { children: "Accept all:" }), /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)(KeyValueDescription, { children: [company.acceptAll ? /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("strong", {
416					className: "dark-orange",
417					children: "YES"
418				}) : /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("strong", {
419					className: "green",
420					children: "NO"
421				}), /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)(Popover, { children: [/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(PopoverTrigger, {
422					asChild: true,
423					children: /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("button", {
424						type: "button",
425						className: "question-circle ml-1",
426						"aria-label": "About accept-all",
427						children: /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(Icon, {
428							icon: "question-circle",
429							size: "sm"
430						})
431					})
432				}), /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)(PopoverContent, {
433					className: "popover-body",
434					children: [/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("p", { children: "We check if the mail server is configured to accept all emails sent to the domain." }), /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("p", {
435						className: "black mb-0",
436						children: /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("a", {
437							href: "https://help.hunter.io/en/articles/1935079-what-is-an-accept-all-email",
438							target: "_blank",
439							rel: "noopener noreferrer",
440							children: "Learn more"
441						})
442					})]
443				})] })] })] }),
444				isAdmin && company.smtpProvider && /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)(KeyValueItem, { children: [/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(KeyValueTitle, { children: "SMTP provider:" }), /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(KeyValueDescription, { children: company.smtpProvider })] }),
445				company.industryName && /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)(KeyValueItem, { children: [/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(KeyValueTitle, { children: "Industry:" }), /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(KeyValueDescription, { children: company.industryName })] }),
446				company.size && /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)(KeyValueItem, { children: [/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(KeyValueTitle, { children: "Headcount:" }), /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(KeyValueDescription, { children: formatCompanySizeRangeLabel(company.size) })] }),
447				hasStreetLevelAddress && address ? /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)(KeyValueItem, {
448					className: "key-value__item--nowrap",
449					children: [/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(KeyValueTitle, { children: "Address:" }), /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(KeyValueDescription, { children: address })]
450				}) : country && /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)(KeyValueItem, { children: [/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(KeyValueTitle, { children: "Country:" }), /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(KeyValueDescription, { children: country })] }),
451				company.companyType && /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)(KeyValueItem, { children: [/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(KeyValueTitle, { children: "Type:" }), /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(KeyValueDescription, { children: company.companyType })] })
452			]
453		})] });
454		$[45] = address;
455		$[46] = company.acceptAll;
456		$[47] = company.companyType;
457		$[48] = company.emailPattern;
458		$[49] = company.industryName;
459		$[50] = company.size;
460		$[51] = company.smtpProvider;
461		$[52] = company.value;
462		$[53] = country;
463		$[54] = hasDetails;
464		$[55] = hasStreetLevelAddress;
465		$[56] = isAdmin;
466		$[57] = t24;
467	} else t24 = $[57];
468	let t25;
469	if ($[58] !== t16 || $[59] !== t17 || $[60] !== t23 || $[61] !== t24) {
470		t25 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(Accordion, {
471			title: "Company",
472			defaultOpen: true,
473			children: /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("div", {
474				className: "ds-company",
475				children: [
476					t16,
477					t17,
478					t23,
479					t24
480				]
481			})
482		});
483		$[58] = t16;
484		$[59] = t17;
485		$[60] = t23;
486		$[61] = t24;
487		$[62] = t25;
488	} else t25 = $[62];
489	return t25;
490}
491function _temp2$2(value) {
492	return !value;
493}
494function _temp$2(event) {
495	event.currentTarget.src = default_company_logo_default;
496}
497function TechnologiesAccordion(t0) {
498	const $ = (0, import_compiler_runtime$7.c)(14);
499	const { domainValue } = t0;
500	const [payload, setPayload] = (0, import_react$5.useState)(null);
501	const mountedRef = (0, import_react$5.useRef)(true);
502	let t1;
503	let t2;
504	if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
505		t1 = () => () => {
506			mountedRef.current = false;
507		};
508		t2 = [];
509		$[0] = t1;
510		$[1] = t2;
511	} else {
512		t1 = $[0];
513		t2 = $[1];
514	}
515	(0, import_react$5.useEffect)(t1, t2);
516	let t3;
517	if ($[2] !== domainValue || $[3] !== payload) {
518		t3 = async function load() {
519			if (payload) return;
520			try {
521				const data = await (await fetch(`${searchPath(domainValue)}/technologies.json`, { headers: { Accept: "application/json" } })).json();
522				if (mountedRef.current) setPayload(data);
523			} catch {
524				if (mountedRef.current) setPayload({
525					technologies: [],
526					categories: [],
527					categoryLabels: {},
528					allowDiscoverFilter: false
529				});
530			}
531		};
532		$[2] = domainValue;
533		$[3] = payload;
534		$[4] = t3;
535	} else t3 = $[4];
536	const load = t3;
537	let t4;
538	if ($[5] !== payload?.technologies) {
539		t4 = payload?.technologies ?? [];
540		$[5] = payload?.technologies;
541		$[6] = t4;
542	} else t4 = $[6];
543	const technologies = t4;
544	let t5;
545	if ($[7] !== domainValue || $[8] !== payload || $[9] !== technologies) {
546		t5 = payload === null ? /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("p", {
547			className: "m-8 text-center grey",
548			children: "Loading…"
549		}) : /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("div", {
550			className: "ds-tech p-4",
551			children: [technologies.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("p", {
552				className: "mb-4",
553				children: [
554					"No technologies found for ",
555					/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("strong", { children: domainValue }),
556					"."
557				]
558			}) : /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)(import_jsx_runtime$7.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("p", {
559				className: "mb-4 grey",
560				children: [
561					"Technologies used on ",
562					/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("strong", { children: domainValue }),
563					". Found with ",
564					/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("a", {
565						href: "/technologies/",
566						children: "TechLookup"
567					}),
568					"."
569				]
570			}), /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(KeyValue, { children: payload.categories.map((category) => /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)(KeyValueItem, { children: [/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(KeyValueTitle, { children: payload.categoryLabels[category] || category }), technologies.filter((tech) => tech.category === category).map((tech_0) => {
571				const label = tech_0.display_name || tech_0.name || tech_0.slug;
572				const logo = /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("img", {
573					className: "ds-company__logo",
574					src: technologyLogoUrl(tech_0.website),
575					alt: "",
576					onError: _temp3$1
577				});
578				return /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(KeyValueDescription, { children: payload.allowDiscoverFilter ? /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)(Tooltip, {
579					delayDuration: 100,
580					children: [/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(TooltipTrigger, {
581						asChild: true,
582						children: /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("a", {
583							className: "ds-tech__link",
584							href: discovers_path({ technology_included: tech_0.slug }),
585							children: [logo, /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("span", { children: label })]
586						})
587					}), /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)(TooltipContent, { children: ["Find out more companies using ", label] })]
588				}) : /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("div", {
589					className: "ds-tech__link",
590					children: [logo, label]
591				}) }, tech_0.slug);
592			})] }, category)) })] }), technologies.length > 0 && !payload.allowDiscoverFilter && /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("div", {
593				className: "ds-upgrade flex-column text-center",
594				children: [
595					/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("img", {
596						src: upgrade_illustration_default,
597						className: "ds-upgrade__illus",
598						alt: ""
599					}),
600					/* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("div", {
601						className: "ds-upgrade__content",
602						children: [/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("strong", {
603							className: "ds-upgrade__title",
604							children: technologies.length === 1 ? `Find more companies using ${technologies[0].display_name || technologies[0].slug}` : `Find more companies using those ${technologies.length} technologies`
605						}
605), /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("p", {
606							className: "ds-upgrade__desc",
607							children: "Access to companies filtered by technology by upgrading your plan."
608						})]
609					}),
610					/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(Button, {
611						size: "sm",
612						asChild: true,
613						children: /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("a", {
614							href: upgrade_welcome_index_path({ from: "domain_search_technologies" }),
615							children: "Upgrade your plan"
616						})
617					})
618				]
619			})]
620		});
621		$[7] = domainValue;
622		$[8] = payload;
623		$[9] = technologies;
624		$[10] = t5;
625	} else t5 = $[10];
626	let t6;
627	if ($[11] !== load || $[12] !== t5) {
628		t6 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(Accordion, {
629			title: "Technologies",
630			onFirstOpen: load,
631			children: t5
632		});
633		$[11] = load;
634		$[12] = t5;
635		$[13] = t6;
636	} else t6 = $[13];
637	return t6;
638}
639function _temp3$1(event) {
640	event.currentTarget.src = default_company_logo_default;
641}
642function RelatedCompanies(t0) {
643	const $ = (0, import_compiler_runtime$7.c)(6);
644	const { domainValue } = t0;
645	const [payload, setPayload] = (0, import_react$5.useState)(null);
646	let t1;
647	let t2;
648	if ($[0] !== domainValue) {
649		t1 = () => {
650			let cancelled = false;
651			fetch(related_companies_search_index_path(domainValue, { format: "json" }), { headers: { Accept: "application/json" } }).then(_temp4).then((data) => {
652				if (!cancelled) setPayload(data);
653			}).catch(() => {
654				if (!cancelled) setPayload({
655					allowed: true,
656					count: 0,
657					discoverPath: "",
658					companyName: domainValue,
659					domains: []
660				});
661			});
662			return () => {
663				cancelled = true;
664			};
665		};
666		t2 = [domainValue];
667		$[0] = domainValue;
668		$[1] = t1;
669		$[2] = t2;
670	} else {
671		t1 = $[1];
672		t2 = $[2];
673	}
674	(0, import_react$5.useEffect)(t1, t2);
675	let t3;
676	if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
677		t3 = function upgradeTitle(related) {
678			if (related.count === 0) return `Find companies similar to ${related.companyName}`;
679			if (related.count === 1) return `We found one similar company to ${related.companyName}`;
680			return `We found ${CurrencyHelper.numberWithDelimiter(related.count)} similar companies to ${related.companyName}`;
681		};
682		$[3] = t3;
683	} else t3 = $[3];
684	const upgradeTitle = t3;
685	let t4;
686	if ($[4] !== payload) {
687		t4 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(Accordion, {
688			title: "Similar companies",
689			defaultOpen: true,
690			children: payload === null ? /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("p", {
691				className: "m-8 text-center grey",
692				children: "Loading…"
693			}) : !payload.allowed ? /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("div", {
694				className: "ds-upgrade flex-column text-center",
695				children: [
696					/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("img", {
697						src: upgrade_illustration_default,
698						className: "ds-upgrade__illus",
699						alt: ""
700					}),
701					/* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("div", {
702						className: "ds-upgrade__content",
703						children: [/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("strong", {
704							className: "ds-upgrade__title",
705							children: upgradeTitle(payload)
706						}), /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("p", {
707							className: "ds-upgrade__desc",
708							children: "Access to similar companies and full results by upgrading your plan."
709						})]
710					}),
711					/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(Button, {
712						size: "sm",
713						asChild: true,
714						children: /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("a", {
715							href: upgrade_welcome_index_path({ from: "domain_search_related_companies" }),
716							children: "Upgrade your plan"
717						})
718					})
719				]
720			}) : payload.domains.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("div", {
721				className: "empty-space",
722				children: [
723					/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("div", {
724						className: "empty-space__icon far fa-empty-set",
725						"aria-hidden": true
726					}),
727					/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("strong", {
728						className: "empty-space__title",
729						children: "No similar companies"
730					}),
731					/* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("p", {
732						className: "empty-space__desc",
733						children: [
734							"We couldn't find any relevant companies similar to ",
735							payload.companyName,
736							"."
737						]
738					})
739				]
740			}) : /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)(import_jsx_runtime$7.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("ul", {
741				className: "ds-related-companies",
742				children: payload.domains.map(_temp6)
743			}), payload.count >
743 5 && payload.discoverPath && /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("div", {
744				className: "ds-related-companies__more",
745				children: /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(Button, {
746					fullWidth: true,
747					asChild: true,
748					children: /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("a", {
749						href: payload.discoverPath,
750						children: "See more similar companies"
751					})
752				})
753			})] })
754		});
755		$[4] = payload;
756		$[5] = t4;
757	} else t4 = $[5];
758	return t4;
759}
760function _temp6(company) {
761	return /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("li", {
762		className: "ds-related-company",
763		children: [
764			/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("img", {
765				className: "ds-related-company__logo",
766				src: company.logoUrl,
767				alt: "",
768				onError: _temp5
769			}),
770			/* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("div", {
771				className: "ds-related-company__heading",
772				children: [/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("a", {
773					className: "ds-related-company__name",
774					href: searchPath(company.value),
775					tabIndex: -1,
776					children: company.companyName
777				}), company.industryName && /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("div", {
778					className: "ds-related-company__subtitle",
779					children: company.industryName
780				})]
781			}),
782			/* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(Button, {
783				size: "sm",
784				className: "ds-related-company__cta",
785				asChild: true,
786				children: /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)("a", {
787					href: searchPath(company.value),
788					children: "Find email addresses"
789				})
790			})
791		]
792	}, company.value);
793}
794function _temp5(event) {
795	event.currentTarget.src = default_company_logo_default;
796}
797function _temp4(response) {
798	return response.json();
799}
800function SearchSidebar(t0) {
801	const $ = (0, import_compiler_runtime$7.c)(22);
802	const { domainValue, domainId, companyInfo, companySignal, dashboardV2, isAdmin, followState } = t0;
803	let t1;
804	if ($[0] !== companyInfo.companyName || $[1] !== companySignal || $[2] !== followState) {
805		t1 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(FollowCompany, {
806			companyName: companyInfo.companyName,
807			companySignal,
808			followState
809		});
810		$[0] = companyInfo.companyName;
811		$[1] = companySignal;
812		$[2] = followState;
813		$[3] = t1;
814	} else t1 = $[3];
815	let t2;
816	if ($[4] !== companyInfo || $[5] !== isAdmin) {
817		t2 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(CompanyCard, {
818			company: companyInfo,
819			isAdmin
820		});
821		$[4] = companyInfo;
822		$[5] = isAdmin;
823		$[6] = t2;
824	} else t2 = $[6];
825	let t3;
826	if ($[7] !== domainValue) {
827		t3 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(TechnologiesAccordion, { domainValue });
828		$[7] = domainValue;
829		$[8] = t3;
830	} else t3 = $[8];
831	let t4;
832	if ($[9] !== companyInfo.companyName || $[10] !== dashboardV2 || $[11] !== domainId || $[12] !== domainValue) {
833		t4 = dashboardV2 && /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(DomainSignals, { domain: {
834			id: domainId,
835			value: domainValue,
836			company_name: companyInfo.companyName
837		} });
838		$[9] = companyInfo.companyName;
839		$[10] = dashboardV2;
840		$[11] = domainId;
841		$[12] = domainValue;
842		$[13] = t4;
843	} else t4 = $[13];
844	let t5;
845	if ($[14] !== domainValue) {
846		t5 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsx)(RelatedCompanies, { domainValue });
847		$[14] = domainValue;
848		$[15] = t5;
849	} else t5 = $[15];
850	let t6;
851	if ($[16] !== t1 || $[17] !== t2 || $[18] !== t3 || $[19] !== t4 || $[20] !== t5) {
852		t6 = /* @__PURE__ */ (0, import_jsx_runtime$7.jsxs)("aside", {
853			className: "ds-sidebar",
854			children: [
855				t1,
856				t2,
857				t3,
858				t4,
859				t5
860			]
861		});
862		$[16] = t1;
863		$[17] = t2;
864		$[18] = t3;
865		$[19] = t4;
866		$[20] = t5;
867		$[21] = t6;
868	} else t6 = $[21];
869	return t6;
870}
871var import_compiler_runtime$7, import_react$5, import_jsx_runtime$7;
872function init_SearchSidebar() {
873	return (init_SearchSidebar = __esmMin((() => {
874		import_compiler_runtime$7 = require_compiler_runtime();
875		import_react$5 = require_react();
876		init_domain_signals();
877		init_button();
878		init_icon();
879		init_key_value();
880		init_tooltip();
881		init_popover();
882		init_currency_helper();
883		init_text_helpers();
884		init_routes();
885		init_default_company_logo();
886		init_upgrade_illustration();
887		import_jsx_runtime$7 = require_jsx_runtime();
888	})))();
889}
890//#endregion
891//#region app/frontend/pages/Search/RecentSearches.tsx
892function RecentSearches(t0) {
893	const $ = (0, import_compiler_runtime$6.c)(6);
894	const { searches } = t0;
895	const [items, setItems] = (0, import_react$4.useState)(searches);
896	if (items.length === 0) return null;
897	let t1;
898	if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
899		t1 = async function clear() {
900			setItems([]);
901			try {
902				await fetch(last_domain_searches_search_index_path(), {
903					method: "DELETE",
904					headers: { "X-CSRF-Token": getCsrfToken() }
905				});
906			} catch {}
907		};
908		$[0] = t1;
909	} else t1 = $[0];
910	const clear = t1;
911	let t2;
912	if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
913		t2 = /* @__PURE__ */ (0, import_jsx_runtime$6.jsxs)("header", {
914			className: "ds-recent-searches__header",
915			children: [
916				/* @__PURE__ */ (0, import_jsx_runtime$6.jsx)("h2", {
917					className: "ds-recent-searches__title",
918					children: "Recent searches"
919				}),
920				/* @__PURE__ */ (0, import_jsx_runtime$6.jsx)("hr", {}),
921				/* @__PURE__ */ (0, import_jsx_runtime$6.jsx)(Button, {
922					variant: "ghost",
923					size: "sm",
924					className: "ds-recent-searches__clear",
925					onClick: clear,
926					children: "Clear"
927				})
928			]
929		});
930		$[1] = t2;
931	} else t2 = $[1];
932	let t3;
933	if ($[2] !== items) {
934		t3 = items.map(_temp2$1);
935		$[2] = items;
936		$[3] = t3;
937	} else t3 = $[3];
938	let t4;
939	if ($[4] !== t3) {
940		t4 = /* @__PURE__ */ (0, import_jsx_runtime$6.jsxs)("div", {
941			className: "ds-recent-searches",
942			children: [t2, /* @__PURE__ */ (0, import_jsx_runtime$6.jsx)("ul", {
943				className: "ds-recent-searches-list",
944				children: t3
945			})]
946		});
947		$[4] = t3;
948		$[5] = t4;
949	} else t4 = $[5];
950	return t4;
951}
952function _temp2$1(item) {
953	return /* @__PURE__ */ (0, import_jsx_runtime$6.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime$6.jsxs)("a", {
954		className: "ds-recent-search",
955		href: `/search/${encodeURIComponent(item.domain)}`,
956		children: [/* @__PURE__ */ (0, import_jsx_runtime$6.jsx)("img", {
957			className: "ds-recent-search__logo",
958			src: item.logoUrl,
959			alt: "",
960			onError: _temp$1
961		}), item.name]
962	}) }, item.domain);
963}
964function _temp$1(event) {
965	event.currentTarget.src = default_company_logo_default;
966}
967var import_compiler_runtime$6, import_react$4, import_jsx_runtime$6;
968function init_RecentSearches() {
969	return (init_RecentSearches = __esmMin((() => {
970		import_compiler_runtime$6 = require_compiler_runtime();
971		import_react$4 = require_react();
972		init_button();
973		init_utils();
974		init_routes();
975		init_default_company_logo();
976		import_jsx_runtime$6 = require_jsx_runtime();
977	})))();
978}
979//#endregion
980//#region app/frontend/images/empty_states/error.svg
981var error_default;
982function init_error() {
983	return (init_error = __esmMin((() => {
984		error_default = "/assets/error-CPAlMafm.svg";
985	})))();
986}
987//#endregion
988//#region app/frontend/pages/Search/SearchEmptyStates.tsx
989function searchEmptyStateKind(results, anyFilters) {
990	if (results.domainIsEmailAddress) return "email";
991	if (results.domainIsInvalid) return "invalid";
992	if (results.disposableDomain) return "disposable";
993	if (results.webmailDomain) return "webmail";
994	if (results.numberOfResults === 0 && anyFilters) return "filtered";
995	if (results.numberOfResults === 0 && results.linkedDomains?.length > 0) return "linked";
996	if (results.numberOfResults === 0 && results.domain.company_data) return "noEmails";
997	if (results.numberOfResults === 0) return "notEnough";
998	return null;
999}
1000function searchEmptyStateColumnClass(kind, companyData) {
1001	if (kind === "filtered" || kind === "linked") return companyData ? "col-md-8" : "col-md-12";
1002	if (kind === "noEmails") return "col-md-8";
1003	return "col-md-12";
1004}
1005function EmptyStateBox(t0) {
1006	const $ = (0, import_compiler_runtime$5.c)(10);
1007	const { boxClass, illustration, children } = t0;
1008	const t1 = `board-box ${boxClass}`;
1009	let t2;
1010	if ($[0] !== illustration) {
1011		t2 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(EmptyStateImage, { children: /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)("img", {
1012			src: illustration,
1013			alt: ""
1014		}) });
1015		$[0] = illustration;
1016		$[1] = t2;
1017	} else t2 = $[1];
1018	let t3;
1019	if ($[2] !== children) {
1020		t3 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(EmptyStateContent, { children });
1021		$[2] = children;
1022		$[3] = t3;
1023	} else t3 = $[3];
1024	let t4;
1025	if ($[4] !== t2 || $[5] !== t3) {
1026		t4 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)(EmptyState, {
1027			orientation: "horizontal",
1028			children: [t2, t3]
1029		});
1030		$[4] = t2;
1031		$[5] = t3;
1032		$[6] = t4;
1033	} else t4 = $[6];
1034	let t5;
1035	if ($[7] !== t1 || $[8] !== t4) {
1036		t5 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)("div", {
1037			className: t1,
1038			children: t4
1039		});
1040		$[7] = t1;
1041		$[8] = t4;
1042		$[9] = t5;
1043	} else t5 = $[9];
1044	return t5;
1045}
1046function FollowActions(t0) {
1047	const $ = (0, import_compiler_runtime$5.c)(8);
1048	const { followState, primary, withIcon } = t0;
1049	const t1 = primary ? "primary" : "default";
1050	let t2;
1051	if ($[0] !== withIcon) {
1052		t2 = withIcon && /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(Icon, {
1053			icon: "radar",
1054			"aria-hidden": true
1055		});
1056		$[0] = withIcon;
1057		$[1] = t2;
1058	} else t2 = $[1];
1059	const t3 = followState.following ? "Following…" : "Follow this company";
1060	let t4;
1061	if ($[2] !== followState.follow || $[3] !== followState.following || $[4] !== t1 || $[5] !== t2 || $[6] !== t3) {
1062		t4 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(EmptyStateActions, { children: /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)(Button, {
1063			variant: t1,
1064			size: "sm",
1065			onClick: followState.follow,
1066			disabled: followState.following,
1067			children: [t2, t3]
1068		}) });
1069		$[2] = followState.follow;
1070		$[3] = followState.following;
1071		$[4] = t1;
1072		$[5] = t2;
1073		$[6] = t3;
1074		$[7] = t4;
1075	} else t4 = $[7];
1076	return t4;
1077}
1078function SearchEmptyStates(t0) {
1079	const $ = (0, import_compiler_runtime$5.c)(60);
1080	const { kind, results, followState } = t0;
1081	const domainValue = results.domain.value;
1082	const companyName = results.domain.company_name || domainValue;
1083	if (kind === "email") {
1084		let t1;
1085		if ($[0] !== results.enteredEmail) {
1086			t1 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)(EmptyStateTitle, { children: [
1087				"Would you like to verify ",
1088				results.enteredEmail,
1089				"?"
1090			] });
1091			$[0] = results.enteredEmail;
1092			$[1] = t1;
1093		} else t1 = $[1];
1094		let t2;
1095		if ($[2] !== domainValue) {
1096			t2 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)("p", { children: [
1097				"The Domain Search is used to find email addresses from a domain name (for example, \"",
1098				domainValue,
1099				"\"), but you entered an email address."
1100			] });
1101			$[2] = domainValue;
1102			$[3] = t2;
1103		} else t2 = $[3];
1104		const t3 = `/verify/${encodeURIComponent(results.enteredEmail ?? "")}`;
1105		let t4;
1106		if ($[4] !== results.enteredEmail || $[5] !== t3) {
1107			t4 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(Button, {
1108				variant: "primary",
1109				size: "sm",
1110				className: "mr-2",
1111				asChild: true,
1112				children: /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)("a", {
1113					href: t3,
1114					children: ["Verify ", results.enteredEmail]
1115				})
1116			});
1117			$[4] = results.enteredEmail;
1118			$[5] = t3;
1119			$[6] = t4;
1120		} else t4 = $[6];
1121		const t5 = `/search/${encodeURIComponent(domainValue)}`;
1122		let t6;
1123		if ($[7] !== domainValue || $[8] !== t5) {
1124			t6 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)("a", {
1125				href: t5,
1126				children: ["See results for ", domainValue]
1127			});
1128			$[7] = domainValue;
1129			$[8] = t5;
1130			$[9] = t6;
1131		} else t6 = $[9];
1132		let t7;
1133		if ($[10] !== t4 || $[11] !== t6) {
1134			t7 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)(EmptyStateActions, { children: [t4, t6] });
1135			$[10] = t4;
1136			$[11] = t6;
1137			$[12] = t7;
1138		} else t7 = $[12];
1139		let t8;
1140		if ($[13] !== t1 || $[14] !== t2 || $[15] !== t7) {
1141			t8 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)(EmptyStateBox, {
1142				boxClass: "ds-no-results",
1143				illustration: data_verify_default,
1144				children: [
1145					t1,
1146					t2,
1147					t7
1148				]
1149			});
1150			$[13] = t1;
1151			$[14] = t2;
1152			$[15] = t7;
1153			$[16] = t8;
1154		} else t8 = $[16];
1155		return t8;
1156	}
1157	if (kind === "invalid") {
1158		const t1 = results.suggestedDomainName ? `Are you looking for ${results.suggestedDomainName}?` : `${domainValue} is not a valid domain name`;
1159		let t2;
1160		if ($[17] !== t1) {
1161			t2 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(EmptyStateTitle, { children: t1 });
1162			$[17] = t1;
1163			$[18] = t2;
1164		} else t2 = $[18];
1165		let t3;
1166		if ($[19] === Symbol.for("react.memo_cache_sentinel")) {
1167			t3 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)("p", { children: "The Domain Search is used to find email addresses from a domain name, but you entered an invalid name." });
1168			$[19] = t3;
1169		} else t3 = $[19];
1170		let t4;
1171		if ($[20] !== results.suggestedDomainName) {
1172			t4 = results.suggestedDomainName && /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(EmptyStateActions, { children: /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(Button, {
1173				size: "sm",
1174				className: "mr-2",
1175				asChild: true,
1176				children: /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)("a", {
1177					href: `/search/${encodeURIComponent(results.suggestedDomainName)}`,
1178					children: ["See results for ", results.suggestedDomainName]
1179				})
1180			}) });
1181			$[20] = results.suggestedDomainName;
1182			$[21] = t4;
1183		} else t4 = $[21];
1184		let t5;
1185		if ($[22] !== t2 || $[23] !== t4) {
1186			t5 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)(EmptyStateBox, {
1187				boxClass: "ds-no-results",
1188				illustration: data_no_data_default,
1189				children: [
1190					t2,
1191					t3,
1192					t4
1193				]
1194			});
1195			$[22] = t2;
1196			$[23] = t4;
1197			$[24] = t5;
1198		} else t5 = $[24];
1199		return t5;
1200	}
1201	if (kind === "disposable") {
1202		let t1;
1203		if ($[25] === Symbol.for("react.memo_cache_sentinel")) {
1204			t1 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(EmptyStateTitle, { children: "Disposable domain" });
1205			$[25] = t1;
1206		} else t1 = $[25];
1207		let t2;
1208		if ($[26] !== domainValue) {
1209			t2 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)(EmptyStateBox, {
1210				boxClass: "ds-no-data",
1211				illustration: error_default,
1212				children: [t1, /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)("p", { children: [
1213					"The domain ",
1214					/* @__PURE__ */ (0, import_jsx_runtime$5.jsx)("strong", { children: domainValue }),
1215					" is used to create disposable email addresses. These email addresses are not returned in Hunter."
1216				] })]
1217			});
1218			$[26] = domainValue;
1219			$[27] = t2;
1220		} else t2 = $[27];
1221		return t2;
1222	}
1223	if (kind === "webmail") {
1224		let t1;
1225		if ($[28] === Symbol.for("react.memo_cache_sentinel")) {
1226			t1 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(EmptyStateTitle, { children: "Webmail domain" });
1227			$[28] = t1;
1228		} else t1 = $[28];
1229		let t2;
1230		if ($[29] !== domainValue) {
1231			t2 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)(EmptyStateBox, {
1232				boxClass: "ds-no-data",
1233				illustration: error_default,
1234				children: [t1, /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)("p", { children: [
1235					"The domain ",
1236					/* @__PURE__ */ (0, import_jsx_runtime$5.jsx)("strong", { children: domainValue }),
1237					" is used to create personal email addresses. These email addresses are not returned in Hunter which is designed for professional use only."
1238				] })]
1239			});
1240			$[29] = domainValue;
1241			$[30] = t2;
1242		} else t2 = $[30];
1243		return t2;
1244	}
1245	if (kind === "filtered") {
1246		let t1;
1247		if ($[31] === Symbol.for("react.memo_cache_sentinel")) {
1248			t1 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(EmptyStateTitle, { children: "No results found" });
1249			$[31] = t1;
1250		} else t1 = $[31];
1251		let t2;
1252		if ($[32] === Symbol.for("react.memo_cache_sentinel")) {
1253			t2 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)("p", { children: [
1254				"We couldn't find any results matching your criterias.",
1255				/* @__PURE__ */ (0, import_jsx_runtime$5.jsx)("br", {}),
1256				"Update or reset your filters."
1257			] });
1258			$[32] = t2;
1259		} else t2 = $[32];
1260		let t3;
1261		if ($[33] !== domainValue) {
1262			t3 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)(EmptyStateBox, {
1263				boxClass: "ds-no-results",
1264				illustration: data_no_results_default,
1265				children: [
1266					t1,
1267					t2,
1268					/* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(EmptyStateActions, { children: /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(Button, {
1269						size: "sm",
1270						onClick: () => router.get(`/search/${encodeURIComponent(domainValue)}`),
1271						children: "Clear all filters"
1272					}) })
1273				]
1274			});
1275			$[33] = domainValue;
1276			$[34] = t3;
1277		} else t3 = $[34];
1278		return t3;
1279	}
1280	if (kind === "linked") {
1281		const linkedDomain = results.linkedDomains[0];
1282		let t1;
1283		if ($[35] !== linkedDomain) {
1284			t1 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)(EmptyStateTitle, { children: [
1285				"Are you looking for ",
1286				linkedDomain,
1287				"?"
1288			] });
1289			$[35] = linkedDomain;
1290			$[36] = t1;
1291		} else t1 = $[36];
1292		let t2;
1293		if ($[37] !== domainValue) {
1294			t2 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)("p", { children: [
1295				"We couldn't find any email addresses for ",
1296				/* @__PURE__ */ (0, import_jsx_runtime$5.jsx)("strong", { children: domainValue }),
1297				", but we found some on a related domain."
1298			] });
1299			$[37] = domainValue;
1300			$[38] = t2;
1301		} else t2 = $[38];
1302		const t3 = `/search/${encodeURIComponent(linkedDomain)}`;
1303		let t4;
1304		if ($[39] !== linkedDomain || $[40] !== t3) {
1305			t4 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(EmptyStateActions, { children: /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(Button, {
1306				variant: "primary",
1307				size: "sm",
1308				asChild: true,
1309				children: /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)("a", {
1310					href: t3,
1311					children: ["See results for ", linkedDomain]
1312				})
1313			}) });
1314			$[39] = linkedDomain;
1315			$[40] = t3;
1316			$[41] = t4;
1317		} else t4 = $[41];
1318		let t5;
1319		if ($[42] !== t1 || $[43] !== t2 || $[44] !== t4) {
1320			t5 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)(EmptyStateBox, {
1321				boxClass: "ds-no-results",
1322				illustration: data_no_results_default,
1323				children: [
1324					t1,
1325					t2,
1326					t4
1327				]
1328			});
1329			$[42] = t1;
1330			$[43] = t2;
1331			$[44] = t4;
1332			$[45] = t5;
1333		} else t5 = $[45];
1334		return t5;
1335	}
1336	if (kind === "noEmails") {
1337		let t1;
1338		if ($[46] !== domainValue) {
1339			t1 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)(EmptyStateTitle, { children: ["We haven’t found any email addresses for ", domainValue] });
1340			$[46] = domainValue;
1341			$[47] = t1;
1342		} else t1 = $[47];
1343		let t2;
1344		if ($[48] !== companyName || $[49] !== followState || $[50] !== results.followingDomain) {
1345			t2 = results.followingDomain || followState.followed ? /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)("p", { children: [
1346				"You are following ",
1347				companyName,
1348				". We’ll let you know when we find new information for this company."
1349			] }) : /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)(import_jsx_runtime$5.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)("p", { children: [
1350				"Start following ",
1351				companyName,
1352				" and get notified when there’s new data available."
1353			] }), /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(FollowActions, { followState })] });
1354			$[48] = companyName;
1355			$[49] = followState;
1356			$[50] = results.followingDomain;
1357			$[51] = t2;
1358		} else t2 = $[51];
1359		let t3;
1360		if ($[52] !== t1 || $[53] !== t2) {
1361			t3 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)(EmptyStateBox, {
1362				boxClass: "ds-no-data",
1363				illustration: data_no_data_default,
1364				children: [t1, t2]
1365			});
1366			$[52] = t1;
1367			$[53] = t2;
1368			$[54] = t3;
1369		} else t3 = $[54];
1370		return t3;
1371	}
1372	let t1;
1373	if ($[55] === Symbol.for("react.memo_cache_sentinel")) {
1374		t1 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(EmptyStateTitle, { children: "Not enough data was found, but…" });
1375		$[55] = t1;
1376	} else t1 = $[55];
1377	let t2;
1378	if ($[56] !== companyName || $[57] !== followState || $[58] !== results.followingDomain) {
1379		t2 = /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)(EmptyStateBox, {
1380			boxClass: "ds-no-data",
1381			illustration: data_no_data_default,
1382			children: [t1, results.followingDomain || followState.followed ? /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)("p", { children: [
1383				"You are following ",
1384				companyName,
1385				". We’ll let you know when we find new information for this company."
1386			] }) : /* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)(import_jsx_runtime$5.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime$5.jsxs)("p", { children: [
1387				"You can follow ",
1388				companyName,
1389				" and get notified when new email addresses are found, and when this company opens new jobs, raises funds, and more."
1390			] }), /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(FollowActions, {
1391				followState,
1392				primary: true,
1393				withIcon: true
1394			})] })]
1395		});
1396		$[56] = companyName;
1397		$[57] = followState;
1398		$[58] = results.followingDomain;
1399		$[59] = t2;
1400	} else t2 = $[59];
1401	return t2;
1402}
1403var import_compiler_runtime$5, import_jsx_runtime$5;
1404function init_SearchEmptyStates() {
1405	return (init_SearchEmptyStates = __esmMin((() => {
1406		import_compiler_runtime$5 = require_compiler_runtime();
1407		init_dist$1();
1408		init_button();
1409		init_empty_state();
1410		init_icon();
1411		init_data_verify();
1412		init_data_no_data();
1413		init_data_no_results();
1414		init_error();
1415		import_jsx_runtime$5 = require_jsx_runtime();
1416	})))();
1417}
1418//#endregion
1419//#region app/frontend/pages/Search/onboarding.ts
1420function markOnboardingStepSeen(name) {
1421	fetch(onboarding_steps_path(), {
1422		method: "POST",
1423		credentials: "same-origin",
1424		keepalive: true,
1425		headers: {
1426			"Content-Type": "application/json",
1427			Accept: "application/json",
1428			"X-CSRF-Token": getCsrfToken()
1429		},
1430		body: JSON.stringify({ onboarding_step: {
1431			name,
1432			seen: true
1433		} })
1434	}).catch(() => {});
1435}
1436function rubyCapitalize(value) {
1437	if (!value) return value;
1438	return value.charAt(0).toUpperCase() + value.slice(1).toLowerCase();
1439}
1440function init_onboarding() {
1441	return (init_onboarding = __esmMin((() => {
1442		init_routes();
1443		init_utils();
1444	})))();
1445}
1446//#endregion
1447//#region app/frontend/pages/Search/VideoTourModal.tsx
1448function readSessionFlag() {
1449	try {
1450		return sessionStorage.getItem(SESSION_FLAG_KEY) === "1";
1451	} catch {
1452		return false;
1453	}
1454}
1455function writeSessionFlag() {
1456	try {
1457		sessionStorage.setItem(SESSION_FLAG_KEY, "1");
1458	} catch {}
1459}
1460function VideoTourModal(t0) {
1461	const $ = (0, import_compiler_runtime$4.c)(25);
1462	const { show } = t0;
1463	let t1;
1464	if ($[0] !== show) {
1465		t1 = () => show && !readSessionFlag();
1466		$[0] = show;
1467		$[1] = t1;
1468	} else t1 = $[1];
1469	const [isOpen, setIsOpen] = (0, import_react$3.useState)(t1);
1470	const [loaderVisible, setLoaderVisible] = (0, import_react$3.useState)(true);
1471	const hasPersistedSeenRef = (0, import_react$3.useRef)(false);
1472	let t2;
1473	let t3;
1474	if ($[2] !== isOpen) {
1475		t2 = () => {
1476			if (isOpen) writeSessionFlag();
1477		};
1478		t3 = [isOpen];
1479		$[2] = isOpen;
1480		$[3] = t2;
1481		$[4] = t3;
1482	} else {
1483		t2 = $[3];
1484		t3 = $[4];
1485	}
1486	(0, import_react$3.useEffect)(t2, t3);
1487	let t4;
1488	if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
1489		t4 = () => {
1490			if (hasPersistedSeenRef.current) return;
1491			hasPersistedSeenRef.current = true;
1492			writeSessionFlag();
1493			markOnboardingStepSeen(STEP_NAME$1);
1494		};
1495		$[5] = t4;
1496	} else t4 = $[5];
1497	const markSeen = t4;
1498	let t5;
1499	if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
1500		t5 = () => {
1501			markSeen();
1502			setIsOpen(false);
1503		};
1504		$[6] = t5;
1505	} else t5 = $[6];
1506	const handleClose = t5;
1507	let t6;
1508	if ($[7] !== isOpen) {
1509		t6 = {
1510			isOpen,
1511			onClose: handleClose
1512		};
1513		$[7] = isOpen;
1514		$[8] = t6;
1515	} else t6 = $[8];
1516	const { dialogRef, handleBackdropClick, stopPropagation } = useDialog(t6);
1517	let t7;
1518	let t8;
1519	if ($[9] !== isOpen) {
1520		t7 = () => {
1521			if (!isOpen) return;
1522			const onMessage = (event) => {
1523				if (event.origin !== ARCADE_ORIGIN) return;
1524				if (event.data?.eventName === "CTA Clicked") handleClose();
1525			};
1526			window.addEventListener("message", onMessage);
1527			return () => window.removeEventListener("message", onMessage);
1528		};
1529		t8 = [isOpen, handleClose];
1530		$[9] = isOpen;
1531		$[10] = t7;
1532		$[11] = t8;
1533	} else {
1534		t7 = $[10];
1535		t8 = $[11];
1536	}
1537	(0, import_react$3.useEffect)(t7, t8);
1538	if (!isOpen) return null;
1539	let t9;
1540	if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
1541		t9 = /* @__PURE__ */ (0, import_jsx_runtime$4.jsx)("h2", {
1542			id: "ds-video-tour-title",
1543			className: "sr-only",
1544			children: i18n.t("onboarding.skip_onboarding_video")
1545		});
1546		$[12] = t9;
1547	} else t9 = $[12];
1548	let t10;
1549	if ($[13] !== loaderVisible) {
1550		t10 = loaderVisible && /* @__PURE__ */ (0, import_jsx_runtime$4.jsx)("div", {
1551			className: "video-onboarding__loader",
1552			children: /* @__PURE__ */ (0, import_jsx_runtime$4.jsx)("span", {
1553				className: "h-loader h-loader--lg",
1554				"aria-label": i18n.t("loading")
1555			})
1556		});
1557		$[13] = loaderVisible;
1558		$[14] = t10;
1559	} else t10 = $[14];
1560	let t11;
1561	if ($[15] === Symbol.for("react.memo_cache_sentinel")) {
1562		t11 = i18n.t("onboarding.skip_onboarding_video");
1563		$[15] = t11;
1564	} else t11 = $[15];
1565	let t12;
1566	if ($[16] === Symbol.for("react.memo_cache_sentinel")) {
1567		t12 = /* @__PURE__ */ (0, import_jsx_runtime$4.jsx)("iframe", {
1568			className: "video-onboarding__video",
1569			allowFullScreen: true,
1570			frameBorder: "0",
1571			loading: "lazy",
1572			title: t11,
1573			src: ARCADE_SRC,
1574			onLoad: () => setLoaderVisible(false)
1575		});
1576		$[16] = t12;
1577	} else t12 = $[16];
1578	let t13;
1579	if ($[17] === Symbol.for("react.memo_cache_sentinel")) {
1580		t13 = /* @__PURE__ */ (0, import_jsx_runtime$4.jsx)(Button, {
1581			type: "button",
1582			className: "video-onboarding__skip",
1583			onClick: handleClose,
1584			children: i18n.t("onboarding.skip_onboarding_video")
1585		});
1586		$[17] = t13;
1587	} else t13 = $[17];
1588	let t14;
1589	if ($[18] !== t10) {
1590		t14 = /* @__PURE__ */ (0, import_jsx_runtime$4.jsxs)("div", {
1591			className: "modal-content",
1592			children: [
1593				t9,
1594				t10,
1595				t12,
1596				t13
1597			]
1598		});
1599		$[18] = t10;
1600		$[19] = t14;
1601	} else t14 = $[19];
1602	let t15;
1603	if ($[20] !== dialogRef || $[21] !== handleBackdropClick || $[22] !== stopPropagation || $[23] !== t14) {
1604		t15 = /* @__PURE__ */ (0, import_jsx_runtime$4.jsx)(Dialog, {
1605			ref: dialogRef,
1606			onClick: handleBackdropClick,
1607			onPointerDown: stopPropagation,
1608			onMouseDown: stopPropagation,
1609			className: "video-onboarding",
1610			"aria-labelledby": "ds-video-tour-title",
1611			children: t14
1612		});
1613		$[20] = dialogRef;
1614		$[21] = handleBackdropClick;
1615		$[22] = stopPropagation;
1616		$[23] = t14;
1617		$[24] = t15;
1618	} else t15 = $[24];
1619	return t15;
1620}
1621var import_compiler_runtime$4, import_react$3, import_jsx_runtime$4, STEP_NAME$1, ARCADE_ORIGIN, ARCADE_SRC, SESSION_FLAG_KEY;
1622function init_VideoTourModal() {
1623	return (init_VideoTourModal = __esmMin((() => {
1624		import_compiler_runtime$4 = require_compiler_runtime();
1625		import_react$3 = require_react();
1626		init_dialog();
1627		init_useDialog();
1628		init_button();
1629		init_onboarding();
1630		import_jsx_runtime$4 = require_jsx_runtime();
1631		STEP_NAME$1 = "ds_new_onboarding";
1632		ARCADE_ORIGIN = "https://demo.arcade.software";
1633		ARCADE_SRC = `${ARCADE_ORIGIN}/REHfIcXzeuOsYUhF5HAx?embed&embed_mobile=tab&embed_desktop=inline`;
1634		SESSION_FLAG_KEY = `onboarding-dialog:shown:${STEP_NAME$1}`;
1635	})))();
1636}
1637//#endregion
1638//#region app/frontend/images/screenshots/extension_screenshot1.jpg
1639var extension_screenshot1_default;
1640function init_extension_screenshot1() {
1641	return (init_extension_screenshot1 = __esmMin((() => {
1642		extension_screenshot1_default = "/assets/extension_screenshot1-56Md1Uvf.jpg";
1643	})))();
1644}
1645//#endregion
1646//#region app/frontend/images/campaigns-personalization.svg
1647var campaigns_personalization_default;
1648function init_campaigns_personalization() {
1649	return (init_campaigns_personalization = __esmMin((() => {
1650		campaigns_personalization_default = "/assets/campaigns-personalization-BDkQ6ak9.svg";
1651	})))();
1652}
1653//#endregion
1654//#region app/frontend/images/screenshots/mailtracker_threads_screenshot.svg
1655var mailtracker_threads_screenshot_default;
1656function init_mailtracker_threads_screenshot() {
1657	return (init_mailtracker_threads_screenshot = __esmMin((() => {
1658		mailtracker_threads_screenshot_default = "/assets/mailtracker_threads_screenshot-UH15K06n.svg";
1659	})))();
1660}
1661//#endregion
1662//#region app/frontend/pages/Search/SearchOnboarding.tsx
1663function TranslatedHtml$1(t0) {
1664	const $ = (0, import_compiler_runtime$3.c)(2);
1665	const { html } = t0;
1666	let t1;
1667	if ($[0] !== html) {
1668		t1 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("span", { dangerouslySetInnerHTML: { __html: html } });
1669		$[0] = html;
1670		$[1] = t1;
1671	} else t1 = $[1];
1672	return t1;
1673}
1674function CloseLink(t0) {
1675	const $ = (0, import_compiler_runtime$3.c)(6);
1676	const { stepName, onDismiss } = t0;
1677	let t1;
1678	if ($[0] !== onDismiss || $[1] !== stepName) {
1679		t1 = (event) => {
1680			event.preventDefault();
1681			markOnboardingStepSeen(stepName);
1682			onDismiss();
1683		};
1684		$[0] = onDismiss;
1685		$[1] = stepName;
1686		$[2] = t1;
1687	} else t1 = $[2];
1688	let t2;
1689	if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
1690		t2 = rubyCapitalize(i18n.t("close"));
1691		$[3] = t2;
1692	} else t2 = $[3];
1693	let t3;
1694	if ($[4] !== t1) {
1695		t3 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("div", {
1696			className: "float-end",
1697			children: /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("a", {
1698				className: "blue-link",
1699				onClick: t1,
1700				children: t2
1701			})
1702		});
1703		$[4] = t1;
1704		$[5] = t3;
1705	} else t3 = $[5];
1706	return t3;
1707}
1708function OnboardingFrame(t0) {
1709	const $ = (0, import_compiler_runtime$3.c)(6);
1710	const { stepName, children, onDismiss } = t0;
1711	let t1;
1712	if ($[0] !== onDismiss || $[1] !== stepName) {
1713		t1 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(CloseLink, {
1714			stepName,
1715			onDismiss
1716		});
1717		$[0] = onDismiss;
1718		$[1] = stepName;
1719		$[2] = t1;
1720	} else t1 = $[2];
1721	let t2;
1722	if ($[3] !== children || $[4] !== t1) {
1723		t2 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsxs)("div", {
1724			className: "onboarding-box onboarding-box-large",
1725			children: [t1, children]
1726		});
1727		$[3] = children;
1728		$[4] = t1;
1729		$[5] = t2;
1730	} else t2 = $[5];
1731	return t2;
1732}
1733function storeIcon(browser) {
1734	if (browser === "chrome") return /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(Icon, {
1735		icon: "chrome",
1736		variant: "brand"
1737	});
1738	if (browser === "firefox") return /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(Icon, {
1739		icon: "firefox-browser",
1740		variant: "brand"
1741	});
1742	return /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(Icon, {
1743		icon: "edge",
1744		variant: "brand"
1745	});
1746}
1747function QuotaWarningBox(t0) {
1748	const $ = (0, import_compiler_runtime$3.c)(29);
1749	const { warning, onDismiss } = t0;
1750	const productKey = warning.product === "searches_and_verifications" ? "searches_and_verifications" : warning.product === "searches" ? "searches" : warning.product === "verifications" ? "verifications" : null;
1751	let T0;
1752	let t1;
1753	let t2;
1754	let t3;
1755	if ($[0] !== onDismiss || $[1] !== productKey || $[2] !== warning.stepName) {
1756		const product = productKey ? i18n.t(`search.onboarding.team_owner.${productKey}`) : "";
1757		T0 = OnboardingFrame;
1758		t1 = warning.stepName;
1759		t2 = onDismiss;
1760		t3 = productKey && /* @__PURE__ */ (0, import_jsx_runtime$3.jsxs)(import_jsx_runtime$3.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("h2", { children: rubyCapitalize(i18n.t("search.onboarding.team_owner.title", { product })) }
1760), /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("p", { children: i18n.t("search.onboarding.team_owner.quota_of_product", { product }) })] });
1761		$[0] = onDismiss;
1762		$[1] = productKey;
1763		$[2] = warning.stepName;
1764		$[3] = T0;
1765		$[4] = t1;
1766		$[5] = t2;
1767		$[6] = t3;
1768	} else {
1769		T0 = $[3];
1770		t1 = $[4];
1771		t2 = $[5];
1772		t3 = $[6];
1773	}
1774	let t4;
1775	if ($[7] !== warning.cta.kind) {
1776		t4 = warning.cta.kind === "enterprise" && /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("p", { children: i18n.t("search.onboarding.team_owner.enterprise_contact_account_manager_to_enable") });
1777		$[7] = warning.cta.kind;
1778		$[8] = t4;
1779	} else t4 = $[8];
1780	let t5;
1781	if ($[9] !== warning.cta.href || $[10] !== warning.cta.kind || $[11] !== warning.cta.plan) {
1782		t5 = warning.cta.kind === "upgrade" && /* @__PURE__ */ (0, import_jsx_runtime$3.jsxs)(import_jsx_runtime$3.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("p", { children: i18n.t("search.onboarding.team_owner.should_upgrade", { plan: i18n.t(`search.onboarding.team_owner.${warning.cta.plan}`) }) }
1782), /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(Button, {
1783			variant: "primary",
1784			asChild: true,
1785			children: /* @__PURE__ */ (0, import_jsx_runtime$3.jsxs)("a", {
1786				href: warning.cta.href,
1787				children: [/* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(Icon, { icon: "arrow-alt-circle-up" }), i18n.t("search.onboarding.team_owner.upgrade_my_plan")]
1788			})
1789		})] });
1790		$[9] = warning.cta.href;
1791		$[10] = warning.cta.kind;
1792		$[11] = warning.cta.plan;
1793		$[12] = t5;
1794	} else t5 = $[12];
1795	let t6;
1796	if ($[13] !== warning.cta.href || $[14] !== warning.cta.kind || $[15] !== warning.cta.singleBucket) {
1797		t6 = warning.cta.kind === "enable_overage" && /* @__PURE__ */ (0, import_jsx_runtime$3.jsxs)(import_jsx_runtime$3.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(TranslatedHtml$1, { html: i18n.t("search.onboarding.team_owner.credits_quota_enable_html").toString() }) }), /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(Button, {
1798			variant: "primary",
1799			asChild: true,
1800			children: /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("a", {
1801				href: warning.cta.href,
1802				children: warning.cta.singleBucket ? i18n.t("search.onboarding.team_owner.enable_auto_purchase_cta") : i18n.t("search.onboarding.team_owner.enable_credits_over_quota_cta")
1803			})
1804		})] });
1805		$[13] = warning.cta.href;
1806		$[14] = warning.cta.kind;
1807		$[15] = warning.cta.singleBucket;
1808		$[16] = t6;
1809	} else t6 = $[16];
1810	let t7;
1811	if ($[17] !== warning.cta.href || $[18] !== warning.cta.kind) {
1812		t7 = warning.cta.kind === "review_overage" && /* @__PURE__ */ (0, import_jsx_runtime$3.jsxs)(import_jsx_runtime$3.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(TranslatedHtml$1, { html: i18n.t("search.onboarding.team_owner.credits_over_quota_enabled_html").toString() }) }
1812), /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(Button, {
1813			asChild: true,
1814			children: /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("a", {
1815				href: warning.cta.href,
1816				children: i18n.t("search.onboarding.team_owner.review_credits_over_quota_cta")
1817			})
1818		})] });
1819		$[17] = warning.cta.href;
1820		$[18] = warning.cta.kind;
1821		$[19] = t7;
1822	} else t7 = $[19];
1823	let t8;
1824	if ($[20] !== T0 || $[21] !== t1 || $[22] !== t2 || $[23] !== t3 || $[24] !== t4 || $[25] !== t5 || $[26] !== t6 || $[27] !== t7) {
1825		t8 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsxs)(T0, {
1826			stepName: t1,
1827			onDismiss: t2,
1828			children: [
1829				t3,
1830				t4,
1831				t5,
1832				t6,
1833				t7
1834			]
1835		});
1836		$[20] = T0;
1837		$[21] = t1;
1838		$[22] = t2;
1839		$[23] = t3;
1840		$[24] = t4;
1841		$[25] = t5;
1842		$[26] = t6;
1843		$[27] = t7;
1844		$[28] = t8;
1845	} else t8 = $[28];
1846	return t8;
1847}
1848function DayOnboardingBox(t0) {
1849	const $ = (0, import_compiler_runtime$3.c)(95);
1850	const { box, onDismiss } = t0;
1851	if (box.type === "extension_connected") {
1852		const key = box.browser === "chrome" ? "chrome_installed" : box.browser === "firefox" ? "firefox_installed" : "edge_installed";
1853		const t1 = box.stepName;
1854		let t2;
1855		let t3;
1856		if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
1857			t2 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("img", {
1858				src: extension_screenshot1_default,
1859				alt: "Find email addresses from any website",
1860				className: "img-responsive"
1861			});
1862			t3 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(Icon, {
1863				icon: "check",
1864				className: "green"
1865			});
1866			$[0] = t2;
1867			$[1] = t3;
1868		} else {
1869			t2 = $[0];
1870			t3 = $[1];
1871		}
1872		let t4;
1873		if ($[2] !== key) {
1874			t4 = i18n.t(`search.onboarding.${key}.span_title`);
1875			$[2] = key;
1876			$[3] = t4;
1877		} else t4 = $[3];
1878		let t5;
1879		if ($[4] !== t4) {
1880			t5 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsxs)("h2", { children: [t3, t4] });
1881			$[4] = t4;
1882			$[5] = t5;
1883		} else t5 = $[5];
1884		let t6;
1885		if ($[6] !== key) {
1886			t6 = i18n.t(`search.onboarding.${key}.title`);
1887			$[6] = key;
1888			$[7] = t6;
1889		} else t6 = $[7];
1890		let t7;
1891		if ($[8] !== t5 || $[9] !== t6) {
1892			t7 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsxs)("div", {
1893				className: "center",
1894				children: [
1895					t2,
1896					t5,
1897					t6
1898				]
1899			});
1900			$[8] = t5;
1901			$[9] = t6;
1902			$[10] = t7;
1903		} else t7 = $[10];
1904		let t8;
1905		if ($[11] !== box.stepName || $[12] !== onDismiss || $[13] !== t7) {
1906			t8 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(OnboardingFrame, {
1907				stepName: t1,
1908				onDismiss,
1909				children: t7
1910			});
1911			$[11] = box.stepName;
1912			$[12] = onDismiss;
1913			$[13] = t7;
1914			$[14] = t8;
1915		} else t8 = $[14];
1916		return t8;
1917	}
1918	if (box.type === "sheets" || box.type === "api") {
1919		const t1 = box.stepName;
1920		let t2;
1921		if ($[15] !== box.type) {
1922			t2 = i18n.t(`search.onboarding.${box.type}.title`);
1923			$[15] = box.type;
1924			$[16] = t2;
1925		} else t2 = $[16];
1926		let t3;
1927		if ($[17] !== t2) {
1928			t3 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("h2", { children: t2 });
1929			$[17] = t2;
1930			$[18] = t3;
1931		} else t3 = $[18];
1932		let t4;
1933		if ($[19] !== box.type) {
1934			t4 = i18n.t(`search.onboarding.${box.type}.subtitle`);
1935			$[19] = box.type;
1936			$[20] = t4;
1937		} else t4 = $[20];
1938		let t5;
1939		if ($[21] !== t4) {
1940			t5 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("p", { children: t4 });
1941			$[21] = t4;
1942			$[22] = t5;
1943		} else t5 = $[22];
1944		const t6 = box.ctaHref;
1945		let t7;
1946		if ($[23] !== box.type) {
1947			t7 = i18n.t(`search.onboarding.${box.type}.cta`);
1948			$[23] = box.type;
1949			$[24] = t7;
1950		} else t7 = $[24];
1951		let t8;
1952		if ($[25] !== box.ctaHref || $[26] !== t7) {
1953			t8 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(Button, {
1954				variant: "primary",
1955				asChild: true,
1956				children: /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("a", {
1957					href: t6,
1958					children: t7
1959				})
1960			});
1961			$[25] = box.ctaHref;
1962			$[26] = t7;
1963			$[27] = t8;
1964		} else t8 = $[27];
1965		let t9;
1966		if ($[28] !== t3 || $[29] !== t5 || $[30] !== t8) {
1967			t9 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsxs)("div", {
1968				className: "center",
1969				children: [
1970					t3,
1971					t5,
1972					t8
1973				]
1974			});
1975			$[28] = t3;
1976			$[29] = t5;
1977			$[30] = t8;
1978			$[31] = t9;
1979		} else t9 = $[31];
1980		let t10;
1981		if ($[32] !== box.stepName || $[33] !== onDismiss || $[34] !== t9) {
1982			t10 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(OnboardingFrame, {
1983				stepName: t1,
1984				onDismiss,
1985				children: t9
1986			});
1987			$[32] = box.stepName;
1988			$[33] = onDismiss;
1989			$[34] = t9;
1990			$[35] = t10;
1991		} else t10 = $[35];
1992		return t10;
1993	}
1994	if (box.type === "install_extension") {
1995		const key_0 = box.browser === "chrome" ? "chrome_user" : box.browser === "firefox" ? "firefox_user" : "edge_user";
1996		const extraClass = box.browser === "edge" ? "button install-edge" : void 0;
1997		const t1 = box.stepName;
1998		let t2;
1999		if ($[36] === Symbol.for("react.memo_cache_sentinel")) {
2000			t2 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("div", {
2001				className: "col-md-6",
2002				children: /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("img", {
2003					src: extension_screenshot1_default,
2004					alt: "Find email addresses from any website",
2005					className: "img-responsive"
2006				})
2007			});
2008			$[36] = t2;
2009		} else t2 = $[36];
2010		let t3;
2011		if ($[37] !== key_0) {
2012			t3 = i18n.t(`search.onboarding.${key_0}.title`);
2013			$[37] = key_0;
2014			$[38] = t3;
2015		} else t3 = $[38];
2016		let t4;
2017		if ($[39] !== t3) {
2018			t4 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("h2", { children: t3 });
2019			$[39] = t3;
2020			$[40] = t4;
2021		} else t4 = $[40];
2022		let t5;
2023		if ($[41] === Symbol.for("react.memo_cache_sentinel")) {
2024			t5 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(Icon, {
2025				icon: "check",
2026				className: "green"
2027			});
2028			$[41] = t5;
2029		} else t5 = $[41];
2030		let t6;
2031		if ($[42] !== key_0) {
2032			t6 = i18n.t(`search.onboarding.${key_0}.first_feature`);
2033			$[42] = key_0;
2034			$[43] = t6;
2035		} else t6 = $[43];
2036		let t7;
2037		if ($[44] !== t6) {
2038			t7 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsxs)("p", { children: [t5, t6] });
2039			$[44] = t6;
2040			$[45] = t7;
2041		} else t7 = $[45];
2042		let t8;
2043		if ($[46] === Symbol.for("react.memo_cache_sentinel")) {
2044			t8 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(Icon, {
2045				icon: "check",
2046				className: "green"
2047			});
2048			$[46] = t8;
2049		} else t8 = $[46];
2050		let t9;
2051		if ($[47] !== key_0) {
2052			t9 = i18n.t(`search.onboarding.${key_0}.second_feature`);
2053			$[47] = key_0;
2054			$[48] = t9;
2055		} else t9 = $[48];
2056		let t10;
2057		if ($[49] !== t9) {
2058			t10 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsxs)("p", { children: [t8, t9] });
2059			$[49] = t9;
2060			$[50] = t10;
2061		} else t10 = $[50];
2062		const t11 = box.storeUrl;
2063		let t12;
2064		if ($[51] !== box.browser) {
2065			t12 = storeIcon(box.browser);
2066			$[51] = box.browser;
2067			$[52] = t12;
2068		} else t12 = $[52];
2069		let t13;
2070		if ($[53] !== key_0) {
2071			t13 = i18n.t(`search.onboarding.${key_0}.cta`);
2072			$[53] = key_0;
2073			$[54] = t13;
2074		} else t13 = $[54];
2075		let t14;
2076		if ($[55] !== box.storeUrl || $[56] !== t12 || $[57] !== t13) {
2077			t14 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsxs)("a", {
2078				href: t11,
2079				target: "blank",
2080				rel: "noopener",
2081				children: [t12, t13]
2082			});
2083			$[55] = box.storeUrl;
2084			$[56] = t12;
2085			$[57] = t13;
2086			$[58] = t14;
2087		} else t14 = $[58];
2088		let t15;
2089		if ($[59] !== extraClass || $[60] !== t14) {
2090			t15 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(Button, {
2091				variant: "primary",
2092				className: extraClass,
2093				asChild: true,
2094				children: t14
2095			});
2096			$[59] = extraClass;
2097			$[60] = t14;
2098			$[61] = t15;
2099		} else t15 = $[61];
2100		let t16;
2101		if ($[62] !== t10 || $[63] !== t15 || $[64] !== t4 || $[65] !== t7) {
2102			t16 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsxs)("div", {
2103				className: "row align-items-center",
2104				children: [t2, /* @__PURE__ */ (0, import_jsx_runtime$3.jsxs)("div", {
2105					className: "col-md-6",
2106					children: [
2107						t4,
2108						t7,
2109						t10,
2110						t15
2111					]
2112				})]
2113			});
2114			$[62] = t10;
2115			$[63] = t15;
2116			$[64] = t4;
2117			$[65] = t7;
2118			$[66] = t16;
2119		} else t16 = $[66];
2120		let t17;
2121		if ($[67] !== box.stepName || $[68] !== onDismiss || $[69] !== t16) {
2122			t17 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(OnboardingFrame, {
2123				stepName: t1,
2124				onDismiss,
2125				children: t16
2126			});
2127			$[67] = box.stepName;
2128			$[68] = onDismiss;
2129			$[69] = t16;
2130			$[70] = t17;
2131		} else t17 = $[70];
2132		return t17;
2133	}
2134	if (box.type === "campaigns") {
2135		const t1 = box.stepName;
2136		let t2;
2137		if ($[71] === Symbol.for("react.memo_cache_sentinel")) {
2138			t2 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("img", {
2139				src: campaigns_personalization_default,
2140				alt: "",
2141				className: "onboarding-box__preview-visual empty-state__video"
2142			});
2143			$[71] = t2;
2144		} else t2 = $[71];
2145		let t3;
2146		if ($[72] === Symbol.for("react.memo_cache_sentinel")) {
2147			t3 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(EmptyStateTitle, {
2148				as: "h2",
2149				children: i18n.t("search.onboarding.campaigns.title")
2150			});
2151			$[72] = t3;
2152		} else t3 = $[72];
2153		let t4;
2154		if ($[73] !== box.planName) {
2155			t4 = i18n.t("search.onboarding.campaigns.subtitle", { plan: box.planName });
2156			$[73] = box.planName;
2157			$[74] = t4;
2158		} else t4 = $[74];
2159		let t5;
2160		if ($[75] !== t4) {
2161			t5 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(EmptyStateDescription, { children: t4 });
2162			$[75] = t4;
2163			$[76] = t5;
2164		} else t5 = $[76];
2165		const t6 = box.ctaHref;
2166		let t7;
2167		if ($[77] === Symbol.for("react.memo_cache_sentinel")) {
2168			t7 = i18n.t("search.onboarding.campaigns.cta");
2169			$[77] = t7;
2170		} else t7 = $[77];
2171		let t8;
2172		if ($[78] !== box.ctaHref) {
2173			t8 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(EmptyStateActions, { children: /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(Button, {
2174				variant: "primary",
2175				className: "mt-0",
2176				asChild: true,
2177				children: /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("a", {
2178					href: t6,
2179					children: t7
2180				})
2181			}) });
2182			$[78] = box.ctaHref;
2183			$[79] = t8;
2184		} else t8 = $[79];
2185		let t9;
2186		if ($[80] !== t5 || $[81] !== t8) {
2187			t9 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsxs)(EmptyState, {
2188				orientation: "horizontal",
2189				children: [t2, /* @__PURE__ */ (0, import_jsx_runtime$3.jsxs)(EmptyStateContent, { children: [
2190					t3,
2191					t5,
2192					t8
2193				] })]
2194			});
2195			$[80] = t5;
2196			$[81] = t8;
2197			$[82] = t9;
2198		} else t9 = $[82];
2199		let t10;
2200		if ($[83] !== box.stepName || $[84] !== onDismiss || $[85] !== t9) {
2201			t10 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(OnboardingFrame, {
2202				stepName: t1,
2203				onDismiss,
2204				children: t9
2205			});
2206			$[83] = box.stepName;
2207			$[84] = onDismiss;
2208			$[85] = t9;
2209			$[86] = t10;
2210		} else t10 = $[86];
2211		return t10;
2212	}
2213	let t1;
2214	if ($[87] === Symbol.for("react.memo_cache_sentinel")) {
2215		t1 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("div", {
2216			className: "col-md-6",
2217			children: /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("img", {
2218				src: mailtracker_threads_screenshot_default,
2219				alt: "MailTracker"
2220			})
2221		});
2222		$[87] = t1;
2223	} else t1 = $[87];
2224	let t2;
2225	let t3;
2226	let t4;
2227	if ($[88] === Symbol.for("react.memo_cache_sentinel")) {
2228		t2 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("br", {});
2229		t3 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("h2", { children: i18n.t("search.onboarding.mailtracker.title") });
2230		t4 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("p", { children: i18n.t("search.onboarding.mailtracker.subtitle") });
2231		$[88] = t2;
2232		$[89] = t3;
2233		$[90] = t4;
2234	} else {
2235		t2 = $[88];
2236		t3 = $[89];
2237		t4 = $[90];
2238	}
2239	let t5;
2240	if ($[91] === Symbol.for("react.memo_cache_sentinel")) {
2241		t5 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsxs)("div", {
2242			className: "row align-items-center",
2243			children: [t1, /* @__PURE__ */ (0, import_jsx_runtime$3.jsxs)("div", {
2244				className: "col-md-6",
2245				children: [
2246					t2,
2247					t3,
2248					t4,
2249					/* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(Button, {
2250						variant: "primary",
2251						asChild: true,
2252						children: /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)("a", {
2253							href: "https://www.getmailtracker.com/",
2254							target: "_blank",
2255							rel: "noreferrer",
2256							children: i18n.t("search.onboarding.mailtracker.cta")
2257						})
2258					})
2259				]
2260			})]
2261		});
2262		$[91] = t5;
2263	} else t5 = $[91];
2264	let t6;
2265	if ($[92] !== box.stepName || $[93] !== onDismiss) {
2266		t6 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(OnboardingFrame, {
2267			stepName: box.stepName,
2268			onDismiss,
2269			children: t5
2270		});
2271		$[92] = box.stepName;
2272		$[93] = onDismiss;
2273		$[94] = t6;
2274	} else t6 = $[94];
2275	return t6;
2276}
2277function SearchOnboarding(t0) {
2278	const $ = (0, import_compiler_runtime$3.c)(9);
2279	const { quotaWarning, onboarding } = t0;
2280	const [quotaDismissed, setQuotaDismissed] = (0, import_react$2.useState)(false);
2281	const [boxDismissed, setBoxDismissed] = (0, import_react$2.useState)(false);
2282	let t1;
2283	if ($[0] !== quotaDismissed || $[1] !== quotaWarning) {
2284		t1 = quotaWarning && !quotaDismissed && /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(QuotaWarningBox, {
2285			warning: quotaWarning,
2286			onDismiss: () => setQuotaDismissed(true)
2287		});
2288		$[0] = quotaDismissed;
2289		$[1] = quotaWarning;
2290		$[2] = t1;
2291	} else t1 = $[2];
2292	let t2;
2293	if ($[3] !== boxDismissed || $[4] !== onboarding) {
2294		t2 = onboarding && !boxDismissed && /* @__PURE__ */ (0, import_jsx_runtime$3.jsx)(DayOnboardingBox, {
2295			box: onboarding,
2296			onDismiss: () => setBoxDismissed(true)
2297		});
2298		$[3] = boxDismissed;
2299		$[4] = onboarding;
2300		$[5] = t2;
2301	} else t2 = $[5];
2302	let t3;
2303	if ($[6] !== t1 || $[7] !== t2) {
2304		t3 = /* @__PURE__ */ (0, import_jsx_runtime$3.jsxs)(import_jsx_runtime$3.Fragment, { children: [t1, t2] });
2305		$[6] = t1;
2306		$[7] = t2;
2307		$[8] = t3;
2308	} else t3 = $[8];
2309	return t3;
2310}
2311var import_compiler_runtime$3, import_react$2, import_jsx_runtime$3;
2312function init_SearchOnboarding() {
2313	return (init_SearchOnboarding = __esmMin((() => {
2314		import_compiler_runtime$3 = require_compiler_runtime();
2315		import_react$2 = require_react();
2316		init_button();
2317		init_icon();
2318		init_empty_state();
2319		init_onboarding();
2320		init_extension_screenshot1();
2321		init_campaigns_personalization();
2322		init_mailtracker_threads_screenshot();
2323		import_jsx_runtime$3 = require_jsx_runtime();
2324	})))();
2325}
2326//#endregion
2327//#region app/frontend/pages/Search/CampaignsCopyPromotion.tsx
2328function TranslatedHtml(t0) {
2329	const $ = (0, import_compiler_runtime$2.c)(2);
2330	const { html } = t0;
2331	let t1;
2332	if ($[0] !== html) {
2333		t1 = /* @__PURE__ */ (0, import_jsx_runtime$2.jsx)("span", { dangerouslySetInnerHTML: { __html: html } });
2334		$[0] = html;
2335		$[1] = t1;
2336	} else t1 = $[1];
2337	return t1;
2338}
2339function CampaignsCopyPromotion(t0) {
2340	const $ = (0, import_compiler_runtime$2.c)(23);
2341	const { sequencesUrl, learnMoreUrl } = t0;
2342	const [dismissed, setDismissed] = (0, import_react$1.useState)(false);
2343	if (dismissed) return null;
2344	let t1;
2345	let t2;
2346	let t3;
2347	if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
2348		t1 = rubyCapitalize(i18n.t("close"));
2349		t2 = () => {
2350			markOnboardingStepSeen(STEP_NAME);
2351			setDismissed(true);
2352		};
2353		t3 = /* @__PURE__ */ (0, import_jsx_runtime$2.jsx)(Icon, { icon: "times" });
2354		$[0] = t1;
2355		$[1] = t2;
2356		$[2] = t3;
2357	} else {
2358		t1 = $[0];
2359		t2 = $[1];
2360		t3 = $[2];
2361	}
2362	let t4;
2363	if ($[3] !== t1) {
2364		t4 = /* @__PURE__ */ (0, import_jsx_runtime$2.jsx)(Button, {
2365			className: "campaigns-copy-promotion__close",
2366			variant: "ghost",
2367			size: "sm",
2368			iconOnly: true,
2369			"aria-label": t1,
2370			onClick: t2,
2371			children: t3
2372		});
2373		$[3] = t1;
2374		$[4] = t4;
2375	} else t4 = $[4];
2376	let t5;
2377	if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
2378		t5 = /* @__PURE__ */ (0, import_jsx_runtime$2.jsx)("img", {
2379			src: campaigns_copy_promotion_visual_default,
2380			alt: "",
2381			width: "360",
2382			height: "220",
2383			className: "campaigns-copy-promotion__visual"
2384		});
2385		$[5] = t5;
2386	} else t5 = $[5];
2387	let t6;
2388	if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
2389		t6 = /* @__PURE__ */ (0, import_jsx_runtime$2.jsx)("h2", {
2390			className: "campaigns-copy-promotion__title",
2391			children: /* @__PURE__ */ (0, import_jsx_runtime$2.jsx)(TranslatedHtml, { html: i18n.t("components.campaigns_copy_promotion.title_html").toString() })
2392		});
2393		$[6] = t6;
2394	} else t6 = $[6];
2395	let t7;
2396	if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
2397		t7 = /* @__PURE__ */ (0, import_jsx_runtime$2.jsx)("p", {
2398			className: "campaigns-copy-promotion__description",
2399			children: i18n.t("components.campaigns_copy_promotion.description")
2400		});
2401		$[7] = t7;
2402	} else t7 = $[7];
2403	let t8;
2404	if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
2405		t8 = i18n.t("components.campaigns_copy_promotion.cta");
2406		$[8] = t8;
2407	} else t8 = $[8];
2408	let t9;
2409	if ($[9] !== sequencesUrl) {
2410		t9 = /* @__PURE__ */ (0, import_jsx_runtime$2.jsx)(Button, {
2411			variant: "primary",
2412			size: "sm",
2413			fullWidth: true,
2414			asChild: true,
2415			children: /* @__PURE__ */ (0, import_jsx_runtime$2.jsx)("a", {
2416				href: sequencesUrl,
2417				children: t8
2418			})
2419		});
2420		$[9] = sequencesUrl;
2421		$[10] = t9;
2422	} else t9 = $[10];
2423	let t10;
2424	if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
2425		t10 = i18n.t("components.campaigns_copy_promotion.learn_more");
2426		$[11] = t10;
2427	} else t10 = $[11];
2428	let t11;
2429	if ($[12] !== learnMoreUrl) {
2430		t11 = /* @__PURE__ */ (0, import_jsx_runtime$2.jsx)(Button, {
2431			size: "sm",
2432			fullWidth: true,
2433			asChild: true,
2434			children: /* @__PURE__ */ (0, import_jsx_runtime$2.jsx)("a", {
2435				href: learnMoreUrl,
2436				children: t10
2437			})
2438		});
2439		$[12] = learnMoreUrl;
2440		$[13] = t11;
2441	} else t11 = $[13];
2442	let t12;
2443	if ($[14] !== t11 || $[15] !== t9) {
2444		t12 = /* @__PURE__ */ (0, import_jsx_runtime$2.jsxs)("div", {
2445			className: "campaigns-copy-promotion__actions",
2446			children: [t9, t11]
2447		});
2448		$[14] = t11;
2449		$[15] = t9;
2450		$[16] = t12;
2451	} else t12 = $[16];
2452	let t13;
2453	if ($[17] !== t12 || $[18] !== t6) {
2454		t13 = /* @__PURE__ */ (0, import_jsx_runtime$2.jsxs)("div", {
2455			className: "campaigns-copy-promotion__content",
2456			children: [
2457				t6,
2458				t7,
2459				t12
2460			]
2461		});
2462		$[17] = t12;
2463		$[18] = t6;
2464		$[19] = t13;
2465	} else t13 = $[19];
2466	let t14;
2467	if ($[20] !== t13 || $[21] !== t4) {
2468		t14 = /* @__PURE__ */ (0, import_jsx_runtime$2.jsxs)("div", {
2469			className: "campaigns-copy-promotion",
2470			"data-controller": "campaign--copy-promotion",
2471			"data-campaign--copy-promotion-id-value": STEP_NAME,
2472			children: [
2473				t4,
2474				t5,
2475				t13
2476			]
2477		});
2478		$[20] = t13;
2479		$[21] = t4;
2480		$[22] = t14;
2481	} else t14 = $[22];
2482	return t14;
2483}
2484var import_compiler_runtime$2, import_react$1, import_jsx_runtime$2, STEP_NAME;
2485function init_CampaignsCopyPromotion() {
2486	return (init_CampaignsCopyPromotion = __esmMin((() => {
2487		import_compiler_runtime$2 = require_compiler_runtime();
2488		import_react$1 = require_react();
2489		init_button();
2490		init_icon();
2491		init_campaigns_copy_promotion_visual();
2492		init_onboarding();
2493		import_jsx_runtime$2 = require_jsx_runtime();
2494		STEP_NAME = "campaigns_copy_promotion";
2495	})))();
2496}
2497//#endregion
2498//#region app/frontend/pages/Search/SearchOverlays.tsx
2499function SearchOverlays(t0) {
2500	const $ = (0, import_compiler_runtime$1.c)(13);
2501	const { overlays } = t0;
2502	let t1;
2503	if ($[0] !== overlays.videoTour) {
2504		t1 = overlays.videoTour && /* @__PURE__ */ (0, import_jsx_runtime$1.jsx)(VideoTourModal, { show: true });
2505		$[0] = overlays.videoTour;
2506		$[1] = t1;
2507	} else t1 = $[1];
2508	let t2;
2509	if ($[2] !== overlays.onboarding || $[3] !== overlays.quotaWarning) {
2510		t2 = /* @__PURE__ */ (0, import_jsx_runtime$1.jsx)(SearchOnboarding, {
2511			quotaWarning: overlays.quotaWarning,
2512			onboarding: overlays.onboarding
2513		});
2514		$[2] = overlays.onboarding;
2515		$[3] = overlays.quotaWarning;
2516		$[4] = t2;
2517	} else t2 = $[4];
2518	let t3;
2519	if ($[5] !== overlays.copyPromotion.learnMoreUrl || $[6] !== overlays.copyPromotion.sequencesUrl || $[7] !== overlays.copyPromotion.visible) {
2520		t3 = overlays.copyPromotion.visible && /* @__PURE__ */ (0, import_jsx_runtime$1.jsx)(CampaignsCopyPromotion, {
2521			sequencesUrl: overlays.copyPromotion.sequencesUrl,
2522			learnMoreUrl: overlays.copyPromotion.learnMoreUrl
2523		});
2524		$[5] = overlays.copyPromotion.learnMoreUrl;
2525		$[6] = overlays.copyPromotion.sequencesUrl;
2526		$[7] = overlays.copyPromotion.visible;
2527		$[8] = t3;
2528	} else t3 = $[8];
2529	let t4;
2530	if ($[9] !== t1 || $[10] !== t2 || $[11] !== t3) {
2531		t4 = /* @__PURE__ */ (0, import_jsx_runtime$1.jsxs)(import_jsx_runtime$1.Fragment, { children: [
2532			t1,
2533			t2,
2534			t3
2535		] });
2536		$[9] = t1;
2537		$[10] = t2;
2538		$[11] = t3;
2539		$[12] = t4;
2540	} else t4 = $[12];
2541	return t4;
2542}
2543var import_compiler_runtime$1, import_jsx_runtime$1;
2544function init_SearchOverlays() {
2545	return (init_SearchOverlays = __esmMin((() => {
2546		import_compiler_runtime$1 = require_compiler_runtime();
2547		init_VideoTourModal();
2548		init_SearchOnboarding();
2549		init_CampaignsCopyPromotion();
2550		import_jsx_runtime$1 = require_jsx_runtime();
2551	})))();
2552}
2553//#endregion
2554//#region app/frontend/pages/Search/Index.tsx
2555function filterQueryString() {
2556	const current = new URLSearchParams(window.location.search);
2557	const forwarded = new URLSearchParams();
2558	current.forEach((value, key) => {
2559		if (FILTER_PARAM_KEYS.some((filterKey) => key === filterKey || key.startsWith(`${filterKey}[`))) forwarded.append(key, value);
2560	});
2561	return forwarded.toString();
2562}
2563function Index() {
2564	const $ = (0, import_compiler_runtime.c)(50);
2565	const { props } = usePage();
2566	const { domain, apiKey, flash, recentSearches, satismeter, overlays } = props;
2567	useFlashMessages(flash);
2568	const [searchDomain, setSearchDomain] = (0, import_react.useState)(domain ?? "");
2569	const [results, setResults] = (0, import_react.useState)(null);
2570	const [anyFilters, setAnyFilters] = (0, import_react.useState)(false);
2571	const [loading, setLoading] = (0, import_react.useState)(false);
2572	const lastCapturedUrl = (0, import_react.useRef)(window.location.pathname);
2573	const followState = useFollowCompany(results?.domain.value, results?.companyInfo?.companyName);
2574	let t0;
2575	let t1;
2576	if ($[0] !== apiKey || $[1] !== domain) {
2577		t0 = () => {
2578			if (!domain) {
2579				setResults(null);
2580				return;
2581			}
2582			let cancelled = false;
2583			setLoading(true);
2584			const filters = filterQueryString();
2585			setAnyFilters(filters !== "");
2586			const url = api_domain_search_path("v2", {
2587				format: "json",
2588				domain,
2589				context: "application",
2590				api_key: apiKey
2591			});
2592			fetch(filters ? `${url}&${filters}` : url, { headers: {
2593				Accept: "application/json",
2594				"Email-Hunter-Origin": "website_dashboard"
2595			} }).then(_temp).then((t2) => {
2596				const { ok, data } = t2;
2597				if (cancelled) return;
2598				if (!ok || data.errors?.length) {
2599					App.displayFlash("danger", data.errors?.[0]?.details || "Something went wrong. Please try again.");
2600					return;
2601				}
2602				setResults(data);
2603				const pageUrl = window.location.pathname;
2604				if (lastCapturedUrl.current !== pageUrl) {
2605					lastCapturedUrl.current = pageUrl;
2606					App.analytics.sendPageview(`Domain Search: ${domain}`, window.location.href, pageUrl);
2607					App.analytics.posthog_capture("$pageview", { $current_url: window.location.href });
2608				}
2609				App.analytics.track("Back domain searches");
2610			}).catch(() => {
2611				if (!cancelled) App.displayFlash("danger", "Something went wrong. Please try again.");
2612			}).finally(() => {
2613				if (!cancelled) setLoading(false);
2614			});
2615			return () => {
2616				cancelled = true;
2617			};
2618		};
2619		t1 = [domain, apiKey];
2620		$[0] = apiKey;
2621		$[1] = domain;
2622		$[2] = t0;
2623		$[3] = t1;
2624	} else {
2625		t0 = $[2];
2626		t1 = $[3];
2627	}
2628	(0, import_react.useEffect)(t0, t1);
2629	let t2;
2630	if ($[4] !== searchDomain) {
2631		t2 = function submit(event) {
2632			event.preventDefault();
2633			const value = hostnameFromURL(searchDomain);
2634			if (!value) return;
2635			router.get(`/search/${encodeURIComponent(value)}`);
2636		};
2637		$[4] = searchDomain;
2638		$[5] = t2;
2639	} else t2 = $[5];
2640	const submit = t2;
2641	let T0;
2642	let t3;
2643	let t4;
2644	let t5;
2645	let t6;
2646	let t7;
2647	let t8;
2648	if ($[6] !== anyFilters || $[7] !== domain || $[8] !== followState || $[9] !== loading || $[10] !== results || $[11] !== satismeter || $[12] !== searchDomain || $[13] !== submit) {
2649		const emptyStateKind = results ? searchEmptyStateKind(results, anyFilters) : null;
2650		const railVisible = results ? results.domain.company_data || results.numberOfResults > 0 : false;
2651		T0 = SearchShell;
2652		t3 = "search";
2653		t4 = satismeter;
2654		if ($[21] === Symbol.for("react.memo_cache_sentinel")) {
2655			t5 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Head_default, { title: "Domain Search" });
2656			$[21] = t5;
2657		} else t5 = $[21];
2658		const t9 = !domain;
2659		const t10 = !loading && domain && results && emptyStateKind !== "email" && emptyStateKind !== "invalid" ? {
2660			domain: results.domain.value,
2661			count: results.numberOfResults
2662		} : null;
2663		let t11;
2664		if ($[22] !== searchDomain || $[23] !== t10 || $[24] !== t9) {
2665			t11 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DomainAutocomplete, {
2666				id: "domain-field",
2667				value: searchDomain,
2668				placeholder: "Enter a domain or company name…",
2669				required: true,
2670				autoFocus: t9,
2671				summary: t10,
2672				onResetSummary: _temp2,
2673				onChange: setSearchDomain,
2674				onSelect: _temp3
2675			});
2676			$[22] = searchDomain;
2677			$[23] = t10;
2678			$[24] = t9;
2679			$[25] = t11;
2680		} else t11 = $[25];
2681		let t12;
2682		if ($[26] === Symbol.for("react.memo_cache_sentinel")) {
2683			t12 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", {
2684				className: "ds-search__submit",
2685				type: "submit",
2686				"aria-label": "Search",
2687				children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, {
2688					icon: "search",
2689					"aria-hidden": true
2690				})
2691			});
2692			$[26] = t12;
2693		} else t12 = $[26];
2694		let t13;
2695		if ($[27] !== t11) {
2696			t13 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
2697				className: "ds-search",
2698				children: [t11, t12]
2699			});
2700			$[27] = t11;
2701			$[28] = t13;
2702		} else t13 = $[28];
2703		if ($[29] !== submit || $[30] !== t13) {
2704			t6 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("form", {
2705				className: "ds-form",
2706				onSubmit: submit,
2707				children: t13
2708			});
2709			$[29] = submit;
2710			$[30] = t13;
2711			$[31] = t6;
2712		} else t6 = $[31];
2713		if ($[32] !== loading) {
2714			t7 = loading && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
2715				className: "text-center p-8",
2716				children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LoadingSpinner, {})
2717			});
2718			$[32] = loading;
2719			$[33] = t7;
2720		} else t7 = $[33];
2721		t8 = !loading && domain && results && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
2722			className: "row",
2723			children: [emptyStateKind ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
2724				className: searchEmptyStateColumnClass(emptyStateKind, results.domain.company_data ?? false),
2725				children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SearchEmptyStates, {
2726					kind: emptyStateKind,
2727					results,
2728					followState: {
2729						...followState,
2730						followed: followState.followedSignalId !== null
2731					}
2732				})
2733			}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
2734				className: "col-md-8",
2735				children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DomainSearch, { ...results })
2736			}), railVisible && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
2737				className: "col-md-4",
2738				children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SearchSidebar, {
2739					domainValue: results.domain.value,
2740					domainId: results.domainId,
2741					companyInfo: results.companyInfo,
2742					companySignal: results.companySignal,
2743					dashboardV2: results.dashboardV2,
2744					isAdmin: results.isAdmin,
2745					followState: {
2746						...followState,
2747						followed: followState.followedSignalId !== null
2748					}
2749				})
2750			})]
2751		}, results.domain.value);
2752		$[6] = anyFilters;
2753		$[7] = domain;
2754		$[8] = followState;
2755		$[9] = loading;
2756		$[10] = results;
2757		$[11] = satismeter;
2758		$[12] = searchDomain;
2759		$[13] = submit;
2760		$[14] = T0;
2761		$[15] = t3;
2762		$[16] = t4;
2763		$[17] = t5;
2764		$[18] = t6;
2765		$[19] = t7;
2766		$[20] = t8;
2767	} else {
2768		T0 = $[14];
2769		t3 = $[15];
2770		t4 = $[16];
2771		t5 = $[17];
2772		t6 = $[18];
2773		t7 = $[19];
2774		t8 = $[20];
2775	}
2776	let t9;
2777	if ($[34] !== domain || $[35] !== loading || $[36] !== recentSearches) {
2778		t9 = !loading && !domain && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RecentSearches, { searches: recentSearches });
2779		$[34] = domain;
2780		$[35] = loading;
2781		$[36] = recentSearches;
2782		$[37] = t9;
2783	} else t9 = $[37];
2784	let t10;
2785	if ($[38] !== overlays) {
2786		t10 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SearchOverlays, { overlays });
2787		$[38] = overlays;
2788		$[39] = t10;
2789	} else t10 = $[39];
2790	let t11;
2791	if ($[40] !== T0 || $[41] !== t10 || $[42] !== t3 || $[43] !== t4 || $[44] !== t5 || $[45] !== t6 || $[46] !== t7 || $[47] !== t8 || $[48] !== t9) {
2792		t11 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(T0, {
2793			active: t3,
2794			satismeter: t4,
2795			children: [
2796				t5,
2797				t6,
2798				t7,
2799				t8,
2800				t9,
2801				t10
2802			]
2803		});
2804		$[40] = T0;
2805		$[41] = t10;
2806		$[42] = t3;
2807		$[43] = t4;
2808		$[44] = t5;
2809		$[45] = t6;
2810		$[46] = t7;
2811		$[47] = t8;
2812		$[48] = t9;
2813		$[49] = t11;
2814	} else t11 = $[49];
2815	return t11;
2816}
2817function _temp3(selected) {
2818	return router.get(`/search/${encodeURIComponent(hostnameFromURL(selected))}`);
2819}
2820function _temp2() {
2821	return router.get("/search");
2822}
2823async function _temp(response) {
2824	return {
2825		ok: response.ok,
2826		data: await response.json()
2827	};
2828}
2829var import_compiler_runtime, import_react, import_jsx_runtime, FILTER_PARAM_KEYS;
2830function init_Index() {
2831	return (init_Index = __esmMin((() => {
2832		import_compiler_runtime = require_compiler_runtime();
2833		init_dist$1();
2834		import_react = require_react();
2835		init_SearchShell();
2836		init_domain_search();
2837		init_SearchSidebar();
2838		init_DomainAutocomplete();
2839		init_RecentSearches();
2840		init_SearchEmptyStates();
2841		init_loading_spinner();
2842		init_icon();
2843		init_routes();
2844		init_useFlashMessages();
2845		init_useFollowCompany();
2846		init_SearchOverlays();
2847		import_jsx_runtime = require_jsx_runtime();
2848		FILTER_PARAM_KEYS = [
2849			"type",
2850			"department",
2851			"required_field",
2852			"verification_status",
2853			"job_titles",
2854			"saved_leads"
2855		];
2856	})))();
2857}
2858//#endregion
2859init_Index();
2860export { Index as default };

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.