const e={Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array};function t(n){if(Array.isArray(n)){if(n.length<10)return[].concat(...n.map(t))}else if(typeof n==`object`)return`type`in n&&typeof n.type==`string`&&n.type.endsWith(`Array`)?(n.array=new e[n.type](n.array),[n.array.buffer]):[].concat(...Object.values(n).map(t));return[]}export{t};