const t=r=>{if(r===null)return null;const e=Object.assign({},r);return Object.keys(e).forEach(n=>e[n]=typeof r[n]=="object"?t(r[n]):r[n]),Array.isArray(r)?(e.length=r.length,Array.from(e)):e};export{t as d};