decord/source/__polyfill/12xxx/module_12901.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

35 lines
962 B
JavaScript

// Module ID: 12901
// Function ID: 12902
// Dependencies: [12833, 12854, 12883]
// Module 12901
import setupIntegration from "module_12883" /* 12883 */;
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(12833).getOriginalFunction(this);
const obj = closure_1_0(12833);
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);
}
}));