'use strict';

var constructFrom = require('../constructFrom.cjs');

function normalizeDates(context, ...dates) {
  const normalize = constructFrom.constructFrom.bind(
    null,
    context || dates.find((date) => typeof date === "object"),
  );
  return dates.map(normalize);
}

exports.normalizeDates = normalizeDates;
//# sourceMappingURL=normalizeDates.cjs.map
