1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="488e908f-a757-4612-b59c-f7f005f34843",e._sentryDebugIdIdentifier="sentry-dbid-488e908f-a757-4612-b59c-f7f005f34843")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4490],{4736:(e,t,a)=>{Promise.resolve().then(a.bind(a,44658))},37142:(e,t,a)=>{"use strict";a.d(t,{C:()=>i,M:()=>r});class i extends Error{constructor(e,t,a,i){super(a||t),this.status=e,this.code=t,this.data=i}}async function s(e,t){let a=await fetch(`${e}`,{credentials:"include",headers:{"Content-Type":"application/json",...t?.headers||{}},...t}),s=await a.text(),r=s?JSON.parse(s):{};if(!a.ok)throw new i(a.status,r.error||"error",r.message,r);return r}let r={config:()=>s("/api/candidate-portal/config"),register:e=>s("/api/candidate/register",{method:"POST",body:JSON.stringify(e)}),verifyEmail:e=>s("/api/candidate/verify-email",{method:"POST",body:JSON.stringify({token:e})}),resendVerification:e=>s("/api/candidate/resend-verification",{method:"POST",body:JSON.stringify({email:e})}),login:e=>s("/api/candidate/login",{method:"POST",body:JSON.stringify(e)}),requestLoginCode:e=>s("/api/candidate/login/code",{method:"POST",body:JSON.stringify({email:e})}),loginWithCode:e=>s("/api/candidate/login/code/verify",{method:"POST",body:JSON.stringify(e)}),logout:()=>s("/api/candidate/logout",{method:"POST"}),refresh:()=>s("/api/candidate/token/refresh",{method:"POST"}),forgot:e=>s("/api/candidate/password/forgot",{method:"POST",body:JSON.stringify({email:e})}),reset:(e,t)=>s("/api/candidate/password/reset",{method:"POST",body:JSON.stringify({token:e,password:t})}),me:()=>s("/api/candidate/me"),updateMe:e=>s("/api/candidate/me",{method:"PATCH",body:JSON.stringify(e)}),jobs:()=>s("/api/candidate/jobs"),job:e=>s(`/api/candidate/jobs/${e}`),jobAlerts:()=>s("/api/candidate/me/job-alerts"),createJobAlert:e=>s("/api/candidate/me/job-alerts",{method:"POST",body:JSON.stringify(e)}),deleteJobAlert:e=>s(`/api/candidate/me/job-alerts/${e}`,{method:"DELETE"}),savedJobs:()=>s("/api/candidate/me/saved-jobs"),saveJob:e=>s("/api/candidate/me/saved-jobs",{method:"POST",body:JSON.stringify({jobId:e})}),unsaveJob:e=>s(`/api/candidate/me/saved-jobs/${e}`,{method:"DELETE"}),applyToJob:(e,t,a)=>s("/api/candidate/me/applications",{method:"POST",body:JSON.stringify({jobId:e,coverLetter:t,screeningAnswers:a})}),uploadResume:async e=>{let t=new FormData;t.append("resume",e);let a=await fetch("/api/candidate/me/resume",{method:"POST",credentials:"include",body:t}),s=await a.text(),r=s?JSON.parse(s):{};if(!a.ok)throw new i(a.status,r.error||"error",r.message);return r},buildResume:e=>s("/api/candidate/me/resume/build",{method:"POST",body:JSON.stringify({data:e})}),prefillResume:()=>s("/api/candidate/me/resume/prefill",{method:"POST"}),downloadBuiltResume:async e=>{let t=await fetch("/api/candidate/me/resume/build",{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({data:e,download:!0})});if(!t.ok){let e=await t.json().catch(()=>({}));throw new i(t.status,e.error||"error",e.message)}return t.blob()},applications:(e={})=>{let t=new URLSearchParams;null!=e.limit&&t.set("limit",String(e.limit)),null!=e.offset&&t.set("offset",String(e.offset)),e.status&&"all"!==e.status&&t.set("status",e.status);let a=t.toString();return s(`/api/candidate/me/applications${a?`?${a}`:""}`)},application:e=>s(`/api/candidate/me/applications/${e}`),withdraw:e=>s(`/api/candidate/me/applications/${e}/withdraw`,{method:"POST"})}},44658:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>l});var i=a(95155),s=a(12115),r=a(98500),d=a.n(r),o=a(37142),n=a(60894);function l(){let[e,t]=(0,s.useState)(""),[a,r]=(0,s.useState)(!1),[l,c]=(0,s.useState)(!1);async function u(t){t.preventDefault(),c(!0);try{await o.M.forgot(e)}catch{}finally{c(!1),r(!0)}}return(0,i.jsx)(n.Zp,{title:"Reset your password",children:a?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(n.Fc,{kind:"info",children:["If an account exists for ",e,", we've sent a reset link. It expires in 1 hour."]}),(0,i.jsx)(d(),{href:"/candidate/login",className:"text-sm text-indigo-600 hover:underline",children:"Back to sign in"})]}):(0,i.jsxs)("form",{onSubmit:u,className:"space-y-4",children:[(0,i.jsx)(n.D0,{label:"Email",n
1ame:"email",type:"email",value:e,onChange:t,autoComplete:"email",required:!0}),(0,i.jsx)(n.b7,{busy:l,children:"Send reset link"})]})})}},60894:(e,t,a)=>{"use strict";a.d(t,{D0:()=>r,Fc:()=>o,Zp:()=>s,b7:()=>d});var i=a(95155);function s({title:e,subtitle:t,children:a}){return(0,i.jsxs)("div",{className:"mx-auto max-w-md rounded-2xl border border-gray-200 bg-white p-6 shadow-sm sm:p-8",children:[(0,i.jsx)("h1",{className:"text-xl font-semibold text-gray-900",children:e}),t&&(0,i.jsx)("p",{className:"mt-1 text-sm text-gray-500",children:t}),(0,i.jsx)("div",{className:"mt-5 space-y-4",children:a})]})}function r({label:e,name:t,type:a="text",value:s,onChange:d,autoComplete:o,inputMode:n,required:l}){return(0,i.jsxs)("label",{className:"block",htmlFor:t,children:[(0,i.jsx)("span",{className:"mb-1 block text-sm font-medium text-gray-700",children:e}),(0,i.jsx)("input",{id:t,name:t,type:a,value:s,onChange:e=>d(e.target.value),autoComplete:o,inputMode:n,required:l,className:"w-full rounded-lg border border-gray-300 px-3 py-2 text-sm outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500"})]})}function d({busy:e,children:t}){return(0,i.jsx)("button",{type:"submit",disabled:e,style:{backgroundColor:"var(--portal-accent, #4f46e5)"},className:"w-full rounded-lg px-4 py-2.5 text-sm font-medium text-white hover:opacity-90 disabled:opacity-60",children:e?"Workingâ¦":t})}function o({kind:e="error",children:t}){return(0,i.jsx)("div",{className:`rounded-lg border px-3 py-2 text-sm ${{error:"border-red-200 bg-red-50 text-red-700",success:"border-green-200 bg-green-50 text-green-700",info:"border-blue-200 bg-blue-50 text-blue-700"}[e]}`,children:t})}}},e=>{e.O(0,[8500,9793,8441,2209,7358],()=>e(e.s=4736)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.