import e from "react";
import { Button as o, ButtonStyle as i } from "./accelbyte-widgets107.mjs";
import { Dialog as m, DialogBody as l, DialogFooter as s } from "./accelbyte-widgets235.mjs";
import { t as r } from "./accelbyte-widgets58.mjs";
import { Trans as a } from "react-i18next";
class E extends e.Component {
  constructor(t) {
    super(t);
  }
  render() {
    const { onConfirm: t, onCancel: c, isConfirming: n } = this.props;
    return /* @__PURE__ */ e.createElement(
      m,
      {
        title: /* @__PURE__ */ e.createElement("span", { className: "font-body" }, /* @__PURE__ */ e.createElement(a, { i18nKey: "LinkAccountWithOneTimeCodePage.pickProgression.modal.title" }, "Link an Account")),
        isOpen: !0
      },
      /* @__PURE__ */ e.createElement(l, null, /* @__PURE__ */ e.createElement("p", { className: "text-sm text-[color:rgb(var(--od-rgb-text),0.65)]" }, /* @__PURE__ */ e.createElement(a, { i18nKey: "LinkAccountWithOneTimeCodePage.pickProgression.modal.message" }, "Are you sure want to continue to link your account?"))),
      /* @__PURE__ */ e.createElement(s, null, /* @__PURE__ */ e.createElement("div", { className: "flex justify-end" }, /* @__PURE__ */ e.createElement(o, { className: "btn btn-ghost mr-2 uppercase", buttonStyle: i.NONE, onClick: c }, r("Common.cancel")), /* @__PURE__ */ e.createElement(o, { className: "btn btn-primary uppercase", isLoading: n, disabled: n, onClick: t }, r("common.yes"))))
    );
  }
}
export {
  E as LinkAccountDialog
};
