import{r as t,h as s}from"./p-5bf73c0f.js";const e=".sc-ecl-picture-ec-h{display:contents}";const c=".sc-ecl-picture-eu-h{display:contents}";const i=class{constructor(s){t(this,s);this.styleClass="";this.theme="ec";this.image=undefined;this.imgClass=undefined;this.imageAlt=undefined}getClass(){const t=[`ecl-picture`,this.styleClass];return t.join(" ")}getImgAttr(){const t={src:this.image};if(this.imgClass){t["class"]=this.imgClass}if(this.imageAlt){t["alt"]=this.imageAlt}return t}render(){return s("picture",{class:this.getClass()},s("slot",null),s("img",Object.assign({},this.getImgAttr())))}};i.style={ec:e,eu:c};export{i as ecl_picture};
//# sourceMappingURL=p-86ae894a.entry.js.map