decord/source/1043_getNavigationEntry.js

34 lines
782 B
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 1043
// Function ID: 1044
// Name: getNavigationEntry
// Dependencies: [1039]
// Module 1043 (getNavigationEntry)
2026-08-24 06:08:38 +00:00
import WINDOW from "WINDOW" /* 1039 */;
require = arg1;
2026-07-29 08:29:29 +00:00
const dependencyMap = arg6;
Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" });
arg5.getNavigationEntry = () => {
let flag = arg0;
if (arg0 === undefined) {
flag = true;
}
2026-08-24 06:08:38 +00:00
const _performance = WINDOW.WINDOW.performance;
2026-07-29 08:29:29 +00:00
let first;
if (_performance != null) {
const getEntriesByType = _performance.getEntriesByType;
if (getEntriesByType != null) {
first = getEntriesByType("navigation")[0];
}
}
if (flag) {
if (first) {
if (first.responseStart > 0) {
const _performance2 = performance;
}
}
}
return first;
};