import{r as d,j as t}from"./markdown-9_JKOUHQ.js";import{R as f,P as p,C as l,d as x,T as i,D as n,O as r}from"./use-ws-BIe6kKa2.js";import{c as o}from"./index-Z_QI94Zg.js";import{X as g}from"./x-AprddF_b.js";const C=f,u=p,c=d.forwardRef(({className:a,...e},s)=>t.jsx(r,{ref:s,className:o("fixed inset-0 z-50 bg-black/60 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...e}));c.displayName=r.displayName;const N=d.forwardRef(({className:a,children:e,...s},m)=>t.jsxs(u,{children:[t.jsx(c,{}),t.jsxs(l,{ref:m,className:o("fixed left-[50%] top-[50%] z-50 grid gap-4 w-full max-w-lg translate-x-[-50%] translate-y-[-50%] border bg-card p-6 shadow-xl duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] rounded-lg",a),...s,children:[e,t.jsxs(x,{tabIndex:-1,className:"absolute right-4 top-4 rounded-md bg-muted/80 p-1.5 opacity-70 ring-offset-background transition-all hover:bg-muted hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[t.jsx(g,{className:"h-4 w-4"}),t.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));N.displayName=l.displayName;const y=({className:a,...e})=>t.jsx("div",{className:o("flex flex-col space-y-1.5 text-center sm:text-left",a),...e});y.displayName="DialogHeader";const b=({className:a,...e})=>t.jsx("div",{className:o("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...e});b.displayName="DialogFooter";const j=d.forwardRef(({className:a,...e},s)=>t.jsx(i,{ref:s,className:o("text-base font-semibold leading-none tracking-tight",a),...e}));j.displayName=i.displayName;const D=d.forwardRef(({className:a,...e},s)=>t.jsx(n,{ref:s,className:o("text-sm text-muted-foreground",a),...e}));D.displayName=n.displayName;export{C as D,N as a,y as b,j as c,D as d,u as e,c as f,b as g};
