@burdenoff/microfe-support 2026.625.2 → 2026.715.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/dist/generated/global-operations.d.ts +2517 -0
  2. package/dist/generated/global-types.d.ts +22913 -0
  3. package/dist/generated/wspace-operations.d.ts +1 -0
  4. package/dist/generated/wspace-types.d.ts +57850 -0
  5. package/dist/index.d.ts +5 -0
  6. package/dist/support/SupportAdminRoot.d.ts +20 -0
  7. package/dist/support/SupportAdminRoutes.d.ts +13 -0
  8. package/dist/support/SupportUserRoot.d.ts +17 -0
  9. package/dist/support/SupportUserRoutes.d.ts +11 -0
  10. package/dist/support/components/NotificationToast.d.ts +17 -0
  11. package/dist/support/components/PageLayout.d.ts +71 -0
  12. package/dist/support/components/RouteHelpers.d.ts +9 -0
  13. package/dist/support/components/analytics/CategoryBreakdown.d.ts +9 -0
  14. package/dist/support/components/analytics/MetricCard.d.ts +10 -0
  15. package/dist/support/components/analytics/PriorityBreakdown.d.ts +9 -0
  16. package/dist/support/components/analytics/SLAReport.d.ts +23 -0
  17. package/dist/support/components/analytics/SatisfactionDistribution.d.ts +23 -0
  18. package/dist/support/components/analytics/TopAgents.d.ts +19 -0
  19. package/dist/support/components/analytics/TrendChart.d.ts +15 -0
  20. package/dist/support/components/kb/ArticleForm.d.ts +25 -0
  21. package/dist/support/components/settings/CannedResponsesSettings.d.ts +21 -0
  22. package/dist/support/components/settings/SLAPoliciesSettings.d.ts +18 -0
  23. package/dist/support/components/settings/TicketCategoriesSettings.d.ts +20 -0
  24. package/dist/support/components/tickets/AttachmentList.d.ts +7 -0
  25. package/dist/support/components/tickets/MarkdownContent.d.ts +7 -0
  26. package/dist/support/components/tickets/MessageComposer.d.ts +22 -0
  27. package/dist/support/components/tickets/MessageThread.d.ts +12 -0
  28. package/dist/support/components/tickets/TicketDetailHeader.d.ts +16 -0
  29. package/dist/support/components/tickets/TicketHeader.d.ts +9 -0
  30. package/dist/support/components/tickets/TicketSidebar.d.ts +7 -0
  31. package/dist/support/components/ui.d.ts +5 -0
  32. package/dist/support/components/ui.js +2 -2
  33. package/dist/support/constants.d.ts +20 -0
  34. package/dist/support/events/rybbit.d.ts +13 -0
  35. package/dist/support/hooks/index.d.ts +5 -0
  36. package/dist/support/hooks/useAnalyticsOperations.d.ts +51 -0
  37. package/dist/support/hooks/useAttachmentsFailedToast.d.ts +2 -0
  38. package/dist/support/hooks/useChatOperations.d.ts +27 -0
  39. package/dist/support/hooks/useKnowledgeBaseOperations.d.ts +55 -0
  40. package/dist/support/hooks/useNotification.d.ts +20 -0
  41. package/dist/support/hooks/useRegisterFooter.d.ts +6 -0
  42. package/dist/support/hooks/useSettingsOperations.d.ts +47 -0
  43. package/dist/support/hooks/useSupportAttachments.d.ts +10 -0
  44. package/dist/support/hooks/useTicketListOperations.d.ts +31 -0
  45. package/dist/support/hooks/useTicketOperations.d.ts +39 -0
  46. package/dist/support/index.d.ts +44 -0
  47. package/dist/support/pages/AnalyticsPage.d.ts +1 -0
  48. package/dist/support/pages/AnalyticsPage.js +144 -113
  49. package/dist/support/pages/AnalyticsPage.js.map +1 -1
  50. package/dist/support/pages/ArticleDetailAdminPage.d.ts +7 -0
  51. package/dist/support/pages/ArticleDetailAdminPage.js +150 -113
  52. package/dist/support/pages/ArticleDetailAdminPage.js.map +1 -1
  53. package/dist/support/pages/ArticleDetailUserPage.d.ts +7 -0
  54. package/dist/support/pages/ArticleDetailUserPage.js +90 -83
  55. package/dist/support/pages/ArticleDetailUserPage.js.map +1 -1
  56. package/dist/support/pages/ContactInquiriesPage.d.ts +1 -0
  57. package/dist/support/pages/ContactInquiriesPage.js +48 -44
  58. package/dist/support/pages/ContactInquiriesPage.js.map +1 -1
  59. package/dist/support/pages/ContactInquiryDetailPage.d.ts +1 -0
  60. package/dist/support/pages/ContactInquiryDetailPage.js +225 -205
  61. package/dist/support/pages/ContactInquiryDetailPage.js.map +1 -1
  62. package/dist/support/pages/CreateArticlePage.d.ts +1 -0
  63. package/dist/support/pages/CreateArticlePage.js +50 -46
  64. package/dist/support/pages/CreateArticlePage.js.map +1 -1
  65. package/dist/support/pages/CreateTicketPage.d.ts +1 -0
  66. package/dist/support/pages/CreateTicketPage.js +122 -116
  67. package/dist/support/pages/CreateTicketPage.js.map +1 -1
  68. package/dist/support/pages/EditArticlePage.d.ts +1 -0
  69. package/dist/support/pages/EditArticlePage.js +76 -80
  70. package/dist/support/pages/EditArticlePage.js.map +1 -1
  71. package/dist/support/pages/JobApplicationDetailPage.d.ts +1 -0
  72. package/dist/support/pages/JobApplicationDetailPage.js +292 -269
  73. package/dist/support/pages/JobApplicationDetailPage.js.map +1 -1
  74. package/dist/support/pages/JobApplicationsPage.d.ts +1 -0
  75. package/dist/support/pages/JobApplicationsPage.js +50 -46
  76. package/dist/support/pages/JobApplicationsPage.js.map +1 -1
  77. package/dist/support/pages/KnowledgeBaseAdminPage.d.ts +7 -0
  78. package/dist/support/pages/KnowledgeBaseAdminPage.js +84 -81
  79. package/dist/support/pages/KnowledgeBaseAdminPage.js.map +1 -1
  80. package/dist/support/pages/KnowledgeBaseUserPage.d.ts +8 -0
  81. package/dist/support/pages/KnowledgeBaseUserPage.js +76 -75
  82. package/dist/support/pages/KnowledgeBaseUserPage.js.map +1 -1
  83. package/dist/support/pages/SettingsPage.d.ts +1 -0
  84. package/dist/support/pages/SettingsPage.js +215 -182
  85. package/dist/support/pages/SettingsPage.js.map +1 -1
  86. package/dist/support/pages/TicketDetailAdminPage.d.ts +8 -0
  87. package/dist/support/pages/TicketDetailAdminPage.js +158 -128
  88. package/dist/support/pages/TicketDetailAdminPage.js.map +1 -1
  89. package/dist/support/pages/TicketDetailUserPage.d.ts +8 -0
  90. package/dist/support/pages/TicketDetailUserPage.js +174 -141
  91. package/dist/support/pages/TicketDetailUserPage.js.map +1 -1
  92. package/dist/support/pages/TicketListPage.d.ts +11 -0
  93. package/dist/support/pages/TicketListPage.js +171 -170
  94. package/dist/support/pages/TicketListPage.js.map +1 -1
  95. package/dist/support/providers/SupportProvider.d.ts +16 -0
  96. package/dist/support/store/supportStore.d.ts +66 -0
  97. package/dist/support/types/index.d.ts +160 -0
  98. package/dist/support/utils/attachments.d.ts +27 -0
  99. package/dist/support/utils/categoryColors.d.ts +10 -0
  100. package/dist/support/utils/cn.d.ts +6 -0
  101. package/dist/support/utils/context.d.ts +2 -0
  102. package/dist/support/utils/errors.d.ts +2 -0
  103. package/dist/support/utils/i18n.d.ts +4 -0
  104. package/dist/support/utils/index.d.ts +57 -0
  105. package/dist/support/utils/markdown.d.ts +2 -0
  106. package/dist/support/utils/supportFiles.d.ts +15 -0
  107. package/dist/support/utils/ticketFilters.d.ts +6 -0
  108. package/dist/support/utils/uiTokens.d.ts +7 -0
  109. package/dist/utils/nativeBridge.d.ts +2 -0
  110. package/package.json +4 -4
