import{s as m}from"./chunk-LvLJmgfZ.js";import{t as p}from"./react-Bj1aDYRI.js";import{t as x}from"./compiler-runtime-B3qBwwSJ.js";import{n as b,t as o}from"./cn-DYvqRARy.js";import{t as y}from"./jsx-runtime-Blw4afVn.js";var n=x(),v=m(p(),1),f=m(y(),1),w=b("relative w-full rounded-lg border p-4 [&>svg]:absolute [&>svg]:text-foreground [&>svg]:left-4 [&>svg]:top-4 [&>svg+div]:translate-y-[-3px] has-[svg]:pl-11",{variants:{variant:{default:"bg-background text-foreground",destructive:"text-destructive border-destructive/50 dark:border-destructive [&>svg]:text-destructive text-destructive",info:"bg-(--sky-2) border-(--sky-7) text-(--sky-11)",warning:"bg-(--yellow-2) border-(--yellow-7) text-(--yellow-11) [&>svg]:text-(--yellow-11)"}},defaultVariants:{variant:"default"}}),u=v.forwardRef((l,d)=>{let e=(0,n.c)(11),r,t,a;e[0]===l?(r=e[1],t=e[2],a=e[3]):({className:r,variant:a,...t}=l,e[0]=l,e[1]=r,e[2]=t,e[3]=a);let s;e[4]!==r||e[5]!==a?(s=o(w({variant:a}),r),e[4]=r,e[5]=a,e[6]=s):s=e[6];let i;return e[7]!==t||e[8]!==d||e[9]!==s?(i=(0,f.jsx)("div",{ref:d,role:"alert",className:s,...t}),e[7]=t,e[8]=d,e[9]=s,e[10]=i):i=e[10],i});u.displayName="Alert";var c=v.forwardRef((l,d)=>{let e=(0,n.c)(11),r,t,a;e[0]===l?(r=e[1],t=e[2],a=e[3]):({className:t,children:r,...a}=l,e[0]=l,e[1]=r,e[2]=t,e[3]=a);let s;e[4]===t?s=e[5]:(s=o("mb-1 font-medium leading-none tracking-tight",t),e[4]=t,e[5]=s);let i;return e[6]!==r||e[7]!==a||e[8]!==d||e[9]!==s?(i=(0,f.jsx)("h5",{ref:d,className:s,...a,children:r}),e[6]=r,e[7]=a,e[8]=d,e[9]=s,e[10]=i):i=e[10],i});c.displayName="AlertTitle";var g=v.forwardRef((l,d)=>{let e=(0,n.c)(9),r,t;e[0]===l?(r=e[1],t=e[2]):({className:r,...t}=l,e[0]=l,e[1]=r,e[2]=t);let a;e[3]===r?a=e[4]:(a=o("text-sm [&_p]:leading-relaxed",r),e[3]=r,e[4]=a);let s;return e[5]!==t||e[6]!==d||e[7]!==a?(s=(0,f.jsx)("div",{ref:d,className:a,...t}),e[5]=t,e[6]=d,e[7]=a,e[8]=s):s=e[8],s});g.displayName="AlertDescription";export{g as n,c as r,u as t};
