35 lines
925 B
JavaScript
35 lines
925 B
JavaScript
// Module ID: 6445
|
|
// Function ID: 6446
|
|
// Name: weakMap
|
|
// Dependencies: [6377, 6398, 6427]
|
|
|
|
// Module 6445 (weakMap)
|
|
import setupIntegration from "setupIntegration";
|
|
|
|
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(6377).getOriginalFunction(this);
|
|
const obj = callback(6377);
|
|
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);
|
|
}
|
|
}));
|