1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9316],{17850:(e,s,r)=>{"use strict";r.d(s,{A:()=>t});var a=r(37876);let t=e=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 22 22","aria-hidden":"true",...e,children:(0,a.jsx)("path",{fill:"#FFB9CD",d:"M11 1.833A9.166 9.166 0 0 0 1.834 11 9.166 9.166 0 0 0 11 20.167 9.166 9.166 0 0 0 20.167 11 9.166 9.166 0 0 0 11 1.833m.018 14.209a.92.92 0 0 1-.92-.917c0-.506.405-.917.911-.917h.01a.916.916 0 1 1 0 1.834m1.452-4.558c-.67.45-.795.7-.818.765a.687.687 0 1 1-1.303-.438c.165-.495.595-.961 1.354-1.47.936-.627.816-1.315.777-1.54a1.53 1.53 0 0 0-1.202-1.215 1.48 1.48 0 0 0-1.237.325c-.346.29-.545.718-.545 1.173a.688.688 0 0 1-1.375 0c0-.863.378-1.674 1.037-2.227a2.88 2.88 0 0 1 2.36-.624c1.16.206 2.113 1.165 2.316 2.333.201 1.157-.284 2.194-1.364 2.918"})})},19528:(e,s,r)=>{"use strict";r.d(s,{Bg:()=>t,RA:()=>m,aT:()=>i,m0:()=>o,ph:()=>n,sG:()=>a,un:()=>d});let a="https://apps.apple.com/us/app/crumbl-cookies/id1438166219?ls=1&mt=8",t="https://play.google.com/store/apps/details?id=crumbl.cookies",l=()=>["tmobile-tuesday-oct-2024","/off-site/","/order/off-site","/flavor-vote","/flavour-vote"].some(e=>window.location.pathname.includes(e)),i=()=>{if(l())return!1;window.location.href=a},n=()=>
1{if(l())return!1;window.location.href=t},d=()=>"undefined"!=typeof navigator&&(navigator.userAgent.match("iPad")||navigator.userAgent.match("iPhone")||navigator.userAgent.match("iPod")),c=/Android/i,o=()=>"undefined"!=typeof navigator&&c.test(navigator.userAgent),m=()=>{d()?i():o()&&(window.location.href="intent://order/#Intent;package=crumbl.cookies;scheme=crumbl.cookies;action=android.intent.action.VIEW;S.browser_fallback_url=https://play.google.com/store/apps/details?id=crumbl.cookies;end")}},30114:(e,s,r)=>{"use strict";r.d(s,{e:()=>h});var a=r(37876),t=r(89033),l=r(54587),i=r.n(l),n=r(48230),d=r.n(n),c=r(14232),o=r(69936),m=r(4359),x=r(19528),p=r(83941);let h=e=>{let{children:s}=e,{t:r}=(0,t.Bd)("order"),[l,n]=(0,c.useState)(!1),[h,g]=(0,c.useState)(!1);return((0,c.useEffect)(()=>{n(!0);let e=!!(0,x.m0)(),s=!!(0,x.un)();g(e||s)},[]),l)?h?(0,a.jsx)(m.A,{onClick:()=>{(0,x.RA)()},children:s||(0,a.jsx)(o.A,{children:r("download_the_app")})}):(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d(),{href:x.Bg,children:(0,a.jsx)(i(),{src:p.Lm.playStoreBadge,alt:"Play Store button",width:168,height:50})}),(0,a.jsx)(d(),{href:x.sG,children:(0,a.jsx)(i(),{src:p.Lm.downloadAppStore,alt:"App Store button",width:154,height:50})})]}):(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)("div",{className:"w-[168px] h-[50px] bg-gray-200 rounded animate-pulse"}),(0,a.jsx)("div",{className:"w-[154px] h-[50px] bg-gray-200 rounded animate-pulse"})]})}},45621:(e,s,r)=>{"use strict";r.d(s,{A:()=>o});var a=r(37876),t=r(15039),l=r.n(t),i=r(51487),n=r(17850),d=r(69936),c=r(63318);function o(e){let{question:s,answer:r,homeRedesign:t=!1}=e,{trackSeoInteraction:o}=(0,c.Wx)();return(0,a.jsxs)("details",{className:l()("group border border-solid",t?"rounded-[10px] border-black/20 p-[15px]":"rounded-xl border-black/10 p-2.5 sm:p-4"),onToggle:e=>{e.currentTarget.open&&o("faq_expand",{module_name:"faq",question:s})},children:[(0,a.jsxs)("summary",{className:l()("flex cursor-pointer list-none [&::-webkit-details-marker]:hidden",t?"items-center gap-3":"items-start gap-2"),children:[(0,a.jsx)(n.A,{className:l()("text-primary flex-shrink-0",t?"size-[30px]":"w-6 h-6 sm:w-8 sm:h-8")}),(0,a.jsx)(d.A,{as:"div",variant:"lineItem",className:l()("flex-grow",t?"!text-[18px] !leading-5":"mt-0.5 sm:mt-1.5 sm:!text-[18px] sm:!leading-[20px] lg:!text-[20px] lg:!leading-[22px]"),children:(0,a.jsx)(m,{textWithHTML:s})}),(0,a.jsx)(i.A,{className:l()("flex-shrink-0 transition-transform group-open:rotate-90",t?"size-6":"w-5 h-5 mt-0.5 sm:mt-1.5")})]}),(0,a.jsx)("div",{className:"mx-8 sm:mx-10 border-t border-solid border-black/10 mt-2 sm:mt-4 py-2 sm:py-4",children:(0,a.jsx)(d.A,{as:"div",variant:"body2",className:"-mr-4 sm:!text-[18px] sm:!leading-[20px] lg:!text-[20px] lg:!leading-[22px]",children:(0,a.jsx)(m,{textWithHTML:r})})})]})}let m=e=>{let{textWithHTML:s=""}=e;return(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:s}})}},64507:(e,s,r)=>{"use strict";r.d(s,{A:()=>t});var a=r(37876);let t=e=>(0,a.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",...e,children:(0,a.jsx)("path",{d:"M21.6919 12.2871C21.6539 12.3791 21.599 12.462 21.53 12.531L14.53 19.531C14.384 19.677 14.192 19.751 14 19.751C13.808 19.751 13.616 19.678 13.47 19.531C13.177 19.238 13.177 18.763 13.47 18.47L19.1899 12.75H3C2.586 12.75 2.25 12.414 2.25 12C2.25 11.586 2.586 11.25 3 11.25H19.189L13.469 5.53005C13.176 5.23705 13.176 4.76202 13.469 4.46902C13.762 4.17602 14.237 4.17602 14.53 4.46902L21.53 11.469C21.599 11.538 21.6539 11.6209 21.6919 11.7129C21.7679 11.8969 21.7679 12.1031 21.6919 12.2871Z",fill:"currentColor"})})},69804:(e,s,r)=>{"use strict";r.r(s),r.d(s,{__N_SSG:()=>y,default:()=>j});var a=r(37876),t=r(15039),l=r.n(t),i=r(89033),n=r(54587),d=r.n(n),c=r(89099),o=r(14232),m=r(74292),x=r(64507),p=r(69936),h=r(76931),g=r(30114),u=r(83941);function b(){let{t:e}=(0,i.Bd)("common");return(0,a.jsx)("div",{className:"lg:pt-24 overflow-hidden",children:(0,a.jsx)("div",{className:"bg-primary",children:(0,a.jsxs)("div",{className:"max-w-screen-2xl mx-auto py-5 px-4 sm:p-0 sm:grid grid-cols-2 items-center",children:[(0,a.jsx)("div",{className:"bg-primary-light rounded-2xl mb-8 sm:bg-transparent sm:mb-0 sm:mt-12 lg:mt-0",children:(0,a.jsx)("div",{className:"h-[300px] sm:h-[400px] overflow-hidden pt-12 lg:pt-0 lg:h-[600px] lg:overflow-visible",children:(0,a.jsx)(d(),{src:u.Lm.OrderDownloadAppMockup,alt:"",className:"scale-150 lg:scale-[1.15] lg:-mt-32 object-contain"})})}),(0,a.jsxs)("div",{className:"sm:pr-12",children:[(0,a.jsx)(p.A,{variant:"display3",className:"sm:!text-[46px] sm:!leading-[46px]",children:e("common:full_crumbl_experience")}),(0,a.jsx)(p.A,{variant:"body1",className:"mt-2.5 mb-10",children:e("common:crumbl_experience_blurb")}),(0,a.jsx)(g.e,{})]})]})})})}var w=r(98113),v=r(65432),f=r(71161),y=!0;function j(e){let{faqs:s,rewardTiers:r}=e,{t}=(0,i.Bd)(),n=(0,a.jsx)(h.A,{href:"/account?tab=rewards",contentRight:(0,a.jsx)(x.A,{className:"hidden sm:block"}),children:t("rewards:start_earning_rewards")});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"bg-primary lg:grid grid-cols-5 items-center relative",children:[(0,a.jsx)("div",{className:"col-span-3 h-full flex items-center",children:(0,a.jsx)("div",{className:"lg:absolute left-0 right-0 lg:grid grid-cols-3 max-w-screen-2xl mx-auto items-center",children:(0,a.jsx)("div",{className:"col-span-2 text-center lg:text-left lg:mr-24 xl:mr-48",children:(0,a.jsxs)("div",{className:"px-8 pt-10",children:[(0,a.jsx)(p.A,{as:"h1",variant:"display2",className:"sm:!text-[80px] sm:!leading-[90px] lg:!text-[100px] lg:!leading-[110px]",children:t("rewards:crumbl_rewards")}),(0,a.jsx)(p.A,{variant:"body1",className:"py-4 sm:!text-[24px] sm:!leading-[40px]",children:t("rewards:crumbl_rewards_blurb")}),(0,a.jsx)("div",{className:"hidden lg:block xl:pt-12 pb-5",children:n})]})})})}),(0,a.jsxs)("div",{className:"relative max-w-[592px] max-h-[280px] sm:max-h-[400px] lg:max-h-full lg:max-w-full mx-auto overflow-hidden lg:col-span-2",children:[(0,a.jsx)(m.A,{classNames:"w-[300px] h-[300px] lg:w-[400px] lg:h-[400px] xl:w-[600px] xl:h-[600px] mb-[2rem] hidden sm:block m-auto",state:1e4}),(0,a.jsx)("div",{className:"absolute bottom-4 sm:bottom-6 left-0 right-0 text-center lg:hidden",children:n})]})]}),(0,a.jsx)("div",{className:"py-28 px-4 sm:px-8 space-y-10 sm:space-y-24 text-center lg:text-left overflow-hidden max-w-screen-2xl mx-auto",children:[{asset:(0,a.jsxs)("div",{className:"w-full pb-6 sm:pb-0 relative",children:[(0,a.jsx)("div",{className:"absolute inset-0 sm:top-12 lg:top-28 sm:bottom-4 lg:bottom-12 rounded-2xl bg-primary "}),(0,a.jsx)(d(),{src:u.Lm.keyLimePhoneMockup,alt:"",className:"object-contain h-[300px] sm:h-[412px] lg:h-[500px] -rotate-[30deg]"})]}
1),section:"earn_crumbs",title:"earn_more_get_more",body:"earn_crumbs_blurb",cta:(0,a.jsx)(h.A,{href:"/account?tab=rewards",variant:"primary",children:t("rewards:sign_up_for_rewards")})},{asset:(0,a.jsx)("div",{className:"w-full rounded-2xl bg-primary py-12 sm:py-2 text-center",children:(0,a.jsx)(d(),{src:u.Lm.rewardsWithCookie,alt:"",className:"scale-150 sm:scale-125 sm:h-[332px] sm:w-auto mx-auto"})}),section:"raise_your_status",title:"extra_perks_for_higher_status",body:"status_blurb",cta:(0,a.jsx)(h.A,{href:"/account?tab=rewards",variant:"secondary",children:t("rewards:view_my_perks")})},{asset:(0,a.jsx)("div",{className:"w-full rounded-2xl bg-primary relative h-[276px] sm:h-[348px] lg:mt-16",children:(0,a.jsx)("div",{className:"h-[300px] sm:h-[412px] lg:h-[572px] overflow-hidden absolute -top-6 sm:-top-16 lg:-top-56",children:(0,a.jsx)(d(),{src:u.Lm.htpMockup,alt:"",className:"scale-125 lg:scale-100"})})}),section:"vote_for_flavors",title:"customer_picks",body:"ctp_blurb",cta:(0,a.jsx)(g.e,{})}].map((e,s)=>{let{asset:r,section:i,title:n,body:d,cta:c}=e;return(0,a.jsxs)("div",{className:"lg:grid grid-cols-2 gap-12 items-center",children:[(0,a.jsx)("div",{className:l()(s%2==0?"order-0":"order-1"),children:r}),(0,a.jsxs)("div",{className:"flex flex-col items-center lg:items-start space-y-4 sm:space-y-5 lg:px-12",children:[(0,a.jsx)("div",{className:"mt-10 px-5 py-2 rounded-md bg-primary",children:(0,a.jsx)(p.A,{variant:"title2",children:t("rewards:".concat(i))})}),(0,a.jsx)(p.A,{variant:"display3",className:"sm:!text-[46px] sm:!leading-[46px] lg:!text-[55px] lg:!leading-[65px]",children:t("rewards:".concat(n))}),(0,a.jsx)(p.A,{variant:"body1",className:"mb-8 sm:mx-12 lg:mx-0 lg:mb-10",children:t("rewards:".concat(d))}),c]})]},i)})}),(0,a.jsxs)("div",{className:"py-10 sm:py-24 px-4 sm:px-8 text-center max-w-screen-2xl mx-auto ",children:[(0,a.jsx)(p.A,{variant:"title2",className:"sm:!text-[24px] sm:!leading-[30px] lg:!text-[28px] lg:!leading-[32px]",children:t("rewards:raise_status")}),(0,a.jsx)("div",{className:"my-5 sm:my-10 h-[2px] sm:max-w-[65vw] lg:max-w-[35vw] mx-auto bg-primary"}),(0,a.jsx)("div",{className:"space-y-5 lg:space-y-0 lg:grid grid-cols-4 gap-
15",children:r.map(e=>(0,a.jsx)(N,{tier:e},e.rewardTierId))})]}),(0,a.jsx)(b,{}),(0,a.jsx)(w.A,{faqs:s})]})}function N(e){let{tier:s}=e,{t:r}=(0,i.Bd)(),[t,l]=(0,o.useState)(0),[n,c]=(0,o.useState)("none");(0,o.useEffect)(()=>{let e=()=>{l(window.innerWidth),window.innerWidth<1024?c(s.backgroundColor):c("transparent")};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[s.backgroundColor]);let m=e=>{if(t<1024)return;let r=document.getElementById(s.rewardTierId);if(e){r.style.backgroundColor=s.backgroundColor;return}r.style.backgroundColor="transparent"};return(0,a.jsxs)("div",{className:"rounded-2xl p-5",style:{backgroundColor:n},id:s.rewardTierId,onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),children:[(0,a.jsx)(d(),{src:s.badgeImageUrl,alt:"",className:"mb-4 mx-auto",width:170,height:170}),(0,a.jsx)(p.A,{variant:"display4",className:"sm:!text-[32px] sm:!leading-[36px] lg:!text-[36px] lg:!leading-[40px]",children:r("rewards:".concat(s.name))}),(0,a.jsx)(p.A,{variant:"finePrint",className:"sm:mb-4 lg:mt-2",children:r("rewards:".concat(s.name.toLowerCase(),"_body"))}),(0,a.jsxs)("div",{className:"text-left flex gap-2 items-center border-b border-solid border-black/10 py-4",children:[(0,a.jsx)(d(),{src:s.badgeImageUrl,alt:"",className:"flex-shrink-0 w-6 h-6",width:25,height:25}),(0,a.jsx)(p.A,{variant:"body1",className:"flex-grow sm:!text-[16px] sm:!leading-[20px] lg:!text-[18px] lg:!leading-[22px]",children:r("account-V2:earn_x_crumbs_for_every_dollar",{x:s.pointsPerDollarSpent})})]}),s.rewardPerks.map(e=>(0,a.jsxs)("div",{className:"text-left flex gap-2 items-center border-b border-solid border-black/10 py-4",children:[(0,a.jsx)(d(),{src:s.badgeImageUrl,alt:"",className:"flex-shrink-0 w-6 h-6",width:25,height:25}),(0,a.jsx)(p.A,{variant:"body1",className:"flex-grow sm:!text-[16px] sm:!leading-[20px] lg:!text-[18px] lg:!leading-[22px]",children:e.description})]},e.description))]})}let _=e=>{let{children:s}=e,{t:r}=(0,i.Bd)("rewards"),{locale:t}=(0,c.useRouter)();return(0,a.jsx)(v.A,{hideFullWidth:!0,overrideOpenGraphTitle:r("rewards:seo_title"),overrideOpenGraphDescription:r("rewards:seo_description"),structuredData:(e=>{let s=(0,f.ZF)(e,"/"),r=(0,f.ZF)(e,"/rewards");return{"@context":"https://schema.org","@type":"WebPage",name:"Crumbl Rewards - Cookie Rewards Program",description:"Join Crumbl Rewards and earn free cookies! Earn Crumbs on every purchase, get exclusive perks, and level up for more rewards at America's favorite cookie company.",url:r,mainEntity:{"@type":"Service",name:"Crumbl Rewards Program",serviceType:"Loyalty Program",description:"Crumbl Rewards is a free loyalty program where you earn Crumbs on every purchase. Redeem for free cookies, get birthday rewards, and unlock exclusive perks.",provider:{"@type":"Organization","@id":s,name:"Crumbl Cookies"},offers:{"@type":"Offer",price:"0",priceCurrency:"USD",description:"Free to join - earn points on every cookie purchase"},termsOfService:(0,f.ZF)(e,"/termsandconditions")},breadcrumb:{"@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:s},{"@type":"ListItem",position:2,name:"Rewards",item:r}]}}})(null!=t?t:"en-US"),canonicalUrl:(0,f.ZF)(null!=t?t:"en-US","/rewards"),children:s})};j.getLayout=e=>(0,a.jsx)(_,{children:e})},76931:(e,s,r)=>{"use strict";r.d(s,{A:()=>o});var a=r(37876),t=r(15039),l=r.n(t),i=r(48230),n=r.n(i),d=r(69936);let c={primary:"bg-black text-white",secondary:"bg-white text-black border-[1px] border-black",secondaryLight:"bg-primary-light text-black border-[1px] border-black"};function o(e){let{href:s,children:r,className:t,onClick:i,variant:o="primary",contentLeft:m,contentRight:x,block:p,style:h,height:g,openInNewTab:u,disabled:b,ariaLabel:w}=e;return(0,a.jsxs)(n(),{style:h,href:s||"",onClick:b?void 0:i,target:u?"_blank":"","aria-label":w,className:l()("flex-nowrap inline-flex items-center min-h-[40px] rounded-full py-3 z-10 max-w-[400px]",g?"h-[".concat(g,"px]"):"min-h-[40px] h-[40px] sm:min-h-[50px] sm:h-[50px]",c[o],m?"pl-[25px]":"pl-[30px]",x?"pr-[25px]":"pr-[30px]",m&&x?"justify-between":"justify-center",p?"w-full":" w-fit",b?"opacity-50 cursor-not-allowed":"",t),children:[m&&(0,a.jsx)("span",{className:"mr-2",children:m}),(0,a.jsx)(d.A,{as:"div",variant:"lineItem",className:"text-base text-nowrap font-semibold h-full flex items-center",children:r}),x&&(0,a.jsx)("span",{className:"ml-2",children:x})]})}Object.keys(c)},83868:(e,s,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/rewards",function(){return r(69804)}])},98113:(e,s,r)=>{"use strict";r.d(s,{A:()=>n});var a=r(37876),t=r(89033),l=r(69936),i=r(45621);function n(e){let{faqs:s}=e,{t:r}=(0,t.Bd)();return(null==s?void 0:s.length)?(0,a.jsx)("div",{className:"max-w-9xl mx-auto",children:(0,a.jsxs)("div",{className:"py-10 px-4 sm:py-16 sm:px-8 lg:px-20",children:[(0,a.jsx)("div",{className:"sm:text-center",children:(0,a.jsx)(l.A,{variant:"title2",className:"bg-primary rounded-lg px-2.5 sm:px-5 py-1.5
1sm:py-2 inline-block sm:!text-[24px] sm:!leading-[30px] mb-2.5 sm:mb-10",children:r("common:faqs")})}),(0,a.jsx)("div",{className:"space-y-2.5 sm:space-y-4",children:s.map(e=>{let{question:s,answer:r,faqId:t}=e;return(0,a.jsx)(i.A,{question:s,answer:r},t)})})]})}):null}}},e=>{e.O(0,[4e3,9555,1221,5432,636,6593,8792],()=>e(e.s=83868)),_N_E=e.O()}]); 2//# sourceMappingURL=rewards-88f207fc6ff7e157.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.