@burdenoff/microfe-support 2026.819.5 → 2026.824.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,18 +4,18 @@ import { ConfiguredRoundState as s, JobPostingStatus as he } from "../../generat
4
4
  import { nativeNotify as c } from "../../utils/nativeBridge.js";
5
5
  import { roundStatusConfig as ge, roundStatusOrder as _e, statusColors as l, statusLabels as ve, statusOrder as ye } from "../constants/pipeline.js";
6
6
  import { CandidateMaterializationError as be, createEmptyCandidateSelection as u, getCandidateSelectionCount as xe, getSelectedCandidateIds as Se, materializeCandidateTargets as Ce, selectAllMaterializedCandidates as we, setVisibleCandidateSelection as Te, toggleCandidateSelection as Ee } from "../utils/bulkCandidateOperations.js";
7
- import { AddSelectedToRoundDialog as De, BulkCandidateSendDialog as Oe } from "../components/careers/BulkCandidateDialogs.js";
8
- import { BulkSelectionSummary as ke } from "../components/careers/BulkSelectionSummary.js";
9
- import { requireBulkCandidateTargetPage as Ae } from "../utils/bulkCandidateTargetQuery.js";
10
- import { useEffect as je, useRef as d, useState as f } from "react";
11
- import { AlertCircle as Me, Briefcase as Ne, ChevronDown as Pe, Filter as Fe, Grid as Ie, List as Le, Loader2 as p, Paperclip as Re, Plus as ze, Search as Be, Send as Ve, Shuffle as He, UserPlus as Ue } from "lucide-react";
12
- import { useLocation as We, useNavigate as Ge } from "react-router";
13
- import { graphqlFetch as Ke } from "@burdenoff/fe-libs/shared/graphql/fetch";
7
+ import { AddSelectedToRoundDialog as De, BulkCandidateSendDialog as Oe, NotifyDuplicateApplicantsDialog as ke } from "../components/careers/BulkCandidateDialogs.js";
8
+ import { BulkSelectionSummary as Ae } from "../components/careers/BulkSelectionSummary.js";
9
+ import { requireBulkCandidateTargetPage as je } from "../utils/bulkCandidateTargetQuery.js";
10
+ import { useEffect as Me, useRef as d, useState as f } from "react";
11
+ import { AlertCircle as Ne, Briefcase as Pe, ChevronDown as Fe, Filter as Ie, Grid as Le, List as Re, Loader2 as p, Mail as ze, Paperclip as Be, Plus as Ve, Search as He, Send as Ue, Shuffle as We, UserPlus as Ge } from "lucide-react";
12
+ import { useLocation as Ke, useNavigate as qe } from "react-router";
13
+ import { graphqlFetch as Je } from "@burdenoff/fe-libs/shared/graphql/fetch";
14
14
  import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
15
- import { IllustratedEmptyState as qe, PagePurpose as Je } from "@burdenoff/fe-libs/ui";
15
+ import { IllustratedEmptyState as Ye, PagePurpose as Xe } from "@burdenoff/fe-libs/ui";
16
16
  //#region src/support/pages/JobApplicationsPage.tsx
17
17
  var _ = 50;
18
- function Ye(e) {
18
+ function Ze(e) {
19
19
  return {
20
20
  id: e.id,
21
21
  jobPostingId: e.jobPostingId ?? null,
@@ -28,7 +28,7 @@ function Ye(e) {
28
28
  }))
29
29
  };
30
30
  }
