71 lines
3.6 KiB
TypeScript
71 lines
3.6 KiB
TypeScript
/* Metro module 11545; source: modules/errors/UploaderError.tsx; dependencies: [7, 6, 15, 17, 18, 4132, 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 APIError from '../../errors/APIError.tsx'; /* Metro dependency 4132 */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun88493(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#88493, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11731:6, offset: 0x01fe592d, size: 198 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = APIError;
|
|
value = _fun88497(value);
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/errors/UploaderError.tsx');
|
|
exports.default = value;
|
|
function _isNativeReflectConstruct_88494() { // fn#88494, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11731:148, offset: 0x01fe59f3, size: 98 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_88494_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun88497(a0) { // fn#88497, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11731:347, offset: 0x01fe5a55, size: 42 bytes, params: 2, frame: 14
|
|
const UploaderError2 = UploaderError;
|
|
Inherits(UploaderError2, a0);
|
|
return CreateClass(UploaderError2);
|
|
function UploaderError(a0, a1) { // fn#88498, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11731:359, offset: 0x01fe5a7f, size: 181 bytes, params: 3, frame: 20
|
|
let value = environment.__proto__;
|
|
env1_1(this, UploaderError);
|
|
const items2 = [a0, a1];
|
|
const value3 = env1_3(UploaderError);
|
|
value = env1_2(this, _isNativeReflectConstruct_88494() ? global.Reflect.construct(value3, items2,
|
|
env1_3(this).constructor) : value3.apply(this, items2));
|
|
value.attachments = [];
|
|
if (a0.body != null && a0.body.attachments != null) {
|
|
value.attachments = a0.body.attachments;
|
|
}
|
|
return value;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun88493, 11545, [7, 6, 15, 17, 18, 4132,
|
|
2]) /* metro module 11545, dependencies: [7, 6, 15, 17, 18, 4132, 2] */;
|