const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
const require_index = require("./Standard/index.js");
const require_index$1 = require("./SecondaryScreen/index.js");
let react = require("react");
react = require_runtime.__toESM(react);
//#region src/components/bigSale/templates/index.tsx
/**
* BigSale 模板渲染器：Base 负责外层容器与数据组装，模板只负责区域组合。
*/
function BigSaleTemplateRenderer({ tmpl = "standard", dataSource, mode, variant, productLoadParams, productDisplayConfig, saleDetailTemplate, saleDetailModuleConfig, orderId, locale, saleDetailWrapperProps }) {
	switch (tmpl) {
		case "secondaryScreen": return /* @__PURE__ */ react.default.createElement(require_index$1.SecondaryScreenBigSaleTemplate, {
			dataSource,
			mode,
			variant,
			productLoadParams,
			productDisplayConfig,
			saleDetailTemplate,
			saleDetailModuleConfig,
			orderId,
			locale,
			saleDetailWrapperProps
		});
		default: return /* @__PURE__ */ react.default.createElement(require_index.StandardBigSaleTemplate, {
			dataSource,
			mode,
			variant,
			productLoadParams,
			productDisplayConfig,
			saleDetailTemplate,
			saleDetailModuleConfig,
			orderId,
			locale,
			saleDetailWrapperProps
		});
	}
}
//#endregion
exports.BigSaleTemplateRenderer = BigSaleTemplateRenderer;
