import { _ as c } from "./index.es324.js";
import { f as C } from "./index.es372.js";
import { a as d } from "./index.es373.js";
import "./index.es325.js";
import { p as I } from "./index.es326.js";
import { i as _ } from "./index.es374.js";
import { p as S } from "./index.es375.js";
import { __exports as b } from "./index.es327.js";
var R = c, T = C, y = d, P = b, $ = I, j = _, x = S;
R({ target: "Promise", stat: !0, forced: x }, {
  allSettled: function(f) {
    var t = this, o = P.f(t), i = o.resolve, m = o.reject, s = $(function() {
      var v = y(t.resolve), r = [], p = 0, e = 1;
      j(f, function(u) {
        var n = p++, a = !1;
        e++, T(v, t, u).then(function(l) {
          a || (a = !0, r[n] = { status: "fulfilled", value: l }, --e || i(r));
        }, function(l) {
          a || (a = !0, r[n] = { status: "rejected", reason: l }, --e || i(r));
        });
      }), --e || i(r);
    });
    return s.error && m(s.value), o.promise;
  }
});
//# sourceMappingURL=index.es283.js.map
