(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8177],{92726:function(e,a,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/rewards",function(){return r(89155)}])},23398:function(e,a,r){"use strict";r.d(a,{Z:function(){return v}});var s=r(85893);r(67294);var t=r(45697),n=r.n(t),i=r(29323),o=r(3868),l=r(28275),d=r(35941),c=r(13633),u=r(23119),h=e=>{switch(e){case"Primary Blue":default:return u.homeArrowLightBlue;case"Green":return u.homeArrowGreen;case"Red":return u.homeArrowOrange;case"Magenta":return u.homeArrowPink;case"Blue":return u.homeArrowBlue}},m=r(12086),w=r(38032),x=r(94382),g=r(89459),p=r(6394);let j=e=>{let{to:a,name:r,target:t,icon:n,variant:i,className:u,surveyName:j,behavior:v,ariaLabelText:b,featuredSurvey:Z,monthlyPromoRewardId:f,image:T,arrowColorVariant:y,mosStartAndEndDate:N}=e,_="",S=async()=>{_=await (0,w.S3)(Z,f,N)};return j&&j.surveyName&&("DEQ_MASTER"===j.surveyName&&x.default.rewardStatus?S():_=(0,m.Z)(j.surveyName)),(0,s.jsxs)("div",{children:[(0,s.jsxs)(c.Z,{"aria-label":b,to:a,target:t,className:"flex flex-col p-02 relative items-center extra-perks",handler:e=>{if("Take_Survey"===v){var a;(0,p.GA)(null==e?void 0:null===(a=e.currentTarget)||void 0===a?void 0:a.href),(0,w.GZ)(_);return}"You Engage"===v&&(0,o.Ki)()},children:[r&&(0,s.jsx)(d.default,{className:u,name:r}),T&&(0,s.jsx)(g.Z,{className:u,...T}),(0,s.jsx)(d.default,{name:y?"arrowHome":n||h(i),className:"w-35 h-35 bubble-icon",spanStyle:"icon-btn",color:y&&(0,l.Z)(y)})]}),(0,s.jsx)("style",{global:"true",children:"{\n .icon-btn{\n position: relative;\n top: -4vh;\n }\n }"})]})};j.propTypes={to:n().string,name:n().string.isRequired,target:n().string,icon:n().string,variant:n().string,className:n().string,surveyName:n().instanceOf(Object),behavior:n().string,ariaLabelText:n().string,featuredSurvey:n().bool,monthlyPromoRewardId:n().string,image:n().oneOfType([n().object]),arrowColorVariant:n().string,mosStartAndEndDate:n().instanceOf(Object)},j.defaultProps={target:null,variant:null,className:"",icon:null,to:null,surveyName:null,behavior:null,ariaLabelText:null,featuredSurvey:!1,monthlyPromoRewardId:"",image:null,arrowColorVariant:null,mosStartAndEndDate:null};var v=(0,i.Pi)(j)},23119:function(e){"use strict";e.exports={homeArrowLightBlue:"arrowHomeLightBlue",homeArrowGreen:"arrowHomeGreen",homeArrowOrange:"arrowHomeOrange",homeArrowPink:"arrowHomePink",homeArrowBlue:"arrowHomeBlue"}},89155:function(e,a,r){"use strict";r.r(a),r.d(a,{__N_SSG:function(){return A},default:function(){return q}});var s=r(85893),t=r(67294),n=r(45697),i=r.n(n),o=r(1822),l=r.n(o),d=r(29323),c=r(11163),u=r(9008),h=r.n(u),m=r(565),w=r(89459),x=r(45029),g=r(71191),p=r(35941),j=r(41494),v=r(23370),b=r(85218),Z=r(94382),f=r(89305),T=r(63404),y=r.n(T),N=r(68957);let _=e=>{let{availablePoints:a,featureRewardTitle:r,featuredRewardSubtitle:t,sweepstakesCallout:n,rewardListingPagesCollection:i,rewardsCatalogTitle:o,rewardsCatalogDescription:l,allRewardsCta:d,featuredRewardsCollection:c,siteSettings:u}=e;return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:j.Z.rewardsContainer,children:[Z.default.userLoggedIn?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:j.Z.rewardsDashboard.avaliablePoints,children:a&&(0,s.jsx)(f.Z,{...a})}),n?(0,s.jsx)("div",{className:"w-full pt-10 xl:pt-20 bg-bgcolor mx-auto relative container top-0 ",children:(0,s.jsx)("div",{className:j.Z.rewardsDashboard.rewardsbannerSectionLogin,children:(0,s.jsxs)("div",{className:j.Z.rewardsDashboard.container,children:[(0,s.jsx)("div",{className:j.Z.rewardsDashboard.redeemTitleText,children:n&&r&&(0,s.jsx)("h2",{children:r})}),(0,s.jsx)("div",{className:j.Z.rewardsDashboard.redeemTitleSubText,children:t}),(0,s.jsx)("div",{id:"",className:j.Z.helpSection.mainWrapper,children:(0,s.jsx)("div",{className:j.Z.helpSection.wrapper,children:(0,s.jsx)(N.Z,{carouselPanelsCollection:{items:c.items},panelStyle:j.Z.articleCarousel.panel,pageSource:"rewardsDashboard",variant:"feature-earn-points",styles:"rewardsSweeps-carousal"})})})]})})}):null]}):(0,s.jsx)(s.Fragment,{children:n?(0,s.jsx)("div",{className:"bg-bgcolor",children:(0,s.jsx)("div",{className:j.Z.rewardsDashboard.rewardsbannerSection,children:(0,s.jsxs)("div",{className:j.Z.rewardsDashboard.container,children:[(0,s.jsx)("div",{className:j.Z.rewardsDashboard.redeemTitleText,children:n&&r&&(0,s.jsx)("h2",{children:r})}),(0,s.jsx)("div",{className:j.Z.rewardsDashboard.redeemTitleSubText,children:t}),(0,s.jsx)("div",{id:"",className:j.Z.helpSection.mainWrapper,children:(0,s.jsx)("div",{className:j.Z.helpSection.wrapper,children:(0,s.jsx)(N.Z,{carouselPanelsCollection:{items:c.items},panelStyle:j.Z.articleCarousel.panel,pageSource:"rewardsDashboard",variant:"feature-earn-points",styles:"rewardsSweeps-carousal"})})})]})})}):null}),(0,s.jsxs)("div",{className:j.Z.rewardsDashboard.catalogSection,children:[o&&(0,s.jsx)("h2",{className:j.Z.rewardsDashboard.catalogTitleText,children:o}),l&&(0,s.jsx)("p",{className:j.Z.rewardsDashboard.catalogText,children:l})]}),(0,s.jsxs)("div",{className:j.Z.rewardsDashboard.bannerSection,children:[(0,s.jsx)("div",{className:j.Z.rewardsDashboard.container,children:i.items&&i.items.map(e=>(0,s.jsx)(b.Z,{arrowColorVariant:e&&e.cardArrowColorVariantDashboardPage,styles:"rewards-dashboard-tile",heading:null==e?void 0:e.cardHeadingInDashboardPage,text:e&&e.cardDescriptionInDashboardPage&&e.cardDescriptionInDashboardPage,subText:null==e?void 0:e.cardLinkTextInDashboardPage,textIconName:"arrowHome",image:e&&e.pageImage,link:"".concat(e&&e.link?e.link:""),activeStatus:e&&"Coming_Soon"===e.typeId,pageSource:T.rewardsDashboard,cardPointsLabelInDashboardPage:e.cardPointsLabelInDashboardPage,mosStartAndEndDate:u.mosStartAndEndDate},e&&e.sys&&e.sys.id))}),(0,s.jsx)("div",{className:j.Z.rewardsDashboard.viewAll,children:(0,s.jsx)(g.Z,{pageSource:y(),variant:"Red",className:"w-238 btn btn-warning",...d})})]})]})})};_.propTypes={availablePoints:i().oneOfType([i().object]).isRequired,featureRewardTitle:i().string.isRequired,sweepstakesCallout:i().oneOfType([i().object]).isRequired,rewardListingPagesCollection:i().oneOfType([i().object]).isRequired,rewardsCatalogTitle:i().string.isRequired,rewardsCatalogDescription:i().string.isRequired,allRewardsCta:i().oneOfType([i().object]).isRequired,featuredRewardSubtitle:i().string.isRequired,featuredRewardsCollection:i().oneOfType([i().object]).isRequired,siteSettings:i().oneOfType([i().object]).isRequired};var S=(0,d.Pi)(_),R=r(23398),C=r(38032),P=r(78381),D=r(3868);let L=e=>{var a,r,n,i,o,d,c,u;let{pageTitle:b,bannerCard:f,availablePoints:y,pageBackground:N,featureRewardTitle:_,featuredRewardSubtitle:L,sweepstakesCallout:O,rewardsCatalogTitle:k,rewardsCatalogDescription:I,rewardListingPagesCollection:E,allRewardsCta:A,letsGetStartedSection:q,catalogLogInText:B,catalogLogOutText:H,waysToEarnSection:G,siteSettings:V,featuredRewardsCollection:W}=e;return(0,t.useEffect)(()=>{Z.default.userLoggedIn&&(V.headerAlertBoxRightSideContents?(0,C.px)(V):(0,C.px)(V,!0))},[Z.default.rewardStatus]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(h(),{children:[(null==f?void 0:null===(a=f.image)||void 0===a?void 0:a.smartphoneImage)&&(0,s.jsx)("link",{rel:"preload",media:"(max-width: 768px) and (min-width: 300px)",as:"image",href:(0,P.AR)(null==f?void 0:null===(n=f.image)||void 0===n?void 0:null===(r=n.smartphoneImage)||void 0===r?void 0:r.url)}),(null==f?void 0:null===(i=f.image)||void 0===i?void 0:i.desktopImage)&&(0,s.jsx)("link",{rel:"preload",media:"(min-width: 769px)",as:"image",href:(0,P.AR)(null==f?void 0:null===(d=f.image)||void 0===d?void 0:null===(o=d.desktopImage)||void 0===o?void 0:o.url)}),(null==N?void 0:N.smartphoneImage)&&(0,s.jsx)("link",{rel:"preload",media:"(max-width: 768px) and (min-width: 300px)",as:"image",href:(0,P.AR)(null==N?void 0:null===(c=N.smartphoneImage)||void 0===c?void 0:c.url)}),(null==N?void 0:N.desktopImage)&&(0,s.jsx)("link",{rel:"preload",media:"(min-width: 769px)",as:"image",href:(0,P.AR)(null==N?void 0:null===(u=N.desktopImage)||void 0===u?void 0:u.url)})]}),(0,s.jsxs)("div",{"data-nosnippet":!0,className:"jsx-".concat(v.Z.__hash)+" bg-bgcolor",children:[(0,s.jsx)("div",{className:"jsx-".concat(v.Z.__hash)+" "+(j.Z.backgroundWrapper||""),children:N&&(0,s.jsx)(w.Z,{priority:Z.default.priority,className:"w-full",...N})}),(0,s.jsx)("div",{className:"jsx-".concat(v.Z.__hash)+" bg-warning",children:(0,s.jsx)("div",{className:"jsx-".concat(v.Z.__hash)+" "+(j.Z.rewardsDashboard.pageTitle||""),children:b&&(0,s.jsx)("h2",{className:"jsx-".concat(v.Z.__hash),children:b})})}),void 0===Z.default.userLoggedIn&&(0,s.jsx)("div",{className:"jsx-".concat(v.Z.__hash)+" w-full flex items-center justify-center",children:(0,s.jsx)(p.default,{name:"spinnerCoral",className:"w-30 "})}),(0,s.jsx)("div",{className:"jsx-".concat(v.Z.__hash)+" "+(j.Z.content.bannerSection||""),children:!1===Z.default.userLoggedIn&&f&&(0,s.jsx)(x.Z,{...f,pageSource:T.rewardsDashboard,ctaHandler:D.Ki})}),(0,s.jsx)(S,{rewardListingPagesCollection:E,availablePoints:y,catalogLogInText:B,catalogLogOutText:H,allRewardsCta:A,sweepstakesCallout:O,featureRewardTitle:_,featuredRewardSubtitle:L,rewardsCatalogTitle:k,rewardsCatalogDescription:I,featuredRewardsCollection:W,siteSettings:V}),(0,s.jsx)("div",{className:"jsx-".concat(v.Z.__hash)+" "+(j.Z.rewardsList.waysToEarnPoints.mainWrapper||""),children:(0,s.jsx)("div",{className:"jsx-".concat(v.Z.__hash)+" "+(j.Z.rewardsList.waysToEarnPoints.redeemMainWrapper||""),children:G&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"jsx-".concat(v.Z.__hash)+" "+(j.Z.rewardsList.waysToEarnPoints.titleWrapper||""),children:[(0,s.jsx)("h2",{className:"jsx-".concat(v.Z.__hash)+" "+(j.Z.rewardsList.waysToEarnPoints.title||""),children:G.title}),(0,s.jsx)("p",{className:"jsx-".concat(v.Z.__hash)+" "+(j.Z.rewardsList.waysToEarnPoints.subTitle||""),children:G.subTitle})]}),(0,s.jsxs)("div",{className:"jsx-".concat(v.Z.__hash)+" w-full",children:[(0,s.jsx)("div",{className:"jsx-".concat(v.Z.__hash)+" "+(j.Z.rewardsList.waysToEarnPoints.cardWrapper||""),children:G.cardContentsCollection&&G.cardContentsCollection.items.map(e=>(0,s.jsxs)("div",{className:"jsx-".concat(v.Z.__hash)+" "+(j.Z.rewardsList.waysToEarnPoints.cardContent||""),children:[(0,s.jsx)("div",{className:"jsx-".concat(v.Z.__hash)+" "+(j.Z.rewardsList.waysToEarnPoints.cardImageContent||""),children:(0,s.jsx)(R.Z,{ariaLabelText:e&&e.heading,to:e&&e.link,target:"_blank",name:e&&e.iconName,icon:e&&e.textIconName,className:j.Z.rewardsList.waysToEarnPoints.cardImageContentIcon,behavior:e&&e.behavior,surveyName:e&&e.surveyName,featuredSurvey:V&&V.featuredSurvey,monthlyPromoRewardId:V&&V.monthlyPromoRewardId,arrowColorVariant:e&&e.arrowColorVariant,mosStartAndEndDate:null==V?void 0:V.mosStartAndEndDate})}),(0,s.jsxs)("div",{className:"jsx-".concat(v.Z.__hash)+" "+(j.Z.rewardsList.waysToEarnPoints.cardText||""),children:[(0,s.jsx)("div",{className:"jsx-".concat(v.Z.__hash)+" "+(j.Z.rewardsList.waysToEarnPoints.cardTitle||""),children:(0,s.jsx)(m.Z,{markdown:e.heading})}),(0,s.jsx)("div",{className:"jsx-".concat(v.Z.__hash)+" "+(j.Z.rewardsList.waysToEarnPoints[e.arrowColorVariant]||""),children:(0,s.jsx)(m.Z,{markdown:e.text})}),(0,s.jsx)("div",{className:"jsx-".concat(v.Z.__hash)+" "+(j.Z.rewardsList.waysToEarnPoints.cardDescription||""),children:(0,s.jsx)(m.Z,{markdown:e.subText})})]})]},e.sys&&e.sys.id))}),(0,s.jsx)("div",{className:"jsx-".concat(v.Z.__hash)+" "+(j.Z.rewardsList.waysToEarnPoints.btnSection||""),children:(0,s.jsx)(g.Z,{...G.callToActionsCollection.items[0],className:j.Z.rewardsList.waysToEarnPoints.btnSectionCTA,pageBackground:T.rewardsDashboard,pageSource:T.rewardsDashboard})})]})]})})}),!1===Z.default.userLoggedIn&&(0,s.jsx)("div",{className:"jsx-".concat(v.Z.__hash)+" "+(j.Z.letsContainer||""),children:q&&(0,s.jsx)(x.Z,{...q,ctaHandler:D.Ki})}),(0,s.jsx)(l(),{id:v.Z.__hash,children:v.Z})]})]})};L.propTypes={pageTitle:i().string.isRequired,pageBackground:i().oneOfType([i().object]).isRequired,bannerCard:i().oneOfType([i().object]).isRequired,featureRewardTitle:i().string,featuredRewardSubtitle:i().string,sweepstakesCallout:i().oneOfType([i().object]).isRequired,rewardsCatalogTitle:i().string,rewardsCatalogDescription:i().string,rewardListingPagesCollection:i().oneOfType([i().object]).isRequired,router:i().instanceOf(Object),allRewardsCta:i().oneOfType([i().object]).isRequired,availablePoints:i().oneOfType([i().object]).isRequired,letsGetStartedSection:i().oneOfType([i().object]).isRequired,catalogLogInText:i().oneOfType([i().object]).isRequired,catalogLogOutText:i().oneOfType([i().object]).isRequired,waysToEarnSection:i().oneOfType([i().object]).isRequired,siteSettings:i().oneOfType([i().object]),featuredRewardsCollection:i().oneOfType([i().object])},L.defaultProps={router:null,featureRewardTitle:null,featuredRewardSubtitle:null,rewardsCatalogTitle:null,rewardsCatalogDescription:null,siteSettings:null,featuredRewardsCollection:null};var O=(0,c.withRouter)((0,d.Pi)(L)),k=r(87364),I=r(13466);let E=e=>{let{layoutData:a,...r}=e;return(0,s.jsxs)(k.Z,{...a,children:[(0,s.jsx)(I.Z,{...r.pageMetaData}),(0,s.jsx)(O,{...r,...a})]})};E.propTypes={layoutData:i().oneOfType([i().object]).isRequired};var A=!0,q=E}},function(e){e.O(0,[3662,724,1216,5814,1055,6066,3495,1191,6839,6716,8743,7364,7573,5218,5029,1372,9992,8957,1950,2888,9774,179],function(){return e(e.s=92726)}),_N_E=e.O()}]);