/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
//#region ../automated-config/dist/utils/cartesianProduct.js
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
const cartesianProduct = (sets) => sets.reduce((a, b) => a.flatMap((d) => b.map((e) => [d, e].flat())));
//#endregion
exports.cartesianProduct = cartesianProduct;
