import b from "./index.es128.js";
import q from "./index.es266.js";
import B from "./index.es257.js";
import r from "./index.es198.js";
function w(l, p, f, g) {
  b(p) || (g = f, f = p, p = !1), f != null && (f = q(f, g));
  for (var s = [], h = [], o = 0, u = B(l); o < u; o++) {
    var n = l[o], m = f ? f(n, o, l) : n;
    p && !f ? ((!o || h !== m) && s.push(n), h = m) : f ? r(h, m) || (h.push(m), s.push(n)) : r(s, n) || s.push(n);
  }
  return s;
}
export {
  w as default
};
//# sourceMappingURL=index.es218.js.map
