import { _ as R } from "./index.es352.js";
var L = R, S = 1, E = Object.prototype, F = E.hasOwnProperty;
function G(r, n, O, a, q, f) {
  var v = O & S, t = L(r), u = t.length, x = L(n), K = x.length;
  if (u != K && !v)
    return !1;
  for (var l = u; l--; ) {
    var i = t[l];
    if (!(v ? i in n : F.call(n, i)))
      return !1;
  }
  var _ = f.get(r), d = f.get(n);
  if (_ && d)
    return _ == n && d == r;
  var s = !0;
  f.set(r, n), f.set(n, r);
  for (var A = v; ++l < u; ) {
    i = t[l];
    var p = r[i], e = n[i];
    if (a)
      var w = v ? a(e, p, i, n, r, f) : a(p, e, i, r, n, f);
    if (!(w === void 0 ? p === e || q(p, e, O, a, f) : w)) {
      s = !1;
      break;
    }
    A || (A = i == "constructor");
  }
  if (s && !A) {
    var g = r.constructor, P = n.constructor;
    g != P && "constructor" in r && "constructor" in n && !(typeof g == "function" && g instanceof g && typeof P == "function" && P instanceof P) && (s = !1);
  }
  return f.delete(r), f.delete(n), s;
}
var M = G;
export {
  M as _
};
//# sourceMappingURL=index.es309.js.map
