decord/source/__polyfill/04xxx/module_4853.js
github-actions 4f02868c60 chore: update source for alpha 346.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
2026-09-11 10:30:06 +00:00

31 lines
976 B
JavaScript

// Module ID: 4853
// Function ID: 4854
// Dependencies: [4851, 1454, 1282, 4854, 4857, 4860, 4927]
// Module 4853
import _mod1282 from "module_1282" /* 1282 */;
import requirePromise from "requirePromise" /* 4851 */;
import callBind_mod from "callBind" /* 1454 */;
requirePromise();
let callBind = callBind_mod;
let closure_2 = callBind(_mod1282("%Promise.all%"));
let callBind = callBind_mod;
let closure_3 = callBind(_mod1282("%Promise.reject%"));
export default function allSettled(arg0) {
const self = this;
if ("Object" !== self(4854)(this)) {
const _TypeError = TypeError;
const typeError = new TypeError("`this` value must be an object");
throw typeError;
} else {
return closure_2(this, tmp(4860)(tmp(4857)(arg0), (arg0) => {
try {
return promise.then((value) => ({ status: "fulfilled", value }), (reason) => ({ status: "rejected", reason }));
} catch (tmp3) {
return closure_3(tmp, tmp3);
}
}));
}
};