import{d as c,o as a,a as d,b as s,g as r,H as t,e as n,P as _,F as x,h as g,k as m,S as f,f as h,t as b,K as y,E as w,V as I,I as k,J as v,L as N}from"./DGtjvSSZ.js";const q={class:"relative mb-32px border border-neutral-300 pb-16px -mx-16px md:mx-0"},C=["src","alt","width","height"],V={class:"afp-carousel-box mb-24px"},z={class:"mb-24px mr-24px h-full md:mb-0 md:mr-0"},B={class:"mb-12px"},S={class:"px-16px text-left font-garamond text-5.5 font-bold leading-6"},L={class:"px-16px"},P=c({__name:"PatrocinadasAside",props:{posts:{},sponsor:{}},setup(E){return(e,l)=>{const p=k,i=v;return a(),d("div",q,[s("img",{src:e.sponsor.query.asideImg.sizes.original.url,alt:e.sponsor.query.asideImg.alt,width:e.sponsor.query.asideImg.sizes.original.width,height:e.sponsor.query.asideImg.sizes.original.height},null,8,C),s("div",V,[r(n(y),{"items-to-show":1,"mouse-drag":"","wrap-around":"","snap-align":"start"},{addons:t(()=>[r(n(_))]),default:t(()=>[(a(!0),d(x,null,g(e.posts,(o,u)=>(a(),m(n(f),{key:u},{default:t(()=>[s("article",z,[r(i,{to:o.url},{default:t(()=>[s("div",B,[o.featuredImage?(a(),m(p,{key:0,"featured-image":o.featuredImage,thumbnail:"",class:"h-full w-full"},null,8,["featured-image"])):h("",!0)]),s("h3",S,b(o.title),1)]),_:2},1032,["to"])])]),_:2},1024))),128))]),_:1})]),s("div",L,[r(i,{to:`/patrocinadas/${e.sponsor.slug}`,style:I({backgroundColor:e.sponsor.query.color}),class:"absolute right-0 mx-16px h-44px flex justify-center rounded-lg px-55px py-16px font-montserrat text-11px font-semibold uppercase text-white md:relative -bottom-20px md:bottom-0 md:mx-0 md:w-full"},{default:t(()=>l[0]||(l[0]=[w("ver más")])),_:1},8,["to","style"])])])}}}),$=N(P,[["__scopeId","data-v-210bba54"]]);export{$ as _};