PageSourceSearch

https://i.hh.kz/build/EmployerRegistrationSurvey-route.75846514beefd832.js

js hh.kz collected 2026-09-25 19:14:36 UTC 31,577 bytes, 3 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="27fdfeb7-796b-49cd-8b04-8b1feb591039",e._sentryDebugIdIdentifier="sentry-dbid-27fdfeb7-796b-49cd-8b04-8b1feb591039")}()}catch(e){}!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var o in n)n.hasOwnProperty(o)&&(e[o]=n[o])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:sentry-js-hh-filter-key":!0})}catch(e){}}(),function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"12fd6fed7c1986f676c8235e8bbe92d7eda1b57d"}}catch(e){}}(),(globalThis.__xhh_LOADABLE_LOADED_CHUNKS__=globalThis.__xhh_LOADABLE_LOADED_CHUNKS__||[]).push([["411"],{243372:function(e,t,n){e.exports=n.p+"static/images/mobile-banner-qr-code__min_6a9af4dea43fcec9.svg"},424414:function(e,t,n){e.exports=n.p+"static/images/mobile-banner-qr-code_jtb__min_0876cc55564e9e60.svg"},785313:function(e,t,n){e.exports=n.p+"static/images/grey-belcart-internetparol__min_60959d5260fb4e02.svg"},108741:function(e,t,n){e.exports=n.p+"static/images/grey-belcart__min_be08fb9ae8eb60de.svg"},997007:function(e,t,n){e.exports=n.p+"static/images/grey-mastercard__min_0759a5b1b607a232.svg"},800728:function(e,t,n){e.exports=n.p+"static/images/grey-visa__min_6ba49ea3f2835414.svg"},926832:function(e,t,n){e.exports=n.p+"static/images/price-cart-empty__min_2a75c0a590e6ca45.webp"},225008:function(e,t,n){e.exports=n.p+"static/images/qr-telegram-applicant-hhru__min_272f6eddf4921b71.webp"},930918:function(e,t,n){e.exports=n.p+"static/images/qr-telegram-applicant-rabotaby__min_6f6170a9a23aa1eb.webp"},682589:function(e,t,n){e.exports=n.p+"static/images/qr-viber-applicant-hhru__min_3665c223b19115cb.webp"},477703:function(e,t,n){e.exports=n.p+"static/images/qr-viber-applicant-rabotaby__min_2edf6b864badb82a.webp"},8251:function(e,t,n){e.exports=n.p+"static/images/qr-vk-applicant-hhru__min_a9d502b34390634e.webp"},421447:function(e,t,n){e.exports=n.p+"static/images/qr-vk-applicant-rabotaby__min_e3832463b1b0e3b5.webp"},74984:function(e,t,n){e.exports=n.p+"static/images/qr-telegram-anonymous-hhru__min_9bc6b25d8d010d99.webp"},783910:function(e,t,n){e.exports=n.p+"static/images/qr-telegram-anonymous-rabotaby__min_57753facc78c6b9f.webp"},726420:function(e,t,n){e.exports=n.p+"static/images/qr-telegram-anonymous-hhru__min_479400fc2bbc83fc.webp"},802673:function(e,t,n){e.exports=n.p+"static/images/qr-telegram-anonymous-rabotaby__min_4c810a6e9006f585.webp"},93882:function(e,t,n){e.exports=n.p+"static/images/qr-telegram-applicant-hhru__min_9fd7510daf8a84f7.webp"},73606:function(e,t,n){e.exports=n.p+"static/images/qr-telegram-applicant-rabotaby__min_19803bff0f5f7753.webp"},823567:function(e,t,n){e.exports=n.p+"static/images/qr-telegram-applicant-hhru__min_5ac7eb0c555ad668.webp"},874715:function(e,t,n){e.exports=n.p+"static/images/qr-telegram-applicant-rabotaby__min_74b57fcde8754ae2.webp"},84922:function(e,t,n){e.exports=n.p+"static/images/qr-viber-applicant-hhru__min_97e09ae7180b700a.webp"},486383:function(e,t,n){e.exports=n.p+"static/images/qr-viber-applicant-rabotaby__min_c849b684b8c4a3a8.webp"},216260:function(e,t,n){e.exports=n.p+"static/images/qr-vk-applicant-hhru__min_c96b4b6809135e24.webp"},265338:function(e,t,n){e.exports=n.p+"static/images/qr-vk-applicant-rabotaby__min_f8e0818ae904f1cb.webp"},925037:function(e,t,n){e.exports=n.p+"static/images/qr-telegram-anonymous-hhru__min_9bc6b25d8d010d99.webp"},29661:function(e,t,n){e.exports=n.p+"static/images/qr-telegram-anonymous-rabotaby__min_880f5e6082ee19df.webp"},92839:function(e,t,n){e.exports=n.p+"static/images/qr-telegram-applicant-hhru__min_1d14cff2bdfae368.webp"},961982:function(e,t,n){e.exports=n.p+"static/images/qr-telegram-applicant-rabotaby__min_6d7e122589c812de.webp"},622667:function(e,t,n){e.exports=n.p+"static/images/qr-viber-anonymous-hhru__min_0869716e5153b033.webp"},976509:function(e,t,n){e.exports=n.p+"static/images/qr-viber-anonymous-rabotaby__min_99960d4ab8e51579.webp"},86484:function(e,t,n){e.exports=n.p+"static/images/qr-viber-applicant-hhru__min_94f5f32136e68536.webp"},227758:function(e,t,n){e.exports=n.p+"static/images/qr-viber-applicant-rabotaby__min_e931e36cf4ea2218.webp"},364246:function(e,t,n){e.exports=n.p+"static/images/qr-vk-anonymous-hhru__min_c966ba515b6234de.webp"},303007:function(e,t,n){e.exports=n.p+"static/images/qr-vk-anonymous-rabotaby__min_dc2a1d356a3b03fd.webp"},605006:function(e,t,n){e.exports=n.p+"static/images/qr-vk-applicant-hhru__min_4bf38e54f13b6f4a.webp"},687468:function(e,t,n){e.exports=n.p+"static/images/qr-vk-applicant-rabotaby__min_29977b7b8e0a806b.webp"},933762:function(e,t,n){e.exports=n.p+"static/images/phone_negotiations__min_859505e163bbc92c.webp"},552777:function(e,t,n){e.exports=n.p+"static/images/salut__min_b82df4c5a2a96310.webp"},418614:function(e,t,n){e.exports=n.p+"static/images/qrCode__min_213d97e036df9128.webp"},61818:function(e,t,n){e.exports=n.p+"static/images/vorobey__min_baecee0231e7ecff.webp"},31743:function(e,t,n){e.exports=n.p+"static/images/bg-mobile__min_13e35374533058fa.webp"},298749:function(e,t,n){e.exports=n.p+"static/images/bg__min_cf80749c32180144.webp"},534153:function(e,t,n){e.exports=n.p+"static/images/mobile__min_49b31b73fd4f5f71.webp"},790929:function(e,t,n){e.exports=n.p+"static/images/desktop__min_fdcaa28486a0a046.webp"},310920:function(e,t,n){e.exports=n.p+"static/images/mobile__min_33314d8c36bf3132.webp"},633518:function(e,t,n){e.exports=n.p+"static/images/bird__min_fab890a84ad6055d.webp"},318914:function(e,t,n){e.exports=n.p+"static/images/header-image__min_58335c7d8b1ec6cf.webp"},734863:function(e,t,n){n.d(t,{Z:()=>h});var o=n(514378),r=n.n(o),a=n(70013),i=n(226453),s=n(951240),l=n(594948),c=n(846192),p=n(468444);const m="link--MDMmZXqeMB0d3cZF",u="logo--s8_jg71hgDMkSug2",d="hh-logo--LI1tV_Akck0Ut09x",y="rabota-logo--MyPX9R91yk0Lv68s",g="zarplata-logo--JSAFbVvjH6Q3lCIP";var f=n(606179);const b={[p.FW.Applicant]:i.Z.indexPage,[p.FW.Employer]:i.Z.anonymousEmployer},x=({linkDisabled:e})=>{const t=(0,l.v)(e=>{var t;return null!==(t=e.anonymousUserType)&&void 0!==t?t:p.FW.Applicant}),n=(0,s.r)(),o=(0,c.do)(),i=(0,c.$w)(),x=(0,f.jsx)("div",{className:r()(u,{[d]:n,[y]:o,[g]:i})});return e?x:(0,f.jsx)(a.u,{to:b[t],className:m,children:x})};x.displayName="Header/HeaderLogo/index/HeaderLogo";const h=x},650335:function(e,t,n){n.d(t,{g:()=>i});var o=n(787953),r=n(594948);const a={"image/jpeg":[".jpg",".jpeg"],"image/png":[".png"],"application/pdf":[".pdf"],"application/msword":[".doc"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":[".docx"]},i=()=>{const e=(0,r.v)(e=>e.employerDocumentsSettings);return(0,o.useMemo)(()=>e.allowedMimeTypes.reduce((t,n)=>(e.allowedMimeTypes.includes(n)&&(t[n]=a[n]),t),{}),[e.allowedMimeTypes])}},523768:function(e,t,n){n.d(t,{Z:()=>x});var o=n(892068),r=n.n(o),a=n(977403),i=n(239731),s=n(43505),l=n(606179);const c="employerDocuments.err.notificationUploadError",p=({trls:e,removeNotification:t,...n})=>(0,l.jsx)(i.A,{"data-qa":"employer-documents-notification-upload-error",addon:(0,l.jsx)(s.L1_,{initialColor:"negative"}),showClose:!0,onClose:t,...n,children:e[c]});p.displayName="EmployerDocuments/notifications/UploadedErrorNotification/UploadedErrorNotificationComponent";const m=(0,a.x)(p),u="employerDocuments.upload.success.long.exp",d=({trls:e,removeNotification:t,...n})=>(0,l.jsx)(i.A,{"data-qa":"employer-documents-notification-uploaded-ok",addon:(0,l.jsx)(s.lot,{initialColor:"positive"}),showClose:!0,onClose:t,...n,children:e[u]});d.displayName="EmployerDocuments/notifications/UploadedSuccessNotification/UploadedSuccessNotificationComponent";const y=(0,a.x)(d);var g=n(615026),f=n(255717);let b=0;const x=(e,t)=>async n=>{if(!e.files||0===e.files.length)return;let o=0;await Promise.all(e.files.map(async t=>{const a=`tmp${b+=1}`;let i;n((0,g.PV)({id:a,fileName:t.name,pending:!0,created:Date.now()}));try{i=(await f._i.postFormData("/employer/documents/add",{file:t,...e.params})).data}catch(e){var s;const t={limit_reached:g.OP.LimitReached,bad_file_type:g.OP.BadFileType,file_too_large:g.OP.FileTooLarge,bad_change_time_format:g.OP.BadChangeTime,change_time_before_min:g.OP.BadChangeTime,change_time_after_max:g.OP.BadChangeTime,PARAM_EXCEPTION:g.OP.NoChangeType}[(null===(s=e.response)||void 0===s||null===(s=s.data)||void 0===s||null===(s=s.errors)||void 0===s||null===(s=s[0])||void 0===s?void 0:s.reason)||""]||g.OP.OtherError;return r().sendHHEvent("upload_employer_document_error",{error:t}),void n((0,g.Wn)({id:a,props:{error:t,pending:!1}}))}o+=1,n((0,g.Wn)({id:a,props:{...i.data,pending:!1}})),r().sendHHEvent("employer_document_uploaded")}));const a=o===e.files.length;return t(a?y:m),a}},784467:function(e,t,n){n.d(t,{h:()=>i});var o=n(787953),r=n(723112),a=n(207140);const i=({inputValue:e,onBlurSaveFirstValue:t,onAutoSelect:n}={})=>(0,o.useMemo)(()=>(0,a.I1)("/shards/employer/vacancies/get_vacancy_name_typesuggest","",r.Z,a.iQ,{inputValue:e,onBlurSaveFirstValue:t,onAutoSelect:n}),[e,n,t])},540977:function(e,t,n){n.d(t,{n:()=>c});var o=n(787953),r=n(121944),a=n.n(r),i=n(255717);const s={},l="parse_error",c=({url:e,valueParam:t="value",onParseBegin:n,onParseEnd:r})=>{const c=(0,o.useRef)(n),p=(0,o.useRef)(r),m=(0,o.useRef)(),u=(0,o.useCallback)(()=>{var e;return null===(e=m.current)||void 0===e?void 0:e.call(m)},[]),d=(0,o.useCallback)(async n=>{if(u(),c.current({value:n}),!n)return void p.current({value:n,parts:s});const o=new(a().CancelToken)(e=>{m.current=e}),r=n;return i._i.post(e,{[t]:n},{cancelToken:o}).then(({data:e})=>{const{value:t,...n}=e;p.current({base:r,value:t,parts:n})},e=>{var t,n,o;if(!i._i.isCancel(e))return p.current({value:r,error:(null==e||null===(t=e.response)||void 0===t||null===(t=t.data)||void 0===t?void 0:t.error)||l,parts:{...null==e||null===(n=e.response)||void 0===n?void 0:n.data}}),(null==e||null===(o=e.response)||void 0===o||null===(o=o.data)||void 0===o?void 0:o.error)||l;p.current({value:r,parts:s,isCancel:!0})})},[u,e,t]);return(0,o.useEffect)(()=>{c.current=n,p.current=r},[n,r]),{startParse:d,stopParse:u}}},721072:function(e,t,n){n.r(t),n.d(t,{default:()=>on});var o=n(456146),r=n(977403),a=n(312585),i=n(808607),s=n(694847),l=n(678305),c=n(342253),p=n(390308),m=n(734863),u=n(787953),d=n(86880),y=n(776921),g=n(322815),f=n(390506),b=n(251064),x=n(821876),h=n.n(x),v=n(944919),_=n.n(v),E=n(822044),j=n.n(E),w=n(873965),C=n.n(w),z=n(265756),D=n.n(z),F=n(452887),S=n.n(F),N=n(657229),k=n.n(N),P=n(261679),R=n(615081),A=n(509052),I=n(523768),Q=n(614745),q=n(166122),O=n(594948),T=n(437166);let M=function(e){return e.Files="files",e.EmployeesNumber="employeesNumber",e.CompanyPhone="companyPhone",e.WebLink="webLink",e.Vacancy="vacancy",e.Urgency="urgency",e.OrganizationForm="organizationForm",e.DocumentType="documentType",e}({}),B=function(e){return e.EmployerCategory="EmployerCategory",e.EmployerInformation="EmployerInformation",e.Documents="Documents",e}({});const L=[B.EmployerCategory,B.EmployerInformation,B.Documents],U=[B.EmployerCategory,B.EmployerInformation],X="DEFAULT_ERROR",V="REQUIRED",W="newEmployerQuiz.error.chooseOne",H="registration.form.phone.incorrect",Z="registration.form.phone.required",$="registration.form.phone.tooShort",J="registration.form.phone.tooLong",Y="registration.form.phone.incorrect",K="newEmployerQuiz.webLink.error.regexp",G="employerDocuments.err.notificationUploadError",ee={[X]:H,[V]:Z,too_short:$,too_long:J,not_a_number:Y},te=({step:e,urlRegexp:t,trls:n}
1)=>o=>{let r={};return e===B.EmployerCategory&&(r[M.OrganizationForm]=o[M.OrganizationForm]?void 0:n[W]),e===B.EmployerInformation&&(r={...r,[M.WebLink]:o[M.WebLink]&&!new RegExp(t).test(o[M.WebLink])?n[K]:void 0}),r},ne="centered--vKxTExN1B4wEkmoj",oe="actions--VLQxkoUecy1Ex1lo";var re=n(606179);const ae="newEmployerQuiz.back",ie={continue:"newEmployerQuiz.continue",startJob:"newEmployerQuiz.startJob",skipAndStartJob:"newEmployerQuiz.skipAndStartJob"},se=({trls:e,values:t,stepIndex:n,steps:o,step:r,submitting:a,onBack:i})=>{var s;const l=(0,u.useMemo)(()=>{let r=e[ie.continue];if(n===o.length-1){var a;r=!(null===(a=t.files)||void 0===a||!a.length)?e[ie.startJob]:e[ie.skipAndStartJob]}return r},[e,n,o.length,null===(s=t.files)||void 0===s?void 0:s.length]);return(0,re.jsx)("div",{className:oe,children:(0,re.jsx)(d.o,{type:"auto",isFixed:!0,showProgress:(0,re.jsx)(y.k,{progress:n+1,segments:o.length}),secondaryActions:r!==B.EmployerCategory?[(0,re.jsx)(g.z,{size:"small",type:"button",style:"accent",mode:"tertiary",onClick:i,"data-qa":"employer-quiz-back-button",children:e[ae]},"back")]:void 0,primaryActions:[(0,re.jsx)(g.z,{loading:a,size:"small",style:"accent",mode:"primary",type:"submit","data-qa":"employer-quiz-continue-button",children:l},"continue")]})})};se.displayName="pages/EmployerRegistrationSurvey/Actions/ActionsComponent";const le=(0,r.x)(se);var ce=n(245981),pe=n.n(ce),me=n(155462),ue=n(969067),de=n(319363),ye=n(87014),ge=n(112687),fe=n(196579),be=n(43505),xe=n(944037);const he=({children:e,expanded:t=!1})=>{const n=(0,u.useRef)(null),{collapsibleClasses:o}=(0,xe.u)(n,t);return(0,re.jsx)("div",{ref:n,"data-qa":"collapsible-area",className:o,children:e})};he.displayName="components/Collapsable/CollapsableArea/CollapsibleArea";const ve=({title:e,children:t,onOpen:n})=>{const[o,r]=(0,u.useState)(!1);return(0,re.jsxs)("div",{children:[(0,re.jsx)(fe.r,{iconRight:o?(0,re.jsx)(be.HfI,{}):(0,re.jsx)(be.b$C,{}),onClick:()=>{o||null==n||n(),r(!o)},Element:"button",typography:"label-2-regular",style:"accent","data-qa":"collapsible-button",children:e}),(0,re.jsxs)(he,{expanded:o,children:[(0,re.jsx)(l.X,{default:8}),t]})]})};ve.displayName="EmployerRegistrationSurvey/components/Collapsable/Collapsable";const _e="list--kP47CkZOqoBXbFR0",Ee="newEmployerQuiz.QuizDescriptionCard.title",je="newEmployerQuiz.QuizDescriptionCard.titleCommon",we="newEmployerQuiz.QuizDescriptionCard.subtitle",Ce={title:"newEmployerQuiz.QuizDescriptionCard.collapsable.button",text1:"newEmployerQuiz.QuizDescriptionCard.collapsable.1",text2:"newEmployerQuiz.QuizDescriptionCard.collapsable.2",text3:"newEmployerQuiz.QuizDescriptionCard.collapsable.3",text4:"newEmployerQuiz.QuizDescriptionCard.collapsable.4"},ze=({trls:e})=>{const t=(0,O.v)(({employerManager:e})=>null==e?void 0:e.firstName),{isMobile:n}=(0,ue.G)();return(0,re.jsxs)(de.Z,{style:"dreamy-secondary",padding:n?24:32,borderRadius:n?24:32,stretched:!0,children:[(0,re.jsx)(ye.D,{Element:"h1",size:"medium",description:e[we],children:t?(0,me.WU)(e[Ee],{"{0}":t}):e[je]}),(0,re.jsx)(l.X,{default:8}),(0,re.jsx)(ve,{title:e[Ce.title],onOpen:()=>{pe()()},children:(0,re.jsx)(ge.x,{typography:"paragraph-2-regular",children:(0,re.jsxs)("ul",{className:_e,children:[(0,re.jsx)("li",{children:e[Ce.text1]}),(0,re.jsx)("li",{children:e[Ce.text2]}),(0,re.jsx)("li",{children:e[Ce.text3]}),(0,re.jsx)("li",{children:e[Ce.text4]})]})})})]})};ze.displayName="EmployerRegistrationSurvey/components/QuizDescriptionCard/QuizDescriptionCard";const De=(0,r.x)(ze);var Fe=n(817754),Se=n.n(Fe),Ne=n(290832),ke=n.n(Ne),Pe=n(383099),Re=n.n(Pe),Ae=n(356203),Ie=n(650335);const Qe=e=>(0,re.jsx)(ge.x,{typography:"label-3-regular",style:"negative","data-qa":e["data-qa"],children:e.children});Qe.displayName="EmployerRegistrationSurvey/components/FormError/FormError";var qe=n(13073);const Oe=()=>(e=>[qe.B.PrivateIndividual,qe.B.SelfEmployed,qe.B.ProjectDirector].includes(e))((0,o.U$)(M.OrganizationForm).input.value);var Te=n(615026),Me=n(239731);const Be="employerDocuments.warning.maxFiles",Le="employerDocuments.warning.maxLengthFile",Ue=({trls:e,removeNotification:t})=>(0,re.jsx)(Me.A,{"data-qa":"employer-documents-notification-max-files",onClose:t,showClose:!0,addon:(0,re.jsx)(be.L1_,{initialColor:"negative"}),children:(0,me.LP)(e[Be])});
1Ue.displayName="components/Notifications/EmployerDocuments/MaxFilesWarningTemplate";const Xe=(0,r.x)(Ue),Ve=({trls:e,removeNotification:t,maxUploadFileSize:n=0})=>(0,re.jsx)(Me.A,{"data-qa":"employer-documents-notification-max-file-length",onClose:t,showClose:!0,addon:(0,re.jsx)(be.L1_,{initialColor:"negative"}),children:(0,me.LP)((0,me.WU)(e[Le],{"{0}":n}))});Ve.displayName="components/Notifications/EmployerDocuments/MaxLengthFileTemplate";const We=(0,r.x)(Ve),He=()=>{const e=(0,o.cI)(),{addNotification:t}=(0,q.lm)(),n=(0,O.v)(({employerDocumentsSettings:e})=>e),r=(0,O.v)(({employerDocuments:e})=>e),{maxActiveDocuments:a=0,maxFileSize:i=0}=n,s=Math.max(a-(e=>e.reduce((e,t)=>t.error&&t.error!==Te.OP.DeleteError?e:e+1,0))(r),0);return{handleDropAccepted:(0,u.useCallback)(n=>{var o;const r=[...e.getState().values.files||[],...n.map(e=>({...e,loading:!1,loadPercentage:void 0}))];r.length>s&&(t(Xe),r.length=s),e.change(M.Files,r),Re()({chosenOrganizationForm:null===(o=e.getFieldState(M.OrganizationForm))||void 0===o?void 0:o.value})},[t,e,s]),handleDropRejected:(0,u.useCallback)(e=>{if(null!=e&&e.length){if(e.some(({data:e,error:t})=>"file-too-large"===t||e.size>i)){const e=Math.floor(i/1024/1024);t(We,{props:{maxUploadFileSize:e}})}e.some(({error:e})=>"file-too-many"===e)&&t(Xe)}},[t,i]),handleFileDelete:(0,u.useCallback)((t,n)=>{const o=e.getState().values.files||[];e.change(M.Files,o.filter((e,t)=>t!==n))},[e]),maxFiles:s}},Ze="list--BKRvYtk0ZGQFWe0K";var $e=function(e){return e.CompanyRegistrationCertificate="CompanyRegistrationCertificate",e.TaxRegistrationCertificate="TaxRegistrationCertificate",e.EgrRecord="EgrRecord",e}($e||{});const Je="newEmployerQuiz.EmployerDocuments.organization.title",Ye="newEmployerQuiz.EmployerDocuments.organization.subtitle",Ke="newEmployerQuiz.EmployerDocuments.personal.title",Ge="newEmployerQuiz.EmployerDocuments.personal.subtitle",et="newEmployerQuiz.EmployerDocuments.dropzone.title.desktop",tt="newEmployerQuiz.EmployerDocuments.dropzone.title.mobile",nt="employerDocuments.uploadLimits",ot="employerDocuments.formats",rt="employer.company.documents.edit.uploader.fileSize",at="newEmployerQuiz.EmployerDocuments.dropzone.action",it="newEmployerQuiz.EmployerDocuments.organization.CompanyRegistrationCertificate",st="newEmployerQuiz.EmployerDocuments.organization.TaxRegistrationCertificate",lt="newEmployerQuiz.EmployerDocuments.organization.EgrRecord",ct={[$e.CompanyRegistrationCertificate]:it,[$e.TaxRegistrationCertificate]:st,[$e.EgrRecord]:lt},pt=({trls:e})=>{var t;const n=(0,o.U$)(M.Files),r=null===(t=(0,o.U$)(M.OrganizationForm))||void 0===t||null===(t=t.input)||void 0===t?void 0:t.value,a=Oe(),{handleDropAccepted:i,handleDropRejected:s,handleFileDelete:c,maxFiles:p}=He(),m=(0,O.v)(e=>e.employerDocumentsSettings),d=(0,Ie.g)(),y=(0,u.useRef)(null);(0,u.useEffect)(()=>{if(y.current){const{stopSpying:e}=ke()(y.current);return()=>e()}},[]);const f=(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(Ae.g,{"data-qa":"employer-documents-upload",accept:d,maxFiles:p,maxSize:m.maxFileSize,files:n.input.value||[],trls:{title:e[et],titleMobile:e[tt],subTitle:`${(0,me.WU)(e[nt],{"{0}":m.maxActiveDocuments,"{1}":m.maxFileSizeInMb})}. ${e[ot]} ${m.allowedTypes.join(", ")}`},onFileDelete:c,onDropAccepted:i,onDropRejected:s,size:"medium",multiple:!0,renderFileInfo:({fileSizeMB:t})=>(0,me.WU)(e[rt],{"{size}":t}),deleteFileButton:(0,re.jsx)(g.z,{icon:(0,re.jsx)(be.vNv,{}),mode:"secondary",size:"small",style:"accent"}),selectFileButton:(0,re.jsx)(g.z,{"data-qa":"employer-documents-pick-files",mode:"secondary",size:"small",style:"accent",onClick:()=>{Re()({chosenOrganizationForm:r})},children:e[at]})}),n.meta.submitFailed&&n.meta.submitError&&(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(l.X,{default:12}),(0,re.jsx)(Qe,{"data-qa":"employer-documents-files-error",children:n.meta.submitError})]})]}),b=(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(ye.D,{Element:"h2",size:"small",description:e[Ye],children:e[Je]}),(0,re.jsx)(l.X,{default:24}),(0,re.jsx)(ge.x,{typography:"paragraph-2-regular",children:(0,re.jsx)("ul",{className:Ze,children:Object.values($e).map(t=>(0,re.jsx)("li",{children:(0,re.jsx)(ge.x,{children:e[ct[t]]})},t))})}),(0,re.jsx)(l.X,{default:24}),f]}),x=(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(ye.D,{Element:"h2",size:"small",description:e[Ge],children:e[Ke]}),(0,re.jsx)(l.X,{default:24}),f]});return(0,re.jsx)("div",{ref:y,children:a?x:b})};pt.displayName="EmployerRegistrationSurvey/steps/DocumentsStep/DocumentsStep";const mt=(0,r.x)(pt);var ut=n(236789),dt=n(430356),yt=n(744120),gt=n(66063);
1const ft="newEmployerQuiz.EmployerCategory.title",bt={COMPANY:"newEmployerQuiz.EmployerCategory.categoryDescription.company",AGENCY:"newEmployerQuiz.EmployerCategory.categoryDescription.agency",PRIVATE_RECRUITER:"newEmployerQuiz.EmployerCategory.categoryDescription.private_recruiter",PROJECT_DIRECTOR:"newEmployerQuiz.EmployerCategory.categoryDescription.project_director",PRIVATE_INDIVIDUAL:"newEmployerQuiz.EmployerCategory.categoryDescription.private_individual",SELF_EMPLOYED:"newEmployerQuiz.EmployerCategory.categoryDescription.self_employed"},xt=({trls:e})=>{const{employerCategories:t}=(0,O.v)(e=>e.employerRegistrationSurvey),n=(0,o.U$)(M.OrganizationForm),r=(0,u.useRef)(null);return(0,u.useEffect)(()=>{n.meta.submitFailed&&n.meta.error&&r.current&&(0,gt.default)(r.current)},[n.meta.submitFailed,n.meta.error]),(0,re.jsxs)("div",{children:[(0,re.jsx)(ye.D,{Element:"h2",size:"small",children:e[ft]}),(0,re.jsx)(l.X,{default:24}),(0,re.jsx)(c.z,{default:12,children:t.map(t=>(0,re.jsx)(o.gN,{name:M.OrganizationForm,value:t.code,type:"radio",children:({input:n})=>(0,re.jsx)(ut.g,{...n,type:"radio",id:t.code,flexible:!0,borderRadius:12,padding:16,"data-qa":`employer-category-${t.code}`,children:(0,re.jsxs)(dt.b,{children:[(0,re.jsx)(yt.j,{children:t.translation}),(0,re.jsx)(yt.j,{type:"subtitle",children:e[bt[t.code]]})]})})},t.code))}),(0,re.jsx)(l.X,{default:12}),n.meta.submitFailed&&n.meta.error&&(0,re.jsx)("div",{ref:r,children:(0,re.jsx)(Qe,{children:n.meta.error})})]})};xt.displayName="EmployerRegistrationSurvey/steps/EmployerCategoryStep/EmployerCategoryStep";const ht=(0,r.x)(xt);var vt=n(975143),_t=n.n(vt),Et=n(407993),jt=n(840735),wt=n(629402),Ct=n(540977);const zt=({onBlur:e,onFocus:t,onChange:n,allowAsyncChange:o,setAsyncError:r,allowAsyncAdvice:a,setAdvice:i,asyncUrl:s,asyncValueParam:l="value",value:c,...p})=>{const m=(({onChange:e,setAsyncError:t,allowAsyncChange:n,allowAsyncAdvice:o,setAdvice:r})=>{const a=(0,u.useRef)();return{onParseBegin:(0,u.useCallback)(({value:e})=>{t(e,new Promise(e=>{a.current=e}))},[t,a]),onParseEnd:(0,u.useCallback)(({error:t,value:i,parts:s})=>{const l=t||s.error;var c,p;l?null===(c=a.current)||void 0===c||c.call(a,l):(n?e(i):o&&r&&r(i),null===(p=a.current)||void 0===p||p.call(a))},[o,n,e,r])}})({onChange:n,setAsyncError:r,allowAsyncChange:o,allowAsyncAdvice:a,setAdvice:i}),{startParse:d,stopParse:y}=(0,Ct.n)({url:s,valueParam:l,...m,onParseBegin:m.onParseBegin}),g=(({value:e,onBlur:t,onFocus:n,startParse:o,stopParse:r})=>({onFocus:(0,u.useCallback)(()=>{r(),n()},[n,r]),onBlur:(0,u.useCallback)(async n=>{await o(e),null==t||t(n)},[e,t,o])}))({value:c,onBlur:e,onFocus:t,startParse:d,stopParse:y});return(0,re.jsx)(jt.I,{...g,value:c||"",onChange:n,...p})};zt.displayName="components/AsyncInput/index/AsyncInput";const Dt="urgent--edsHi4NUpYawSxXR",Ft="urgent-option--gXM41b6gF8QCuzta",St="urgent-option-content--bxnoY1CIMCcQvEuE",Nt=()=>{const{urgentOptions:e}=(0,O.v)(e=>e.employerRegistrationSurvey);return(0,re.jsx)("div",{className:Dt,children:e.map(({translation:e,value:t})=>(0,re.jsx)("div",{className:Ft,children:(0,re.jsx)(o.gN,{name:M.Urgency,type:"radio",value:t,children:({input:n})=>(0,re.jsx)(ut.g,{...n,type:"radio",id:t,flexible:!0,borderRadius:12,padding:16,children:(0,re.jsx)("div",{className:St,children:(0,re.jsx)(ge.x,{typography:"label-1-regular",children:e})})})})},t))})};Nt.displayName="steps/EmployerInformationStep/UrgentOptionsField/UrgentOptionsField";var kt=n(293161),Pt=n(784467);const Rt="newEmployerQuiz.vacancy.error.network",At="newEmployerQuiz.vacancy.reset",It=({trls:e,...t})=>{const n=(0,Pt.h)();return(0,re.jsx)(kt.U,{dataProvider:n,inputValue:t.value,errorPlaceholder:e[Rt],trls:{resetButton:e[At]},input:{component:jt.I,props:{...t}}})};It.displayName="steps/EmployerInformationStep/VacancyNameSuggest/VacancyNameSuggestComponent";const Qt=(0,r.x)(It),qt="newEmployerQuiz.EmployerInformation.title",Ot="newEmployerQuiz.EmployerInformation.employeesNumber",Tt="newEmployerQuiz.EmployerInformation.companyPhone",Mt="newEmployerQuiz.EmployerInformation.webLink",Bt="newEmployerQuiz.EmployerInformation.vacancy",Lt="newEmployerQuiz.EmployerInformation.urgency",Ut="newEmployerQuiz.EmployerInformation.employeeInformation.title",Xt="newEmployerQuiz.EmployerInformation.employeeInformation.subtitle",Vt=e=>Boolean(e.invalid&&e.submitFailed),Wt=({trls:e,phoneAsyncError:t})=>{const{employeesNumbers:n}=(0,O.v)(e=>e.employerRegistrationSurvey),r=(0,u.useMemo)(()=>n.map(({translation:e,value:t})=>({value:String(t),text:e})),[n]);return(0,re.jsxs)("div",{children:[(0,re.jsx)(ye.D,{Element:"h2",size:"small",children:e[qt]}),(0,re.jsx)(l.X,{default:24}),(0,re.jsxs)(c.z,{default:12,children:[(0,re.jsx)(o.gN,{name:M.EmployeesNumber,type:"select",children:({input:t})=>(0,re.jsxs)(Et.P,{name:t.name,options:r,value:t.value||void 0,onChange:t.onChange,onBlur:t.onBlur,onFocus:t.onF
1ocus,children:[(0,re.jsx)(Et.P.Trigger,{label:e[Ot],size:"large",stretched:!0}),(0,re.jsx)(Et.P.Drop,{children:(0,re.jsx)(Et.P.Options,{type:"radio"})}),(0,re.jsx)(Et.P.BottomSheet,{height:"content",header:(0,re.jsx)(Et.P.BottomSheetHeader,{headerTitle:e[Ot]}),children:(0,re.jsx)(Et.P.Options,{type:"radio"})})]})}),(0,re.jsx)(o.gN,{name:M.CompanyPhone,type:"tel",children:({input:n,meta:o})=>(0,re.jsx)(zt,{...n,invalid:Vt(o)&&!o.modifiedSinceLastSubmit,errorMessage:o.error||o.submitError,placeholder:e[Tt],asyncUrl:"/shards/phone_parse",setAsyncError:(e,n)=>t.current=n,allowAsyncChange:!0,size:"large",autoComplete:"off",elevatePlaceholder:!0})}),(0,re.jsx)(o.gN,{name:M.WebLink,type:"text",children:({input:t,meta:n})=>(0,re.jsx)(jt.I,{...t,placeholder:e[Mt],size:"large",invalid:Vt(n),errorMessage:n.error,value:t.value||"",elevatePlaceholder:!0})})]}),(0,re.jsx)(l.X,{default:40}),(0,re.jsx)(ye.D,{Element:"h3",size:"small",description:e[Xt],children:e[Ut]}),(0,re.jsx)(l.X,{default:24}),(0,re.jsx)(o.gN,{name:M.Vacancy,children:({input:t})=>(0,re.jsx)(Qt,{...t,size:"large",placeholder:e[Bt],elevatePlaceholder:!0})}),(0,re.jsx)(l.X,{default:24}),(0,re.jsx)(wt.l,{children:e[Lt]}),(0,re.jsx)(l.X,{default:12}),(0,re.jsx)(Nt,{})]})};Wt.displayName="steps/EmployerInformationStep/OrganizationInformation/OrganizationInformation";const Ht=(0,r.x)(Wt),Zt="newEmployerQuiz.EmployerInformation.personal.title",$t="newEmployerQuiz.EmployerInformation.vacancy",Jt="newEmployerQuiz.EmployerInformation.urgency",Yt=({trls:e})=>(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(ye.D,{Element:"h2",size:"small",children:e[Zt]}),(0,re.jsx)(l.X,{default:24}),(0,re.jsx)(o.gN,{name:M.Vacancy,children:({input:t,meta:n})=>(0,re.jsx)(Qt,{...t,size:"large",placeholder:e[$t],invalid:n.invalid,elevatePlaceholder:!0})}),(0,re.jsx)(l.X,{default:24}),(0,re.jsx)(wt.l,{children:e[Jt]}),(0,re.jsx)(l.X,{default:12}),(0,re.jsx)(Nt,{})]});Yt.displayName="steps/EmployerInformationStep/PersonalInformation/PersonalInformation";const Kt=(0,r.x)(Yt),Gt=({phoneAsyncError:e})=>{const t=Oe(),n=(0,u.useRef)(null);return(0,u.useEffect)(()=>{if(n.current){const{stopSpying:e}=_t()(n.current);return()=>e()}},[]),(0,re.jsx)("div",{ref:n,children:t?(0,re.jsx)(Kt,{}):(0,re.jsx)(Ht,{phoneAsyncError:e})})};Gt.displayName="EmployerRegistrationSurvey/steps/EmployerInformationStep/EmployerInformationStep";const en=({step:e,stepIndex:t,phoneAsyncError:n})=>((0,u.useEffect)(()=>{Se()({currentStepNumber:String(t+1)})},[t]),(0,re.jsxs)(re.Fragment,{children:[e===B.EmployerCategory&&(0,re.jsx)(ht,{}),e===B.EmployerInformation&&(0,re.jsx)(Gt,{phoneAsyncError:n}),e===B.Documents&&(0,re.jsx)(mt,{})]}));en.displayName="EmployerRegistrationSurvey/steps/QuizSteps/QuizSteps";const tn="employer.company.title",nn=({trls:e})=>{const{step:t,steps:n,stepIndex:r,phoneAsyncError:d,onContinue:y,validate:g,onBack:x}=(({trls:e})=>{const t=(0,T.w)(),n=(0,O.v)(e=>e.isWebView),o=(0,O.v)(({device:e})=>"android"===e.type),r=(0,O.v)(e=>e.employerRegistrationSurvey.urlRegexp),{addNotification:a}=(0,q.lm)(),i=(0,u.useRef)(null),s=(0,f.useDispatch)(),l=(0,R.E)(),c=(0,u.useMemo)(()=>n&&o?U:L,[o,n]),[p,m]=(0,u.useState)(c[0]),d=c.indexOf(p),y=(0,u.useCallback)(()=>{var e;const n=(null===(e=(0,P.j)(t).params.backurl)||void 0===e?void 0:e[0])||"/";l(n)},[t,l]),g=(0,u.useCallback)(()=>{m(c[d+1])},[d,c]),x=(0,u.useCallback)(async e=>{try{await A._.post("/new_employer_quiz/step_1",{[M.OrganizationForm]:e[M.OrganizationForm]})}catch(e){return void a(Q.q)}g()},[a,g]),v=(0,u.useCallback)(async t=>{var n;const o={...t,...void 0!==(null===(n=t.employeesNumber)||void 0===n?void 0:n.value)&&{employeesNumber:t.employeesNumber.value}},r={};if(i.current){const t=await i.current;t&&(r[M.CompanyPhone]=e[ee[t]]||e[H])}const s={...Object.assign({},...Object.entries(o).map(([e,t])=>({[`value_${e}`]:t})),...Object.entries(r).map(([e,t])=>({[`error_${e}`]:t}))),chosenOrganizationForm:t[M.OrganizationForm]};if(Object.keys(r).length)return h()(s),r;try{await A._.post("/new_employer_quiz/step_2",o)}catch(e){return void a(Q.q)}const l=[M.CompanyPhone,M.EmployeesNumber,M.Urgency,M.Vacancy,M.WebLink];Object.keys(o).some(e=>l.includes(e))?j()(s):_()(),g()},[a,g,e]),E=(0,u.useCallback)(async({files:t,organizationForm:n})=>{const o={chosenOrganizationForm:n};return t&&0!==t.length?(S()(),await s((0,I.Z)({files:t.map(({data:e})=>e),params:{changes:"name",changeTime:(0,b.Z)(new Date,"yyyy-MM-dd")}},a))?(k()(o),void y()):(C()(o),{[M.Files]:e[G]})):(D()(),void y())},[a,s,y,e]),w=(0,u.useCallback)(e=>p===B.EmployerCategory?x(e):p===B.EmployerInformation?v(e):p===B.Documents?E(e):void 0,[E,x,v,p]),z=(0,u.useCallback)(()=>{m(c[d-1])},[d,c]);return{step:p,steps:c,stepIndex:d,phoneAsyncError:i,onContinue:w,onBack:z,validate:te({step:p,urlRegexp:r,trls:e})}})({trls:e});return(0,re.jsx)(p.Xg,{layout:p.Tp,title:e[tn],children:(0,re.jsx)(a.M,{children:(0,re.jsxs)(i.J,{children:[(0,re.jsx)(s.C,{xs:0,s:1,m:3}),(0,re.jsxs)(s.C,{xs:4,s:6,m:6,children:[(0,re.jsx)(l.X,{default:40}),(0,re.jsxs)(c.z,{default:40,children:[(0,re.jsx)("div",{className:ne,children:(0,re.jsx)(m.Z,{linkDisabled:!0})}),t===B.EmployerCategory&&(0,re.jsx)(De,{}),(0,re.jsx)(o.l0,{onSubmit:y,validate:g,render:({handleSubmit:e,submitting:o,values:a})=>
1(0,re.jsxs)("form",{onSubmit:e,children:[(0,re.jsx)(en,{step:t,stepIndex:r,phoneAsyncError:d}),(0,re.jsx)(le,{submitting:o,values:a,step:t,stepIndex:r,steps:n,onBack:x})]})})]})]}),(0,re.jsx)(s.C,{xs:0,s:1,m:3})]})})})};nn.displayName="pages/EmployerRegistrationSurvey/EmployerRegistrationSurvey.route/EmployerRegistrationSurveyComponent";const on=(0,r.x)(nn)}}]);
2//# sourceMappingURL=EmployerRegistrationSurvey-route.75846514beefd832.js.map
3//# debugId=27fdfeb7-796b-49cd-8b04-8b1feb591039

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.