/* Metro module 8793; source: modules/relationships/native/IgnoreConfirmationActionSheet.tsx; dependencies: [57, 31, 27, 1379, 1878, 8784, 8781, 661, 33, 4501, 697, 8745, 1244, 4070, 6231, 6238, 1305, 1585, 6771, 6789, 566, 683, 8061, 6275, 6277, 8748, 4573, 4617, 8747, 4080, 8794, 1962, 480, 4578, 8783, 6766, 1948, 3853, 2] */ function _fun68740(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68740, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8978:6, offset: 0x01c5ae34, size: 924 bytes, params: 8, frame: 25 var object2; const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_3 = importDefault(57) /* metro dependency 57 */; let value = importAll(31) /* metro dependency 31 */; const env0_5 = (require(27) /* metro dependency 27 */).View; const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */; const userStore = importDefault(1878) /* metro dependency 1878: UserStore */; const env0_8 = (require(8784) /* metro dependency 8784: RelationshipConstants */).UserRemediationAction; const restrictionConfirmationConstantsModule = require(8781) /* metro dependency 8781: RestrictionConfirmationConstants */; const env0_9 = restrictionConfirmationConstantsModule.BLOCK_CONFIRMATION_ACTION_SHEET_KEY; const env0_10 = restrictionConfirmationConstantsModule.RESTRICTION_CONFIRMATION_ACTION_SHEET_HEIGHT; const constantsModule = require(661) /* metro dependency 661: Constants */; const env0_11 = constantsModule.AnalyticEvents; const env0_12 = constantsModule.HelpdeskArticles; const value4 = require(33) /* metro dependency 33 */; const env0_13 = value4.jsx; const env0_14 = value4.jsxs; const createStylesModule = require(4501) /* metro dependency 4501: createStyles */; const createStyles = createStylesModule.createStyles; object2 = {button: {'alignContent': 'center', 'textAlign': 'center'}}; let PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16; object2.tableContainer = {marginBottom: PX_16}; const PX_24 = (importDefault(697) /* metro dependency 697: native */).space.PX_24; object2.otherOptions = {marginBottom: PX_24}; object2.subTitle = {textAlign: 'center'}; let PX_4 = (importDefault(697) /* metro dependency 697: native */).space.PX_4; object2.title = {textAlign: 'center', marginBottom: PX_4}; const object3 = {flex: 1}; PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16; object3.paddingHorizontal = PX_16; PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16; object3.paddingTop = PX_16; object2.container = object3; PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16; object2.header = {marginBottom: PX_16}; PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16; object2.avatarContainer = {'position': 'relative', 'alignSelf': 'center', marginBottom: PX_16}; const object4 = {'position': 'absolute', 'bottom': -8, 'right': -8}; PX_4 = (importDefault(697) /* metro dependency 697: native */).space.PX_4; object4.padding = PX_4; const BACKGROUND_SURFACE_HIGH = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH; object4.backgroundColor = BACKGROUND_SURFACE_HIGH; object4.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.round; object2.avatarIconContainer = object4; object2.avatar = {alignSelf: 'center'}; const TEXT_FEEDBACK_CRITICAL = (importDefault(697) /* metro dependency 697: native */).colors.TEXT_FEEDBACK_CRITICAL; object2.destructiveIcon = {color: TEXT_FEEDBACK_CRITICAL}; const env0_15 = Reflect.apply(createStyles, createStylesModule, [object2]); const items2 = [{icon: importDefault(8745) /* metro dependency 8745 */, text: function() { return require(dependencyMap[12]).intl.string(require(dependencyMap[12]).t.ruhGkg); }, subtext: function() { return require(dependencyMap[12]).intl.string(require(dependencyMap[12]).t['/FWKKC']); }, a11yLabel: function() { return require(dependencyMap[12]).intl.string(require(dependencyMap[12]).t.QAzPrp); }}]; items2[1] = {icon: importDefault(8745) /* metro dependency 8745 */, text: function() { return require(dependencyMap[12]).intl.string(require(dependencyMap[12]).t.N9v3eq); }, subtext: function() { return require(dependencyMap[12]).intl.string(require(dependencyMap[12]).t.ddpuJg); }, a11yLabel: function() { return require(dependencyMap[12]).intl.string(require(dependencyMap[12]).t.PYR8jT); }}; items2[2] = {icon: importDefault(4070) /* metro dependency 4070 */, text: function() { return require(dependencyMap[12]).intl.string(require(dependencyMap[12]).t['4ycGE0']); }, subtext: function() { return require(dependencyMap[12]).intl.string(require(dependencyMap[12]).t['5yfN+o']); }, a11yLabel: function() { return require(dependencyMap[12]).intl.string(require(dependencyMap[12]).t['/XoqE6']); }}; value = value.memo(IgnoreConfirmationActionSheet); (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/relationships/native/IgnoreConfirmationActionSheet.tsx'); exports.default = value; } function IgnoredInformationTable() { // fn#68741, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8978:1648, offset: 0x01c5b1d0, size: 79 bytes, params: 1, frame: 16 const TableRowGroup = (require(6231) /* metro dependency 6231: TableRowGroupNative */).TableRowGroup; return ( {env0_16.map(_fun68742)} ); } function IgnoreConfirmationActionSheet({userId, channelId, onIgnore, onSuccess}) { // fn#68752, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8978:1978, offset: 0x01c5b52d, size: 1935 bytes, params: 2, frame: 50 var r0; var AnalyticsLocationProvider; var BottomSheet; var object4; var value8; var space; var PX_24; var value9; var object5; var BottomSheetScrollView; var items3; const Icon = (require(1305) /* metro dependency 1305: native */).Icon; var Sizes; var MEDIUM; var items4; const Text = (require(4573) /* metro dependency 4573: Text */).Text; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; var format; const t = (require(1244) /* metro dependency 1244: indexNative */).t; var property2; var object6; var string; var items5; var TableRowGroup; var TableRow; var object7; var Button; var items6; var TextWithIOSLinkWorkaround; var object8; var object9; const styles = useStyles(); const binding = env0_4; var [property, env0_4] = onSuccess(binding.useState(false), 2); const bottom = (importDefault(1585) /* metro dependency 1585: useSafeAreaInsetsNative */)().bottom; let defaultImport = importDefault(6771) /* metro dependency 6771: useAnalyticsLocations */; const IGNORE_CONFIRMATION_ACTION_SHEET = (importDefault(6789) /* metro dependency 6789: AnalyticsLocation */).IGNORE_CONFIRMATION_ACTION_SHEET; let object = [IGNORE_CONFIRMATION_ACTION_SHEET]; const analyticsLocations = defaultImport(object).analyticsLocations; const value5 = (require(566) /* metro dependency 566: flux */).useStateFromStores([UserStore], function() { return UserStore.getUser(userId); }, [userId]); const value6 = (require(566) /* metro dependency 566: flux */).useStateFromStores([ChannelStore], _fun68754, [channelId]); const closure = function() { var defaultImport = importDefault(dependencyMap[21]); var USER_REMEDIATION_ACTION = AnalyticEvents.USER_REMEDIATION_ACTION; defaultImport.track(USER_REMEDIATION_ACTION, {action: UserRemediationAction.DISMISS_IGNORE, location: 'user-profile-context-menu'}); }; binding.useEffect(_fun68756, [value5, userId]); if (value5 == null) { r0 = null; } else { AnalyticsLocationProvider = (require(6771) /* metro dependency 6771: useAnalyticsLocations */).AnalyticsLocationProvider; object = {value: analyticsLocations}; BottomSheet = (require(6275) /* metro dependency 6275: BottomSheetNative */).BottomSheet; object4 = {onDismiss: closure, scrollable: true}; value8 = RESTRICTION_CONFIRMATION_ACTION_SHEET_HEIGHT + bottom; space = (importDefault(697) /* metro dependency 697: native */).space; PX_24 = space.PX_24; value9 = value8 + PX_24; space = (importDefault(697) /* metro dependency 697: native */).space; PX_24 = space.PX_24; object4.startHeight = value9 + PX_24; object5 = {}; space = (importDefault(697) /* metro dependency 697: native */).space; object5.paddingBottom = space.PX_16 + bottom; copyDataProperties(object5, styles.container, undefined); object4.bodyStyles = object5; BottomSheetScrollView = (require(6277) /* metro dependency 6277 */).BottomSheetScrollView; var viewBindingProps = {style: styles.header}; var viewBindingProps2 = {style: styles.avatarContainer}; items3 = [((Avatar) => )((require(1305) /* metro dependency 1305: native */).Avatar)]; var viewBinding2Props = {style: styles.avatarIconContainer}; Sizes = (require(1305) /* metro dependency 1305: native */).Icon.Sizes; MEDIUM = Sizes.MEDIUM; items3[1] = ; items4 = [{items3}]; var textProps = {'style': null, 'variant': 'heading-xl/bold', 'color': 'mobile-text-heading-primary', 'accessibilityRole': 'header', style: styles.title}; format = intl.format; property2 = t['WrQD/Y']; object6 = {}; object6.username = (importDefault(4617) /* metro dependency 4617: NicknameUtils */).getName(value6, channelId, value5); items4[1] = {Reflect.apply(format, intl, [property2, object6])}; string = intl.string; items4[2] = {Reflect.apply(string, intl, [t.JKL1u1])}; items5 = [{items4}]; items5[1] = ; var viewBinding2Props2 = {style: styles.otherOptions}; TableRowGroup = (require(6231) /* metro dependency 6231: TableRowGroupNative */).TableRowGroup; var tableRowGroupProps = {title: intl.string(t['1v01gh']), hasIcons: true}; TableRow = (require(6238) /* metro dependency 6238: TableRowNative */).TableRow; object7 = {}; Sizes = (require(1305) /* metro dependency 1305: native */).Icon.Sizes; MEDIUM = Sizes.MEDIUM; object7.icon = ; object7.label = intl.string(t.bwxY30); object7.variant = 'danger'; string = intl.string; object7.subLabel = {Reflect.apply(string, intl, [t.NTnf1T])}; object7.accessibilityLabel = intl.string(t['fZ+p9C']); object7.onPress = onPress_68757; object7.arrow = true; items5[2] = ; var viewBinding2Props3 = {style: styles.button}; Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button; string = intl.string; items6 = [