2026-07-25 08:10:48 +00:00
|
|
|
// Module ID: 8297
|
2026-07-27 11:26:19 +00:00
|
|
|
// Function ID: 66689
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getUserProfileActionSheetKey
|
2026-07-25 08:10:48 +00:00
|
|
|
// Dependencies: [5, 6637, 3768, 1850, 1935, 3804, 8298, 4099, 8303, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: getUserProfileBlockedSpeedBumpActionSheetKey, showUserProfileActionSheetPostConnection
|
|
|
|
|
|
2026-07-25 08:10:48 +00:00
|
|
|
// Module 8297 (getUserProfileActionSheetKey)
|
2026-07-23 10:11:24 +00:00
|
|
|
import explicitContentFromProto from "explicitContentFromProto";
|
|
|
|
|
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
|
|
|
|
|
|
|
|
|
|
const require = arg1;
|
2026-07-20 16:05:17 +00:00
|
|
|
function getUserProfileActionSheetKey(userId) {
|
|
|
|
|
return "UserProfile" + userId;
|
|
|
|
|
}
|
|
|
|
|
function getUserProfileIgnoredSpeedBumpActionSheetKey(userId) {
|
|
|
|
|
return "UserProfileIgnoredSpeedBump" + userId;
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
function showUserProfileActionSheet(isPreviewingChanges, arg1) {
|
2026-07-20 16:05:17 +00:00
|
|
|
const timestamp = Date.now();
|
2026-07-25 08:10:48 +00:00
|
|
|
const IgnoreProfileSpeedbumpDisabled = require(3804) /* explicitContentFromProto */.IgnoreProfileSpeedbumpDisabled;
|
2026-07-23 10:11:24 +00:00
|
|
|
if (!isPreviewingChanges.ignoreBlockedSpeedBump) {
|
|
|
|
|
const isBlockedResult = _isNativeReflectConstruct.isBlocked(isPreviewingChanges.userId);
|
|
|
|
|
const isIgnoredResult = _isNativeReflectConstruct.isIgnored(isPreviewingChanges.userId);
|
2026-07-20 16:05:17 +00:00
|
|
|
if (isIgnoredResult) {
|
2026-07-25 08:10:48 +00:00
|
|
|
let obj = importDefault(4099);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = {};
|
2026-07-25 08:10:48 +00:00
|
|
|
const tmp9 = require(1935) /* maybeLoadBundle */(8298, dependencyMap.paths);
|
2026-07-23 10:11:24 +00:00
|
|
|
const merged = Object.assign(isPreviewingChanges);
|
2026-07-20 16:05:17 +00:00
|
|
|
let str = "ignore";
|
|
|
|
|
if (isBlockedResult) {
|
|
|
|
|
str = "block";
|
|
|
|
|
}
|
|
|
|
|
obj["speedBumpType"] = str;
|
|
|
|
|
obj["openedAt"] = timestamp;
|
2026-07-23 10:11:24 +00:00
|
|
|
obj.openLazy(tmp9, getUserProfileIgnoredSpeedBumpActionSheetKey(isPreviewingChanges.userId), obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
2026-07-25 08:10:48 +00:00
|
|
|
const tmp17 = require(1935) /* maybeLoadBundle */(8303, dependencyMap.paths);
|
|
|
|
|
const obj3 = importDefault(4099);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = {};
|
2026-07-23 10:11:24 +00:00
|
|
|
const merged1 = Object.assign(isPreviewingChanges);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj["openedAt"] = timestamp;
|
2026-07-23 10:11:24 +00:00
|
|
|
obj3.openLazy(tmp17, getUserProfileActionSheetKey(isPreviewingChanges.userId), obj, "replaceAll");
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
require("shouldWaitForBlockingModals").addPostConnectionCallback;
|
|
|
|
|
const result = require("_isNativeReflectConstruct").fileFinishedImporting("modules/user_profile/native/showUserProfileActionSheet.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default showUserProfileActionSheet;
|
|
|
|
|
export { getUserProfileActionSheetKey };
|
|
|
|
|
export const getUserProfileBlockedSpeedBumpActionSheetKey = function getUserProfileBlockedSpeedBumpActionSheetKey(arg0) {
|
|
|
|
|
return "UserProfileBlockedSpeedBump" + arg0;
|
|
|
|
|
};
|
|
|
|
|
export { getUserProfileIgnoredSpeedBumpActionSheetKey };
|
|
|
|
|
export const showUserProfileActionSheetPostConnection = function showUserProfileActionSheetPostConnection(arg0) {
|
2026-07-23 10:11:24 +00:00
|
|
|
let closure_0 = arg0;
|
2026-07-20 16:05:17 +00:00
|
|
|
// CreateGeneratorClosureLongIndex (0x67)
|
|
|
|
|
addPostConnectionCallback(callback(tmp));
|
|
|
|
|
};
|