@@ -1,22 +1,23 @@
1
1
  import { useGetJobApplicationQuery as e, useGetJobApplicationResumeUrlLazyQuery as t, useReplyToJobApplicationMutation as n, useUpdateJobApplicationStatusMutation as r } from "../../generated/global-operations.js";
2
2
  import { nativeCopyText as i, nativeImpact as ee } from "../../utils/nativeBridge.js";
3
3
  import { useEffect as te, useState as a } from "react";
4
- import { AlertCircle as o, Archive as s, ArrowLeft as c, Briefcase as ne, Building2 as l, Calendar as re, CheckCircle as u, Clock as ie, Copy as ae, Download as d, ExternalLink as f, Eye as p, FileText as m, Globe as oe, Inbox as h, Link2 as se, Linkedin as ce, Loader2 as g, Mail as _, Package as le, Phone as ue, Send as v, Star as y, User as b, Users as x, XCircle as S } from "lucide-react";
5
- import { useLocation as C, useNavigate as de, useParams as fe } from "react-router-dom";
6
- import { graphqlFetch as pe } from "@burdenoff/fe-libs/shared/graphql/fetch";
7
- import { Fragment as me, jsx as w, jsxs as T } from "react/jsx-runtime";
4
+ import { AlertCircle as ne, Archive as o, ArrowLeft as s, Briefcase as re, Building2 as c, Calendar as ie, CheckCircle as l, Clock as ae, Copy as u, Download as oe, ExternalLink as se, Eye as d, FileText as f, Globe as ce, Inbox as p, Link2 as le, Linkedin as m, Loader2 as h, Mail as g, Package as _, Phone as ue, Send as v, Star as y, User as b, Users as x, XCircle as S } from "lucide-react";
5
+ import { useLocation as de, useNavigate as fe, useParams as pe } from "react-router-dom";
6
+ import { graphqlFetch as me } from "@burdenoff/fe-libs/shared/graphql/fetch";
7
+ import { Fragment as he, jsx as C, jsxs as w } from "react/jsx-runtime";
8
+ import { EmphasisPanel as ge, IllustratedEmptyState as _e, NextSteps as ve, PagePurpose as ye } from "@burdenoff/fe-libs/ui";
8
9
  //#region src/support/pages/JobApplicationDetailPage.tsx
