1import{d as f,n as d,z as m,J as u,P as p,c as w,e as o,a as g,b as h,p as i,t as v,A as x,_ as z,o as l,f as C}from"./DbY-YuDe.js";const k={class:"offering-card__inner flex direction-column"},y={class:"offering-card__content"},B={class:"offering-card__title"},I=f({__name:"OfferingCard",props:{card:{},modifier:{}},setup(s){const r=s,c=d(()=>r.card.previewImage??void 0),n=m(0);u(()=>{n.value=window.innerWidth,window.addEventListener("resize",()=>{n.value=window.innerWidth})}),p(()=>{window.removeEventListener("resize",()=>{n.value=window.innerWidth})});const _=d(()=>{const t=r.card.title||"";if(n.value<1025)return t;const e=t.trim().split(/\s+/);if(e.length<=1)return t;const a=Math.ceil(e.length/2);return`${e.slice(0,a).join(" ")} 2${e.slice(a).join(" ")}`});return(t,e)=>{const a=z;return l(),w("article",{class:x(["offering-card",s.modifier])},[o("div",k,[i(c)?(l(),g(a,{key:0,src:i(c).asset?._ref,sizes:"100vw xs:100vw s:100vw m:400px ml:500px",placeholder:"","placeholder-class":"site-image-placeholder",quality:"90",alt:s.card.title||"",loading:"lazy",class:"offering-card__image"},null,8,["src","alt"])):h("",!0),o("div",y,[o("h3",B,v(i(_)),1)])])],2)}}}),j=Object.assign(C(I,[["__scopeId","data-v-e4175f72"]]),{__name:"OfferingCard"});export{j 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.