const require_runtime = require("../../../../_virtual/_rolldown/runtime.js");
let react = require("react");
react = require_runtime.__toESM(react);
let _pisell_utils = require("@pisell/utils");
//#region src/components/booking/components/collapsibleList/utils.tsx
const renderBundles = (item, amountSymbol) => {
	const options = (item === null || item === void 0 ? void 0 : item.option) || [];
	return /* @__PURE__ */ react.default.createElement("div", {
		key: item.id,
		className: "product-bundle-item"
	}, /* @__PURE__ */ react.default.createElement("div", { className: "product-bundle-info" }, /* @__PURE__ */ react.default.createElement("div", { className: "product-bundle-info-title" }, item.title), /* @__PURE__ */ react.default.createElement("div", { className: "product-bundle-info-num" }, (0, _pisell_utils.formatAmount)(item.price, 2, amountSymbol), " × ", item.num)), /* @__PURE__ */ react.default.createElement("div", { className: "product-bundle-option" }, options.map((option, index) => {
		return /* @__PURE__ */ react.default.createElement("span", { key: option.id }, option.name, " x ", option.num, " ", index < options.length - 1 && ",", " ");
	})));
};
//#endregion
exports.renderBundles = renderBundles;
