import{a as e}from"./rolldown-runtime-B0Z9INg1.js";import{$ as t}from"./vendor-charts-iXlq6Rne.js";import{_ as n}from"./vendor-flow-IzlrcDx6.js";import{rn as r}from"./index-HkVQGc9M.js";var i=e(t(),1),a=n(),o={success:`bg-[var(--color-success-bg)] text-[var(--color-success)] border-[var(--color-success)]/20`,warning:`bg-[var(--color-warning-bg)] text-[var(--color-warning)] border-[var(--color-warning)]/20`,error:`bg-[var(--color-error-bg)] text-[var(--color-error)] border-[var(--color-error)]/20`,info:`bg-[var(--color-info-bg)] text-[var(--color-info)] border-[var(--color-info)]/20`,default:`bg-slate-50 dark:bg-slate-900 text-[var(--color-text-secondary)] border-[var(--color-border)]`},s=(0,i.memo)(function({label:e,variant:t=`default`,className:n}){return(0,a.jsx)(`span`,{className:r(`inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium border`,o[t],n),children:e})});export{s as t};