// Module ID: 13405 // Function ID: 13406 // Name: ConversationFocusScreen // Dependencies: [19, 7712, 21, 1487, 504, 13406, 2] // Exports: default // Module 13405 (ConversationFocusScreen) import noop from "module_19" /* 19 */; import ConversationsStore from "ConversationsStore" /* 7712 */; const require = fn; const jsx = fn(21).jsx; const size = fn(2); const result = size.fileFinishedImporting("modules/conversations/components/native/ConversationFocusScreen.tsx"); export default function ConversationFocusScreen() { const params = channelId(1487).useRoute().params; channelId = params.channelId; const conversationId = params.conversationId; const obj = channelId(1487); const items = [ConversationsStore]; const items1 = [channelId, conversationId]; const messages = channelId(504).useStateFromStores(items, () => ConversationsStore.getHydratedMessages(channelId, conversationId), items1); let obj2 = channelId(504); const items2 = [ConversationsStore]; const items3 = [channelId, conversationId]; const stateFromStoresObject = channelId(504).useStateFromStoresObject(items2, () => { const conversationMetadata = ConversationsStore.getConversationMetadata(channelId, conversationId); let flag; if (conversationMetadata != null) { flag = conversationMetadata.fullyHydrated; } if (flag == null) { flag = false; } const obj2 = { fullyHydrated: flag, isFullFetchPending: ConversationsStore.isConversationFetchPending(conversationId, true), startMessageId: null }; let startMessageId; if (conversationMetadata != null) { startMessageId = conversationMetadata.conversation.startMessageId; } if (startMessageId == null) { startMessageId = null; } obj2.startMessageId = startMessageId; return obj2; }, items3); ({ fullyHydrated, isFullFetchPending, startMessageId } = stateFromStoresObject); return jsx(conversationId(13406), { channelId, conversationId, messages, fullyHydrated, isFullFetchPending, startMessageId }); };