zk.fmt.Text={format:function(r){for(var t,s,e=0,a="",n=0,i=r.length;n<i;++n)if("\\"==(t=r.charAt(n))){if(++n>=i)break;switch(a+=r.substring(e,n),t=r.charAt(n)){case"n":t="\n";break;case"t":t="\t";break;case"r":t="\r"}a+=t,e=n+1}else if("{"==t){if((s=r.indexOf("}",n+1))<0)break;a+=r.substring(e,n)+arguments[zk.parseInt(r.substring(n+1,s))+1],e=n=s+1}return a&&(a+=r.substring(e)),a||r},formatFileSize:function(r){var t=1024;if(Math.abs(r)<t)return r+msgzk.BYTES;for(var s=[msgzk.KBYTES,msgzk.MBYTES,msgzk.GBYTES,msgzk.TBYTES],e=-1;r/=t,++e,Math.abs(r)>=t&&e<s.length-1;);return r.toFixed(1)+" "+s[e]}};