import{r as t,h as e,a}from"./p-PqnYwNKt.js";const i=':root{--ifx-font-family:"Source Sans 3", "Arial, sans-serif"}: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)}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 e("div",{key:"5a2aabfe888a3828a6017412ee91188efe4d64c2",class:`card__text-wrapper ${this.hasBtn?"hasBtn":""}`},e("div",{key:"39aa1e521652e4b323dd571614e297a5a600cfa9",class:`card-text`},e("slot",{key:"b72bc79a33bb48e96ae9f825dd48ca9b9b44725f"})))}get el(){return a(this)}};r.style=i;export{r as ifx_card_text};
//# sourceMappingURL=p-5367db9d.entry.js.map