decord/source/modules/user_profile/native/UserProfileWidgetsBoardEditNotice.tsx

85 lines
3.8 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 12225
// Function ID: 12226
2026-07-24 07:16:23 +00:00
// Name: UserProfileWidgetsBoardEditNotice
2026-08-24 06:08:38 +00:00
// Dependencies: [19, 17, 1388, 21, 4668, 712, 9019, 1367, 10300, 1377, 4334, 4739, 1236, 5438, 6399, 2]
2026-07-24 07:16:23 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 12225 (UserProfileWidgetsBoardEditNotice)
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 712 */;
import useIsMobileVisualRefreshExperimentEnabledDefault from "useIsMobileVisualRefreshExperimentEnabled" /* 1367 */;
import useSharedStylesDefault from "useSharedStyles" /* 9019 */;
import SelectedDismissibleContentDefault from "SelectedDismissibleContent" /* 10300 */;
import { View } from "get ActivityIndicator" /* 17 */;
import { ContentDismissActionType } from "ContentDismissActionType" /* 1388 */;
import jsxProd from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4668 */;
2026-07-24 07:16:23 +00:00
const require = arg1;
2026-08-24 06:08:38 +00:00
noopAll;
2026-07-29 08:29:29 +00:00
({ jsx: c5, jsxs: closure_6 } = jsxProd);
createCacheKey = { container: null, icon: null, text: null, closeButton: null };
2026-08-24 06:08:38 +00:00
createCacheKey = { flexDirection: "row", alignItems: "flex-start", gap: ThemesDefault.space.PX_8, marginBottom: ThemesDefault.space.PX_16 };
2026-07-29 08:29:29 +00:00
createCacheKey[0] = createCacheKey;
createCacheKey[1] = { flexShrink: 0, marginTop: 2 };
createCacheKey[2] = { flex: 1 };
createCacheKey[3] = { flexShrink: 0 };
2026-08-24 06:08:38 +00:00
let closure_7 = createCacheKey.createStyles(createCacheKey);
const result = require("set").fileFinishedImporting("modules/user_profile/native/UserProfileWidgetsBoardEditNotice.tsx");
2026-07-24 07:16:23 +00:00
export default function UserProfileWidgetsBoardEditNotice() {
2026-08-24 06:08:38 +00:00
const _require = callback2();
importDefault = useSharedStylesDefault();
dependencyMap = useIsMobileVisualRefreshExperimentEnabledDefault("UserProfileWidgetsBoardEditNotice");
2026-07-29 08:29:29 +00:00
let obj = { contentTypes: null, bypassAutoDismiss: true, children: null };
2026-08-11 06:20:06 +00:00
let items = [_require(1377).DismissibleContent.USER_PROFILE_WIDGETS_BOARD_MOBILE_EDIT_NOTICE];
2026-07-29 08:29:29 +00:00
obj[0] = items;
obj[2] = function children(markAsDismissed) {
2026-07-24 07:16:23 +00:00
markAsDismissed = markAsDismissed.markAsDismissed;
2026-07-29 08:29:29 +00:00
let tmp4Result = null;
if (markAsDismissed.visibleContent === callback(table[9]).DismissibleContent.USER_PROFILE_WIDGETS_BOARD_MOBILE_EDIT_NOTICE) {
let obj = { style: null, children: null };
2026-07-24 07:16:23 +00:00
const items = [lib.card, markAsDismissed.container];
2026-07-29 08:29:29 +00:00
obj[0] = items;
obj = { style: null, children: null };
obj[0] = markAsDismissed.icon;
2026-08-24 06:08:38 +00:00
obj1 = { size: "xs", color: null };
2026-07-29 08:29:29 +00:00
obj1[1] = lib(tmp2[5]).colors.TEXT_MUTED;
2026-08-24 06:08:38 +00:00
obj[1] = closure_1_5(tmp(tmp2[10]).CircleInformationIcon, obj1);
const items1 = [closure_1_5(closure_1_3, obj), , ];
2026-07-29 08:29:29 +00:00
const obj2 = { style: null, variant: null, color: null, children: null };
obj2[0] = markAsDismissed.text;
2026-07-24 07:16:23 +00:00
let str = "text-sm/semibold";
2026-07-29 08:29:29 +00:00
if (table) {
2026-07-24 07:16:23 +00:00
str = "text-sm/medium";
}
2026-07-29 08:29:29 +00:00
obj2[1] = str;
2026-07-24 07:16:23 +00:00
let str2 = "text-default";
2026-07-29 08:29:29 +00:00
if (tmp10) {
2026-07-24 07:16:23 +00:00
str2 = "text-strong";
}
2026-07-29 08:29:29 +00:00
obj2[2] = str2;
const intl = tmp(tmp2[12]).intl;
obj2[3] = intl.string(tmp(tmp2[12]).t.kv8ULD);
2026-08-24 06:08:38 +00:00
items1[1] = closure_1_5(tmp(tmp2[11]).Text, obj2);
2026-07-29 08:29:29 +00:00
obj = { accessibilityRole: "button", accessibilityLabel: null, onPress: null, style: null, children: null };
const intl2 = tmp(tmp2[12]).intl;
obj[1] = intl2.string(tmp(tmp2[12]).t.WAI6xu);
obj[2] = function onPress() {
2026-08-24 06:08:38 +00:00
return markAsDismissed(closure_1_4.USER_DISMISS);
2026-07-24 07:16:23 +00:00
};
2026-07-29 08:29:29 +00:00
obj[3] = markAsDismissed.closeButton;
2026-08-24 06:08:38 +00:00
obj[4] = closure_1_5(tmp(tmp2[14]).XSmallIcon, { size: "sm" });
items1[2] = closure_1_5(tmp(tmp2[13]).PressableOpacity, obj);
2026-07-29 08:29:29 +00:00
obj[1] = items1;
2026-08-24 06:08:38 +00:00
tmp4Result = closure_1_6(closure_1_3, obj);
2026-07-29 08:29:29 +00:00
tmp10 = table;
2026-08-24 06:08:38 +00:00
const tmp4 = closure_1_6;
const tmp5 = closure_1_3;
2026-07-29 08:29:29 +00:00
const tmp7 = markAsDismissed;
2026-07-24 07:16:23 +00:00
}
2026-07-29 08:29:29 +00:00
return tmp4Result;
2026-07-24 07:16:23 +00:00
};
2026-08-24 06:08:38 +00:00
return callback(SelectedDismissibleContentDefault, obj);
2026-07-24 07:16:23 +00:00
};