import{d as c,e as n,f as m,i as u,x as d}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{t as g}from"./vendor-vue-reactivity-CheHbvBM.js";import{b as p}from"./vendor-vue-shared-DrzsEcag.js";const v=c({__name:"ImageBlock",props:{pdf:{},item:{}},setup(s){const i=s,{item:a}=g(i),o=n(()=>{var t,e;return(e=(t=a.value.tabs)==null?void 0:t.default.data.backgroundImage)==null?void 0:e.value}),l=n(()=>{var e,r;const t=(r=(e=a.value.tabs)==null?void 0:e.default.data.imageHeight)==null?void 0:r.value;return{minHeight:`${t}px`,height:`${t}px`,width:"100%"}});return(t,e)=>(u(),m("div",{class:"ccb-pdf-layout__item",style:p({...l.value,backgroundImage:o.value?`url(${o.value})`:"none",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"})},e[0]||(e[0]=[d("div",{class:"ccb-pdf-layout__item--wrapper image_block",style:{height:"100%"},"data-id":"image_block"},null,-1)]),4))}});export{v as default};
//# sourceMappingURL=ImageBlock-29s9Rtbh.js.map
