Files
discord-decomp/sources/by-id/module-04384.js
T
2026-07-28 01:06:53 +03:00

149 lines
5.7 KiB
JavaScript

/* Metro module 4384; source: unknown; dependencies: [4359, 4352] */
function _fun37139(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#37139, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4556:6, offset: 0x0109d0a8, size: 34 bytes, params: 8, frame: 2
const env0_0 = require;
module.exports = exports_37140;
function exports_37140(a0, a1, a2, a3) { // fn#37140, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4556:40, offset: 0x00d55cb7, size: 349 bytes, params: 5, frame: 36
var r3;
var r2;
var r1;
var r5;
var r15;
var r19;
var property;
var value5;
var property2;
var value6;
var value7;
var value8;
var property3;
var property4;
var property5;
var moduleValue;
var prototype;
var value11;
var moduleValue2;
var value13;
var value14;
var value15;
var value16;
const length = a2.length;
if (a0 == null) {
return !length;
}
const Object = global.Object;
const value = undefined;
const value2 = Object(a0);
const value3 = typeof length === 'bigint' ? length : +length;
const value4 = typeof value3 === 'bigint' ? value3 - 1n : +value3 - 1;
if (value3) {
r3 = value4;
reducibleLoop2: while (true) {
property = a2[r3];
reducibleJoin6: while (true) {
reducibleJoin4: while (true) {
if (a3) {
break reducibleJoin4;
}
if (property[2]) {
property2 = property[1];
value6 = property2 !== value2[property[0]];
r2 = value6;
break reducibleJoin6;
}
break reducibleJoin4;
}
value5 = !(property[0] in value2);
r2 = value5;
break reducibleJoin6;
}
if (r2) {
return false;
}
value7 = typeof r3 === 'bigint' ? r3 : +r3;
value8 = typeof value7 === 'bigint' ? value7 - 1n : +value7 - 1;
if (value7) {
r3 = value8;
continue reducibleLoop2;
}
r1 = value8;
break reducibleLoop2;
}
} else {
r1 = value4;
}
const value9 = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1;
if (value9 < length) {
r1 = value;
r5 = value9;
reducibleLoop9: while (true) {
property = a2[r5];
property3 = property[0];
property4 = value2[property3];
property5 = property[1];
if (!a3) {
reducibleJoin11: while (true) {
if (property[2]) {
if (value !== property4) {
r15 = r1;
} else {
reducibleJoin20: while (true) {
if (!(property3 in value2)) {
return false;
}
r15 = r1;
break reducibleJoin20;
}
}
value16 = typeof r5 === 'bigint' ? r5 + 1n : +r5 + 1;
if (!(value16 < length)) {
return true;
}
r1 = r15;
r5 = value16;
continue reducibleLoop9;
}
break reducibleJoin11;
}
}
moduleValue = require(4359) /* metro dependency 4359 */;
prototype = moduleValue.prototype;
value11 = Object.create(prototype, {constructor: {value: moduleValue}});
moduleValue2 = new moduleValue();
value13 = moduleValue2 instanceof Object ? moduleValue2 : value11;
reducibleJoin13: while (true) {
if (a3) {
value14 = a3(property4, property5, property3, value2, a1, value13);
r15 = value14;
break reducibleJoin13;
}
r15 = r1;
break reducibleJoin13;
}
reducibleJoin15: while (true) {
if (value !== r15) {
r19 = r15;
break reducibleJoin15;
}
value15 = (require(4352) /* metro dependency 4352 */)(property5, property4, 3, a3, value13);
r19 = value15;
break reducibleJoin15;
}
if (!r19) {
return false;
}
value16 = typeof r5 === 'bigint' ? r5 + 1n : +r5 + 1;
if (!(value16 < length)) {
return true;
}
r1 = r15;
r5 = value16;
continue reducibleLoop9;
}
}
return true;
}
}
global.__d(_fun37139, 4384, [4359, 4352]) /* metro module 4384, dependencies: [4359, 4352] */;