import{j as s,au as t}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080910.js";import{a as l}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080975.js";function n({type:r}){let e,a;switch(r){case"Enviado":e=s.jsx(t,{className:"text-[var(--letra)]"}),a="alert-success";break;case"Erro":e=s.jsx(l,{className:"text-[var(--letra)]"}),a="alert-error";break;default:console.error("Tipo desconhecido:",r),e=null,a="";break}return s.jsxs("div",{className:a+" flex justify-center items-center  alert !p-1 !gap-1",children:[s.jsx("span",{className:"text-[var(--letra)]",children:r}),s.jsx("span",{children:e})]})}export{n as S};
