"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7364],{75188:function(e,t,a){a.d(t,{E:function(){return o}});var i=a(70290);a.n(i)()("P2GK8LJ75A","e7f5919b42a6abf4d3d7bdca4f134bbd");let o={algoliaAppID:"P2GK8LJ75A",algoliaIndexName:"mt-mw-pggoodeveryday-prod",algoliaSearchOnlyAPIToken:"e7f5919b42a6abf4d3d7bdca4f134bbd"}},87364:function(e,t,a){a.d(t,{Z:function(){return eP}});var i=a(85893),o=a(1822),n=a.n(o),r=a(67294),s=a(45697),l=a.n(s),d=a(11163),p=a.n(d),c=a(29323),m=a(7149),h=a(36232),u=a(11006),g=a(58743);let x=()=>{let e=new URLSearchParams(window.location.search);e.has("callback")?(0,h.ZP)(e.get("callback")):(0,h.ZP)("/")},f=(0,c.Pi)(e=>{let{oktaLabels:t,selectCause:a,confirmationModal:o,emailVerificationModalContent:n,cascadeSampleIdAddToBasketForStage:r,cascadeSampleIdAddToBasketForProd:s,campaignSamplesIdCollection:l,inActiveCampaigns:d,privacyText:p}=e;return(0,i.jsx)(m.Z,{oktaFormErrors:u.Z,handleLoginSuccess:x,handleMenu:()=>(0,g.qk)(!1),oktaLabels:t,selectCause:a,confirmationModal:o,emailVerificationModalContent:n,cascadeSampleIdAddToBasketForStage:r,cascadeSampleIdAddToBasketForProd:s,campaignSamplesIdCollection:l,inActiveCampaigns:d,privacyText:p,pageSource:"LoginPopUp"})});f.propTypes={oktaLabels:l().oneOfType([l().object]).isRequired,selectCause:l().oneOfType([l().object]).isRequired,confirmationModal:l().instanceOf(Object).isRequired,emailVerificationModalContent:l().oneOfType([l().object]),cascadeSampleIdAddToBasketForStage:l().string.isRequired,cascadeSampleIdAddToBasketForProd:l().string.isRequired,campaignSamplesIdCollection:l().oneOfType([l().object]),privacyText:l().string.isRequired};var b=a(565),w=a(60118),v=a(26091),y=a(29238),k=a.n(y),S=a(47849),j=a(13633),P={headerMainWrapper:"headerWrapper flex flex-wrap justify-between bg-white items-center shadow-headernav lg:shadow-none w-full relative z50 z-20 xl:z-auto",headerWrapper:" flex flex-wrap justify-between bg-white items-center h-20 shadow-headernav xl:shadow-none pl-25 pr-10 sm:h-70 xl:h-100 sm:w-full xl:flex xxl:px-20 lg:pl-55 lg:pr-30 xl:px-55 font-montserratlight font-light",headerLogo:"headerLogo",logoWrapper:"w-12/12 md:w-12/12 logo-wraper relative xl:z-1 md:left-auto xl:pr-4 focus:outline",dropdownListSideNav:"dropdownList-old ",threeDots:"threeDots threeDotsFocus relative flex items-center h-0 xl:h-99 md:w-60 xl:w-80",threeDotsDropdown:"threeDotsDropdown relative md:text-16 lg:p-0 lg:pr-08 hidden xl:block focus:outline",arrowIconThreeDots:"w-15 ml-10px arrowDown cursor-pointer lg:ml-0 -mt-4px px-01 flex items-center hidden xl:block",hamburgerButton:"hamburger-menu-button hover:text-blue-600 w-2/12 bold pl-10 pr-13 relative left:-15 relative xl:hidden",primaryNav:"primary-nav-div primary-nav-dropdown h-full bg-white items-center xl:mr-0 xl:-ml-0 xl:-ml-0 md:ml-0 lg:ml-0 xl:ml-0 lg:mr-0 xl:mr-0 sm:relative xl:flex",navMenu:"hidden xl:block xl:relative nav-menu lg:pl-10 xl:mx-15px xl:pl-0",primaryNavItem:"primary-nav-item-div primary-nav-item-dropdown relative z-1 bg-white px-06 py-2 text-16 leadinf-lightmedium md:ml-6px lg:leading-ultralight lg:px-12 xl:px-15 font-montserratlight font-normal text-formtext focus:outline font-light lg:ml-10px xl:ml-15px xxl:ml-30 lg:ml-0rem",primaryNavList:"lg:relative primaryNavList lg:z-1 lg:bg-white first:shadow-navigation first:pt-10 last:pb-15",userManagement:"user-management-div md:hover:border-b-2 lg:pr-0 lg:w-1/12 xl:w-12/12 sm:px-0 w-12/12 pr-1 sm:pr-0 md:justify-end text-14 lg:text-sm leading-articalsmall md:flex md:flex-flow-reverse ",searchWrapper:"w-auto min-w-30 min-h-29 relative hidden searchWrapper mr-10px xl:flex items-center bg-white xl:left-0 xxl:left-0",searchFieldWrapper:"relative searchFieldWrapper -left-30",searchDropdown:"absolute right-0 bg-white text-14 leading-sitemap32 font-montserratlight font-light md:pt-07 pl-0 w-260 top-65 left-0 z-2 xl:z-static xl:top-40 md:w-240 xxl:w-330 xl:text-16 md:pt-10",searchDropdownList:"w-full searchDropdownList px-5 pb-12 pt-12 md:pl-30 md:pr-10 leading-leading20 block",hamburgerMenu:{button:"hamburger-close-menu fill-current text-formtext hover:text-blue-600 -m-1 px-5 h-6 w-1/12 md:hidden",dots:"hamburger-dots hidden md:block px-5",wrapper:" hamburger-wrapper relative overflow-y-auto md:overflow-hidden z-20 py-5 bg-white absolute top-0 pt-8 md:pb-20 left-0 shadow-2xl min-h-full md:h-auto outline-none h-16 w-10/12 md:w-full",wrapper1:"hambergerTextWrapper px-0",nav:{mainWrapper:"fixed xl:static h-screen w-full z-1 xl:z-auto top-0 left-0 xl:h-auto xl:w-auto bg-alpha-black-50 ",mainWrapperClose:"fixed cursor-default xl:hidden xl:static h-screen w-full z-0 xl:z-auto top-0 left-0 xl:h-auto xl:w-auto ",wrapper:"hamburger-nav-wrapper-SP hamburger-wrapper overflow-y-scroll xl:overflow-y-hidden fixed xl:absolute h-screen xl:h-auto xl:min-h-110 pl-25 xl:pl-0 pt-30 xl:pt-0 bg-white w-320 top-0 left-0 xl:w-170 xl:top-67 text-16 leading-lightmedium xl:leading-leading19 pb-12px xl:pb-0 text-formtext border-input-br",item:"hamburger-nav-div-item-SP block text-left font-normal xl:hover:text-white xl:hover:bg-primary w-full pl-0 xl:pl-15 pt-2 font-light outline pb-2 text-16 leading-lightmedium xl:text-14 xl:leading-seller18",closeIcon:"close-icon cursor-pointer w-20 xl:hidden"},refferal:{mainWrapper:"w-full pt-25 block md:hidden ",wrapper:"w-full refferal-wrapper bg-receiptFeedback px-20 text-center absolute bottom-0 pb-90",iconWrapper:"flex flex-wrap justify-center pt-35 pb-20",textWrapper:"refferal-text-wrapper text-white font-montserratSemiBold font-semibold text-16 leading-lightmedium",linkText:"w-full pt-10 pb-20 text-white underline font-montserratSemiBold font-semibold text-14 text-center",linkBtnWrapper:"w-full pt-20",linkBtn:"btn btn-primaryReceipt-white"},quickLinks:{wrapper:"quickLinks-wrapper border-input-br ml-0 mr-8 w-10/12 pt-14 md:pt-10px md:w-11/12 lg:w-11/12 pt-2 font-hairline text-sm pl-5",item:"side-nav-quicklink-div-item text-formtext items-center flex block hover:text-blue-600 px-0 pt-2 pb-1 pr-20 leading-lightmedium md:leading-leading20 focus:outline"}},headerAlert:{wrapper:"w-full bg-receiptFeedback headerAlert-IE lg:min-h-52 min-h-38 flex mt-0 flex-wrap items-center font-montserratSemiBold font-semibold text-white",logoutWrapper:"w-full flex flex-wrap login-alert-wrapper tracking-tab lg:tracking-2 lg:text-18 text-14 font-montserratBold font-bold px-20 lg:leading-lightmedium lg:pl-62 lg:pr-57",loginWrapper:"w-full flex flex-wrap ",nameWrapperWithIcons:"widthSixty md:w-8/12 lg:w-9/12 xl:w-9/12 flex items-center flex-wrap",nameWrapper:"w-full pr-10 flex items-center flex-wrap",signInButton:"signin-button underline pr-05 tracking-tab lg:tracking-2 focus:border focus:border-white",pointsWrapper:{pwrapper:"pointsWrapper widthFourty md:w-4/12 lg:w-3/12 xl:w-3/12 flex flex-wrap justify-end items-center",wrapper:"w-full flex justify-end",rewardPoints:"flex flex-wrap pl-05 lg:pr-20 items-center rewardsPoints text-14 lg:text-17 xl:text-18 lg:tracking-2 tracking-1",charityPoints:"flex flex-wrap pl-05 lg:pl-10 items-center charityPoints text-14 lg:text-17 xl:text-18 lg:tracking-2 tracking-1"}},alerbox:{alertWrapper:"w-full flex flex-wrap login-alert-wrapper pl-20 lg:leading-lightmedium lg:pl-62 lg:pr-57"},desktopView:" hidden xl:block",mobileView:"block xl:hidden"},z=a(94382),T=a(25411),C=a(6394),I=a(60834),N=a(86661),D=a(8848);let E=e=>{let{hits:t,refine:a,handleSearchIcon:o}=e,[n,s]=(0,r.useState)(!1),l=e=>{e.preventDefault(),z.default.query=e.currentTarget.value,""!==z.default.query.trim()?(a(k().sanitize(z.default.query)),(0,C.yc)(z.default.query),s(!0)):s(!1)},d=e=>{e.preventDefault(),z.default.query&&""!==z.default.query.trim()&&((0,C.OQ)(),p().push("/search?t=".concat(k().sanitize(z.default.query))))};return(0,r.useEffect)(()=>{(null==t?void 0:t.length)>0&&(null===z.default||void 0===z.default?void 0:z.default.query)!==null&&n&&(0,N.J9)(D._RI)},[z.default.query]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("form",{noValidate:!0,className:"w-full surveysearch relative -top-3","aria-label":"Search",action:"",role:"search",onSubmit:e=>d(e),children:(0,i.jsx)("label",{htmlFor:"focus",children:(0,i.jsx)("input",{"data-testid":"auto-complete-searchbox",type:"text",id:"focus",className:I.Z.searchField,placeholder:T.searchPlaceholder,value:z.default.query,"aria-label":"search ".concat(z.default.query),onChange:e=>{o(),l(e)}})})}),(0,i.jsx)("div",{className:P.searchDropdown,children:n&&t.slice(0,5).map(e=>(0,i.jsx)(j.Z,{to:e.link,className:P.searchDropdownList,children:(0,i.jsx)(b.Z,{markdown:e.title})},e.objectID))})]})};E.propTypes={hits:l().oneOfType([l().array]),refine:l().func,handleSearchIcon:l().func},E.defaultProps={hits:[],refine:()=>{},handleSearchIcon:()=>{}};var L=(0,S.Z)(E),_=a(71191),M={default:{button:"sign-in-button focus:outline",span:"sign-in-span w-full md:flex focus:outline-none justify-center",IconWrapper:"md:flex md:w-full font-montserratSemiBold font-semibold focus:outline-none md:flex-row-reverse",userIcon:"userIcon min-w-45 lg:w-12/12 pl-2 md:pl-half md:flex md:flex-row-reverse md:items-center pt-1",signin:"relative top-0 md:items-center md:w-full focus:outline-none font-montserratSemiBold font-semibold text-14 lg:text-sm md:items-center md:pt-2 md:top-0 md:text-right"},profile:"flex justify-center items-center text-sm lg:text-base",profileactive:"bg-white absolute sm:w-1/3 sm:top-10 left-auto focus:outline-none md:w-1/6 md:top-23 right-10 lg:right-30 xl:right-2 shadow-2xl pt-2 px-2 lg:pb-10 pb-2",profileinner:"flex justify-center p-2 pl-2 text-14",profilebutton:"py-2 font-montserratSemiBold font-semibold text-lg text-formbutton focus:outline-none text-center lg:text-23",profilename:"pr-05 ",UserSiginSPWrapper:"UserSiginSPWrapper ieWrapper arrowSignIn flex flex-col-reverse items-center text-primaryCta text-14 font-montserratSemiBold font-semibold md:flex-row md:text-14 leading-articalsmall",UserSiginSP:"UserSiginSP flex flex-col-reverse md:flex-row items-center md:justify-end",UserSiginSPInner:"UserSiginSPInner pt-01 md:pr-03 md:z-10 pb-03",signinSpinner:"signinSpinner w-16 h-16 flex justify-center"},B=a(35941),W=a(25967),A=a(22742),O=a(68857),R=a(50298),Z=a.n(R),F=a(14343);let U=new String('.unreadMessage{padding-left:48px}.unreadMessage:before{content:"";display:list-item;position:absolute;font-size:1.375rem;color:#DD3447}@media screen and (min-width:300px){.userRightMenuWrapper{-webkit-animation:.5s ease-out 0s 1;-moz-animation:.5s ease-out 0s 1;-o-animation:.5s ease-out 0s 1;animation:.5s ease-out 0s 1;-webkit-animation-name:UserMenuSlide;-moz-animation-name:UserMenuSlide;-o-animation-name:UserMenuSlide;animation-name:UserMenuSlide;background-color:white;-webkit-animation-iteration-count:1;-moz-animation-iteration-count:1;-o-animation-iteration-count:1;animation-iteration-count:1}@-webkit-keyframes UserMenuSlide{0%{max-height:0}100%{-webkit-transition:.2s;transition:.2s;max-height:200px}}@-moz-keyframes UserMenuSlide{0%{max-height:0}100%{-moz-transition:.2s;transition:.2s;max-height:200px}}@-o-keyframes UserMenuSlide{0%{max-height:0}100%{-o-transition:.2s;transition:.2s;max-height:200px}}@keyframes UserMenuSlide{0%{max-height:0}100%{-webkit-transition:.2s;-moz-transition:.2s;-o-transition:.2s;transition:.2s;max-height:200px}}.userMenuText{-webkit-animation:.5s ease-out 0s 1;-moz-animation:.5s ease-out 0s 1;-o-animation:.5s ease-out 0s 1;animation:.5s ease-out 0s 1;-webkit-animation-name:userMenuTextSlide;-moz-animation-name:userMenuTextSlide;-o-animation-name:userMenuTextSlide;animation-name:userMenuTextSlide;background-color:white;-webkit-animation-iteration-count:1;-moz-animation-iteration-count:1;-o-animation-iteration-count:1;animation-iteration-count:1}@-webkit-keyframes userMenuTextSlide{0%{opacity:0;-webkit-transition:2s;transition:2s}50%{opacity:0}100%{-webkit-transition-delay:2s;transition-delay:2s;background-color:white;opacity:1}}@-moz-keyframes userMenuTextSlide{0%{opacity:0;-moz-transition:2s;transition:2s}50%{opacity:0}100%{-moz-transition-delay:2s;transition-delay:2s;background-color:white;opacity:1}}@-o-keyframes userMenuTextSlide{0%{opacity:0;-o-transition:2s;transition:2s}50%{opacity:0}100%{-o-transition-delay:2s;transition-delay:2s;background-color:white;opacity:1}}@keyframes userMenuTextSlide{0%{opacity:0;-webkit-transition:2s;-moz-transition:2s;-o-transition:2s;transition:2s}50%{opacity:0}100%{-webkit-transition-delay:2s;-moz-transition-delay:2s;-o-transition-delay:2s;transition-delay:2s;background-color:white;opacity:1}}}');U.__hash="b5ebeefb4ef1cf1";var q=a(3868);let H=e=>{var t,a,o;let{userRightMenuCollection:s,oktaLabels:l}=e,[d,p]=(0,r.useState)(!1),c=null===(a=window)||void 0===a?void 0:null===(t=a.location)||void 0===t?void 0:t.pathname,m=async()=>{z.default.checkLoginStatus=!1,await (0,O.qA)(!0),p(!0),(0,q.Db)()},h=()=>{(0,O.c1)()};return(0,i.jsxs)(i.Fragment,{children:[d&&(0,i.jsxs)(A.default,{dataTestId:"modal-signout",redirectUrl:(0,O.by)().indexOf(c)>=0?Z().homepage:c,closeHandler:()=>h(),children:[(0,i.jsx)("p",{}),(0,i.jsx)("p",{children:l.youveSuccessfullySignedOut})]}),(0,i.jsxs)("div",{className:"UserLogin shrink-user-login absolute right-0 w-6/12 md:w-w225 lg:w-w258 md:z-20 top-70 md:right-0 lg:right-0 md:top-25 md:bg-white shadow-footerlinks",children:[(0,i.jsx)("div",{className:"UserSiginSPWrapper arrowSignIn flex hidden right-0 md:flex md:right-11 lg:right-10 relative md:justify-end py-10 items-center text-primaryCta text-14 font-montserratSemiBold font-semibold md:flex-row md:text-14 leading-articalsmall",children:(0,i.jsxs)("div",{className:"UserSiginSP md:flex md:items-center md:justify-end",children:[(0,i.jsx)("div",{className:"UserSiginSPInner pt-01 md:pr-03",children:null===z.default||void 0===z.default?void 0:null===(o=z.default.profileData)||void 0===o?void 0:o.name}),(0,i.jsx)(B.default,{name:"user",active:"undefined"!=typeof sessionStorage&&sessionStorage.getItem("unreadMessageCount")>0})]})}),(0,i.jsx)("div",{className:"userRightMenuWrapper text-base font-montserratlight font-light bg-white leading-noImgLh shadow-footerlinks md:shadow-none md:border-t-half md:border-input-br pt-20 pb-12",children:"undefined"!=typeof sessionStorage&&sessionStorage.getItem("unreadMessageCount")||void 0!==F.Z.messagesLoading?s&&s.items&&s.items.map(e=>(0,i.jsx)(_.Z,{className:"userMenuText block w-full text-left px-28 outline-none ".concat("/my-messages"===e.link&&"undefined"!=typeof sessionStorage&&sessionStorage.getItem("unreadMessageCount")>0&&"unreadMessage"),...e,linkText:e.linkText.replace("{count}","undefined"!=typeof sessionStorage&&sessionStorage.getItem("unreadMessageCount")||F.Z.messagesLoading),handler:()=>{window.removeEventListener("beforeunload",q.r5),"Sign Out"===e.name&&m()}},e.sys&&e.sys.id)):(0,i.jsx)("div",{className:"w-full py-05 flex justify-center",children:(0,i.jsx)(B.default,{className:"w-16",name:"spinnerCoral"})})}),(0,i.jsx)(n(),{id:U.__hash,children:U})]})]})};H.propTypes={userRightMenuCollection:l().instanceOf(Object).isRequired,oktaLabels:l().instanceOf(Object).isRequired};var G=(0,c.Pi)(H);let V=new String(".arrowSignIn svg{width:10px}.arrowSignIn svg{width:29px;height:29px}@media(min-width:300px)and (max-width:767px){.UserSiginSPWrapper{position:relative;top:2px;right:-5px}.UserSiginSP{width:70px;top:50px;right:5px}.UserSiginSPInner{white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;width:70px}}@media screen and (min-width:768px){.UserSiginSP{max-width:98px}.UserSiginSPInner{white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;text-align:right}.shrinked-nav .UserLogin{top:6.5px}}@media screen and (min-width:1024px){.UserSiginSP{max-width:90px}}@media screen and (min-width:1280px){.UserSiginSP{max-width:120px}}");V.__hash="3b141d9aa8010ee4";let Y=e=>{let[t,a]=(0,r.useState)(void 0),[o,s]=(0,r.useState)(!1),l=(0,r.useRef)(),{style:d,oktaLabels:p,userRightMenuCollection:c,pathName:m}=e,h=M[d]?M[d]:M.default,u=e=>{l.current&&!l.current.contains(e.target)&&"/signup/"!==m&&s(!1)};return(0,r.useEffect)(()=>(z.default.showSignInPopup=!1,z.default.simplifiedSignupFlow=!1,a(!!z.default.profileData&&z.default.profileData),document.addEventListener("mousedown",e=>u(e)),()=>{document.removeEventListener("mousedown",e=>u(e))}),[F.Z.readMessages]),(e=>{if("undefined"!=typeof document){if(!e){document.body.style.overflow="";return}window.innerWidth<W.smartPhoneWidth?document.body.style.overflow="hidden":document.body.style.overflow=""}})(z.default.showSignInPopup),(0,i.jsxs)("div",{ref:l,children:[(0,i.jsxs)("div",{children:[!0===z.default.userLoggedIn&&(0,i.jsx)(j.Z,{className:h.button,handler:()=>{s(!0),(0,C.mY)()},children:(0,i.jsx)("div",{className:h.span||"",children:(0,i.jsx)("div",{className:M.profile||"",children:(0,i.jsx)("div",{className:M.UserSiginSPWrapper||"",children:(0,i.jsxs)("div",{className:M.UserSiginSP||"",children:[(0,i.jsx)("div",{className:M.UserSiginSPInner||"",children:z.default.profileData&&z.default.profileData.name}),(0,i.jsx)(B.default,{name:"user",active:F.Z.unReadMessagesLength>0||"undefined"!=typeof sessionStorage&&sessionStorage.getItem("unreadMessageCount")>0})]})})})})}),!1===z.default.userLoggedIn&&(0,i.jsx)(j.Z,{className:h.button,"aria-label":"Profile Icon",handler:()=>{(0,C.b)(),(0,g.qk)(!0)},children:(0,i.jsx)("div",{id:"Profile Icon",className:h.span||"",children:(0,i.jsx)("div",{className:h.IconWrapper||"",children:(0,i.jsxs)("div",{type:"button",className:h.userIcon||"",children:[(0,i.jsx)(B.default,{"aria-label":"profile",name:"profile"}),(0,i.jsx)("p",{children:T.SIGNIN})]})})})}),void 0===t&&(0,i.jsx)("div",{}),(0,i.jsx)(n(),{id:V.__hash,children:V})]}),o&&(0,i.jsx)(G,{userRightMenuCollection:c,oktaLabels:p,pathName:m})]})};Y.propTypes={style:l().oneOfType([l().string]),oktaLabels:l().oneOfType([l().object]).isRequired,userRightMenuCollection:l().instanceOf(Object).isRequired,pathName:l().string.isRequired},Y.defaultProps={style:null};var K=(0,c.Pi)(Y);let Q=new String('.primary-nav-item-div.active{border-bottom:3px solid#267EA6;color:#267EA6}.bg-alpha-black-50{background-color:rgba(0,0,0,.5)}.primary-nav-div li:first-child{display:none}.earnPointsDropdown:nth-child(2){padding-top:0}.primaryNavList a{color:#5e5e5e}.earnPointsDropdown ul{padding-left:50px;padding-top:5px}.earnPointsDropdown ul li{display:block!important;padding-bottom:5px}.earnPointsDropdown ul li a.hamburger-nav-div-item-SP[href="/good-news/"],.earnPointsDropdown ul li a.hamburger-nav-div-item-SP[href="/impact/"]{display:block;color:#5e5e5e}.logo-wraper svg{width:126px}.arrowDown,.arrowUp{-webkit-transition:-webkit-transform.8s ease-in-out 0s;-moz-transition:-moz-transform.8s ease-in-out 0s;-o-transition:-o-transform.8s ease-in-out 0s;transition:-webkit-transform.8s ease-in-out 0s;transition:-moz-transform.8s ease-in-out 0s;transition:-o-transform.8s ease-in-out 0s;transition:transform.8s ease-in-out 0s;-webkit-transform:rotate(0deg)translatey(0px);-moz-transform:rotate(0deg)translatey(0px);-ms-transform:rotate(0deg)translatey(0px);-o-transform:rotate(0deg)translatey(0px);transform:rotate(0deg)translatey(0px)}.searchFieldWrapper:focus svg{outline:2px solid black}.navigation-item-group-new li:hover .arrowDown,.threeDots:hover .arrowDown{-webkit-transition:-webkit-transform.8s ease-in-out 0s;-moz-transition:-moz-transform.8s ease-in-out 0s;-o-transition:-o-transform.8s ease-in-out 0s;transition:-webkit-transform.8s ease-in-out 0s;transition:-moz-transform.8s ease-in-out 0s;transition:-o-transform.8s ease-in-out 0s;transition:transform.8s ease-in-out 0s;display:block;-webkit-transform-origin:center center;-moz-transform-origin:center center;-ms-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center;-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.hamburger-close-menu svg{width:17px}.threeDots:hover .hamburger-nav-wrapper-SP,.threeDotsFocus:focus-within .hamburger-nav-wrapper-SP{visibility:visible;overflow:hidden}.threeDots:hover .hamburger-nav-wrapper-SP{overflow-y:scroll}.headerLogo{-webkit-transform:translate(2%,0%);-moz-transform:translate(2%,0%);-ms-transform:translate(2%,0%);-o-transform:translate(2%,0%);transform:translate(2%,0%)}.hamburger-menu-button{left:-15px}.shrinked-modal{top:140px}.icon{width:20px;height:20px}.userIcon span svg{width:27px;height:27px;position:relative;left:15%}.login-alert-wrapper svg{height:22px;width:22px}.pointsWrapper a{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.login-alert-wrapper .active{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;outline:none}.login-alert-wrapper .active{-webkit-animation:.8s ease-out 0s 1 slideInFromBottom;-moz-animation:.8s ease-out 0s 1 slideInFromBottom;-o-animation:.8s ease-out 0s 1 slideInFromBottom;animation:.8s ease-out 0s 1 slideInFromBottom;position:relative}.signin-button:focus{border:solid 1px#fff}.shrinked-nav{position:fixed;-webkit-transition:1s;-moz-transition:1s;-o-transition:1s;transition:1s;top:0;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.shrinked-nav .PGE-campaign{top:0px}.button.hamburger-nav-div-item-SP{border-bottom:.5px solid#979797;width:100%;text-align:left;margin-bottom:10px;padding-bottom:18px}.shrinked-nav .completeModal{position:-webkit-sticky;position:sticky;padding-bottom:30px}.shrinked-nav .modalWrapper{padding-bottom:0}.arrowNavUp,.arrowNavDown{width:14px;margin-top:8px;margin-left:8px;-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg)}svg.arrowNavUp{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}@-webkit-keyframes slideInFromBottom{from{opacity:.5;bottom:-18px}to{opacity:1;bottom:0px}}@-moz-keyframes slideInFromBottom{from{opacity:.5;bottom:-18px}to{opacity:1;bottom:0px}}@-o-keyframes slideInFromBottom{from{opacity:.5;bottom:-18px}to{opacity:1;bottom:0px}}@keyframes slideInFromBottom{from{opacity:.5;bottom:-18px}to{opacity:1;bottom:0px}}.earnPointsDropdown ul{-webkit-animation:.4s ease-out 0s 1;-moz-animation:.4s ease-out 0s 1;-o-animation:.4s ease-out 0s 1;animation:.4s ease-out 0s 1;-webkit-animation-name:hamburgerSlideUL;-moz-animation-name:hamburgerSlideUL;-o-animation-name:hamburgerSlideUL;animation-name:hamburgerSlideUL;background-color:white;-webkit-animation-iteration-count:1;-moz-animation-iteration-count:1;-o-animation-iteration-count:1;animation-iteration-count:1}@-webkit-keyframes hamburgerSlideUL{0%{opacity:0;max-height:0;overflow-y:hidden}50%{opacity:.6;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;-webkit-transition:2s;transition:2s;max-height:600px}}@-moz-keyframes hamburgerSlideUL{0%{opacity:0;max-height:0;overflow-y:hidden}50%{opacity:.6;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;-moz-transition:2s;transition:2s;max-height:600px}}@-o-keyframes hamburgerSlideUL{0%{opacity:0;max-height:0;overflow-y:hidden}50%{opacity:.6;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;-o-transition:2s;transition:2s;max-height:600px}}@keyframes hamburgerSlideUL{0%{opacity:0;max-height:0;overflow-y:hidden}50%{opacity:.6;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;-webkit-transition:2s;-moz-transition:2s;-o-transition:2s;transition:2s;max-height:600px}}.pointsRejectionText:after{content:"";width:20px;height:20px;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-o-transform:rotate(-45deg);transform:rotate(-45deg);background:#fff;position:absolute;z-index:-1;top:-10px;left:-webkit-calc(50% - 10px);left:-moz-calc(50% - 10px);left:calc(50% - 10px);-webkit-box-shadow:0 2px 4px 0 rgb(0 0 0/50%);-moz-box-shadow:0 2px 4px 0 rgb(0 0 0/50%);box-shadow:0 2px 4px 0 rgb(0 0 0/50%)}.login-alert-wrapper .alert-text-icon{position:relative;font-weight:700}.login-alert-wrapper .alert-text-icon p{display:block}.textTitle:after{padding-left:10px;border-left:solid 1px;content:"";position:relative;height:15px;top:0;left:5px;display:block}.login-alert-wrapper>div{width:100%;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.rewardsPoints svg,.charityPoints svg{height:10px;position:relative;left:-4px}.rewardsPoints .prideIcon{height:14px}.refferal-text-wrapper h2,.textWrapper h2{font-weight:700;font-size:1.125rem;letter-spacing:2px;line-height:36px}.textWrapper h2{padding-bottom:10px}.search-animation{-webkit-transition:width 4s cubic-bezier(0,.795,0,1);-moz-transition:width 4s cubic-bezier(0,.795,0,1);-o-transition:width 4s cubic-bezier(0,.795,0,1);transition:width 4s cubic-bezier(0,.795,0,1)}.instant-search input{min-width:220px;position:absolute;font-size:14px;-webkit-transition:width 4s cubic-bezier(0,.795,0,1);-moz-transition:width 4s cubic-bezier(0,.795,0,1);-o-transition:width 4s cubic-bezier(0,.795,0,1);transition:width 4s cubic-bezier(0,.795,0,1)}.searchDropdownList:hover{background:#ECEDEE}.searchDropdownList:first-child{padding-top:13px}.searchDropdownList:last-child{padding-bottom:15px;border-bottom:1px solid#267EA6}@media screen and (max-width:480px){.button.hamburger-nav-div-item-SP{margin-bottom:14px;padding-bottom:22px}}@media screen and (max-width:360px){.addToHomeHide1{height:44vh}.referafriendHide1{height:38vh}}@media screen and (min-width:460px){.hamburger-menu-button{width:8.6666%}.headerLogo{left:30px;position:relative}}@media only screen and (min-device-width:375px)and (max-device-width:812px)and (-webkit-min-device-pixel-ratio:3)and (orientation:landscape){.addtohome,.bg-receiptFeedback{position:relative}.hamburger-wrapper{width:55%}}@media(min-width:300px)and (max-width:1279px){.shrinked-nav .login-sp{top:70px}.hamburger-wrapper{-webkit-animation:.5s ease-out 0s 1 slideInFromLeft;-moz-animation:.5s ease-out 0s 1 slideInFromLeft;-o-animation:.5s ease-out 0s 1 slideInFromLeft;animation:.5s ease-out 0s 1 slideInFromLeft;-webkit-animation-name:hamburgerSlide;-moz-animation-name:hamburgerSlide;-o-animation-name:hamburgerSlide;animation-name:hamburgerSlide;-webkit-animation-iteration-count:1;-moz-animation-iteration-count:1;-o-animation-iteration-count:1;animation-iteration-count:1}@-webkit-keyframes hamburgerSlide{from{left:-50px}to{left:0}}@-moz-keyframes hamburgerSlide{from{left:-50px}to{left:0}}@-o-keyframes hamburgerSlide{from{left:-50px}to{left:0}}@keyframes hamburgerSlide{from{left:-50px}to{left:0}}}@media(min-width:768px)and (max-width:1279px){.shrinked-nav .login-sp{top:30px}}@media screen and (min-width:768px){.logo-wraper svg{width:135px}.headerLogo{left:auto}.instant-search input:focus{outline:0}.search-animation,.survey-search{-webkit-animation:.5s ease-out 0s 1;-moz-animation:.5s ease-out 0s 1;-o-animation:.5s ease-out 0s 1;animation:.5s ease-out 0s 1;-webkit-animation-name:searchSlide;-moz-animation-name:searchSlide;-o-animation-name:searchSlide;animation-name:searchSlide;background-color:white;-webkit-animation-direction:alternate;-moz-animation-direction:alternate;-o-animation-direction:alternate;animation-direction:alternate;-webkit-animation-iteration-count:1;-moz-animation-iteration-count:1;-o-animation-iteration-count:1;animation-iteration-count:1;position:absolute;-webkit-transition:width.4s cubic-bezier(0,.795,0,1);-moz-transition:width.4s cubic-bezier(0,.795,0,1);-o-transition:width.4s cubic-bezier(0,.795,0,1);transition:width.4s cubic-bezier(0,.795,0,1)}@-webkit-keyframes searchSlide{0%{opacity:0;-webkit-transition:2s;transition:2s;max-width:0}50%{opacity:.3}100%{-webkit-transition-delay:2s;transition-delay:2s;opacity:1;max-width:240px}}@-moz-keyframes searchSlide{0%{opacity:0;-moz-transition:2s;transition:2s;max-width:0}50%{opacity:.3}100%{-moz-transition-delay:2s;transition-delay:2s;opacity:1;max-width:240px}}@-o-keyframes searchSlide{0%{opacity:0;-o-transition:2s;transition:2s;max-width:0}50%{opacity:.3}100%{-o-transition-delay:2s;transition-delay:2s;opacity:1;max-width:240px}}@keyframes searchSlide{0%{opacity:0;-webkit-transition:2s;-moz-transition:2s;-o-transition:2s;transition:2s;max-width:0}50%{opacity:.3}100%{-webkit-transition-delay:2s;-moz-transition-delay:2s;-o-transition-delay:2s;transition-delay:2s;opacity:1;max-width:240px}}.shrinked-nav{height:67px;padding-top:0;padding-left:23px;padding-right:23px;padding-bottom:0;position:fixed;-webkit-box-shadow:0 2px 8px 0 rgba(0,0,0,.3);-moz-box-shadow:0 2px 8px 0 rgba(0,0,0,.3);box-shadow:0 2px 8px 0 rgba(0,0,0,.3);-webkit-transition:1s;-moz-transition:1s;-o-transition:1s;transition:1s;-webkit-box-shadow:0 2px 8px 0 rgba(0,0,0,.3);-moz-box-shadow:0 2px 8px 0 rgba(0,0,0,.3);box-shadow:0 2px 8px 0 rgba(0,0,0,.3);top:-1px;left:0}.shrinked-modal{top:140px}.shrinked-nav .logo-wraper svg{width:97px;height:33px;position:relative;top:5px;-webkit-transition:.8s;-moz-transition:.8s;-o-transition:.8s;transition:.8s}.shrinked-nav .login-form{top:-20px;-webkit-transition:.8s;-moz-transition:.8s;-o-transition:.8s;transition:.8s}.shrinked-scan{top:70px}.userIcon span svg{margin-left:4px;left:0}.userIcon p{position:relative;top:0}@-webkit-keyframes hamburgerDotsSlide{0%{opacity:1;height:100px;top:0;max-height:0;overflow-y:hidden}50%{opacity:1;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;top:72px;-webkit-transition:2s;transition:2s;max-height:600px}}@-moz-keyframes hamburgerDotsSlide{0%{opacity:1;height:100px;top:0;max-height:0;overflow-y:hidden}50%{opacity:1;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;top:72px;-moz-transition:2s;transition:2s;max-height:600px}}@-o-keyframes hamburgerDotsSlide{0%{opacity:1;height:100px;top:0;max-height:0;overflow-y:hidden}50%{opacity:1;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;top:72px;-o-transition:2s;transition:2s;max-height:600px}}@keyframes hamburgerDotsSlide{0%{opacity:1;height:100px;top:0;max-height:0;overflow-y:hidden}50%{opacity:1;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;top:72px;-webkit-transition:2s;-moz-transition:2s;-o-transition:2s;transition:2s;max-height:600px}}}@media screen and (min-width:1024px){.staticD{position:static}.loginsearch{width:14%}.shrinked-scan{top:70px}.user-management-div{width:auto}.user-management-div .signupLoginThanku{top:0;z-index:10;position:fixed;overflow-y:scroll}.shrinked-nav{padding-left:55px;padding-right:55px}.textTitle:after{display:none}.alert-text p,.alert-text-wrapper p{padding-right:20px}.alert-text-icon:before{padding-left:10px;border-left:solid 1px;content:"";position:absolute;height:15px;top:4px;left:-10px;display:block}.alert-text p,.alert-text-icon:before,.alert-text-wrapper p,.alert-text-wrapper:before{display:block}.rewardsPoints svg,.charityPoints svg{height:16px;left:0}.rewardsPoints .prideIcon{height:22px;left:1px}}@media screen and (min-width:1280px){.user-management-div{width:auto;min-width:80px}.shrinked-scan{top:-35px}.threeDots:hover .hamburger-nav-wrapper-SP{overflow:hidden}.earnPointsDropdown:nth-child(3){padding-top:10px;-webkit-box-shadow:0 5px 5px -5px#00000070 inset;-moz-box-shadow:0 5px 5px -5px#00000070 inset;box-shadow:0 5px 5px -5px#00000070 inset}.earnPointsDropdown a.hamburger-nav-div-item-SP[href="/good-news/"],.earnPointsDropdown a.hamburger-nav-div-item-SP[href="/impact/"]{display:block}.desktopWrapper86{width:85.33%}.navigation-item-group ul,\n..navigation-item-group-new ul,\n.hamburger-wrapper {-webkit-animation:.1s ease-out 0s 1;-moz-animation:.1s ease-out 0s 1;-o-animation:.1s ease-out 0s 1;animation:.1s ease-out 0s 1;-webkit-transition:all.1s ease 0s;-moz-transition:all.1s ease 0s;-o-transition:all.1s ease 0s;transition:all.1s ease 0s}.arrowDown,.arrowUp,.navigation-item-group-new li:hover .arrowDown,.threeDots:hover .arrowDown{-webkit-transition:-webkit-transform.3s ease-in-out 0s;-moz-transition:-moz-transform.3s ease-in-out 0s;-o-transition:-o-transform.3s ease-in-out 0s;transition:-webkit-transform.3s ease-in-out 0s;transition:-moz-transform.3s ease-in-out 0s;transition:-o-transform.3s ease-in-out 0s;transition:transform.3s ease-in-out 0s}.primaryNavList:last-child,.earnPointsDropdown:last-child{padding-bottom:25px}.earnPointsDropdown ul{padding-left:0}.arrowNavUp,.arrowNavDown{display:none}.primaryNavList:first-child{padding-top:15px;-webkit-box-shadow:0 5px 5px -5px#00000070 inset;-moz-box-shadow:0 5px 5px -5px#00000070 inset;box-shadow:0 5px 5px -5px#00000070 inset}.hamburger-nav-wrapper-SP{visibility:hidden;overflow:hidden}.hamburger-wrapper{-webkit-animation:.8s ease-out 0s 1;-moz-animation:.8s ease-out 0s 1;-o-animation:.8s ease-out 0s 1;animation:.8s ease-out 0s 1;-webkit-animation-name:hamburgerDotsSlide;-moz-animation-name:hamburgerDotsSlide;-o-animation-name:hamburgerDotsSlide;animation-name:hamburgerDotsSlide;background-color:white;-webkit-animation-iteration-count:1;-moz-animation-iteration-count:1;-o-animation-iteration-count:1;animation-iteration-count:1;z-index:-1;-webkit-box-shadow:0 5px 5px -5px#979797 inset;-moz-box-shadow:0 5px 5px -5px#979797 inset;box-shadow:0 5px 5px -5px#979797 inset;top:99px}@-webkit-keyframes hamburgerDotsSlide{0%{opacity:1;height:99px;top:0;max-height:0;overflow-y:hidden}50%{opacity:1;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;top:67px;-webkit-transition:2s;transition:2s;max-height:600px}}@-moz-keyframes hamburgerDotsSlide{0%{opacity:1;height:99px;top:0;max-height:0;overflow-y:hidden}50%{opacity:1;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;top:67px;-moz-transition:2s;transition:2s;max-height:600px}}@-o-keyframes hamburgerDotsSlide{0%{opacity:1;height:99px;top:0;max-height:0;overflow-y:hidden}50%{opacity:1;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;top:67px;-o-transition:2s;transition:2s;max-height:600px}}@keyframes hamburgerDotsSlide{0%{opacity:1;height:99px;top:0;max-height:0;overflow-y:hidden}50%{opacity:1;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;top:67px;-webkit-transition:2s;-moz-transition:2s;-o-transition:2s;transition:2s;max-height:600px}}.shrinked-nav .hamburger-wrapper{-webkit-animation-name:hamburgerDotsSlideShrinked;-moz-animation-name:hamburgerDotsSlideShrinked;-o-animation-name:hamburgerDotsSlideShrinked;animation-name:hamburgerDotsSlideShrinked;top:64px;z-index:-1}.shrinked-nav .loginsearch{height:60px;top:64px}@-webkit-keyframes hamburgerDotsSlideShrinked{0%{opacity:1;height:auto;top:0;max-height:0;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;top:58px;-webkit-transition:2s;transition:2s;max-height:600px}}@-moz-keyframes hamburgerDotsSlideShrinked{0%{opacity:1;height:auto;top:0;max-height:0;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;top:58px;-moz-transition:2s;transition:2s;max-height:600px}}@-o-keyframes hamburgerDotsSlideShrinked{0%{opacity:1;height:auto;top:0;max-height:0;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;top:58px;-o-transition:2s;transition:2s;max-height:600px}}@keyframes hamburgerDotsSlideShrinked{0%{opacity:1;height:auto;top:0;max-height:0;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;top:58px;-webkit-transition:2s;-moz-transition:2s;-o-transition:2s;transition:2s;max-height:600px}}}@media screen and (min-width:1320px){.shrinked-nav .shrink-user-login{right:0!important}}@media screen and (min-width:1440px){.shrinked-nav{padding-left:30px;padding-right:30px}.shrinked-nav .shrink-user-login{right:20px}.shrink-user-login{right:-8px}@-webkit-keyframes searchSlide{0%{opacity:.1;-webkit-transition:2.1s;transition:2.1s}50%{opacity:.4}100%{-webkit-transition-delay:2.1s;transition-delay:2.1s;opacity:1.1;max-width:330px}}@-moz-keyframes searchSlide{0%{opacity:.1;-moz-transition:2.1s;transition:2.1s}50%{opacity:.4}100%{-moz-transition-delay:2.1s;transition-delay:2.1s;opacity:1.1;max-width:330px}}@-o-keyframes searchSlide{0%{opacity:.1;-o-transition:2.1s;transition:2.1s}50%{opacity:.4}100%{-o-transition-delay:2.1s;transition-delay:2.1s;opacity:1.1;max-width:330px}}@keyframes searchSlide{0%{opacity:.1;-webkit-transition:2.1s;-moz-transition:2.1s;-o-transition:2.1s;transition:2.1s}50%{opacity:.4}100%{-webkit-transition-delay:2.1s;-moz-transition-delay:2.1s;-o-transition-delay:2.1s;transition-delay:2.1s;opacity:1.1;max-width:330px}}}@media screen and (min-width:1520px){.shrinked-nav{padding-left:40px;padding-right:40px}.shrinked-nav .shrink-user-login{right:30px}}@media screen and (min-width:1600px){.shrinked-nav{padding-left:70px;padding-right:70px}.shrinked-nav .shrink-user-login{right:60px}}@media screen and (min-width:1800px){.shrinked-nav{padding-left:200px;padding-right:200px}.shrinked-nav .shrink-user-login{right:190px}}@media screen and (min-width:1900px){.shrinked-nav{padding-left:240px;padding-right:240px}.shrinked-nav .shrink-user-login{right:230px}}@supports(-webkit-overflow-scrolling:touch){.addToHomeHide1,.refferal-wrapper{padding-bottom:50px}}@media screen and (-webkit-min-device-pixel-ratio:1.1){.addToHomeHide1,.refferal-wrapper{color:inherit}}@media screen and (min-width:1280px){.navigation-item-group-new{position:relative;width:100%}.navigation-item-group-new ul{width:170px;min-height:100px;background:#fff;-webkit-box-shadow:0 5px 5px -5px#979797 inset;-moz-box-shadow:0 5px 5px -5px#979797 inset;box-shadow:0 5px 5px -5px#979797 inset;-webkit-transition:.5s ease;-moz-transition:.5s ease;-o-transition:.5s ease;transition:.5s ease}.navigation-item-group-new .nav-item ul li .primary-nav-item-dropdown{height:30px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;margin-left:0;padding-left:20px;width:100%;color:#5e5e5e;font-size:14px;border-bottom:solid transparent}.navigation-item-group-new ul li .primary-nav-item-dropdown:hover,.navigation-item-group-new ul li .primary-nav-item-dropdown:focus{background:#267ea6;color:#fff}.primary-nav-item-dropdown{cursor:pointer}.primary-nav-dropdown li:first-child{display:block}.dropdownList-old{list-style:none;position:absolute;top:6.2em;width:100%;visibility:hidden;top:0;overflow:hidden}.shrinked-nav .dropdownList-old{top:4.05em}.dropdownList-old li{position:relative;left:100%}.navigation-item-group-new:focus-within .dropdownList-old li,.navigation-item-group-new:hover .dropdownList-old li,.dropdownList-old li{left:0}.navigation-item-group-new li:nth-child(2):focus-within .dropdownList-old,.navigation-item-group-new li:nth-child(2):hover .dropdownList-old{visibility:visible;top:99px}.shrinked-nav .navigation-item-group-new li:nth-child(2):focus-within .dropdownList-old,.shrinked-nav .navigation-item-group-new li:nth-child(2):hover .dropdownList-old{visibility:visible;top:65px}.dropdownList-old{-webkit-animation:.8s ease-out 0s 1;-moz-animation:.8s ease-out 0s 1;-o-animation:.8s ease-out 0s 1;animation:.8s ease-out 0s 1;-webkit-animation-name:hamburgerDotSlide;-moz-animation-name:hamburgerDotSlide;-o-animation-name:hamburgerDotSlide;animation-name:hamburgerDotSlide;background-color:white;-webkit-animation-iteration-count:1;-moz-animation-iteration-count:1;-o-animation-iteration-count:1;animation-iteration-count:1;z-index:-1;-webkit-box-shadow:0 5px 5px -5px#979797 inset;-moz-box-shadow:0 5px 5px -5px#979797 inset;box-shadow:0 5px 5px -5px#979797 inset}@-webkit-keyframes hamburgerDotSlide{0%{opacity:1;height:99px;top:0;max-height:0;overflow-y:hidden}50%{opacity:1;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;top:99px;-webkit-transition:2s;transition:2s;max-height:600px}}@-moz-keyframes hamburgerDotSlide{0%{opacity:1;height:99px;top:0;max-height:0;overflow-y:hidden}50%{opacity:1;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;top:99px;-moz-transition:2s;transition:2s;max-height:600px}}@-o-keyframes hamburgerDotSlide{0%{opacity:1;height:99px;top:0;max-height:0;overflow-y:hidden}50%{opacity:1;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;top:99px;-o-transition:2s;transition:2s;max-height:600px}}@keyframes hamburgerDotSlide{0%{opacity:1;height:99px;top:0;max-height:0;overflow-y:hidden}50%{opacity:1;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;top:99px;-webkit-transition:2s;-moz-transition:2s;-o-transition:2s;transition:2s;max-height:600px}}.shrinked-nav .dropdownList-old{-webkit-animation-name:hamburgerSlideShrinked;-moz-animation-name:hamburgerSlideShrinked;-o-animation-name:hamburgerSlideShrinked;animation-name:hamburgerSlideShrinked}@-webkit-keyframes hamburgerSlideShrinked{0%{opacity:1;height:99px;top:0;max-height:0;overflow-y:hidden}50%{opacity:1;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;top:65px;-webkit-transition:2s;transition:2s;max-height:600px}}@-moz-keyframes hamburgerSlideShrinked{0%{opacity:1;height:99px;top:0;max-height:0;overflow-y:hidden}50%{opacity:1;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;top:65px;-moz-transition:2s;transition:2s;max-height:600px}}@-o-keyframes hamburgerSlideShrinked{0%{opacity:1;height:99px;top:0;max-height:0;overflow-y:hidden}50%{opacity:1;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;top:65px;-o-transition:2s;transition:2s;max-height:600px}}@keyframes hamburgerSlideShrinked{0%{opacity:1;height:99px;top:0;max-height:0;overflow-y:hidden}50%{opacity:1;overflow-y:hidden}100%{opacity:1;overflow-y:hidden;top:65px;-webkit-transition:2s;-moz-transition:2s;-o-transition:2s;transition:2s;max-height:600px}}.navigation-item-group-new:-.primary-nav-item-dropdown > .arrow {-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.dropdownList-old li a{display:block;color:#fff;text-decoration:none}}');Q.__hash="b567132ba921537c";var J=a(57388),$=a(25131),X=a(3127),ee=a(75188),et=a(38032),ea=a(25302),ei=a(71573),eo=a(75883),en=a(19567);let er=(e,t)=>{var a;let i=[];return e.userLoggedIn&&(null==e?void 0:null===(a=e.profileData)||void 0===a?void 0:a.phone)!==null?t:(null==t||t.filter(e=>"Beta Digital Offers"!==e.name&&"Beta Digital Offers Mobile Tablet"!==e.name?(i.push(e),e):""),i)},es=e=>{var t;let a=null,{primaryNavCollection:o,sideNavCollection:s,earnPointsSubNavigationCollection:l,doGoodSubNavigationCollection:d,oktaLabels:p,router:c,selectCause:m,confirmationModal:h,userRightMenuCollection:u,monthlyPromoRewardId:g,featuredSurveyRewardType:x,emailVerificationModalContent:f,cascadeSampleIdAddToBasketForStage:b,cascadeSampleIdAddToBasketForProd:w,campaignSamplesIdCollection:y,inActiveCampaigns:S,privacyText:I,featuredSurvey:N,surveyContextualLoginText:D,messageCollection:E,mosStartAndEndDate:M}=e,{isDesktop:W}=(0,eo.Z)();a=er(z.default,s.items);let[O,R]=(0,r.useState)(!1),[U,q]=(0,r.useState)(!1),[H,G]=(0,r.useState)(!1),[V,Y]=(0,r.useState)(!1),[es,el]=(0,r.useState)(!1),[ed,ep]=(0,r.useState)(!1),[ec,em]=(0,r.useState)(!1),[eh,eu]=(0,r.useState)(!1),[eg,ex]=(0,r.useState)("arrowDownBlueIcon"),[ef,eb]=(0,r.useState)("arrowDownBlueIcon"),[ew,ev]=(0,r.useState)("arrowDownBlueIcon"),[ey,ek]=(0,r.useState)(!1),[eS,ej]=(0,r.useState)(!1),[eP,ez]=(0,r.useState)("arrowNavDown"),[eT,eC]=(0,r.useState)("arrowNavDown"),eI=(e,t)=>{setTimeout(()=>{"Earn Points"===e&&(ex("arrowUpBlueIcon"),eb("arrowDownBlueIcon"),ev("arrowDownBlueIcon"),q(!0),G(!1),R(!1)),"Do Good"===e&&(eb("arrowUpBlueIcon"),ex("arrowDownBlueIcon"),ev("arrowDownBlueIcon"),q(!1),G(!0),R(!1))},t)},eN=e=>{/iPad/i.test(navigator.userAgent)?eI(e,0):eI(e,500)},eD=e=>{"Earn Points"===e&&(ez("arrowNavDown"===eP?"arrowNavUp":"arrowNavDown"),eC("arrowNavDown"),ex("arrowUpBlueIcon"===eg?"arrowDownBlueIcon":"arrowUpBlueIcon"),eb("arrowDownBlueIcon"),em(!ec),eu(!1)),"Do Good"===e&&(eC("arrowNavDown"===eT?"arrowNavUp":"arrowNavDown"),ez("arrowNavDown"),eb("arrowUpBlueIcon"===ef?"arrowDownBlueIcon":"arrowUpBlueIcon"),ex("arrowDownBlueIcon"),em(!1),eu(!eh))},eE=()=>{z.default.query="",ej(!1),ek(!1)},eL=()=>{R(!1),ex("arrowDownBlueIcon"),eb("arrowDownBlueIcon"),ez("arrowNavDown"),eC("arrowNavDown"),em(!1),eu(!1),eE()},e_=()=>{ev("arrowUpBlueIcon"),ex("arrowDownBlueIcon"),eb("arrowDownBlueIcon"),R(!0),q(!1),G(!1)},eM=()=>{G(!1),eL()},eB=()=>{q(!1),eL()},eW=(e,t,a,o)=>{var n;return(0,i.jsx)("ul",{"data-testid":"submenue-list","aria-hidden":"true",className:P.dropdownListSideNav,onClick:()=>eB(),children:null==e?void 0:null===(n=e.items)||void 0===n?void 0:n.map(e=>{var n,r;return(0,i.jsx)("li",{className:P.primaryNavList,children:(0,i.jsx)(_.Z,{handler:()=>{(null==e?void 0:e.link.includes("#quiz"))&&(0,ei.K)()},className:"".concat(t," ").concat((0,J.Z)(a,null==o?void 0:o.link,null==o?void 0:o.name)&&"deactive"),...e,link:null==e?void 0:e.link,behaviour:null==e?void 0:e.behaviour,monthlyPromoRewardId:g,featuredSurvey:N,surveyContextualLoginText:D,mosStartAndEndDate:M},null==e?void 0:null===(n=e.sys)||void 0===n?void 0:n.id)},"".concat(null==e?void 0:null===(r=e.sys)||void 0===r?void 0:r.id,"-li"))})})},eA=e=>{if((null==e?void 0:e.behaviour)==="Take_Survey"){let e="";(async()=>{e=await (0,et.S3)(N,g,M),(0,et.GZ)(e)})()}"Coupons"===e.linkText&&(0,C.lQ)(),eM()},eO=(e,t)=>e||t?"arrowDown w-auto p-04 ml-10 lg:ml-0 -left-10 z-1 relative":"w-auto p-04 ml-10 lg:ml-0 arrowup -left-10 z-1 relative ",eR=(e,t,a)=>"Earn Points"===e?t:"Do Good"===e?a:"",eZ=(e,t,a)=>(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("li",{className:"list-none flex float-left nav-item lg:h-99 lg:py-30 relative bg-white",onMouseEnter:()=>eN(null==e?void 0:e.linkText),onFocus:()=>eN(null==e?void 0:e.linkText),"aria-label":"menu item",children:(0,i.jsxs)("div",{className:"flex flex-wrap items-center",children:[(0,i.jsx)(_.Z,{"aria-label":null==e?void 0:e.linkText,tabIndex:0,className:"".concat(t," ").concat((0,J.Z)(a,null==e?void 0:e.link,null==e?void 0:e.name)&&"active"),...e,link:null==e?void 0:e.link,handler:()=>eA(e),mosStartAndEndDate:M},(null==e?void 0:e.sys)&&(null==e?void 0:e.sys.id)),(null==e?void 0:e.linkText)==="Earn Points"&&U&&eW(l,t,a,e),(null==e?void 0:e.linkText)==="Do Good"&&H&&eW(d,t,a,e),(0,i.jsx)("span",{"aria-hidden":"true",className:"arrowIconsHome cursor-pointer px-02 inline-flex items-center",onClick:()=>eN(null==e?void 0:e.linkText),children:(0,i.jsx)(B.default,{className:eO(U,H),name:eR(null==e?void 0:e.linkText,eg,ef),onMouseEnter:()=>eN(null==e?void 0:e.linkText)})})]})})}),eF=(e,t,a)=>{let i="";return i=(null==e?void 0:e.link)==="/good-news"||(null==e?void 0:e.name)==="Impact"||(null==e?void 0:e.link)==="/help"||(null==e?void 0:e.link)==="/about"||(null==e?void 0:e.name)==="Beta Digital Offers"?"".concat(t," ").concat((0,J.Z)(a,null==e?void 0:e.link)?"active":""):"block xl:hidden pt-07 pb-07 font-normal \n ".concat((null==e?void 0:e.linkText)==="Earn Points"&&ec||(null==e?void 0:e.linkText)==="Do Good"&&eh?" text-primary":""),(null==e?void 0:e.name)==="Beta Digital Offers"&&(i+=P.desktopView),(null==e?void 0:e.name)==="Beta Digital Offers Mobile Tablet"&&(i+=P.mobileView),i},eU=(e,t,a)=>(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("li",{className:"flex w-200 flex-wrap earnPointsDropdown xl:bg-white",children:[(0,i.jsx)(_.Z,{className:eF(e,t,a),...e,handler:t=>{(X.Z.linkMobileNumberToAccountPopup===ea.COUPONS24||X.Z.linkMobileNumberToAccountPopup===ea.apiResponse.WALLET_NOT_FOUND)&&(X.Z.linkMobileNumberToAccountPopup="",eL()),("Space"===t.code||"NumpadEnter"===t.code||"Enter"===t.code)&&c.push(null==e?void 0:e.link)},mosStartAndEndDate:M},(null==e?void 0:e.sys)&&(null==e?void 0:e.sys.id)),(0,i.jsx)("div",{"data-testid":"ham-nav-div","aria-hidden":"true",onClick:()=>eD(null==e?void 0:e.linkText),children:(0,i.jsx)(B.default,{className:eR(null==e?void 0:e.linkText,eP,eT),name:eR(null==e?void 0:e.linkText,eg,ef)})}),(null==e?void 0:e.linkText)==="Earn Points"&&ec&&eW(l,t,a,e),(null==e?void 0:e.linkText)==="Do Good"&&eh&&eW(d,t,a,e)]})}),eq=()=>{var e,t,a,i;let o=document.getElementById("header-nav"),n=document.getElementById("scan-receipt");window.scrollY>window.innerHeight/25?(z.default.shrinkedHeader=!0,!o||(null===(e=o.classList)||void 0===e?void 0:e.contains("shrinked-nav"))||(o.className+=" shrinked-nav"),!n||(null===(t=n.classList)||void 0===t?void 0:t.contains("shrinked-scan"))||(n.className+=" shrinked-scan")):(z.default.shrinkedHeader=!1,o&&(null===(a=o.classList)||void 0===a?void 0:a.contains("shrinked-nav"))&&o.classList.remove("shrinked-nav"),n&&(null===(i=n.classList)||void 0===i?void 0:i.contains("shrinked-scan"))&&n.classList.remove("shrinked-scan"))},eH=()=>{z.default.query&&""!==z.default.query.trim()&&void 0!==z.default.query.trim()&&(z.default.query=k().sanitize(z.default.query),c.push("/search?t=".concat(z.default.query)))},eG=()=>{z.default.showRewardMessage=!1},eV=e=>{(null==e?void 0:e.keyCode)===13&&e_()},eY=e=>{(null==e?void 0:e.keyCode)===13&&eL()};return(0,r.useEffect)(()=>(window.addEventListener("scroll",eq),()=>window.removeEventListener("scroll",eq)),[]),(0,r.useEffect)(()=>{z.default.query="",V&&document.getElementById("focus").focus()},[V]),(0,r.useEffect)(()=>{a=er(z.default,s.items)},[null===z.default||void 0===z.default?void 0:null===(t=z.default.profileData)||void 0===t?void 0:t.phone]),(0,r.useEffect)(()=>{let e,t;if((0,en.oZ)("localStorage")&&"true"===localStorage.getItem("loggedIn")&&z.default.rewardStatus&&F.Z.readMessages){let a=(0,$.$S)(F.Z.redeemRewards,g,x,E);e=a?F.Z.messages.concat(a):F.Z.messages,t=(0,$.aZ)(e,F.Z.readMessages),F.Z.totalMessagesLength=e&&e.length,F.Z.unReadMessagesLength=e.length-t.length,sessionStorage.setItem("unreadMessageCount",F.Z.unReadMessagesLength),F.Z.messagesLoading=sessionStorage.getItem("unreadMessageCount")}},[F.Z.readMessages]),(0,i.jsxs)(i.Fragment,{children:[z.default.showRewardMessage&&(0,i.jsxs)(A.default,{okText:"MY MESSAGES",closeHandler:()=>eG(),okHandlerRedirectUrl:Z()&&Z().myMessages,children:[z.default.showPhotoRewardMessage?(0,i.jsx)("p",{className:"jsx-".concat(Q.__hash),children:T.rewardMessage&&T.rewardMessage.freePhotoHeading}):(0,i.jsx)("p",{className:"jsx-".concat(Q.__hash),children:T.rewardMessage&&T.rewardMessage.rewardHeading}),(0,i.jsx)("p",{className:"jsx-".concat(Q.__hash),children:T.rewardMessage&&T.rewardMessage.body})]}),(0,i.jsx)("div",{className:"jsx-".concat(Q.__hash)+" w-full shadow-headernav bg-white xl:relative xl:z-1",children:(0,i.jsx)("div",{className:"jsx-".concat(Q.__hash),children:(0,i.jsx)("div",{className:"jsx-".concat(Q.__hash)+" "+(P.headerMainWrapper||""),children:(0,i.jsx)("nav",{id:"header-nav","aria-label":"menu bar",className:"jsx-".concat(Q.__hash)+" "+(P.headerWrapper||""),children:(0,i.jsxs)("div",{className:"jsx-".concat(Q.__hash)+" container flex flex-wrap justify-between items-center mx-auto lg:relative",children:[(0,i.jsx)("div",{className:"jsx-".concat(Q.__hash)+" "+(P.hamburgerButton||""),children:(0,i.jsx)("button",{type:"button",value:"hamburger","aria-label":"menu button",onClick:()=>{R(!0),eD("Earn Points")},className:"jsx-".concat(Q.__hash),children:(0,i.jsx)(B.default,{name:"hamburger"})})}),(0,i.jsx)("div",{className:"jsx-".concat(Q.__hash)+" xl:w-10/12 desktopWrapper86 bg-white -top-3 xl:top-0 relative",children:(0,i.jsxs)("div",{className:"jsx-".concat(Q.__hash)+" flex-1 flex items-center justify-center xl:justify-start",children:[(0,i.jsx)(j.Z,{to:"/",asPath:"/","aria-label":"pggoodeveryday logo",onClick:C.Ro,children:(0,i.jsx)("div",{className:"jsx-".concat(Q.__hash)+" "+(P.logoWrapper||""),children:(0,i.jsx)("div",{className:"jsx-".concat(Q.__hash)+" "+(P.headerLogo||""),children:(0,i.jsx)("span",{id:"Header-PGGELogo",className:"jsx-".concat(Q.__hash),children:(0,i.jsx)(B.default,{name:"PGGELogo"})})})})}),(0,i.jsxs)("div",{className:"jsx-".concat(Q.__hash)+" "+(P.primaryNav||""),children:[(0,i.jsx)("div",{className:"jsx-".concat(Q.__hash)+" "+(P.navMenu||""),children:(0,i.jsx)("ul",{"aria-label":"menu item list",className:"jsx-".concat(Q.__hash)+" navigation-item-group-new",children:o&&o.items&&o.items.map(e=>eZ(e,P.primaryNavItem,c&&c.asPath))})}),(0,i.jsxs)("div",{onMouseEnter:()=>{G(!1),R(!0),ex("arrowDownBlueIcon"),eb("arrowDownBlueIcon")},onFocus:()=>{R(!0)},className:"jsx-".concat(Q.__hash)+" "+(P.threeDots||""),children:[!V&&(0,i.jsxs)("div",{className:"jsx-".concat(Q.__hash)+" flex flex-wrap threeDots md:pt-04 xxl:pt-06",children:[(0,i.jsx)("button",{type:"button","aria-labelledby":"Hamburger-Menu",value:"button",tabIndex:0,onMouseEnter:()=>e_(),onFocus:()=>e_(),onClick:()=>e_(),onKeyDown:e=>eV(e),className:"jsx-".concat(Q.__hash)+" "+(P.threeDotsDropdown||""),children:(0,i.jsx)("span",{id:"Hamburger-Menu",className:"jsx-".concat(Q.__hash)+" text-16 sr-only leading-leading19 font-normal relative -top-3",children:"More "})}),(0,i.jsx)("div",{className:"jsx-".concat(Q.__hash)+" flex-wrap items-center hidden xl:flex",children:(0,i.jsx)(B.default,{className:P.arrowIconThreeDots,name:ew})})]}),O&&(0,i.jsxs)("div",{className:"jsx-".concat(Q.__hash)+" "+(P.hamburgerMenu.nav.mainWrapper||""),children:[(0,i.jsx)("div",{"data-testid":"submenu-close-btn-out",role:"button",tabIndex:0,onClick:()=>{eL()},onKeyDown:e=>eY(e),className:"jsx-".concat(Q.__hash)+" "+(P.hamburgerMenu.nav.mainWrapperClose||"")}),(0,i.jsxs)("div",{"data-testid":"submenu-out-btn",role:"button",tabIndex:-1,onClick:()=>{W&&eL()},onKeyDown:e=>{W&&eY(e)},className:"jsx-".concat(Q.__hash)+" "+(P.hamburgerMenu.nav.wrapper||""),children:[(0,i.jsx)("div",{role:"button","data-testid":"submenu-close-btn",tabIndex:0,onClick:()=>{eL()},onKeyDown:e=>eY(e),className:"jsx-".concat(Q.__hash)+" "+(P.hamburgerMenu.nav.closeIcon||""),children:(0,i.jsx)(B.default,{name:"grayClose",className:"w-16 xl:hidden"})}),(0,i.jsx)("div",{className:"jsx-".concat(Q.__hash)+" block xl:hidden relative py-30 pr-15",children:(0,i.jsxs)("div",{className:"jsx-".concat(Q.__hash)+" flex border-b-half border-sign-head",children:[ey?(0,i.jsx)(j.Z,{handler:eH,children:(0,i.jsx)(B.default,{name:"blueSearch",className:"w-20 pb-10"})}):(0,i.jsx)(B.default,{name:"graySearch",className:"w-20 pb-10"}),(0,i.jsx)(v.LK,{config:ee.E,children:(0,i.jsx)(L,{handleSearchIcon:()=>{ek(!0),ej(!0)}})}),eS?(0,i.jsx)("div",{"data-testid":"close-btn-div",onMouseEnter:()=>ep(!0),onMouseLeave:()=>ep(!1),className:"jsx-".concat(Q.__hash),children:(0,i.jsx)("button",{type:"button","aria-label":"Search Close",onClick:eE,className:"jsx-".concat(Q.__hash),children:ed?(0,i.jsx)(B.default,{name:"closeBlue",className:"w-16"}):(0,i.jsx)(B.default,{name:"grayClose",className:"w-16"})})}):null]})}),(0,i.jsx)("ul",{className:"jsx-".concat(Q.__hash)+" pt-0 bg-white lg:pt-0",children:a&&a.map(e=>eU({...e},P.hamburgerMenu.nav.item,c.asPath))})]})]})]})]})]})}),(0,i.jsxs)("div",{className:"jsx-".concat(Q.__hash)+" loginsearch bg-white flex justify-end items-center xl:static xl:-left-0 xl:left-0 xl:h-99 min-w-45",children:[(0,i.jsxs)("div",{className:"jsx-".concat(Q.__hash)+" "+(P.searchWrapper||""),children:[!V&&c&&c.asPath&&!c.asPath.includes("search")&&(0,i.jsx)("div",{"data-testid":"expand-search-btn",onMouseEnter:()=>el(!0),onMouseLeave:()=>el(!1),className:"jsx-".concat(Q.__hash)+" relative top-5 right-0",children:(0,i.jsx)(j.Z,{handler:()=>Y(!0),"aria-label":"Search",children:es?(0,i.jsx)(B.default,{name:"blueSearch",className:"w-25 h-25"}):(0,i.jsx)(B.default,{name:"graySearch",className:"w-25 h-25 p-01"})})}),V&&(0,i.jsx)("div",{className:"jsx-".concat(Q.__hash)+" absolute w-full right-0 top-0 pb-01",children:(0,i.jsx)("div",{className:"jsx-".concat(Q.__hash)+" search-animation",children:(0,i.jsxs)("div",{className:"jsx-".concat(Q.__hash)+" right-0 top-0 pb-01 w-240 xxl:w-330 flex absolute z-1 md:border-b-half bg-white pl-04 border-sign-head",children:[(0,i.jsx)(j.Z,{handler:eH,className:P.searchFieldWrapper,"aria-label":"Search",children:(0,i.jsx)(B.default,{name:"blueSearch",className:"w-25 h-25 pl-01 bg-white absolute top-0 left-0"})}),(0,i.jsx)("div",{className:"jsx-".concat(Q.__hash)+" instant-search w-full",children:(0,i.jsx)(v.LK,{config:ee.E,children:(0,i.jsx)(L,{})})}),(0,i.jsx)("div",{"data-testid":"change-close-btn-color",onMouseEnter:()=>ep(!0),onMouseLeave:()=>ep(!1),className:"jsx-".concat(Q.__hash),children:(0,i.jsx)(j.Z,{handler:()=>{z.default.query="",Y(!1),el(!1)},className:"focus:outlinenone",children:ed?(0,i.jsx)(B.default,{name:"closeBlue",className:"w-16 h-17 relative right-0 top-0"}):(0,i.jsx)(B.default,{name:"grayClose",className:"w-16 relative right-0 top-0"})})})]})})})]}),!c||c.asPath.includes("/login/")||c.asPath.includes("/email-verification/")?null:(0,i.jsx)("div",{className:"jsx-".concat(Q.__hash)+" "+(P.userManagement||""),children:(0,i.jsx)(K,{oktaLabels:p,pathName:c&&c.asPath,selectCause:m,confirmationModal:h,userRightMenuCollection:u,emailVerificationModalContent:f,cascadeSampleIdAddToBasketForStage:b,cascadeSampleIdAddToBasketForProd:w,campaignSamplesIdCollection:y,inActiveCampaigns:S,privacyText:I})})]})]})})})})}),(0,i.jsx)(n(),{id:Q.__hash,children:Q})]})};es.propTypes={primaryNavCollection:l().instanceOf(Object).isRequired,sideNavCollection:l().instanceOf(Object).isRequired,oktaLabels:l().oneOfType([l().object]).isRequired,router:l().oneOfType([l().object]).isRequired,selectCause:l().oneOfType([l().object]).isRequired,confirmationModal:l().instanceOf(Object).isRequired,userRightMenuCollection:l().instanceOf(Object).isRequired,monthlyPromoRewardId:l().string,featuredSurveyRewardType:l().string,emailVerificationModalContent:l().oneOfType([l().object]),cascadeSampleIdAddToBasketForStage:l().string.isRequired,cascadeSampleIdAddToBasketForProd:l().string.isRequired,campaignSamplesIdCollection:l().oneOfType([l().object]),inActiveCampaigns:l().string.isRequired,privacyText:l().string.isRequired,earnPointsSubNavigationCollection:l().instanceOf(Object).isRequired,doGoodSubNavigationCollection:l().instanceOf(Object).isRequired,featuredSurvey:l().bool,surveyContextualLoginText:l().string,messageCollection:l().instanceOf(Object),mosStartAndEndDate:l().instanceOf(Object)},es.defaultProps={monthlyPromoRewardId:"",featuredSurveyRewardType:"",emailVerificationModalContent:null,campaignSamplesIdCollection:null,featuredSurvey:!1,surveyContextualLoginText:"",messageCollection:null,mosStartAndEndDate:null};var el=(0,d.withRouter)((0,c.Pi)(es));let ed=new String('body{margin:0;padding:0;line-height:1.8;color:#5e5e5e;overflow-x:auto}img{font-size:0}.text-xs{font-size:14px}ul.ui-autocomplete{z-index:10!important}.modalSessionExpire{z-index:999999}.stick-to-window .sticky-basket{position:fixed;top:0;padding-top:90px;z-index:12;-webkit-transition:.3s ease;-moz-transition:.3s ease;-o-transition:.3s ease;transition:.3s ease}.complete-profile,.printModal-coupons{z-index:10000}.couponCardBasketSubtitle{display:-webkit-box;-webkit-line-clamp:2;min-width:138px;-webkit-box-orient:vertical;overflow:hidden;padding-bottom:0}.initial{display:initial}.whitespace-break-spaces{white-space:break-spaces}.footerContent a,.modalOptOut a{text-decoration:underline}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.break-words{word-break:break-word}.async-hide{opacity:0!important}.opacity-90{opacity:.9}:focus{outline-color:#000}.slick-slide img{display:inline-block;height:100%}input[name="addressPostalCode"] ::-webkit-input-placeholder{color:#267ea6}input[name="addressPostalCode"] :-moz-placeholder{color:#267ea6}input[name="addressPostalCode"] ::-moz-placeholder{color:#267ea6}input[name="addressPostalCode"] :-ms-input-placeholder{color:#267ea6}input[name="addressPostalCode"] ::-ms-input-placeholder{color:#267ea6}input[name="addressPostalCode"] ::placeholder{color:#267ea6}input[name="addressPostalCode"] :-ms-input-placeholder{color:#267ea6}.state input[name="addressPostalCode"] ::-webkit-input-placeholder{color:#5e5e5e}.state input[name="addressPostalCode"] :-moz-placeholder{color:#5e5e5e}.state input[name="addressPostalCode"] ::-moz-placeholder{color:#5e5e5e}.state input[name="addressPostalCode"] :-ms-input-placeholder{color:#5e5e5e}.state input[name="addressPostalCode"] ::-ms-input-placeholder{color:#5e5e5e}.state input[name="addressPostalCode"] ::placeholder{color:#5e5e5e}.icon{height:20px;width:20px}.formfield .formerror{margin-bottom:18.5px;font-size:.875rem}.formfield .signitext:last-child{padding:0 10px}.formfield .formerror:last-child{padding:0 10px}.icon-toggle{position:absolute;-webkit-transform:translate(-40px,-15px);-moz-transform:translate(-40px,-15px);-ms-transform:translate(-40px,-15px);-o-transform:translate(-40px,-15px);transform:translate(-40px,-15px)}.focusEye:focus .icon-toggle{border:solid}.border{border-width:1px}.segmanta-embed.segmanta-d-embed.segmanta-reset-this.segmanta-desktop-widget.not-fullscreen.button.segmanta-right-corner-widget.segmanta-dialog-widget{z-index:200009!important}.segmanta-embed.segmanta-dialog-widget.segmanta-desktop-widget .segmanta-dialog-close-x{fill:#5e5e5e!important}.segmanta-embed .segmanta-dialog-close-x{fill:rgba(255,255,255,.8)!important}.seg-ending-screen .main .main-content .cover-image{max-height:200px!important}.font-semibold button{font-weight:600}.font-bold button,.font-semibold .btn,.submitBtn{font-weight:700}.brandMainWrapper .signup-campaign{padding-bottom:50px;z-index:9;position:absolute}.brandMainWrapper .campaignCTA{padding-top:35px}.retailer-logowarpper button{font-weight:300}.samplingInput .selectBox{max-height:300px;text-align:left}.cascadeloginWrapper .cascadeAddressForm{position:fixed;top:0;z-index:20;background:#fff;overflow-y:scroll;left:0;right:0;height:100%;margin:0 auto}.cascadeAddressForm .sigupArrow{padding-right:5px}.cascadeloginWrapper .signup-campaignPG{position:fixed;overflow-y:scroll}.modalDescription p:nth-child(2),.thank-you-text b,.signupSuccesMessageSubTitle strong,.successsignUpText strong,.thank-you-text strong,.causeModalText strong,.message-list strong,.onboardingScetionwrapper b,strong{font-weight:600;letter-spacing:normal}.thankYouHeaderThird h2{display:block;width:100%}.thank-you-text a,.message-disclaimer a{text-decoration:underline;color:#267ea6;font-weight:600}.email-privactText a{text-decoration:underline}.thank-you-text h2{font-weight:600;font-size:1.5rem;line-height:29px}.cascadeAddressForm .sigupArrow{padding-right:5px}.cascadeloginWrapper .signup-campaignPG{position:fixed;overflow-y:scroll}.modalDescription p:nth-child(2),.thank-you-text b,.signupSuccesMessageSubTitle strong,.successsignUpText strong,.thank-you-text strong,.causeModalText strong,.message-list strong,.onboardingScetionwrapper b,strong{font-weight:600;letter-spacing:normal}.thankYouHeaderThird h2{display:block;width:100%}.thank-you-text a,.message-disclaimer a{text-decoration:underline;color:#339dd0;font-weight:600}.email-privactText a{text-decoration:underline}.thank-you-text h2{font-weight:600;font-size:1.5rem}.emailloginwrapper p{font-weight:400;font-size:.875rem;line-height:20px;padding-top:15px}.headerWrapper .spinnerWrapper,.headerWrapper .resendEmailVerified{position:fixed;top:0;left:0;height:100vh;right:0;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.headerWrapper .emailInprogressText{width:auto}.headerWrapper .cascadeAddressForm{position:fixed;top:0;height:100vh;background:#fff;left:0;overflow-y:scroll}.accessibility-hidden{left:-999px;position:absolute;top:auto;width:1px;height:1px;overflow:hidden;z-index:-999;font-size:xx-small}.accessibility-hidden:focus,.accessibility-hidden:active{background:#fff;left:0;top:auto;width:auto;height:auto;overflow:auto;padding:0 5px;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;z-index:999;font-size:xx-small;visibility:visible}.invisible{visibility:hidden}.inherit{display:inherit}.inheritImp{display:inherit!important}.w-1/7 {width:14.2857143%}.pageStep1{width:27px;height:27px;text-align:center;line-height:2;-webkit-border-radius:100em;-moz-border-radius:100em;border-radius:100em;margin:0 .8em;display:inline-block;position:relative}.pageStep1::before{content:"";position:absolute;top:11px;left:-22px;width:20px;height:2px;background:#bfbfbf;z-index:0}.pageStep1:first-child::before{display:none}.bg-hambergerbg{background-color:rgba(145,145,145,.7215686274509804)}.bg-hambergerbgOn{background-color:rgba(0,0,0,.4)}.btn{font-weight:700;padding:11px 25px;font-size:1rem;line-height:22px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-appearance:none;display:inline-block}.btn-coupons{font-weight:700;padding:11px 37px;font-size:1rem;line-height:22px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-appearance:none;display:inline-block}.btn-sweeps{font-weight:700;padding:10px;font-size:1.125rem;line-height:19px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-appearance:none;display:inline-block}.btn-border{font-weight:700;padding:9px 9px;font-size:1rem;line-height:19px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-appearance:none;display:inline-block}.btn-about-home{font-weight:700;padding:11px 12px;font-size:.7rem;line-height:13px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-appearance:none;display:inline-block}.btn-about-home-signup{font-weight:700;padding:11px 26px;font-size:.7rem;line-height:13px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-appearance:none;display:inline-block}.btn-alert{background:#dd3447;color:#fff}.btn-scan{font-weight:700;padding:11px 25px;color:#267ea6;font-size:1rem;line-height:19px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-appearance:none;display:inline-block}.btn-question{font-weight:700;padding:11px 25px;color:#c7008e;font-size:1rem;line-height:19px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-appearance:none;display:inline-block}.btn-disabled{background:#5e5e5e;color:#fff}.btn-disabled-white{background:#fff;color:#5e5e5e}.segmanta-embed.segmanta-dialog-widget.segmanta-mobile-widget{padding:0!important}.myImpact-question{background:#a400a6}.word-wrap{word-wrap:break-word}.btn svg{display:none}.signup-Btn svg.intro-icon{display:inline;width:13px;height:11px;margin-bottom:1px}.btn .pledgeSvg svg{display:block}.btn-grey{background:#bfbfbf;color:#fff}.btn-primaryReceipt{background:#267ea6;color:#fff}.btn-black{background:#000;color:#fff}.btn-primaryReceipt:hover{background:#339dd0;color:#fff}.btn-primary{background:#267ea6;color:#fff}.btn-survey{background:#c7008e;color:#fff;-webkit-border-radius:40px;-moz-border-radius:40px;border-radius:40px}.btn-IOHBlue{background:#3980ba;color:#fff}.btn-primary:hover,.btn-IOHBlue:hover{background:#339dd0;color:#fff}.btn-primary-white{background:#fff;color:#267ea6}.btn-secondary{background:#218372;color:#fff}.btn-secondary-white{background:#fff;color:#218372}.btn-secondary:hover{background:#2bad9a;color:#fff}.btn-couponsBlue-white{background:#fff;color:#003ca5}.btn-couponsBlue:hover{background:#003ca5;color:#fff}.btn-primary-border{background:#fff;color:#267ea6;border:2px solid#267ea6;padding:11px 18px}.btn-primary-border:hover{color:#fff;background:#267ea6;border:2px solid#267ea6}.btn-secondary-border{background:#fff;color:#218372;border:2px solid#218372}.btn-secondary-border:hover{color:#fff;background:#218372;border:2px solid#218372}.btn-success{background:#438447;color:#fff}.btn-success:hover{background:#57ab58;color:#fff}.btn-success-white{background:#fff;color:#438447}.btn-darkGreen{background:#246d38;color:#fff}.btn-darkGreen:hover{background:#438447;color:#fff}.btn-brightBlue{background:#0d53ca;color:#fff}.btn-brightBlue:hover{background:#0b42a0;color:#fff}.btn-brightBlue-white{background:#fff;color:#0d53ca}.btn-primaryReceipt-white{color:#267ea6;background:#fff}.btn-primaryReceipt-white:hover,.btn-primary-white:hover,.btn-success-white:hover,.btn-secondary-white:hover,.btn-brightBlue-white:hover,.btn-info-white:hover,.btn-warning-white:hover{color:#fff;border:3px solid#fff;background:transparent;padding:8px 22px}.btn-addtohomeBlue-white{color:#2889b7;background:#fff}.btn-success-outline{border:2px solid#438447;color:#438447;background:#fff}.btn-info-transparent{border:2px solid#a400a6;color:#a400a6;background:transparent}.btn-info-transparent:hover{background:#a400a6;color:#fff}.btn-outline{font-weight:700;padding:11px 25px;font-size:.875rem;line-height:19px}.btn-default{background:#fff}.btn-default:hover{background:rgba(0,0,0,0);padding:8px 22px;color:#fff;border:3px solid#fff}.btn-warning{background:#dd3447;color:#fff}.btn-warning:hover{background:#f55265;color:#fff}.btn-warning-white{background:#fff;color:#dd3447}.btn-warning-border{background:#fff;color:#dd3447;border:2px solid#dd3447}.btn-warning-border:hover{color:#fff;background:#dd3447;border:2px solid#dd3447}.btn-info{background:#c7008e;color:#fff}.btn-info-about{color:#fff;background:#c7008e;-webkit-box-shadow:0 1px 5px 0 rgba(0,0,0,.2);-moz-box-shadow:0 1px 5px 0 rgba(0,0,0,.2);box-shadow:0 1px 5px 0 rgba(0,0,0,.2)}.btn-info-about:hover{background:#9f0071;color:#fff}.btn-info:hover{background:#9f0071;color:#fff}.btn-info-white{background:#fff;color:#c7008e}#janrainModalOverlay,#janrainModal{display:none!important}.btn-primary:focus,.btn-success:focus,.btn-info:focus,.btn-warning:focus,.btn-primaryReceipt:focus,.btn-default:focus{outline-color:#000}.home-join-us h2,.thankYouHeaderThird h2{font-weight:600;font-size:1.5rem;line-height:29px;padding-bottom:15px}.formModal.profileWrapper{-webkit-transform:translate(0,0);-moz-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0);width:100%;height:100%}.profileWrapper .completeIcon{width:25px;height:25px}.w-1/6 {width:16.666667%}.w-1/4 {width:25%}.w-1/3 {width:33.333333%}.w-1/2 {width:50%}.prompt .login-prompt-wrapper{margin-bottom:25px}.cause-video-wrapper iframe{width:100%;margin:auto;height:250px}.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 only screen and (max-width:767px)and (min-width:560px){.background-wrapper img,.myaccount-topsection-page-wrapper img{height:300px;-o-object-fit:cover;object-fit:cover}}@media screen and (max-width:768px){.tracking-tab{letter-spacing:1.33px}.widthSixty{width:60%}.widthFourty{width:40%}[data-cognigy-webchat-root] button[data-cognigy-webchat-toggle],#pypestream-wrapper{bottom:60px!important;right:0!important;left:auto}.showing #pypestream-iframe{position:relative;bottom:-60px}}@media(min-width:768px)and (max-width:1023px){.cause-video-wrapper iframe{height:300px}.threeDotsDropdown:focus,.sign-in-button:focus{border:solid 1px#267ea6}.emailloginwrapper p{font-size:1rem;line-height:19px;padding-top:25px}[data-cognigy-webchat-root] button[data-cognigy-webchat-toggle]{bottom:60px!important;right:0!important}}@media screen and (min-width:768px){.btn-explore-white{background:#fff;color:#267ea6}.btn-explore-white:hover{color:#fff;border:3px solid#fff;background:transparent;padding:8px 22px}.registrationselectText{width:180px;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.formfield .signitext{font-size:.875rem;height:38px;margin-bottom:10px}.formfield .formerror{height:38px;font-size:.875rem;margin-bottom:10px}}@media only screen and (min-width:320px)and (max-width:1024px){.container{width:100%;max-width:100%}}@media only screen and (min-device-width:320px)and (max-device-width:900px)and (-webkit-min-device-pixel-ratio:2)and (orientation:landscape){.video-wrapper,.cause-video-wrapper iframe{height:220px}}@media screen and (min-width:1024px){.prompt .login-prompt-wrapper{margin-bottom:20px;margin-top:20px}.cart-button-wrapper{width:165px;height:55px;margin-right:83px}.basket-container{height:47px;width:71px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;top:2px;left:-1px}.basket-count{top:19px}.btn{font-size:1.125rem;padding:11px 24px}.btn-border{font-size:1.125rem}.btn-scan{font-size:1.125rem;padding:14px 25px}.btn-question{font-size:1.125rem}.btn-about-home{padding:12px 19px;font-size:1.125em;line-height:24px}.btn-about-home-signup{padding:12px 44px;font-size:1.125em;line-height:24px}.tracking-3{letter-spacing:3.11px}.home-join-us h2,.thankYouHeaderThird h2{font-size:2rem;line-height:42px;padding-bottom:20px}.cause-video-wrapper iframe{height:436px}.threeDotsDropdown:focus,.sign-in-button:focus{border:solid 1px#267ea6}.profileWrapper .completeIcon,.profileWrapper .closeIcon{width:32px;height:32px}.profileWrapper .profileCTA{padding-top:30px}.successsignUpText p:nth-child(1){padding-bottom:5px;font-size:2rem;line-height:42px}.thank-you-text h2{font-size:2rem}.emailloginwrapper p{font-size:1.125rem;line-height:30px;padding-top:35px}[data-cognigy-webchat-root] button[data-cognigy-webchat-toggle]{right:2px!important}}@media screen and (min-width:1280px){.navigation-item-group{float:right;padding:0;margin:0;list-style:none;position:relative}.navigation-item-group li{margin:0;display:inline-block}.cause-video-wrapper iframe{height:490px}.navigation-item-group li:hover .primary-nav-item-div{color:#267ea6}.navigation-item-group ul{display:none;position:absolute;top:0;width:170px;background:#fff;-webkit-box-shadow:0 5px 5px -5px#979797 inset;-moz-box-shadow:0 5px 5px -5px#979797 inset;box-shadow:0 5px 5px -5px#979797 inset;-webkit-transition:.1s ease;-moz-transition:.1s ease;-o-transition:.1s ease;transition:.1s ease;height:0}.shrinked-nav .navigation-item-group li:hover>div .dropdownList{top:65px}.navigation-item-group li:hover>div .dropdownList,.navigation-item-group li div a:focus>div .dropdownList,.navigation-item-group .primary-nav-item-div:focus+.dropdownList{display:block!important;top:99px;height:auto;font-size:14px;line-height:18px;left:10px;z-index:-1}.navigation-item-group ul li{float:none;display:list-item;position:relative;display:block!important;background:#fff}.navigation-item-group ul li a:hover,.navigation-item-group ul li button:hover,.hamburger-nav-div-item-SP:hover,.hamburger-nav-div-item-SP:focus{background:#267ea6;color:#fff}.navigation-item-group .nav-item ul li .primary-nav-item-div{height:30px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;margin-left:0;padding-left:20px;width:100%;color:#5e5e5e;font-size:14px;border-bottom:solid transparent}.navigation-item-group ul li .primary-nav-item-div:hover,.navigation-item-group .dropdownList li a.primary-nav-item-div:hover{color:#fff}.shrinked-nav .nav-item,.shrinked-nav .threeDots{padding:12px 0;height:64px}.shrinked-nav .threeDots{padding-top:15px}.nav-item ul:after,.hamburger-nav-wrapper-SP:after{content:"";background:rgba(51,51,51,.6);position:fixed;top:99px;width:100%;height:100vh;left:0;z-index:-2}crazyegg-cta>.hamburger-nav-wrapper-SP:after{top:200px}.shrinked-nav .nav-item ul:after,.shrinked-nav .hamburger-nav-wrapper-SP:after{top:66px}.registrationselectText{width:auto}}@media screen and (min-width:1024px)and (max-width:1279px){.container{max-width:100%}}@media screen and (min-width:1280px){.navigation-item-group ul{display:none;position:absolute;top:0;width:170px;background:#fff;-webkit-box-shadow:0 5px 5px -5px#979797 inset;-moz-box-shadow:0 5px 5px -5px#979797 inset;box-shadow:0 5px 5px -5px#979797 inset;-webkit-transition:.5s ease;-moz-transition:.5s ease;-o-transition:.5s ease;transition:.5s ease;height:0}.showing #pypestream-iframe{bottom:0}}@media screen and (min-width:1500px){.background-wrapper img{height:450px}}.segmanta-embed.segmanta-dialog-widget.segmanta-desktop-widget .segmanta-widget,.segmanta-embed.segmanta-dialog-widget.segmanta-mobile-widget,.segmanta-embed.segmanta-fullscreen-widget .segmanta-iframe{width:100%!important;height:100%!important;padding:0!important;margin:0!important}.segmanta-embed .segmanta-dialog-close-x{margin-bottom:0;position:absolute;right:20px;top:10px}.segmanta-widget-and-dialog-x-container{width:100%!important;height:100%!important}.segmanta-widget-corner-trigger-container{display:none!important}.segmanta-embed .segmanta-iframe{width:100%!important}.segmanta-widget-corner-trigger-container{display:none!important}.segmanta-embed.segmanta-dialog-widget.segmanta-desktop-widget .segmanta-widget,.segmanta-embed.segmanta-dialog-widget .segmanta-widget-and-dialog-x-container{width:100%!important;height:100%!important;padding:0!important;margin:0!important}.segmanta-embed.segmanta-dialog-widget.segmanta-desktop-widget .segmanta-dialog-close-x{position:absolute;right:10px;top:10px}.segmanta-embed .segmanta-iframe{width:100%!important}.segmanta-widget-corner-trigger-container{display:none!important}.successsignUpText p:nth-child(1){font-size:1.5rem;line-height:29px;padding-bottom:15px;font-weight:600}@media screen and (max-width:767px){.signup-Btn svg.intro-icon{width:11px;height:11px}}@media screen and (max-width:360px){.coupons-fullwrapper{padding:0 16px}.sparksIcon{margin:0}.contentWrapper{right:10px}}@media screen and (max-width:600px){.featured-carousel .slick-track{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;left:0}.featured-carousel1 .slick-track{left:-63px}}@media screen and (min-width:375px)and (max-width:479px){.featured-carousel2 .slick-list{padding:0 40px!important}.featured-carousel .slick-slide,.featured-carousel .slick-list:after{margin-right:6px;margin-left:6px}}.chatbotPrechatText{padding:15px;text-align:center;font-size:1.4em}[data-cognigy-webchat-root] [data-cognigy-webchat-toggle].webchat-toggle-button{background:url(https:\nheight: 79px;\nwidth: 68px;\nbackground-repeat: no-repeat;\nbackground-size: unset;\nbackground-position: center;\nbox-shadow: none !important;\n}\n[data-cognigy-webchat-root] .cognigy-webchat-1do17vc.active,\n[data-cognigy-webchat-root] .cognigy-webchat-1do17vc:hover {\nbackground-image: url(https:\n}\n[data-cognigy-webchat-root]\n[data-cognigy-webchat-toggle].webchat-toggle-button\nsvg {\ndisplay: none;\n}\n\n.auth0Loading {\nz-index: 99;\nbackground-color: #000000a6;\n}\n}');ed.__hash="a3e68045f55fb859";var ep=a(38357),ec=a.n(ep),em=a(45917),eh=a(63404),eu=a(26934);let eg=!1,ex=e=>{let{router:t,showAlertBarRightSideContents:a,alertBar:o,siteSettings:n}=e,[s,l]=(0,r.useState)(0),d=async()=>{let e=new RegExp(".*".concat(Z().myImpactDashboard,"/?$")).test(null==t?void 0:t.asPath);await (0,eu.tH)(),await F.Z.fetchCharityLevelPoints(e)},p=()=>{z.default.showCompleteProfileOverlay=!0,z.default.completeProfileCTALaunched=!0};return(0,r.useEffect)(()=>{var e,t;if(!z.default.userLoggedIn)return()=>{};let i=(null===z.default||void 0===z.default?void 0:null===(e=z.default.profileData)||void 0===e?void 0:e.name)||null,n=null==o?void 0:o.map((e,t)=>{if(0===t){var a;e.linkText=null==e?void 0:null===(a=e.linkText)||void 0===a?void 0:a.replace("{user}",null==i?void 0:i.toUpperCase())}return e});z.default.buildYourProfileSurveyTaken&&(n=null==n?void 0:n.filter(e=>(null==e?void 0:e.name)!=="Build your profile")),z.default.completeProfile20SurveyTaken&&(n=null==n?void 0:n.filter(e=>(null==e?void 0:e.name)!=="complete-profile")),z.default.filteredAlerts=[...n];let r=((null===z.default||void 0===z.default?void 0:null===(t=z.default.filteredAlerts)||void 0===t?void 0:t.length)||0)-1,s=setInterval(()=>{l(e=>e===r?1:e+1)},5e3);return z.default.userLoggedIn&&!eg&&a&&(d(),eg=!0),localStorage.getItem("helloAlertShown")?l(1):(localStorage.setItem("helloAlertShown","true"),l(0)),()=>clearTimeout(s)},[z.default.profileData,z.default.rewardStatus,z.default.completeProfile20SurveyTaken,z.default.buildYourProfileSurveyTaken]),(0,i.jsxs)("div",{className:P.headerAlert.wrapper,children:[!0===z.default.userLoggedIn&&(0,i.jsx)("div",{className:P.alerbox.alertWrapper,children:(0,i.jsx)("div",{className:"container mx-auto",children:(0,i.jsxs)("div",{className:P.headerAlert.loginWrapper,children:[(0,i.jsx)("div",{className:a?P.headerAlert.nameWrapperWithIcons:P.headerAlert.nameWrapper,children:z.default&&z.default.filteredAlerts&&z.default.filteredAlerts.map((e,a)=>e&&"complete-profile"===e.name&&(null==t?void 0:t.asPath)!=="/digital-coupons/"&&!1===z.default.completeProfile20SurveyTaken?(0,i.jsx)(_.Z,{handler:()=>p(),className:s===a?"active":"hidden",...e,pageSource:eh.alertBox,variant:"alert-box-complete",monthlyPromoRewardId:null==n?void 0:n.monthlyPromoRewardId,featuredSurvey:null==n?void 0:n.featuredSurvey,surveyContextualLoginText:null==n?void 0:n.surveyContextualLoginText,mosStartAndEndDate:null==n?void 0:n.mosStartAndEndDate,behaviour:null==e?void 0:e.behaviour},e&&e.sys&&e.sys.id):e&&"complete-profile"!==e.name&&(0,i.jsx)(_.Z,{className:s===a?"active":"hidden",pageSource:eh.alertBox,...e,monthlyPromoRewardId:null==n?void 0:n.monthlyPromoRewardId,featuredSurvey:null==n?void 0:n.featuredSurvey,surveyContextualLoginText:null==n?void 0:n.surveyContextualLoginText,mosStartAndEndDate:null==n?void 0:n.mosStartAndEndDate,behaviour:null==e?void 0:e.behaviour},e&&e.sys&&e.sys.id))}),a&&(0,i.jsx)("div",{className:P.headerAlert.pointsWrapper.pwrapper,children:(0,i.jsx)("div",{className:P.headerAlert.pointsWrapper.wrapper,children:"undefined"!=typeof sessionStorage&&sessionStorage.getItem("unreadMessageCount")?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(j.Z,{to:Z().myImpactDashboard,handler:()=>(0,C.x9)(),children:(0,i.jsxs)("div",{className:P.headerAlert.pointsWrapper.rewardPoints,children:[F.Z.totalPointsAvailable,(0,i.jsx)(B.default,{name:"sparksMini",className:"w-30"})]})}),(0,i.jsx)(j.Z,{to:Z().myImpactDashboard,handler:()=>(0,C.l8)(),children:(0,i.jsxs)("div",{className:P.headerAlert.pointsWrapper.rewardPoints,children:[F.Z.charityLevelPoints[z.default.charityID]||0,(0,i.jsx)(B.default,{name:"causeIcon",active:z.default.charityID})]})}),(0,i.jsx)(j.Z,{to:Z().myMessages,handler:()=>(0,C.U8)(),children:(0,i.jsxs)("div",{className:P.headerAlert.pointsWrapper.charityPoints,children:[Number.isNaN("undefined"!=typeof sessionStorage&&sessionStorage.getItem("unreadMessageCount"))?0:sessionStorage.getItem("unreadMessageCount"),(0,i.jsx)(B.default,{name:"notification"})]})})]}):(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(B.default,{name:"spinnerWhite"})})})})]})})}),!1===z.default.userLoggedIn&&(0,i.jsx)("div",{className:P.headerAlert.logoutWrapper,children:(0,i.jsxs)("div",{className:"container mx-auto",children:[(0,i.jsx)(j.Z,{handler:()=>{var e,a;(0,en.oZ)("localStorage")&&"/good-news/[slug]"===t.pathname&&localStorage.setItem("articlePendingUrl",z.default.articlePendingUrl);let i=null===(a=window)||void 0===a?void 0:null===(e=a.location)||void 0===e?void 0:e.href;(0,q.gu)(T.oktaLogin,i)},className:P.headerAlert.signInButton,"aria-label":T.alertBoxText.signin,children:T.alertBoxText.signin}),T.alertBoxText.or,(0,i.jsx)(j.Z,{handler:()=>{var e,t;let a=null===(t=window)||void 0===t?void 0:null===(e=t.location)||void 0===e?void 0:e.href;(0,q.gu)(T.oktaSignup,a)},className:"signup-button underline pl-05","aria-label":T.alertBoxText.signup,children:T.alertBoxText.signup})]})}),void 0===z.default.userLoggedIn&&(0,i.jsx)("div",{className:"justify-end flex w-full pr-15 lg:pr-40",children:(0,i.jsx)(B.default,{name:"spinnerWhite",className:"w-16 h-16 lg:w-24 lg:h-24 "})})]})};ex.propTypes={alertBar:l().instanceOf(Array),router:l().instanceOf(Object).isRequired,showAlertBarRightSideContents:l().bool,siteSettings:l().oneOfType([l().object])},ex.defaultProps={alertBar:[],showAlertBarRightSideContents:!1,siteSettings:null};var ef=(0,d.withRouter)((0,c.Pi)(ex)),eb=a(18830),ew=a(86618),ev=a(33555),ey=a(15887),ek=a(60828),eS=a(73576);let ej=e=>{var t;let{children:a,header:o,footer:s,brandsDoingGood:l,className:d,router:p,oktaLabels:c,selectCause:m,confirmationModalLabels:h,siteSettings:g,emailVerificationModalContent:x,messageCollection:v,alertBarCollections:y,errorPage:k}=e,S=p.asPath,{myMessages:j,quiz:P}=Z(),{headerAlertBoxRightSideContents:I,campaignSamplesIdCollection:E}=g;(0,r.useEffect)(()=>{z.default.errorPage=k},[]);let L=()=>{localStorage.getItem("JWTtoken")?(0,O.qA)():(0,O.c1)(),z.default.showErrorModal=!1},_=async()=>{z.default.rewardStatus&&!F.Z.messageFetched&&(F.Z.messageFetched=!0,await F.Z.fetchMessagesList(),await F.Z.fetchMemberHistoryAction(),F.Z.MemberTransactionsArray&&F.Z.MemberTransactionsArray.length>=0&&F.Z.MemberTransactionsArray.map(e=>(["Survey_TellMe"].includes(null==e?void 0:e.transactionTypeExternalReference)&&(z.default.completeProfile20SurveyTaken=!0),null)),F.Z.issuedRewards&&F.Z.issuedRewards.length>=0&&F.Z.issuedRewards.map(e=>("Sweep_YO_PG"===e.rewardTypeExternalReference&&(z.default.buildYourProfileSurveyTaken=!0),"Sweep_YO_PG_Complete"===e.rewardTypeExternalReference&&(z.default.completeProfile20SurveyTaken=!0),null)))},M=()=>{if(z.default.showNetworkErrorModal=!1,z.default.networkErrorFunc){z.default.networkErrorFunc();return}p.reload()},W=async()=>{let e="";e=await (0,et.S3)(g.featuredSurvey,g.monthlyPromoRewardId,g.mosStartAndEndDate),(0,et.GZ)(e)};(0,r.useEffect)(()=>{var e,t;return z.default.userLoggedIn&&new RegExp(T.receiptScanDetails.receiptPatternRegex).test(null===(t=window)||void 0===t?void 0:null===(e=t.location)||void 0===e?void 0:e.search)&&(null==g?void 0:g.micsServiceNotAvailable)&&(ek.Z.showWidget=!1,p.push(Z().maintenance)),()=>{}},[S,z.default.userLoggedIn]),(0,r.useEffect)(()=>{z.default.isLayoutAvailed=!0,em.Z.init(l),"/"!==S&&"/"===S.slice(-1)&&(S=S.slice(0,S.length-1)),z.default.rewardStatus&&_().then(()=>{z.default.openSurvey&&!z.default.openTellMeAboutSurvey?(W(),z.default.openSurvey=!1):z.default.openFeedbackSurvey&&(z.default.openFeedbackSurvey=!1,(0,et.kq)(async()=>{await (0,et.km)("1046")||(0,et.GZ)("1046")})),z.default.completeProfile20SurveyTaken||(0,et.kq)(async()=>{await (0,et.km)("1360")&&(z.default.completeProfile20SurveyTaken=!0)})}).catch(e=>console.info(e))},[z.default.rewardStatus,F.Z.totalPointsAvailable]),(0,r.useEffect)(()=>{z.default.rewardStatus&&0>(0,eb.Xh)().indexOf(S)&&S&&!0!==S.includes(j)&&S&&!0!==S.includes(P)&&S&&!0!==S.includes("video-gating-survey")&&S&&!0!==S.includes("simplified-signup")&&S&&!0!==S.includes("digital-coupons")&&(0,ew.K5)(),!0===z.default.userLoggedIn&&(0,et.kq)(async()=>{window.SEG_EMBED_API.on("SURVEY_GOAL_REACHED",async e=>{if(e&&"1360"===e.toString()){let e=document.getElementsByClassName("segmanta-embed")[0];e&&(e.style.display="none"),document.body.className=document.body.className.replace("segmanta-in-fullscreen",""),z.default.showCompleteProfileEndCard=!0}})})},[z.default.rewardStatus]),(0,r.useEffect)(()=>{(0,en.oZ)("sessionStorage")&&"false"===sessionStorage.getItem("completeProfileOverlay")&&"undefined"!=typeof sessionStorage&&!1===z.default.showCompleteProfileOverlay?z.default.showCompleteProfileOverlay=!1:z.default.rewardStatus&&2===(0,ew.FX)()&&3>(0,ew.LU)()&&0>(0,eb.Xh)().indexOf(S)&&!0!==S.includes(j)&&!0!==S.includes(P)&&!0!==z.default.completeProfileCTALaunched&&"undefined"!=typeof localStorage&&!localStorage.getItem("disableCompleteProfileOverlay")&&!1===z.default.completeProfile20SurveyTaken&&"undefined"!=typeof sessionStorage&&!sessionStorage.getItem("PromotionalSurvey")&&!1===z.default.videoGating&&!1===z.default.iohVideoGating?(z.default.completeProfileCTALaunched||(0,ew.ZA)(),z.default.showCompleteProfileOverlay=!1):z.default.rewardStatus&&!0===z.default.showCompleteProfileOverlay&&!1===z.default.completeProfile20SurveyTaken&&(z.default.completeProfileCTALaunched||(0,ew.ZA)(),(0,et.zO)(),z.default.showCompleteProfileOverlay=!1)},[z.default.showCompleteProfileOverlay,z.default.completeProfile20SurveyTaken]),(0,r.useEffect)(()=>{if(z.default.triggerTrakers){let e=z.default.profileData,t="account-setup"===z.default.traitCampaignName?"":z.default.traitCampaignName,a="/signup/".concat(t);switch(z.default.triggerTrakers){case"login-success":eS.Z.trackEvent("Login Button Success",{page:"login",consumerId:null==e?void 0:e.consumerId,statusCode:z.default.loginStatusCode}),(0,C.WZ)();break;case"login-failed":(0,C.gW)(),eS.Z.trackEvent("Login Button Failure",{page:"login",msg:e,statusCode:z.default.loginStatusCode},!0);break;case"registration-failed":eS.Z.trackEvent("Registration Button Failure",{page:a,msg:e,statusCode:z.default.loginStatusCode},!0),(0,C.gW)(),(0,C.nu)();break;case"campaign":(0,C.sJ)(),eS.Z.trackEvent("Registration Button Success",{page:a,consumerId:null==e?void 0:e.consumerId,email:null==e?void 0:e.emailAddress,statusCode:z.default.loginStatusCode}),(0,C.cO)();break;case"sample":eS.Z.trackEvent("Sampling Registration Button Success",{page:a,consumerId:null==e?void 0:e.consumerId,email:null==e?void 0:e.emailAddress,statusCode:z.default.loginStatusCode}),(0,C.cO)();break;case"rate-limit":eS.Z.trackEvent("Registration Button Failure due to rate limit",{page:"login",msg:z.default.profileData,statusCode:z.default.loginStatusCode},!0),(0,C.gW)();break;case"profile-missing":eS.Z.trackEvent("Login Failure due to Profile data missing",{page:"login",msg:z.default.profileData,statusCode:z.default.loginStatusCode},!0),(0,C.gW)()}z.default.triggerTrakers=null}},[z.default.triggerTrakers]),(0,r.useEffect)(()=>{if(z.default.oktaErrorEvent){switch(z.default.oktaErrorEvent){case D.ev9:case D.fUO:case D.v4d:(0,N.xc)(z.default.oktaErrorEvent);break;case D.LJ7:(0,N.Cx)(z.default.oktaErrorEvent)}z.default.oktaErrorEvent=null}},[z.default.oktaErrorEvent]),(0,r.useEffect)(()=>{z.default.oktaLoginErrorEvent.code&&(0,N.ZP)(z.default.oktaLoginErrorEvent.code,null,null,z.default.oktaLoginErrorEvent.response,z.default.profileData),z.default.oktaLoginErrorEvent.code=null},[z.default.oktaLoginErrorEvent.code]);let R=z.default.errorModalCode&&z.default.errorModalCode!==D.Izv?(0,i.jsx)("p",{children:"Error Code: ".concat(z.default.errorModalCode)}):null;return(0,i.jsxs)("div",{"data-nosnippet":!0,className:"jsx-".concat(ed.__hash)+" "+(ec().layoutOuterWrapper||""),children:[(0,i.jsx)("a",{href:"#content",className:"jsx-".concat(ed.__hash)+" accessibility-hidden font-semibold container mx-auto mt-05",children:T.skipToContent}),z.default.showAlertBar&&"/digital-coupons/"!==p.asPath&&(0,i.jsx)("div",{role:"navigation","aria-label":"secondary navigation",className:"jsx-".concat(ed.__hash)+" "+((z.default.shrinkedHeader?"alertShrink":"")||""),children:(0,i.jsx)("div",{className:"jsx-".concat(ed.__hash)+" "+(ec().layoutAlerExternaltWrapper||""),children:(0,i.jsx)(ef,{showAlertBarRightSideContents:I,alertBar:y&&(null==y?void 0:null===(t=y.alertBarButtonsCollection)||void 0===t?void 0:t.items),siteSettings:g,tuayCompletedBodyText:null==y?void 0:y.tuayCompletedBodyText,tuayPopupCtaText:null==y?void 0:y.tuayPopupCtaText,tuayCompletedHeaderText:null==y?void 0:y.tuayCompletedHeaderText})})}),z.default.showOptOutErrorModal&&(0,i.jsx)(A.default,{styles:"modalOptOut",closeHandler:()=>{(0,O.c1)(),z.default.showOptOutErrorModal=!1},children:(0,i.jsx)(ev.Z,{body:T.errorMessageOptOut})}),z.default.showErrorModal&&(0,i.jsxs)(A.default,{dataTestId:"modal-error",closeHandler:()=>L(),children:[(0,i.jsx)("p",{className:"jsx-".concat(ed.__hash),children:T.oops}),(0,i.jsx)("p",{className:"jsx-".concat(ed.__hash),children:T.errorMessage}),R]}),z.default.showLimitExceededErrorModal&&(0,i.jsxs)(A.default,{dataTestId:"modal-limit-exceeded-error",closeHandler:()=>{z.default.showLimitExceededErrorModal=!1,(0,O.c1)()},children:[(0,i.jsx)("p",{className:"jsx-".concat(ed.__hash)}),(0,i.jsx)("p",{className:"jsx-".concat(ed.__hash),children:u.Z.rateOrQuotaLimitExceeded}),R]}),z.default.showCountryRestrictionModal&&(0,i.jsxs)(A.default,{dataTestId:"modal-country-restriction",styles:"RestrictionModal",closeHandler:()=>(0,eb.T3)(),children:[(0,i.jsx)("h2",{className:"jsx-".concat(ed.__hash)+" "+(ec().restrictedTitle||""),children:T.sorryText}),(0,i.jsx)(b.Z,{className:ec().restrictedText,markdown:T.restrictedCountryError}),(0,i.jsx)(b.Z,{className:ec().restrictedText,markdown:T.restrictedCountryErrorTwo})]}),z.default.showNetworkErrorModal&&(0,i.jsxs)(A.default,{styles:"modalNetworkHiccup",dataTestId:"modal-network-error",closeHandler:()=>M(),okText:T.networkErrorCta,children:[(0,i.jsx)("p",{className:"jsx-".concat(ed.__hash),children:T.oops}),(0,i.jsx)("p",{className:"jsx-".concat(ed.__hash),children:T.networkErrorMessage}),R]}),z.default.showCompleteProfileEndCard&&(0,i.jsxs)(A.default,{okText:(0,eu.tH)()&&T.completeProfileEndCard.link,cancelHandler:()=>{(0,eu.tH)(),z.default.showCompleteProfileEndCard=!1},closeHandler:()=>{(0,eu.tH)(),z.default.showCompleteProfileEndCard=!1},pageSource:"earnPointsBirthdayPromo",styles:"earnPointsCompleteProfileEndcard",children:[(0,i.jsx)("div",{className:"jsx-".concat(ed.__hash)+" "+(ec().completeProfileEndCard.birthdayIconWrapper||""),children:(0,i.jsx)(B.default,{className:ec().completeProfileEndCard.iconWrapper,name:T.completeProfileEndCard.iconName})}),(0,i.jsx)("p",{className:"jsx-".concat(ed.__hash)+" "+(ec().completeProfileEndCard.headingWrapper||""),children:T.completeProfileEndCard.heading}),(0,i.jsx)("div",{className:"jsx-".concat(ed.__hash)+" "+(ec().completeProfileEndCard.contentWrapper||""),children:(0,i.jsx)(b.Z,{markdown:T.completeProfileEndCard.text})})]}),z.default.showSignInPopup&&(0,i.jsx)(f,{oktaLabels:c,selectCause:m,confirmationModal:h,emailVerificationModalContent:x,cascadeSampleIdAddToBasketForStage:g.cascadeSampleIdAddToBasketForStage,cascadeSampleIdAddToBasketForProd:g.cascadeSampleIdAddToBasketForProd,campaignSamplesIdCollection:E,inActiveCampaigns:g.inActiveCampaigns,privacyText:o.privacyText}),z.default.showSessionExpiryModal&&(0,i.jsx)(ey.Z,{}),o&&(0,i.jsx)("header",{id:"header-layout",className:"jsx-".concat(ed.__hash)+" "+"".concat(ec().headerShrinkWrapper," ").concat(d),children:(0,i.jsx)(el,{...o,oktaLabels:c,selectCause:m,confirmationModal:h,...g,emailVerificationModalContent:x,messageCollection:v})}),(0,i.jsx)("main",{id:"content",className:"jsx-".concat(ed.__hash),children:(0,i.jsx)("div",{className:"jsx-".concat(ed.__hash),children:a})}),s&&(0,i.jsx)("footer",{className:"jsx-".concat(ed.__hash)+" "+(d||""),children:(0,i.jsx)("div",{className:"jsx-".concat(ed.__hash)+" "+((Z().homepage===p.asPath?ec().footerHomeBgWrapper:ec().footerBgWrapper)||""),children:(0,i.jsx)(w.Z,{...s,...g})})}),(0,i.jsx)(n(),{id:ed.__hash,children:ed})]})};ej.propTypes={children:l().node.isRequired,header:l().oneOfType([l().object]),siteSettings:l().oneOfType([l().object]),footer:l().oneOfType([l().object]),brandsDoingGood:l().instanceOf(Array),layoutData:l().oneOfType([l().string]),className:l().oneOfType([l().string]),oktaLabels:l().oneOfType([l().object]),selectCause:l().oneOfType([l().object]).isRequired,confirmationModalLabels:l().instanceOf(Object).isRequired,headerAlertBoxRightSideContents:l().bool,router:l().oneOfType([l().object]).isRequired,emailVerificationModalContent:l().oneOfType([l().object]),messageCollection:l().oneOfType([l().object]),alertBarCollections:l().oneOfType([l().object]),errorPage:l().bool},ej.defaultProps={siteSettings:null,layoutData:null,header:null,footer:null,brandsDoingGood:[],className:"",oktaLabels:null,headerAlertBoxRightSideContents:!1,emailVerificationModalContent:null,messageCollection:null,alertBarCollections:null,errorPage:!1};var eP=(0,d.withRouter)((0,c.Pi)(ej))},38357:function(e){e.exports={layoutAlertWrapper:"layoutAlertWrapper hidden layoutAlert mt-70px md:mt-100px relative btn-alert flex bg-gray w-full",layoutOuterWrapper:"overflow-receipt segmanta-overlap overflow-x-hidden background-color",headerShrinkWrapper:"header-shrink-wrapper xl:w-full xl:bg-white xl:z-20 shadow-headernav xl:relative",layoutAlerExternaltWrapper:"Alert bg-bgcolor w-full relative z-20",footerBgWrapper:"bg-bgcolor w-full relative pt-20 pb-06 xl:pb-0 footerBgWrapper",footerHomeBgWrapper:"footerHomeBgWrapper bg-bgcolor w-full relative",restrictedText:"pb-05 restrictedText",restrictedTitle:"text-22 font-semibold pb-10 leading-leading28",completeProfile:{wrapper:"px-10 pb-10 pt-05",title:"completeProfile-title font-montserratSemiBold font-semibold pb-12 text-24 xl:text-32 leading-widest xl:leading-leading42",subTitle:"font-montserratlight font-light text-16 xl:text-18 leading-lightmedium xl:leading-widest",genderWrapper:"w-full pt-05 md:w-10/12 xl:w-full mx-auto"},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"},auth0Loading:"auth0Loading fixed text-white h-full w-full grid place-items-center left-0 top-0 z-80"}},45917:function(e,t,a){var i=a(68949);class o{constructor(){this.brandsCollection={},this.retailersCollection={},this.showAnimation="",this.init=e=>{this.brandsCollection=e.find(e=>"brand"===e.slug),this.retailersCollection=e.find(e=>"retailer"===e.slug)},(0,i.ky)(this)}}t.Z=new o},75883:function(e,t,a){var i=a(67294),o=a(45275);t.Z=function(){let[e,t]=(0,i.useState)({isMobile:!0,isTablet:!1,isDesktop:!1}),a=(0,i.useRef)(e),n=e=>{a.current=e,t(e)};return(0,i.useEffect)(()=>{function e(){let e=a.current;return window.innerWidth<=o.deviceWidth.smallScreenEnd?!e.isMobile&&n({isMobile:!0,isTablet:!1,isDesktop:!1}):window.innerWidth<=o.deviceWidth.tabWidthEnd?!e.isTablet&&n({isMobile:!0,isTablet:!0,isDesktop:!1}):!e.isDesktop&&n({isMobile:!1,isTablet:!1,isDesktop:!0})}return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}},45275:function(e){e.exports={mobileBreakpoint:768,tabBreakpoint:1024,desktopBreakPoint:1440,smallBreakpoint:580,deviceWidth:{largeScreenStart:1280,tabWidthStart:768,tabWidthEnd:1279,smallScreenEnd:767},homeCarousolSize:{deskW:720,deskH:443,mobH:60,mobW:100,tabH:70,tabW:120}}},60834:function(e,t){t.Z={searchField:"md:border-b-0 w-full bg-white lg:pl-0 text-primary text-16 lg:text-14 border-sign-head focus:outline-none pb-06 px-12",search:{searchField:"font-montserratSemiBold searchField px-05 font-semibold searchField-placeholder text-24 text-primary xl:text-32 pb-10 text-primary xl:leading-leading42 leading-widest pr-05 border-0-half lg:pr-80 border-sign-head w-full"}}},25131:function(e,t,a){a.d(t,{$S:function(){return o},DK:function(){return r},aZ:function(){return n}}),a(27484);var i=a(66927);let o=function(e,t,a){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],n=[],r=e&&e.filter(e=>["Internal_3_Fandango","Internal_3_egiftcard","Sweeps"!==a&&t].includes(e.messageId));return(null==r?void 0:r.length)>0&&(null==o||o.map(e=>{if(e){let o=r.filter(t=>t.messageId===e.aimiaReferenceId);if(o.length>0){var t,a;if((null==e?void 0:e.messageStartAndEndDate)===null)return n.push(o[0]);let r=new Date((0,i.Ml)(new Date)),s=new Date((0,i.Ml)(null==e?void 0:null===(t=e.messageStartAndEndDate)||void 0===t?void 0:t.startDate)),l=new Date((0,i.Ml)(null==e?void 0:null===(a=e.messageStartAndEndDate)||void 0===a?void 0:a.endDate));if(r>=s&&r<=l)return n.push(o[0])}}return e})),n},n=e=>e&&e.filter(e=>e.read&&e),r=(e,t,a,i,r)=>{let s=o(e,i,r),l=s?t.concat(s):s,d=n(l,a);return l&&l.length-d&&d.length}},71573:function(e,t,a){a.d(t,{K:function(){return i}}),t.Z=(e,t)=>{let a=RegExp("[?&]".concat(e,"=([^&#]*)"),"i").exec(t);return a?a[1]:null};let i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=document.querySelector("#quizSection");if(t){let a=(e=>{let t=0;if(e.offsetParent)do t+=e.offsetTop,e=e.offsetParent;while(e);return t<0?0:t})(t);window.scrollTo({left:0,top:a-e,behavior:"smooth"})}}},7149:function(e,t,a){a.d(t,{Z:function(){return T}});var i=a(85893),o=a(1822),n=a.n(o),r=a(67294),s=a(45697),l=a.n(s),d=a(5152),p=a.n(d),c=a(29323),m=a(11163),h=a(25411),u=a(7396),g=a(22742),x={wrapper:"login-sp text-center p-41 pt-20 rounded md:p-15 md:pb-40 bg-white absolute inset-x-0 overflow-y-auto overflow-x-hidden mb-8 xxl:right-0 md:h-auto md:left-auto md:right-0 md:mr-0 lg:mr-0 md:m-0 top-108 sm:h-screen w-full md:w-5/12 md:top-29 lg:top-24 lg:right-0 xl:right-0 lg:w-3/12 sm:shadow-inner md:shadow-formsshadow z-10",wrapperHead:"font-montserratSemiBold font-semibold text-18 leading-wider rounded-full md:text-20 md:leading-lightmedium pb-25 pt-0 md:pb-20md:pt-40 lg:pt-0 lg:px-20",fieldWrap:"flex flex-wrap -mx-3 mb-2",formfield:"px-0 md:px-15 formfield lg:px-08 xl:px-08 xxl:px-15",signwrapper:"SigninWrapper sm:hidden md:flex md:justify-end items-center",signintext:"md:pr-04 text-navfocus md:text-14 lg:text-sm font-montserratSemiBold font-semibold",button:"block text-center font-montserratlight font-light align-baseline focus:outline-none text-lg",buttonLogin:"block text-center font-montserratlight font-light xl:pt-08 align-baseline focus:outline-none text-lg",signIn:"underline block focus:outline ml-1 text-primaryCta font-montserratSemiBold font-semibold",forgottext:"underline pt-12 md:pt-08 text-primaryCta pb-25 text-center text-sm leading-lightmedium font-montserratSemiBold font-semibold",forgotLoginText:"underline pt-12 md:pt-08 text-primaryCta text-center text-14 lg:text-16 leading-lightmedium xl:leading-light font-montserratSemiBold font-semibold",signText:"text-center text-sm lg:text-base lg:leading-leading20 font-montserratlight font-light px-0 md:px-30 lg:px-20 mxl:px-40 pb-18 md:pb-10 leading-leading20 text-input-br pt-30",signLoginText:"text-center text-sm lg:text-base lg:leading-leading20 font-montserratlight font-light px-0 md:px-30 lg:px-20 mxl:px-40 pb-18 md:pb-10 leading-leading20 text-input-br pt-30",signLoginHideText:"pb-18 pb-15 md:pb-20 xl:pb-35 hidden",icon:"md:hidden focus:outline-none mr-19rem",Captcha:"signUp-Captcha flex justify-center mx-auto w-11/12 mt15px md:mt25 mt-0",cascading:{mainWrapper:"fixed z-20 top-0 left-0 right-0 inset-x-0 bg-white",thankyouWrapper:"ab-solute h-screen left-0 container items-center mx-auto pt-05 pb-100 flex flex-wrap justify-center",title:" surveyThankyou pt-10 pb-20 text-center px-15 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",signUppagewrapper:"",content:"flex justify-end p-2 lg:p22 focus:outline-none"},loginTC:{mainWrapper:"PGEemailMainWrapper absolute w-full h-screen bg-white inset-0",wrapper:"w-full px-10 md:px-0 mx-auto",wrapperFullScreen:"w-full wrapperFullScreen px-10 md:px-0 mx-auto",contentWrapper:"pt-30 pb-60 xl:pt-60 xl:pb-80",title:"flex flex-wrap text-center justify-center font-montserratSemiBold font-semibold text-24 leading-widest w-11/12 md:w-9/12 mx-auto lg:text-32 lg:leading-noImgh",contenttcInfo:" text-base leading-lightmedium pt-20 pb-18px md:pt-12 md:pb-25 lg:pt-18px lg:pb-25 lg:text-lg lg:leading-widest text-center w-11/12 px-10 md:w-9/12 lg:w-9/12 xl:w-7/12 xl:px-30 mx-auto font-montserratlight font-light",privacyTxt:"email-privactText flex flex-wrap justify-center w-11/12 pt-20 md:w-9/12 lg:w-8/12 xl:w-6/12 text-center mx-auto font-montserratlight font-light text-sm xl:text-16 leading-leading20 xl:leading-light"}},f=a(6394);let b=new String(".clear{clear:both}.accessibility-hidden:focus,.accessibility-hidden:active{color:#5e5e5e!important}.signin{-webkit-transform:translatey(0%);-moz-transform:translatey(0%);-ms-transform:translatey(0%);-o-transform:translatey(0%);transform:translatey(0%)}.errorvalidation .clear{margin-bottom:18px}.closeicon svg{width:16px;position:relative;left:-8px}.headWrapper{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}#captchaContainer iframe{width:100%!important}#captchaContainer>div{position:fixed!important;z-index:11;!important;bottom:165px!important}.login-page #captchaContainer>div{bottom:75px!important}#captchaContainer .rc-anchor-normal .rc-anchor-content{width:150px!important}@media(min-width:300px)and (max-width:767px){.addtoHomeVisible{top:198px}.alertBarHidden{top:70px}.addtoHomeVisibleCaptcha>div{bottom:220px!important}.login-page .addtoHomeVisibleCaptcha>div{bottom:120px!important}.alertBarHiddenCaptcha>div{bottom:120px!important}.login-page .alertBarHiddenCaptcha>div{bottom:75px!important}}@media screen and (min-width:768px){#captchaContainer>div,.login-page #captchaContainer>div{bottom:14px!important}}@media screen and (min-width:768px){#captchaContainer>div,.login-page #captchaContainer>div{bottom:14px!important}}@media screen and (min-width:1024px){.signin{width:28%}.SigninWrapper svg{width:27px;height:27px}}@media screen and (min-width:1280px){.signin{width:24%}}");b.__hash="9f825f0e66b9aff8";var w=a(68857),v=a(94382),y=a(3868),k=a(50298),S=a.n(k),j=a(36232);let P=p()(()=>a.e(6435).then(a.bind(a,46435)),{loadableGenerated:{webpack:()=>[46435]},ssr:!1}),z=e=>{var t,a;let{handleMenu:o,oktaLabels:s,confirmationModal:l,pageSource:d,campaignSamplesIdCollection:p,router:c}=e,[m,k]=(0,r.useState)(!1),[z,T]=(0,r.useState)(!0),[C,I]=(0,r.useState)(!1),[N,D]=(0,r.useState)(!1);(0,r.useEffect)(()=>{switch(v.default.loginFlowPopup){case"ErrorModal":k(!0);break;case"IneligiblePromoContent":I(!0);break;case"IneligiblePromoContentCMF":D(!0)}v.default.loginFlowPopup=null},[v.default.loginFlowPopup]);let E=e=>{var t;let a;return null==p||null===(t=p.items)||void 0===t||t.map(t=>((null==t?void 0:t.name)===e&&(a=null==t?void 0:t.isSpecialIncentive),a)),a};(0,r.useEffect)(()=>{(0,f.q$)()},[]);let L=()=>{(0,w.qA)()};return(0,r.useEffect)(()=>{let e=(0,j.ak)("utm_campaign");E((0,j.ak)("utm_campaign"))&&(0,y.zT)({campaignSamplesIdCollection:p},e,S().loginOutOfStock),"LoginPage"===d&&(v.default.showAlertBar=!1),localStorage.getItem("janrainCaptureToken")&&localStorage.getItem("janrainCaptureToken").length>4&&(v.default.showSignInPopup=!1,v.default.simplifiedSignupFlow=!1,v.default.simplifiedSignupFlowWithCompleteProfileSurvey=!1)},[]),(0,i.jsxs)(i.Fragment,{children:[C&&(0,i.jsx)(g.default,{okText:h.ineligiblePromoCTA,closeHandler:()=>(0,j.ZP)(!0,S().homepage),children:(0,i.jsx)("p",{children:h.ineligiblePromoHeading})}),N&&(0,i.jsx)(g.default,{okText:h.ineligiblePromoCTA,closeHandler:()=>(0,j.ZP)(!0,S().earnPoints),children:(0,i.jsx)("p",{children:h.ineligiblePromoHeading})}),v.default.showThankYouPopup&&(0,i.jsx)(P,{confirmationModal:l,oktaLabels:s,pageSource:"login",charityLabel:null==l?void 0:null===(a=l.charitiesCollection)||void 0===a?void 0:null===(t=a.items)||void 0===t?void 0:t.filter(e=>(null==e?void 0:e.charityId)===v.default.charityID)[0].registrationSuccessfulMessage}),m&&(0,i.jsxs)(g.default,{closeHandler:()=>L(),children:[(0,i.jsx)("p",{children:h.oops}),(0,i.jsx)("p",{children:h.errorMessage})]}),z&&(0,i.jsxs)(g.default,{okText:"SIGN UP",closeHandler:()=>{v.default.showSignInPopup=!1,T(!1),o(!1)},styles:"loginPopup",children:[(0,i.jsx)("div",{className:x.wrapperHeader||"",children:(0,i.jsx)("div",{className:"",children:v.default.context})}),(0,i.jsx)("div",{className:"clear ".concat("LoginPage"===d?x.buttonLogin:x.button),children:(0,i.jsx)("div",{children:(0,i.jsx)(u.Z,{buttonText:s.loginButtonSignInText,id:"login-submit-btn",onClick:()=>{var e,t;"/good-news/[slug]"===c.pathname&&localStorage.setItem("articlePendingUrl",v.default.articlePendingUrl),T(!1);let a=null===(t=window)||void 0===t?void 0:null===(e=t.location)||void 0===e?void 0:e.href;(0,y.gu)(h.oktaLogin,a)}})})}),!v.default.PGEUserRedirectedFromEmail&&(0,i.jsx)("div",{className:x.signText||"",children:s.loginPasswordAccountAvailabilityQuestion}),(0,i.jsx)("div",{children:(0,i.jsx)(u.Z,{buttonText:s.loginButtonSignUpText,variant:"blueBorder",id:"signup-submit-btn",onClick:()=>{var e,t;let a=null===(t=window)||void 0===t?void 0:null===(e=t.location)||void 0===e?void 0:e.href;(0,y.gu)(h.oktaSignup,a)}})}),(0,i.jsx)(n(),{id:b.__hash,children:b})]})]})};z.propTypes={oktaLabels:l().shape({loginEmailFieldLabel:l().string,loginPasswordFieldLabel:l().string,loginPasswordForgotPasswordQuestion:l().string,loginPasswordForgotPasswordText:l().string,loginButtonText:l().string,loginPasswordAccountAvailabilityQuestion:l().string,loginButtonSignUpText:l().string,loginButtonSignInText:l().string}),confirmationModal:l().instanceOf(Object).isRequired,pageSource:l().string,router:l().instanceOf(Object).isRequired,campaignSamplesIdCollection:l().oneOfType([l().object]).isRequired},z.defaultProps={pageSource:"",oktaLabels:{loginEmailFieldLabel:null,loginPasswordFieldLabel:null,loginPasswordForgotPasswordQuestion:null,loginPasswordForgotPasswordText:null,loginButtonText:null,loginPasswordAccountAvailabilityQuestion:null,loginButtonSignUpText:null,loginButtonSignInText:null}};var T=(0,m.withRouter)((0,c.Pi)(z))}}]);