1import{o,c as l,u as t,n as s,m as p,a as b,b as g,w as m,f as h,t as y,g as f}from"./BUZrUIms.js";const w=["src"],k={__name:"index",props:{data:{type:Object,required:!0},style:{type:Object,required:!0}},setup(d){const i=d,{data:r,style:a}=i,u=()=>a.type==="overlay"?"absolute w-full h-full object-cover z-0":a.type=="row"?"grow-0 w-1/5 object-cover basis-1/5 h-full group-hover:h-[125%]":void 0,n=()=>{const e=[];switch(a.rounded){case"small":e.push("rounded");break;case"medium":e.push("rounded-md");break;case"large":e.push("rounded-lg");break;case"extraLarge":e.push("rounded-xl")}if(a.shadow&&e.push("shadow-md"),a.type!="overlay")switch(a.padding){case"small":e.push("p-2");break;case"large":e.push("p-4")}return a.type=="row"&&e.push("flex items-center gap-4"),e.join(" ")};return(e,v)=>{const c=f;return o(),l("div",{class:s([n(),"relative overflow-hidden basis-1/2 grow-0 group"])},[t(r).attributes.imageData!=null?(o(),l("img",{key:0,src:("useGCImage"in e?e.useGCImage:t(p))(!1,320,320,t(r).attributes.imageData.key),class:s(u())},null,10,w)):(o(),l("div",{key:1,class:s([u(),"bg-secondary-300"])},null,2)),b("div",{class:s(a.type==="overlay"?"z-10 flex justify-end flex-col bottom-0 absolute p-4 bg-gradient-to-t from-black to-transparent w-full font-bold text-lg text-white transition ease-in-out":"text-md")},[g(c,null,{default:m(()=>[h(y(t(r).attributes.postTitle),1)]),_:1})],2)],2)}}};export{k 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.