PageSourceSearch

https://younghollywood.com/assets/news.__slug__._html-Q57Qkbbr.js

js younghollywood.com collected 2026-09-24 21:07:30 UTC 10,862 bytes, 1 lines download raw bytes

1import{az as A,u as L,aA as S,aB as y,aC as T,ao as V,r as C,j as e,m as H,aD as M,aE as $,aF as I,aG as E,S as O,aH as F,B as W,aq as z,ar as f,aI as U,aJ as j,aK as D,aL as q,au as B,av as P,aw as J,aM as K,W as h,aN as w,aO as Q,aP as X,aQ as Y,aR as G,aS as Z,D as ee,M as ae,aT as te,c as se,aU as re,e as ie,aV as le,aW as ne,aX as de}from"./index-BZbnK03S.js";import{r as oe}from"./use-view-history-DiIEslXO.js";const ce=m=>ne({queryKey:["internal-links",m],queryFn:()=>de({data:{articleId:m}}),staleTime:1800*1e3});function he(){const{slug:m}=A.useLoaderData(),{data:r}=L(S(m)),a=r.article,{data:_}=y(T),{data:g}=y(ce(a.id)),n=a.categories,o=a.authors,x=n?.accent_color||"#0033CC",N=V(a.body),u=a.published_at?new Date(a.published_at).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric",timeZone:"UTC"}):null,p=[{name:"Home",href:"/"},{name:"News",href:"/news.html"},...n?[{name:n.name,href:`/${n.slug}.html`}]:[],{name:a.title}],b=p.filter((t,s)=>s===0||t.name.toLowerCase()!==p[s-1].name.toLowerCase()),c=`/news/${m}.html`;return C.useEffect(()=>{oe({kind:"article",slug:a.slug,href:c,title:a.title,image:a.hero_image_url,eyebrow:n?.name??null});const t=window.gtag;typeof t=="function"&&t("event","article_view",{article_id:a.id,article_title:a.title,article_category:n?.name??void 0,article_author:o?.name??void 0,page_location:window.location.href})},[a.id,a.slug,a.title,a.hero_image_url,c,n?.name,o?.name]),e.jsxs(e.Fragment,{children:[e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(H(b))}}),e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(M({url:c,headline:a.title,de
1scription:a.excerpt,image:a.hero_image_url,imageAlt:a.hero_image_alt,datePublished:a.published_at,dateModified:$(a.published_at,a.content_updated_at),authorName:o?.name,authorUrl:o?.slug?`/authors/${o.slug}`:null,section:n?.name,about:(r.talent??[]).map(t=>({name:t.name,url:`/talent/${t.slug}`})),mentions:(Array.isArray(a.tags_raw)?a.tags_raw:[]).filter(t=>typeof t=="string"&&t.trim().length>0).map(t=>({name:t}))}))}}),(()=>{const t=I(E(a.body),c);return t?e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(t)}}):null})(),e.jsx(O,{}),e.jsx(F,{targetSelector:"article[data-yh-article]"}),e.jsxs("main",{className:"pb-[112px] md:pb-0",children:[e.jsx("section",{className:"border-b border-foreground/10 bg-background",children:e.jsx("div",{className:"mx-auto max-w-[1400px] px-4 md:px-6 py-3",children:e.jsx(W,{items:b})})}),e.jsx("section",{className:"relative bg-secondary border-b-8",style:{borderColor:x},children:e.jsx("div",{className:"mx-auto max-w-[1400px] px-4 md:px-6 lg:pl-24 xl:pl-28 py-8 md:py-12",children:e.jsxs("div",{className:"grid gap-8 lg:grid-cols-[1.1fr_1fr] items-center",children:[e.jsxs("div",{children:[n&&e.jsx("div",{className:"mb-4",children:e.jsx(z,{name:n.name,color:n.accent_color,bold:!0})}),e.jsx("h1",{className:"yh-headline text-3xl md:text-5xl lg:text-6xl leading-[1.05]",children:a.title}),a.subtitle&&e.jsx("p",{className:"mt-5 text-xl md:text-2xl leading-snug text-foreground/80 font-serif border-l-4 pl-4",style:{borderColor:x},children:a.subtitle}),e.jsxs("div",{className:"mt-6 flex items-center gap-3 flex-wrap yh-eyebrow text-muted-foreground",children:[null,a.import_flags?.ai_generated?e.jsx("span",{className:"text-foreground",children:"By The YH Wire"}):o?.name&&e.jsxs("span",{className:"text-foreground",children:["By"," ",o?.slug?e.jsx("a",{href:`/authors/${o.slug}`,className:"hover:text-hotpink underline-offset-2 hover:underline",children:o.name}):o.name]}),u&&e.jsxs(e.Fragment,{children:[e.jsx("span",{"aria-hidden":!0,children:" · "}),e.jsx("time",{dateTime:a.published_at??void 0,children:u})]}),e.jsx("span",{"aria-hidden":!0,children:" · "}),e.jsxs("span",{children:[N," min read"]})]}),r.talent&&r.talent.length>0&&e.jsxs("div",{className:"mt-5 flex items-center gap-2 flex-wrap",children:[e.jsx("span",{className:"yh-eyebrow text-[10px] text-muted-foreground mr-1",children:"Featuring"}),r.talent.slice(0,6).map(t=>e.jsx("a",{href:`/talent/${t.slug}`,className:"yh-eyebrow text-xs border border-foreground px-2.5 py-1 hover:bg-foreground hover:text-background transition",children:t.name},t.id))]}),e.jsx("div",{className:"mt-5 lg:hidden",children:e.jsx(f,{title:a.title,path:c,compact:!0})})]}),a.hero_image_url&&e.jsxs("figure",{className:"relative yh-photo-pop",children:[e.jsx(U,{src:a.hero_image_url,alt:a.hero_image_alt||a.title}),(a.hero_image_alt||a.hero_image_credit)&&e.jsxs("figcaption",{className:"mt-3 space-y-1 text-xs text-muted-foreground",children:[a.hero_image_alt&&e.jsx("span",{className:"block leading-snug",children:a.hero_image_alt}),a.hero_image_credit&&e.jsx("span",{className:"block yh-eyebrow text-[10px] tracking-wider",children:a.import_flags?.ai_generated?"The YH Wire":`Photo: ${a.hero_image_credit.replace(/^\s*photo\s*:\s*/i,"")}`})]})]})]})})}),e.jsx("div",{className:"mx-auto max-w-[1400px] px-4 md:px-6",children:e.jsx(j,{id:"scene_top",adId:"1335433e-3f83-4df3-84e9-6fa65a941ecf",repeating:!0,size:"leaderboard",className:"my-4 md:my-6"})}),e.jsxs("div",{className:"mx-auto grid max-w-[1400px] gap-8 px-4 md:px-6 lg:pl-24 xl:pl-28 py-6 md:py-8 lg:gap-10 xl:gap-14 lg:grid-cols-[minmax(0,1fr)_320px] min-w-0",children:[e.jsxs("article",{"data-yh-article":!0,"data-yh-lightbox":!0,className:"max-w-[720px] mx-auto lg:mx-0 w-full relative min-w-0 [overflow-x:clip]",children:[e.jsx(D,{title:a.title}),e.jsx(q,{bullets:a.tldr_bullets}),B(a.body,a.excerpt)&&e.jsx("p",{className:"text-xl md:text-3xl font-serif leading-snug border-l-4 pl-4 md:pl-5 py-1 mb-6 md:mb-8",style:{borderColor:x},children:P(a.excerpt)}),e.jsx("div",{className:"font-serif text-lg leading-relaxed text-foreground",children:e.jsx(J,{body:a.body,accent:x,excerpt:a.excerpt,talentLinks:_?.talent,extraLinks:g?.links,inlineVideo:r.inlineVideo,inlineVideoEyebrow:r.inlineVideoReason==="talent"&&r.talent[0]?`More with ${r.talent[0].name}`:r.inlineVideo?.category_name?`More ${r.inlineVideo.category_name}`:"More to watch"})}),r.talent&&r.talent.length>6&&e.jsxs("div",{className:"mt-10 border-t border-border pt-6",children:[e.jsx("p",{className:"yh-eyebrow text-muted-foreground mb-3",children:"Also Featuring"}),e.jsx("div",{className:"flex flex-wrap gap-2",children:r.talent.slice(6).map(t=>e.jsx("a",{href:`/talent/${t.slug}`,className:"yh-eyebrow border border-foreground px-3 py-1 hover:bg-foreground hover:text-background transition",children:t.name},t.id))})]}),e.jsx("div",{className:"mt-10 pt-6 border-t border-border",children:e.jsx(f,{title:a.title,path:c,imageUrl:a.hero_image_url,
1imageAlt:a.hero_image_alt||a.title,description:a.excerpt})}),e.jsx(K,{items:(g?.related??[]).filter(t=>!r.relatedVideos.slice(0,3).some(s=>t.href.endsWith(`/${s.slug}.html`)))}),e.jsx(h,{minHeight:500,children:e.jsxs(e.Fragment,{children:[(()=>{const t=r.relatedVideos.slice(0,3);if(t.length===0)return null;const s=r.talent[0],i=r.inlineVideoReason==="talent",d=i&&s?`Up Next With ${s.name}`:"Up Next To Watch";return e.jsx(w,{videos:t,variant:"upnext",eyebrow:"Watch",heading:d,ctaHref:i&&s?`/talent/${s.slug}`:"/videos.html",ctaLabel:i&&s?`All ${s.name}`:"All Videos"})})(),(()=>{const t=Array.isArray(a.tags_raw)?a.tags_raw:[],i=Q({categoryName:n?.name,tags:t,title:a.title})??"lifestyle",d=r.talent?.[0]?.name||a.title,l=X({tags:t,title:a.title,exclude:[d,"young","hollywood"]}),v=Y({theme:i,subject:d,refiner:l}),{eyebrow:k,heading:R}=G(i,d);return e.jsx(Z,{picks:v,eyebrow:k,heading:R,linkContext:{kind:"ctx",subject:d,theme:i,refiner:l}})})()]})})]}),e.jsx("aside",{className:"hidden lg:block",children:e.jsxs("div",{className:"sticky top-24 space-y-8",children:[e.jsx(ee,{reserve:600,children:e.jsx(j,{id:"article_sidebar",adId:"b8075526-98a9-458d-a2d6-cfdc739c57fb",size:"halfpage",activeViewRefresh:!0})}),(()=>{const t=new Set(r.related.map(i=>i.id)),s=r.mostRead.filter(i=>i.id!==a.id&&!t.has(i.id)).slice(0,5);return s.length===0?null:e.jsx(ae,{quiet:!0,title:"From News",items:s.map(i=>({href:`/news/${i.slug}.html`,title:i.title,eyebrow:i.category_name,image:i.hero_image_url}))})})()]})})]}),e.jsx("div",{className:"yh-divider-grad mx-auto max-w-[1400px] my-2"}),e.jsx(h,{minHeight:500,children:(()=>{const t=r.related.filter(s=>s.id!==a.id);return t.length===0?null:e.jsx("section",{className:"bg-neon text-neon-foreground border-t-4 md:border-t-8 border-foreground mt-12",children:e.jsxs("div",{className:"mx-auto max-w-[1400px] px-4 md:px-6 py-10 md:py-14",children:[e.jsxs("div",{className:"flex items-end justify-between mb-8 border-b-2 border-foreground
1/30 pb-4",children:[e.jsxs("div",{children:[e.jsx("p",{className:"yh-eyebrow text-xs text-foreground/60 mb-1",children:"Keep Reading"}),e.jsx("h2",{className:"yh-headline text-3xl md:text-5xl text-foreground",children:e.jsx("span",{className:"yh-underline-pink",children:"READ NEXT"})})]}),e.jsx("a",{href:"/news.html",className:"yh-eyebrow text-foreground/70 hover:text-foreground",children:"More News →"})]}),e.jsx("div",{className:"grid gap-6 sm:grid-cols-2 lg:grid-cols-3",children:t.map(s=>e.jsx(te,{article:s},s.id))})]})})})()}),e.jsx(h,{minHeight:500,children:(()=>{const t=r.relatedVideos.slice(3,11);if(t.length===0)return null;const s=r.talent[0],i=r.inlineVideoReason==="talent",d=t[0]?.category_name,l=i&&s?`MORE WITH ${s.name.toUpperCase()}`:d?`MORE ${d.toUpperCase()} VIDEOS`:"MORE TO WATCH";return e.jsx(w,{videos:t,variant:"main",eyebrow:"Watch",heading:l,ctaHref:i&&s?`/talent/${s.slug}`:"/videos.html",ctaLabel:i&&s?`All ${s.name}`:"All Videos"})})()}),e.jsx(h,{minHeight:500,children:(()=>{const t=new Set(r.related.map(l=>l.id)),s=new Set(r.mostRead.filter(l=>l.id!==a.id&&!t.has(l.id)).slice(0,5).map(l=>l.id)),i=new Set([a.id,...t,...s]),d=r.archive.filter(l=>!i.has(l.id));return d.length===0?null:e.jsx("section",{className:"bg-background border-t-4 md:border-t-8 border-foreground",children:e.jsxs("div",{className:"mx-auto max-w-[1400px] px-4 md:px-6 py-10 md:py-14",children:[e.jsx("div",{className:"flex items-end justify-between mb-8 border-b-2 border-foreground
1/20 pb-4",children:e.jsxs("div",{children:[e.jsx("p",{className:"yh-eyebrow text-xs text-muted-foreground mb-1",children:"Evergreen reads"}),e.jsx("h2",{className:"yh-headline text-3xl md:text-5xl",children:e.jsx("span",{className:"yh-underline-pink",children:"FROM THE ARCHIVE"})})]})}),e.jsx("div",{className:"-mx-4 md:mx-0 overflow-x-auto",children:e.jsx("div",{className:"flex gap-4 px-4 md:px-0 md:grid md:grid-cols-5 md:gap-6",children:d.map(l=>e.jsx("div",{className:"w-[260px] shrink-0 md:w-auto md:shrink md:min-w-0",children:e.jsx(se,{article:l,size:"sm"})},l.id))})})]})})})()}),e.jsx(re,{})]}),e.jsx(ie,{}),e.jsx(le,{adId:"86b344ee-ca22-4b22-859a-2c773a4ea9e1"})]})}export{he as component};

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.