Files
discord-decomp/sources/by-id/module-04435.jsx
T
2026-07-27 16:20:00 +03:00

84 lines
3.6 KiB
React

/* Metro module 4435; source: unknown; dependencies: [4436, 4437, 4438, 4439, 4440] */
function _fun37902(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#37902, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4613:6, offset: 0x010b2fd9, size: 34 bytes, params: 8, frame: 2
const env0_0 = require;
module.exports = exports_37903;
}
function exports_37903(a0, a1, a2) { // fn#37903, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4613:40, offset: 0x010b2ffb, size: 448 bytes, params: 4, frame: 15
var value;
var value2;
let constructor = a0.constructor;
if (a1 === '[object ArrayBuffer]') {
return (require(4436) /* metro dependency 4436 */)(a0);
}
if (a1 === '[object Boolean]') {
value = Number(a0);
value2 = Object.create(constructor.prototype, {constructor: {value: constructor}});
constructor = new constructor();
return constructor instanceof Object ? constructor : value2;
}
if (a1 === '[object Date]') {
value = Number(a0);
value2 = Object.create(constructor.prototype, {constructor: {value: constructor}});
constructor = new constructor();
return constructor instanceof Object ? constructor : value2;
}
if (a1 === '[object DataView]') {
return (require(4437) /* metro dependency 4437 */)(a0, a2);
}
if (a1 === '[object Float32Array]') {
return (require(4438) /* metro dependency 4438 */)(a0, a2);
}
if (a1 === '[object Float64Array]') {
return (require(4438) /* metro dependency 4438 */)(a0, a2);
}
if (a1 === '[object Int8Array]') {
return (require(4438) /* metro dependency 4438 */)(a0, a2);
}
if (a1 === '[object Int16Array]') {
return (require(4438) /* metro dependency 4438 */)(a0, a2);
}
if (a1 === '[object Int32Array]') {
return (require(4438) /* metro dependency 4438 */)(a0, a2);
}
if (a1 === '[object Uint8Array]') {
return (require(4438) /* metro dependency 4438 */)(a0, a2);
}
if (a1 === '[object Uint8ClampedArray]') {
return (require(4438) /* metro dependency 4438 */)(a0, a2);
}
if (a1 === '[object Uint16Array]') {
return (require(4438) /* metro dependency 4438 */)(a0, a2);
}
if (a1 === '[object Uint32Array]') {
return (require(4438) /* metro dependency 4438 */)(a0, a2);
}
if (a1 === '[object Map]') {
value = Object.create(constructor.prototype, {constructor: {value: constructor}});
constructor = new constructor();
return constructor instanceof Object ? constructor : value;
}
if (a1 === '[object Set]') {
value = Object.create(constructor.prototype, {constructor: {value: constructor}});
constructor = new constructor();
return constructor instanceof Object ? constructor : value;
}
if (a1 === '[object Number]') {
value = Object.create(constructor.prototype, {constructor: {value: constructor}});
constructor = new constructor(a0);
return constructor instanceof Object ? constructor : value;
}
if (a1 === '[object String]') {
value = Object.create(constructor.prototype, {constructor: {value: constructor}});
constructor = new constructor(a0);
return constructor instanceof Object ? constructor : value;
}
if (a1 === '[object RegExp]') {
return (require(4439) /* metro dependency 4439 */)(a0);
}
if (a1 === '[object Symbol]') {
return (require(4440) /* metro dependency 4440 */)(a0);
}
}