import{j as t,a as c}from"./jsx-runtime-5BUNAZ9W.js";import{c as s}from"./cn-466VSCev.js";import{$ as i,a as l,b as n,c as g,d as f,e as p,f as b,g as x}from"./index-qX7SgqCB.js";import{r as d}from"./index-4g5l5LRQ.js";import{X as u}from"./x-ibAhgmcn.js";const H=b,R=x,y=({className:a,...e})=>t(i,{className:s(a),...e});y.displayName=i.displayName;const $=d.forwardRef(({className:a,...e},o)=>t(l,{ref:o,className:s("fixed inset-0 z-50 bg-background-overlay backdrop-blur-sm transition-opacity duration-300 ease-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...e}));$.displayName=l.displayName;const N=d.forwardRef(({className:a,children:e,...o},m)=>c(n,{ref:m,className:s("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-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 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%] sm:rounded-lg md:w-full",a),...o,children:[e,c(g,{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-border-info focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-background-stronger data-[state=open]:text-text-weak",children:[t(u,{className:"h-4 w-4"}),t("span",{className:"sr-only",children:"Close"})]})]}));N.displayName=n.displayName;const r=({className:a,...e})=>t("div",{className:s("flex flex-col space-y-1.5 text-center sm:text-left",a),...e});r.displayName="DialogHeader";const D=({className:a,...e})=>t("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...e});D.displayName="DialogFooter";const w=d.forwardRef(({className:a,...e},o)=>t(f,{ref:o,className:s("text-lg font-semibold leading-none tracking-tight",a),...e}));w.displayName=f.displayName;const h=d.forwardRef(({className:a,...e},o)=>t(p,{ref:o,className:s("text-sm text-text-weak",a),...e}));h.displayName=p.displayName;try{r.displayName="DialogHeader",r.__docgenInfo={description:"",displayName:"DialogHeader",props:{}}}catch{}export{H as D,R as a,y as b,$ as c,N as d,r as e,w as f,h as g,D as h};
