45 lines
1.5 KiB
JavaScript
45 lines
1.5 KiB
JavaScript
/* Metro module 4381; source: unknown; dependencies: [] */
|
|
function _fun37132(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#37132, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4553:6, offset: 0x0109cfdc, size: 20 bytes, params: 8, frame: 2
|
|
module.exports = function(a0, a1) {
|
|
var r4;
|
|
var r1;
|
|
var r2;
|
|
var r7;
|
|
var property;
|
|
var value2;
|
|
var value = 0;
|
|
if (a0 == null) {
|
|
r4 = value;
|
|
} else {
|
|
property = a0.length;
|
|
r4 = property;
|
|
}
|
|
var items = [];
|
|
if (value < r4) {
|
|
r1 = value;
|
|
r2 = value;
|
|
while (true) {
|
|
property = a0[r2];
|
|
if (a1(property, r2, a0)) {
|
|
value = typeof r1 === 'bigint' ? r1 : +r1;
|
|
value2 = typeof value === 'bigint' ? value + 1n : +value + 1;
|
|
items[value] = property;
|
|
r7 = value2;
|
|
} else {
|
|
r7 = r1;
|
|
}
|
|
value = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
|
|
if (value < r4) {
|
|
r1 = r7;
|
|
r2 = value;
|
|
continue;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
return items;
|
|
};
|
|
}
|
|
|
|
global.__d(_fun37132, 4381, []) /* metro module 4381 */;
|