1import{_ as f}from"./DHNRGBF0.js";import{_ as h}from"./DDr3i6pZ.js";import{i as c}from"./CFOW3NJT.js";import{d as g,M as o,o as n,b as a,g as r,t as v,h as l,f as d,L as w}from"./DzZ5sRFm.js";import"./BQwpnPgw.js";import"./CLTgGcaU.js";import"./56J0ASwa.js";import"./x7MFMl3c.js";const y={key:0},C={key:0},z={key:1},F=g({__name:"ImageBlock",props:{model:{}},setup(p){const i=p,m=e=>{switch(e){case"n25_":return 25;case"n50_":return 50;case"n75_":return 75;case"n100_":return 100}},t={title:i.model?.elements?.title?.value,image:i.model?.elements?.image?.value[0]?.url??"",altText:i.model?.elements?.altText?.value,caption:i.model?.elements?.caption?.value,widthClass:(()=>{const e=o(i,"model.elements.size.value[0].codename","full_width"),s=o(i,"model.elements.specifiedWidth.value[0].codename",void 0);if(e=="full_width")return"w-100";if(e==="specific_size"&&s)return`w-${m(s)}`})(),heightClass:(()=>{const e=o(i,"model.elements.size.value[0].codename","full_width"),s=o(i,"model.elements.specifiedHeight.value[0].codename",void 0);return e=="specific_size"&&s?`h-${m(s)}`:""})(),objectFitClass:(()=>{const e=o(i,"model.elements.specifiedSizeFit.value[0].codename",void 0);return e?`object-fit-${e}`:""})()};return(e,s)=>{const u=f,_=h;return t.image&&t.image.length>0?(n(),a("div",y,[t.title&&!("isEmpty"in e?e.isEmpty:r(c))(t.title)?(n(),a("h4",C,v(t.title),1)):l("",!0),d(u,{src:t.image,alt:t.altText,class:w(["img-fluid",[t.widthClass,t.heightClass,t.objectFitClass]])},null,8,["src","alt","class"]),t.caption&&!("isEmpty"in e?e.isEmpty:r(c))(t.caption)?(n(),a("p",z,[d(_,{value:t.caption},null,8,["value"])])):l("",!0)])):l("",!0)}}});export{F as default}; 2//# sourceMappingURL=PEi5Tye2.js.map
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.