1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e.SENTRY_RELEASE={id:"v1.2790.0"};var r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="e87f739b-aa81-4c87-acd9-6f994aa11b8e",e._sentryDebugIdIdentifier="sentry-dbid-e87f739b-aa81-4c87-acd9-6f994aa11b8e")}catch(e){}}();"use strict";(self.webpackChunkresume_io_frontend=self.webpackChunkresume_io_frontend||[]).push([["4860"],{47965:function(e,r,o){o.r(r),o.d(r,{default:function(){return en}});var t=o(74848),i=o(81247),a=o(49785),s=o(33093),n=o(96540),d=o(91779),l=o(57119),p=o(38267),g=o(99701),c=o(24833),m=o(49504);let u=(0,p.i7)(["0%{opacity:0;}100%{opacity:1;padding-bottom:25px;}"]),h=(0,p.i7)(["0%{opacity:1;padding-bottom:25px;}100%{opacity:0;}"]),x=(0,p.i7)(["0%{opacity:0;padding-bottom:0px;}20%{padding-bottom:2px;opacity:0.2;}60%{padding-bottom:4px;opacity:0.4;}80%{padding-bottom:6px;opacity:0.5;}100%{opacity:1;padding-bottom:8px;}"]),y=p.Ay.div(["width:416px;height:368px;display:flex;position:relative;border-radius:4px;justify-content:center;align-items:center;background-color:",";border:1px solid ",";"," "," ",";@media (max-width:374px){padding-top:80px;}"],g.Jy.Blue10,g.Jy.Blue60,c.A.Tablet` 2 width: 504px; 3 height: 366px; 4 `,e=>e.drag?(0,p.AH)(["animation:"," 0.4s ease-in forwards;"],u):(0,p.AH)(["animation:"," 0.4s ease-out forwards;"],h),c.A.Phone` 5 padding-top: 100px; 6 width: calc(100% - 40px) 7 `),b=p.Ay.div(["width:100%;text-align:center;"]),f=p.Ay.div(["",";",";text-align:center;margin-bottom:12px;color:",";"],m.Ay.Subhead,m.BO.DemiBold,g.Jy.Blue50),A=p.Ay.div(["",";margin-bottom:16px;color:",";",";@media (max-width:374px){margin-bottom:114px;}"],m.Ay.Caption,g.Jy.Neutral50,c.A.Phone` 8 margin-bottom: 134px; 9 `),w=p.Ay.img(["margin-bottom:16px;animation:"," 0.3s ease-out forwards;",";"],x,c.A.Phone` 10 margin-bottom: 24px; 11 `),v=p.Ay.input(["position:absolute;width:100%;height:100%;top:0;left:0;opacity:0;cursor:pointer;"]);var E=o.p+"media/drag-drop0190d6fab1fdd974.svg",P=e=>{let{onDragLeave:r,onDrop:o,drag:i}=e;return(0,t.jsx)(y,{onDragLeave:r,drag:i,children:(0,t.jsxs)(b,{children:[(0,t.jsx)(w,{src:E}),(0,t.jsx)(f,{children:"Drop your resume here"}),(0,t.jsx)(A,{children:"Maximum size: 5MB"}),(0,t.jsx)(v,{type:"file",onChange:o})]})})},j=o(25519),T=o(18509),S=o(12330),D=o(57238),_=o(78506);let k=p.Ay.form(["width:416px;margin-bottom:-29px;"," "," "," @media (max-width:374px){margin-bottom:40px;}"],c.A.Tablet` 12 width: 504px; 13 height: auto; 14 `,c.A.Phone` 15 width: 100%; 16 `,e=>c.A.Phone` 17 width: calc(100% - 40px); 18 margin-bottom: ${e.hasError?"-5":"-29"}px; 19 `),B=p.Ay.div(["width:100%;display:flex;justify-content:space-between;"]),I=p.Ay.div(["width:100%;margin-bottom:","px;",""],({hasError:e})=>e?16:24,e=>c.A.Phone` 20 margin-bottom: ${e.hasError?12:16}px; 21 margin-top: 24px 22 `);var J=o(86066);let N=p.Ay.div(["",";",";width:288px;cursor:pointer;text-align:center;margin-bottom:12px;"," transition:color 0.4s ease-in-out;-webkit-transition:color 0.4s ease-in-out;-o-transition:color 0.4s ease-in-out;-moz-transition:color 0.4s ease-in-out;",";@media (max-width:374px){width:calc(100% - 32px);}"],m.Ay.Subhead,m.BO.DemiBold,e=>e.isHovered?(0,p.AH)(["color:",";"],g.Jy.Blue50):(0,p.AH)(["color:",";"],g.Jy.Neutral90),c.A.Phone` 23 width: calc(100% - 48px); 24 `),C=p.Ay.input.attrs({type:"file"})(["display:none;"]);var F=({handleFileChange:e,isHovered:r})=>{let{isPhone:o}=(0,J.e)();return(0,t.jsxs)(N,{isHovered:r,children:[(0,t.jsx)(C,{onChange:e}),"Upload your resume and get a free ",!o&&"resume"," review"]})},U=o.p+"media/upload_resumeffe7df329f723ab9.svg",M=o.p+"media/drag-drop0190d6fab1fdd974.svg";let O=p.Ay.label(["width:416px;display:flex;padding-top:48px;align-items:center;flex-direction:column;border-radius:12px;border:1px dashed ",";margin-bottom:",";transition:all 0.25s ease-in-out;-webkit-transition:all 0.25s ease-in-out;-o-transition:all 0.25s ease-in-out;-moz-transition:all 0.25s ease-in-out;"," "," ",";@media (max-width:374px){padding-top:24px;}"],e=>e.hasWrongFileType?g.Jy.Red50:g.Jy.Neutral30,e=>e.hasWrongFileType?"12px":"32px",c.A.AboveTablet` 25 &:hover { 26 background-color: ${g.Jy.Blue10}; 27 cursor: pointer; 28 border: 1px solid ${g.Jy.Blue50}; 29 } 30 `,c.A.Tablet` 31 width: 504px; 32 height: auto; 33 `,c.A.Phone` 34 width: 100%; 35 padding-top: 48px; 36 `),R=p.Ay.div(["width:120px;height:120px;margin-bottom:16px;background-image:url(",");background-position:center;background-size:cover;transition:background-image 0.25s ease-in-out;-webkit-transition:background-image 0.25s ease-in-out;-o-transition:background-image 0.25s ease-in-out;-moz-transition:background-image 0.25s ease-in-out;",";@media (max-width:374px){margin-bottom:24px;}"],e=>e.isHovered?M:U,c.A.Phone` 37 margin-bottom: 24px; 38 `),L=p.Ay.div(["",";color:",";width:287px;text-align:center;margin-bottom:72px;",";@media (max-width:374px){margin-bottom:48px;width:calc(100% - 32px);}"],m.Ay.Caption,g.Jy.Neutral50,c.A.Phone` 39 margin-bottom: 64px; 40 width: calc(100% - 48px); 41 `),H=p.Ay.div(["",";text-align:center;margin-bottom:24px;color:",";"],m.Ay.Caption,g.Jy.Red50);var z=({onDragOver:e,fileChange:r,error:o})=>
41{let[i,a]=(0,n.useState)(!1),{isDesktop:s}=(0,J.e)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(O,{onDragOver:e,onDragEnter:e,onMouseEnter:()=>{a(!0)},onMouseLeave:()=>{a(!1)},hasWrongFileType:o.hasError,children:[(0,t.jsx)(R,{draggable:"false",isHovered:s&&i}),(0,t.jsx)(F,{handleFileChange:e=>r(e),isHovered:s&&i}),(0,t.jsx)(L,{children:"DOC, DOCX, PDF, ODF, TXT, RTF and JPG, PNG, GIF smaller than 5MB"})]}),o.hasError?(0,t.jsx)(H,{children:o.errorMessage}):null]})},$=o(78561);let G=p.Ay.label(["",";",";outline:none;border-width:0;cursor:pointer;appearance:none;user-select:none;padding:8px 14px;border-radius:4px;text-align:center;white-space:nowrap;align-items:center;margin-bottom:92px;display:inline-flex;justify-content:center;border:1px solid ",";background:",";&:hover,&:focus-visible{color:",";border-color:",";}&:active{background-color:",";}",";@media (max-width:374px){margin-bottom:78px;}"],m.Ay.ButtonS,m.BO.DemiBold,g.Jy.Neutral20,(0,$.j)(g.Jy.Blue50,0),g.Jy.Blue50,g.Jy.Blue50,(0,$.j)(g.Jy.Blue50,.08),c.A.Phone` 42 margin-bottom: 96px; 43 `),V=p.Ay.input.attrs({type:"file"})(["display:none;"]);var W=({handleFileChange:e})=>(0,t.jsxs)(G,{children:[(0,t.jsx)(V,{onChange:e}),"Upload Another"]}),q=o(14649);let Y=(0,p.i7)(["0%{opacity:0;}100%{opacity:1;}"]),K=(0,p.i7)(["from{transform:scale(1.4);opacity:0;}to{transform:scale(1);opacity:1;}"]),X=(0,p.i7)(["from{opacity:0;bottom:-15px;}to{opacity:1;bottom:0;}"]),Q=p.Ay.div(["width:100%;display:flex;flex-direction:column;align-items:center;padding-top:","px;border-radius:8px;margin-bottom:32px;border:1px solid ",";",";@media (max-width:374px){padding-top:","px;}"],e=>e.progressing?176:144,g.Jy.Neutral15,e=>c.A.Phone` 44 padding-top: ${e.progressing?156:126}px; 45 `,e=>e.progressing?136:104),Z=(0,p.Ay)(q.EK.Tick)(["border-radius:50%;margin-bottom:12px;color:",";position:relative;background-color:",";animation:0.4s "," ease-in;"],g.Jy.White,g.Jy.Green50,X),ee=p.Ay.div(["",";margin-bottom:12px;color:",";animation:0.4s "," ease-in;"],m.Ay.Caption,g.Jy.Neutral50,Y),er=(0,p.Ay)(ee)(["animation:0.4s "," ease-in;"],K),eo=p.Ay.div(["width:201px;position:relative;"]),et=p.Ay.div(["width:inherit;position:relative;background-color:",";height:4px;margin-bottom:","px;",";@media (max-width:374px){margin-bottom:","px;}"],g.Jy.Neutral15,e=>e.progressPercentage<100?152:24,e=>c.A.Phone` 46 margin-bottom: ${e.progressPercentage<100?158:24}px; 47 `,e=>e.progressPercentage<100?138:24),ei=p.Ay.div(["width:","%;height:4px;background-color:",";border-radius:32px;display:flex;transition:width 0.5s;justify-content:start;visibility:",";"],e=>e.progressPercentage,g.Jy.Blue50,e=>0===e.progressPercentage?"hidden":"visible");var ea=({progress:e,fileChange:r})=>(0,t.jsxs)(Q,{progressing:e<100,children:[e<100?null:(0,t.jsx)(Z,{}),e<100?(0,t.jsx)(er,{children:"Uploading will be finished in 5 sec"}):(0,t.jsx)(ee,{children:"Your resume has been uploaded"}),(0,t.jsx)(eo,{children:(0,t.jsx)(et,{progressPercentage:e,children:(0,t.jsx)(ei,{progressPercentage:e})})}),e<100?null:(0,t.jsx)(W,{handleFileChange:e=>r(e)})]});let es=["png","jpg","doc","docx","pdf","txt","odf","gif","rtf"];var en=()=>{let e=(0,i.wA)(),r=(0,T.N)(j.Tp.email),o=(0,T.N)(j.Tp.errors),p=(0,T.N)(j.Tp.isDragging),g=(0,T.N)(j.Tp.selectedFile),c=(0,T.N)(j.Tp.isFileSelected),m=(0,T.N)(j.Tp.uploadProgress),u=(0,T.N)(j.Tp.parsingProgress),h=((e,r)=>{let[o,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let r;return e&&!o?t(!0):!e&&o&&(r=setTimeout(()=>t(!1),380)),()=>clearTimeout(r)},[e,380,o]),o})(p,0),x=(0,T.N)(j.Tp.step),y=(0,T.N)(D.Tp.userData),b=(0,T.N)(D.Tp.isFetched),f=S.D.getItem("API_ACCESS_TOKEN");(0,n.useEffect)(()=>{!b&&f&&e(D.o1.fetchUserRequest())},[f,e,b]);let A=!c||o.hasError,w=(0,a.mN)({mode:"onChange",defaultValues:{email:""}}),v=r=>{if(e(j.o1.setIsFileSelected(!1)),e(j.o1.setStep(_.h.RESUME_SELECTED)),100===m?e(j.o1.setUploadProgress(-100)):e(j.o1.setUploadProgress(0)),e(j.o1.setIsFileSelected(!0)),e(j.o1.setError({hasError:!1,errorMessage:""})),(0,s.xP)("click_upload_cv_button"),(0,s.xP)("ulp_cta_click",{label:"upload_resume"}),r.target.files){let{name:o}=r.target.files[0],t=o.split(".").pop(),i=parseInt((r.target.files[0].size/1048576).toFixed(2));t&&!es.includes(t)?(e(j.o1.setError({hasError:!0,errorMessage:"Incorrect document format"})),(0,s.xP)("resume_uploading_error",{errorType:"Incorrect document format"})):i>5?(e(j.o1.setError({hasError:!0,errorMessage:"The document should be less than 5MB"})),(0,s.xP)("resume_uploading_error",{errorType:"The document should be less than 5MB"})):navigator.onLine?e(j.o1.setSelectedFile(r.target.files[0])):(e(j.o1.setError({hasError:!0,errorMessage:"Something went wrong. Try uploading another resume"})),(0,s.xP)("resume_uploading_error",{errorType:"Something went wrong. Try uploading another resume"}))}},E=async()=>!!r&&!(m<100)&&/\S+@\S+\.\S+/.test(r),J=async({email:r})=>{if(!await E()){e(j.o1.setIsInValidEmail(!0)),w.setError("email",{type:"custom",message:"Invalid Email"});return}y?e(j.o1.setStep(_.h.USER_AVAILABLE)):(e(j.o1.parsedDetails({upload:g,email:r})),u>0&&e(j.o1.setParsingProgress(0)),e(j.o1.setStep(_.h.SENDING_RESUME))),(0,s.xP)("ulp_resume_uploaded")};return(0,n.useEffect)(()=>{c&&setTimeout(()=>{m<100&&e(j.o1.setUploadProgress(25))},1e3)},[e,m,c]),h?(0,t.jsx)(P,{onDragLeave:()=>e(j.o1.setIsDragging(!1)),drag:p,onDrop:r=>{r.preventDefault(),e(j.o1.setIsDragging(!1)),v(r)}}):(0,t.jsxs)(k,{hasError:o.hasError,onSubmit:w.handleSubmit(J),children:[x!==_.h.UPLOAD_RESUME&&(0,t.jsx)(I,{hasError:Object.keys(w.formState.errors).length>0,children:(0,t.jsx)(l.A,{autoFocus:!0,...w.register("email",{required:"This field is required",onChange:r=>{let o=r.target.value;e(j.o1.setEmail(o)),e(j.o1.setIsInValidEmail(!1)),w.clearErrors("email")}}),type:"email",value:r,placeholder:"Your email",error:w.formState.errors.email?.message})}),c&&!o.hasError?(0,t.jsx)(ea,{fileChange:e=>v(e),progress:m}):(0,t.jsx)(z,{onDragOver:()=>e(j.o1.setIsDragging(!0)),drag:p,fileChange:e=>v(e),error:o}),x!==_.h.UPLOAD_RESUME&&(0,t.jsxs)(B,{children:[(0,t.jsx)(d.Ay,{theme:"ghost",type:"button",isDisabled:A,onClick:()=>{e(j.o1.setIsFileSelected(!1)),e(j.o1.setStep(_.h.UPLOAD_RESUME)),100===m?e(j.o1.setUploadProgress(-100)):e(j.o1.setUploadProgress(0))},children:"Back"}),(0,t.jsx)(d.Ay,{type:"submit",isDisabled:A,children:"Send"})]})]})}}}]);
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.