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