/* Metro module 4138; source: errors/ClientOutdatedAcceptGiftError.tsx; dependencies: [7, 6, 15, 17, 18, 162, 661, 2] */ function _fun34348(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#34348, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4309:6, offset: 0x01053af8, size: 227 bytes, params: 8, frame: 20 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_0 = importDefault(7) /* metro dependency 7 */; const env0_1 = importDefault(6) /* metro dependency 6 */; const env0_2 = importDefault(15) /* metro dependency 15 */; const env0_3 = importDefault(17) /* metro dependency 17 */; const env0_4 = importDefault(18) /* metro dependency 18 */; let value = importDefault(162) /* metro dependency 162 */; const env0_5 = (require(661) /* metro dependency 661: Constants */).AbortCodes; const Error = global.Error; value = value(Error); value = _fun34352(value); (require(2) /* metro dependency 2 */).fileFinishedImporting('errors/ClientOutdatedAcceptGiftError.tsx'); exports.default = value; } function _isNativeReflectConstruct_34349() { // fn#34349, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4309:179, offset: 0x01053bdb, 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_34349_isNativeReflectConstruct = function() { return !!result; })(); } function _fun34352(a0) { // fn#34352, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4309:378, offset: 0x01053c39, size: 40 bytes, params: 2, frame: 14 const closure = ClientOutdatedAcceptGiftError; env0_4(closure, a0); return env0_0(closure); } function ClientOutdatedAcceptGiftError(a0) { // fn#34353, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4309:390, offset: 0x01053c61, size: 142 bytes, params: 2, frame: 20 var r0; var Reflect; let value = copyRestArgs(0, undefined); let binding = env1_1; binding(this, ClientOutdatedAcceptGiftError); const items2 = []; arraySpread(items2, value, 0, items2); value = env1_3(ClientOutdatedAcceptGiftError); binding = env1_2; if (_isNativeReflectConstruct_34349()) { Reflect = global.Reflect; value = Reflect.construct(value, items2, env1_3(this).constructor); r0 = value; } else { value = value.apply(this, items2); r0 = value; } value = binding(this, r0); const INVALID_GIFT_REDEMPTION_CLIENT_UPDATE_REQUIRED = AbortCodes.INVALID_GIFT_REDEMPTION_CLIENT_UPDATE_REQUIRED; value.code = INVALID_GIFT_REDEMPTION_CLIENT_UPDATE_REQUIRED; return value; }