1import{d as y,g as l,w as z,h as c,$ as k,o as a,Z as i,_ as C,ai as r,x as m,r as f,s as x,D as d,F as b,E as S,c as u,a2 as U,X as B}from"#entry";import N from"./jH7kYm6G.js";const j={class:"flex flex-col gap-5 h-full pb-5 border-b-2"},O={class:"relative"},I={class:"flex items-start gap-3 h-full"},L={class:"flex flex-col gap-3 h-full"},P={class:"flex flex-col gap-3 grow"},T={class:"grow justify-start"},V={key:0,class:"flex gap-2 content-center flex-wrap"},$=y({__name:"generic",props:{fixedProperties:{default:()=>[]},item:{default:void 0},url:{default:void 0},target:{default:"_self"},imageClass:{default:"object-cover"},imageSrc:{default:void 0},imageAlt:{default:void 0},logoSrc:{default:void 0},imageOptimize:{type:Boolean,default:!0},index:{default:void 0},titleClass:{default:void 0}},setup(e){const s=e,p=u(()=>B(s?.item?.route)),v=u(()=>s.fixedProperties?.map(t=>(s.item?.properties)[t]?.[0]).filter(t=>t!=null)||[]),g=u(()=>[...v.value||[],...s.item?.properties.tags||[]]);return(t,A)=>{const o=C,h=U,_=N,w=k;return a(),l(w,{to:c(p)||e.url,target:e.target,"data-gtm-index":e.index,class:"inline-block w-full"},{default:z(()=>[i("div",j,[i("div",O,[e.item?.properties?.previewImage?(a(),l(o,{key:0,image:e.item.properties.previewImage,class:r([e.imageClass,"w-full aspect-2/1"]),width:1536,height:768,optimize:e.imageOptimize,sizes:"(max-width: 1024px) 100vw, 33vw"},null,8,["image","class","optimize"])):e.imageSrc?(a(),l(o,{key:1,src:e.imageSrc,class:r([e.imageClass,"w-full aspect-2/1"]),alt:e.imageAlt,width:1536,height:768,optimize:e.imageOptimize,sizes:"(max-width: 1024px) 100vw, 33vw"},null,8,["src","class","alt","optimize"])):m("",!0),f(t.$slots,"image-overlay")]),i("div",I,[e.logoSrc?(a(),l(o,{key:0,src:e.logoSrc,class:"size-[4rem] object-contain"},null,8,["src"])):m("",!0),i("div",L,[x(h,{tag:"div",content:e.item?.properties?.pageTitle,class:r([e.titleClass??"font-primary-sm text-title-secondary"])},null,8,["content","class"]),i("div",P,[i("div",T,[f(t.$slots,"default")]),c(g).length?(a(),d("ul",V,[(a(!0),d(b,null,S(c(g),n=>(a(),d("li",{key:n?.id,class:"flex"},[x(_,{tag:n?.properties?.tagName||n?.name},null,8,["tag"])]))),128))])):m("",!0)])])])])]),_:3},8,["to","target","data-gtm-index"])}}}),D=Object.assign($,{__name:"UiCardGeneric"});export{D 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.