import{r as t,a as e,h as a}from"./p-Cby2wKoI.js";const i=()=>`:host{pointer-events:none}.card__text-wrapper{padding-bottom:0px}.card__text-wrapper.hasBtn{padding-bottom:16px}.card-text{line-height:1.5rem;font-size:1rem;font-weight:400;white-space:wrap;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}`;const r=class{constructor(e){t(this,e)}get el(){return e(this)}hasBtn;componentWillLoad(){const t=this.el.closest("ifx-card").querySelector("ifx-link");const e=this.el.closest("ifx-card").querySelector("ifx-button");if(t||e){this.hasBtn=true}}render(){return a("div",{key:"894ce1856db3241d6103d5b98689acd25a270b88",class:`card__text-wrapper ${this.hasBtn?"hasBtn":""}`},a("div",{key:"ef9965d519cab72697ed3ca47656fb056887bdb0",class:`card-text`},a("slot",{key:"5c935938f2431e4bfdf1045d3f9c71a2cdc83ab8"})))}};r.style=i();export{r as ifx_card_text};
//# sourceMappingURL=p-4eae8f6d.entry.js.map