"use client";
import { j as e } from "../../../node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.mjs";
import u from "../../../node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.mjs";
import { ButtonCopy as f } from "../ButtonCopy/index.mjs";
import { ContainerInteractive as h } from "../ContainerInteractive/index.mjs";
import { getTruncatedAddress as v } from "../../utils/addressUtils.mjs";
import i from "./RewardDetails.module.scss.mjs";
const y = { player: "Player" };
function I({
  classNames: r,
  chainName: s,
  tokenType: o,
  tokenSymbol: a,
  rewardPerPlayer: m,
  marketplace: c,
  tokenContractAddress: l,
  i18n: d = y,
  ...p
}) {
  const n = [
    s,
    o,
    `${m} ${a}/${d.player}`,
    c,
    v(l)
  ], x = n.map((t, j) => t ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
    /* @__PURE__ */ e.jsx("div", { className: "body-sm color-neutral-400", children: `${t}` }, t),
    j < n.length - 1 ? /* @__PURE__ */ e.jsx("div", { className: "center", children: /* @__PURE__ */ e.jsx("div", { className: "circle" }) }) : null
  ] }) : /* @__PURE__ */ e.jsx(e.Fragment, {}));
  return /* @__PURE__ */ e.jsx(
    h,
    {
      classNames: {
        ...r,
        title: u(i.title, r == null ? void 0 : r.title)
      },
      ...p,
      children: /* @__PURE__ */ e.jsxs("div", { className: i.container, children: [
        /* @__PURE__ */ e.jsx("div", { className: i.detailsRow, children: x }),
        /* @__PURE__ */ e.jsx(f, { text: l })
      ] })
    }
  );
}
export {
  I as RewardDetails,
  y as defaultI18n
};
//# sourceMappingURL=index.mjs.map
