Files
discord-decomp/sources/by-id/module-00149.js
T
2026-07-28 01:06:53 +03:00

64 lines
3.2 KiB
JavaScript

/* Metro module 149; source: unknown; dependencies: [6, 7, 15, 17, 18, 134, 148] */
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 _fun2369(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#2369, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:174:6, offset: 0x00c7f114, size: 171 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.default = _fun2373(importDefault(148) /* metro dependency 148 */);
function _isNativeReflectConstruct_2370() { // fn#2370, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:174:148, offset: 0x00c7f1bf, 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_2370_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun2373(a0) { // fn#2373, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:174:373, offset: 0x00c7f21d, size: 91 bytes, params: 2, frame: 16
const ReadOnlyText2 = ReadOnlyText;
Inherits(ReadOnlyText2, a0);
return CreateClass(ReadOnlyText2, [{key: 'nodeName', get: function() {
return '#text';
}}, {key: 'nodeType', get: function() {
return importDefault(dependencyMap[5]).TEXT_NODE;
}}]);
function ReadOnlyText() { // fn#2374, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:174:385, offset: 0x00c7f278, size: 113 bytes, params: 1, frame: 20
const value = environment.__proto__;
env1_2(this, ReadOnlyText);
const value3 = env1_5(ReadOnlyText);
return env1_4(this, _isNativeReflectConstruct_2370() ? global.Reflect.construct(value3, arguments,
env1_5(this).constructor) : value3.apply(this, arguments));
}
}
}
global.__d(_fun2369, 149, [6, 7, 15, 17, 18, 134,
148]) /* metro module 149, dependencies: [6, 7, 15, 17, 18, 134, 148] */;