"use client"
import{l as a}from"./chunk-WIOKTCEF.mjs";import{Drawer as o}from"vaul";import{jsx as i,jsxs as w}from"react/jsx-runtime";function m({children:t,contentProps:e,nested:n=!1,...s}){let f=n?o.NestedRoot:o.Root;return i(f,{direction:"right",...s,children:w(o.Portal,{children:[i(o.Overlay,{className:"fixed inset-0 bg-black/20"}),i(o.Content,{...e,onPointerDownOutside:r=>{var l;r.target instanceof Element&&r.target.closest("[data-sonner-toast]")&&r.preventDefault(),(l=e==null?void 0:e.onPointerDownOutside)==null||l.call(e,r)},className:a("fixed bottom-2 right-2 top-2 z-10 flex w-[calc(100%-16px)] outline-none md:w-[540px]",e==null?void 0:e.className),style:{"--initial-transform":"calc(100% + 8px)",...e==null?void 0:e.style},children:i("div",{className:"scrollbar-hide flex size-full grow flex-col overflow-y-auto rounded-lg bg-white",children:t})})]})})}function u({className:t,...e}){return i(o.Title,{className:a("text-xl font-medium text-zinc-900",t),...e})}function d(t){return i(o.Description,{...t})}function C(t){return i(o.Close,{...t})}var c=Object.assign(m,{Title:u,Description:d,Close:C});export{c as a};
