decord/alpha/source/modules/chat/native/ChatViewWrapperBase.tsx

56 lines
1.7 KiB
TypeScript
Raw Normal View History

2026-10-09 10:00:15 +00:00
// Module ID: 10346
// Function ID: 10347
2026-07-20 16:05:17 +00:00
// Name: ChatViewWrapperBase
2026-10-09 10:00:15 +00:00
// Dependencies: [19, 21, 558, 576, 10344, 6842, 10345, 2]
2026-07-20 16:05:17 +00:00
2026-10-09 10:00:15 +00:00
// Module 10346 (ChatViewWrapperBase)
2026-10-03 08:58:59 +00:00
import Fragment from "Fragment" /* 21 */;
import react2 from "react" /* 576 */;
2026-10-09 10:00:15 +00:00
import LayerScope2 from "LayerScope" /* 6842 */;
import useChatViewPointerEventsDefault from "useChatViewPointerEvents" /* 10344 */;
2026-10-03 08:58:59 +00:00
import react from "react" /* 19 */;
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
2026-10-03 08:58:59 +00:00
const jsx = Fragment.jsx;
2026-10-08 09:57:35 +00:00
const tmp3 = ReactCompilerGating.isReactCompilerEnabled() ? (function ChatViewWrapperBase(channelId) {
2026-10-03 08:58:59 +00:00
let children;
let stickyHeader;
let style;
const obj = react2;
const cResult = obj.c(5);
({ children, stickyHeader, style } = channelId);
const tmp4 = useChatViewPointerEventsDefault(channelId.channelId);
if (cResult[0] === children) {
if (cResult[1] === tmp4) {
if (cResult[2] === stickyHeader) {
let tmp5;
if (cResult[3] === style) {
tmp5 = cResult[4];
}
return tmp5;
}
}
}
2026-10-09 10:00:15 +00:00
const LayerScope = tmp(6842).LayerScope;
2026-10-03 08:58:59 +00:00
const tmp6 = <LayerScope>{null}</LayerScope>;
cResult[0] = children;
cResult[1] = tmp4;
cResult[2] = stickyHeader;
cResult[3] = style;
cResult[4] = tmp6;
tmp5 = tmp6;
2026-10-08 09:57:35 +00:00
}) : (function ChatViewWrapperBase(arg0) {
2026-10-03 08:58:59 +00:00
let channelId;
let children;
let stickyHeader;
let style;
({ channelId, children, stickyHeader, style } = arg0);
useChatViewPointerEventsDefault(channelId);
const LayerScope = LayerScope2.LayerScope;
return <LayerScope>{null}</LayerScope>;
});
const result = size.fileFinishedImporting("modules/chat/native/ChatViewWrapperBase.tsx");
2026-07-20 16:05:17 +00:00
2026-10-03 08:58:59 +00:00
export default tmp3;