96 lines
3.9 KiB
React
96 lines
3.9 KiB
React
/* Metro module 5371; source: unknown; dependencies: [6, 7, 15, 17, 18, 31, 5325, 5328] */
|
|
function _fun47353(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#47353, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5549:6, offset: 0x011bffdd, size: 269 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const value = undefined;
|
|
const env0_2 = importDefault(6) /* metro dependency 6 */;
|
|
const env0_3 = importDefault(7) /* metro dependency 7 */;
|
|
const env0_4 = importDefault(15) /* metro dependency 15 */;
|
|
const env0_5 = importDefault(17) /* metro dependency 17 */;
|
|
const env0_6 = importDefault(18) /* metro dependency 18 */;
|
|
const Component = (importDefault(31) /* metro dependency 31 */).Component;
|
|
const value3 = _fun47357(Component);
|
|
const Reanimated = (require(5328) /* metro dependency 5328 */).Reanimated;
|
|
const r1 = (Reanimated == null || Reanimated.default == null ? value : Reanimated.default.createAnimatedComponent(value3)) ?? value3;
|
|
exports.Wrap = value3;
|
|
exports.AnimatedWrap = r1;
|
|
return value;
|
|
}
|
|
|
|
function _isNativeReflectConstruct_47354() { // fn#47354, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5549:166, offset: 0x011c00ea, 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_47354_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun47357(a0) { // fn#47357, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5549:391, offset: 0x011c0148, size: 68 bytes, params: 2, frame: 15
|
|
const closure = Wrap;
|
|
env0_6(closure, a0);
|
|
return env0_3(closure, [{key: 'render', value: value_47359}]);
|
|
}
|
|
|
|
function value_47359() { // fn#47359, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5549:637, offset: 0x011c018c, size: 145 bytes, params: 1, frame: 15
|
|
var value;
|
|
var binding;
|
|
var Children;
|
|
var only;
|
|
var props;
|
|
var children;
|
|
var value2;
|
|
var cloneElement;
|
|
var value3;
|
|
var error;
|
|
var Error;
|
|
var prototype;
|
|
var value4;
|
|
try {
|
|
value = environment.__proto__;
|
|
binding = env1_7;
|
|
Children = binding.Children;
|
|
only = Children.only;
|
|
props = this.props;
|
|
children = props.children;
|
|
value2 = Reflect.apply(only, Children, [children]);
|
|
cloneElement = binding.cloneElement;
|
|
props = value2.props;
|
|
children = props.children;
|
|
value3 = Reflect.apply(cloneElement, binding, [value2, {collapsable: false}, children]);
|
|
} catch (error) {
|
|
Error = global.Error;
|
|
value = require(5325) /* metro dependency 5325 */;
|
|
value = value.tagMessage('GestureDetector got more than one view as a child. If you want the gesture to work on multiple views, wrap them with a common parent and attach the gesture to that view.');
|
|
prototype = Error.prototype;
|
|
value4 = Object.create(prototype, {constructor: {value: Error}});
|
|
error = new Error();
|
|
value = error instanceof Object ? error : value4;
|
|
throw value;
|
|
}
|
|
return value3;
|
|
}
|
|
|