PageSourceSearch

https://hunter.io/assets/Configuration-DUVbu5mn.js

js hunter.io collected 2026-09-24 07:52:04 UTC 20,479 bytes, 588 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] = "80be38a2-87f8-439e-b43e-4efbdbccb8a4", e._sentryDebugIdIdentifier = "sentry-dbid-80be38a2-87f8-439e-b43e-4efbdbccb8a4");
7	} catch (e) {}
8})();
9import { n as __esmMin } from "./rolldown-runtime-sLwMD6dS.js";
10import { c as isUndefined } from "./type-guards-DVyG5ljW.js";
11import { i as require_compiler_runtime, t as require_jsx_runtime } 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_dist, l as router, s as usePage, t as Head_default } from "./dist-ZlUHm0R7.js";
16import { n as init_ConfirmDeletionDialog, t as ConfirmDeletionDialog } from "./ConfirmDeletionDialog-SRcPoDPF.js";
17import { n as useFlashMessages, t as init_useFlashMessages } from "./useFlashMessages-CaMVzoCv.js";
18import { n as useLegacyBodyClass, t as init_useLegacyBodyClass } from "./useLegacyBodyClass-D667Iu64.js";
19//#region app/frontend/pages/BulkFinders/Configuration.tsx
20function Configuration() {
21	const $ = (0, import_compiler_runtime.c)(96);
22	const { props } = usePage();
23	useFlashMessages(props.flash);
24	useLegacyBodyClass(`bulk_finders configuration show${props.bodyClass ? ` ${props.bodyClass}` : ""}`);
25	const hasErrors = props.inputErrors !== null;
26	const columnCount = props.sample[0]?.length ?? 0;
27	let t0;
28	if ($[0] !== columnCount || $[1] !== props.columns) {
29		t0 = () => {
30			const initial = Array.from({ length: columnCount }, _temp);
31			for (const [attribute, index] of Object.entries(props.columns)) {
32				if (index === null) continue;
33				const position = Number(index);
34				if (Number.isInteger(position) && position >= 0 && position < columnCount) initial[position] = `column_${attribute}`;
35			}
36			return initial;
37		};
38		$[0] = columnCount;
39		$[1] = props.columns;
40		$[2] = t0;
41	} else t0 = $[2];
42	const [mapping, setMapping] = (0, import_react.useState)(t0);
43	const [headerRow, setHeaderRow] = (0, import_react.useState)(props.headerRow);
44	const [deleteOpen, setDeleteOpen] = (0, import_react.useState)(false);
45	const [processing, setProcessing] = (0, import_react.useState)(false);
46	let result;
47	if ($[3] !== mapping) {
48		result = {};
49		mapping.forEach((value, index_0) => {
50			if (value) result[value] = String(index_0);
51		});
52		$[3] = mapping;
53		$[4] = result;
54	} else result = $[4];
55	const assigned = result;
56	const matchingValid = (Boolean(assigned.column_first) && Boolean(assigned.column_last) || Boolean(assigned.column_name)) && (Boolean(assigned.column_company) || Boolean(assigned.column_domain));
57	let t1;
58	if ($[5] !== assigned.column_first || $[6] !== assigned.column_last || $[7] !== assigned.column_name || $[8] !== columnCount || $[9] !== mapping) {
59		t1 = columnCount > 0 && mapping.every(_temp2) && !assigned.column_first && !assigned.column_last && !assigned.column_name;
60		$[5] = assigned.column_first;
61		$[6] = assigned.column_last;
62		$[7] = assigned.column_name;
63		$[8] = columnCount;
64		$[9] = mapping;
65		$[10] = t1;
66	} else t1 = $[10];
67	const allColumnsMatchedAndNoNames = t1;
68	let t2;
69	if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
70		t2 = function onSelectColumn(index_1, value_1) {
71			setMapping((current) => current.map((existing, position_0) => position_0 === index_1 ? value_1 : existing));
72		};
73		$[11] = t2;
74	} else t2 = $[11];
75	const onSelectColumn = t2;
76	let t3;
77	if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
78		t3 = function columnParams(values) {
79			return {
80				column_first: values.column_first ?? "",
81				column_last: values.column_last ?? "",
82				column_name: values.column_name ?? "",
83				column_company: values.column_company ?? "",
84				column_domain: values.column_domain ?? ""
85			};
86		};
87		$[12] = t3;
88	} else t3 = $[12];
89	const columnParams = t3;
90	let t4;
91	if ($[13] !== assigned || $[14] !== headerRow || $[15] !== matchingValid || $[16] !== processing || $[17] !== props.updatePath) {
92		t4 = function onSubmit(event) {
93			event.preventDefault();
94			if (processing || !matchingValid) return;
95			setProcessing(true);
96			router.patch(props.updatePath, { bulk_finder: {
97				header_row: headerRow ? "true" : "false",
98				...columnParams(assigned)
99			} }, { onFinish: () => setProcessing(false) });
100		};
101		$[13] = assigned;
102		$[14] = headerRow;
103		$[15] = matchingValid;
104		$[16] = processing;
105		$[17] = props.updatePath;
106		$[18] = t4;
107	} else t4 = $[18];
108	const onSubmit = t4;
109	let t5;
110	if ($[19] !== processing || $[20] !== props.columns || $[21] !== props.updatePath) {
111		t5 = function ignoreAndLaunch() {
112			if (processing) return;
113			setProcessing(true);
114			router.patch(props.updatePath, { bulk_finder: columnParams({
115				column_first: props.columns.first,
116				column_last: props.columns.last,
117				column_name: props.columns.name,
118				column_company: props.columns.company,
119				column_domain: props.columns.domain
120			}) }, { onFinish: () => setProcessing(false) });
121		};
122		$[19] = processing;
123		$[20] = props.columns;
124		$[21] = props.updatePath;
125		$[22] = t5;
126	} else t5 = $[22];
127	const ignoreAndLaunch = t5;
128	let t6;
129	if ($[23] !== ignoreAndLaunch || $[24] !== processing) {
130		t6 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button, {
131			type: "button",
132			onClick: ignoreAndLaunch,
133			disabled: processing,
134			children: "Ignore and launch"
135		});
136		$[23] = ignoreAndLaunch;
137		$[24] = processing;
138		$[25] = t6;
139	} else t6 = $[25];
140	let t7;
141	if ($[26] === Symbol.for("react.memo_cache_sentinel")) {
142		t7 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
143			className: "light-grey",
144			children: "OR"
145		});
146		$[26] = t7;
147	} else t7 = $[26];
148	let t8;
149	if ($[27] !== props.inputVerificationPath) {
150		t8 = () => router.delete(props.inputVerificationPath, { preserveState: false });
151		$[27] = props.inputVerificationPath;
152		$[28] = t8;
153	} else t8 = $[28];
154	let t9;
155	if ($[29] !== processing || $[30] !== t8) {
156		t9 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button, {
157			type: "button",
158			onClick: t8,
159			disabled: processing,
160			children: "Change column selection"
161		});
162		$[29] = processing;
163		$[30] = t8;
164		$[31] = t9;
165	} else t9 = $[31];
166	let t10;
167	if ($[32] === Symbol.for("react.memo_cache_sentinel")) {
168		t10 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
169			className: "light-grey",
170			children: "OR"
171		});
172		$[32] = t10;
173	} else t10 = $[32];
174	let t11;
175	if ($[33] !== processing || $[34] !== props.deleteToDomainSearchPath || $[35] !== props.deleteToNewFinderPath || $[36] !== props.suggestDomainSearch) {
176		t11 = props.suggestDomainSearch ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
177			/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button, {
178				type: "button",
179				onClick: () => router.delete(props.deleteToDomainSearchPath),
180				disabled: processing,
181				children: "Start a Bulk Domain Search instead"
182			}),
183			/* @__PURE__ */ (0, import_jsx_runtime.jsx)("br", {}),
184			/* @__PURE__ */ (0, import_jsx_runtime.jsx)("br", {}),
185			/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
186				className: "light-grey",
187				children: "A Bulk Domain Search finds email addresses from a list of websites or companies."
188			})
189		] }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button, {
190			type: "button",
191			onClick: () => router.delete(props.deleteToNewFinderPath),
192			disabled: processing,
193			children: "Upload a new file"
194		});
195		$[33] = processing;
196		$[34] = props.deleteToDomainSearchPath;
197		$[35] = props.deleteToNewFinderPath;
198		$[36] = props.suggestDomainSearch;
199		$[37] = t11;
200	} else t11 = $[37];
201	let t12;
202	if ($[38] !== t11 || $[39] !== t6 || $[40] !== t9) {
203		t12 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
204			t6,
205			"\xA0",
206			t7,
207			"\xA0",
208			t9,
209			"\xA0",
210			t10,
211			"\xA0",
212			t11
213		] });
214		$[38] = t11;
215		$[39] = t6;
216		$[40] = t9;
217		$[41] = t12;
218	} else t12 = $[41];
219	const errorActions = t12;
220	const t13 = `bulk_finders configuration show${props.bodyClass ? ` ${props.bodyClass}` : ""}`;
221	let t14;
222	if ($[42] !== props.metaTitle) {
223		t14 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Head_default, { title: props.metaTitle });
224		$[42] = props.metaTitle;
225		$[43] = t14;
226	} else t14 = $[43];
227	let t15;
228	if ($[44] !== hasErrors || $[45] !== props.inputErrors) {
229		t15 = hasErrors && props.inputErrors && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("h2", { children: ["Is the data correct?", /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
230			className: "subtitle",
231			children: "We detected some errors that might reduce the quality or quantity of results."
232		})] }), props.inputErrors.format === "hash" ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
233			className: "alert alert-danger alert-detail",
234			children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: props.inputErrors.countLabel }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("ul", { children: props.inputErrors.entries.map(_temp3) })]
235		}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children: props.inputErrors.entries.map(_temp4) })] });
236		$[44] = hasErrors;
237		$[45] = props.inputErrors;
238		$[46] = t15;
239	} else t15 = $[46];
240	let t16;
241	if ($[47] !== assigned || $[48] !== columnCount || $[49] !== hasErrors || $[50] !== headerRow || $[51] !== mapping || $[52] !== props.sample) {
242		t16 = !hasErrors && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("h2", { children: ["Select the columns in your file", /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
243			className: "subtitle",
244			children: "Match the columns with the fields we need to find email addresses."
245		})] }
245), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
246			id: "preview-container",
247			children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
248				className: "horizontal-scroll",
249				children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("table", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("tbody", { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("tr", { children: Array.from({ length: columnCount }, (_, index_4) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("th", { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("label", {
250					className: "sr-only",
251					htmlFor: `column_${index_4}`,
252					children: ["Column ", index_4 + 1]
253				}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("select", {
254					id: `column_${index_4}`,
255					className: "form-control h-select",
256					value: mapping[index_4],
257					onChange: (event_0) => onSelectColumn(index_4, event_0.target.value),
258					children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("option", { value: "" }), COLUMN_OPTIONS.map((option) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("option", {
259						value: option.value,
260						disabled: Boolean(assigned[option.value]) && assigned[option.value] !== String(index_4),
261						children: option.label
262					}, option.value))]
263				})] }, index_4)) }), props.sample.map((row, rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("tr", {
264					className: rowIndex === 0 ? "first" : void 0,
265					style: rowIndex === 0 && headerRow ? { display: "none" } : void 0,
266					children: row.map(_temp5)
267				}, rowIndex))] }) })
268			})
269		})] });
270		$[47] = assigned;
271		$[48] = columnCount;
272		$[49] = hasErrors;
273		$[50] = headerRow;
274		$[51] = mapping;
275		$[52] = props.sample;
276		$[53] = t16;
277	} else t16 = $[53];
278	let t17;
279	if ($[54] !== hasErrors || $[55] !== headerRow) {
280		t17 = !hasErrors && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
281			/* @__PURE__ */ (0, import_jsx_runtime.jsx)("br", {}),
282			/* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", {
283				type: "checkbox",
284				id: "bulk_finder_header_row",
285				checked: headerRow,
286				onChange: (event_1) => setHeaderRow(event_1.target.checked)
287			}),
288			/* @__PURE__ */ (0, import_jsx_runtime.jsx)("label", {
289				className: "header-row-label",
290				htmlFor: "bulk_finder_header_row",
291				children: "The first row is for the headers"
292			})
293		] });
294		$[54] = hasErrors;
295		$[55] = headerRow;
296		$[56] = t17;
297	} else t17 = $[56];
298	let t18;
299	if ($[57] !== allColumnsMatchedAndNoNames || $[58] !== hasErrors || $[59] !== matchingValid) {
300		t18 = !hasErrors && !matchingValid && !allColumnsMatchedAndNoNames && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
301			id: "matching-not-ok",
302			style: { display: "block" },
303			children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("strong", { children: "Please match the required columns to continue." })
304		});
305		$[57] = allColumnsMatchedAndNoNames;
306		$[58] = hasErrors;
307		$[59] = matchingValid;
308		$[60] = t18;
309	} else t18 = $[60];
310	let t19;
311	if ($[61] !== allColumnsMatchedAndNoNames || $[62] !== hasErrors || $[63] !== matchingValid || $[64] !== props.newBulkSearchPath) {
312		t19 = !hasErrors && !matchingValid && allColumnsMatchedAndNoNames && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
313			id: "missing-names",
314			style: { display: "block" },
315			children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("strong", { children: [
316				"It seems you're missing names in your file. Do you wish to start a",
317				" ",
318				/* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", {
319					href: props.newBulkSearchPath,
320					className: "blue-link",
321					children: "Bulk Domain Search"
322				}),
323				" ",
324				"instead?"
325			] })
326		});
327		$[61] = allColumnsMatchedAndNoNames;
328		$[62] = hasErrors;
329		$[63] = matchingValid;
330		$[64] = props.newBulkSearchPath;
331		$[65] = t19;
332	} else t19 = $[65];
333	let t20;
334	if ($[66] !== errorActions || $[67] !== hasErrors || $[68] !== matchingValid || $[69] !== processing) {
335		t20 = !hasErrors ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
336			/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button, {
337				type: "submit",
338				variant: "primary",
339				size: "lg",
340				disabled: !matchingValid || processing,
341				children: "Validate"
342			}),
343			" ",
344			/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button, {
345				type: "button",
346				size: "lg",
347				onClick: () => setDeleteOpen(true),
348				children: "Delete"
349			})
350		] }) : errorActions;
351		$[66] = errorActions;
352		$[67] = hasErrors;
353		$[68] = matchingValid;
354		$[69] = processing;
355		$[70] = t20;
356	} else t20 = $[70];
357	let t21;
358	if ($[71] !== t18 || $[72] !== t19 || $[73] !== t20) {
359		t21 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
360			className: "button-container",
361			children: [
362				t18,
363				t19,
364				t20
365			]
366		});
367		$[71] = t18;
368		$[72] = t19;
369		$[73] = t20;
370		$[74] = t21;
371	} else t21 = $[74];
372	let t22;
373	if ($[75] !== onSubmit || $[76] !== t17 || $[77] !== t21) {
374		t22 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("form", {
375			onSubmit,
376			children: [t17, t21]
377		});
378		$[75] = onSubmit;
379		$[76] = t17;
380		$[77] = t21;
381		$[78] = t22;
382	} else t22 = $[78];
383	let t23;
384	if ($[79] !== t15 || $[80] !== t16 || $[81] !== t22) {
385		t23 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
386			className: "board-box board-box--unboxed mb-0",
387			children: [
388				t15,
389				t16,
390				t22
391			]
392		});
393		$[79] = t15;
394		$[80] = t16;
395		$[81] = t22;
396		$[82] = t23;
397	} else t23 = $[82];
398	let t24;
399	if ($[83] === Symbol.for("react.memo_cache_sentinel")) {
400		t24 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SupportNotification, {});
401		$[83] = t24;
402	} else t24 = $[83];
403	let t25;
404	if ($[84] === Symbol.for("react.memo_cache_sentinel")) {
405		t25 = () => setDeleteOpen(false);
406		$[84] = t25;
407	} else t25 = $[84];
408	let t26;
409	if ($[85] !== deleteOpen || $[86] !== props.deleteModal.buttonLabel || $[87] !== props.deleteModal.contentHtml || $[88] !== props.deleteModal.title || $[89] !== props.deletePath) {
410		t26 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ConfirmDeletionDialog, {
411			isOpen: deleteOpen,
412			onClose: t25,
413			title: props.deleteModal.title,
414			contentHtml: props.deleteModal.contentHtml,
415			buttonLabel: props.deleteModal.buttonLabel,
416			deletePath: props.deletePath
417		});
418		$[85] = deleteOpen;
419		$[86] = props.deleteModal.buttonLabel;
420		$[87] = props.deleteModal.contentHtml;
421		$[88] = props.deleteModal.title;
422		$[89] = props.deletePath;
423		$[90] = t26;
424	} else t26 = $[90];
425	let t27;
426	if ($[91] !== t13 || $[92] !== t14 || $[93] !== t23 || $[94] !== t26) {
427		t27 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
428			className: t13,
429			children: [
430				t14,
431				t23,
432				t24,
433				t26
434			]
435		});
436		$[91] = t13;
437		$[92] = t14;
438		$[93] = t23;
439		$[94] = t26;
440		$[95] = t27;
441	} else t27 = $[95];
442	return t27;
443}
444function _temp5(value_2, cellIndex) {
445	return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("td", { children: value_2 }, cellIndex);
446}
447function _temp4(entry_0, index_3) {
448	return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
449		className: "error-block",
450		children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
451			entry_0.severity === "high" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, {
452				icon: "exclamation-triangle",
453				"aria-hidden": "true"
454			}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, {
455				icon: "info-circle",
456				"aria-hidden": "true"
457			}),
458			" ",
459			entry_0.frequency,
460			" values for the ",
461			/* @__PURE__ */ (0, import_jsx_runtime.jsx)("strong", { children: entry_0.fieldLabel }),
462			" ",
463			entry_0.verb,
464			" ",
465			entry_0.kind,
466			"."
467		] }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
468			className: "light-grey",
469			children: entry_0.examplesLabel
470		})]
471	}, index_3);
472}
473function _temp3(entry, index_2) {
474	return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("li", { children: [
475		entry.label,
476		": ",
477		entry.message
478	] }, index_2);
479}
480function _temp2(value_0) {
481	return value_0 !== "";
482}
483function _temp() {
484	return "";
485}
486function SupportNotification() {
487	const $ = (0, import_compiler_runtime.c)(8);
488	const [visible, setVisible] = (0, import_react.useState)(false);
489	let t0;
490	let t1;
491	if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
492		t0 = () => {
493			const intercom = window.Intercom;
494			if (isUndefined(intercom) || document.getElementById("intercom-frame") === null) return;
495			const timeout = setTimeout(() => setVisible(true), 3e4);
496			intercom("onHide", () => setVisible(true));
497			intercom("onShow", () => setVisible(false));
498			return () => clearTimeout(timeout);
499		};
500		t1 = [];
501		$[0] = t0;
502		$[1] = t1;
503	} else {
504		t0 = $[0];
505		t1 = $[1];
506	}
507	(0, import_react.useEffect)(t0, t1);
508	let t2;
509	if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
510		t2 = function launchChat() {
511			setVisible(false);
512			window.Intercom?.("showNewMessage");
513		};
514		$[2] = t2;
515	} else t2 = $[2];
516	const launchChat = t2;
517	const t3 = visible ? "block" : "none";
518	let t4;
519	if ($[3] !== t3) {
520		t4 = { display: t3 };
521		$[3] = t3;
522		$[4] = t4;
523	} else t4 = $[4];
524	let t5;
525	if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
526		t5 = (event) => {
527			if (event.key === "Enter" || event.key === " ") {
528				event.preventDefault();
529				launchChat();
530			}
531		};
532		$[5] = t5;
533	} else t5 = $[5];
534	let t6;
535	if ($[6] !== t4) {
536		t6 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
537			id: "support-notification",
538			role: "button",
539			tabIndex: 0,
540			style: t4,
541			onClick: launchChat,
542			onKeyDown: t5,
543			children: "Need help to configure your file?"
544		});
545		$[6] = t4;
546		$[7] = t6;
547	} else t6 = $[7];
548	return t6;
549}
550var import_compiler_runtime, import_react, import_jsx_runtime, COLUMN_OPTIONS;
551function init_Configuration() {
552	return (init_Configuration = __esmMin((() => {
553		import_compiler_runtime = require_compiler_runtime();
554		init_dist();
555		import_react = require_react();
556		init_button();
557		init_icon();
558		init_ConfirmDeletionDialog();
559		init_useFlashMessages();
560		init_useLegacyBodyClass();
561		import_jsx_runtime = require_jsx_runtime();
562		COLUMN_OPTIONS = [
563			{
564				value: "column_first",
565				label: "First name"
566			},
567			{
568				value: "column_last",
569				label: "Last name"
570			},
571			{
572				value: "column_name",
573				label: "Full name"
574			},
575			{
576				value: "column_company",
577				label: "Company"
578			},
579			{
580				value: "column_domain",
581				label: "Domain"
582			}
583		];
584	})))();
585}
586//#endregion
587init_Configuration();
588export { Configuration 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.