decord/source/module_5698.js

75 lines
2 KiB
JavaScript
Raw Normal View History

2026-08-04 08:36:32 +00:00
// Module ID: 5698
// Function ID: 5699
// Dependencies: [19, 21, 1584, 5699, 1481, 5700, 5674, 5701]
2026-07-23 10:11:24 +00:00
2026-08-04 08:36:32 +00:00
// Module 5698
2026-07-29 08:29:29 +00:00
import importAllResult from "noop";
2026-07-23 10:11:24 +00:00
import { jsx } from "jsxProd";
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
const require = arg1;
let c3 = importAllResult;
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default importAllResult.memo(function Header(navigation) {
let back;
let layout;
let options;
let progress;
let route;
let styleInterpolator;
({ back, options, route } = navigation);
navigation = navigation.navigation;
({ layout, progress, styleInterpolator } = navigation);
let obj = route(1584);
const safeAreaInsets = obj.useSafeAreaInsets();
if (undefined !== options.headerBackTitle) {
let headerBackTitle = options.headerBackTitle;
} else if (back) {
headerBackTitle = back.title;
}
const items = [navigation, route.key];
2026-08-04 08:36:32 +00:00
const callback = importAllResult.useCallback(navigation(5699)(() => {
2026-07-29 08:29:29 +00:00
let obj = navigation;
if (tmp) {
obj = {};
const StackActions = route(outer1_2[4]).StackActions;
const merged = Object.assign(StackActions.pop());
obj.source = route.key;
obj.dispatch(obj);
2026-07-22 07:54:56 +00:00
}
2026-07-29 08:29:29 +00:00
}, 50), items);
2026-08-04 08:36:32 +00:00
const context = importAllResult.useContext(navigation(5700));
2026-07-29 08:29:29 +00:00
if (undefined !== options.headerStatusBarHeight) {
let num = options.headerStatusBarHeight;
} else {
num = 0;
if (!context) {
num = 0;
if (!tmp7) {
num = safeAreaInsets.top;
}
2026-07-22 07:54:56 +00:00
}
}
2026-07-29 08:29:29 +00:00
obj = {};
let merged = Object.assign(options);
const tmp = route;
const tmp4 = navigation;
2026-08-04 08:36:32 +00:00
const tmp4Result = navigation(5701);
2026-07-29 08:29:29 +00:00
const tmp8 = jsx;
2026-08-04 08:36:32 +00:00
obj.title = route(5674).getHeaderTitle(options, route.name);
2026-07-29 08:29:29 +00:00
obj.progress = progress;
obj.layout = layout;
obj.modal = context;
if (undefined !== options.headerBackTitle) {
headerBackTitle = options.headerBackTitle;
}
obj.headerBackTitle = headerBackTitle;
obj.headerStatusBarHeight = num;
let tmp11;
if (back) {
tmp11 = callback;
}
obj.onGoBack = tmp11;
obj.styleInterpolator = styleInterpolator;
return tmp8(tmp4Result, obj);
2026-07-22 07:54:56 +00:00
});