Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
47 lines
1.1 KiB
JavaScript
47 lines
1.1 KiB
JavaScript
// Module ID: 711
|
|
// Function ID: 712
|
|
// Dependencies: []
|
|
|
|
// Module 711
|
|
Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" });
|
|
function merge(arg0, obj) {
|
|
let num = arg2;
|
|
if (arg2 === undefined) {
|
|
num = 2;
|
|
}
|
|
if (obj) {
|
|
if (typeof obj === "object") {
|
|
if (num > 0) {
|
|
if (arg0) {
|
|
const _Object = Object;
|
|
if (0 === Object.keys(obj).length) {
|
|
return arg0;
|
|
}
|
|
}
|
|
obj = {};
|
|
const merged = Object.assign(arg0);
|
|
for (const key10016 in arg1) {
|
|
let _Object2 = Object;
|
|
hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
let call = hasOwnProperty.call;
|
|
if (typeof call === "unknown") {
|
|
let hasOwnPropertyResult = hasOwnProperty(key10016);
|
|
} else {
|
|
hasOwnPropertyResult = call(arg1, key10016);
|
|
}
|
|
if (!hasOwnPropertyResult) {
|
|
continue;
|
|
} else {
|
|
obj[key10016] = merge(obj[key10016], arg1[key10016], num - 1);
|
|
continue;
|
|
}
|
|
continue;
|
|
}
|
|
return obj;
|
|
}
|
|
}
|
|
}
|
|
return obj;
|
|
}
|
|
|
|
export { merge };
|