const require_runtime = require("../../../../../../_virtual/_rolldown/runtime.js");
let react = require("react");
react = require_runtime.__toESM(react);
//#region src/components/checkout/components/WalletPassModule/components/DiscountWallet/DiscountTextMode.tsx
const Amount = require("@pisell/materials").PisellText.Amount;
const DiscountTextMode = ({ cardData, selectedWalletIds }) => {
	return /* @__PURE__ */ react.default.createElement("div", { className: "discount-text-mode" }, cardData && cardData.length > 0 ? cardData.filter((card) => selectedWalletIds.includes(card.id)).map((card) => /* @__PURE__ */ react.default.createElement("div", {
		key: card.id,
		className: "discount-text-item selected"
	}, /* @__PURE__ */ react.default.createElement("span", { className: "discount-text-name" }, card.name), /* @__PURE__ */ react.default.createElement("span", { className: "discount-text-amount" }, "-", /* @__PURE__ */ react.default.createElement(Amount, {
		value: card.savedAmount,
		showCurrencySymbol: true
	})))) : /* @__PURE__ */ react.default.createElement("div", { className: "discount-text-empty" }));
};
//#endregion
exports.default = DiscountTextMode;
