import{r as l,j as s}from"./app-BGey7YPf.js";import{R as g,m as p,P as x,C as i,l as n,T as r,k as d,O as c}from"./index-BFyaOBDQ.js";import{a as o}from"./button-D5r5edT8.js";import{X as u}from"./x-C4WIHhXm.js";const C=g,T=p,y=x,z=n,m=l.forwardRef(({className:a,...e},t)=>s.jsx(c,{ref:t,className:o("fixed inset-0 z-50 bg-black/30 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 overflow-y-auto max-h-screen grid place-items-start justify-center w-full pt-10",a),...e}));m.displayName=c.displayName;const N=l.forwardRef(({className:a,children:e,...t},f)=>s.jsx(y,{children:s.jsx(m,{children:s.jsxs(i,{ref:f,className:o("z-50 relative grid w-full max-w-lg gap-4 bg-background p-6 shadow-lg 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 sm:rounded-lg md:w-full",a),...t,children:[e,s.jsxs(n,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity 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:[s.jsx(u,{className:"h-4 w-4"}),s.jsx("span",{className:"sr-only",children:"Close"})]})]})})}));N.displayName=i.displayName;const j=({className:a,...e})=>s.jsx("div",{className:o("flex flex-col space-y-1.5 text-center sm:text-left",a),...e});j.displayName="DialogHeader";const D=({className:a,...e})=>s.jsx("div",{className:o("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...e});D.displayName="DialogFooter";const b=l.forwardRef(({className:a,...e},t)=>s.jsx(r,{ref:t,className:o("text-lg font-semibold leading-none tracking-tight",a),...e}));b.displayName=r.displayName;const w=l.forwardRef(({className:a,...e},t)=>s.jsx(d,{ref:t,className:o("text-sm text-muted-foreground",a),...e}));w.displayName=d.displayName;export{C as D,T as a,N as b,j as c,b as d,w as e,z as f,D as g};
