import{d as u,o as r,a as i,b as e,g as l,H as o,e as m,P as h,F as c,h as b,k as f,n as x,t as g,S as _,K as w,E as y,V as z,J as I,L as k}from"./DGtjvSSZ.js";const q={class:"relative mb-24px border-b border-b-neutral-300 pt-18px before:absolute before:left-0 before:right-0 before:mx-auto before:h-3px before:w-80px before:bg-orangeColor before:content-[''] before:-bottom-3px before:md:w-200px -mx-16px md:mx-0 lg:pr-32px"},v={class:"caja-afp pb-44px md:pb-0"},C=["srcset"],S=["srcset"],B=["src","width","height","alt"],N={class:"ml-16px md:ml-0 md:-mt-55px"},V=["href"],L={class:"mb-12px h-170px md:h-139px md:w-245px"},P=["src","width","height","alt"],T={class:"text-left font-garamond text-5.5 font-bold leading-6"},j=u({__name:"Patrocinadas",props:{posts:{},sponsor:{}},setup(D){const d={700:{itemsToShow:2.5},992:{itemsToShow:3,wrapAround:!1,mouseDrag:!1}};return(s,n)=>{const p=I;return r(),i("div",q,[e("div",v,[e("picture",null,[e("source",{media:"(max-width: 799px)",srcset:s.sponsor.query.mobileImg.sizes.thumbnail.url},null,8,C),e("source",{media:"(min-width: 800px)",srcset:s.sponsor.query.desktopImg.sizes.medium.url},null,8,S),e("img",{src:s.sponsor.query.mobileImg.sizes.thumbnail.url,width:s.sponsor.query.mobileImg.sizes.thumbnail.width,height:s.sponsor.query.mobileImg.sizes.thumbnail.height,alt:s.sponsor.query.mobileImg.alt,class:"w-full"},null,8,B)]),e("div",N,[l(m(w),{"items-to-show":1.21,"wrap-around":"","snap-align":"start",breakpoints:d},{addons:o(()=>[l(m(h))]),default:o(()=>[(r(!0),i(c,null,b(s.posts,(t,a)=>(r(),f(m(_),{key:a},{default:o(()=>[e("article",{class:x(["mb-24px mr-20px h-full pb-24px",[a===1?"md:mx-10px":a===0?"md:mr-20px md:ml-0":"md:mr-0 md:ml-20px"]])},[e("a",{href:t.url},[e("div",L,[e("img",{src:t.featuredImage.sizes.thumbnail.url,width:t.featuredImage.sizes.thumbnail.width,height:t.featuredImage.sizes.thumbnail.height,alt:t.featuredImage.alt,loading:"lazy",class:"h-full w-full object-cover"},null,8,P)]),e("h3",T,g(t.title),1)],8,V)],2)]),_:2},1024))),128))]),_:1})])]),l(p,{to:`/patrocinadas/${s.sponsor.query.sponsor.slug}`,style:z({backgroundColor:s.sponsor.query.color}),class:"absolute bottom-21px right-16px h-44px rounded-lg px-55px py-16px font-montserrat text-11px font-semibold uppercase text-white md:bottom-auto md:left-311px md:right-auto md:top-51px md:h25px md:bg-transparent md:p-0 md:font-medium md:underline"},{default:o(()=>n[0]||(n[0]=[y("ver más")])),_:1},8,["to","style"])])}}}),F=k(j,[["__scopeId","data-v-9b6f7c3e"]]);export{F as _};