1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="ef0d1cc8-8b4b-48b9-b488-e110b30e0a9e",t._sentryDebugIdIdentifier="sentry-dbid-ef0d1cc8-8b4b-48b9-b488-e110b30e0a9e")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8645],{4818:(t,e,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/generated-resume",function(){return s(97243)}])},9326:(t,e,s)=>{"use strict";function a(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return gtag("event",t,{event_timeout:2e3,...e}),!1}s.d(e,{s:()=>a})},30450:(t,e,s)=>{"use strict";s.d(e,{k:()=>i});var a=s(63630);class i{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,a.gn)(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,null!=t?t:a.S$?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}},33859:(t,e,s)=>{"use strict";s.d(e,{n:()=>h});var a=s(68658),i=s(63630),r=s(71028),n=s(72145),o=s(82874);class l extends o.Q{constructor(t,e){super(),this.client=t,this.setOptions(e),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var e;let s=this.options;this.options=this.client.defaultMutationOptions(t),(0,i.f8)(s,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(e=this.currentMutation)||e.setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners()){var t;null==(t=this.currentMutation)||t.removeObserver(this)}}onMutationUpdate(t){this.updateResult();let e={listeners:!0};"success"===t.type?e.onSuccess=!0:"error"===t.type&&(e.onError=!0),this.notify(e)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(t,e){return this.mutateOptions=e,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==t?t:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){let t=this.currentMutation?this.currentMutation.state:(0,r.$)(),e={...t,isLoading:"loading"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset};this.currentResult=e}notify(t){n.j.batch(()=>{if(this.mutateOptions&&this.hasListeners()){var e,s,a,i,r,n,o,l;t.onSuccess?(null==(e=(s=this.mutateOptions).onSuccess)||e.call(s,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(a=(i=this.mutateOptions).onSettled)||a.call(i,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)):t.onError&&(null==(r=(n=this.mutateOptions).onError)||r.call(n,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(o=(l=this.mutateOptions).onSettled)||o.call(l,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context))}t.listeners&&this.listeners.forEach(({listener:t})=>{t(this.currentResult)})})}}var c=s(64288),u=s(9636),d=s(83945);function h(t,e,s){let r=(0,i.GR)(t,e,s),o=(0,u.jE)({context:r.context}),[h]=a.useState(()=>new l(o,r));a.useEffect(()=>{h.setOptions(r)},[h,r]);let m=(0,c.r)(a.useCallback(t=>h.subscribe(n.j.batchCalls(t)),[h]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),x=a.useCallback((t,e)=>{h.mutate(t,e).catch(p)},[h]);if(m.error&&(0,d.G)(h.options.useErrorBoundary,[m.error]))throw m.error;return{...m,mutate:x,mutateAsync:m.mutate}}function p(){}},71028:(t,e,s)=>{"use strict";s.d(e,{$:()=>l,s:()=>o});var a=s(72809),i=s(72145),r=s(30450),n=s(32982);class o extends r.k{constructor(t){super(),this.defaultOptions=t.defaultOptions,this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||a.U,this.observers=[],this.state=t.state||l(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options={...this.defaultOptions,...t},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(e=>e!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var t,e;return null!=(t=null==(e=this.retryer)?void 0:e.continue())?t:this.execute()}async execute(){var t,e,s,a,i,r,o,l,c,u,d,h,p,m,x,v,f,g,b,y;let w=()=>{var t;return this.retryer=(0,n.II)({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(t,e)=>{this.dispatch({type:"failed",failureCount:t,error:e})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(t=this.options.retry)?t:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},j="loading"===this.state.status;try{if(!j){this.dispatch({type:"loading",variables:this.options.variables}),await (null==(c=(u=this.mutationCache.config).onMutate)?void 0:c.call(u,this.state.variables,this));let t=await (null==(d=(h=this.options).onMutate)?void 0:d.call(h,this.state.variables));t!==this.state.context&&this.dispatch({type:"loading",context:t,variables:this.state.variables})}let n=await w();return await (null==(t=(e=this.mutationCache.config).onSuccess)?void 0:t.call(e,n,this.state.variables,this.state.context,this)),await (null==(s=(a=this.options).onSuccess)?void 0:s.call(a,n,this.state.variables,this.state.context)),await (null==(i=(r=this.mutationCache.config).onSettled)?void 0:i.call(r,n,null,this.state.variables,this.state.context,this)),await (null==(o=(l=this.options).onSettled)?void 0:o.call(l,n,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:n}),n}catch(t){try{throw await (null==(p=(m=this.mutationCache.config).onError)?void 0:p.call(m,t,this.state.variables,this.state.context,this)),await (null==(x=(v=this.options).onError)?void 0:x.call(v,t,this.state.variables,this.state.context)),await (null==(f=(g=this.mutationCache.config).onSettled)?void 0:f.call(g,void 0,t,this.state.variables,this.state.context,this)),await (null==(b=(y=this.options).onSettled)?void 0:b.call(y,void 0,t,this.state.variables,this.state.context)),t}finally{this.dispatch({type:"error",error:t})}}}dispatch(t){let e=e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};
1case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"loading":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!(0,n.v_)(this.options.networkMode),status:"loading",variables:t.variables};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"};case"setState":return{...e,...t.state}}};this.state=e(this.state),i.j.batch(()=>{this.observers.forEach(e=>{e.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function l(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}},72809:(t,e,s)=>{"use strict";s.d(e,{U:()=>a});let a=console},79163:(t,e,s)=>{"use strict";s.d(e,{z:()=>a});let a={SIGNUP:"conversion_event_signup",ONBOADING_COMPLETE:"conversion_event_submit_lead_form"}},79328:(t,e,s)=>{"use strict";let a;s.d(e,{A:()=>M});var i=s(94458),r=s(3308),n=s(79163),o=s(70478),l=s(9326),c=s(73811),u=s(74833),d=s(75297),h=s(58843),p=s(43477);let m=async t=>{try{a&&a.cancel("Operation canceled due to new request."),a=p.A.CancelToken.source();let e=await p.A.get("".concat(h.Ay.serverUrl,"/payment/history"),{headers:{"Content-type":"application/json",Authorization:t},cancelToken:a.token});return null==e?void 0:e.data}catch(t){console.log(t)}};var x=s(53983),v=s(37226),f=s(88963),g=s(19064),b=s(16868),y=s(13526),w=s(86013),j=s(77911),C=s.n(j),N=s(38129),k=s(68658),R=s(84522);let S=new Set(["TRIAL","TRAIL"]),I=new Set(["/","/dashboard"]);var A=s(18916);let E=()=>{let t=(0,N.useRouter)();return(0,k.useEffect)(()=>{let e=t.asPath,s="/sign-in".concat(e?"?redirect_url=".concat(encodeURIComponent(e)):"");t.push(s)},[t]),null},M=function(t){let{children:e,path:s}=t;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(g.iB,{children:[e,(0,i.jsx)(T,{})]}),(0,i.jsx)(g.Bl,{children:(0,i.jsx)(E,{})})]})},T=()=>{let t=(0,N.useRouter)(),{user:e}=(0,b.Jd)(),{getToken:s}=(0,y.d)(),{auth:a}=(0,A.d4)(t=>t.authSlice);(0,b.ho)(),function(t){let e=(0,N.useRouter)();(0,k.useEffect)(()=>{let s;if("off"!==R.env.NEXT_PUBLIC_PAID_GATE&&t)s=e.pathname,I.has(s)&&!function(t){var e;if(!t)return!1;if((null==(e=t.email)?void 0:e.toLowerCase().endsWith("@nxtjob.ai"))||t.novaAccess||t.omegaAccess||t.lmsAccess||t.communityAccess)return!0;let s=String(t.subscriptionType||"").toUpperCase();return!0===t.isPremium&&!S.has(s)}(t)&&window.location.replace("https://trial.nxtjob.ai")},[t,e.pathname])}(a),(0,k.useEffect)(()=>{C().identify(e.id),window.addEventListener("message",async t=>{if(t.source===window&&t.data.from&&"nxtjob"===t.data.from&&"refreshAuth"===t.data.subject&&a){let t=await s(),i=await (0,d.D)({email:null==a?void 0:a.email,photoUrl:null==a?void 0:a.photoUrl},t);if(null==i?void 0:i.data){C().register((0,c.d)(i.data)),C().people.set((0,c.d)(i.data)),C().track(u.v.USER_AUTH,(0,c.d)(i.data)),(0,l.s)(n.z.SIGNUP,(0,c.d)(i.data)),window.posthog.identify(e.id,(0,c.d)(i.data));try{(0,r.Fy)({subject:"saveAuth",data:{token:t,...i.data}})}catch(t){console.error("Failed to send message:",t)}(0,x.JD)((0,v.rj)(i.data))}let o=await m(t);(null==o?void 0:o.data)&&(0,x.JD)((0,f.m)(null==o?void 0:o.data))}})},[a]);let i=async t=>{let{queryKey:a}=t,i=await s();return await (0,d.D)({email:e.primaryEmailAddress.emailAddress,photoUrl:e.profileImageUrl},i)},h=async t=>{let a=await s();localStorage.setItem("auth","true"),C().register((0,c.d)(t)),C().people.set((0,c.d)(t)),C().track(u.v.USER_AUTH,(0,c.d)(t)),(0,l.s)(n.z.SIGNUP,(0,c.d)(t)),window.posthog.identify(e.id,(0,c.d)(t));try{(0,r.Fy)({subject:"saveAuth",data:{token:a,...t}})}catch(t){console.error("Failed to send message:",t)}(0,x.JD)((0,v.rj)(t))};return(0,k.useEffect)(()=>{var e;null!==a&&(null==a||null==(e=a.email)||!e.includes("nxtjob.ai"))&&!(null==a?void 0:a.omegaAccess)&&(t.pathname.includes("omega")||t.pathname.includes("swot")||t.pathname.includes("jobs")||t.pathname.includes("car")||t.pathname.includes("onboarding")||t.pathname.includes("ignite"))&&t.push("/401")},[null==a?void 0:a.omegaAccess,t.pathname]),(0,w.I)(["user-register"],i,{enabled:!a,onSuccess:async e=>{if(e.data){var s,a;(0,x.JD)((0,v.EP)(null));let{refDomain:i}=t.query;if("/onboarding"===t.pathname)return void await h(e.data);if("/navigator"===t.pathname&&(null==(s=e.data)?void 0:s.isProfileIncomplete))return void t.push("/pers
1onalize?flow=navigator");if("/ignite"===t.pathname)return void await h(e.data);if((null==e||null==(a=e.data)?void 0:a.isProfileIncomplete)&&"/personalize"!==t.pathname&&"/ats-check"!==t.pathname&&"/ats-score"!==t.pathname&&i!==o.I.LINKEDIN)return void t.push("/personalize?refDomain=".concat(o.I.HERO,"&refPathName=").concat(t.pathname));await h(e.data)}},onError:t=>{console.error("error",t)}}),null}},86538:(t,e,s)=>{"use strict";s.d(e,{A:()=>a});let a=(0,s(27059).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},95918:(t,e,s)=>{"use strict";s.d(e,{A:()=>a});let a=(0,s(27059).A)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]])},97243:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>f});var a=s(94458),i=s(79328),r=s(13767),n=s(99314),o=s(58843),l=s(86538),c=s(67833),u=s(95918),d=s(43806),h=s(38129),p=s(68658),m=s(18916),x=s(19761);let v=()=>{let[t,e]=(0,p.useState)(""),s=(0,h.useRouter)(),i=(0,d.useSearchParams)().get("email"),[v,f]=(0,p.useState)(!1);(0,p.useEffect)(()=>{if(!(0,r.xl)(s.pathname))return void f(!1);"true"===localStorage.getItem("darkMode")&&f(!0);let t=t=>{(0,r.xl)(s.pathname)&&f(t.detail.isDarkMode)};return window.addEventListener("darkModeChange",t),()=>window.removeEventListener("darkModeChange",t)},[s.pathname]);let{useFetchAllCar:g,useFetchSkills:b,useFetchCompanies:y,useGenerateResume:w,useUpdateNiche:j}=(0,n.T)(),C=(0,m.d4)(t=>t.omegaSlice.carData),N=(0,m.d4)(t=>t.omegaSlice.companies),k=(0,m.d4)(t=>t.omegaSlice.skills),R=(0,m.d4)(t=>t.omegaSlice.activeNiche),{mutate:S,isLoading:I}=w(),{mutate:A}=j();g({email:i,nicheId:null==R?void 0:R.nicheId,enabled:!0}),b({email:i,nicheId:null==R?void 0:R.nicheId}),y({email:i,nicheId:null==R?void 0:R.nicheId});let E=t=>{var e;return null==(e=N.find(e=>e.companyId===t.companyId))?void 0:e.companyName},M=C.filter(e=>{var s;let a=(e.skills||[]).map(t=>{let e=k.find(e=>e.skillId===t);return(null==e?void 0:e.skill)||t}).join(" ").toLowerCase(),i=(null==(s=E(e))?void 0:s.toLowerCase())||"";return a.includes(t.toLowerCase())||i.includes(t.toLowerCase())});return(0,a.jsxs)("div",{className:"flex flex-col w-full h-full ".concat(v?"bg-transparent":"bg-white"),children:[(0,a.jsxs)("div",{className:"flex items-center justify-between px-6 py-3 shrink-0",children:[(0,a.jsxs)("button",{type:"button",onClick:()=>s.push("/car"),className:"flex items-center gap-1.5 text-sm font-medium transition-colors ".concat(v?"text-white/50 hover:text-white/80":"text-gray-500 hover:text-gray-700"),children:[(0,a.jsx)(l.A,{className:"w-4 h-4"}),"Go Back"]}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(c.A,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 ".concat(v?"text-white/30":"text-gray-400")}),(0,a.jsx)("input",{type:"text",placeholder:"Search by skill or company...",value:t,onChange:t=>e(t.target.value),className:"py-2 pr-3 pl-9 w-64 text-sm rounded-lg border focus:outline-none focus:ring-2 transition-colors ".concat(v?"bg-white/[0.03] border-white/10 text-white placeholder:text-white/25 focus:ring-[#0D5CDF]/30 focus:border-[#0D5CDF]/40":"bg-white border-gray-200 text-gray-700 placeholder:text-gray-400 focus:ring-[#0D5CDF]/20 focus:border-[#0D5CDF]/30")})]})]}),(0,a.jsx)("div",{className:"flex-1 overflow-auto px-6 min-h-0 relative z-0",children:(0,a.jsxs)("table",{className:"min-w-full border-collapse table-fixed",children:[(0,a.jsxs)("colgroup",{children:[(0,a.jsx)("col",{style:{width:"10%"}}),(0,a.jsx)("col",{style:{width:"18%"}}),(0,a.jsx)("col",{style:{width:"18%"}}),(0,a.jsx)("col",{style:{width:"18%"}}),(0,a.jsx)("col",{style:{width:"12%"}}),(0,a.jsx)("col",{style:{width:"24%"}})]}),(0,a.jsx)("thead",{className:"sticky top-0 z-10",children:(0,a.jsx)("tr",{children:["Company","Challenge","Action","Result","Skills","Re
1sume Statement"].map(t=>(0,a.jsx)("th",{className:"py-3 px-3 text-left text-xs font-medium border ".concat(v?"text-white/50 bg-white/[0.03] border-white/10":"text-gray-500 bg-gray-50 border-gray-200"),children:(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)("span",{className:v?"text-white/30":"text-gray-400",children:"â"}),t]})},t))})}),(0,a.jsx)("tbody",{children:0===M.length?(0,a.jsx)("tr",{children:(0,a.jsx)("td",{colSpan:6,className:"py-16 text-center border ".concat(v?"border-white/10":"border-gray-200"),children:(0,a.jsx)("p",{className:"text-sm ".concat(v?"text-white/30":"text-gray-400"),children:"No CAR statements found"})})}):M.map((t,e)=>{var s;let i=v?"border-white/10":"border-gray-200";return(0,a.jsxs)("tr",{className:"group transition-colors duration-150 ".concat(v?"hover:bg-white/[0.015]":"hover:bg-gray-50/50"),children:[(0,a.jsx)("td",{className:"py-3 px-3 align-top text-sm font-medium border ".concat(i," ").concat(v?"text-white/70":"text-gray-700"),children:E(t)||"-"}),(0,a.jsx)("td",{className:"py-3 px-3 align-top text-sm leading-relaxed border ".concat(i," ").concat(v?"text-white/60":"text-gray-600"),children:t.challenge||"-"}),(0,a.jsx)("td",{className:"py-3 px-3 align-top text-sm leading-relaxed border ".concat(i," ").concat(v?"text-white/60":"text-gray-600"),children:t.action||"-"}),(0,a.jsx)("td",{className:"py-3 px-3 align-top text-sm leading-relaxed border ".concat(i," ").concat(v?"text-white/60":"text-gray-600"),children:t.result||"-"}),(0,a.jsx)("td",{className:"py-3 px-3 align-top border ".concat(i),children:(null==(s=t.skills)?void 0:s.length)>0?(0,a.jsx)("div",{className:"flex flex-wrap gap-1",children:t.skills.map((e,s)=>{let i=k.find(t=>t.skillId===e),r=t.primarySkill===e;return(0,a.jsx)("span",{className:"inline-flex items-center px-2 py-0.5 text-[11px] font-medium rounded-sm ".concat(r?"text-white bg-[#0D5CDF]":v?"bg-white/[0.06] text-white/60 border border-white/10":"bg-gray-100 text-gray-600"),children:null==i?void 0:i.skill},s)})}):(0,a.jsx)("span",{className:"text-sm ".concat(v?"text-white/30":"text-gray-400"),children:"-"})}),(0,a.jsx)("td",{className:"py-3 px-3 align-top text-sm leading-relaxed border ".concat(i," ").concat(v?"text-white/70":"text-gray-700"),children:(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:t.resumeStatement||"-"}})})]},t.carId||e)})})]})}),(0,a.jsx)("div",{className:"flex justify-center py-3 shrink-0 border-t ".concat(v?"border-white/[0.06] bg-[#020420]":"border-gray-100 bg-white"),children:(0,a.jsxs)("button",{type:"button",onClick:()=>{S({email:i,nicheId:null==R?void 0:R.nicheId},{onSuccess:t=>{A({...R,isCarCompleted:!0},{onSettled:()=>{s.push("".concat(o.Ay.resumeUrl,"/").concat(null==t?void 0:t.resumeId))}})}})},disabled:I,className:"relative flex items-center gap-2 px-5 py-2 text-sm font-medium text-white bg-[#0D5CDF] rounded-sm hover:bg-[#0B4FBF] transition-colors disabled:opacity-50",children:[(0,a.jsx)(u.A,{className:"w-4 h-4 ".concat(I?"opacity-50":"")}),(0,a.jsx)("span",{className:I?"opacity-50":"",children:"Generate Resume"}),I&&(0,a.jsx)("div",{className:"flex absolute inset-0 justify-center items-center",children:(0,a.jsx)(x.A,{className:"text-white"})})]})})]})},f=()=>(0,a.jsx)(i.A,{children:(0,a.jsx)("div",{className:"flex flex-row w-full h-full",children:(0,a.jsx)(v,{})})})}},t=>{t.O(0,[2103,6013,3452,636,6593,8792],()=>t(t.s=4818)),_N_E=t.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.