1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4273],{5288:function(e,t,i){var n=i(75733),s=i(57535),r=i(47991);e.exports=function(e,t,i){var o=null==e?0:e.length;return o?(i&&"number"!=typeof i&&s(e,t,i)?(t=0,i=o):(t=null==t?0:r(t),i=void 0===i?o:r(i)),n(e,t,i)):[]}},38399:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/matches",function(){return i(57893)}])},49914:function(e,t,i){"use strict";var n=i(24246),s=i(27378),r=i(37254),o=i(90104),a=i.n(o),c=i(88038),l=i.n(c),u=i(43218),d=i.n(u),m=i(2294),p=function(e){var t=function(){return p||(h?(0,m.jvJ)(h)?h:"".concat(y,"/assets/").concat(h):"https://static.zippia.com/assets/zippia-og-image.png")},i=e.TITLE,r=e.META_DESCRIPTION,o=e.META_KEYWORDS,c=e.OG_TITLE,u=e.OG_META_DESCRIPTION,p=e.OG_IMAGECOMPANY,h=e.OG_IMAGE,f=e.PUBLISHED_TIME,g=e.MODIFIED_TIME,v=e.UPDATED_TIME,b=e.SQUARE_WEB_SDK_CDN,y=e.host,_=e.url,x=e.noIndex,k=e.indexAndNoFollow,w=e.relCanonical,Z=e.pageCategory,j=e.structuredData,L=e.userGroup,S=e.indexAndFollow,E=e.useStaticOgImage,I=void 0===E||E,T=e.META_RSS_TITLE;(0,s.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 N=Array.isArray(j)?null==j?void 0:j.filter((function(e){return!a()(e)})):j;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(l(),{children:[(0,n.jsx)("title",{children:i}),r&&(0,n.jsx)("meta",{name:"description",content:r}),(0,n.jsx)("meta",{name:"author",content:""}),o&&(0,n.jsx)("meta",{name:"keywords",content:o}),(0,n.jsx)("meta",{property:"og:title",content:c}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),(0,n.jsx)("meta",{property:"og:url",content:y+_}),(0,n.jsx)("meta",{property:"og:description",content:u}),f&&g&&v&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{property:"article:published_time",content:f}),(0,n.jsx)("meta",{property:"article:modified_time",content:g}),(0,n.jsx)("meta",{property:"og:updated_time",content:v})]}),(0,n.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,n.jsx)("meta",{name:"twitter:site",content:"@ZippiaInc"}),(0,n.jsx)("meta",{name:"twitter:title",content:c}),(0,n.jsx)("meta",{name:"twitter:url",content:y+_}),(0,n.jsx)("meta",{name:"twitter:description",content:u}),(0,n.jsx)("meta",{charSet:"utf8"}),(0,n.jsx)("meta",{name:"twitter:image:src",content:t()}),(0,n.jsx)("meta",{property:"fb:app_id",content:"508633732650088"}),(0,n.jsx)("meta",{property:"og:image",content:I?"https://static.zippia.com/assets/zippia-og-image.png":t()}),x&&(0,n.jsx)("meta",{name:"robots",content:"noindex, follow"}),!x&&k&&(0,n.jsx)("meta",{name:"robots",content:"index, nofollow"}),!x&&S&&(0,n.jsx)("meta",{name:"robots",content:"index, follow"}),w&&!x&&(0,n.jsx)("link",{rel:w.rel,href:w.href}),!x&&T&&(0,n.jsx)("link",{rel:"alternate",type:"application/rss+xml",title:T,href:"".concat(y+_,"feed/")}),(0,n.jsx)("script",{dangerouslySetInnerHTML:{__html:" var pageCategory = '".concat(Z,"';")}}),(0,n.jsx)("script",{dangerouslySetInnerHTML:{__html:" var userGroup = '".concat(L,"';")}}),N&&(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(N)}}),b&&(0,n.jsx)("script",{src:b,async:!0,defer:!0})]}),(0,n.jsx)(d(),{src:"https://accounts.google.com/gsi/client",strategy:"lazyOnload"}),(0,n.jsx)(d(),{src:"https://www.google.com/recaptcha/api.js",strategy:"lazyOnload"})]})};p.defaultProps={userGroup:""};t.Z=(0,r.$j)((function(e){var t=e.locals,i="";return t&&t.userGroup&&(i=(0,m.$p6)(t.userGroup)),{userGroup:i}}),null)(p)},70693:function(e,t,i){"use strict";var n=i(62303),s=i(53619),r=i(33676),o=i(91946),a=i(722),c=i(39849),l=i(24246),u=i(27378),d=i(66726),m=i.n(d),p=i(23615),h=i(2294),f=i(78266),g=i.n(f),v={inputProps:p.shape({className:p.object,id:p.string,content:p.any,start:p.number,distance:p.number,duration:p.number,arrowClass:p.object,hideArrowsInMobile:p.bool}),children:p.any.isRequired},b=function(e){(0,a.Z)(i,e);var t=(0,c.Z)(i);function i(e){var r;return(0,s.Z)(this,i),r=t.call(this,e),(0,o.Z)((0,n.Z)(r),"scrollIntoActiveItem",(function(e){var t=document.querySelector(".carousel-outer-container .".concat(e));t&&(t.scrollIntoView({behavior:"auto",block:"nearest",inline:"center"}),window.scrollY<window.innerHeight&&window.scrollTo(0,0))}
1)),(0,o.Z)((0,n.Z)(r),"checkArrows",(function(){var e=r.state,t=e.leftArrow,i=e.rightArrow,n=e.dotIndex;if(r.ref&&r.ref.current){var s=r.ref.current.scrollWidth-r.ref.current.clientWidth;(r.ref.current.scrollLeft>10&&!t||r.ref.current.scrollLeft<10&&t||s<r.ref.current.scrollLeft+5&&i||s>r.ref.current.scrollLeft+5&&!i)&&r.setState({leftArrow:r.ref.current.scrollLeft>10,rightArrow:s>r.ref.current.scrollLeft+5});var o=r.ref.current.children[0]?r.ref.current.children[0].clientWidth:1,a=r.ref.current.scrollLeft+10,c=Math.round(a/o);c!==n&&r.setState({dotIndex:c})}})),(0,o.Z)((0,n.Z)(r),"slideContainer",(function(e,t,i,n,s){e.preventDefault(),e.stopPropagation();var r=t.current,o=r.getBoundingClientRect().width,a=r.scrollLeft,c=i*(n||o),l=+new Date,u=function(){var e,t,i,n=+new Date-l;r.scrollLeft=parseInt((e=n,t=a,i=c,(e/=s/2)<1?i/2*e*e+t:-i/2*(--e*(e-2)-1)+t)),n<s&&requestAnimationFrame(u)};u()})),(0,o.Z)((0,n.Z)(r),"moveToIndex",(function(e,t){var i=t>r.state.dotIndex?1:-1,n=r.ref.current.scrollLeft,s=(r.ref.current.children[t].offsetLeft-n)*i;r.slideContainer(e,r.ref,i,s,600)})),(0,o.Z)((0,n.Z)(r),"slideContainerDebounsed",m()((function(e,t){var i=r.props.inputProps,n=i.duration,s=i.distance;r.slideContainer(e,r.ref,t,s,n)}),300,{leading:!0,trailing:!1})),(0,o.Z)((0,n.Z)(r),"triggerSlide",(function(e,t){return r.slideContainerDebounsed(e,t)})),(0,o.Z)((0,n.Z)(r),"renderArrows",(function(){var e=r.state,t=e.leftArrow,i=e.rightArrow,n=r.props.inputProps.arrowClass;return(0,l.jsxs)(l.Fragment,{children:[t&&(0,l.jsx)("span",{className:n.left,onClick:function(e){return r.triggerSlide(e,-1)}}),i&&(0,l.jsx)("span",{className:n.right,onClick:function(e){return r.triggerSlide(e,1)}})]})})),r.state={leftArrow:!1,rightArrow:!1,scrollWidth:0,dotIndex:0},r.ref=u.createRef(),r}return(0,r.Z)(i,[{key:"componentDidMount",value:function(){var e=this,t=this.props.inputProps,i=t.className.activeItem;this.setState({scrollWidth:this.ref.current.scrollWidth}),t.start&&(this.ref.current.scrollLeft=t.start*this.ref.current.clientWidth),i&&this.scrollIntoActiveItem(i),setTimeout((function(){e.checkArrows()}),300),this.props.onItemChange&&this.props.onItemChange(this.state.dotIndex)}},{key:"componentDidUpdate",value:function(e,t){var i=this.props.children;if(t.scrollWidth!==this.ref.current.scrollWidth&&this.ref.current.scrollWidth!==this.ref.current.clientWidth){var n=this.ref.current.scrollWidth-this.ref.current.clientWidth;this.setState({scrollWidth:this.ref.current.scrollWidth,leftArrow:this.ref.current.scrollLeft>10,rightArrow:n>this.ref.current.scrollLeft+1})}e.children.length!==i.length&&this.checkArrows(),t.dotIndex!==this.state.dotIndex&&this.props.onItemChange&&this.props.onItemChange(this.state.dotIndex)}},{key:"render",value:function(){var e=this,t=this.props,i=t.children,n=t.inputProps,s=n.className,r=n.id,o=n.content,a=n.dotLoop,c=n.dots,d=this.state.dotIndex;return(0,l.jsx)(u.Fragment,{children:(0,l.jsxs)("div",{className:"carousel-outer-container ".concat(s.outer?s.outer:""),children:[o,this.renderArrows(),(0,l.jsx)("div",{className:s.middle,children:(0,l.jsx)("div",{id:r,className:s.inner,ref:this.ref,onScroll:this.checkArrows,children:i})}),c&&(0,l.jsx)("div",{id:"testimonial-dots-container",className:"".concat(g()["site-testimonials-dots"]," container noSelect"),children:a.map((function(t,i){return(0,l.jsx)("div",{className:"".concat(g()["carousel-dot"]," ").concat(i===d?g()["carousel-dot-active"]:""),onClick:function(t){return e.moveToIndex(t,i)}},(0,h.lX1)())}))})]})})}}]),i}(u.Component);b.propTypes=v,b.defaultProps={inputProps:{className:{},id:"",content:"",start:0,distance:0,duration:0,arrowClass:{},hideArrowsInMobile:!1}},t.Z=b},81771:function(e,t,i){"use strict";i.d(t,{Z:function(){return x}});var n,s,r=i(62303),o=i(53619),a=i(33676),c=i(91946),l=i(722),u=i(39849),d=i(24246),m=i(27378),p=i(23615),h=i.n(p),f=i(23853),g=i(53573),v={errorMargin:.05,percentCompensation:.2,minTimeVisible:1,config:{root:null,rootMargin:"0px",threshold:(n=100,s=Array.from({length:n},(function(e,t){return t/n})),(0,g.Z)(s).concat([1]))}},b=null,y=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=this;(0,o.Z)(this,e),(0,c.Z)(this,"reportVisibilityStates",(function(){i.elements.forEac
1h((function(e,t){var n=e.visible;n&&i.onVisibilityChange(t,n)}))})),(0,c.Z)(this,"watchElements",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.elements,t=window.innerHeight||document.documentElement.clientHeight;e.filter((function(e){return e.isIntersecting})).forEach((function(e){var n=e.target||e.entry,s=i.elements.get(n),r=(e.boundingClientRect||n.getBoundingClientRect()).height,o=i.isElementHeightSimilarToContainer(r,t)?i.options.errorMargin:.025,a=t/r>1?1-o:t/r-o,c=e.intersectionRatio>=a;if(!c||!s.timeoutSet)if(c)s.timeoutSet=!0,i.timeouts.set(n,setTimeout((function(){i.onVisibilityChange(n,!0)}),i.options.minTimeVisible));else{var l=i.timeouts.get(n);i.onVisibilityChange(n,!1),clearTimeout(l),i.timeouts.delete(n),s&&(s.timeoutSet=!1)}}))})),(0,c.Z)(this,"observe",(function(e,t){e&&t&&(i.elements.set(e,{callback:t,visible:!1,entry:e}),i.observer.observe(e))})),(0,c.Z)(this,"unobserve",(function(e){e&&i.elements.get(e)&&(i.elements.delete(e),0===i.elements.size&&i.destroy())})),this.options=Object.assign({},v,t),(isNaN(this.options.minTimeVisible)||this.options.minTimeVisible<0)&&(this.options.minTimeVisible=v.minTimeVisible),this.elements=new Map,this.timeouts=new Map,this.observer=new IntersectionObserver(this.watchElements,this.options.config),window.addEventListener("focus",this.reportVisibilityStates),window.addEventListener("orientationchange",this.reportVisibilityStates)}return(0,a.Z)(e,[{key:"removeEventListeners",value:function(){window.removeEventListener("focus",this.reportVisibilityStates),window.removeEventListener("orientationchange",this.reportVisibilityStates)}},{key:"destroy",value:function(){return this.elements.clear(),this.timeouts.clear(),this.observer&&"function"==typeof this.observer.disconnect&&this.observer.disconnect(),this.removeEventListeners(),b=null}},{key:"isElementHeightSimilarToContainer",value:function(e,t){return e>=t-t*this.options.percentCompensation&&e<=t+t*this.options.percentCompensation}},{key:"onVisibilityChange",value:function(e,t){if(e){var i=this.elements.get(e);if(i){i.visible=t;var n=i.callback;"function"==typeof n&&n(t)}}}}],[{key:"get",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return b&&(0,f.Z)(b,e)?b:b=new e(t)}}]),e}(),_=function(e){(0,l.Z)(i,e);var t=(0,u.Z)(i);function i(e){var n;return(0,o.Z)(this,i),n=t.call(this,e),(0,c.Z)((0,r.Z)(n),"trackEvent",(function(e){var t=n.props.children[1]?n.props.children[1].props["data-title"]:n.props.children.props["data-title"];e&&n.props.onView(t)})),n.ref=(0,m.createRef)(),n}return(0,a.Z)(i,[{key:"componentDidMount",value:function(){this.observer=y.get(this.props.options),this.container=this.ref.current,this.observer.observe(this.container,this.trackEvent)}},{key:"shouldComponentUpdate",value:function(){return this.props.reRenderOnScroll}},{key:"componentWillUnmount",value:function(){this.unobserve()}},{key:"unobserve",value:function(){void 0!==this.container&&this.observer&&this.observer.unobserve(this.container),this.observer=null}},{key:"render",value:function(){return(0,d.jsx)("div",{ref:this.ref,children:this.props.children[1]?this.props.children[1]:this.props.children})}}]),i}(m.Component);(0,c.Z)(_,"defaultProps",{children:null,options:{},onView:function(){},reRenderOnScroll:!1}),_.propTypes={children:h().node,options:h().shape({minTimeVisible:h().number,errorMargin:h().number}),onView:h().func,reRenderOnScroll:h().bool};var x=_},57893:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return $}});var n,s=i(62303),r=i(29132),o=i(53619),a=i(33676),c=i(91946),l=i(722),u=i(68772),d=i(39849),m=i(59312),p=i(24246),h=i(27378),f=i(37254),g=i(65218),v=i.n(g),b=i(49914),y=i(81771),_=function(e){(0,l.Z)(i,e);var t=(0,d.Z)(i);function i(){var e;return(0,o.Z)(this,i),e=t.apply(this,arguments),(0,c.Z)((0,s.Z)(e),"dismiss",(function(){e.props.dismiss()})),e}return(0,a.Z)(i,[{key:"componentDidMount",value:function(){var e=this;this.timerId=setInterval((function(){return e.dismiss()}),5e3)}},{key:"componentWillUnmount",value:function(){clearInterval(this.timerId)}},{key:"render",value:function(){var e=this.props.message;return e?(0,p.jsx)("div",{className:"toaster-container",children:(0,p.jsx)("div",{className:"toaster-message",children:e})}):null}}]),i}(h.Component),x=_,k=i(80596),w=i(32249),Z=i(5288),j=i.n(Z),L=i(38579),S=i.n(L),E=i(2294),I=i(70693),T=i(2613),N=i.n(T),D=function(e){(0,l.Z)(i,e);var t=(0,d.Z)(i);function i(e){var n;return(0,o.Z)(this,i),(n=t.call(this,e)).state={scrollDistance:500,dotsLoop:n.props.usersList},n.ref=h.createRef(),n}
1return(0,a.Z)(i,[{key:"componentDidMount",value:function(){this.setState({scrollDistance:this.ref.current&&this.ref.current.clientWidth});var e=this.props.usersList,t=window&&window.innerWidth<=768,i=j()(e,0,t?e.length:e.length-1);this.setState({dotsLoop:i})}},{key:"render",value:function(){var e=this,t=this.props.usersList,i=this.state,n=i.scrollDistance,s=i.dotsLoop;return(0,p.jsx)("section",{className:"section",children:(0,p.jsxs)("div",{className:N()["site-testimonials-sec"],children:[(0,p.jsx)("h2",{className:"interH2",children:"What people say about Zippiaâs career platform"}),(0,p.jsx)(I.Z,{inputProps:{dots:!0,dotLoop:s,className:{outer:"container ".concat(N()["testimonials-outer-container"]),inner:"".concat(N()["site-testimonials-container"]),middle:"".concat(N()["site-testimonials-container-cutoff"])},id:"testimonials-container",distance:n,duration:550,hideArrowsInMobile:!0,arrowClass:{left:"icon-angle-left prevImg d-none d-lg-block",right:"icon-angle-right nextImg d-none d-lg-block"}},children:t.map((function(t,i){return(0,p.jsx)("div",{className:N()["testimonial-container"],ref:e.ref,children:(0,p.jsxs)("div",{className:N()["testimonial-box"],children:[(0,p.jsx)(w.Q,{src:(0,E.uNo)("/ui-router/images/doubleQuote.svg"),beforeInjection:function(e){e.querySelector("path").setAttribute("fill",t.color)}}),(0,p.jsx)("p",{className:N()["testimonial-quote"],children:t.testimonial}),(0,p.jsxs)("div",{className:N()["testimonial-user"],children:[(0,p.jsx)("div",{className:N()["testimonial-user-image"],children:(0,p.jsx)(S(),{width:"48",height:"48",layout:"fixed",src:t.userImage,className:"".concat(N()["testimonial-user-image"]," noSelect"),alt:t.userName})}),(0,p.jsxs)("div",{className:N()["testimonial-user-details"],children:[(0,p.jsx)("p",{className:N()["testimonial-user-name"],children:t.userName}),(0,p.jsx)("p",{className:N()["testimonial-user-background"],children:t.userBackground})]})]})]})},"userList_".concat(i))}))})]})})}}]),i}(h.PureComponent),C=i(98403),A=function(){var e=(0,h.useRef)();return(0,h.useEffect)((function(){var t=e&&e.current;t&&(setTimeout((function(){t.classList.add("step-1")}),1e3),setTimeout((function(){t.classList.add("step-2")}),4e3),setTimeout((function(){t.classList.add("step-3")}),6500))})),(0,p.jsx)("div",{className:"matches-animation-wrapper",children:(0,p.jsxs)("section",{className:"container matchesAnimation",ref:e,children:[(0,p.jsxs)("div",{className:"assetSurvey",children:[(0,p.jsx)("div",{className:"pulse-1 pulse"}),(0,p.jsx)("div",{className:"pulse-2 pulse"}),(0,p.jsx)("div",{className:"paper",children:(0,p.jsx)(w.Q,{src:(0,E.uNo)("/ui-router/images/surveyPaperv2.svg")})})]}),(0,p.jsx)("div",{className:"assetJob","data-id":"0",children:(0,p.jsx)("div",{className:"assetCompanyLogo icon-big-company","data-id":"0"})}),(0,p.jsx)("div",{className:"assetJob","data-id":"1",children:(0,p.jsx)("div",{className:"assetCompanyLogo icon-big-company","data-id":"1"})}),(0,p.jsx)("div",{className:"assetJob","data-id":"2",children:(0,p.jsx)("div",{className:"assetCompanyLogo icon-big-company","data-id":"2"})}),(0,p.jsx)("div",{className:"animationBucketTitle z-inter",children:"Best matches:"}),(0,p.jsx)("div",{className:"matchingText interH2",children:"Matching your answers with jobs"})]})})},P=i(93334),B=i(53573),O=i(23615),F=i(8503),M=v()((function(){return i.e(600).then(i.bind(i,20600))}),{loadableGenerated:{webpack:function(){return[20600]}}}),H={userListingHashes:O.objectOf(O.any)},J={DISMISSED:"dismissed",SEEN:"seen"},V=(n={},(0,c.Z)(n,J.DISMISSED,{listTitle:"Dismissed jobs",totalJobs:0,listings:[],displayFlag:!1,bucketContainerProps:{id:"dismissed","data-title":"DISMISSED JOBS",className:"container static-bucket-container"},additionalComponentProps:{classList:{title:"interH2"}}}),(0,c.Z)(n,J.SEEN,{listTitle:"Viewed jobs",totalJobs:0,listings:[],displayFlag:!1,bucketContainerProps:{id:"viewed","data-title":"VIEWED JOBS",className:"container static-bucket-container mb-48"},additionalComponentProps:{classList:{title:"interH2"}}}),n),R=function(e){(0,l.Z)(i,e);var t=(0,d.Z)(i);function i(e){var n;return(0,o.Z)(this,i),n=t.call(this,e),(0,c.Z)((0,s.Z)(n),"loadBucketListData",(function(e){return Object.keys(e).filter((function(t){return e[t].displayFlag}
1)).forEach((function(e){n.loadDataForBucket(e)}))})),(0,c.Z)((0,s.Z)(n),"initAllBucketsDataLoad",(function(){var e=n.state.bucketList,t=window.location.hash.replace("#","");if(t){var i={};Object.keys(e).forEach((function(n){i[n]=e[n].bucketContainerProps.id===t?(0,P.Z)((0,u.Z)({},e[n]),{displayFlag:!0}):e[n]})),n.setState({bucketList:i},(function(){return n.loadBucketListData(n.state.bucketList)}))}else n.loadBucketListData(e)})),(0,c.Z)((0,s.Z)(n),"processBucketResponseResult",(function(e,t){var i=t.listings,s=void 0===i?[]:i,r=t.total,o=void 0===r?0:r;n.setState((function(t){var i=(0,B.Z)(t.bucketList[e].listings||[]).concat((0,B.Z)(s)),n=t.bucketList[e].totalJobs||0,r=n<o?o:n;return{bucketList:(0,P.Z)((0,u.Z)({},t.bucketList),(0,c.Z)({},e,(0,P.Z)((0,u.Z)({},t.bucketList[e]),{listings:i,totalJobs:r})))}}))})),(0,c.Z)((0,s.Z)(n),"getBucketDataSourcePromise",(function(e,t){var i;return e===J.DISMISSED?i=(0,F.Yo)(t):e===J.SEEN?i=(0,F.qW)(t):(console.error("Error in getBucketDataSourcePromise: bucket name is not in [".concat(Object.values(J),"]")),i=Promise.resolve({listings:[],totalJobs:0})),i})),(0,c.Z)((0,s.Z)(n),"setBucketLoadingStatus",(function(e,t){n.setState((function(i){return{bucketList:(0,P.Z)((0,u.Z)({},i.bucketList),(0,c.Z)({},e,(0,P.Z)((0,u.Z)({},i.bucketList[e]),{isLoading:t})))}}))})),(0,c.Z)((0,s.Z)(n),"setBucketDisplayFlag",(function(e,t,i){n.setState((function(i){return{bucketList:(0,P.Z)((0,u.Z)({},i.bucketList),(0,c.Z)({},e,(0,P.Z)((0,u.Z)({},i.bucketList[e]),{displayFlag:t})))}}),(function(){return i()}))})),(0,c.Z)((0,s.Z)(n),"addJobToBucket",(function(e,t){var i=n.state.bucketList[e].listings;(void 0===i?[]:i).some((function(e){return e.listingHash===t.listingHash}))||n.setState((function(i){return{bucketList:(0,P.Z)((0,u.Z)({},i.bucketList),(0,c.Z)({},e,(0,P.Z)((0,u.Z)({},i.bucketList[e]),{listings:[t].concat((0,B.Z)(i.bucketList[e].listings||[])),totalJobs:i.bucketList[e].totalJobs+1})))}}))})),(0,c.Z)((0,s.Z)(n),"loadDataForBucket",(function(e){var t=(0,s.Z)(n),i=t.getBucketDataSourcePromise,r=t.processBucketResponseResult,o=t.setBucketLoadingStatus,a=n.state.bucketList[e].listings,c={begin:(void 0===a?[]:a).length};return o(e,!0),i(e,c).then((function(t){r(e,t)})).catch((function(){r(e,{})})).finally((function(){return o(e,!1),Promise.resolve()}))})),(0,c.Z)((0,s.Z)(n),"expandHiddenBucket",(function(e){var t=(0,s.Z)(n),i=t.loadDataForBucket,r=t.setBucketDisplayFlag,o=n.state.bucketList[e].bucketContainerProps.id;i(e).then((function(){r(e,!0,(function(){history.pushState(null,null,"matches/#".concat(o))}))}))})),(0,c.Z)((0,s.Z)(n),"hasNextPageForBucket",(function(e){var t=n.state.bucketList[e],i=t.listings,s=void 0===i?[]:i,r=t.totalJobs,o=void 0===r?0:r;return s.length<o})),(0,c.Z)((0,s.Z)(n),"getBucketListsView",(function(){var e=(0,s.Z)(n),t=e.loadDataForBucket,i=e.hasNextPageForBucket,r=n.state.bucketList,o=n.props,a=o.userListingHashes,c=o.onBucketSectionView,l=o.isDesktop;return Object.keys(r).filter((function(e){return r[e].displayFlag})).map((function(e,n){var s=r[e],o=s.bucketContainerProps,d=s.totalJobs,m=void 0===d?0:d,h=s.listings,f=void 0===h?[]:h,g=s.isLoading,v=s.listTitle,b=s.additionalComponentProps,_=void 0===b?{}:b,x=e+n,k=i(e),w=(0,p.jsx)("section",(0,P.Z)((0,u.Z)({},o),{children:(0,p.jsx)(M,(0,P.Z)((0,u.Z)({jobs:f,isLoading:g,listTitle:v,totalJobs:m,getNextPage:function(){return t(e)},hasNextPage:k,userListingHashes:a},_),{companySkills:!0,isDesktop:l}))}));return m>0?(0,p.jsx)(y.Z,{onView:c,reRenderOnScroll:!0,children:w},"".concat(x,"-listener")):(0,p.jsx)("div",{children:w},"".concat(x,"-div"))}))})),(0,c.Z)((0,s.Z)(n),"getHiddenBucketTriggersView",(function(){var e=(0,s.Z)(n).expandHiddenBucket,t=n.state.bucketList,i=Object.keys(t).filter((function(e){return!t[e].displayFlag}));return i.length?(0,p.jsx)("section",{id:"other-jobs",className:"container static-bucket-container",children:(0,p.jsxs)("div",{className:"static-buckets-expandable",children:[(0,p.jsx)("p",{className:"bucketListHeader interH2 clearTopMargin",children:"Other jobs"}),i.map((function(i){var n=t[i].listTitle;return(0,p.jsx)("p",{onClick:function(){return e(i)},className:"list-link z-font-600 linkParagraph",children:"Show ".concat(n)},i)}))]})}):(0,p.jsx)(h.Fragment,{})})),n.state={bucketList:V},n}
1return(0,a.Z)(i,[{key:"componentDidMount",value:function(){(0,this.initAllBucketsDataLoad)()}},{key:"componentDidUpdate",value:function(e){var t=this.addJobToBucket,i=this.props.userListingHashes,n=i.recentDismissedJob,s=i.recentViewedJob,r=e.userListingHashes,o=r.recentDismissedJob,a=r.recentViewedJob;n.listingHash!==o.listingHash&&t(J.DISMISSED,n),s.listingHash!==a.listingHash&&t(J.SEEN,s)}},{key:"render",value:function(){var e=this.getBucketListsView,t=this.getHiddenBucketTriggersView,i=e(),n=t();return(0,p.jsxs)(h.Fragment,{children:[i,n]})}}]),i}(h.PureComponent);R.propTypes=H,R.defaultProps={userListingHashes:{}};var W=(0,f.$j)((function(e){return{userListingHashes:e.jobs}}))(R),U=i(4517),q=i(5491),G=i(97718),Q=i(10625),z=v()((function(){return Promise.all([i.e(4736),i.e(2010),i.e(9329),i.e(9572),i.e(7201),i.e(5848)]).then(i.bind(i,75848))}),{loadableGenerated:{webpack:function(){return[75848]}},ssr:!1}),X=function(e){(0,l.Z)(i,e);var t=(0,d.Z)(i);function i(e){var n;return(0,o.Z)(this,i),n=t.call(this,e),(0,c.Z)((0,s.Z)(n),"sendLocationResponse",(function(e){var t=n.props.signUpModal,i=t.questionList,s=t.surveyFlow,r=t.survey,o=t.utm_campaign,a=t.surveyStartTimeStamp,c=t.surveyId,l={questionId:i[0].question._id,surveyFlow:s,surveyName:r,surveyId:c,surveyStep:"1",utm_campaign:o,surveyStartTimeStamp:a,timeStamp:Date.now()};return l.answer=e&&(0,E.u4v)(e)?[e]:[],U.Re.sendSurveyResponse(l)})),(0,c.Z)((0,s.Z)(n),"handleFirstLoadAnimation",(function(){"show"===(localStorage&&localStorage.getItem("showMatchesFirstLoadAnimation"))&&(localStorage.removeItem("showMatchesFirstLoadAnimation"),n.setState({showFirstLoadAnimation:!0}),setTimeout((function(){n.setState({showFirstLoadAnimation:!1})}),7800))})),(0,c.Z)((0,s.Z)(n),"dismissError",(function(){n.setState({isErrorDismissed:!0})})),(0,c.Z)((0,s.Z)(n),"expiredJobBucketToaster",(function(){var e=n.props.dlpPopUpError,t=n.state.isErrorDismissed;return e&&!t?(0,p.jsx)(x,{message:e,dismiss:n.dismissError}):null})),(0,c.Z)((0,s.Z)(n),"renderWhenLoggedIn",(function(){var e=n.state,t=e.showFirstLoadAnimation,i=e.listingHashFromEmail,s=e.payloadFromQuery,r=e.loadedJobBuckets,o=n.props.data,a=o.userProfile,c=o.desktopDevice,l=o.jobByListingHash;return(0,p.jsxs)("div",{children:[n.expiredJobBucketToaster(),(0,p.jsxs)("div",{className:"matches-logged-in",children:[(0,p.jsx)(y.Z,{children:(0,p.jsx)("section",{"data-title":"MY JOBS",id:"my-jobs",children:(0,p.jsx)(z,{isDesktop:c,payloadFromQuery:s,jobByListingHash:l,listingHashFromEmail:i,userProfile:a.other_preferences||{},onFinishInitialLoad:function(){return n.setState({loadedJobBuckets:!0})}})})}),t&&(0,p.jsx)(A,{}),(0,p.jsx)("div",{className:"container ".concat(r?"section-separator-large":"section-separator-medium")}),(0,p.jsx)(W,{isDesktop:c})]})]})})),n.state={isErrorDismissed:!1,listingHashFromEmail:!(!e.query||!e.query.listingHashFromEmail),showFirstLoadAnimation:!1,payloadFromQuery:e.query&&e.query.jobsearch?e.query.jobsearch:"",loadedJobBuckets:!1},n}return(0,a.Z)(i,[{key:"componentDidMount",value:function(){var e=this,t=this.props,i=t.user,n=t.query,s=t.tracking,r=t.zippiaHistory,o=t.openSignUpModal,a=t.dispatchCreateJobBucket,c=t.enableOpenPaidJobsFromEmailSameTab,l=i&&i.isLoggedIn;if(l&&(a({key:E.gIv.MY_PROFILE_JOBS}),a({key:E.gIv.RECOMMENDED_JOBS_OUTSIDE_BUCKET}),a({key:E.gIv.PAID_JOBS})),this.handleFirstLoadAnimation(),!l&&this.props.query.locations){var d={survey_step:"step2",survey:"208",src:Q.QG.MATCHES_PAGE};o((0,u.Z)({},d)).then((function(){r.pushQuery(d),e.sendLocationResponse(e.props.query.locations)}))}if(c&&!n.redirectedExternalUrl){var m=n.listingHashFromEmail;U.gQ.fetchJobsByHash(m).then((function(e){if(e.cpc>0){var t=s.openJobExternal(e,{returnExternalUrl:c,activityCategory:Q.g9.LOG_ACTIVITY.DLP,activityData:{activityType:Q.mK.JOB_OPENING.JOB_OPENING_JOB_CLICKED,payload:{url:window.location.href,pageCategory:window.pageCategory}}});s.openJobExternal(e,{returnExternalUrl:c,activityCategory:Q.g9.LOG_ACTIVITY.DLP,activityData:{activityType:Q.mK.JOB_OPENING.JOB_OPENING_VIEWED_DLP,payload:{url:window.location.href,pageCategory:window.pageCategory}}}),r.pushQuery({listingHashFromEmail:m,redirectedExternalUrl:!0}),window.location.href=t}}))}}},{key:"renderWhenLoggedOut",value:function(){var e=this.props,t=e.data,i=e.user,n=t.testimonials,s=void 0===n?[]:n;return(0,p.jsxs)(p.Fragment,{children:[this.expiredJobBucketToaster(),(0,p.jsx)(C.Z,{user:i,matchesPage:!0}),(0,p.jsx)(D,{usersList:s})]})}},{key:"render",value:function(){var e=this.props,t=e.user,i=e.data.metadata,n=t&&t.isLoggedIn;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(b.Z,(0,u.Z)({},i)),n?this.renderWhenLoggedIn():this.renderWhenLoggedOut()]})}}],[{key:"getInitialProps",value:function(e){var t=e.req,i=e.res,n=e.query;return(0,r.Z)((function(){return(0,m.__generator)(this,(function(e){return t?[2,{data:i?i.data:null,user:t?t.user:null,locals:i?i.locals:null,query:n}]:[2,window.__NEXT_DATA__.props.pageProps]}))}))()}}]),i}(h.PureComponent),Y={openSignUpModal:G.OE,dispatchCreateJobBucket:q.Xd},K=(0,k.v8)((0,f.$j)((function(e){var t=e.modals,i=void 0===t?{}:t,n=e.locals.enableOpenPaidJobsFromEmailSameTab;return{signUpModal:i.signUp,dlpPopUpError:i.dlp&&i.dlp.error,enableOpenPaidJobsFromEmailSameTab:n}}),Y)(X)),$=(0,k.Ro)(K)},78266:function(e){e.exports={dot:"carousel_dot__MQfDY","site-testimonials-dots":"
1carousel_site-testimonials-dots__A5_0w","carousel-dot":"carousel_carousel-dot__KCXOz","carousel-dot-active":"carousel_carousel-dot-active__xWd_T","site-testimonials-sec":"carousel_site-testimonials-sec__4RdB7",container:"carousel_container__2Hb9c",slider:"carousel_slider__ex88u",arrows:"carousel_arrows__6ZeOQ",arrow:"carousel_arrow__jwMUN",leftArrow:"carousel_leftArrow__VdX1j",rightArrow:"carousel_rightArrow__BXkWm",hideArrow:"carousel_hideArrow__hLTA2"}},2613:function(e){e.exports={"site-testimonials-sec":"Testimonial_site-testimonials-sec__XgUFf","site-testimonials-container-cutoff":"Testimonial_site-testimonials-container-cutoff__Jz1QX","testimonial-container":"Testimonial_testimonial-container__gHxT_","site-testimonials-container":"Testimonial_site-testimonials-container__c0PQA","testimonial-box":"Testimonial_testimonial-box__yXa43","testimonial-quote":"Testimonial_testimonial-quote__trxii","testimonials-outer-container":"Testimonial_testimonials-outer-container__18qO8",nextImg:"Testimonial_nextImg__4SVCO",prevImg:"Testimonial_prevImg__4_RRk","testimonial-user":"Testimonial_testimonial-user__vtzzo","testimonial-user-image":"Testimonial_testimonial-user-image__bMH_p","testimonial-user-details":"Testimonial_testimonial-user-details__gS7Hr","testimonial-user-background":"Testimonial_testimonial-user-background__LHpVU","testimonial-user-name":"Testimonial_testimonial-user-name__ml6TR"}}},function(e){e.O(0,[2888],(function(){return t=38399,e(e.s=t);var t}));var t=e.O();_N_E=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.