import e from "./isObject.js";
import t from "./_Stack.js";
import n from "./_assignMergeValue.js";
import r from "./_baseFor.js";
import i from "./_safeGet.js";
import a from "./keysIn.js";
import o from "./_baseMergeDeep.js";
//#region ../../node_modules/lodash-es/_baseMerge.js
function s(c, l, u, d, f) {
	c !== l && r(l, function(r, a) {
		if (f ||= new t(), e(r)) o(c, l, a, u, s, d, f);
		else {
			var p = d ? d(i(c, a), r, a + "", c, l, f) : void 0;
			p === void 0 && (p = r), n(c, a, p);
		}
	}, a);
}
//#endregion
export { s as default };
