76 lines
3.3 KiB
React
76 lines
3.3 KiB
React
/* Metro module 127; source: unknown; dependencies: [6, 7, 15, 17, 18, 128, 129] */
|
|
function _fun2112(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#2112, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:152:6, offset: 0x00c79edf, size: 206 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_0 = importDefault(6) /* metro dependency 6 */;
|
|
const env0_1 = importDefault(7) /* metro dependency 7 */;
|
|
const env0_2 = importDefault(15) /* metro dependency 15 */;
|
|
const env0_3 = importDefault(17) /* metro dependency 17 */;
|
|
const env0_4 = importDefault(18) /* metro dependency 18 */;
|
|
let value = importDefault(128) /* metro dependency 128 */;
|
|
value = _fun2116(value);
|
|
const value2 = require(129) /* metro dependency 129 */;
|
|
value2.setPlatformObject(value, {clone: clone});
|
|
exports.default = value;
|
|
}
|
|
|
|
function _isNativeReflectConstruct_2113() { // fn#2113, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:152:148, offset: 0x00c79fad, 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_2113_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun2116(a0) { // fn#2116, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:152:373, offset: 0x00c7a00b, size: 203 bytes, params: 2, frame: 17
|
|
const closure = DOMRect;
|
|
env0_4(closure, a0);
|
|
return env0_1(closure, [{key: 'x', get: function() {
|
|
return this.__getInternalX();
|
|
}, set: function(a0) {
|
|
this.__setInternalX(a0);
|
|
}}, {key: 'y', get: function() {
|
|
return this.__getInternalY();
|
|
}, set: function(a0) {
|
|
this.__setInternalY(a0);
|
|
}}, {key: 'width', get: function() {
|
|
return this.__getInternalWidth();
|
|
}, set: function(a0) {
|
|
this.__setInternalWidth(a0);
|
|
}}, {key: 'height', get: function() {
|
|
return this.__getInternalHeight();
|
|
}, set: function(a0) {
|
|
this.__setInternalHeight(a0);
|
|
}}], [{key: 'fromRect', value: value_2126}]);
|
|
}
|
|
|
|
function clone({x, y, width, height}) { // fn#2127, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:152:1206, offset: 0x00c7a224, size: 52 bytes, params: 2, frame: 17
|
|
const binding = env0_5;
|
|
const value = Object.create(binding.prototype, {constructor: {value: binding}});
|
|
const binding2 = new binding(x, y, width, height);
|
|
return binding2 instanceof Object ? binding2 : value;
|
|
}
|
|
|