var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/solution/VenueBooking/utils.ts
var utils_exports = {};
__export(utils_exports, {
  aggregateItemRuleLimit: () => import_utils.aggregateItemRuleLimit,
  attachItemRuleLimitsToTopLevelProducts: () => import_utils.attachItemRuleLimitsToTopLevelProducts,
  buildItemRuleBusinessData: () => import_utils.buildItemRuleBusinessData,
  buildProductKey: () => import_utils.buildProductKey,
  buildQuantityLimitIndex: () => import_utils.buildQuantityLimitIndex,
  createEmptySummary: () => import_utils.createEmptySummary,
  extractStrategyModelIdsFromTableConfig: () => import_utils.extractStrategyModelIdsFromTableConfig,
  getProductIdentityIndex: () => import_utils.getProductIdentityIndex,
  getSafeProductNum: () => import_utils.getSafeProductNum,
  getTopLevelProductId: () => import_utils.getTopLevelProductId,
  getTopLevelVariantId: () => import_utils.getTopLevelVariantId,
  isIdentityMatch: () => import_utils.isIdentityMatch,
  normalizeEnabledItemRuleIds: () => import_utils.normalizeEnabledItemRuleIds,
  normalizeItemRuleStrategies: () => import_utils.normalizeItemRuleStrategies,
  normalizeOrderProduct: () => import_utils.normalizeOrderProduct,
  resolveSkuMatchedQuantityLimits: () => import_utils.resolveSkuMatchedQuantityLimits,
  toBoolean: () => import_utils.toBoolean,
  toNonNegativeInt: () => import_utils.toNonNegativeInt,
  toNonNegativeNumber: () => import_utils.toNonNegativeNumber,
  toPositiveString: () => import_utils.toPositiveString,
  toPriceString: () => import_utils.toPriceString
});
module.exports = __toCommonJS(utils_exports);
var import_utils = require("../ScanOrder/utils");
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  aggregateItemRuleLimit,
  attachItemRuleLimitsToTopLevelProducts,
  buildItemRuleBusinessData,
  buildProductKey,
  buildQuantityLimitIndex,
  createEmptySummary,
  extractStrategyModelIdsFromTableConfig,
  getProductIdentityIndex,
  getSafeProductNum,
  getTopLevelProductId,
  getTopLevelVariantId,
  isIdentityMatch,
  normalizeEnabledItemRuleIds,
  normalizeItemRuleStrategies,
  normalizeOrderProduct,
  resolveSkuMatchedQuantityLimits,
  toBoolean,
  toNonNegativeInt,
  toNonNegativeNumber,
  toPositiveString,
  toPriceString
});
