zk.cpsp.SPush=zk.$extends(zk.Object,{start:function(s,t,i,n){this.desktop=s,this.min=0<t?t:1e3,this.max=0<i?i:15e3,this.factor=0<n?n:5;n=this.min/4;n<500&&(n=500),this.intv=setInterval(this.proxy(this._do),n)},stop:function(){clearInterval(this.intv),this.intv=null},_do:function(){var s,t,i,n,p;zAu.processing()||((s=!zAu.doneTime)||(i=((t=zAu.doneTime||0)-(zAu.sentTime||0))*this.factor,n=this.max,p=this.min,n<i?i=n:(isNaN(i)||i<p)&&(i=p),s=jq.now()>t+i),s&&zAu.send(new zk.Event(this.desktop,"dummy",null,{ignorable:!0,rtags:{isDummy:!0}})))}}),zk.cpsp.start=function(s,t,i,n){s=zk.Desktop.$(s);s._cpsp&&s._cpsp.stop(),(s._cpsp=new zk.cpsp.SPush).start(s,t,i,n)},zk.cpsp.stop=function(s){s=zk.Desktop.$(s);s&&s._cpsp&&(s._cpsp.stop(),s._cpsp=null)};