Files
2026-07-28 01:06:53 +03:00

75 lines
3.7 KiB
JavaScript

/* Metro module 207; source: unknown; dependencies: [6, 7, 15, 17, 18, 201] */
import ClassCallCheck from './module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
import CreateClass from './module-00007-CreateClass.js'; /* Metro dependency 7 */
import PossibleConstructorReturn from './module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
import Module00017 from './module-00017.js'; /* Metro dependency 17 */
import Inherits from './module-00018-Inherits.js'; /* Metro dependency 18 */
function _fun2922(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#2922, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:232:6, offset: 0x00c8c7f5, size: 163 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.default = _fun2926(importDefault(201) /* metro dependency 201 */);
function _isNativeReflectConstruct_2923() { // fn#2923, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:232:148, offset: 0x00c8c898, 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_2923_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun2926(a0) { // fn#2926, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:232:373, offset: 0x00c8c8f6, size: 114 bytes, params: 2, frame: 16
const ProgressEvent2 = ProgressEvent;
Inherits(ProgressEvent2, a0);
return CreateClass(ProgressEvent2, [{key: 'lengthComputable', get: function() {
return this._lengthComputable;
}}, {key: 'loaded', get: function() {
return this._loaded;
}}, {key: 'total', get: function() {
return this._total;
}}]);
function ProgressEvent(a0, a1) { // fn#2927, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:232:385, offset: 0x00c8c968, size: 232 bytes, params: 3, frame: 20
let value = environment.__proto__;
const binding = env1_0;
const value3 = undefined;
binding(this, ProgressEvent);
const items2 = [a0, a1];
const value4 = env1_3(ProgressEvent);
value = env1_2(this, _isNativeReflectConstruct_2923() ? global.Reflect.construct(value4, items2,
env1_3(this).constructor) : value4.apply(this, items2));
const Boolean = global.Boolean;
value._lengthComputable = Boolean(a1 == null ? value3 : a1.lengthComputable);
let Number = global.Number;
value._loaded = Number(a1 == null ? value3 : a1.loaded) || 0;
Number = global.Number;
value._total = Number(a1 == null ? value3 : a1.total) || 0;
return value;
}
}
}
global.__d(_fun2922, 207, [6, 7, 15, 17, 18, 201]) /* metro module 207, dependencies: [6, 7, 15, 17, 18, 201] */;