"use client";
function f(t, r) {
  if (r == null)
    return t;
  if (typeof r != "object" || Array.isArray(r) || typeof t != "object" || Array.isArray(t))
    return r;
  const l = { ...t };
  return Object.keys(r).forEach((n) => {
    const e = r[n], i = t[n];
    e != null && typeof e == "object" && !Array.isArray(e) && typeof i == "object" && !Array.isArray(i) && i !== null ? l[n] = f(i, e) : l[n] = e;
  }), l;
}
export {
  f as deepMerge
};
//# sourceMappingURL=index.esm33.js.map
