PageSourceSearch

https://www.coheremade.com/_next/static/chunks/pages/stories-8c38a6602b83bfec.js

js coheremade.com collected 2026-10-08 09:33:20 UTC 11,495 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8971],{3513:(e,t,l)=>{"use strict";l.d(t,{Ay:()=>o,M0:()=>r,er:()=>m,up:()=>u});var n=l(88877),s=l(14936),i=l(83949),a=l(42877),d=l(1967);let r='\n  ...,\n  _id,\n  title,\n  "slug": slug.current,\n  "category": category -> {\n    '.concat(i.i3,"\n  },\n  featuredImage {\n    ").concat(n.A,"\n  }\n"),c='\n  ...,\n  _id,\n  title,\n  "slug": slug.current,\n  "category": category -> {\n    '.concat(i.i3,'\n  },\n  modules[] {\n    ...,\n    _type == "projectMedia" => {\n      ...,\n      media {\n        ').concat(s.A,'\n      }\n    },\n    _type == "projectTwoColumns" => {\n      ...,\n      mediaLeft {\n        ').concat(s.A,"\n      },\n      mediaRight {\n        ").concat(s.A,'\n      }\n    },\n    _type == "projectText" => {\n      ...,\n      text[] {\n        ').concat(a.A,"\n      },\n      sideNote[] {\n        ").concat(a.A,'\n      }\n    },\n    _type == "projectMediaWithText" => {\n      ...,\n      media {\n        ').concat(s.A,"\n      },\n      text[] {\n        ").concat(a.A,"\n      }\n    },\n  },\n  featuredImage {\n    ").concat(n.A,'\n  },\n  seo {\n    ...,\n  },\n  "additionalModules": additionalModules[]{\n    ').concat(d.A,'\n  },\n  "moduleRefs": additionalModules[] -> {\n    content[] {\n      ').concat(d.A,"\n    }\n  }\n"),o='\n  *[_type == "project" && slug.current == $slug] | order(_updatedAt desc)[0]{\n    '.concat(c,"\n  }\n"),m='\n  *[_type == "project"] | order(publishedAt desc) {\n    '.concat(c,"\n  }\n"),u='\n  *[_type == "project" && category -> slug.current == $slug] | order(publishedAt desc) {\n    '.concat(c,"\n  }\n")},16857:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/stories",function(){return l(41821)}])},36735:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var n=l(1967),s=l(88877),i=l(42877),a=l(3513),d=l(99136),r=l(38706);let c='\n  *[_type == "page" && slug.current == $slug] | order(_updatedAt desc)[0]{\n    ...,\n    title,\n    "slug": slug.current,\n    "modules": modules[]{\n      '.concat(n.A,'\n    },\n    "blogModules": blogSections.sectionList[]{\n      ...,\n      _type == "postList" => {\n        ...,\n        "sectionCategory": sectionCategory -> {\n          ').concat(d.d8,'\n        }\n      },\n      _type == "featuredPost" => {\n        ...,\n        "post": post -> {\n          ').concat(r.$L,"\n        }\n      }\n    },\n    pageHeadline[] {\n      ").concat(i.A,"\n    },\n    featuredProjects[] {\n      ...,\n      projectReference -> {\n        ").concat(a.M0,'\n      }\n    },\n    "moduleRefs": modules[] -> {\n      content[] {\n        ').concat(n.A,"\n      }\n    },\n    seo{\n      ...,\n      shareGraphic {\n        ").concat(s.A,"\n      }\n    }\n  }\n")},41821:(e,t,l)=>{"use strict";l.r(t),l.d(t,{__N_SSG:()=>w,default:()=>_});var n=l(37876),s=l(14232),i=l(54018),a=l(71434),d=l(37026),r=l(36735),c=l(99136),o=l(66694),m=l(82252),u=l(75581),h=l(25301),x=l(74499),g=l(11215),p=l(38706),v=l(80384);let j={postList:e=>{let{className:t="",theme:l="default",prevTheme:a,nextTheme:d,isFirstSection:r,sectionCategory:c,id:o,layout:j}=e,[f,y]=(0,s.useState)([]),N=null==c?void 0:c.slug;return(0,s.useEffect)(()=>{N&&i.Sn.fetch(p.JA,{slug:N||"",limit:1e3}).then(e=>{y(e)})},[]),!((null==f?void 0:f.length)<1)&&("sticky-grid"===j?(0,n.jsx)(m.A,{className:t,setTheme:l,prevTheme:a,nextTheme:d,isFirstSection:r,id:o,children:(0,n.jsx)("div",{className:"mx-margin",children:(0,n.jsxs)("div",{className:"max-w-site-max-w mx-auto",children:[(0,n.jsx)(g.A,{children:(0,n.jsx)("div",{className:"text-center mb-v-space",children:(0,n.jsx)("h3",{className:"h1",children:null==c?void 0:c.title})})}),(0,n.jsx)(g.A,{delay:2,children:(0,n.jsxs)("div",{className:"grid md:grid-cols-2 gap-margin md:gap-gutter",children:[(0,n.jsx)("div",{className:"sm:mx-0 -mx-margin aspect-square md:sticky md:top-sticky-top",children:(0,n.jsx)(u.A,{post:f[0],size:"large",className:"min-h-full rounded-none sm:rounded"},f[0]._id)}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"grid sm:grid-cols-2 gap-margin md:gap-gutter",children:f.map((e,t)=>0!==t&&t<9&&(0,n.jsx)("div",{className:"aspect-3/4",children:(0,n.jsx)(u.A,{post:e,className:"min-h-full"})},e._id))}),(0,n.jsx)("div",{className:"col-span-full pt-margin md:pt-gutter",children:(0,n.jsxs)(h.A,{size:"huge",arrow:!0,className:"w-full",...(0,v.bI)({link:{slug:N,_type:"category"}}),children:["More ",null==c?void 0:c.title]})})]})]})})]})})}):"mini-grid"===j?(0,n.jsx)(m.A,{className:t,setTheme:l,prevTheme:a,nextTheme:d,isFirstSection:r,id:o,children:(0,n.jsxs)("div",{className:"mx-margin",children:[(0,n.jsxs)("div",{className:"max-w-site-max-w mx-auto",children:[(0,n.jsx)(g.A,{children:(0,n.jsx)("div",{className:"text-center mb-v-space",children:(0,n.jsx)("h3",{className:"h1",children:null==c?void 0:c.title})})}),(0,n.jsx)(g.A,{delay:2,children:(0,n.jsx)("div",{className:"grid md:grid-cols-12 gap-margin xl:gap-gutter",children:(0,n.jsx)("div",{className:"grid gap-margin md:gap-gutter md:grid-cols-2 lg:col-start-2 col-span-full lg:col-span-10",children:f.map((e,t)=>{if(t<8)return(0,n.jsx)("div",{children:(0,n.jsx)(x.A,{post:e,className:"min-h-[140px] h-full"})},e._id)})})})})]}),(0,n.jsx)("div",{className:"text-center pt-v-space-sm",children:(0,n.jsxs)(h.A,{size:"huge",arrow:!0,className:"w-full md:w-auto",...(0,v.bI)({link:{slug:N,_type:"category"}}),children:["More ",null==c?void 0:c.title]})})]})}):(0,n.jsx)(m.A,{className:t,setTheme:l,prevTheme:a,nextTheme:d,isFirstSection:r,id:o,children:(0,n.jsxs)("div",{className:"mx-margin",children:[(0,n.jsxs)("div",{className:"max-w-site-max-w mx-auto",children:[(0,n.jsx)(g.A,{children:(0,n.jsx)("div",{className:"text-center mb-v-space",children:(0,n.jsx)("h3",{className:"h1",children:null==c?void 0:c.title})})}),(0,n.jsx)(g.A,{delay:2,children:(0,n.jsx)("div",{className:"flex flex-wrap md:-mx-half-gutter gap-y-margin md:gap-y-v-space-sm",children:f.map((e,t)=>(0,n.jsx)("div",{className:"md:px-half-gutter grow w-full md:w-1/2 md:max-w-[50%] lg:w-1/3 lg:max-w-[66.666%] xl:w-1/4 xl:max-w-1/2",children:(0,n.jsx)("div",{className:"h-full",children:(0,n.jsx)(u.A,{post:e,className:"md:min-h-[44vw] xl:min-h-[33vw] h-full"})})},e._id))})})]}),(0,n.jsx)("div",{className:"text-center pt-v-space-sm",children:(0,n.jsxs)(h.A,{size:"huge",arrow:!0,className:"w-full md:w-auto",...(0,v.bI)({link:{slug:N,_type:"category"}}),children:["More ",null==c?void 0:c.title]})})]})}))},featuredPost:e=>{let{className:t="",post:l,layout:s,theme:i="default",prevTheme:a,nextTheme:d,isFirstSection:r,id:c}=e;return(0,n.jsx)(m.A,{className:t,setTheme:i,prevTheme:a,nextTheme:d,isFirstSection:r,id:c,children:(0,n.jsx)("div",{className:"md:px-margin aspect-3/4 sm:aspect-square md:aspect-4/3 lg:aspect-3/2 xl:aspect-video 2xl:aspect-2/1",children:(0,n.jsx)(u.A,{post:l,size:"large",stickyExcerpt:!0,layout:s,className:"min-h-full rounded-none md:rounded",sticky:!0})})})}},f=e=>{let{item:t,index:l,isLastSection:s,isFirstSection:i,id:a}=e;if(!t||!(null==t?void 0:t._type))return!1;let d=j[t._type];return!!d&&(d?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(d,{...t,id:a||(0,v.Yv)(null==t?void 0:t.internalName),isLastSection:s,isFirstSection:i,index:l})}):null)},y=e=>{let{modules:t=!1,refModules:l=!1,nextModuleTheme:s,prevModuleTheme:i}=e;return!!t&&!(t.length<1)&&(t=null==t?void 0:t.filter(e=>!0!==e.hidden),(0,n.jsx)(n.Fragment,{children:t.map((e,l)=>{e.theme="default",e.prevTheme="default",e.nextTheme="default";let a=!1,d=!1;return l>0&&(a=t[l-1]),l+1!==t.length&&(d=t[l+1]),l+1===t.length&&(e.nextTheme=!1,s&&(e.nextTheme=s)),((null==e?void 0:e.mediaSize)==="c
1ard"||(null==e?void 0:e.style)==="card")&&(e.theme="default"),((null==a?void 0:a.mediaSize)==="card"||(null==a?void 0:a.style)==="card")&&(a.theme="default"),((null==d?void 0:d.mediaSize)==="card"||(null==d?void 0:d.style)==="card")&&(d.theme="default"),((null==d?void 0:d.width)==="fullWidth"||l+1===t.length&&"fullWidth"!==e.width)&&(e.paddingBottom="tight"),(null==e?void 0:e.style)==="card"&&(e.paddingTop="tight"),i&&0===l&&(a={theme:i},e.paddingTop="default"),s&&l+1===t.length&&(d={theme:s},e.paddingBottom="default"),(0,n.jsx)(f,{item:e,prevModule:a,nextModule:d,isFirstSection:0===l&&!i},(null==e?void 0:e._key)||(null==e?void 0:e._id))})}))};var N=l(45294);let A=e=>{var t;let{data:l,posts:a}=e,[d,r]=(0,s.useState)(!1),[u,h]=(0,s.useState)([]),x=null==l?void 0:l.modules,g=null==l?void 0:l.moduleRefs,p=null==l?void 0:l.blogModules;return(0,s.useEffect)(()=>{let e=c.S6;i.Sn.fetch(e).then(e=>{h(e)})},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(m.A,{paddingBottom:"none",setTheme:"default",prevTheme:!1,nextTheme:"default",isFirstSection:!0,children:(0,n.jsx)("div",{className:"mx-margin",children:(0,n.jsx)("div",{className:"max-w-site-max-w mx-auto",children:(0,n.jsx)("div",{className:"mb-half-v-space",children:(0,n.jsx)(N.A,{page:l})})})})}),(0,n.jsx)(y,{modules:p,prevModuleTheme:"default",nextModuleTheme:(null==x?void 0:x.length)&&(null==(t=x[x.length+1])?void 0:t.theme)}),(0,n.jsx)(o.A,{modules:x,refModules:g})]})};var w=!0;let _=e=>{let{data:t,posts:l,preview:s,queryParams:i,previewToken:c}=e;return s?(0,n.jsx)(a.A,{previewToken:c,children:(0,n.jsx)(d.h,{query:r.A,queryParams:i,initialData:t,children:(0,n.jsx)(A,{data:t,posts:l})})}):(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(A,{data:t,posts:l})})}},45294:(e,t,l)=>{"use strict";l.d(t,{A:()=>u});var n=l(37876),s=l(14232),i=l(54018),a=l(99136),d=l(19299),r=l(16936),c=l(40585),o=l(82228),m=l(80384);let u=e=>{let{page:t,text:l}=e,[u,h]=(0,s.useState)(!1),[x,g]=(0,s.useState)([]);return(0,s.useEffect)(()=>{let e=a.S6;i.Sn.fetch(e).then(e=>{g(e)})},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("h1",{className:"hidden",children:["Stories About ",(null==t?void 0:t.title)&&(null==t?void 0:t.slug)!=="stories"?null==t?void 0:t.title:"Everything"]}),(0,n.jsx)(d.A,{headline:(0,n.jsxs)("div",{className:"flex items-baseline w-full justify-start flex-wrap",children:["Stories about\xa0",(0,n.jsxs)("div",{className:"dropdown cursor-pointer bold border-b-2 flex items-start justify-between w-full sm:w-auto",children:[(0,n.jsxs)("div",{className:"flex flex-col items-start justify-start",children:[(0,n.jsx)("div",{className:"leading-[1em] w-full",onClick:()=>h(!u),children:(null==t?void 0:t.title)&&(null==t?void 0:t.slug)!=="stories"?null==t?void 0:t.title:"Everything"}),(0,n.jsx)(r.A,{open:u,children:(0,n.jsx)("div",{children:(0,n.jsxs)("ul",{className:"pb-[.1em]",children:[x.map(e=>{let l=(0,m.UG)({slug:e.slug,_type:"category"}).to;if((null==e?void 0:e._id)!==(null==t?void 0:t._id))return(0,n.jsx)("li",{className:"block leading-[.88em]",children:(0,n.jsx)(c.A,{to:l,className:"block text-light-text-color opacity-60 border-none hover:opacity-100 hover:text-text-color transition",children:e.title})},e._id)}),(null==t?void 0:t.slug)!=="stories"&&(0,n.jsx)("li",{className:"block leading-[.88em]",children:(0,n.jsx)(c.A,{to:"/"+m.aM.post,className:"block text-light-text-color opacity-60 border-none hover:opacity-100 hover:text-text-color transition",children:"Everything"})})]})})})]}),(0,n.jsx)("div",{className:"-mt-[.25em] -mb-[.2em] pl-[.5em]",onClick:()=>h(!u),children:(0,n.jsx)(o.Ay,{direction:u?"up":"down",thick:!0,className:"menu-panel-arrow",style:{"--arrow-size":".7em"}})})]})]}),headlineEl:"h1",headlineSize:"h1",text:l,bodySize:"body-large"})]})}}},e=>{var t=t=>e(e.s=t);e.O(0,[888,4938,4995,6716,4690,8059,6694,636,6593,8792],()=>t(16857)),_N_E=e.O()}]);

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.