96 lines
4.0 KiB
JavaScript
96 lines
4.0 KiB
JavaScript
/* Metro module 1408; source: unknown; dependencies: [1409] */
|
|
function _fun16525(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#16525, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1535:6, offset: 0x00e51b3e, size: 77 bytes, params: 8, frame: 3
|
|
const env0_0 = require;
|
|
let Object = global.Object;
|
|
const env0_2 = Object.prototype.toString;
|
|
Object = global.Object;
|
|
const env0_3 = Object.prototype.hasOwnProperty;
|
|
module.exports = exports_16526;
|
|
function exports_16526(a0, a1, a2) { // fn#16526, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1535:120, offset: 0x00e51b8b, size: 398 bytes, params: 4, frame: 26
|
|
var r3;
|
|
var r9;
|
|
var r1;
|
|
var r4;
|
|
var call;
|
|
var propertyName;
|
|
var propertyName2;
|
|
var hasOwnPropertyBinding;
|
|
var length;
|
|
var charAt;
|
|
let value = a2;
|
|
const value2 = undefined;
|
|
const value4 = 0;
|
|
if (require(dependencyMap[value4])(a1)) {
|
|
r3 = arguments.length >= 3 ? value : value2;
|
|
value = toString.call(a0);
|
|
if (value === '[object Array]') {
|
|
length = a0.length;
|
|
if (value4 < length) {
|
|
r4 = value4;
|
|
while (true) {
|
|
hasOwnPropertyBinding = hasOwnProperty;
|
|
call = hasOwnPropertyBinding.call;
|
|
if (Reflect.apply(call, hasOwnPropertyBinding, [a0, r4])) {
|
|
if (r3 == null) {
|
|
a1(a0[r4], r4, a0);
|
|
break;
|
|
}
|
|
a1.call(r3, a0[r4], r4, a0);
|
|
break;
|
|
}
|
|
value = typeof r4 === 'bigint' ? r4 + 1n : +r4 + 1;
|
|
if (value < length) {
|
|
r4 = value;
|
|
continue;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
} else if (typeof a0 === 'string') {
|
|
length = a0.length;
|
|
if (value4 < length) {
|
|
r1 = value4;
|
|
while (true) {
|
|
if (r3 == null) {
|
|
charAt = a0.charAt;
|
|
a1(Reflect.apply(charAt, a0, [r1]), r1, a0);
|
|
} else {
|
|
call = a1.call;
|
|
charAt = a0.charAt;
|
|
Reflect.apply(call, a1, [r3, Reflect.apply(charAt, a0, [r1]), r1, a0]);
|
|
}
|
|
value = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1;
|
|
if (value < length) {
|
|
r1 = value;
|
|
continue;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
} else {
|
|
for (propertyName in a0) {
|
|
hasOwnPropertyBinding = hasOwnProperty;
|
|
call = hasOwnPropertyBinding.call;
|
|
if (!Reflect.apply(call, hasOwnPropertyBinding, [a0, propertyName])) {
|
|
r9 = propertyName2;
|
|
continue;
|
|
}
|
|
if (r3 == null) {
|
|
a1(a0[propertyName], propertyName, a0);
|
|
r9 = propertyName2;
|
|
} else {
|
|
a1.call(r3, a0[propertyName], propertyName, a0);
|
|
r9 = propertyName2;
|
|
}
|
|
}
|
|
}
|
|
return value2;
|
|
}
|
|
const TypeError = global.TypeError;
|
|
throw new TypeError('iterator must be a function');
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun16525, 1408, [1409]) /* metro module 1408, dependencies: [1409] */;
|