decord/source/__helpers/14xxx/14428__window.js
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

38 lines
954 B
JavaScript

// Module ID: 14428
// Function ID: 14429
// Name: _window
// Dependencies: []
// Module 14428 (_window)
arg5.start = undefined;
let _window = typeof window !== "undefined";
if (typeof window !== "undefined") {
_window = window;
}
if (_window) {
const _window2 = window;
let webkitPerformance = window.performance;
if (!webkitPerformance) {
const _window3 = window;
webkitPerformance = window.msPerformance;
}
if (!webkitPerformance) {
const _window4 = window;
webkitPerformance = window.webkitPerformance;
}
_window = webkitPerformance;
}
function performanceNow(arg0) {
return Date.now();
}
if (nativePerformanceNow.nativePerformanceNow) {
performanceNow = nativePerformanceNow.nativePerformanceNow;
} else if (_window) {
performanceNow = function performanceNow() {
return _window.now && _window.now();
};
}
arg5.start = () => {
closure_0 = performanceNow();
return () => closure_1_1() - closure_0;
};