PageSourceSearch

https://crumblcookies.com/_next/static/chunks/pages/blog-21b5122d0c49ade4.js

js crumblcookies.com collected 2026-09-24 09:12:35 UTC 3,455 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9892],{64267:(l,e,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog",function(){return a(83945)}])},83945:(l,e,a)=>{"use strict";a.r(e),a.d(e,{__N_SSG:()=>b,default:()=>v});var s=a(37876),i=a(66434),t=a(15039),n=a.n(t),d=a(56557),r=a.n(d),o=a(89033),c=a(54587),p=a.n(c),u=a(89099),x=a(69936),m=a(4359),h=a(55020),g=a(20596),f=a(12099),b=!0;function v(){var l,e,a,t,d,c;let b=(0,u.useRouter)(),{t:v}=(0,o.Bd)("common"),{fetchMore:_,data:j,networkStatus:w}=(0,f.Av)(g.q7u,{fetchPolicy:"cache-first",notifyOnNetworkStatusChange:!0,variables:{params:{first:20}}}),N=null==j||null==(e=j.blog)||null==(l=e.publishedBlogs)?void 0:l.pageInfo,y=null!=(c=null==j||null==(d=j.blog)||null==(t=d.publishedBlogs)||null==(a=t.edges)?void 0:a.map(l=>l.node))?c:[],k=async()=>{try{await _({variables:{params:{first:2,after:null==N?void 0:N.endCursor}}})}catch(l){console.error("Error fetching more blogs: ",l)}};return(0,s.jsx)(h.A,{cta:!1,overrideOpenGraphTitle:v("blog_meta_title"),overrideOpenGraphDescription:v("blog_meta_description"),children:(0,s.jsxs)("div",{className:"max-w-screen-2xl mx-auto px-4 pt-[20px] md:pt-[30px] pb-[30px] md:pb-[60px] md:px-8 lg:pt-[60px] lg:pb-[100px] flex flex-col gap-[40px] md:gap-[60px] lg:gap-[100px]",children:[(0,s.jsx)(x.A,{variant:"display1",className:"hidden md:block",children:v("the_crumbl_blog")}),(0,s.jsx)(x.A,{variant:"display2",className:"block md:hidden",children:v("the_crumbl_blog")}),(0,s.jsxs)("div",{className:"flex flex-wrap justify-center gap-4",children:[null==y?void 0:y.map(l=>(0,s.jsxs)("button",{className:n()("min-h-[200px] md:min-h-[300px] lg:min-h-[480px] p-[8px] md:p-[16px] relative flex flex-col justify-end items-start",{"w-full":l.featured},{"w-full lg:w-[49.1%] xl:w-[49.3%]":!l.featured}),onClick:()=>b.push("/blog/".concat(null==l?void 0:l.slug)),type:"button",children:[(null==l?void 0:l.headerImage)&&(0,s.jsx)(p(),{src:l.headerImage,alt:l.title,width:500,height:500,className:"object-cover absolute inset-0 w-full h-full rounded-xl"}),(0,s.jsxs)("div",{className:"z-10 bg-glass-background backdrop-blur-xl rounded-xl p-[12px] md:p-[16px] relative flex flex-col gap-1 md:gap-[8px] lg:gap-[16px] w-full max-w-[550px] items-start text-left",children:[l.publishedAt&&(0,s.jsx)(x.A,{variant:"body1",children:v("published_x",{x:r()(l.publishedAt).format("MMM D, YYYY")})}),(0,s.jsx)(x.A,{variant:"display4",className:"hidden md:block",children:l.title}),(0,s.jsx)(x.A,{variant:"title2",className:"block md:hidden",children:l.title})]})]},l.blogId)),w===i.pT.loading?(0,s.jsxs)("div",{className:"w-full flex flex-col gap-4 justify-center items-center",children:[(0,s.jsx)("div",{className:"w-full h-[200px] rounded-xl bg-gray-200 animate-pulse"}),(0,s.jsx)("div",{className:"w-full h-[200px] rounded-xl bg-gray-200 animate-pulse"}),(0,s.jsx)("div",{className:"w-full h-[200px] rounded-xl bg-gray-200 animate-pulse"})]}):(null==y?void 0:y.length)===0&&(0,s.jsx)("div",{className:"w-full flex justify-center items-center",children:(0,s.jsx)(x.A,{variant:"display4",className:"text-center",children:v("crumbl_blog_coming_soon")})})]}),(null==N?void 0:N.hasNextPage)&&(null==y?void 0:y.length)>0&&(0,s.jsx)(m.A,{onClick:k,disabled:w===i.pT.fetchMore,children:w===i.pT.fetchMore?"Loading...":"See more"})]})})}}},l=>{l.O(0,[4e3,9555,1221,5020,636,6593,8792],()=>l(l.s=64267)),_N_E=l.O()}]);
2//# sourceMappingURL=blog-21b5122d0c49ade4.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.