import t from "./index.es39.js";
import "./index.es40.js";
import "./index.es41.js";
import "./index.es42.js";
import "./index.es43.js";
import "./index.es44.js";
import "./index.es45.js";
import "./index.es46.js";
import "./index.es47.js";
import "./index.es48.js";
import "./index.es49.js";
import "./index.es50.js";
import "./index.es51.js";
import "./index.es52.js";
import "./index.es53.js";
import "./index.es54.js";
import "./index.es55.js";
import "./index.es56.js";
import "./index.es57.js";
import "./index.es58.js";
import "./index.es59.js";
import "./index.es60.js";
import "./index.es61.js";
import "./index.es62.js";
import "./index.es63.js";
import "./index.es64.js";
import "./index.es65.js";
import "./index.es66.js";
const y = [
  "",
  null,
  void 0,
  [],
  {}
], E = {
  emptyValues: y,
  ignoreHtml: !0,
  ignoreWhitespace: !0,
  removeEmptyValues: !1
}, u = /(<([^>]+)>)/gi, a = /\s\s+/g, h = (e, r) => {
  const n = t.compact(r?.split("."));
  let i = e;
  return t.each(n, (s) => {
    t.isArray(i) ? i = t.map(i, (o) => t.get(o, s)) : i = t.get(i, s);
  }), i;
}, V = (e, r, n) => {
  const i = r.split("."), s = t.clone(e);
  let o = s;
  for (let p = 0; p < i.length; p += 1)
    p < i.length - 1 ? t.isArray(o[i[p]]) ? o = t.map(o, (c) => t.get(c, i[p])) : o = t.get(o, i[p]) : o[i[p]] = n;
  return s;
}, j = (e) => t.isObject(e) || t.isArray(e) ? t.isEmpty(e) : !e, g = (e, r, n = {}) => {
  const i = t.defaults(n, E);
  if (e === r || t.contains(i.emptyValues, e) && t.contains(i.emptyValues, r))
    return !0;
  if (t.isString(e) && t.isString(r)) {
    let s = e, o = r;
    if (i.ignoreWhitespace && (s = e.replace(a, " "), o = r.replace(a, " ")), i.ignoreHtml && (s = s.replace(u, ""), o = o.replace(u, "")), s === o)
      return !0;
  }
  if (t.isFunction(e) && t.isFunction(r) && e.toString() === r.toString())
    return !0;
  if (e !== null && typeof e == "object" && r !== null && typeof r == "object") {
    let s = e, o = r;
    i.removeEmptyValues && (s = t.omit(e, (m) => t.contains(i.emptyValues, m)), o = t.omit(r, (m) => t.contains(i.emptyValues, m)));
    const p = t.keys(s), c = t.keys(o);
    if (p.length !== c.length)
      return !1;
    let f = !0;
    return t.each(t.keys(s), (m) => {
      t.has(o, m) && g(s[m], o[m]) || (f = !1);
    }), !!f;
  }
  return !1;
}, S = (e) => !!e && typeof e == "object" && typeof e.then == "function", l = (e, r) => t.isArray(e) ? t.map(e, (n) => l(n, r)) : t.isObject(e) ? t.mapObject(t.omit(e, r), (n) => l(n, r)) : e, J = {
  getNestedValue: h,
  setNestedValue: V,
  isEmpty: j,
  isEqual: g,
  isPromise: S,
  without: l
};
export {
  J as default
};
//# sourceMappingURL=index.es33.js.map
