import{r as t,h as s}from"./p-91e1cdd0.js";import{b as e}from"./p-d14b00d9.js";import"./p-7062880e.js";import"./p-2c9dd7c4.js";import"./p-7ad92407.js";import"./p-f3effa5d.js";import"./p-ea120e31.js";import"./p-054d1471.js";import"./p-f63d9d89.js";const i=class{constructor(s){t(this,s),this.onBenefitButtonClick=async t=>{t.preventDefault(),null!==this.benefit.url&&(window.open(this.benefit.url,"_blank"),e.trackBenefitLinkClickedAsync(this.benefitWithId))}}render(){return s("div",{class:"row h-100 d-flex justify-content-between no-gutters",onClick:async t=>this.onBenefitButtonClick(t)},s("div",{class:"col-9 col-md-12 col-lg-10 text-left"},s("h5",{class:"card-title mb-1"},this.benefit.title),s("h6",{class:"benefit-value-description"},this.benefit.subtitle),s("small",{class:"card-text text-muted text-uppercase"},this.benefit.description)),s("div",{class:"col-2 col-md-12 col-lg-2 d-flex justify-content-end align-items-center"},this.IconElement()))}get benefit(){return this.benefitWithId.benefit}IconElement(){var t;return null!==this.benefit.icon?s("img",{class:"img-fluid",src:null===(t=this.benefit.icon)||void 0===t?void 0:t.downloadUrl,alt:""}):s("ap-ben-icon",{class:"text-black-50 fa-3x",iconPrefix:"fad",iconId:"award"})}};i.style="ap-ben-benefit-card .fl-card-logo.img-fluid{height:1.25rem}";export{i as ap_ben_benefit_card}