decord/source/909_weakMap.js

37 lines
1,000 B
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 909
// Function ID: 910
// Name: weakMap
// Dependencies: [822, 848, 887]
// Module 909 (weakMap)
2026-08-24 06:08:38 +00:00
import setupIntegration from "setupIntegration" /* 887 */;
2026-07-29 08:29:29 +00:00
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const weakMap = new WeakMap();
export const functionToStringIntegration = setupIntegration.defineIntegration(() => ({
name: "FunctionToString",
setupOnce() {
try {
const _Function = Function;
Function.prototype.toString = function() {
const items = [...arguments];
const originalFunction = callback(822).getOriginalFunction(this);
const obj = callback(822);
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 = closure_3.set(arg0, true);
}
}));