import{r as e,h as r}from"./p-841644e5.js";const c='.ecl-card.sc-ecl-card-ec{background-color:#f5f5f5;border:1px solid #cfcfcf;border-radius:0;box-shadow:none;box-sizing:border-box;height:100%;margin:0;overflow:hidden;overflow-wrap:break-word;width:100%}.ecl-card__image.sc-ecl-card-ec{background-position:center;background-repeat:no-repeat;background-size:cover;border:1px solid #cfcfcf;display:block;height:auto;-webkit-margin-start:1rem;margin-inline-start:1rem;-webkit-margin-end:1rem;margin-inline-end:1rem;margin-top:1rem;width:calc(100% - (2 * 1rem) - (2 * 1px))}.ecl-card__image.sc-ecl-card-ec::before{content:"";display:block;padding-top:66.6666666667%;width:100%}.ecl-card__body.sc-ecl-card-ec{padding:1rem;position:relative}';const o='.ecl-card.sc-ecl-card-eu{background-color:#fff;border:0;border-radius:8px;box-shadow:0 2px 4px rgba(9, 49, 142, 0.08), 0 0 10px rgba(9, 49, 142, 0.04), 0 4px 5px rgba(9, 49, 142, 0.04), 0 -4px 4px rgba(9, 49, 142, 0.04);box-sizing:border-box;height:100%;margin:0;overflow:hidden;overflow-wrap:break-word;width:100%}.ecl-card__image.sc-ecl-card-eu{background-position:center;background-repeat:no-repeat;background-size:cover;border:0px solid #cfdaf5;display:block;height:auto;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;width:calc(100% - (2 * 0px) - (2 * 0px))}.ecl-card__image.sc-ecl-card-eu::before{content:"";display:block;padding-top:66.6666666667%;width:100%}.ecl-card__body.sc-ecl-card-eu{padding:1.5rem;position:relative}.ecl-card__body.sc-ecl-card-eu::before{background-color:#fc0;border-bottom-left-radius:2px;border-bottom-right-radius:2px;content:"";height:4px;left:1.5rem;position:absolute;top:0;width:32px}';const a=class{constructor(r){e(this,r);this.styleClass="";this.theme="ec";this.image=undefined;this.imageAlt=undefined}getClass(){return[`ecl-card`,this.styleClass].join(" ")}getImgAttr(){const e={class:"ecl-card__image",role:"img"};if(this.imageAlt){e["alt"]=this.imageAlt}return e}render(){return r("article",{class:this.getClass()},r("div",Object.assign({style:{backgroundImage:"url("+this.image+")"}},this.getImgAttr())),r("div",{class:"ecl-card__body"},r("slot",null)))}};a.style={ec:c,eu:o};export{a as ecl_card};
//# sourceMappingURL=p-12433e7e.entry.js.map