decord/source/__polyfill/06xxx/module_6923.js
github-actions 4f02868c60 chore: update source for alpha 346.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
2026-09-11 10:30:06 +00:00

42 lines
1.7 KiB
JavaScript

// Module ID: 6923
// Function ID: 6924
// Dependencies: [109, 19, 21, 6924, 6921]
// Module 6923
import _objectWithoutProperties from "_objectWithoutProperties" /* 109 */;
import noop_mod from "module_19" /* 19 */;
let closure_2 = ["focusHook", "scrollEventsHandlersHook", "enableFooterMarginAdjustment"];
let noop = fn(19);
const forwardRef = noop.forwardRef;
({ useMemo: metroRequire, memo } = noop);
let noop = noop_mod;
const jsx = fn(21).jsx;
try {
const FlashList = fn(6924);
const memoResult = memo(forwardRef((focusHook, ref) => {
focusHook = focusHook.focusHook;
const scrollEventsHandlersHook = focusHook.scrollEventsHandlersHook;
const enableFooterMarginAdjustment = focusHook.enableFooterMarginAdjustment;
closure_6(() => {
if (!FlashList) {
throw "You need to install FlashList first, `yarn install @shopify/flash-list`";
}
}, []);
const items = [focusHook, scrollEventsHandlersHook, enableFooterMarginAdjustment];
const tmp = _objectWithoutProperties(focusHook, enableFooterMarginAdjustment);
let merged = Object.assign(tmp);
return <FlashList.FlashList ref={arg1} renderScrollComponent={closure_6(() => forwardRef((arg0, ref) => {
const merged = Object.assign(arg0, Object.assign({ data: 0 }));
const obj = { ref };
const merged1 = Object.assign(merged);
obj.focusHook = focusHook;
obj.scrollEventsHandlersHook = scrollEventsHandlersHook;
obj.enableFooterMarginAdjustment = enableFooterMarginAdjustment;
return jsx(focusHook(scrollEventsHandlersHook[4]), { ref });
}), items)} />;
}));
exports.default = memoResult;
exports.BottomSheetFlashList = memoResult;
} catch (err) {
}