import{j as t,ae as l,af as i,ah as r,ai as s,aj as d,al as g,am as c,ag as u,ak as f}from"./vendor-BKmmeuxg.js";import{c as o}from"./utils-DxSsnXxD.js";function D({...a}){return t.jsx(l,{"data-slot":"dialog",...a})}function v({...a}){return t.jsx(i,{"data-slot":"dialog-trigger",...a})}function x({...a}){return t.jsx(u,{"data-slot":"dialog-portal",...a})}function b({...a}){return t.jsx(s,{"data-slot":"dialog-close",...a})}function m({className:a,...e}){return t.jsx(f,{"data-slot":"dialog-overlay",className:o("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",a),...e})}function h({className:a,children:e,...n}){return t.jsxs(x,{"data-slot":"dialog-portal",children:[t.jsx(m,{}),t.jsxs(r,{"data-slot":"dialog-content",className:o("bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",a),...n,children:[e,t.jsxs(s,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[t.jsx(d,{}),t.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function y({className:a,...e}){return t.jsx("div",{"data-slot":"dialog-header",className:o("flex flex-col gap-2 text-center sm:text-left",a),...e})}function N({className:a,...e}){return t.jsx("div",{"data-slot":"dialog-footer",className:o("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",a),...e})}function z({className:a,...e}){return t.jsx(g,{"data-slot":"dialog-title",className:o("text-lg leading-none font-semibold",a),...e})}function k({className:a,...e}){return t.jsx(c,{"data-slot":"dialog-description",className:o("text-muted-foreground text-sm",a),...e})}export{D,v as a,h as b,y as c,z as d,N as e,b as f,k as g};
