import { jsx as e, Fragment as A } from "react/jsx-runtime";
import { a as n } from "./index.CfQlFjZU.js";
import { a as f } from "./Tag.Bk_lQM4l.js";
var i = /* @__PURE__ */ ((r) => (r.PERCENT = "PERCENT", r.FLAT = "FLAT", r.NOT_AVAILABLE = "N/A", r))(i || {});
const o = ({
  ...r
}) => ({
  ...r
}), E = ({
  currency: r,
  commissionRate: a,
  commissionType: t
}) => /* @__PURE__ */ e(A, { children: t !== "N/A" && /* @__PURE__ */ e(
  f,
  {
    variant: "brand",
    text: `Get ${t === "FLAT" ? new Intl.NumberFormat("en-US", {
      style: "currency",
      currency: r
    }).format(a) : t === "PERCENT" ? `${a}%` : ""}`
  }
) }), m = n(
  E,
  o
);
export {
  m as A,
  i as C
};
