import{n as e}from"./rolldown-runtime-C0FnF6B9.js";import{n as t,t as n}from"./ui.module-DoMIk8Oc.js";function r(e){return s[e]}function i(e){return c[e]}function a({variant:e,tone:t,appearance:n,fallbackTone:r=`neutral`,fallbackAppearance:i=`outline`}){return t||n?{tone:t??r,appearance:n??i}:e?o[e]:{tone:r,appearance:i}}var o,s,c;function l(){return(l=e((()=>{n(),o={neutral:{tone:`neutral`,appearance:`solid`},neutralOutline:{tone:`neutral`,appearance:`outline`},ghost:{tone:`neutral`,appearance:`ghost`},error:{tone:`error`,appearance:`solid`},warning:{tone:`warning`,appearance:`solid`},success:{tone:`success`,appearance:`solid`},info:{tone:`info`,appearance:`solid`},errorOutline:{tone:`error`,appearance:`outline`},warningOutline:{tone:`warning`,appearance:`outline`},successOutline:{tone:`success`,appearance:`outline`},infoOutline:{tone:`info`,appearance:`outline`},transparent:{tone:`neutral`,appearance:`transparent`}},s={neutral:t.uiToneNeutral,error:t.uiToneError,warning:t.uiToneWarning,success:t.uiToneSuccess,info:t.uiToneInfo},c={solid:t.uiAppearanceSolid,outline:t.uiAppearanceOutline,ghost:t.uiAppearanceGhost,transparent:t.uiAppearanceTransparent}})))()}export{a as i,r as n,l as r,i as t};