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{t as b}from"./jsx-runtime-CP2fAiZX.js";import{n as y,t as o}from"./cn-d_A4rA-x.js";var n=x(),v=m(p(),1),f=m(b(),1),w=y("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,i)=>{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 d;return e[7]!==t||e[8]!==i||e[9]!==s?(d=(0,f.jsx)("div",{ref:i,role:"alert",className:s,...t}),e[7]=t,e[8]=i,e[9]=s,e[10]=d):d=e[10],d});u.displayName="Alert";var c=v.forwardRef((l,i)=>{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 d;return e[6]!==r||e[7]!==a||e[8]!==i||e[9]!==s?(d=(0,f.jsx)("h5",{ref:i,className:s,...a,children:r}),e[6]=r,e[7]=a,e[8]=i,e[9]=s,e[10]=d):d=e[10],d});c.displayName="AlertTitle";var g=v.forwardRef((l,i)=>{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]!==i||e[7]!==a?(s=(0,f.jsx)("div",{ref:i,className:a,...t}),e[5]=t,e[6]=i,e[7]=a,e[8]=s):s=e[8],s});g.displayName="AlertDescription";export{g as n,c as r,u as t};
