decord/source/__polyfill/12xxx/module_12966.js
github-actions 4f02868c60 chore: update source for alpha 346.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
2026-09-11 10:30:06 +00:00

35 lines
962 B
JavaScript

// Module ID: 12966
// Function ID: 12967
// Dependencies: [12898, 12919, 12948]
// Module 12966
import setupIntegration from "module_12948" /* 12948 */;
const weakMap = new WeakMap();
export const functionToStringIntegration = setupIntegration.defineIntegration(() => ({
name: "FunctionToString",
setupOnce() {
toString = Function.prototype.toString;
try {
const _Function = Function;
Function.prototype.toString = function() {
const items = [...arguments];
const originalFunction = closure_1_0(12898).getOriginalFunction(this);
const obj = closure_1_0(12898);
let self = this;
if (set.has(obj2.getClient())) {
self = this;
if (undefined !== originalFunction) {
self = originalFunction;
}
}
return toString.apply(self, items);
};
} catch (err) {
}
},
setup(arg0) {
const result = weakMap.set(arg0, true);
}
}));