/* Metro module 8799; source: modules/user_profile/native/UserProfileConfirmRemoveGameFriend.tsx; dependencies: [31, 33, 8515, 8800, 4500, 1244, 4500, 2] */ import PeopleUtils from '../../people/PeopleUtils.tsx'; /* Metro dependency 8800 */ 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 AlertModalNativeModule from '../../../design/components/AlertModal/native/AlertModal.native.tsx'; /* Metro dependency 4500 */ import * as UserProfileAnalyticsUtilsModule from '../UserProfileAnalyticsUtils.tsx'; /* Metro dependency 8515 */ function _fun68801(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68801, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8984:6, offset: 0x01c5dd4b, size: 151 bytes, params: 8, frame: 18 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); (FileImportTrackerModule).fileFinishedImporting('modules/user_profile/native/UserProfileConfirmRemoveGameFriend.tsx'); exports.default = UserProfileConfirmRemoveGameFriend; function UserProfileConfirmRemoveGameFriend({userDisplayName, userId, gameName, applicationId}) { // fn#68802, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8984:243, offset: 0x01c5dde2, size: 467 bytes, params: 2, frame: 27 const value2 = ReactModule.useCallback(_fun68803, [applicationId, userId]); const AlertModal = (AlertModalNativeModule).AlertModal; object = {}; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; object.title = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.fBKKfq, {name: userDisplayName}); object.content = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.dsU5bl, {name: userDisplayName, gameName: gameName}); const AlertActions = (AlertModalNativeModule).AlertActions; const AlertActionButton = (AlertModalNativeModule).AlertActionButton; const string = intl.string; const RLcE6x = (require(1244) /* metro dependency 1244: indexNative */).t.RLcE6x; object.actions = ( ); return ; function _fun68803() { // fn#68803, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8984:365, offset: 0x01c5dfb5, size: 108 bytes, params: 1, frame: 15 const value = environment.__proto__; (UserProfileAnalyticsUtilsModule).trackUserProfileAction({action: 'REMOVE_GAME_FRIEND'}); (PeopleUtils).removeFriend({userId: userId, applicationId: applicationId, location: 'UserProfileConfirmRemoveGameFriend'}); } } } global.__d(_fun68801, 8799, [31, 33, 8515, 8800, 4500, 1244, 4500, 2]) /* metro module 8799, dependencies: [31, 33, 8515, 8800, 4500, 1244, 4500, 2] */;