YUI.add("axis-time-base",function(i,t){var s=i.Lang;function e(){}e.NAME="timeImpl",e.ATTRS={labelFormat:{value:"%b %d, %y"}},e.prototype={_type:"time",_maximumGetter:function(){var t=this._getNumber(this._setMaximum);return s.isNumber(t)||(t=this._getNumber(this.get("dataMaximum"))),parseFloat(t)},_maximumSetter:function(t){return this._setMaximum=this._getNumber(t),t},_minimumGetter:function(){var t=this._getNumber(this._setMinimum);return s.isNumber(t)||(t=this._getNumber(this.get("dataMinimum"))),parseFloat(t)},_minimumSetter:function(t){return this._setMinimum=this._getNumber(t),t},_getSetMax:function(){var t=this._getNumber(this._setMaximum);return s.isNumber(t)},_getSetMin:function(){var t=this._getNumber(this._setMinimum);return s.isNumber(t)},formatLabel:function(t,e){return t=i.DataType.Date.parse(t),e?i.DataType.Date.format(t,{format:e}):t},GUID:"yuitimeaxis",_dataType:"time",_getKeyArray:function(t,e){for(var i,a,m=[],r=0,u=e.length;r<u;++r)i=e[r][t],a=s.isDate(i)?i.valueOf():(a=new Date(i),s.isDate(a)?a.valueOf():s.isNumber(i)?i:s.isNumber(parseFloat(i))?parseFloat(i):new Date(i).valueOf()),m[r]=a;return m},_updateMinAndMax:function(){var t,e,i,a=this.get("data"),m=0,r=0;if(a&&a.length&&0<a.length&&(t=a.length,m=r=a[0],1<t))for(i=1;i<t;i++)e=a[i],isNaN(e)||(m=Math.max(e,m),r=Math.min(e,r));this._dataMaximum=m,this._dataMinimum=r},_getCoordFromValue:function(t,e,i,a,m){return(0,s.isNumber)(a=this._getNumber(a))?m+(a-t)*(i/(e-t)):NaN},_getNumber:function(t){return s.isDate(t)?t=t.valueOf():s.isNumber(t)||(t=t&&new Date(t).valueOf()),t}},i.TimeImpl=e,i.TimeAxisBase=i.Base.create("timeAxisBase",i.AxisBase,[i.TimeImpl])},"patched-v3.18.7",{requires:["axis-base"]});