PageSourceSearch

https://xyrus.ai/_next/static/chunks/7638-0a2145dedaf64d87.js

js xyrus.ai collected 2026-10-05 15:08:49 UTC 25,620 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7638],{19395:(e,t,o)=>{o.d(t,{S:()=>a});function a(e){var t,o;return((null==e||null==(o=e.documents)||null==(t=o.resume)?void 0:t.length)||0)>0}},27638:(e,t,o)=>{o.d(t,{MW:()=>p,oA:()=>f,_l:()=>w,zb:()=>g,cJ:()=>m,Og:()=>S,qs:()=>y,Sh:()=>x,fo:()=>C,zV:()=>E,_f:()=>D});var a=o(12115),n=o(95467),r=o(41180),i=o(75358),s=o(99429);function l(e){return{...e}}var d=o(19395),c=o(18720),u=o(95621),h=o(60919);let m=new n.B,g=new n.B,p=new n.B,w=new n.B,S=new n.B,y=new n.B,D=new n.B,E=new n.B,f=new n.B,C=new n.B;function x(e){let{candidateId:t}=e,[n,g]=(0,a.useState)(""),[x,A]=(0,a.useState)(null),[T,v]=(0,a.useState)([]),[L,I]=(0,a.useState)(null),[N,P]=(0,a.useState)([]),[R,k]=(0,a.useState)(null),[_,M]=(0,a.useState)([]),[F,O]=(0,a.useState)(null),[b,B]=(0,a.useState)([]),[q,W]=(0,a.useState)(0),[U,H]=(0,a.useState)(null),{data:V,isLoading:K,error:G,isSuccess:j,execute:Y}=(0,i.sO)(s.Sn.CANDIDATES.BY_ID(t),{queryKey:["candidate-details",t],queryFn:async()=>{let{query:e}=await Promise.resolve().then(o.bind(o,95621));return e(s.Sn.CANDIDATES.BY_ID(t))},onError:e=>{}}),{data:X,isLoading:J,error:z,execute:Q}=(0,i.sO)(s.Sn.CANDIDATES.NOTES.PAGINATED_LIST(t,0,10),{queryKey:["xqtiv-notes",t],queryFn:async()=>{let{query:e}=await Promise.resolve().then(o.bind(o,95621));return e(s.Sn.CANDIDATES.NOTES.PAGINATED_LIST(t,0,10))},onError:e=>{let t=(null==e?void 0:e.message)||"Failed to load XQtiv notes";I(t),c.oR.error("XQtiv Notes Error",{description:t})}}),{data:Z,isLoading:$,error:ee,execute:et}=(0,i.sO)(s.Sn.CANDIDATES.NOTES.CLIENT_NOTES_PAGINATED_LIST(t,0,10),{queryKey:["client-notes",t],queryFn:async()=>{let{query:e}=await Promise.resolve().then(o.bind(o,95621));return e(s.Sn.CANDIDATES.NOTES.CLIENT_NOTES_PAGINATED_LIST(t,0,10))},onError:e=>{let t=(null==e?void 0:e.message)||"Failed to load Client notes";k(t),c.oR.error("Client Notes Error",{description:t})}}),{data:eo,isLoading:ea,error:en,execute:er}=(0,i.sO)(s.Sn.CANDIDATES.SIMILAR_PROFILES(t,20),{queryKey:["similar-profiles",t],queryFn:async()=>{let{query:e}=await Promise.resolve().then(o.bind(o,95621));return e(s.Sn.CANDIDATES.SIMILAR_PROFILES(t,20))},onError:e=>{let t=(null==e?void 0:e.message)||"Failed to load Similar profiles";O(t),c.oR.error("Similar Profiles Error",{description:t})}}),{data:ei,isLoading:es,error:el,execute:ed}=(0,i.sO)(s.Sn.CANDIDATES.CCM_SCORES(t,3),{queryKey:["ccm-engagements",t],queryFn:async()=>{let{query:e}=await Promise.resolve().then(o.bind(o,95621));return e(s.Sn.CANDIDATES.CCM_SCORES(t,3))},onError:e=>{let t=(null==e?void 0:e.message)||"Failed to load Role Match engagements";H(t),c.oR.error("Role Match Engagements Error",{description:t})}}),{mutate:ec,isPending:eu,error:eh}=(0,i.L2)({method:"put",url:s.Sn.CANDIDATES.UPDATE_CANDIDATE(t)}),{mutate:em,isPending:eg,error:ep}=(0,i.L2)({method:"put",url:s.Sn.CANDIDATES.PROFILE_PICTURE(t)}),ew=async e=>new Promise((t,o)=>{ec({data:e},{onSuccess:async()=>{try{let o=await Y(),a=l(o);A(a),void 0!==e.awards&&(null==a?void 0:a.awards)&&p.next({content:e.awards,lastUpdated:new Date().toISOString(),isAIGenerated:!1}),void 0!==e.compensation&&(null==a?void 0:a.compensation)&&w.next({content:e.compensation,lastUpdated:new Date().toISOString(),isAIGenerated:!1}),void 0!==e.motivating_factors&&(null==a?void 0:a.motivatingFactors)&&S.next({content:e.motivating_factors,lastUpdated:new Date().toISOString(),isAIGenerated:!1}),t()}catch(e){o(e)}},onError:e=>{o(e)}})}),eS=async e=>new Promise((t,o)=>{let a=new FormData;a.append("profile_picture",e),em({data:a,config:{headers:{"Content-Type":"multipart/form-data"}}},{onSuccess:async e=>{try{let o=await Y(),a=l(o);A(a),t(e.profile_picture_url)}catch(e){o(e)}},onError:e=>{o(e)}})}),{mutate:ey,isPending:eD,error:eE}=(0,i.L2)({method:"post",url:s.Sn.CANDIDATES.UPLOAD_DOCUMENT(t,"resume")}),ef=async e=>new Promise((o,a)=>{let n=new FormData;n.append("file",e.file),ey({url:s.Sn.CANDIDATES.UPLOAD_DOCUMENT(t,e.documentType),data:n,config:{headers:{"Content-Type":"multipart/form-data"}}},{onSuccess:async()=>{try{let e=await Y(),t=l(e);if(null==t?void 0:t.documents){let e={resume:(t.documents.resume||[]).map(e=>({...e,url:e.url||""})),cvletter:(t.documents.cvletter||[]).map(e=>({...e,url:e.url||""})),others:(t.documents.others||[]).map(e=>({...e,url:e.url||""})),...null!=t.aiFieldsMetaData?{aiFieldsMetaData:t.aiFieldsMetaData}:{}};m.next(e)}o()}catch(o){var e,t;c.oR.error("Upload Failed",{description:o instanceof h.pe?null==o||null==(t=o.response)||null==(e=t.data)?void 0:e.detail:"Failed to upload document. Please try again."}),a(o)}},onError:e=>{var t,o;c.oR.error("Upload Failed",{description:e instanceof h.pe?null==e||null==(o=e.response)||null==(t=o.data)?void 0:t.detail
1:"Failed to upload document. Please try again."}),a(e)}})}),{mutate:eC,isPending:ex,error:eA}=(0,i.L2)({method:"delete",url:s.Sn.CANDIDATES.REMOVE_DOCUMENT(t,"document-id")}),eT=async e=>new Promise((o,a)=>{eC({url:s.Sn.CANDIDATES.REMOVE_DOCUMENT(t,e.documentId)},{onSuccess:async()=>{try{let e=await Y(),t=l(e);if(null==t?void 0:t.documents){let e={resume:(t.documents.resume||[]).map(e=>({...e,url:e.url||""})),cvletter:(t.documents.cvletter||[]).map(e=>({...e,url:e.url||""})),others:(t.documents.others||[]).map(e=>({...e,url:e.url||""})),...null!=t.aiFieldsMetaData?{aiFieldsMetaData:t.aiFieldsMetaData}:{}};m.next(e)}o()}catch(e){a(e)}},onError:e=>{a(e)}})}),{mutate:ev,isPending:eL,error:eI}=(0,i.L2)({method:"post",url:s.Sn.CANDIDATES.NOTES.CREATE(t)}),eN=async e=>new Promise((t,o)=>{let a={title:e.title,content:e.content},n=new FormData;n.append("note_input",JSON.stringify(a)),e.file&&n.append("file",e.file),ev({data:n,config:{headers:{"Content-Type":"multipart/form-data"}}},{onSuccess:async()=>{try{let e=await Y(),o=l(e);A(o),o.xqtivSummary&&D.next(o.xqtivSummary);try{await tm()}catch(e){}t()}catch(e){o(e)}},onError:e=>{var t,a;let n=e instanceof h.pe?null==e||null==(a=e.response)||null==(t=a.data)?void 0:t.detail
1:"Failed to create note";c.oR.error("Create Note Failed",{description:n}),o(e)}})}),{mutate:eP,isPending:eR,error:ek}=(0,i.L2)({method:"put",url:s.Sn.CANDIDATES.NOTES.UPDATE(t,"note-id")}),{mutate:e_,isPending:eM,error:eF}=(0,i.L2)({method:"delete",url:s.Sn.CANDIDATES.NOTES.DELETE(t,"note-id")}),{mutate:eO,isPending:eb,error:eB}=(0,i.L2)({method:"post",url:s.Sn.CANDIDATES.WORK_HISTORY.ADD(t)}),{mutate:eq,isPending:eW,error:eU}=(0,i.L2)({method:"put",url:s.Sn.CANDIDATES.WORK_HISTORY.UPDATE(t,"work-id")}),{mutate:eH,isPending:eV,error:eK}=(0,i.L2)({method:"post",url:s.Sn.CANDIDATES.WORK_HISTORY.REFRESH(t)}),{mutate:eG,error:ej}=(0,i.L2)({method:"delete",url:s.Sn.CANDIDATES.WORK_HISTORY.DELETE(t,"work-id")}),{mutate:eY,isPending:eX,error:eJ}=(0,i.L2)({method:"post",url:s.Sn.CANDIDATES.BULK_RST(t)}),{mutate:ez,isPending:eQ,error:eZ}=(0,i.L2)({method:"post",url:s.Sn.CANDIDATES.ADD_RST(t,"rst-id")}),{mutate:e$,isPending:e0,error:e1}=(0,i.L2)({method:"post",url:s.Sn.CANDIDATES.INVITE(t)}),{mutate:e5,isPending:e2,error:e4}=(0,i.L2)({method:"delete",url:s.Sn.CANDIDATES.UNLINK_RST(t,"rst-id")}),{mutate:e9,isPending:e6,error:e3}=(0,i.L2)({method:"post",url:s.Sn.CANDIDATES.RESET_RST(t,"rst-id")}),{mutate:e7,isPending:e8,error:te}=(0,i.L2)({method:"post",url:s.Sn.CANDIDATES.GENERATE_CANDIDATE_AI(t)}),tt=async(e,o)=>new Promise((a,n)=>{let r={content:o.content};o.title&&(r.title=o.title),o.project_id&&(r.project_id=o.project_id);let i=new FormData;i.append("note_input",JSON.stringify(r)),o.file&&i.append("file",o.file),eP({url:s.Sn.CANDIDATES.NOTES.UPDATE(t,e),data:i,config:{headers:{"Content-Type":"multipart/form-data"}}},{onSuccess:async()=>{try{let e=await Y(),t=l(e);A(t),t.xqtivSummary&&D.next(t.xqtivSummary);try{await tm()}catch(e){}a()}catch(e){n(e)}},onError:e=>{let t=(null==e?void 0:e.message)||"Failed to update note";c.oR.error("Update Note Failed",{description:t}),n(e)}})}),to=async e=>new Promise((o,a)=>{e_({url:s.Sn.CANDIDATES.NOTES.DELETE(t,e)},{onSuccess:async()=>{c.oR.success("Note Deleted",{description:"Note has been deleted successfully"});try{let e=await Y(),t=l(e);A(t),t.xqtivSummary&&D.next(t.xqtivSummary);try{let e=await tm();(null==e?void 0:e.data)&&E.next(e.data)}catch(e){}o()}catch(e){a(e)}},onError:e=>{let t=(null==e?void 0:e.message)||"Failed to delete note";c.oR.error("Delete Note Failed",{description:t}),a(e)}})}),ta=async e=>new Promise((t,o)=>{eO({data:e},{onSuccess:async()=>{try{let e=await Y(),o=l(e);A(o),C.next(o.workHistory),t()}catch(e){o(e)}},onError:e=>{o(e)}})}),tn=async(e,o)=>new Promise((a,n)=>{eq({url:s.Sn.CANDIDATES.WORK_HISTORY.UPDATE(t,e),data:o},{onSuccess:async()=>{try{let e=await Y(),t=l(e);A(t),C.next(t.workHistory),a()}catch(e){n(e)}},onError:e=>{n(e)}})}),tr=async e=>new Promise((o,a)=>{eG({url:s.Sn.CANDIDATES.WORK_HISTORY.DELETE(t,e)},{onSuccess:async()=>{try{let e=await Y(),t=l(e);A(t),C.next(t.workHistory),o()}catch(e){a(e)}},onError:e=>{a(e)}})}),ti=async()=>new Promise((e,t)=>{eH({data:{}},{onSuccess:async()=>{try{let t=await Y(),o=l(t);A(o),C.next(o.workHistory),e()}catch(e){t(e)}},onError:e=>{t(e)}})}),ts=async e=>new Promise((t,o)=>{eY({data:{rst_ids:e}},{onSuccess:async()=>{try{let e=await Y(),o=l(e);A(o),y.next(o.selfAssessment),t()}catch(e){o(e)}},onError:e=>{o(e)}})}),tl=async e=>new Promise((o,a)=>{ez({url:s.Sn.CANDIDATES.ADD_RST(t,e)},{onSuccess:async()=>{try{let e=await Y(),t=l(e);A(t),y.next(t.selfAssessment),o()}catch(e){a(e)}},onError:e=>{a(e)}})}),td=async()=>new Promise((e,t)=>{e$({},{onSuccess:async()=>{try{let t=await Y(),o=l(t);A(o),e()}catch(e){t(e)}},onError:e=>{t(e)}})}),tc=async()=>new Promise((e,t)=>{e7({},{onSuccess:()=>{c.oR.success("Generate Candidate AI",{description:"xyrus match started successfully."}),A(e=>e?{...e,ai_generation_status:"pending"}:e),e()},onError:e=>{let o=(null==e?void 0:e.message)||"Failed to generate candidate AI.";c.oR.error("Generate Candidate AI Failed",{description:o}),t(e)}})}),tu=async e=>new Promise((o,a)=>{e5({url:s.Sn.CANDIDATES.UNLINK_RST(t,e)},{onSuccess:async()=>{try{let e=await Y(),t=l(e);A(t),y.next(t.selfAssessment),o()}catch(e){a(e)}},onError:e=>{a(e)}})}),th=async e=>new Promise((o,a)=>{e9({url:s.Sn.CANDIDATES.RESET_RST(t,e)},{onSuccess:async()=>{try{let e=await Y(),t=l(e);A(t),y.next(t.selfAssessment),o()}catch(e){a(e)}},onError:e=>{a(e)}})});(0,a.useEffect)(()=>{j&&V&&"object"==typeof V&&null!==V&&A(l(V))},[j,V]),(0,a.useEffect)(()=>{X&&"object"==typeof X&&null!==X&&"data"in X&&X.data&&(v(X.data),I(null),E.next(X.data))},[X]),(0,a.useEffect)(()=>{Z&&"object"==typeof Z&&null!==Z&&"data"in Z&&Z.data&&(P(Z.data),k(null),f.next(Z.data))},[Z]),(0,a.useEffect)(()=>{eo&&"object"==typeof eo&&null!==eo&&"data"in eo&&eo.data&&(M(eo.data),O(null))},[eo]),(0,a.useEffect)(()=>{ei&&"object"==typeof ei&&null!==ei&&ei.ccm&&(B(ei.ccm),W(ei.total_records||0),H(null))},[ei]);let tm=async()=>await Q(),tg=async function(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,a=await (0,u.query)(s.Sn.CANDIDATES.NOTES.PAGINATED_LIST(t,e,o));return a&&a.data?a.data:[]},tp=async()=>await et(),tw=async()=>await er(),tS=async()=>await ed(),ty=async function(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,a="".concat(s.Sn.CANDIDATES.CCM_SCORES(t,o),"&skip=").concat(e);return await (0,u.query)(a)},tD=async function(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,a=await (0,u.query)(s.Sn.CANDIDATES.NOTES.CLIENT_NOTES_PAGINATED_LIST(t,e,o));return a&&a.data?a.data:[]},tE=()=>
1{if(!x)return;let e=x.selfAssessment.map(e=>e.id);r.Lx.openDrawer("share-rst",{anchor:"right",width:540,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{candidateId:x.id,linkedRstIds:e,isUpdating:eu,modalDescription:"Select the Competency Matrices you want to share with candidate to evaluate the performance.",onSuccess:async()=>{try{let e=await Y(),t=l(e);A(t),y.next(t.selfAssessment)}catch(e){}},showLoading:(e,t)=>{r.Lx.setModalLoading("share-rst",e,t)}}})},tf=async()=>{x&&r.Lx.openDrawer("xqtiv-summary",{anchor:"right",width:540,fixWidth:!0,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{xqtivSummary:x.xqtivSummary,xqtivNotes:T,candidateId:t,createNote:eN,updateNote:tt,deleteNote:to,isCreatingNote:eL,isUpdatingNote:eR,isDeletingNote:eM,fetchXqtivNotes:tm,loadMoreXqtivNotes:tg}})},tC=x?[{path:"/",label:"xyrus.ai"},{path:"/candidates",label:"Candidates"},{label:"".concat(x.profile.firstName," ").concat(x.profile.lastName),path:"/candidates/".concat(x.id)}]:[{path:"/",label:"xyrus.ai"},{path:"/candidates",label:"Candidates"},{path:"/candidates/".concat(t),label:"Loading..."}];return{candidate:x,isLoading:K,error:(null==G?void 0:G.message)||null,searchQuery:n,setSearchQuery:g,handleEdit:()=>{},handleAddDocument:()=>{x&&r.Lx.openDrawer("documents",{anchor:"right",width:540,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{documents:x.documents,aiFieldsMetaData:x.aiFieldsMetaData,mode:"add",allowTypes:!0,uploadDocument:ef,removeDocument:eT,showLoading:(e,t)=>
1{r.Lx.setModalLoading("documents",e,t)}}})},handleAddCompensation:()=>{x&&r.Lx.openDrawer("compensation",{anchor:"right",width:540,fixWidth:!0,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{compensation:x.compensation,mode:"add",updateCandidate:ew,isUpdating:eu,showLoading:(e,t)=>{r.Lx.setModalLoading("compensation",e,t)}}})},handleEditCompensation:()=>{x&&r.Lx.openDrawer("compensation",{anchor:"right",width:540,fixWidth:!0,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{compensation:x.compensation,mode:"edit",updateCandidate:ew,isUpdating:eu,showLoading:(e,t)=>{r.Lx.setModalLoading("compensation",e,t)}}})},handleAddSectorExpertise:()=>{x&&r.Lx.openDrawer("sector-expertise",{anchor:"right",width:540,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{sectorExpertise:x.sectorExpertise,mode:"add",updateCandidate:ew,isUpdating:eu}})},handleEditSectorExpertise:()=>{x&&r.Lx.openDrawer("sector-expertise",{anchor:"right",width:540,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{sectorExpertise:x.sectorExpertise,mode:"edit",updateCandidate:ew,isUpdating:eu}})},handleAddSkills:()=>{x&&r.Lx.openDrawer("skills",{anchor:"right",width:540,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{skills:x.skills}})},handleAddAwards:()=>{x&&r.Lx.openDrawer("awards",{anchor:"right",width:540,fixWidth:!0,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{awards:x.awards,mode:"add",updateCandidate:ew,isUpdating:eu,showLoading:(e,t)=>
1{r.Lx.setModalLoading("awards",e,t)}}})},handleEditAwards:()=>{x&&r.Lx.openDrawer("awards",{anchor:"right",width:540,fixWidth:!0,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{awards:x.awards,mode:"edit",updateCandidate:ew,isUpdating:eu,showLoading:(e,t)=>{r.Lx.setModalLoading("awards",e,t)}}})},handleAddWorkHistory:()=>{x&&r.Lx.openDrawer("work-history",{anchor:"right",width:540,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{workHistory:x.workHistory,mode:"add",hasResume:(0,d.S)(x),addWorkHistory:ta,updateWorkHistory:tn,deleteWorkHistory:tr,isAddingWorkHistory:eb,isUpdatingWorkHistory:eW,refreshWorkHistory:ti,isRefreshingWorkHistory:eV,showLoading:(e,t)=>{r.Lx.setModalLoading("work-history",e,t)}}})},handleAddClientSummary:()=>{x&&r.Lx.openDrawer("client-summary",{anchor:"right",width:540,fixWidth:!0,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{recruiterSummary:x.recruiterSummary,mode:"add"}})},handleAddXqtivSummary:()=>
1{if(!x)return;let e=!!(x.xqtivSummary.content&&x.xqtivSummary.content.trim().length>0),o=!!(x.xqtivSummary.summaries&&x.xqtivSummary.summaries.length>0);r.Lx.openDrawer("xqtiv-summary",{anchor:"right",width:540,fixWidth:!0,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{xqtivSummary:x.xqtivSummary,xqtivNotes:T,mode:e||o?"edit":"add",candidateId:t,createNote:eN,updateNote:tt,deleteNote:to,isCreatingNote:eL,isUpdatingNote:eR,isDeletingNote:eM,fetchXqtivNotes:tm,loadMoreXqtivNotes:tg,closeModal:()=>r.Lx.closeAllModals()}})},handleAddMotivatingFactors:()=>{x&&r.Lx.openDrawer("motivating-factors",{anchor:"right",width:540,fixWidth:!0,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{motivatingFactors:x.motivatingFactors,mode:"add",updateCandidate:ew,isUpdating:eu,showLoading:(e,t)=>{r.Lx.setModalLoading("motivating-factors",e,t)}}})},handleEditMotivatingFactors:()=>{x&&r.Lx.openDrawer("motivating-factors",{anchor:"right",width:540,fixWidth:!0,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{motivatingFactors:x.motivatingFactors,mode:"edit",updateCandidate:ew,isUpdating:eu,showLoading:(e,t)=>
1{r.Lx.setModalLoading("motivating-factors",e,t)}}})},handleAddSelfAssessment:tE,handleViewAllWorkHistory:()=>{x&&r.Lx.openDrawer("work-history",{anchor:"right",width:650,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{workHistory:x.workHistory,hasResume:(0,d.S)(x),addWorkHistory:ta,updateWorkHistory:tn,deleteWorkHistory:tr,isAddingWorkHistory:eb,isUpdatingWorkHistory:eW,refreshWorkHistory:ti,isRefreshingWorkHistory:eV,showLoading:(e,t)=>{r.Lx.setModalLoading("work-history",e,t)}}})},handleViewMoreAIExecutiveSummary:()=>{},handleViewAllAIScores:()=>{x&&r.Lx.openDrawer("ai-match-scores",{anchor:"right",width:540,customContentStyle:{backgroundColor:"white",paddingTop:0},showCloseButton:!1,data:{scores:x.aiMatchScores,specificScoreId:void 0,candidateId:x.id,isUpdating:eu,linkRst:ts,isLinkingRst:eX,linkSingleRst:tl,isLinkingSingleRst:eQ,onSuccess:()=>{Y()}}})},handleViewSpecificAIScore:e=>{x&&r.Lx.openDrawer("ai-match-scores",{anchor:"right",width:540,customContentStyle:{backgroundColor:"white",paddingTop:0},showCloseButton:!1,data:{scores:x.aiMatchScores,specificScoreId:e,candidateId:x.id,isUpdating:eu,linkRst:ts,isLinkingRst:eX,linkSingleRst:tl,isLinkingSingleRst:eQ,onSuccess:()=>{Y()}}})},handleViewAllSelfScores:()=>{x&&r.Lx.openDrawer("self-assessment",{anchor:"right",width:540,customContentStyle:{backgroundColor:"white",paddingTop:0},showCloseButton:!1,data:{scores:x.selfAssessment,specificScoreId:void 0,candidateId:x.id,unlinkRst:tu,resetRst:th,handleAddSelfAssessment:tE,showLoading:(e,t)=>
1{r.Lx.setModalLoading("self-assessment",e,t)},onRefreshSelfAssessment:async()=>{try{let e=await Y(),t=l(e);A(t),y.next(t.selfAssessment)}catch(e){}}}})},handleViewSpecificSelfScore:e=>{x&&r.Lx.openDrawer("self-assessment",{anchor:"right",width:540,customContentStyle:{backgroundColor:"white",paddingTop:0},showCloseButton:!1,data:{scores:x.selfAssessment,specificScoreId:e,candidateId:x.id,unlinkRst:tu,resetRst:th,handleAddSelfAssessment:tE,showLoading:(e,t)=>{r.Lx.setModalLoading("self-assessment",e,t)},onRefreshSelfAssessment:async()=>{try{let e=await Y(),t=l(e);A(t),y.next(t.selfAssessment)}catch(e){}}}})},handleViewAllXqtivSummary:tf,handleViewAllClientSummary:()=>{x&&r.Lx.openDrawer("client-summary",{anchor:"right",width:540,fixWidth:!0,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{recruiterSummary:x.recruiterSummary,clientNotes:N,candidateId:t,fetchClientNotes:tp,loadMoreClientNotes:tD}})},handleViewAllAwards:()=>{x&&r.Lx.openDrawer("awards",{anchor:"right",width:540,fixWidth:!0,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{awards:x.awards,mode:"list",updateCandidate:ew,isUpdating:eu,showLoading:(e,t)=>
1{r.Lx.setModalLoading("awards",e,t)}}})},handleViewAllDocuments:()=>{x&&r.Lx.openDrawer("documents",{anchor:"right",width:540,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{documents:x.documents,aiFieldsMetaData:x.aiFieldsMetaData,allowTypes:!0,uploadDocument:ef,removeDocument:eT,showLoading:(e,t)=>{r.Lx.setModalLoading("documents",e,t)}}})},handleViewAllCompensation:()=>{x&&r.Lx.openDrawer("compensation",{anchor:"right",width:540,fixWidth:!0,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{compensation:x.compensation,mode:"list",updateCandidate:ew,isUpdating:eu,showLoading:(e,t)=>{r.Lx.setModalLoading("compensation",e,t)}}})},handleViewAllMotivatingFactors:()=>{x&&r.Lx.openDrawer("motivating-factors",{anchor:"right",width:540,fixWidth:!0,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{motivatingFactors:x.motivatingFactors,mode:"list",updateCandidate:ew,isUpdating:eu,showLoading:(e,t)=>
1{r.Lx.setModalLoading("motivating-factors",e,t)}}})},handleViewAllSimilarProfiles:()=>{x&&r.Lx.openDrawer("view-all-similar-profiles",{anchor:"right",width:540,customContentStyle:{backgroundColor:"white",paddingTop:0,height:"100vh",display:"flex",flexDirection:"column"},showCloseButton:!1,data:{similarProfiles:_,isLoadingSimilarProfiles:ea,similarProfilesError:en,closeModal:()=>r.Lx.closeAllModals()}})},handleViewAllEngagements:()=>{r.Lx.openDrawer("engagements",{anchor:"right",width:540,customContentStyle:{backgroundColor:"white",paddingTop:0},showCloseButton:!1,data:{engagements:b,totalRecords:q,specificEngagementId:void 0,candidateId:t,isUpdating:eu,loadMoreCcmEngagements:ty,onSuccess:()=>{Y()}}})},handleViewSpecificEngagement:e=>{r.Lx.openDrawer("engagements",{anchor:"right",width:540,customContentStyle:{backgroundColor:"white",paddingTop:0},showCloseButton:!1,data:{engagements:b,totalRecords:q,specificEngagementId:e,candidateId:t,isUpdating:eu,loadMoreCcmEngagements:ty,onSuccess:()=>{Y()}}})},updateCandidate:ew,createPartialUpdatePayload:(e,t)=>({[e]:t}),isUpdating:eu,updateError:(null==eh?void 0:eh.message)||null,uploadDocument:ef,isUploadingDocument:eD,uploadDocumentError:(null==eE?void 0:eE.message)||null,removeDocument:eT,isRemovingDocument:ex,removeDocumentError:(null==eA?void 0:eA.message)||null,handleRemoveDocumentWithConfirmation:(e,t)=>{r.Lx.openDialog("confirmation",{title:"Delete Document",data:{message:"Are you sure you want to delete this document? This action cannot be undone.",confirmText:"Delete",cancelText:"Cancel",onConfirm:async()=>{try{await eT({documentId:e,documentType:t})}catch(t){let e=t instanceof Error?t.message:"Failed to remove document";c.oR.error("Remove Failed",{description:e})}}}})},createNote:eN,isCreatingNote:eL,createNoteError:(null==eI?void 0:eI.message)||null,updateNote:tt,isUpdatingNote:eR,updateNoteError:(null==ek?void 0:ek.message)||null,deleteNote:to,isDeletingNote:eM,deleteNoteError:(null==eF?void 0:eF.message)||null,addWorkHistory:ta,isAddingWorkHistory:eb,addWorkHistoryError:(null==eB?void 0:eB.message)||null,updateWorkHistory:tn,isUpdatingWorkHistory:eW,updateWorkHistoryError:(null==eU?void 0:eU.message)||null,refreshWorkHistory:ti,isRefreshingWorkHistory:eV,refreshWorkHistoryError:(null==eK?void 0:eK.message)||null,deleteWorkHistory:tr,deleteWorkHistoryError:(null==ej?void 0:ej.message)||null,linkRst:ts,isLinkingRst:eX,linkRstError:(null==eJ?void 0:eJ.message)||null,linkSingleRst:tl,isLinkingSingleRst:eQ,linkSingleRstError:(null==eZ?void 0:eZ.message)||null,inviteCandidate:td,isInvitingCandidate:e0,inviteCandidateError:(null==e1?void 0:e1.message)||null,unlinkRst:tu,isUnlinkingRst:e2,unlinkRstError:(null==e4?void 0:e4.message)||null,resetRst:th,isResettingRst:e6,resetRstError:(null==e3?void 0:e3.message)||null,updateProfilePicture:eS,isUpdatingProfilePicture:eg,updateProfilePictureError:(null==ep?void 0:ep.message)||null,fetchCandidateDetails:async()=>{await Y()},breadcrumbs:tC,xqtivNotes:T,isLoadingXqtivNotes:J,xqtivNotesError:(null==z?void 0:z.message)||null,xqtivNotesInitialLoadError:L,fetchXqtivNotes:tm,loadMoreXqtivNotes:tg,clientNotes:N,isLoadingClientNotes:$,clientNotesError:(null==ee?void 0:ee.message)||null,clientNotesInitialLoadError:R,fetchClientNotes:tp,loadMoreClientNotes:tD,similarProfiles:_,isLoadingSimilarProfiles:ea,similarProfilesError:(null==en?void 0:en.message)||null,similarProfilesInitialLoadError:F,fetchSimilarProfiles:tw,ccmEngagements:b,ccmEngagementsTotalRecords:q,isLoadingCcmEngagements:es,ccmEngagementsError:(null==el?void 0:el.message)||null,ccmEngagementsInitialLoadError:U,fetchCcmEngagements:tS,loadMoreCcmEngagements:ty,handleGenerateCandidateAI:tc,isGeneratingCandidateAI:e8,generateCandidateAIError:(null==te?void 0:te.message)||null}}}}]);

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.