1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[3321],{95997(e,n,s){s.d(n,["A",0,{root:"U1R9t",defaultZIndex:"suUaC",backdrop:"nDKmM",content:"_3y313",light:"HPlah"}])},13291(e,n,s){var a=s(33575),o=s.n(a),l=s(91069),c=s(38744);const t=o()({actual:null,inbox:null,invited:null,considered:null,declined:null,archive:null}),i={[t.inbox]:{icon:"mail_outline",label:"ÐÑпÑавлено",color:"gray"},[t.invited]:{icon:"check_circle_outline",color:"green",label:"ÐÑиглаÑение"},[t.considered]:{icon:"time_outline",color:"gray",label:"ÐÑоÑмоÑÑено"},[t.declined]:{icon:"cancel_circle_outline",color:"red",label:"ÐÑказ"}},r=[{label:"ÐкÑÑалÑнÑе",name:t.actual,value:t.actual},{label:"Ðа ÑаÑÑмоÑÑении",name:t.considered,value:t.considered},{label:"ÐÑиглаÑениÑ",name:t.invited,value:t.invited},{label:"ÐÑÑ
ив",name:t.archive,value:t.archive}],u=[0,20],d=[10];l.A,c.Ay.resumeCreate;s.d(n,["Ci",0,"f-test-response-resume_rejected-new","DF",0,r,"NH",0,d,"OL",0,"f-test-responseInvite-new","Xv",0,{value:"allResumes",label:"ÐÑе ÑезÑме"},"ir",0,u,"mv",0,t,"up",0,i,"xO",0,["resumeApplications.vacancyResponse.status","resumeApplications.vacancyResponse.chat.unreadMessageCounter","resumeApplications.vacancyResponse.vacancy.company.logo","resumeApplications.vacancyResponse.vacancy.mainInfo","resumeApplications.vacancyResponse.vacancy.applicantInfo.speedIndexes","resumeApplications.vacancyResponse.vacancy.companyInfo","resumeApplications.vacancyResponse.vacancy.survey.questions.answers","resumeApplications.vacancyResponse.vacancy.survey.questions.questionType","resumeApplications.vacancyResponse.vacancy.publishedStatus","resumeApplications.vacancyResponse.vacancy.contactInfo.contacts.phoneInfo","resumeApplications.vacancyResponse.cvApplicationType.responseType","resumeApplications.vacancyResponse.similarVacancyInfo","resumeApplications.vacancyResponse.resume","resumeApplications.companyResponse.company.contacts.phoneInfo","resumeApplications.companyResponse.resume","resumeApplications.companyResponse.resumeLetter","resumeApplications.companyResponse.chat.status","resumeApplications.companyResponse.chat.unreadMessageCounter","resumeApplications.companyResponse.hrUser.contacts.phoneInfo","resumeApplications.companyResponse.hrUser.avatar"]])},3321(e,n,s){s.r(n),s.d(n,{default:function(){return H}});var a=s(63696),o=s(85022),l=s(62873),c=s(84175),t=s.n(c),i=s(22536),r=s(86489),u=s(38744),d=s(30400),p=s(9379),v=s(45859),m=s(48169),y=s(44264),A=s(69283),h=s(17635),C=s(33610),I=s(32928),f=s(98450),_=s(37043),b=s(70031),R=s(153),g=s(83672),N=s(1461),L=s(11868),M=s(15786);const T=e=>{let n=e.vacancyId;const s=(0,o.d4)(p.AS),l=s.isHr,c=s.isApplicant,t=(0,o.d4)(M.y),i=(0,a.useMemo)(()=>!!t.find(e=>{let s=e.vacancy;return n===(null==s?void 0:s.id)}),[t,n]),r=(0,o.d4)(e=>e.pageInfo.searchId),u=(0,a.useMemo)(()=>l?{action:g.A.tap,value:{mode:R.A[N.A.call].applicant_authorization}}:c?i?{action:g.A.tap,value:{mode:R.A[N.A.call].display_contacts},searchId:r||""}:{action:g.A.action,value:{mode:R.A[N.A.call].send_resume},searchId:r||""}:{action:g.A.tap,value:{mode:R.A[N.A.call].mini_resume},searchId:r||""},[c,l,i,r]);return(0,L.z)({nodeValue:N.A.call,implicitEventParams:u}).analyticsEventSourceRef};
1var k=s(95997),x=s(66600),O=s(80691),S=s(91069),V=s(52524),P=s(77674),D=s(62540);const w=(0,P.A)({getModalParams:e=>({id:r.Ay.VACANCY_CONTACTS_MODAL,modalKey:e.vacancyId})})((0,l.Ay)({resolved:{},chunkName:()=>"VacancyContactsModal",isReady(e){const n=this.resolve(e);return!0===this.resolved[n]&&!!s.m[n]},importAsync:()=>Promise.all([s.e(81910),s.e(97464)]).then(s.bind(s,89343)),requireAsync(e){const n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(e=>(this.resolved[n]=!0,e))},requireSync(e){const n=this.resolve(e);return s(n)},resolve:()=>89343},{fallback:(0,D.jsx)(V.VI,{}),ssr:!1})),E="tN40z",j=(0,l.Ay)({resolved:{},chunkName:()=>"VacancyContactsPopup",isReady(e){const n=this.resolve(e);return!0===this.resolved[n]&&!!s.m[n]},importAsync:()=>Promise.all([s.e(81910),s.e(76941)]).then(s.bind(s,7169)),requireAsync(e){const n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(e=>(this.resolved[n]=!0,e))},requireSync(e){const n=this.resolve(e);return s(n)},resolve:()=>7169}),q=r.Ay.VACANCY_CONTACTS_MODAL;function z(e){var n;const s=(0,o.wA)(),l=e.vacancyId,c=e.searchContext,r=e.placementLabel,f=e.disableContactsAutoOpening,_=e.onVacancyContactsButtonClick,R=e.isMobile,g=e.stretched,N=e.className,L=e.onClick,M=e.size,V=e.color,P=T({vacancyId:l}),z=(0,a.useMemo)(v.Kd,[]),B=(0,o.d4)(e=>z(e,{id:l})),H=(0,b.A)(`${i.A.VACANCY_CONTACTS_LOADER_ID_}${l}`),K=(0,o.d4)(p.Hb.getCurrentAuth),U=K.isAuthorized,F=K.isApplicant,Y=(0,o.d4)(e=>e.localStorage.showContactsVacancyId),$=!F&&R,G=F&&!R,Q=F&&R,X=null==B||null===(n=B.contactAvailability)||void 0===n?void 0:n.phoneNumbers,Z=(null==X?void 0:X.length)&&X[0]||"ÐозвониÑÑ",J=Boolean(!f&&G&&Y===l),W=Boolean(B);(0,a.useEffect)(()=>{l&&W&&Q&&Y===l&&s((0,m.to)({id:q,modalKey:l}))},[s,l,W,Y,Q]);const ee=(0,a.useCallback)(()=>{const e=(c||{}).searchId;return(0,C.Gr)({...I.AF,...U?{}:{category:"vacancy"},property:r,value:l,...e?{searchId:e}:{}}),s((0,A.L)({id:l,isOpenContacts:!0,caller:`VacancyContactsButton=${r||""}`})),L&&L(),_&&_({vacancyId:l}),s((0,y.v)({vacancyId:l}))},[c,U,r,l,s,L,_]),ne=(0,a.useMemo)(()=>{const e=$?{as:S.A,routeName:u.Ay.showContactsFormPage,rel:"nofollow",routeParams:{vacancyId:l}}:{};return(0,D.jsx)("div",{ref:P,className:N,children:(0,D.jsx)(O.default,{variant:"outline",label:Z,stretch:g,size:M,color:V,inProgress:H,onClick:ee,...e})})},[P,N,V,ee,g,H,$,l,M,Z]),se=(0,a.useCallback)(()=>{s((0,h.showContactsVacancy)(null))},[s]),ae=(0,a.useCallback)(()=>G?(0,D.jsx)(x.A,{margin:"1",className:E,children:(0,D.jsx)(j,{vacancyId:l,placementLabel:r,contactsButtonText:"ÐонÑакÑÑ",onClose:se})}):null,[G,l,r,se]);if(!B)return null;return(0,d.S)(B)?null:G?(0,D.jsx)(t(),{absolute:!0,color:"grayTransparent",stretched:g,offset:3,renderContent:ae,outsideClickIgnoreClass:k.A.root,isActive:J,placement:"topCenter",onClose:se,children:ne}):(0,D.jsxs)(D.Fragment,{children:[ne,Q&&(0,D.jsx)(w,{isMobile:R,vacancyId:l,placementLabel:r})]})}const B=(0,_.A)((0,a.memo)(z),{sourceId:f.rM}),H=(0,a.memo)(B)},15786(e,n,s){var a=s(24885),o=s(147),l=s(13291),c=s(67048);const t=(0,a.Mz)([e=>c.C3.getList(e,o.A.CV_APPLICATIONS)],e=>e.map(e=>{var n,s,a,o,c,t,i,r,u,d,p,v;const m=(null===(n=e.resumeApplications)||void 0===n?void 0:n[0])||{},y=m.vacancyResponse,A=m.companyResponse,h=null==y?void 0:y.vacancy,C=null==A?void 0:A.company,I=(null==y||null===(s=y.resume)||void 0===s?void 0:s.id)||(null==A||null===(a=A.resume)||void 0===a?void 0:a.id),f=(null==y?void 0:y.createdAt)||(null==A?void 0:A.createdAt),_=(null==y||null===(o=y.status)||void 0===o?void 0:o.key)||l.mv.invited,b=null==h||null===(c=h.mainInfo)||void 0===c?void 0:c.profession,R=(null==h||null===(t=h.company)||void 0===t?void 0:t.title)||(null==C?void 0:C.title),g=null==h||null===(i=h.company)||void 0===i?void 0:i.logo,N=null==h?void 0:h.companyInfo,L=null!=N&&N.isAnonymous?N.id:(null==h||null===(r=h.company)||void 0===r?void 0:r.id)||(null==C?void 0:C.id),M=null==h||null===(u=h.publishedStatus)||void 0===u?void 0:u.key,T=null==y||null===(d=y.cvApplicationType)||void 0===d||null===(d=d.responseType)||void 0===d?void 0:d.key,k=(y||A||{}).chat||{},x=k.id,O=k.unreadMessageCounter,S=(null==y?void 0:y.hasNewEvents)||!(null==O||!O.totalMessages),V=null==y?void 0:y.similarVacancyInfo,P=(null==y||null===(p=y.resume)||void 0===p?void 0:p.position)||(null==A||null===(v=A.resume)||void 0===v?void 0:v.position),D=null==h?void 0:h.survey,w=null==N?void 0:N.isAnonymous,E=null==N?void 0:N.scope;return{id:e.id,createdAt:f,hasNewEvents:S,status:_,profession:b,companyId:L,companiesTitle:R,companiesLogo:g,vacancyPublishedStatus:M,responseType:T,chatId:x,contactInfo:null==h?void 0:h.contactInfo,similarVacancyInfo:V,vacancy:h,resumeId:I,resumePosition:P,surveyId:null==D?void 0:D.id,surveyQuestions:null==D?void 0:D.questions,isAnonymous:w,scope:E}}));s.d(n,["y",0,t])}}]);
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.