import{c as n,a as u}from"./registry-DyIszw9-.js";import{d as l,aT as o,W as c,b3 as d,aF as i,u as a}from"./vendor-reka-Edfq1EPl.js";const m=l({__name:"Alert",props:{variant:{default:"default"},class:{}},setup(t){const e=u("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),s=t;return(r,p)=>(o(),c("div",{role:"alert",class:i(a(n)(a(e)({variant:t.variant}),s.class))},[d(r.$slots,"default")],2))}}),g=l({__name:"AlertTitle",props:{class:{}},setup(t){const e=t;return(s,r)=>(o(),c("h5",{class:i(a(n)("mb-1 font-medium leading-none tracking-tight",e.class))},[d(s.$slots,"default")],2))}}),_=l({__name:"AlertDescription",props:{class:{}},setup(t){const e=t;return(s,r)=>(o(),c("div",{class:i(a(n)("text-sm [&_p]:leading-relaxed",e.class))},[d(s.$slots,"default")],2))}});export{m as _,g as a,_ as b};
