/* Metro module 3825; source: errors/V6OrEarlierAPIError.tsx; dependencies: [7, 6, 15, 17, 18, 661, 1244, 507, 2] */ import ClassCallCheck from '../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */ import CreateClass from '../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */ import PossibleConstructorReturn from '../by-id/module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */ import Module00017 from '../by-id/module-00017.js'; /* Metro dependency 17 */ import Inherits from '../by-id/module-00018-Inherits.js'; /* Metro dependency 18 */ import * as FileImportTrackerModule from '../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as HTTPUtilsModule from '../external/discord_common/js/packages/http-utils/HTTPUtils.tsx'; /* Metro dependency 507 */ import * as ConstantsModule from '../Constants.tsx'; /* Metro dependency 661 */ import * as IndexNativeModule from '../intl/index.native.tsx'; /* Metro dependency 1244 */ function _fun31066(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#31066, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3964:6, offset: 0x00ff24f9, size: 230 bytes, params: 8, frame: 19 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const V6OrEarlierAPIError = (HTTPUtilsModule).V6OrEarlierAPIError; const value = _fun31070(V6OrEarlierAPIError); (FileImportTrackerModule).fileFinishedImporting('errors/V6OrEarlierAPIError.tsx'); exports.default = value; function _isNativeReflectConstruct_31067() { // fn#31067, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3964:164, offset: 0x00ff25df, 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_31067_isNativeReflectConstruct = function() { return !!result; })(); } function _fun31070(a0) { // fn#31070, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3964:363, offset: 0x00ff263d, size: 40 bytes, params: 2, frame: 14 const APIErrorWithDefaultMessage2 = APIErrorWithDefaultMessage; Inherits(APIErrorWithDefaultMessage2, a0); return CreateClass(APIErrorWithDefaultMessage2); function APIErrorWithDefaultMessage(a0, a1) { // fn#31071, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3964:375, offset: 0x00ff2665, size: 307 bytes, params: 3, frame: 23 const intl = (IndexNativeModule).intl; const t = (IndexNativeModule).t; const value = environment.__proto__; env1_3(this, APIErrorWithDefaultMessage); const items2 = [a0, a1]; items2[2] = a1 != null ? intl.formatToPlainString(t.aKRa0Q, {statusPageURL: Links.STATUS, details: '' + a1}) : intl.formatToPlainString(t.aTVNes, {statusPageURL: Links.STATUS}); const value5 = env1_5(APIErrorWithDefaultMessage); return env1_4(this, _isNativeReflectConstruct_31067() ? global.Reflect.construct(value5, items2, env1_5(this).constructor) : value5.apply(this, items2)); } } } global.__d(_fun31066, 3825, [7, 6, 15, 17, 18, 661, 1244, 507, 2]) /* metro module 3825, dependencies: [7, 6, 15, 17, 18, 661, 1244, 507, 2] */;