decord/source/__polyfill/04xxx/module_4882.js
github-actions a36fe4ec9c chore: update source for alpha 347.0
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-14 20:04:03 +00:00

31 lines
976 B
JavaScript

// Module ID: 4882
// Function ID: 4883
// Dependencies: [4880, 1454, 1280, 4883, 4886, 4889, 4956]
// Module 4882
import _mod1280 from "module_1280" /* 1280 */;
import requirePromise from "requirePromise" /* 4880 */;
import callBind_mod from "callBind" /* 1454 */;
requirePromise();
let callBind = callBind_mod;
let closure_2 = callBind(_mod1280("%Promise.all%"));
let callBind = callBind_mod;
let closure_3 = callBind(_mod1280("%Promise.reject%"));
export default function allSettled(arg0) {
const self = this;
if ("Object" !== self(4883)(this)) {
const _TypeError = TypeError;
const typeError = new TypeError("`this` value must be an object");
throw typeError;
} else {
return closure_2(this, tmp(4889)(tmp(4886)(arg0), (arg0) => {
try {
return promise.then((value) => ({ status: "fulfilled", value }), (reason) => ({ status: "rejected", reason }));
} catch (tmp3) {
return closure_3(tmp, tmp3);
}
}));
}
};