import { Button as n, ButtonType as l, ButtonStyle as r } from "./accelbyte-widgets107.mjs";
import { Dialog as i, DialogBody as c, DialogFooter as m } from "./accelbyte-widgets235.mjs";
import { t as s } from "./accelbyte-widgets58.mjs";
import e from "react";
import { Trans as o } from "react-i18next";
import "./accelbyte-widgets485.mjs";
class b extends e.Component {
  constructor(t) {
    super(t);
  }
  render() {
    const { onCancel: t, onConfirm: a } = this.props;
    return /* @__PURE__ */ e.createElement(i, { className: "cancelConfirmDialog", title: s("PersonalDataPage.cancelConfirmDialog.title"), isOpen: !0 }, /* @__PURE__ */ e.createElement(c, { className: "dialogBody" }, /* @__PURE__ */ e.createElement(o, { i18nKey: "PersonalDataPage.cancelConfirmDialog.bodyText" }, "Do you want to cancel your personal data request?")), /* @__PURE__ */ e.createElement(m, { className: "dialogFooter" }, /* @__PURE__ */ e.createElement("div", { className: "btnContainer" }, /* @__PURE__ */ e.createElement(
      n,
      {
        className: "btn big btn-ghost btnCancel",
        buttonType: l.TEXT,
        buttonStyle: r.NONE,
        onClick: () => {
          t && t();
        }
      },
      /* @__PURE__ */ e.createElement(o, { i18nKey: "PersonalDataPage.cancelDialogConfirm.close" }, "Close")
    ), /* @__PURE__ */ e.createElement(
      n,
      {
        className: "btn big btn-primary btnContinue",
        onClick: () => {
          a && a();
        }
      },
      /* @__PURE__ */ e.createElement(o, { i18nKey: "PersonalDataPage.cancelDialogConfirm.continue" }, "Continue")
    ))));
  }
}
export {
  b as CancelConfirmDialog
};
