PageSourceSearch

https://www.itbrew.com/_next/static/chunks/7131-c8db241f1bbd397d.js

js itbrew.com collected 2026-09-24 18:36:50 UTC 26,095 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7131],{87573:function(e,n,t){t.d(n,{Z:function(){return I}});var a=t(73235),i=t(52322),r=t(57800),s=t(64410),o=t(5478),l=t(25082),c=t.n(l),d=t(72396),u=t(9823),p=t(17917),g=t(76519),m=t(23285),h=t(38421),f=t.n(h),y=t(2784),v=t(73307),x=t(35505);let b=x.ZP.div.withConfig({displayName:"style__FormContainer",componentId:"sc-f95484da-0"})(["max-width:620px;display:flex;flex-direction:column;gap:var(--space-md);color:var(--colors-white);padding:60px 0px;z-index:1;&[data-minimal]{padding:var(--space-3xl) 0px;align-items:center;}.newsletter-cta-heading{font-size:var(--font-scale-4);font-family:var(--font-reckless);font-weight:var(--font-weight-regular);line-height:1.2;margin-bottom:var(--space-sm);text-wrap:balance;}p{color:var(--colors-white);font-family:var(--font-sohne);font-size:var(--font-scale-1);font-weight:var(--font-weight-regular);line-height:1.6;margin-bottom:0;}span,a{color:var(--colors-white) !important;}.form-validation > span,button{color:white !important;}.form-validation:not([data-validation-error='true']){path{fill:white;}}"]),_=x.ZP.div.withConfig({displayName:"style__CTAFormWrapper",componentId:"sc-f95484da-1"})(["display:flex;flex-direction:column;justify-content:center;"]),w=x.ZP.div.withConfig({displayName:"style__NewsletterCTAWrapper",componentId:"sc-f95484da-2"})(["position:relative;display:flex;justify-content:center;align-items:center;gap:40px;align-self:stretch;background:var(--colors-brand-500);overflow:hidden;padding:0 3%;min-height:400px;.newsletter-cta-heading{margin-bottom:var(--space-md);font-weight:var(--font-weight-medium);}&[data-variant='slim']{min-height:200px;","{max-width:1095px;flex-direction:row;gap:40px;","{flex-direction:column;}}","{flex-basis:450px;flex-shrink:0;","{flex-basis:unset;}}}&[data-minimal]{min-height:160px;}","{gap:0px;padding:0 var(--space-2xl);}"],b,v.Mq,_,v.Mq,v.Mq),j=x.ZP.div.withConfig({displayName:"style__ImageContainer",componentId:"sc-f95484da-3"})(["position:relative;height:90%;min-height:360px;width:340px;z-index:1;flex-shrink:0;align-self:flex-end;","{display:none;}"],v.Mq),T=x.ZP.div.withConfig({displayName:"style__CTAWrapper",componentId:"sc-f95484da-4"})(["min-width:450px;","{min-width:auto;width:100%;}"],v.m7),C=x.ZP.div.withConfig({displayName:"style__LettersWrapper",componentId:"sc-f95484da-5"})(["pointer-events:none;*{z-index:0;font-family:var(--font-sohne);font-weight:var(--font-weight-bold);opacity:0.5;color:var(--colors-brand-600);}.hidden-mobile{","{display:none;}}"],v.m7);function P(){let e=(0,a._)(["\n    fragment NewsletterCTA on BrandR
1oot {\n      ctaDescription\n      ctaHeading\n      slug\n      name\n    }\n  "]);return P=function(){return e},e}d.ZP.registerPlugin(s.V),d.ZP.registerPlugin(u.Z);let S=e=>{let{letters:n}=e;return(0,i.jsxs)(C,{children:[(0,i.jsx)("div",{style:{position:"absolute",left:"calc(50vw - 550px)",top:50,transform:"scale(65) rotate(10deg)"},className:"letter",children:n[0]}),(0,i.jsx)("div",{style:{position:"absolute",right:"calc(50vw - 500px)",top:50,transform:"scale(65) rotate(-15deg)"},className:"letter hidden-mobile",children:n[1]})]})},D=e=>{let{heading:n,description:t,slug:a,brandName:r,variant:l="default",hideIfSubscribed:u,minimal:h,...v}=e,x=(0,y.useRef)(!1),[C,P]=(0,y.useState)(!1),{canSubscribe:D}=(0,p.Z)({newsletterSlug:null!=a?a:""}),I=r.charAt(0),k=(0,i.jsxs)(b,{"data-minimal":"true",children:[(0,i.jsx)("div",{children:(0,i.jsx)("p",{className:"newsletter-cta-heading",style:{marginBottom:0},children:n})}),(0,i.jsx)(T,{children:(0,i.jsx)(o.Z,{newsletterSlug:a,module:g.Nj.BANNER,actionText:"Subscribe"})})]}),N="/images/newsletter-cta.gif";switch(a){case"daily":N="/images/[email protected]";break;case"brew-markets":N="/images/[email protected]";break;case"the-playbook":N="/images/[email protected]";break;default:N="/images/newsletter-cta.gif"}let $=(0,y.useRef)(null);(0,s.V)(()=>{d.ZP.to(".letter",{top:"+=200",ease:"none",scrollTrigger:{trigger:null==$?void 0:$.current,scrub:!0}})},{scope:$,dependencies:[x]});let Z=e=>{e.forEach(e=>{e.isIntersecting&&(null==x?void 0:x.current)===!1&&(x.current=!0)})};return((0,y.useEffect)(()=>{let e=new IntersectionObserver(Z,{threshold:0,rootMargin:"100px 0px"});return(null==$?void 0:$.current)&&e.observe($.current),()=>{(null==$?void 0:$.current)&&e.unobserve($.current)}},[$]),(0,y.useEffect)(()=>{new(c())("Sohne",{weight:600}).load().then(()=>P(!0))},[]),u&&!D)?null:(0,i.jsxs)(w,{...v,id:"newsletter-cta","data-variant":l,ref:$,"data-minimal":h||void 0,children:[h?k:(0,i.jsxs)(b,{children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{className:"newsletter-cta-heading",children:n}),(0,i.jsx)("p",{children:t})]}),(0,i.jsx)(_,{children:(0,i.jsx)(o.Z,{newsletterSlug:a,module:g.Nj.BANNER,actionText:"Subscribe",stacked:!0,dark:!0})})]}),"default"===l&&(0,i.jsx)(j,{children:(0,i.jsx)(f(),{src:N,alt:"A mobile phone scrolling a newsletter issue of ".concat(r),objectFit:"contain",objectPosition:"center bottom",loading:"lazy",layout:"fill"})}),m.tP&&(0,i.jsx)(S,{letters:C?[I,"B"===I?"M":"B"]:[]})]})};D.fragments={NewsletterCTA:(0,r.Ps)(P())};var I=D},51472:function(e,n,t){t.d(n,{Z:function(){return y}});var a=t(52322),i=t(12524),r=t.n(i),s=t(91310),o=t(15579),l=t(39097),c=t.n(l),d=t(2784),u=t(68602),p=t(73307),g=t(35505);let m=g.ZP.nav.withConfig({displayName:"style__BreadcrumbsWrapper",componentId:"sc-cf9cdcc6-0"})(["display:flex;align-items:center;gap:8px;text-transform:uppercase;font-size:var(--font-scale-000);font-family:var(--font-family-heading);letter-spacing:0.1em;font-weight:600;a{color:",";text-decoration:none;&:hover{text-decoration:underline;}}.separator{color:",";}"],e=>{let{theme:n}=e;return n.colors.primary},e=>{let{theme:n}=e;return n.colors.onyx}),h=g.ZP.div.withConfig({displayName:"style__HeaderContainer",componentId:"sc-cf9cdcc6-1"})(["display:flex;flex-direction:column;font-family:var(--font-sohne);font-size:var(--font-scale-2);row-gap:var(--space-md);height:fit-content;justify-content:space-between;grid-column:-1 / 1;h1{font-size:var(--font-scale-7);font-weight:var(--font-weight-heading);margin-bottom:0;padding-right:var(--space-3xl);","{font-size:var(--font-scale-5);}}p{font-size:var(--font-scale-2);line-height:1.6;margin-bottom:0;}","{margin-top:var(--space-2xl);}&.centered{align-items:center;h1,p{text-align:center;}p{max-width:55ch;}}"],p.m7,p.Mq),f=g.ZP.div.withConfig({displayName:"style__HeadingWrapper",componentId:"sc-cf9cdcc6-2"})(["display:flex;flex-direction:row;flex-wrap:nowrap;column-gap:var(--space-md);row-gap:var(--space-md);justify-content:space-between;align-items:flex-start;h1,.pt-header{flex-shrink:1;min-width:0;}> :not(h1):not(.pt-header){flex-shrink:0;display:flex;align-items:center;min-height:calc(var(--font-scale-7) * 1.2);}","{flex-wrap:wrap;> :not(h1):not(.pt-header){min-height:0;}}"],p.Mq);var y=e=>{let{title:n,subtitle:t,sponsorText:i,logo:l,logoWidth:p,logoHeight:g,logoAltText:y,logoLink:v,onAdClick:x,centered:b=!1,breadcrumbs:_,...w}=e;return(0,a.jsxs)(h,{className:r()("page-header",{centered:b}),...w,children:[_&&_.length>0&&(0,a.jsx)(m,{"aria-label":"Breadcrumb",children:_.map((e,n)=>{let t=n===_.length-1;return(0,a.jsxs)(d.Fragment,{children:[n>0&&(0,a.jsx)("span",{className:"separator","aria-hidden":"true",children:">"}),(0,a.jsx)(c(),{href:e.href,"aria-current":t?"page":void 0,children:e.name})]},e.href)})}),(0,a.jsxs)(f,{style:{textAlign:b?"center":"left"},children:[n&&"string"==typeof n&&(0,a.jsx)("h1",{children:(0,u.ZP)(n)}),n&&Array.isArray(n)&&(0,a.jsx)("div",{className:"pt-header",children:(0,a.jsx)(o.Z,{blocks:n})}),i&&l&&(0,a.jsx)(s.Z,{href:v,logoSrc:l,sponsorLabel:i,logoWidth:p,logoHeight:g,logoAltText:y,style:{margin:0},onClick:x})]}),t&&"string"==typeof t&&(0,a.jsx)("p",{children:t}),t&&Array.isArray(t)&&(0,a.jsx)(o.Z,{blocks:t})]})}},97131:function(e,n,t){t.d(n,{Z:function(){return b}});var a=t(52322),i=t(73307),r=t(24653),s=t(37233),o=t(84576),l=t(87573),c=t(51472),d=t(57438),u=t(8530),p=t(9902),g=t(89171),m=t(23285),h=t(10929),f=t(2784),y=t(96465),v=t(94233);let x=t(35505).ZP.div.withConfig({displayName:"style__LoadMoreWrapper",componentId:"sc-747f4b60-0"})(["grid-column:1 / -1;display:flex;justify-content:center;align-items:center;margin-top:var(--space-3xl);"]);function b(e){var n,t,b,_,w;let{contentSubtype:j,contentType:T,description:C,fallbackData:P}=e,{ltTablet:S}=(0,g.Z)(),[{activeBrand:D}]=(0,p.DY)(),I=h.vK[T-1],k=(0,f.useCallback)((e,n)=>{var t,a,i,r;return(0,y.U4)({domainId:m.aK,brandSlug:"".concat(null!==m.UQ&&void 0!==m.UQ?m.UQ:null==D?void 0:D.slug),contentTypes:[T],contentSubtypes:[j.value],start:0,end:6,lastId:null!==(i=null==n?void 0:null===(t=n[n.length-1])||void 0===t?void 0:t._id)&&void 0!==i?i:null,lastPublishDate:null!==(r=null==n?void 0:null===(a=n[n.length-1])||void 0===a?void 0:a.publishDate)&&void 0!==r?r:null})},[null==D?void 0:D.slug,j.value,T]),{data:N,isLoading:$,isValidating:Z,setSize:A,error:R}=(0,v.ZP)(k,{revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateOnMount:!0,fallbackData:P?[P]:void 0});if($&&!N)return(0,a.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:400,gridColumn:"1 / -1"},children:(0,a.jsx)(u.Z,{})});let V=N?N.flat():[],z=null==N?void 0:N[N.length-1],L=z&&(null==z?void 0:z.length)===6&&!R;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(o.J,{style:{rowGap:"60px"},children:[(0,a.jsx)(c.Z,{title:j.title,subtitle:C}),R&&(!V||0===V.length)&&(0,a.jsxs)(s.Z,{variant:"list",className:"full-width-mobile",columns:12,children:[(0,a.jsx)("hr",{className:"divider",style:{marginBottom:"var(--space-5xl)"}}
1),(0,a.jsx)(i.xv,{textAlign:"center",fontColor:"onyx",variant:"h4",children:"Nothing to see here."})]}),V&&V.length>0&&(0,a.jsxs)(s.Z,{variant:"list",className:"full-width-mobile",columns:12,children:[null==V?void 0:V.map(e=>e&&(0,a.jsxs)("div",{children:[(0,a.jsx)("hr",{className:"divider"}),(0,a.jsx)(d.Z,{...(0,d.q)(e),variant:"list",appendPublishDate:!0,...S&&{description:""}})]},e._id)),(null==V?void 0:V.length)===0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("hr",{className:"divider"}),(0,a.jsx)("div",{style:{display:"flex",minHeight:"400px",justifyContent:"center",alignItems:"center",gridColumn:"1 / -1"},children:(0,a.jsxs)(i.xv,{variant:"body1",bold:!0,fontColor:"onyx",fontSize:"1.5rem",textAlign:"center",children:["Nothing here...yet.",(0,a.jsxs)(i.xv,{variant:"body1",fontColor:"onyx",fontSize:"1.5rem",textAlign:"center",fontWeight:"regular",children:["We're cooking up the best"," ",I.toLowerCase()," to share with you—check back soon to see what's fresh off the digital press!"]})]})})]}),(null==V?void 0:V.length)!==0&&(null!==(n=null==V?void 0:V.length)&&void 0!==n?n:0)>=6&&L&&(0,a.jsx)(x,{children:(0,a.jsxs)(r.Z,{style:{padding:"0 var(--space-2xl)"},loading:$||Z,onClick:()=>{A(e=>e+1)},children:["More ",I]})})]})]}),(0,a.jsx)(l.Z,{className:"full-width",heading:null!==(t=null==D?void 0:D.ctaHeading)&&void 0!==t?t:"",description:null!==(b=null==D?void 0:D.ctaDescription)&&void 0!==b?b:"",slug:null!==(_=null==D?void 0:D.slug)&&void 0!==_?_:"",brandName:null!==(w=null==D?void 0:D.name)&&void 0!==w?w:""})]})}},95304:function(e,n,t){t.d(n,{$:function(){return o},F:function(){return l}});var a=t(46018),i=t(31162),r=t(61981),s=t(1512);let o="\n  ...,\n  ".concat(a.$,'\n  "title": coalesce(^.headline, title),\n  "subtitle": coalesce(^.subtitle, subtitle),\n  "publishDate": ^.publishDate,\n  "primaryTagV3": ^.primaryTagV3-> { _id, name, slug },\n  "secondaryTagV3": ^.secondaryTagV3-> { _id, name, slug },\n  "tertiaryTagV3": ^.tertiaryTagV3-> { _id, name, slug },\n  content[] {\n    ').concat(i.h,'\n    _type == "portableTextWrapper" => {\n      content[] {\n        ').concat(i.h,"\n      }\n    },\n  },\n  hero {\n    ...,\n    image {\n      ").concat(s.tX,'\n    },\n  },\n  "shareLinks": ^.shareLinks,\n  imageLayout,\n  youtubeVideoSource,\n  og {\n    ').concat(r.d,'\n  },\n  "wordCount": coalesce(round(length(pt::text(content)) / 5), 0),\n'),l='\n  ...,\n  "__typename": "CrossPost",\n  primaryTagV3-> { _id, name, slug },\n  secondaryTagV3-> { _id, name, slug },\n  tertiaryTagV3-> { _id, name, slug },\n  brand->{\n    slug,\n    domain->{ name, url },\n  },\n  hero {\n    ...,\n    image {\n      '.concat(s.tX,"\n    },\n  },\n  originalContent-> {\n    ").concat(a.$,'\n    "publishDate": ^.publishDate,\n  },\n')},1512:function(e,n,t){t.d(n,{S1:function(){return a},tX:function(){return i},yr:function(){return r}});let a="\n  _type,\n  hotspot { ... },\n  crop { ... },\n  asset->{\n    _id,\n    url,\n    path,\n    assetId,\n    extension,\n    mimeType,\n    externalUrl,\n    webpUrl,\n    mbSource,\n    metadata {\n      dimensions { ... },\n      lqip\n    }\n  },\n",i='\n  "alt": coalesce(asset->.altText, alt),\n  "source": coalesce(asset->.mbSource, source),\n  '.concat(a,"\n"),r='\n  "alt": coalesce(asset->.altText, alt),\n  '.concat(a,"\n")},61981:function(e,n,t){t.d(n,{d:function(){return i}});var a=t(1512);let i="\n  title,\n  seoTitle,\n  description,\n  image {\n    ".concat(a.S1,"\n  },\n  noIndex,\n")},63405:function(e,n,t){t.d(n,{I:function(){return s},j:function(){return r}});var a=t(1512),i=t(61981);let r="\n    \"__typename\": select(\n      _type == 'story.editorial' => 'StoryEditorial',\n      _type == 'story.brandedContent' => 'StoryBrandedContent',\n      _type == 'crossPost' => 'CrossPost',\n      _type == 'ceros.page' => 'CerosPage',\n      _type == 'ceros.editorialPage' => 'CerosEditorialPage',\n      _type == 'gatedContentLandingPage' => 'GatedContentLandingPage',\n      _type == 'events' => 'Events',\n      _type == 'tout' => 'Tout',\n      _type == 'series2' => 'Series2',\n      _type == 'game' => 'Game',\n      _type == 'campaignLandingPage' => 'CampaignLandingPage'\n    ),\n  ",s="\n    ".concat(r,"\n    _id,\n    _type,\n    title,\n    subtitle,\n    description,\n    previewHeadline,\n    previewDescription,\n    previewActionText,\n    publishDate,\n    sponsorLanguage,\n    url,\n    byline,\n    eventDate,\n    eventEndDate,\n    eventLocation,\n    isBranded,\n    slug { ... },\n    primaryTagV3-> { _id, name, slug },\n    tertiaryTagV3-> { _id, name, slug },\n    authors[]-> {\n      ...,\n    },\n    brand->{\n      slug,\n      domain->{ name, url },\n    },\n    newsletter->{\n      ...,\n      domain->{ slug },\n    },\n    hero {\n      image {\n        ").concat(a.tX,"\n      },\n    },\n    primaryImage {\n      ").concat(a.yr,"\n    },\n    headerImage {\n      ").concat(a.yr,"\n    },\n    previewThumbnail {\n      ").concat(a.yr,"\n    },\n    image {\n      ").concat(a.yr,"\n    },\n    ").concat("\n  inlineMeteorAdvertisement-> ".concat("\n{\n    ...,\n    company->{\n      name,\n      image {\n        asset->{\n          url\n        }\n      },\n      logoSize\n    },\n    adImage {\n      asset->{\n        ...,\n        url,\n      }\n    }\n  }\n","\n"),",\n    partner->{\n      ...,\n      logo {\n          ...,\n          asset-> { ... },\n      },\n    },\n    og {\n      ").concat(i.d,"\n    },\n    contentType {\n      contentType,\n      contentSubtype\n    }\n  ")},31162:function(e,n,t){t.d(n,{h:function(){return i}});var a=t(63405);let i='\n  ...,\n  _type == "block" => {\n    ...,\n    markDefs[]{\n      ...,\n      _type == "storyAnnotation" => {\n        ...,\n        "brand": brand->{ slug, name },\n        "relatedResources": relatedResources[]->{\n          '.concat(a.I,'\n        },\n      },\n    },\n  },\n  _type == "imageWithAlt" => {\n    ...,\n    "alt": coalesce(asset->.altText, alt),\n    "source": coalesce(asset->.mbSource, source),\n    "dimensions": {\n      "height": asset->.metadata.dimensions.height,\n      "width": asset->.metadata.dimensions.width,\n      "aspectRatio": asset->.metadata.dimensions.aspectRatio\n    },\n    "lqip": asset->.metadata.lqip,\n  },\n  _type == "inlineImage" => {\n    ...,\n    "alt": coalesce(asset->.altText, alt),\n    "source": coalesce(asset->.mbSource, source),\n    "dimensions": {\n      "height": asset->.metadata.dimensions.height,\n      "width": asset->.metadata.dimensions.width,\n      "aspectRatio": asset->.metadata.dimensions.aspectRatio\n    },\n    "lqip": asset->.metadata.lqip,\n  },\n  _type == "ctaBlock" => {\n    ...,\n    "alt": coalesce(image.asset->.altText, alt),\n    "dimensions": {\n      "height": image.asset->.metadata.dimensions.height,\n      "width": image.asset->.metadata.dimensions.width,\n      "aspectRatio": image.asset->.metadata.dimensions.aspectRatio\n    },\n    "lqip": image.asset->.metadata.lqip,\n  },\n')}
1,46018:function(e,n,t){t.d(n,{$:function(){return r}});var a=t(1512),i=t(61981);let r="\n  _id,\n  \"__typename\": select(\n    _type == 'story.editorial' => 'StoryEditorial',\n    _type == 'story.brandedContent' => 'StoryBrandedContent',\n    _type == 'story.legacyRemotePage' => 'StoryLegacyRemotePage',\n    _type == 'ceros.editorialPage' => 'CerosEditorialPage',\n  ),\n  slug { ... },\n  title,\n  subtitle,\n  hero {\n    ...,\n    image {\n      ".concat(a.tX,'\n    },\n  },\n  primaryTagV3-> { _id, name, slug },\n  secondaryTagV3-> { _id, name, slug },\n  tertiaryTagV3-> { _id, name, slug },\n  authors[]-> {\n    ...,\n    headshot {\n      "alt": coalesce(asset->.altText, alt),\n      hotspot { ... },\n      crop { ... },\n      asset->{\n        _id,\n        url,\n        path,\n        assetId,\n        extension,\n        metadata {\n          dimensions { ... },\n          lqip\n        }\n      }\n    }\n  },\n  publishDate,\n  originalTag,\n  brand->{\n    ...,\n    og {\n      ...,\n      ').concat(i.d,"\n    },\n    domain-> { _id, og, name, url },\n    logo {\n      ...,\n      ").concat(a.S1,'\n    }\n  },\n  headerImage {\n    "alt": coalesce(asset->.altText, alt),\n		"source": coalesce(asset->.mbSource, source),\n    hotspot { ... },\n    crop { ... },\n    asset->{\n      _id,\n      url,\n      path,\n      assetId,\n      extension,\n      webpUrl,\n      mbSource,\n      metadata {\n        dimensions { ... },\n        lqip\n      }\n    },\n    href,\n  },\n  previewActionText,\n  previewDescription,\n  previewHeadline,\n  previewThumbnail {\n    "alt": coalesce(asset->.altText, alt),\n    hotspot { ... },\n    crop { ... },\n    asset->{\n      _id,\n      url,\n      path,\n      assetId,\n      extension,\n      webpUrl,\n      metadata {\n        dimensions { ... },\n        lqip\n      }\n    },\n    href,\n  },\n  youtubeVideoUrl,\n  layout,\n')},2686:function(e,n,t){t.d(n,{BP:function(){return p}});var a=t(73235);t(1978);var i=t(46711),r=t.n(i),s=t(30446);function o(){let e=(0,a._)(["*[_type match $type && slug.current == $slug][0] {\n    _type,\n    disableSponsorship,\n    ",",\n    startDate,\n    endDate,\n    ","\n  }"]);return o=function(){return e},e}function l(){let e=(0,a._)(["*[_id == $id][0] {\n    _type,\n    disableSponsorship,\n    ",",\n    startDate,\n    endDate,\n    ","\n  }"]);return l=function(){return e},e}function c(){let e=(0,a._)(["*[_id == $id || _originalId == $id][0] {\n  _type,\n  disableSponsorship,\n  ",",\n  startDate,\n  endDate,\n  ","\n}"]);return c=function(){return e},e}let d='\n    inlineMeteorAdvertisement-> {\n        ...,\n        company->{\n            name,\n            isInternal,\n            image {\n                asset->{\n                url,\n                "dimensions": {\n                    "height": metadata.dimensions.height,\n                    "width": metadata.dimensions.width,\n                    "aspectRatio": metadata.dimensions.aspectRatio\n                },\n            }\n        },\n        logoSize\n        },\n        adImage {\n        asset->{\n            url,\n            "dimensions": {\n                "height": metadata.dimensions.height,\n                "width": metadata.dimensions.width,\n                "aspectRatio": metadata.dimensions.aspectRatio\n            },\n        }\n        }\n    }\n',u='\n  "tagAd": select(\n    _type == "tagV3.tertiary" => secondaryTag->primaryTag->{\n      startDate,\n      endDate,\n      '.concat(d,',\n    },\n    _type == "tagV3.secondary" => primaryTag->{\n      startDate,\n      endDate,\n      ').concat(d,',\n    },\n    _type == "tagV3.primary" => null,\n    primaryTagV3->{\n      startDate,\n      endDate,\n      ').concat(d,",\n    }\n  )\n");r()(o(),d,u),r()(l(),d,u),r()(c(),d,u);let p=e=>{let{slug:n,documentType:t,id:a,initialData:i}=e,r=a?"?id=".concat(encodeURIComponent(a)):"?slug=".concat(encodeURIComponent(null!=n?n:""),"&type=").concat(encodeURIComponent(null!=t?t:"")),{data:o,isLoading:l,error:c}=(0,s.ZP)((a?"/api/sanity/ads/by-id":"/api/sanity/ads/by-slug")+r,{revalidateOnFocus:!1,revalidateOnReconnect:!1,fallbackData:i});return o&&"object"==typeof o&&"message"in o&&"No ad found"===o.message?{data:null,loading:l,error:null}:{data:o,loading:l,error:c}}},96465:function(e,n,t){t.d(n,{U4:function(){return d}});var a=t(73235),i=t(63405);t(1978);var r=t(46711),s=t.n(r);t(2686);var o=t(95304);function l(){let e=(0,a._)(['\n  *[contentType.contentType in $contentTypes\n    && dateTime(publishDate) < dateTime(now()) && og.noDiscover != true\n    && select((defined($lastPublishDate) && defined($lastId)) => publishDate < $lastPublishDate || publishDate == $lastPublishDate && _id < $lastId, true)\n    && (brand._ref == $brand || brand._ref == $domain || newsletter._ref == $brand)\n    && select(defined($contentSubtypes) => contentType.contentSubtype in $contentSubtypes, true)\n    && select(defined($tagId) => references($tagId), true)\n    && select(defined($featuredOnly) => featured == true, true)\n  ] | order(publishDate desc)[0...$end]   \n  {\n    _type == "crossPost" => {\n      ','\n    },\n    _type != "crossPost" => {\n      ',"\n    }\n  }\n"]);return l=function(){return e},e}function c(){let e=(0,a._)(['\n*[contentType.contentType in $contentTypes\n    && dateTime(publishDate) < dateTime(now()) && og.noDiscover != true\n    && select((defined($lastPublishDate) && defined($lastId)) => publishDate < $lastPublishDate || publishDate == $lastPublishDate && _id < $lastId, true)\n    && (brand._ref == $brand || brand._ref == $domain || newsletter._ref == $brand)\n    && select(defined($contentSubtypes) => contentType.contentSubtype in $contentSubtypes, true)\n    && select(defined($tagId) => references($tagId), true)\n    && select(defined($featuredOnly) => featured == true, true)\n  ] | score(featured) | order(publishDate desc) | order(_score desc)[0...$end]   \n  {\n    _type == "crossPost" => {\n      ','\n    },\n    _type != "crossPost" => {\n      ',"\n    }\n  }\n"]);return c=function(){return e},e}let d=e=>{let{brandId:n,brandSlug:t,domainId:a,contentTypes:i,contentSubtypes:r,tagId:s,featuredOnly:o,lastPublishDate:l,lastId:c,start:d,end:u}=e,p=new URLSearchParams,g=n||(t?"singleton-brand-root-".concat(t):null);return g&&p.set("brand",g),a&&p.set("domain",a),i&&i.length&&p.set("contentTypes",JSON.stringify(i)),r&&r.length&&p.set("contentSubtypes",JSON.stringify(r)),s&&p.set("tagId",s),o&&p.set("featuredOnly","true"),l&&p.set("lastPublishDate",l),c&&p.set("lastId",c),"number"==typeof d&&p.set("start",String(d)),"number"==typeof u&&p.set("end",String(u)),"/api/sanity/content/by-type?".concat(p.toString())};s()(l(),o.F,i.I),s()(c(),o.F,i.I)},94233:function(e,n,t){t.d(n,{ZP:function(){return _}});var a=t(2784),i=t(30446),r=t(31788),s=t(49306),o=t(51325),l=t(43100);let c=()=>{},d=c(),u=Object,p=e=>e===d,g=e=>"function"==typeof e,m=new WeakMap,h=(e,n)=>u.prototype.toString.call(e)===`[object ${n}]`,f=0,y=e=>{let n,t;let a=typeof e,i=h(e,"Date"),r=h(e,"RegExp"),s=h(e,"Object");
1if(u(e)!==e||i||r)n=i?e.toJSON():"symbol"==a?e.toString():"string"==a?JSON.stringify(e):""+e;else{if(n=m.get(e))return n;if(n=++f+"~",m.set(e,n),Array.isArray(e)){for(t=0,n="@";t<e.length;t++)n+=y(e[t])+",";m.set(e,n)}if(s){n="#";let a=u.keys(e).sort();for(;!p(t=a.pop());)p(e[t])||(n+=t+":"+y(e[t])+",");m.set(e,n)}}return n},v=e=>{if(g(e))try{e=e()}catch(n){e=""}let n=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?y(e):"",n]},x=e=>v(e?e(0,null):null)[0],b=Promise.resolve(),_=(0,o.xD)(i.ZP,e=>(n,t,i)=>{let o;let c=(0,a.useRef)(!1),{cache:d,initialSize:u=1,revalidateAll:p=!1,persistSize:g=!1,revalidateFirstPage:m=!0,revalidateOnMount:h=!1,parallel:f=!1}=i,[,,,y]=r.b.get(r.c);try{(o=x(n))&&(o=s.U+o)}catch(e){}let[v,_,w]=(0,r.z)(d,o),j=(0,a.useCallback)(()=>(0,r.e)(v()._l)?u:v()._l,[d,o,u]);(0,l.useSyncExternalStore)((0,a.useCallback)(e=>o?w(o,()=>{e()}):()=>{},[d,o]),j,j);let T=(0,a.useCallback)(()=>{let e=v()._l;return(0,r.e)(e)?u:e},[o,u]),C=(0,a.useRef)(T());(0,r.u)(()=>{if(!c.current){c.current=!0;return}o&&_({_l:g?C.current:T()})},[o,d]);let P=h&&!c.current,S=e(o,async e=>{let a=v()._i,s=v()._r;_({_r:r.U});let o=[],l=T(),[c]=(0,r.z)(d,e),u=c().data,g=[],h=null;for(let e=0;e<l;++e){let[l,c]=(0,r.s)(n(e,f?null:h));if(!l)break;let[v,x]=(0,r.z)(d,l),b=v().data,_=p||a||(0,r.e)(b)||m&&!e&&!(0,r.e)(u)||P||u&&!(0,r.e)(u[e])&&!i.compare(u[e],b);if(t&&("function"==typeof s?s(b,c):_)){let n=async()=>{if(l in y){let e=y[l];delete y[l],b=await e}else b=await t(c);x({data:b,_k:c}),o[e]=b};f?g.push(n):await n()}else o[e]=b;f||(h=b)}return f&&await Promise.all(g.map(e=>e())),_({_i:r.U}),o},i),D=(0,a.useCallback)(function(e,n){let t="boolean"==typeof n?{revalidate:n}:n||{},a=!1!==t.revalidate;return o?(a&&((0,r.e)(e)?_({_i:!0,_r:t.revalidate}):_({_i:!1,_r:t.revalidate})),arguments.length?S.mutate(e,{...t,revalidate:a}):S.mutate()):b},[o,d]),I=(0,a.useCallback)(e=>{let t;if(!o)return b;let[,a]=(0,r.z)(d,o);if((0,r.a)(e)?t=e(T()):"number"==typeof e&&(t=e),"number"!=typeof t)return b;a({_l:t}),C.current=t;let i=[],[s]=(0,r.z)(d,o),l=null;for(let e=0;e<t;++e){let[t]=(0,r.s)(n(e,l)),[a]=(0,r.z)(d,t),o=t?a().data:r.U;if((0,r.e)(o))return D(s().data);i.push(o),l=o}return D(i)},[o,d,D,T]);return{size:T(),setSize:I,mutate:D,get data(){return S.data},get error(){return S.error},get isValidating(){return S.isValidating},get isLoading(){return S.isLoading}}})}}]);

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.