
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="dcce1383-dd0a-5087-8806-03e9333d9c2d")}catch(e){}}();
import{j as e}from"./jsx-runtime-Cf8x2fCZ.js";import{c as m}from"./index-DU9aCrgk.js";import{r as s}from"./index-CamrZNs0.js";import{F as d}from"./XMarkIcon--zfW-ixc.js";import{q as r}from"./transition-5s_afZkd.js";import{_ as t}from"./dialog-CYpKzqem.js";const y="usd",N="en-US",v=({isOpen:a,onClose:i,title:o,message:l,children:n,panelSizeClass:c="max-w-md"})=>e.jsx(r,{appear:!0,show:a,as:s.Fragment,children:e.jsxs(t,{as:"div",className:"relative",onClose:i,children:[e.jsx(r.Child,{as:s.Fragment,enter:"ease-out duration-50",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-50",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:e.jsx("div",{className:"fixed inset-0 z-20 bg-black/60"})}),e.jsx("div",{className:"fixed inset-0 z-20 overflow-y-auto",children:e.jsx("div",{className:"flex min-h-full items-center justify-center text-center",children:e.jsx(r.Child,{as:s.Fragment,enter:"ease-out duration-50",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-50",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:e.jsxs(t.Panel,{className:m("relative -mt-32 w-full transform overflow-auto rounded-md bg-white p-6 text-left align-middle shadow-xl transition-all",c),children:[e.jsx("button",{"aria-label":"Close",className:"absolute right-4 top-4",onClick:i,children:e.jsx(d,{className:"h-6 w-6 stroke-1 text-gray-400 transition-all hover:text-gray-700"})}),e.jsx(t.Title,{as:"h3",className:"tracking-medium pb-1 text-xl font-bold leading-tight text-gray-900",children:o}),e.jsx(t.Description,{as:"h5",className:"mb-4 pb-1 text-sm font-light leading-tight tracking-wider text-gray-500",children:l}),e.jsx("div",{className:"w-full",children:n})]})})})})]})});var x=(a=>(a.MONTH="month",a.YEAR="year",a.ONE_TIME="one_time",a.DONATION="donation",a))(x||{});export{v as M,x as P,y as a,N as d};
//# sourceMappingURL=subscriptions-XYlC7DyO.js.map

//# debugId=dcce1383-dd0a-5087-8806-03e9333d9c2d
