/* Metro module 13439; source: modules/parent_tools/native/FamilyCenterModalDecline.tsx; dependencies: [31, 27, 33, 4501, 697, 8171, 5080, 3856, 1244, 12624, 44, 6258, 6259, 13435, 8160, 4573, 2224, 13405, 10120, 6261, 4578, 5282, 10121, 2] */ function _fun102200(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#102200, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13629:6, offset: 0x02231fc7, size: 418 bytes, params: 8, frame: 22 var object2; const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_3 = importAll(31) /* metro dependency 31 */; const env0_4 = (require(27) /* metro dependency 27 */).View; let value = require(33) /* metro dependency 33 */; const env0_5 = value.jsx; const env0_6 = value.jsxs; value = require(4501) /* metro dependency 4501: createStyles */; const createStyles = value.createStyles; object2 = {}; let PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16; object2.header = {'display': 'flex', 'alignItems': 'center', 'justifyContent': 'center', marginBottom: PX_16}; const object5 = {}; PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16; object5.marginTop = PX_16; let PX_4 = (importDefault(697) /* metro dependency 697: native */).space.PX_4; object5.marginBottom = PX_4; object2.headerText = object5; const object6 = {}; const PX_24 = (importDefault(697) /* metro dependency 697: native */).space.PX_24; object6.padding = PX_24; object6.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.md; const BACKGROUND_SURFACE_HIGH = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH; object6.backgroundColor = BACKGROUND_SURFACE_HIGH; object2.body = object6; PX_4 = (importDefault(697) /* metro dependency 697: native */).space.PX_4; object2.noticeHeader = {marginBottom: PX_4}; const env0_7 = Reflect.apply(createStyles, value, [object2]); (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/parent_tools/native/FamilyCenterModalDecline.tsx'); exports.default = FamilyCenterModalDecline; } function FamilyCenterModalDeclineScreen({otherUser}) { // fn#102201, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13629:517, offset: 0x02232169, size: 1038 bytes, params: 2, frame: 37 const styles = useStyles(); const value2 = (importDefault(8171) /* metro dependency 8171: useIsInAdultAgeGroup */)(); const {declineLinkRequest, isDeclineLoading} = (require(12624) /* metro dependency 12624: useFamilyCenterActions */).useFamilyCenterActions({onSuccess: env0_3.useCallback(_fun102202, []), onError: env0_3.useCallback(_fun102203, [])}); const value6 = env0_3.useCallback(function() { declineLinkRequest(otherUser.id); }, [declineLinkRequest, otherUser.id]); (importDefault(44) /* metro dependency 44 */)(!value2, 'FamilyCenterDeclineLinkModal should only be rendered for teens.'); const ModalScreen = (require(6258) /* metro dependency 6258: ModalScreenNative */).ModalScreen; const ModalContent = (require(6259) /* metro dependency 6259: ModalContentNative */).ModalContent; const items2 = [((Component) => )(importDefault(13435) /* metro dependency 13435: FamilyCenterAvatarPair */)]; const Text = (require(4573) /* metro dependency 4573: Text */).Text; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; let string = intl.string; items2[1] = {Reflect.apply(string, intl, [(importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).teIRCR])}; items2[2] = ((Component) => )(importDefault(13405) /* metro dependency 13405: FamilyCenterUsernameHeader */); const view = {items2}; const text = {intl.string((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).cXgKMD)}; string = intl.string; const LcM8BS = (importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).LcM8BS; const modalContent = {view}{text}{Reflect.apply(string, intl, [LcM8BS])}; const ModalFooter = (require(10120) /* metro dependency 10120: ModalFooterNative */).ModalFooter; const ButtonGroup = (require(6261) /* metro dependency 6261: ButtonGroupNative */).ButtonGroup; const Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button; return ( {modalContent}