decord/source/__polyfill/13xxx/module_13022.js
github-actions 03cf168fbc chore: update source for alpha 347.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4825.js (118.4 MB)
2026-09-17 08:17:09 +00:00

35 lines
962 B
JavaScript

// Module ID: 13022
// Function ID: 13023
// Dependencies: [12954, 12975, 13004]
// Module 13022
import setupIntegration from "module_13004" /* 13004 */;
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(12954).getOriginalFunction(this);
const obj = closure_1_0(12954);
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);
}
}));