import{isObject as f}from"../guards/is-object.js";function p(...y){return y.reduce((i,e={})=>{for(const o of Object.keys(e))["__proto__","constructor","prototype"].includes(o)||(Array.isArray(i[o])&&Array.isArray(e[o])?i[o]=e[o]:f(i[o])&&f(e[o])?i[o]=p(i[o],e[o]):i[o]=e[o]);return i},{})}export{p as deepMerge};
