import{a as i,C as u,b as s,m as g,g as m,p as d,P as p}from"./convert-case-to-camel-case.utils-DDUpNI96.js";const f=i({__name:"ImageBlock",props:{pdf:{},item:{}},setup(l){const r=l,{item:t}=u(r),o=s(()=>{var a,e;return(e=(a=t.value.tabs)==null?void 0:a.default.data.backgroundImage)==null?void 0:e.value}),c=s(()=>{var e,n;const a=(n=(e=t.value.tabs)==null?void 0:e.default.data.imageHeight)==null?void 0:n.value;return{minHeight:`${a}px`,height:`${a}px`,width:"100%"}});return(a,e)=>(m(),g("div",{class:"ccb-pdf-layout__item",style:p({...c.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{f as default};
//# sourceMappingURL=ImageBlock-FXeBB2TJ.js.map
