Home | History | Annotate | Download | only in sqlite3

Lines Matching refs:Mp

7 |0;if(f)break;z=da(C|0,4,0,0)|0|0;y=g+-1|0;ea(z+36>>0|0,y>>>24|0,1,0);ea(z+37>>0|0,y>>>16|0,1,0);ea(z+38>>0|0,y>>>8|0,1,0);ea(z+39>>0|0,y|0,1,0);y=a+36|0;z=(d|0)==0;A=a+60|0;x=e<<24>>24==2;e=0;a:while(1){p=(e|0)!=0;if(p){o=da(e+56|0,4,0,0)|0|0;o=(da(o+1>>0|0,1,0,1)|0)<<16|(da(o>>0|0,1,0,1)|0)<<24|(da(o+2>>0|0,1,0,1)|0)<<8|(da(o+3>>0|0,1,0,1)|0)}else{o=da(C|0,4,0,0)|0|0;o=(da(o+33>>0|0,1,0,1)|0)<<16|(da(o+32>>0|0,1,0,1)|0)<<24|(da(o+34>>0|0,1,0,1)|0)<<8|(da(o+35>>0|0,1,0,1)|0)}if(o>>>0>B>>>0){w=15;break}f=cl(a,o,E,0)|0;if(f){w=17;break}g=da(E|0,4,0,0)|0|0;q=g+56|0;u=da(q|0,4,0,0)|0|0;v=u+4|0;r=u+5|0;s=u+6|0;t=u+7|0;w=(da(r>>0|0,1,0,1)|0)<<16|(da(v>>0|0,1,0,1)|0)<<24|(da(s>>0|0,1,0,1)|0)<<8|(da(t>>0|0,1,0,1)|0);f=k<<24>>24!=0;do if((w|0)!=0|f){if(w>>>0>(((da(y|0,4,0,0)|0|0)>>>2)+-2|0)>>>0){f=g;w=22;break a}if(k<<24>>24!=0?(o|0)==(d|0)|o>>>0<d>>>0&x:0){ea(c|0,o|0,4,0);ea(b|0,g|0,4,0);f=Fg(da(g+68|0,4,0,0)|0|0)|0;if(f){w=88;break a}do if(!w){if(!p){v=(da(C|0,4,0,0)|0|0)+32|0;w=da(q|0,4,0,0)|0|0;w=da(w>>0|0,1,0,1)|0|(da(w+1>>0|0,1,0,1)|0)<<8|(da(w+2>>0|0,1,0,1)|0)<<16|(da(w+3>>0|0,1,0,1)|0)<<24;ea(v>>0|0,w|0,1,0);ea(v+1>>0|0,w>>8|0,1,0);ea(v+2>>0|0,w>>16|0,1,0);ea(v+3>>0|0,w>>24|0,1,0);break}f=Fg(da(e+68|0,4,0,0)|0|0)|0;if(f){w=88;break a}v=da(e+56|0,4,0,0)|0|0;w=da(q|0,4,0,0)|0|0;w=da(w>>0|0,1,0,1)|0|(da(w+1>>0|0,1,0,1)|0)<<8|(da(w+2>>0|0,1,0,1)|0)<<16|(da(w+3>>0|0,1,0,1)|0)<<24;ea(v>>0|0,w|0,1,0);ea(v+1>>0|0,w>>8|0,1,0);ea(v+2>>0|0,w>>16|0,1,0);ea(v+3>>0|0,w>>24|0,1,0)}else{o=da(q|0,4,0,0)|0|0;l=da(o+8>>0|0,1,0,0)|0|0;m=da(o+9>>0|0,1,0,0)|0|0;n=da(o+10>>0|0,1,0,0)|0|0;o=da(o+11>>0|0,1,0,0)|0|0;k=(m&255)<<16|(l&255)<<24|(n&255)<<8|o&255;if(k>>>0>B>>>0){f=g;w=32;break a}f=cl(a,k,D,0)|0;if(f){w=88;break a}k=da(D|0,4,0,0)|0|0;h=k+68|0;f=Fg(da(h|0,4,0,0)|0|0)|0;if(f){w=35;break a}v=k+56|0;t=da(v|0,4,0,0)|0|0;u=da(q|0,4,0,0)|0|0;u=da(u>>0|0,1,0,1)|0|(da(u+1>>0|0,1,0,1)|0)<<8|(da(u+2>>0|0,1,0,1)|0)<<16|(da(u+3>>0|0,1,0,1)|0)<<24;ea(t>>0|0,u|0,1,0);ea(t+1>>0|0,u>>8|0,1,0);ea(t+2>>0|0,u>>16|0,1,0);ea(t+3>>0|0,u>>24|0,1,0);u=da(v|0,4,0,0)|0|0;w=w+-1|0;ea(u+4>>0|0,w>>>24|0,1,0);ea(u+5>>0|0,w>>>16|0,1,0);ea(u+6>>0|0,w>>>8|0,1,0);ea(u+7>>0|0,w|0,1,0);jw((da(v|0,4,0,0)|0|0)+8|0,(da(q|0,4,0,0)|0|0)+12|0,w<<2|0)|0;if(k)Ag(da(h|0,4,0,0)|0|0);if(!p){w=da(C|0,4,0,0)|0|0;ea(w+32>>0|0,l|0,1,0);ea(w+33>>0|0,m|0,1,0);ea(w+34>>0|0,n|0,1,0);ea(w+35>>0|0,o|0,1,0);break}f=Fg(da(e+68|0,4,0,0)|0|0)|0;if(f){w=88;break a}w=da(e+56|0,4,0,0)|0|0;ea(w>>0|0,l|0,1,0);ea(w+1>>0|0,m|0,1,0);ea(w+2>>0|0,n|0,1,0);ea(w+3>>0|0,o|0,1,0)}while(0);ea(E|0,0|0,4,0);g=0;f=0;k=0;break}if(w){b:do if(!z){if(x){h=0;while(1){q=h<<2;if(((da(u+(q+9)>>0|0,1,0,1)|0)<<16|(da(u+(q+8)>>0|0,1,0,1)|0)<<24|(da(u+(q+10)>>0|0,1,0,1)|0)<<8|(da(u+(q+11)>>0|0,1,0,1)|0))>>>0<=d>>>0)break b;h=h+1|0;if(h>>>0>=w>>>0){h=0;break b}}}h=((da(u+9>>0|0,1,0,1)|0)<<16|(da(u+8>>0|0,1,0,1)|0)<<24|(da(u+10>>0|0,1,0,1)|0)<<8|(da(u+11>>0|0,1,0,1)|0))-d|0;if((h|0)<=-1)h=(h|0)==-2147483648?2147483647:0-h|0;if(w>>>0>1){o=0;m=1;while(1){l=m<<2;l=((da(u+(l+9)>>0|0,1,0,1)|0)<<16|(da(u+(l+8)>>0|0,1,0,1)|0)<<24|(da(u+(l+10)>>0|0,1,0,1)|0)<<8|(da(u+(l+11)>>0|0,1,0,1)|0))-d|0;if((l|0)<=-1)l=(l|0)==-2147483648?2147483647:0-l|0;n=(l|0)<(h|0);o=n?m:o;m=m+1|0;if((m|0)==(w|0)){h=o;break}else h=n?l:h}}else h=0}else h=0;while(0);l=h<<2;o=u+(l+8)|0;l=(da(u+(l+9)>>0|0,1,0,1)|0)<<16|(da(o>>0|0,1,0,1)|0)<<24|(da(u+(l+10)>>0|0,1,0,1)|0)<<8|(da(u+(l+11)>>0|0,1,0,1)|0);if(l>>>0>B>>>0){f=g;w=56;break a}if((l|0)==(d|0)|f^1|l>>>0<d>>>0&x){ea(c|0,l|0,4,0);f=Fg(da(g+68|0,4,0,0)|0|0)|0;if(f){w=88;break a}k=w+-1|0;if(h>>>0<k>>>0){w=u+((w<<2)+4)|0;w=da(w>>0|0,1,0,1)|0|(da(w+1>>0|0,1,0,1)|0)<<8|(da(w+2>>0|0,1,0,1)|0)<<16|(da(w+3>>0|0,1,0,1)|0)<<24;ea(o>>0|0,w|0,1,0);ea(o+1>>0|0,w>>8|0,1,0);ea(o+2>>0|0,w>>16|0,1,0);ea(o+3>>0|0,w>>24|0,1,0)}ea(v>>0|0,k>>>24|0,1,0);ea(r>>0|0,k>>>16|0,1,0);ea(s>>0|0,k>>>8|0,1,0);ea(t>>0|0,k|0,1,0);h=da(c|0,4,0,0)|0|0;k=da(A|0,4,0,0)|0|0;do if(!k)k=0;else{if((da(k|0,4,0,0)|0|0)>>>0<h>>>0){k=1;break}k=(ci(k,h)|0)!=0}while(0);f=cl(a,h,b,k&1^1)|0;if(f){k=0;break}f=Fg(da((da(b|0,4,0,0)|0|0)+68|0,4,0,0)|0|0)|0;if(!f){f=0;k=0;break}k=da(b|0,4,0,0)|0|0;if(!k){k=0;break}Ag(da(k+68|0,4,0,0)|0|0);k=0}else f=0}else f=0}else{f=Fg(da(g+68|0,4,0,0)|0|0)|0;if(f){w=89;break a}ea(c|0,o|0,4,0);k=(da(C|0,4,0,0)|0|0)+32|0;f=da(q|0,4,0,0)|0|0;f=da(f>>0|0,1,0,1)|0|(da(f+1>>0|0,1,0,1)|0)<<8|(da(f+2>>0|0,1,0,1)|0)<<16|(da(f+3>>0|0,1,0,1)|0)<<24;ea(k>>0|0,f|0,1,0);ea(k+1>>0|0,f>>8|0,1,0);ea(k+2>>0|0,f>>16|0,1,0);ea(k+3>>0|0,f>>24|0,1,0);ea(b|0,g|0,4,0);ea(E|0,0|0,4,0);g=0;f=0;k=0}while(0);if(e)Ag(da(e+68|0,4,0,0)|0|0);if(!(k<<24>>24)){e=0;w=88;break}else e=g}if((w|0)==15){ea(F|0,58314|0,4,0);ea(F+4|0,10788|0,4,0);ad(11,13600,F);f=11;w=17}else if((w|0)==22){ea(F|0,58343|0,4,0);ea(F+4|0,10788|0,4,0);ad(11,13600,F);g=f;f=11;w=88}else if((w|0)==32){ea(F|0,58377|0,4,0);ea(F+4|0,10788|0,4,0);ad(11,13600,F);g=f;f=11;w=88}else if((w|0)==35)if(!k)w=88;else{Ag(da(h|0,4,0,0)|0|0);w=88}else if((w|0)==56){ea(F|0,58442|0,4,0);ea(F+4|0,10788|0,4,0);ad(11,13600,F);g=f;f=11;w=88}if((w|0)==17)ea(E|0,0|0,4,0);else if((w|0)==88)if(g)w=89;if((w|0)==89)Ag(da(g+68|0,4,0,0)|0|0);if(!e)w=92;else{Ag(da(e+68|0,4,0,0)|0|0);w=92}}if((w|0)==92?(f|0)!=0:0)w=98;if((w|0)==98){ea(b|0,0|0,4,0);break}f=da(b|0,4,0,0)|0|0;e=da(f+68|0,4,0,0)|0|0;if((da(e+26|0,2,0,0)|0|0)<=1){ea(f>>0|0,0|0,1,0);f=0;break}if(f)Ag(e);ea(b|0,0|0,4,0);ea(F|0,58541|0,4,0);ea(F+4|0,10788|0,4,0);ad(11,13600,F);f=11}else{ea(F|0,58259|0,4,0);ea(F+4|0,10788|0,4,0);ad(11,13600,F);f=11}while(0);i=G;return f|0}function ip(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+16|0;if((i|0)>=(j|0))ba();r=w+12|0;q=w+8|0;v=w;d=da(a+40|0,4,0,0)|0|0;a:do if(!d){f=a+96|0;e=da(f|0,4,0,0)|0|0;if((e|0)>(c|0)){d=(b|0)==1;c=(d&1^1)+c|0;if((c|0)<(e|0)){b=a+92|0;e=c;do{di(da((da(b|0,4,0,0)|0|0)+(e*48|0)+16|0,4,0,0)|0|0);e=e+1|0}while((e|0)<(da(f|0,4,0,0)|0|0))}ea(f|0,c|0,4,0);if(d){if(c){d=0;break}d=da(a+68|0,4,0,0)|0|0;e=da(d|0,4,0,0)|0|0;if(!e){d=0;break}if((e|0)==14696)d=Fi(d,0,0)|0;else d=0;ea(a+52|0,0|0,4,0);break}p=a+208|0;if((da(p|0,4,0,0)|0|0)==0?(da(da(a+64|0,4,0,0)|0|0,4,0,0)|0|0)==0:0){d=0;break}if(!c)s=0;else s=(da(a+92|0,4,0,0)|0|0)+((c+-1|0)*48|0)|0;o=(s|0)!=0;d=s+20|0;if(o){b=da(d|0,4,0,0)|0|0;e=pg(512,0)|0;if(!e){d=7;break}ew(e|0,0,512)|0;ea(e|0,b|0,4,0);u=e}else u=0;f=a+28|0;c=a+24|0;ea(c|0,da((o?d:f)|0,4,0,0)|0|0,4,0);ea(a+18>>0|0,da(a+12>>0|0,1,0,0)|0|0|0,1,0);b:do if(o){f=a+72|0;c=f;g=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;if(!(da(p|0,4,0,0)|0)){e=s+8|0;h=da(e|0,4,0,0)|0|0;e=da(e+4|0,4,0,0)|0|0;b=(h|0)==0&(e|0)==0;h=b?g:h;e=b?c:e;b=s;d=da(b|0,4,0,0)|0|0;b=da(b+4|0,4,0,0)|0|0;m=f;ea(m|0,d|0,4,0);ea(m+4|0,b|0,4,0);if((b|0)<(e|0)|(b|0)==(e|0)&d>>>0<h>>>0)while(1){d=vq(a,f,u,1,1)|0;if(d){l=g;k=c;break b}b=f;d=da(b|0,4,0,0)|0|0;b=da(b+4|0,4,0,0)|0|0;if(!((b|0)<(e|0)|(b|0)==(e|0)&d>>>0<h>>>0)){t=39;break}}else t=39}else t=38}else{n=da(p|0,4,0,0)|0|0;if(!n){f=a+72|0;c=f;g=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;t=38;break}ea(c|0,da(f|0,4,0,0)|0|0,4,0);if(da(n+44>>0|0,1,0,0)|0){g=n+68|0;k=da(g|0,4,0,0)|0|0;h=n+32|0;c=da(h|0,4,0,0)|0|0;e=n+52|0;d=(da(c|0,4,0,0)|0|0)+0|0;b=e+48|0;do{ea(e>>0|0,da(d>>0|0,1,0,0)|0|0|0,1,0);e=e+1|0;d=d+1|0}while((e|0)<(b|0));e=da(g|0,4,0,0)|0|0;d=e+1|0;if(d>>>0>k>>>0)d=0;else{f=d;while(1){e=e+34|0;d=e>>>12;if(!d)e=(da(c|0,4,0,0)|0|0)+(e<<2)|0;else e=(da(c+(d<<2)|0,4,0,0)|0|0)+((e&4095)<<2)|0;d=Aq(a,da(e|0,4,0,0)|0|0)|0;e=f+1|0;if((d|0)!=0|e>>>0>k>>>0)break;m=f;c=da(h|0,4,0,0)|0|0;f=e;e=m}e=da(g|0,4,0,0)|0|0}if((k|0)!=(e|0))zq(n)}else d=0;e=ul(da(a+204|0,4,0,0)|0|0)|0;if(!((e|0)!=0&(d|0)==0))break a;while(1){d=e;e=da(e+12|0,4,0,0)|0|0;d=Aq(a,da(d+20|0,4,0,0)|0|0)|0;if(!((e|0)!=0&(d|0)==0))break a}}while(0);if((t|0)==38){b=f;ea(b|0,0|0,4,0);ea(b+4|0,0|0,4,0);b=0;d=0;t=39}c:do if((t|0)==39){l=a+80|0;m=a+148|0;n=a+152|0;if((b|0)<(c|0)|(b|0)==(c|0)&d>>>0<g>>>0)while(1){ea(r|0,0|0,4,0);d=uq(a,0,g,c,r,q)|0;b=da(r|0,4,0,0)|0|0;if(!b){b=l;b=iw(da(m|0,4,0,0)|0|0,0,da(b|0,4,0,0)|0|0,da(b+4|0,4,0,0)|0|0)|0;e=C;h=f;if((b|0)==(da(h|0,4,0,0)|0|0)?(e|0)==(da(h+4|0,4,0,0)|0|0):0){t=cw(g|0,c|0,b|0,e|0)|0;b=(da(n|0,4,0,0)|0|0)+8|0;b=pw(t|0,C|0,b|0,((b|0)<0)<<31>>31|0)|0;ea(r|0,b|0,4,0);t=46}else t=40}else t=46;d:do if((t|0)==46){t=0;if((d|0)==0&(b|0)!=0){k=0;while(1){e=f;h=da(e|0,4,0,0)|0|0;e=da(e+4|0,4,0,0)|0|0;if(!((e|0)<(c|0)|(e|0)==(c|0)&h>>>0<g>>>0)){b=h;break d}d=vq(a,f,u,1,1)|0;k=k+1|0;if(!((d|0)==0&k>>>0<b>>>0)){t=40;break}}}else t=40}while(0);if((t|0)==40){t=0;if(d){l=g;k=c;break c}b=f;e=da(b+4|0,4,0,0)|0|0;b=da(b|0,4,0,0)|0|0}if(!((e|0)<(c|0)|(e|0)==(c|0)&b>>>0<g>>>0)){l=g;k=c;d=0;break}}else{l=g;k=c;d=0}}while(0);e:do if(!o){di(u);if(d)break a}else{h=s+24|0;e=da(h|0,4,0,0)|0|0;m=(da(a+152|0,4,0,0)|0|0)+4|0;m=rw(m|0,((m|0)<0)<<31>>31|0,e|0,0)|0;g=v;ea(g|0,m|0,4,0);ea(g+4|0,C|0,4,0);g=da(p|0,4,0,0)|0|0;if(!g){if(!d)t=57}else{c=s+28|0;b=s+40|0;d=g+104|0;if((da(b|0,4,0,0)|0|0)==(da(d|0,4,0,0)|0|0))b=da(c|0,4,0,0)|0|0;else{ea(c|0,0|0,4,0);ea(b|0,da(d|0,4,0,0)|0|0,4,0);b=0}c=g+68|0;if(b>>>0<(da(c|0,4,0,0)|0|0)>>>0){ea(c|0,b|0,4,0);ea(g+76|0,da(s+32|0,4,0,0)|0|0,4,0);ea(g+80|0,da(s+36|0,4,0,0)|0|0,4,0);zq(g);e=da(h|0,4,0,0)|0|0;t=57}else t=57}f:do if((t|0)==57){b=a+52|0;while(1){if(e>>>0>=(da(b|0,4,0,0)|0|0)>>>0)break;d=vq(a,v,u,0,1)|0;if(!d)e=e+1|0;else break f}di(u);break e}while(0);di(u);break a}while(0);d=f;ea(d|0,l|0,4,0);ea(d+4|0,k|0,4,0);d=0}else d=0}while(0);i=w;return d|0}function jp(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=da(a|0,4,0,0)|0|0;if(b){f=da(a+4|0,4,0,0)|0|0;ea((da(b+4|0,4,0,0)|0|0)+4|0,da(b|0,4,0,0)|0|0,4,0);d=a+56|0;Vc(da(d|0,4,0,0)|0|0);ea(d|0,0|0,4,0);ea(a+73>>0|0,0|0,1,0);d=da(a+12|0,4,0,0)|0|0;c=a+8|0;b=da(c|0,4,0,0)|0|0;if(!d)ea(f+8|0,b|0,4,0);else{ea(d+8|0,b|0,4,0);b=da(c|0,4,0,0)|0|0}if(b)ea(b+12|0,d|0,4,0);e=a+76|0;b=da(e|0,2,0,0)|0|0;if(b<<16>>16>=0){c=0;while(1){d=da(a+(c<<2)+120|0,4,0,0)|0|0;if(d){Ag(da(d+68|0,4,0,0)|0|0);b=da(e|0,2,0,0)|0|0}if((c|0)<(b<<16>>16|0))c=c+1|0;else break}}if((da(f+20>>0|0,1,0,0)|0|0)==0?(g=f+12|0,h=da(g|0,4,0,0)|0|0,(h|0)!=0):0){ea(g|0,0|0,4,0);Ag(da(h+68|0,4,0,0)|0|0)}Vc(da(a+20|0,4,0,0)|0|0)}return}function kp(a){a=a|0;var b=0,c=0,d=0,e=0;e=da(a+200|0,4,0,0)|0|0;b=da(3164*4|0,4,0,0)|0|0;if(b)mc[(fa(b|0,3|0)|0)&3]();c=da(a+136|0,4,0,0)|0|0;if(c)do{b=c;c=da(c+12|0,4,0,0)|0|0;Vc(b)}while((c|0)!=0);ea(a+4>>0|0,0|0,1,0);b=a+208|0;qn(da(b|0,4,0,0)|0|0,da(a+9>>0|0,1,0,1)|0|0,da(a+152|0,4,0,0)|0|0,e)|0;ea(b|0,0|0,4,0);wn(a);if(!(da(a+15>>0|0,1,0,0)|0)){if((da(da(a+64|0,4,0,0)|0|0,4,0,0)|0|0)!=0?(d=Io(a)|0,b=d&255,(b|0)==10|(b|0)==13):0){ea(a+40|0,d|0,4,0);ea(a+16>>0|0,6|0,1,0)}ml(a)}else Mo(a);b=da(3166*4|0,4,0,0)|0|0;if(b)mc[(fa(b|0,3|0)|0)&3]();b=da(a+64|0,4,0,0)|0|0;c=da(b|0,4,0,0)|0|0;if(c){kc[(fa(da(c+4|0,4,0,0)|0|0,127|0)|0)&127](b)|0;ea(b|0,0|0,4,0)}c=da(a+60|0,4,0,0)|0|0;b=da(c|0,4,0,0)|0|0;if(b){kc[(fa(da(b+4|0,4,0,0)|0|0,127|0)|0)&127](c)|0;ea(c|0,0|0,4,0)}_k(e);bc[(fa(da(8744+148|0,4,0,0)|0|0,31|0)|0)&31](da((da(a+204|0,4,0,0)|0|0)+40|0,4,0,0)|0|0);Vc(a);return}function lp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=da(a+4|0,4,0,0)|0|0;g=pg(f,((f|0)<0)<<31>>31)|0;do if(g){ew(g|0,0,f|0)|0;f=sc[(fa(da(a+24|0,4,0,0)|0|0,31|0)|0)&31](a,b,g,d&556927,e)|0;if(!f){ea(c|0,g|0,4,0);f=0;break}else{Vc(g);break}}else f=7;while(0);return f|0}function mpMp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;ea(g|0,0|0,4,0);e=(b|0)!=0;a:do if(c)if(e){e=g;while(1){f=c+8|0;while(1){if((Vp(a,b+8|0,da(b|0,4,0,0)|0|0,f,da(c|0,4,0,0)|0|0)|0)>=1)break;ea(e|0,b|0,4,0);e=b+4|0;b=da(e|0,4,0,0)|0|0;if(!b){b=0;f=0;break a}else f=0}ea(e|0,c|0,4,0);e=c+4|0;c=da(e|0,4,0,0)|0|0;if(!c){c=0;f=1;break a}if(!b){b=0;f=0;break}}}else{f=e;e=g}else{c=0;f=e;e=g}while(0);ea(e|0,(f?b:c)|0,4,0);ea(d|0,da(g|0,4,0,0)|0|0,4,0);i=h;return}function Np(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f+8|0;d=f;c=da(2252*4|0,4,0,0)|0|0;if((c|0)!=0?(kc[(fa(c|0,127|0)|0)&127](202)|0)!=0:0)c=3338;else{c=lp(da(a|0,4,0,0)|0|0,0,b,4126,e)|0;ea(e|0,c|0,4,0);if(!c){c=d;ea(c|0,0|0,4,0);ea(c+4|0,0|0,4,0);c=da(b|0,4,0,0)|0|0;$b[(fa(da((da(c|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,63|0)|0)&63](c,18,d)|0;c=da(e|0,4,0,0)|0|0}}i=f;return c|0}function Op(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=b+0|0;g=f+40|0;do{ea(f|0,0|0,4,0);f=f+4|0}while((f|0)<(g|0));f=((c|0)<0)<<31>>31;g=pg(c,f)|0;ea(b+4|0,g|0,4,0);if(!g)ea(b|0,7|0,4,0);else{g=qw(d|0,e|0,c|0,f|0)|0;ea(b+12|0,g|0,4,0);ea(b+16|0,g|0,4,0);g=cw(d|0,e|0,g|0,((g|0)<0)<<31>>31|0)|0;f=b+24|0;ea(f|0,g|0,4,0);ea(f+4|0,C|0,4,0);ea(b+8|0,c|0,4,0);ea(b+32|0,a|0,4,0)}return}function Pp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:do if((c|0)>0){e=a+8|0;g=a+16|0;h=a+4|0;i=a+32|0;j=a+12|0;k=a+24|0;l=c;do{if(da(a|0,4,0,0)|0)break a;f=da(g|0,4,0,0)|0|0;d=(da(e|0,4,0,0)|0|0)-f|0;d=(l|0)>(d|0)?d:l;jw((da(h|0,4,0,0)|0|0)+f|0,b+(c-l)|0,d|0)|0;f=(da(g|0,4,0,0)|0|0)+d|0;ea(g|0,f|0,4,0);if((f|0)==(da(e|0,4,0,0)|0|0)){p=da(i|0,4,0,0)|0|0;n=da(j|0,4,0,0)|0|0;o=(da(h|0,4,0,0)|0|0)+n|0;m=k;m=iw(da(m|0,4,0,0)|0|0,da(m+4|0,4,0,0)|0|0,n|0,((n|0)<0)<<31>>31|0)|0;ea(a|0,sc[(fa(da((da(p|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](p,o,f-n|0,m,C)|0|0,4,0);ea(g|0,0|0,4,0);ea(j|0,0|0,4,0);m=da(e|0,4,0,0)|0|0;f=k;m=iw(da(f|0,4,0,0)|0|0,da(f+4|0,4,0,0)|0|0,m|0,((m|0)<0)<<31>>31|0)|0;f=k;ea(f|0,m|0,4,0);ea(f+4|0,C|0,4,0)}l=l-d|0}while((l|0)>0)}while(0);return}function Qp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=a+4|0;if(((da(a|0,4,0,0)|0|0)==0?(d=da(e|0,4,0,0)|0|0,(d|0)!=0):0)?(c=da(a+16|0,4,0,0)|0|0,f=da(a+12|0,4,0,0)|0|0,(c|0)>(f|0)):0){h=da(a+32|0,4,0,0)|0|0;g=a+24|0;g=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,f|0,((f|0)<0)<<31>>31|0)|0;ea(a|0,sc[(fa(da((da(h|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](h,d+f|0,c-f|0,g,C)|0|0,4,0)}d=a+24|0;c=da(a+16|0,4,0,0)|0|0;d=iw(c|0,((c|0)<0)<<31>>31|0,da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0)|0;c=b;ea(c|0,d|0,4,0);ea(c+4|0,C|0,4,0);Vc(da(e|0,4,0,0)|0|0);e=da(a|0,4,0,0)|0|0;c=a+0|0;d=c+40|0;do{ea(c|0,0|0,4,0);c=c+4|0}while((c|0)<(d|0));return e|0}function Rp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=da(2252*4|0,4,0,0)|0|0;if((f|0)!=0?(kc[(fa(f|0,127|0)|0)&127](201)|0)!=0:0)f=266;else{h=b+44|0;if(da(h|0,4,0,0)|0)ea(h|0,0|0,4,0);m=b;ea(m|0,d|0,4,0);ea(m+4|0,e|0,4,0);m=c+8|0;k=da(m|0,4,0,0)|0|0;m=da(m+4|0,4,0,0)|0|0;i=b+8|0;g=i;ea(g|0,k|0,4,0);ea(g+4|0,m|0,4,0);g=da(c|0,4,0,0)|0|0;j=b+24|0;ea(j|0,g|0,4,0);c=a+8|0;f=da(c|0,4,0,0)|0|0;a=da((da(f+24|0,4,0,0)|0|0)+136|0,4,0,0)|0|0;l=((a|0)<0)<<31>>31;if(!((m|0)>(l|0)|(m|0)==(l|0)&k>>>0>a>>>0)?(da(da(g|0,4,0,0)|0|0,4,0,0)|0|0)>2:0){ea(h|0,0|0,4,0);f=da(c|0,4,0,0)|0|0}a=da(f+12|0,4,0,0)|0|0;c=((a|0)<0)<<31>>31;e=qw(d|0,e|0,a|0,c|0)|0;f=b+36|0;d=da(f|0,4,0,0)|0|0;if(!d){h=pg(a,c)|0;ea(f|0,h|0,4,0);ea(b+40|0,a|0,4,0);d=h;f=(h|0)==0?7:0}else f=0;if((f|0)==0&(e|0)!=0){f=a-e|0;a=b;h=da(a|0,4,0,0)|0|0;a=da(a+4|0,4,0,0)|0|0;b=iw(h|0,a|0,f|0,((f|0)<0)<<31>>31|0)|0;k=C;c=i;g=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;if((k|0)>(c|0)|(k|0)==(c|0)&b>>>0>g>>>0)f=cw(g|0,c|0,h|0,a|0)|0;j=da(j|0,4,0,0)|0|0;f=sc[(fa(da((da(j|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](j,d+e|0,f,h,a)|0}}return f|0}function Sp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+32|0;if((i|0)>=(j|0))ba();g=h+8|0;f=h;d=da(a+44|0,4,0,0)|0|0;c=a;e=da(c|0,4,0,0)|0|0;a:do if(!d){d=da(a+40|0,4,0,0)|0|0;c=qw(e|0,da(c+4|0,4,0,0)|0|0,d|0,((d|0)<0)<<31>>31|0)|0;if((c|0)!=0&(d-c|0)>8){d=(rp((da(a+36|0,4,0,0)|0|0)+c|0,b)|0)&255;c=a;d=iw(da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,d|0,0)|0;c=a;ea(c|0,d|0,4,0);ea(c+4|0,C|0,4,0);c=0;break}else d=0;while(1){c=Jq(a,1,f)|0;if(c)break a;c=da((da(f|0,4,0,0)|0)>>0|0,1,0,0)|0|0;ea(g+(d&15)>>0|0,c|0,1,0);if(c<<24>>24<0)d=d+1|0;else break}rp(g,b)|0;c=0}else{d=(rp(d+e|0,b)|0)&255;c=a;d=iw(da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,d|0,0)|0;c=a;ea(c|0,d|0,4,0);ea(c+4|0,C|0,4,0);c=0}while(0);i=h;return c|0}function Tp(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();g=k;c=g;ea(c|0,0|0,4,0);ea(c+4|0,0|0,4,0);c=a;e=da(c+4|0,4,0,0)|0|0;b=a+8|0;d=da(b+4|0,4,0,0)|0|0;do if((e|0)<(d|0)|((e|0)==(d|0)?(da(c|0,4,0,0)|0|0)>>>0<(da(b|0,4,0,0)|0|0)>>>0:0))h=9;else{c=da(a+48|0,4,0,0)|0|0;if(c){b=Kq(c)|0;f=c+32|0;d=c+48|0;ea(f+0|0,da(d+0|0,4,0,0)|0|0,4,0);ea(f+4|0,da(d+4|0,4,0,0)|0|0,4,0);ea(f+8|0,da(d+8|0,4,0,0)|0|0,4,0);ea(f+12|0,da(d+12|0,4,0,0)|0|0,4,0);d=c+40|0;f=c+8|0;e=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;if((da(d|0,4,0,0)|0|0)==(e|0)?(da(d+4|0,4,0,0)|0|0)==(f|0):0)ea(c+20|0,1|0,4,0);if(!b)if(!(da(c+20|0,4,0,0)|0)){b=Rp(da(c|0,4,0,0)|0|0,a,c+32|0,e,f)|0;if(!b){h=9;break}else break}else b=0}else b=0;Up(a)}while(0);if((h|0)==9){b=Sp(a,g)|0;if(!b){b=da(g|0,4,0,0)|0|0;ea(a+20|0,b|0,4,0);b=Jq(a,b,a+32|0)|0}}i=k;return b|0}function Up(a){a=a|0;var b=0;Vc(da(a+28|0,4,0,0)|0|0);Vc(da(a+36|0,4,0,0)|0|0);Rm(da(a+48|0,4,0,0)|0|0);a=a+0|0;b=a+56|0;do{ea(a|0,0|0,4,0);a=a+4|0}while((a|0)<(b|0));return}function Vp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=da(a+12|0,4,0,0)|0|0;if(d)Fm(da((da(a+8|0,4,0,0)|0|0)+28|0,4,0,0)|0|0,e,d,f);return Jm(c,b,f,0)|0}function Wp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();f=r;e=r+8|0;n=r+12|0;do if((da(a+44|0,4,0,0)|0|0)>>>0>=b>>>0){b=up(a,b,e,0)|0;if(!b){p=da(e|0,4,0,0)|0|0;o=p+9|0;a:do if(!(da(o>>0|0,1,0,0)|0)){ea(o>>0|0,1|0,1,0);l=da(p+6>>0|0,1,0,1)|0|0;h=p+18|0;e=da(h|0,2,0,0)|0|0;if(!(e<<16>>16)){e=e&65535;b=p+5|0}else{g=0;while(1){f=da(p+56|0,4,0,0)|0|0;e=g<<1;b=da(p+64|0,4,0,0)|0|0;e=((da(b+e>>0|0,1,0,1)|0)<<8|(da(b+(e|1)>>0|0,1,0,1)|0))&(da(p+20|0,2,0,1)|0);b=f+e|0;k=p+5|0;if((da(k>>0|0,1,0,0)|0|0)==0?(m=Wp(a,(da(f+(e+1)>>0|0,1,0,1)|0)<<16|(da(b>>0|0,1,0,1)|0)<<24|(da(f+(e+2)>>0|0,1,0,1)|0)<<8|(da(f+(e+3)>>0|0,1,0,1)|0),1,d)|0,(m|0)!=0):0){b=m;q=21;break a}b=Gp(p,b,n)|0;g=g+1|0;if(b){q=21;break a}e=da(h|0,2,0,1)|0|0;if((g|0)>=(e|0)){b=k;break}}}if(!(da(b>>0|0,1,0,0)|0)){b=da(p+56|0,4,0,0)|0|0;b=Wp(a,(da(b+(l+9)>>0|0,1,0,1)|0)<<16|(da(b+(l+8)>>0|0,1,0,1)|0)<<24|(da(b+(l+10)>>0|0,1,0,1)|0)<<8|(da(b+(l+11)>>0|0,1,0,1)|0),1,d)|0;if(!b)q=16}else if(!d)q=16;else{ea(d|0,(da(d|0,4,0,0)|0|0)+e|0,4,0);q=16}if((q|0)==16){if(c){b=Xm(da(p+52|0,4,0,0)|0|0,p,da(p+72|0,4,0,0)|0|0)|0;q=21;break}b=Fg(da(p+68|0,4,0,0)|0|0)|0;if(!b){ol(p,da((da(p+56|0,4,0,0)|0|0)+l>>0|0,1,0,1)|0|8);b=0;q=21;break}}ea(o>>0|0,0|0,1,0)}else{ea(f|0,60971|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);b=11;q=21}while(0);if((q|0)==21){ea(o>>0|0,0|0,1,0);if(!p)break}Ag(da(p+68|0,4,0,0)|0|0)}}else{ea(f|0,60966|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);b=11}while(0);i=r;return b|0}function Xp(a,b){a=a|0;b=b|0;var c=0,d=0;d=(da(a|0,4,0,0)|0|0)+204|0;c=$b[(fa(da(8744+132|0,4,0,0)|0|0,63|0)|0)&63](da((da(d|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,b,0)|0;c=hl(da(d|0,4,0,0)|0|0,b,c)|0;if(!c)c=0;else{d=da(c+8|0,4,0,0)|0|0;ea(d+56|0,da(c+4|0,4,0,0)|0|0,4,0);ea(d+68|0,c|0,4,0);ea(d+52|0,a|0,4,0);ea(d+72|0,b|0,4,0);ea(d+6>>0|0,((b|0)==1?100:0)|0,1,0);c=d}return c|0}function Yp(a,b){a=a|0;b=b|0;var c=0;c=a+20|0;pc[(fa(da(8744+140|0,4,0,0)|0|0,15|0)|0)&15](da((da(a+28|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0,b);ea(c|0,b|0,4,0);if(((da(a+24|0,2,0,0)|0)&6)==6)Po(a,3);return}function Zp(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();p=q;m=da(a+52|0,4,0,0)|0|0;n=da(a>>0|0,1,0,0)|0|0;o=da(a+72|0,4,0,0)|0|0;l=_p(a)|0;ea(p|0,l|0,4,0);if(!l){l=da(a+18|0,2,0,0)|0|0;k=l&65535;if(!(l<<16>>16))b=a+5|0;else{c=a+56|0;d=a+20|0;e=a+64|0;b=a+5|0;l=0;do{f=da(c|0,4,0,0)|0|0;g=l<<1;h=da(e|0,4,0,0)|0|0;g=((da(h+g>>0|0,1,0,1)|0)<<8|(da(h+(g|1)>>0|0,1,0,1)|0))&(da(d|0,2,0,1)|0);h=f+g|0;Eq(a,h,p);if(!(da(b>>0|0,1,0,0)|0))yp(m,(da(f+(g+1)>>0|0,1,0,1)|0)<<16|(da(h>>0|0,1,0,1)|0)<<24|(da(f+(g+2)>>0|0,1,0,1)|0)<<8|(da(f+(g+3)>>0|0,1,0,1)|0),5,o,p);l=l+1|0}while((l|0)<(k|0))}if(!(da(b>>0|0,1,0,0)|0)){l=da(a+6>>0|0,1,0,1)|0|0;k=da(a+56|0,4,0,0)|0|0;yp(m,(da(k+(l+9)>>0|0,1,0,1)|0)<<16|(da(k+(l+8)>>0|0,1,0,1)|0)<<24|(da(k+(l+10)>>0|0,1,0,1)|0)<<8|(da(k+(l+11)>>0|0,1,0,1)|0),5,o,p)}}ea(a>>0|0,n|0,1,0);i=q;return da(p|0,4,0,0)|0|0}function _p(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();q=r;a:do if(!(da(a>>0|0,1,0,0)|0)){b=da(a+52|0,4,0,0)|0|0;n=da(a+56|0,4,0,0)|0|0;f=da(a+6>>0|0,1,0,1)|0|0;if(Qo(a,da(n+f>>0|0,1,0,1)|0|0)|0){ea(q|0,54562|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);b=11;break}h=da(b+32|0,4,0,0)|0|0;ea(a+20|0,h+65535|0,2,0);ea(a+1>>0|0,0|0,1,0);m=da(b+36|0,4,0,0)|0|0;b=f+8+(da(a+7>>0|0,1,0,1)|0|0)|0;ea(a+14|0,b|0,2,0);ea(a+60|0,n+m|0,4,0);b=b&65535;ea(a+64|0,n+b|0,4,0);e=da(n+(f+5)>>0|0,1,0,0)|0|0;d=da(n+(f+6)>>0|0,1,0,0)|0|0;c=(da(n+(f+3)>>0|0,1,0,1)|0)<<8|(da(n+(f+4)>>0|0,1,0,1)|0);ea(a+18|0,c|0,2,0);if(c>>>0>(((h+-8|0)>>>0)/6|0)>>>0){ea(q|0,54579|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);b=11;break}h=(c<<1)+b|0;g=m+-4|0;c=(da(n+(f+1)>>0|0,1,0,1)|0)<<8|(da(n+(f+2)>>0|0,1,0,1)|0);b=(((e&255)<<8|d&255)+65535&65535)+1+(da(n+(f+7)>>0|0,1,0,1)|0|0)|0;do if(c){while(1){if((c|0)<(h|0)|(c|0)>(g|0)){p=8;break}d=(da(n+c>>0|0,1,0,1)|0)<<8|(da(n+(c+1)>>0|0,1,0,1)|0);e=(da(n+(c+2)>>0|0,1,0,1)|0)<<8|(da(n+(c+3)>>0|0,1,0,1)|0);c=e+c|0;if(!d){k=e;l=c;o=b;p=12;break}if((d|0)<=(c+3|0)|(c|0)>(m|0))break;c=d;b=e+b|0}if((p|0)==8){ea(q|0,54634|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);b=11;break a}if((p|0)==12?(l|0)<=(m|0):0){b=k+o|0;break}ea(q|0,54641|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);b=11;break a}while(0);if((b|0)>(m|0)){ea(q|0,54655|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);b=11;break}else{ea(a+16|0,b-h|0,2,0);ea(a>>0|0,1|0,1,0);b=0;break}}else b=0;while(0);i=r;return b|0}function $p(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;d=da(a|0,4,0,0)|0|0;e=d+65|0;if(!(da(e>>0|0,1,0,0)|0)){if(((da(d+24|0,4,0,0)|0)&65536|0)==0?(f=a+4|0,k=da(f|0,4,0,0)|0|0,ea(g|0,((b|0)==0?13552:b)|0,4,0),ch(k,d,13560,g),(c|0)!=0):0){b=da(da(f|0,4,0,0)|0|0,4,0,0)|0|0;ea(g|0,b|0,4,0);ea(g+4|0,c|0,4,0);d=Lq(d,b,0,g)|0;ea(da(f|0,4,0,0)|0|0,d|0,4,0)}if(!(da(e>>0|0,1,0,0)|0)){ea(g|0,105209|0,4,0);ea(g+4|0,10788|0,4,0);ad(11,13600,g);d=11}else d=7}else d=7;ea(a+12|0,d|0,4,0);i=h;return}function aq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;l=a+20|0;a:do if((da(l|0,4,0,0)|0|0)>0){g=a+16|0;h=(c|0)==0;k=0;a=0;do{e=(k|0)<2^k;f=da(g|0,4,0,0)|0|0;d=da(f+(e<<4)+12|0,4,0,0)|0|0;if(!(!h?(cd(c,da(f+(e<<4)|0,4,0,0)|0|0)|0)!=0:0)){a=an(d+24|0,b,m)|0;if(a){a=da(a+8|0,4,0,0)|0|0;if(a)break a}else a=0}k=k+1|0}while((k|0)<(da(l|0,4,0,0)|0|0))}else a=0;while(0);i=n;return a|0}function bq(a){a=a|0;var b=0,c=0,d=0,e=0;e=da(a+8|0,4,0,0)|0|0;d=a+46|0;c=da(d|0,2,0,0)|0|0;c=(c&65535)>5?5:c&65535;b=da((da(a+12|0,4,0,0)|0|0)+28|0,2,0,0)|0|0;ea(e|0,(b<<16>>16<33?33:b)|0,2,0);jw(e+2|0,13512,c<<1|0)|0;b=da(d|0,2,0,1)|0|0;if(c>>>0<b>>>0)do{c=c+1|0;ea(e+(c<<1)|0,23|0,2,0);b=da(d|0,2,0,1)|0|0}while((c|0)<(b|0));if(da(a+50>>0|0,1,0,0)|0)ea(e+(b<<1)|0,0|0,2,0);return}function cq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0;l=i;i=i+64|0;if((i|0)>=(j|0))ba();h=l;a:do if((((c|0)!=0?(f=da(c|0,4,0,0)|0|0,(f|0)!=0):0)?(k=c+8|0,(da(k|0,4,0,0)|0|0)!=0):0)?(e=a+4|0,m=Zh(da(a|0,4,0,0)|0|0,f,da(e|0,4,0,0)|0|0)|0,(m|0)!=0):0){d=da(c+4|0,4,0,0)|0|0;b:do if(!d)g=11;else{if(!(cd(da(c|0,4,0,0)|0|0,d)|0)){e=da(m+8|0,4,0,0)|0|0;if(!e){g=11;break}while(1){f=da(e+51>>0|0,1,0,0)|0|0;if((f&3)==2)break;e=da(e+20|0,4,0,0)|0|0;if(!e){g=11;break b}}d=da(k|0,4,0,0)|0|0;b=e}else{b=aq(da(a|0,4,0,0)|0|0,d,da(e|0,4,0,0)|0|0)|0;e=da(k|0,4,0,0)|0|0;if(!b)break;f=da(b+51>>0|0,1,0,0)|0|0;d=e}k=(da(b+46|0,2,0,1)|0|0)+1|0;ea(b+51>>0|0,f&-5|0,1,0);e=b+8|0;Mq(d,k,da(e|0,4,0,0)|0|0,b);if(da(b+36|0,4,0,0)|0)break a;ea(m+28|0,da(da(e|0,4,0,0)|0|0,2,0,0)|0|0|0,2,0);break a}while(0);if((g|0)==11)e=da(k|0,4,0,0)|0|0;g=m+42|0;k=h+44|0;ea(k|0,da(g|0,2,0,0)|0|0|0,2,0);Mq(e,1,m+28|0,h);ea(g|0,da(k|0,2,0,0)|0|0|0,2,0)}while(0);i=l;return 0}function dq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;do if(b){if((da(a+12|0,4,0,0)|0|0)>>>0<b>>>0){ea(f|0,b|0,4,0);en(a,44408,f);c=1;break}d=(da(a+8|0,4,0,0)|0|0)+(b>>>3)|0;e=da(d>>0|0,1,0,1)|0|0;c=1<<(b&7);if(!(e&c)){ea(d>>0|0,e|c|0,1,0);c=0;break}else{ea(f|0,b|0,4,0);en(a,44432,f);c=1;break}}else c=1;while(0);i=g;return c|0}function eq(a,b){a=a|0;b=b|0;var c=0,d=0;c=da(a|0,4,0,0)|0|0;do if(c){if((b|0)==1){b=c+8|0;ea(a|0,da(b|0,4,0,0)|0|0,4,0);ea(b|0,0|0,4,0);ea(c+12|0,0|0,4,0);break}b=b+-1|0;c=eq(a,b)|0;d=da(a|0,4,0,0)|0|0;if(d){ea(d+12|0,c|0,4,0);c=d+8|0;ea(a|0,da(c|0,4,0,0)|0|0,4,0);ea(c|0,eq(a,b)|0|0,4,0);return d|0}}else c=0;while(0);return c|0}function fq(a,b){a=a|0;b=b|0;var c=0;if((da(a+43>>0|0,1,0,0)|0|0)==2){c=a+24|0;if((da(c|0,4,0,0)|0|0)>0){b=a+32|0;a=0;do{Vc(da((da(b|0,4,0,0)|0|0)+(a<<2)|0,4,0,0)|0|0);ea((da(b|0,4,0,0)|0|0)+(a<<2)|0,0|0,4,0);a=a+1|0}while((a|0)<(da(c|0,4,0,0)|0|0))}}else{a=da(a+4|0,4,0,0)|0|0;qc[(fa(da((da(a|0,4,0,0)|0|0)+64|0,4,0,0)|0|0,127|0)|0)&127](a,b)|0}return}function gq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();b=Mg(b)|0;if(b)ch(c,a,Re(a)|0,d);i=d;return b|0}function hq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=da(a|0,4,0,0)|0|0;d=a+16|0;e=a+84|0;bh(da(d|0,4,0,0)|0|0,(da(e|0,2,0,1)|0|0)<<1);lg(c,da(d|0,4,0,0)|0|0);ea(e|0,b|0,2,0);e=b*80|0;c=lh(c,e,0)|0;if(c){ew(c|0,0,e|0)|0;ea(d|0,c|0,4,0);if((b|0)>0){e=da(a|0,4,0,0)|0|0;d=b<<1;while(1){d=d+-1|0;ea(c+8|0,1|0,2,0);ea(c+32|0,e|0,4,0);if((d|0)<=0)break;else c=c+40|0}}}else ea(d|0,0|0,4,0);return}function iq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!(da((da(a|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)){b=(_(da(a+84|0,2,0,1)|0|0,c)|0)+b|0;Wg((da(a+16|0,4,0,0)|0|0)+(b*40|0)|0,d,-1,1,e)|0}return}function jq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;f=da(a|0,4,0,0)|0|0;e=f+1|0;ea(a|0,e|0,4,0);if((f|0)>98){c=a+8|0;e=da(c|0,4,0,0)|0|0;ea(a|0,f|0,4,0);do On(a);while((da(a|0,4,0,0)|0|0)>-1);sh(e,37160,g);ea(c|0,e|0,4,0)}else{ea(a+(e<<4)+12|0,b|0,2,0);ea(a+(e<<4)+14>>0|0,c|0,1,0);c=a+(e<<4)+16|0;ea(c+0|0,da(d+0|0,4,0,0)|0|0,4,0);ea(c+4|0,da(d+4|0,4,0,0)|0|0,4,0);ea(c+8|0,da(d+8|0,4,0,0)|0|0,4,0)}i=h;return}function kq(a,b,c){a=a|0;b=b|0;c=c|0;a=da(a+8|0,4,0,0)|0|0;switch(b&255|0){case 228:case 221:case 220:case 210:case 209:case 208:case 205:case 203:case 200:case 188:case 179:{Mk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 252:case 197:{Pn(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 236:{Gk(da(a|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0);break}case 175:case 174:{Fk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 223:case 219:case 217:{Gk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 207:case 196:case 195:case 163:{Lk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0,1);break}case 213:case 212:case 201:case 194:{Co(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 239:case 234:{Ek(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 243:case 238:case 229:case 227:case 216:case 204:case 202:{Fk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}default:{}}return}
8 mpMp(a,e,f,l);ea(d|0,0|0,4,0);c=c+1|0;d=k+(c<<2)|0;f=da(d|0,4,0,0)|0|0;e=da(l|0,4,0,0)|0|0}while((f|0)!=0);f=d}ea(f|0,e|0,4,0);ea(l|0,g|0,4,0);if(!g)break;else c=g}}ea(l|0,0|0,4,0);c=0;d=0;do{Mpe 4:{if(!(da(f+8|0,4,0,0)|0))k=7;else{ea(j|0,(da(j|0,2,0,0)|0)&-65|0,2,0);k=7}break}case 6:case 8:{ea(f+16|0,77|0,4,0);ea(f+1>>0|0,-19|0,1,0);break}case 14:{n=da(f+-16|0,4,0,0)|0|0;c=(n|0)>(c|0)?n:c;break}case 10:case 1:{n=da(f+3>>0|0,1,0,1)|0|0;c=(n|0)>(c|0)?n:c;break}case 2:case 3:{k=7;break}case 5:case 7:case 9:{ea(f+16|0,76|0,4,0);ea(f+1>>0|0,-19|0,1,0);break}default:{}}if((k|0)==7){k=0;ea(j|0,da(j|0,2,0,0)|0|128|0,2,0)}e=da(34168+e>>0|0,1,0,0)|0|0;ea(f+2>>0|0,e|0,1,0);if((e&1)!=0?(h=f+8|0,i=da(h|0,4,0,0)|0|0,(i|0)<0):0)ea(h|0,da(g+(~i<<2)|0,4,0,0)|0|0,4,0);if((d|0)<=0)break a;else f=f+20|0}}while(0);lg(da(a|0,4,0,0)|0|0,da(m|0,4,0,0)|0|0);ea(m|0,0|0,4,0);ea(l+108|0,0|0,4,0);ea(b|0,c|0,4,0);return}function Jn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;c=a+73|0;if((da(c>>0|0,1,0,0)|0|0)!=4){ea(c>>0|0,0|0,1,0);d=a+56|0;b=a+48|0;b=Fp(a,da(d|0,4,0,0)|0|0,da(b|0,4,0,0)|0|0,da(b+4|0,4,0,0)|0|0,0,e)|0;if(!b){Vc(da(d|0,4,0,0)|0|0);ea(d|0,0|0,4,0);d=a+68|0;b=da(d|0,4,0,0)|0|(da(e|0,4,0,0)|0);ea(d|0,b|0,4,0);if((b|0)!=0?(da(c>>0|0,1,0,0)|0|0)==1:0){ea(c>>0|0,2|0,1,0);b=0}else b=0}}else b=da(a+68|0,4,0,0)|0|0;i=f;return b|0}function Kn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=da(a+8|0,4,0,0)|0|0;a:do if(!a)a=0;else{d=(b|0)==0;while(1){if((a|0)!=(c|0)){if(d)break;if((da(a+60|0,4,0,0)|0|0)==(b|0))break}a=da(a+8|0,4,0,0)|0|0;if(!a){a=0;break a}}a=El(a,b,c)|0}while(0);return a|0}function Ln(a){a=a|0;var b=0,c=0,d=0,e=0;c=da(a|0,4,0,0)|0|0;d=c+1|0;ea(a|0,d|0,4,0);e=da(c>>0|0,1,0,0)|0|0;b=e&255;if((e&255)<=191)return b|0;b=da(15360+(b+-192)>>0|0,1,0,1)|0|0;if(((da(d>>0|0,1,0,0)|0)&-64)<<24>>24==-128)while(1){c=c+2|0;ea(a|0,c|0,4,0);b=(da(d>>0|0,1,0,1)|0|0)&63|b<<6;if(((da(c>>0|0,1,0,0)|0)&-64)<<24>>24==-128){e=d;d=c;c=e}else break}return (b>>>0<128|(b&-2048|0)==55296|(b&-2|0)==65534?65533:b)|0}function Mn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if((b|0)>-1)f=a+b|0;else f=-1;b=da(a>>0|0,1,0,0)|0|0;if(b<<24>>24!=0&f>>>0>a>>>0){c=b;b=0;do{e=a+1|0;if((c&255)>191){d=a;a=e;while(1){c=da(a>>0|0,1,0,0)|0|0;if((c&-64)<<24>>24==-128){c=a;a=d+2|0;d=c}else break}}else{c=da(e>>0|0,1,0,0)|0|0;a=e}b=b+1|0}while(c<<24>>24!=0&a>>>0<f>>>0)}else b=0;return b|0}function Nn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+48|0;if((i|0)>=(j|0))ba();p=t+32|0;q=t+16|0;r=t;e=da(a|0,4,0,0)|0|0;if((e|0)<0){ea(a|0,0|0,4,0);ea(a+4|0,-1|0,4,0);ea(a+12|0,0|0,2,0);ea(a+14>>0|0,0|0,1,0);e=0}l=c;m=da(l+4|0,4,0,0)|0|0;k=r;ea(k|0,da(l|0,4,0,0)|0|0,4,0);ea(k+4|0,m|0,4,0);m=a+8|0;ea(m|0,d|0,4,0);k=b&255;l=(b|0)==254;do{h=da(a+(e<<4)+12|0,2,0,0)|0|0;d=h&65535;c=37184+(d<<1)|0;a:do if((h&65535)>429)s=6;else{h=k;while(1){g=da(c|0,2,0,0)|0|0;f=g<<16>>16;if(g<<16>>16==-86){s=6;break a}g=h&255;e=f+g|0;if(e>>>0<=1496?(da(39336+e>>0|0,1,0,0)|0|0)==h<<24>>24:0){s=16;break}if(!(h<<24>>24))break;if((h&255)>=70){n=f;s=12;break}h=da(40840+g>>0|0,1,0,0)|0|0;if(!(h<<24>>24)){n=f;s=12;break}}if((s|0)==16){s=0;e=da(22184+(e<<1)|0,2,0,1)|0|0;break}if(((s|0)==12?(s=0,o=n+70|0,(o|0)>-1):0)?(da(39336+o>>0|0,1,0,0)|0|0)==70:0){e=da(22184+(o<<1)|0,2,0,1)|0|0;break}e=da(38048+(d<<1)|0,2,0,1)|0|0}while(0);if((s|0)==6){s=0;e=da(38048+(d<<1)|0,2,0,1)|0|0}if(e>>>0<642){s=18;break}if(e>>>0>=969){s=20;break}lq(a,e+-642|0);if(l)break;e=da(a|0,4,0,0)|0|0}while((e|0)>-1);if((s|0)==18){jq(a,e,b,r);n=a+4|0;ea(n|0,(da(n|0,4,0,0)|0|0)+-1|0,4,0)}else if((s|0)==20){ea(q+0|0,da(r+0|0,4,0,0)|0|0,4,0);ea(q+4|0,da(r+4|0,4,0,0)|0|0,4,0);ea(q+8|0,da(r+8|0,4,0,0)|0|0,4,0);n=da(m|0,4,0,0)|0|0;ea(p|0,q|0,4,0);sh(n,20432,p);ea(m|0,n|0,4,0);kq(a,k,r)}i=t;return}function On(a){a=a|0;var b=0;b=da(a|0,4,0,0)|0|0;if((b|0)>=0){kq(a,da(a+(b<<4)+14>>0|0,1,0,0)|0|0,a+(b<<4)+16|0);ea(a|0,(da(a|0,4,0,0)|0|0)+-1|0,4,0)}return}function Pn(a,b){a=a|0;b=b|0;var c=0;if(b){if((da(b|0,4,0,0)|0|0)>0){c=0;do{Mk(a,da(b+(c<<4)+12|0,4,0,0)|0|0);Lk(a,da(b+(c<<4)+16|0,4,0,0)|0|0,1);lg(a,da(b+(c<<4)+8|0,4,0,0)|0|0);c=c+1|0}while((c|0)<(da(b|0,4,0,0)|0|0))}lg(a,b)}return}function Qn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=a+328|0;c=da(g|0,4,0,0)|0|0;if(c){h=a+304|0;if((da(h|0,4,0,0)|0|0)>0){e=0;do{d=da(c+(e<<2)|0,4,0,0)|0|0;c=da(d+8|0,4,0,0)|0|0;if((c|0)!=0?(f=da((da(c|0,4,0,0)|0|0)+b|0,4,0,0)|0|0,(f|0)!=0):0)kc[(fa(f|0,127|0)|0)&127](c)|0;ea(d+20|0,0|0,4,0);zn(d);e=e+1|0;c=da(g|0,4,0,0)|0|0}while((e|0)<(da(h|0,4,0,0)|0|0))}lg(a,c);ea(h|0,0|0,4,0);ea(g|0,0|0,4,0)}return}function Rn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;do if((b|0)==-2)if(!(da(a+12|0,4,0,0)|0))b=(da(a+16|0,4,0,0)|0|0)==0?0:6;else b=6;else{e=da(a|0,2,0,0)|0|0;d=e<<16>>16;if(!((d|0)!=(b|0)&e<<16>>16>-1)){e=(d|0)==(b|0)?4:1;d=c&255;b=da(a+2|0,2,0,1)|0|0;if((d|0)==(b&3|0)){b=e|2;break}else return ((b&d)>>>1&1)+e|0}else b=0}while(0);return b|0}
18 =63;if(numBits==0){return this}else{var high=this.high_;if(numBits<32){var low=this.low_;return goog.math.Long.fromBits(low>>>numBits|high<<32-numBits,high>>>numBits)}else if(numBits==32){return goog.math.Long.fromBits(high,0)}else{return goog.math.Long.fromBits(high>>>numBits-32,0)}}});var navigator={appName:"Modern Browser"};var dbits;var canary=0xdeadbeefcafe;var j_lm=(canary&16777215)==15715070;function BigInteger(a,b,c){if(a!=null)if("number"==typeof a)this.fromNumber(a,b,c);else if(b==null&&"string"!=typeof a)this.fromString(a,256);else this.fromString(a,b)}function nbi(){return new BigInteger(null)}function am1(i,x,w,j,c,n){while(--n>=0){var v=x*this[i++]+w[j]+c;c=Math.floor(v/67108864);w[j++]=v&67108863}return c}function am2(i,x,w,j,c,n){var xl=x&32767,xh=x>>15;while(--n>=0){var l=this[i]&32767;var h=this[i++]>>15;var m=xh*l+h*xl;l=xl*l+((m&32767)<<15)+w[j]+(c&1073741823);c=(l>>>30)+(m>>>15)+xh*h+(c>>>30);w[j++]=l&1073741823}return c}function am3(i,x,w,j,c,n){var xl=x&16383,xh=x>>14;while(--n>=0){var l=this[i]&16383;var h=this[i++]>>14;var m=xh*l+h*xl;l=xl*l+((m&16383)<<14)+w[j]+c;c=(l>>28)+(m>>14)+xh*h;w[j++]=l&268435455}return c}if(j_lm&&navigator.appName=="Microsoft Internet Explorer"){BigInteger.prototype.am=am2;dbits=30}else if(j_lm&&navigator.appName!="Netscape"){BigInteger.prototype.am=am1;dbits=26}else{BigInteger.prototype.am=am3;dbits=28}BigInteger.prototype.DB=dbits;BigInteger.prototype.DM=(1<<dbits)-1;BigInteger.prototype.DV=1<<dbits;var BI_FP=52;BigInteger.prototype.FV=Math.pow(2,BI_FP);BigInteger.prototype.F1=BI_FP-dbits;BigInteger.prototype.F2=2*dbits-BI_FP;var BI_RM="0123456789abcdefghijklmnopqrstuvwxyz";var BI_RC=new Array;var rr,vv;rr="0".charCodeAt(0);for(vv=0;vv<=9;++vv)BI_RC[rr++]=vv;rr="a".charCodeAt(0);for(vv=10;vv<36;++vv)BI_RC[rr++]=vv;rr="A".charCodeAt(0);for(vv=10;vv<36;++vv)BI_RC[rr++]=vv;function int2char(n){return BI_RM.charAt(n)}function intAt(s,i){var c=BI_RC[s.charCodeAt(i)];return c==null?-1:c}function bnpCopyTo(r){for(var i=this.t-1;i>=0;--i)r[i]=this[i];r.t=this.t;r.s=this.s}function bnpFromInt(x){this.t=1;this.s=x<0?-1:0;if(x>0)this[0]=x;else if(x<-1)this[0]=x+DV;else this.t=0}function nbv(i){var r=nbi();r.fromInt(i);return r}function bnpFromString(s,b){var k;if(b==16)k=4;else if(b==8)k=3;else if(b==256)k=8;else if(b==2)k=1;else if(b==32)k=5;else if(b==4)k=2;else{this.fromRadix(s,b);return}this.t=0;this.s=0;var i=s.length,mi=false,sh=0;while(--i>=0){var x=k==8?s[i]&255:intAt(s,i);if(x<0){if(s.charAt(i)=="-")mi=true;continue}mi=false;if(sh==0)this[this.t++]=x;else if(sh+k>this.DB){this[this.t-1]|=(x&(1<<this.DB-sh)-1)<<sh;this[this.t++]=x>>this.DB-sh}else this[this.t-1]|=x<<sh;sh+=k;if(sh>=this.DB)sh-=this.DB}if(k==8&&(s[0]&128)!=0){this.s=-1;if(sh>0)this[this.t-1]|=(1<<this.DB-sh)-1<<sh}this.clamp();if(mi)BigInteger.ZERO.subTo(this,this)}function bnpClamp(){var c=this.s&this.DM;while(this.t>0&&this[this.t-1]==c)--this.t}function bnToString(b){if(this.s<0)return"-"+this.negate().toString(b);var k;if(b==16)k=4;else if(b==8)k=3;else if(b==2)k=1;else if(b==32)k=5;else if(b==4)k=2;else return this.toRadix(b);var km=(1<<k)-1,d,m=false,r="",i=this.t;var p=this.DB-i*this.DB%k;if(i-->0){if(p<this.DB&&(d=this[i]>>p)>0){m=true;r=int2char(d)}while(i>=0){if(p<k){d=(this[i]&(1<<p)-1)<<k-p;d|=this[--i]>>(p+=this.DB-k)}else{d=this[i]>>(p-=k)&km;if(p<=0){p+=this.DB;--i}}if(d>0)m=true;if(m)r+=int2char(d)}}return m?r:"0"}function bnNegate(){var r=nbi();BigInteger.ZERO.subTo(this,r);return r}function bnAbs(){return this.s<0?this.negate():this}function bnCompareTo(a){var r=this.s-a.s;if(r!=0)return r;var i=this.t;r=i-a.t;if(r!=0)return this.s<0?-r:r;while(--i>=0)if((r=this[i]-a[i])!=0)return r;return 0}function nbits(x){var r=1,t;if((t=x>>>16)!=0){x=t;r+=16}if((t=x>>8)!=0){x=t;r+=8}if((t=x>>4)!=0){x=t;r+=4}if((t=x>>2)!=0){x=t;r+=2}if((t=x>>1)!=0){x=t;r+=1}return r}function bnBitLength(){if(this.t<=0)return 0;return this.DB*(this.t-1)+nbits(this[this.t-1]^this.s&this.DM)}function bnpDLShiftTo(n,r){var i;for(i=this.t-1;i>=0;--i)r[i+n]=this[i];for(i=n-1;i>=0;--i)r[i]=0;r.t=this.t+n;r.s=this.s}function bnpDRShiftTo(n,r){for(var i=n;i<this.t;++i)r[i-n]=this[i];r.t=Math.max(this.t-n,0);r.s=this.s}function bnpLShiftTo(n,r){var bs=n%this.DB;var cbs=this.DB-bs;var bm=(1<<cbs)-1;var ds=Math.floor(n/this.DB),c=this.s<<bs&this.DM,i;for(i=this.t-1;i>=0;--i){r[i+ds+1]=this[i]>>cbs|c;c=(this[i]&bm)<<bs}for(i=ds-1;i>=0;--i)r[i]=0;r[ds]=c;r.t=this.t+ds+1;r.s=this.s;r.clamp()}function bnpRShiftTo(n,r){r.s=this.s;var ds=Math.floor(n/this.DB);if(ds>=this.t){r.t=0;return}var bs=n%this.DB;var cbs=this.DB-bs;var bm=(1<<bs)-1;r[0]=this[ds]>>bs;for(var i=ds+1;i<this.t;++i){r[i-ds-1]|=(this[i]&bm)<<cbs;r[i-ds]=this[i]>>bs}if(bs>0)r[this.t-ds-1]|=(this.s&bm)<<cbs;r.t=this.t-ds;r.clamp()}function bnpSubTo(a,r){var i=0,c=0,m=Math.min(a.t,this.t);while(i<m){c+=this[i]-a[i];r[i++]=c&this.DM;c>>=this.DB}if(a.t<this.t){c-=a.s;while(i<this.t){c+=this[i];r[i++]=c&this.DM;c>>=this.DB}c+=this.s}else{c+=this.s;while(i<a.t){c-=a[i];r[i++]=c&this.DM;c>>=this.DB}c-=a.s}r.s=c<0?-1:0;if(c<-1)r[i++]=this.DV+c;else if(c>0)r[i++]=c;r.t=i;r.clamp()}function bnpMultiplyTo(a,r){var x=this.abs(),y=a.abs();var i=x.t;r.t=i+y.t;while(--i>=0)r[i]=0;for(i=0;i<y.t;++i)r[i+x.t]=x.am(0,y[i],r,i,0,x.t);r.s=0;r.clamp();if(this.s!=a.s)BigInteger.ZERO.subTo(r,r)}function bnpSquareTo(r){var x=this.abs();var i=r.t=2*x.t;while(--i>=0)r[i]=0;for(i=0;i<x.t-1;++i){var c=x.am(i,x[i],r,2*i,0,1);if((r[i+x.t]+=x.am(i+1,2*x[i],r,2*i+1,c,x.t-i-1))>=x.DV){r[i+x.t]-=x.DV;r[i+x.t+1]=1}}if(r.t>0)r[r.t-1]+=x.am(i,x[i],r,2*i,0,1);r.s=0;r.clamp()}function bnpDivRemTo(m,q,r){var pm=m.abs();if(pm.t<=0)return;var pt=this.abs();if(pt.t<pm.t){if(q!=null)q.fromInt(0);if(r!=null)this.copyTo(r);return}if(r==null)r=nbi();var y=nbi(),ts=this.s,ms=m.s;var nsh=this.DB-nbits(pm[pm.t-1]);if(nsh>0){pm.lShiftTo(nsh,y);pt.lShiftTo(nsh,r)}else{pm.copyTo(y);pt.copyTo(r)}var ys=y.t;var y0=y[ys-1];if(y0==0)return;var yt=y0*(1<<this.F1)+(ys>1?y[ys-2]>>this.F2:0);var d1=this.FV/yt,d2=(1<<this.F1)/yt,e=1<<this.F2;var i=r.t,j=i-ys,t=q==null?nbi():q;y.dlShiftTo(j,t);if(r.compareTo(t)>=0){r[r.t++]=1;r.subTo(t,r)}BigInteger.ONE.dlShiftTo(ys,t);t.subTo(y,y);while(y.t<ys)y[y.t++]=0;while(--j>=0){var qd=r[--i]==y0?this.DM:Math.floor(r[i]*d1+(r[i-1]+e)*d2);if((r[i]+=y.am(0,qd,r,j,0,ys))<qd){y.dlShiftTo(j,t);r.subTo(t,r);while(r[i]<--qd)r.subTo(t,r)}}if(q!=null){r.drShiftTo(ys,q);if(ts!=ms)BigInteger.ZERO.subTo(q,q)}r.t=ys;r.clamp();if(nsh>0)r.rShiftTo(nsh,r);if(ts<0)BigInteger.ZERO.subTo(r,r)}function bnMod(a){var r=nbi();this.abs().divRemTo(a,null,r);if(this.s<0&&r.compareTo(BigInteger.ZERO)>0)a.subTo(r,r);return r}function Classic(m){this.m=m}function cConvert(x){if(x.s<0||x.compareTo(this.m)>=0)return x.mod(this.m);else return x}function cRevert(x){return x}function cReduce(x){x.divRemTo(this.m,null,x)}function cMulTo(x,y,r){x.multiplyTo(y,r);this.reduce(r)}function cSqrTo(x,r){x.squareTo(r);this.reduce(r)}Classic.prototype.convert=cConvert;Classic.prototype.revert=cRevert;Classic.prototype.reduce=cReduce;Classic.prototype.mulTo=cMulTo;Classic.prototype.sqrTo=cSqrTo;function bnpInvDigit(){if(this.t<1)return 0;var x=this[0];if((x&1)==0)return 0;var y=x&3;y=y*(2-(x&15)*y)&15;y=y*(2-(x&255)*y)&255;y=y*(2-((x&65535)*y&65535))&65535;y=y*(2-x*y%this.DV)%this.DV;return y>0?this.DV-y:-y}function Montgomery(m){this.m=m;this.mp=m.invDigit();this.mpl=this.mp&32767;this.mph=this.mp