//#region src/internal/utils/objects.ts
function e(e) {
	return !!e && typeof e == "object" && !Array.isArray(e);
}
function t(e) {
	if (!e || typeof e != "object" || Array.isArray(e)) return !1;
	let t = Object.getPrototypeOf(e);
	return t === null || t === Object.prototype;
}
function n(e, ...i) {
	if (!i.length) return e;
	let a = i.shift();
	if (t(e) && t(a)) for (let t in a) r(e, a, t);
	return n(e, ...i);
}
function r(e, r, i) {
	let a = r[i];
	if (!t(a)) {
		e[i] = a;
		return;
	}
	t(e[i]) ? n(e[i], a) : e[i] = a;
}
function i(e) {
	let [t, n, r] = e.split(".").map((e) => {
		let t = parseInt(e, 10);
		return Number.isNaN(t) ? -1 : t;
	});
	return {
		major: t ?? -1,
		minor: n ?? -1,
		patch: r ?? -1
	};
}
function a(e) {
	return new Intl.NumberFormat().format(e);
}
function o(e, t) {
	return Math.sign(t - e) * Math.abs(e - t);
}
//#endregion
export { n as deepMerge, a as formatStandardNumber, o as getDifference, e as isObject, t as isObjectLiteral, i as parseVersion };

//# sourceMappingURL=objects.js.map