/* Metro module 8792; source: design/void/TouchableHitBox/native/TouchableHitBox.tsx; dependencies: [6, 7, 15, 17, 18, 31, 27, 33, 4501, 697, 1305, 5278, 3868, 2] */ function _fun68732(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68732, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8977:6, offset: 0x01c5a98b, size: 443 bytes, params: 8, frame: 22 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); 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 */; let value = importAll(31) /* metro dependency 31 */; const env0_7 = (require(27) /* metro dependency 27 */).ActivityIndicator; const env0_8 = (require(33) /* metro dependency 33 */).jsx; const createStylesModule = require(4501) /* metro dependency 4501: createStyles */; const createLegacyClassComponentStyles = createStylesModule.createLegacyClassComponentStyles; const object = {'flexGrow': 0, 'flexShrink': 1, 'justifyContent': 'center', 'alignItems': 'center', 'backgroundColor': 'transparent', 'alignSelf': 'flex-start'}; object.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.sm; const env0_9 = Reflect.apply(createLegacyClassComponentStyles, createStylesModule, [{button: object, buttonText: {'lineHeight': 24, 'margin': 10, 'maxWidth': 60, 'fontSize': 16}, buttonIcon: {margin: 10}, buttonSpinner: {margin: 12}, buttonDisabled: {opacity: 0.6}}]); const PureComponent = value.PureComponent; value = _fun68736(PureComponent); const ThemeContext = (require(3868) /* metro dependency 3868: native */).ThemeContext; value.contextType = ThemeContext; value.defaultProps = {onPress: function() { }}; (require(2) /* metro dependency 2 */).fileFinishedImporting('design/void/TouchableHitBox/native/TouchableHitBox.tsx'); exports.default = value; } function _isNativeReflectConstruct_68733() { // fn#68733, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8977:200, offset: 0x01c5ab46, size: 98 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_68733_isNativeReflectConstruct = function() { return !!result; })(); } function _fun68736(a0) { // fn#68736, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8977:743, offset: 0x01c5aba8, size: 72 bytes, params: 2, frame: 15 const closure = TouchableHitBox; env0_6(closure, a0); return env0_3(closure, [{key: 'render', value: value_68738}]); } function value_68738() { // fn#68738, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8977:1044, offset: 0x01c5abf0, size: 580 bytes, params: 1, frame: 37 var r4; const binding = env1_9; const context = this.context; const value2 = undefined; const value3 = binding(context); const props = this.props; const disabled = props.disabled; const source = props.source; const text = props.text; const loading = props.loading; const activeOpacity = props.activeOpacity; const onPress = props.onPress; const onLongPress = props.onLongPress; const style = props.style; const IconComponent = props.IconComponent; const iconSize = props.iconSize; const iconStyle = props.iconStyle; const color = props.color; const disableColor = props.disableColor; const r23 = value2 !== disableColor && disableColor; const accessibilityLabel = props.accessibilityLabel; const accessibilityRole = props.accessibilityRole; const accessibilityState = props.accessibilityState; const children = props.children; if (source != null) { const Icon = (require(1305) /* metro dependency 1305: native */).Icon; r4 = ; } else { r4 = value2; } if (loading) { r4 = ; } else if (text != null) { const LegacyText = (require(1305) /* metro dependency 1305: native */).LegacyText; r4 = {text}; } else { r4 = IconComponent == null ? source == null ? children ?? value2 : r4 : source != null ? : source == null ? children ?? value2 : r4; } const PressableOpacity = (require(5278) /* metro dependency 5278: Pressables */).PressableOpacity; return ( {r4} ); }