1import{_ as N}from"./DE7kDFDP.js";import{M as B,as as C,b as I,am as r,y as d,H as o,bl as i,v as l,aP as t,w as D,G as v,aL as c,x as u,u as b,c as g,k as S}from"./BTuAF-fB.js";import{I as w}from"./ChpmTrEj.js";const j={class:"relative w-full h-full group/post"},G={class:"block w-full h-full post_image"},V=["srcset"],A={class:"relative flex flex-col self-center flex-auto mr-auto false"},F={class:"lg:text-4.5xl lg:leading-10 text-3xl leading-8 h2 font-adobeGaramond font-semibold [a:hover_&]:text-blue transition-colors"},L={class:"line-clamp-3 lg:pb-1 pb-0.5"},z={key:1,class:"block text-blue2 max-w-[61rem] lg:mb-4 lg:mt-4 mb-3.5 last:mb-0 text-base lg:leading-6 leading-5"},M={class:"lg:line-clamp-2 line-clamp-4"},O={key:2,class:"flex items-center gap-2.5 last:mb-0 mb-4"},P={class:"block leading-4 font-normal uppercase text-xs text-darkGray"},R={class:"h-7 lg:h-9 block shrink-0 -my-1"},T={key:3,class:"block mt-auto mb-4 text-xs leading-4 uppercase last:mb-0 text-darkGray"},$=B({__name:"BigNews",props:{item:{},meta:{},source:{}},setup(s){const e=s,_=b(()=>g.getStoryFriendlyUrl(e.item,e.meta&&e.source=="sections"?e.meta.id:void 0,e.meta&&e.source=="tags"?e.meta.id:void 0,!0)),f=b(()=>!e.meta||e.source!="sections"&&e.source!="tags"?null:e.source=="sections"?g.getSectionFriendlyUrl(e.meta):g.getTagUrl(e.meta,"story")),p=C(!e.meta||e.source!="sections"&&e.source!="tags"?null:e.meta.name),U=new Date,h=e.item.published_at?new Date(e.item.published_at.ISO8601):null,x=h?I.diffAsString(U,h,"years"):null,a=b(()=>e.item.model==="branded"&&e.item.additional_content?e.item.additional_content:null);return(m,k)=>{const y=N,n=S;return r(),d("article",j,[o(n,{class:"relative self-start block w-full mb-4 overflow-hidden rounded shrink-0 lg:mb-5 last:mb-0 aspect-340/184",href:t(_)},{default:i(()=>[l("picture",G,[l("source",{media:"(min-width: 768px)",srcset:("ImageUtils"in m?m.ImageUtils:t(w)).getCorrectCropByAspectRatio(s.item.cover,16/9),type:"image/jpeg"},null,8,V),o(y,{class:"block w-full h-full object-cover",src:("ImageUtils"in m?m.ImageUtils:t(w)).getCorrectCropByAspectRatio(s.item.cover,16/9),alt:s.item.title,loading:"lazy",format:"webp"},null,8,["src","alt"])])]),_:1},8,["href"]),l("div",A,[t(f)&&t(p)?(r(),D(n,{key:0,class:"block text-xs uppercase text-blue font-semibold leading-4 lg:mb-2.5 mb-1 leading-1 hover:text-darkBlue transition-colors",href:t(f)},{default:i(()=>[v(c(t(p)),1)]),_:1},8,["href"])):u("",!0),o(n,{class:"block last:mb-0 lg:mb-3.5 max-w-[50.6rem]",href:t(_)},{default:i(()=>[l("h3",F,[l("span",null,[l("span",L,c(s.item.title),1)])])]),_:1},8,["href"]),s.item.subtitle?(r(),d("div",z,[l("span",M,c(s.item.subtitle),1)])):u("",!0),t(a)?(r(),d("div",O,[l("div",P,[l("p",null,[k[0]||(k[0]=v(" con ",-1)),o(n,{to:t(a).brand_url,target:"_blank"},{default:i(()=>[l("strong",null,c(t(a).brand_name),1)]),_:1},8,["to"])])]),o(n,{to:t(a).brand_url,target:"_blank"},{default:i(()=>[l("div",R,[o(y,{class:"w-full h-full block object-contain",src:t(a).brand_logo,alt:`News branded by ${t(a).brand_name}`,loading:"lazy"},null,8,["src","alt"])])]),_:1},8,["to"])])):u("",!0),t(x)?(r(),d("div",T,c(t(x)),1)):u("",!0)])])}}}),J=Object.assign($,{__name:"NewsBigNews"});export{J as _};
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.