decord/source/5698_swizzle.js

60 lines
1.5 KiB
JavaScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 5698
// Function ID: 5699
2026-07-29 08:29:29 +00:00
// Name: swizzle
2026-08-05 07:35:12 +00:00
// Dependencies: [5699]
2026-07-29 08:29:29 +00:00
2026-08-05 07:35:12 +00:00
// Module 5698 (swizzle)
2026-07-29 08:29:29 +00:00
function swizzle(arg0) {
let items = [];
let num = 0;
let tmp = items;
if (0 < arg0.length) {
2026-08-05 07:35:12 +00:00
while (!require(5699) /* isArrayish */(arg0[num])) {
2026-07-29 08:29:29 +00:00
let arr = items.push(tmp2);
let tmp8 = items;
num = num + 1;
items = tmp6;
tmp = tmp6;
}
const call = concat.call;
const call2 = slice.call;
const tmp11 = typeof call2 === "unknown" ? slice() : call2(arg0[num]);
typeof call === "unknown" ? concat(tmp11) : call(items, tmp11);
const tmp10 = slice;
const tmp9 = concat;
}
return tmp;
}
swizzle.wrap = (arg0) => {
let closure_0 = arg0;
return () => {
2026-08-04 21:03:28 +00:00
if (typeof outer1_4 !== "function") {
2026-07-29 08:29:29 +00:00
HermesBuiltin.throwTypeError();
}
const items = [];
const length = arguments.length;
let num = 0;
let arr2 = items;
let tmp2 = items;
if (0 < length) {
const tmp3 = arguments[num];
while (!callback(outer1_1[0])(tmp3)) {
let arr = arr2.push(tmp3);
let tmp9 = arr2;
num = num + 1;
arr2 = tmp7;
tmp2 = tmp7;
}
const call = outer1_2.call;
const call2 = outer1_3.call;
const tmp12 = typeof call2 === "unknown" ? outer1_3() : call2(tmp3);
typeof call === "unknown" ? outer1_2(tmp12) : call(arr2, tmp12);
const tmp10 = outer1_2;
const tmp11 = outer1_3;
}
return callback(tmp2);
};
};
export default swizzle;