// Module ID: 12690 // Function ID: 12691 // Name: UserProfileAlertUtils // Dependencies: [19, 21, 4951, 12691, 12692, 12693, 12694, 12695, 12696, 2] // Exports: alertUserReported, confirmCancelFriendRequest, confirmRemoveFriend, confirmRemoveGameFriend, confirmThreadRemove, confirmVideoUnstableConnection // Module 12690 (UserProfileAlertUtils) import useAlertStore from "useAlertStore" /* 4951 */; import UserProfileConfirmCancelFriendRequestDefault from "UserProfileConfirmCancelFriendRequest" /* 12691 */; import UserProfileConfirmRemoveFriendDefault from "UserProfileConfirmRemoveFriend" /* 12692 */; import UserProfileConfirmRemoveGameFriendDefault from "UserProfileConfirmRemoveGameFriend" /* 12693 */; import UserProfileConfirmVideoUnstableConnectionDefault from "UserProfileConfirmVideoUnstableConnection" /* 12694 */; import UserProfileAlertUserReportedDefault from "UserProfileAlertUserReported" /* 12695 */; import UserProfileConfirmThreadRemoveDefault from "UserProfileConfirmThreadRemove" /* 12696 */; import noop from "module_19" /* 19 */; require = fn; const jsx = fn(21).jsx; const size = fn(2); const result = size.fileFinishedImporting("modules/user_profile/native/UserProfileAlertUtils.tsx"); export const confirmCancelFriendRequest = function confirmCancelFriendRequest(arg0) { const obj = useAlertStore; const obj2 = {}; const merged = Object.assign(arg0); obj.openAlert("cancel-friend-request", jsx(UserProfileConfirmCancelFriendRequestDefault, {})); }; export const confirmRemoveFriend = function confirmRemoveFriend(arg0) { const obj = useAlertStore; const obj2 = {}; const merged = Object.assign(arg0); obj.openAlert("remove-friend", jsx(UserProfileConfirmRemoveFriendDefault, {})); }; export const confirmRemoveGameFriend = function confirmRemoveGameFriend(arg0) { const obj = useAlertStore; const obj2 = {}; const merged = Object.assign(arg0); obj.openAlert("remove-game-friend", jsx(UserProfileConfirmRemoveGameFriendDefault, {})); }; export const confirmVideoUnstableConnection = function confirmVideoUnstableConnection(onConfirm) { useAlertStore.openAlert("video-unstable-connection", jsx(UserProfileConfirmVideoUnstableConnectionDefault, { onConfirm })); }; export const alertUserReported = function alertUserReported() { useAlertStore.openAlert("user-reported", jsx(UserProfileAlertUserReportedDefault, {})); }; export const confirmThreadRemove = function confirmThreadRemove(arg0) { const obj = useAlertStore; const obj2 = {}; const merged = Object.assign(arg0); obj.openAlert("thread-remove", jsx(UserProfileConfirmThreadRemoveDefault, {})); };