"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1413],{78381:function(e,t,a){a.d(t,{AR:function(){return i},ZZ:function(){return s}});var l=a(43631),o=a(96486),n=a.n(o);let r=(0,l.qY)(),s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"!=typeof e)return"";let a="".concat(e);if(!e.includes("svg")){let e="webp";(null==r?void 0:r.name)==="safari"&&(e="png"),a="".concat(a,"?fm=").concat(e)}return n().isEmpty(t)||(a="".concat(a)),a.replace(/([^:])(\/\/+)/g,"$1/")},i=(e,t)=>e?t&&t<4e3?"".concat(e,"?w=").concat(t,"&fm=webp&q=80"):"".concat(e,"?fm=webp&q=80"):""},89459:function(e,t,a){var l=a(85893);a(67294);var o=a(45697),n=a.n(o),r=a(1216),s=a(25675),i=a.n(s),c=a(25967),d=a.n(c),p=a(78381),g=a(63266),m=a(10486),x=a(86661),u=a(8848);let h=e=>{let{altText:t,image:a,desktopImage:o,smartphoneImage:n,tabletImage:s,tooltip:c,className:h,lazyLoad:f,lazyloadOffset:w,priority:b,name:y}=e,v=e=>"false"!==f?(0,l.jsx)(r.ZP,{offset:w,children:e}):e,k=()=>{(0,x.cl)(u.knq,{})},C=e=>{(0,x.cl)(u.OfS,{imageDetails:{desktopImage:o,smartphoneImage:n,tabletImage:s,image:a},pageUrl:e.currentTarget.baseURI})};if(null==a?void 0:a.url){let e="";return e=a.url.includes("/coupons/")?"".concat(g.Z.imageSuffix).concat(a.url):"".concat(a.url),v((0,l.jsx)("div",{className:h||"w-full",children:(0,l.jsx)(i(),{src:(0,p.ZZ)(e,{w:a.width},10),alt:null!==t?"".concat(t.trim()):"".concat(y),width:a.width||275,height:a.height||117,tooltip:c,loader:m.loader,priority:b,onLoad:k,onError:C})}))}return v((0,l.jsxs)("picture",{children:[(0,l.jsx)("source",{media:"(max-width: 580px)",srcSet:(0,p.AR)(n&&n.url)}),(0,l.jsx)("source",{media:"(max-width:".concat(d().smartPhoneWidth,"px)"),srcSet:(0,p.AR)(n&&n.url,768)}),(0,l.jsx)("source",{media:"(max-width:".concat(d().tabletWidth,"px)"),srcSet:(0,p.AR)(s&&s.url,1024)}),(0,l.jsx)("source",{srcSet:(0,p.AR)(o&&o.url)}),(0,l.jsx)("img",{className:h,src:(0,p.AR)(o&&o.url,1440),alt:null!==t?"".concat(t.trim()):"".concat(y),width:(null==o?void 0:o.width)||1440,height:(null==o?void 0:o.height)||400,onLoad:k,onError:C})]}))};h.propTypes={altText:n().string,className:n().string,image:n().shape({url:n().string}),desktopImage:n().shape({url:n().string}),smartphoneImage:n().shape({url:n().string}),tabletImage:n().shape({url:n().string}),tooltip:n().string,children:n().instanceOf(Object),lazyLoad:n().string,isSVG:n().string,priority:n().bool,name:n().string},h.defaultProps={altText:"image",className:"",image:null,desktopImage:null,smartphoneImage:null,tabletImage:null,tooltip:"",children:null,lazyLoad:"true",lazyloadOffset:250,isSVG:"false",priority:!1,name:"image"},t.Z=h},13466:function(e,t,a){var l=a(85893);a(67294);var o=a(9008),n=a.n(o),r=a(45697),s=a.n(r),i=a(11163),c=a(80558);function d(e){let{pageTitle:t,metaTitle:a,metaDescription:o,metaKeywords:r,metaTagKeywords:s,metaImage:i,openGraphPageTitle:d,openGraphDescription:p,openGraphImage:g,openGraphSiteName:m,openGraphType:x,router:u,addGenericSchema:h,h1Text:f}=e,w=u.asPath,b=w.indexOf("?")>-1?w.substr(0,w.indexOf("?")):w,y="/"!==b[b.length-1]?"".concat(b,"/"):b;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(n(),{children:[(0,l.jsx)("title",{children:t}),(0,l.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),a&&(0,l.jsx)("meta",{name:"title",content:a}),(r||s)&&(0,l.jsx)("meta",{name:"keywords",content:"".concat(r||"").concat(s||"")}),o&&(0,l.jsx)("meta",{name:"description",content:o}),i&&(0,l.jsx)("meta",{name:"image",content:i.url}),d&&(0,l.jsx)("meta",{property:"og:title",content:a}),p&&(0,l.jsx)("meta",{property:"og:description",content:o}),g&&(0,l.jsx)("meta",{property:"og:image",content:g.url}),m&&(0,l.jsx)("meta",{property:"og:site_name",content:m}),x&&(0,l.jsx)("meta",{property:"og:type",content:m}),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("meta",{property:"og:url",content:"".concat("https://www.pggoodeveryday.com").concat(u.asPath)}),(0,l.jsx)("link",{rel:"canonical",href:"".concat("https://www.pggoodeveryday.com").concat(1===y.length?"":y)})]})]}),h&&(0,l.jsx)(c.Z,{router:u,headline:t,description:o,image:i&&i.url}),f&&(0,l.jsx)("span",{role:"region","aria-labelledby":"title",children:(0,l.jsx)("span",{id:"title",className:" absolute -top-50 z-0",children:f&&(0,l.jsx)("h1",{className:"fixed -top-75 campaignTop text-16 w-auto text-white block",children:f})})})]})}d.propTypes={pageTitle:s().string,metaTitle:s().string,metaKeywords:s().string,metaTagKeywords:s().string,metaDescription:s().string,metaImage:s().shape({url:s().string}),openGraphPageTitle:s().string,openGraphDescription:s().string,openGraphSiteName:s().string,openGraphType:s().string,openGraphImage:s().shape({url:s().string}),addGenericSchema:s().bool,router:s().instanceOf(Object).isRequired,h1Text:s().string},d.defaultProps={metaTitle:"PG Good everyday",metaKeywords:"",metaTagKeywords:"",metaDescription:"",metaImage:null,openGraphPageTitle:"",openGraphDescription:"",openGraphImage:null,pageTitle:"PG Good everyday",openGraphSiteName:null,openGraphType:null,addGenericSchema:!0,h1Text:null},t.Z=(0,i.withRouter)(d)},80558:function(e,t,a){var l=a(85893);a(67294);var o=a(45697),n=a.n(o),r=a(9008),s=a.n(r),i=a(11163),c=a(29238),d=a.n(c);function p(e){let{router:t,headline:a,description:o,image:n,datePublished:r,pageType:i,publisherType:c,dateModified:p,videoSchemaData:g}=e,m=new Date(r),x=new Date(p),u="".concat(x.getFullYear(),"-").concat(x.getMonth()+1,"-").concat(x.getDate()),h="".concat(m.getFullYear(),"-").concat(m.getMonth()+1,"-").concat(m.getDate());return(0,l.jsxs)(s(),{children:[(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:d().sanitize('\n {\n "@context": "https://schema.org/",\n "@type": "WebSite",\n "name": "P&G Good Everyday",\n "url": "https://www.pggoodeveryday.com/",\n "potentialAction": {\n "@type": "SearchAction",\n "target": "https://www.pggoodeveryday.com/search/?t={search_term_string}",\n "query-input": "required name=search_term_string"\n }\n } \n ').replace(/\s+/g," ").trim()}}),(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:d().sanitize('\n {\n "@context":"http://schema.org",\n "@type":"Organization",\n "name":" P&G Good Everyday ",\n "url":"https://www.pggoodeveryday.com/",\n "logo":"https://images.ctfassets.net/5tx4oa3foqys/6FdXjbJ9f3A0oQO23UMTtv/e8be70e40b661c6a9119b519f45231e1/icon-72x72.png",\n "parentorganization":"Procter & Gamble",\n "sameAs":[\n "https://www.instagram.com/pggoodeveryday/",\n "https://twitter.com/pggoodeveryday",\n "https://www.youtube.com/pggoodeveryday"\n ]\n }\n \n ').replace(/\s+/g," ").trim()}}),"Article"!==i&&(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:d().sanitize('\n {\n "@context": "https://schema.org",\n "@type": "'.concat(i,'",\n ').concat("Article"===i?'"mainEntityOfPage": {\n "@type": "WebPage",\n "@id": "'.concat("https://www.pggoodeveryday.com").concat(null==t?void 0:t.asPath.split("?")[0],'"\n },'):"",'\n "').concat("Article"===i?"headline":"name",'": "').concat(a,'",\n "description": "').concat(o,'",\n ').concat(n?'"image": "'.concat(n,'",'):"",'\n "publisher": {\n "@type": "').concat(c,'",\n "name": "P&G Good Everyday"\n ').concat("ProfilePage"!==c?',"logo": {\n "@type": "ImageObject",\n "url": "https://images.ctfassets.net/5tx4oa3foqys/4QfoWrwE2we59zitBBVNHa/6c02b7c069bf47c55bca9d655e93e632/logo.png",\n "width": "100px",\n "height": "100px"\n }':"","\n }\n ").concat(r?',"datePublished": "'.concat(h,'"'):"","\n ").concat(p?',"dateModified":"'.concat(u,'"'):"","\n }\n ")).replace(/\s+/g," ").trim()}}),g&&(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:d().sanitize('\n {\n "@context": "http://schema.org",\n "@type": "VideoObject",\n "name": "'.concat(g.name,'",\n "description": "').concat(g.description,'",\n "thumbnailUrl": "').concat(g.thumbnailUrl,'",\n "uploadDate": "').concat(g.uploadDate,'",\n "duration": "').concat(g.duration,'",\n "embedUrl": "').concat(g.embedUrl,'",\n \n "interactionStatistic": {\n "@type": "InteractionCounter",\n "interactionType": { "@type": "http://schema.org/WatchAction" },\n "userInteractionCount": "32"\n }\n }\n ')).replace(/\s+/g," ").trim()}}),"Article"===i&&(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:d().sanitize('\n { \n\n "@context": "https://schema.org", \n \n "@type": "Article", \n \n "mainEntityOfPage": { \n \n "@type": "WebPage", \n \n "@id": "'.concat("https://www.pggoodeveryday.com").concat(null==t?void 0:t.asPath.split("?")[0],'"\n \n }, \n \n "headline": "').concat(a,'", \n \n "description": "').concat(o,'", \n \n "image": "').concat(n,'", \n \n "author": { \n \n "@type": "Organization", \n \n "name": "pggoodeveryday.com" \n \n }, \n \n "publisher": { \n \n "@type": "Organization", \n \n "name": "pggoodeveryday.com", \n \n "logo": { \n \n "@type": "ImageObject", \n \n "url": "https://images.ctfassets.net/5tx4oa3foqys/4QfoWrwE2we59zitBBVNHa/6c02b7c069bf47c55bca9d655e93e632/logo.png" \n \n } \n \n }, \n \n "datePublished": "').concat(h,'",\n "dateModified":"').concat(u,'"\n \n } \n \n ')).replace(/\s+/g," ").trim()}})]})}p.propTypes={router:n().instanceOf(Object).isRequired,headline:n().string,description:n().string,image:n().string,datePublished:n().string,dateModified:n().string,pageType:n().string,publisherType:n().string,videoSchemaData:n().oneOfType([n().object])},p.defaultProps={description:"",image:null,headline:"",datePublished:"2020-01-14",pageType:"WebPage",publisherType:"ProfilePage",dateModified:null,videoSchemaData:null},t.Z=(0,i.withRouter)(p)},1372:function(e,t,a){a.d(t,{Z:function(){return w}});var l=a(85893),o=a(67294),n=a(1822),r=a.n(n),s=a(29323),i=a(45697),c=a.n(i),d=a(35941),p=a(13633),g=a(89459),m=a(565);let x=new String(".selectCauseIcon{position:absolute;left:49%;width:59px;height:59px;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}div.causeTitleFix.w-9\\/12>p{height:auto!important}.selectCauseIcon svg{position:relative;left:50%;top:24px;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.modalExternalWrapper{-webkit-overflow-scrolling:touch}.SelectHead{height:90px}.pageStep1:nth-child(3){background:#BFBFBF;color:#FFF}.feedingamerica-wrapper .selectCauseIcon,.dawnmarine-wrapper .selectCauseIcon,.dawnbird-wrapper .selectCauseIcon,.safeguardamerica-wrapper .selectCauseIcon,.matthew-wrapper .selectCauseIcon{background-color:transparent;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;height:49px;width:49px}.selectCauseButton{border:2px solid#c7008e;background-color:#fff;color:#c7008e;right:55px;width:162px;-webkit-transform:translate(50%);-moz-transform:translate(50%);-ms-transform:translate(50%);-o-transform:translate(50%);transform:translate(50%);right:50%;height:30px;bottom:-15px}.selectCauseButton button{outline:none;display:-webkit-box;display:-webkit-flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;letter-spacing:1.3px;width:100%;height:100%;-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}.selectCauseButton svg{width:13px;height:13px;margin-left:8px}.selectCauseButton button{font-weight:700}.selectCauseButton .active{border:2px solid#c7008e;background-color:#c7008e;color:#fff;height:27px;margin:-1px;width:161px;cursor:default}.modalDescription strong{font-weight:700;font-size:.875rem;line-height:20px;letter-spacing:1.3px}.modalDescription p:nth-child(1){padding-bottom:18px}.modalDescription p:nth-child(3){padding-top:12px}.SelectClose svg{height:16px;width:16px}.modalWrapper .spinnerIcon{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;margin-top:20px;padding-bottom:20px}.modalWrapper .slick-dots li button{background-color:#267EA6;margin-top:20px;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;opacity:.5;width:10.8px!important;height:10.8px!important}.modalWrapper .slick-dots li.slick-active button{background-color:#267EA6;opacity:1}.modalFooter a{text-decoration:underline}.selectcauseText p:nth-child(1){font-weight:300;padding-bottom:15px;width:86%;margin:auto;color:#5E5E5E;padding-top:5px}.modalCta button:disabled{cursor:not-allowed}.selectcauseText p:nth-child(2){width:82%;margin:auto}.causeSelectLink a{color:#267EA6;font-family:montserratSemiBold;text-decoration:underline}.selectCarouselModal .slick-track{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}.selectCarouselModal .slick-track{padding-bottom:30px}.selectCarouselModal .slick-slide{height:320px!important}.selectCauseWrapper{height:320px!important}@media only screen and (max-width:767px)and (min-width:300px){.selectCarouselModal .slick-next,.selectCarouselModal .slick-prev,.selectCarouselHomeModal .slick-next,.selectCarouselHomeModal .slick-prev,.help-causeCarousel .slick-next,.help-causeCarousel .slick-prev{display:none!important;overflow:hidden}.selectVideoOlympicWrapper .slick-next,.selectVideoOlympicWrapper .slick-prev{display:block!important;overflow:hidden;webkit-transform:translate(0,-32%);-webkit-transform:translate(0,-32%);-moz-transform:translate(0,-32%);-ms-transform:translate(0,-32%);-o-transform:translate(0,-32%);transform:translate(0,-32%);background:#fff;padding:22.5px;z-index:9;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.5);-moz-box-shadow:0 2px 2px 0 rgba(0,0,0,.5);box-shadow:0 2px 2px 0 rgba(0,0,0,.5);top:26%}.selectVideoOlympicWrapper .slick-next{right:4px}.selectVideoOlympicWrapper .slick-prev{left:4px}.selectVideoOlympicWrapper .slick-next svg{position:relative;top:-9px;left:-9px}}@media screen and (min-width:768px){.selectCauseButton{width:161px}.selectCauseButton.active{right:60px}.selectcauseText p:nth-child(1){width:86%}.selectCarouselModal .slick-next,.selectCarouselModal .slick-prev,.selectCarouselHomeModal .slick-next,.selectCarouselHomeModal .slick-prev{-webkit-transform:translate(0,-32%);-moz-transform:translate(0,-32%);-ms-transform:translate(0,-32%);-o-transform:translate(0,-32%);transform:translate(0,-32%);background:#fff;padding:22.5px;z-index:9;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.5);-moz-box-shadow:0 2px 2px 0 rgba(0,0,0,.5);box-shadow:0 2px 2px 0 rgba(0,0,0,.5)}.selectCarouselModal .slick-prev{left:0}.selectCarouselModal .slick-next{right:0}.selectCarouselModal .slick-prev svg,.selectCarouselModal .slick-next svg,.selectCarouselHomeModal .slick-next svg,.selectCarouselHomeModal .slick-prev svg,.help-causeCarousel .slick-next svg,.help-causeCarousel .slick-prev svg{position:relative;height:19px;width:19px;left:-10px;top:-9px}.selectVideoOlympicWrapper .slick-next,.selectVideoOlympicWrapper .slick-prev{top:26%}}@media screen and (min-width:1024px){.modalDescription p:nth-child(3){padding-top:10px}.SelectClose svg{height:31px;width:31px}.selectcauseText p:nth-child(1){width:85%}.modalDescription strong{font-size:.875rem}.modalWrapper .slick-dots li button:before{display:none}.selectCarouselModal .slick-track{padding-bottom:20px;width:auto;opacity:1;-webkit-transform:translate3d(0px,0px,0px);-moz-transform:translate3d(0px,0px,0px);transform:translate3d(0px,0px,0px);-webkit-transition:-webkit-transform 500ms ease 0s;-moz-transition:-webkit-transform 500ms ease 0s;-o-transition:-webkit-transform 500ms ease 0s;transition:-webkit-transform 500ms ease 0s}.selectCarouselModal{height:310px!important}.selectCarouselModal .slick-prev svg,.selectCarouselModal .slick-next svg,.selectCarouselHomeModal .slick-next svg,.selectCarouselHomeModal .slick-prev svg,.help-causeCarousel .slick-next svg,.help-causeCarousel .slick-prev svg{position:relative;height:19px;width:19px;left:-10px;top:-9px}.selectCarouselModal .slick-next,.selectCarouselModal .slick-prev,.selectCarouselHomeModal .slick-next,.selectCarouselHomeModal .slick-prev{-webkit-transform:translate(0,-32%);-moz-transform:translate(0,-32%);-ms-transform:translate(0,-32%);-o-transform:translate(0,-32%);transform:translate(0,-32%);background:#fff;padding:22.5px;z-index:9;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.5);-moz-box-shadow:0 2px 2px 0 rgba(0,0,0,.5);box-shadow:0 2px 2px 0 rgba(0,0,0,.5)}.selectCarouselModal .slick-prev,.selectCarouselHomeModal .slick-prev{left:-2.5%}.selectCarouselModal .slick-next,.selectCarouselHomeModal .slick-next{right:-2.5%}}@media screen and (min-width:1280px){.help-causeCarousel .slick-next,.help-causeCarousel .slick-prev{display:block!important}}");x.__hash="6683e4dea421f23e";var u=a(4379),h=a.n(u);let f=e=>{var t,a,n,s;let{title:i,text:c,activeLabel:u,inActiveLabel:f,iconName:w,image:b,handleSelect:y,isActive:v,variant:k,backgroundImage:C,pageSource:j,logo:I,charityImpactListCollection:S}=e,T=0,W=0,M=()=>{var e,t;y(null==S?void 0:null===(t=S.items)||void 0===t?void 0:null===(e=t[0])||void 0===e?void 0:e.charityId)};(0,o.useEffect)(()=>{"home"===k&&document.querySelectorAll(".slick-slide").forEach(e=>{e.removeAttribute("tabindex"),e.removeAttribute("aria-hidden")})},[]),"home"===k&&(W=parseInt((null==S?void 0:null===(s=S.items)||void 0===s?void 0:null===(n=s[0])||void 0===n?void 0:n.totalCharityCounts)||0,10))>=0&&(T=W||0);let B=h()[k]||h().default;return(0,l.jsxs)("div",{className:B.selectWrapper||"",children:[(0,l.jsxs)("div",{className:(null==B?void 0:B.wrapper)||"",children:["signup"!==j&&(0,l.jsxs)("div",{className:B.selectHeaderWrapper||"",children:[(0,l.jsx)("div",{className:B.selectHead||"",children:(0,l.jsx)("div",{className:B.selectSubWrapper||"",children:(0,l.jsx)(m.Z,{markdown:i})})}),(0,l.jsxs)("div",{className:B.selectCauseIcon||"",children:[w&&(0,l.jsx)(d.default,{name:w}),b&&(0,l.jsx)(g.Z,{className:"home"===k||"sustainability"===k?B.image[null==b?void 0:b.variant]:B.selectCauseImage,...b})]}),(0,l.jsx)(m.Z,{className:B.selectCauseImageText,markdown:i}),(0,l.jsxs)("div",{className:B.selectCauseImageIconWrapper||"",children:[(0,l.jsx)("div",{className:B.selectCauseImageIcon||"",children:"sustainability"===j&&I&&(0,o.createElement)(g.Z,{...C,key:null==C?void 0:null===(t=C.sys)||void 0===t?void 0:t.id})}),(0,l.jsx)("div",{className:B.selectCauseImageIconLogo||"",children:"sustainability"===j&&I&&(0,l.jsx)(g.Z,{...I})})]})]}),"signup"===j&&(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("div",{children:C&&(0,o.createElement)(g.Z,{...C,key:null==C?void 0:null===(a=C.sys)||void 0===a?void 0:a.id})}),(0,l.jsxs)("div",{className:B.selectCauseIcon||"",children:[w&&(0,l.jsx)(d.default,{name:w}),b&&(0,l.jsx)(g.Z,{className:"home"===k?B.image[b.styles]:B.selectCauseImage,...b})]})]}),(0,l.jsx)(m.Z,{className:B.selectCauseImageText,markdown:i})]})]}),"home"===k&&(0,l.jsx)("p",{className:B.selectCreditNo||"",children:null==T?void 0:T.toLocaleString("en-US")}),(0,l.jsx)("div",{className:B.selectCauseTextWrapper||"",children:(0,l.jsx)("div",{className:B.selectCauseInnerText||"",children:(0,l.jsx)(m.Z,{markdown:"home"===k?c.replace("{charityPoints}",null==T?void 0:T.toLocaleString("en-US")):c})})}),(0,l.jsx)("div",{className:B.selectCauseButton||"",children:(0,l.jsx)(p.Z,{handler:()=>M(),className:v&&"active",children:v?(0,l.jsxs)(l.Fragment,{children:[u,(0,l.jsx)(d.default,{name:"check"})]}):f})}),(0,l.jsx)(r(),{id:x.__hash,children:x})]})};f.propTypes={title:c().string,text:c().string.isRequired,activeLabel:c().string,inActiveLabel:c().string,iconName:c().string,destinationId:c().string.isRequired,handleSelect:c().func.isRequired,isActive:c().bool.isRequired,variant:c().string.isRequired,image:c().oneOfType([c().object]),logo:c().oneOfType([c().object]),backgroundImage:c().oneOfType([c().object]),pageSource:c().string,charityImpactListCollection:c().oneOfType([c().object])},f.defaultProps={image:null,logo:null,title:null,iconName:null,backgroundImage:null,pageSource:null,inActiveLabel:null,activeLabel:null,charityImpactListCollection:null};var w=(0,s.Pi)(f)},4379:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0});let l=a(63404);e.exports={[l.signUp]:{SelectModal:{videoSteps:"pageStep1 text-grey border-rounded font-montserratBold font-bold text-12 border-2 border-grey",modalExternalWrapper:"modalExternalWrapper signinModalCauseSelect shadow-cardshadow1 fixed inset-0 h-screen bg-white overflow-y-auto overflow-x-hidden w-full z-50 pb-150 md:pb-110 md:pb-0",modalWrapper:"modalWrapper container bg-white mx-auto w-full pt-30 md:pt-65 lg:py-70",modalWrapperVideoGating:"modalWrapper video bg-white mx-auto w-full pt-15 md:pt-25 lg:pt-40",modalClose:"SelectClose flex justify-end px-15 py-15",modalTitle:"modalTitle text-center font-montserratSemiBold font-semibold text-24 leading-widest w-10/12 md:w-9/12 xl:w-9/12 mx-auto lg:text-32 lg:leading-leading42 pb-15 xl:pb-10",modalDescription:"causeModalText causeSelectLink text-base leading-lightmedium pt-0 pb-18px md:pt-0 md:pb-25 lg:pt-0 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",modalSubDescription:"causeModalText causeSelectLink text-base leading-lightmedium py-0 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",modalFooter:"modalFooter pb-60 xl:pb-110 flex justify-center w-9/12 pt-20 md:w-8/12 lg:w-6/12 text-center mx-auto font-montserratlight font-light text-sm xl:text-16 leading-leading20 xl:leading-light",modalCta:"123 font-montserratBold font-bold flex justify-center text-18 leding-wider lg:text-23 pt-17 md:pt-25 lg:pt-20 fixed inset-x-0 shadow-receiptScanBtnShadow datepickerBtn pb-20 bottom-0 bg-white",selectErrorMessageWrapper:"selectErrorEmail text-sm font-montserratSemiBold font-semibold leading-leading20 text-center w-full bg-redRewards mb-42px md:mb-29 lg:mb-42px py-10 md:py-20 lg:text-base lg:leading-light text-white lg:py-22",selectErrorMessageInnerWrapper:"w-9/12 mx-auto xl:w-7/12 lg:px-50 xl:px-30"}},[l.signIn]:{SelectModal:{modalExternalWrapper:"modalExternalWrapper signinModalCauseSelect shadow-cardshadow fixed inset-0 h-screen bg-white overflow-y-auto overflow-x-hidden w-full z-50",modalWrapper:"modalWrapper bg-white mx-auto w-full pt-60 pb-30 md:pt-65 lg:pt-70 md:w-11/12 xl:w-full",modalClose:"SelectClose flex justify-end px-15 py-15",modalTitle:"modalTitle text-center font-montserratSemiBold font-semibold text-24 leading-leading29 w-9/12 mx-auto lg:text-38 lg:leading-noImgh",modalDescription:"causeModalText causeSelectLink text-base leading-lightmedium pt-25 pb-18px md:pt-12 md:pb-25 lg:pt-25 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",modalFooter:"modalFooter pb-170 md:pb-60 flex justify-center w-9/12 pt-20 md:w-8/12 lg:w-6/12 text-center mx-auto font-montserratlight font-light text-sm xl:text-16 leading-leading20 xl:leading-light",modalCta:"completeModal font-montserratBold font-bold flex justify-center text-18 leading-wider lg:text-23 pt-17 md:pt-25 lg:pt-20 fixed inset-x-0 shadow-receiptScanBtnShadow datepickerBtn pb-20 bottom-0 bg-white",selectErrorMessageWrapper:"selectErrorEmail text-sm font-montserratSemiBold font-semibold leading-leading20 text-center w-full bg-redRewards mb-42px md:mb-29 lg:mb-42px py-10 md:py-20 lg:text-base lg:leading-light text-white lg:py-22",selectErrorMessageInnerWrapper:"w-9/12 mx-auto xl:w-7/12 lg:px-50 xl:px-30"}},home:{selectWrapper:"selectCauseHomeWrapper bg-white border-3 relative ml-4px mr-5px pb-25 mb-30px border-bgcolor",selectHeaderWrapper:"selectCauseHead relative bgreceiptFeedback h-120",selectHead:"",selectSubWrapper:"causeTitleFix w-9/12 mx-auto hidden",selectCauseIcon:"w-full flex border-t-10 relative border-receiptFeedback justify-center bg-white pt-20 px-50",selectCauseImage:"absolute bottom-0 py-10 px-50",selectCauseImageText:"hidden w-full font-montserratBold font-bold text-16 leading-seller18 text-center text-always",selectCreditNo:"w-full text-center font-montserratSemiBold font-semibold text-38 leading-leading42 text-primary",selectCauseTextWrapper:"w-10/12 mx-auto flex flex-wrap justify-center items-center font-montserratlight font-light text-xs leading-points16 text-center",selectCauseInnerText:"w-full relative pt-05 font-montserratlight font-light text-16 leading-leading20 text-center",selectCauseButton:"selectCauseButton absolute flex flex-wrap items-center justify-center shadow-rewardsBadge font-montserratBold font-bold text-xs text-white",image:{default:"",csdwLogo:"csdw logo w-174 pt-40",tideLogo:"tide logo w-137 pt-30",alwaysLogo:"always logo w-150 pt-25",feedingLogo:"feeding logo w-116 pt-20",operationLogo:"oparation logo w-116 pt-0",dawnLogo:"dawn logo w-95 pt-0",prideLogo:"dawn logo w-72 h-72 pt-0",safeguardLogo:"safe logo w-90 pt-15",panteneLogo:"pantene logo w-137 ",unitedLogo:"united logo w-100 lg:w-137 pt-20",takeRaceLogo:"race logo w-140 pt-50",hispanicLogo:"hispanic logo w-140 pt-20",cleanHomeLogo:"clean-home logo w-100 pt-05"}},sustainability:{selectWrapper:"selectCauseHomeWrapper bg-white border-3 relative min-h-337 md:min-h-315 xl:min-h-345 ml-4px mr-5px pb-25 mb-30px border-IOHLightGrey",selectHeaderWrapper:"selectCauseHead relative bgreceiptFeedback",selectHead:"",selectSubWrapper:"causeTitleFix w-9/12 mx-auto hidden",selectCauseIcon:"w-full flex h-120 relative border-receiptFeedback justify-center bg-white pt-20 px-50",selectCauseImage:"absolute bottom-0 py-10 px-50 z-1 w-150",selectCauseImageText:"hidden w-full font-montserratBold font-bold text-16 leading-seller18 text-center text-always",selectCreditNo:"w-full text-center font-montserratSemiBold font-semibold text-38 leading-leading42 text-primary",selectCauseTextWrapper:"w-full px-03 xl:w-11/12 mx-auto flex flex-wrap justify-center items-center font-montserratlight font-light text-xs leading-points16 text-center",selectCauseInnerText:"w-full relative pt-05 font-montserratlight font-regular text-16 leading-light text-center",selectCauseButton:"selectCauseButton absolute flex flex-wrap items-center justify-center shadow-rewardsBadge font-montserratBold font-bold text-xs text-white",selectCauseImageIconWrapper:"w-full",selectCauseImageIcon:"absolute top-0",selectCauseImageIconLogo:"absolute top-5 left-15 w-25",image:{default:"always logo absolute top-5 px-10 z-1 w-110",csdwLogo:"csdw logo absolute top-5 lg:top-10 px-10 z-1 w-95",dawnLogo:"dawn logo absolute top-5 lg:top-10 px-10 z-1 w-75",tideLogo:"tide logo absolute top-15 py-05 z-1 w-80",alwaysLogo:"always logo absolute top-5 lg:top-10 py-10 z-1 w-110",feedingLogo:"feeding logo absolute top-10 px-10 z-1 w-84"}},olympics:{selectWrapper:"selectCauseHomeWrapper bg-white border-3 relative min-h-337 md:min-h-315 xl:min-h-345 ml-4px mr-5px pb-25 mb-30px border-IOHLightGrey",selectHeaderWrapper:"selectCauseHead relative bgreceiptFeedback",selectHead:"",selectSubWrapper:"causeTitleFix w-9/12 mx-auto hidden",selectCauseIcon:"w-full flex h-120 relative border-receiptFeedback justify-center bg-white pt-20 px-50",selectCauseImage:"relative -top-20 inset-x-0 py-10 px-10 z-1 w-160",selectCauseImageText:"hidden w-full font-montserratBold font-bold text-16 leading-seller18 text-center text-always",selectCreditNo:"w-full text-center font-montserratSemiBold font-semibold text-38 leading-leading42 text-primary",selectCauseTextWrapper:"w-full px-03 xl:w-11/12 mx-auto flex flex-wrap justify-center items-center font-montserratlight font-light text-xs leading-points16 text-center",selectCauseInnerText:"w-full relative text-black pt-05 font-montserratlight font-normal text-16 leading-light text-center",selectCauseButton:"selectCauseButton absolute flex flex-wrap items-center justify-center shadow-rewardsBadge font-montserratBold font-bold text-xs text-white",selectCauseImageIconWrapper:"w-full flex justify-center",selectCauseImageIcon:"absolute top-0",selectCauseImageIconLogo:"flex justify-center pt-45 pb-15 w-205",image:{default:"always logo absolute top-5 px-10 z-1 w-110",csdwLogo:"csdw logo absolute top-5 lg:top-10 px-10 z-1 w-95",dawnLogo:"dawn logo absolute top-5 lg:top-10 px-10 z-1 w-75",tideLogo:"tide logo absolute top-15 py-05 z-1 w-80",alwaysLogo:"always logo absolute top-5 lg:top-10 py-10 z-1 w-110",feedingLogo:"feeding logo absolute top-10 px-10 z-1 w-84"}},SelectModal:{modalExternalWrapper:"modalExternalWrapper fixed inset-0 h-screen bg-white md:bg-selectCauseTB overflow-y-auto overflow-x-hidden w-full z-50",modalWrapper:"modalWrapper bg-white shadow-cardshadow mx-auto w-full pt-60 md:pt-65 lg:pt-120 md:w-11/12",modalClose:"SelectClose flex justify-end px-15 py-15",modalTitle:"modalTitle text-center font-montserratSemiBold font-semibold text-24 leading-leading29 w-9/12 mx-auto lg:text-38 lg:leading-noImgh",modalDescription:"modalDescription causeSelectLink text-base leading-lightmedium pt-25 pb-18px md:pt-12 md:pb-25 lg:pt-25 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",modalFooter:"modalFooter pb-20 flex justify-center w-9/12 pt-70 lg:pt-70 md:w-8/12 lg:w-6/12 text-center mx-auto font-montserratlight font-light text-sm leading-leading20",modalCta:"font-montserratBold font-bold flex justify-center text-18 lg:text-23 pt-17 md:pt-25 lg:pt-20 fixed inset-x-0 shadow-receiptScanBtnShadow datepickerBtn pb-20 bottom-0 bg-white",selectErrorMessageWrapper:"selectErrorEmail text-sm font-montserratSemiBold font-semibold leading-leading20 text-center w-full bg-redRewards mb-42px md:mb-29 lg:mb-42px py-10 md:py-20 lg:text-base lg:leading-light text-white lg:py-22",selectErrorMessageInnerWrapper:"w-9/12 mx-auto xl:w-7/12 lg:px-50 xl:px-30"},default:{selectWrapper:"min-h-290 w-280 mx-auto xl:mr-0 ",selectHeaderWrapper:"selectCauseHead relative bg-receiptFeedback",selectSubWrapper:"causeTitleFix w-9/12 mx-auto",selectCauseImageText:"font-montserratSemiBold font-semibold text-16 lg:text-14 w-9/12 pt-40 mx-auto text-center leading-light lg:leading-points16",selectHead:"SelectHead text-white text-xs border-1 items-center flex justify-center tracking-widest border-bgcolor shadow-goodTracker font-montserratBold font-bold font-montserratlight font-light leading-points16 text-center py-15",selectCauseIcon:"selectCauseIcon absolute rounded-full",selectCauseTextWrapper:"flex flex-wrap justify-center items-center font-montserratlight font-light text-14 leading-leading20 text-center",selectCauseInnerText:"selectcauseText relative font-montserratlight font-light text-14 leading-leading20 lg:leading-leading20 text-center",selectCauseButton:"selectCauseButton absolute flex flex-wrap items-center justify-center shadow-rewardsBadge font-montserratBold font-bold text-xs text-white"}}},10486:function(e){let t=e=>new Promise((t,a)=>{let l=new FileReader;l.onload=e=>{try{let a=new DataView(e.target.result);65496!==a.getUint16(0,!1)&&t(-2);let l=a.byteLength,o=2;for(;o<l;){let e=a.getUint16(o,!1);if(o+=2,65505===e){o+=2,1165519206!==a.getUint32(o,!1)&&t(-1);let e=18761===a.getUint16(o+=6,!1);o+=a.getUint32(o+4,e);let l=a.getUint16(o,e);o+=2;for(let n=0;n<l;n+=1)274===a.getUint16(o+12*n,e)&&t(a.getUint16(o+12*n+8,e))}else if(65280!==(e&&65280))break;else o+=a.getUint16(o,!1)}t(-1)}catch(e){a(e)}},l.readAsArrayBuffer(e.slice(0,65536))});e.exports={getCorrectedRotation:async e=>{let a=await t(e),l=!1;switch(a){case 2:case 4:case 5:case 7:l=!0}return{mirror:l,rotateDeg:0}},loader:e=>{let{src:t,quality:a}=e;return/\.(jpg||jpeg)$/.test(t)?"".concat(t,"?fm=webp&q=").concat(a||80):/\.(svg||gif||png)$/.test(t)?t:"".concat(t,"&q=").concat(a||80)}}}}]);