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

120 lines
4.5 KiB
JavaScript

/* Metro module 4172; source: unknown; dependencies: [1412, 1413, 4173] */
import * as Module04173Module from './module-04173.js'; /* Metro dependency 4173 */
function _fun34442(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#34442, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4343:6, offset: 0x01056301, size: 169 bytes, params: 8, frame: 16
const env0_0 = require;
const Symbol = global.Symbol;
let value = typeof Symbol === 'function';
if (value) {
value = global.Symbol('foo');
value = typeof value === 'symbol';
}
const Object = global.Object;
const env0_3 = Object.prototype.toString;
const Array = global.Array;
const env0_4 = Array.prototype.concat;
value = (require(1412) /* metro dependency 1412 */)();
const exports_344442 = exports_34444;
exports_344442.supportsDescriptors = !!value;
module.exports = exports_344442;
function defineProperty(a0, a1, a2, a3) { // fn#34443, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4343:175, offset: 0x010563aa, size: 152 bytes, params: 5, frame: 18
var r0;
var value;
var binding;
if (a1 in a0) {
if (a3 === true) {
if (a0[a1] === a2) {
return undefined;
}
binding = env0_5;
value = require(1413) /* metro dependency 1413 */;
if (binding) {
value(a0, a1, a2, true);
} else {
value(a0, a1, a2);
}
return undefined;
}
value = typeof a3 === 'function';
if (value) {
value = toString.call(a3);
value = value === '[object Function]';
r0 = value;
} else {
r0 = value;
}
if (r0) {
if (a3()) {
binding = env0_5;
value = require(1413) /* metro dependency 1413 */;
if (binding) {
value(a0, a1, a2, true);
} else {
value(a0, a1, a2);
}
return undefined;
}
return undefined;
}
} else {
binding = env0_5;
value = require(1413) /* metro dependency 1413 */;
if (binding) {
value(a0, a1, a2, true);
} else {
value(a0, a1, a2);
}
}
}
function exports_34444(a0, a1) { // fn#34444, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4343:395, offset: 0x01056442, size: 162 bytes, params: 3, frame: 23
var r4;
var r3;
var concatBinding;
var call;
var Object;
var getOwnPropertySymbols;
var value3;
var definePropertyBinding;
var property;
var property2;
var value5;
const r6 = arguments.length > 2 ? arguments[2] : {};
const value2 = (Module04173Module)(a1);
reducibleJoin5: while (true) {
if (env0_2) {
concatBinding = concat;
call = concatBinding.call;
Object = global.Object;
getOwnPropertySymbols = Object.getOwnPropertySymbols;
value3 = Reflect.apply(call, concatBinding, [value2, Reflect.apply(getOwnPropertySymbols, Object, [a1])]);
r4 = value3;
break reducibleJoin5;
}
r4 = value2;
break reducibleJoin5;
}
let length = r4.length;
const value4 = 0;
if (value4 < length) {
r3 = value4;
reducibleLoop6: while (true) {
definePropertyBinding = defineProperty;
property = r4[r3];
property2 = a1[r4[r3]];
definePropertyBinding(a0, property, property2, r6[r4[r3]]);
value5 = r3 + 1;
length = r4.length;
if (value5 < length) {
r3 = value5;
continue reducibleLoop6;
}
break reducibleLoop6;
}
}
}
}
global.__d(_fun34442, 4172, [1412, 1413, 4173]) /* metro module 4172, dependencies: [1412, 1413, 4173] */;