AUI.add("liferay-storage-formatter",(a=>{const e=a.Lang,r=function StorageFormatter(){};r.NAME="storageformatter",r.ATTRS={addSpaceBeforeSuffix:{validator:e.isBoolean,value:!1},decimalSeparator:{validator:e.isString,value:"."},denominator:{validator:e.isNumber,value:1024},suffixGB:{validator:e.isString,value:"GB"},suffixKB:{validator:e.isString,value:"KB"},suffixMB:{validator:e.isString,value:"MB"}},r.prototype={formatStorage(a){const e=this,r=e.get("addSpaceBeforeSuffix"),t=e.get("decimalSeparator"),i=e.get("denominator"),o=e.get("suffixGB"),f=e.get("suffixKB"),u=e.get("suffixMB");return Liferay.Util.formatStorage(a,{addSpaceBeforeSuffix:r,decimalSeparator:t,denominator:i,suffixGB:o,suffixKB:f,suffixMB:u})}},Liferay.StorageFormatter=r}),"",{requires:["aui-base","datatype-number-format"]});
//# sourceMappingURL=storage_formatter.js.map