decord/source/1751_flattenArray.js

70 lines
1.8 KiB
JavaScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 1751
// Function ID: 1752
2026-07-29 08:29:29 +00:00
// Name: flattenArray
// Dependencies: []
2026-08-15 05:55:55 +00:00
// Module 1751 (flattenArray)
2026-07-29 08:29:29 +00:00
arg5.flattenArray = function flattenArray(style) {
if (Array.isArray(style)) {
const items = [];
function _flattenArray(arg0) {
}
const item = style.forEach((arr) => {
if (Array.isArray(arr)) {
2026-08-04 21:03:28 +00:00
if (typeof closure_1 !== "function") {
2026-07-29 08:29:29 +00:00
HermesBuiltin.throwTypeError();
}
let item = arr.forEach((arr) => {
if (Array.isArray(arr)) {
2026-08-04 21:03:28 +00:00
if (typeof closure_1 !== "function") {
2026-07-29 08:29:29 +00:00
HermesBuiltin.throwTypeError();
}
let item = arr.forEach((arr) => {
if (Array.isArray(arr)) {
2026-08-04 21:03:28 +00:00
if (typeof closure_1 !== "function") {
2026-07-29 08:29:29 +00:00
HermesBuiltin.throwTypeError();
}
let item = arr.forEach((arr) => {
if (Array.isArray(arr)) {
2026-08-04 21:03:28 +00:00
if (typeof closure_1 !== "function") {
2026-07-29 08:29:29 +00:00
HermesBuiltin.throwTypeError();
}
let item = arr.forEach(() => { ... });
} else {
2026-08-24 06:08:38 +00:00
arr = arr.push(arr);
2026-07-29 08:29:29 +00:00
}
});
} else {
2026-08-24 06:08:38 +00:00
arr = arr.push(arr);
2026-07-29 08:29:29 +00:00
}
});
} else {
2026-08-24 06:08:38 +00:00
arr = arr.push(arr);
2026-07-29 08:29:29 +00:00
}
});
} else {
2026-08-24 06:08:38 +00:00
arr = arr.push(arr);
2026-07-29 08:29:29 +00:00
}
});
return items;
} else {
const items1 = [style];
return items1;
}
};
2026-08-04 21:03:28 +00:00
arg5.has = (arg0, fn) => {
let tmp = typeof fn === "function";
if (typeof fn !== "function") {
tmp = typeof fn === "object";
2026-07-29 08:29:29 +00:00
}
if (tmp) {
2026-08-04 21:03:28 +00:00
let tmp3 = null != fn;
2026-07-29 08:29:29 +00:00
if (tmp3) {
2026-08-04 21:03:28 +00:00
tmp3 = arg0 in fn;
2026-07-29 08:29:29 +00:00
}
tmp = tmp3;
}
return tmp;
};