decord/source/modules/safety_hub/native/SuspendedUserPage.tsx

71 lines
3.4 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 16221
// Function ID: 16222
2026-07-20 16:05:17 +00:00
// Name: SuspendedUserSafetyHubPage
2026-08-24 06:08:38 +00:00
// Dependencies: [19, 17, 5443, 21, 4668, 712, 6840, 8074, 1236, 5261, 8182, 4739, 4093, 14174, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 16221 (SuspendedUserSafetyHubPage)
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 712 */;
import getSystemLocale from "getSystemLocale" /* 1236 */;
import Text from "Text" /* 4739 */;
import SafeAreaPaddingView from "SafeAreaPaddingView" /* 6840 */;
import IconButton from "IconButton" /* 8074 */;
import registerAssetDefault from "registerAsset" /* 8182 */;
import AutomatedUnderageAppealStatusDefault from "AutomatedUnderageAppealStatus" /* 14174 */;
import { View } from "get ActivityIndicator" /* 17 */;
import { SafetyHubLinks } from "SafetyHubView" /* 5443 */;
import jsxProd from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4668 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
noopAll;
2026-07-29 08:29:29 +00:00
({ jsx: c5, jsxs: closure_6 } = jsxProd);
createCacheKey = { container: null, header: null, text: null, link: null };
2026-08-24 06:08:38 +00:00
createCacheKey = { backgroundColor: ThemesDefault.colors.BACKGROUND_BASE_LOW, display: "flex", flexDirection: "column", height: "100%" };
2026-07-29 08:29:29 +00:00
createCacheKey[0] = createCacheKey;
2026-08-24 06:08:38 +00:00
createCacheKey[1] = { backgroundColor: ThemesDefault.colors.CONTROL_CRITICAL_PRIMARY_BACKGROUND_DEFAULT, flexDirection: "row", paddingVertical: ThemesDefault.space.PX_8, alignItems: "center" };
let obj1 = { backgroundColor: ThemesDefault.colors.CONTROL_CRITICAL_PRIMARY_BACKGROUND_DEFAULT, flexDirection: "row", paddingVertical: ThemesDefault.space.PX_8, alignItems: "center" };
createCacheKey[2] = { marginRight: ThemesDefault.space.PX_8, textAlign: "left", flexShrink: 1 };
2026-07-29 08:29:29 +00:00
createCacheKey[3] = { textDecorationLine: "underline" };
2026-08-24 06:08:38 +00:00
let closure_7 = createCacheKey.createStyles(createCacheKey);
let obj2 = { marginRight: ThemesDefault.space.PX_8, textAlign: "left", flexShrink: 1 };
const result = require("set").fileFinishedImporting("modules/safety_hub/native/SuspendedUserPage.tsx");
2026-07-20 16:05:17 +00:00
export default function SuspendedUserSafetyHubPage() {
2026-08-24 06:08:38 +00:00
const tmp = callback3();
2026-07-29 08:29:29 +00:00
let obj = { top: true, right: true, left: true, children: null };
obj = { style: tmp.container, children: null };
obj = { style: tmp.header, children: null };
2026-08-24 06:08:38 +00:00
obj1 = { variant: "destructive", accessibilityLabel: null, onPress: null, icon: null };
const intl = getSystemLocale.intl;
obj1[1] = intl.string(getSystemLocale.t.cpT0Cq);
2026-07-29 08:29:29 +00:00
obj1[2] = function onPress() {
2026-08-24 06:08:38 +00:00
callback(5261).closeSuspendedUser();
2026-07-20 16:05:17 +00:00
};
2026-08-24 06:08:38 +00:00
obj1[3] = registerAssetDefault;
const items = [callback(IconButton.IconButton, obj1), ];
2026-07-20 16:05:17 +00:00
const obj2 = {
style: tmp.text,
onPress() {
2026-08-24 06:08:38 +00:00
callback(4093).openURL(constants.WARNING_SYSTEM_HELPCENTER_LINK);
2026-07-20 16:05:17 +00:00
},
variant: "text-xs/medium",
2026-07-29 08:29:29 +00:00
color: "control-critical-primary-text-default",
children: null
2026-07-20 16:05:17 +00:00
};
2026-08-24 06:08:38 +00:00
const intl2 = getSystemLocale.intl;
const items1 = [intl2.string(getSystemLocale.t["MG+Bzb"]), " ", ];
2026-07-29 08:29:29 +00:00
const obj3 = { style: tmp.link, variant: "text-xs/medium", color: "control-critical-primary-text-default", children: null };
2026-08-24 06:08:38 +00:00
const intl3 = getSystemLocale.intl;
obj3[3] = intl3.string(getSystemLocale.t["9JceHN"]);
items1[2] = callback(Text.Text, obj3);
2026-07-29 08:29:29 +00:00
obj2[4] = items1;
2026-08-24 06:08:38 +00:00
items[1] = callback2(Text.Text, obj2);
2026-07-29 08:29:29 +00:00
obj[1] = items;
2026-08-24 06:08:38 +00:00
const items2 = [callback2(View, obj), callback(AutomatedUnderageAppealStatusDefault, { visible: true })];
2026-07-29 08:29:29 +00:00
obj[1] = items2;
obj[3] = callback2(View, obj);
2026-08-24 06:08:38 +00:00
return callback(SafeAreaPaddingView.SafeAreaPaddingView, obj);
2026-07-20 16:05:17 +00:00
};