(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8735],{71570:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/rebates",function(){return n(49711)}])},78381:function(e,t,n){"use strict";n.d(t,{AR:function(){return s},ZZ:function(){return o}});var a=n(43631),r=n(96486),i=n.n(r);let l=(0,a.qY)(),o=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==l?void 0:l.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"):""},89459:function(e,t,n){"use strict";var a=n(85893);n(67294);var r=n(45697),i=n.n(r),l=n(1216),o=n(25675),s=n.n(o),c=n(25967),d=n.n(c),p=n(78381),u=n(63266),g=n(10486),m=n(86661),h=n(8848);let x=e=>{let{altText:t,image:n,desktopImage:r,smartphoneImage:i,tabletImage:o,tooltip:c,className:x,lazyLoad:f,lazyloadOffset:b,priority:w,name:y}=e,v=e=>"false"!==f?(0,a.jsx)(l.ZP,{offset:b,children:e}):e,j=()=>{(0,m.cl)(h.knq,{})},T=e=>{(0,m.cl)(h.OfS,{imageDetails:{desktopImage:r,smartphoneImage:i,tabletImage:o,image:n},pageUrl:e.currentTarget.baseURI})};if(null==n?void 0:n.url){let e="";return e=n.url.includes("/coupons/")?"".concat(u.Z.imageSuffix).concat(n.url):"".concat(n.url),v((0,a.jsx)("div",{className:x||"w-full",children:(0,a.jsx)(s(),{src:(0,p.ZZ)(e,{w:n.width},10),alt:null!==t?"".concat(t.trim()):"".concat(y),width:n.width||275,height:n.height||117,tooltip:c,loader:g.loader,priority:w,onLoad:j,onError:T})}))}return v((0,a.jsxs)("picture",{children:[(0,a.jsx)("source",{media:"(max-width: 580px)",srcSet:(0,p.AR)(i&&i.url)}),(0,a.jsx)("source",{media:"(max-width:".concat(d().smartPhoneWidth,"px)"),srcSet:(0,p.AR)(i&&i.url,768)}),(0,a.jsx)("source",{media:"(max-width:".concat(d().tabletWidth,"px)"),srcSet:(0,p.AR)(o&&o.url,1024)}),(0,a.jsx)("source",{srcSet:(0,p.AR)(r&&r.url)}),(0,a.jsx)("img",{className:x,src:(0,p.AR)(r&&r.url,1440),alt:null!==t?"".concat(t.trim()):"".concat(y),width:(null==r?void 0:r.width)||1440,height:(null==r?void 0:r.height)||400,onLoad:j,onError:T})]}))};x.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},x.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=x},13466:function(e,t,n){"use strict";var a=n(85893);n(67294);var r=n(9008),i=n.n(r),l=n(45697),o=n.n(l),s=n(11163),c=n(80558);function d(e){let{pageTitle:t,metaTitle:n,metaDescription:r,metaKeywords:l,metaTagKeywords:o,metaImage:s,openGraphPageTitle:d,openGraphDescription:p,openGraphImage:u,openGraphSiteName:g,openGraphType:m,router:h,addGenericSchema:x,h1Text:f}=e,b=h.asPath,w=b.indexOf("?")>-1?b.substr(0,b.indexOf("?")):b,y="/"!==w[w.length-1]?"".concat(w,"/"):w;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(i(),{children:[(0,a.jsx)("title",{children:t}),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,a.jsx)("meta",{name:"title",content:n}),(l||o)&&(0,a.jsx)("meta",{name:"keywords",content:"".concat(l||"").concat(o||"")}),r&&(0,a.jsx)("meta",{name:"description",content:r}),s&&(0,a.jsx)("meta",{name:"image",content:s.url}),d&&(0,a.jsx)("meta",{property:"og:title",content:n}),p&&(0,a.jsx)("meta",{property:"og:description",content:r}),u&&(0,a.jsx)("meta",{property:"og:image",content:u.url}),g&&(0,a.jsx)("meta",{property:"og:site_name",content:g}),m&&(0,a.jsx)("meta",{property:"og:type",content:g}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{property:"og:url",content:"".concat("https://www.pggoodeveryday.com").concat(h.asPath)}),(0,a.jsx)("link",{rel:"canonical",href:"".concat("https://www.pggoodeveryday.com").concat(1===y.length?"":y)})]})]}),x&&(0,a.jsx)(c.Z,{router:h,headline:t,description:r,image:s&&s.url}),f&&(0,a.jsx)("span",{role:"region","aria-labelledby":"title",children:(0,a.jsx)("span",{id:"title",className:" absolute -top-50 z-0",children:f&&(0,a.jsx)("h1",{className:"fixed -top-75 campaignTop text-16 w-auto text-white block",children:f})})})]})}d.propTypes={pageTitle:o().string,metaTitle:o().string,metaKeywords:o().string,metaTagKeywords:o().string,metaDescription:o().string,metaImage:o().shape({url:o().string}),openGraphPageTitle:o().string,openGraphDescription:o().string,openGraphSiteName:o().string,openGraphType:o().string,openGraphImage:o().shape({url:o().string}),addGenericSchema:o().bool,router:o().instanceOf(Object).isRequired,h1Text:o().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,s.withRouter)(d)},80558:function(e,t,n){"use strict";var a=n(85893);n(67294);var r=n(45697),i=n.n(r),l=n(9008),o=n.n(l),s=n(11163),c=n(29238),d=n.n(c);function p(e){let{router:t,headline:n,description:r,image:i,datePublished:l,pageType:s,publisherType:c,dateModified:p,videoSchemaData:u}=e,g=new Date(l),m=new Date(p),h="".concat(m.getFullYear(),"-").concat(m.getMonth()+1,"-").concat(m.getDate()),x="".concat(g.getFullYear(),"-").concat(g.getMonth()+1,"-").concat(g.getDate());return(0,a.jsxs)(o(),{children:[(0,a.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,a.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"!==s&&(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:d().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(r,'",\n                ').concat(i?'"image": "'.concat(i,'",'):"",'\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(l?',"datePublished": "'.concat(x,'"'):"","\n                ").concat(p?',"dateModified":"'.concat(h,'"'):"","\n            }\n        ")).replace(/\s+/g," ").trim()}}),u&&(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:d().sanitize('\n          {\n           "@context": "http://schema.org",\n           "@type": "VideoObject",\n           "name": "'.concat(u.name,'",\n           "description": "').concat(u.description,'",\n           "thumbnailUrl": "').concat(u.thumbnailUrl,'",\n           "uploadDate": "').concat(u.uploadDate,'",\n           "duration": "').concat(u.duration,'",\n           "embedUrl": "').concat(u.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,a.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(n,'", \n              \n                "description": "').concat(r,'", \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(x,'",\n                "dateModified":"').concat(h,'"\n              \n              } \n                                              \n          ')).replace(/\s+/g," ").trim()}})]})}p.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])},p.defaultProps={description:"",image:null,headline:"",datePublished:"2020-01-14",pageType:"WebPage",publisherType:"ProfilePage",dateModified:null,videoSchemaData:null},t.Z=(0,s.withRouter)(p)},10486:function(e){"use strict";let t=e=>new Promise((t,n)=>{let a=new FileReader;a.onload=e=>{try{let n=new DataView(e.target.result);65496!==n.getUint16(0,!1)&&t(-2);let a=n.byteLength,r=2;for(;r<a;){let e=n.getUint16(r,!1);if(r+=2,65505===e){r+=2,1165519206!==n.getUint32(r,!1)&&t(-1);let e=18761===n.getUint16(r+=6,!1);r+=n.getUint32(r+4,e);let a=n.getUint16(r,e);r+=2;for(let i=0;i<a;i+=1)274===n.getUint16(r+12*i,e)&&t(n.getUint16(r+12*i+8,e))}else if(65280!==(e&&65280))break;else r+=n.getUint16(r,!1)}t(-1)}catch(e){n(e)}},a.readAsArrayBuffer(e.slice(0,65536))});e.exports={getCorrectedRotation:async e=>{let n=await t(e),a=!1;switch(n){case 2:case 4:case 5:case 7:a=!0}return{mirror:a,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)}}},49711:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return D},default:function(){return M}});var a=n(85893),r=n(67294),i=n(45697),l=n.n(i),o=n(1822),s=n.n(o),c=n(41664),d=n.n(c),p=n(29323),u=n(11163),g=n(94382),m={backgroundWrapper:"background-wrapper absolute top-105px lg:top-95 w-full",backArrowIcon:"arrowIcon rewardsListingHeader relative md:absolute block flex items-center top-10 md:top-17 lg:top-30 left-5 md:left-10 w-20 lg:left-10 lg:right-0 lg:px-20",content:{wrapper:"container mx-auto md:px-20 relative bg -bgcolor",pageTitle:"page-title relative text-center text-white pb-13 pt-18 lg:pt-30 lg:pb-20 xl:min-h-104 lg:leading-headerline font-montserratSemiBold font-semibold text-30 lg:text-50 leading-wider ",bannerSection:"banner-section container bg-rewardsBg  md:px-40 lg:px-20 mx-auto relative top-0 pb-35 md:pb-40 xl:pb-60",mainBannerSection:"banner-section w-full mx-auto relative container top-0 md:rounded-rewards flex flex-wrap md:px-20 pt-27",textDescription:"font-montserratlight textDescription break-words font-light text-center w-11/12 xl:w-9/12 xxl:w-8/12 mx-auto px-02 md:px-0 pt-20 md:pt-20 xl:pt-30 text-16 xl:text-18 leading-lightmedium xl:leading-widest",anchorText:"font-montserratSemiBold font-semibold underline block md:inline"},rebates:{title:"w-full text-center pb-05 px-10 font-montserratSemiBold font-semibold text-14 leading-lightmedium",iFramewrapper:"relative w-full flex flex-wrap justify-center md:justify-start xl:w-10/12 pl-20 pr-20 mx-auto pb-20",iFrameMainWrapper:"absolute h-full flex items-center justify-center inset-x-0",noRebateswrapper:"relative w-full xl:w-10/12 pt-35 pb-45 md:py-85 xl:py-75 mx-auto pb-20 bg-white flex flex-wrap justify-center",selectWrapper:"w-full md:w-6/12 xl:w-5/12 xxl:w-4/12 mx-auto px-20 mb-17 md:mb-25"},rebatesModal:{wrapper:"wrapperdefault rewardsModalIE top-0 fixed flex flex-wrap pt-05 pr-14 md:pt-15 bg-hambergerbg items-center justify-center md:inset-0  xl:pb-197 xl:pt-205 xl:itemscenter lg:itemscenter h-full md:overflow-y-auto w-full z-20",modalWrapper:" font-montserratlight font-light fixed rewardsModalWrapper pt-60 xl:pt-93 w-10/12 h-427 md:hauto md:w-394 xl:w-660 px-10 pb-50 xl:pb-160 mx-auto mb-3 bg-white shadow-cardshadow text-center mx-auto lg:h-455 ",cancel:"flex justify-end pt-20 pr-23 focus:outline-none",modalText:"redeem-success pb-20 w-11/12 md:w-10/12 xl:w-7/12 xl:px-10 mx-auto font-montserratlight font-light lg:text-18 leading-lightmedium lg:leading-widest",modalSignUpBtn:""},noRebates:{textWrapper:"noRebates-Header w-11/12 md:w-9/12 xl:w-8/12 px-25 md:px-10 font-montserratlight font-light xl:text-18 leading-lightmedium xl:leading-widest pb-18 xl:pb-30 text-center mx-auto"},rewardsEarnCards:{rewardTileWrapper:"startearningTileWrapper relative shadow-none mb-17px mx-10px md:shadow-articalmd bg-white md:w-280 lg:w-260 block xl:w-283 xxl:w-330"}},h=n(63404),x=n(89459),f=n(45029),b=n(33555),w=n(71191),y=n(35941),v=n(565);let j=new String(".noRebates-Header h2{font-weight:600;line-height:42px;font-size:1.875rem;padding-bottom:10px}.textDescription p{padding-bottom:5px}.textDescription p span{font-size:14px;padding-top:10px;display:block}.textDescription h2{font-size:1.5rem;line-height:29px;padding-bottom:20px;font-weight:600}@media screen and (max-width:600px){.rebatesHeight{min-height:4500px}}@media screen and (max-width:1023px){.noRebates-Header h2{font-weight:600;line-height:29px;font-size:1.5rem;padding-bottom:15px}.rebatesHeight{min-height:2750px}}@media screen and (min-width:1024px){.textDescription h2{font-size:32px;line-height:42px;width:91%;margin:0 auto}}");j.__hash="19ec23c21de53842";var T=n(36232),S=n(50298),N=n.n(S),k=n(3868),R=n(25411),P=n(86661),_=n(8848),O=(0,u.withRouter)((0,p.Pi)(e=>{let{selectedContent:t,rebatesLoggedOutContentCollection:n,contextualLoginText:i}=e,l=(0,r.useRef)(null),o=(0,r.useRef)(null),[s,c]=(0,r.useState)(!1);(0,r.useEffect)(()=>{var e,t;g.default.rewardStatus?null==l||null===(e=l.current)||void 0===e||e.setAttribute("style","display:none"):null==l||null===(t=l.current)||void 0===t||t.setAttribute("style","display:flex")},[g.default.rewardStatus]);let d=t?null==t?void 0:t.rebatesUrl:null==t?void 0:t.rebatesUrlNonProd;return(0,a.jsxs)(a.Fragment,{children:[s&&!g.default.userLoggedIn&&(0,a.jsx)("div",{className:m.rebatesModal.wrapper,children:(0,a.jsx)("div",{className:m.rebatesModal.modalWrapper,children:n&&n.items&&n.items.map(e=>{switch(e.__typename){case"ContentTypeRichText":return(0,a.jsx)("div",{className:m.rebatesModal.modalText,children:(0,r.createElement)(b.Z,{...e,key:e&&e.sys&&e.sys.id})});case"LinkButton":return(0,a.jsx)("div",{className:"pb-20 pt-05",children:(0,a.jsx)(w.Z,{...e,pageSource:h.rebates,className:m.rebatesModal.modalSignUpBtn,link:"SIGN UP"===e.linkText?null:e.link,handler:()=>{let t=N().rebates;if("LOG IN"===e.linkText){var n,a;c(!1),g.default.context=i,(0,k.gu)(R.oktaLogin,null===(a=window)||void 0===a?void 0:null===(n=a.location)||void 0===n?void 0:n.href),g.default.redirectionUrlAfterSimplifiedSignup=t}else"SIGN UP"===e.linkText&&(g.default.simplifiedSignupFlow=!0,localStorage.setItem("redirectionUrlAfterSimplifiedSignup",t),(0,k.Ki)())}})})}return null})})}),(0,a.jsx)("button",{onClick:()=>{s||c(!0)},"aria-label":"rebate form",ref:l,disabled:g.default.userLoggedIn,"aria-disabled":g.default.userLoggedIn,className:m.rebates.iFrameMainWrapper,tabIndex:g.default.userLoggedIn?-1:0,type:"button"}),(0,a.jsx)("iframe",{ref:o,src:d,title:"rebates",width:"100%",className:"rebatesHeight",tabIndex:-1,"aria-hidden":"true",height:t&&t.rebatesHeight||3900,onLoad:()=>{(0,P.BB)(_.dOk),window.scrollTo({top:0}),g.default.rewardStatus?l.current.setAttribute("style","display:none"):l.current.setAttribute("style","display:flex")},onError:()=>{(0,P.BB)(_.mz0,d)}},t?null==t?void 0:t.rebatesUrl:null==t?void 0:t.rebatesUrlNonProd)]})})),I=n(85218),L=n(13633),A=n(19567);let G=e=>{var t,n,i;let{pageTitle:l,pageBackground:o,description:c,router:p,allRebatesCollection:u,rebatesTileCollection:S,didYouKnowCallout:N,noRebatesAvailableContentCollection:k,rebatesLoggedOutContentCollection:R,contextualLoginText:P}=e,_=(0,r.useRef)(null),G=u&&u.items&&u.items[0],[U,C]=(0,r.useState)(G),[E,q]=(0,r.useState)(!1),[D,M]=(0,r.useState)(!0);(0,r.useEffect)(()=>{var e;if(null===(0,T.ak)("rebate_name")&&M(!0),(null==S?void 0:null===(e=S.items)||void 0===e?void 0:e.length)===1&&p.push(S.items[0].link),(0,A.oZ)("sessionStorage")&&"undefined"!=typeof sessionStorage&&null!==sessionStorage.getItem("selectedRebate")&&C(JSON.parse(sessionStorage.getItem("selectedRebate"))),null!==(0,T.ak)("rebate_name")){let e=null==u?void 0:u.items.filter(e=>(null==e?void 0:e.rebatesHashedUrl)===(0,T.ak)("rebate_name"));e.length>0&&C(e[0])}if(null!==(0,T.ak)("rebate_name")){let e=null==u?void 0:u.items.filter(e=>(null==e?void 0:e.rebatesUtmUrl)===(0,T.ak)("rebate_name"));e.length>0?C(e[0]):p.push("/rebates/"),M(!1)}g.default.userLoggedIn&&q(!0)},[p.asPath]),(0,r.useEffect)(()=>{var e,t;g.default.rewardStatus?null==_||null===(e=_.current)||void 0===e||e.setAttribute("style","display:none"):null==_||null===(t=_.current)||void 0===t||t.setAttribute("style","display:flex")},[g.default.rewardStatus]);let W=e=>{var t,n;if("scrollTop"===(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.type)){let e=(null===(n=document.querySelector("img"))||void 0===n?void 0:n.height)||300;window.scrollTo({top:e+300,behavior:"smooth"})}};(0,r.useEffect)(()=>(g.default.userLoggedIn&&window.addEventListener("message",W,!1),()=>window.removeEventListener("message",W,!1)),[g.default.userLoggedIn]);let z=()=>{E||q(!0)};return(0,a.jsxs)("div",{"data-nosnippet":!0,className:"bg-bgcolor",children:[(0,a.jsx)("div",{className:m.backgroundWrapper||"",children:o&&(0,a.jsx)(x.Z,{priority:g.default.priority,className:"w-full",...o,altText:"page background"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"bg-secondary",children:(0,a.jsx)("h1",{className:m.content.pageTitle||"",children:l})}),(0,a.jsx)("div",{className:m.content.wrapper||"",children:(0,a.jsxs)("div",{className:m.content.bannerSection||"",children:[!D&&(0,a.jsx)("div",{className:"",children:(null==S?void 0:null===(t=S.items)||void 0===t?void 0:t.length)>1?(0,a.jsxs)(L.Z,{"aria-label":"arrow left",handler:()=>p.push((0,T.Mi)(p.asPath)),className:m.backArrowIcon,children:[(0,a.jsx)(y.default,{className:"w-13",name:"arrowLeftGray"}),(0,a.jsx)("span",{className:"underline font-semibold md:block pl-05 pt-02",children:"Back"})]}):""}),(0,a.jsx)("div",{className:m.content.textDescription||"",children:(0,a.jsx)(v.Z,{markdown:c,renderers:{link:e=>{let{href:t,children:n}=e;return(0,a.jsx)(d(),{href:t,passHref:!0,type:"button","aria-label":"Rebates",className:"font-semibold pl-05 text-darkBlue underline break-all",style:{textDecorationLine:"underline",fontWeight:"600"},children:n})}}})}),D&&(0,a.jsx)("div",{onClick:z,onKeyDown:z,role:"none",className:(u&&u.items&&u.items.length>0?m.rebates.iFramewrapper:m.rebates.noRebateswrapper)||"",children:(null==S?void 0:null===(n=S.items)||void 0===n?void 0:n.length)===1?(0,a.jsx)(O,{router:p,contextualLoginText:P,selectedContent:U,rebatesLoggedOutContentCollection:R,rebatesTileCollection:S}):(null==S?void 0:null===(i=S.items)||void 0===i?void 0:i.length)>1?(0,a.jsx)(a.Fragment,{children:S.items.map(e=>(0,a.jsx)("div",{className:m.rewardsEarnCards.rewardTileWrapper||"",children:(0,a.jsx)(I.Z,{pageSource:h.rebates,styles:"rebates-feature-promotions",...e,textIconName:"arrowHome"})}))}):k&&k.items&&k.items.map(e=>{switch(e.__typename){case"ContentTypeRichText":return(0,a.jsx)("div",{className:m.noRebates.textWrapper||"",children:(0,r.createElement)(b.Z,{...e,key:e&&e.sys&&e.sys.id})});case"LinkButton":return(0,a.jsx)("div",{className:"w-full flex justify-center",children:(0,a.jsx)(w.Z,{pageSource:h.rebates,...e})})}return null})}),!D&&(0,a.jsx)(O,{router:p,contextualLoginText:P,selectedContent:U,rebatesLoggedOutContentCollection:R,rebatesTileCollection:S})]})}),(0,a.jsx)("div",{children:N&&(0,a.jsx)(f.Z,{iconName:N.iconName,image:N.image,title:N.title,styles:"coupons-earnPoints",subTitle:N.subTitle,callToActionsCollection:N.callToActionsCollection,pageSource:h.coupons},N.sys&&N.sys.id)})]}),(0,a.jsx)(s(),{id:j.__hash,children:j})]})};G.propTypes={rebatesLink:l().string.isRequired,pageBackground:l().oneOfType([l().object]).isRequired,pageTitle:l().string.isRequired,didYouKnowCallout:l().instanceOf(Object).isRequired,allRebatesCollection:l().instanceOf(Object),description:l().string.isRequired,availableRebatesLabel:l().string,noRebatesAvailableContentCollection:l().instanceOf(Object).isRequired,rebatesLoggedOutContentCollection:l().instanceOf(Object).isRequired,rebatesNumber:l().string.isRequired,contextualLoginText:l().string.isRequired,pageSource:l().string.isRequired,href:l().string,children:l().string},G.defaultProps={availableRebatesLabel:"",allRebatesCollection:null,href:null,children:null};var U=(0,u.withRouter)((0,p.Pi)(G)),C=n(87364),E=n(13466);let q=e=>{let{layoutData:t,page:n}=e;return(0,a.jsxs)(C.Z,{...t,children:[(0,a.jsx)(E.Z,{...n.pageMetaData}),(0,a.jsx)(U,{...n,pageSource:"rebates"})]})};q.propTypes={layoutData:l().instanceOf(Object).isRequired,page:l().instanceOf(Object).isRequired};var D=!0,M=q}},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=71570)}),_N_E=e.O()}]);