decord/source/__polyfill/04xxx/module_4884.js
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

31 lines
976 B
JavaScript

// Module ID: 4884
// Function ID: 4885
// Dependencies: [4882, 1455, 1281, 4885, 4888, 4891, 4958]
// Module 4884
import _mod1281 from "module_1281" /* 1281 */;
import requirePromise from "requirePromise" /* 4882 */;
import callBind_mod from "callBind" /* 1455 */;
requirePromise();
let callBind = callBind_mod;
let closure_2 = callBind(_mod1281("%Promise.all%"));
let callBind = callBind_mod;
let closure_3 = callBind(_mod1281("%Promise.reject%"));
export default function allSettled(arg0) {
const self = this;
if ("Object" !== self(4885)(this)) {
const _TypeError = TypeError;
const typeError = new TypeError("`this` value must be an object");
throw typeError;
} else {
return closure_2(this, tmp(4891)(tmp(4888)(arg0), (arg0) => {
try {
return promise.then((value) => ({ status: "fulfilled", value }), (reason) => ({ status: "rejected", reason }));
} catch (tmp3) {
return closure_3(tmp, tmp3);
}
}));
}
};