import{n as e,r as t}from"./createLucideIcon-XxmMb-o2.js";import{t as n}from"./utils-CCDJ05Ll.js";var r=t(),i=e(),a=[`bg-[#FBE7E9] text-[#9A1227]`,`bg-[#E8F0FB] text-[#1E4D8C]`,`bg-[#FBF3E7] text-[#8C4F0B]`,`bg-[#EAF3EA] text-[#1B7A4A]`];function o(e){return e.split(/\s+/).filter(Boolean).slice(0,2).map(e=>e[0]?.toUpperCase()??``).join(``)}function s(e){let t=(0,r.c)(13),{name:s,className:l,textClassName:u}=e,d=a[[...s].reduce(c,0)%a.length],f;t[0]!==l||t[1]!==d?(f=n(`flex items-center justify-center rounded-full font-bold`,d,l),t[0]=l,t[1]=d,t[2]=f):f=t[2];let p;t[3]===u?p=t[4]:(p=n(u),t[3]=u,t[4]=p);let m;t[5]===s?m=t[6]:(m=o(s),t[5]=s,t[6]=m);let h;t[7]!==p||t[8]!==m?(h=(0,i.jsx)(`span`,{className:p,children:m}),t[7]=p,t[8]=m,t[9]=h):h=t[9];let g;return t[10]!==f||t[11]!==h?(g=(0,i.jsx)(`div`,{"aria-hidden":`true`,className:f,children:h}),t[10]=f,t[11]=h,t[12]=g):g=t[12],g}function c(e,t){return e+t.charCodeAt(0)}export{s as t};