1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1122],{31122:(e,r,a)=>{"use strict";a.r(r),a.d(r,{UserProfileInfo:()=>u});var o=a(46595),s=a(27963),i=a(63802),t=a(90278),l=a(30428),n=a(70650),f=a.n(n),c=a(58252);let _={excellent:f().scoreExcellent,high:f().scoreHigh,low:f().scoreLow,medium:f().scoreMedium},u=e=>{let{data:r,shownOnSidebar:a=!1}=e,n=2*Math.PI*65,u=n-r.profile_score/100*n,p=_[(0,c.A3)(r.profile_score)],d=(0,c.C7)(r.profile_score,r.profile_update_date);return(0,o.jsxs)("div",{className:(0,s.$)(f().profile,p,a&&f().sidebarProfile),children:[(0,o.jsxs)("div",{className:f().avatarWrapper,children:[(0,o.jsxs)("div",{className:f().avatarRing,children:[(0,o.jsxs)("svg",{viewBox:"0 0 140 140",className:"transform -rotate-90",children:[(0,o.jsx)("circle",{cx:"70",cy:"70",r:65,fill:"none",stroke:"#e5e7eb",strokeWidth:"10"}),(0,o.jsx)("circle",{cx:"70",cy:"70",r:65,fill:"none",strokeWidth:"10",strokeDasharray:n,strokeDashoffset:u,strokeLinecap:"round"})]}),(0,o.jsx)("div",{className:f().avatar,children:(0,o.jsx)(i.V,{src:r.profile_image_path||(0,l.D)("/avatar.svg"),alt:r.candidate_name,fill:!0,className:f().avatarImg})})]}),(0,o.jsx)("div",{className:f().percentage,children:(0,o.jsxs)("span",{children:[r.profile_score,"%"]})})]}),(0,o.jsx)("h2",{className:f().name,children:r.candidate_name}),!a&&(0,o.jsxs)("p",{className:f().status,children:[d,(0,o.jsx)("a",{href:t.bw.UPDATE_PROFILE,className:f().updateLink,children:"Update Profile"})]}),(0,o.jsx)("div",{className:f().updateButtonContainer,children:(0,o.jsx)("a",{href:t.bw.UPDATE_PROFILE,className:f().updateProfileBtn,children:a?"Go To Profile":"Update Profile"})})]})}},58252:(e,r,a)=>{"use strict";a.d(r,{A3:()=>s,C7:()=>i,ry:()=>l});var o=a(69818);let s=e=>e<o.Y.LOW?"low":e<o.Y.AVERAGE?"medium":e<o.Y.HIGH?"high":"excellent",i=(e,r)=>{if(!r)return e<o.Y.HIGH?"Your Profile is Incomplete":"Your Profile is Complete";let a=l(r);return Math.floor(a/864e5)>o.Z?"Your Profile is Outdated":e<o.Y.HIGH?"Your Profile is Incomplete":`Profile updated ${t(a)}`},t=e=>{let r=Math.floor(Math.floor(e/1e3)/60),a=Math.floor(r/60),o=Math.floor(a/24),s=Math.floor(o/30),i=Math.floor(o/365);return i>0?`${i} year${i>1?"s":""} ago`:s>0?`${s} month${s>1?"s":""} ago`:o>0?`${o} day${o>1?"s":""} ago`:a>0?`${a} hour${a>1?"s":""} ago`:r>0?`${r} minute${r>1?"s":""} ago`:"just now"},l=e=>{if(!e)return 1/0;let r=new Date(e.replace(","," "));return new Date().getTime()-r.getTime()}},69818:(e,r,a)=>{"use strict";a.d(r,{Y:()=>s,Z:()=>o});let o=90;var s=function(e){return e[e.LOW=49]="LOW",e[e.AVERAGE=75]="AVERAGE",e[e.HIGH=90]="HIGH",e}({})},70650:e=>{e.exports={profile:"user-profile-info_profile__Bh13A",avatarWrapper:"user-profile-info_avatarWrapper__3_Lf4",avatarRing:"user-profile-info_avatarRing__yzYKV",avatar:"user-profile-info_avatar__Mg7sU",avatarImg:"user-profile-info_avatarImg__6hyV1",avatarFallback:"user-profile-info_avatarFallback__1vWp8",percentage:"user-profile-info_percentage__EFoXl",name:"user-profile-info_name___ENlT",status:"user-profile-info_status__6OgjQ",updateLink:"user-profile-info_updateLink__bt1Jv",updateButtonContainer:"user-profile-info_updateButtonContainer__PoAQK",updateProfileBtn:"user-profile-info_updateProfileBtn__AtQCM",scoreLow:"user-profile-info_scoreLow__kRltJ",scoreMedium:"user-profile-info_scoreMedium__yqXIM",scoreHigh:"user-profile-info_scoreHigh__eyuDn",scoreExcellent:"user-profile-info_scoreExcellent__Q9CFN",sidebarProfile:"user-profile-info_sidebarProfile__tRhsJ"}}}]);
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.