1"use strict";(self.webpackChunktalent_web=self.webpackChunktalent_web||[]).push([[6554],{23203(e,a,r){r.d(a,{h:()=>i});var s,t=r(65043);function n(){return n=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var r=arguments[a];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},n.apply(this,arguments)}function o(e,a){let{title:r,titleId:o,...i}=e;return t.createElement("svg",n({width:17,height:16,viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:a,"aria-labelledby":o},i),r?t.createElement("title",{id:o},r):null,s||(s=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.50413 3.84043C6.56521 3.87358 6.62719 3.90532 6.69002 3.93561C6.8704 4.02257 7.05782 4.09758 7.25129 4.15963C7.27441 4.16705 7.29762 4.17428 7.32091 4.18133C7.42408 4.21253 7.42408 4.35861 7.32091 4.38982C7.29762 4.39686 7.27441 4.40409 7.25129 4.41151C7.05783 4.47356 6.8704 4.54857 6.69002 4.63553C6.62719 4.66582 6.56521 4.69756 6.50413 4.73071C5.7637 5.13253 5.15499 5.74124 4.75317 6.48167C4.72002 6.54275 4.68828 6.60473 4.65799 6.66756C4.57103 6.84794 4.49602 7.03536 4.43397 7.22883C4.42655 7.25195 4.41932 7.27516 4.41228 7.29845C4.38107 7.40162 4.23499 7.40162 4.20379 7.29845C4.19674 7.27516 4.18951 7.25195 4.18209 7.22883C4.12004 7.03536 4.04503 6.84794 3.95807 6.66756C3.92778 6.60473 3.89604 6.54275 3.86289 6.48167C3.46107 5.74124 2.85236 5.13253 2.11193 4.73071C2.05085 4.69756 1.98888 4.66582 1.92605 4.63553C1.74566 4.54857 1.55824 4.47356 1.36477 4.41151C1.34165 4.40409 1.31844 4.39686 1.29515 4.38982C1.19198 4.35861 1.19198 4.21253 1.29515 4.18133C1.31844 4.17428 1.34165 4.16705 1.36477 4.15963C1.55824 4.09758 1.74566 4.02257 1.92605 3.93561C1.98888 3.90532 2.05085 3.87358 2.11193 3.84043C2.85236 3.43861 3.46107 2.8299 3.86289 2.08947C3.89604 2.02839 3.92778 1.96642 3.95807 1.90358C4.04503 1.7232 4.12004 1.53578 4.18209 1.34231C4.18951 1.31919 4.19674 1.29598 4.20379 1.27269C4.23499 1.16952 4.38107 1.16952 4.41228 1.27269C4.41932 1.29598 4.42655 1.31919 4.43397 1.34231C4.49602 1.53578 4.57103 1.7232 4.65799 1.90359C4.68828 1.96642 4.72002 2.02839 4.75317 2.08947C5.15499 2.8299 5.7637 3.43861 6.50413 3.84043ZM4.30803 2.89616C4.67778 3.44391 5.14969 3.91582 5.69744 4.28557C5.14969 4.65532 4.67778 5.12723 4.30803 5.67498C3.93828 5.12723 3.46637 4.65532 2.91862 4.28557C3.46637 3.91582 3.93828 3.44391 4.30803 2.89616ZM14.3798 9.4414C14.4351 9.46541 14.4907 9.48872 14.5467 9.5113C14.698 9.57229 14.8521 9.62803 15.0088 9.67827C15.0446 9.68976 15.0805 9.70095 15.1166 9.71186C15.2763 9.76018 15.2763 9.98636 15.1166 10.0347C15.0805 10.0456 15.0446 10.0568 15.0088 10.0683C14.8521 10.1185 14.698 10.1742 14.5467 10.2352C14.4907 10.2578 14.4351 10.2811 14.3798 10.3051C12.8144 10.9855 11.5639 12.2361 10.8835 13.8015C10.8594 13.8568 10.8361 13.9124 10.8136 13.9684C10.7526 14.1197 10.6968 14.2738 10.6466 14.4305C10.6351 14.4663 10.6239 14.5022 10.613 14.5383C10.5647 14.698 10.3385 14.698 10.2902 14.5383C10.2793 14.5022 10.2681 14.4663 10.2566 14.4305C10.2063 14.2738 10.1506 14.1197 10.0896 13.9684C10.067 13.9124 10.0437 13.8568 10.0197 13.8015C9.33931 12.2361 8.08876 10.9855 6.52335 10.3051C6.4681 10.2811 6.41247 10.2578 6.35645 10.2352C6.20513 10.1742 6.05104 10.1185 5.89439 10.0683C5.85859 10.0568 5.82265 10.0456 5.78659 10.0347C5.62684 9.98636 5.62684 9.76018 5.78659 9.71186C5.82265 9.70095 5.85859 9.68976 5.89439 9.67827C6.05104 9.62802 6.20513 9.57229 6.35645 9.5113C6.41247 9.48872 6.4681 9.46541 6.52335 9.4414C8.08876 8.76099 9.33931 7.51044 10.0197 5.94503C10.0437 5.88979 10.067 5.83415 10.0896 5.77813C10.1506 5.62682 10.2063 5.47272 10.2566 5.31607C10.2681 5.28027 10.2793 5.24434 10.2902 5.20827C10.3385 5.04852 10.5647 5.04852 10.613 5.20827C10.6239 5.24434 10.6351 5.28027 10.6466 5.31607C10.6968 5.47272 10.7526 5.62682 10.8136 5.77813C10.8361 5.83415 10.8594 5.88979 10.8835 5.94503C11.5639 7.51044 12.8144 8.76099 14.3798 9.4414ZM10.4516 6.88005C11.143 8.14243 12.1824 9.18187 13.4448 9.87327C12.1824 10.5647 11.143 11.6041 10.4516 12.8665C9.76019 11.6041 8.72075 10.5647 7.45836 9.87327C8.72075 9.18187 9.76019 8.14243 10.4516 6.88005Z",fill:"#1D1C28"})))}const i=t.forwardRef(o);r.p},43072(e,a,r){r.d(a,{h:()=>i});var s,t=r(65043);function n(){return n=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var r=arguments[a];
1for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},n.apply(this,arguments)}function o(e,a){let{title:r,titleId:o,...i}=e;return t.createElement("svg",n({width:16,height:17,viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:a,"aria-labelledby":o},i),r?t.createElement("title",{id:o},r):null,s||(s=t.createElement("g",{id:"TrudyPro"},t.createElement("rect",{id:"Rectangle 5273",width:15.9999,height:7.2,fill:"currentColor"}),t.createElement("rect",{id:"Rectangle 5857",width:7.38173,height:7.38173,transform:"matrix(0.707106 -0.707108 0.707106 0.707108 2.82031 11.0999)",fill:"currentColor"}))))}const i=t.forwardRef(o);r.p},48742(e,a,r){r.d(a,{A:()=>t});var s=r(70579);function t(e){return(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:17,height:16,viewBox:"0 0 17 16",fill:"none",...e,children:[(0,s.jsx)("path",{fill:"#1D1C28",fillRule:"evenodd",stroke:"#1D1C28",d:"M8.5 13.5A.5.5 0 0 1 8 13V3a.5.5 0 0 1 1 0v10a.5.5 0 0 1-.5.5Z",clipRule:"evenodd"}),(0,s.jsx)("path",{fill:"#1D1C28",fillRule:"evenodd",stroke:"#1D1C28",d:"M3 8a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1h-10A.5.5 0 0 1 3 8Z",clipRule:"evenodd"})]})}},80184(e,a,r){r.d(a,{A:()=>l});var s=r(64600),t=r.n(s),n=r(35475),o=r(26417),i=r(16299),c=r(70579);function l(e){let{className:a,rootPath:r,rootTitle:s,showBackButton:l=!0,onBack:d}=e;const h=r?n.N_:i.A;return(0,c.jsxs)(h,{to:r,className:t()("__back-button",a),onClick:d,children:[l&&(0,c.jsx)(o.h,{className:"back-button"}),s]})}},51058(e,a,r){r.d(a,{A:()=>x});var s=r(65043),t=r(64600),n=r.n(t),o=r(78602),i=r(29853),c=r(55064),l=r(92719),d=r(61072),h=r(84391),u=r(23203),p=r(48742),m=r(14479),f=r(94229),v=r(64054),g=r(39829),y=r(70579);const x=(0,s.forwardRef)(((e,a)=>{var r;let{preWrittenPhrases:t,defaultPhrases:x=[],useScrollablePhrases:j,onBlur:A,usePopover:_=!1,popoverPosition:C="right",hidePhrases:b=!1}=e;const[N,w]=(0,s.useState)([]),[M,B]=(0,s.useState)(t),[D,S]=(0,s.useState)(!1),[k,E]=(0,s.useState)(!1),{isMobile:P}=(0,f.l)(),{appState:T}=(0,v.Us)(),{currentUser:L}=T,I=()=>P?"left":C,R=(e,r,s)=>{"ADD_PRE_WRITTEN"===s&&g.Ay.trackUserClicked({widget_name:"Suggested phrases",from_view:null!==L&&void 0!==L&&L.id?"Start from Scratch":"Review"}),w([...N,e]);const t=document.createElement(r||"li");h.createRoot(t).render(e.content||e),a.current.appendChild(t);const n=M.filter((a=>a.id!==e.id));B(n)};null===a||void 0===a||null===(r=a.current)||void 0===r||r.addEventListener("click",(e=>{const a=e.target;"span"===a.tagName.toLowerCase()&&a.classList.add("update-placeholder")})),(0,s.useEffect)((()=>{null!==x&&void 0!==x&&x.length&&(a.current.innerHTML="",x.forEach((e=>{R(e?(0,y.jsx)("div",{className:"pre-written-phrase",children:e}):e,e?"li":"br")})))}),[x]);return(0,y.jsxs)(i.A.Group,{as:d.A,className:"form-item description-with-phrases-section",children:[(0,y.jsxs)(o.A,{md:_?12:7,sm:12,className:"description-col","data-cy":"work_achievements",children:[(0,y.jsxs)("div",{className:"description-header",children:[(0,y.jsxs)("div",{children:[(0,y.jsx)("p",{className:"section-label",children:"Description"}),(0,y.jsxs)("p",{className:"description-text",children:["Use bullet points to note your responsibilities and achievements.",!b&&!_&&" You can use the suggested phrases to help you."]})]}),!b&&(0,y.jsxs)("div",{className:"show-suggested-phrases-icon",children:[D&&!k&&(0,y.jsx)("div",{className:"suggested-phrases",children:(0,y.jsx)("p",{children:"Suggested phrases"})}),_&&(0,y.jsx)(c.A,{show:k,trigger:["click"],onToggle:e=>{E(e)},placement:I(),overlay:e=>(0,y.jsx)(l.A,{...e,className:"popover-container overlay",id:"popover-basic",placement:I(),title:"Suggested phrases",children:(0,y.jsxs)(l.A.Body,{className:"popover-container",children:[(0,y.jsxs)("div",{className:"popover-header",children:[(0,y.jsx)("p",{className:"section-label",children:"Suggested phrases"})," ",(0,y.jsx)("p",{className:"close-popover",onClick:()=>{E(!1)},children:"X"})]}),(0,y.jsx)("div",{className:"suggested-phrases-container",children:M.map(((e,a)=>(0,y.jsxs)("div",{className:"suggested-phrases-card",children:[(0,y.jsx)(m.A,{onClick:()=>R(e,null,"ADD_PRE_WRITTEN"),children:(0,y.jsx)(p.A,{className:"plus-icon"})}),e.content]},"suggested-phrases-card-".concat(a))))})]})}),children:(0,y.jsx)("div",{className:"magic-icon-button",onMouseEnter:()=>{S(!0)},onMouseLeave:()=>{S(!1)},children:(0,y.jsx)(u.h,{})})})]})]}),(0,y.jsx)("ul",{ref:a,className:"description-container",contentEditable:!0,suppressContentEditableWarning:!0,onKeyDown:e=>{if(!e.shiftKey&&!N.length&&!["Backspace","Delete"].includes(e.ke
1y)){w([]);R((0,y.jsx)("div",{className:"pre-written-phrase"}))}},onInput:e=>{e.target.innerText||w([])},onBlur:A})]}),!_&&!b&&(0,y.jsxs)(o.A,{className:"suggested-phrases-col",md:5,sm:12,children:[(0,y.jsx)("p",{className:"section-label",children:"Suggested phrases"}),(0,y.jsx)("div",{className:n()("suggested-phrases-container",{"suggested-phrases-container-scrollable":j}),children:M.map(((e,a)=>(0,y.jsxs)("div",{className:"suggested-phrases-card",children:[(0,y.jsx)(m.A,{onClick:()=>R(e,null,"ADD_PRE_WRITTEN"),children:(0,y.jsx)(p.A,{className:"plus-icon"})}),(null===e||void 0===e?void 0:e.content)||e]},"suggested-phrases-card-".concat(a))))})]})]})}))},80236(e,a,r){r.d(a,{A:()=>A});var s=r(24241),t=r(65043),n=r(78602),o=r(29853),i=r(61072),c=r(43795),l=r(51058),d=r(45486),h=r(99600),u=r(94229),p=r(93862),m=r(39829),f=r(21280),v=r(70579);const g=["Associate's Degree","Associate of Applied Science - AAS","Associate of Arts - AA","Associate of Science - AS","Bachelor's Degree","Bachelor of Applied Science - BAS","Bachelor of Architecture - BArch","Bachelor of Arts - BA","Bachelor of Business Administration - BBA","Bachelor of Commerce - BCom","Bachelor of Computer Science - BCompSc","Bachelor of Design - BDes","Bachelor of Education - BEd","Bachelor of Engineering - BEng","Bachelor of Fine Arts - BFA","Bachelor of Music - BMus","Bachelor of Nursing - BN","Bachelor of Pharmacy - BPharm","Bachelor of Public Administration - BPubAdmin","Bachelor of Science - BS","Bachelor of Science in Nursing - BScN","Bachelor of Technology - BTech","Doctor's Degree","Doctor of Arts","Doctor of Law","Doctor of Business Administration - DBA","Doctor of Dental Surgery - DDS","Doctor of Education - EdD","Doctor of Medicine - MD","Doctor of Ministry - DMin","Doctor of Nursing Practice - DNP","Doctor of Osteopathic Medicine - DO","Doctor of Philosophy - DPhil","Doctor of Philosophy - PhD","Doctor of Psychology - PsyD","Doctor of Science - DSc","Doctor of Science - ScD","Doctor of Theology - ThD","Doctor of Veterinary Medicine - DVM","Joint JD and MBA - JD/MBA","Doctor of Law - JD","Master's Degree","Master in Science (Integrated) - MSci","Master of Accounting - MAcc","Master of Architecture - MArch","Master of Arts - MA","Master of Business Administration - MBA","Master of Education - MEd","Master of Engineering - MEng","Master of Finance - MFin","Master of Fine Arts - MFA","Master of Landscape Architecture - MLA","Master of Public Administration - MPA","Master of Public Health - MPH","Master of Science - MS","Master of Science in Education - MSciEd","Master of Science in Information Technology - MScIT","Master of Science in Management - MSM","Master of Social Work - MSW","Master of Laws - LLM","Master of Philosophy - MPhil","Master of Research - MRes","Master of Science in Engineering - MScEng"],y=e=>"EMPTY-STICKY-PLACEHOLDER"===e?null:(0,v.jsx)("div",{className:"autocomplete-option",children:(0,v.jsx)("div",{className:"autocomplete-txt",children:e})}),x=[{id:1,content:(0,v.jsxs)("div",{className:"pre-written-phrase",children:["Collaborated on a ",(0,v.jsx)("span",{className:"replace-placeholder",children:"[subject]"}),"-focused research project, contributing to a"," ",(0,v.jsx)("span",{className:"replace-placeholder",children:"[finding/discovery]"})," that was recognized by"," ",(0,v.jsx)("span",{className:"replace-placeholder",children:"[award/publication/conference]"}),"."]})},{id:2,content:(0,v.jsxs)("div",{className:"pre-written-phrase",children:["Led a university-affiliated organization as"," ",(0,v.jsx)("span",{className:"replace-placeholder",children:"[position]"}),", growing membership by ",(0,v.jsx)("span",{className:"replace-placeholder",children:"[X]"}),"% and successfully organizing"," ",(0,v.jsx)("span",{className:"replace-placeholder",children:"[number]"})," events that enhanced community engagement."]})},{id:3,content:(0,v.jsxs)("div",{className:"pre-written-phrase",children:["Managed a"," ",(0,v.jsx)("span",{className:"replace-placeholder",children:"[term-long/year-long]"})," ","independent study on"," ",(0,v.jsx)("span",{className:"replace-placeholder",children:"[topic]"}),", resulting in a"," ",(0,v.jsx)("span",{className:"replace-placeholder",children:"[product/research paper/presentation]"})," ","that was commended by"," ",(0,v.jsx)("span",{className:"replace-placeholder",children:"[professors/industry professionals]"}),"."]})},{id:4,content:(0,v.jsxs)("div",{className:"pre-written-phrase",children:["Designed and executed a"," ",(0,v.jsx)("span",{className:"replace-placeholder",children:"[capstone project/thesis]"})," ","on ",(0,v.jsx)("span",{className:"replace-placeholder",children:"[project topic]"}),", which was awarded"," ",(0,v.jsx)("span",{className:"replace-placeholder",children:"[distinction/honor]"}),", underscoring innovative problem-solving and research abilities."]})},{id:5,content:(0,v.jsxs)("div",{className:"pre-written-phrase",children:["Completed ",(0,v.jsx)("span",{className:"replace-placeholder",children:"[number]"}
1)," ","internships in the"," ",(0,v.jsx)("span",{className:"replace-placeholder",children:"[industry/field]"}),", gaining hands-on experience in"," ",(0,v.jsx)("span",{className:"replace-placeholder",children:"[specific tasks or project types]"}),", and receiving"," ",(0,v.jsx)("span",{className:"replace-placeholder",children:"[positive feedback/commendation]"})," ","for"," ",(0,v.jsx)("span",{className:"replace-placeholder",children:"[contributions/skills demonstrated]"}),"."]})}],j={degree_name:"",education_type:"",field_of_study:"",program_name:"",school_name:"",school_location:"",start_year:"",end_year:"",currently_attending:!1,descriptions:[]};function A(e){let{education:a=null,resumeId:r,core:A=!1,formId:_="education-form",onSaveSuccess:C,showDetails:b=!0,showDescription:N=!0}=e;const{isMobile:w}=(0,u.l)(),[M,B]=(0,c.e)(j),[D,S]=(0,t.useState)(!1),[k,E]=(0,t.useState)({}),[P,T]=(0,t.useState)(),L=(0,t.useRef)(),I=e=>{m.Ay.trackQuestionAnswered({widget_name:"Education Form",form_field:e})},R=e=>{const{name:a,checked:r,type:s}=e.target;let{value:t}=e.target;"start_year"!==a&&"end_year"!==a||(t=t.replace(/[^0-9]/g,"")),E({}),B((e=>{e[a]=(0,f.GR)(t,r,s),"currently_attending"===a&&r&&(e.end_year="")})),"currently_attending"===a&&I(a)},F=e=>{const{name:a,value:r,innerText:s}=e.target;(void 0!==r&&""!==r.trim()||s)&&I(s?"description":a)},O=(0,t.useRef)(null),[W,q]=(0,t.useState)(g);return(0,t.useEffect)((()=>{if(a){var e;const r={...a};if(r.field_of_study=null===(e=r.fields_of_study)||void 0===e?void 0:e[0],r.start_date){const e=s.c9.fromFormat(r.start_date,"yy");r.start_year=e.year}if(r.end_date){const e=s.c9.fromFormat(r.end_date,"yy");r.end_year=e.year}B(r)}else B(j)}),[a]),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)(o.A,{id:_,className:"__education-form document-builder-step-content",n
1oValidate:!0,validated:D,onSubmit:async e=>{e.preventDefault();const a=e.currentTarget.checkValidity();if(S(!0),a)try{var t,n;const e=["id","user_id","field_of_study","created_at","updated_at","start_year","end_year"],a=Object.fromEntries(Object.entries(M).filter((a=>{let[r]=a;return!e.includes(r)}))),o=null===L||void 0===L||null===(t=L.current)||void 0===t||null===(n=t.innerText)||void 0===n?void 0:n.split("\n");let i=null;const c=s.c9.now().year;if(M.start_year&&(i=s.c9.fromObject({year:M.start_year}).toFormat("yyyy-MM-dd"),M.start_year>c))return void E({start_year:"Enter a valid start year"});const l={education_certification:{...a,start_date:i,end_date:null,descriptions:o,fields_of_study:[M.field_of_study],resume_id:r,input:A}};if(M.currently_attending)l.education_certification.end_date=null;else if(M.end_year&&(l.education_certification.currently_attending=!1,l.education_certification.end_date=s.c9.fromObject({year:M.end_year}).toFormat("yyyy-MM-dd"),M.end_year>c))return void E({end_year:"Enter a valid end year"});let d;if(null!==M&&void 0!==M&&M.id){d=(await p.FH.put("/education_certifications/".concat(M.id),l)).data}else{d=(await p.FH.post("/education_certifications",l)).data}C&&C(d,"education")}catch(l){var o,i,c;T("Unexpected error while saving the education. Please try again later."),null!==l&&void 0!==l&&null!==(o=l.response)&&void 0!==o&&null!==(i=o.data)&&void 0!==i&&null!==(c=i.errors)&&void 0!==c&&c.end_date&&(null===M||void 0===M?void 0:M.end_year)<(null===M||void 0===M?void 0:M.start_year)&&E({end_year:"Must be greater than or equal to start year"})}},children:[b&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(o.A.Group,{as:i.A,className:"form-item",children:(0,v.jsx)(n.A,{md:8,sm:12,"data-cy":"school_name",children:(0,v.jsx)(h.A,{label:"School Name",name:"school_name",placeholder:"e.g. University of California, Los Angeles",errorMessage:"Please enter the school name",value:null===M||void 0===M?void 0:M.school_name,required:!0,onChange:R,onBlur:F})})}),(0,v.jsx)(o.A.Group,{as:i.A,className:"form-item",children:(0,v.jsx)(n.A,{md:5,sm:12,"data-cy":"school_location",children:(0,v.jsx)(h.A,{label:"School Location",name:"school_location",placeholder:"e.g. Los Angeles, CA",errorMessage:"Please enter the school location",value:null===M||void 0===M?void 0:M.school_location,onChange:R,onBlur:F})})}),(0,v.jsxs)(o.A.Group,{as:i.A,className:"form-item",children:[(0,v.jsx)(n.A,{xs:7,md:5,"data-cy":"field_of_study",children:(0,v.jsx)(h.A,{label:"Field of Study",name:"field_of_study",placeholder:"e.g. Economics",errorMessage:"Please enter the field of study",value:null===M||void 0===M?void 0:M.field_of_study,onChange:R,onBlur:F})}),(0,v.jsx)(n.A,{className:"col",xs:5,md:3,"data-cy":"degree_name",children:(0,v.jsx)(h.A,{id:"degree_name",label:"Degree Type",name:"degree_name",ref:O,selected:null!==M&&void 0!==M&&M.degree_name?[null===M||void 0===M?void 0:M.degree_name]:[],type:"autocomplete",options:W,renderMenuItemChildren:y,onBlur:()=>{const e=O.current.getInput().value;g.some((a=>a.toLowerCase()===e.toLowerCase()))||(O.current.clear(),B((e=>{e.degree_name=""}))),I("degree_name")},onChange:()=>{const e=O.current.getInput().value;B((a=>{a.degree_name=e||""}));const a=null===g||void 0===g?void 0:g.filter((a=>a.toLowerCase().includes(e.toLowerCase())));q(a)}})})]}),(0,v.jsx)(o.A.Group,{as:i.A,className:"form-item",children:(0,v.jsx)(n.A,{className:"col",sm:12,md:5,"data-cy":"program_name",children:(0,v.jsx)(h.A,{label:"Program Name",name:"program_name",value:null===M||void 0===M?void 0:M.program_name,onChange:R,onBlur:F})})}),(0,v.jsxs)(o.A.Group,{as:i.A,className:"form-item",children:[(0,v.jsxs)(n.A,{md:5,sm:12,className:"date-item",children:[(0,v.jsx)("div",{children:(0,v.jsx)(o.A.Label,{className:"truepath-input-label",children:"Start date"})}),(0,v.jsx)(i.A,{children:(0,v.jsx)(n.A,{xs:5,"data-cy":"start_year",className:"year",children:(0,v.jsx)(h.A,{hideLabel:!0,placeholder:"Year",name:"start_year",value:null===M||void 0===M?void 0:M.start_year,isInvalid:null===k||void 0===k?void 0:k.start_year,errorMessage:(null===k||void 0===k?void 0:k.start_year)||"Enter a valid start year",onChange:R,onBlur:F,pattern:"(19[0-9][0-9])|(20[
10-9][0-9])"})})})]}),(0,v.jsxs)(n.A,{md:4,sm:12,className:"date-item",children:[(0,v.jsx)("div",{children:(0,v.jsx)(o.A.Label,{className:"truepath-input-label",children:"End date"})}),(0,v.jsx)(i.A,{children:(0,v.jsx)(n.A,{xs:5,"data-cy":"end_year",className:"year",children:(0,v.jsx)(h.A,{hideLabel:!0,placeholder:"Year",isInvalid:null===k||void 0===k?void 0:k.end_year,name:"end_year",disabled:!(null===M||void 0===M||!M.currently_attending),value:null===M||void 0===M?void 0:M.end_year,errorMessage:(null===k||void 0===k?void 0:k.end_year)||"Enter a valid end year",onChange:R,onBlur:F,pattern:"(19[0-9][0-9])|(20[0-9][0-9])"})})}),(0,v.jsx)(i.A,{children:(0,v.jsx)(h.A,{className:"current-position-checkbox",type:"checkbox",name:"currently_attending",label:"I am currently studying here.",checked:M.currently_attending,onChange:R})})]})]})]}),N&&(0,v.jsx)(l.A,{usePopover:!w&&window.location.pathname.includes("edit-resume"),hidePhrases:w,popoverPosition:window.location.pathname.includes("edit-resume")?"right":"left",ref:L,defaultPhrases:M.descriptions,preWrittenPhrases:x,onBlur:F})]}),(0,v.jsx)(d.A,{type:"danger",show:!!P,message:P,onClose:()=>T(null)})]})}},14479(e,a,r){r.d(a,{A:()=>c});var s=r(65043),t=r(64600),n=r.n(t),o=r(16299),i=r(70579);const c=(0,s.forwardRef)(((e,a)=>{let{className:r,children:s,...t}=e;return(0,i.jsx)(o.A,{className:n()("__koi-button __koi-icon-button",r),ref:a,...t,children:s})}))},45486(e,a,r){r.d(a,{A:()=>l});var s=r(65043),t=r(64600),n=r.n(t),o=r(41089),i=r(4524),c=r(70579);function l(e){let{position:a="top-center",delay:r=3e3,className:t,type:l,show:d,onShow:h,message:u,onClose:p,...m}=e;return(0,s.useEffect)((()=>{h&&h()}),[]),(0,c.jsx)(i.A,{position:a,children:(0,c.jsx)(o.A,{autohide:!0,className:n()("__koi-toast",t),delay:r,show:d,bg:l,onClose:p,...m,children:(0,c.jsx)(o.A.Body,{children:u})})})}},5373(e,a,r){r.d(a,{A:()=>n});var s=r(80184),t=r(70579);function n(e){let{breadCrumbTitle:a,rootPath:r,rootTitle:n,showBackButton:o=!0,onBack:i}=e;return(0,t.jsxs)("div",{className:"__page-bread-crumbs",children:[(0,t.jsx)(s.A,{rootTitle:n,rootPath:r,showBackButton:o,onBack:i}),(0,t.jsx)("span",{className:"breadcrumb-separator",children:"/"}),(0,t.jsx)("span",{className:"breadcrumb-current",children:a})]})}},27816(e,a,r){r.d(a,{A:()=>l});var s=r(64600),t=r.n(s),n=r(27417),o=r(43072),i=r(16299),c=r(70579);function l(e){let{backBtnLabel:a="Back",children:r,className:s,disableNextBtn:l=!1,form:d,leftExtraContent:h,nextBtnLabel:u="Next",showSkip:p=!1,showBack:m=!0,showNext:f=!0,forceMobileFooter:v=!1,showLeft:g=!0,onBack:y,onNext:x,onSkip:j,showDelete:A,onDelete:_,onNextLoading:C=!1,userInFreePlan:b=!1,bottomMessage:N}=e;return(0,c.jsxs)("div",{className:t()("__wizard-footer",s,{"force-mobile-footer":v,"reverse-trial-btn":b}),children:[g&&(0,c.jsxs)("div",{className:"left",children:[h&&(0,c.jsx)("div",{className:"extra-content",children:h}),m&&(0,c.jsx)(i.A,{className:"back-btn",variant:"secondary",onClick:y,"data-cy":"back",children:a}),p&&(0,c.jsx)(i.A,{className:"skip-btn",variant:"secondary",onClick:j,"data-cy":"skip",children:"Skip"})]}),(0,c.jsxs)("div",{className:"right",children:[r&&(0,c.jsx)("div",{className:"extra-content",children:r}),A&&(0,c.jsx)(i.A,{className:"delete-btn",variant:"error",onClick:_,children:"Delete"}),f&&(0,c.jsxs)(i.A,{variant:"primary",type:"submit",disabled:l,onClick:x,form:d,"data-cy":"next",children:[C?(0,c.jsx)(n.A,{}):u,b&&(0,c.jsx)(o.h,{className:"trudy-pro-icon"})]}),N]})]})}},98435(e,a,r){r.d(a,{A:()=>i});var s=r(65043),t=r(93747),n=r(63248),o=r(93862);function i(e){let{url:a="",method:r="GET",payload:i=null,queryKey:c=[""],skip:l=!1,measureRequestTime:d=!1,staleTime:h,cacheTime:u,refetchOnWindowFocus:p,refetchOnMount:m,refetchOnReconnect:f,refetchInterval:v}=e;const g=(0,n.jE)(),[y,x]=(0,s.useState)(0),j=(0,t.I)({queryKey:c,queryFn:async()=>{let e;d&&(e=performance.now());const s=await(0,o.FH)({method:r,url:a,data:i});if(d&&e){const a=performance.now();x((a-e)/1e3)}return s.data},enabled:!l,staleTime:h,cacheTime:u,refetchOnWindowFocus:p,refetchOnMount:m,refetchOnReconnect:f,refetchInterval:v});return{loading:j.isPending,fetching:j.isFetching,error:j.error,response:j.data,requestDurationSeconds:d?y:void 0,refetch:()=>{d&&x(0),g.invalidateQueries(c)},refetchSelf:async()=>(d&&x(0),j.refetch())}}},76554(e,a,r){r.r(a),r.d(a,{default:()=>l});r(90325);
1var s=r(73216),t=r(80236),n=r(54834),o=r(98435),i=r(84153),c=r(70579);function l(){const{educationId:e}=(0,s.g)(),{response:a}=(0,o.A)({url:"/education_certifications/".concat(e),queryKey:[n.NI,e],skip:!e});return(0,c.jsx)(i.A,{breadCrumbTitle:e?"Edit education":"Add education",pageTitle:"".concat(e?"Edit":"Add"," education"),sectionId:"profile-educations-section",formId:"education-form",Form:e=>(0,c.jsx)(t.A,{education:a,...e})})}},84153(e,a,r){r.d(a,{A:()=>j});r(77192),r(90325);var s=r(64600),t=r.n(s),n=r(73216),o=r(53896),i=r(2837),c=r(5373),l=r(27816),d=r(54834),h=r(98435),u=r(23349),p=r(45186),m=r(94229),f=r(41114),v=r(64054),g=r(39829),y=r(53451),x=r(70579);function j(e){let{pageTitle:a,breadCrumbTitle:r,Form:s,formId:j,hideFooter:A=!1,sectionId:_,showDelete:C=!1,onDelete:b,className:N,onSaveSuccess:w}=e;const M=(0,n.Zp)(),{appState:B}=(0,v.Us)(),{currentUser:D}=B,{isMobile:S}=(0,m.l)(),k=(0,p.A)(),E=(0,u.A)(),{response:P}=(0,h.A)({url:"/users/profile/".concat(null===D||void 0===D?void 0:D.vanity_url),queryKey:[d.A$],skip:!(null!==D&&void 0!==D&&D.vanity_url)}),T=()=>{M("/profile?scrollTo=".concat(_))},L=async(e,a)=>{let r=a;a||(r=null!==e&&void 0!==e&&e.personality_strengths?"header":"experience"),g.Ay.trackProfileEdit({placement:r,user_status:"member"}),null===w||void 0===w||w(e),E&&!["profile-header-form","about-form"].includes(j)&&(await k(D.id,{update_scores:!0}),localStorage.setItem("show_global_loader",!0)),T()};return(0,x.jsxs)("div",{className:t()("__profile-add-edit-page",N),children:[S&&(0,x.jsx)(f.A,{rightContent:(0,x.jsx)(o.h,{onClick:T})}),(0,x.jsxs)("div",{className:t()("profile-add-edit-card",{"no-gap-footer":S}),"data-cy":"profile-add-edit-card",children:[(0,x.jsxs)("div",{className:"content-body",children:[!S&&(0,x.jsx)(c.A,{breadCrumbTitle:r,rootPath:"/profile?scrollTo=".concat(_),rootTitle:"Profile"}),(0,x.jsx)(i.Ay,{className:"profile-section-title",children:a}),(0,x.jsx)("div",{className:"profile-section-container",children:(()=>{var e,a;return s({resumeId:null===P||void 0===P||null===(e=P.resume)||void 0===e?void 0:e.id,formId:j,objective:"about-form"===j?null===P||void 0===P||null===(a=P.resume)||void 0===a?void 0:a.objective:null,onSaveSuccess:L})})()}),!S&&(0,x.jsx)(y.A,{})]}),!A&&(0,x.jsx)(l.A,{form:j,backBtnLabel:"Cancel",bottomMessage:S&&(0,x.jsx)(y.A,{}),nextBtnLabel:"Add to profile",onDelete:b,showDelete:C,showBack:!S,onBack:T})]})]})}},53451(e,a,r){r.d(a,{A:()=>t});var s=r(70579);function t(){return(0,s.jsxs)("div",{className:"__experience-description-container",children:[(0,s.jsxs)("div",{className:"title",children:[(0,s.jsx)("span",{className:"icon",children:"\ud83c\udf1f"}),(0,s.jsx)("span",{children:"Better experience = better scores"})]}),(0,s.jsx)("p",{children:"Adding details helps us improve your match scores, surface better-fit listings, and expand your career path options."})]})}},90325(){},77192(){}}]); 2//# sourceMappingURL=6554.295e4237.chunk.js.map
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.