121 lines
4.9 KiB
JavaScript
121 lines
4.9 KiB
JavaScript
/* Metro module 8022; source: unknown; dependencies: [8023] */
|
|
import * as Module08023Module from './module-08023.js'; /* Metro dependency 8023 */
|
|
|
|
function _fun63700(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63700, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8200:6, offset: 0x01b8bfb1, size: 43 bytes, params: 8, frame: 2
|
|
const env0_0 = require;
|
|
module.exports = exports_63702;
|
|
function flattenStyle_63701(a0) { // fn#63701, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8200:44, offset: 0x01b8bfdc, size: 126 bytes, params: 2, frame: 22
|
|
var r3;
|
|
var r8;
|
|
var Array;
|
|
var object;
|
|
var length;
|
|
var value;
|
|
var properties;
|
|
var properties2;
|
|
var properties3;
|
|
var propertyName;
|
|
var propertyName2;
|
|
if (a0 !== null) {
|
|
if (typeof a0 === 'object') {
|
|
Array = global.Array;
|
|
if (Array.isArray(a0)) {
|
|
object = {};
|
|
length = a0.length;
|
|
value = 0;
|
|
if (value < length) {
|
|
r3 = value;
|
|
while (true) {
|
|
value = flattenStyle_63701(a0[r3]);
|
|
if (value) {
|
|
properties = Object.keys(value);
|
|
properties2 = 0;
|
|
properties3 = properties.length;
|
|
if (properties === undefined) {
|
|
break;
|
|
}
|
|
for (r8 = properties2; true; r8 = propertyName2) {
|
|
propertyName = properties[r8];
|
|
propertyName2 = r8 + 1;
|
|
if (propertyName === undefined) {
|
|
break;
|
|
}
|
|
object[propertyName] = value[propertyName];
|
|
}
|
|
}
|
|
value = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
if (value < length) {
|
|
r3 = value;
|
|
continue;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
return object;
|
|
}
|
|
return a0;
|
|
}
|
|
}
|
|
}
|
|
|
|
function exports_63702(a0) { // fn#63702, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8200:244, offset: 0x01b8c05a, size: 45 bytes, params: 2, frame: 12
|
|
const env0_0 = (Module08023Module)(a0);
|
|
return _fun63703;
|
|
function _fun63703(a0, a1, a2, a3) { // fn#63703, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8200:309, offset: 0x01b8c087, size: 180 bytes, params: 5, frame: 19
|
|
var r6;
|
|
var r1;
|
|
var object;
|
|
var value2;
|
|
var value5;
|
|
var value8;
|
|
var value9;
|
|
let value = a0;
|
|
reducibleJoin2: while (true) {
|
|
if (value[a1]) {
|
|
object = {};
|
|
value2 = environment.__proto__;
|
|
object[a1] = flattenStyle_63701(value[a1]);
|
|
r6 = object;
|
|
break reducibleJoin2;
|
|
}
|
|
r6 = value;
|
|
break reducibleJoin2;
|
|
}
|
|
value = arguments.length;
|
|
const Array = global.Array;
|
|
const value3 = 4;
|
|
reducibleJoin4: while (true) {
|
|
if (value > value3) {
|
|
value5 = value - value3;
|
|
r1 = value5;
|
|
break reducibleJoin4;
|
|
}
|
|
r1 = 0;
|
|
break reducibleJoin4;
|
|
}
|
|
const array = new Array();
|
|
if (value3 < value) {
|
|
r1 = value3;
|
|
reducibleLoop5: while (true) {
|
|
value8 = r1 - value3;
|
|
array[value8] = arguments[r1];
|
|
value9 = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1;
|
|
if (value9 < value) {
|
|
r1 = value9;
|
|
continue reducibleLoop5;
|
|
}
|
|
break reducibleLoop5;
|
|
}
|
|
}
|
|
const binding = env0_0;
|
|
const apply = binding.apply;
|
|
object = [r6, a1, a2, a3];
|
|
return Reflect.apply(apply, binding, [undefined, object.concat(array)]);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun63700, 8022, [8023]) /* metro module 8022, dependencies: [8023] */;
|