import{_ as e}from"./vendor-flow-IzlrcDx6.js";import{rn as t}from"./index-HkVQGc9M.js";var n=e(),r={default:`bg-slate-100 dark:bg-slate-800 text-slate-700 dark:text-slate-300 border-slate-200 dark:border-slate-700`,success:`bg-emerald-50 dark:bg-emerald-950/40 text-emerald-700 dark:text-emerald-300 border-emerald-200 dark:border-emerald-900`,warning:`bg-amber-50 dark:bg-amber-950/40 text-amber-700 dark:text-amber-300 border-amber-200 dark:border-amber-900`,error:`bg-red-50 dark:bg-red-950/40 text-red-700 dark:text-red-300 border-red-200 dark:border-red-900`,info:`bg-blue-50 dark:bg-blue-950/40 text-blue-700 dark:text-blue-300 border-blue-200 dark:border-blue-900`,outline:`bg-transparent text-[var(--color-text-secondary)] border-[var(--color-border)]`},i={default:`bg-slate-400 dark:bg-slate-500`,success:`bg-emerald-500`,warning:`bg-amber-500`,error:`bg-red-500`,info:`bg-blue-500`,outline:`bg-slate-400 dark:bg-slate-500`},a={sm:`px-2 py-0.5 text-[11px]`,md:`px-2.5 py-0.5 text-xs`};function o({variant:e=`default`,size:o=`md`,dot:s=!1,className:c,children:l,...u}){return(0,n.jsxs)(`span`,{className:t(`inline-flex items-center gap-1.5 rounded-full border font-medium leading-none whitespace-nowrap`,r[e],a[o],c),...u,children:[s&&(0,n.jsx)(`span`,{className:t(`w-1.5 h-1.5 rounded-full flex-shrink-0`,i[e])}),l]})}export{o as t};