/* Metro module 13428; source: modules/parent_tools/native/FamilyCenterAcceptedLinks.tsx; dependencies: [31, 27, 5117, 33, 4501, 697, 8171, 8170, 12627, 1244, 2224, 4573, 13429, 13431, 5278, 5080, 13434, 1962, 1305, 13436, 2] */ function _fun102152(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#102152, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13618:6, offset: 0x0222f755, size: 474 bytes, params: 8, frame: 24 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); importAll(31) /* metro dependency 31 */; const env0_3 = (require(27) /* metro dependency 27 */).View; let value = require(5117) /* metro dependency 5117: FamilyCenterConstants */; const env0_4 = value.MAX_PARENT_TO_TEEN_ACTIVE_CONNECTIONS; const env0_5 = value.MAX_TEEN_TO_PARENT_ACTIVE_CONNECTIONS; value = require(33) /* metro dependency 33 */; const env0_6 = value.jsx; const env0_7 = value.jsxs; value = require(4501) /* metro dependency 4501: createStyles */; let createStyles = value.createStyles; const object = {'display': 'flex', 'justifyContent': 'center'}; const BACKGROUND_BASE_LOW = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOW; object.backgroundColor = BACKGROUND_BASE_LOW; object.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.md; const env0_8 = Reflect.apply(createStyles, value, [{container: {marginTop: 24}, content: object, empty: {'padding': 20, 'alignSelf': 'center'}, header: {marginBottom: 10}}]); value = require(4501) /* metro dependency 4501: createStyles */; createStyles = value.createStyles; const object2 = {'backgroundColor': null, 'tintColor': null, 'borderRadius': null, 'alignItems': 'center', 'justifyContent': 'center', 'height': 32, 'width': 32}; const BACKGROUND_SURFACE_HIGH = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH; object2.backgroundColor = BACKGROUND_SURFACE_HIGH; const INTERACTIVE_TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.INTERACTIVE_TEXT_DEFAULT; object2.tintColor = INTERACTIVE_TEXT_DEFAULT; object2.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.round; const env0_9 = Reflect.apply(createStyles, value, [{actionButton: object2}]); (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/parent_tools/native/FamilyCenterAcceptedLinks.tsx'); exports.default = FamilyCenterAcceptedLinks; } function FamilyCenterAcceptedLinkRow({otherUser}) { // fn#102153, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13618:730, offset: 0x0222f92f, size: 320 bytes, params: 2, frame: 27 var r0; var FamilyCenterLinkRow; var object2; var PressableOpacity; var intl; var formatToPlainString; var T7DUoU; var object4; const styles = useStyles(); if (otherUser === undefined) { r0 = null; } else { FamilyCenterLinkRow = importDefault(13431) /* metro dependency 13431: FamilyCenterLinkRow */; object2 = {otherUser: otherUser}; PressableOpacity = (require(5278) /* metro dependency 5278: Pressables */).PressableOpacity; intl = (require(1244) /* metro dependency 1244: indexNative */).intl; formatToPlainString = intl.formatToPlainString; T7DUoU = (importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).T7DUoU; object4 = {}; object4.name = otherUser?.toString(); object2.actions = {((Icon) => )((require(1305) /* metro dependency 1305: native */).Icon)}; r0 = ; } return r0; } function FamilyCenterAcceptedLinks() { // fn#102155, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13618:1296, offset: 0x0222fac6, size: 484 bytes, params: 1, frame: 28 const styles = useStyles(); const value2 = (importDefault(8171) /* metro dependency 8171: useIsInAdultAgeGroup */)(); const value3 = (require(8170) /* metro dependency 8170: useUserLinks */).useActiveLinkUsers(); const r0 = value2 ? MAX_PARENT_TO_TEEN_ACTIVE_CONNECTIONS : MAX_TEEN_TO_PARENT_ACTIVE_CONNECTIONS; const object2 = {}; object2.count = value3.length; object2.max = r0; const useAgeSpecificTextModule = require(12627) /* metro dependency 12627: useAgeSpecificText */; const useAgeSpecificText = useAgeSpecificTextModule.useAgeSpecificText; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; const value5 = Reflect.apply(useAgeSpecificText, useAgeSpecificTextModule, [intl.formatToPlainString((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */)['+tnO34'], object2), intl.formatToPlainString((importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */)['pu6/U0'], object2)]); const Text = (require(4573) /* metro dependency 4573: Text */).Text; return ( {value5} {value3.length === 0 ? {((Component) => )(importDefault(13429) /* metro dependency 13429: FamilyCenterEmpty */)} : value3.map(_fun102156)} ); } function FamilyCenterAcceptedLinkRowOnPress() { // fn#102154, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13618:1015, owner: FamilyCenterAcceptedLinkRow.onPress, offset: 0x0222fa6f, size: 87 bytes, params: 1, frame: 15 let value = environment.__proto__; const defaultImport = importDefault(dependencyMap[15]); const pushLazy = defaultImport.pushLazy; value = require(dependencyMap[17]); value = value(dependencyMap[16], dependencyMap.paths); Reflect.apply(pushLazy, defaultImport, [value, {otherUser: otherUser}]); } function _fun102156(a0) { // fn#102156, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13618:1819, offset: 0x0222fcaa, size: 61 bytes, params: 2, frame: 16 const value = environment.__proto__; return ; }