9
- var E = {
10
+ var T = {
10
11
  NEW: {
11
12
  label: "New",
12
13
  color: "text-accent-blue",
13
- icon: h,
14
+ icon: p,
14
15
  bg: "bg-status-info-bg-subtle border-border-subtle"
15
16
  },
16
17
  SCREENING: {
17
18
  label: "Screening",
18
19
  color: "text-status-warning-text",
19
- icon: p,
20
+ icon: d,
20
21
  bg: "bg-status-warning-bg-subtle border-border-subtle"
21
22
  },
22
23
  SHORTLISTED: {
@@ -34,7 +35,7 @@ var E = {
34
35
  HIRED: {
35
36
  label: "Hired",
36
37
  color: "text-status-success-text",
37
- icon: u,
38
+ icon: l,
38
39
  bg: "bg-status-success-bg-subtle border-border-subtle"
39
40
  },
40
41
  REJECTED: {
@@ -46,11 +47,11 @@ var E = {
46
47
  ARCHIVED: {
47
48
  label: "Archived",
48
49
  color: "text-text-secondary",
49
- icon: s,
50
+ icon: o,
50
51
  bg: "bg-bg-canvas border-border-subtle"
51
52
  }
52
53
  };
53
- function D(e) {
54
+ function E(e) {
54
55
  return new Date(e).toLocaleDateString("en-US", {
55
56
  weekday: "short",
56
57
  month: "short",
@@ -60,18 +61,18 @@ function D(e) {
60
61
  minute: "2-digit"
61
62
  });
62
63
  }
63
- function he(e) {
64
+ function be(e) {
64
65
  let t = Date.now() - new Date(e).getTime(), n = Math.floor(t / 6e4);
65
66
  if (n < 60) return `${n}m ago`;
66
67
  let r = Math.floor(n / 60);
67
68
  if (r < 24) return `${r}h ago`;
68
69
  let i = Math.floor(r / 24);
69
- return i < 30 ? `${i}d ago` : D(e);
70
+ return i < 30 ? `${i}d ago` : E(e);
70
71
  }
71
- function ge(e) {
72
+ function xe(e) {
72
73
  return !e || e <= 0 ? null : e < 1024 ? `${e} B` : e < 1024 * 1024 ? `${(e / 1024).toFixed(0)} KB` : `${(e / (1024 * 1024)).toFixed(1)} MB`;
73
74
  }
74
- function O(e) {
75
+ function D(e) {
75
76
  if (!e) return null;
76
77
  try {
77
78
  let t = new URL(e);
@@ -80,163 +81,183 @@ function O(e) {
80
81
  return null;
81
82
  }
82
83
  }
83
- function k() {
84
- let { id: p } = fe(), h = de(), y = C().search, [x, S] = a(!1), [k, A] = a(!1), [j, M] = a(!1), [N, P] = a(!1), [F, I] = a(""), [_e, L] = a(!1), [R, z] = a(null), { data: B, loading: ve, error: V } = e({
85
- variables: { id: p },
86
- skip: !p
87
- }), H = B?.jobApplication?.productId ?? null;
84
+ function O() {
85
+ let { id: d } = pe(), p = fe(), y = de().search, [x, S] = a(!1), [O, k] = a(!1), [A, j] = a(!1), [M, N] = a(!1), [P, F] = a(""), [Se, I] = a(!1), [L, R] = a(null), { data: z, loading: Ce, error: B } = e({
86
+ variables: { id: d },
87
+ skip: !d
88
+ }), V = z?.jobApplication?.productId ?? null;
88
89
  te(() => {
89
- if (!H) {
90
- z(null);
90
+ if (!V) {
91
+ R(null);
91
92
  return;
92
93
  }
93
94
  let e = !1;
94
- return pe({
95
+ return me({
95
96
  gateway: "global",
96
97
  query: "query($id: ID!) { platformProduct(id: $id) { name } }",
97
- variables: { id: H }
98
+ variables: { id: V }
98
99
  }).then((t) => {
99
100
  if (e) return;
100
101
  let n = t.data?.platformProduct?.name;
101
- n && z(n);
102
+ n && R(n);
102
103
  }).catch(() => {}), () => {
103
104
  e = !0;
104
105
  };
105
- }, [H]);
106
- let [ye, { loading: U }] = r({ refetchQueries: ["GetJobApplication", "GetJobApplications"] }), [be, { loading: W }] = t({ fetchPolicy: "no-cache" }), [xe, { loading: G }] = n(), K = B?.jobApplication, Se = async () => {
107
- if (!(!F.trim() || !p)) try {
108
- (await xe({ variables: {
109
- id: p,
110
- message: F.trim()
111
- } })).data?.replyToJobApplication.success && (L(!0), I(""), setTimeout(() => L(!1), 3e3));
106
+ }, [V]);
107
+ let [we, { loading: H }] = r({ refetchQueries: ["GetJobApplication", "GetJobApplications"] }), [Te, { loading: U }] = t({ fetchPolicy: "no-cache" }), [Ee, { loading: W }] = n(), G = z?.jobApplication, De = async () => {
108
+ if (!(!P.trim() || !d)) try {
109
+ (await Ee({ variables: {
110
+ id: d,
111
+ message: P.trim()
112
+ } })).data?.replyToJobApplication.success && (I(!0), F(""), setTimeout(() => I(!1), 3e3));
112
113
  } catch (e) {
113
114
  console.error("Failed to send reply:", e);
114
115
  }
115
- }, q = async (e) => {
116
- if (p) {
117
- A(!1);
116
+ }, K = async (e) => {
117
+ if (d) {
118
+ k(!1);
118
119
  try {
119
- await ye({ variables: {
120
- id: p,
120
+ await we({ variables: {
121
+ id: d,
121
122
  input: { status: e }
122
123
  } }), S(!0), setTimeout(() => S(!1), 3e3);
123
124
  } catch (e) {
124
- console.error("Failed to update status:", e), A(!0), setTimeout(() => A(!1), 4e3);
125
+ console.error("Failed to update status:", e), k(!0), setTimeout(() => k(!1), 4e3);
125
126
  }
126
127
  }
127
- }, Ce = async () => {
128
- if (p) {
129
- P(!1);
128
+ }, q = async () => {
129
+ if (d) {
130
+ N(!1);
130
131
  try {
131
- let e = (await be({ variables: { id: p } })).data?.jobApplicationResumeUrl;
132
- e ? window.open(e, "_blank", "noopener,noreferrer") : P(!0);
132
+ let e = (await Te({ variables: { id: d } })).data?.jobApplicationResumeUrl;
133
+ e ? window.open(e, "_blank", "noopener,noreferrer") : N(!0);
133
134
  } catch (e) {
134
- console.error("Failed to get resume URL:", e), P(!0);
135
+ console.error("Failed to get resume URL:", e), N(!0);
135
136
  }
136
137
  }
137
- }, we = async () => {
138
- K?.email && (ee("light"), await i(K.email), M(!0), setTimeout(() => M(!1), 2e3));
138
+ }, Oe = async () => {
139
+ G?.email && (ee("light"), await i(G.email), j(!0), setTimeout(() => j(!1), 2e3));
139
140
  };
140
- if (ve) return /* @__PURE__ */ w("div", {
141
+ if (Ce) return /* @__PURE__ */ C("div", {
141
142
  className: "min-h-full flex items-center justify-center py-20",
142
- children: /* @__PURE__ */ T("div", {
143
+ children: /* @__PURE__ */ w("div", {
143
144
  className: "text-center",
144
- children: [/* @__PURE__ */ w(g, {
145
+ children: [/* @__PURE__ */ C(h, {
145
146
  size: 36,
146
147
  className: "animate-spin text-[var(--color-text-secondary)] mx-auto mb-3"
147
- }), /* @__PURE__ */ w("p", {
148
+ }), /* @__PURE__ */ C("p", {
148
149
  className: "text-sm text-[var(--color-text-secondary)]",
149
150
  children: "Loading application details…"
150
151
  })]
151
152
  })
152
153
  });
153
- if (V || !K) return /* @__PURE__ */ w("div", {
154
- className: "min-h-full flex items-center justify-center py-20",
155
- children: /* @__PURE__ */ T("div", {
156
- className: "text-center max-w-sm",
157
- children: [
158
- /* @__PURE__ */ w("div", {
159
- className: "size-16 mx-auto mb-4 rounded-2xl bg-status-error-bg-subtle flex items-center justify-center",
160
- children: /* @__PURE__ */ w(o, {
161
- size: 32,
162
- className: "text-status-error-text"
163
- })
164
- }),
165
- /* @__PURE__ */ w("h3", {
166
- className: "text-lg font-semibold text-[var(--color-text-primary)] mb-2",
167
- children: "Application not found"
168
- }),
169
- /* @__PURE__ */ w("p", {
170
- className: "text-sm text-[var(--color-text-secondary)] mb-6",
171
- children: V?.message || "This application may have been deleted or you don't have access."
172
- }),
173
- /* @__PURE__ */ T("button", {
174
- type: "button",
175
- onClick: () => h(`/support/applications${y}`),
176
- className: "inline-flex items-center gap-2 px-5 py-2.5 bg-[var(--color-bg-accent)] text-on-accent rounded-lg text-sm font-medium hover:opacity-90 transition-all",
177
- children: [/* @__PURE__ */ w(c, { size: 16 }), "Back to Applications"]
178
- })
179
- ]
154
+ if (B || !G) return /* @__PURE__ */ C("div", {
155
+ className: "p-6",
156
+ children: /* @__PURE__ */ C(_e, {
157
+ illustration: "empty-search",
158
+ title: "Application not found",
159
+ description: B?.message || "This application may have been deleted or you don't have access.",
160
+ action: /* @__PURE__ */ w("button", {
161
+ type: "button",
162
+ onClick: () => p(`/support/applications${y}`),
163
+ className: "inline-flex items-center gap-2 px-5 py-2.5 bg-[var(--color-bg-accent)] text-on-accent rounded-lg text-sm font-medium hover:opacity-90 transition-all",
164
+ children: [/* @__PURE__ */ C(s, { size: 16 }), "Back to Applications"]
165
+ })
180
166
  })
181
167
  });
182
- let J = E[K.status] || E.NEW, Y = J.icon, X = `${K.firstName} ${K.lastName}`.trim(), Z = ge(K.resumeFileSize), Q = O(K.linkedinUrl), $ = O(K.portfolioUrl);
183
- return /* @__PURE__ */ T("div", {
168
+ let J = T[G.status] || T.NEW, Y = J.icon, X = `${G.firstName} ${G.lastName}`.trim(), Z = xe(G.resumeFileSize), Q = D(G.linkedinUrl), $ = D(G.portfolioUrl);
169
+ return /* @__PURE__ */ w("div", {
184
170
  className: "p-6 animate-in fade-in duration-200",
185
171
  children: [
186
- /* @__PURE__ */ T("div", {
172
+ /* @__PURE__ */ w("div", {
187
173
  className: "flex items-center justify-between mb-6",
188
- children: [/* @__PURE__ */ T("button", {
174
+ children: [/* @__PURE__ */ w("button", {
189
175
  type: "button",
190
- onClick: () => h(`/support/applications${y}`),
176
+ onClick: () => p(`/support/applications${y}`),
191
177
  className: "inline-flex items-center gap-2 text-[var(--color-text-secondary)] hover:text-[var(--color-text-primary)] transition-colors",
192
- children: [/* @__PURE__ */ w(c, { size: 18 }), /* @__PURE__ */ w("span", {
178
+ children: [/* @__PURE__ */ C(s, { size: 18 }), /* @__PURE__ */ C("span", {
193
179
  className: "text-sm font-medium",
194
180
  children: "Back to Applications"
195
181
  })]
196
- }), /* @__PURE__ */ T("div", {
182
+ }), /* @__PURE__ */ w("div", {
197
183
  className: "flex items-center gap-2 text-xs text-[var(--color-text-secondary)]",
198
- children: [/* @__PURE__ */ w(ie, { size: 12 }), he(K.createdAt)]
184
+ children: [/* @__PURE__ */ C(ae, { size: 12 }), be(G.createdAt)]
199
185
  })]
200
186
  }),
201
- x && /* @__PURE__ */ T("div", {
187
+ x && /* @__PURE__ */ w("div", {
202
188
  className: "mb-5 p-3.5 bg-status-success-bg-subtle border border-border-subtle rounded-xl flex items-center gap-2.5 text-status-success-text text-sm font-medium animate-in slide-in-from-top-2 duration-200",
203
- children: [/* @__PURE__ */ w(u, { size: 18 }), "Status updated successfully"]
189
+ children: [/* @__PURE__ */ C(l, { size: 18 }), "Status updated successfully"]
204
190
  }),
205
- k && /* @__PURE__ */ T("div", {
191
+ O && /* @__PURE__ */ w("div", {
206
192
  className: "mb-5 p-3.5 bg-status-error-bg-subtle border border-border-subtle rounded-xl flex items-center gap-2.5 text-status-error-text text-sm font-medium animate-in slide-in-from-top-2 duration-200",
207
- children: [/* @__PURE__ */ w(o, { size: 18 }), "Couldn't update the status. Please try again."]
193
+ children: [/* @__PURE__ */ C(ne, { size: 18 }), "Couldn't update the status. Please try again."]
208
194
  }),
209
- /* @__PURE__ */ w("div", {
195
+ /* @__PURE__ */ C(ye, {
196
+ className: "mb-6",
197
+ children: "A single candidate's full application — contact details, resume, cover letter and links. Review their background, download the resume, and move them through your hiring pipeline from new to screening, interview, hire or rejection. Reply by branded email to keep the candidate informed at every stage."
198
+ }),
199
+ /* @__PURE__ */ C(ve, {
200
+ storageKey: "support-application-detail",
201
+ title: "Move this candidate forward",
202
+ className: "mb-6",
203
+ steps: [
204
+ ...G.resumeFileName ? [{
205
+ id: "resume",
206
+ label: "Review the resume",
207
+ description: "Download and read the candidate's resume.",
208
+ onClick: () => void q()
209
+ }] : [],
210
+ {
211
+ id: "advance",
212
+ label: "Update the pipeline status",
213
+ description: "Move them to screening, interview, hire or reject.",
214
+ onClick: () => document.querySelector("[data-tour=\"support-application-actions\"]")?.scrollIntoView({
215
+ behavior: "smooth",
216
+ block: "center"
217
+ })
218
+ },
219
+ {
220
+ id: "reply",
221
+ label: "Reply to the candidate",
222
+ description: "Send a branded email update from the Reply panel.",
223
+ onClick: () => document.querySelector("[data-tour=\"support-application-reply\"]")?.scrollIntoView({
224
+ behavior: "smooth",
225
+ block: "center"
226
+ })
227
+ }
228
+ ]
229
+ }),
230
+ /* @__PURE__ */ C("div", {
210
231
  className: `rounded-xl border p-6 mb-6 ${J.bg}`,
211
- children: /* @__PURE__ */ w("div", {
232
+ children: /* @__PURE__ */ C("div", {
212
233
  className: "flex items-start justify-between",
213
- children: /* @__PURE__ */ T("div", {
234
+ children: /* @__PURE__ */ w("div", {
214
235
  className: "flex items-start gap-4",
215
- children: [/* @__PURE__ */ w("div", {
236
+ children: [/* @__PURE__ */ C("div", {
216
237
  className: "size-12 rounded-xl bg-bg-surface/80 dark:bg-bg-surface/10 flex items-center justify-center shadow-sm",
217
- children: /* @__PURE__ */ w(Y, {
238
+ children: /* @__PURE__ */ C(Y, {
218
239
  size: 24,
219
240
  className: J.color
220
241
  })
221
- }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("div", {
242
+ }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("div", {
222
243
  className: "flex items-center gap-3 mb-1.5",
223
- children: /* @__PURE__ */ w("h1", {
244
+ children: /* @__PURE__ */ C("h1", {
224
245
  className: "text-xl font-bold text-[var(--color-text-primary)]",
225
246
  children: X
226
247
  })
227
- }), /* @__PURE__ */ T("div", {
248
+ }), /* @__PURE__ */ w("div", {
228
249
  className: "flex items-center gap-3 text-sm flex-wrap",
229
- children: [/* @__PURE__ */ T("span", {
250
+ children: [/* @__PURE__ */ w("span", {
230
251
  className: `inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-semibold ${J.color} bg-bg-surface/60 dark:bg-bg-surface/10`,
231
- children: [/* @__PURE__ */ w(Y, { size: 12 }), J.label]
232
- }), /* @__PURE__ */ T("span", {
252
+ children: [/* @__PURE__ */ C(Y, { size: 12 }), J.label]
253
+ }), /* @__PURE__ */ w("span", {
233
254
  className: "text-[var(--color-text-secondary)]",
234
255
  children: [
235
256
  "applying for",
236
257
  " ",
237
- /* @__PURE__ */ w("strong", {
258
+ /* @__PURE__ */ C("strong", {
238
259
  className: "text-[var(--color-text-primary)]",
239
- children: K.position
260
+ children: G.position
240
261
  })
241
262
  ]
242
263
  })]
@@ -244,68 +265,68 @@ function k() {
244
265
  })
245
266
  })
246
267
  }),
247
- /* @__PURE__ */ T("div", {
268
+ /* @__PURE__ */ w("div", {
248
269
  className: "grid grid-cols-1 lg:grid-cols-3 gap-6",
249
- children: [/* @__PURE__ */ T("div", {
270
+ children: [/* @__PURE__ */ w("div", {
250
271
  className: "lg:col-span-2 space-y-5",
251
272
  children: [
252
- /* @__PURE__ */ T("div", {
273
+ /* @__PURE__ */ w("div", {
253
274
  className: "bg-[var(--color-bg-surface)] border border-border-seam rounded-xl overflow-hidden shadow-[var(--shadow-pop)]",
254
- children: [/* @__PURE__ */ w("div", {
275
+ children: [/* @__PURE__ */ C("div", {
255
276
  className: "px-5 py-3.5 border-b border-[var(--color-border-default)] bg-[var(--color-bg-muted)]/50",
256
- children: /* @__PURE__ */ T("h2", {
277
+ children: /* @__PURE__ */ w("h2", {
257
278
  className: "text-xs font-semibold text-[var(--color-text-secondary)] uppercase tracking-wider flex items-center gap-2",
258
- children: [/* @__PURE__ */ w(b, { size: 14 }), "Applicant Information"]
279
+ children: [/* @__PURE__ */ C(b, { size: 14 }), "Applicant Information"]
259
280
  })
260
- }), /* @__PURE__ */ w("div", {
281
+ }), /* @__PURE__ */ C("div", {
261
282
  className: "p-5",
262
- children: /* @__PURE__ */ T("div", {
283
+ children: /* @__PURE__ */ w("div", {
263
284
  className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
264
285
  children: [
265
- /* @__PURE__ */ T("div", {
286
+ /* @__PURE__ */ w("div", {
266
287
  className: "flex items-center gap-3 p-3 rounded-lg bg-[var(--color-bg-muted)]/30",
267
- children: [/* @__PURE__ */ w("div", {
288
+ children: [/* @__PURE__ */ C("div", {
268
289
  className: "size-9 rounded-lg bg-status-info-bg-subtle flex items-center justify-center",
269
- children: /* @__PURE__ */ w(b, {
290
+ children: /* @__PURE__ */ C(b, {
270
291
  size: 16,
271
292
  className: "text-accent-blue"
272
293
  })
273
- }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
294
+ }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
274
295
  className: "text-[10px] font-medium text-[var(--color-text-secondary)] uppercase tracking-wider",
275
296
  children: "Name"
276
- }), /* @__PURE__ */ w("p", {
297
+ }), /* @__PURE__ */ C("p", {
277
298
  className: "text-sm font-semibold text-[var(--color-text-primary)]",
278
299
  children: X
279
300
  })] })]
280
301
  }),
281
- /* @__PURE__ */ T("div", {
302
+ /* @__PURE__ */ w("div", {
282
303
  className: "flex items-center gap-3 p-3 rounded-lg bg-[var(--color-bg-muted)]/30",
283
- children: [/* @__PURE__ */ w("div", {
304
+ children: [/* @__PURE__ */ C("div", {
284
305
  className: "size-9 rounded-lg bg-accent-indigo-subtle flex items-center justify-center",
285
- children: /* @__PURE__ */ w(_, {
306
+ children: /* @__PURE__ */ C(g, {
286
307
  size: 16,
287
308
  className: "text-accent-indigo"
288
309
  })
289
- }), /* @__PURE__ */ T("div", {
310
+ }), /* @__PURE__ */ w("div", {
290
311
  className: "flex-1 min-w-0",
291
- children: [/* @__PURE__ */ w("p", {
312
+ children: [/* @__PURE__ */ C("p", {
292
313
  className: "text-[10px] font-medium text-[var(--color-text-secondary)] uppercase tracking-wider",
293
314
  children: "Email"
294
- }), /* @__PURE__ */ T("div", {
315
+ }), /* @__PURE__ */ w("div", {
295
316
  className: "flex items-center gap-1.5",
296
- children: [/* @__PURE__ */ w("a", {
297
- href: `mailto:${K.email}`,
317
+ children: [/* @__PURE__ */ C("a", {
318
+ href: `mailto:${G.email}`,
298
319
  className: "text-sm font-semibold text-[var(--color-text-link)] hover:underline truncate",
299
- children: K.email
300
- }), /* @__PURE__ */ w("button", {
320
+ children: G.email
321
+ }), /* @__PURE__ */ C("button", {
301
322
  type: "button",
302
- onClick: we,
323
+ onClick: Oe,
303
324
  className: "flex-shrink-0 p-0.5 rounded hover:bg-[var(--color-bg-muted)] transition-colors",
304
325
  title: "Copy email",
305
- children: j ? /* @__PURE__ */ w(u, {
326
+ children: A ? /* @__PURE__ */ C(l, {
306
327
  size: 12,
307
328
  className: "text-status-success-text"
308
- }) : /* @__PURE__ */ w(ae, {
329
+ }) : /* @__PURE__ */ C(u, {
309
330
  size: 12,
310
331
  className: "text-[var(--color-text-secondary)]"
311
332
  })
@@ -313,175 +334,175 @@ function k() {
313
334
  })]
314
335
  })]
315
336
  }),
316
- K.phone && /* @__PURE__ */ T("div", {
337
+ G.phone && /* @__PURE__ */ w("div", {
317
338
  className: "flex items-center gap-3 p-3 rounded-lg bg-[var(--color-bg-muted)]/30",
318
- children: [/* @__PURE__ */ w("div", {
339
+ children: [/* @__PURE__ */ C("div", {
319
340
  className: "size-9 rounded-lg bg-status-success-bg-subtle flex items-center justify-center",
320
- children: /* @__PURE__ */ w(ue, {
341
+ children: /* @__PURE__ */ C(ue, {
321
342
  size: 16,
322
343
  className: "text-status-success-text"
323
344
  })
324
- }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
345
+ }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
325
346
  className: "text-[10px] font-medium text-[var(--color-text-secondary)] uppercase tracking-wider",
326
347
  children: "Phone"
327
- }), /* @__PURE__ */ w("a", {
328
- href: `tel:${K.phone}`,
348
+ }), /* @__PURE__ */ C("a", {
349
+ href: `tel:${G.phone}`,
329
350
  className: "text-sm font-semibold text-[var(--color-text-primary)] hover:underline",
330
- children: K.phone
351
+ children: G.phone
331
352
  })] })]
332
353
  }),
333
- /* @__PURE__ */ T("div", {
354
+ /* @__PURE__ */ w("div", {
334
355
  className: "flex items-center gap-3 p-3 rounded-lg bg-[var(--color-bg-muted)]/30",
335
- children: [/* @__PURE__ */ w("div", {
356
+ children: [/* @__PURE__ */ C("div", {
336
357
  className: "size-9 rounded-lg bg-accent-blue-subtle flex items-center justify-center",
337
- children: /* @__PURE__ */ w(ne, {
358
+ children: /* @__PURE__ */ C(re, {
338
359
  size: 16,
339
360
  className: "text-accent-blue"
340
361
  })
341
- }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
362
+ }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
342
363
  className: "text-[10px] font-medium text-[var(--color-text-secondary)] uppercase tracking-wider",
343
364
  children: "Position"
344
- }), /* @__PURE__ */ w("p", {
365
+ }), /* @__PURE__ */ C("p", {
345
366
  className: "text-sm font-semibold text-[var(--color-text-primary)]",
346
- children: K.position
367
+ children: G.position
347
368
  })] })]
348
369
  }),
349
- K.department && /* @__PURE__ */ T("div", {
370
+ G.department && /* @__PURE__ */ w("div", {
350
371
  className: "flex items-center gap-3 p-3 rounded-lg bg-[var(--color-bg-muted)]/30",
351
- children: [/* @__PURE__ */ w("div", {
372
+ children: [/* @__PURE__ */ C("div", {
352
373
  className: "size-9 rounded-lg bg-accent-purple-subtle flex items-center justify-center",
353
- children: /* @__PURE__ */ w(l, {
374
+ children: /* @__PURE__ */ C(c, {
354
375
  size: 16,
355
376
  className: "text-accent-purple"
356
377
  })
357
- }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
378
+ }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
358
379
  className: "text-[10px] font-medium text-[var(--color-text-secondary)] uppercase tracking-wider",
359
380
  children: "Department"
360
- }), /* @__PURE__ */ w("p", {
381
+ }), /* @__PURE__ */ C("p", {
361
382
  className: "text-sm font-semibold text-[var(--color-text-primary)]",
362
- children: K.department
383
+ children: G.department
363
384
  })] })]
364
385
  }),
365
- K.linkedinUrl && /* @__PURE__ */ T("div", {
386
+ G.linkedinUrl && /* @__PURE__ */ w("div", {
366
387
  className: "flex items-center gap-3 p-3 rounded-lg bg-[var(--color-bg-muted)]/30",
367
- children: [/* @__PURE__ */ w("div", {
388
+ children: [/* @__PURE__ */ C("div", {
368
389
  className: "size-9 rounded-lg bg-status-info-bg-subtle flex items-center justify-center",
369
- children: /* @__PURE__ */ w(ce, {
390
+ children: /* @__PURE__ */ C(m, {
370
391
  size: 16,
371
392
  className: "text-accent-blue"
372
393
  })
373
- }), /* @__PURE__ */ T("div", {
394
+ }), /* @__PURE__ */ w("div", {
374
395
  className: "flex-1 min-w-0",
375
- children: [/* @__PURE__ */ w("p", {
396
+ children: [/* @__PURE__ */ C("p", {
376
397
  className: "text-[10px] font-medium text-[var(--color-text-secondary)] uppercase tracking-wider",
377
398
  children: "LinkedIn"
378
- }), Q ? /* @__PURE__ */ w("a", {
399
+ }), Q ? /* @__PURE__ */ C("a", {
379
400
  href: Q,
380
401
  target: "_blank",
381
402
  rel: "noopener noreferrer",
382
403
  className: "text-sm font-semibold text-[var(--color-text-link)] hover:underline truncate block",
383
- children: K.linkedinUrl
384
- }) : /* @__PURE__ */ w("span", {
404
+ children: G.linkedinUrl
405
+ }) : /* @__PURE__ */ C("span", {
385
406
  className: "text-sm font-semibold text-[var(--color-text-primary)] truncate block",
386
- children: K.linkedinUrl
407
+ children: G.linkedinUrl
387
408
  })]
388
409
  })]
389
410
  }),
390
- K.portfolioUrl && /* @__PURE__ */ T("div", {
411
+ G.portfolioUrl && /* @__PURE__ */ w("div", {
391
412
  className: "flex items-center gap-3 p-3 rounded-lg bg-[var(--color-bg-muted)]/30",
392
- children: [/* @__PURE__ */ w("div", {
413
+ children: [/* @__PURE__ */ C("div", {
393
414
  className: "size-9 rounded-lg bg-accent-indigo-subtle flex items-center justify-center",
394
- children: /* @__PURE__ */ w(se, {
415
+ children: /* @__PURE__ */ C(le, {
395
416
  size: 16,
396
417
  className: "text-accent-indigo"
397
418
  })
398
- }), /* @__PURE__ */ T("div", {
419
+ }), /* @__PURE__ */ w("div", {
399
420
  className: "flex-1 min-w-0",
400
- children: [/* @__PURE__ */ w("p", {
421
+ children: [/* @__PURE__ */ C("p", {
401
422
  className: "text-[10px] font-medium text-[var(--color-text-secondary)] uppercase tracking-wider",
402
423
  children: "Portfolio"
403
- }), $ ? /* @__PURE__ */ w("a", {
424
+ }), $ ? /* @__PURE__ */ C("a", {
404
425
  href: $,
405
426
  target: "_blank",
406
427
  rel: "noopener noreferrer",
407
428
  className: "text-sm font-semibold text-[var(--color-text-link)] hover:underline truncate block",
408
- children: K.portfolioUrl
409
- }) : /* @__PURE__ */ w("span", {
429
+ children: G.portfolioUrl
430
+ }) : /* @__PURE__ */ C("span", {
410
431
  className: "text-sm font-semibold text-[var(--color-text-primary)] truncate block",
411
- children: K.portfolioUrl
432
+ children: G.portfolioUrl
412
433
  })]
413
434
  })]
414
435
  }),
415
- K.productId && R && /* @__PURE__ */ T("div", {
436
+ G.productId && L && /* @__PURE__ */ w("div", {
416
437
  className: "flex items-center gap-3 p-3 rounded-lg bg-[var(--color-bg-muted)]/30",
417
- children: [/* @__PURE__ */ w("div", {
438
+ children: [/* @__PURE__ */ C("div", {
418
439
  className: "size-9 rounded-lg bg-accent-purple-subtle flex items-center justify-center",
419
- children: /* @__PURE__ */ w(le, {
440
+ children: /* @__PURE__ */ C(_, {
420
441
  size: 16,
421
442
  className: "text-accent-purple"
422
443
  })
423
- }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
444
+ }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
424
445
  className: "text-[10px] font-medium text-[var(--color-text-secondary)] uppercase tracking-wider",
425
446
  children: "Product"
426
- }), /* @__PURE__ */ w("p", {
447
+ }), /* @__PURE__ */ C("p", {
427
448
  className: "text-sm font-semibold text-[var(--color-text-primary)]",
428
- children: R
449
+ children: L
429
450
  })] })]
430
451
  }),
431
- /* @__PURE__ */ T("div", {
452
+ /* @__PURE__ */ w("div", {
432
453
  className: "flex items-center gap-3 p-3 rounded-lg bg-[var(--color-bg-muted)]/30",
433
- children: [/* @__PURE__ */ w("div", {
454
+ children: [/* @__PURE__ */ C("div", {
434
455
  className: "size-9 rounded-lg bg-status-success-bg-subtle flex items-center justify-center",
435
- children: /* @__PURE__ */ w(oe, {
456
+ children: /* @__PURE__ */ C(ce, {
436
457
  size: 16,
437
458
  className: "text-status-success-text"
438
459
  })
439
- }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
460
+ }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
440
461
  className: "text-[10px] font-medium text-[var(--color-text-secondary)] uppercase tracking-wider",
441
462
  children: "Source"
442
- }), /* @__PURE__ */ w("p", {
463
+ }), /* @__PURE__ */ C("p", {
443
464
  className: "text-sm font-semibold text-[var(--color-text-primary)] capitalize",
444
- children: K.source.toLowerCase()
465
+ children: G.source.toLowerCase()
445
466
  })] })]
446
467
  })
447
468
  ]
448
469
  })
449
470
  })]
450
471
  }),
451
- K.coverLetter && /* @__PURE__ */ T("div", {
472
+ G.coverLetter && /* @__PURE__ */ w("div", {
452
473
  className: "bg-[var(--color-bg-surface)] border border-border-seam rounded-xl overflow-hidden shadow-[var(--shadow-pop)]",
453
- children: [/* @__PURE__ */ w("div", {
474
+ children: [/* @__PURE__ */ C("div", {
454
475
  className: "px-5 py-3.5 border-b border-[var(--color-border-default)] bg-[var(--color-bg-muted)]/50",
455
- children: /* @__PURE__ */ T("h2", {
476
+ children: /* @__PURE__ */ w("h2", {
456
477
  className: "text-xs font-semibold text-[var(--color-text-secondary)] uppercase tracking-wider flex items-center gap-2",
457
- children: [/* @__PURE__ */ w(m, { size: 14 }), "Cover Letter"]
478
+ children: [/* @__PURE__ */ C(f, { size: 14 }), "Cover Letter"]
458
479
  })
459
- }), /* @__PURE__ */ w("div", {
480
+ }), /* @__PURE__ */ C("div", {
460
481
  className: "p-5",
461
- children: /* @__PURE__ */ w("p", {
482
+ children: /* @__PURE__ */ C("p", {
462
483
  className: "text-sm text-[var(--color-text-primary)] leading-relaxed whitespace-pre-wrap",
463
- children: K.coverLetter
484
+ children: G.coverLetter
464
485
  })
465
486
  })]
466
487
  }),
467
- K.metadata && Object.keys(K.metadata).length > 0 && /* @__PURE__ */ T("div", {
488
+ G.metadata && Object.keys(G.metadata).length > 0 && /* @__PURE__ */ w("div", {
468
489
  className: "bg-[var(--color-bg-surface)] border border-border-seam rounded-xl overflow-hidden shadow-[var(--shadow-pop)]",
469
- children: [/* @__PURE__ */ w("div", {
490
+ children: [/* @__PURE__ */ C("div", {
470
491
  className: "px-5 py-3.5 border-b border-[var(--color-border-default)] bg-[var(--color-bg-muted)]/50",
471
- children: /* @__PURE__ */ T("h2", {
492
+ children: /* @__PURE__ */ w("h2", {
472
493
  className: "text-xs font-semibold text-[var(--color-text-secondary)] uppercase tracking-wider flex items-center gap-2",
473
- children: [/* @__PURE__ */ w(f, { size: 14 }), "Additional Data"]
494
+ children: [/* @__PURE__ */ C(se, { size: 14 }), "Additional Data"]
474
495
  })
475
- }), /* @__PURE__ */ w("div", {
496
+ }), /* @__PURE__ */ C("div", {
476
497
  className: "p-5",
477
- children: /* @__PURE__ */ w("div", {
498
+ children: /* @__PURE__ */ C("div", {
478
499
  className: "space-y-2.5",
479
- children: Object.entries(K.metadata).map(([e, t]) => /* @__PURE__ */ T("div", {
500
+ children: Object.entries(G.metadata).map(([e, t]) => /* @__PURE__ */ w("div", {
480
501
  className: "flex items-start gap-3 py-1.5 border-b border-[var(--color-border-default)] last:border-0",
481
- children: [/* @__PURE__ */ w("span", {
502
+ children: [/* @__PURE__ */ C("span", {
482
503
  className: "text-xs font-medium text-[var(--color-text-secondary)] min-w-[120px] uppercase tracking-wider",
483
504
  children: e
484
- }), /* @__PURE__ */ w("span", {
505
+ }), /* @__PURE__ */ C("span", {
485
506
  className: "text-xs text-[var(--color-text-primary)] font-mono break-all",
486
507
  children: typeof t == "object" && t ? JSON.stringify(t) : String(t)
487
508
  })]
@@ -490,189 +511,191 @@ function k() {
490
511
  })]
491
512
  })
492
513
  ]
493
- }), /* @__PURE__ */ T("div", {
514
+ }), /* @__PURE__ */ w("div", {
494
515
  className: "space-y-5",
495
516
  children: [
496
- /* @__PURE__ */ T("div", {
517
+ /* @__PURE__ */ w("div", {
497
518
  className: "bg-[var(--color-bg-surface)] border border-border-seam rounded-xl overflow-hidden shadow-[var(--shadow-pop)]",
498
- children: [/* @__PURE__ */ w("div", {
519
+ children: [/* @__PURE__ */ C("div", {
499
520
  className: "px-5 py-3.5 border-b border-[var(--color-border-default)] bg-[var(--color-bg-muted)]/50",
500
- children: /* @__PURE__ */ T("h2", {
521
+ children: /* @__PURE__ */ w("h2", {
501
522
  className: "text-xs font-semibold text-[var(--color-text-secondary)] uppercase tracking-wider flex items-center gap-2",
502
- children: [/* @__PURE__ */ w(m, { size: 14 }), "Resume"]
523
+ children: [/* @__PURE__ */ C(f, { size: 14 }), "Resume"]
503
524
  })
504
- }), /* @__PURE__ */ w("div", {
525
+ }), /* @__PURE__ */ C("div", {
505
526
  className: "p-5",
506
- children: K.resumeFileName ? /* @__PURE__ */ T(me, { children: [
507
- /* @__PURE__ */ T("div", {
527
+ children: G.resumeFileName ? /* @__PURE__ */ w(he, { children: [
528
+ /* @__PURE__ */ w("div", {
508
529
  className: "flex items-center gap-3 mb-3",
509
- children: [/* @__PURE__ */ w("div", {
530
+ children: [/* @__PURE__ */ C("div", {
510
531
  className: "size-9 rounded-lg bg-accent-blue-subtle flex items-center justify-center flex-shrink-0",
511
- children: /* @__PURE__ */ w(m, {
532
+ children: /* @__PURE__ */ C(f, {
512
533
  size: 16,
513
534
  className: "text-accent-blue"
514
535
  })
515
- }), /* @__PURE__ */ T("div", {
536
+ }), /* @__PURE__ */ w("div", {
516
537
  className: "min-w-0",
517
- children: [/* @__PURE__ */ w("p", {
538
+ children: [/* @__PURE__ */ C("p", {
518
539
  className: "text-sm font-medium text-[var(--color-text-primary)] truncate",
519
- children: K.resumeFileName
520
- }), Z ? /* @__PURE__ */ w("p", {
540
+ children: G.resumeFileName
541
+ }), Z ? /* @__PURE__ */ C("p", {
521
542
  className: "text-[11px] text-[var(--color-text-secondary)]",
522
543
  children: Z
523
544
  }) : null]
524
545
  })]
525
546
  }),
526
- /* @__PURE__ */ T("button", {
547
+ /* @__PURE__ */ w("button", {
527
548
  type: "button",
528
- onClick: Ce,
529
- disabled: W,
549
+ onClick: q,
550
+ disabled: U,
530
551
  className: "w-full inline-flex items-center justify-center gap-2 px-4 py-2.5 bg-[var(--color-bg-accent)] text-on-accent rounded-lg text-sm font-medium hover:opacity-90 transition-all disabled:opacity-50",
531
- children: [W ? /* @__PURE__ */ w(g, {
552
+ children: [U ? /* @__PURE__ */ C(h, {
532
553
  size: 15,
533
554
  className: "animate-spin"
534
- }) : /* @__PURE__ */ w(d, { size: 15 }), "Download Resume"]
555
+ }) : /* @__PURE__ */ C(oe, { size: 15 }), "Download Resume"]
535
556
  }),
536
- N && /* @__PURE__ */ w("p", {
557
+ M && /* @__PURE__ */ C("p", {
537
558
  className: "mt-2 text-xs text-status-error-text",
538
559
  children: "Could not generate a download link. Please try again."
539
560
  })
540
- ] }) : /* @__PURE__ */ w("p", {
561
+ ] }) : /* @__PURE__ */ C("p", {
541
562
  className: "text-sm text-[var(--color-text-secondary)]",
542
563
  children: "No resume on file."
543
564
  })
544
565
  })]
545
566
  }),
546
- /* @__PURE__ */ T("div", {
567
+ /* @__PURE__ */ w("div", {
547
568
  className: "bg-[var(--color-bg-surface)] border border-border-seam rounded-xl overflow-hidden shadow-[var(--shadow-pop)]",
548
- children: [/* @__PURE__ */ w("div", {
569
+ children: [/* @__PURE__ */ C("div", {
549
570
  className: "px-5 py-3.5 border-b border-[var(--color-border-default)] bg-[var(--color-bg-muted)]/50",
550
- children: /* @__PURE__ */ T("h2", {
571
+ children: /* @__PURE__ */ w("h2", {
551
572
  className: "text-xs font-semibold text-[var(--color-text-secondary)] uppercase tracking-wider flex items-center gap-2",
552
- children: [/* @__PURE__ */ w(re, { size: 14 }), "Timeline"]
573
+ children: [/* @__PURE__ */ C(ie, { size: 14 }), "Timeline"]
553
574
  })
554
- }), /* @__PURE__ */ T("div", {
575
+ }), /* @__PURE__ */ w("div", {
555
576
  className: "p-5 space-y-4",
556
- children: [/* @__PURE__ */ T("div", {
577
+ children: [/* @__PURE__ */ w("div", {
557
578
  className: "flex items-start gap-3",
558
- children: [/* @__PURE__ */ w("div", { className: "size-2 rounded-full bg-accent-blue mt-1.5 flex-shrink-0" }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
579
+ children: [/* @__PURE__ */ C("div", { className: "size-2 rounded-full bg-accent-blue mt-1.5 flex-shrink-0" }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
559
580
  className: "text-xs font-medium text-[var(--color-text-primary)]",
560
581
  children: "Applied"
561
- }), /* @__PURE__ */ w("p", {
582
+ }), /* @__PURE__ */ C("p", {
562
583
  className: "text-[11px] text-[var(--color-text-secondary)]",
563
- children: D(K.createdAt)
584
+ children: E(G.createdAt)
564
585
  })] })]
565
- }), K.updatedAt !== K.createdAt && /* @__PURE__ */ T("div", {
586
+ }), G.updatedAt !== G.createdAt && /* @__PURE__ */ w("div", {
566
587
  className: "flex items-start gap-3",
567
- children: [/* @__PURE__ */ w("div", { className: "size-2 rounded-full bg-status-warning-bg mt-1.5 flex-shrink-0" }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
588
+ children: [/* @__PURE__ */ C("div", { className: "size-2 rounded-full bg-status-warning-bg mt-1.5 flex-shrink-0" }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
568
589
  className: "text-xs font-medium text-[var(--color-text-primary)]",
569
590
  children: "Last Updated"
570
- }), /* @__PURE__ */ w("p", {
591
+ }), /* @__PURE__ */ C("p", {
571
592
  className: "text-[11px] text-[var(--color-text-secondary)]",
572
- children: D(K.updatedAt)
593
+ children: E(G.updatedAt)
573
594
  })] })]
574
595
  })]
575
596
  })]
576
597
  }),
577
- /* @__PURE__ */ T("div", {
578
- className: "bg-[var(--color-bg-surface)] border border-border-seam rounded-xl overflow-hidden shadow-[var(--shadow-pop)]",
579
- children: [/* @__PURE__ */ w("div", {
580
- className: "px-5 py-3.5 border-b border-[var(--color-border-default)] bg-[var(--color-bg-muted)]/50",
581
- children: /* @__PURE__ */ T("h2", {
598
+ /* @__PURE__ */ w(ge, {
599
+ "data-tour": "support-application-reply",
600
+ className: "overflow-hidden p-0",
601
+ children: [/* @__PURE__ */ C("div", {
602
+ className: "px-5 py-3.5 border-b border-border-seam",
603
+ children: /* @__PURE__ */ w("h2", {
582
604
  className: "text-xs font-semibold text-[var(--color-text-secondary)] uppercase tracking-wider flex items-center gap-1.5",
583
- children: [/* @__PURE__ */ w(v, { size: 12 }), "Reply"]
605
+ children: [/* @__PURE__ */ C(v, { size: 12 }), "Reply"]
584
606
  })
585
- }), /* @__PURE__ */ T("div", {
607
+ }), /* @__PURE__ */ w("div", {
586
608
  className: "p-5",
587
609
  children: [
588
- _e && /* @__PURE__ */ T("div", {
610
+ Se && /* @__PURE__ */ w("div", {
589
611
  className: "mb-3 p-2.5 rounded-lg bg-status-success-bg-subtle border border-border-subtle text-sm text-status-success-text flex items-center gap-2",
590
- children: [/* @__PURE__ */ w(u, { size: 14 }), "Reply sent to the applicant!"]
612
+ children: [/* @__PURE__ */ C(l, { size: 14 }), "Reply sent to the applicant!"]
591
613
  }),
592
- /* @__PURE__ */ w("textarea", {
614
+ /* @__PURE__ */ C("textarea", {
593
615
  "aria-label": "Reply message",
594
- value: F,
595
- onChange: (e) => I(e.target.value),
616
+ value: P,
617
+ onChange: (e) => F(e.target.value),
596
618
  placeholder: "Type your reply… This will be sent as a branded email to the applicant.",
597
619
  rows: 4,
598
- disabled: G,
620
+ disabled: W,
599
621
  className: "w-full px-3 py-2.5 bg-[var(--color-bg-surface)] border border-[var(--color-border-default)] rounded-lg text-sm text-[var(--color-text-primary)] placeholder:text-[var(--color-text-secondary)] focus:outline-none focus:ring-2 focus:ring-[var(--color-border-accent)]/50 disabled:opacity-50 resize-none transition-all"
600
622
  }),
601
- /* @__PURE__ */ T("button", {
623
+ /* @__PURE__ */ w("button", {
602
624
  type: "button",
603
- onClick: Se,
604
- disabled: G || !F.trim(),
625
+ onClick: De,
626
+ disabled: W || !P.trim(),
605
627
  className: "mt-2 w-full inline-flex items-center justify-center gap-2 px-4 py-2.5 bg-[var(--color-bg-accent)] text-on-accent rounded-lg text-sm font-medium hover:opacity-90 transition-all disabled:opacity-50",
606
- children: [G ? /* @__PURE__ */ w(g, {
628
+ children: [W ? /* @__PURE__ */ C(h, {
607
629
  size: 15,
608
630
  className: "animate-spin"
609
- }) : /* @__PURE__ */ w(v, { size: 15 }), "Send Reply"]
631
+ }) : /* @__PURE__ */ C(v, { size: 15 }), "Send Reply"]
610
632
  })
611
633
  ]
612
634
  })]
613
635
  }),
614
- /* @__PURE__ */ T("div", {
636
+ /* @__PURE__ */ w("div", {
637
+ "data-tour": "support-application-actions",
615
638
  className: "bg-[var(--color-bg-surface)] border border-border-seam rounded-xl overflow-hidden shadow-[var(--shadow-pop)]",
616
- children: [/* @__PURE__ */ w("div", {
639
+ children: [/* @__PURE__ */ C("div", {
617
640
  className: "px-5 py-3.5 border-b border-[var(--color-border-default)] bg-[var(--color-bg-muted)]/50",
618
- children: /* @__PURE__ */ w("h2", {
641
+ children: /* @__PURE__ */ C("h2", {
619
642
  className: "text-xs font-semibold text-[var(--color-text-secondary)] uppercase tracking-wider",
620
643
  children: "Actions"
621
644
  })
622
- }), /* @__PURE__ */ T("div", {
645
+ }), /* @__PURE__ */ w("div", {
623
646
  className: "p-5 space-y-4",
624
- children: [/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
647
+ children: [/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("label", {
625
648
  className: "block text-xs font-medium text-[var(--color-text-secondary)] mb-1.5",
626
649
  htmlFor: "jobapplicationdetailpage-status-0",
627
650
  children: "Status"
628
- }), /* @__PURE__ */ T("select", {
651
+ }), /* @__PURE__ */ w("select", {
629
652
  id: "jobapplicationdetailpage-status-0",
630
- value: K.status,
631
- onChange: (e) => q(e.target.value),
632
- disabled: U,
653
+ value: G.status,
654
+ onChange: (e) => K(e.target.value),
655
+ disabled: H,
633
656
  className: "w-full px-3 py-2.5 bg-[var(--color-bg-surface)] border border-[var(--color-border-default)] rounded-lg text-sm text-[var(--color-text-primary)] focus:outline-none focus:ring-2 focus:ring-[var(--color-border-accent)]/50 disabled:opacity-50 transition-all",
634
657
  children: [
635
- /* @__PURE__ */ w("option", {
658
+ /* @__PURE__ */ C("option", {
636
659
  value: "NEW",
637
660
  children: "New"
638
661
  }),
639
- /* @__PURE__ */ w("option", {
662
+ /* @__PURE__ */ C("option", {
640
663
  value: "SCREENING",
641
664
  children: "Screening"
642
665
  }),
643
- /* @__PURE__ */ w("option", {
666
+ /* @__PURE__ */ C("option", {
644
667
  value: "SHORTLISTED",
645
668
  children: "Shortlisted"
646
669
  }),
647
- /* @__PURE__ */ w("option", {
670
+ /* @__PURE__ */ C("option", {
648
671
  value: "INTERVIEW",
649
672
  children: "Interview"
650
673
  }),
651
- /* @__PURE__ */ w("option", {
674
+ /* @__PURE__ */ C("option", {
652
675
  value: "HIRED",
653
676
  children: "Hired"
654
677
  }),
655
- /* @__PURE__ */ w("option", {
678
+ /* @__PURE__ */ C("option", {
656
679
  value: "REJECTED",
657
680
  children: "Rejected"
658
681
  }),
659
- /* @__PURE__ */ w("option", {
682
+ /* @__PURE__ */ C("option", {
660
683
  value: "ARCHIVED",
661
684
  children: "Archived"
662
685
  })
663
686
  ]
664
- })] }), /* @__PURE__ */ T("div", {
687
+ })] }), /* @__PURE__ */ w("div", {
665
688
  className: "space-y-2",
666
- children: [/* @__PURE__ */ T("a", {
667
- href: `mailto:${K.email}?subject=${encodeURIComponent(`Your application for ${K.position}`)}`,
689
+ children: [/* @__PURE__ */ w("a", {
690
+ href: `mailto:${G.email}?subject=${encodeURIComponent(`Your application for ${G.position}`)}`,
668
691
  className: "w-full inline-flex items-center justify-center gap-2 px-4 py-2.5 bg-[var(--color-bg-surface)] border border-[var(--color-border-default)] text-[var(--color-text-primary)] rounded-lg text-sm font-medium hover:bg-[var(--color-bg-muted)] transition-all",
669
- children: [/* @__PURE__ */ w(_, { size: 15 }), "Email Applicant"]
670
- }), K.status !== "ARCHIVED" && /* @__PURE__ */ T("button", {
692
+ children: [/* @__PURE__ */ C(g, { size: 15 }), "Email Applicant"]
693
+ }), G.status !== "ARCHIVED" && /* @__PURE__ */ w("button", {
671
694
  type: "button",
672
- onClick: () => q("ARCHIVED"),
673
- disabled: U,
695
+ onClick: () => K("ARCHIVED"),
696
+ disabled: H,
674
697
  className: "w-full inline-flex items-center justify-center gap-2 px-4 py-2.5 bg-[var(--color-bg-surface)] border border-[var(--color-border-default)] text-[var(--color-text-secondary)] rounded-lg text-sm font-medium hover:bg-[var(--color-bg-muted)] transition-all disabled:opacity-50",
675
- children: [/* @__PURE__ */ w(s, { size: 15 }), "Archive"]
698
+ children: [/* @__PURE__ */ C(o, { size: 15 }), "Archive"]
676
699
  })]
677
700
  })]
678
701
  })]
@@ -684,6 +707,6 @@ function k() {
684
707
  });
685
708
  }
686
709
  //#endregion
687
- export { k as JobApplicationDetailPage };
710
+ export { O as JobApplicationDetailPage };
688
711
 
689
712
  //# sourceMappingURL=JobApplicationDetailPage.js.map