decord/source/5696_useMappingHelper.js

25 lines
550 B
JavaScript
Raw Normal View History

2026-08-08 06:10:11 +00:00
// Module ID: 5696
// Function ID: 5697
2026-07-20 16:05:17 +00:00
// Name: useMappingHelper
2026-08-08 06:10:11 +00:00
// Dependencies: [19, 5648]
2026-07-20 16:05:17 +00:00
// Exports: useMappingHelper
2026-08-08 06:10:11 +00:00
// Module 5696 (useMappingHelper)
2026-07-29 08:29:29 +00:00
require("noop").useCallback;
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export const useMappingHelper = () => {
2026-08-08 06:10:11 +00:00
let obj = recyclerViewContext(5648);
2026-07-23 10:11:24 +00:00
recyclerViewContext = obj.useRecyclerViewContext();
2026-07-20 16:05:17 +00:00
obj = {
getMappingKey: useCallback((arg0, arg1) => {
let tmp = arg0;
if (recyclerViewContext) {
tmp = arg1;
}
return tmp;
}, items)
};
2026-07-23 10:11:24 +00:00
items = [recyclerViewContext];
2026-07-20 16:05:17 +00:00
return obj;
};