decord/source/874_set.js

31 lines
1,008 B
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 874
2026-07-25 08:10:48 +00:00
// Function ID: 9740
2026-07-20 16:05:17 +00:00
// Name: set
2026-07-23 10:11:24 +00:00
// Dependencies: [800, 801]
2026-07-20 16:05:17 +00:00
// Module 874 (set)
2026-07-23 10:11:24 +00:00
const require = arg1;
const dependencyMap = arg6;
2026-07-20 16:05:17 +00:00
Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" });
const set = new Set();
arg5._INTERNAL_clearAiProviderSkips = function _INTERNAL_clearAiProviderSkips() {
set.clear();
2026-07-23 10:11:24 +00:00
if (require(800).DEBUG_BUILD) {
const debug = require(801) /* consoleSandbox */.debug;
2026-07-20 16:05:17 +00:00
debug.log("Cleared AI provider skip registrations");
}
};
arg5._INTERNAL_shouldSkipAiProviderWrapping = function _INTERNAL_shouldSkipAiProviderWrapping(arg0) {
return set.has(arg0);
};
arg5._INTERNAL_skipAiProviderWrapping = function _INTERNAL_skipAiProviderWrapping(arr) {
const item = arr.forEach((arg0) => {
2026-07-23 10:11:24 +00:00
outer1_2.add(arg0);
if (outer1_0(outer1_1[0]).DEBUG_BUILD) {
const debug = outer1_0(outer1_1[1]).debug;
2026-07-20 16:05:17 +00:00
const _HermesInternal = HermesInternal;
debug.log("AI provider \"" + arg0 + "\" wrapping will be skipped");
}
});
};