31
- function Xe(e) {
31
+ function Qe(e) {
32
32
  return {
33
33
  ...e,
34
34
  ...e.ids ? { ids: [...e.ids] } : {},
@@ -36,11 +36,11 @@ function Xe(e) {
36
36
  ...e.roundStatuses ? { roundStatuses: [...e.roundStatuses] } : {}
37
37
  };
38
38
  }
39
- function Ze(e, t) {
39
+ function $e(e, t) {
40
40
  let n = new Set(e);
41
41
  return n.has(t) ? n.delete(t) : n.add(t), n;
42
42
  }
43
- function Qe(e) {
43
+ function et(e) {
44
44
  return new Date(e).toLocaleDateString("en-US", {
45
45
  month: "short",
46
46
  day: "numeric",
@@ -49,27 +49,27 @@ function Qe(e) {
49
49
  minute: "2-digit"
50
50
  });
51
51
  }
52
- function $e(e) {
52
+ function tt(e) {
53
53
  let t = Date.now() - new Date(e).getTime(), n = Math.floor(t / 6e4);
54
54
  if (n < 2) return "just now";
55
55
  if (n < 60) return `${n}m ago`;
56
56
  let r = Math.floor(n / 60);
57
57
  if (r < 24) return `${r}h ago`;
58
58
  let i = Math.floor(r / 24);
59
- return i < 30 ? `${i}d ago` : Qe(e);
59
+ return i < 30 ? `${i}d ago` : et(e);
60
60
  }
61
- var v = "__none__", et = [
61
+ var v = "__none__", nt = [
62
62
  "LinkedIn",
63
63
  "Referral",
64
64
  "Indeed",
65
65
  "Email",
66
66
  "Walk-in",
67
67
  "Other"
68
- ], tt = 10485760, nt = ".pdf,.doc,.docx", rt = /* @__PURE__ */ new Set([
68
+ ], rt = 10485760, it = ".pdf,.doc,.docx", at = /* @__PURE__ */ new Set([
69
69
  "application/pdf",
70
70
  "application/msword",
71
71
  "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
72
- ]), it = {
72
+ ]), ot = {
73
73
  name: "",
74
74
  email: "",
75
75
  phone: "",
@@ -80,7 +80,7 @@ var v = "__none__", et = [
80
80
  portfolio: "",
81
81
  coverLetter: ""
82
82
  };
83
- function at(e) {
83
+ function st(e) {
84
84
  return new Promise((t, n) => {
85
85
  let r = new FileReader();
86
86
  r.onload = () => {
@@ -94,20 +94,21 @@ function at(e) {
94
94
  }, r.onerror = () => n(r.error ?? /* @__PURE__ */ Error("Failed to read file")), r.readAsDataURL(e);
95
95
  });
96
96
  }
97
- function ot() {
98
- let Qe = Ge(), ot = We().search, [y, st] = f(""), [b, ct] = f(""), [x, lt] = f(/* @__PURE__ */ new Set()), [S, ut] = f(/* @__PURE__ */ new Set()), [C, dt] = f(""), [w, ft] = f(""), [T, pt] = f(""), [E, mt] = f(""), [D, ht] = f(!1), [O, gt] = f("list"), [k, A] = f(u), [_t, j] = f([]), [M, vt] = f(!1), [yt, N] = f(null), [P, bt] = f(null), [xt, St] = f([]), [Ct, wt] = f(u), [Tt, Et] = f(!1), [Dt, Ot] = f(null), [kt, F] = f(!1), [I, L] = f(it), [R, At] = f({}), [z, B] = f(null), [jt, V] = f(""), [Mt, Nt] = f(!1), [Pt, Ft] = f(!1), [H, It] = f({}), Lt = d(_), Rt = d(H);
99
- Rt.current = H, je(() => {
100
- let e = setTimeout(() => ct(y), 300);
97
+ function ct() {
98
+ let et = qe(), ct = Ke().search, [y, lt] = f(""), [b, ut] = f(""), [x, dt] = f(/* @__PURE__ */ new Set()), [S, ft] = f(/* @__PURE__ */ new Set()), [C, pt] = f(""), [w, mt] = f(""), [T, ht] = f(""), [E, gt] = f(""), [D, _t] = f(!1), [O, vt] = f(!1), [yt, bt] = f("list"), [k, A] = f(u), [xt, St] = f([]), [j, Ct] = f(!1), [wt, M] = f(null), [N, Tt] = f(null), [Et, Dt] = f([]), [Ot, kt] = f(u), [P, At] = f(!1), [jt, Mt] = f(null), [Nt, F] = f(!1), [I, L] = f(ot), [R, Pt] = f({}), [z, B] = f(null), [Ft, V] = f(""), [It, Lt] = f(!1), [Rt, zt] = f(!1), [H, Bt] = f({}), Vt = d(_), Ht = d(H);
99
+ Ht.current = H, Me(() => {
100
+ let e = setTimeout(() => ut(y), 300);
101
101
  return () => clearTimeout(e);
102
102
  }, [y]);
103
- let U = y !== b, zt = {
103
+ let U = y !== b, Ut = {
104
104
  ...b ? { search: b } : {},
105
105
  ...x.size > 0 ? { statuses: Array.from(x) } : {},
106
106
  ...S.size > 0 ? { roundStatuses: Array.from(S) } : {},
107
107
  ...C ? { productId: C } : {},
108
108
  ...w ? { jobPostingId: w } : {},
109
109
  ...T ? { roundConfigId: T } : {},
110
- ...E ? { configuredRoundState: E } : {}
110
+ ...E ? { configuredRoundState: E } : {},
111
+ ...D && w ? { duplicateEmail: !0 } : {}
111
112
  }, W = JSON.stringify({
112
113
  searchInput: y,
113
114
  search: b,
@@ -116,7 +117,8 @@ function ot() {
116
117
  productId: C,
117
118
  jobPostingId: w,
118
119
  roundConfigId: T,
119
- configuredRoundState: E
120
+ configuredRoundState: E,
121
+ duplicateEmail: D && !!w
120
122
  }), G = d({
121
123
  key: W,
122
124
  generation: 0
@@ -126,95 +128,95 @@ function ot() {
126
128
  generation: G.current.generation + 1
127
129
  });
128
130
  let K = `${G.current.generation}:${W}`, q = d(K);
129
- q.current = K, je(() => {
130
- A(u()), j([]), vt(!1), N(null), bt(null), St([]), wt(u()), Et(!1), Ot(null), Ft(!1), Lt.current = _;
131
+ q.current = K, Me(() => {
132
+ A(u()), St([]), Ct(!1), M(null), Tt(null), Dt([]), kt(u()), At(!1), Mt(null), zt(!1), Vt.current = _;
131
133
  }, [K]);
132
- let { data: Bt, loading: Vt, error: Ht, fetchMore: Ut } = fe({
134
+ let { data: Wt, loading: Gt, error: Kt, fetchMore: qt } = fe({
133
135
  variables: {
134
- filter: zt,
136
+ filter: Ut,
135
137
  limit: _,
136
138
  offset: 0
137
139
  },
138
140
  fetchPolicy: "cache-and-network"
139
- }), [Wt] = de({
141
+ }), [Jt] = de({
140
142
  fetchPolicy: "network-only",
141
143
  errorPolicy: "none"
142
- }), { data: Gt, loading: Kt } = me({
144
+ }), { data: Yt, loading: Xt } = me({
143
145
  variables: {
144
146
  limit: 200,
145
147
  offset: 0
146
148
  },
147
149
  fetchPolicy: "cache-and-network"
148
- }), { data: qt, loading: Jt } = pe({
150
+ }), { data: Zt, loading: Qt } = pe({
149
151
  variables: { id: w },
150
152
  skip: !w,
151
153
  fetchPolicy: "cache-and-network"
152
- }), [Yt] = ue(), Xt = (Gt?.jobPostings?.items ?? []).filter((e) => e.status === he.Open), Zt = qt?.jobPosting?.rounds ?? [], Qt = Bt?.jobApplications?.items ?? [], $t = /* @__PURE__ */ new Map();
153
- for (let e of Qt) $t.set(e.id, e);
154
- let J = Array.from($t.values()), Y = Bt?.jobApplications?.total ?? 0, en = Bt?.jobApplications?.hasMore ?? !1, X = J.map((e) => e.id), tn = Se(k), Z = xe(k), nn = (k.mode === "all" ? _t : J.map(Ye)).filter((e) => tn.has(e.id)), rn = nn.length === Z, an = !!w && rn && nn.every((e) => e.jobPostingId === w), on = X.filter((e) => tn.has(e)).length, sn = X.length > 0 && on === X.length, Q = an && Z > 0 && !U && !M && !Tt, cn = (Gt?.jobPostings?.items ?? []).reduce((e, t) => (e[t.id] = t, e), {}), ln = async (e) => {
155
- let t = Xe(zt);
154
+ }), [$t] = ue(), en = (Yt?.jobPostings?.items ?? []).filter((e) => e.status === he.Open), tn = Zt?.jobPosting?.rounds ?? [], nn = Wt?.jobApplications?.items ?? [], rn = /* @__PURE__ */ new Map();
155
+ for (let e of nn) rn.set(e.id, e);
156
+ let J = Array.from(rn.values()), Y = Wt?.jobApplications?.total ?? 0, an = Wt?.jobApplications?.hasMore ?? !1, X = J.map((e) => e.id), on = Se(k), Z = xe(k), sn = (k.mode === "all" ? xt : J.map(Ze)).filter((e) => on.has(e.id)), cn = sn.length === Z, ln = !!w && cn && sn.every((e) => e.jobPostingId === w), un = X.filter((e) => on.has(e)).length, dn = X.length > 0 && un === X.length, Q = ln && Z > 0 && !U && !j && !P, fn = (Yt?.jobPostings?.items ?? []).reduce((e, t) => (e[t.id] = t, e), {}), pn = async (e) => {
157
+ let t = Qe(Ut);
156
158
  return Ce({
157
159
  scopeKey: e,
158
160
  expectedTotal: Y,
159
161
  getCurrentScopeKey: () => q.current,
160
162
  fetchPage: async (e, n) => {
161
- let r = await Wt({ variables: {
163
+ let r = await Jt({ variables: {
162
164
  filter: t,
163
165
  limit: e,
164
166
  offset: n
165
- } }), i = Ae(r);
167
+ } }), i = je(r);
166
168
  return {
167
- items: i.items.map(Ye),
169
+ items: i.items.map(Ze),
168
170
  total: i.total,
169
171
  hasMore: i.hasMore
170
172
  };
171
173
  }
172
174
  });
173
- }, un = async () => {
174
- if (M || U || Y === 0) return;
175
+ }, mn = async () => {
176
+ if (j || U || Y === 0) return;
175
177
  let e = K;
176
- vt(!0), N(null);
178
+ Ct(!0), M(null);
177
179
  try {
178
- let t = await ln(e);
180
+ let t = await pn(e);
179
181
  if (q.current !== e) return;
180
- j(t), A(we(t.map((e) => e.id)));
182
+ St(t), A(we(t.map((e) => e.id)));
181
183
  } catch (t) {
182
184
  if (t instanceof be && t.code === "STALE_SCOPE" || q.current !== e) return;
183
- N(t instanceof Error ? t.message : "Could not load all matching applications."), c("error");
185
+ M(t instanceof Error ? t.message : "Could not load all matching applications."), c("error");
184
186
  } finally {
185
- q.current === e && vt(!1);
187
+ q.current === e && Ct(!1);
186
188
  }
187
- }, dn = (e) => {
188
- ft(e), pt(""), mt("");
189
- }, fn = (e) => {
190
- mt(e), e === s.Missing && ut(/* @__PURE__ */ new Set());
189
+ }, hn = (e) => {
190
+ mt(e), ht(""), gt(""), _t(!1);
191
+ }, gn = (e) => {
192
+ gt(e), e === s.Missing && ft(/* @__PURE__ */ new Set());
191
193
  }, $ = (e) => {
192
- !Q || !w || (bt(e), St(nn), wt(k), Ot(null), Et(!1));
193
- }, pn = () => {
194
- bt(null), St([]), wt(u()), Ot(null), Et(!1);
195
- }, mn = Array.from(new Set(J.flatMap((e) => e.productId ? [e.productId] : []))).sort(), hn = mn.join(",");
196
- je(() => {
197
- let e = hn ? hn.split(",").filter((e) => !Rt.current[e]) : [];
194
+ !Q || !w || (Tt(e), Dt(sn), kt(k), Mt(null), At(!1));
195
+ }, _n = () => {
196
+ Tt(null), Dt([]), kt(u()), Mt(null), At(!1);
197
+ }, vn = Array.from(new Set(J.flatMap((e) => e.productId ? [e.productId] : []))).sort(), yn = vn.join(",");
198
+ Me(() => {
199
+ let e = yn ? yn.split(",").filter((e) => !Ht.current[e]) : [];
198
200
  e.length !== 0 && e.forEach((e) => {
199
- Ke({
201
+ Je({
200
202
  gateway: "global",
201
203
  query: "query($id: ID!) { platformProduct(id: $id) { name } }",
202
204
  variables: { id: e }
203
205
  }).then((t) => {
204
206
  let n = t.data?.platformProduct?.name;
205
- n && It((t) => ({
207
+ n && Bt((t) => ({
206
208
  ...t,
207
209
  [e]: n
208
210
  }));
209
211
  }).catch(() => {});
210
212
  });
211
- }, [hn]);
212
- let gn = async () => {
213
- if (!en || Pt) return;
214
- let e = Lt.current, t = K;
215
- Ft(!0);
213
+ }, [yn]);
214
+ let bn = async () => {
215
+ if (!an || Rt) return;
216
+ let e = Vt.current, t = K;
217
+ zt(!0);
216
218
  try {
217
- let n = await Ut({
219
+ let n = await qt({
218
220
  variables: { offset: e },
219
221
  updateQuery: (e, { fetchMoreResult: t }) => {
220
222
  if (!t) return e;
@@ -227,26 +229,26 @@ function ot() {
227
229
  } };
228
230
  }
229
231
  });
230
- q.current === t && (Lt.current = e + (n.data.jobApplications?.items.length ?? _));
232
+ q.current === t && (Vt.current = e + (n.data.jobApplications?.items.length ?? _));
231
233
  } catch (e) {
232
234
  console.error("Failed to load more applications:", e), c("error");
233
235
  } finally {
234
- q.current === t && Ft(!1);
236
+ q.current === t && zt(!1);
235
237
  }
236
- }, _n = () => {
237
- L(it), At({}), B(null), V("");
238
- }, vn = (e) => {
238
+ }, xn = () => {
239
+ L(ot), Pt({}), B(null), V("");
240
+ }, Sn = (e) => {
239
241
  let t = e.target.files?.[0] ?? null;
240
242
  if (V(""), !t) {
241
243
  B(null);
242
244
  return;
243
245
  }
244
- if (t.size > tt) {
246
+ if (t.size > rt) {
245
247
  V("Resume must be 10 MB or smaller."), B(null), e.target.value = "";
246
248
  return;
247
249
  }
248
250
  let n = t.name.toLowerCase().split(".").pop() ?? "";
249
- if (!rt.has(t.type) && ![
251
+ if (!at.has(t.type) && ![
250
252
  "pdf",
251
253
  "doc",
252
254
  "docx"
@@ -255,16 +257,16 @@ function ot() {
255
257
  return;
256
258
  }
257
259
  B(t);
258
- }, yn = () => {
260
+ }, Cn = () => {
259
261
  let e = {};
260
- return I.name.trim() || (e.name = "Name is required"), I.email.trim() ? /^\S+@\S+\.\S+$/.test(I.email.trim()) || (e.email = "Enter a valid email") : e.email = "Email is required", I.source.trim() || (e.source = "Source is required"), I.jobPostingId === v && !I.position.trim() && (e.position = "Position is required when no job posting is selected"), At(e), Object.keys(e).length === 0;
261
- }, bn = async (e) => {
262
- if (e.preventDefault(), yn()) {
263
- Nt(!0);
262
+ return I.name.trim() || (e.name = "Name is required"), I.email.trim() ? /^\S+@\S+\.\S+$/.test(I.email.trim()) || (e.email = "Enter a valid email") : e.email = "Email is required", I.source.trim() || (e.source = "Source is required"), I.jobPostingId === v && !I.position.trim() && (e.position = "Position is required when no job posting is selected"), Pt(e), Object.keys(e).length === 0;
263
+ }, wn = async (e) => {
264
+ if (e.preventDefault(), Cn()) {
265
+ Lt(!0);
264
266
  try {
265
267
  let e, t, n;
266
- z && (t = await at(z), e = z.name, n = z.type || void 0);
267
- let r = I.jobPostingId !== v, i = (await Yt({
268
+ z && (t = await st(z), e = z.name, n = z.type || void 0);
269
+ let r = I.jobPostingId !== v, i = (await $t({
268
270
  variables: { input: {
269
271
  name: I.name.trim(),
270
272
  email: I.email.trim(),
@@ -281,28 +283,28 @@ function ot() {
281
283
  } },
282
284
  refetchQueries: ["GetJobApplications"]
283
285
  })).data?.createJobApplication?.id;
284
- c("success"), F(!1), _n(), i && Qe(`/support/applications/${i}${ot}`);
286
+ c("success"), F(!1), xn(), i && et(`/support/applications/${i}${ct}`);
285
287
  } catch (e) {
286
288
  console.error("Failed to create candidate:", e), c("error");
287
289
  } finally {
288
- Nt(!1);
290
+ Lt(!1);
289
291
  }
290
292
  }
291
- }, xn = ye.reduce((e, t) => (e[t] = J.filter((e) => e.status === t), e), {}), Sn = (t, r = !1) => {
292
- let i = t.jobPostingId ? cn[t.jobPostingId]?.title : void 0, ee = tn.has(t.id);
293
+ }, Tn = ye.reduce((e, t) => (e[t] = J.filter((e) => e.status === t), e), {}), En = (t, r = !1) => {
294
+ let i = t.jobPostingId ? fn[t.jobPostingId]?.title : void 0, ee = on.has(t.id);
293
295
  return /* @__PURE__ */ g("div", {
294
296
  className: `w-full bg-bg-surface border rounded-lg shadow-[var(--shadow-pop)] hover:border-border-strong hover:shadow-[var(--shadow-pop-hover)] transition-[box-shadow,border-color] duration-200 group flex items-start gap-2 ${r ? "p-3" : "p-4"} ${ee ? "border-primary" : "border-border-seam"}`,
295
297
  children: [/* @__PURE__ */ h("div", {
296
298
  className: "pt-0.5",
297
299
  children: /* @__PURE__ */ h(n, {
298
300
  checked: ee,
299
- disabled: M || U,
301
+ disabled: j || U,
300
302
  onCheckedChange: () => A((e) => Ee(e, t.id)),
301
303
  "aria-label": `Select ${t.firstName} ${t.lastName}`
302
304
  })
303
305
  }), /* @__PURE__ */ h("button", {
304
306
  type: "button",
305
- onClick: () => Qe(`/support/applications/${t.id}${ot}`),
307
+ onClick: () => et(`/support/applications/${t.id}${ct}`),
306
308
  className: "flex-1 min-w-0 text-left",
307
309
  children: /* @__PURE__ */ g("div", {
308
310
  className: `flex ${r ? "flex-col" : "items-start"} justify-between gap-3`,
@@ -339,7 +341,7 @@ function ot() {
339
341
  t.resumeFileName && /* @__PURE__ */ g(e, {
340
342
  variant: "secondary",
341
343
  className: "bg-accent-blue-subtle text-accent-blue gap-1",
342
- children: [/* @__PURE__ */ h(Re, { size: r ? 10 : 11 }), "Resume"]
344
+ children: [/* @__PURE__ */ h(Be, { size: r ? 10 : 11 }), "Resume"]
343
345
  })
344
346
  ]
345
347
  }),
@@ -360,17 +362,17 @@ function ot() {
360
362
  ]
361
363
  }), /* @__PURE__ */ h("div", {
362
364
  className: `text-text-secondary whitespace-nowrap ${r ? "text-[11px]" : "text-xs"}`,
363
- children: $e(t.createdAt)
365
+ children: tt(t.createdAt)
364
366
  })]
365
367
  })
366
368
  })]
367
369
  }, t.id);
368
370
  };
369
- return Vt && J.length === 0 ? /* @__PURE__ */ g("div", {
371
+ return Gt && J.length === 0 ? /* @__PURE__ */ g("div", {
370
372
  className: "p-6",
371
373
  children: [/* @__PURE__ */ g("div", {
372
374
  className: "flex items-center gap-3 mb-6",
373
- children: [/* @__PURE__ */ h(Ne, {
375
+ children: [/* @__PURE__ */ h(Pe, {
374
376
  size: 24,
375
377
  className: "text-text-primary"
376
378
  }), /* @__PURE__ */ h("h1", {
@@ -387,11 +389,11 @@ function ot() {
387
389
  children: "Loading applications…"
388
390
  })]
389
391
  })]
390
- }) : Ht ? /* @__PURE__ */ g("div", {
392
+ }) : Kt ? /* @__PURE__ */ g("div", {
391
393
  className: "p-6",
392
394
  children: [/* @__PURE__ */ g("div", {
393
395
  className: "flex items-center gap-3 mb-6",
394
- children: [/* @__PURE__ */ h(Ne, {
396
+ children: [/* @__PURE__ */ h(Pe, {
395
397
  size: 24,
396
398
  className: "text-text-primary"
397
399
  }), /* @__PURE__ */ h("h1", {
@@ -403,7 +405,7 @@ function ot() {
403
405
  children: [
404
406
  /* @__PURE__ */ h("div", {
405
407
  className: "p-4 rounded-2xl bg-status-error-bg-subtle text-status-error-text mb-4",
406
- children: /* @__PURE__ */ h(Me, { size: 48 })
408
+ children: /* @__PURE__ */ h(Ne, { size: 48 })
407
409
  }),
408
410
  /* @__PURE__ */ h("h3", {
409
411
  className: "text-lg font-semibold text-text-primary mb-2",
@@ -411,7 +413,7 @@ function ot() {
411
413
  }),
412
414
  /* @__PURE__ */ h("p", {
413
415
  className: "text-sm text-text-secondary",
414
- children: Ht.message
416
+ children: Kt.message
415
417
  })
416
418
  ]
417
419
  })]
@@ -423,7 +425,7 @@ function ot() {
423
425
  children: [/* @__PURE__ */ g("div", {
424
426
  className: "flex items-center gap-3",
425
427
  children: [
426
- /* @__PURE__ */ h(Ne, {
428
+ /* @__PURE__ */ h(Pe, {
427
429
  size: 24,
428
430
  className: "text-text-primary"
429
431
  }),
@@ -442,7 +444,7 @@ function ot() {
442
444
  ]
443
445
  }), /* @__PURE__ */ g(t, {
444
446
  onClick: () => F(!0),
445
- children: [/* @__PURE__ */ h(ze, { size: 18 }), "Add Candidate"]
447
+ children: [/* @__PURE__ */ h(Ve, { size: 18 }), "Add Candidate"]
446
448
  })]
447
449
  }),
448
450
  J.length > 0 && /* @__PURE__ */ g("div", {
@@ -451,12 +453,12 @@ function ot() {
451
453
  className: "flex flex-wrap items-center gap-2",
452
454
  children: [
453
455
  /* @__PURE__ */ h(n, {
454
- checked: sn ? !0 : on > 0 && "indeterminate",
455
- disabled: M || U,
456
+ checked: dn ? !0 : un > 0 && "indeterminate",
457
+ disabled: j || U,
456
458
  onCheckedChange: (e) => A((t) => Te(t, X, e === !0)),
457
459
  "aria-label": "Select all visible applications"
458
460
  }),
459
- Z > 0 ? /* @__PURE__ */ h(ke, { selection: k }) : /* @__PURE__ */ g("span", {
461
+ Z > 0 ? /* @__PURE__ */ h(Ae, { selection: k }) : /* @__PURE__ */ g("span", {
460
462
  className: "text-xs text-text-secondary",
461
463
  children: [
462
464
  "Select all ",
@@ -468,10 +470,10 @@ function ot() {
468
470
  type: "button",
469
471
  variant: "ghost",
470
472
  size: "sm",
471
- onClick: () => void un(),
472
- disabled: M || U,
473
+ onClick: () => void mn(),
474
+ disabled: j || U,
473
475
  children: [
474
- M ? /* @__PURE__ */ h(p, {
476
+ j ? /* @__PURE__ */ h(p, {
475
477
  size: 14,
476
478
  className: "animate-spin"
477
479
  }) : null,
@@ -483,22 +485,22 @@ function ot() {
483
485
  Z > 0 ? /* @__PURE__ */ h("button", {
484
486
  type: "button",
485
487
  onClick: () => {
486
- A(u()), j([]), N(null);
488
+ A(u()), St([]), M(null);
487
489
  },
488
- disabled: M,
490
+ disabled: j,
489
491
  className: "text-xs text-text-secondary underline hover:text-text-primary disabled:cursor-not-allowed disabled:opacity-50",
490
492
  children: "Clear"
491
493
  }) : null
492
494
  ]
493
- }), yt ? /* @__PURE__ */ h("p", {
495
+ }), wt ? /* @__PURE__ */ h("p", {
494
496
  className: "text-sm text-status-error-text",
495
497
  role: "alert",
496
- children: yt
498
+ children: wt
497
499
  }) : null]
498
500
  }),
499
501
  Z > 0 && /* @__PURE__ */ g("div", {
500
502
  className: "mb-4 flex flex-col justify-between gap-3 rounded-lg border border-primary/30 bg-primary/5 p-3 sm:flex-row sm:items-center",
501
- children: [/* @__PURE__ */ h("div", { children: w ? an ? /* @__PURE__ */ h("p", {
503
+ children: [/* @__PURE__ */ h("div", { children: w ? ln ? /* @__PURE__ */ h("p", {
502
504
  className: "text-xs text-text-secondary",
503
505
  children: "Bulk actions run sequential requests of no more than 100 candidates each."
504
506
  }) : /* @__PURE__ */ h("p", {
@@ -516,7 +518,7 @@ function ot() {
516
518
  disabled: !Q,
517
519
  onClick: () => void $("addRound"),
518
520
  className: "gap-2",
519
- children: [/* @__PURE__ */ h(Ue, { size: 14 }), "Add Selected to Round"]
521
+ children: [/* @__PURE__ */ h(Ge, { size: 14 }), "Add Selected to Round"]
520
522
  }),
521
523
  /* @__PURE__ */ g(t, {
522
524
  variant: "outline",
@@ -524,7 +526,7 @@ function ot() {
524
526
  disabled: !Q,
525
527
  onClick: () => void $("message"),
526
528
  className: "gap-2",
527
- children: [/* @__PURE__ */ h(Ve, { size: 14 }), "Send Message"]
529
+ children: [/* @__PURE__ */ h(Ue, { size: 14 }), "Send Message"]
528
530
  }),
529
531
  /* @__PURE__ */ g(t, {
530
532
  variant: "outline",
@@ -532,12 +534,20 @@ function ot() {
532
534
  disabled: !Q,
533
535
  onClick: () => void $("assignment"),
534
536
  className: "gap-2",
535
- children: [/* @__PURE__ */ h(He, { size: 14 }), "Assign & Email Random Take-Home"]
537
+ children: [/* @__PURE__ */ h(We, { size: 14 }), "Assign & Email Random Take-Home"]
538
+ }),
539
+ /* @__PURE__ */ g(t, {
540
+ variant: "outline",
541
+ size: "sm",
542
+ disabled: !Q,
543
+ onClick: () => void $("duplicateNotice"),
544
+ className: "gap-2",
545
+ children: [/* @__PURE__ */ h(ze, { size: 14 }), "Notify Duplicate Applicants"]
536
546
  })
537
547
  ]
538
548
  })]
539
549
  }),
540
- /* @__PURE__ */ h(Je, {
550
+ /* @__PURE__ */ h(Xe, {
541
551
  className: "mb-6",
542
552
  children: "Candidates who apply through your careers pages show up here. Review resumes and move applicants through your hiring pipeline — from new submission to screening, interview and hire — so promising people get a timely response. Open an application to see the full profile and resume."
543
553
  }),
@@ -546,7 +556,7 @@ function ot() {
546
556
  children: [
547
557
  /* @__PURE__ */ g("div", {
548
558
  className: "relative flex-1",
549
- children: [/* @__PURE__ */ h(Be, {
559
+ children: [/* @__PURE__ */ h(He, {
550
560
  size: 18,
551
561
  className: "absolute left-3 top-1/2 -translate-y-1/2 text-text-secondary"
552
562
  }), /* @__PURE__ */ h(a, {
@@ -554,45 +564,45 @@ function ot() {
554
564
  "aria-label": "Search applications",
555
565
  placeholder: "Search by name, email, or position...",
556
566
  value: y,
557
- onChange: (e) => st(e.target.value),
567
+ onChange: (e) => lt(e.target.value),
558
568
  className: "pl-10"
559
569
  })]
560
570
  }),
561
571
  /* @__PURE__ */ g("div", {
562
572
  className: "flex items-center gap-1 p-1 rounded-lg border bg-bg-sunken/50",
563
573
  children: [/* @__PURE__ */ h(t, {
564
- variant: O === "list" ? "secondary" : "ghost",
574
+ variant: yt === "list" ? "secondary" : "ghost",
565
575
  size: "sm",
566
- onClick: () => gt("list"),
576
+ onClick: () => bt("list"),
567
577
  className: "px-3",
568
578
  "aria-label": "Show applications as a list",
569
- children: /* @__PURE__ */ h(Le, { size: 18 })
579
+ children: /* @__PURE__ */ h(Re, { size: 18 })
570
580
  }), /* @__PURE__ */ h(t, {
571
- variant: O === "kanban" ? "secondary" : "ghost",
581
+ variant: yt === "kanban" ? "secondary" : "ghost",
572
582
  size: "sm",
573
- onClick: () => gt("kanban"),
583
+ onClick: () => bt("kanban"),
574
584
  className: "px-3",
575
585
  "aria-label": "Show applications as a kanban board",
576
- children: /* @__PURE__ */ h(Ie, { size: 18 })
586
+ children: /* @__PURE__ */ h(Le, { size: 18 })
577
587
  })]
578
588
  }),
579
589
  /* @__PURE__ */ g(t, {
580
- variant: D ? "secondary" : "outline",
590
+ variant: O ? "secondary" : "outline",
581
591
  size: "sm",
582
- onClick: () => ht(!D),
592
+ onClick: () => vt(!O),
583
593
  className: "gap-2",
584
594
  children: [
585
- /* @__PURE__ */ h(Fe, { size: 16 }),
595
+ /* @__PURE__ */ h(Ie, { size: 16 }),
586
596
  "Filters",
587
- /* @__PURE__ */ h(Pe, {
597
+ /* @__PURE__ */ h(Fe, {
588
598
  size: 14,
589
- className: D ? "rotate-180 transition-transform" : "transition-transform"
599
+ className: O ? "rotate-180 transition-transform" : "transition-transform"
590
600
  })
591
601
  ]
592
602
  })
593
603
  ]
594
604
  }),
595
- D && /* @__PURE__ */ g("div", {
605
+ O && /* @__PURE__ */ g("div", {
596
606
  className: "mb-6 p-4 bg-bg-surface border border-border-seam rounded-lg space-y-4",
597
607
  children: [
598
608
  /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ g("p", {
@@ -607,14 +617,14 @@ function ot() {
607
617
  let t = x.has(e);
608
618
  return /* @__PURE__ */ h("button", {
609
619
  type: "button",
610
- onClick: () => lt((t) => Ze(t, e)),
620
+ onClick: () => dt((t) => $e(t, e)),
611
621
  "aria-pressed": t,
612
622
  className: `px-2.5 py-1 rounded-full text-xs font-medium border transition-colors ${t ? `${l[e]} border-transparent` : "bg-bg-surface text-text-secondary border-border-seam hover:border-border-strong"}`,
613
623
  children: ve[e]
614
624
  }, e);
615
625
  }), x.size > 0 && /* @__PURE__ */ h("button", {
616
626
  type: "button",
617
- onClick: () => lt(/* @__PURE__ */ new Set()),
627
+ onClick: () => dt(/* @__PURE__ */ new Set()),
618
628
  className: "px-2.5 py-1 rounded-full text-xs font-medium text-text-secondary hover:text-text-primary underline",
619
629
  children: "Clear"
620
630
  })]
@@ -635,7 +645,7 @@ function ot() {
635
645
  let t = S.has(e), n = ge[e], r = E === s.Missing;
636
646
  return /* @__PURE__ */ h("button", {
637
647
  type: "button",
638
- onClick: () => ut((t) => Ze(t, e)),
648
+ onClick: () => ft((t) => $e(t, e)),
639
649
  "aria-pressed": t,
640
650
  disabled: r,
641
651
  className: `px-2.5 py-1 rounded-full text-xs font-medium border transition-colors disabled:cursor-not-allowed disabled:opacity-50 ${t ? `${n.className} border-transparent` : "bg-bg-surface text-text-secondary border-border-seam hover:border-border-strong"}`,
@@ -643,7 +653,7 @@ function ot() {
643
653
  }, e);
644
654
  }), S.size > 0 && /* @__PURE__ */ h("button", {
645
655
  type: "button",
646
- onClick: () => ut(/* @__PURE__ */ new Set()),
656
+ onClick: () => ft(/* @__PURE__ */ new Set()),
647
657
  className: "px-2.5 py-1 rounded-full text-xs font-medium text-text-secondary hover:text-text-primary underline",
648
658
  children: "Clear"
649
659
  })]
@@ -658,12 +668,12 @@ function ot() {
658
668
  }), /* @__PURE__ */ g("select", {
659
669
  id: "job-app-product-filter",
660
670
  value: C,
661
- onChange: (e) => dt(e.target.value),
671
+ onChange: (e) => pt(e.target.value),
662
672
  className: "w-full px-3 py-2 bg-surface border border-default rounded-lg text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-accent/50",
663
673
  children: [/* @__PURE__ */ h("option", {
664
674
  value: "",
665
675
  children: "All products"
666
- }), mn.map((e) => /* @__PURE__ */ h("option", {
676
+ }), vn.map((e) => /* @__PURE__ */ h("option", {
667
677
  value: e,
668
678
  children: H[e] || e
669
679
  }, e))]
@@ -675,13 +685,13 @@ function ot() {
675
685
  }), /* @__PURE__ */ g("select", {
676
686
  id: "job-app-posting-filter",
677
687
  value: w,
678
- onChange: (e) => dn(e.target.value),
679
- disabled: Kt,
688
+ onChange: (e) => hn(e.target.value),
689
+ disabled: Xt,
680
690
  className: "w-full px-3 py-2 bg-surface border border-default rounded-lg text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-accent/50 disabled:opacity-50",
681
691
  children: [/* @__PURE__ */ h("option", {
682
692
  value: "",
683
693
  children: "All postings"
684
- }), (Gt?.jobPostings?.items ?? []).map((e) => /* @__PURE__ */ h("option", {
694
+ }), (Yt?.jobPostings?.items ?? []).map((e) => /* @__PURE__ */ h("option", {
685
695
  value: e.id,
686
696
  children: e.title
687
697
  }, e.id))]
@@ -694,14 +704,14 @@ function ot() {
694
704
  id: "job-app-round-config-filter",
695
705
  value: T,
696
706
  onChange: (e) => {
697
- pt(e.target.value), mt("");
707
+ ht(e.target.value), gt("");
698
708
  },
699
- disabled: !w || Jt,
709
+ disabled: !w || Qt,
700
710
  className: "w-full px-3 py-2 bg-surface border border-default rounded-lg text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-accent/50 disabled:opacity-50",
701
711
  children: [/* @__PURE__ */ h("option", {
702
712
  value: "",
703
713
  children: "Any configured round"
704
- }), Zt.map((e) => /* @__PURE__ */ g("option", {
714
+ }), tn.map((e) => /* @__PURE__ */ g("option", {
705
715
  value: e.id,
706
716
  children: [
707
717
  "Round ",
@@ -718,7 +728,7 @@ function ot() {
718
728
  }), /* @__PURE__ */ g("select", {
719
729
  id: "job-app-configured-round-state-filter",
720
730
  value: E,
721
- onChange: (e) => fn(Object.values(s).find((t) => t === e.target.value) ?? ""),
731
+ onChange: (e) => gn(Object.values(s).find((t) => t === e.target.value) ?? ""),
722
732
  disabled: !T,
723
733
  className: "w-full px-3 py-2 bg-surface border border-default rounded-lg text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-accent/50 disabled:opacity-50",
724
734
  children: [
@@ -739,9 +749,31 @@ function ot() {
739
749
  children: "Assignment already attached"
740
750
  })
741
751
  ]
742
- })] })
752
+ })] }),
753
+ /* @__PURE__ */ h("div", {
754
+ className: "flex items-end",
755
+ children: /* @__PURE__ */ g("label", {
756
+ htmlFor: "job-app-duplicate-email-filter",
757
+ className: `flex items-center gap-2 rounded-lg border border-default bg-surface px-3 py-2 text-sm ${w ? "cursor-pointer text-text-primary" : "cursor-not-allowed text-text-secondary opacity-50"}`,
758
+ children: [/* @__PURE__ */ h(n, {
759
+ id: "job-app-duplicate-email-filter",
760
+ checked: D,
761
+ onCheckedChange: (e) => _t(e === !0),
762
+ disabled: !w
763
+ }), "Duplicate email only"]
764
+ })
765
+ })
743
766
  ]
744
767
  }),
768
+ D && w ? /* @__PURE__ */ g("p", {
769
+ className: "text-xs text-text-secondary",
770
+ children: [
771
+ "Showing only candidates whose email matches another application for this same posting. Select the ones you want to reach and use ",
772
+ /* @__PURE__ */ h("strong", { children: "Notify Duplicate Applicants" }),
773
+ " ",
774
+ "— one notice goes out per email, not per application."
775
+ ]
776
+ }) : null,
745
777
  T && E === s.Unassigned ? /* @__PURE__ */ g("p", {
746
778
  className: "text-xs text-text-secondary",
747
779
  children: [
@@ -754,17 +786,17 @@ function ot() {
754
786
  }) : null
755
787
  ]
756
788
  }),
757
- J.length === 0 ? /* @__PURE__ */ h(qe, {
789
+ J.length === 0 ? /* @__PURE__ */ h(Ye, {
758
790
  illustration: "empty-people",
759
791
  title: "No applications yet",
760
792
  description: "Job applications from your careers pages will appear here."
761
- }) : /* @__PURE__ */ g(m, { children: [O === "list" ? /* @__PURE__ */ h("div", {
793
+ }) : /* @__PURE__ */ g(m, { children: [yt === "list" ? /* @__PURE__ */ h("div", {
762
794
  className: "space-y-3",
763
- children: J.map((e) => Sn(e))
795
+ children: J.map((e) => En(e))
764
796
  }) : /* @__PURE__ */ h("div", {
765
797
  className: "flex gap-4 overflow-x-auto pb-4",
766
798
  children: ye.map((t) => {
767
- let n = xn[t] ?? [];
799
+ let n = Tn[t] ?? [];
768
800
  return /* @__PURE__ */ g("div", {
769
801
  className: "flex flex-col gap-3 w-[280px] flex-shrink-0 max-h-[calc(100vh-280px)]",
770
802
  children: [/* @__PURE__ */ g("div", {
@@ -785,28 +817,28 @@ function ot() {
785
817
  className: "text-xs text-text-secondary",
786
818
  children: "No applications"
787
819
  })
788
- }), n.map((e) => Sn(e, !0))]
820
+ }), n.map((e) => En(e, !0))]
789
821
  })]
790
822
  }, t);
791
823
  })
792
- }), en && /* @__PURE__ */ h("div", {
824
+ }), an && /* @__PURE__ */ h("div", {
793
825
  className: "flex justify-center mt-6",
794
826
  children: /* @__PURE__ */ g(t, {
795
827
  variant: "outline",
796
828
  size: "sm",
797
- onClick: () => void gn(),
798
- disabled: Pt,
829
+ onClick: () => void bn(),
830
+ disabled: Rt,
799
831
  className: "gap-2",
800
- children: [Pt ? /* @__PURE__ */ h(p, {
832
+ children: [Rt ? /* @__PURE__ */ h(p, {
801
833
  size: 14,
802
834
  className: "animate-spin"
803
835
  }) : null, "Load more"]
804
836
  })
805
837
  })] }),
806
838
  /* @__PURE__ */ h(r, {
807
- open: kt,
839
+ open: Nt,
808
840
  onOpenChange: (e) => {
809
- F(e), e || _n();
841
+ F(e), e || xn();
810
842
  },
811
843
  children: /* @__PURE__ */ g(i, {
812
844
  className: "sm:max-w-2xl max-h-[90vh] overflow-y-auto",
@@ -814,7 +846,7 @@ function ot() {
814
846
  /* @__PURE__ */ g(ne, { children: [/* @__PURE__ */ h(re, { children: "Add Candidate" }), /* @__PURE__ */ h(ee, { children: "Manually add a candidate to the hiring pipeline. Resumes are optional and can be attached as PDF, DOC, or DOCX (max 10 MB)." })] }),
815
847
  /* @__PURE__ */ g("form", {
816
848
  id: "add-candidate-form",
817
- onSubmit: bn,
849
+ onSubmit: wn,
818
850
  className: "space-y-4",
819
851
  children: [
820
852
  /* @__PURE__ */ g("div", {
@@ -911,7 +943,7 @@ function ot() {
911
943
  }),
912
944
  /* @__PURE__ */ h("datalist", {
913
945
  id: "candidate-source-suggestions",
914
- children: et.map((e) => /* @__PURE__ */ h("option", { value: e }, e))
946
+ children: nt.map((e) => /* @__PURE__ */ h("option", { value: e }, e))
915
947
  }),
916
948
  R.source && /* @__PURE__ */ h("p", {
917
949
  className: "text-xs text-status-error-text",
@@ -935,14 +967,14 @@ function ot() {
935
967
  ...t,
936
968
  jobPostingId: e
937
969
  })),
938
- disabled: Kt,
970
+ disabled: Xt,
939
971
  children: [/* @__PURE__ */ h(se, {
940
972
  id: "candidate-job-posting",
941
973
  children: /* @__PURE__ */ h(ce, { placeholder: "Select an open posting" })
942
974
  }), /* @__PURE__ */ g(ae, { children: [/* @__PURE__ */ h(oe, {
943
975
  value: v,
944
976
  children: "No posting (manual entry)"
945
- }), Xt.map((e) => /* @__PURE__ */ h(oe, {
977
+ }), en.map((e) => /* @__PURE__ */ h(oe, {
946
978
  value: e.id,
947
979
  children: e.title
948
980
  }, e.id))] })]
@@ -1042,20 +1074,20 @@ function ot() {
1042
1074
  /* @__PURE__ */ h(a, {
1043
1075
  id: "candidate-resume",
1044
1076
  type: "file",
1045
- accept: nt,
1046
- onChange: vn
1077
+ accept: it,
1078
+ onChange: Sn
1047
1079
  }),
1048
1080
  /* @__PURE__ */ g("p", {
1049
1081
  className: "text-xs text-text-secondary flex items-center gap-1",
1050
1082
  children: [
1051
- /* @__PURE__ */ h(Re, { size: 11 }),
1083
+ /* @__PURE__ */ h(Be, { size: 11 }),
1052
1084
  "PDF, DOC, or DOCX up to 10 MB.",
1053
1085
  z ? ` Selected: ${z.name}` : ""
1054
1086
  ]
1055
1087
  }),
1056
- jt && /* @__PURE__ */ h("p", {
1088
+ Ft && /* @__PURE__ */ h("p", {
1057
1089
  className: "text-xs text-status-error-text",
1058
- children: jt
1090
+ children: Ft
1059
1091
  })
1060
1092
  ]
1061
1093
  })
@@ -1065,18 +1097,18 @@ function ot() {
1065
1097
  type: "button",
1066
1098
  variant: "outline",
1067
1099
  onClick: () => {
1068
- F(!1), _n();
1100
+ F(!1), xn();
1069
1101
  },
1070
- disabled: Mt,
1102
+ disabled: It,
1071
1103
  children: "Cancel"
1072
1104
  }), /* @__PURE__ */ h(t, {
1073
1105
  type: "submit",
1074
1106
  form: "add-candidate-form",
1075
- disabled: Mt,
1076
- children: Mt ? /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(p, {
1107
+ disabled: It,
1108
+ children: It ? /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(p, {
1077
1109
  size: 16,
1078
1110
  className: "animate-spin mr-2"
1079
- }), "Adding…"] }) : /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(Ue, {
1111
+ }), "Adding…"] }) : /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(Ge, {
1080
1112
  size: 16,
1081
1113
  className: "mr-2"
1082
1114
  }), "Add Candidate"] })
@@ -1084,30 +1116,39 @@ function ot() {
1084
1116
  ]
1085
1117
  })
1086
1118
  }),
1087
- P === "message" || P === "assignment" ? /* @__PURE__ */ h(Oe, {
1088
- mode: P,
1119
+ N === "message" || N === "assignment" ? /* @__PURE__ */ h(Oe, {
1120
+ mode: N,
1089
1121
  open: !0,
1090
- onClose: pn,
1122
+ onClose: _n,
1091
1123
  onOpenAddRound: () => void $("addRound"),
1092
- targets: xt,
1093
- selection: Ct,
1124
+ targets: Et,
1125
+ selection: Ot,
1126
+ jobPostingId: w,
1127
+ previewLoading: P,
1128
+ previewError: jt
1129
+ }) : null,
1130
+ N === "addRound" ? /* @__PURE__ */ h(De, {
1131
+ open: !0,
1132
+ onClose: _n,
1133
+ targets: Et,
1134
+ selection: Ot,
1094
1135
  jobPostingId: w,
1095
- previewLoading: Tt,
1096
- previewError: Dt
1136
+ previewLoading: P,
1137
+ previewError: jt
1097
1138
  }) : null,
1098
- P === "addRound" ? /* @__PURE__ */ h(De, {
1139
+ N === "duplicateNotice" ? /* @__PURE__ */ h(ke, {
1099
1140
  open: !0,
1100
- onClose: pn,
1101
- targets: xt,
1102
- selection: Ct,
1141
+ onClose: _n,
1142
+ targets: Et,
1143
+ selection: Ot,
1103
1144
  jobPostingId: w,
1104
- previewLoading: Tt,
1105
- previewError: Dt
1145
+ previewLoading: P,
1146
+ previewError: jt
1106
1147
  }) : null
1107
1148
  ]
1108
1149
  });
1109
1150
  }
1110
1151
  //#endregion
1111
- export { ot as JobApplicationsPage };
1152
+ export { ct as JobApplicationsPage };
1112
1153
 
1113
1154
  //# sourceMappingURL=JobApplicationsPage.js.map