63 lines
2.8 KiB
React
63 lines
2.8 KiB
React
/* Metro module 6436; source: unknown; dependencies: [6375, 6374, 6396, 6398, 6401, 6437] */
|
|
function _fun50517(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#50517, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6614:6, offset: 0x0121bf4c, size: 174 bytes, params: 8, frame: 19
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_0 = importDefault(6375) /* metro dependency 6375 */;
|
|
const env0_1 = importDefault(6374) /* metro dependency 6374 */;
|
|
const env0_2 = importDefault(6396) /* metro dependency 6396 */;
|
|
const env0_3 = importDefault(6398) /* metro dependency 6398 */;
|
|
const env0_4 = importDefault(6401) /* metro dependency 6401 */;
|
|
let value = importDefault(6437) /* metro dependency 6437 */;
|
|
const Error = global.Error;
|
|
value = value(Error);
|
|
exports.default = _fun50521(value);
|
|
}
|
|
|
|
function _isNativeReflectConstruct_50518() { // fn#50518, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6614:148, offset: 0x0121bffa, size: 94 bytes, params: 1, frame: 18
|
|
var Boolean;
|
|
var prototype;
|
|
var valueOf;
|
|
var call;
|
|
var Reflect;
|
|
var construct;
|
|
var closure;
|
|
var value;
|
|
var error;
|
|
try {
|
|
Boolean = global.Boolean;
|
|
prototype = Boolean.prototype;
|
|
valueOf = prototype.valueOf;
|
|
call = valueOf.call;
|
|
Reflect = global.Reflect;
|
|
construct = Reflect.construct;
|
|
Boolean = global.Boolean;
|
|
closure = function() {
|
|
};
|
|
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
|
|
value = Reflect.apply(call, valueOf, [value]);
|
|
var result = !value;
|
|
} catch (error) {
|
|
}
|
|
return (_isNativeReflectConstruct_50518_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun50521(a0) { // fn#50521, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6614:373, offset: 0x0121c058, size: 40 bytes, params: 2, frame: 14
|
|
const closure = CustomError;
|
|
env0_4(closure, a0);
|
|
return env0_0(closure);
|
|
}
|
|
|
|
function CustomError(a0) { // fn#50522, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6614:385, offset: 0x0121c080, size: 164 bytes, params: 2, frame: 21
|
|
let value = environment.__proto__;
|
|
env1_1(this, CustomError);
|
|
const items2 = ['' + a0.type + ': ' + a0.message];
|
|
const value4 = env1_3(CustomError);
|
|
value = env1_2(this, _isNativeReflectConstruct_50518() ? global.Reflect.construct(value4, items2,
|
|
env1_3(this).constructor) : value4.apply(this, items2));
|
|
value.name = a0.type;
|
|
return value;
|
|
}
|
|
|