import{r as t,h as s}from"./p-841644e5.js";const e=".sc-ecl-picture-ec-h{display:flex}";const i=".sc-ecl-picture-eu-h{display:flex}";const c=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())))}};c.style={ec:e,eu:i};export{c as ecl_picture};
//# sourceMappingURL=p-f9d85a27.entry.js.map