"use client";
import { j as l } from "../../../../../../../node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.mjs";
import d from "../../../../../NumberInput/index.mjs";
import r from "../../../../../TextInput/index.mjs";
import { DEFAULT_FORM_REWARDS_i18n as n } from "../../index.mjs";
import u from "./index.module.scss.mjs";
function j({
  tokenNameInputProps: t,
  decimalsInputProps: m,
  amountPerUserInputProps: s,
  marketplaceUrlInputProps: p,
  tokenType: a,
  i18n: e = n,
  hideAmountPerUser: c = !1
}) {
  let o = /* @__PURE__ */ l.jsx(
    r,
    {
      label: e.label.marketplaceUrl,
      placeholder: e.placeholder.marketplaceUrl,
      ...p
    }
  );
  return a === "ERC20" && (o = /* @__PURE__ */ l.jsx(
    d,
    {
      label: e.label.decimals,
      placeholder: e.placeholder.decimals,
      ...m
    }
  )), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
    /* @__PURE__ */ l.jsxs("div", { className: u.tokenContainer, children: [
      /* @__PURE__ */ l.jsx(
        r,
        {
          label: e.label.tokenName,
          placeholder: e.placeholder.tokenName,
          ...t
        }
      ),
      o
    ] }),
    a === "ERC20" && !c ? /* @__PURE__ */ l.jsx(
      r,
      {
        label: e.label.amountPerUser,
        placeholder: e.placeholder.amountPerUser,
        ...s
      }
    ) : null
  ] });
}
export {
  j as RewardERC20_721
};
//# sourceMappingURL=index.mjs.map
