function kI(){if(sI(window)){if(gZ.K==null){return new gZ();}return gZ.K;}else{var b=Fm();return b.kI();}}function gZ(){this.o=false;this.q=false;this.h=0;this.d=null;this.B=null;gZ.K=this;}gZ.K=null;function q4(){return this.h++;}gZ.prototype.S=q4;function Rx(){return iL.N();}gZ.prototype.V=Rx;function FY(){if(iG()){return XL;}else{return iL.N();}}gZ.prototype.r=FY;function O5(b,V){var D=[];D=D.concat(iL.S());D=D.concat(iL.a());if(D.length==0){this.o=true;if(b){b();}return ;}this.d=b;this.B=V;this.q=true;ZD.Pb(D,true,ps(this,this.e),ps(this,this.D));}gZ.prototype.l=O5;function FM(){var b=[];b=b.concat(iL.S());b=b.concat(iL.a());for(var V=0,len=b.length;V<len;V++){var D=b[V];D.Z(true,null,ps(this,this.N),ps(this,this.H));}}gZ.prototype.e=FM;function Rh(){this.o=false;this.q=false;if(this.B){this.B();}}gZ.prototype.D=Rh;function Rf(){var b=[];b=b.concat(iL.S());b=b.concat(iL.a());for(var V=0,len=b.length;V<len;V++){var D=b[V];if(!D.A()){return ;}}this.o=true;this.q=false;if(this.d){this.d();}}gZ.prototype.N=Rf;function zn(){this.o=false;this.q=false;if(this.B){this.B();}}gZ.prototype.H=zn;function tQ(V){function D(b,N){var p=b.Ws();var B=N.Ws();return SX(p,B);}var r=new Date();r.setHours(0,0,0,0);var H=r.clone();H.setDate(H.getDate()+V);var S=[];var h=(new Date()).getTime();var l=iL.S();for(var o=0,len=l.length;o<len;o++){var q=l[o];if(q.rl()){continue;}var e=q.jU(r,H);for(var d=e.length;--d>=0;){var f=e[d];if(f.h8().getTime()<h){e=IZ.e(e,d);}}S=S.concat(e);}S.sort(D);return S;}gZ.prototype.b=tQ;function si(b,V){function D(o,q){var e=o.Ws();var d=q.Ws();return SX(e,d);}var r=[];var H=iL.S();for(var S=0,len=H.length;S<len;S++){var h=H[S];if(h.rl()){continue;}var l=h.jU(b,V);r=r.concat(l);}r.sort(D);return r;}gZ.prototype.p=si;function b5(){function b(f,B){var K=f.Ws();var C=B.Ws();return SX(K,C);}var V=[];var D=new Date();var r=iL.S();for(var H=0;H<r.length;H++){var S=r[H];var h=S.fT();for(var l=0;l<h.length;l++){var o=h[l];var q=o.vR();if(o.p4()==true){if(o.KK()==true&&q!=null&&q.getTime()<=D.getTime()){var e=o.nF();var d=e.b(q);if(d!=null){if(S6(d)){var N=o.oO(d);if(N!=null){IZ.b(V,N);}}else{if(o.l){o.q();}var p=o.Wa(d.V);IZ.b(V,p);}}}}else{if(o.KK()==true){if(q!=null){if(q.getTime()<=D.getTime()){IZ.b(V,o);}}else{if(o.Ws().getTime()-o.Mu()*Wx<=D.getTime()){IZ.b(V,o);}}}}}}V.sort(b);return V;}gZ.prototype.f=b5;function iK(){if(Hq){setTimeout("iK()",10000);return ;}else{if(sB.h!=null){var b;try{if(!sB.h.closed){setTimeout("iK()",10000);return ;}}catch(b){}}}var V=kI();var D=V.f();if(D==null||D.length==0){setTimeout("iK()",5*Wx);return ;}if(!br.Gs(D,true,v7,NZ)){setTimeout("iK()",5*Wx);}}function v7(b){DN();MK(b);}function NZ(){setTimeout("iK()",5*Wx);}