decord/source/__polyfill/00xxx/module_774.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

36 lines
1,021 B
JavaScript

// Module ID: 774
// Function ID: 775
// Dependencies: [687, 713, 752]
// Module 774
import setupIntegration from "setupIntegration" /* 752 */;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
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(687).getOriginalFunction(this);
const obj = closure_1_0(687);
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);
}
}));