decord/alpha/source/modules/chat/native/Chat.android.tsx

47 lines
2 KiB
TypeScript
Raw Normal View History

// Module ID: 12237
// Function ID: 12238
// Name: Chat
// Dependencies: [19, 4821, 21, 4829, 6985, 12238, 12239, 504, 11624, 2]
2026-07-20 16:05:17 +00:00
// Module 12237 (Chat)
import initialize from "initialize" /* 504 */;
import LegacyBaseButton from "LegacyBaseButton" /* 6985 */;
import ChatNativeComponentDefault from "ChatNativeComponent" /* 11624 */;
import ChatListNativeComponentDefault from "ChatListNativeComponent" /* 12238 */;
import TTIFirstContentfulPaint from "TTIFirstContentfulPaint" /* 12239 */;
import noop from "module_19" /* 19 */;
import AccessibilityStore from "AccessibilityStore" /* 4821 */;
2026-07-23 10:11:24 +00:00
require = fn;
2026-07-20 16:05:17 +00:00
function DCDChatList() {
const memo = noop.useMemo(() => {
const Gesture = LegacyBaseButton.Gesture;
2026-07-20 16:05:17 +00:00
const NativeResult = Gesture.Native();
return Gesture.Native().disallowInterruption(true).shouldCancelWhenOutside(false);
}, []);
const obj = { gesture: memo, children: null };
const obj2 = { style: closure_7().chatList, floatingChatInputEnabled: true, children: null };
const tmp = closure_7();
obj2.children = hasOwnProperty(TTIFirstContentfulPaint.TTIFirstContentfulPaint, { label: "chat_list_android" });
obj.children = hasOwnProperty(ChatListNativeComponentDefault, obj2);
return hasOwnProperty(LegacyBaseButton.GestureDetector, obj);
2026-07-20 16:05:17 +00:00
}
const jsxProd = fn(21);
({ jsx: hasOwnProperty, jsxs: metroRequire } = jsxProd);
const createStyles = fn(4829);
let closure_7 = createStyles.createStyles({ chatList: { flex: 1 } });
const size = fn(2);
const result = size.fileFinishedImporting("modules/chat/native/Chat.android.tsx");
export default noop.forwardRef((children, ref) => {
const items = [AccessibilityStore];
const stateFromStores = initialize.useStateFromStores(items, () => roleStyle.roleStyle);
const obj2 = {};
2026-07-20 16:05:17 +00:00
const merged = Object.assign(children);
obj2.roleStyle = stateFromStores;
obj2.ref = ref;
const items1 = [hasOwnProperty(DCDChatList, {}), children.children];
obj2.children = items1;
return timestampProducer(ChatNativeComponentDefault, obj2);
2026-07-20 16:05:17 +00:00
});