import{_ as i,P as d,g as n,l as s,M as u,ak as c,t as a,j as l,a6 as f}from"./entry.P-cSeJMT.js";const b={name:"InfoBox",props:{description:{type:String,required:!0,default:""},showCloseIcon:{type:Boolean,required:!1,default:!1},buttonText:{type:String,required:!1,default:""}},computed:{...d({__:"config/__"})}};function m(e,o,t,_,p,k){return n(),s("div",{class:f(["info-box",{"info-box--btn":!!t.buttonText}])},[u(e.$slots,"default",{},()=>[c(a(e.__(t.description)),1)],!0),t.showCloseIcon?(n(),s("span",{key:0,class:"james-icon-close info-box__icon",onClick:o[0]||(o[0]=r=>e.$emit("close"))})):l("",!0),t.buttonText?(n(),s("button",{key:1,class:"btn btn-secondary--small",onClick:o[1]||(o[1]=r=>e.$emit("button-click"))},a(e.__(t.buttonText)),1)):l("",!0)],2)}const y=i(b,[["render",m],["__scopeId","data-v-dfe2bb41"]]);export{y as default};