function c(i) {
  var t = i && i.pop ? [] : {};
  for (var r in i)
    t[r] = i[r];
  return t;
}
function f(i, t, r) {
  t.split && (t = t.split("."));
  for (var u = c(i), p = u, o = 0, a = t.length; o < a; o++)
    p = p[t[o]] = o === a - 1 ? r && r.call ? r(p[t[o]]) : r : c(p[t[o]]);
  return u;
}
export {
  f as default
};
//# sourceMappingURL=clean-set.es.js.map
