1import{_ as N}from"./61CVUD0W.js";import{a as V,_ as D}from"./LAaD35B8.js";import{v as F,a2 as H,D as e,_ as a,z as n,a3 as t,aa as c,a1 as b,a0 as g,P as L,ag as A,a7 as r,a9 as d,X as _,a6 as k,$ as w,C as m}from"./BmlNhaUW.js";import"./FUuoLXsd.js";import"./CZTJEdQQ.js";import"./BoSLtb37.js";import"./Cd3Y1ogy.js";import"./0K8QGsdX.js";const I={key:0,class:"relative overflow-hidden bg-cc-ri-primary"},M={class:"mb-8 flex flex-wrap items-end justify-between gap-4"},W=["src","alt"],E={key:1,class:"absolute inset-0 bg-cc-ri-primary-light"},O={class:"relative mt-auto p-5 sm:p-7"},P={class:"mt-3 flex items-center gap-2 text-xs text-white/60"},T={key:0,class:"font-semibold"},X={key:1,class:"text-cc-ri-secondary"},$={class:"flex flex-col divide-y divide-white/10"},q={class:"h-14 w-14 shrink-0 overflow-hidden bg-white/10 ring-1 ring-white/20"},G=["src","alt"],J={key:1,class:"flex h-full w-full items-center justify-center font-sans text-sm font-black tabular-nums text-cc-ri-secondary/70"},K={class:"min-w-0"},Q={class:"line-clamp-2 font-sans text-sm font-bold leading-snug text-white transition-colors group-hover:text-cc-ri-secondary"},U={class:"mt-1 text-xs text-white/40"},Y={key:0,class:"grid gap-5 sm:grid-cols-3 lg:col-span-12"},Z=F({__name:"RenaissanceSection",props:{compact:{type:Boolean,default:!1}},async setup(i){let p,f;const C=i,{featured:h,articles:u}=([p,f]=H(()=>V()),p=await p,f(),p),s=m(()=>h??u[0]??null),y=m(()=>(h?u:u.slice(1)).filter(Boolean)),v=m(()=>y.value.slice(0,3)),B=m(()=>y.value.slice(3,C.compact?6:7)),j=m(()=>({backgroundColor:s.value?.category?.color||"#1C1710"}));return(S,o)=>{const x=N,R=D;return e(s)?(a(),n("section",I,[o[5]||(o[5]=t("div",{class:"pointer-events-none absolute inset-0 opacity-[0.06]",style:{"background-image":"radial-gradient(circle at 1px 1px, #e7d6a6 1px, transparent 0)","background-size":"26px 26px"}},null,-1)),t("div",{class:c(["relative",i.compact?"px-5 py-10 sm:px-7":"container mx-auto max-w-6xl px-6 py-12 md:py-16"])},[t("div",M,[t("div",null,[o[0]||(o[0]=t("p",{class:"mb-2 font-sans text-xs font-bold uppercase tracking-[0.3em] text-cc-ri-secondary"}," Wetenschappelijk bureau ",-1)),o[1]||(o[1]=t("h2",{class:"font-sans text-2xl font-black leading-tight text-white md:text-3xl"}," Renaissance Instituut ",-1)),t("p",{class:c(["mt-2 max-w-md font-serif text-sm leading-relaxed text-white/50",i.compact?"line-clamp-2 min-h-[46px]":""])}," Wetenschap, cultuur en de geschiedenis van ideeën vanuit Forum voor Democratie. ",2)]),b(x,{to:"/renaissance",class:"inline-flex items-center gap-2 border border-cc-ri-secondary/40 px-5 py-2.5 font-sans text-sm font-bold text-cc-ri-secondary transition-colors hover:border-cc-ri-secondary hover:bg-cc-ri-secondary/10"},{default:g(()=>[...o[2]||(o[2]=[L(" Lees meer ",-1),t("svg",{class:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M17 8l4 4m0 0l-4 4m4-4H3"})],-1)])]),_:1})]),t("div",{class:c(["grid gap-5",i.compact?"":"lg:grid-cols-12"])},[b(x,{to:e(s).url,class:c(["group relative flex overflow-hidden",i.compact?"min-h-[240px] sm:min-h-[300px]":"min-h-[320px] md:min-h-[420px] lg:col-span-8 lg:row-span-2"])},{default:g(()=>[e(s).image?(a(),n("img",{key:0,src:e(s).image,alt:e(s).title,class:"absolute inset-0 h-full w-full object-cover transition-transform duration-700 group-hover:scale-105"},null,8,W)):(a(),n("div",E)),o[3]||(o[3]=t("div",{class:"absolute inset-0 bg-gradient-to-t from-black/85 via-black/30 to-transparent"},null,-1)),t("div",O,[e(s).category?(a(),n("span",{key:0,style:A(e(j)),class:"mb-3 inline-block px-2.5 py-1 font-sans text-[10px] font-bold uppercase tracking-wider text-white"},r(e(s).category.name),5)):d("",!0),t("h3",{class:c(["font-sans font-black leading-tight text-white transition-colors group-hover:text-cc-ri-secondary",i.compact?"text-lg sm:text-xl":"text-xl sm:text-2xl md:text-3xl"])},r(e(s).title),3),t("div",P,[e(s).author?(a(),n("span",T,r(e(s).author.name),1)):d("",!0),e(s).author&&e(s).date?(a(),n("span",X,"â¢")):d("",!0),t("span",null,r(e(s).date),1)])])]),_:1},8,["to","class"]),t("div",{class:c(["flex flex-col bg-white/[0.05] p-5 ring-1 ring-white/10",i.compact?"":"lg:col-span-4"])},[o[4]||(o[4]=t("p",{class:"mb-3 font-sans text-[10px] font-bold uppercase tracking-[0.28em] text-cc-ri-secondary"}," Meer artikelen ",-1)),t("div",$,[(a(!0),n(_,null,k(e(B),(l,z)=>(a(),w(x,{key:l.id,to:l.url,class:"group flex items-start gap-3.5 py-3.5 first:pt-0 last:pb-0"},{default:g(()=>[t("div",q,[l.image?(a(),n("img",{key:0,src:l.image,alt:l.title,loading:"lazy",class:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105"},null,8,G)):(a(),n("span",J,r(String(z+1).padStart(2,"0")),1))]),t("div",K,[t("h4",Q,r(l.title),
11),t("p",U,r(l.date),1)])]),_:2},1032,["to"]))),128))])],2),e(v).length&&!i.compact?(a(),n("div",Y,[(a(!0),n(_,null,k(e(v),l=>(a(),w(R,{key:l.id,article:l},null,8,["article"]))),128))])):d("",!0)],2)],2)])):d("",!0)}}}),rt=Object.assign(Z,{__name:"HomeRenaissanceSection"});export{rt as default};
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.