"use client";
import { constructFromSymbol as o } from "./constants.js";
function c(n, r) {
  return typeof n == "function" ? n(r) : n && typeof n == "object" && o in n ? n[o](r) : n instanceof Date ? new n.constructor(r) : new Date(r);
}
export {
  c as constructFrom,
  c as default
};
