decord/source/module_577.js

60 lines
1.5 KiB
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 577
// Function ID: 578
// Dependencies: [540, 574, 541, 575]
// Module 577
2026-08-24 06:08:38 +00:00
import getEvalledConstructor from "getEvalledConstructor" /* 540 */;
import callBoundIntrinsic from "callBoundIntrinsic" /* 574 */;
let tmp = getEvalledConstructor("%Map%", true);
let closure_2 = tmp;
let closure_3 = callBoundIntrinsic("Map.prototype.get", true);
let closure_4 = callBoundIntrinsic("Map.prototype.set", true);
let closure_5 = callBoundIntrinsic("Map.prototype.has", true);
let closure_6 = callBoundIntrinsic("Map.prototype.delete", true);
let closure_7 = callBoundIntrinsic("Map.prototype.size", true);
2026-07-29 08:29:29 +00:00
export default tmp && (function getSideChannelMap() {
const obj = {
assert(arg0) {
if (!obj.has(arg0)) {
2026-08-24 06:08:38 +00:00
let tmp3 = closure_1_0(obj[2]);
tmp3 = new tmp3("Side channel does not contain " + closure_1_0(obj[3])(arg0));
2026-07-29 08:29:29 +00:00
throw tmp3;
}
},
delete(arg0) {
if (c0) {
2026-08-24 06:08:38 +00:00
if (0 === closure_1_7(c0)) {
2026-07-29 08:29:29 +00:00
c0 = undefined;
}
2026-08-24 06:08:38 +00:00
return closure_1_6(tmp, arg0);
2026-07-29 08:29:29 +00:00
} else {
return false;
}
},
get(arg0) {
if (closure_0) {
2026-08-24 06:08:38 +00:00
return closure_1_3(tmp, arg0);
2026-07-29 08:29:29 +00:00
}
},
has(arg0) {
let tmp = closure_0;
if (tmp) {
2026-08-24 06:08:38 +00:00
tmp = closure_1_5(closure_0, arg0);
2026-07-29 08:29:29 +00:00
}
return tmp;
},
set(arg0, arg1) {
let tmp = closure_0;
if (!closure_0) {
2026-08-24 06:08:38 +00:00
const tmp5 = new closure_1_2();
2026-07-29 08:29:29 +00:00
closure_0 = tmp5;
tmp = tmp5;
}
2026-08-24 06:08:38 +00:00
closure_1_4(tmp, arg0, arg1);
2026-07-29 08:29:29 +00:00
}
};
return obj;
});