import{_ as a,I as o}from"./fc-bits-ui.js?ver=3.1.0";import{r as e,c as s,o as r,L as n,b as t,F as c,d as i,P as l,O as p,n as d}from"./vendor.js?ver=3.1.0";const u={name:"PromoCard",components:{Icons:o},props:{heading:{type:String,default:"This is a pro feature"},description:{type:String,default:"You need to upgrade to use this feature."},showUpgradeBtnIcon:{type:Boolean,default:!1},showHeaderUpgradeIcon:{type:Boolean,default:!0},align:{type:String,default:"center"}}},f={key:0,class:"fcrm_pro_icon"},m={class:"fcrm_pro_modal_actions"},g=["href"],_={key:0,class:"icon"};const h=a(u,[["render",function(a,o,u,h,y,b){const I=e("Icons");return r(),s("div",{class:d(["fcrm_pro_modal_body",`align-${u.align}`])},[u.showHeaderUpgradeIcon?(r(),s("div",f,[i(I,{"icon-name":"crown"})])):n("",!0),t("h3",null,l(u.heading),1),t("p",null,l(u.description),1),c(a.$slots,"before-cta"),t("div",m,[t("a",{href:a.appVars.crm_pro_url,target:"_blank",class:"el-button el-button--primary"},[t("span",null,[u.showUpgradeBtnIcon?(r(),s("span",_,[i(I,{"icon-name":"crown"})])):n("",!0),p(" "+l(a.$t("Upgrade to Pro")),1)])],8,g),c(a.$slots,"actions")]),c(a.$slots,"after-cta")],2)}]]);export{h as P};
