75 lines
3.8 KiB
JavaScript
75 lines
3.8 KiB
JavaScript
/* Metro module 222; source: unknown; dependencies: [6, 7, 15, 17, 18, 44, 197] */
|
|
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 */
|
|
import * as Module00044Module from './module-00044.js'; /* Metro dependency 44 */
|
|
|
|
function _fun3073(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#3073, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:247:6, offset: 0x00c9073c, size: 174 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.default = _fun3077(importDefault(197) /* metro dependency 197 */);
|
|
function _isNativeReflectConstruct_3074() { // fn#3074, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:247:148, offset: 0x00c907ea, 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_3074_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun3077(a0) { // fn#3077, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:247:373, offset: 0x00c90848, size: 91 bytes, params: 2, frame: 16
|
|
const File2 = File;
|
|
Inherits(File2, a0);
|
|
return CreateClass(File2, [{key: 'name', get: get_3079}, {key: 'lastModified', get: function() {
|
|
return this.data.lastModified || 0;
|
|
}}]);
|
|
function File(a0, a1, a2) { // fn#3078, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:247:385, offset: 0x00c908a3, size: 185 bytes, params: 4, frame: 20
|
|
let value = environment.__proto__;
|
|
env1_2(this, File);
|
|
(require(44) /* metro dependency 44 */)(a0 != null && a1 != null,
|
|
'Failed to construct `File`: Must pass both `parts` and `name` arguments.');
|
|
const items2 = [a0, a2];
|
|
const value5 = env1_5(File);
|
|
value = env1_4(this, _isNativeReflectConstruct_3074() ? global.Reflect.construct(value5, items2,
|
|
env1_5(this).constructor) : value5.apply(this, items2));
|
|
value.data.name = a1;
|
|
return value;
|
|
}
|
|
|
|
function get_3079() { // fn#3079, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:247:741, offset: 0x00c9095c, size: 68 bytes, params: 1, frame: 14
|
|
const value = environment.__proto__;
|
|
(Module00044Module)(this.data.name != null, 'Files must have a name set.');
|
|
return this.data.name;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun3073, 222, [6, 7, 15, 17, 18, 44,
|
|
197]) /* metro module 222, dependencies: [6, 7, 15, 17, 18, 44, 197] */;
|