decord/source/modules/icymi/native/ICYMI.tsx
github-actions 20a21ad13f chore: update source for alpha 346.5
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
2026-09-11 19:12:58 +00:00

464 lines
23 KiB
TypeScript

// Module ID: 16521
// Function ID: 16522
// Name: ICYMI
// Dependencies: [32, 19, 17, 4598, 502, 1979, 8433, 8421, 16522, 1954, 21, 4606, 576, 16523, 8172, 15054, 8437, 4573, 16525, 1896, 4561, 16536, 4602, 1114, 7016, 7196, 5176, 4425, 5174, 16472, 16474, 5731, 8436, 1477, 1611, 1484, 7548, 504, 16462, 16556, 16559, 7462, 1943, 16546, 1483, 8434, 7932, 7933, 15149, 1094, 16560, 16566, 16571, 16584, 16585, 16586, 16587, 16588, 16589, 16590, 16591, 7945, 16592, 8964, 1115, 11990, 4460, 16593, 16524, 4317, 2]
// Exports: ICYMITab
// Module 16521 (ICYMI)
import nativeDefault from "native" /* 576 */;
import ChannelTypes from "ChannelTypes" /* 1094 */;
import useSafeAreaInsetsDefault from "useSafeAreaInsets" /* 1611 */;
import asyncRequireImpl from "asyncRequireImpl" /* 1896 */;
import client_themes_ClientThemesUtils from "client_themes/ClientThemesUtils" /* 4425 */;
import useColorThemeBackgroundDefault from "useColorThemeBackground" /* 4460 */;
import CircleInformationIcon from "CircleInformationIcon" /* 4561 */;
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4573 */;
import ThemedGradientDefault from "ThemedGradient" /* 5176 */;
import useIsWindowLargeDefault from "useIsWindowLarge" /* 7016 */;
import common_SafeAreaView from "common/SafeAreaView" /* 7196 */;
import IconButton from "IconButton" /* 8172 */;
import ICYMITypes from "ICYMITypes" /* 8434 */;
import ICYMIUtils from "ICYMIUtils" /* 8436 */;
import ICYMIActionCreatorsDefault from "ICYMIActionCreators" /* 8437 */;
import FiltersHorizontalIcon from "FiltersHorizontalIcon" /* 15054 */;
import NativeICYMIUtils from "NativeICYMIUtils" /* 16536 */;
import AnnouncementMessageRowDefault from "AnnouncementMessageRow" /* 16560 */;
import ICYMIMessageRowDefault from "ICYMIMessageRow" /* 16566 */;
import ContentInventoryEntryRowDefault from "ContentInventoryEntryRow" /* 16571 */;
import ICYMILoading from "ICYMILoading" /* 16584 */;
import ICYMIBottomLoading from "ICYMIBottomLoading" /* 16585 */;
import CaughtUpRowDefault from "CaughtUpRow" /* 16586 */;
import ICYMIGuildEventRowDefault from "ICYMIGuildEventRow" /* 16587 */;
import ICYMIServerRecommendationRow from "ICYMIServerRecommendationRow" /* 16588 */;
import ICYMIHeaderDefault from "ICYMIHeader" /* 16589 */;
import ICYMIForumThreadRow from "ICYMIForumThreadRow" /* 16590 */;
import CardHeightMeasurer from "CardHeightMeasurer" /* 16591 */;
import AppFreezerDefault from "AppFreezer" /* 16593 */;
import _slicedToArray from "module_32" /* 32 */;
import noop from "module_19" /* 19 */;
import AccessibilityStore from "AccessibilityStore" /* 4598 */;
import AuthenticationStore from "AuthenticationStore" /* 502 */;
import GuildStore from "GuildStore" /* 1979 */;
import ICYMIFiltersStore from "ICYMIFiltersStore" /* 8433 */;
import ICYMIStore from "ICYMIStore" /* 8421 */;
const require = globalThis.__r;
const util = LeftBackIconWithBadge(1114);
const Pressables = LeftBackIconWithBadge(5174);
const XSmallIcon = LeftBackIconWithBadge(5731);
const notifications_Notifications = LeftBackIconWithBadge(16472);
const BackIconWithBadge = LeftBackIconWithBadge(16474);
require = fn;
function SettingsButton() {
return closure_1_14(IconButton.IconButton, {
accessibilityLabel: "button",
variant: "tertiary",
size: "sm",
icon: closure_1_14(FiltersHorizontalIcon.FiltersHorizontalIcon, { size: "sm" }),
onPress() {
require("ICYMIActionCreators").itemInteracted("filters_button", "filters_button", "press_info_button");
const obj = require("ICYMIActionCreators");
require("ICYMIActionCreators").feedPageActioned({ actionParameters: { actionGestureType: "press", actionTargetElement: "settings_button", actionIntentType: "open", actionDestinationType: null } });
const obj2 = require("ICYMIActionCreators");
require("ActionSheetActionCreators").openLazy(require("asyncRequireImpl")(paths[18], paths.paths), "ICYMISettingsActionSheet", {});
}
});
}
function InfoButton() {
return closure_1_14(IconButton.IconButton, {
accessibilityLabel: "button",
variant: "tertiary",
size: "sm",
icon: closure_1_14(CircleInformationIcon.CircleInformationIcon, { size: "sm" }),
onPress() {
ICYMIActionCreatorsDefault.itemInteracted("info_button", "info_button", "press_info_button");
ICYMIActionCreatorsDefault.feedPageActioned({ actionParameters: { actionGestureType: "press", actionTargetElement: "info_button", actionIntentType: "open", actionDestinationType: null } });
require("NativeICYMIUtils").pushICYMIInfoModal({ extendedOnboarding: true });
}
});
}
function ICYMIHeaderTextWrapper() {
const tmp = closure_18();
return closure_1_14(hasOwnProperty, {
style: closure_18().headerText,
children: noop.useMemo(() => {
const obj = { children: null };
const obj2 = { color: "mobile-text-heading-primary", variant: "heading-lg/bold", maxFontSizeMultiplier: 1.75, accessibilityRole: "header", children: null };
const intl = require("util").intl;
obj2.children = intl.string(require("util").t.SY4sdZ);
const items = [closure_1_14(require("Text/Text").Text, obj2), ];
const obj3 = { color: "text-brand", variant: "text-xs/bold", style: { marginTop: 4 }, children: null };
const intl2 = require("util").intl;
obj3.children = intl2.string(require("util").t.Ac2OZA);
items[1] = closure_1_14(require("Text/Text").Text, obj3);
obj.children = items;
return closure_1_16(closure_1_15, obj);
}, [])
});
}
function handleEndReached() {
ICYMIUtils.hydrateNextPage();
}
function ICYMI(inNestedNavigator) {
let isFocused;
let stateFromStores;
visibleItemIds = undefined;
handleOnRefresh = undefined;
let stateFromStores2;
let ref1;
let stateFromStores3;
closure_11 = undefined;
const tmp = closure_18();
({ height, width } = stateFromStores(visibleItemIds[33])());
const tmp3 = stateFromStores(visibleItemIds[33])();
isFocused = isFocused(visibleItemIds[35]).useIsFocused();
const layoutEffect = handleOnRefresh.useLayoutEffect(() => {
isFocused(visibleItemIds[36]).trackAppUIViewed();
});
let obj = isFocused(visibleItemIds[35]);
const items = [stateFromStores2];
stateFromStores = isFocused(visibleItemIds[37]).useStateFromStores(items, () => stateFromStores2.useReducedMotion);
let obj2 = isFocused(visibleItemIds[37]);
const items1 = [closure_11];
const stateFromStores1 = isFocused(visibleItemIds[37]).useStateFromStores(items1, () => closure_11.notificationItem(), []);
const items2 = [isFocused];
const effect = handleOnRefresh.useEffect(() => {
ICYMIActionCreatorsDefault.setTabFocused(isFocused);
}, items2);
let obj3 = isFocused(visibleItemIds[37]);
const sharedICYMILogic = isFocused(visibleItemIds[39]).useSharedICYMILogic({ showDot: stateFromStores(visibleItemIds[38])().showDot, notificationItem: stateFromStores1 });
({ loading, visibleItemIds } = sharedICYMILogic);
const endVisible = sharedICYMILogic.endVisible;
({ isRefreshing, handleOnRefresh } = sharedICYMILogic);
({ data, version, stickyHeaderIndices, viewabilityConfigCallbackPairs } = sharedICYMILogic);
let obj4 = isFocused(visibleItemIds[39]);
const iCYMIEmptyLoadingAnalytics = isFocused(visibleItemIds[40]).useICYMIEmptyLoadingAnalytics(loading, isFocused);
let obj5 = isFocused(visibleItemIds[40]);
const items3 = [isFocused(visibleItemIds[42]).DismissibleContent.ICYMI_ALPHA_UPSELL];
const tmp12 = endVisible(isFocused(visibleItemIds[41]).useGetDismissibleContent(items3), 2);
const first = tmp12[0];
closure_6 = tmp14;
let obj6 = isFocused(visibleItemIds[41]);
const items4 = [ref1];
stateFromStores2 = isFocused(visibleItemIds[37]).useStateFromStores(items4, () => ref1.getGuildCount());
const items5 = [first, tmp12[1], stateFromStores2];
const effect1 = handleOnRefresh.useEffect(() => {
if (null != first) {
const obj2 = { extendedOnboarding: stateFromStores2 <= closure_12 };
NativeICYMIUtils.pushICYMIInfoModal(obj2);
closure_6(ContentDismissActionType.USER_DISMISS);
}
}, items5);
const items6 = [endVisible];
const effect2 = handleOnRefresh.useEffect(() => {
let hasOpenedEnoughTimesResult = endVisible;
if (endVisible) {
hasOpenedEnoughTimesResult = ICYMIStore.hasOpenedEnoughTimes();
}
if (hasOpenedEnoughTimesResult) {
ActionSheetActionCreatorsDefault.openLazy(asyncRequireImpl(16546, dependencyMap.paths), "ICYMIFeedbackSheet", {});
}
}, items6);
const ref = handleOnRefresh.useRef(null);
ref1 = handleOnRefresh.useRef({
scrollToTop() {
const current = ref.current;
if (current != null) {
const obj = { offset: 0, animated: !stateFromStores };
current.scrollToOffset(obj);
}
}
});
let obj7 = isFocused(visibleItemIds[37]);
const obj8 = {
scrollToTop() {
const current = ref.current;
if (current != null) {
const obj = { offset: 0, animated: !stateFromStores };
current.scrollToOffset(obj);
}
}
};
const scrollToTop = isFocused(visibleItemIds[35]).useScrollToTop(ref1);
const obj9 = isFocused(visibleItemIds[35]);
const items7 = [stateFromStores3];
stateFromStores3 = isFocused(visibleItemIds[37]).useStateFromStores(items7, () => stateFromStores3.getDoubleTapBehavior());
const obj10 = isFocused(visibleItemIds[37]);
const items8 = [stateFromStores3, isFocused(visibleItemIds[44]).useNavigation(), stateFromStores];
const effect3 = handleOnRefresh.useEffect(() => {
if (stateFromStores3 === ICYMITypes.GravityICYMIDoubleTapBehavior.DEFAULT) {
const obj2 = {
scrollToTop() {
const current = ref.current;
if (current != null) {
const obj = { offset: 0, animated: !stateFromStores };
current.scrollToOffset(obj);
}
}
};
ref1.current = obj2;
} else {
let obj = {
scrollToTop() {
isFocused(7932).showForLaterModal(isFocused(7933).SavedMessageSortTypes.BOOKMARK);
}
};
ref1.current = obj;
}
}, items8);
const items9 = [ref, stateFromStores];
closure_11 = handleOnRefresh.useCallback(() => {
const current = ref.current;
if (current != null) {
const obj = { offset: 0, animated: !stateFromStores };
current.scrollToOffset(obj);
}
}, items9);
const obj11 = isFocused(visibleItemIds[44]);
const items10 = [visibleItemIds, endVisible];
const mobileQuestDockHeight = isFocused(visibleItemIds[48]).useMobileQuestDockHeight();
const callback = handleOnRefresh.useCallback((item) => {
item = item.item;
const kind = item.data.kind;
if ("message" === kind) {
if (item.channelType === ChannelTypes.ChannelTypes.GUILD_ANNOUNCEMENT) {
const obj2 = { unread: item.unread, message: item.data.message, visible: null != visibleItemIds.find((item) => item.item.id === item.id) };
let tmp41 = closure_2_14(AnnouncementMessageRowDefault, obj2);
} else {
const obj3 = { message: item.data.message, messageContext: item.data.messageContext, visible: null != visibleItemIds.find((item) => item.item.id === item.id) };
tmp41 = closure_2_14(ICYMIMessageRowDefault, obj3);
}
} else {
if ("contentInventory" === kind) {
const obj4 = { visible: null != visibleItemIds.find((item) => item.item.id === item.id), content: item.data.content };
let tmp7 = closure_2_14(ContentInventoryEntryRowDefault, obj4);
} else if ("loading" === kind) {
return closure_2_14(ICYMILoading.ICYMILoading, {});
} else if ("bottomLoading" === kind) {
return closure_2_14(ICYMIBottomLoading.ICYMIBottomLoading, {});
} else if ("end" === kind) {
const obj5 = { visible: endVisible };
return closure_2_14(CaughtUpRowDefault, obj5);
} else if ("guildEvent" === kind) {
const obj6 = { eventId: item.data.eventId };
tmp7 = closure_2_14(ICYMIGuildEventRowDefault, obj6);
} else if ("recommendedGuilds" === kind) {
tmp7 = closure_2_14(ICYMIServerRecommendationRow.ICYMIServerRecommendationRow, {});
} else if ("icymiHeader" === kind) {
return closure_2_14(ICYMIHeaderDefault, {});
} else if ("forumThread" === kind) {
const obj = { message: item.data.message, channel: item.data.threadChannel, visible: null != visibleItemIds.find((item) => item.item.id === item.id) };
tmp7 = closure_2_14(ICYMIForumThreadRow.ICYMIForumThreadRow, obj);
} else {
return null;
}
const obj7 = { itemId: item.id, children: tmp7 };
return closure_2_14(CardHeightMeasurer.CardHeightMeasurer, obj7);
}
}, items10);
const memo = handleOnRefresh.useMemo(() => ({ backgroundColor: "transparent" }), []);
const obj12 = isFocused(visibleItemIds[48]);
const clientThemesOverride = isFocused(visibleItemIds[61]).useClientThemesOverride();
const obj13 = isFocused(visibleItemIds[61]);
const items11 = [closure_11];
const obj15 = { style: null, children: null };
const items12 = [, ];
({ containerInPanels: arr13[0], containerBackground: arr13[1] } = tmp);
obj15.style = items12;
const stateFromStores4 = isFocused(visibleItemIds[37]).useStateFromStores(items11, () => closure_11.hasNewContent(), []);
const items13 = [closure_14(closure_22, { inNestedNavigator: inNestedNavigator.inNestedNavigator }), ];
const obj16 = { style: null, children: null };
const items14 = [tmp.flashListWrapper, , ];
const size = { height: height - stateFromStores(visibleItemIds[34])().top - 32 - 24 - mobileQuestDockHeight, width, marginHorizontal: "auto" };
items14[1] = size;
items14[2] = clientThemesOverride;
obj16.style = items14;
const items15 = [
closure_14(stateFromStores(visibleItemIds[62]), {
onPress() {
ICYMIActionCreatorsDefault.itemInteracted("refresh_button", "refresh_button", "press_refresh_button");
ICYMIActionCreatorsDefault.feedPageActioned({ actionParameters: { actionGestureType: "press", actionTargetElement: "new_content_pill", actionIntentType: "refresh", actionDestinationType: null } });
handleOnRefresh();
closure_11();
},
isRefreshing
}),
,
];
const obj18 = { ref, scrollEnabled: !loading, extraData: { endVisible }, contentContainerStyle: memo, accessibilityLabel: null, data: null, refreshing: null, refreshControl: null, onEndReachedThreshold: 3, onEndReached: null, keyExtractor: null, renderItem: null, getItemType: null, drawDistance: 100, stickyHeaderIndices: null, viewabilityConfigCallbackPairs: null };
const intl = isFocused(visibleItemIds[23]).intl;
obj18.accessibilityLabel = intl.string(isFocused(visibleItemIds[23]).t.OIgYlQ);
obj18.data = data;
obj18.refreshing = isRefreshing;
const obj19 = { onRefresh: handleOnRefresh, refreshing: isRefreshing, tintColor: tmp.refreshing.color, style: null };
let num = 1;
let num2 = 1;
if (stateFromStores4) {
num2 = 0;
}
obj19.style = { opacity: num2 };
obj18.refreshControl = closure_14(closure_6, obj19);
obj18.onEndReached = handleEndReached;
obj18.keyExtractor = keyExtractor;
obj18.renderItem = callback;
obj18.getItemType = isFocused(visibleItemIds[32]).itemToType;
const obj14 = isFocused(visibleItemIds[37]);
const obj17 = {
onPress() {
ICYMIActionCreatorsDefault.itemInteracted("refresh_button", "refresh_button", "press_refresh_button");
ICYMIActionCreatorsDefault.feedPageActioned({ actionParameters: { actionGestureType: "press", actionTargetElement: "new_content_pill", actionIntentType: "refresh", actionDestinationType: null } });
handleOnRefresh();
closure_11();
},
isRefreshing
};
isFocused(visibleItemIds[64]).isAndroid();
obj18.stickyHeaderIndices = stickyHeaderIndices;
obj18.viewabilityConfigCallbackPairs = viewabilityConfigCallbackPairs;
if (!loading) {
num = version;
}
items15[1] = closure_14(isFocused(visibleItemIds[63]).FlashList, obj18, "Version-" + num);
items15[2] = closure_14(isFocused(visibleItemIds[65]).TTIFirstContentfulPaint, { label: "icymi" });
obj16.children = items15;
items13[1] = closure_16(first, obj16);
obj15.children = items13;
return closure_16(first, obj15);
}
function keyExtractor(id) {
return id.id;
}
get_ActivityIndicator = fn(17);
({ View: hasOwnProperty, RefreshControl: metroRequire } = get_ActivityIndicator);
let closure_12 = fn(16522).NUM_GUILDS_EXTENDED_ONBOARDING;
const ContentDismissActionType = fn(1954).ContentDismissActionType;
const jsxProd = fn(21);
({ jsx: closure_14, Fragment: closure_15, jsxs: closure_16 } = jsxProd);
const createStyles = fn(4606);
let closure_17 = createStyles.createStyles((paddingTop) => {
const obj = { containerOuterTablet: { backgroundColor: nativeDefault.colors.BACKGROUND_BASE_LOWEST, paddingHorizontal: nativeDefault.space.PX_8, overflow: "hidden", flex: 1, paddingTop } };
return obj;
});
const createICYMIStyles = fn(16523);
let closure_18 = createICYMIStyles.createICYMIStyles((margin) => {
const obj = { container: { flex: 1, flexShrink: 1, flexGrow: 1 }, containerInPanels: { flex: 1, flexShrink: 1, flexGrow: 1, overflow: "hidden", borderTopLeftRadius: nativeDefault.radii.sm, borderTopRightRadius: nativeDefault.radii.sm }, containerBackground: null, flashListWrapper: null, refreshing: null, header: null, headerLeft: null, headerClose: null, headerTitle: null, headerText: null, headerActions: null, notificationBadge: null, loading: null, headerBorder: null };
const obj2 = { flex: 1, flexShrink: 1, flexGrow: 1, overflow: "hidden", borderTopLeftRadius: nativeDefault.radii.sm, borderTopRightRadius: nativeDefault.radii.sm };
obj.containerBackground = { backgroundColor: nativeDefault.colors.BACKGROUND_BASE_LOW };
const obj3 = { backgroundColor: nativeDefault.colors.BACKGROUND_BASE_LOW };
obj.flashListWrapper = { backgroundColor: nativeDefault.colors.BACKGROUND_BASE_LOW, minHeight: 2, flex: 1 };
const obj4 = { backgroundColor: nativeDefault.colors.BACKGROUND_BASE_LOW, minHeight: 2, flex: 1 };
obj.refreshing = { color: nativeDefault.colors.INTERACTIVE_TEXT_DEFAULT };
const obj5 = { color: nativeDefault.colors.INTERACTIVE_TEXT_DEFAULT };
obj.header = { backgroundColor: nativeDefault.colors.BACKGROUND_BASE_LOW, position: "relative", overflow: "hidden", width: "100%" };
obj.headerLeft = { flexDirection: "row", alignItems: "center" };
const size = { marginRight: nativeDefault.space.PX_16, height: nativeDefault.space.PX_32, width: nativeDefault.space.PX_32, alignItems: "center", justifyContent: "center", borderRadius: nativeDefault.radii.lg };
obj.headerClose = size;
obj.headerTitle = { height: 56, marginHorizontal: margin.margin, flexDirection: "row", alignItems: "center", justifyContent: "space-between" };
obj.headerText = { flexDirection: "row", alignItems: "center", gap: 4 };
const obj6 = { backgroundColor: nativeDefault.colors.BACKGROUND_BASE_LOW, position: "relative", overflow: "hidden", width: "100%" };
const obj7 = { height: 56, marginHorizontal: margin.margin, flexDirection: "row", alignItems: "center", justifyContent: "space-between" };
obj.headerActions = { flexDirection: "row", alignItems: "center", gap: nativeDefault.space.PX_12 };
const size1 = { height: 18, width: 18, borderRadius: nativeDefault.radii.round };
obj.notificationBadge = size1;
const obj8 = { flexDirection: "row", alignItems: "center", gap: nativeDefault.space.PX_12 };
obj.loading = { flex: 1, justifyContent: "center", paddingTop: nativeDefault.space.PX_96 };
const rect = { position: "absolute", bottom: 0, left: 0, right: 0, backgroundColor: nativeDefault.colors.BORDER_SUBTLE, height: 1 };
obj.headerBorder = rect;
return obj;
});
let closure_22 = noop.memo((inNestedNavigator) => {
inNestedNavigator = inNestedNavigator.inNestedNavigator;
const tmp = closure_18();
let obj = dependencyMap;
const tmp2 = useIsWindowLargeDefault();
let LeftBackIconWithBadge = require;
const obj2 = { top: !tmp2, style: tmp.header, children: null };
const obj3 = { absolute: true, wide: true, tall: true, mix: true, mixAmount: null };
const obj4 = { dark: client_themes_ClientThemesUtils.OverlayOpacity.LEVEL_7, light: client_themes_ClientThemesUtils.OverlayOpacity.LEVEL_8 };
obj3.mixAmount = obj4;
const items = [closure_1_14(ThemedGradientDefault, obj3), , ];
const obj5 = { style: tmp.headerTitle, children: null };
const obj6 = { style: tmp.headerLeft, children: null };
if (!tmp2) {
if (!inNestedNavigator) {
const items1 = [null, tmp4(ICYMIHeaderTextWrapper, {})];
obj6.children = items1;
const items2 = [tmp3(tmp6, obj6), ];
const obj7 = { style: tmp.headerActions, children: null };
const items3 = [tmp4(InfoButton, {}), tmp4(SettingsButton, {})];
obj7.children = items3;
items2[1] = tmp3(tmp6, obj7);
obj5.children = items2;
items[1] = tmp3(tmp6, obj5);
const obj8 = { style: tmp.headerBorder };
items[2] = tmp4(tmp6, obj8);
obj2.children = items;
return tmp3(common_SafeAreaView.SafeAreaPaddingView, obj2);
}
}
const obj9 = { style: tmp.headerClose, accessibilityLabel: null, onPress: null, children: null };
const intl = util.intl;
obj9.accessibilityLabel = intl.string(util.t["13/7kX"]);
obj9.onPress = notifications_Notifications.goBack;
if (inNestedNavigator) {
LeftBackIconWithBadge = BackIconWithBadge.LeftBackIconWithBadge;
obj = { includeNotificationsCount: true };
let tmp4Result = tmp4(LeftBackIconWithBadge, obj);
} else {
tmp4Result = tmp4(XSmallIcon.XSmallIcon, { color: "interactive-text-default" });
}
obj9.children = tmp4Result;
closure_1_14(Pressables.PressableOpacity, obj9);
});
let size = fn(2);
const result = size.fileFinishedImporting("modules/icymi/native/ICYMI.tsx");
export const ICYMITab = function ICYMITab(route) {
route = route.route;
_require = undefined;
importDefault = undefined;
const tmp3 = useColorThemeBackgroundDefault();
const items = [AuthenticationStore];
const stateFromStores = require("initialize").useStateFromStores(items, () => id.getId());
const tmp6 = useIsWindowLargeDefault();
_require = tmp6;
let inNestedNavigator;
if (route != null) {
const params = route.params;
if (params != null) {
inNestedNavigator = params.inNestedNavigator;
}
}
const tmp8 = closure_17(useSafeAreaInsetsDefault().top);
importDefault = tmp8;
const items1 = [tmp6, tmp8.containerOuterTablet];
const memo = noop.useMemo(() => {
containerOuterTablet = undefined;
if (closure_0) {
containerOuterTablet = containerOuterTablet.containerOuterTablet;
}
return containerOuterTablet;
}, items1);
const obj = require("initialize");
const tmp11 = tmp6 ? closure_5 : noop.Fragment;
if (tmp6) {
const obj2 = { style: memo };
let obj3 = obj2;
} else {
obj3 = {};
}
const obj4 = { children: null };
const obj5 = { children: null };
const obj6 = {};
const merged = Object.assign(obj3);
const items2 = [closure_14(ThemedGradientDefault, { absolute: true }), ];
const tmp14 = closure_16;
const tmpResult = AppFreezerDefault;
items2[1] = closure_14(require("native").ThemeContextProvider, { gradient: tmp3, children: closure_14(ICYMI, { inNestedNavigator }, "" + stateFromStores) });
obj6.children = items2;
obj5.children = tmp14(tmp11, obj6);
obj4.children = closure_14(require("ICYMIContext").ICYMIContextProvider, obj5);
return closure_14(tmpResult, obj4);
};