35 lines
925 B
JavaScript
35 lines
925 B
JavaScript
// Module ID: 7468
|
|
// Function ID: 7469
|
|
// Name: weakMap
|
|
// Dependencies: [7400, 7421, 7450]
|
|
|
|
// Module 7468 (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(7400).getOriginalFunction(this);
|
|
const obj = callback(7400);
|
|
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);
|
|
}
|
|
}));
|