YUI.add("datasource-polling",function(a,t){function e(){this._intervals={}}e.prototype={_intervals:null,setInterval:function(t,e){t=a.later(t,this,this.sendRequest,[e],!0);return this._intervals[t.id]=t,a.later(0,this,this.sendRequest,[e]),t.id},clearInterval:function(t,e){this._intervals[t=e||t]&&(this._intervals[t].cancel(),delete this._intervals[t])},clearAllIntervals:function(){a.each(this._intervals,this.clearInterval,this)}},a.augment(a.DataSource.Local,e)},"patched-v3.18.7",{requires:["datasource-local"]});