(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5543],{54238:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/earn-points",function(){return a(7214)}])},89305:function(e,t,a){"use strict";var r=a(85893),n=a(67294),i=a(45697),l=a.n(i),o=a(29323),d=a(5152),s=a.n(d),p=a(14343),u=a(94382),c=a(26934),m=a(89459),x=a(26464),g=a.n(x),f=a(71191),h=a(63404);let w=s()(()=>Promise.resolve().then(a.bind(a,35941)),{loadableGenerated:{webpack:()=>[35941]},ssr:!1}),b=e=>{let{availbleBalenceText:t,pageSource:a,availablePointsBanner:i,pointHistoryCta:l,redeemYourPointsCta:o}=e;return((0,n.useEffect)(()=>{(async()=>{await (0,c.tH)()})()},[u.default.profileData]),u.default.rewardStatus)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m.Z,{className:"w-full md:w-auto md:min-w-1260 xl:min-w-1440 xxl:w-full xl:rounded-tl-1xl",...i}),(0,r.jsxs)("div",{className:"earnPoints"===a?"absolute":"absolute top-15 md:top-0",children:[(0,r.jsxs)("div",{className:"earnPoints"===a?"dashBoardPoints h-full flex flex-wrap pt-15 md:pt-10":"dashBoardPoints h-full flex flex-wrap pt-30 lg:pt-15 xl:pt-30",children:[(0,r.jsxs)("div",{className:"w-full flex flex-wrap justify-center items-center",children:[(0,r.jsx)(w,{name:"earnPoints"===a?"sparksLeftWhite":"RewardsSparksLeft",className:"sparksIcon w-65 h-65 md:w-105 md:h-105 xl:w-100 xl:h-100 mx-4px md:mx-8px"}),(0,r.jsx)("p",{className:"text-60 md:text-80 leading-leading43 font-bold xl:text-100 xl:relative top-25 ".concat(p.Z.totalPointsAvailable<0?"hidden":""),children:p.Z.totalPointsAvailable}),(0,r.jsx)(w,{name:"earnPoints"===a?"sparksRightWhite":"RewardsSparksRight",className:"sparksIcon w-65 h-65 md:w-104 md:h-105 xl:w-100 xl:h-100 mx-4px md:mx-8px"})]}),(0,r.jsx)("div",{className:"earnPoints"===a?g().earnPoints.pointsAvailbleWrapper:g().rewards.pointsAvailbleWrapper,children:(0,r.jsx)("div",{className:"earnPoints"===a?g().earnPoints.pointsAvailble:g().rewards.pointsAvailble,children:t})})]}),"earnPoints"===a&&(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:g().earnPoints.pointsAvailbleLinkWrapper,children:[o&&(0,r.jsx)(f.Z,{className:g().earnPoints.pointsAvailbleLinkRedeem,...o,pageSource:h.waysToEarnPoints}),l&&(0,r.jsx)(f.Z,{className:g().earnPoints.pointsAvailbleLinkEP,...l,pageSource:h.waysToEarnPoints})]})})]})]}):null};b.propTypes={availbleBalenceText:l().string.isRequired,pageSource:l().string,pointHistoryCta:l().instanceOf(Object),earnPointsCta:l().instanceOf(Object),redeemYourPointsCta:l().instanceOf(Object),availablePointsBanner:l().instanceOf(Object)},b.defaultProps={pageSource:"",pointHistoryCta:null,earnPointsCta:null,redeemYourPointsCta:null,availablePointsBanner:null},t.Z=(0,o.Pi)(b)},26464:function(e){"use strict";e.exports={pointsAvailbleHeader:"pointsAvailbleHeader flex items-center tracking-2 lg:tracking-2point67 font-montserratBold font-bold lg:pl-20 md:pl-10 xl:pr-60 px-08",pointsAvailbleLink:"text-info earnPointsAvailLink underline w-full tracking-tight md:flex md:items-center text-center lg:pl-80 xl:pl-70 md:w-auto text-14 leading-lightmedium xl:text-16",wayPointsWrapper:"wayPointsWrapper fixed w-full h-full page-scroll left-0 top-0 bg-white pb-62 md:pb-90 xl:pb-100 z-60 overflow-y-auto",earnPoints:{pointsAvailbleLinkWrapper:"hidden pt-01 md:pt-0 xl:pt-20 w-full justify-center text-center xl:w-auto",pointsAvailbleLinkEP:"text-purple pointsAvailbleLinkEP pt-20 md:pt-15 xl:pt-05 font-montserratSemiBold justify-center font-semibold underline w-full inline xl:flex md:items-center text-center md:w-auto text-16 leading-widest xl:text-18",pointsAvailbleLinkRedeem:"btn bg-white border-3 border-white hover:bg-transparent hover:text-white text-purple font-bold text-20 leading-leading27 mb-5px uppercase block md:inherit md:w-300 mx-auto",separator:"inline xl:flex items-center px-15 xl:px-20 text-blue text-16 font-montserratSemiBold font-semibold leading-ultralight",pointsAvailbleWrapper:"w-full pt-05 xl:pt-45",pointsAvailble:"impactPointsLabel w-full text-center font-montserratBold font-normal text-purple text-24 xl:text-38 leading-leading42 pt-05 xl:pt-0 pb-15 xl:pb-15 xxl:pb-20"},rewards:{pointsAvailbleWrapper:"w-full xl:pt-45",pointsAvailble:"impactPointsLabel w-full text-center font-montserratBold font-normal text-warning text-30 md:text-24 xl:text-38 leading-leading42 md:pt-05 xl:pt-0 pb-15 xl:pb-15 xxl:pb-20"}}},23398:function(e,t,a){"use strict";a.d(t,{Z:function(){return b}});var r=a(85893);a(67294);var n=a(45697),i=a.n(n),l=a(29323),o=a(3868),d=a(28275),s=a(35941),p=a(13633),u=a(23119),c=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=a(12086),x=a(38032),g=a(94382),f=a(89459),h=a(6394);let w=e=>{let{to:t,name:a,target:n,icon:i,variant:l,className:u,surveyName:w,behavior:b,ariaLabelText:v,featuredSurvey:y,monthlyPromoRewardId:S,image:P,arrowColorVariant:k,mosStartAndEndDate:T}=e,j="",C=async()=>{j=await (0,x.S3)(y,S,T)};return w&&w.surveyName&&("DEQ_MASTER"===w.surveyName&&g.default.rewardStatus?C():j=(0,m.Z)(w.surveyName)),(0,r.jsxs)("div",{children:[(0,r.jsxs)(p.Z,{"aria-label":v,to:t,target:n,className:"flex flex-col p-02 relative items-center extra-perks",handler:e=>{if("Take_Survey"===b){var t;(0,h.GA)(null==e?void 0:null===(t=e.currentTarget)||void 0===t?void 0:t.href),(0,x.GZ)(j);return}"You Engage"===b&&(0,o.Ki)()},children:[a&&(0,r.jsx)(s.default,{className:u,name:a}),P&&(0,r.jsx)(f.Z,{className:u,...P}),(0,r.jsx)(s.default,{name:k?"arrowHome":i||c(l),className:"w-35 h-35 bubble-icon",spanStyle:"icon-btn",color:k&&(0,d.Z)(k)})]}),(0,r.jsx)("style",{global:"true",children:"{\n .icon-btn{\n position: relative;\n top: -4vh;\n }\n }"})]})};w.propTypes={to:i().string,name:i().string.isRequired,target:i().string,icon:i().string,variant:i().string,className:i().string,surveyName:i().instanceOf(Object),behavior:i().string,ariaLabelText:i().string,featuredSurvey:i().bool,monthlyPromoRewardId:i().string,image:i().oneOfType([i().object]),arrowColorVariant:i().string,mosStartAndEndDate:i().instanceOf(Object)},w.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 b=(0,l.Pi)(w)},23119:function(e){"use strict";e.exports={homeArrowLightBlue:"arrowHomeLightBlue",homeArrowGreen:"arrowHomeGreen",homeArrowOrange:"arrowHomeOrange",homeArrowPink:"arrowHomePink",homeArrowBlue:"arrowHomeBlue"}},20820:function(e,t){"use strict";t.Z={backgroundWrapper:"background-wrapper absolute top-105px md:top-90 lg:top-95 xl:max-h-270 z-1 overflow-hidden w-full",backgroundWrapperImage:"w-full",homeIntroSection:{wrapper:"w-full relative",textWrapper:"md:absolute md:w-6/12 flex items-center top-0 h-full",cardWrapper:"w-9/12 mx-auto text-center flex flex-wrap",cards:"w-4/12 relative -top-20",cardHeader:"font-montserratBold font-bold lg:text-18 lg:leading-lightmedium px-08 lg:px-0 pt-10 lg:pt-15"},waysToEarnBelowBanner:{outerMainWrapper:"px-0 md:px-20 mb-10px xl:mb-17",mainWrapper:"container mx-auto bg-rewards relative px-0",userLoggedText:"w-full flex items-center justify-center",loadingSpinnerImage:"w-30"},waysToEarnBelowBannerText:{wholeContainer:"bg-footerBg container mx-auto relative",mainWrapper:"container mx-auto py-40 text-center text-sign-head relative",heading:"mx-auto w-8/12 md:w-full font-montserratSemiBold font-semibold leading-wider text-30 lg:text-38 lg:leading-noImgLh",description:"mx-auto font-montserratlight font-light text-16 pt-20 leading-lightmedium w-9/12 md:w-9/12 lg:w-5/12 lg:text-18 lg:leading-widest "},availbleBalanceLink:{pointsAvailbleLink:"text-primaryCta underline w-full tracking-tight md:flex md:items-center text-center lg:pl-40 xl:pl-70 md:w-auto text-14 leading-lightmedium xl:text-16"},surveyBalance:{surveyBadge:"flex flex-wrap xl:bg-white xl:rounded-tl-1xl xl:pt-0 xxl:pt-0 relative items-center justify-center w-full font-montserratSemiBold font-semibold leading-light h-auto z-1",availableWrapper:"earnBalance w-full px-19 md:px-0 min-h-236 xl:min-h-320 flex flex-wrap items-center font-montserratlight font-light max-h-400 md:max-h-full overflow-hidden xxl:pt-0 text-18 lg:text-24 leading-wider md:leading-leading29 lg:leading-wider justify-center availableWrapper"},content:{pageTitle:"page-title z-2 relative text-center text-white pb-13 pt-18 lg:pt-30 lg:pb-20 xl:min-h-104 font-montserratSemiBold font-semibold text-30 lg:text-50 leading-wider lg:leading-leading60 "},afterBannerEarnCards:{pageTitle:"",bannerSection:"earnBannerWrapper banner-section container w-12/12 px-20 md:px-0 mx-auto relative top-0 md:rounded-rewards",rewardsCardSection:""},rewardsEarnCards:{bannerSection:"startEarnCards banner-section w-full mt-20px md:mt-10px xl:mt-20px pt-35 md:pt-28 xl:pt-45 pb-25 xl:pb-55 mx-auto relative container mx-auto md:px-13 lg:px-0 top-0 px-40",container:"flex flex-wrap w-full justify-center earnMainWrapper md: mx-auto px-10 md:px-0 md:w-10/12 lg:w-10/12 xl:w-9/12",contentWrapper:"text-center mx-auto container ",headingWrapper:"font-montserratSemiBold font-semibold text-sign-head text-24 leading-wider xl:text-32 xl:leading-leading42 pb-25",cardTileWrapper:"w-full pb-15 md:pb-15 lg:pb-0 mx-auto flex flex-wrap md:flex-row articalmd md:w-4/12 lg:w-4/12 cardItem px-10",cardTileInnerWrapper:"text-center mx-auto container",rewardTileWrapper:"startearningTileWrapper relative shadow-none lg:shadow-articalmd lg:bg-white md:w-6/12 lg:w-252 block xl:w-283 xxl:w-330"},articleCarousel:{carouselWrapper:"featured-earnPoints featured-earnPoints-1",panel:"article-carousel-tile",mainWrapper:"w-full container mx-auto",wrapper:"md:mx-20px bg-rewardsBg pb-45 lg:pb-130",sliderWrapper:"w-full md:w-w-full pt-20 xl:pt-0 mx-auto lg:w-10/12 xl:w-9/12 rticle-carousel xxl:pr-02 featuredcarousel featured-carousel2",cta:"w-full text-center leading-ultralight article-carousel-cta lg:leading-lightmedium card-right-cta-home-feature pt-1 pb-0 lg:pt-11 mt-10px text-14 lg:text-16 font-montserratSemiBold font-semibold mt-0"},quizCarousel:{sectionWrapper:"w-full relative z10 z-4 pb-15",mainWrapper:"flex flex-wrap w-full container mx-auto md:pt-0 lg:pt-18 pb-45 md:px-0 lg:pr-20 lg:pl-20 pb-40 xl:pb-50",panel:"article-carousel-tile",sliderWrapper:"w-full md:w-w-full pt-20 xl:pt-0 mx-auto lg:w-10/12 xl:w-9/12 rticle-carousel xxl:pr-02 featured-carousel2 featuredcarousel1",sliderTitleWrapper:"text-center mx-auto container",sliderTitleText:"font-montserratSemiBold font-semibold text-sign-head text-24 leading-wider lg:leading-sitemap32",sliderCardswrapper:"w-9/12 mx-auto",featuredCarouselWrapper:"featured-earnPoints pr-01"},homeContainer:{sectionWrapper:"bg-bgcolor w-full pt-15 relative z10 z-4",sectionWrapperRefer:"bg-bgcolor w-full pt-15 relative z10 z-4",sectionWrapperPromo:"w-full relative z10 z-4",sectionWrapperStart:"bg-bgcolor w-full pt-15 relative z10 z-4",mainWrapper:"flex flex-wrap w-full container mx-auto md:pt-15 lg:pt-18 pb-45 md:px-0 lg:pr-20 lg:pl-35 lg:pb-60 ",mainWrapperFeature:"flex flex-wrap w-full container mx-auto pt-15 md:pt-05 lg:pt-18 pb-75 md:px-0 lg:pr-20 lg:pl-20 lg:pb-60 ",mainJoinWrapper:"flex flex-wrap w-full container mx-auto md:p-20 bg-white mb-0 gradient-earnPointsSignup",mainJoinWrapperEp:"flex flex-wrap w-full container mx-auto md:p-20 bg-white mb-0",joinusWrapper:"joinusWrapper xxl:w-4/12 lg:w-5/12 md:w-8/12 w-full px-30 xxl:px-0 mx-auto py-30 flex flex-wrap justify-center",joinusReferWrapper:"earnRefer joinusWrapper lg:w-5/12 md:w-8/12 w-full px-30 md:px-0 mx-auto py-30 flex flex-wrap justify-center",joinusIconSVG:"w-79 h-79",getStartedSignUpBtn:"pt-10 pb-10 px-27 text-primaryCta bg-white font-montserratBold font-bold leading-ultralight text-16 lg:text-primaryCta lg:leading-lightmedium lg:text-18"},joinus:{text:"home-join-us",textWrapper:"text-center leading-lightmedium text-white text-16 font-montserratSemiBold font-semibold lg:text-18 lg:leading-widest lg:pt-30 lg:pb-25 pt-22 pb-15"},redeemPointsSection:{redeemMainWrapper:"bg-white pt-47px pb-40 lg:pt-50 lg:pb-43 xl:pt-65 xl:pb-60 earnPointsRedeem flex flex-wrap w-full container text-center mx-auto",titleWrapper:"w-full text-center mx-auto pb-12 md:pb-23 lg:pb-20",titleContent:"w-10/12 mx-auto font-montserratSemiBold font-semibold text-30 leading-wider md:text-24 md:leading-widest text-sign-head lg:leading-noImgLh lg:text-38",subTitleContent:"w-full text-center text-16 md:text-14 xl:text-18 leading-lightmedium md:leading-light xl:leading-wider px-30 pt-15 md:pt-10 md:px-0 pb-15 md:pb-0 xl:pt-15 xl:pb-15",cardsContentWrapper:"text-center leading-lightmedium text-white text-16 font-montserratSemiBold font-semibold lg:text-18 lg:leading-widest lg:pt-30 lg:pb-25 pt-22 pb-15",cardWrapper:"w-11/12 md:w-9/12 flex flex-wrap mx-auto",cardContent:"w-full flex md:w-6/12 md:block lg:w-6/12 xl:w-5/12 mx-auto pb-40 md:pb-20 md:pb-0 ",cardImageContent:"w-79 flex md:w-full text-center mx-auto redeemPointsArrw justify-center",cardText:"w-8/12 flex text-left pt-10 md:w-full md:text-center mx-auto md:px-15 pl-10 flex-col ",cardTitle:"w-full font-montserratSemiBold font-semibold text-16 leading-lightmedium md:text-14 md:leading-light text-sign-head md:text-center lg:text-18 lg:leading-lightmedium",cardSubTitle:"w-full text-warning font-semibold text-16 leading-lightmedium md:text-14 md:leading-light text-sign-head md:text-center lg:text-16 lg:leading-lightmedium",cardDescription:"w-full text-sign-head md:w-10/12 md:mx-auto md:text-center lg:w-11/12 md:leading-light xl:leading-lightmedium font-montserratlight font-light text-16 leading-lightmedium md:text-14 lg:text-18 pt-05",exploreRewardsLinkWrapper:"clearfix w-full text-center mx-auto flex pt-0 lg:pt-20",exploreRewardsLink:"text-center mx-auto exploreRewardsLink mx-auto font-montserratBold font-bold text-white bg-redRewards w-250 text-16 leading-lightmedium lg:text-18 lg:leading-lightmedium py-10 px-20 uppercase"},birthdayPromo:{birthdayIconWrapper:"w-full flex flex-wrap justify-center items-center",iconWrapper:"w-79i h-79",headingWrapper:" pb-10 md:pb-15 pt-20 xl:pt-25 font-montserratSemiBold font-semibold text-22 leading-leading28 xl:text-30 xl:leading-wider",contentWrapper:"xl:px-20"},completeProfileEndCard:{birthdayIconWrapper:"w-full flex flex-wrap justify-center items-center",iconWrapper:"w-150 h-150 md:w-250i md:h-250",headingWrapper:" pb-10 md:pb-25 pt-20 xl:pt-25 font-bold text-32 leading-wider lg:text-42 lg:leading-wider",contentWrapper:"completeContent mx-auto lg:w-780 py-10 text-16 lg:text-22 font-normal leading-lightmedium lg:leading-leading33"},cascading:{mainWrapper:"fixed top-0 left-0 right-0 inset-x-0 bg-white z-65",thankyouWrapper:"ab-solute h-screen left-0 container mx-auto pt-05 items-center pb-100 flex flex-wrap justify-center",title:" surveyThankyou pt-10 pb-20 px-15 text-center xl:text-22",nextCTA:"nextCTA bg-info text-20 rounded-1xl font-semibold py-05 px-50 text-white text-14 lg:text-18",backgroundwrapper:"fixed bottom-0 inset-x-0 xl:-bottom-90 xxl:bottom-0 -z-1 flex justify-center",content:"flex justify-end p-2 lg:p22 focus:outline-none"},ToolTipWrapper:"absolute left-0 md:-left-0 lg:left-0 lg:right-0 -top-160 xl:left-0 xxl:left-0 mx-auto w-223 flex justify-center right-0",ToolTipScanWrapper:"earnpointsTooltip absolute left-0 right-0 -top-180 mx-auto w-223 flex justify-center lg:left-0 lg:right-0",toolTipHighlighterWrapper:"survayWrapper hidden md:block xl:h-295 md:w-6/12 lg:w-260 xl:w-283 xxl:w-330 bg-white absolute z-5 flex items-center justify-center left-5 top-35 xl:left-205 xl:top-110",toolTipHighlighterScanWrapper:"reciptscanWrapper hidden md:block xl:h-295 md:w-260 xl:w-283 xxl:w-330 bg-white absolute z-5 flex items-center justify-center left-5 top-35 xl:left-0 xl:right-0 xl:top-110"}},7214:function(e,t,a){"use strict";let r;a.r(t),a.d(t,{__N_SSG:function(){return ea},default:function(){return er}});var n=a(85893),i=a(67294),l=a(45697),o=a.n(l),d=a(87364),s=a(13466),p=a(1822),u=a.n(p),c=a(5152),m=a.n(c),x=a(9008),g=a.n(x),f=a(29323),h=a(11163),w=a.n(h),b=a(89459),v=a(13633),y=a(35941),S={mainWrapper:"fixed top-0 left-0 right-0 inset-x-0 bg-white z-65",thankyouWrapper:"ab-solute h-screen left-0 container mx-auto pt-05 items-center pb-100 flex flex-wrap justify-center",title:" surveyThankyou pt-10 pb-20 px-15 text-center xl:text-22",nextCTA:"nextCTA bg-info text-20 rounded-1xl font-semibold py-05 px-50 text-white text-14 lg:text-18",backgroundwrapper:"fixed bottom-0 inset-x-0 xl:-bottom-90 xxl:bottom-0 -z-1 flex justify-center",content:"flex justify-end p-2 lg:p22 focus:outline-none"},P=a(33555);let k=e=>{var t;let{sampleSurveyThankYouScreenBackgroundImage:a,handleThankyouScreenNextCTA:r,handleThankyouScreenCloseCTA:l,surveyThankyouScreenContent:o}=e;return(0,n.jsx)("div",{children:(0,n.jsxs)("div",{className:S.mainWrapper,children:[(0,n.jsx)("div",{className:S.content,children:(0,n.jsx)(v.Z,{handler:()=>l(),children:(0,n.jsx)(y.default,{name:"closeGray",className:"focus:outline-none closeIcon"})})}),a&&(0,n.jsx)("div",{className:S.backgroundwrapper,children:(0,n.jsx)(b.Z,{...a})}),(0,n.jsx)("div",{children:o&&(0,n.jsx)("div",{className:S.thankyouWrapper,children:(0,n.jsx)("div",{children:(0,n.jsx)("div",{children:null==o?void 0:null===(t=o.items)||void 0===t?void 0:t.map(e=>{if(e)switch(e.__typename){case"ImageSet":return(0,i.createElement)(b.Z,{className:"mx-auto w-151 xl:w-250",...e,key:e&&e.sys&&e.sys.id});case"ContentTypeRichText":return(0,n.jsx)("div",{className:S.title,children:(0,i.createElement)(P.Z,{pageSource:"signUp",variant:"surveyThankyou",...e,key:e&&e.sys&&e.sys.id})});case"LinkButton":return(0,n.jsx)("div",{className:"absolute bottom-150 xl:bottom-100 flex m-auto inset-x-0 justify-center",children:(0,n.jsx)(v.Z,{className:S.nextCTA,handler:()=>r(),children:e&&e.linkText})},e&&e.sys&&e.sys.id)}return null})})})})})]})})};k.propTypes={sampleSurveyThankYouScreenBackgroundImage:o().oneOfType([o().object]).isRequired,surveyThankyouScreenContent:o().oneOfType([o().object]).isRequired,handleThankyouScreenNextCTA:o().func,handleThankyouScreenCloseCTA:o().func},k.defaultProps={handleThankyouScreenNextCTA:()=>{},handleThankyouScreenCloseCTA:()=>{}};var T=a(3868),j=a(94382),C=a(89305),W=a(85218),Z=a(63404),N=a(71191),A=a(68957),E=a(565),B=a(45029),I=a(20820);let R=new String('.earnRefer .earnPointsReferFriend h2,.earnRefer .earnPointsReferFriend p{color:#5e5e5e}.earnBalance .earnPointsAvailLink{color:#267EA6;font-weight:600}.exploreRewardsLink{width:auto}.takeSurvey-bg{background:#A400A6}.scanReceipt-bg{background:#267EA6}.referAFriend-bg{background:#267EA6}.getStartText h2,.getStartText p{color:#fff}.exploreRewardsLink{width:auto}body.custom_class{overflow-y:scroll}.earnRefer.getStartText p{font-weight:300}.dashBoardPoints,.impactPointsLabel,.pointsAvailbleLinkEP{color:#FFF}.getStartText p{font-weight:600;font-size:1.125rem;line-height:30px}.takeSurvey .cardText>p{color:#C7008E;padding-bottom:3px}.scanReceipt .cardText>p{color:#267EA6;padding-bottom:3px}.referAFriend .cardText>p{color:#267EA6;padding-bottom:3px}.imageFlag-text p{line-height:20px;display:grid}.imageFlag-text strong{font-weight:700;font-size:20px;line-height:21px}.imageFlag-text span{font-weight:400;font-size:14.82px;line-height:21.41px}.cardText div p{font-size:1rem;font-weight:600;line-height:22px;letter-spacing:0;text-align:left}.redeemPointsArrw .extra-perks .icon-btn svg{width:39px;height:38px;background:white;text-align:center;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;margin-top:-15px;-webkit-box-shadow:0 1px 4px -1px rgba(0,0,0,.5);-moz-box-shadow:0 1px 4px -1px rgba(0,0,0,.5);box-shadow:0 1px 4px -1px rgba(0,0,0,.5);padding:11px}.featured-earnPoints .slick-arrow{background:#fff;z-index:1;height:45px;width:45px;-webkit-box-shadow:0 1px 3px 0 rgba(0,0,0,.3);-moz-box-shadow:0 1px 3px 0 rgba(0,0,0,.3);box-shadow:0 1px 3px 0 rgba(0,0,0,.3)}.featured-earnPoints .slick-prev{left:0}.featured-earnPoints .slick-next{right:0}.featured-earnPoints .slick-prev:focus,.featured-earnPoints .slick-next:focus{border:solid#000}.featured-earnPoints .slick-prev svg{position:relative;left:5px}.featured-earnPoints-1 .slick-prev svg,.featured-earnPoints-1 .slick-next svg{top:1px}.gradient-earnPointsSignup{background:#267EA6}.featured-earnPoints .slick-next svg{position:relative;right:-10px}.featured-earnPoints .slick-dots li button{width:10px;height:10px}.featured-earnPoints .slick-dots li .slick-dots li{margin- 0 2px\n}.featured-earnPoints .slick-dots li button:before{font-size:2.5rem;color:#267EA6;opacity:.4;width:10px;height:10px}.featured-earnPoints .slick-dots{bottom:-32px}.featured-earnPoints .slick-dots li.slick-active button:before{opacity:.8;color:#267EA6}.survey-completed{position:relative}.surveyletsGetStartedTile{height:100vh}.featured-earnPoints .slick-list svg{display:none}.featured-earnPoints .slick-list .quizArrow{display:inline-block}.homeWaytoEarnCard-text svg{display:inline-block!important}.pointsEarnPointsText:after{content:"";width:20px;height:20px;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg);transform:rotate(-45deg);background:#fff;position:absolute;z-index:-1;bottom:-10px;left:-webkit-calc(50% - 10px);left:-moz-calc(50% - 10px);left:calc(50% - 10px);-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.5);-moz-box-shadow:0 2px 4px 0 rgba(0,0,0,.5);box-shadow:0 2px 4px 0 rgba(0,0,0,.5)}.reciptscanWrapper+.scanReceipt,.survayWrapper+.takeSurvey{position:relative;z-index:20}.CompleteProfileEndcard .formModal{width:100%;height:100%;-webkit-transform:translate(0,0);-moz-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.completeContent strong{font-weight:700}@media(min-width:768px)and (max-width:1023px){.takeSurvey{margin-bottom:20px}.completeProfileWrapper:nth-child(2) .takeSurvey{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start}}@media screen and (max-width:480px){.redeemPointsArrw .extra-perks span svg{width:79px;height:79px}.redeemPointsArrw .extra-perks .icon-btn svg{position:absolute;right:0;margin-top:-18px}.getStartText .home-join-us h2{font-size:1.875rem;line-height:36px}.featured-earnPoints .slick-prev,.featured-earnPoints .slick-arrow,.featured-earnPoints .slick-next{display:none!important}}@media screen and (max-width:767px){.takeSurvey .cardText{width:100%}}@media only screen and (min-width:500px)and (max-width:767px){.earnMainWrapper{width:70%}}@media screen and (max-width:768px){.eachCard{padding-right:0}.getStartText h2{font-size:1.5rem;line-height:29px}.getStartText p{font-size:1rem;line-height:24px}.cardText:first-child{width:100%}.redeemPointsArrw .extra-perks .icon-btn svg{width:31px;height:31px;padding:9px}.redeemPointsArrw{text-align:center}}@media screen and (min-width:1280px){.earnBalance .pointsAvailbleHeader+.earnPointsAvailLink{margin-left:70px}.cardText div p{font-size:1rem;line-height:22px}}@media screen and (min-width:768px){.earnBalance .earnPointsAvailLink{padding-left:0;margin-left:40px}.startearningTileWrapper:nth-child(2){width:100%;margin-left:0px;padding-right:5px}.completeProfileWrapper:nth-child(2){width:50%;margin-right:0px;padding-right:10px}.completeProfileWrapper:nth-child(2) .takeSurveybg,.completeProfileWrapper:nth-child(2) .cardText{width:100%}.completeProfileWrapper:nth-child(2) .cardText{padding-top:20px}.startearningTileWrapper:nth-child(3){margin-right:0px;padding-right:0}.startearningTileWrapper:last-child{margin-left:0px;padding-left:8px;padding-right:5px}}@media only screen and (min-width:768px)and (max-width:1023px){.takeSurvey{padding-right:0}.takeSurvey .takeSurveybg{width:49%}.startearningTileWrapper:nth-child(3){padding-right:8px}}@media screen and (min-width:1024px){.featured-earnPoints .slick-prev{left:-65px}.featured-earnPoints .slick-next{right:-65px}.featured-earnPoints .slick-dots{display:none!important}.startearningTileWrapper:nth-child(2){margin-right:8px;width:260px;padding-right:0}.startearningTileWrapper:nth-child(3){margin:0px 8px}.startearningTileWrapper:last-child{margin-left:8px;padding-left:0;padding-right:0}}@media screen and (min-width:1200px){.startearningTileWrapper:last-child{margin-top:0px}}@media screen and (min-width:1280px){.startearningTileWrapper:nth-child(2){width:283px}.startearningTileWrapper:nth-child(3){margin:0 10px;padding-right:0}}@media screen and (min-width:1440px){.startearningTileWrapper:nth-child(2){width:330px;margin-left:0;padding-right:1px}.startearningTileWrapper:nth-child(3){margin:0px 10px}.startearningTileWrapper:last-child{padding-right:3px}}}\n@media only screen and (min-width: 1024px) and (max-width: 1439px) {}.startearningTileWrapper:last-child{padding-right:0px}');R.__hash="5a757ab70f2370f3";var L=a(23398),_=a(60828),O=a(26934),M=a(38032),z=a(36232),D=a(25411),H=a(50298),F=a.n(H),G=a(78381),q=a(66927),Y=a(6394),U=a(12086),V=a(14343),X=a(71573),Q=a(19567);let J=m()(()=>Promise.all([a.e(9198),a.e(68)]).then(a.bind(a,68)),{loadableGenerated:{webpack:()=>[68]},ssr:!1}),K=m()(()=>Promise.resolve().then(a.bind(a,22742)),{loadableGenerated:{webpack:()=>[22742]},ssr:!1}),$=e=>{var t,a,l,o,d,s,p,c,m;let{pageTitle:x,availableBalance:f,joinEarnSection:v,featuredPromotionsSectionCollection:S,everydayActionSectionCollection:H,articleQuizzesSectionCollection:$,redeemSection:ee,pageBackground:et,receiptScanCollection:ea,confirmationModalLabels:er,siteSettings:en,contextualLoginText:ei,birthdayPromoModal1Label:el,birthdayPromoModal2Label:eo,halfBirthdayPromoModal1Label:ed,halfBirthdayPromoModal2Label:es,sampleSurveyThankYouScreenContentsCollection:ep,sampleSurveyThankYouScreenBackgroundImage:eu}=e,ec=(0,h.useRouter)();j.default.articlePendingUrl=ec.pathname;let[em,ex]=(0,i.useState)(void 0),[eg,ef]=(0,i.useState)(!1),[eh,ew]=(0,i.useState)(!1),[eb,ev]=(0,i.useState)(!1),[ey,eS]=(0,i.useState)(!1),[eP,ek]=(0,i.useState)(!1),[eT,ej]=(0,i.useState)(!1),[eC,eW]=(0,i.useState)(!1),[eZ,eN]=(0,i.useState)(!1),[eA,eE]=(0,i.useState)(!1),[eB,eI]=(0,i.useState)(null),[eR,eL]=(0,i.useState)(!1),[e_,eO]=(0,i.useState)((null==H?void 0:H.items)||[]),eM=new Date,ez=eM.getMonth()+1,eD=async()=>{ex(V.Z.messages)},eH=async e=>{eL(!0),await (0,O.jA)(e)&&((0,O.tH)(),eL(!1),e===D.birthDayInterationType?(ek(!1),ej(!0)):(eW(!1),eN(!0),(0,Y.kE)()))},eF=async(e,t,a)=>{(0,Y.Mv)(),ej(!1);let r=await (0,M.S3)(e,t,a);(0,M.GZ)(r)},eG=async(e,t,a)=>{eN(!1);let r=await (0,M.S3)(e,t,a);(0,M.GZ)(r)},eq=e=>{let t=null==ep?void 0:ep.items.filter(t=>{var a;return(null==t?void 0:null===(a=t.surveyName)||void 0===a?void 0:a.surveyName)===e})[0];eI(null==t?void 0:t.thankYouScreenContentsCollection)},eY=async()=>{await (0,O.X9)(D.profileTypeCodes)?(0,M.GZ)("1360"):(j.default.completeProfile20SurveyTaken=!0,ew(!0))},eU=async()=>{eE(!1),await (0,M.T9)(),window.scrollTo(0,0)},eV=e=>{if(void 0!==e&&e&&null!==e){let t=new Date(e.replace("XXXX","2000").replace("XX","01"));return new Date(t.setMonth(t.getMonth()+6)).getMonth()===new Date().getMonth()}return!1},eX=async()=>{let e="";e=await (0,M.S3)(en.featuredSurvey,en.monthlyPromoRewardId,en.mosStartAndEndDate),(0,M.GZ)(e)};(0,i.useEffect)(()=>{j.default.openSurveyDuringSignup&&(eX(),j.default.openSurvey=!1)},[j.default.openSurveyDuringSignup]),(0,i.useEffect)(()=>{var e,t,a,r;!0===j.default.rewardStatus&&"undefined"!=typeof sessionStorage&&"true"===sessionStorage.getItem("showCompleteProfile")&&(j.default.showCompleteProfileOverlay=!0,j.default.completeProfileCTALaunched=!0,sessionStorage.removeItem("showCompleteProfile")),!0===j.default.rewardStatus&&(V.Z.fetchMemberHistoryAction(),en.headerAlertBoxRightSideContents?(0,M.px)(en):(0,M.px)(en,!0),eD());let n=(0,M.ne)(null==en?void 0:en.mosStartAndEndDate);"email-featured-survey"===(0,z.ak)("utm_campaign")&&en&&en.featuredSurvey&&n&&(sessionStorage.setItem("PromotionalSurvey","featured_survey"),j.default.rewardStatus?(0,M.kq)(async()=>{(0,M.GZ)("657")}):(j.default.showSignInPopup=!0,j.default.context=D.loginContextText.featuredPromo)),"true"===(0,z.ak)("survey")&&(j.default.rewardStatus?(0,M.kq)(async()=>{let e=await (0,M.S3)(en.featuredSurvey,en.monthlyPromoRewardId,en.mosStartAndEndDate);(0,M.GZ)(e)}):(j.default.showSignInPopup=!0,j.default.context=D.loginContextText.featuredPromo)),"true"===(0,z.ak)("complete-profile")&&(j.default.rewardStatus?eY():(j.default.showSignInPopup=!0,j.default.context=D.loginContextText.generic)),"email-points-earning-activation"===(0,z.ak)("utm_campaign")&&(sessionStorage.setItem("PromotionalSurvey","30_Day_Reac"),j.default.rewardStatus?(0,M.kq)(async()=>{(0,M.GZ)("1274")}):(j.default.showSignInPopup=!0,j.default.context=D.loginContextText.featuredPromo)),"email-points-earning-reactivation"!==(0,z.ak)("utm_campaign")||(sessionStorage.setItem("PromotionalSurvey","Survey_R45"),j.default.rewardStatus||(j.default.showSignInPopup=!0,j.default.context=D.loginContextText.featuredPromo)),!0===j.default.videoGating&&!0===j.default.rewardStatus&&(async()=>{j.default.videoGating&&await (0,O.X9)("tapjoy_bonus")===!0?(0,M.kq)(async()=>{(0,M.GZ)("1417"),j.default.videoGating=!1}):(ew(!0),j.default.videoGating=!1)})(),!0===j.default.iohVideoGating&&!0===j.default.rewardStatus&&(async()=>{await (0,O.X9)(D.profileTypeCodes)?(0,M.GZ)("1360"):j.default.completeProfile20SurveyTaken=!0,j.default.iohVideoGating=!1})(),en&&(null==en?void 0:null===(e=en.inActiveCampaigns)||void 0===e?void 0:e.indexOf((0,z.ak)("utm_campaign")))>=0||null!==(0,z.ak)("utm_campaign")&&((e,t)=>{let a=e.items.filter(e=>e.name===t);if(0===a.length)return!1;let r=new Date((0,q.Ml)(eM)),n=new Date((0,q.Ml)(a[0].startDate)),i=new Date((0,q.Ml)(a[0].endDate));return!(r>=n)||!(r<=i)})(null==en?void 0:en.campaignStartAndEndDateCollection,(0,z.ak)("utm_campaign"))?w().push(F().loginOutOfStock):("email-fandango-once-done"!==(0,z.ak)("utm_campaign")||(sessionStorage.setItem("PromotionalSurvey","Promo_Survey_Fandango"),j.default.rewardStatus||(j.default.showSignInPopup=!0,j.default.context=D.loginContextText.featuredPromo)),"email-dollar3giftcard-promo"!==(0,z.ak)("utm_campaign")||(sessionStorage.setItem("PromotionalSurvey","Survey_3_Fandango"),j.default.rewardStatus||(j.default.showSignInPopup=!0,j.default.context=D.loginContextText.featuredPromo)),"email-build-your-profile-dollar3-giftcard-promo"===(0,z.ak)("utm_campaign")&&(sessionStorage.setItem("PromotionalSurvey","2023June_3GC"),j.default.rewardStatus?(async()=>{await (0,O.E$)("Sweep_YO_PG",!1)&&ew(!0)})():(j.default.showSignInPopup=!0,j.default.context=D.loginContextText.featuredPromo)),!0===j.default.openTellMeAboutSurvey&&!0===j.default.userLoggedIn&&(0,M.kq)(async()=>{(0,M.GZ)("1360"),j.default.openTellMeAboutSurvey=!1,j.default.openSurvey&&(j.default.openSurveyDuringSignup=!0)}),j.default.OpenCampaignSpecificSurvey&&!0===j.default.userLoggedIn&&(0,M.kq)(async()=>{(0,M.GZ)(j.default.OpenCampaignSpecificSurvey),j.default.OpenCampaignSpecificSurvey=!1}),!0===j.default.showCompleteProfile20Survey&&!0===j.default.userLoggedIn&&(0,M.kq)(async()=>{await (0,M.km)("1360")||((0,M.GZ)("1360"),j.default.showCompleteProfile20Survey=!1)}),"email-birthday-reward"===(0,z.ak)("utm_campaign")&&(sessionStorage.setItem("PromotionalSurvey","Birthday Promo"),j.default.rewardStatus?(j.default.profileData.birthday&&parseInt(ez,10)===parseInt(j.default.profileData.birthday.split("-")[1],10)||(null===j.default||void 0===j.default?void 0:null===(t=j.default.profileData)||void 0===t?void 0:t.birthday)===null)&&ek(!0):(j.default.showSignInPopup=!0,j.default.context=D.loginContextText.churnPrevention)),"email-half-birthday-reward"===(0,z.ak)("utm_campaign")&&(sessionStorage.setItem("PromotionalSurvey","Birthday Promo"),j.default.rewardStatus?(j.default.profileData.birthday&&eV(null===j.default||void 0===j.default?void 0:null===(a=j.default.profileData)||void 0===a?void 0:a.birthday)||(null===j.default||void 0===j.default?void 0:null===(r=j.default.profileData)||void 0===r?void 0:r.birthday)===null)&&eW(!0):(j.default.showSignInPopup=!0,j.default.context=D.loginContextText.churnPrevention))),RegExp(".*?receiptscan.*").test(window.location.search)&&_.Z.setWidgetVisibility(!0),(0,Q.oZ)("localStorage")&&"?receiptscan"===localStorage.getItem("pendingfor")&&(_.Z.setWidgetVisibility(!0),localStorage.removeItem("pendingfor")),j.default.PGEUserRedirectedFromEmail=!1,j.default.featuredCardLength=S.items[1].carouselPanelsCollection.items.length},[j.default.rewardStatus,ec.asPath]),(0,i.useEffect)(()=>{function e(){window&&window.location&&"#quiz/"===window.location.hash&&(0,X.K)()}return setTimeout(()=>e(),500),window.addEventListener("resize",()=>e()),()=>window.removeEventListener("resize",()=>e())},[]),(0,i.useEffect)(()=>{j.default.showSurveyForSampleFlow&&(j.default.sampleSpecificSurveyName?(eq(j.default.sampleSpecificSurveyName),(0,M.GZ)((0,U.Z)(j.default.sampleSpecificSurveyName)),(0,M.kq)(async()=>{window.SEG_EMBED_API.on("SURVEY_GOAL_REACHED",async e=>{e.toString()===(0,U.Z)(j.default.sampleSpecificSurveyName)&&("DEQ_SAMPLE_SWIFFER_POWERMOP"!==j.default.sampleSpecificSurveyName&&(document.getElementsByClassName("segmanta-embed")[0].style.display="none",eE(!0)),j.default.showSurveyForSampleFlow=!1,j.default.sampleSpecificSurveyName=!1,window.scrollTo(0,0))})})):((0,M.zO)(),j.default.showSurveyForSampleFlow=!1,j.default.sampleSpecificSurveyName=!1)),!0===j.default.showCompleteProfile20OrBuildYourProfileSurvey&&!0===j.default.userLoggedIn&&((0,M.T9)(),j.default.showCompleteProfile20OrBuildYourProfileSurvey=!1)},[]);let eQ=e=>!!em&&null!=em&&!!em.featurePromotionObj&&null!=em&&!!em.featurePromotionObj[e]&&em.featurePromotionObj[e].promotionCompletedType===e||null,eJ=S&&S.items&&S.items.map(e=>e&&"Carouselcontainer"===e.__typename?e&&e.carouselPanelsCollection&&e.carouselPanelsCollection.items.map(e=>({...e,completeStatusForRecieptScan:eQ(e&&e.name)})):null);if(j.default.buildYourProfileSurveyTaken&&(eJ[1]=eJ&&eJ[1]&&eJ[1].filter(e=>{var t;return!(null==e?void 0:null===(t=e.link)||void 0===t?void 0:t.includes("build-your-profile=true"))})),!0===j.default.userLoggedIn){(null===j.default||void 0===j.default?void 0:null===(m=j.default.profileData)||void 0===m?void 0:m.birthday)!==null&&(j.default.completeProfile=!0);let e=[];r=eJ&&eJ[1]&&eJ[1].forEach(t=>{j.default.completeProfile||"Complete_Profile"!==t.behavior?"Complete_Profile"!==t.behavior&&e.push(t):e.push(t)}),r=e,j.default.featuredCardLength=r.length}return(0,i.useEffect)(()=>{!0===j.default.userLoggedIn&&(0,M.kq)(async()=>{window.SEG_EMBED_API.on("SURVEY_GOAL_REACHED",async e=>{e&&"1417"===e.toString()&&(j.default.completeProfile20SurveyTaken=!0)})}),j.default.completeProfile20SurveyTaken&&(r=eJ&&eJ[1]&&eJ[1].filter(e=>"Complete_Profile"!==e.behavior),j.default.featuredCardLength=null==r?void 0:r.length,eS(!0)),j.default.buildYourProfileSurveyTaken&&(r=eJ&&eJ[1]&&eJ[1].filter(e=>!e.link.includes("build-your-profile=true")),j.default.featuredCardLength=r.length)},[j.default.completeProfile20SurveyTaken,j.default.buildYourProfileSurveyTaken,j.default.rewardStatus]),(0,i.useEffect)(()=>{var e,t,a;j.default.completeProfile20SurveyTaken?!j.default.buildYourProfileSurveyTaken&&j.default.completeProfile20SurveyTaken?eO(null==H?void 0:null===(t=H.items)||void 0===t?void 0:t.filter(e=>"completeProfileSurvey"!==e.behavior)):j.default.buildYourProfileSurveyTaken&&j.default.completeProfile20SurveyTaken&&eO(null==H?void 0:null===(a=H.items)||void 0===a?void 0:a.filter(e=>"completeProfileSurvey"!==e.behavior&&"buildYourProfileSurvey"!==e.behavior)):eO(null==H?void 0:null===(e=H.items)||void 0===e?void 0:e.filter(e=>"buildYourProfileSurvey"!==e.behavior))},[j.default.rewardStatus,j.default.completeProfile20SurveyTaken,j.default.buildYourProfileSurveyTaken]),(0,n.jsxs)("div",{"data-nosnippet":!0,children:[(0,n.jsxs)(g(),{children:[(null==v?void 0:null===(t=v.image)||void 0===t?void 0:t.smartphoneImage)&&(0,n.jsx)("link",{rel:"preload",media:"(max-width: 768px) and (min-width: 300px)",as:"image",href:(0,G.AR)(null==v?void 0:null===(l=v.image)||void 0===l?void 0:null===(a=l.smartphoneImage)||void 0===a?void 0:a.url)}),(null==v?void 0:null===(o=v.image)||void 0===o?void 0:o.desktopImage)&&(0,n.jsx)("link",{rel:"preload",media:"(min-width: 769px)",as:"image",href:(0,G.AR)(null==v?void 0:null===(s=v.image)||void 0===s?void 0:null===(d=s.desktopImage)||void 0===d?void 0:d.url)}),(null==et?void 0:et.smartphoneImage)&&(0,n.jsx)("link",{rel:"preload",media:"(max-width: 768px) and (min-width: 300px)",as:"image",href:(0,G.AR)(null==et?void 0:null===(p=et.smartphoneImage)||void 0===p?void 0:p.url)}),(null==et?void 0:et.desktopImage)&&(0,n.jsx)("link",{rel:"preload",media:"(min-width: 769px)",as:"image",href:(0,G.AR)(null==et?void 0:null===(c=et.desktopImage)||void 0===c?void 0:c.url)})]}),eP&&(0,n.jsxs)(K,{okText:el.link,closeHandler:()=>eH(D.birthDayInterationType),cancelHandler:()=>ek(!1),pageSource:"earnPointsBirthdayPromo",styles:"earnPointsBirthdayPromo",showSpinner:eR,children:[(0,n.jsx)("div",{className:I.Z.birthdayPromo.birthdayIconWrapper||"",children:(0,n.jsx)(y.default,{className:I.Z.birthdayPromo.iconWrapper,name:el.iconName})}),(0,n.jsx)("p",{className:I.Z.birthdayPromo.headingWrapper||"",children:el.heading}),(0,n.jsx)(E.Z,{className:I.Z.birthdayPromo.contentWrapper,markdown:el.text})]}),eT&&(0,n.jsxs)(K,{okText:eo.link,cancelHandler:()=>ej(!1),closeHandler:()=>eF(en.featuredSurvey,en.monthlyPromoRewardId,en.mosStartAndEndDate),pageSource:"earnPointsBirthdayPromo",styles:"earnPointsBirthdayPromo",children:[(0,n.jsx)("div",{className:I.Z.birthdayPromo.birthdayIconWrapper||"",children:(0,n.jsx)(y.default,{className:I.Z.birthdayPromo.iconWrapper,name:eo.iconName})}),(0,n.jsx)("p",{className:I.Z.birthdayPromo.headingWrapper||"",children:eo.heading}),(0,n.jsx)(E.Z,{markdown:eo.text})]}),eC&&ed&&(0,n.jsxs)(K,{okText:ed.link,closeHandler:()=>eH(D.halfBirthDayInterationType),cancelHandler:()=>eW(!1),pageSource:"earnPointsBirthdayPromo",styles:"earnPointsBirthdayPromo",showSpinner:eR,children:[(0,n.jsx)("div",{className:I.Z.birthdayPromo.birthdayIconWrapper||"",children:(0,n.jsx)(y.default,{className:I.Z.birthdayPromo.iconWrapper,name:ed.iconName})}),(0,n.jsx)("p",{className:I.Z.birthdayPromo.headingWrapper||"",children:null==ed?void 0:ed.heading}),(0,n.jsx)(E.Z,{className:I.Z.birthdayPromo.contentWrapper,markdown:ed.text})]}),eZ&&(0,n.jsxs)(K,{okText:es.link,cancelHandler:()=>eN(!1),closeHandler:()=>eG(en.featuredSurvey,en.monthlyPromoRewardId,en.mosStartAndEndDate),pageSource:"earnPointsBirthdayPromo",styles:"earnPointsBirthdayPromo",children:[(0,n.jsx)("div",{className:I.Z.birthdayPromo.birthdayIconWrapper||"",children:(0,n.jsx)(y.default,{className:I.Z.birthdayPromo.iconWrapper,name:es.iconName})}),(0,n.jsx)("p",{className:I.Z.birthdayPromo.headingWrapper||"",children:es.heading}),(0,n.jsx)(E.Z,{markdown:es.text})]}),j.default.showTwogetherThanksPopUp&&(0,n.jsxs)(K,{okText:D.TMFConfirmationModal.link,cancelHandler:()=>{j.default.showTwogetherThanksPopUp=!1},closeHandler:()=>{j.default.showTwogetherThanksPopUp=!1},pageSource:"earnPointsBirthdayPromo",styles:"earnPointsBirthdayPromo",children:[(0,n.jsx)("p",{className:I.Z.birthdayPromo.headingWrapper||"",children:D.TMFConfirmationModal.heading}),(0,n.jsx)(E.Z,{markdown:D.TMFConfirmationModal.text})]}),j.default.showCincinnatiThanksPopUp&&(0,n.jsxs)(K,{okText:D.CMFConfirmationModal.link,cancelHandler:()=>{j.default.showCincinnatiThanksPopUp=!1},closeHandler:()=>{j.default.showCincinnatiThanksPopUp=!1},pageSource:"earnPointsBirthdayPromo",styles:"earnPointsBirthdayPromo",children:[(0,n.jsx)("p",{className:I.Z.birthdayPromo.headingWrapper||"",children:D.CMFConfirmationModal.heading}),(0,n.jsx)(E.Z,{markdown:D.CMFConfirmationModal.text})]}),j.default.showIneligiblePromoContentCMF&&(0,n.jsx)(K,{okText:D.ineligiblePromoCTA,closeHandler:()=>{j.default.showIneligiblePromoContentCMF=!1},children:(0,n.jsx)("p",{children:D.ineligiblePromoHeading})}),eg&&(0,n.jsxs)(K,{okText:"",closeHandler:()=>ef(!1),children:[(0,n.jsx)("p",{children:D.rewardMessageforFeaturedSurvey.heading}),(0,n.jsx)(E.Z,{markdown:D.rewardMessageforFeaturedSurvey.body})]}),eh&&(0,n.jsx)(K,{okText:D.ineligiblePromoCTA,closeHandler:()=>ew(!1),children:D.ineligiblePromoHeading}),eb&&(0,n.jsx)(K,{okText:D.ineligiblePromoCTA,closeHandler:()=>ev(!1),children:D.outOfStockHeading}),j.default.showTwogetherThanksPopUp&&(0,n.jsxs)(K,{okText:D.TMFConfirmationModal.link,cancelHandler:()=>{j.default.showTwogetherThanksPopUp=!1},closeHandler:()=>{j.default.showTwogetherThanksPopUp=!1},pageSource:"earnPointsBirthdayPromo",styles:"earnPointsBirthdayPromo",children:[(0,n.jsx)("p",{className:I.Z.birthdayPromo.headingWrapper||"",children:D.TMFConfirmationModal.heading}),(0,n.jsx)(E.Z,{markdown:D.TMFConfirmationModal.text})]}),(0,n.jsx)("div",{className:I.Z.content.signUppagewrapper||"",children:eA&&eB&&(0,n.jsx)(k,{sampleSurveyThankYouScreenBackgroundImage:eu,handleThankyouScreenNextCTA:()=>eU(),handleThankyouScreenCloseCTA:()=>eE(!1),surveyThankyouScreenContent:eB})}),(0,n.jsxs)("div",{className:"bg-bgcolor",children:[_.Z.showWidget&&(0,n.jsx)(J,{...ea,confirmationModalLabels:er,siteSettings:en}),(0,n.jsx)("div",{className:I.Z.backgroundWrapper||"",children:(0,n.jsx)(b.Z,{className:I.Z.backgroundWrapperImage,...et})}),(0,n.jsxs)("div",{className:I.Z.waysToEarnBelowBanner.outerMainWrapper||"",children:[(0,n.jsxs)("div",{className:I.Z.waysToEarnBelowBanner.mainWrapper||"",children:[(0,n.jsx)("div",{className:"bg-primary",children:(0,n.jsx)("div",{className:I.Z.content.pageTitle||"",children:(0,n.jsx)("h2",{children:x})})}),void 0===j.default.userLoggedIn&&(0,n.jsx)("div",{className:I.Z.waysToEarnBelowBanner.userLoggedText||"",children:(0,n.jsx)(y.default,{name:"spinnerCoral",className:I.Z.waysToEarnBelowBanner.loadingSpinnerImage})}),!0===j.default.userLoggedIn&&(0,n.jsx)("div",{className:I.Z.surveyBalance.surveyBadge||"",children:(0,n.jsx)("div",{className:I.Z.surveyBalance.availableWrapper||"",children:(0,n.jsx)(C.Z,{...f,pageSource:Z.earnPoints})})}),!1===j.default.userLoggedIn&&(0,n.jsx)("div",{className:I.Z.afterBannerEarnCards.bannerSection||"",children:(0,n.jsx)(B.Z,{...v,pageSource:Z.rewardsDashboard,ctaHandler:T.Ki})})]}),(0,n.jsxs)("div",{className:I.Z.waysToEarnBelowBannerText.wholeContainer||"",children:[(0,n.jsx)("div",{className:I.Z.rewardsEarnCards.mainContainer||"",children:e_&&(0,n.jsx)("div",{className:I.Z.rewardsEarnCards.bannerSection||"",children:(0,n.jsx)("div",{className:I.Z.rewardsEarnCards.container||"",children:e_.map(e=>{if(e)switch(e.__typename){case"ContentTypeRichText":return(0,n.jsx)("div",{id:"startEarningSectionReceipt",className:I.Z.rewardsEarnCards.contentWrapper||"",children:(0,n.jsx)("div",{id:"startEarningSection",className:I.Z.rewardsEarnCards.headingWrapper||"",children:(0,i.createElement)(P.Z,{...e,key:e&&e.sys&&e.sys.id})})});case"Tile":return(0,n.jsx)("div",{className:(j.default.completeProfile20SurveyTaken?"".concat(I.Z.rewardsEarnCards.rewardTileWrapper," completeProfileWrapper"):I.Z.rewardsEarnCards.rewardTileWrapper)||"",children:(0,n.jsx)(W.Z,{styles:"rewards-dashboard-tile",pageSource:Z.rewardsDashboard,...e,featuredSurvey:en&&en.featuredSurvey,monthlyPromoRewardId:en&&en.monthlyPromoRewardId,clickHandler:()=>{"startEarnScanReceipt"===e.variant&&_.Z.setWidgetVisibility(!0)},textIconName:"arrowHome",mosStartAndEndDate:en.mosStartAndEndDate})})}return null})})})}),(0,n.jsx)("div",{children:S&&(0,n.jsx)("div",{className:I.Z.homeContainer.sectionWrapperPromo||"",children:(0,n.jsx)("div",{className:I.Z.homeContainer.mainWrapperFeature||"",children:(0,n.jsx)("div",{className:I.Z.articleCarousel.sliderWrapper||"",children:S&&S.items&&S.items.map(e=>{if(e)switch(e.__typename){case"ContentTypeRichText":return(0,i.createElement)(P.Z,{...e,key:e&&e.sys&&e.sys.id,pageSource:Z.earnPoints,variant:"feature-earnpoints"});case"Carouselcontainer":return(0,n.jsxs)("div",{className:I.Z.articleCarousel.carouselWrapper||"",children:[e&&!1===ey?eJ&&eJ[1]&&(0,n.jsx)(A.Z,{carouselPanelsCollection:{items:eJ[1]},panelStyle:I.Z.articleCarousel.panel,contextualLoginText:ei,pageSource:Z.earnPoints,launchPoint:"earnPoints",textIconName:"arrowHome",siteSettings:en}):r&&(0,n.jsx)(A.Z,{carouselPanelsCollection:{items:r},panelStyle:I.Z.articleCarousel.panel,contextualLoginText:ei,pageSource:Z.earnPoints,launchPoint:"earnPoints",textIconName:"arrowHome",siteSettings:en}),(0,n.jsx)("div",{id:"quizSection"})]})}return null})})})})}),(0,n.jsx)("div",{children:$&&(0,n.jsx)("div",{className:I.Z.quizCarousel.sectionWrapper||"",children:(0,n.jsx)("div",{className:I.Z.quizCarousel.mainWrapper||"",children:(0,n.jsx)("div",{className:I.Z.quizCarousel.sliderWrapper||"",children:$&&$.items&&$.items.map(e=>{if(e)switch(e.__typename){case"ContentTypeRichText":return(0,i.createElement)(P.Z,{className:"",...e,key:e&&e.sys&&e.sys.id,pageSource:Z.earnPoints,variant:"Title"===e.variant?"feature-takeQuiz":"feature-text"});case"Carouselcontainer":return(0,n.jsx)("div",{className:I.Z.quizCarousel.featuredCarouselWrapper||"",children:e&&(0,n.jsx)(A.Z,{...e,panelStyle:I.Z.articleCarousel.panel,pageSource:Z.earnPoints,variant:"feature-earn-points",styles:"earn-points-quiz"})})}return null})})})})})]})]}),(0,n.jsx)("div",{className:I.Z.redeemPointsSection.redeemMainWrapper||"",children:ee&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:I.Z.redeemPointsSection.titleWrapper||"",children:[(0,n.jsx)("p",{className:I.Z.redeemPointsSection.titleContent||"",children:ee.title}),(0,n.jsx)("p",{className:I.Z.redeemPointsSection.subTitleContent||"",children:ee.subTitle})]}),(0,n.jsx)("div",{className:I.Z.redeemPointsSection.cardWrapper||"",children:ee&&ee.cardContentsCollection&&ee.cardContentsCollection.items.map(e=>(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:I.Z.redeemPointsSection.cardContent||"",children:[(0,n.jsx)("div",{className:I.Z.redeemPointsSection.cardImageContent||"",children:(0,n.jsx)(L.Z,{ariaLabelText:e&&e.heading,to:e&&e.link,target:"_blank",name:e&&e.iconName,arrowColorVariant:e&&e.arrowColorVariant,mosStartAndEndDate:en.mosStartAndEndDate})}),(0,n.jsxs)("div",{className:I.Z.redeemPointsSection.cardText||"",children:[(0,n.jsx)("div",{className:I.Z.redeemPointsSection.cardTitle||"",children:(0,n.jsx)(E.Z,{markdown:e.heading})}),(0,n.jsx)("div",{className:I.Z.redeemPointsSection.cardSubTitle||"",children:(0,n.jsx)(E.Z,{markdown:e.text})}),(0,n.jsx)("div",{className:I.Z.redeemPointsSection.cardDescription||"",children:(0,n.jsx)(E.Z,{markdown:e.subText})})]})]})}))}),(0,n.jsx)("div",{className:I.Z.redeemPointsSection.exploreRewardsLinkWrapper||"",children:(0,n.jsx)(N.Z,{className:I.Z.redeemPointsSection.exploreRewardsLink,pageSource:Z.rewardsDashboard,...ee.callToActionsCollection.items[0]})})]})})]}),(0,n.jsx)(u(),{id:R.__hash,children:R})]})};$.propTypes={pageTitle:o().string.isRequired,availableBalance:o().oneOfType([o().object]).isRequired,joinEarnSection:o().oneOfType([o().object]).isRequired,confirmationModalLabels:o().oneOfType([o().object]).isRequired,featuredPromotionsSectionCollection:o().oneOfType([o().object]).isRequired,everydayActionSectionCollection:o().oneOfType([o().object]).isRequired,receiptScanCollection:o().oneOfType([o().object]).isRequired,articleQuizzesSectionCollection:o().oneOfType([o().object]).isRequired,redeemSection:o().oneOfType([o().object]).isRequired,pageBackground:o().oneOfType([o().object]).isRequired,promotionCompletedType:o().string,contextualLoginText:o().string,onboardingToolTipContent:o().oneOfType([o().object]),siteSettings:o().string.isRequired,birthdayPromoModal1Label:o().oneOfType([o().object]),birthdayPromoModal2Label:o().oneOfType([o().object]),halfBirthdayPromoModal1Label:o().oneOfType([o().object]),halfBirthdayPromoModal2Label:o().oneOfType([o().object]),sampleSurveyThankYouScreenBackgroundImage:o().oneOfType([o().object]).isRequired,sampleSurveyThankYouScreenContentsCollection:o().oneOfType([o().object]).isRequired},$.defaultProps={promotionCompletedType:"",contextualLoginText:"",onboardingToolTipContent:"",birthdayPromoModal1Label:"",birthdayPromoModal2Label:"",halfBirthdayPromoModal1Label:"",halfBirthdayPromoModal2Label:""};var ee=(0,f.Pi)($);let et=e=>{let{layoutData:t,page:a}=e;return(0,n.jsxs)(d.Z,{...t,children:[(0,n.jsx)(s.Z,{...a.pageMetaData}),(0,n.jsx)(ee,{...a,...t})]})};et.propTypes={layoutData:o().instanceOf(Object).isRequired,page:o().instanceOf(Object).isRequired};var ea=!0,er=et}},function(e){e.O(0,[3662,724,1216,5814,1055,6066,3495,1191,6839,6716,8743,7364,7573,5218,5029,1372,9992,8957,2888,9774,179],function(){return e(e.s=54238)}),_N_E=e.O()}]);