/* Metro module 13708; source: components_native/common/UntouchableAlert.tsx; dependencies: [6, 7, 15, 17, 18, 31, 27, 33, 4501, 5461, 3868, 2] */ import ClassCallCheck from '../../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */ import CreateClass from '../../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */ import PossibleConstructorReturn from '../../by-id/module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */ import Module00017 from '../../by-id/module-00017.js'; /* Metro dependency 17 */ import Inherits from '../../by-id/module-00018-Inherits.js'; /* Metro dependency 18 */ import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as ReactNativeModule from '../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */ import * as ReactModule from '../../by-id/module-00031-React.js'; /* Metro dependency 31 */ import * as JsxRuntimeModule from '../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */ import * as NativeModule from '../../external/discord_common/js/packages/design/native.tsx'; /* Metro dependency 3868 */ import * as CreateStylesModule from '../../design/components/Styles/native/createStyles.tsx'; /* Metro dependency 4501 */ function _fun104757(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#104757, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13905:6, offset: 0x0229fda6, size: 328 bytes, params: 8, frame: 20 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); let value = ReactModule; const env0_9 = (CreateStylesModule).createLegacyClassComponentStyles({container: {'flex': 1, 'alignItems': 'center', 'justifyContent': 'center'}}); const PureComponent = value.PureComponent; value = _fun104761(PureComponent); const ThemeContext = (NativeModule).ThemeContext; value.contextType = ThemeContext; (FileImportTrackerModule).fileFinishedImporting('components_native/common/UntouchableAlert.tsx'); exports.default = value; function _isNativeReflectConstruct_104758() { // fn#104758, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13905:187, offset: 0x0229feee, 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_104758_isNativeReflectConstruct = function() { return !!result; })(); } function _fun104761(a0) { // fn#104761, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13905:495, offset: 0x0229ff50, size: 147 bytes, params: 2, frame: 16 const UntouchableAlert2 = UntouchableAlert; Inherits(UntouchableAlert2, a0); return CreateClass(UntouchableAlert2, [{key: 'componentDidMount', value: function() { if (!this.props.loading) { this.closeAlert(); } }}, {key: 'componentDidUpdate', value: function(a0) { var loading = this.props.loading; if (!(a0.loading === loading || loading)) { this.closeAlert(); } }}, {key: 'closeAlert', value: function() { var env0_0 = this; global.setImmediate(_fun104766); }}, {key: 'render', value: value_104767}]); function UntouchableAlert() { // fn#104762, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13905:507, offset: 0x00ec62ac, size: 113 bytes, params: 1, frame: 20 const value = environment.__proto__; env1_2(this, UntouchableAlert); const value3 = env1_5(UntouchableAlert); return env1_4(this, _isNativeReflectConstruct_104758() ? global.Reflect.construct(value3, arguments, env1_5(this).constructor) : value3.apply(this, arguments)); } function value_104765() { // fn#104765, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13905:994, offset: 0x022a0034, size: 33 bytes, params: 1, frame: 11 global.setImmediate(_fun104766); function _fun104766() { // fn#104766, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13905:1019, offset: 0x022a0055, size: 24 bytes, params: 1, frame: 9 return env0_0.props.onClose(); } } function value_104767() { // fn#104767, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13905:1068, offset: 0x022a006d, size: 103 bytes, params: 1, frame: 17 const value = environment.__proto__; return ( this.props.loading ? ( {((ActivityIndicator) => )((require(5461) /* metro dependency 5461: ActivityIndicatorNative */).ActivityIndicator)} ) : null ); } } } global.__d(_fun104757, 13708, [6, 7, 15, 17, 18, 31, 27, 33, 4501, 5461, 3868, 2]) /* metro module 13708, dependencies: [6, 7, 15, 17, 18, 31, 27, 33, 4501, 5461, 3868, 2] */;