// numeral.js
// version : 1.0.0
// author : Adam Draper
// license : MIT
// https://github.com/adamwdraper/Numeral-js
(function(){function s(e){this._n=e}function o(e,t){var n=Math.pow(10,t);return(Math.round(e*n)/n).toFixed(t)}function u(e,t){var n;return t.indexOf("$")>-1?n=a(e,t):t.indexOf("%")>-1?n=f(e,t):t.indexOf(":")>-1?n=l(e,t):n=c(e,t),n}function a(e,t){t=t.replace("$","");var n=u(e,t);return n.indexOf("(")>-1||n.indexOf("-")>-1?(n=n.split(""),n.splice(1,0,"$"),n=n.join("")):n="$"+n,n}function f(e,t){t=t.replace("%",""),e._n=e._n*100;var n=u(e,t);return n.indexOf(")")>-1?(n=n.split(""),n.splice(-1,0,"%"),n=n.join("")):n+="%",n}function l(e,t){var n=Math.floor(e._n/60/60),r=Math.floor((e._n-n*60*60)/60),i=Math.round(e._n-n*60*60-r*60);return n+":"+(r<10?"0"+r:r)+":"+(i<10?"0"+i:i)}function c(e,t){var n=e._n.toString().split(".")[0],r=!1;t.indexOf("(")>-1&&(r=!0,t=t.slice(1,-1));var i=t.split(".")[1],s=t.indexOf(","),u="",a=!1;return e._n<0&&(n=n.slice(1),a=!0),s>-1&&(n=n.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")),t.indexOf(".")===0&&(n=""),i&&(u="."+o(e._n,i.length).split(".")[1]),(r?"(":"")+(!r&&a?"-":"")+n+u+(r?")":"")}var e,t="1.0.0",n=Math.round,r,i=typeof module!="undefined"&&module.exports;e=function(e){return Number(e)?new s(Number(e)):null},e.version=t,e.isNumeral=function(e){return e instanceof s},e.fn=s.prototype={clone:function(){return e(this)},format:function(t){return u(this,t?t:e.defaultFormat)},add:function(e){return this._n=this._n+Number(e),this},subtract:function(e){return this._n=this._n-Number(e),this},multiply:function(e){return this._n=this._n*Number(e),this},divide:function(e){return this._n=this._n/Number(e),this},difference:function(e){return this._n-Number(e)}},i&&(module.exports=e),typeof ender=="undefined"&&(this.numeral=e),typeof define=="function"&&define.amd&&define([],function(){return e})}).call(this);
@@ -271,17 +271,17 @@
 %22)%3E-1?n=
-a
+f
 (e,t):t.
@@ -290,33 +290,33 @@
 dexOf(%22%25%22)%3E-1?n=
-f
+l
 (e,t):t.indexOf(
@@ -329,17 +329,17 @@
 1?n=
-l
+c
 (e,t):n=
 c(e,
@@ -338,15 +338,169 @@
 ):n=
-c(e,t),
+p(e,t),n%7Dfunction a(e,t)%7Breturn t.indexOf(%22:%22)%3E-1?e._n=h(t):e._n=(t.indexOf(%22%25%22)%3E-1?.01:1)*Number((t.indexOf(%22(%22)%3E-1?%22-%22:%22%22)+t.replace(/%5C$%7C,%7C%25%7C%5C(%7C%5C)*/ig,%22%22)),e._
 n%7Dfu
@@ -502,25 +502,25 @@
 _n%7Dfunction 
-a
+f
 (e,t)%7Bt=t.re
@@ -648,33 +648,33 @@
 $%22+n,n%7Dfunction 
-f
+l
 (e,t)%7Bt=t.replac
@@ -797,25 +797,25 @@
 ,n%7Dfunction 
-l
+c
 (e,t)%7Bvar n=
@@ -949,33 +949,210 @@
 %22+i:i)%7Dfunction 
-c
+h(e)%7Bvar t=e.split(%22:%22),n=0;return t.length===3?(n+=Number(t%5B0%5D)*60*60,n+=Number(t%5B1%5D)*60,n+=Number(t%5B2%5D)):t.lenght===2&&(n+=Number(t%5B0%5D)*60,n+=Number(t%5B1%5D)),Number(n)%7Dfunction p
 (e,t)%7Bvar n=e._n
@@ -1588,17 +1588,24 @@
 umber(e)
-?
+%7C%7C(e=0),
 new s(Nu
@@ -1616,13 +1616,8 @@
 (e))
-:null
 %7D,e.
@@ -1779,16 +1779,153 @@
 ormat)%7D,
+unformat:function(t)%7Breturn a(this,t?t:e.defaultFormat)%7D,value:function()%7Breturn this._n%7D,set:function(e)%7Breturn this._n=Number(e),this%7D,
 add:func

update numeral js min