import * as e from "react";
import { Trans as s } from "react-i18next";
import a from "classnames";
import c from "./accelbyte-widgets182.mjs";
import { Ctx as o } from "./accelbyte-widgets33.mjs";
class d extends e.Component {
  constructor(t) {
    super(t);
  }
  render() {
    const { isUpgradeToFull: t, platformName: r } = this.props, n = o.getAppState().getBrandName();
    return /* @__PURE__ */ e.createElement("div", { className: "text-center" }, /* @__PURE__ */ e.createElement("p", { className: c.title }, /* @__PURE__ */ e.createElement(s, { i18nKey: "LinkAccountWithOneTimeCodePage.success.title" }, "Success!")), /* @__PURE__ */ e.createElement("p", { className: a(c.description, "mb-4") }, t && /* @__PURE__ */ e.createElement(s, { i18nKey: "LinkAccountWithOneTimeCodePage.success.isUpgrade.desc" }, "You have upgraded to a full ", { publisherName: n }, " account."), !t && /* @__PURE__ */ e.createElement(s, { i18nKey: "LinkAccountWithOneTimeCodePage.success.isLink.desc" }, "Your ", { platformName: r }, " account has been linked with your full ", { publisherName: n }, " account.")), /* @__PURE__ */ e.createElement("p", { className: c.description }, /* @__PURE__ */ e.createElement(s, { i18nKey: "LinkAccountWithOneTimeCodePage.success.desc2" }, "The screen on your device will refresh shortly. You can close this window.")));
  }
}
export {
  d as SuccessMessage
};
