145 lines
6.5 KiB
React
145 lines
6.5 KiB
React
/* Metro module 7832; source: unknown; dependencies: [6, 7, 15, 17, 18, 31, 33, 7833, 7828, 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 Module07768 from './module-07768.js'; /* Metro dependency 7768 */
|
|
import Module07828 from './module-07828.jsx'; /* Metro dependency 7828 */
|
|
import * as ReactModule from './module-00031-React.js'; /* Metro dependency 31 */
|
|
import * as JsxRuntimeModule from './module-00033-JsxRuntime.js'; /* Metro dependency 33 */
|
|
|
|
function _fun62554(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#62554, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8010:6, offset: 0x01b605a8, size: 237 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
ReactModule;
|
|
let value = Module07768;
|
|
value = _fun62558(value);
|
|
value.displayName = 'Polygon';
|
|
value.defaultProps = {points: ''};
|
|
exports.default = value;
|
|
function _isNativeReflectConstruct_62555() { // fn#62555, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8010:172, offset: 0x01b60695, 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_62555_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun62558(a0) { // fn#62558, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8010:397, offset: 0x01b606f3, size: 68 bytes, params: 2, frame: 15
|
|
const Polygon2 = Polygon;
|
|
Inherits(Polygon2, a0);
|
|
return CreateClass(Polygon2, [{key: 'render', value: value_62561}]);
|
|
function Polygon() { // fn#62559, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8010:409, offset: 0x01b60737, 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_2;
|
|
binding(this, Polygon);
|
|
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_5(Polygon);
|
|
binding = env1_4;
|
|
if (_isNativeReflectConstruct_62555()) {
|
|
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_5(this).constructor]);
|
|
} else {
|
|
r0 = value9.apply(this, value8);
|
|
}
|
|
value = binding(this, r0);
|
|
value.setNativeProps = setNativeProps_62560;
|
|
return value;
|
|
function PolygonSetNativeProps(a0) { // fn#62560, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8010:706, owner: Polygon.setNativeProps, offset: 0x01b60803, size: 116 bytes, params: 2, frame: 14
|
|
var value;
|
|
const points = a0.points;
|
|
if (points) {
|
|
value = environment.__proto__.__proto__;
|
|
value = (importDefault(7833) /* metro dependency 7833 */)(points);
|
|
a0.d = 'M' + value + 'z';
|
|
}
|
|
if (env0_0.root) {
|
|
env0_0.root.setNativeProps(a0);
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
function value_62561() { // fn#62561, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8010:847, offset: 0x01b60877, size: 142 bytes, params: 1, frame: 22
|
|
var r7;
|
|
const props = this.props;
|
|
const points = props.points;
|
|
let value = environment.__proto__;
|
|
const defaultImport = Module07828;
|
|
const Object = global.Object;
|
|
const assign = Object.assign;
|
|
const object = {};
|
|
object.ref = this.refMethod;
|
|
if (points) {
|
|
value = (importDefault(7833) /* metro dependency 7833 */)(points);
|
|
value = 'M' + value + 'z';
|
|
r7 = value;
|
|
} else {
|
|
r7 = points;
|
|
}
|
|
object.d = r7;
|
|
return ((Component) => <Component {...Reflect.apply(assign, Object, [object, props])} />)(defaultImport);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun62554, 7832, [6, 7, 15, 17, 18, 31, 33, 7833, 7828,
|
|
7768]) /* metro module 7832, dependencies: [6, 7, 15, 17, 18, 31, 33, 7833, 7828, 7768] */;
|