'use client';
import { jsx as i, jsxs as t } from "react/jsx-runtime";
import { Modal as l, ModalContent as c, ModalHeader as n, ModalBody as d } from "@heroui/react";
import { EmailVerification as m } from "./email-verification.js";
import { withErrorBoundary as f } from "../../common/error-boundary.js";
const E = f(function({
  isOpen: r,
  onClose: a,
  isDismissable: e = !0,
  ...o
}) {
  return /* @__PURE__ */ i(
    l,
    {
      isOpen: r,
      onClose: a,
      isDismissable: e,
      size: o.modalSize,
      classNames: {
        backdrop: "bg-gradient-to-t from-zinc-900 to-zinc-900/10 backdrop-opacity-20"
      },
      children: /* @__PURE__ */ t(c, { children: [
        /* @__PURE__ */ i(n, { className: "flex flex-col gap-1", children: "Email Verification" }),
        /* @__PURE__ */ i(d, { children: /* @__PURE__ */ i(m, { ...o }) })
      ] })
    }
  );
});
export {
  E as EmailVerificationModal
};
//# sourceMappingURL=email-verification-modal.js.map
