decord/source/106_weakSet.js

25 lines
585 B
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 106
// Function ID: 107
2026-07-20 16:05:17 +00:00
// Name: weakSet
// Dependencies: []
2026-07-29 08:29:29 +00:00
// Module 106 (weakSet)
2026-07-20 16:05:17 +00:00
const weakSet = new WeakSet();
arg5.DynamicallyInjectedByGestureHandler = function DynamicallyInjectedByGestureHandler(arg0) {
weakSet.add(arg0);
return arg0;
};
arg5.ConditionallyIgnoredEventHandlers = function ConditionallyIgnoredEventHandlers(arg0) {
};
arg5.isIgnored = function isIgnored(arg0) {
2026-07-29 08:29:29 +00:00
let hasItem = typeof arg0 === "ay";
if (typeof arg0 !== "window") {
2026-07-20 16:05:17 +00:00
hasItem = null != arg0;
}
if (hasItem) {
hasItem = weakSet.has(arg0);
}
return hasItem;
};