"use client";
import { constructFrom as o } from "./constructFrom.js";
import { toDate as a } from "./toDate.js";
function f(e, r, i) {
  const t = a(e, i?.in);
  return isNaN(r) ? o(e, NaN) : (r && t.setDate(t.getDate() + r), t);
}
export {
  f as addDays,
  f as default
};
