import{o as e,r as t,t as n}from"./jsx-runtime-Bypl69v7.js";import{o as r}from"./button-CYVyx32W.js";import{i}from"./useAuth-BJfHwDc5.js";import{a,c as o,i as s,n as c,o as l,r as u,s as d,t as f}from"./dist-BO3sibUE.js";var p=e(t(),1),m=n(),h=f,g=o,_=l,v=p.forwardRef(({className:e,...t},n)=>(0,m.jsx)(a,{ref:n,className:r(`fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`,e),...t}));v.displayName=a.displayName;var y=p.forwardRef(({className:e,children:t,...n},a)=>(0,m.jsxs)(_,{children:[(0,m.jsx)(v,{}),(0,m.jsxs)(u,{ref:a,className:r(`fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border 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`,e),...n,children:[t,(0,m.jsxs)(c,{className:`absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background cursor-pointer 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:[(0,m.jsx)(i,{className:`h-4 w-4`}),(0,m.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]}));y.displayName=u.displayName;var b=({className:e,...t})=>(0,m.jsx)(`div`,{className:r(`flex flex-col space-y-1.5 text-center sm:text-left`,e),...t});b.displayName=`DialogHeader`;var x=({className:e,...t})=>(0,m.jsx)(`div`,{className:r(`flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2`,e),...t});x.displayName=`DialogFooter`;var S=p.forwardRef(({className:e,...t},n)=>(0,m.jsx)(d,{ref:n,className:r(`text-lg font-semibold leading-none tracking-tight`,e),...t}));S.displayName=d.displayName;var C=p.forwardRef(({className:e,...t},n)=>(0,m.jsx)(s,{ref:n,className:r(`text-sm text-muted-foreground`,e),...t}));C.displayName=s.displayName;export{S as a,b as i,y as n,g as o,x as r,h as t};