71 lines
5.3 KiB
TypeScript
71 lines
5.3 KiB
TypeScript
/* Metro module 8796; source: modules/user_profile/native/UserProfileAlertUtils.tsx; dependencies: [31, 33, 4497, 8797, 8798, 8799, 8806, 8807, 8808, 2] */
|
|
import UserProfileConfirmCancelFriendRequest from './UserProfileConfirmCancelFriendRequest.tsx'; /* Metro dependency 8797 */
|
|
import UserProfileConfirmRemoveFriend from './UserProfileConfirmRemoveFriend.tsx'; /* Metro dependency 8798 */
|
|
import UserProfileConfirmRemoveGameFriend from './UserProfileConfirmRemoveGameFriend.tsx'; /* Metro dependency 8799 */
|
|
import UserProfileConfirmVideoUnstableConnection from './UserProfileConfirmVideoUnstableConnection.tsx'; /* Metro dependency 8806 */
|
|
import UserProfileAlertUserReported from './UserProfileAlertUserReported.tsx'; /* Metro dependency 8807 */
|
|
import UserProfileConfirmThreadRemove from './UserProfileConfirmThreadRemove.tsx'; /* Metro dependency 8808 */
|
|
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 UseAlertStoreNativeModule from '../../../design/components/AlertModal/native/useAlertStore.native.tsx'; /* Metro dependency 4497 */
|
|
|
|
function _fun68790(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68790, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8981:6, offset: 0x01c5d65f, size: 203 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
ReactModule;
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/user_profile/native/UserProfileAlertUtils.tsx');
|
|
exports.confirmCancelFriendRequest = confirmCancelFriendRequest;
|
|
exports.confirmRemoveFriend = confirmRemoveFriend;
|
|
exports.confirmRemoveGameFriend = confirmRemoveGameFriend;
|
|
exports.confirmVideoUnstableConnection = confirmVideoUnstableConnection;
|
|
exports.alertUserReported = alertUserReported;
|
|
exports.confirmThreadRemove = confirmThreadRemove;
|
|
function confirmCancelFriendRequest(a0) { // fn#68791, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8981:234, offset: 0x01c5d72a, size: 83 bytes, params: 2, frame: 16
|
|
const openAlert = UseAlertStoreNativeModule.openAlert;
|
|
let value = UserProfileConfirmCancelFriendRequest;
|
|
value = ((Component) => <Component {...a0} />)(value);
|
|
Reflect.apply(openAlert, UseAlertStoreNativeModule, ['cancel-friend-request', value]);
|
|
}
|
|
|
|
function confirmRemoveFriend(a0) { // fn#68792, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8981:322, offset: 0x01c5d77d, size: 83 bytes, params: 2, frame: 16
|
|
const openAlert = UseAlertStoreNativeModule.openAlert;
|
|
let value = UserProfileConfirmRemoveFriend;
|
|
value = ((Component) => <Component {...a0} />)(value);
|
|
Reflect.apply(openAlert, UseAlertStoreNativeModule, ['remove-friend', value]);
|
|
}
|
|
|
|
function confirmRemoveGameFriend(a0) { // fn#68793, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8981:406, offset: 0x01c5d7d0, size: 83 bytes, params: 2, frame: 16
|
|
const openAlert = UseAlertStoreNativeModule.openAlert;
|
|
let value = UserProfileConfirmRemoveGameFriend;
|
|
value = ((Component) => <Component {...a0} />)(value);
|
|
Reflect.apply(openAlert, UseAlertStoreNativeModule, ['remove-game-friend', value]);
|
|
}
|
|
|
|
function confirmVideoUnstableConnection(a0) { // fn#68794, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8981:502, offset: 0x01c5d823, size: 81 bytes, params: 2, frame: 16
|
|
const openAlert = UseAlertStoreNativeModule.openAlert;
|
|
let value = UserProfileConfirmVideoUnstableConnection;
|
|
value = ((Component) => <Component onConfirm={a0} />)(value);
|
|
Reflect.apply(openAlert, UseAlertStoreNativeModule, ['video-unstable-connection', value]);
|
|
}
|
|
|
|
function alertUserReported() { // fn#68795, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8981:599, offset: 0x01c5d874, size: 73 bytes, params: 1, frame: 16
|
|
const openAlert = UseAlertStoreNativeModule.openAlert;
|
|
let value = UserProfileAlertUserReported;
|
|
value = ((Component) => <Component />)(value);
|
|
Reflect.apply(openAlert, UseAlertStoreNativeModule, ['user-reported', value]);
|
|
}
|
|
|
|
function confirmThreadRemove(a0) { // fn#68796, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8981:676, offset: 0x01c5d8bd, size: 83 bytes, params: 2, frame: 16
|
|
const openAlert = UseAlertStoreNativeModule.openAlert;
|
|
let value = UserProfileConfirmThreadRemove;
|
|
value = ((Component) => <Component {...a0} />)(value);
|
|
Reflect.apply(openAlert, UseAlertStoreNativeModule, ['thread-remove', value]);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun68790, 8796, [31, 33, 4497, 8797, 8798, 8799, 8806, 8807, 8808,
|
|
2]) /* metro module 8796, dependencies: [31, 33, 4497, 8797, 8798, 8799, 8806, 8807, 8808, 2] */;
|