import { f as x } from "./index.es385.js";
import { f as j } from "./index.es463.js";
import { i as L } from "./index.es536.js";
import { t as R } from "./index.es473.js";
import { l as g } from "./index.es455.js";
import { a as C } from "./index.es617.js";
var F = x, A = j, M = L, N = R, k = g, w = C, I = A([].push), e = function(r) {
  var f = r === 1, l = r === 2, p = r === 3, c = r === 4, s = r === 6, O = r === 7, S = r === 5 || s;
  return function(n, h, _, y) {
    for (var u = N(n), o = M(u), m = k(o), b = F(h, _), a = 0, d = y || w, i = f ? d(n, m) : l || O ? d(n, 0) : void 0, t, v; m > a; a++)
      if ((S || a in o) && (t = o[a], v = b(t, a, u), r))
        if (f)
          i[a] = v;
        else if (v)
          switch (r) {
            case 3:
              return !0;
            case 5:
              return t;
            case 6:
              return a;
            case 2:
              I(i, t);
          }
        else
          switch (r) {
            case 4:
              return !1;
            case 7:
              I(i, t);
          }
    return s ? -1 : p || c ? c : i;
  };
}, V = {
  // `Array.prototype.forEach` method
  // https://tc39.es/ecma262/#sec-array.prototype.foreach
  forEach: e(0),
  // `Array.prototype.map` method
  // https://tc39.es/ecma262/#sec-array.prototype.map
  map: e(1),
  // `Array.prototype.filter` method
  // https://tc39.es/ecma262/#sec-array.prototype.filter
  filter: e(2),
  // `Array.prototype.some` method
  // https://tc39.es/ecma262/#sec-array.prototype.some
  some: e(3),
  // `Array.prototype.every` method
  // https://tc39.es/ecma262/#sec-array.prototype.every
  every: e(4),
  // `Array.prototype.find` method
  // https://tc39.es/ecma262/#sec-array.prototype.find
  find: e(5),
  // `Array.prototype.findIndex` method
  // https://tc39.es/ecma262/#sec-array.prototype.findIndex
  findIndex: e(6),
  // `Array.prototype.filterReject` method
  // https://github.com/tc39/proposal-array-filtering
  filterReject: e(7)
};
export {
  V as a
};
//# sourceMappingURL=index.es563.js.map
