decord/source/1014_whenActivated.js

18 lines
488 B
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 1014
// Function ID: 11044
// Name: whenActivated
2026-07-21 06:55:02 +00:00
// Dependencies: []
2026-07-20 16:05:17 +00:00
// Module 1014 (whenActivated)
Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" });
arg5.whenActivated = function whenActivated(arg0) {
const arg1 = arg0;
const _document = arg1(arg6[0]).WINDOW.document;
if (null != _document) {
if (_document.prerendering) {
const listener = globalThis.addEventListener("prerenderingchange", () => arg0(), true);
}
}
arg0();
};