{"version":3,"sources":["../../src/lib/pretty-bytes.ts"],"names":["UNITS","toLocaleString","number","locale","result","prettyBytes","options","Number","isFinite","TypeError","Object","assign","signed","isNegative","prefix","numberString","exponent","Math","min","floor","log10","length","pow","toPrecision","unit"],"mappings":"AAAA;;;;;;;;;;AAUA,GAEA,MAAMA,QAAQ;IAAC;IAAK;IAAM;IAAM;IAAM;IAAM;IAAM;IAAM;IAAM;CAAK;AAEnE;;;;;AAKA,GACA,MAAMC,iBAAiB,CAACC,QAAgBC;IACtC,IAAIC,SAAcF;IAClB,IAAI,OAAOC,WAAW,UAAU;QAC9BC,SAASF,OAAOD,cAAc,CAACE;IACjC,OAAO,IAAIA,WAAW,MAAM;QAC1BC,SAASF,OAAOD,cAAc;IAChC;IAEA,OAAOG;AACT;AAEA,eAAe,SAASC,YAAYH,MAAc,EAAEI,OAAa;IAC/D,IAAI,CAACC,OAAOC,QAAQ,CAACN,SAAS;QAC5B,MAAM,IAAIO,UACR,CAAC,8BAA8B,EAAE,OAAOP,OAAO,EAAE,EAAEA,OAAO,CAAC;IAE/D;IAEAI,UAAUI,OAAOC,MAAM,CAAC,CAAC,GAAGL;IAE5B,IAAIA,QAAQM,MAAM,IAAIV,WAAW,GAAG;QAClC,OAAO;IACT;IAEA,MAAMW,aAAaX,SAAS;IAC5B,MAAMY,SAASD,aAAa,MAAMP,QAAQM,MAAM,GAAG,MAAM;IAEzD,IAAIC,YAAY;QACdX,SAAS,CAACA;IACZ;IAEA,IAAIA,SAAS,GAAG;QACd,MAAMa,eAAed,eAAeC,QAAQI,QAAQH,MAAM;QAC1D,OAAOW,SAASC,eAAe;IACjC;IAEA,MAAMC,WAAWC,KAAKC,GAAG,CACvBD,KAAKE,KAAK,CAACF,KAAKG,KAAK,CAAClB,UAAU,IAChCF,MAAMqB,MAAM,GAAG;IAGjBnB,SAASK,OAAO,AAACL,CAAAA,SAASe,KAAKK,GAAG,CAAC,MAAMN,SAAQ,EAAGO,WAAW,CAAC;IAChE,MAAMR,eAAed,eAAeC,QAAQI,QAAQH,MAAM;IAE1D,MAAMqB,OAAOxB,KAAK,CAACgB,SAAS;IAE5B,OAAOF,SAASC,eAAe,MAAMS;AACvC"}