2026-07-23 10:11:24 +00:00
|
|
|
// Module ID: 5427
|
2026-07-25 08:10:48 +00:00
|
|
|
// Function ID: 46506
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: useDataMultiplier
|
|
|
|
|
// Dependencies: []
|
|
|
|
|
|
2026-07-23 10:11:24 +00:00
|
|
|
// Module 5427 (useDataMultiplier)
|
2026-07-20 16:05:17 +00:00
|
|
|
arg5.useDataMultiplier = function useDataMultiplier(arg0, arg1) {
|
|
|
|
|
const array = new Array(arg1);
|
|
|
|
|
let flag = false;
|
|
|
|
|
if ("object" === typeof arg0[0]) {
|
|
|
|
|
flag = true;
|
|
|
|
|
}
|
|
|
|
|
for (let num = 0; num < arg1; num = num + 1) {
|
|
|
|
|
if (flag) {
|
|
|
|
|
let _Object = Object;
|
|
|
|
|
let merged = Object.assign({}, arg0[num % length]);
|
|
|
|
|
} else {
|
|
|
|
|
merged = arg0[num % length];
|
|
|
|
|
}
|
|
|
|
|
array[num] = merged;
|
|
|
|
|
}
|
|
|
|
|
const items = [array];
|
|
|
|
|
return items;
|
|
|
|
|
};
|