import{p as t,H as i,c as s,h as e,t as a}from"./p-Bpcl2TqF.js";const o=()=>`.card-image{width:100%;height:100%;vertical-align:bottom;object-fit:cover}`;const c=t(class t extends i{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.imgPosition=s(this,"imgPosition",7)}src;alt;position;imgPosition;handlePosition(t){this.imgPosition.emit(t)}componentWillLoad(){this.handlePosition(this.position)}componentDidUpdate(){this.handlePosition(this.position)}render(){return e("img",{key:"5dfce3ec8516ae2a6a8d16d452852aa94a21a584",src:this.src,alt:this.alt,class:"card-image"})}static get style(){return o()}},[513,"ifx-card-image",{src:[1],alt:[1],position:[1]}]);function n(){if(typeof customElements==="undefined"){return}const t=["ifx-card-image"];t.forEach((t=>{switch(t){case"ifx-card-image":if(!customElements.get(a(t))){customElements.define(a(t),c)}break}}))}const r=c;const m=n;export{r as IfxCardImage,m as defineCustomElement};
//# sourceMappingURL=ifx-card-image.js.map