import { a as gt, b as I, r as T, S as Y, i as E, f as $t } from "./isObjectLike.z36Fu426.js";
function Pt() {
  this.__data__ = [], this.size = 0;
}
function _t(t, e) {
  return t === e || t !== t && e !== e;
}
function F(t, e) {
  for (var r = t.length; r--; )
    if (_t(t[r][0], e))
      return r;
  return -1;
}
var jt = Array.prototype, St = jt.splice;
function mt(t) {
  var e = this.__data__, r = F(e, t);
  if (r < 0)
    return !1;
  var n = e.length - 1;
  return r == n ? e.pop() : St.call(e, r, 1), --this.size, !0;
}
function Et(t) {
  var e = this.__data__, r = F(e, t);
  return r < 0 ? void 0 : e[r][1];
}
function xt(t) {
  return F(this.__data__, t) > -1;
}
function Ct(t, e) {
  var r = this.__data__, n = F(r, t);
  return n < 0 ? (++this.size, r.push([t, e])) : r[n][1] = e, this;
}
function y(t) {
  var e = -1, r = t == null ? 0 : t.length;
  for (this.clear(); ++e < r; ) {
    var n = t[e];
    this.set(n[0], n[1]);
  }
}
y.prototype.clear = Pt;
y.prototype.delete = mt;
y.prototype.get = Et;
y.prototype.has = xt;
y.prototype.set = Ct;
function It() {
  this.__data__ = new y(), this.size = 0;
}
function Mt(t) {
  var e = this.__data__, r = e.delete(t);
  return this.size = e.size, r;
}
function Lt(t) {
  return this.__data__.get(t);
}
function Dt(t) {
  return this.__data__.has(t);
}
var Rt = "[object AsyncFunction]", Ut = "[object Function]", Ft = "[object GeneratorFunction]", Gt = "[object Proxy]";
function ht(t) {
  if (!gt(t))
    return !1;
  var e = I(t);
  return e == Ut || e == Ft || e == Rt || e == Gt;
}
var z = T["__core-js_shared__"], Z = function() {
  var t = /[^.]+$/.exec(z && z.keys && z.keys.IE_PROTO || "");
  return t ? "Symbol(src)_1." + t : "";
}();
function zt(t) {
  return !!Z && Z in t;
}
var Bt = Function.prototype, Ht = Bt.toString;
function P(t) {
  if (t != null) {
    try {
      return Ht.call(t);
    } catch {
    }
    try {
      return t + "";
    } catch {
    }
  }
  return "";
}
var Nt = /[\\^$.*+?()[\]{}|]/g, Kt = /^\[object .+?Constructor\]$/, qt = Function.prototype, Wt = Object.prototype, Xt = qt.toString, Jt = Wt.hasOwnProperty, Yt = RegExp(
  "^" + Xt.call(Jt).replace(Nt, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
);
function Zt(t) {
  if (!gt(t) || zt(t))
    return !1;
  var e = ht(t) ? Yt : Kt;
  return e.test(P(t));
}
function Qt(t, e) {
  return t?.[e];
}
function S(t, e) {
  var r = Qt(t, e);
  return Zt(r) ? r : void 0;
}
var x = S(T, "Map"), C = S(Object, "create");
function Vt() {
  this.__data__ = C ? C(null) : {}, this.size = 0;
}
function kt(t) {
  var e = this.has(t) && delete this.__data__[t];
  return this.size -= e ? 1 : 0, e;
}
var te = "__lodash_hash_undefined__", ee = Object.prototype, re = ee.hasOwnProperty;
function ne(t) {
  var e = this.__data__;
  if (C) {
    var r = e[t];
    return r === te ? void 0 : r;
  }
  return re.call(e, t) ? e[t] : void 0;
}
var ae = Object.prototype, se = ae.hasOwnProperty;
function ie(t) {
  var e = this.__data__;
  return C ? e[t] !== void 0 : se.call(e, t);
}
var oe = "__lodash_hash_undefined__";
function ue(t, e) {
  var r = this.__data__;
  return this.size += this.has(t) ? 0 : 1, r[t] = C && e === void 0 ? oe : e, this;
}
function $(t) {
  var e = -1, r = t == null ? 0 : t.length;
  for (this.clear(); ++e < r; ) {
    var n = t[e];
    this.set(n[0], n[1]);
  }
}
$.prototype.clear = Vt;
$.prototype.delete = kt;
$.prototype.get = ne;
$.prototype.has = ie;
$.prototype.set = ue;
function fe() {
  this.size = 0, this.__data__ = {
    hash: new $(),
    map: new (x || y)(),
    string: new $()
  };
}
function ce(t) {
  var e = typeof t;
  return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
}
function G(t, e) {
  var r = t.__data__;
  return ce(e) ? r[typeof e == "string" ? "string" : "hash"] : r.map;
}
function pe(t) {
  var e = G(this, t).delete(t);
  return this.size -= e ? 1 : 0, e;
}
function le(t) {
  return G(this, t).get(t);
}
function de(t) {
  return G(this, t).has(t);
}
function ge(t, e) {
  var r = G(this, t), n = r.size;
  return r.set(t, e), this.size += r.size == n ? 0 : 1, this;
}
function j(t) {
  var e = -1, r = t == null ? 0 : t.length;
  for (this.clear(); ++e < r; ) {
    var n = t[e];
    this.set(n[0], n[1]);
  }
}
j.prototype.clear = fe;
j.prototype.delete = pe;
j.prototype.get = le;
j.prototype.has = de;
j.prototype.set = ge;
var _e = 200;
function he(t, e) {
  var r = this.__data__;
  if (r instanceof y) {
    var n = r.__data__;
    if (!x || n.length < _e - 1)
      return n.push([t, e]), this.size = ++r.size, this;
    r = this.__data__ = new j(n);
  }
  return r.set(t, e), this.size = r.size, this;
}
function A(t) {
  var e = this.__data__ = new y(t);
  this.size = e.size;
}
A.prototype.clear = It;
A.prototype.delete = Mt;
A.prototype.get = Lt;
A.prototype.has = Dt;
A.prototype.set = he;
var ye = "__lodash_hash_undefined__";
function ve(t) {
  return this.__data__.set(t, ye), this;
}
function be(t) {
  return this.__data__.has(t);
}
function R(t) {
  var e = -1, r = t == null ? 0 : t.length;
  for (this.__data__ = new j(); ++e < r; )
    this.add(t[e]);
}
R.prototype.add = R.prototype.push = ve;
R.prototype.has = be;
function Ae(t, e) {
  for (var r = -1, n = t == null ? 0 : t.length; ++r < n; )
    if (e(t[r], r, t))
      return !0;
  return !1;
}
function Te(t, e) {
  return t.has(e);
}
var we = 1, Oe = 2;
function yt(t, e, r, n, i, a) {
  var u = r & we, f = t.length, c = e.length;
  if (f != c && !(u && c > f))
    return !1;
  var s = a.get(t), d = a.get(e);
  if (s && d)
    return s == e && d == t;
  var l = -1, p = !0, h = r & Oe ? new R() : void 0;
  for (a.set(t, e), a.set(e, t); ++l < f; ) {
    var g = t[l], _ = e[l];
    if (n)
      var v = u ? n(_, g, l, e, t, a) : n(g, _, l, t, e, a);
    if (v !== void 0) {
      if (v)
        continue;
      p = !1;
      break;
    }
    if (h) {
      if (!Ae(e, function(w, O) {
        if (!Te(h, O) && (g === w || i(g, w, r, n, a)))
          return h.push(O);
      })) {
        p = !1;
        break;
      }
    } else if (!(g === _ || i(g, _, r, n, a))) {
      p = !1;
      break;
    }
  }
  return a.delete(t), a.delete(e), p;
}
var Q = T.Uint8Array;
function $e(t) {
  var e = -1, r = Array(t.size);
  return t.forEach(function(n, i) {
    r[++e] = [i, n];
  }), r;
}
function Pe(t) {
  var e = -1, r = Array(t.size);
  return t.forEach(function(n) {
    r[++e] = n;
  }), r;
}
var je = 1, Se = 2, me = "[object Boolean]", Ee = "[object Date]", xe = "[object Error]", Ce = "[object Map]", Ie = "[object Number]", Me = "[object RegExp]", Le = "[object Set]", De = "[object String]", Re = "[object Symbol]", Ue = "[object ArrayBuffer]", Fe = "[object DataView]", V = Y ? Y.prototype : void 0, B = V ? V.valueOf : void 0;
function Ge(t, e, r, n, i, a, u) {
  switch (r) {
    case Fe:
      if (t.byteLength != e.byteLength || t.byteOffset != e.byteOffset)
        return !1;
      t = t.buffer, e = e.buffer;
    case Ue:
      return !(t.byteLength != e.byteLength || !a(new Q(t), new Q(e)));
    case me:
    case Ee:
    case Ie:
      return _t(+t, +e);
    case xe:
      return t.name == e.name && t.message == e.message;
    case Me:
    case De:
      return t == e + "";
    case Ce:
      var f = $e;
    case Le:
      var c = n & je;
      if (f || (f = Pe), t.size != e.size && !c)
        return !1;
      var s = u.get(t);
      if (s)
        return s == e;
      n |= Se, u.set(t, e);
      var d = yt(f(t), f(e), n, i, a, u);
      return u.delete(t), d;
    case Re:
      if (B)
        return B.call(t) == B.call(e);
  }
  return !1;
}
function ze(t, e) {
  for (var r = -1, n = e.length, i = t.length; ++r < n; )
    t[i + r] = e[r];
  return t;
}
var U = Array.isArray;
function Be(t, e, r) {
  var n = e(t);
  return U(t) ? n : ze(n, r(t));
}
function He(t, e) {
  for (var r = -1, n = t == null ? 0 : t.length, i = 0, a = []; ++r < n; ) {
    var u = t[r];
    e(u, r, t) && (a[i++] = u);
  }
  return a;
}
function Ne() {
  return [];
}
var Ke = Object.prototype, qe = Ke.propertyIsEnumerable, k = Object.getOwnPropertySymbols, We = k ? function(t) {
  return t == null ? [] : (t = Object(t), He(k(t), function(e) {
    return qe.call(t, e);
  }));
} : Ne;
function Xe(t, e) {
  for (var r = -1, n = Array(t); ++r < t; )
    n[r] = e(r);
  return n;
}
var Je = "[object Arguments]";
function tt(t) {
  return E(t) && I(t) == Je;
}
var vt = Object.prototype, Ye = vt.hasOwnProperty, Ze = vt.propertyIsEnumerable, Qe = tt(/* @__PURE__ */ function() {
  return arguments;
}()) ? tt : function(t) {
  return E(t) && Ye.call(t, "callee") && !Ze.call(t, "callee");
};
function Ve() {
  return !1;
}
var bt = typeof exports == "object" && exports && !exports.nodeType && exports, et = bt && typeof module == "object" && module && !module.nodeType && module, ke = et && et.exports === bt, rt = ke ? T.Buffer : void 0, tr = rt ? rt.isBuffer : void 0, N = tr || Ve, er = 9007199254740991, rr = /^(?:0|[1-9]\d*)$/;
function nr(t, e) {
  var r = typeof t;
  return e = e ?? er, !!e && (r == "number" || r != "symbol" && rr.test(t)) && t > -1 && t % 1 == 0 && t < e;
}
var ar = 9007199254740991;
function At(t) {
  return typeof t == "number" && t > -1 && t % 1 == 0 && t <= ar;
}
var sr = "[object Arguments]", ir = "[object Array]", or = "[object Boolean]", ur = "[object Date]", fr = "[object Error]", cr = "[object Function]", pr = "[object Map]", lr = "[object Number]", dr = "[object Object]", gr = "[object RegExp]", _r = "[object Set]", hr = "[object String]", yr = "[object WeakMap]", vr = "[object ArrayBuffer]", br = "[object DataView]", Ar = "[object Float32Array]", Tr = "[object Float64Array]", wr = "[object Int8Array]", Or = "[object Int16Array]", $r = "[object Int32Array]", Pr = "[object Uint8Array]", jr = "[object Uint8ClampedArray]", Sr = "[object Uint16Array]", mr = "[object Uint32Array]", o = {};
o[Ar] = o[Tr] = o[wr] = o[Or] = o[$r] = o[Pr] = o[jr] = o[Sr] = o[mr] = !0;
o[sr] = o[ir] = o[vr] = o[or] = o[br] = o[ur] = o[fr] = o[cr] = o[pr] = o[lr] = o[dr] = o[gr] = o[_r] = o[hr] = o[yr] = !1;
function Er(t) {
  return E(t) && At(t.length) && !!o[I(t)];
}
function xr(t) {
  return function(e) {
    return t(e);
  };
}
var Tt = typeof exports == "object" && exports && !exports.nodeType && exports, m = Tt && typeof module == "object" && module && !module.nodeType && module, Cr = m && m.exports === Tt, H = Cr && $t.process, nt = function() {
  try {
    var t = m && m.require && m.require("util").types;
    return t || H && H.binding && H.binding("util");
  } catch {
  }
}(), at = nt && nt.isTypedArray, wt = at ? xr(at) : Er, Ir = Object.prototype, Mr = Ir.hasOwnProperty;
function Lr(t, e) {
  var r = U(t), n = !r && Qe(t), i = !r && !n && N(t), a = !r && !n && !i && wt(t), u = r || n || i || a, f = u ? Xe(t.length, String) : [], c = f.length;
  for (var s in t)
    (e || Mr.call(t, s)) && !(u && // Safari 9 has enumerable `arguments.length` in strict mode.
    (s == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
    i && (s == "offset" || s == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
    a && (s == "buffer" || s == "byteLength" || s == "byteOffset") || // Skip index properties.
    nr(s, c))) && f.push(s);
  return f;
}
var Dr = Object.prototype;
function Rr(t) {
  var e = t && t.constructor, r = typeof e == "function" && e.prototype || Dr;
  return t === r;
}
function Ur(t, e) {
  return function(r) {
    return t(e(r));
  };
}
var Fr = Ur(Object.keys, Object), Gr = Object.prototype, zr = Gr.hasOwnProperty;
function Br(t) {
  if (!Rr(t))
    return Fr(t);
  var e = [];
  for (var r in Object(t))
    zr.call(t, r) && r != "constructor" && e.push(r);
  return e;
}
function Hr(t) {
  return t != null && At(t.length) && !ht(t);
}
function Nr(t) {
  return Hr(t) ? Lr(t) : Br(t);
}
function st(t) {
  return Be(t, Nr, We);
}
var Kr = 1, qr = Object.prototype, Wr = qr.hasOwnProperty;
function Xr(t, e, r, n, i, a) {
  var u = r & Kr, f = st(t), c = f.length, s = st(e), d = s.length;
  if (c != d && !u)
    return !1;
  for (var l = c; l--; ) {
    var p = f[l];
    if (!(u ? p in e : Wr.call(e, p)))
      return !1;
  }
  var h = a.get(t), g = a.get(e);
  if (h && g)
    return h == e && g == t;
  var _ = !0;
  a.set(t, e), a.set(e, t);
  for (var v = u; ++l < c; ) {
    p = f[l];
    var w = t[p], O = e[p];
    if (n)
      var J = u ? n(O, w, p, e, t, a) : n(w, O, p, t, e, a);
    if (!(J === void 0 ? w === O || i(w, O, r, n, a) : J)) {
      _ = !1;
      break;
    }
    v || (v = p == "constructor");
  }
  if (_ && !v) {
    var M = t.constructor, L = e.constructor;
    M != L && "constructor" in t && "constructor" in e && !(typeof M == "function" && M instanceof M && typeof L == "function" && L instanceof L) && (_ = !1);
  }
  return a.delete(t), a.delete(e), _;
}
var K = S(T, "DataView"), q = S(T, "Promise"), W = S(T, "Set"), X = S(T, "WeakMap"), it = "[object Map]", Jr = "[object Object]", ot = "[object Promise]", ut = "[object Set]", ft = "[object WeakMap]", ct = "[object DataView]", Yr = P(K), Zr = P(x), Qr = P(q), Vr = P(W), kr = P(X), b = I;
(K && b(new K(new ArrayBuffer(1))) != ct || x && b(new x()) != it || q && b(q.resolve()) != ot || W && b(new W()) != ut || X && b(new X()) != ft) && (b = function(t) {
  var e = I(t), r = e == Jr ? t.constructor : void 0, n = r ? P(r) : "";
  if (n)
    switch (n) {
      case Yr:
        return ct;
      case Zr:
        return it;
      case Qr:
        return ot;
      case Vr:
        return ut;
      case kr:
        return ft;
    }
  return e;
});
var tn = 1, pt = "[object Arguments]", lt = "[object Array]", D = "[object Object]", en = Object.prototype, dt = en.hasOwnProperty;
function rn(t, e, r, n, i, a) {
  var u = U(t), f = U(e), c = u ? lt : b(t), s = f ? lt : b(e);
  c = c == pt ? D : c, s = s == pt ? D : s;
  var d = c == D, l = s == D, p = c == s;
  if (p && N(t)) {
    if (!N(e))
      return !1;
    u = !0, d = !1;
  }
  if (p && !d)
    return a || (a = new A()), u || wt(t) ? yt(t, e, r, n, i, a) : Ge(t, e, c, r, n, i, a);
  if (!(r & tn)) {
    var h = d && dt.call(t, "__wrapped__"), g = l && dt.call(e, "__wrapped__");
    if (h || g) {
      var _ = h ? t.value() : t, v = g ? e.value() : e;
      return a || (a = new A()), i(_, v, r, n, a);
    }
  }
  return p ? (a || (a = new A()), Xr(t, e, r, n, i, a)) : !1;
}
function Ot(t, e, r, n, i) {
  return t === e ? !0 : t == null || e == null || !E(t) && !E(e) ? t !== t && e !== e : rn(t, e, r, n, Ot, i);
}
function nn(t, e) {
  return Ot(t, e);
}
function sn(t, e) {
  const r = {
    deepCompare: !1,
    waitUntilFirstUpdate: !1,
    ...e
  };
  return (n, i) => {
    const { update: a } = n, u = Array.isArray(t) ? t : [t];
    n.update = function(f) {
      u.forEach((c) => {
        const s = c;
        if (f.has(s)) {
          const d = f.get(s), l = this[s];
          (r.deepCompare ? !nn(d, l) : d !== l) && (!r.waitUntilFirstUpdate || this.hasUpdated) && this[i](
            d,
            l
          );
        }
      }), a.call(this, f);
    };
  };
}
export {
  wt as A,
  Br as B,
  ht as C,
  j as M,
  A as S,
  Q as U,
  At as a,
  Ot as b,
  nr as c,
  Qe as d,
  W as e,
  R as f,
  Te as g,
  Hr as h,
  U as i,
  S as j,
  Nr as k,
  xr as l,
  ze as m,
  He as n,
  _t as o,
  Rr as p,
  Lr as q,
  Ur as r,
  Pe as s,
  Ne as t,
  We as u,
  Be as v,
  sn as w,
  b as x,
  nt as y,
  N as z
};
