(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6803],{93133:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/brands",function(){return n(3128)}])},78381:function(e,t,n){"use strict";n.d(t,{AR:function(){return s},ZZ:function(){return l}});var r=n(43631),a=n(96486),i=n.n(a);let o=(0,r.qY)(),l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"!=typeof e)return"";let n="".concat(e);if(!e.includes("svg")){let e="webp";(null==o?void 0:o.name)==="safari"&&(e="png"),n="".concat(n,"?fm=").concat(e)}return i().isEmpty(t)||(n="".concat(n)),n.replace(/([^:])(\/\/+)/g,"$1/")},s=(e,t)=>e?t&&t<4e3?"".concat(e,"?w=").concat(t,"&fm=webp&q=80"):"".concat(e,"?fm=webp&q=80"):""},68032:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(85893),a=n(1822),i=n.n(a),o=n(67294),l=n(45697),s=n.n(l),d=n(35941),p={registrationForm:{wrapper:"w-full mb-6 md:mb-0 text-center",wrapperInner:"relative",textSmall:"text-xs xl:text-16 textSmall text-input-br font-light relative -top-5",textLarge:"registrationselectText text-base lg:text-md relative -top-5",wrapperField:"font-montserratSemiBold text-primary font-semibold z-30 gender appearance-none text-sign-head py-2 py-4 px-0 mb-0 leading-tight text-left h-52 xl:h-60 text-lg border-b-threefourth border-b font-montserratlight font-light border-input-br w-full py-4 ",upArrow:"sigupArrow pointer-events-none uparrow absolute inset-y-0 right-0 flex items-center font-montserratSemiBold font-semibold font-hairline px-2 top:45 text-sign-head pr-5",downArrow:"sigupArrow pointer-events-none absolute inset-y-0 right-0 flex items-center font-montserratSemiBold font-semibold font-hairline px-2 text-sign-head pr-10 md:pr-0 ",dateSelect:"z-10 border-t-white selectBox border-half genderDate border-t-0 active:border-b-white dateSelect font-montserratlight font-light text-base lg:text-lg text-sign-head block leading-wider md:leading-widest lg:leading-registergender appearance-none absolute w-full bg-white border border-input-br text-sign-head pb-2 text-center px-4 pr-4 h-108 overflow-y-auto cursor-pointer"},profileForm:{wrapper:"profileForm-wrapper",wrapperInner:"profileForm-wrapper-inner relative",textSmall:"text-xs",textLarge:"text-base lg:text-lg",wrapperField:"font-montserratSemiBold profileForm-field font-semibold h-fiftyhalf lg:h-fiftytwohalf text-primaryCta appearance-none text-sign-head pb-20 pt-10 mb-1px leading-tight focus:outline-none text-left text-lg border-b-half font-montserratlight font-light w-full py-4 border-input-br ",upArrow:"sigupArrow pointer-events-non uparrow absolute inset-y-0 right-0 flex items-center z-20 font-montserratSemiBold font-semibold font-hairline px-2 top:45 text-sign-head",downArrow:"sigupArrow pointer-events-none absolute inset-y-0 right-0 flex items-center font-montserratSemiBold font-semibold font-hairline px-2 text-sign-head ",dateSelect:"z-10 border-t-white border-half genderDate border-t-0 active:border-b-white dateSelect font-montserratlight font-light text-base lg:text-lg text-sign-head block appearance-none absolute w-full bg-white border border-input-br text-sign-head py-2 text-center px-4 pr-4 h-108 overflow-y-auto cursor-pointer"},rewardsDetailsForm:{wrapper:"rewards w-full mb-6 md:mb-0 text-center flex flex-wrap",wrapperInner:"relative w-full",textSmall:"",textLarge:"pl-05",wrapperField:"font-montserratlight font-light flex flex-wrap z-30 gender appearance-none text-sign-head py-2 px-4 mb-0 leading-tight text-left lg:text-16 border-threefourth border font-montserratlight font-light border-input-br w-full py-14 px-3 ",upArrow:"sigupArrow pointer-events-none uparrow absolute inset-y-0 right-0 flex items-center font-montserratSemiBold font-semibold font-hairline px-2 top:45 text-sign-head pr-4",downArrow:"sigupArrow pointer-events-none absolute inset-y-0 right-0 flex items-center font-montserratSemiBold font-semibold font-hairline px-2 text-sign-head pr-10 md:pr-20 ",dateSelect:"reward-select z-10 border-t-white border text-left genderDate border-t-0 active:border-b-white dateSelect font-montserratlight font-light text-base lg:text-lg text-sign-head block leading-wider md:leading-widest lg:leading-registergender appearance-none absolute w-full bg-white border border-input-br text-sign-head pb-2 h-108 overflow-y-auto cursor-pointer"},rebatesSelectForm:{wrapper:"rewards w-full mb-6 md:mb-0 text-center bg-white flex flex-wrap",wrapperInner:"relative w-full",textSmall:"",textLarge:"pl-05",wrapperField:"font-montserratSemiBold font-semibold text-14 xl:text-16 leading-leading20 xl:leading-lightmedium focus:outline-none flex flex-wrap z-30 gender appearance-none text-sign-head py-2 px-4 mb-0 leading-tight text-left border-threefourth border border-input-br w-full py-14 px-3 ",upArrow:"sigupArrow pointer-events-none uparrow absolute inset-y-0 right-0 flex items-center font-montserratSemiBold font-semibold font-hairline px-2 top:45 text-sign-head pr-4",downArrow:"sigupArrow pointer-events-none absolute inset-y-0 right-0 flex items-center font-montserratSemiBold font-semibold font-hairline px-2 text-sign-head pr-10 md:pr-20 ",dateSelect:" z-10 border-half text-left border-b-0 genderDate active:border-b-white font-montserratlight font-light block max-h-294 xl:max-h-400 -top-1 text-14 xl:text-16 leading-leading20 lg:leading-lightmedium appearance-none absolute w-full bg-white shadow-dropdown border-input-br h-108 overflow-y-auto cursor-pointer",listItems:"pl-18 md:pl-24 xl:pl-28 py-08 xl:py-15 hover:bg-bgcolor border-b-half border-input-br text-14 lg:text-16 leading-leading20 lg:leading-lightmedium",listItemsboldText:"font-montserratSemiBold font-semibold",listItemsText:"font-montserratlight font-light"},searchSelectDropdown:{wrapper:"w-full mb-6 md:mb-0 text-center",wrapperInner:"relative",textSmall:"text-xs xl:text-16 text-input-br font-light relative",textLarge:"text-14 xl:text-16 relative pl-25 xl:pl-30",wrapperField:"font-montserratSemiBold text-primary font-semibold z-30 gender appearance-none text-sign-head py-2 py-4 px-0 mb-0 leading-tight text-left h-52 xl:h-60 text-lg border-b-threefourth border-1 font-montserratlight font-light border-input-br w-full py-4 ",upArrow:"sigupArrow pointer-events-none uparrow absolute inset-y-0 right-0 flex items-center font-montserratSemiBold font-semibold font-hairline px-2 top:45 text-sign-head pr-5",downArrow:"sigupArrow pointer-events-none absolute inset-y-0 right-0 flex items-center font-montserratSemiBold font-semibold font-hairline px-2 text-sign-head pr-10 md:pr-20 ",dateSelect:"z-10 border-t-white selectBox border-half genderDate border-t-0 active:border-b-white dateSelect font-montserratlight font-light text-base lg:text-lg text-sign-head block leading-wider md:leading-widest lg:leading-registergender appearance-none absolute w-full bg-white border border-input-br text-sign-head pb-2 text-center px-4 pr-4 h-108 overflow-y-auto cursor-pointer"},pgBrandSelect:{wrapper:"profileForm-wrapper",wrapperInner:"profileForm-wrapper-inner relative",textSmall:"text-xs",textLarge:"text-base lg:text-16 textLarge leading-leading20",wrapperField:"profileForm-field font-light h-fiftyhalf lg:h-fiftytwohalf appearance-none text-sign-head pb-0 pt-10 mb-1px leading-tight text-left text-lg border-b-half w-full py-1 border-input-br ",upArrow:"brandupArrow branddownArrow pt-06 pointer-events-non uparrow absolute inset-y-0 right-0 flex items-center z-10 font-montserratSemiBold font-semibold font-hairline px-2 top:45 text-sign-head",downArrow:"brandupArrow pt-06 pointer-events-none absolute inset-y-0 right-0 flex items-center font-montserratSemiBold font-semibold font-hairline px-2 text-sign-head ",dateSelect:"z-10 absolute -top-3 font-montserratlight font-light text-14 leading-lightmedium text-sign-head block appearance-none absolute w-full bg-white text-sign-head py-2 text-left shadow-pgBrandSelect px-4 pr-4 h-108 xl:py-25 overflow-y-auto cursorpointer",listItems:"pb-18 flex checkboxLabel",checkbox:"checkbox-custom w-20 cursor-pointer top-12 rounded-4",listItemsboldText:"pl-12 checkbox-custom-label"}};let c=new String('.icon{height:20px;width:20px}.genderWrapper .gender{text-align:center;font-size:1rem}.genderWrapper li{width:85%;margin:auto}.editgenderWrapper li{width:85%;margin:auto}input[type="button"]:disabled,button[type="button"]:disabled{pointer-events:none}.genderWrapper .genderDate{margin-top:-45px}.MonthGrd .dateSelect{height:180px;margin-top:-2px;border-left:.75px solid#979797;border-right:.75px solid#979797;border-bottom:.75px solid#979797}.MonthGrd1 .dateSelect{height:110px;margin-top:0px;border-top:0px;border-left:.75px solid#979797;border-bottom:.75px solid#979797}.YearGrd1 .dateSelect{height:110px;margin-top:0px;border-top:0px;border-left:.75px solid#979797;border-bottom:.75px solid#979797}.YearGrd .dateSelect{height:180px;margin-top:-2px;border-left:.75px solid#979797;border-right:.75px solid#979797;border-bottom:.75px solid#979797}.genderWrapper .uparrow{z-index:20}.editgenderWrapper .uparrow{z-index:20}.editgenderWrapper .dateSelect{margin-top:-2px;border:.5px solid#979797}.editgenderWrapper .genderDate{margin-top:-45px}.sigupArrow svg,.brandupArrow svg{width:15px}.branddownArrow svg{-webkit-transform:rotate(180deg)!important;-moz-transform:rotate(180deg)!important;-ms-transform:rotate(180deg)!important;-o-transform:rotate(180deg)!important;transform:rotate(180deg)!important}@media screen and (min-width:768px){.MonthGrd .dateSelect{height:234px}.YearGrd .dateSelect{height:234px;border-left-width:.75px}}@media screen and (min-width:1024px){.sigupArrow span svg{width:17px}.genderWrapper .gender{font-size:1.125rem;height:60px;line-height:36px}}');c.__hash="fa0b88a9a3f09003";let m=e=>{let{list:t,type:n,name:a,pageSource:l,title:s,onSelectChange:m,disabled:g,isCheckBox:u}=e,x=(0,o.useRef)(),[h,f]=(0,o.useState)(!1),b=()=>{f(!h)},w=e=>{f(!1),m(e,t,a)},v=(e,n)=>{f(!0),m(e,t,a,n.target.checked)},y=e=>{x.current&&!x.current.contains(e.target)&&f(!1)};(0,o.useEffect)(()=>(document.addEventListener("mousedown",e=>y(e)),document.addEventListener("keyup",e=>y(e)),()=>{document.removeEventListener("mousedown",e=>y(e)),document.removeEventListener("keyup",e=>y(e))}));let j=p[l]||p.registrationForm;return(0,r.jsxs)("div",{ref:x,className:j.wrapper||"",children:[(0,r.jsx)("div",{className:j.wrapperInner||"",children:(0,r.jsxs)("button",{onClick:()=>b(),type:"button","aria-label":a,disabled:g,name:a,className:j.wrapperField||"",children:[(0,r.jsx)("div",{className:j.textSmall||"",children:n}),(0,r.jsx)("div",{id:"addressStateData",className:j.textLarge||"",children:u&&s.length>1?s.map(e=>e).join(", "):s}),h?(0,r.jsx)("div",{className:j.upArrow||"",children:(0,r.jsx)(d.default,{name:"pgBrandSelect"===l?"arrowUpTeal":"arrowUpGray"})}):(0,r.jsx)("div",{className:j.downArrow||"",children:(0,r.jsx)(d.default,{name:"pgBrandSelect"===l?"arrowDownTeal":"arrowDownGray",className:"icon text-blue"})})]})}),h&&(0,r.jsx)("div",{className:j.wrapperInner||"",children:(0,r.jsx)("ul",{className:j.dateSelect||"",children:t&&t.map(e=>(0,r.jsxs)("li",{tabIndex:"-1",onClick:()=>u?null:w(e.id),value:e.value,id:e.value,role:"presentation",className:j.listItems||"",children:[u?(0,r.jsx)("input",{type:"checkbox",checked:!!s.includes(e.name),onClick:t=>v(e.id,t),value:e.id,className:j.checkbox||""}):null,(0,r.jsx)("div",{className:j.listItemsboldText||"",children:e.innerText}),(0,r.jsx)("div",{className:j.listItemsText||"",children:e.rebatesDescription})]},e.id))})}),(0,r.jsx)(i(),{id:c.__hash,children:c})]})};m.propTypes={list:s().oneOfType([s().array]),pageSource:s().string,type:s().string,name:s().string,title:s().oneOfType([s().string,s().number,s().array]),onSelectChange:s().func.isRequired,disabled:s().bool,isCheckBox:s().bool},m.defaultProps={pageSource:null,type:null,name:null,title:"",list:null,disabled:!1,isCheckBox:!1};var g=m},89459:function(e,t,n){"use strict";var r=n(85893);n(67294);var a=n(45697),i=n.n(a),o=n(1216),l=n(25675),s=n.n(l),d=n(25967),p=n.n(d),c=n(78381),m=n(63266),g=n(10486),u=n(86661),x=n(8848);let h=e=>{let{altText:t,image:n,desktopImage:a,smartphoneImage:i,tabletImage:l,tooltip:d,className:h,lazyLoad:f,lazyloadOffset:b,priority:w,name:v}=e,y=e=>"false"!==f?(0,r.jsx)(o.ZP,{offset:b,children:e}):e,j=()=>{(0,u.cl)(x.knq,{})},S=e=>{(0,u.cl)(x.OfS,{imageDetails:{desktopImage:a,smartphoneImage:i,tabletImage:l,image:n},pageUrl:e.currentTarget.baseURI})};if(null==n?void 0:n.url){let e="";return e=n.url.includes("/coupons/")?"".concat(m.Z.imageSuffix).concat(n.url):"".concat(n.url),y((0,r.jsx)("div",{className:h||"w-full",children:(0,r.jsx)(s(),{src:(0,c.ZZ)(e,{w:n.width},10),alt:null!==t?"".concat(t.trim()):"".concat(v),width:n.width||275,height:n.height||117,tooltip:d,loader:g.loader,priority:w,onLoad:j,onError:S})}))}return y((0,r.jsxs)("picture",{children:[(0,r.jsx)("source",{media:"(max-width: 580px)",srcSet:(0,c.AR)(i&&i.url)}),(0,r.jsx)("source",{media:"(max-width:".concat(p().smartPhoneWidth,"px)"),srcSet:(0,c.AR)(i&&i.url,768)}),(0,r.jsx)("source",{media:"(max-width:".concat(p().tabletWidth,"px)"),srcSet:(0,c.AR)(l&&l.url,1024)}),(0,r.jsx)("source",{srcSet:(0,c.AR)(a&&a.url)}),(0,r.jsx)("img",{className:h,src:(0,c.AR)(a&&a.url,1440),alt:null!==t?"".concat(t.trim()):"".concat(v),width:(null==a?void 0:a.width)||1440,height:(null==a?void 0:a.height)||400,onLoad:j,onError:S})]}))};h.propTypes={altText:i().string,className:i().string,image:i().shape({url:i().string}),desktopImage:i().shape({url:i().string}),smartphoneImage:i().shape({url:i().string}),tabletImage:i().shape({url:i().string}),tooltip:i().string,children:i().instanceOf(Object),lazyLoad:i().string,isSVG:i().string,priority:i().bool,name:i().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,n){"use strict";var r=n(85893);n(67294);var a=n(9008),i=n.n(a),o=n(45697),l=n.n(o),s=n(11163),d=n(80558);function p(e){let{pageTitle:t,metaTitle:n,metaDescription:a,metaKeywords:o,metaTagKeywords:l,metaImage:s,openGraphPageTitle:p,openGraphDescription:c,openGraphImage:m,openGraphSiteName:g,openGraphType:u,router:x,addGenericSchema:h,h1Text:f}=e,b=x.asPath,w=b.indexOf("?")>-1?b.substr(0,b.indexOf("?")):b,v="/"!==w[w.length-1]?"".concat(w,"/"):w;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i(),{children:[(0,r.jsx)("title",{children:t}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,r.jsx)("meta",{name:"title",content:n}),(o||l)&&(0,r.jsx)("meta",{name:"keywords",content:"".concat(o||"").concat(l||"")}),a&&(0,r.jsx)("meta",{name:"description",content:a}),s&&(0,r.jsx)("meta",{name:"image",content:s.url}),p&&(0,r.jsx)("meta",{property:"og:title",content:n}),c&&(0,r.jsx)("meta",{property:"og:description",content:a}),m&&(0,r.jsx)("meta",{property:"og:image",content:m.url}),g&&(0,r.jsx)("meta",{property:"og:site_name",content:g}),u&&(0,r.jsx)("meta",{property:"og:type",content:g}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("meta",{property:"og:url",content:"".concat("https://www.pggoodeveryday.com").concat(x.asPath)}),(0,r.jsx)("link",{rel:"canonical",href:"".concat("https://www.pggoodeveryday.com").concat(1===v.length?"":v)})]})]}),h&&(0,r.jsx)(d.Z,{router:x,headline:t,description:a,image:s&&s.url}),f&&(0,r.jsx)("span",{role:"region","aria-labelledby":"title",children:(0,r.jsx)("span",{id:"title",className:" absolute -top-50 z-0",children:f&&(0,r.jsx)("h1",{className:"fixed -top-75 campaignTop text-16 w-auto text-white block",children:f})})})]})}p.propTypes={pageTitle:l().string,metaTitle:l().string,metaKeywords:l().string,metaTagKeywords:l().string,metaDescription:l().string,metaImage:l().shape({url:l().string}),openGraphPageTitle:l().string,openGraphDescription:l().string,openGraphSiteName:l().string,openGraphType:l().string,openGraphImage:l().shape({url:l().string}),addGenericSchema:l().bool,router:l().instanceOf(Object).isRequired,h1Text:l().string},p.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,s.withRouter)(p)},80558:function(e,t,n){"use strict";var r=n(85893);n(67294);var a=n(45697),i=n.n(a),o=n(9008),l=n.n(o),s=n(11163),d=n(29238),p=n.n(d);function c(e){let{router:t,headline:n,description:a,image:i,datePublished:o,pageType:s,publisherType:d,dateModified:c,videoSchemaData:m}=e,g=new Date(o),u=new Date(c),x="".concat(u.getFullYear(),"-").concat(u.getMonth()+1,"-").concat(u.getDate()),h="".concat(g.getFullYear(),"-").concat(g.getMonth()+1,"-").concat(g.getDate());return(0,r.jsxs)(l(),{children:[(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:p().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,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:p().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"!==s&&(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:p().sanitize('\n {\n "@context": "https://schema.org",\n "@type": "'.concat(s,'",\n ').concat("Article"===s?'"mainEntityOfPage": {\n "@type": "WebPage",\n "@id": "'.concat("https://www.pggoodeveryday.com").concat(null==t?void 0:t.asPath.split("?")[0],'"\n },'):"",'\n "').concat("Article"===s?"headline":"name",'": "').concat(n,'",\n "description": "').concat(a,'",\n ').concat(i?'"image": "'.concat(i,'",'):"",'\n "publisher": {\n "@type": "').concat(d,'",\n "name": "P&G Good Everyday"\n ').concat("ProfilePage"!==d?',"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(o?',"datePublished": "'.concat(h,'"'):"","\n ").concat(c?',"dateModified":"'.concat(x,'"'):"","\n }\n ")).replace(/\s+/g," ").trim()}}),m&&(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:p().sanitize('\n {\n "@context": "http://schema.org",\n "@type": "VideoObject",\n "name": "'.concat(m.name,'",\n "description": "').concat(m.description,'",\n "thumbnailUrl": "').concat(m.thumbnailUrl,'",\n "uploadDate": "').concat(m.uploadDate,'",\n "duration": "').concat(m.duration,'",\n "embedUrl": "').concat(m.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"===s&&(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:p().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(n,'", \n \n "description": "').concat(a,'", \n \n "image": "').concat(i,'", \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(x,'"\n \n } \n \n ')).replace(/\s+/g," ").trim()}})]})}c.propTypes={router:i().instanceOf(Object).isRequired,headline:i().string,description:i().string,image:i().string,datePublished:i().string,dateModified:i().string,pageType:i().string,publisherType:i().string,videoSchemaData:i().oneOfType([i().object])},c.defaultProps={description:"",image:null,headline:"",datePublished:"2020-01-14",pageType:"WebPage",publisherType:"ProfilePage",dateModified:null,videoSchemaData:null},t.Z=(0,s.withRouter)(c)},10486:function(e){"use strict";let t=e=>new Promise((t,n)=>{let r=new FileReader;r.onload=e=>{try{let n=new DataView(e.target.result);65496!==n.getUint16(0,!1)&&t(-2);let r=n.byteLength,a=2;for(;a<r;){let e=n.getUint16(a,!1);if(a+=2,65505===e){a+=2,1165519206!==n.getUint32(a,!1)&&t(-1);let e=18761===n.getUint16(a+=6,!1);a+=n.getUint32(a+4,e);let r=n.getUint16(a,e);a+=2;for(let i=0;i<r;i+=1)274===n.getUint16(a+12*i,e)&&t(n.getUint16(a+12*i+8,e))}else if(65280!==(e&&65280))break;else a+=n.getUint16(a,!1)}t(-1)}catch(e){n(e)}},r.readAsArrayBuffer(e.slice(0,65536))});e.exports={getCorrectedRotation:async e=>{let n=await t(e),r=!1;switch(n){case 2:case 4:case 5:case 7:r=!0}return{mirror:r,rotateDeg:0}},loader:e=>{let{src:t,quality:n}=e;return/\.(jpg||jpeg)$/.test(t)?"".concat(t,"?fm=webp&q=").concat(n||80):/\.(svg||gif||png)$/.test(t)?t:"".concat(t,"&q=").concat(n||80)}}},3128:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return z},default:function(){return F}});var r=n(85893),a=n(67294),i=n(45697),o=n.n(i),l=n(87364),s=n(13466),d=n(1822),p=n.n(d),c=n(41664),m=n.n(c),g=n(11163),u=n(9008),x=n.n(u),h=n(29323),f=n(89459),b=n(35941),w=n(28275),v=n(71191),y=n(33555),j=n(13633),S={backgroundWrapper:"background-wrapper absolute top-95px lg:top-95 w-full",content:{pageTitle:"page-title relative text-center text-white pb-13 pt-18 lg:pt-30 lg:pb-20 xl:min-h-104 font-montserratSemiBold font-semibold text-30 lg:text-50 leading-wider lg:leading-leading60 ",bannerSection:"banner-section w-12/12 px-20 lg:px-20 mx-auto relative top-0 md:rounded-rewards",mainWrapper:"mt-10px md:mt-20px xl:mt-17px md:px-20",wrapper:"container mx-auto bg-rewardsBg md:bg-white",contentWrapper:"w-11/12 md:w-full mx-auto pt-15 xl:pt-20 pb-10 lg:pt-15 lg:px-35 text-center ",title:"font-bold text-18 xl:text-28 leading-wider",subTitle:"brand-subtitle font-light pt-10 xl:pt-10 mx-auto md:w-9/12 leading-lightmedium xl:text-18 xl:leading-widest"},bannerPGBrands:{pageTitle:"",bannerSection:"earnBannerWrapper banner-section container w-12/12 px-0 md:px-0 mx-auto relative top-0 md:rounded-rewards"},brandLogos:{brandWrapper:"mx-auto w-11/12 lg:w-9/12 justify-center pb-45 xl:pb-65 flex flex-wrap xl:w-800",logoMainWrapper:"cursor-pointer logo-main-wrapper overflow-hidden rounded-full",logoWrapper:"w-156 h-156 xl:w-200 xl:h-200 logoWrapper overflow-hidden",brandLogoWrapper:"relative flex flex-wrap",heartIconSVG:"absolute left-0 z-1 cursor-pointer xl:left-0 top-0 w-35 h-30 xl:w-38 xl:h-32",flipIconSVG:"absolute z-1 cursor-pointer bottom-0 w-25 h-20 xl:w-20 xl:h-15",logo:"p-15",ctaWrapper:"pt-35 xl:pt-50 w-full flex flex-wrap justify-center",ctaWrapperText:"pt-20 xl:pt-20 w-full flex flex-wrap justify-center",cta:"w-300 flex justify-center items-center min-h-41 lg:min-h-43 btn-brands btn-info-transparent",linkText:"underline font-semibold text-14 leading-lightmedium"},pgBrandsdasboard:{catalogSection:"w-full bg-rewardsBg mx-auto relative container",catalogTitleText:"w-full text-center px-0 md:w-11/12 font-montserratSemiBold font-bold text-18 leading-wider xl:text-28 xl:leading-wider pt-40 pb-10 xl:pt-58 xl:pb-20 mx-auto text-center ",catalogText:"font-montserratlight text-center font-light w-11/12 md:w-9/12 xl:w-7/12 mx-auto px-15 pb-40 xl:pb-55 xl:text-18 xl:leading-widest leading-lightmedium"},homeContainer:{sectionWrapper:"bg-bgcolor w-full md:px-0 container mx-auto pt-10 lg:pt-17 relative z-10",mainJoinWrapper:"flex flex-wrap w-full md:pt-20 lg:py-20 bg-white",joinusWrapper:"joinusWrapper lg:w-5/12 md:w-8/12 w-full px-30 md:px-0 mx-auto pt-30 pb-40 flex flex-wrap justify-center",joinusIconSVG:"w-79 h-79 xl:w-100 xl:h-100",cta:"w-300 min-h-43 flex justify-center items-center btn-brands btn-primary text-center"}};let L=new String('.PG-fullWrapper p{font-weight:300;padding-top:10px;font-size:16px;line-height:24px}.brand-subtitle a{text-decoration:underline;color:#267EA6}.btn-brands{font-weight:700;padding:5px 25px;font-size:1.25rem;line-height:27px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-appearance:none}.PGBrands-image img,.logoWrapper img,.brandPartnerImage img{position:unset!important;width:100%!important;height:inherit!important}.PGBrands-image span,.logoWrapper span,.brandPartnerImage span{padding:0!important;overflow:hidden}.logoWrapper img{padding:16px!important}.pgbrands-join-us h2{font-weight:700;font-size:1.125rem;line-height:36px;padding-bottom:15px}.textLarge{-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;width:290px;white-space:nowrap}.brand-subtitle p{padding-bottom:5px}[type="checkbox"]{opacity:0}[type="checkbox"]+.checkbox-custom-label{position:relative;left:-20px;padding-left:30px;cursor:pointer;display:inline-block;line-height:24px;z-index:-1}[type="checkbox"]+.checkbox-custom-label::before{content:"";position:absolute;left:0;top:0;width:20px;height:20px;border:1px solid#5e5e5e;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}[type="checkbox"]:checked+.checkbox-custom-label::before{content:"";position:absolute;left:0;top:0;width:20px;height:20px;border:1px solid#207f6f;background:#207f6f}[type="checkbox"]:checked+.checkbox-custom-label::after{content:"";position:absolute;left:6px;top:2px;width:8px;height:13px;border:2px solid#fff;border-width:0 2px 2px 0;-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform:rotate(45deg);background:#207f6f;opacity:1;-webkit-transition:all.3s ease;-moz-transition:all.3s ease;-o-transition:all.3s ease;transition:all.3s ease}[type="checkbox"]:not(:checked)+.checkbox-custom-label::after{content:"";position:absolute;left:6px;top:2px;width:8px;height:13px;border:2px solid#fff;border-width:0 2px 2px 0;-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform:rotate(45deg);background:#207f6f;opacity:0;-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0);transform:scale(0)}@media screen and (min-width:1280px){.PGBrands-image img{height:388px!important}.PG-fullWrapper p{padding-top:35px;font-size:1.125rem;line-height:30px}.pgbrands-join-us h2{font-size:1.75rem;line-height:36px;padding-bottom:20px}.brand-videoWrapper{min-width:100%;height:inherit;-o-object-fit:fill;object-fit:fill}}');L.__hash="554e45165069f4a6";var A=n(63404),T=n(25411),N=n(19567),k=n(78381),E=n(45029),I=n(94382),P=n(68032),O=n(45275),_=n(75883),B=n(26934),R=n(86661),C=n(8848);let G=e=>{var t,n,i,o,l,s,d,c,g,u,h,G,D,W,z,F,M,Z,q,U;let{pageTitle:V,pageBackground:H,bannerContent:K,ourFamilyTitle:Y,ourFamilyDescription:J,brandCategoryListCollection:Q,pgBrandList:X,showAll:$,showMore:ee,brandPartnershipsTitle:et,brandPartnershipsDescription:en,brandPartnershipListingCollection:er,pgBrandReceiptScanCollection:ea}=e,[ei,eo]=(0,a.useState)([]),[el,es]=(0,a.useState)(!1),[ed,ep]=(0,a.useState)(!1),{isDesktop:ec}=(0,_.Z)(),em=ec?T.DESKTOP_PER_PAGE:T.MOBILE_PER_PAGE,[eg,eu]=(0,a.useState)(),[ex,eh]=(0,a.useState)([]),[ef,eb]=(0,a.useState)(!1),[ew,ev]=(0,a.useState)(!1),[ey,ej]=(0,a.useState)(!1),[eS,eL]=(0,a.useState)(!1),[eA,eT]=(0,a.useState)(!1),[eN,ek]=(0,a.useState)(),eE=null==X?void 0:null===(t=X.receiptScanBrandCollectionCollection)||void 0===t?void 0:t.items.length,eI=[];null==X||null===(n=X.receiptScanBrandCollectionCollection)||void 0===n||n.items.forEach(e=>{var t;null==e||null===(t=e.brandCategoryCollection)||void 0===t||t.items.forEach(e=>{eI[e.name]=eI[e.name]?eI[e.name]+1:1})});let eP=async()=>{var e,t,n,r;window.innerWidth>=O.deviceWidth.largeScreenStart&&eg===T.MOBILE_PER_PAGE&&eu(T.DESKTOP_PER_PAGE);let a=[];ei.includes(T.CLEAR_ALL)||ei.includes(T.ALL)?ei.includes(T.ALL)?(a=null==X?void 0:null===(r=X.receiptScanBrandCollectionCollection)||void 0===r?void 0:null===(n=r.items)||void 0===n?void 0:n.filter(e=>e),eu(eE)):a=[]:(a=null==X?void 0:null===(t=X.receiptScanBrandCollectionCollection)||void 0===t?void 0:null===(e=t.items)||void 0===e?void 0:e.filter(e=>{var t,n;return(null==e?void 0:null===(t=e.brandCategoryCollection)||void 0===t?void 0:t.items.some(e=>ei.includes(e.name)))||(null===(n=I.default.profileData.traitFavoriteBrands)||void 0===n?void 0:n.includes(e.brandReferenceId))&&ei.includes("My Favorites")}),eu(eg)),I.default.profileData&&a.map(e=>{var t,n;return(null===(n=I.default.profileData)||void 0===n?void 0:null===(t=n.traitFavoriteBrands)||void 0===t?void 0:t.includes(e.brandReferenceId))?(e.traitValue=e.name,e):""}),ek(a),(0,R.JD)(C.Hve)},eO=async e=>{if(!(0,N.oZ)("localStorage")){I.default.showCookiesDisabledodal=!0;return}if(ej(!0),eb(e.id),ev(!0),I.default.rewardStatus){var t;await (0,B.FZ)();let n=e.brandReferenceId.toString();if(null===(t=I.default.profileData)||void 0===t?void 0:t.traitFavoriteBrands.includes(n)){let t=await (0,N.wY)(n),{traitFavoriteBrands:r}=I.default.profileData;200===t.status?(eN.map(e=>(delete e.traitValue,e)),r=""!==r?r.split(",").filter(e=>e.trim()!==n):"",I.default.profileData.traitFavoriteBrands=r.toString(),(0,R.JD)(C._A2,e,t)):I.default.showErrorModal=!0}else{let t=await (0,N.uf)(n),{traitFavoriteBrands:r}=I.default.profileData;200===t.status?(r=""!==r?r.concat(",".concat(n)):n,I.default.profileData.traitFavoriteBrands=r,(0,R.JD)(C.eNV,e,t)):I.default.showErrorModal=!0}}else I.default.context=T.loginContextText.pgBrandLanding,I.default.showSignInPopup=!0;eP(),ev(!1),eb(null),ej(!1)},e_=e=>{let t=ex.indexOf(e);-1===t?eh([e,...ex]):(ex.splice(t,1),eh([...ex]))},eB=()=>{if(I.default.rewardStatus){var e,t;let n=0;return null==X||null===(t=X.receiptScanBrandCollectionCollection)||void 0===t||null===(e=t.items)||void 0===e||e.forEach(e=>{var t;(null===I.default||void 0===I.default?void 0:null===(t=I.default.profileData)||void 0===t?void 0:t.traitFavoriteBrands.includes(null==e?void 0:e.brandReferenceId.toString()))&&(n+=1)}),n}return null},eR=Q.items.map((e,t)=>({id:t,value:e.categoryId,name:"".concat(e.categoryTitle),innerText:e.categoryTitle!==T.CLEAR_ALL?"".concat(e.categoryTitle," (").concat(e.categoryTitle===T.ALL?eE:(e.categoryTitle===T.MY_FAVORITES?eB():eI[e.categoryTitle])||0,")"):e.categoryTitle})),eC=e=>{let t=e&&e.getBoundingClientRect();return t&&t.top>=0&&t.left>=0&&Math.floor(t.bottom)<=(window.innerHeight||document.documentElement.clientHeight)&&Math.floor(t.right)<=(window.innerWidth||document.documentElement.clientWidth)},eG=()=>{eC(document.getElementById("loadMoreBrands"))?eL(!0):eL(!1)};return(0,a.useEffect)(()=>(eo([T.FEATURED]),eP(),eu(ec?T.DESKTOP_PER_PAGE:T.MOBILE_PER_PAGE),window.addEventListener("scroll",()=>eG()),window.removeEventListener("scroll",()=>eG())),[]),(0,a.useEffect)(()=>{eP()},[I.default.rewardStatus]),(0,a.useEffect)(()=>{eP(),ec?eA?eu(T.DESKTOP_FOR_ALL):eu(T.DESKTOP_PER_PAGE):eA?eu(T.MOBILE_FOR_ALL):eu(T.MOBILE_PER_PAGE)},[ei,ec]),(0,a.useEffect)(()=>{eS&&setTimeout(()=>{(el||eA)&&(ec?eu(eg+T.DESKTOP_PER_PAGE):eu(eg+T.MOBILE_PER_PAGE)),eL(!1)},1e3)},[eS]),(0,r.jsxs)("div",{className:"",children:[(0,r.jsxs)(x(),{children:[(null==K?void 0:null===(i=K.posterImage)||void 0===i?void 0:i.smartphoneImage)&&(0,r.jsx)("link",{rel:"preload",media:"(max-width: 768px) and (min-width: 300px)",as:"image",href:(0,k.AR)(null==K?void 0:null===(l=K.posterImage)||void 0===l?void 0:null===(o=l.smartphoneImage)||void 0===o?void 0:o.url)}),(null==K?void 0:null===(s=K.posterImage)||void 0===s?void 0:s.desktopImage)&&(0,r.jsx)("link",{rel:"preload",media:"(max-width: 768px) and (min-width: 300px)",as:"image",href:(0,k.AR)(null==K?void 0:null===(c=K.posterImage)||void 0===c?void 0:null===(d=c.desktopImage)||void 0===d?void 0:d.url)}),(null==K?void 0:null===(g=K.posterImage)||void 0===g?void 0:g.tabletImage)&&(0,r.jsx)("link",{rel:"preload",media:"(max-width: 768px) and (min-width: 300px)",as:"image",href:(0,k.AR)(null==K?void 0:null===(h=K.posterImage)||void 0===h?void 0:null===(u=h.tabletImage)||void 0===u?void 0:u.url)}),(null==K?void 0:null===(G=K.image)||void 0===G?void 0:G.smartphoneImage)&&(0,r.jsx)("link",{rel:"preload",media:"(max-width: 768px) and (min-width: 300px)",as:"image",href:(0,k.AR)(null==K?void 0:null===(W=K.image)||void 0===W?void 0:null===(D=W.smartphoneImage)||void 0===D?void 0:D.url)}),(null==K?void 0:null===(z=K.image)||void 0===z?void 0:z.desktopImage)&&(0,r.jsx)("link",{rel:"preload",media:"(min-width: 769px)",as:"image",href:(0,k.AR)(null==K?void 0:null===(M=K.image)||void 0===M?void 0:null===(F=M.desktopImage)||void 0===F?void 0:F.url)}),(null==H?void 0:H.smartphoneImage)&&(0,r.jsx)("link",{rel:"preload",media:"(max-width: 768px) and (min-width: 300px)",as:"image",href:(0,k.AR)(null==H?void 0:null===(Z=H.smartphoneImage)||void 0===Z?void 0:Z.url)}),(null==H?void 0:H.desktopImage)&&(0,r.jsx)("link",{rel:"preload",media:"(min-width: 769px)",as:"image",href:(0,k.AR)(null==H?void 0:null===(q=H.desktopImage)||void 0===q?void 0:q.url)}),null==X?void 0:null===(U=X.receiptScanBrandCollectionCollection)||void 0===U?void 0:U.items.map((e,t)=>{var n,a;return(0,r.jsx)("link",{rel:"preload",as:"image",href:(0,k.AR)(null==e?void 0:null===(n=e.hoverLogo)||void 0===n?void 0:n.url)},(null==e?void 0:null===(a=e.sys)||void 0===a?void 0:a.id)||t)})]}),(0,r.jsxs)("div",{className:"bg-bgcolor",children:[(0,r.jsx)("div",{className:S.backgroundWrapper||"",children:H&&(0,r.jsx)(f.Z,{className:"w-full",...H})}),(0,r.jsx)("div",{className:"bg-primary",children:(0,r.jsx)("div",{className:S.content.pageTitle||"",children:V&&(0,r.jsxs)("h2",{children:[V," "]})})}),(0,r.jsx)("div",{className:S.content.bannerSection||"",children:(()=>{switch(null==K?void 0:K.__typename){case"Callout":case"VideoContent":return(0,r.jsx)("div",{className:S.bannerPGBrands.bannerSection,children:(0,r.jsx)(E.Z,{...K,styles:"PGBrands-feature-Card",pageSource:A.rewardsDashboard})});default:return null}})()}),(0,r.jsxs)("div",{id:"brandListSection",className:S.content.mainWrapper||"",children:[(0,r.jsxs)("div",{className:S.content.wrapper||"",children:[(0,r.jsxs)("div",{className:S.content.contentWrapper||"",children:[(0,r.jsx)("h2",{className:S.content.title||"",children:Y}),(0,r.jsx)("div",{className:S.content.subTitle||"",children:(0,r.jsx)(y.Z,{body:null==J?void 0:J.body})})]}),(0,r.jsx)("div",{children:(0,r.jsx)("div",{className:"w-330 mx-auto pb-10",children:(0,r.jsx)(P.Z,{title:ei,list:eR,name:"brandCategory",pageSource:"pgBrandSelect",onSelectChange:(e,t,n,r)=>{(t[e].name===T.ALL||t[e].name!==T.CLEAR_ALL&&t.length===ei.length+3)&&r?(t.map(e=>e.name!==T.CLEAR_ALL?e.name:"").filter(e=>void 0!==e),eo([T.ALL]),es(!0)):t[e].name===T.CLEAR_ALL&&r?eo([T.CLEAR_ALL]):!ei.includes(t[e].name)&&r?((ei.includes(T.CLEAR_ALL)||ei.includes(T.ALL))&&ei.splice(ei.indexOf(t[e].name),1),ei.includes(T.FEATURED)&&!ed&&(ei.splice(ei.indexOf(t[e].name),1),ep(!0)),eo([...ei,t[e].name])):!r&&ei.indexOf(t[e].name)>=0&&(t[e].name===T.ALL||1===ei.length?eo([T.FEATURED]):(ei.includes(T.ALL)&&ei.splice(ei.indexOf(T.ALL),1),ei.splice(ei.indexOf(t[e].name),1),eo([...ei])))},isCheckBox:!0})})}),(0,r.jsx)("div",{className:S.content.mainWrapper||"",children:(null==eN?void 0:eN.length)>0?(0,r.jsxs)("div",{className:S.brandLogos.brandWrapper||"",children:[null==eN?void 0:eN.map((e,t)=>{var n;let a=-1!==ex.indexOf(e.id);return t<eg?(0,r.jsxs)("div",{className:S.brandLogos.brandLogoWrapper||"",children:[(0,r.jsx)("div",{className:"overflow-hidden absolute h-50 w-40 -left-1 xl:left-8 z-9",children:(0,r.jsxs)(j.Z,{"aria-label":"heart icon",disabled:ew,onClick:()=>eO(e),className:"focus:border-black relative w-40 h-32 top-18",children:[(0,r.jsx)(b.default,{className:S.brandLogos.heartIconSVG,color:(0,w.Z)("Red"),name:"spinner",spanStyle:ey&&ef===e.id?"":"hidden"}),(0,r.jsx)(b.default,{className:S.brandLogos.heartIconSVG,color:(null==e?void 0:e.traitValue)?(0,w.Z)("Red"):"",name:"pgBrandsHeart",spanStyle:ey&&ef===e.id?"hidden":""})]})}),ec?(0,r.jsx)("div",{onMouseEnter:()=>e_(null==e?void 0:e.id),onMouseLeave:()=>e_(null==e?void 0:e.id),className:S.brandLogos.logoMainWrapper||"",children:(0,r.jsx)(f.Z,{className:"".concat(S.brandLogos.logoWrapper),altText:e.name,image:(null==e?void 0:e.hoverLogo)&&a?e.hoverLogo:e.logo,disabled:ew},e.sys.id)}):(0,r.jsx)(j.Z,{className:S.brandLogos.logoMainWrapper,onClick:()=>e_(null==e?void 0:e.id),children:(0,r.jsx)(f.Z,{altText:e.name,className:S.brandLogos.logoWrapper,image:(null==e?void 0:e.hoverLogo)&&a?e.hoverLogo:e.logo,disabled:ew},e.sys.id)}),(0,r.jsx)("div",{className:"overflow-hidden absolute h-45 w-45 z-9 bottom-0 right-0",children:(0,r.jsx)(j.Z,{"aria-label":"flip icon",className:"focus:border-black relative w-20 h-20 -right-16 md:-right-10",onClick:()=>e_(null==e?void 0:e.id),children:(0,r.jsx)(b.default,{className:S.brandLogos.flipIconSVG,name:"pgBrandsFlip"})})})]},"".concat((null==e?void 0:null===(n=e.sys)||void 0===n?void 0:n.id)||t,"-div")):null}),eg<eN.length&&!eA&&!el&&(0,r.jsx)("div",{className:S.brandLogos.ctaWrapper||"",children:(0,r.jsx)(v.Z,{...ee,handler:()=>{eu(eg+em)},className:S.brandLogos.cta})}),eN.length!==eE&&(0,r.jsx)("div",{className:S.brandLogos.ctaWrapperText||"",children:(0,r.jsx)(v.Z,{...$,handler:()=>{setTimeout(()=>{let e=document.getElementById("brandListSection").getBoundingClientRect().top+window.pageYOffset+-70;window.scrollTo({top:e,behavior:"smooth"})}),eT(!0),eo([T.ALL])},className:S.brandLogos.linkText,extraTitle:eE})}),eg<eN.length&&(eA||el)&&(0,r.jsx)("div",{className:"w-full flex justify-center items-center mx-auto",children:(0,r.jsx)(b.default,{name:"spinnerCoral",className:"mt-20px w-40"})}),(0,r.jsx)("div",{id:"loadMoreBrands"})]}):(0,r.jsx)("div",{className:"w-full px-20 text-center py-30",children:ei.includes(T.MY_FAVORITES)?T.NO_FAV_FOUND:T.NOTHING_TO_SHOW})})]}),(0,r.jsxs)("div",{id:"brandPartnerships",className:"mt-10px md:mt-20px xl:mt-17px md:px-20 bg-rewardsBg pb-50",children:[(0,r.jsx)("h2",{className:S.pgBrandsdasboard.catalogTitleText||"",children:et}),(0,r.jsx)("p",{className:S.pgBrandsdasboard.catalogText||"",children:null==en?void 0:en.body}),(0,r.jsx)("div",{className:"flex flex-wrap relative lg:w-730 w-full md:w-630 mx-auto px-45 pb-40 md:pb-0 md:px-0",children:er.items.map(e=>(0,r.jsxs)("div",{className:"bg-white shadow-rewardsTile items-center w-full lg:w-330 md:w-280 md:mx-8px lg:mx-11px lg:my-11px justify-center my-10px md:my-8px block relative ",children:[(0,r.jsx)("div",{className:"px-0 brandPartnerImage min-h-130 lg:min-h-170 relative",children:(0,r.jsx)(f.Z,{className:"w-full",...e.image})}),(0,r.jsxs)("div",{className:"px-20 min-h-140 xl:px-25 py-20",children:[(0,r.jsxs)("div",{className:"min-h-80 pb-25",children:[(0,r.jsx)("h3",{className:"text-16 leading-widest text-purple font-semibold",children:e.title}),(0,r.jsx)("p",{className:"text-16 leading-light font-semibold",children:e.subTitle})]}),e.callToActionsCollection.items.map((t,n)=>{var a;return(0,r.jsx)("div",{className:"absolute bottom-15",children:(0,r.jsxs)(m(),{href:t.link,children:[(0,r.jsx)("span",{className:"underline text-14 font-semibold leading-lightmedium",children:t.linkText}),(0,r.jsx)(b.default,{name:e.iconName?e.iconName:"arrowHome",className:"inherit ml-10px"})]})},(null==t?void 0:null===(a=t.sys)||void 0===a?void 0:a.id)||n)})]})]},"".concat(e.sys.id,"-brandParter")))})]}),(0,r.jsx)("div",{id:"brandReceiptScan",className:S.homeContainer.sectionWrapper||"",children:(0,r.jsx)("div",{className:S.homeContainer.mainJoinWrapper||"",children:(0,r.jsxs)("div",{className:S.homeContainer.joinusWrapper||"",children:[(0,r.jsx)(b.default,{className:S.homeContainer.joinusIconSVG,name:"scanReceipt"}),ea&&ea.items.map((e,t)=>{switch(e.__typename){case"ContentTypeRichText":return(0,a.createElement)(y.Z,{...e,key:e&&e.sys&&e.sys.id||"".concat(t,"-richtext"),pageSource:A.PGBrands,variant:"pgbrands-join-us"});case"LinkButton":return(0,a.createElement)(v.Z,{...e,className:S.homeContainer.cta,key:e&&e.sys&&e.sys.id||"".concat(t,"-button"),pageSource:A.rewardsDashboard})}return null})]})})})]}),(0,r.jsx)(p(),{id:L.__hash,children:L})]})]})};G.propTypes={pageTitle:o().string.isRequired,pageBackground:o().instanceOf(Object).isRequired,bannerContent:o().instanceOf(Object).isRequired,showAll:o().instanceOf(Object),showMore:o().instanceOf(Object),pgBrandReceiptScanCollection:o().instanceOf(Object).isRequired,brandCategoryListCollection:o().instanceOf(Object).isRequired,pgBrandList:o().instanceOf(Object).isRequired,ourFamilyTitle:o().string,ourFamilyDescription:o().instanceOf(Object),brandPartnershipsTitle:o().string,brandPartnershipsDescription:o().instanceOf(Object),brandPartnershipListingCollection:o().instanceOf(Object),router:o().instanceOf(Object),header:o().oneOfType([o().object]),siteSettings:o().oneOfType([o().object])},G.defaultProps={showAll:null,showMore:null,ourFamilyTitle:null,ourFamilyDescription:null,brandPartnershipsTitle:null,brandPartnershipsDescription:null,brandPartnershipListingCollection:null,router:null,header:null,siteSettings:null};var D=(0,g.withRouter)((0,h.Pi)(G));let W=e=>{let{layoutData:t,page:n}=e;return(0,r.jsxs)(l.Z,{...t,children:[(0,r.jsx)(s.Z,{...n.pageMetaData}),(0,r.jsx)(D,{...n,...t})]})};W.propTypes={layoutData:o().instanceOf(Object).isRequired,page:o().instanceOf(Object).isRequired};var z=!0,F=W}},function(e){e.O(0,[3662,724,1216,5814,1055,3495,1191,6839,6716,8743,7364,5218,5029,2888,9774,179],function(){return e(e.s=93133)}),_N_E=e.O()}]);