PageSourceSearch

https://static.zippia.com/ui-router/blue/2.9.4.p2/2026-09-10-16-17…dashboardOnboardingFlow-716ca7845dcbd340.js

js zippia.com collected 2026-09-24 08:25:39 UTC 17,909 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3702],{34925:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboardOnboardingFlow",function(){return t(88587)}])},49914:function(e,n,t){"use strict";var o=t(24246),a=t(27378),i=t(37254),s=t(90104),r=t.n(s),l=t(88038),c=t.n(l),d=t(43218),u=t.n(d),m=t(2294),p=function(e){var n=function(){return p||(h?(0,m.jvJ)(h)?h:"".concat(b,"/assets/").concat(h):"https://static.zippia.com/assets/zippia-og-image.png")},t=e.TITLE,i=e.META_DESCRIPTION,s=e.META_KEYWORDS,l=e.OG_TITLE,d=e.OG_META_DESCRIPTION,p=e.OG_IMAGECOMPANY,h=e.OG_IMAGE,g=e.PUBLISHED_TIME,x=e.MODIFIED_TIME,f=e.UPDATED_TIME,j=e.SQUARE_WEB_SDK_CDN,b=e.host,_=e.url,w=e.noIndex,v=e.indexAndNoFollow,N=e.relCanonical,S=e.pageCategory,y=e.structuredData,B=e.userGroup,z=e.indexAndFollow,F=e.useStaticOgImage,C=void 0===F||F,O=e.META_RSS_TITLE;(0,a.useEffect)((function(){/MSIE \d|Trident.*rv:/.test(navigator.userAgent)&&(window.location.href="microsoft-edge:".concat(window.location.href),setTimeout((function(){window.location.href="https://go.microsoft.com/fwlink/?linkid=2135547"}),1))}),[]);var T=Array.isArray(y)?null==y?void 0:y.filter((function(e){return!r()(e)})):y;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(c(),{children:[(0,o.jsx)("title",{children:t}),i&&(0,o.jsx)("meta",{name:"description",content:i}),(0,o.jsx)("meta",{name:"author",content:""}),s&&(0,o.jsx)("meta",{name:"keywords",content:s}),(0,o.jsx)("meta",{property:"og:title",content:l}),(0,o.jsx)("meta",{property:"og:type",content:"website"}),(0,o.jsx)("meta",{property:"og:url",content:b+_}),(0,o.jsx)("meta",{property:"og:description",content:d}),g&&x&&f&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("meta",{property:"article:published_time",content:g}),(0,o.jsx)("meta",{property:"article:modified_time",content:x}),(0,o.jsx)("meta",{property:"og:updated_time",content:f})]}),(0,o.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,o.jsx)("meta",{name:"twitter:site",content:"@ZippiaInc"}),(0,o.jsx)("meta",{name:"twitter:title",content:l}),(0,o.jsx)("meta",{name:"twitter:url",content:b+_}),(0,o.jsx)("meta",{name:"twitter:description",content:d}),(0,o.jsx)("meta",{charSet:"utf8"}),(0,o.jsx)("meta",{name:"twitter:image:src",content:n()}),(0,o.jsx)("meta",{property:"fb:app_id",content:"508633732650088"}),(0,o.jsx)("meta",{property:"og:image",content:C?"https://static.zippia.com/assets/zippia-og-image.png":n()}),w&&(0,o.jsx)("meta",{name:"robots",content:"noindex, follow"}),!w&&v&&(0,o.jsx)("meta",{name:"robots",content:"index, nofollow"}),!w&&z&&(0,o.jsx)("meta",{name:"robots",content:"index, follow"}),N&&!w&&(0,o.jsx)("link",{rel:N.rel,href:N.href}),!w&&O&&(0,o.jsx)("link",{rel:"alternate",type:"application/rss+xml",title:O,href:"".concat(b+_,"feed/")}),(0,o.jsx)("script",{dangerouslySetInnerHTML:{__html:" var pageCategory = '".concat(S,"';")}}),(0,o.jsx)("script",{dangerouslySetInnerHTML:{__html:" var userGroup = '".concat(B,"';")}}),T&&(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(T)}}),j&&(0,o.jsx)("script",{src:j,async:!0,defer:!0})]}),(0,o.jsx)(u(),{src:"https://accounts.google.com/gsi/client",strategy:"lazyOnload"}),(0,o.jsx)(u(),{src:"https://www.google.com/recaptcha/api.js",strategy:"lazyOnload"})]})};p.defaultProps={userGroup:""};n.Z=(0,i.$j)((function(e){var n=e.locals,t="";return n&&n.userGroup&&(t=(0,m.$p6)(n.userGroup)),{userGroup:t}}),null)(p)},70086:function(e,n,t){"use strict";var o=t(53573),a=t(24246),i=t(27378),s=t(90005),r=t.n(s),l=t(2294),c=t(48361),d=t.n(c),u=function(e){var n=e.icon,t=e.value,o=e.label,i=e.selected,s=e.onClick;return(0,a.jsx)("button",{type:"button",className:"d-contents",onClick:function(){return s(t)},children:(0,a.jsxs)("div",{className:r()("selection-box mt-0",{selected:i}),children:[(0,a.jsx)("span",{className:"icon",children:(0,a.jsx)("div",{className:r()("iconAlist",i?"icon-yes text-white":"icon-".concat((0,l.Iw6)(n)))})}),(0,a.jsx)("div",{className:"selection-box-label text-dark",children:o})]})})};n.Z=function(e){var n=e.noOfColumns,t=e.onSelect,s=e.options,l=e.initialOptions,c=e.multi,m=(0,i.useState)(l||[]),p=m[0],h=m[1];return(0,a.jsx)("menu",{className:r()("d-grid px-0 mb-0",d().menu),style:{gridTemplateColumns:"repeat(".concat(n,", 1fr)")},children:s.map((function(e,n){return(0,a.jsx)(u,{icon:e.icon,value:e.value,label:e.answer,selected:p.includes(e.value),onClick:function(){return n=e.value,a=[],a=c?p.includes(n)?p.filter((function(e){return e!==n})):(0,o.Z)(p).concat([n]):[n],h(a),void(null==t||t(n,p));var n,a}},"survey-option-".concat(n))}))})}},88587:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return I}});var o=t(68772),a=t(24246),i=t(27378),s=t(49914),r=t(42802),l=t(90005),c=t.n(l),d=t(86677),u=t(2294),m=t(65218),p=t.n(m),h=t(94847),g=t(9801),x=t(50524),f=t.n(x),j=p()((function(){return Promise.resolve().then(t.bind(t,53532))}),{loadableGenerated:{webpack:function(){return[53532]}
1},ssr:!1}),b=function(e){var n=e.changeStep,t=(0,i.useState)(""),s=t[0],r=t[1],l=(0,i.useState)(!1),d=l[0],u=l[1],m=(0,i.useState)(""),p=m[0],x=m[1],b=(0,i.useState)(!1),_=b[0],w=b[1];(0,i.useEffect)((function(){s&&u(!0)}),[s]);return(0,a.jsxs)("div",{className:c()("container-fluid",f()["h-mobile-100"]),children:[(0,a.jsx)("div",{className:"row justify-content-center",children:(0,a.jsx)("div",{className:c()("col-12 px-0 mx-0 text-center",f().onBoardingTitleContainer),children:(0,a.jsx)("div",{className:c()("z-inter z-font-22 z-font-700",f()["title-font"]),children:"What job you want to have?"})})}),(0,a.jsxs)("form",{autoComplete:"off",className:f().onBoardingFormClass,children:[(0,a.jsx)("div",{className:"step-content z-mt-20 z-mt-md-0 z-mx-10 z-mx-md-0 pt-1 pb-0 z-pt-36",children:(0,a.jsx)("div",{className:"row",children:(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)("div",{className:"input-group input-group-lg flex-nowrap",children:[(0,a.jsx)("span",{className:"input-group-addon",children:(0,a.jsx)("div",{className:"iconAlistInput icon-any-all z-font-color-primary"})}),(0,a.jsx)(j,{category:"jobTitle",onChange:function(e){w(!1),e.valueObj.original_name?r(e):(r(""),u(!1),x(e.errorMessage))},inputProps:{className:"form-control",placeholder:"Enter title"}})]}),_&&p&&(0,a.jsx)("div",{className:"show-error",children:(0,a.jsx)("span",{className:"error",children:(0,a.jsx)("span",{className:"error",children:"".concat(p)})})})]})})}),(0,a.jsxs)("div",{className:c()(f().onBoardingFlowNextButton,"z-mt-36 px-4"),children:[(0,a.jsx)("div",{className:f().onBoardingMobileLine}),(0,a.jsx)(h.ZP,{theme:"primary",size:"big",className:f().dashboardFlowButton,type:"button",onClick:function(){if(s){var e={},t=s.expertiseAreas,a=s.valueObj.original_name?(0,o.Z)({originalSearch:s.valueObj.name,normalizedTitle:s.valueObj.original_name},(null==t?void 0:t.length)?{expertiseAreas:t}:{}):{originalSearch:s.displayValue,normalizedTitle:""};e.titles=[a],n(),(0,g.Ui)(e)}else p&&w(!0)},isFullWidth:!0,disabled:!d,children:"Next"}),(0,a.jsx)("div",{className:"row justify-content-center mt-3",children:(0,a.jsx)(h.ZP,{theme:"link",size:"big",onClick:function(){n()},children:"Skip for now"})})]})]})]})},_=p()((function(){return Promise.resolve().then(t.bind(t,53532))}),{loadableGenerated:{webpack:function(){return[53532]}},ssr:!1}),w=function(e){var n=e.changeStep,t=(0,i.useState)(""),o=t[0],s=t[1],r=(0,i.useState)(!1),l=r[0],d=r[1],u=(0,i.useState)(""),m=u[0],p=u[1],x=(0,i.useState)(!1),j=x[0],b=x[1];(0,i.useEffect)((function(){o&&d(!0)}),[o]);return(0,a.jsxs)("div",{className:c()("container-fluid",f()["h-mobile-100"]),children:[(0,a.jsx)("div",{className:"row justify-content-center",children:(0,a.jsx)("div",{className:c()("col-12 px-0 mx-0 text-center",f().onBoardingTitleContainer),children:(0,a.jsx)("div",{className:c()("z-inter z-font-22 z-font-700",f()["title-font"]),children:"Where would you like to work?"})})}),(0,a.jsxs)("form",{autoComplete:"off",className:f().onBoardingFormClass,children:[(0,a.jsx)("div",{className:"step-content z-mt-20 z-mt-md-0 z-mx-10 z-mx-md-0 pt-1 pb-0 z-pt-36",children:(0,a.jsx)("div",{className:"row",children:(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)("div",{className:"input-group input-group-lg flex-nowrap",children:[(0,a.jsx)("span",{className:"input-group-addon",children:(0,a.jsx)("div",{className:"iconAlistInput icon-location-pin z-font-color-primary"})}),(0,a.jsx)(_,{category:"location",onChange:function(e){b(!1),e.value?s(e.valueObj):(s(""),d(!1),p(e.errorMessage))},autoSuggestSource:"location",inputProps:{className:f().onBoardingFlowAutoSuggest,placeholder:"Enter city or state"}})]}),j&&m&&(0,a.jsx)("div",{className:"show-error",children:(0,a.jsx)("span",{className:"error",children:(0,a.jsx)("span",{className:"error",children:"".concat(m)})})})]})})}),(0,a.jsxs)("div",{className:c()(f().onBoardingFlowNextButton,"z-mt-36"),children:[(0,a.jsx)("div",{className:f().onBoardingMobileLine}),(0,a.jsx)(h.ZP,{theme:"primary",size:"big",className:f().dashboardFlowButton,type:"button",onClick:function(){if(o){var e={};e.location=[{city:o.city,state:o.state}],n(),(0,g.YF)(e)}else m&&b(!0)},disabled:!l,isFullWidth:!0,children:"Next"}),(0,a.jsx)("div",{className:"row justify-content-center mt-3",children:(0,a.jsx)(h.ZP,{theme:"link",size:"big",onClick:function(){n()},children:"Skip for now"})})]})]})]})},v=function(e){var n=e.changeStep,t=(0,i.useState)(""),o=t[0],s=t[1],r=(0,i.useState)(!1),l=r[0],d=r[1],u=(0,i.useState)(""),m=u[0],p=u[1],x=function(){if(o){var e=o.split(" "),t=e[0]||"",a=e[1]||"";e[2]&&(a=e.slice(1).join(" "));var i={firstName:t,lastName:a};(0,g.gS)(i).then((function(e){200===e.status?n():p("Something went wrong, please submit your name again.")}))}else p("Please enter your Name.")};return(0,i.useEffect)((function(){o?(d(!0),p("")):d(!1)}),[o]),(0,a.jsxs)("div",{className:c()("container-fluid",f()["h-mobile-100"]),children:[(0,a.jsx)("div",{className:"row justify-content-center",children:(0,a.jsx)("div",{className:c()("col-12 px-0 mx-0 text-center",f().onBoardingTitleContainer),children:(0,a.jsx)("div",{className:c()("z-inter z-font-22 z-font-700",f()["title-font"]),children:"Let's get acquainted"})})}),(0,a.jsxs)("form",{autoComplete:"off",className:f().onBoardingFormClass,children:[(0,a.jsx)("div",{className:"step-content z-mt-20 z-mt-md-0 px-0 pb-0 z-pt-36",children:(0,a.jsx)("div",{className:"row",children:(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)("div",{className:"input-group input-group-lg flex-nowrap",children:[(0,a.jsx)("span",{className:"input-group-addon",children:(0,a.jsx)("div",{className:"iconAlistInput icon-icon-personal z-font-color-primary"})}),(0,a.jsx)("input",{onKeyDown:function(e){"Enter"===e.key&&(e.preventDefault(),x())},type:"text",value:o,onChange:function(e){s(e.target.value)},className:f().onBoardingNameInputField,placeholder:"Enter your name"})]}),m&&(0,a.jsx)("div",{className:"show-error",children:(0,a.jsx)("span",{className:"error",children:(0,a.jsx)("span",{className:"error",children:"".concat(m)})})})]})})}),(0,a.jsxs)("div",{className:c()(f().onBoardingFlowNextButton,"z-mt-36"),children:[(0,a.jsx)("div",{className:f().onBoardingMobileLine}),(0,a.jsx)(h.ZP,{theme:"primary",size:"big",className:f().dashboardFlowButton,disabled:!l,type:"button",onClick:x,isFullWidth:!0,children:l?"Get my dashboard":"Next"})]})]})]})},N=t(70086),S=t(63240),y=t(54996),B=t.n(y),z=[{value:"actively-looking",answer:"Actively looking for a job",icon:(0,u.Iw6)("icon-job-1-2")},{value:"casually-browsing",answer:"Casually browsing job opportunities",icon:(0,u.Iw6)("icon-any")},{value:"not-interested",answer:"Not interested in getting a new job",icon:(0,u.Iw6)("icon-dontsponsor")}],F=function(e){var n=e.changeStep,t=(0,i.useState)(""),o=t[0],s=t[1],r=(0,i.useState)(!1),l=r[0],d=r[1],u=(0,i.useState)(""),m=u[0],p=u[1];return(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)("div",{className:"row justify-content-center",children:(0,a.jsx)("div",{className:c()("col-12 px-0 mx-0 text-center",f().onBoardingTitleContainer),children:(0,a.jsx)("div",{className:c()("z-inter z-font-22 z-font-700",f()["title-font"]),children:"What describes your situation?"})})}),(0,a.jsx)("div",{className:"row justify-content-center ",children:(0,a.jsx)("div",{className:"col-lg-10 text-center",children:(0,a.jsx)("div",{className:B().dashboardSituationDescription,children:"This information will be kept private and is only used to personalize your experience on Zippia."})})}),(0,a.jsxs)("form",{autoComplete:"off",className:c()(f().onBoardingFormClass,B().onBoardingJobSitutationForm),children:[(0,a.jsx)(N.Z,{noOfColumns:2,onSelect:function(e){return s(e)},options:z}),m&&(0,a.jsx)("p",{className:"z-mt-24 red-text z-font-14 text-center",children:m}),(0,a.jsxs)("div",{className:c()(f().onBoardingFlowNextButton,"z-mt-36"),children:[(0,a.jsx)("div",{className:f().onBoardingMobileLine}),(0,a.jsx)(h.ZP,{theme:"primary",size:"big",className:f().dashboardFlowButton,type:"button",onClick:function(){if(o){p("");var e={};e.JobSearchSituation={value:o,source:"user-specified",confidence:10},d(!0),(0,g.gS)(e).then((function(e){200===e.status?n():p("Something went wrong, please submit your answer again.")})).catch((function(e){console.error("Unable to update user preferences.",e),p("Something went wrong, please submit your answer again.")})).finally((function(){return d(!1)}))}else p("Must select an option to continue.")},isFullWidth:!0,disabled:!o||l,withContent:!1,children:l?(0,a.jsxs)("div",{className:"flex-center mx-auto gg-10",children:["Loading...",(0,a.jsx)(S.TK,{stroke:"white",height:"20"})]}):"Next"})]})]})]})},C=t(92232),O=t.n(C),T=function(e){var n=e.stepValue,t=e.userProfile.profile,o=(0,d.useRouter)(),s=function(){var e=[],o=t.other_preferences;return o.jobSearchSituation.value||e.push({stepValue:"job-search-situation",component:F}),(void 0===o.userLocation||o.userLocation&&0===o.userLocation.length)&&e.push({stepValue:"location",component:w}),(void 0===o.titles||o.titles&&0===o.titles.length)&&e.push({stepValue:"job-title",component:b}),t.name||e.push({stepValue:"name",component:v}),n&&e.forEach((function(t,o){t.stepValue===n&&(e.splice(o,1),e.splice(0,0,t))})),e}(),l=(0,i.useState)(0),m=l[0],p=l[1],h=function(){var e=m+1;e>=s.length-1?window.location.href="/dashboard/":(o.push({pathname:"".concat(o.pathname,"/"),query:{step:s[e].stepValue}},{pathname:"".concat(window.location.pathname),query:{step:s[e].stepValue}},{shallow:!0}),p(e))};return(0,i.useEffect)((function(){(0,u.d8j)({item:"onBoardingFlowTimer",value:new Date,expiredays:360,path:"/dashboard"}),0===s.length&&void 0!==window&&(window.location.href="/dashboard/")}),[]),(0,a.jsxs)("div",{tableindex:"-1",className:c()("position-relative float-left w-100 background-white",O().dashboardSituationContainer),children:[(0,a.jsx)("div",{className:c()("background-white position-fixed z-t-0 z-b-0 z-l-0 z-r-0 w-100 h-100 p-0",O().onBoardingFlowBackgroun
1dLayer)}),s.map((function(e,n){return(0,a.jsx)(r.ZP,{in:n===m,unmountOnExit:!0,mountOnEnter:!0,timeout:1e3,children:function(n){return(0,a.jsx)("div",{className:c()("position-fixed z-t-0 z-b-0 z-l-0 z-r-0 w-100 p-0",O().dashboardSliderContainer,O().onBoardingAnimation,O()[n]),children:(0,a.jsx)("div",{className:"d-table w-100 h-100",children:(0,a.jsx)("div",{className:c()("w-100 position-relative",O().dashboardRegisterStepSlide),children:(0,a.jsx)("div",{className:O().dashboardRegisterContainer,children:(0,a.jsx)(e.component,{changeStep:h})})})})})}},e.stepValue+n)}))]})},E=function(e){var n=e.data,t=n.metadata;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.Z,(0,o.Z)({},t)),(0,a.jsx)(T,(0,o.Z)({},n))]})};E.getInitialProps=function(e){var n=e.req,t=e.res;return n?{data:t?t.data:null,user:n?n.user:null,locals:t?t.locals:null}:window.__NEXT_DATA__.props.pageProps};var I=E},48361:function(e){e.exports={menu:"multiColumnMenu_menu__1ylfy"}},92232:function(e){e.exports={entering:"dashboardOnBoardingFlow_entering__UZRIK",fadeInRightBig:"dashboardOnBoardingFlow_fadeInRightBig__EOi3r",exiting:"dashboardOnBoardingFlow_exiting__nJr5h",fadeOutLeft:"dashboardOnBoardingFlow_fadeOutLeft__ux3x3",dashboardSituationContainer:"dashboardOnBoardingFlow_dashboardSituationContainer__Nf8Mo",onBoardingFlowBackgroundLayer:"dashboardOnBoardingFlow_onBoardingFlowBackgroundLayer__F9bYm",dashboardSliderContainer:"dashboardOnBoardingFlow_dashboardSliderContainer__jkuFp",dashboardRegisterStepSlide:"dashboardOnBoardingFlow_dashboardRegisterStepSlide__xAb_h",dashboardRegisterContainer:"dashboardOnBoardingFlow_dashboardRegisterContainer__R7OqI",fadeOutRight:"dashboardOnBoardingFlow_fadeOutRight__19JWq",fadeInLeftBig:"dashboardOnBoardingFlow_fadeInLeftBig__i5sJu"}},50524:function(e){e.exports={"title-font":"common_title-font__yblW5",onBoardingNameInputField:"common_onBoardingNameInputField__W_0Vr","h-mobile-100":"common_h-mobile-100__fOiYw",onBoardingFlowAutoSuggest:"common_onBoardingFlowAutoSuggest__t8VTD",onBoardingFormClass:"common_onBoardingFormClass__wndTU",onBoardingMobileLine:"common_onBoardingMobileLine__O8n6T",onBoardingFlowNextButton:"common_onBoardingFlowNextButton__TZRPR",dashboardFlowButton:"common_dashboardFlowButton__TB0P7",onBoardingTitleContainer:"common_onBoardingTitleContainer__D3E5n"}},54996:function(e){e.exports={selected:"jobSearchSituationPage_selected__H3ue0",dashboardSituationDescription:"jobSearchSituationPage_dashboardSituationDescription__flUsM",dashboardFlowButton:"jobSearchSituationPage_dashboardFlowButton__1wNa2",blue:"jobSearchSituationPage_blue__mAJ7h",grey:"jobSearchSituationPage_grey__r1v1Q",dashboardRegisterContainer:"jobSearchSituationPage_dashboardRegisterContainer__nOlC6",onBoardingJobSitutationForm:"jobSearchSituationPage_onBoardingJobSitutationForm__zi_zI"}}},function(e){e.O(0,[4736,2888],(function(){return n=34925,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.