PageSourceSearch

https://www.retailbrew.com/_next/static/chunks/pages/contributor/[author]-4ad6eff955f83b80.js

js retailbrew.com collected 2026-09-24 15:17:19 UTC 26,273 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[230],{84414:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contributor/[author]",function(){return t(41342)}])},38194:function(n,e,t){"use strict";t.r(e);var a=t(44212);e.default=a.Z},41342:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSG:function(){return Q},default:function(){return G}});var a=t(52322),i=t(73235),r=t(1512);t(1978);var o=t(46711),s=t.n(o);function l(){let n=(0,i._)(['\n    *[_type == "person" && username == $authorUsername][0] {\n        ...,\n        headshot {\n            ',"\n        }\n    }\n"]);return l=function(){return n},n}s()(l(),r.tX);var d=t(63405);t(2686);var c=t(95304);function u(){let n=(0,i._)(['\n    *[(_type match "story.*" || _type == "crossPost")\n        && brand._ref == $brandId\n        && dateTime(publishDate) <= dateTime(now())\n        && og.noDiscover != true\n        && select(defined($term) => (title match $term || pt::text(content) match $term), true)\n        && select(defined($authorId) => $authorId in authors[]._ref || $authorId in originalContent->authors[]._ref, true)\n    ] \n    | score(pt::text(content) match $term, boost(title match $term, 5), boost(subtitle match $term, 3), boost(seoTitle match $term, 4))\n    [select((defined($lastScore) && defined($lastId)) => _score < $lastScore || _score == $lastScore && _id > $lastId, true)] \n    | order(_score desc, publishDate desc)[0...$end] {\n    _id,\n    _score,\n    _type == "crossPost" => {\n      ','\n    },\n    _type != "crossPost" => {\n      ',"\n    }\n    }\n"]);return u=function(){return n},n}function m(){let n=(0,i._)(['\n    *[(_type match "story.*" || _type == "crossPost")\n        && brand._ref == $brandId\n        && dateTime(publishDate) <= dateTime(now())\n        && og.noDiscover != true\n        && select(defined($authorId) => $authorId in authors[]._ref || $authorId in originalContent->authors[]._ref, true)\n        && select((defined($lastPublishDate) && defined($lastId)) => publishDate < $lastPublishDate || publishDate == $lastPublishDate && _id < $lastId, true)\n    ] | order(publishDate desc)[0...$end] {\n    _id,\n    _type == "crossPost" => {\n      ','\n    },\n    _type != "crossPost" => {\n      ',"\n    }\n    }\n"]);return m=function(){return n},n}s()(u(),c.F,d.I),s()(m(),c.F,d.I);var p=t(73287),h=t(73307),g=t(49709),f=t(57800),y=t(37303),v=t(15271),_=t(24653),b=t(35505);let x=b.ZP.div.withConfig({displayName:"style__BadgeContainer",componentId:"sc-f267658d-0"})(["display:flex;width:100%;justify-content:flex-start;align-items:center;margin-bottom:var(--space-lg);flex-wrap:wrap;row-gap:var(--space-md);"]),w=b.ZP.div.withConfig({displayName:"style__ProfilePicture",componentId:"sc-f267658d-1"})(["position:relative;width:55px;height:55px;border-radius:50%;overflow:hidden;margin-right:var(--space-md);flex-shrink:0;img{width:100%;object-fit:contain;object-position:center;}"]),I=b.ZP.div.withConfig({displayName:"style__InitialsContainer",componentId:"sc-f267658d-2"})(["width:55px;height:55px;background-color:",";display:flex;justify-content:center;align-items:center;border-radius:50%;overflow:hidden;margin-right:var(--space-md);"],n=>{let{theme:e}=n;return e.colors.primary}),P=b.ZP.div.withConfig({displayName:"style__BadgeInfo",componentId:"sc-f267658d-3"})(["display:flex;flex-direction:column;margin-right:",";"],n=>{let{theme:e}=n;return e.margin.lg}),j=(0,b.ZP)(h.xv).withConfig({displayName:"style__AuthorInfo",componentId:"sc-f267658d-4"})(["font-weight:600;letter-spacing:",";&.byline{font-family:var(--font-azeret-mono);font-size:var(--font-scale-000);color:var(--colors-secondary-text);font-style:normal;font-weight:500;line-height:16px;letter-spacing:0.6px;text-transform:uppercase;}"],n=>{let{theme:e}=n;return e.letterSpacing.wide}),C=(0,b.ZP)(_.Z).withConfig({displayName:"style__TwitterButton",componentId:"sc-f267658d-5"})(["background-color:",";border-radius:var(--border-radius-round);padding:var(--space-xs) var(--space-lg);font-size:var(--font-scale-0);height:100%;margin-right:15px;"],n=>{let{theme:e}=n;return e.colors.black});function S(){let n=(0,i._)(["\n    ","\n    fragment AuthorBadge on Person {\n      _id\n      name\n      byline\n      twitter\n      username\n      headsh
1ot {\n        ...ImageWithAlt\n      }\n    }\n  "]);return S=function(){return n},n}function T(n){let{authors:e}=n;return e?(0,a.jsx)(a.Fragment,{children:e.map(n=>{var e,t,i;if(!n)return null;let{headshot:r,byline:o,twitter:s,name:l,username:d}=n,c=(null==r?void 0:null===(e=r.asset)||void 0===e?void 0:e.url)&&"".concat(r.asset.url,"?w=55&h=55&dpr=2&auto=format");return(0,a.jsxs)(x,{children:[r?(0,a.jsx)(w,{children:(0,a.jsx)(v.Z,{src:null!=c?c:"",imageHeight:55,imageWidth:55,objectFit:"cover"})}):(0,a.jsx)(I,{children:(0,a.jsx)(h.xv,{variant:"h6",bold:!0,fontSize:"1.5rem",fontColor:"white",mb:"none",textAlign:"center",lineHeight:"55px",children:null==l?void 0:null===(i=l.match(/\b(\w)/g))||void 0===i?void 0:null===(t=i.join(""))||void 0===t?void 0:t.toUpperCase()})}),(0,a.jsxs)(P,{children:[(0,a.jsx)(j,{variant:"h1",mb:"xs",fontColor:"black",fontWeight:"bold",children:l}),o&&(0,a.jsx)(j,{variant:"body2",fontSize:"0.75rem",fontColor:"onyx",mb:"none",className:"byline",children:o})]}),s&&(0,a.jsx)(C,{asLink:!0,href:"https://twitter.com/".concat(s),rel:"noopener noreferrer",iconLeft:(0,a.jsx)(h.Zm,{}),children:"Follow"})]},d)})}):null}T.fragments={author:(0,f.Ps)(S(),y.Z.fragments.imageWithAlt)};var D=t(37233),$=t(84576),k=t(77386),Z=t(57438);let A=(n,e,t)=>{let{query:a,pathname:i}=t;t.push({pathname:i,query:{...a,[n]:encodeURI(e)}},void 0,{shallow:!0})};var N=t(13855),R=t(10894),U=t(5632),q=t(2784),V=t(15299),L=t(30446),W=t(94233),z=t(38194),E=t(1310);let F=b.ZP.div.withConfig({displayName:"style__PageWrapper",componentId:"sc-3369167c-0"})(["grid-column:1 / -1;","{padding:0 var(--space-md);margin-top:var(--space-xl);}"],h.Mq),M=b.ZP.div.withConfig({displayName:"style__NoResults",componentId:"sc-3369167c-1"})(["min-height:300px;display:flex;justify-content:center;align-items:center;padding:",";"],n=>{let{theme:e}=n;return e.padding.md}),B=b.ZP.div.withConfig({displayName:"style__Spacer",componentId:"sc-3369167c-2"})(["height:1.5rem;"]),O=(0,b.ZP)(h.xv).withConfig({displayName:"style__AuthorBio",componentId:"sc-3369167c-3"})(["max-width:800px;font-family:var(--font-sohne);font-size:var(--font-scale-0);"]);function X(n){var e,t,i,r,o,s;let{authorFallback:l,storyFallback:d}=n,c=(0,U.useRouter)(),{query:{q:u="",author:m}}=c,p=Array.isArray(u)?u.join("/"):u,f=Array.isArray(m)?m.join("-"):null!=m?m:"",{data:y,isLoading:v,isValidating:b,error:x}=(0,L.ZP)("/api/sanity/authors/get-author?authorUsername=".concat(f),{revalidateOnFocus:!1,revalidateOnMount:!0,fallbackData:l}),w=(0,q.useCallback)((n,e)=>{var t,a,i,r,o,s;if(e&&0===e.length)return null;let l=null!==(r=null==e?void 0:null===(t=e[e.length-1])||void 0===t?void 0:t._id)&&void 0!==r?r:null,d=null!==(o=null==e?void 0:null===(a=e[e.length-1])||void 0===a?void 0:a._score)&&void 0!==o?o:null,c=null!==(s=null==e?void 0:null===(i=e[e.length-1])||void 0===i?void 0:i.publishDate)&&void 0!==s?s:null,u=null==y?void 0:y._id;if(!u)return null;let m=new URLSearchParams({brandId:(0,R.M8)(),...u&&{authorId:u},...p&&{query:p},...l&&{lastId:l},...d&&{lastScore:d},...c&&{lastPublishDate:c},end:String(12)});return"/api/sanity/stories/search?".concat(m.toString())},[p,null==y?void 0:y._id]),{data:I,error:P,isLoading:j,isValidating:C,setSize:S,mutate:X}=(0,W.ZP)(w,{revalidateOnFocus:!1,revalidateFirstPage:!1,revalidateOnMount:!0,fallbackData:d?[d]:void 0});(0,q.useEffect)(()=>{X()},[p,null==y?void 0:y._id,X]);let H=(0,N.A)(V.default.dynamicLinks.authorPage.href(null!=f?f:"")),Q="".concat(null==y?void 0:y.name," is a ").concat(null==y?void 0:y.byline),G=(0,q.useMemo)(()=>I?I.flat():[],[I]),J=!j&&!C&&!G.length||P,K=null==I?void 0:I[I.length-1],Y=K&&12===K.length&&!P;return y&&!x||v||b?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g.Z,{title:null!==(i=null==y?void 0:y.name)&&void 0!==i?i:"",description:Q,openGraph:{title:null!==(r=null==y?void 0:y.name)&&void 0!==r?r:"",images:[{url:(null==y?void 0:null===(t=y.headshot)||void 0===t?void 0:null===(e=t.asset)||void 0===e?void 0:e.url)||"",alt:null!==(o=null==y?void 0:y.name)&&void 0!==o?o:""}],description:Q,url:H},twitterMeta:{title:null!==(s=null==y?void 0:y.name)&&void 0!==s?s:"",description:Q},canonical:H}),(0,a.jsxs)($.J,{style:{gridRowGap:"var(--space-3xl)"},className:"full-width-mobile",children:[(0,a.jsxs)(F,{children:[y&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(T,{authors:[y]}),(0,a.jsx)(O,{variant:"body1",mt:"lg",mb:"md",lineHeight:"1.5",children:null==y?void 0:y.bio}),(0,a.jsx)(B,{}),(0,a.jsx)(E.y,{handleSearch:n=>{A("q",n,c)},onClear:()=>{c.push(V.default.dynamicLinks.authorPage.href(f),void 0,{shallow:!0})},showClearButton:!!p,isLoading:j||C})]}),(j||C||v||b)&&!G.length&&(0,a.jsx)(k.Z,{}),(J||P)&&y&&p&&!j&&J&&(0,a.jsx)(M,{children:(0,a.jsxs)(h.xv,{variant:"h6",children:["No results found for ",(0,a.jsx)("strong",{children:' "'.concat(decodeURI(p),'" ')}),"by ",y.name]})}),(J||P)&&y&&!p&&!j&&(0,a.jsx)(M,{children:(0,a.jsxs)(h.xv,{variant:"h6",children:[y.name," has no content (yet)."]})})]}),!J&&G&&G.length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(D.Z,{columns:12,columnsPerElement:4,variant:"grid",className:"full-width-mobile",children:G.map(n=>n?(0,a.jsx)(Z.Z,{...(0,Z.q)(n)},n._id):null)}),Y&&(0,a.jsx)("div",{style:{gridColumn:"1 / -1",display:"flex",justifyContent:"center",padding:"var(--space-lg) 0"},children:(0,a.jsx)(_.Z,{onClick:()=>{S(n=>n+1)},loading:j||C,children:"Load More Stories"})})]})]})]}):(0,a.jsx)(z.default,{statusCode:404})}let H=n=>{let{authorData:e,storyData:t}=n;return(0,a.jsx)(X,{authorFallback:e,storyFallback:t})};H.Layout=p.Z;var Q=!0,G=H},37303:function(n,e,t){"use strict";t.d(e,{Z:function(){return h}});var a=t(73235),i=t(52322),r=t(1978),o=t(57800),s=t(35505),l=t(15271);let d=(0,s.ZP)(l.Z).withConfig({displayName:"style__Image",componentId:"sc-478c820c-0"})(["width:100%;height:auto;"]);function c(){let n=(0,a._)(["\n    fragment Image on Image {\n      asset {\n        _id\n        url\n        webpUrl\n        externalUrl\n        metadata {\n          lqip\n          dimensions {\n            aspectRatio\n            height\n            width\n          }\n        }\n      }\n      hotspot {\n        width\n        height\n        x\n        y\n      }\n      crop {\n        top\n        left\n        bottom\n        right\n      }\n    }\n  "]);return c=function(){return n},n}function u(){let n=(0,a._)(["\n    fragment ImageWithAlt on ImageWithAlt {\n      alt\n      asset {\n        _id\n        url\n        webpUrl\n        externalUrl\n        metadata {\n          lqip\n          dimensions {\n            aspectRatio\n            height\n            width\n          }\n        }\n      }\n      hotspot {\n        width\n        height\n        x\n        y\n      }\n      crop {\n        top\n        left\n        bottom\n        right\n      }\n      href\n      source\n    }\n  "]);return u=function(){return n},n}function m(){let n=(0,a._)(["\n    fragment ImageWithAltNoSource on ImageWithAltNoSource {\n      alt\n      asset {\n        _id\n        url\n        webpUrl\n        externalUrl\n        metadata {\n          lqip\n          dimensions {\n            aspectRatio\n            height\n            width\n          }\n        }\n      }\n      hotspot {\n        width\n        height\n        x\n        y\n      }\n      crop {\n        top\n        left\n        bottom\n        right\n      }\n    }\n  "]);return m=function(){return n},n}let p=n=>{var e,t;let{image:{alt:a,...o},width:s,height:l}=n,{urlFor:c}=(0,r.SU)(),u=c(o).width(s).height(l).auto("format").quality(70).url()||"";return(0,i.jsx)(d,{src:u,imageWidth:s,imageHeight:l,alt:a||"",...(null==o?void 0:null===(t=o.asset)||void 0===t?void 0:null===(e=t.metadata)||void 0===e?void 0:e.lqip)&&{blurData:o.asset.metadata.lqip}})};p.fragments={image:(0,o.Ps)(c()),imageWithAlt:(0,o.Ps)(u()),imageWithAltNoSource:(0,o.Ps)(m())};var h=p},1310:function(n,e,t){"use strict";t.d(e,{y:function(){return d}});var a=t(52322),i=t(73307),r=t(24653),o=t(37129),s=t(2784),l=t(33695);let d=n=>{let{handleSearch:e,onClear:t,showClearButton:d,isLoading:c,placeholder:u="Search..."}
1=n,[m,p]=(0,s.useState)("");return(0,a.jsxs)(o.Rz,{onSubmit:n=>{n.preventDefault(),e(m)},style:{justifyContent:"flex-start"},children:[(0,a.jsx)(l.S,{placeholder:u,onChange:n=>p(n.target.value),leftIcon:(0,a.jsx)(i.W1,{}),value:m,onClear:()=>{p(""),null==t||t()},showClearButton:d||m.length>0}),(0,a.jsx)(r.Z,{type:"submit",style:{padding:"var(--space-md) var(--space-2xl)"},loading:c,children:"Search"})]})}},33695:function(n,e,t){"use strict";t.d(e,{C:function(){return o},S:function(){return s}});var a=t(73307),i=t(95709),r=t(35505);let o=r.ZP.div.withConfig({displayName:"style__PageHeading",componentId:"sc-b3fbbc1b-0"})(["","{padding:var(--space-xl) var(--space-lg) 0 var(--space-lg);form{flex-direction:row;input{flex:1 1 auto;}}}"],a.Mq),s=(0,r.ZP)(i.Z).withConfig({displayName:"style__InputWrapper",componentId:"sc-b3fbbc1b-1"})(["input{flex:1 0 400px;}&{max-width:400px;}","{width:100%;input,&{width:100%;max-width:none;flex:auto;}}"],a.Mq)},95304:function(n,e,t){"use strict";t.d(e,{$:function(){return s},F:function(){return l}});var a=t(46018),i=t(31162),r=t(61981),o=t(1512);let s="\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(o.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(o.tX,"\n    },\n  },\n  originalContent-> {\n    ").concat(a.$,'\n    "publishDate": ^.publishDate,\n  },\n')},1512:function(n,e,t){"use strict";t.d(e,{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(n,e,t){"use strict";t.d(e,{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(n,e,t){"use strict";t.d(e,{I:function(){return o},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  ",o="\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(n,e,t){"use strict";t.d(e,{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(n,e,t){"use strict";t.d(e,{$: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(n,e,t){"use strict";t.d(e,{BP:function(){return m}});var a=t(73235);t(1978);var i=t(46711),r=t.n(i),o=t(30446);function s(){let n=(0,a._)(["*[_type match $type && slug.current == $slug][0] {\n    _type,\n    disableSponsorship,\n    ",",\n    startDate,\n    endDate,\n    ","\n  }"]);return s=function(){return n},n}function l(){let n=(0,a._)(["*[_id == $id][0] {\n    _type,\n    disableSponsorship,\n    ",",\n    startDate,\n    endDate,\n    ","\n  }"]);return l=function(){return n},n}function d(){let n=(0,a._)(["*[_id == $id || _originalId == $id][0] {\n  _type,\n  disableSponsorship,\n  ",",\n  startDate,\n  endDate,\n  ","\n}"]);return d=function(){return n},n}let c='\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(c,',\n    },\n    _type == "tagV3.secondary" => primaryTag->{\n      startDate,\n      endDate,\n      ').concat(c,',\n    },\n    _type == "tagV3.primary" => null,\n    primaryTagV3->{\n      startDate,\n      endDate,\n      ').concat(c,",\n    }\n  )\n");r()(s(),c,u),r()(l(),c,u),r()(d(),c,u);let m=n=>{let{slug:e,documentType:t,id:a,initialData:i}=n,r=a?"?id=".concat(encodeURIComponent(a)):"?slug=".concat(encodeURIComponent(null!=e?e:""),"&type=").concat(encodeURIComponent(null!=t?t:"")),{data:s,isLoading:l,error:d}=(0,o.ZP)((a?"/api/sanity/ads/by-id":"/api/sanity/ads/by-slug")+r,{revalidateOnFocus:!1,revalidateOnReconnect:!1,fallbackData:i});return s&&"object"==typeof s&&"message"in s&&"No ad found"===s.message?{data:null,loading:l,error:null}:{data:s,loading:l,error:d}}},10894:function(n,e,t){"use strict";t.d(e,{M8:function(){return r},jN:function(){return i}});var a=t(23285);let i=n=>{let e=Array.isArray(n)?n.join("/"):n;return a.nw?e&&e.length>0?e:null!==a.UQ&&void 0!==a.UQ?a.UQ:a.nw:a.UQ?a.UQ:Array.isArray(n)?n.join("/"):n},r=()=>"singleton-brand-root-".concat(a.UQ)},94233:function(n,e,t){"use strict";t.d(e,{ZP:function(){return x}});var a=t(2784),i=t(30446),r=t(31788),o=t(49306),s=t(51325),l=t(43100);let d=()=>{},c=d(),u=Object,m=n=>n===c,p=n=>"function"==typeof n,h=new WeakMap,g=(n,e)=>u.prototype.toString.call(n)===`[object ${e}]`,f=0,y=n=>{let e,t;let a=typeof n,i=g(n,"Date"),r=g(n,"RegExp"),o=g(n,"Object");
1if(u(n)!==n||i||r)e=i?n.toJSON():"symbol"==a?n.toString():"string"==a?JSON.stringify(n):""+n;else{if(e=h.get(n))return e;if(e=++f+"~",h.set(n,e),Array.isArray(n)){for(t=0,e="@";t<n.length;t++)e+=y(n[t])+",";h.set(n,e)}if(o){e="#";let a=u.keys(n).sort();for(;!m(t=a.pop());)m(n[t])||(e+=t+":"+y(n[t])+",");h.set(n,e)}}return e},v=n=>{if(p(n))try{n=n()}catch(e){n=""}let e=n;return[n="string"==typeof n?n:(Array.isArray(n)?n.length:n)?y(n):"",e]},_=n=>v(n?n(0,null):null)[0],b=Promise.resolve(),x=(0,s.xD)(i.ZP,n=>(e,t,i)=>{let s;let d=(0,a.useRef)(!1),{cache:c,initialSize:u=1,revalidateAll:m=!1,persistSize:p=!1,revalidateFirstPage:h=!0,revalidateOnMount:g=!1,parallel:f=!1}=i,[,,,y]=r.b.get(r.c);try{(s=_(e))&&(s=o.U+s)}catch(n){}let[v,x,w]=(0,r.z)(c,s),I=(0,a.useCallback)(()=>(0,r.e)(v()._l)?u:v()._l,[c,s,u]);(0,l.useSyncExternalStore)((0,a.useCallback)(n=>s?w(s,()=>{n()}):()=>{},[c,s]),I,I);let P=(0,a.useCallback)(()=>{let n=v()._l;return(0,r.e)(n)?u:n},[s,u]),j=(0,a.useRef)(P());(0,r.u)(()=>{if(!d.current){d.current=!0;return}s&&x({_l:p?j.current:P()})},[s,c]);let C=g&&!d.current,S=n(s,async n=>{let a=v()._i,o=v()._r;x({_r:r.U});let s=[],l=P(),[d]=(0,r.z)(c,n),u=d().data,p=[],g=null;for(let n=0;n<l;++n){let[l,d]=(0,r.s)(e(n,f?null:g));if(!l)break;let[v,_]=(0,r.z)(c,l),b=v().data,x=m||a||(0,r.e)(b)||h&&!n&&!(0,r.e)(u)||C||u&&!(0,r.e)(u[n])&&!i.compare(u[n],b);if(t&&("function"==typeof o?o(b,d):x)){let e=async()=>{if(l in y){let n=y[l];delete y[l],b=await n}else b=await t(d);_({data:b,_k:d}),s[n]=b};f?p.push(e):await e()}else s[n]=b;f||(g=b)}return f&&await Promise.all(p.map(n=>n())),x({_i:r.U}),s},i),T=(0,a.useCallback)(function(n,e){let t="boolean"==typeof e?{revalidate:e}:e||{},a=!1!==t.revalidate;return s?(a&&((0,r.e)(n)?x({_i:!0,_r:t.revalidate}):x({_i:!1,_r:t.revalidate})),arguments.length?S.mutate(n,{...t,revalidate:a}):S.mutate()):b},[s,c]),D=(0,a.useCallback)(n=>{let t;if(!s)return b;let[,a]=(0,r.z)(c,s);if((0,r.a)(n)?t=n(P()):"number"==typeof n&&(t=n),"number"!=typeof t)return b;a({_l:t}),j.current=t;let i=[],[o]=(0,r.z)(c,s),l=null;for(let n=0;n<t;++n){let[t]=(0,r.s)(e(n,l)),[a]=(0,r.z)(c,t),s=t?a().data:r.U;if((0,r.e)(s))return T(o().data);i.push(s),l=s}return T(i)},[s,c,T,P]);return{size:P(),setSize:D,mutate:T,get data(){return S.data},get error(){return S.error},get isValidating(){return S.isValidating},get isLoading(){return S.isLoading}}})}},function(n){n.O(0,[2888,9774,179],function(){return n(n.s=84414)}),_N_E=n.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.