149 lines
5.0 KiB
React
149 lines
5.0 KiB
React
/* Metro module 5440; source: unknown; dependencies: [5438] */
|
|
function _fun47934(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#47934, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5618:6, offset: 0x011d3f51, size: 61 bytes, params: 8, frame: 2
|
|
let env0_0 = require;
|
|
const link = function(a0, a1) {
|
|
var env0_0 = a0;
|
|
var env0_1 = a1;
|
|
return _fun47937;
|
|
};
|
|
module.exports = function(a0) {
|
|
var r2;
|
|
var property2;
|
|
var value5;
|
|
var value2 = deriveBFS(a0);
|
|
var object = {};
|
|
var property = global.Object;
|
|
var value3 = property.keys(value2);
|
|
property = value3.length;
|
|
var value4 = 0;
|
|
if (value4 < property) {
|
|
r2 = value4;
|
|
while (true) {
|
|
property2 = value3[r2];
|
|
if (value2[property2].parent !== null) {
|
|
object[property2] = wrapConversion(property2, value2);
|
|
}
|
|
value5 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
|
|
if (value5 < property) {
|
|
r2 = value5;
|
|
continue;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
return object;
|
|
};
|
|
}
|
|
|
|
function deriveBFS(a0) { // fn#47935, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5618:31, offset: 0x011d3f8e, size: 274 bytes, params: 2, frame: 25
|
|
var r2;
|
|
var r1;
|
|
var property;
|
|
var value4;
|
|
var value5;
|
|
var value6;
|
|
var property2;
|
|
var distance;
|
|
var value7;
|
|
const object2 = {};
|
|
let Object = global.Object;
|
|
const value2 = 0;
|
|
const value3 = Object.keys(require(dependencyMap[value2]));
|
|
let length = value3.length;
|
|
if (value2 < length) {
|
|
for (r2 = value2; true; r2 = value4) {
|
|
property = value3[r2];
|
|
object2[property] = {'distance': -1, 'parent': null};
|
|
value4 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
|
|
if (!(value4 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
const items2 = [a0];
|
|
object2[a0].distance = value2;
|
|
length = items2.length;
|
|
if (length) {
|
|
while (true) {
|
|
value5 = items2.pop();
|
|
Object = global.Object;
|
|
value6 = Object.keys(require(dependencyMap[value2])[value5]);
|
|
length = value6.length;
|
|
if (value2 < length) {
|
|
r1 = value2;
|
|
while (true) {
|
|
property = value6[r1];
|
|
property2 = object2[property];
|
|
distance = property2.distance;
|
|
if (distance === -1) {
|
|
distance = object2[value5].distance;
|
|
property2.distance = distance + 1;
|
|
property2.parent = value5;
|
|
items2.unshift(property);
|
|
}
|
|
value7 = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1;
|
|
if (value7 < length) {
|
|
r1 = value7;
|
|
continue;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
length = items2.length;
|
|
if (length) {
|
|
continue;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
return object2;
|
|
}
|
|
|
|
function link(a0, a1) { // fn#47936, offset: 0x011d40a0, size: 23 bytes, params: 3, frame: 2
|
|
const env0_0 = a0;
|
|
const env0_1 = a1;
|
|
return _fun47937;
|
|
}
|
|
|
|
function wrapConversion(a0, a1) { // fn#47938, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5618:441, offset: 0x011d40d3, size: 188 bytes, params: 3, frame: 20
|
|
var r3;
|
|
var r0;
|
|
var unshift;
|
|
var parent3;
|
|
var linkBinding;
|
|
var moduleValue2;
|
|
var parent4;
|
|
var value2;
|
|
var parent5;
|
|
let parent = a1[a0].parent;
|
|
const items2 = [parent, a0];
|
|
const property = (require(5438) /* metro dependency 5438 */)[a1[a0].parent][a0];
|
|
parent = a1[a0].parent;
|
|
if (a1[parent].parent) {
|
|
for (r3 = property; true; r3 = value2) {
|
|
unshift = items2.unshift;
|
|
parent3 = a1[parent].parent;
|
|
Reflect.apply(unshift, items2, [parent3]);
|
|
linkBinding = link;
|
|
moduleValue2 = require(5438) /* metro dependency 5438 */;
|
|
parent4 = a1[parent].parent;
|
|
value2 = linkBinding(moduleValue2[parent4][parent], r3);
|
|
parent = a1[parent].parent;
|
|
parent5 = a1[parent].parent;
|
|
if (!parent5) {
|
|
r0 = value2;
|
|
break;
|
|
}
|
|
}
|
|
} else {
|
|
r0 = property;
|
|
}
|
|
r0.conversion = items2;
|
|
return r0;
|
|
}
|
|
|
|
function _fun47937(a0) { // fn#47937, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5618:413, offset: 0x011d40b7, size: 28 bytes, params: 2, frame: 12
|
|
return require(env0_0(a0));
|
|
}
|
|
|