/* Metro module 409; source: unknown; dependencies: [29, 6, 7, 15, 17, 18, 31, 33, 410] */ function _fun5809(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#5809, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:450:6, offset: 0x00ce6349, size: 238 bytes, params: 8, frame: 19 const env0_0 = require; const env0_3 = ['tintColor', 'titleColor', 'title']; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_4 = importDefault(29) /* metro dependency 29 */; const env0_5 = importDefault(6) /* metro dependency 6 */; const env0_6 = importDefault(7) /* metro dependency 7 */; const env0_7 = importDefault(15) /* metro dependency 15 */; const env0_8 = importDefault(17) /* metro dependency 17 */; const env0_9 = importDefault(18) /* metro dependency 18 */; const value = importAll(31) /* metro dependency 31 */; const env0_10 = (require(33) /* metro dependency 33 */).jsx; const Component = value.Component; exports.default = _fun5813(Component); } function _isNativeReflectConstruct_5810() { // fn#5810, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:450:223, offset: 0x00ce6437, 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_5810_isNativeReflectConstruct = function() { return !!result; })(); } function _fun5813(a0) { // fn#5813, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:450:448, offset: 0x00ce6495, size: 114 bytes, params: 2, frame: 16 const closure = RefreshControl; env0_9(closure, a0); return env0_6(closure, [{key: 'componentDidMount', value: function() { this._lastNativeRefreshing = this.props.refreshing; }}, {key: 'componentDidUpdate', value: value_5818}, {key: 'render', value: value_5819}]); } function RefreshControl() { // fn#5814, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:450:460, offset: 0x00ce6507, size: 223 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_5; binding(this, RefreshControl); 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_8(RefreshControl); binding = env1_7; if (_isNativeReflectConstruct_5810()) { 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_8(this).constructor]); } else { r0 = value9.apply(this, value8); } value = binding(this, r0); value._lastNativeRefreshing = false; value._onRefresh = _onRefresh; value._setNativeRef = _setNativeRef; return value; } function value_5818({refreshing}) { // fn#5818, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:450:1129, offset: 0x00ce6658, size: 160 bytes, params: 2, frame: 14 var value; var _nativeRef; var Commands; var setNativeRefreshing; let props = this.props; let refreshing = props.refreshing; if (refreshing !== refreshing) { this._lastNativeRefreshing = this.props.refreshing; } else { props = this.props; refreshing = props.refreshing; value = refreshing !== this._lastNativeRefreshing; if (value && this._nativeRef) { value = environment.__proto__; Commands = (require(410) /* metro dependency 410 */).Commands; setNativeRefreshing = Commands.setNativeRefreshing; _nativeRef = this._nativeRef; props = this.props; refreshing = props.refreshing; Reflect.apply(setNativeRefreshing, Commands, [_nativeRef, refreshing]); props = this.props; refreshing = props.refreshing; this._lastNativeRefreshing = refreshing; } } } function value_5819() { // fn#5819, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:450:1464, offset: 0x00ce66f8, size: 121 bytes, params: 1, frame: 19 const props = this.props; props.tintColor; props.titleColor; props.title; let value = environment.__proto__; const value2 = env1_4(props, env1_3); value = importDefault(410) /* metro dependency 410 */; const Object = global.Object; return ((Component) => )(value); } function _onRefresh() { // fn#5815, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:450:801, owner: RefreshControl._onRefresh, offset: 0x00ce65e6, size: 70 bytes, params: 1, frame: 10 env0_0._lastNativeRefreshing = true; if (env0_0.props.onRefresh) { env0_0.props.onRefresh(); } env0_0.forceUpdate(); } function _setNativeRef(a0) { // fn#5816, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:450:911, owner: RefreshControl._setNativeRef, offset: 0x00ce662c, size: 20 bytes, params: 2, frame: 2 env0_0._nativeRef = a0; }