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

166 lines
7.5 KiB
React

/* Metro module 7758; source: unknown; dependencies: [6, 7, 15, 17, 18, 31, 33, 7752, 7759, 7766, 7767, 7768] */
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 Module07759 from './module-07759.js'; /* Metro dependency 7759 */
import Module07768 from './module-07768.js'; /* Metro dependency 7768 */
import * as ReactModule from './module-00031-React.js'; /* Metro dependency 31 */
import * as JsxRuntimeModule from './module-00033-JsxRuntime.js'; /* Metro dependency 33 */
import * as Module07759Module from './module-07759.js'; /* Metro dependency 7759 */
import * as Module07766Module from './module-07766.jsx'; /* Metro dependency 7766 */
function _fun62116(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#62116, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7936:6, offset: 0x01b5780f, size: 233 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
ReactModule;
let value = Module07768;
value = _fun62120(value);
value.displayName = 'G';
const hasProps = function(a0) {
var properties = Object.keys(a0);
var properties2 = 0;
var properties3 = properties.length;
if (properties === undefined) {
return false;
}
var propertyName = properties[properties2];
if (properties2 + 1 === undefined) {
return false;
}
return true;
};
exports.default = value;
function _isNativeReflectConstruct_62117() { // fn#62117, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7936:172, offset: 0x01b578f8, 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_62117_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun62120(a0) { // fn#62120, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7936:397, offset: 0x01b57956, size: 68 bytes, params: 2, frame: 15
const G_621212 = G_62121;
Inherits(G_621212, a0);
return CreateClass(G_621212, [{key: 'render', value: value_62123}]);
function G_62121() { // fn#62121, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7936:409, offset: 0x01b5799a, size: 204 bytes, params: 1, frame: 21
var environment;
var r2;
var r6;
var r0;
var value7;
var Reflect;
var construct;
let value = environment.__proto__;
let binding = env1_3;
binding(this, G_62121);
const length = arguments.length;
const Array = global.Array;
const array = new Array(length);
const value6 = 0;
if (value6 < length) {
r2 = value6;
reducibleLoop1: while (true) {
array[r2] = arguments[r2];
value7 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
if (value7 < length) {
r2 = value7;
continue reducibleLoop1;
}
break reducibleLoop1;
}
}
const value8 = [].concat(array);
const value9 = env1_6(G_62121);
binding = env1_5;
if (_isNativeReflectConstruct_62117()) {
Reflect = global.Reflect;
construct = Reflect.construct;
reducibleJoin6: while (true) {
if (value8) {
r6 = value8;
break reducibleJoin6;
}
r6 = [];
break reducibleJoin6;
}
r0 = Reflect.apply(construct, Reflect, [value9, r6, env1_6(this).constructor]);
} else {
r0 = value9.apply(this, value8);
}
value = binding(this, r0);
value.setNativeProps = setNativeProps_62122;
return value;
function G_62121SetNativeProps(a0) { // fn#62122, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7936:688, owner: G_62121.setNativeProps, offset: 0x01b57a66, size: 88 bytes, params: 2, frame: 13
var r0;
const matrix = a0.matrix;
let value = !matrix;
if (matrix) {
r0 = value;
} else {
value = environment.__proto__.__proto__;
value = (importDefault(7752) /* metro dependency 7752 */)(a0);
r0 = value;
}
if (r0) {
a0.matrix = r0;
}
const root = env0_0.root;
if (root != null) {
root.setNativeProps(a0);
}
}
}
function value_62123() { // fn#62123, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7936:826, offset: 0x01b57abe, size: 184 bytes, params: 1, frame: 20
var environment;
const props = this.props;
let value = environment.__proto__;
const value2 = (Module07759Module).propsAndStyles(props);
const value3 = (Module07759)(value2, this);
const value4 = (Module07766Module).extractFont(value2);
if (hasProps(value4)) {
value3.font = value4;
}
value = importDefault(7767) /* metro dependency 7767 */;
const Object = global.Object;
return ((Component) => <Component {...Object.assign({ref: ref_62124}, value3,
{children: props.children})} />)(value);
function value_62123Ref(a0) { // fn#62124, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7936:993, owner: value_62123.ref, offset: 0x01b51c54, size: 23 bytes, params: 2, frame: 11
return env0_0.refMethod(a0);
}
}
}
}
global.__d(_fun62116, 7758, [6, 7, 15, 17, 18, 31, 33, 7752, 7759, 7766, 7767,
7768]) /* metro module 7758, dependencies: [6, 7, 15, 17, 18, 31, 33, 7752, 7759, 7766, 7767, 7768] */;