import * as e from "react";
import { Ctx as a } from "./accelbyte-widgets33.mjs";
import { Button as l } from "./accelbyte-widgets107.mjs";
import { Dialog as m, DialogBody as i, DialogFooter as s } from "./accelbyte-widgets235.mjs";
import { Trans as o } from "react-i18next";
const f = (n) => {
  const { onClose: r } = n, { gdprDeletionStatus: t } = a.getGdprManager().state, c = (t == null ? void 0 : t.DeletionDate) || "";
  return /* @__PURE__ */ e.createElement(m, { title: /* @__PURE__ */ e.createElement(o, { i18nKey: "common.AccountDeletion.title" }, "Account deletion in-progress"), className: "w-552", isOpen: !0 }, /* @__PURE__ */ e.createElement(i, { className: "text-xs" }, /* @__PURE__ */ e.createElement(o, { i18nKey: "common.AccountDeletion.content" }, /* @__PURE__ */ e.createElement("p", { className: "top" }, "Your account is set to be deleted on ", { deletionDate: c }, ". Please check your email for more information regarding the deletion request."))), /* @__PURE__ */ e.createElement(s, null, /* @__PURE__ */ e.createElement("div", { className: "flex justify-end" }, /* @__PURE__ */ e.createElement(l, { className: "btn big btn-primary", onClick: r }, /* @__PURE__ */ e.createElement(o, { i18nKey: "Common.close" }, "Close")))));
};
export {
  f as LinkAccountDeletionError
};
