/* Metro module 10360; source: modules/user_profile/native/UserProfileGameFriendsCard.tsx; dependencies: [31, 33, 4501, 6777, 1244, 10349, 6815, 4573, 2] */ import UserProfileCard from './UserProfileCard.tsx'; /* Metro dependency 6815 */ import ApplicationIconAndName from './ApplicationIconAndName.tsx'; /* Metro dependency 10349 */ import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ 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 CreateStylesModule from '../../../design/components/Styles/native/createStyles.tsx'; /* Metro dependency 4501 */ import * as TextModule from '../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */ function _fun80252(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#80252, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10546:6, offset: 0x01e72fad, size: 181 bytes, params: 8, frame: 20 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); ReactModule; const env0_4 = (CreateStylesModule).createStyles({card: {flexDirection: 'column'}}); (FileImportTrackerModule).fileFinishedImporting('modules/user_profile/native/UserProfileGameFriendsCard.tsx'); exports.default = UserProfileGameFriendsCard; function UserProfileGameFriendsCard({applicationIds, style}) { // fn#80253, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10546:276, offset: 0x01e73062, size: 590 bytes, params: 2, frame: 20 var r6; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; var env0_2; var env0_3; const styles = useStyles(); const value3 = (importDefault(6777) /* metro dependency 6777: useGetOrFetchApplications */)(applicationIds).filter(function(a0) { return a0 != null; }); if (value3.length === 0) { return null; } if (value3.length === 1) { r6 = intl.format((require(1244) /* metro dependency 1244: indexNative */).t.wQ6urw, {applicationName: applicationName_80255}); } else if (value3.length === 2) { r6 = intl.format((require(1244) /* metro dependency 1244: indexNative */).t.C98CSN, {applicationName: applicationName_80256, applicationName2: applicationName2}); } else { env0_2 = value3[value3.length - 1]; env0_3 = value3.slice(0, -1); r6 = intl.format((require(1244) /* metro dependency 1244: indexNative */).t.UxpwAh, {applications: applications, applicationNameLast: applicationNameLast}); } const userProfileCardProps = {style: [styles.card, style], title: intl.string((require(1244) /* metro dependency 1244: indexNative */).t['Uv/eTx'])}; const Text = (TextModule).Text; return ( {r6} ); function UserProfileGameFriendsCardApplicationName() { // fn#80255, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10546:514, owner: UserProfileGameFriendsCard.applicationName, offset: 0x01e732b0, size: 83 bytes, params: 1, frame: 18 let value = environment.__proto__; value = importDefault(10349) /* metro dependency 10349: ApplicationIconAndName */; const binding = env0_0; return ((Component) => )(value); } function UserProfileGameFriendsCardApplicationName_80256() { // fn#80256, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10546:661, owner: UserProfileGameFriendsCard.applicationName, offset: 0x01e732b0, size: 83 bytes, params: 1, frame: 18 let value = environment.__proto__; value = importDefault(10349) /* metro dependency 10349: ApplicationIconAndName */; const binding = env0_0; return ((Component) => )(value); } function applicationName2() { // fn#80257, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10546:746, owner: UserProfileGameFriendsCard.applicationName2, offset: 0x01e73303, size: 84 bytes, params: 1, frame: 18 let value = environment.__proto__; value = importDefault(10349) /* metro dependency 10349: ApplicationIconAndName */; const binding = env0_0; return ((Component) => )(value); } function applications() { // fn#80258, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10546:910, owner: UserProfileGameFriendsCard.applications, offset: 0x01e73357, size: 28 bytes, params: 1, frame: 11 return env0_3.map(_fun80259); function _fun80259(a0) { // fn#80259, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10546:921, offset: 0x01e73373, size: 79 bytes, params: 2, frame: 16 const value = environment.__proto__.__proto__; return ((Component) => )(ApplicationIconAndName); } } function applicationNameLast() { // fn#80260, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10546:1016, owner: UserProfileGameFriendsCard.applicationNameLast, offset: 0x01e733c2, size: 67 bytes, params: 1, frame: 15 const value = environment.__proto__; return ((Component) => )(ApplicationIconAndName); } } } global.__d(_fun80252, 10360, [31, 33, 4501, 6777, 1244, 10349, 6815, 4573, 2]) /* metro module 10360, dependencies: [31, 33, 4501, 6777, 1244, 10349, 6815, 4573, 2] */;