import { O as c } from "./install-BuMO14Rb.js";
var o = { exports: {} }, d = o.exports, p;
function x() {
  return p || (p = 1, (function(l, C) {
    (function(a, e, t) {
      l.exports = t();
    })("dcopy", d, function() {
      return function(e) {
        if (/number|string|boolean/.test(typeof e))
          return e;
        if (e instanceof Date)
          return new Date(e.getTime());
        var t = e instanceof Array ? [] : {};
        return i(e, t), t;
        function i(v, f) {
          for (var s in v) {
            var n = v[s];
            if (n instanceof Date) {
              var r = new Date(n.getTime());
              a(f, s, r);
            } else if (n instanceof Function) {
              var r = n;
              a(f, s, r);
            } else if (n instanceof Array) {
              var r = [], u = a(f, s, r);
              i(n, u);
            } else if (n instanceof Object) {
              var r = {}, u = a(f, s, r);
              i(n, u);
            } else {
              var r = n;
              a(f, s, r);
            }
          }
        }
      };
      function a(e, t, i) {
        if (e instanceof Array)
          return e.push(i), e[e.length - 1];
        if (e instanceof Object)
          return e[t] = i, e[t];
      }
    });
  })(o)), o.exports;
}
var m = x();
const h = /* @__PURE__ */ c(m);
export {
  h as d
};
