2026-07-25 08:10:48 +00:00
|
|
|
// Module ID: 13196
|
|
|
|
|
// Function ID: 101656
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getInternalSlots
|
|
|
|
|
// Dependencies: []
|
|
|
|
|
|
2026-07-25 08:10:48 +00:00
|
|
|
// Module 13196 (getInternalSlots)
|
2026-07-20 16:05:17 +00:00
|
|
|
arg5.default = function getInternalSlots(arg0) {
|
|
|
|
|
let items = arg1;
|
|
|
|
|
if (undefined === arg1) {
|
|
|
|
|
items = [];
|
|
|
|
|
}
|
|
|
|
|
let value = weakMap.get(arg0);
|
|
|
|
|
if (!value) {
|
|
|
|
|
const _Object = Object;
|
|
|
|
|
const obj = Object.create(null, items.reduce((arg0, arg1) => {
|
2026-07-23 10:11:24 +00:00
|
|
|
arg0[arg1] = { enumerable: false, writable: true, configurable: true };
|
2026-07-20 16:05:17 +00:00
|
|
|
return arg0;
|
|
|
|
|
}, {}));
|
|
|
|
|
const result = weakMap.set(arg0, obj);
|
|
|
|
|
value = obj;
|
|
|
|
|
}
|
|
|
|
|
return value;
|
|
|
|
|
};
|
|
|
|
|
const weakMap = new WeakMap();
|