"use client"
import{a as n}from"./chunk-GV2NLM3E.mjs";import{a as s}from"./chunk-IGIB6XZB.mjs";import{a as o}from"./chunk-GYE7FFDN.mjs";import{a as c}from"./chunk-WDAMFRJJ.mjs";import{g as r}from"./chunk-EMIRKIKV.mjs";import{cva as g}from"class-variance-authority";import{jsx as f,jsxs as m}from"react/jsx-runtime";var d=g("flex gap-1.5 items-center max-w-fit rounded-md px-2 py-1 text-xs font-medium whitespace-nowrap",{variants:{variant:{neutral:"bg-gray-500/[.15] text-gray-600",success:"bg-green-500/[.15] text-green-600",pending:"bg-orange-500/[.15] text-orange-600",error:"bg-red-500/[.15] text-red-600"}},defaultVariants:{variant:"neutral"}}),u={neutral:o,success:n,pending:s,error:c};function B({className:i,variant:e,icon:t,children:l,...p}){let a=t!==null?t??u[e??"neutral"]:null;return m("span",{className:r(d({variant:e}),i),...p,children:[a&&f(a,{className:"h-3 w-3 shrink-0"}),l]})}export{d as a,B as b};
