class a{static filesize(e){return e<1024?e+" bytes":e<1024*1024?Math.round(e/1024)+" kB":e<1024*1024*1024?Math.round(e/1024/1024)+" MB":Math.round(e/1024/1024/1024)+" GB"}static addSpaceToCapitalisedPhrase(e){return e.replace(/([A-Z])/g," $1").trim()}static getTotalFileSize(e){let r=0;return e.forEach(t=>{r+=t.Size}),this.filesize(r)}}export{a as F};
