import{i as d}from"./isUnsafeProperty-CZDKHtlL.js";import{z as y}from"./isEqual-DWjmKQqT.js";function o(s,l,f){const r=Object.keys(l);for(let c=0;c<r.length;c++){const i=r[c];if(d(i))continue;const e=l[i],n=s[i],u=f(n,e,i,s,l);u!==void 0?s[i]=u:Array.isArray(e)?Array.isArray(n)?s[i]=o(n,e,f):s[i]=o([],e,f):y(e)?y(n)?s[i]=o(n,e,f):s[i]=o({},e,f):(n===void 0||e!==void 0)&&(s[i]=e)}return s}export{o as m};
//# sourceMappingURL=mergeWith-fdMHdwJY.js.map
