import{d as r,S as m,_ as o,Y as p,X as n,Z as c,c as d}from"./vendor-vue.BCDG_KVZ.js";import{_ as e,a as u}from"./AppHeader.D4x1A4Fm.js";const _=["title"],h={class:"nm-health-badge__label"},b=r({__name:"HealthBadge",props:{status:{},pillar:{},message:{default:""}},setup(s){const t=s,i=d(()=>{const a=t.pillar.toUpperCase();switch(t.status){case"pass":return`${a} ${e("Pass","nimblymail-smtp")}`;case"warn":return`${a} ${e("Warning","nimblymail-smtp")}`;case"fail":return`${a} ${e("Fail","nimblymail-smtp")}`;default:return`${a} ${e("Skipped","nimblymail-smtp")}`}});return(a,l)=>(m(),o("span",{class:p(["nm-health-badge",`nm-health-badge--${s.status}`]),title:s.message},[l[0]||(l[0]=n("span",{class:"nm-health-badge__dot","aria-hidden":"true"},null,-1)),n("span",h,c(i.value),1)],10,_))}}),f=u(b,[["__scopeId","data-v-4ee42293"]]);export{f as H};
//# sourceMappingURL=HealthBadge.Di43MWZd.js.map
