import { Button as s } from "./accelbyte-widgets107.mjs";
import { Dialog as i, DialogBody as r, DialogFooter as m } from "./accelbyte-widgets235.mjs";
import e from "react";
import { Trans as t } from "react-i18next";
import "./accelbyte-widgets547.mjs";
const y = (l) => {
  const { item: c, onClose: n, onBuy: a } = l, o = c.title;
  return /* @__PURE__ */ e.createElement(
    i,
    {
      isOpen: !0,
      title: /* @__PURE__ */ e.createElement(t, { i18nKey: "PurchaseAccessibleItemDialog.title" }, "Buy Game"),
      onClose: () => n(),
      className: "purchaseAccessibleItemDialog"
    },
    /* @__PURE__ */ e.createElement(r, null, /* @__PURE__ */ e.createElement(t, { i18nKey: "PurchaseAccessibleItemDialog.content" }, /* @__PURE__ */ e.createElement("p", null, "Do you want to buy permanent access to ", /* @__PURE__ */ e.createElement("strong", null, { itemTitle: o }), " ?"), /* @__PURE__ */ e.createElement("p", null, "You can access this game with your Prime subscription"))),
    /* @__PURE__ */ e.createElement(m, { className: "dialogFooter" }, /* @__PURE__ */ e.createElement("button", { className: "btn big btnCancel", onClick: () => n() }, /* @__PURE__ */ e.createElement(t, { i18nKey: "PurchaseAccessibleItemDialog.buttons.cancel" }, "CANCEL")), /* @__PURE__ */ e.createElement(s, { className: "btn big btnContinuePayment", onClick: () => a() }, /* @__PURE__ */ e.createElement(t, { i18nKey: "PurchaseAccessibleItemDialog.buttons.buy" }, "BUY")))
  );
};
export {
  y as PurchaseAccessibleItemDialog
};
