Files
discord-decomp/sources/by-id/module-04151.jsx
T
2026-07-27 16:20:00 +03:00

86 lines
3.2 KiB
React

/* Metro module 4151; source: unknown; dependencies: [] */
function _fun34397(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#34397, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4322:6, offset: 0x01055000, size: 32 bytes, params: 8, frame: 2
const env0_0 = global.TypeError;
module.exports = exports_34398;
}
function exports_34398(a0) { // fn#34398, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4322:69, offset: 0x01055020, size: 221 bytes, params: 2, frame: 15
var r2;
var r1;
var r4;
var next;
var value2;
var value3;
var done;
var push;
var value4;
var value5;
var value6;
let value = undefined;
if (a0) {
next = a0.next;
reducibleJoin17: while (true) {
if (typeof next === 'function') {
if (arguments.length > 1) {
value2 = arguments[1];
reducibleJoin4: while (true) {
if (typeof value2 !== 'function') {
value = environment;
throw new TypeError('`callback`, if provided, must be a function');
}
r2 = value2;
break reducibleJoin4;
}
} else {
r2 = value;
}
reducibleJoin6: while (true) {
if (r2) {
r1 = r2;
break reducibleJoin6;
}
r1 = [];
break reducibleJoin6;
}
next = a0.next;
value3 = Reflect.apply(next, a0, []);
reducibleJoin13: while (true) {
if (!value3) {
break reducibleJoin13;
}
done = value3.done;
if (done) {
break reducibleJoin13;
}
r4 = value3;
reducibleLoop8: while (true) {
if (r2) {
value5 = r4.value;
r2(value5);
} else {
push = r1.push;
value4 = r4.value;
Reflect.apply(push, r1, [value4]);
}
next = a0.next;
value6 = Reflect.apply(next, a0, []);
if (value6) {
done = value6.done;
if (done) {
break reducibleJoin13;
}
r4 = value6;
continue reducibleLoop8;
}
break reducibleJoin13;
}
}
return r2 ? value : r1;
}
break reducibleJoin17;
}
}
throw new TypeError('iterator must be an object with a `next` method');
}