//>>built define(["dojo/_base/kernel","dojo/_base/array","dojo/_base/declare","dojo/_base/lang","./_base"],function(b){b.experimental("dojox.timing.Sequence");return b.declare("dojox.timing.Sequence",null,{_goOnPause:0,_running:!1,constructor:function(){this._defsResolved=[]},go:function(c,a){this._running=!0;b.forEach(c,function(a){if(1=this._defsResolved.length)c(a.func);else if(a.pauseAfter)!1!==c(a.func)?setTimeout(b.hitch(this,"_go"),a.pauseAfter):this._goOnPause=a.pauseAfter;else if(a.pauseBefore){var d=b.hitch(this,function(){!1!==c(a.func)&&this._go()});setTimeout(d,a.pauseBefore)}else!1!== c(a.func)&&this._go()}},goOn:function(){this._goOnPause?(setTimeout(b.hitch(this,"_go"),this._goOnPause),this._goOnPause=0):this._go()},stop:function(){this._running=!1}})});