import{A as e,D as t,E as n,I as r,O as i,Xt as a,et as o,k as s,ot as c,qt as l,rt as u}from"./vue-vendor-DMUmTARL.js";import{Bo as d,Ho as f,Uo as p,Vo as m}from"./icons-vendor-Db5MGAkr.js";import{t as h}from"./_plugin-vue_export-helper-CWyGVBf-.js";var g=[`role`,`aria-live`],_={class:`zf-info-card__icon`,"aria-hidden":`true`},v={class:`zf-info-card__body`},y={key:0,class:`zf-info-card__title`},b={class:`zf-info-card__content`},x=h(r({__name:`ZInfoCard`,props:{title:{default:``},type:{default:`info`},size:{default:`md`},ariaRole:{default:void 0},ariaLive:{default:void 0}},setup(r){let h=r,x=n(()=>{switch(h.type){case`success`:return p;case`warning`:return f;case`danger`:return m;default:return d}}),S=n(()=>h.ariaRole?h.ariaRole:h.type===`warning`||h.type===`danger`?`alert`:`status`),C=n(()=>h.ariaLive?h.ariaLive:h.type===`danger`?`assertive`:`polite`);return(n,d)=>(o(),e(`div`,{class:l([`zf-info-card`,[`zf-info-card--${r.type}`,`zf-info-card--${r.size}`,{"is-titleless":!r.title}]]),role:S.value,"aria-live":C.value},[t(`div`,_,[u(n.$slots,`icon`,{},()=>[(o(),i(c(x.value)))],!0)]),t(`div`,v,[r.title?(o(),e(`div`,y,a(r.title),1)):s(``,!0),t(`div`,b,[u(n.$slots,`default`,{},void 0,!0)])])],10,g))}}),[[`__scopeId`,`data-v-a61c56aa`]]);export{x as t};