-
-
- - -
--
- - -
-- - -
-- - -
-- - -
--
- - . . . -
-- -
--
- - ... -
-- -
-- -
-diff --git a/.all-contributorsrc b/.all-contributorsrc
new file mode 100644
index 0000000..9a3255b
--- /dev/null
+++ b/.all-contributorsrc
@@ -0,0 +1,34 @@
+{
+ "projectOwner": "workhorsy",
+ "projectName": "comic_book_reader",
+ "files": ["README.md"],
+ "imageSize": 100,
+ "commit": false,
+ "contributorsPerLine": 4,
+ "contributors": [
+ {
+ "login": "workhorsy",
+ "name": "Matthew Brennan Jones",
+ "avatar_url": "https://avatars3.githubusercontent.com/u/2733986?v=4",
+ "profile": "http://workhorsy.org",
+ "contributions": [
+ "code",
+ "translation",
+ "bug",
+ "question"
+ ]
+ },
+ {
+ "login": "btzr-io",
+ "name": "Baltazar Gomez",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/14793624?v=4",
+ "profile": "http://codepen.io/btzr-io",
+ "contributions": [
+ "design",
+ "platform",
+ "code"
+ ]
+ }
+ ],
+ "repoType": "github"
+}
diff --git a/.huskyrc b/.huskyrc
new file mode 100644
index 0000000..2b6e817
--- /dev/null
+++ b/.huskyrc
@@ -0,0 +1,5 @@
+{
+ "hooks": {
+ "pre-commit": "yarn pretty-quick --staged"
+ }
+}
diff --git a/.prettierignore b/.prettierignore
new file mode 100644
index 0000000..efb93b0
--- /dev/null
+++ b/.prettierignore
@@ -0,0 +1,9 @@
+node_modules
+bin
+dist
+test
+build
+/src/assets
+/src/lib
+*.lock
+*.log
diff --git a/.prettierrc b/.prettierrc
new file mode 100644
index 0000000..3e71de2
--- /dev/null
+++ b/.prettierrc
@@ -0,0 +1,6 @@
+{
+ "trailingComma": "es5",
+ "printWidth": 100,
+ "singleQuote": true,
+ "semi": false
+}
diff --git a/ChangeLog b/CHANGELOG.md
similarity index 100%
rename from ChangeLog
rename to CHANGELOG.md
diff --git a/README.md b/README.md
index fd11792..63f321e 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,10 @@
http://comic-book-reader.com
-Warning
-===================
-This branch is a port to Preact, and does not work yet!
+> ### :warning: Warning
+> This branch is a port to Preact, and does not work yet!
+
+# Comic Book Reader
-Comic Book Reader
-===================
* Can read CBR, CBZ, CBT, and PDF files
* Runs in the browser as a JavaScript and HTML web page
* Works well on a touch device or desktop
@@ -13,19 +12,29 @@ Comic Book Reader
* Works when offline thanks to Service Workers.
* Regularly tested in Firefox, Chrome, and Internet Explorer
-# Install Requirements
+### Install Requirements
+
```bash
npm install
```
-# Run for development
+### Run for development
+
```bash
-npm start
+yarn dev
```
-
-# Install git hooks to automatically generate src/lib/version_date.js file on commit
+### Format code
```bash
-./bin/install_hooks.sh
+yarn format
```
+## Contributors
+
+This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification.
+
+
+
+| [
Matthew Brennan Jones](http://workhorsy.org)
[💻](https://github.com/workhorsy/comic_book_reader/commits?author=workhorsy "Code") [🌍](#translation-workhorsy "Translation") [🐛](https://github.com/workhorsy/comic_book_reader/issues?q=author%3Aworkhorsy "Bug reports") [💬](#question-workhorsy "Answering Questions") | [
Baltazar Gomez](http://codepen.io/btzr-io)
[🎨](#design-btzr-io "Design") [📦](#platform-btzr-io "Packaging/porting to new platform") [💻](https://github.com/workhorsy/comic_book_reader/commits?author=btzr-io "Code") |
+| :---: | :---: |
+
diff --git a/bin/install_hooks.sh b/bin/install_hooks.sh
deleted file mode 100755
index 8a7cf96..0000000
--- a/bin/install_hooks.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-cd .git/hooks/
-rm -f pre-commit
-ln -s ../../bin/pre-commit pre-commit
diff --git a/bin/pre-commit b/bin/pre-commit
deleted file mode 100755
index 3ffe0e4..0000000
--- a/bin/pre-commit
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-printf "function getVersionDate() { return \"`date +"%B %d, %Y - %T"`\"; }\r\n" > src/lib/version_date.js
-git add src/lib/version_date.js
diff --git a/favicon.ico b/favicon.ico
deleted file mode 100644
index adddd07..0000000
Binary files a/favicon.ico and /dev/null differ
diff --git a/index.html b/index.html
deleted file mode 100644
index 958f32a..0000000
--- a/index.html
+++ /dev/null
@@ -1,169 +0,0 @@
-
-
-
- A touch friendly HTML5 comic book reader that reads CBR, CBZ, CBT, and PDF files. -
-- -
- -" . $db_id . ":" . $db_time . ", " . ($db_time - $cut_off_time) . "
"; - if ($db_time < $cut_off_time) { - unset($db[$db_id]); - } -} - -// Print everything -/* -echo "now: " . $now . "
"; -echo "id: " . $id . "
"; -echo "user db: "; -print_r($db); -echo "
"; -*/ -// Write the db to file -$string_db = serialize($db); -$fd = fopen($file_name, "w"); -fwrite($fd, $string_db); -fclose($fd); - -header('Content-Type: application/json'); -echo(count($db)); -?> diff --git a/service_worker.js b/service_worker.js deleted file mode 100644 index fd40f7f..0000000 --- a/service_worker.js +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright (c) 2017 Matthew Brennan Jones{ props.title }
-- - -
-
-
-
-
-
- - . . . -
-
-
- - ... -
--
- -
-
>>0){o=(k[u>>2]|0)-q|0;Wf(w,0,(k[x>>2]|0)+q|0,o);Wf(w,o,k[x>>2]|0,b)}else Wf(w,0,(k[x>>2]|0)+q|0,f);m=k[(k[y>>2]|0)+(k[p+16>>2]<<2)>>2]|0;l=p+20|0;o=m+44|0;n=m+48|0;e=k[n>>2]|0;if(e>>>0>64){j=p+44|0;h=p+52|0;c=k[h>>2]|0;g=p+48|0;k[g>>2]=e;if(c>>>0>>0){f=k[p+56>>2]|0;if((f|0)!=0&f>>>0 >>0){k[C>>2]=f;Jf(32944,53104,C);Af(32944);c=k[h>>2]|0;e=k[g>>2]|0}c=c+32+(c>>>2)|0;c=e>>>0>c>>>0?e:c;e=zm(k[j>>2]|0,c)|0;if(!e)Af(32944);k[j>>2]=e;k[h>>2]=c}else e=k[j>>2]|0;_m(e+64|0,(k[o>>2]|0)+64|0,(k[n>>2]|0)+-64|0)|0}else g=p+48|0;if((k[g>>2]|0)!=0?(h=k[A>>2]|0,k[p+100>>2]=h,s=p+44|0,Rf(w,(k[s>>2]|0)+36|0,h),Rf(w,(k[s>>2]|0)+40|0,k[A+4>>2]|0),Sf(w,l),s=k[g>>2]|0,s>>>0>64):0){if((k[n>>2]|0)>>>0 >>0?(t=m+52|0,v=k[t>>2]|0,k[n>>2]=s,v>>>0>>0):0){e=k[m+56>>2]|0;if((e|0)!=0&e>>>0>>0){k[C>>2]=e;Jf(32944,53104,C);Af(32944);c=k[t>>2]|0;e=k[n>>2]|0}else{c=v;e=s}c=c+32+(c>>>2)|0;e=e>>>0>c>>>0?e:c;c=zm(k[o>>2]|0,e)|0;if(!c)Af(32944);k[o>>2]=c;k[t>>2]=e}_m((k[o>>2]|0)+64|0,(k[p+44>>2]|0)+64|0,(k[g>>2]|0)+-64|0)|0}else{e=k[o>>2]|0;if(e){ym(e);k[o>>2]=0}k[n>>2]=0;k[m+52>>2]=0}g=k[p+104>>2]|0;c=k[p+108>>2]|0;e=k[G>>2]|0;f=k[e+(d<<2)>>2]|0;if(f){e=k[f+60>>2]|0;if(e)ym(e);e=k[f+44>>2]|0;if(e)ym(e);e=k[f+20>>2]|0;if(e)ym(e);Ak(f);e=k[G>>2]|0}k[e+(d<<2)>>2]=0;e=d+1|0;c:do if(e>>>0<(k[F>>2]|0)>>>0){f=g;while(1){p=k[(k[G>>2]|0)+(e<<2)>>2]|0;if(!p)break c;if((k[p>>2]|0)!=(q|0))break c;if((k[p+4>>2]|0)!=(c|0))break c;if(i[p+12>>0]|0)break c;Wf(w,0,f,c);m=k[(k[y>>2]|0)+(k[p+16>>2]<<2)>>2]|0;l=p+20|0;o=m+44|0;n=m+48|0;c=k[n>>2]|0;if(c>>>0>64){f=p+44|0;j=p+52|0;d=k[j>>2]|0;h=p+48|0;k[h>>2]=c;if(d>>>0>>0){g=k[p+56>>2]|0;if((g|0)!=0&g>>>0 >>0){k[C>>2]=g;Jf(32944,53104,C);Af(32944);d=k[j>>2]|0;c=k[h>>2]|0}d=d+32+(d>>>2)|0;d=c>>>0>d>>>0?c:d;c=zm(k[f>>2]|0,d)|0;if(!c)Af(32944);k[f>>2]=c;k[j>>2]=d}else c=k[f>>2]|0;_m(c+64|0,(k[o>>2]|0)+64|0,(k[n>>2]|0)+-64|0)|0}else h=p+48|0;do if(!(k[h>>2]|0))D=71;else{f=k[A>>2]|0;k[p+100>>2]=f;c=p+44|0;Rf(w,(k[c>>2]|0)+36|0,f);Rf(w,(k[c>>2]|0)+40|0,k[A+4>>2]|0);Sf(w,l);c=k[h>>2]|0;if(c>>>0<=64){D=71;break}do if((k[n>>2]|0)>>>0 >>0){g=m+52|0;f=k[g>>2]|0;k[n>>2]=c;if(f>>>0>=c>>>0)break;d=k[m+56>>2]|0;if((d|0)!=0&d>>>0 >>0){k[C>>2]=d;Jf(32944,53104,C);Af(32944);d=k[g>>2]|0;c=k[n>>2]|0}else d=f;d=d+32+(d>>>2)|0;c=c>>>0>d>>>0?c:d;d=zm(k[o>>2]|0,c)|0;if(!d)Af(32944);k[o>>2]=d;k[g>>2]=c}while(0);_m((k[o>>2]|0)+64|0,(k[p+44>>2]|0)+64|0,(k[h>>2]|0)+-64|0)|0}while(0);if((D|0)==71){D=0;c=k[o>>2]|0;if(c){ym(c);k[o>>2]=0}k[n>>2]=0;k[m+52>>2]=0}f=k[p+104>>2]|0;g=k[p+108>>2]|0;c=k[G>>2]|0;d=k[c+(e<<2)>>2]|0;if(d){c=k[d+60>>2]|0;if(c)ym(c);c=k[d+44>>2]|0;if(c)ym(c);c=k[d+20>>2]|0;if(c)ym(c);Ak(d);c=k[G>>2]|0}k[c+(e<<2)>>2]=0;c=e+1|0;if(c>>>0<(k[F>>2]|0)>>>0){d=e;e=c;c=g}else{c=g;d=e;break}}}else f=g;while(0);qf(k[a>>2]|0,f,c);i[z>>0]=1;g=A;g=Vm(k[g>>2]|0,k[g+4>>2]|0,c|0,0)|0;q=A;k[q>>2]=g;k[q+4>>2]=O;q=k[E>>2]|0;g=k[B>>2]|0;e=k[F>>2]|0;f=g;c=q;g=q-b&g}else f=h}else f=h;while(0);d=d+1|0;if(d>>>0>=e>>>0)break a;else h=f}f=k[F>>2]|0;if(d>>>0>=f>>>0){H=b;k[I>>2]=H;r=J;return}e=k[G>>2]|0;do{c=k[e+(d<<2)>>2]|0;if((c|0)!=0?(H=c+12|0,(i[H>>0]|0)!=0):0)i[H>>0]=0;d=d+1|0}while(d>>>0 >>0);k[I>>2]=b;r=J;return}while(0);Oh(a,b,c);H=k[E>>2]|0;k[I>>2]=H;r=J;return}function Kh(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=a+39120|0;h=kh(g)|0;if((h|0)==-1){ih(g);k[a+58968>>2]=0;h=0;return h|0}b=h&7;c=b+1|0;do if((b|0)==6){b=kh(g)|0;if((b|0)!=-1){c=b+7|0;f=12;break}ih(g);k[a+58968>>2]=0;h=0;return h|0}else if((b|0)==7){b=kh(g)|0;if((b|0)==-1){ih(g);k[a+58968>>2]=0;h=0;return h|0}c=kh(g)|0;if((c|0)!=-1){c=c+(b<<8)|0;f=12;break}ih(g);k[a+58968>>2]=0;h=0;return h|0}else f=13;while(0);if((f|0)==12)if(!c){b=0;c=0;f=19}else f=13;a:do if((f|0)==13){b=zm(0,c>>>0>32?c:32)|0;if(!b){Af(32944);b=0}if((c|0)>0){e=0;while(1){d=kh(g)|0;if((d|0)==-1)break;i[b+e>>0]=d;e=e+1|0;if((e|0)>=(c|0)){f=19;break a}}ih(g);k[a+58968>>2]=0;c=0}else f=19}while(0);if((f|0)==19)c=Mh(a,h,b,c)|0;if(!b){h=c;return h|0}ym(b);h=c;return h|0}function Lh(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;o=a+4|0;b=k[o>>2]|0;q=a+16|0;e=k[q>>2]|0;p=a+8|0;f=k[p>>2]|0;d=((l[e+(b+1)>>0]|0)<<8|(l[e+b>>0]|0)<<16|(l[e+(b+2)>>0]|0))>>>(8-f|0)>>>8;r=d&255;f=f+8|0;b=(f>>>3)+b|0;k[o>>2]=b;f=f&7;k[p>>2]=f;d=d&7;c=d+1|0;if((d|0)==6){n=b+1|0;c=(((l[e+n>>0]|0)<<8|(l[e+b>>0]|0)<<16|(l[e+(b+2)>>0]|0))>>>(8-f|0)>>>8&255)+7|0;k[o>>2]=n;k[p>>2]=f;n=4}else if((d|0)==7){n=b+2|0;c=((l[e+(b+1)>>0]|0)<<8|(l[e+b>>0]|0)<<16|(l[e+n>>0]|0))>>>(8-f|0)&65535;k[o>>2]=n;k[p>>2]=f;if(!c){b=0;c=0;n=20}else n=4}else n=4;a:do if((n|0)==4){b=zm(0,c>>>0>32?c:32)|0;if(!b){Af(32944);b=0}if((c|0)>0){g=a+120|0;h=c+-1|0;j=a+124|0;f=k[g>>2]|0;d=k[o>>2]|0;m=0;while(1){if((d|0)<(f+-1|0))e=f;else{e=f-d|0;if((e|0)<0){d=1;e=f}else{if((d|0)>16384){if((e|0)>0){f=k[q>>2]|0;an(f|0,f+d|0,e|0)|0}k[o>>2]=0;k[g>>2]=e}else e=f;d=pf(k[a>>2]|0,(k[q>>2]|0)+e|0,32768-e|0)|0;e=k[g>>2]|0;if((d|0)>0){e=e+d|0;k[g>>2]=e}k[j>>2]=e+-30;d=(d|0)==-1}if(d&(m|0)<(h|0)){c=0;break a}d=k[o>>2]|0}s=k[q>>2]|0;f=k[p>>2]|0;i[b+m>>0]=((l[s+(d+1)>>0]|0)<<8|(l[s+d>>0]|0)<<16|(l[s+(d+2)>>0]|0))>>>(8-f|0)>>>8;f=f+8|0;d=(f>>>3)+d|0;k[o>>2]=d;k[p>>2]=f&7;m=m+1|0;if((m|0)>=(c|0)){n=20;break}else f=e}}else n=20}while(0);if((n|0)==20)c=Mh(a,r,b,c)|0;if(!b)return c|0;ym(b);return c|0}function Mh(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,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=r;r=r+16|0;w=z;y=a+59032|0;k[a+59036>>2]=0;k[y>>2]=0;_m(k[a+59044>>2]|0,c|0,((d|0)>32768?32768:d)|0)|0;v=a+58976|0;Qf(v);do if(b&128){c=Vf(y)|0;if(!c){Nh(a);f=a+59052|0;c=a+59084|0;d=k[f>>2]|0;g=0;break}else{g=c+-1|0;o=6;break}}else{g=k[a+59096>>2]|0;o=6}while(0);if((o|0)==6){f=a+59052|0;d=k[f>>2]|0;if(g>>>0>d>>>0){y=0;r=z;return y|0}c=a+59084|0;if(g>>>0>(k[c>>2]|0)>>>0){y=0;r=z;return y|0}}m=a+59048|0;q=a+59080|0;k[a+59096>>2]=g;u=yk(112)|0;k[u+108>>2]=0;l=u+20|0;j=l+56|0;do{k[l>>2]=0;l=l+4|0}while((l|0)<(j|0));s=(g|0)==(d|0);if(s){if(g>>>0>1024){Ak(u);y=0;r=z;return y|0}d=g+1|0;k[f>>2]=d;l=a+59056|0;h=k[l>>2]|0;if(d>>>0>h>>>0){j=k[a+59060>>2]|0;if((j|0)!=0&d>>>0>j>>>0){k[w>>2]=j;Jf(32944,53104,w);Af(32944);h=k[l>>2]|0;d=k[f>>2]|0}h=h+32+(h>>>2)|0;d=d>>>0>h>>>0?d:h;h=zm(k[m>>2]|0,d<<2)|0;if(!h)Af(32944);k[m>>2]=h;k[l>>2]=d;d=k[f>>2]|0}else h=k[m>>2]|0;f=yk(112)|0;k[f+108>>2]=0;l=f+20|0;j=l+56|0;do{k[l>>2]=0;l=l+4|0}while((l|0)<(j|0));t=d+-1|0;k[h+(t<<2)>>2]=f;k[u+16>>2]=t;bi(q,0);k[f+8>>2]=0;t=f}else{t=k[(k[m>>2]|0)+(g<<2)>>2]|0;k[u+16>>2]=g;p=t+8|0;k[p>>2]=(k[p>>2]|0)+1}n=a+59064|0;m=a+59068|0;d=k[m>>2]|0;if(d){f=0;j=0;do{h=k[n>>2]|0;k[h+(j-f<<2)>>2]=k[h+(j<<2)>>2];h=(k[n>>2]|0)+(j<<2)|0;f=((k[h>>2]|0)==0&1)+f|0;if((f|0)>0)k[h>>2]=0;j=j+1|0}while(j>>>0 >>0);if(!f){d=d+1|0;o=26}}else{d=1;o=26}if((o|0)==26){k[m>>2]=d;l=a+59072|0;f=k[l>>2]|0;if(d>>>0>f>>>0){h=k[a+59076>>2]|0;if((h|0)!=0&d>>>0>h>>>0){k[w>>2]=h;Jf(32944,53104,w);Af(32944);f=k[l>>2]|0;d=k[m>>2]|0}f=f+32+(f>>>2)|0;f=d>>>0>f>>>0?d:f;d=zm(k[n>>2]|0,f<<2)|0;if(!d)Af(32944);k[n>>2]=d;k[l>>2]=f;d=k[m>>2]|0;f=1}else f=1}k[(k[n>>2]|0)+(d-f<<2)>>2]=u;p=u+8|0;k[p>>2]=k[t+8>>2];h=Vf(y)|0;h=(b&64|0)==0?h:h+258|0;d=a+112|0;f=k[d>>2]|0;j=a+59104|0;k[u>>2]=h+f&k[j>>2];if(!(b&32)){if(g>>>0<(k[c>>2]|0)>>>0)c=k[(k[q>>2]|0)+(g<<2)>>2]|0;else c=0;k[u+4>>2]=c}else{f=Vf(y)|0;k[u+4>>2]=f;k[(k[q>>2]|0)+(g<<2)>>2]=f;f=k[d>>2]|0}c=k[a+116>>2]|0;if((c|0)==(f|0))c=0;else c=(k[j>>2]&c-f)>>>0<=h>>>0&1;i[u+12>>0]=c;n=u+76|0;k[n+0>>2]=0;k[n+4>>2]=0;k[n+8>>2]=0;k[n+12>>2]=0;k[n+16>>2]=0;k[n+20>>2]=0;k[n+24>>2]=0;k[u+88>>2]=245760;o=u+4|0;k[u+92>>2]=k[o>>2];k[u+96>>2]=k[p>>2];if(b&16){c=(lg(y)|0)>>>9;kg(y,7);if(c&1){a=Vf(y)|0;k[n>>2]=a}if(c&2){a=Vf(y)|0;k[u+80>>2]=a}if(c&4){a=Vf(y)|0;k[u+84>>2]=a}if(c&8){a=Vf(y)|0;k[u+88>>2]=a}if(c&16){a=Vf(y)|0;k[u+92>>2]=a}if(c&32){a=Vf(y)|0;k[u+96>>2]=a}if(c&64){a=Vf(y)|0;k[u+100>>2]=a}}if(s){d=Vf(y)|0;if((d+-1|0)>>>0>65534){y=0;r=z;return y|0}a:do if(!d)c=0;else{c=zm(0,d>>>0>32?d:32)|0;if(!c){Af(32944);c=0}f=0;while(1){if(((k[y>>2]|0)+3|0)>>>0>32767)break;a=(lg(y)|0)>>>8&255;i[c+f>>0]=a;kg(y,8);f=f+1|0;if(f>>>0>=d>>>0)break a}if(!c){y=0;r=z;return y|0}ym(c);y=0;r=z;return y|0}while(0);Uf(v,c,d,t+20|0);if(c)ym(c)}k[u+36>>2]=k[t+20>>2];k[u+40>>2]=k[t+40>>2];l=k[t+64>>2]|0;if((l|0)!=0&l>>>0<8192){g=u+60|0;h=u+64|0;c=(k[h>>2]|0)+l|0;k[h>>2]=c;j=u+68|0;f=k[j>>2]|0;if(c>>>0>f>>>0){d=k[u+72>>2]|0;if((d|0)!=0&c>>>0>d>>>0){k[w>>2]=d;Jf(32944,53104,w);Af(32944);f=k[j>>2]|0;c=k[h>>2]|0}f=f+32+(f>>>2)|0;f=c>>>0>f>>>0?c:f;c=zm(k[g>>2]|0,f)|0;if(!c)Af(32944);k[g>>2]=c;k[j>>2]=f}else c=k[g>>2]|0;_m(c|0,k[t+60>>2]|0,l|0)|0}m=u+44|0;g=u+48|0;c=k[m>>2]|0;if((k[g>>2]|0)>>>0<64){if(c){ym(c);k[m>>2]=0}h=u+52|0;k[h>>2]=0;k[g>>2]=64;c=k[u+56>>2]|0;if((c|0)!=0&c>>>0<64){k[w>>2]=c;Jf(32944,53104,w);Af(32944);c=k[h>>2]|0;f=k[g>>2]|0;d=k[m>>2]|0}else{c=0;f=64;d=0}c=c+32+(c>>>2)|0;f=f>>>0>c>>>0?f:c;c=zm(d,f)|0;if(!c)Af(32944);k[m>>2]=c;k[h>>2]=f}Rf(v,c,k[n>>2]|0);Rf(v,c+4|0,k[u+80>>2]|0);Rf(v,c+8|0,k[u+84>>2]|0);Rf(v,c+12|0,k[u+88>>2]|0);Rf(v,c+16|0,k[u+92>>2]|0);Rf(v,c+20|0,k[u+96>>2]|0);Rf(v,c+24|0,k[u+100>>2]|0);Rf(v,c+28|0,k[o>>2]|0);Rf(v,c+32|0,0);Rf(v,c+44|0,k[p>>2]|0);l=c+48|0;j=l+16|0;do{i[l>>0]=0;l=l+1|0}while((l|0)<(j|0));if(!(b&8)){y=1;r=z;return y|0}if(((k[y>>2]|0)+3|0)>>>0>32767){y=0;r=z;return y|0}f=Vf(y)|0;if(f>>>0>8128){y=0;r=z;return y|0}c=f+64|0;if(c>>>0>(k[g>>2]|0)>>>0?(k[g>>2]=c,x=u+52|0,e=k[x>>2]|0,c>>>0>e>>>0):0){d=k[u+56>>2]|0;if((d|0)!=0&c>>>0>d>>>0){k[w>>2]=d;Jf(32944,53104,w);Af(32944);e=k[x>>2]|0;c=k[g>>2]|0}e=e+32+(e>>>2)|0;c=c>>>0>e>>>0?c:e;e=zm(k[m>>2]|0,c)|0;if(!e)Af(32944);k[m>>2]=e;k[x>>2]=c}c=k[m>>2]|0;if(!f){y=1;r=z;return y|0}else e=0;while(1){if(((k[y>>2]|0)+3|0)>>>0>32767){c=0;o=85;break}x=(lg(y)|0)>>>8&255;i[c+(e+64)>>0]=x;kg(y,8);e=e+1|0;if(e>>>0>=f>>>0){c=1;o=85;break}}if((o|0)==85){r=z;return c|0}return 0}function Nh(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=a+59080|0;c=k[b>>2]|0;if(c){ym(c);k[b>>2]=0}k[a+59084>>2]=0;k[a+59088>>2]=0;k[a+59096>>2]=0;g=a+59052|0;c=k[g>>2]|0;f=a+59048|0;b=k[f>>2]|0;if(c){e=0;do{d=k[b+(e<<2)>>2]|0;if(d){b=k[d+60>>2]|0;if(b)ym(b);b=k[d+44>>2]|0;if(b)ym(b);b=k[d+20>>2]|0;if(b)ym(b);Ak(d);c=k[g>>2]|0;b=k[f>>2]|0}e=e+1|0}while(e>>>0 >>0)}if(b){ym(b);k[f>>2]=0}k[g>>2]=0;k[a+59056>>2]=0;f=a+59068|0;c=k[f>>2]|0;g=a+59064|0;b=k[g>>2]|0;if(c){e=0;do{d=k[b+(e<<2)>>2]|0;if(d){b=k[d+60>>2]|0;if(b)ym(b);b=k[d+44>>2]|0;if(b)ym(b);b=k[d+20>>2]|0;if(b)ym(b);Ak(d);c=k[f>>2]|0;b=k[g>>2]|0}e=e+1|0}while(e>>>0 >>0)}if(!b){k[f>>2]=0;a=a+59072|0;k[a>>2]=0;return}ym(b);k[g>>2]=0;k[f>>2]=0;a=a+59072|0;k[a>>2]=0;return}function Oh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if((c|0)!=(b|0))i[a+19530>>0]=1;d=c>>>0>>0;if(d)i[a+19529>>0]=1;if(!(i[a+19512>>0]|0)){l=a+19252|0;m=(k[l>>2]|0)+b|0;if(!d){d=c-b|0;b=a+19536|0;f=b;e=k[f>>2]|0;f=k[f+4>>2]|0;h=a+19520|0;g=k[h>>2]|0;h=k[h+4>>2]|0;if(!((h|0)>(f|0)|(h|0)==(f|0)&g>>>0>e>>>0))return;r=Um(g|0,h|0,e|0,f|0)|0;q=O;qf(k[a>>2]|0,m,0>(q|0)|0==(q|0)&d>>>0>r>>>0?r:d);r=b;r=Vm(k[r>>2]|0,k[r+4>>2]|0,d|0,0)|0;a=b;k[a>>2]=r;k[a+4>>2]=O;return}h=(k[a+59100>>2]|0)-b|0;j=a+19536|0;b=j;d=k[b>>2]|0;b=k[b+4>>2]|0;g=a+19520|0;e=g;f=k[e>>2]|0;e=k[e+4>>2]|0;if((e|0)>(b|0)|(e|0)==(b|0)&f>>>0>d>>>0){d=Um(f|0,e|0,d|0,b|0)|0;b=O;qf(k[a>>2]|0,m,0>(b|0)|0==(b|0)&h>>>0>d>>>0?d:h);d=j;d=Vm(k[d>>2]|0,k[d+4>>2]|0,h|0,0)|0;b=O;f=j;k[f>>2]=d;k[f+4>>2]=b;f=g;e=k[f+4>>2]|0;f=k[f>>2]|0}if(!((e|0)>(b|0)|(e|0)==(b|0)&f>>>0>d>>>0))return;p=k[l>>2]|0;r=Um(f|0,e|0,d|0,b|0)|0;q=O;qf(k[a>>2]|0,p,0>(q|0)|0==(q|0)&c>>>0>r>>>0?r:c);r=j;r=Vm(k[r>>2]|0,k[r+4>>2]|0,c|0,0)|0;a=j;k[a>>2]=r;k[a+4>>2]=O;return}q=a+59104|0;f=k[q>>2]|0;d=f&c-b;if(!d)return;c=a+19384|0;n=a+19256|0;o=a+19536|0;p=a+19520|0;j=b;m=d;while(1){b=0;while(1){d=k[a+(b<<2)+19384>>2]|0;b=b+1|0;if(d>>>0>j>>>0){r=11;break}if(b>>>0>=32){l=0;break}}if((r|0)==11){r=0;l=d-j|0;l=l>>>0 >>0?l:m}do if((k[c>>2]|0)>>>0<=j>>>0){d=1;while(1){if((k[a+(d<<2)+19384>>2]|0)>>>0>j>>>0){r=16;break}d=d+1|0;if(d>>>0>=32){r=17;break}}if((r|0)==16){r=0;d=(k[a+(d<<2)+19256>>2]|0)+(j-(k[a+(d+-1<<2)+19384>>2]|0))|0;break}else if((r|0)==17){r=0;d=k[n>>2]|0;break}}else d=(k[n>>2]|0)+j|0;while(0);e=o;b=k[e>>2]|0;e=k[e+4>>2]|0;g=p;h=k[g>>2]|0;g=k[g+4>>2]|0;if((g|0)>(e|0)|(g|0)==(e|0)&h>>>0>b>>>0){g=Um(h|0,g|0,b|0,e|0)|0;h=O;qf(k[a>>2]|0,d,0>(h|0)|0==(h|0)&l>>>0>g>>>0?g:l);g=o;g=Vm(k[g>>2]|0,k[g+4>>2]|0,l|0,0)|0;d=o;k[d>>2]=g;k[d+4>>2]=O;d=k[q>>2]|0}else d=f;if((m|0)==(l|0))break;else{j=d&l+j;f=d;m=m-l|0}}return}function Ph(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,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,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0;ca=r;r=r+16|0;ba=ca;$=a+19544|0;i[$>>0]=1;aa=a+19528|0;if(!(i[aa>>0]|0)){if(b)b=1;else{Ym(a+148|0,0,19100)|0;b=a+59100|0;c=a+84|0;d=c+36|0;do{k[c>>2]=0;c=c+4|0}while((c|0)<(d|0));b=k[b>>2]|0;k[a+19248>>2]=(b>>>0<4194304?b:4194304)&k[a+59104>>2];b=a+68|0;c=k[b>>2]|0;if(c){ym(c);k[b>>2]=0}k[a+72>>2]=0;k[a+76>>2]=0;b=0}g=a+8|0;k[g>>2]=0;p=a+4|0;k[p>>2]=0;h=a+19536|0;o=h;k[o>>2]=0;k[o+4>>2]=0;o=a+120|0;q=a+128|0;k[o+0>>2]=0;k[o+4>>2]=0;k[o+8>>2]=0;k[o+12>>2]=0;k[o+16>>2]=0;k[o+20>>2]=0;k[o+24>>2]=0;k[q>>2]=-1;if(b){c=0;d=0}else{k[a+38736>>2]=0;k[a+38740>>2]=0;k[a+38728>>2]=0;k[a+38732>>2]=1;Ym(a+38744|0,0,368)|0;Ym(a+22420|0,0,16308)|0;i[a+58972>>0]=0;Ym(a+58564|0,0,404)|0;k[a+58560>>2]=2;k[a+58968>>2]=0;Nh(a);c=k[o>>2]|0;d=k[p>>2]|0}b=c-d|0;if((b|0)<0){r=ca;return}n=a+136|0;k[q>>2]=(k[n>>2]|0)-d+(k[q>>2]|0);if((d|0)>16384){if((b|0)>0){_=k[a+16>>2]|0;an(_|0,_+d|0,b|0)|0}k[p>>2]=0;k[o>>2]=b}else b=c;if((b|0)!=32768){c=pf(k[a>>2]|0,(k[a+16>>2]|0)+b|0,32768-b|0)|0;b=k[o>>2]|0;if((c|0)>0){b=b+c|0;k[o>>2]=b}}else{b=32768;c=0}b=b+-30|0;f=a+124|0;k[f>>2]=b;d=k[p>>2]|0;k[n>>2]=d;e=k[q>>2]|0;if((e|0)!=-1){_=d+-1+e|0;k[f>>2]=(b|0)<(_|0)?b:_}if((c|0)==-1){r=ca;return}c=a+4|0;b=a+128|0;if(!(ph(a,c,b)|0)){r=ca;return}e=a+148|0;if(!(th(a,c,b,e)|0)){r=ca;return}}else{f=a+124|0;g=a+8|0;h=a+19536|0;b=a+128|0;n=a+136|0;e=a+148|0;o=a+120|0;p=a+4|0;q=a+128|0;c=a+4|0}D=a+59104|0;E=a+112|0;F=a+4|0;G=a+19248|0;H=a+16|0;I=a+280|0;J=a+19512|0;K=a+19252|0;L=a+19384|0;M=a+19256|0;N=a+4100|0;O=a+92|0;P=a+96|0;Q=a+88|0;R=a+84|0;S=a+104|0;T=a+19256|0;U=a+7920|0;V=a+7788|0;W=a+3968|0;X=a+11740|0;Y=a+11608|0;Z=a+148|0;_=a+19520|0;A=a+128|0;B=a+144|0;C=a+132|0;a:while(1){t=k[D>>2]|0;d=k[E>>2]&t;k[E>>2]=d;s=k[F>>2]|0;if((s|0)>=(k[f>>2]|0)){while(1){u=k[n>>2]|0;t=k[A>>2]|0;d=u+-1+t|0;if((s|0)<=(d|0)){if((s|0)!=(d|0))break;if((k[g>>2]|0)<(k[C>>2]|0))break}if(i[B>>0]|0){y=155;break a}if(!(ph(a,c,b)|0)){y=156;break a}if(!(th(a,c,b,e)|0)){y=156;break a}s=k[F>>2]|0}v=k[o>>2]|0;d=v-s|0;if((d|0)<0){y=155;break}k[q>>2]=u-s+t;if((s|0)>16384){if((d|0)>0){z=k[H>>2]|0;an(z|0,z+s|0,d|0)|0}k[p>>2]=0;k[o>>2]=d}else d=v;if((d|0)!=32768){s=pf(k[a>>2]|0,(k[H>>2]|0)+d|0,32768-d|0)|0;d=k[o>>2]|0;if((s|0)>0){d=d+s|0;k[o>>2]=d}}else{d=32768;s=0}d=d+-30|0;k[f>>2]=d;u=k[p>>2]|0;k[n>>2]=u;t=k[q>>2]|0;if((t|0)!=-1){z=u+-1+t|0;k[f>>2]=(d|0)<(z|0)?d:z}if((s|0)==-1){y=155;break}d=k[E>>2]|0;t=k[D>>2]|0;s=u}z=k[G>>2]|0;if(!((z-d&t)>>>0>4099|(z|0)==(d|0))){sh(a);y=h;w=k[y+4>>2]|0;z=_;x=k[z+4>>2]|0;if((w|0)>(x|0)|((w|0)==(x|0)?(k[y>>2]|0)>>>0>(k[z>>2]|0)>>>0:0)){y=156;break}if(i[aa>>0]|0){y=47;break}s=k[F>>2]|0}z=k[H>>2]|0;t=k[g>>2]|0;u=(l[z+(s+1)>>0]<<8|l[z+s>>0]<<16|l[z+(s+2)>>0])>>>(8-t|0)&65534;d=k[I>>2]|0;if(u>>>0<(k[a+(d<<2)+152>>2]|0)>>>0){d=u>>>(16-d|0);v=(l[a+d+284>>0]|0)+t|0;u=(v>>>3)+s|0;k[F>>2]=u;v=v&7;k[g>>2]=v;d=a+(d<<1)+1308|0}else{do{d=d+1|0;if(d>>>0>=15){d=15;break}}while(u>>>0>=(k[a+(d<<2)+152>>2]|0)>>>0);v=d+t|0;y=(v>>>3)+s|0;k[F>>2]=y;v=v&7;k[g>>2]=v;d=((u-(k[a+(d+-1<<2)+152>>2]|0)|0)>>>(16-d|0))+(k[a+(d<<2)+216>>2]|0)|0;d=a+((d>>>0>=(k[Z>>2]|0)>>>0?0:d)<<1)+3356|0;u=y}d=j[d>>1]|0;s=d&65535;if((d&65535)<256){z=(i[J>>0]|0)==0;t=d&255;s=k[E>>2]|0;k[E>>2]=s+1;if(z){i[(k[K>>2]|0)+s>>0]=t;continue}do if((k[L>>2]|0)>>>0<=s>>>0){d=1;while(1){if((k[a+(d<<2)+19384>>2]|0)>>>0>s>>>0){y=59;break}d=d+1|0;if(d>>>0>=32){y=60;break}}if((y|0)==59){d=(k[a+(d<<2)+19256>>2]|0)+(s-(k[a+(d+-1<<2)+19384>>2]|0))|0;break}else if((y|0)==60){d=k[M>>2]|0;break}}else d=(k[M>>2]|0)+s|0;while(0);i[d>>0]=t;continue}if((d&65535)>261){d=s+-262|0;if(d>>>0>=8){s=d>>>2;t=s+-1|0;d=((d&3|4)< >0]<<8|l[z+u>>0]<<16|l[z+(u+2)>>0])>>>(8-v|0)&65535)>>>(17-s|0))+d|0;t=v+t|0;u=(t>>>3)+u|0;k[F>>2]=u;t=t&7;k[g>>2]=t}}else{t=v;x=s+-260|0}s=(l[z+(u+1)>>0]<<8|l[z+u>>0]<<16|l[z+(u+2)>>0])>>>(8-t|0)&65534;d=k[N>>2]|0;if(s>>>0<(k[a+(d<<2)+3972>>2]|0)>>>0){d=s>>>(16-d|0);w=(l[a+d+4104>>0]|0)+t|0;v=(w>>>3)+u|0;k[F>>2]=v;w=w&7;k[g>>2]=w;d=a+(d<<1)+5128|0}else{do{d=d+1|0;if(d>>>0>=15){d=15;break}}while(s>>>0>=(k[a+(d<<2)+3972>>2]|0)>>>0);w=d+t|0;v=(w>>>3)+u|0;k[F>>2]=v;w=w&7;k[g>>2]=w;d=((s-(k[a+(d+-1<<2)+3972>>2]|0)|0)>>>(16-d|0))+(k[a+(d<<2)+4036>>2]|0)|0;d=a+((d>>>0>=(k[W>>2]|0)>>>0?0:d)<<1)+7176|0}y=j[d>>1]|0;d=y&65535;do if((y&65535)>=4){s=d>>>1;u=s+-1|0;t=((d&1|2)<>>0<=3){t=(((l[z+(v+1)>>0]<<16|l[z+v>>0]<<24|l[z+(v+2)>>0]<<8|l[z+(v+3)>>0])< >0]|0)>>>(8-w|0))>>>(33-s|0))+t|0;z=w+u|0;k[F>>2]=(z>>>3)+v;k[g>>2]=z&7;break}if(u>>>0>4){t=(((l[z+(v+1)>>0]<<16|l[z+v>>0]<<24|l[z+(v+2)>>0]<<8|l[z+(v+3)>>0])< >0]|0)>>>(8-w|0))>>>(37-s|0)<<4)+t|0;w=s+-5+w|0;v=(w>>>3)+v|0;k[F>>2]=v;w=w&7;k[g>>2]=w}s=(l[z+(v+1)>>0]<<8|l[z+v>>0]<<16|l[z+(v+2)>>0])>>>(8-w|0)&65534;d=k[U>>2]|0;if(s>>>0<(k[a+(d<<2)+7792>>2]|0)>>>0){d=s>>>(16-d|0);z=(l[a+d+7924>>0]|0)+w|0;k[F>>2]=(z>>>3)+v;k[g>>2]=z&7;d=a+(d<<1)+8948|0}else{do{d=d+1|0;if(d>>>0>=15){d=15;break}}while(s>>>0>=(k[a+(d<<2)+7792>>2]|0)>>>0);z=d+w|0;k[F>>2]=(z>>>3)+v;k[g>>2]=z&7;d=((s-(k[a+(d+-1<<2)+7792>>2]|0)|0)>>>(16-d|0))+(k[a+(d<<2)+7856>>2]|0)|0;d=a+((d>>>0>=(k[V>>2]|0)>>>0?0:d)<<1)+10996|0}t=(m[d>>1]|0)+t|0}}else t=d+1|0;while(0);if(t>>>0>256)if(t>>>0>8192)d=(t>>>0>262144?3:2)+x|0;else d=x+1|0;else d=x;k[P>>2]=k[O>>2];k[O>>2]=k[Q>>2];k[Q>>2]=k[R>>2];k[R>>2]=t;k[S>>2]=d;if(!(i[J>>0]|0)){ai(a,d,t);continue}x=k[D>>2]|0;if(!d)continue;z=k[E>>2]|0;s=z;t=z-t|0;while(1){d=d+-1|0;w=t+1|0;u=t&x;v=k[L>>2]|0;do if(v>>>0<=u>>>0){t=1;while(1){if((k[a+(t<<2)+19384>>2]|0)>>>0>u>>>0){y=96;break}t=t+1|0;if(t>>>0>=32){y=97;break}}if((y|0)==96){t=(k[a+(t<<2)+19256>>2]|0)+(u-(k[a+(t+-1<<2)+19384>>2]|0))|0;break}else if((y|0)==97){t=k[T>>2]|0;break}}else t=(k[T>>2]|0)+u|0;while(0);u=i[t>>0]|0;do if(v>>>0<=s>>>0){t=1;while(1){if((k[a+(t<<2)+19384>>2]|0)>>>0>s>>>0){y=102;break}t=t+1|0;if(t>>>0>=32){y=103;break}}if((y|0)==102){s=(k[a+(t<<2)+19256>>2]|0)+(s-(k[a+(t+-1<<2)+19384>>2]|0))|0;break}else if((y|0)==103){s=k[T>>2]|0;break}}else s=(k[T>>2]|0)+s|0;while(0);i[s>>0]=u;s=(k[E>>2]|0)+1&x;k[E>>2]=s;if(!d)continue a;else t=w}}if((s|0)==257){d=k[S>>2]|0;if(!d)continue;s=k[R>>2]|0;if(!(i[J>>0]|0)){ai(a,d,s);continue}x=k[D>>2]|0;z=k[E>>2]|0;v=z;s=z-s|0;while(1){d=d+-1|0;w=s+1|0;t=s&x;u=k[L>>2]|0;do if(u>>>0<=t>>>0){s=1;while(1){if((k[a+(s<<2)+19384>>2]|0)>>>0>t>>>0){y=116;break}s=s+1|0;if(s>>>0>=32){y=117;break}}if((y|0)==116){s=(k[a+(s<<2)+19256>>2]|0)+(t-(k[a+(s+-1<<2)+19384>>2]|0))|0;break}else if((y|0)==117){s=k[T>>2]|0;break}}else s=(k[T>>2]|0)+t|0;while(0);t=i[s>>0]|0;do if(u>>>0<=v>>>0){s=1;while(1){if((k[a+(s<<2)+19384>>2]|0)>>>0>v>>>0){y=122;break}s=s+1|0;if(s>>>0>=32){y=123;break}}if((y|0)==122){s=(k[a+(s<<2)+19256>>2]|0)+(v-(k[a+(s+-1<<2)+19384>>2]|0))|0;break}else if((y|0)==123){s=k[T>>2]|0;break}}else s=(k[T>>2]|0)+v|0;while(0);i[s>>0]=t;s=(k[E>>2]|0)+1&x;k[E>>2]=s;if(!d)continue a;else{v=s;s=w}}}else if((s|0)==256){if(!(uh(a,c,ba)|0)){y=155;break}vh(a,ba)|0;continue}else{d=s+-258|0;y=k[a+(d<<2)+84>>2]|0;if(!d){w=z;s=v}else{do{z=d;d=d+-1|0;k[a+(z<<2)+84>>2]=k[a+(d<<2)+84>>2]}while((d|0)!=0);w=k[H>>2]|0;u=k[F>>2]|0;s=k[g>>2]|0}k[R>>2]=y;t=(l[w+(u+1)>>0]<<8|l[w+u>>0]<<16|l[w+(u+2)>>0])>>>(8-s|0)&65534;d=k[X>>2]|0;if(t>>>0<(k[a+(d<<2)+11612>>2]|0)>>>0){d=t>>>(16-d|0);v=(l[a+d+11744>>0]|0)+s|0;u=(v>>>3)+u|0;k[F>>2]=u;v=v&7;k[g>>2]=v;d=a+(d<<1)+12768|0}else{do{d=d+1|0;if(d>>>0>=15){d=15;break}}while(t>>>0>=(k[a+(d<<2)+11612>>2]|0)>>>0);v=d+s|0;u=(v>>>3)+u|0;k[F>>2]=u;v=v&7;k[g>>2]=v;d=((t-(k[a+(d+-1<<2)+11612>>2]|0)|0)>>>(16-d|0))+(k[a+(d<<2)+11676>>2]|0)|0;d=a+((d>>>0>=(k[Y>>2]|0)>>>0?0:d)<<1)+14816|0}z=j[d>>1]|0;d=z&65535;if((z&65535)>=8){s=d>>>2;t=s+-1|0;d=((d&3|4)< >0]<<8|l[w+u>>0]<<16|l[w+(u+2)>>0])>>>(8-v|0)&65535)>>>(17-s|0))+d|0;z=v+t|0;k[F>>2]=(z>>>3)+u;k[g>>2]=z&7}}else d=d+2|0;k[S>>2]=d;if(!(i[J>>0]|0)){ai(a,d,y);continue}x=k[D>>2]|0;if(!d)continue;t=k[E>>2]|0;s=t;t=t-y|0;while(1){d=d+-1|0;w=t+1|0;u=t&x;v=k[L>>2]|0;do if(v>>>0<=u>>>0){t=1;while(1){if((k[a+(t<<2)+19384>>2]|0)>>>0>u>>>0){y=145;break}t=t+1|0;if(t>>>0>=32){y=146;break}}if((y|0)==145){t=(k[a+(t<<2)+19256>>2]|0)+(u-(k[a+(t+-1<<2)+19384>>2]|0))|0;break}else if((y|0)==146){t=k[T>>2]|0;break}}else t=(k[T>>2]|0)+u|0;while(0);u=i[t>>0]|0;do if(v>>>0<=s>>>0){t=1;while(1){if((k[a+(t<<2)+19384>>2]|0)>>>0>s>>>0){y=151;break}t=t+1|0;if(t>>>0>=32){y=152;break}}if((y|0)==151){s=(k[a+(t<<2)+19256>>2]|0)+(s-(k[a+(t+-1<<2)+19384>>2]|0))|0;break}else if((y|0)==152){s=k[T>>2]|0;break}}else s=(k[T>>2]|0)+s|0;while(0);i[s>>0]=u;s=(k[E>>2]|0)+1&x;k[E>>2]=s;if(!d)continue a;else t=w}}}if((y|0)==47){i[$>>0]=0;r=ca;return}else if((y|0)==155){sh(a);r=ca;return}else if((y|0)==156){r=ca;return}}function Qh(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,j=0,m=0,n=0,o=0,p=0;p=r;r=r+16|0;g=p;f=i[d>>0]|0;e=f&255;if((e|0)==2|(e|0)==1){o=k[a+19536>>2]|0;c=c+-4|0;if((c|0)<=0){r=p;return b|0}n=f<<24>>24==2?233:232;d=b;e=0;do{a=d+1|0;m=i[d>>0]|0;f=e+1|0;if(m<<24>>24==-24|(m&255|0)==(n|0)){f=f+o&16777215;g=d+2|0;j=d+3|0;h=d+4|0;m=l[g>>0]<<8|l[a>>0]|l[j>>0]<<16|l[h>>0]<<24;if((m|0)<0){if((m+f|0)>-1){m=m+16777216|0;i[a>>0]=m;i[g>>0]=m>>>8;i[j>>0]=m>>>16;i[h>>0]=m>>>24}}else if((m+-16777216|0)<0){m=m-f|0;i[a>>0]=m;i[g>>0]=m>>>8;i[j>>0]=m>>>16;i[h>>0]=m>>>24}d=d+5|0;e=e+5|0}else{d=a;e=f}}while((e|0)<(c|0));e=b;r=p;return e|0}else if((e|0)==3){d=k[a+19536>>2]|0;e=c+-3|0;if((e|0)>0)g=0;else{r=p;return b|0}do{f=b+g|0;if((i[b+(g|3)>>0]|0)==-21){m=b+(g|1)|0;o=b+(g|2)|0;c=(l[m>>0]<<8|l[f>>0]|l[o>>0]<<16)-((g+d|0)>>>2)|0;i[f>>0]=c;i[m>>0]=c>>>8;i[o>>0]=c>>>16}g=g+4|0}while((g|0)<(e|0));e=b;r=p;return e|0}else if(!e){n=i[d+12>>0]|0;m=n&255;j=a+52|0;h=a+60|0;d=k[h>>2]|0;f=a+56|0;k[f>>2]=c;if(d>>>0 >>0){e=k[a+64>>2]|0;if((e|0)!=0&e>>>0 >>0){k[g>>2]=e;Jf(32944,53104,g);Af(32944);d=k[h>>2]|0;e=k[f>>2]|0}else e=c;d=d+32+(d>>>2)|0;d=e>>>0>d>>>0?e:d;e=zm(k[j>>2]|0,d)|0;if(!e)Af(32944);k[j>>2]=e;k[h>>2]=d}else e=k[j>>2]|0;if(!(n<<24>>24)){b=e;r=p;return b|0}else{j=0;d=0}do{if(j>>>0 >>0){g=j;h=0;f=d;while(1){d=f+1|0;h=(h&255)-(l[b+f>>0]|0)|0;i[e+g>>0]=h;g=g+m|0;if(g>>>0>=c>>>0)break;else f=d}}j=j+1|0}while((j|0)!=(m|0));r=p;return e|0}else{b=0;r=p;return b|0}return 0}function Rh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=0;do{c=a+(e<<2)|0;d=k[c>>2]|0;if(d){ym(d);k[c>>2]=0}e=e+1|0}while((e|0)!=32);if(!b)return;else{f=0;g=0}a:while(1){c=b-g|0;e=(c>>>0)/((32-f|0)>>>0)|0;e=e>>>0>4194304?e:4194304;if(c>>>0 >>0){c=9;break}while(1){d=xm(c)|0;if(d)break;c=c-(c>>>5)|0;if(c>>>0 >>0){c=9;break a}}Ym(d|0,0,c|0)|0;k[a+(f<<2)>>2]=d;g=c+g|0;k[a+(f<<2)+128>>2]=g;f=f+1|0;d=g>>>0>>0;if(!(d&f>>>0<32)){c=11;break}}if((c|0)==9){a=xb(4)|0;Ck(a);ec(a|0,61344,16)}else if((c|0)==11)if(d){a=xb(4)|0;Ck(a);ec(a|0,61344,16)}else return}function Sh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;ig(a+4|0,1);Ym(a+19256|0,0,256)|0;k[a+58208>>2]=0;k[a+40728>>2]=0;k[a+40736>>2]=0;k[a+40732>>2]=0;c=a+58976|0;d=a+36|0;e=d+48|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));Of(c);ig(a+59032|0,1);d=a+59048|0;e=d+48|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));k[a>>2]=b;k[a+19252>>2]=0;i[a+19512>>0]=0;i[a+19528>>0]=0;i[a+19529>>0]=0;i[a+19530>>0]=0;k[a+28>>2]=1;c=fi()|0;k[a+20>>2]=c;k[a+32>>2]=0;k[a+24>>2]=0;k[a+59100>>2]=0;k[a+59104>>2]=0;c=a+148|0;d=a+84|0;e=d+36|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));b=a+68|0;Ym(c|0,0,19104)|0;c=k[b>>2]|0;if(c){ym(c);k[b>>2]=0}k[a+72>>2]=0;k[a+76>>2]=0;k[a+8>>2]=0;k[a+4>>2]=0;c=a+19536|0;k[c>>2]=0;k[c+4>>2]=0;c=a+120|0;k[c+0>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;k[c+12>>2]=0;k[c+16>>2]=0;k[c+20>>2]=0;k[c+24>>2]=0;k[a+128>>2]=-1;k[a+38736>>2]=0;k[a+38740>>2]=0;k[a+38728>>2]=0;k[a+38732>>2]=1;Ym(a+38744|0,0,368)|0;Ym(a+22420|0,0,16308)|0;i[a+58972>>0]=0;Ym(a+58564|0,0,404)|0;k[a+58560>>2]=2;k[a+58968>>2]=0;Nh(a);d=a+22372|0;k[d+0>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;k[d+12>>2]=0;k[d+16>>2]=0;k[d+20>>2]=0;k[a+22368>>2]=13568;k[a+22416>>2]=8193;k[a+22412>>2]=128;k[a+22408>>2]=128;k[a+22404>>2]=0;k[a+22364>>2]=0;k[a+22396>>2]=0;k[a+22400>>2]=0;k[c>>2]=0;c=0;do{d=c<<8&65535;j[a+(c<<1)+20570>>1]=d;j[a+(c<<1)+19546>>1]=d;j[a+(c<<1)+20058>>1]=c;j[a+(c<<1)+21082>>1]=0-c<<8;c=c+1|0}while((c|0)!=256);Ym(a+21594|0,0,768)|0;Bh(0,a+20570|0,a+21850|0);return}function Th(a){a=a|0;var b=0,c=0,d=0,e=0;Nh(a);b=k[a+19252>>2]|0;if(b)ym(b);gi(k[a+20>>2]|0);b=k[a+32>>2]|0;if(b)Bk(b);e=k[a+24>>2]|0;if(e){d=e+-4|0;b=k[d>>2]|0;if(b){b=e+(b*19172|0)|0;do{c=k[b+-16>>2]|0;if(c)ym(c);jg(b+-19168|0);b=b+-19172|0}while((b|0)!=(e|0))}Bk(d)}b=k[a+59080>>2]|0;if(b)ym(b);b=k[a+59064>>2]|0;if(b)ym(b);b=k[a+59048>>2]|0;if(b)ym(b);jg(a+59032|0);Pf(a+58976|0);b=a+58208|0;if(!(k[b>>2]|0))d=0;else{k[b>>2]=0;ym(k[a+58380>>2]|0);d=0}do{b=a+(d<<2)+19256|0;c=k[b>>2]|0;if(c){ym(c);k[b>>2]=0}d=d+1|0}while((d|0)!=32);b=k[a+68>>2]|0;if(b)ym(b);b=k[a+52>>2]|0;if(b)ym(b);b=k[a+36>>2]|0;if(!b){a=a+4|0;jg(a);return}ym(b);a=a+4|0;jg(a);return}function Uh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;if(!b)Af(32944);j=b>>>0<262144?262144:b;l=a+59100|0;g=k[l>>2]|0;if(j>>>0<=g>>>0)return;b=(i[a+19512>>0]|0)==0;do if(c)if(b){b=(k[a+19252>>2]|0)!=0;c=a+19512|0;h=9;break}else{a=xb(4)|0;Ck(a);ec(a|0,61344,16)}else{c=a+19512|0;if(b){b=0;h=9}else{b=0;d=c;h=10}}while(0);if((h|0)==9){f=xm(j)|0;if(!f){d=c;h=10}else{Ym(f|0,0,j|0)|0;if(b&g>>>0>1){d=j+-1|0;b=k[a+112>>2]|0;c=k[a+19252>>2]|0;e=1;do{m=b-e|0;i[f+(m&d)>>0]=i[c+(m&g+-1)>>0]|0;e=e+1|0}while(e>>>0 >>0)}b=a+19252|0;c=k[b>>2]|0;if(c)ym(c);k[b>>2]=f}}if((h|0)==10){if(b|j>>>0<16777216){m=xb(4)|0;Ck(m);ec(m|0,61344,16)}b=a+19252|0;c=k[b>>2]|0;if(c){ym(c);k[b>>2]=0}Rh(a+19256|0,j);i[d>>0]=1}k[l>>2]=j;k[a+59104>>2]=j+-1;return}function Vh(a,b,c){a=a|0;b=b|0;c=c|0;switch(b|0){case 0:{if((k[a+28>>2]|0)>>>0>1?(i[a+19512>>0]|0)==0:0){oh(a,c);return}Ph(a,c);return}case 26:case 20:{Ch(a,c);return}case 15:{wh(a,c);return}case 29:{Hh(a,c);return}default:return}}function Wh(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=a+4|0;b=k[i>>2]|0;if((b|0)>32738?(f=a+120|0,c=(k[f>>2]|0)-b|0,(c|0)>=0):0){g=a+136|0;h=a+128|0;k[h>>2]=(k[g>>2]|0)-b+(k[h>>2]|0);if((c|0)>0){e=a+16|0;j=k[e>>2]|0;an(j|0,j+b|0,c|0)|0;k[i>>2]=0;k[f>>2]=c;if((c|0)==32768)b=32768;else{b=e;d=6}}else{k[i>>2]=0;k[f>>2]=c;b=a+16|0;d=6}if((d|0)==6){c=pf(k[a>>2]|0,(k[b>>2]|0)+c|0,32768-c|0)|0;b=k[f>>2]|0;if((c|0)>0){b=b+c|0;k[f>>2]=b}}d=b+-30|0;e=a+124|0;k[e>>2]=d;b=k[i>>2]|0;k[g>>2]=b;c=k[h>>2]|0;if((c|0)!=-1){j=b+-1+c|0;k[e>>2]=(d|0)<(j|0)?d:j}}k[i>>2]=b+1;return l[(k[a+16>>2]|0)+b>>0]|0|0}function Xh(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0;p=r;r=r+16|0;o=p;b=k[a+176>>2]|0;if((b|0)!=(k[a+180>>2]|0))i[b>>0]=0;k[o+8>>2]=o;n=o+4|0;k[n>>2]=o;e=o;g=0;while(1){f=a+(g<<2)+184|0;b=k[f>>2]|0;if(!b)b=e;else{d=a+g+4|0;while(1){c=k[b>>2]|0;k[f>>2]=c;k[b+8>>2]=o;k[b+4>>2]=e;k[e+8>>2]=b;k[n>>2]=b;j[b>>1]=-1;j[b+2>>1]=l[d>>0]|0;if(!c)break;else{e=b;b=c}}}g=g+1|0;if((g|0)==38)break;else e=b}if((b|0)==(o|0)){r=p;return}do{g=b+2|0;f=j[g>>1]|0;e=f&65535;c=e<<4;a:do if((j[b+c>>1]|0)==-1)do{d=m[b+(c|2)>>1]|0;if((d+e|0)>=65536)break a;e=b+(c|4)|0;h=k[b+(c|8)>>2]|0;k[h+4>>2]=k[e>>2];k[(k[e>>2]|0)+8>>2]=h;e=(f&65535)+d|0;f=e&65535;j[g>>1]=f;e=e&65535;c=e<<4}while((j[b+c>>1]|0)==-1);while(0);b=k[b+4>>2]|0}while((b|0)!=(o|0));b=k[n>>2]|0;if((b|0)==(o|0)){r=p;return}h=a+332|0;do{f=b+4|0;e=k[b+8>>2]|0;k[e+4>>2]=k[f>>2];k[(k[f>>2]|0)+8>>2]=e;f=j[b+2>>1]|0;e=f&65535;if((f&65535)>128){g=127-e|0;g=(((g|0)>-129?g:-129)+e|0)>>>7;f=b+2048+(g<<9<<2)|0;g=g<<7;d=k[h>>2]|0;c=e;while(1){k[b>>2]=d;k[h>>2]=b;c=c+-128|0;if((c|0)<=128)break;else{d=b;b=b+2048|0}}b=f;e=e+-128-g|0}d=e+-1|0;c=l[a+d+42>>0]|0;if((l[a+c+4>>0]|0)!=(e|0)){c=c+-1|0;f=l[a+c+4>>0]|0;g=b+(f<<4)|0;f=a+(d-f<<2)+184|0;k[g>>2]=k[f>>2];k[f>>2]=g}f=a+(c<<2)+184|0;k[b>>2]=k[f>>2];k[f>>2]=b;b=k[n>>2]|0}while((b|0)!=(o|0));r=p;return}function Yh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;r=a+4|0;s=m[r>>1]|0;t=b+19072|0;q=b+19080|0;k[q>>2]=s;e=k[a+8>>2]|0;u=(k[b+19064>>2]|0)-(k[b+19060>>2]|0)|0;n=b+19068|0;o=((k[n>>2]|0)>>>0)/(s>>>0)|0;k[n>>2]=o;o=(u>>>0)/(o>>>0)|0;if((o|0)>=(s|0)){b=0;return b|0}c=e+1|0;d=l[c>>0]|0;if((o|0)<(d|0)){k[b+19076>>2]=d;u=d<<1>>>0>s>>>0;i[b+2673>>0]=u&1;v=b+1640|0;k[v>>2]=(u&1)+(k[v>>2]|0);v=d+4|0;k[b+1620>>2]=e;i[c>>0]=v;j[r>>1]=s+4;if(v>>>0>124)hh(a,b);k[t>>2]=0;b=1;return b|0}u=b+1620|0;p=k[u>>2]|0;if(!p){b=0;return b|0}i[b+2673>>0]=0;f=d;n=(m[a>>1]|0)+-1|0;while(1){c=e+8|0;h=e+9|0;g=l[h>>0]|0;d=g+f|0;if((d|0)>(o|0))break;n=n+-1|0;if(!n){v=10;break}else{f=d;e=c}}if((v|0)==10){i[b+2674>>0]=i[b+(l[p>>0]|0)+2416>>0]|0;k[t>>2]=d;e=b+2672|0;i[b+(l[c>>0]|0)+1648>>0]=i[e>>0]|0;d=m[a>>1]|0;k[b+1624>>2]=d;k[u>>2]=0;d=d+-1|0;do{c=c+-8|0;i[b+(l[c>>0]|0)+1648>>0]=i[e>>0]|0;d=d+-1|0}while((d|0)!=0);k[b+19076>>2]=k[q>>2];b=1;return b|0}k[b+19076>>2]=d;k[t>>2]=f;k[u>>2]=c;v=g+4&255;i[h>>0]=v;j[r>>1]=s+4;if((v&255)<=(l[e+1>>0]|0)){b=1;return b|0}v=c;t=k[v>>2]|0;v=k[v+4>>2]|0;q=e;r=k[q+4>>2]|0;s=c;k[s>>2]=k[q>>2];k[s+4>>2]=r;s=e;k[s>>2]=t;k[s+4>>2]=v;k[u>>2]=e;v=Xm(t|0,v|0,8)|0;if((v&255)<=124){b=1;return b|0}hh(a,b);b=1;return b|0}function Zh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0;d=a+4|0;e=b+1620|0;r=i[b+(l[k[e>>2]>>0]|0)+2416>>0]|0;i[b+2674>>0]=r;p=b+2673|0;f=l[d>>0]|0;g=b+1640|0;h=d+1|0;n=i[h>>0]|0;o=n&255;a=b+(o+-1<<7)+((l[p>>0]|0)+(r&255)+(l[b+((m[k[a+12>>2]>>1]|0)+-1)+2160>>0]|0)+((l[b+f+2416>>0]|0)<<1)+((k[g>>2]|0)>>>26&32)<<1)+2676|0;r=(k[b+19064>>2]|0)-(k[b+19060>>2]|0)|0;c=b+19068|0;q=(k[c>>2]|0)>>>14;k[c>>2]=q;c=m[a>>1]|0;if(((r>>>0)/(q>>>0)|0)>>>0 >>0){k[e>>2]=d;i[h>>0]=((n&255)>>>7&255^1)+o;k[b+19072>>2]=0;k[b+19076>>2]=m[a>>1];r=m[a>>1]|0;j[a>>1]=r+128-((r+32|0)>>>7);i[p>>0]=1;k[g>>2]=(k[g>>2]|0)+1;return}else{k[b+19072>>2]=c;r=m[a>>1]|0;j[a>>1]=r-((r+32|0)>>>7);k[b+19076>>2]=16384;k[b+1628>>2]=l[52616+((m[a>>1]|0)>>>10)>>0];k[b+1624>>2]=1;i[b+f+1648>>0]=i[b+2672>>0]|0;i[p>>0]=0;k[e>>2]=0;return}}function _h(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0;v=r;r=r+1024|0;g=v;u=j[a>>1]|0;c=u&65535;q=b+1624|0;d=k[q>>2]|0;h=c-d|0;if(u<<16>>16==256){o=1;u=b+1602|0}else{n=l[b+(h+-1)+1904>>0]|0;o=(((m[k[a+12>>2]>>1]|0)-c|0)>(h|0)|((d|0)>(h|0)&1)<<2|((m[a+4>>1]|0)>>>0<(c*11|0)>>>0&1)<<1)+(l[b+2674>>0]|0)|0;u=b+(n<<6)+(o<<2)+2|0;t=m[u>>1]|0;o=t>>>(l[b+(n<<6)+(o<<2)+4>>0]|0);j[u>>1]=t-o;o=((o|0)==0&1)+o|0}p=b+19080|0;k[p>>2]=o;t=b+2672|0;e=i[t>>0]|0;f=0;c=(k[a+8>>2]|0)+-8|0;n=g;while(1){d=c;while(1){c=d+8|0;if((i[b+(l[c>>0]|0)+1648>>0]|0)==e<<24>>24)d=c;else break}f=(l[d+9>>0]|0)+f|0;k[n>>2]=c;h=h+-1|0;if(!h)break;else n=n+4|0}n=b+19072|0;c=o+f|0;k[p>>2]=c;h=(k[b+19064>>2]|0)-(k[b+19060>>2]|0)|0;d=b+19068|0;o=((k[d>>2]|0)>>>0)/(c>>>0)|0;k[d>>2]=o;o=(h>>>0)/(o>>>0)|0;if((o|0)>=(c|0)){a=0;r=v;return a|0}if((o|0)>=(f|0)){k[n>>2]=f;k[b+19076>>2]=c;c=(m[a>>1]|0)-(k[q>>2]|0)|0;d=g+-4|0;while(1){d=d+4|0;i[b+(l[k[d>>2]>>0]|0)+1648>>0]=e;c=c+-1|0;if(!c)break;e=i[t>>0]|0}j[u>>1]=(m[u>>1]|0)+(k[p>>2]|0);k[q>>2]=m[a>>1];a=1;r=v;return a|0}f=k[g>>2]|0;c=f+1|0;e=i[c>>0]|0;d=e&255;if((d|0)>(o|0)){h=c;c=e}else{do{g=g+4|0;f=k[g>>2]|0;e=f+1|0;c=i[e>>0]|0;d=(c&255)+d|0}while((d|0)<=(o|0));h=e}k[b+19076>>2]=d;e=c&255;k[n>>2]=d-e;c=u+2|0;d=i[c>>0]|0;if((d&255)<7?(s=u+3|0,q=(i[s>>0]|0)+-1<<24>>24,i[s>>0]=q,q<<24>>24==0):0){j[u>>1]=m[u>>1]<<1;i[c>>0]=d+1<<24>>24;i[s>>0]=3<<(d&255)}k[b+1620>>2]=f;u=e+4&255;i[h>>0]=u;s=a+4|0;j[s>>1]=(m[s>>1]|0)+4;if((u&255)>124)hh(a,b);i[t>>0]=(i[t>>0]|0)+1<<24>>24;k[b+1640>>2]=k[b+1644>>2];a=1;r=v;return a|0}function $h(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;f=a+1620|0;g=k[f>>2]|0;C=j[g>>1]|0;D=C&255;C=(C&65535)>>>8;g=k[g+4>>2]|0;n=C&65535;do if((C&255)<31?(b=k[(k[a+1608>>2]|0)+12>>2]|0,(b|0)!=0):0){e=b+4|0;if((j[b>>1]|0)==1){b=e+1|0;C=i[b>>0]|0;i[b>>0]=((C&255)<32&1)+(C&255);b=e;break}b=k[b+8>>2]|0;if((i[b>>0]|0)!=D<<24>>24){while(1){c=b+8|0;if((i[c>>0]|0)==D<<24>>24)break;else b=c}if((l[b+9>>0]|0)<(l[b+1>>0]|0))b=c;else{B=c;A=k[B>>2]|0;B=k[B+4>>2]|0;y=b;z=k[y+4>>2]|0;C=c;k[C>>2]=k[y>>2];k[C+4>>2]=z;C=b;k[C>>2]=A;k[C+4>>2]=B}}c=b+1|0;d=i[c>>0]|0;if((d&255)<115){i[c>>0]=(d&255)+2;j[e>>1]=(m[e>>1]|0)+2}}else b=0;while(0);c=a+1632|0;a:do if(!(k[c>>2]|0)){D=ci(a,1,b)|0;k[(k[f>>2]|0)+4>>2]=D;k[a+1616>>2]=D;k[a+1608>>2]=D;if(D)return}else{C=a+19088|0;d=a+19424|0;e=k[d>>2]|0;k[d>>2]=e+1;i[e>>0]=D;e=k[d>>2]|0;if(e>>>0<(k[a+19436>>2]|0)>>>0){do if(g){if(g>>>0<=e>>>0){b=ci(a,0,b)|0;if(!b)break a}else b=g;B=(k[c>>2]|0)+-1|0;k[c>>2]=B;if(!B){e=k[a+1608>>2]|0;k[d>>2]=(k[d>>2]|0)+(((k[a+1616>>2]|0)!=(e|0))<<31>>31);d=e;e=b;B=b;break}else{d=k[a+1608>>2]|0;B=b;break}}else{k[(k[f>>2]|0)+4>>2]=e;B=k[a+1608>>2]|0;d=B}while(0);u=a+1608|0;b=j[d>>1]|0;v=b&65535;w=a+1616|0;c=k[w>>2]|0;b:do if((c|0)!=(d|0)){x=a+19130|0;y=a+19264|0;z=a+19268|0;A=a+1628|0;s=(b&65535)>3&1;t=n<<1;r=1-n+(m[d+4>>1]|0)-v|0;c:while(1){p=j[c>>1]|0;q=p&65535;if(p<<16>>16==1){f=l[x>>0]|0;b=a+(f<<2)+19272|0;d=k[b>>2]|0;if(!d){d=k[y>>2]|0;b=a+f+19092|0;g=l[b>>0]<<4;p=d+g|0;k[y>>2]=p;if(p>>>0>(k[z>>2]|0)>>>0){k[y>>2]=d+(g-(l[b>>0]<<4));d=fh(C,f)|0}}else k[b>>2]=k[d>>2];if(!d)break a;g=c+4|0;b=g;p=k[b>>2]|0;b=k[b+4>>2]|0;h=d;k[h>>2]=p;k[h+4>>2]=b;k[c+8>>2]=d;b=Xm(p|0,b|0,8)|0;if((b&255)<30){b=$m(b|0,O|0,1)|0;b=b&255}else b=120;i[d+1>>0]=b;h=(k[A>>2]|0)+s+(b&255)|0;j[g>>1]=h;f=c+4|0}else{do if(!(q&1)){b=c+8|0;n=k[b>>2]|0;o=q>>>1;h=i[a+(o+-1)+19130>>0]|0;p=h&255;d=i[a+o+19130>>0]|0;if(h<<24>>24==d<<24>>24){k[b>>2]=n;if(!n)break a;else break}h=d&255;g=a+(h<<2)+19272|0;d=k[g>>2]|0;if(!d){d=k[y>>2]|0;g=a+h+19092|0;f=l[g>>0]<<4;E=d+f|0;k[y>>2]=E;if(E>>>0>(k[z>>2]|0)>>>0){k[y>>2]=d+(f-(l[g>>0]<<4));d=fh(C,h)|0}}else k[g>>2]=k[d>>2];if(!d)break c;_m(d|0,n|0,o<<4|0)|0;E=a+(p<<2)+19272|0;k[n>>2]=k[E>>2];k[E>>2]=n;k[b>>2]=d}while(0);f=c+4|0;h=m[f>>1]|0;h=((q<<2>>>0<=v>>>0&h>>>0<=q<<3>>>0&1)<<1|q<<1>>>0 >>0)+h|0;j[f>>1]=h}d=h&65535;b=ka(d+6|0,t)|0;d=r+d|0;if(b>>>0<(d*6|0)>>>0){g=3;b=(b>>>0>d>>>0?2:1)+(b>>>0>=d<<2>>>0&1)|0}else{b=(b>>>0>=(d*15|0)>>>0&1)+(b>>>0>=(d*12|0)>>>0&1)+(b>>>0>=(d*9|0)>>>0|4)|0;g=b}j[f>>1]=g+h;E=k[c+8>>2]|0;k[E+(q<<3)+4>>2]=e;i[E+(q<<3)>>0]=D;i[E+(q<<3)+1>>0]=b;j[c>>1]=q+1;c=k[c+12>>2]|0;if((c|0)==(k[u>>2]|0))break b}k[b>>2]=0;break a}while(0);k[u>>2]=B;k[w>>2]=B;return}}while(0);gh(a);i[a+2672>>0]=0;return}function ai(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;g=a+112|0;d=k[g>>2]|0;h=d-c|0;f=(k[a+59100>>2]|0)+-4097|0;if(!(h>>>0 >>0&d>>>0 >>0)){if(!b)return;c=a+59104|0;f=a+19252|0;e=b;b=k[c>>2]|0;a=h;while(1){e=e+-1|0;j=k[f>>2]|0;i[j+d>>0]=i[j+(b&a)>>0]|0;b=k[c>>2]|0;d=(k[g>>2]|0)+1&b;k[g>>2]=d;if(!e)break;else a=a+1|0}return}j=k[a+19252>>2]|0;a=j+h|0;e=j+d|0;k[g>>2]=d+b;if(b>>>0>7){f=b+-8|0;g=f&-8;h=d+g+8|0;c=h-c|0;while(1){i[e>>0]=i[a>>0]|0;i[e+1>>0]=i[a+1>>0]|0;i[e+2>>0]=i[a+2>>0]|0;i[e+3>>0]=i[a+3>>0]|0;i[e+4>>0]=i[a+4>>0]|0;i[e+5>>0]=i[a+5>>0]|0;i[e+6>>0]=i[a+6>>0]|0;i[e+7>>0]=i[a+7>>0]|0;b=b+-8|0;if(b>>>0<=7)break;else{e=e+8|0;a=a+8|0}}b=f-g|0;f=c;d=h;e=j+h|0;a=j+c|0}else f=h;if(!b)return;i[e>>0]=i[a>>0]|0;if(b>>>0<=1)return;i[j+(d+1)>>0]=i[j+(f+1)>>0]|0;if(b>>>0<=2)return;i[j+(d+2)>>0]=i[j+(f+2)>>0]|0;if(b>>>0<=3)return;i[j+(d+3)>>0]=i[j+(f+3)>>0]|0;if(b>>>0<=4)return;i[j+(d+4)>>0]=i[j+(f+4)>>0]|0;if(b>>>0<=5)return;i[j+(d+5)>>0]=i[j+(f+5)>>0]|0;if(b>>>0<=6)return;i[j+(d+6)>>0]=i[j+(f+6)>>0]|0;return}function bi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=r;r=r+16|0;f=i;g=a+4|0;c=(k[g>>2]|0)+1|0;k[g>>2]=c;h=a+8|0;d=k[h>>2]|0;if(c>>>0<=d>>>0){g=c;h=k[a>>2]|0;g=g+-1|0;g=h+(g<<2)|0;k[g>>2]=b;r=i;return}e=k[a+12>>2]|0;if((e|0)!=0&c>>>0>e>>>0){k[f>>2]=e;Jf(32944,53104,f);Af(32944);d=k[h>>2]|0;c=k[g>>2]|0}d=d+32+(d>>>2)|0;c=c>>>0>d>>>0?c:d;d=zm(k[a>>2]|0,c<<2)|0;if(!d)Af(32944);k[a>>2]=d;k[h>>2]=c;g=k[g>>2]|0;h=d;g=g+-1|0;g=h+(g<<2)|0;k[g>>2]=b;r=i;return}function ci(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0;u=r;r=r+256|0;t=u;d=k[a+1608>>2]|0;h=a+1620|0;e=k[h>>2]|0;n=k[e+4>>2]|0;if(!b){b=t+4|0;k[t>>2]=e;if(k[d+12>>2]|0)s=3}else{b=t;s=3}if((s|0)==3){d=k[d+12>>2]|0;if(c)s=8;a:while(1){if((s|0)==8){s=0;e=k[c+4>>2]|0;if((e|0)!=(n|0)){c=e;break}e=b+4|0;k[b>>2]=c;b=k[d+12>>2]|0;if(!b){c=d;b=e;break}else{d=b;b=e}}if((j[d>>1]|0)==1){c=d+4|0;s=8;continue}c=k[d+8>>2]|0;e=i[k[h>>2]>>0]|0;if((i[c>>0]|0)==e<<24>>24){s=8;continue}while(1){c=c+8|0;if((i[c>>0]|0)==e<<24>>24){s=8;continue a}}}if((b|0)==(t|0)){t=c;r=u;return t|0}else d=c}g=i[n>>0]|0;h=n+1|0;c=j[d>>1]|0;if(c<<16>>16==1)e=i[d+5>>0]|0;else{if(d>>>0<=(k[a+19424>>2]|0)>>>0){t=0;r=u;return t|0}e=k[d+8>>2]|0;if((i[e>>0]|0)!=g<<24>>24)do e=e+8|0;while((i[e>>0]|0)!=g<<24>>24);e=l[e+1>>0]|0;f=e+-1|0;e=(m[d+4>>1]|0)-(c&65535)+(1-e)|0;c=f<<1;if(c>>>0>e>>>0)c=((c+-1+(e*3|0)|0)>>>0)/(e<<1>>>0)|0;else c=(f*5|0)>>>0>e>>>0&1;e=c+1&255}o=a+19088|0;p=a+19268|0;q=a+19264|0;n=a+19272|0;a=$m(e&255|0,0,8)|0;a=g&255|a;g=h|O;f=b;while(1){f=f+-4|0;c=k[f>>2]|0;b=k[p>>2]|0;if((b|0)==(k[q>>2]|0)){b=k[n>>2]|0;if(!b)b=fh(o,0)|0;else k[n>>2]=k[b>>2];if(b){e=b;s=27}}else{b=b+-16|0;k[p>>2]=b;e=b;s=27}if((s|0)==27){s=0;j[e>>1]=1;h=e+4|0;k[h>>2]=a;k[h+4>>2]=g;k[e+12>>2]=d;k[c+4>>2]=b}if(!b){b=0;s=30;break}if((f|0)==(t|0)){s=30;break}else d=b}if((s|0)==30){r=u;return b|0}return 0}function di(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;f=h;g=a+8232|0;c=k[g>>2]|0;d=a+8228|0;k[d>>2]=b;if(c>>>0>>0){e=k[a+8236>>2]|0;if((e|0)!=0&e>>>0>>0){k[f>>2]=e;Jf(32944,53104,f);Af(32944);b=k[d>>2]|0;c=k[g>>2]|0}c=c+32+(c>>>2)|0;c=b>>>0>c>>>0?b:c;b=a+8224|0;d=zm(k[b>>2]|0,c)|0;if(!d)Af(32944);k[b>>2]=d;k[g>>2]=c}i[a+16>>0]=0;Bg(a+8288|0,0);c=a+8240|0;k[a+28>>2]=0;i[a+8369>>0]=0;i[a+8378>>0]=0;d=a+8412|0;k[a+8432>>2]=0;i[a+16629>>0]=0;k[c+0>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;k[c+12>>2]=0;k[c+16>>2]=0;k[c+20>>2]=0;c=a+8328|0;b=c+9|0;do{i[c>>0]=0;c=c+1|0}while((c|0)<(b|0));k[d+0>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;j[d+12>>1]=0;i[d+14>>0]=0;r=h;return}function ei(a){a=a|0;var b=0;j[a+20>>1]=0;b=a+24|0;a=a+32|0;k[b+0>>2]=0;j[b+4>>1]=0;i[b+6>>0]=0;k[a+0>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;k[a+24>>2]=0;k[a+28>>2]=0;return}function fi(){var a=0,b=0;Tb(52632)|0;b=k[13164]|0;a=b+1|0;k[13164]=a;if(!b){a=yk(584)|0;ii(a,32);k[13166]=a;a=k[13164]|0}if(a>>>0>1){b=yk(584)|0;ii(b,32);Xb(52632)|0;return b|0}else{Xb(52632)|0;b=k[13166]|0;return b|0}return 0}function gi(a){a=a|0;var b=0,c=0;Tb(52632)|0;do if(a){b=k[13166]|0;c=k[13164]|0;if((b|0)==(a|0)&(c|0)!=0){c=c+-1|0;k[13164]=c;if(c)break;ji(a);Ak(a);b=k[13166]|0}if((b|0)!=(a|0)){ji(a);Ak(a)}}while(0);Xb(52632)|0;return}function hi(){var a=0;a=Ja(84)|0;a=(a|0)==0?1:a;return (a>>>0>32?32:a)|0}function ii(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;c=d;b=b>>>0>32?32:b;k[a>>2]=(b|0)==0?1:b;k[a+132>>2]=0;i[a+404>>0]=0;b=(ic(a+560|0,0)|0)==0;i[a+484>>0]=0;k[a+408>>2]=0;if((((b?(ab(a+488|0,0)|0)==0:0)?(ic(a+536|0,0)|0)==0:0)?(ab(a+412|0,0)|0)==0:0)?(ic(a+460|0,0)|0)==0:0){c=a+396|0;k[c>>2]=0;c=a+400|0;k[c>>2]=0;c=a+136|0;k[c>>2]=0;r=d;return}Jf(32944,52672,c);Bf(32944,2);c=a+396|0;k[c>>2]=0;c=a+400|0;k[c>>2]=0;c=a+136|0;k[c>>2]=0;r=d;return}function ji(a){a=a|0;var b=0,c=0,d=0,e=0;ki(a);i[a+404>>0]=1;b=a+460|0;Tb(b|0)|0;c=a+408|0;k[c>>2]=(k[c>>2]|0)+32;Xb(b|0)|0;c=a+412|0;Kb(c|0)|0;d=a+132|0;if(k[d>>2]|0){e=0;do{pb(k[a+(e<<2)+4>>2]|0,0)|0;e=e+1|0}while(e>>>0<(k[d>>2]|0)>>>0)}Hb(a+560|0)|0;Ua(a+488|0)|0;Hb(a+536|0)|0;Ua(c|0)|0;Hb(b|0)|0;return}function ki(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=r;r=r+16|0;e=f;c=(k[a+396>>2]|0)-(k[a+400>>2]|0)&31;b=a+136|0;k[b>>2]=c;if(!c){r=f;return}d=a+484|0;i[d>>0]=1;c=a+460|0;Tb(c|0)|0;g=a+408|0;k[g>>2]=(k[g>>2]|0)+(k[b>>2]|0);Xb(c|0)|0;Kb(a+412|0)|0;c=a+536|0;Tb(c|0)|0;if(i[d>>0]|0){b=a+488|0;do{a=Qb(b|0,c|0)|0;if(a){k[e>>2]=a;Jf(32944,52816,e);Bf(32944,2)}}while((i[d>>0]|0)!=0)}Xb(c|0)|0;r=f;return}function li(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+416|0;g=h;f=h+408|0;e=h+8|0;if(!(k[a>>2]|0)){r=h;return}b=a+132|0;d=0;do{c=_b(f|0,0,15,a|0)|0;if(c){k[g>>2]=c;bk(e,100,52928,g)|0;Jf(32944,e,g);Bf(32944,2)}k[a+(d<<2)+4>>2]=k[f>>2];k[b>>2]=(k[b>>2]|0)+1;d=d+1|0}while(d>>>0<(k[a>>2]|0)>>>0);r=h;return}function mi(a){a=a|0;ni(a);return 0}function ni(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;j=r;r=r+16|0;h=j;if(!(oi(a,h)|0)){r=j;return}b=h+4|0;c=a+560|0;d=a+136|0;e=a+536|0;f=a+484|0;g=a+488|0;do{mc[k[h>>2]&31](k[b>>2]|0);Tb(c|0)|0;l=(k[d>>2]|0)+-1|0;k[d>>2]=l;if(!l){Tb(e|0)|0;i[f>>0]=0;Fb(g|0)|0;Xb(e|0)|0}Xb(c|0)|0}while(oi(a,h)|0);r=j;return}function oi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;e=h;f=a+460|0;Tb(f|0)|0;g=a+408|0;c=k[g>>2]|0;if(!c){d=a+412|0;do{c=Qb(d|0,f|0)|0;if(c){k[e>>2]=c;Jf(32944,52816,e);Bf(32944,2)}c=k[g>>2]|0}while((c|0)==0)}k[g>>2]=c+-1;Xb(f|0)|0;if(i[a+404>>0]|0){a=0;r=h;return a|0}g=a+560|0;Tb(g|0)|0;e=a+400|0;d=a+(k[e>>2]<<3)+140|0;f=k[d+4>>2]|0;a=b;k[a>>2]=k[d>>2];k[a+4>>2]=f;k[e>>2]=(k[e>>2]|0)+1&31;Xb(g|0)|0;a=1;r=h;return a|0}function pi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(!(k[a+132>>2]|0))li(a);e=a+396|0;d=k[e>>2]|0;if((d+1&31|0)==(k[a+400>>2]|0)){ki(a);d=k[e>>2]|0}k[a+(d<<3)+140>>2]=b;b=k[e>>2]|0;k[a+(b<<3)+144>>2]=c;k[e>>2]=b+1&31;return}function qi(){ic(52632,0)|0;Ta(26,52632,w|0)|0;return}function ri(a){a=a|0;Hb(a|0)|0;return}function si(a){a=a|0;wf(a);Bc(a+91656|0);Bc(a+91748|0);Bc(a+91840|0);Bc(a+91932|0);Bc(a+92024|0);ti(a);return}function ti(a){a=a|0;var b=0,c=0;xf(a);k[a+75208>>2]=0;k[a+83464>>2]=0;i[a+75196>>0]=0;k[a+75200>>2]=0;i[a+75204>>0]=0;Cc(a+91656|0);Cc(a+91748|0);Cc(a+91840|0);Cc(a+92024|0);Cc(a+91932|0);b=a+49776|0;c=k[b>>2]|0;if(!c){c=a+49780|0;k[c>>2]=0;a=a+49784|0;k[a>>2]=0;return}ym(c);k[b>>2]=0;c=a+49780|0;k[c>>2]=0;a=a+49784|0;k[a>>2]=0;return}function ui(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0;p=r;r=r+24592|0;m=p+16400|0;l=p;n=p+8200|0;g=Sc(d,0)|0;k[m>>2]=0;Dc(b);if(!(Fc(b,l,2048)|0)){f=0;r=p;return f|0}h=l+4|0;i=n+4|0;j=n+8|0;if(!c){while(1){o=Rc(l)|0;if(Pc(k[o>>2]|0)|0)fk(l,53064)|0;if(e?dd(l)|0:0){if(!(k[m>>2]|0))cd(d,m,2048);if(cf(l,m,f)|0){a=1;o=28;break}}else{if((k[l>>2]|0)==42?Pc(k[h>>2]|0)|0:0){k[n>>2]=46;k[i>>2]=47;Lc(j,g,2048)|0;a=n}else a=g;if(cf(Sc(l,0)|0,a,f)|0){a=1;o=28;break}}if(!(Fc(b,l,2048)|0)){a=0;o=28;break}}if((o|0)==28){r=p;return a|0}}a:while(1){a=Rc(l)|0;if(!(Pc(k[a>>2]|0)|0)){if(!(Uc(Oc(l)|0)|0))o=6}else{k[a>>2]=0;o=6}do if((o|0)==6){o=0;if(e?dd(l)|0:0){if(!(k[m>>2]|0))cd(d,m,2048);if(cf(l,m,f)|0){a=1;o=28;break a}else break}if((k[l>>2]|0)==42?Pc(k[h>>2]|0)|0:0){k[n>>2]=46;k[i>>2]=47;Lc(j,g,2048)|0;a=n}else a=g;if(cf(Sc(l,0)|0,a,f)|0){a=1;o=28;break a}}while(0);if(!(Fc(b,l,2048)|0)){a=0;o=28;break}}if((o|0)==28){r=p;return a|0}return 0}function vi(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;m=(e|0)!=0;if(m&(f|0)!=0)k[e>>2]=0;n=b+32|0;if((kk(n)|0)>>>0>2047){o=0;return o|0}l=(i[b+8417>>0]|0)!=0;if(ui(0,a+91748|0,l,n,0,5)|0){o=0;return o|0}if((k[a+91860>>2]|0)!=0?!(ui(0,a+91840|0,l,n,0,5)|0):0){o=0;return o|0}j=b+8240|0;h=a+50344|0;g=k[h>>2]|0;h=k[h+4>>2]|0;if(!((g|0)==0&(h|0)==0)?(p=j,q=k[p+4>>2]|0,!(q>>>0 >>0|((q|0)==(h|0)?(k[p>>2]|0)>>>0 >>0:0))):0){q=0;return q|0}h=a+50352|0;g=k[h>>2]|0;h=k[h+4>>2]|0;if(!((g|0)==0&(h|0)==0)?(q=j,p=k[q+4>>2]|0,!(p>>>0>h>>>0|((p|0)==(h|0)?(k[q>>2]|0)>>>0>g>>>0:0))):0){q=0;return q|0}g=k[b+28>>2]|0;if(k[a>>2]&g){q=0;return q|0}if((i[a+8>>0]|0)!=0?(k[a+4>>2]&g|0)==0:0){q=0;return q|0}if(!l){h=b+8272|0;g=k[h>>2]|0;h=k[h+4>>2]|0;p=a+50360|0;q=k[p>>2]|0;p=k[p+4>>2]|0;if(!((q|0)==2147483647&(p|0)==2147483647|((p|0)>(h|0)|(p|0)==(h|0)&q>>>0>g>>>0))){q=0;return q|0}q=a+50368|0;p=k[q>>2]|0;q=k[q+4>>2]|0;if(((q|0)>(h|0)|(q|0)==(h|0)&p>>>0>=g>>>0)&((p|0)!=2147483647|(q|0)!=2147483647)){q=0;return q|0}}j=a+91656|0;Dc(j);h=Gc(j)|0;if(!h){q=0;return q|0}else g=1;while(1){if(cf(h,n,d)|0)break;h=Gc(j)|0;if(!h){g=0;o=24;break}else g=g+1|0}if((o|0)==24)return g|0;if(c){q=(Kc(h,n)|0)==0&1;i[c>>0]=q}if(!m){q=g;return q|0}Lc(e,h,f)|0;q=g;return q|0}function wi(a,b){a=a|0;b=b|0;Ec(a+91932|0,b);return}function xi(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;e=r;r=r+8192|0;d=k[a+49716>>2]|0;if((d|0)==2){b=1;r=e;return b|0}if((i[a+49796>>0]|0)!=0|(d|0)==1){Jd(b);b=0;r=e;return b|0}else{Lc(e,b,2048)|0;Jd(b);b=0;r=e;return b|0}return 0}function yi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 1}function zi(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;return}function Ai(a){a=a|0;return}function Bi(a){a=a|0;return}function Ci(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0;n=r;r=r+10256|0;d=n+8208|0;e=n;j=n+8192|0;f=a+12|0;i[f>>0]=0;i[f+1>>0]=0;i[f+2>>0]=0;i[f+3>>0]=0;m=yk(216688)|0;si(m);g=m+92120|0;Qd(g,m);h=m+178656|0;Ug(h,m);b=m+75176|0;k[b>>2]=0;c=a+8|0;k[m+216680>>2]=l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24;Ec(m+91656|0,53064);i[d>>0]=0;c=l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24;if(c)Ic(d,c,2048)|0;c=a+4|0;Xc(d,l[c>>0]|l[c+1>>0]<<8|l[c+2>>0]<<16|l[c+3>>0]<<24,e,2048)|0;wi(m,e);k[m+49716>>2]=1;k[m+58764>>2]=1;d=a+36|0;k[m+75184>>2]=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24;d=a+40|0;k[m+75180>>2]=l[d>>0]|l[d+1>>0]<<8|l[d+2>>0]<<16|l[d+3>>0]<<24;i[m+49821>>0]=1;if(!(Xd(g,e,4)|0)){i[f>>0]=15;i[f+1>>0]=0;i[f+2>>0]=0;i[f+3>>0]=0;Ki(m);Ak(m);m=0;r=n;return m|0}if(!(Ud(g,0)|0)){b=k[b>>2]|0;do if(!b){b=k[8236]|0;if(b>>>0<=1){i[f>>0]=13;i[f+1>>0]=0;i[f+2>>0]=0;i[f+3>>0]=0;break}switch(b|0){case 8:{b=11;break}case 11:{b=24;break}case 6:{b=15;break}case 3:{b=12;break}case 5:{b=19;break}case 2:{b=18;break}case 9:{b=16;break}default:b=21}i[f>>0]=b;i[f+1>>0]=b>>8;i[f+2>>0]=b>>16;i[f+3>>0]=b>>24}else{i[f>>0]=b;i[f+1>>0]=b>>8;i[f+2>>0]=b>>16;i[f+3>>0]=b>>24}while(0);Ki(m);Ak(m);m=0;r=n;return m|0}c=a+32|0;b=l[m+170389>>0]|0;i[c>>0]=b;i[c+1>>0]=b>>8;i[c+2>>0]=b>>16;i[c+3>>0]=b>>24;if(i[m+170391>>0]|0){b=b|4;i[c>>0]=b;i[c+1>>0]=b>>8;i[c+2>>0]=b>>16;i[c+3>>0]=b>>24}if(i[m+170388>>0]|0){b=b|8;i[c>>0]=b;i[c+1>>0]=b>>8;i[c+2>>0]=b>>16;i[c+3>>0]=b>>24}if(i[m+170394>>0]|0){b=b|16;i[c>>0]=b;i[c+1>>0]=b>>8;i[c+2>>0]=b>>16;i[c+3>>0]=b>>24}if(i[m+170392>>0]|0){b=b|32;i[c>>0]=b;i[c+1>>0]=b>>8;i[c+2>>0]=b>>16;i[c+3>>0]=b>>24}if(i[m+170395>>0]|0){b=b|64;i[c>>0]=b;i[c+1>>0]=b>>8;i[c+2>>0]=b>>16;i[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[p+3>>0]=0;p=a+28|0;i[p>>0]=0;i[p+1>>0]=0;i[p+2>>0]=0;i[p+3>>0]=0}Wg(h,g);b=k[j>>2]|0;if(!b){p=m;r=n;return p|0}ym(b);p=m;r=n;return p|0}function Di(a){a=a|0;var b=0;if(!a){a=17;return a|0}b=ld(a+92120|0)|0;Ki(a);Ak(a);a=b?0:17;return a|0}function Ei(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+92120|0;d=ee(c,2)|0;k[a+216684>>2]=d;if((d|0)<1){if(((i[a+170389>>0]|0)!=0?(k[a+128324>>2]|0)==5:0)?(i[a+152132>>0]|0)!=0:0){if(!(ch(c,0,0,76)|0)){a=15;return a|0}d=a+170368|0;Zd(c,k[d>>2]|0,k[d+4>>2]|0,0);a=Ei(a,b)|0;return a|0}if(i[a+170404>>0]|0){a=12;return a|0}a=(i[a+170405>>0]|0)==0?10:24;return a|0}if((k[a+216680>>2]|0)==0?(i[a+143280>>0]|0)!=0:0){c=Fi(a,0,0,0,0,0)|0;if(c){a=c;return a|0}a=Ei(a,b)|0;return a|0}d=b+1024|0;nk(d,a+92144|0,1024)|0;me(d,b,1024)|0;d=b+6144|0;nk(d,a+134984|0,1024)|0;me(d,b+5120|0,1024)|0;d=b+10240|0;c=l[a+143280>>0]|0;i[d>>0]=c;i[d+1>>0]=c>>8;i[d+2>>0]=c>>16;i[d+3>>0]=c>>24;if(i[a+143281>>0]|0){c=c|2;i[d>>0]=c;i[d+1>>0]=c>>8;i[d+2>>0]=c>>16;i[d+3>>0]=c>>24}if(i[a+143283>>0]|0){c=c|4;i[d>>0]=c;i[d+1>>0]=c>>8;i[d+2>>0]=c>>16;i[d+3>>0]=c>>24}if(i[a+143368>>0]|0){c=c|16;i[d>>0]=c;i[d+1>>0]=c>>8;i[d+2>>0]=c>>16;i[d+3>>0]=c>>24}if(i[a+143369>>0]|0){c=c|32;i[d>>0]=c;i[d+1>>0]=c>>8;i[d+2>>0]=c>>16;i[d+3>>0]=c>>24}e=a+143216|0;d=k[e>>2]|0;e=k[e+4>>2]|0;c=b+10244|0;i[c>>0]=d;i[c+1>>0]=d>>8;i[c+2>>0]=d>>16;i[c+3>>0]=d>>24;c=b+10248|0;i[c>>0]=e;i[c+1>>0]=e>>8;i[c+2>>0]=e>>16;i[c+3>>0]=e>>24;c=a+143224|0;e=k[c>>2]|0;c=k[c+4>>2]|0;d=b+10252|0;i[d>>0]=e;i[d+1>>0]=e>>8;i[d+2>>0]=e>>16;i[d+3>>0]=e>>24;d=b+10256|0;i[d>>0]=c;i[d+1>>0]=c>>8;i[d+2>>0]=c>>16;i[d+3>>0]=c>>24;d=(k[a+143380>>2]|0)==0?2:3;c=b+10260|0;i[c>>0]=d;i[c+1>>0]=d>>8;i[c+2>>0]=d>>16;i[c+3>>0]=d>>24;c=i[a+134977>>0]|0;if((k[a+170384>>2]|0)==3)c=c<<24>>24==0?50:200;else c=c&255;d=b+10272|0;i[d>>0]=c;i[d+1>>0]=c>>8;i[d+2>>0]=c>>16;i[d+3>>0]=c>>24;d=a+143244|0;e=k[d>>2]|0;c=b+10264|0;i[c>>0]=e;i[c+1>>0]=e>>8;i[c+2>>0]=e>>16;i[c+3>>0]=e>>24;c=kf(a+143192|0)|0;e=b+10268|0;i[e>>0]=c;i[e+1>>0]=c>>8;i[e+2>>0]=c>>16;i[e+3>>0]=c>>24;e=(l[a+134978>>0]|0)+48|0;c=b+10276|0;i[c>>0]=e;i[c+1>>0]=e>>8;i[c+2>>0]=e>>16;i[c+3>>0]=e>>24;c=k[a+134980>>2]|0;e=b+10280|0;i[e>>0]=c;i[e+1>>0]=c>>8;i[e+2>>0]=c>>16;i[e+3>>0]=c>>24;e=b+10292|0;i[e>>0]=0;i[e+1>>0]=0;i[e+2>>0]=0;i[e+3>>0]=0;e=b+10296|0;i[e>>0]=0;i[e+1>>0]=0;i[e+2>>0]=0;i[e+3>>0]=0;e=(k[a+143372>>2]|0)>>>10;c=b+10300|0;i[c>>0]=e;i[c+1>>0]=e>>8;i[c+2>>0]=e>>16;i[c+3>>0]=e>>24;c=k[a+143240>>2]|0;if((c|0)==2|(c|0)==1){e=b+10304|0;i[e>>0]=1;i[e+1>>0]=0;i[e+2>>0]=0;i[e+3>>0]=0;e=0;return e|0}else if((c|0)==3){a=b+10304|0;i[a>>0]=2;i[a+1>>0]=0;i[a+2>>0]=0;i[a+3>>0]=0;a=b+10308|0;c=d+0|0;d=a+32|0;do{i[a>>0]=i[c>>0]|0;a=a+1|0;c=c+1|0}while((a|0)<(d|0));e=0;return e|0}else{e=b+10304|0;i[e>>0]=0;i[e+1>>0]=0;i[e+2>>0]=0;i[e+3>>0]=0;e=0;return e|0}return 0}function Fi(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0;p=r;r=r+4112|0;l=p+2056|0;h=p;m=p+2048|0;o=a+75176|0;k[o>>2]=0;j=k[a+216680>>2]|0;do if((j|0)==2|(j|0)==0)n=4;else{if((b|0)==0?(i[a+170388>>0]|0)==0:0){n=4;break}k[a+75172>>2]=b;g=a+16408|0;k[g>>2]=0;j=a+66980|0;k[j>>2]=0;if(c){Ic(l,c,2046)|0;ne(l,g,2048)|0;Vc(g,2048)}if(d){Ic(h,d,2046)|0;ne(h,j,2048)|0}if(e){nk(g,e,2048)|0;Vc(g,2048)}if(f)Lc(j,f,2048)|0;ik(a+75208|0,(b|0)==2?53072:53080)|0;i[a+50377>>0]=(b|0)!=2&1;i[m>>0]=0;g=a+178656|0;d=a+92120|0;h=a+216684|0;Xg(g,d,k[h>>2]|0,m)|0;j=a+92124|0;f=a+128324|0;while(1){if(!(k[j>>2]|0))break;if(!(ae(d)|0))break;if((k[f>>2]|0)!=3)break;Xg(g,d,k[h>>2]|0,m)|0;Vd(d)}a=a+170368|0;Zd(d,k[a>>2]|0,k[a+4>>2]|0,0)}while(0);if((n|0)==4){g=a+92120|0;if(((i[a+170389>>0]|0)!=0?(k[a+128324>>2]|0)==2:0)?(i[a+143281>>0]|0)!=0:0){if(!(ch(g,0,0,76)|0)){a=15;r=p;return a|0}a=a+170368|0;Zd(g,k[a>>2]|0,k[a+4>>2]|0,0);a=0;r=p;return a|0}Vd(g)}a=k[o>>2]|0;r=p;return a|0}function Gi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Fi(a,b,0,0,c,d)|0}function Hi(a,b,c){a=a|0;b=b|0;c=c|0;k[a+75184>>2]=b;k[a+75180>>2]=c;return}function Ii(a,b){a=a|0;b=b|0;var c=0,d=0;c=r;r=r+512|0;d=c;Xc(b,0,d,128)|0;Yf(a+40996|0,d);_f(d,512);r=c;return}function Ji(){return 6}function Ki(a){a=a|0;var b=0;Vg(a+178656|0);Rd(a+92120|0);b=k[a+92024>>2]|0;if(b)ym(b);b=k[a+91932>>2]|0;if(b)ym(b);b=k[a+91840>>2]|0;if(b)ym(b);b=k[a+91748>>2]|0;if(b)ym(b);b=k[a+91656>>2]|0;if(!b){yf(a);return}ym(b);yf(a);return}function Li(a){a=a|0;var b=0,c=0;He(a+24|0);b=a+6424|0;k[b+0>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;k[b+12>>2]=0;b=a+16|0;k[b>>2]=0;k[a>>2]=0;i[a+4>>0]=0;k[a+8>>2]=0;k[a+12>>2]=0;c=zk(65536)|0;k[b>>2]=c;k[a+20>>2]=0;i[a+6376>>0]=0;return}function Mi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=a+8|0;if((b|0)!=0?(d=k[g>>2]|0,(d|0)!=0):0)do{f=d;d=k[d+16>>2]|0;e=k[f>>2]|0;if(e)Bk(e);Ak(f)}while((d|0)!=0);k[a>>2]=b;i[a+4>>0]=c&1;k[g>>2]=0;k[a+12>>2]=0;d=a+16|0;if(k[d>>2]|0){c=a+20|0;k[c>>2]=0;a=a+6376|0;i[a>>0]=0;return}c=zk(65536)|0;k[d>>2]=c;c=a+20|0;k[c>>2]=0;a=a+6376|0;i[a>>0]=0;return}function Ni(a){a=a|0;var b=0,c=0,d=0;b=k[a+8>>2]|0;if(b)do{d=b;b=k[b+16>>2]|0;c=k[d>>2]|0;if(c)Bk(c);Ak(d)}while((b|0)!=0);b=k[a+16>>2]|0;if(b)Bk(b);b=k[a+6424>>2]|0;if(!b){d=a+24|0;Ie(d);return}ym(b);d=a+24|0;Ie(d);return}function Oi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;e=a+6376|0;do if(!(i[e>>0]|0)){f=k[a>>2]|0;f=nc[k[(k[f>>2]|0)+20>>2]&15](f)|0;d=a+6448|0;k[d>>2]=f;k[d+4>>2]=O;i[a+6456>>0]=0;d=k[a>>2]|0;f=nc[k[(k[d>>2]|0)+20>>2]&15](d)|0;g=O;j=k[a>>2]|0;sc[k[(k[j>>2]|0)+16>>2]&15](j,b,c,0);if(((ae(k[a>>2]|0)|0)!=0?(h=k[a>>2]|0,(k[h+36204>>2]|0)==3):0)?(hk(h+60080|0,53088)|0)==0:0){j=k[a>>2]|0;b=j+78248|0;h=k[b+4>>2]|0;c=a+6384|0;k[c>>2]=k[b>>2];k[c+4>>2]=h;j=nc[k[(k[j>>2]|0)+20>>2]&15](j)|0;c=a+6392|0;k[c>>2]=j;k[c+4>>2]=O;c=(k[a>>2]|0)+68320|0;j=k[c+4>>2]|0;h=a+6400|0;k[h>>2]=k[c>>2];k[h+4>>2]=j;i[e>>0]=1;sc[k[(k[d>>2]|0)+16>>2]&15](d,f,g,0);break}sc[k[(k[d>>2]|0)+16>>2]&15](d,f,g,0);return}while(0);b=k[a>>2]|0;do if(i[b+68379>>0]|0){c=k[b+36172>>2]|0;if(!(i[c+41508>>0]|0))return;else{Ke(a+24|0,0,5,c+40996|0,b+68385|0,b+68401|0,k[b+68460>>2]|0,b+68427|0,b+68418|0)|0;break}}while(0);c=a+6408|0;b=a+6424|0;k[c+0>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;k[c+12>>2]=0;c=k[b>>2]|0;if(c){ym(c);k[b>>2]=0}k[a+6428>>2]=0;k[a+6432>>2]=0;h=a+6440|0;k[h>>2]=0;k[h+4>>2]=0;Pi(a)|0;return}function Pi(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;e=k[a>>2]|0;h=nc[k[(k[e>>2]|0)+20>>2]&15](e)|0;j=O;d=k[a>>2]|0;l=a+6392|0;f=a+6408|0;g=f;l=Vm(k[g>>2]|0,k[g+4>>2]|0,k[l>>2]|0,k[l+4>>2]|0)|0;sd(d,l,O,0);l=a+6400|0;d=f;d=Um(k[l>>2]|0,k[l+4>>2]|0,k[d>>2]|0,k[d+4>>2]|0)|0;l=O;g=a+6416|0;c=k[g>>2]|0;b=65536-c|0;b=l>>>0<0|(l|0)==0&d>>>0>>0?d:b;d=k[a>>2]|0;b=(i[d+68379>>0]|0)==0?b:b&-16;if(!b){a=0;f=k[e>>2]|0;f=f+16|0;f=k[f>>2]|0;sc[f&15](e,h,j,0);return a|0}l=a+16|0;b=rd(d,(k[l>>2]|0)+c|0,b)|0;if((b|0)<1){a=0;f=k[e>>2]|0;f=f+16|0;f=k[f>>2]|0;sc[f&15](e,h,j,0);return a|0}if(i[(k[a>>2]|0)+68379>>0]|0)Je(a+24|0,(k[l>>2]|0)+(k[g>>2]|0)|0,b&-16);l=f;l=Vm(k[l>>2]|0,k[l+4>>2]|0,b|0,((b|0)<0)<<31>>31|0)|0;a=f;k[a>>2]=l;k[a+4>>2]=O;k[g>>2]=(k[g>>2]|0)+b;a=b;f=k[e>>2]|0;f=f+16|0;f=k[f>>2]|0;sc[f&15](e,h,j,0);return a|0}function Qi(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,j=0,l=0,m=0,n=0,o=0,p=0;l=a+6376|0;if(!(i[l>>0]|0)){d=0;return d|0}e=a+6440|0;g=a+6428|0;m=a+6448|0;do{f=e;f=Vm(k[g>>2]|0,0,k[f>>2]|0,k[f+4>>2]|0)|0;n=O;j=m;h=k[j+4>>2]|0;if(n>>>0>h>>>0|((n|0)==(h|0)?f>>>0>(k[j>>2]|0)>>>0:0))break}while(Ri(a)|0);if(!(i[l>>0]|0)){if(!(i[a+6456>>0]|0)){n=0;return n|0}n=m;sd(k[a>>2]|0,k[n>>2]|0,k[n+4>>2]|0,0);n=0;return n|0}j=m;h=k[j>>2]|0;j=k[j+4>>2]|0;f=e;e=k[f>>2]|0;f=k[f+4>>2]|0;if(!(j>>>0
>>0|(j|0)==(f|0)&h>>>0 >>0)?(o=Vm(h|0,j|0,c|0,0)|0,p=O,n=Vm(k[g>>2]|0,0,e|0,f|0)|0,g=O,!(p>>>0>g>>>0|(p|0)==(g|0)&o>>>0>n>>>0)):0){o=Um(h|0,j|0,e|0,f|0)|0;_m(b|0,(k[a+6424>>2]|0)+o|0,c|0)|0;k[d>>2]=c;o=m;o=Vm(k[o>>2]|0,k[o+4>>2]|0,c|0,0)|0;p=m;k[p>>2]=o;k[p+4>>2]=O;i[a+6456>>0]=1;p=1;return p|0}e=a+6456|0;if(i[e>>0]|0){sd(k[a>>2]|0,h,j,0);i[e>>0]=0}e=rd(k[a>>2]|0,b,c)|0;if((e|0)<0){i[l>>0]=0;p=0;return p|0}else{k[d>>2]=e;o=m;o=Vm(k[o>>2]|0,k[o+4>>2]|0,e|0,((e|0)<0)<<31>>31|0)|0;p=m;k[p>>2]=o;k[p+4>>2]=O;p=1;return p|0}return 0}function Ri(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;m=r;r=r+48|0;d=m;l=m+8|0;Qe(l,0);if(Ui(a,l)|0){Xe(l)|0;f=Xe(l)|0;g=O;h=Xe(l)|0;i=a+6424|0;j=a+6432|0;c=k[j>>2]|0;e=a+6428|0;k[e>>2]=h;if(c>>>0 >>0){b=k[a+6436>>2]|0;if((b|0)!=0&h>>>0>b>>>0){k[d>>2]=b;Jf(32944,53104,d);Af(32944);c=k[j>>2]|0;b=k[e>>2]|0}else b=h;c=c+32+(c>>>2)|0;b=b>>>0>c>>>0?b:c;c=zm(k[i>>2]|0,b)|0;if(!c)Af(32944);k[i>>2]=c;k[j>>2]=b}Ze(l,k[i>>2]|0,h)|0;h=a+6384|0;h=Um(k[h>>2]|0,k[h+4>>2]|0,f|0,g|0)|0;c=a+6440|0;k[c>>2]=h;k[c+4>>2]=O;c=1}else c=0;b=k[l>>2]|0;if(!b){r=m;return c|0}ym(b);r=m;return c|0}function Si(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;if(!(i[a+6376>>0]|0)){a=0;return a|0}if((d|0)==1)f=7;else if(!d){e=a+6448|0;g=e;h=k[g+4>>2]|0;if(h>>>0>c>>>0|((h|0)==(c|0)?(k[g>>2]|0)>>>0>b>>>0:0)?(g=a+6440|0,h=k[g+4>>2]|0,h>>>0>c>>>0|((h|0)==(c|0)?(k[g>>2]|0)>>>0>b>>>0:0)):0){g=a+6384|0;Oi(a,k[g>>2]|0,k[g+4>>2]|0)}g=e;k[g>>2]=b;k[g+4>>2]=c;if((d|0)==1)f=7}if((f|0)==7){g=a+6448|0;d=g;d=Vm(k[d>>2]|0,k[d+4>>2]|0,b|0,c|0)|0;k[g>>2]=d;k[g+4>>2]=O;i[a+6456>>0]=1;g=1;return g|0}e=a+6456|0;i[e>>0]=1;if((d|0)!=2){g=1;return g|0}sd(k[a>>2]|0,b,c,2);d=vd(k[a>>2]|0)|0;g=a+6448|0;k[g>>2]=d;k[g+4>>2]=O;i[e>>0]=0;g=1;return g|0}function Ti(a,b){a=a|0;b=b|0;var c=0,d=0;if(!(i[a+6376>>0]|0)){a=0;return a|0}d=a+6448|0;c=k[d+4>>2]|0;a=b;k[a>>2]=k[d>>2];k[a+4>>2]=c;a=1;return a|0}function Ui(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;h=a+6420|0;c=k[h>>2]|0;j=a+6416|0;if((65536-c|0)>>>0<256){g=(k[j>>2]|0)-c|0;e=k[a+16>>2]|0;_m(e|0,e+c|0,g|0)|0;k[h>>2]=0;k[j>>2]=g;Pi(a)|0;c=k[h>>2]|0}if((c+7|0)>>>0>(k[j>>2]|0)>>>0){j=0;return j|0}g=a+16|0;Se(b,(k[g>>2]|0)+c|0,7);k[h>>2]=(k[h>>2]|0)+7;e=Ve(b)|0;c=Ye(b,4)|0;f=Xe(b)|0;d=c+-3+f|0;if((d|0)<0|(c|0)==0|(f|0)==0&(O|0)==0){i[a+6376>>0]=0;j=0;return j|0}c=k[h>>2]|0;f=(k[j>>2]|0)-c|0;a:do if((d|0)>0){while(1){l=f>>>0 >>0?f:d;Se(b,(k[g>>2]|0)+c|0,l);k[h>>2]=(k[h>>2]|0)+l;d=d-l|0;if((d|0)<=0)break a;k[h>>2]=0;k[j>>2]=0;if(!(Pi(a)|0)){c=0;break}c=k[h>>2]|0}return c|0}while(0);l=(e|0)==($e(b)|0);return l|0}function Vi(){var a=0;a=yk(156)|0;Ym(a|0,0,156)|0;return a|0}function Wi(a){a=a|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function Xi(a,b){a=a|0;b=b|0;i[a>>0]=b;i[a+1>>0]=b>>8;i[a+2>>0]=b>>16;i[a+3>>0]=b>>24;return}function Yi(a){a=a|0;a=a+4|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function Zi(a,b){a=a|0;b=b|0;a=a+4|0;i[a>>0]=b;i[a+1>>0]=b>>8;i[a+2>>0]=b>>16;i[a+3>>0]=b>>24;return}function _i(a){a=a|0;a=a+8|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function $i(a,b){a=a|0;b=b|0;a=a+8|0;i[a>>0]=b;i[a+1>>0]=b>>8;i[a+2>>0]=b>>16;i[a+3>>0]=b>>24;return}function aj(a){a=a|0;a=a+12|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function bj(a){a=a|0;a=a+16|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function cj(a,b){a=a|0;b=b|0;a=a+16|0;i[a>>0]=b;i[a+1>>0]=b>>8;i[a+2>>0]=b>>16;i[a+3>>0]=b>>24;return}function dj(a){a=a|0;a=a+20|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function ej(a,b){a=a|0;b=b|0;a=a+20|0;i[a>>0]=b;i[a+1>>0]=b>>8;i[a+2>>0]=b>>16;i[a+3>>0]=b>>24;return}function fj(a){a=a|0;a=a+24|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function gj(a){a=a|0;a=a+28|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function hj(a){a=a|0;a=a+32|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function ij(a){a=a|0;a=a+36|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function jj(a,b){a=a|0;b=b|0;a=a+36|0;i[a>>0]=b;i[a+1>>0]=b>>8;i[a+2>>0]=b>>16;i[a+3>>0]=b>>24;return}function kj(a){a=a|0;a=a+40|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function lj(a,b){a=a|0;b=b|0;a=a+40|0;i[a>>0]=b;i[a+1>>0]=b>>8;i[a+2>>0]=b>>16;i[a+3>>0]=b>>24;return}function mj(a,b){a=a|0;b=b|0;a=a+(b<<2)+44|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function nj(a,b,c){a=a|0;b=b|0;c=c|0;a=a+(b<<2)+44|0;i[a>>0]=c;i[a+1>>0]=c>>8;i[a+2>>0]=c>>16;i[a+3>>0]=c>>24;return}function oj(a){a=a|0;if(!a)return;Ak(a);return}function pj(){var a=0;a=yk(14396)|0;Ym(a|0,0,14396)|0;return a|0}function qj(a,b){a=a|0;b=b|0;return i[a+b>>0]|0}function rj(a,b){a=a|0;b=b|0;a=a+(b<<2)+1024|0;return (l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24)&65535|0}function sj(a,b){a=a|0;b=b|0;return i[a+b+5120>>0]|0}function tj(a,b){a=a|0;b=b|0;a=a+(b<<2)+6144|0;return (l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24)&65535|0}function uj(a){a=a|0;a=a+10240|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function vj(a){a=a|0;a=a+10244|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function wj(a){a=a|0;a=a+10248|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function xj(a){a=a|0;a=a+10252|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function yj(a){a=a|0;a=a+10256|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function zj(a){a=a|0;a=a+10260|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function Aj(a){a=a|0;a=a+10264|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function Bj(a){a=a|0;a=a+10268|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function Cj(a){a=a|0;a=a+10272|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function Dj(a){a=a|0;a=a+10276|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function Ej(a){a=a|0;a=a+10280|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function Fj(a){a=a|0;a=a+10284|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function Gj(a,b){a=a|0;b=b|0;a=a+10284|0;i[a>>0]=b;i[a+1>>0]=b>>8;i[a+2>>0]=b>>16;i[a+3>>0]=b>>24;return}function Hj(a){a=a|0;a=a+10288|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function Ij(a,b){a=a|0;b=b|0;a=a+10288|0;i[a>>0]=b;i[a+1>>0]=b>>8;i[a+2>>0]=b>>16;i[a+3>>0]=b>>24;return}function Jj(a){a=a|0;a=a+10292|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function Kj(a){a=a|0;a=a+10296|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function Lj(a){a=a|0;a=a+10300|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function Mj(a){a=a|0;a=a+10304|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function Nj(a,b){a=a|0;b=b|0;return i[a+b+10308>>0]|0}function Oj(a,b){a=a|0;b=b|0;a=a+(b<<2)+10340|0;return l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24|0}function Pj(a,b,c){a=a|0;b=b|0;c=c|0;a=a+(b<<2)+10340|0;i[a>>0]=c;i[a+1>>0]=c>>8;i[a+2>>0]=c>>16;i[a+3>>0]=c>>24;return}function Qj(a){a=a|0;if(!a)return;Ak(a);return}function Rj(a){a=a|0;if(!a)return;Ak(a);return}function Sj(a){a=a|0;if(a>>>0<131072){a=(l[53280+((l[53280+(a>>>8)>>0]|0)<<5|a>>>3&31)>>0]|0)>>>(a&7)&1;return a|0}else{a=a>>>0<196606&1;return a|0}return 0}function Tj(a){a=a|0;return (a+-48|0)>>>0<10|0}function Uj(a){a=a|0;return tk(a,0)|0}function Vj(a){a=a|0;return tk(a,1)|0}function Wj(a){a=a|0;return (a>>>0<128?a:-1)|0}function Xj(a,b,c){a=a|0;b=b|0;c=c|0;return Yj(0,a,b,(c|0)!=0?c:57208)|0}function Yj(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,j=0;h=r;r=r+16|0;e=h;k[e>>2]=a;g=(d|0)==0?57216:d;d=k[g>>2]|0;a:do if(!b){if(!d){c=0;r=h;return c|0}}else{if(!a){k[e>>2]=e;a=e}if(!c){c=-2;r=h;return c|0}do if(!d){d=i[b>>0]|0;e=d&255;if(d<<24>>24>-1){k[a>>2]=e;c=d<<24>>24!=0&1;r=h;return c|0}else{d=e+-194|0;if(d>>>0>50)break a;e=c+-1|0;d=k[57e3+(d<<2)>>2]|0;b=b+1|0;break}}else e=c;while(0);b:do if(e){f=i[b>>0]|0;j=(f&255)>>>3;if((j+-16|j+(d>>26))>>>0>7)break a;while(1){b=b+1|0;d=(f&255)+-128|d<<6;e=e+-1|0;if((d|0)>=0)break;if(!e)break b;f=i[b>>0]|0;if((f&-64)<<24>>24!=-128)break a}k[g>>2]=0;k[a>>2]=d;c=c-e|0;r=h;return c|0}while(0);k[g>>2]=d;c=-2;r=h;return c|0}while(0);k[g>>2]=0;c=ac()|0;k[c>>2]=84;c=-1;r=h;return c|0}function Zj(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,j=0;e=k[b>>2]|0;if((d|0)!=0?(f=k[d>>2]|0,(f|0)!=0):0)if(!a){d=c;g=e;j=16}else{k[d>>2]=0;d=c;g=f;h=e;j=36}else if(!a){d=c;j=7}else{d=c;j=6}a:while(1)if((j|0)==6){if(!d){j=26;break}while(1){f=i[e>>0]|0;b:do if(((f&255)+-1|0)>>>0<127?(e&3|0)==0&d>>>0>4:0){while(1){f=k[e>>2]|0;if((f+-16843009|f)&-2139062144){f=f&255;break b}k[a>>2]=f&255;k[a+4>>2]=l[e+1>>0];k[a+8>>2]=l[e+2>>0];f=e+4|0;g=a+16|0;k[a+12>>2]=l[e+3>>0];d=d+-4|0;if(d>>>0>4){a=g;e=f}else{e=f;a=g;break}}f=i[e>>0]|0}while(0);f=f&255;if((f+-1|0)>>>0>=127)break;e=e+1|0;k[a>>2]=f;d=d+-1|0;if(!d){j=26;break a}else a=a+4|0}f=f+-194|0;if(f>>>0>50){j=47;break}g=k[57e3+(f<<2)>>2]|0;h=e+1|0;j=36;continue}else if((j|0)==7){f=i[e>>0]|0;if(((f&255)+-1|0)>>>0<127?(e&3|0)==0:0){f=k[e>>2]|0;if(!((f+-16843009|f)&-2139062144))do{e=e+4|0;d=d+-4|0;f=k[e>>2]|0}while(((f+-16843009|f)&-2139062144|0)==0);f=f&255}f=f&255;if((f+-1|0)>>>0<127){d=d+-1|0;e=e+1|0;j=7;continue}f=f+-194|0;if(f>>>0>50){j=47;break}f=k[57e3+(f<<2)>>2]|0;g=e+1|0;j=16;continue}else if((j|0)==16){j=(l[g>>0]|0)>>>3;if((j+-16|j+(f>>26))>>>0>7){j=17;break}e=g+1|0;if(f&33554432){if((i[e>>0]&-64)<<24>>24!=-128){j=20;break}e=g+2|0;if(f&524288){if((i[e>>0]&-64)<<24>>24!=-128){j=23;break}e=g+3|0}}d=d+-1|0;j=7;continue}else if((j|0)==36){f=l[h>>0]|0;j=f>>>3;if((j+-16|j+(g>>26))>>>0>7){j=37;break}e=h+1|0;g=f+-128|g<<6;if((g|0)<0){f=l[e>>0]|0;if((f&192|0)!=128){j=40;break}e=h+2|0;f=f+-128|g<<6;if((f|0)<0){e=l[e>>0]|0;if((e&192|0)!=128){j=43;break}f=e+-128|f<<6;e=h+3|0}}else f=g;k[a>>2]=f;a=a+4|0;d=d+-1|0;j=6;continue}if((j|0)==17){e=g+-1|0;j=46}else if((j|0)==20){e=g+-1|0;j=46}else if((j|0)==23){e=g+-1|0;j=46}else if((j|0)==26){k[b>>2]=e;j=c;return j|0}else if((j|0)==37){f=g;e=h+-1|0;j=46}else if((j|0)==40){f=g;e=h+-1|0;j=46}else if((j|0)==43){e=h+-1|0;j=46}if((j|0)==46)if(!f)j=47;if((j|0)==47)if(!(i[e>>0]|0)){if(a){k[a>>2]=0;k[b>>2]=0}j=c-d|0;return j|0}j=ac()|0;k[j>>2]=84;if(!a){j=-1;return j|0}k[b>>2]=e;j=-1;return j|0}function _j(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=r;r=r+16|0;e=d;k[e>>2]=b;a=Zj(a,e,c,0)|0;r=d;return a|0}function $j(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+16|0;d=g;k[d>>2]=a;if(!b){b=0;r=g;return b|0}do if(c){if(!a){k[d>>2]=d;f=d}else f=a;d=i[b>>0]|0;a=d&255;if(d<<24>>24>-1){k[f>>2]=a;b=d<<24>>24!=0&1;r=g;return b|0}d=a+-194|0;if(d>>>0<=50){a=b+1|0;e=k[57e3+(d<<2)>>2]|0;if(c>>>0<4?(e&-2147483648>>>((c*6|0)+-6|0)|0)!=0:0)break;d=l[a>>0]|0;c=d>>>3;if((c+-16|c+(e>>26))>>>0<=7){d=d+-128|e<<6;if((d|0)>=0){k[f>>2]=d;b=2;r=g;return b|0}a=l[b+2>>0]|0;if((a&192|0)==128){a=a+-128|d<<6;if((a|0)>=0){k[f>>2]=a;b=3;r=g;return b|0}d=l[b+3>>0]|0;if((d&192|0)==128){k[f>>2]=d+-128|a<<6;b=4;r=g;return b|0}}}}}while(0);b=ac()|0;k[b>>2]=84;b=-1;r=g;return b|0}function ak(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,j=0,l=0,m=0,n=0,o=0,p=0,q=0;n=r;r=r+16|0;m=n;if(!a){e=k[b>>2]|0;d=k[e>>2]|0;if(!d){b=0;r=n;return b|0}else f=0;while(1){if(d>>>0>127){d=Fm(m,d,0)|0;if((d|0)==-1){l=-1;g=26;break}}else d=1;f=d+f|0;e=e+4|0;d=k[e>>2]|0;if(!d){l=f;g=26;break}}if((g|0)==26){r=n;return l|0}}a:do if(c>>>0>3){d=c;f=k[b>>2]|0;while(1){e=k[f>>2]|0;if((e+-1|0)>>>0>126){if(!e){h=a;j=d;break}e=Fm(a,e,0)|0;if((e|0)==-1){l=-1;g=26;break}a=a+e|0;d=d-e|0}else{i[a>>0]=e;a=a+1|0;d=d+-1|0;f=k[b>>2]|0}f=f+4|0;k[b>>2]=f;if(d>>>0<=3)break a}if((g|0)==26){r=n;return l|0}i[h>>0]=0;k[b>>2]=0;b=c-j|0;r=n;return b|0}else d=c;while(0);if(!d){b=c;r=n;return b|0}e=k[b>>2]|0;while(1){f=k[e>>2]|0;if((f+-1|0)>>>0>126){if(!f){o=a;p=d;g=19;break}f=Fm(m,f,0)|0;if((f|0)==-1){l=-1;g=26;break}if(d>>>0 >>0){q=d;g=22;break}Fm(a,k[e>>2]|0,0)|0;a=a+f|0;d=d-f|0}else{i[a>>0]=f;a=a+1|0;d=d+-1|0;e=k[b>>2]|0}e=e+4|0;k[b>>2]=e;if(!d){l=c;g=26;break}}if((g|0)==19){i[o>>0]=0;k[b>>2]=0;b=c-p|0;r=n;return b|0}else if((g|0)==22){b=c-q|0;r=n;return b|0}else if((g|0)==26){r=n;return l|0}return 0}function bk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+16|0;f=e;k[f>>2]=d;a=dk(a,b,c,f)|0;r=e;return a|0}function ck(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;h=r;r=r+128|0;d=h+112|0;f=h+72|0;e=h;g=f+0|0;i=g+36|0;do{k[g>>2]=0;g=g+4|0}while((g|0)<(i|0));k[d>>2]=k[c>>2];if((uk(0,b,d,e,f)|0)<0){g=-1;r=h;return g|0}else{g=uk(a,b,d,e,f)|0;r=h;return g|0}return 0}function dk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;e=k[14442]|0;if(!e){e=ib(57776,57816)|0;k[14442]=e}d=ck(e,c,d)|0;Na(k[14442]|0);c=r;r=r+((1*(d+1|0)|0)+15&-16)|0;Aa(c|0,1,d|0,k[14442]|0)|0;Na(k[14442]|0);i[c+d>>0]=0;a=_j(a,c,b)|0;r=f;return (a>>>0>=b>>>0?-1:a)|0}function ek(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;e=f;a:do if(a>>>0>=128){c=Em(e,a)|0;if((c|0)>=0){if((c|0)>0){d=0;do{if((dc(i[e+d>>0]|0,b|0)|0)==-1){a=-1;break a}d=d+1|0}while((d|0)<(c|0))}}else a=-1}else a=dc(a|0,b|0)|0;while(0);r=f;return a|0}function fk(a,b){a=a|0;b=b|0;ik(a+((kk(a)|0)<<2)|0,b)|0;return a|0}function gk(a,b){a=a|0;b=b|0;var c=0;if(!b){b=a+((kk(a)|0)<<2)|0;return b|0}else c=a;while(1){a=k[c>>2]|0;if((a|0)==0|(a|0)==(b|0))break;else c=c+4|0}b=(a|0)!=0?c:0;return b|0}function hk(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a>>2]|0;d=k[b>>2]|0;if((c|0)!=(d|0)|(c|0)==0|(d|0)==0){a=c;b=d;b=a-b|0;return b|0}do{a=a+4|0;b=b+4|0;d=k[a>>2]|0;c=k[b>>2]|0}while(!((d|0)!=(c|0)|(d|0)==0|(c|0)==0));b=d-c|0;return b|0}function ik(a,b){a=a|0;b=b|0;var c=0,d=0;c=a;while(1){d=k[b>>2]|0;k[c>>2]=d;if(!d)break;else{c=c+4|0;b=b+4|0}}return a|0}function jk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=k[b>>2]|0;if(!c){a=kk(a)|0;return a|0}if(!(k[b+4>>2]|0)){c=gk(a,c)|0;if(!c){a=kk(a)|0;return a|0}else{a=c-a>>2;return a|0}}else{c=k[a>>2]|0;a:do if(!c)c=a;else{e=a;d=c;while(1){c=e+4|0;if(gk(b,d)|0){c=e;break a}d=k[c>>2]|0;if(!d)break;else e=c}}while(0);a=c-a>>2;return a|0}return 0}function kk(a){a=a|0;var b=0;b=a;while(1)if(!(k[b>>2]|0))break;else b=b+4|0;return b-a>>2|0}function lk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=a+((kk(a)|0)<<2)|0;a:do if(c){e=d;while(1){f=k[b>>2]|0;if(!f){d=e;break a}c=c+-1|0;d=e+4|0;k[e>>2]=f;if(!c)break;else{b=b+4|0;e=d}}}while(0);k[d>>2]=0;return a|0}function mk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(!c){f=0;return f|0}else{e=c;d=b}while(1){b=k[a>>2]|0;c=k[d>>2]|0;if((b|0)!=(c|0)|(b|0)==0|(c|0)==0)break;e=e+-1|0;if(!e){c=0;f=5;break}else{d=d+4|0;a=a+4|0}}if((f|0)==5)return c|0;f=b-c|0;return f|0}function nk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:do if(!c){b=a;c=0}else{d=b;e=a;while(1){f=k[d>>2]|0;if(!f){b=e;break a}c=c+-1|0;b=e+4|0;k[e>>2]=f;if(!c){c=0;break}else{d=d+4|0;e=b}}}while(0);sk(b,0,c)|0;return a|0}function ok(a,b){a=a|0;b=b|0;a=a+((jk(a,b)|0)<<2)|0;return ((k[a>>2]|0)!=0?a:0)|0}function pk(a,b){a=a|0;b=b|0;var c=0;c=kk(a)|0;a:do if((c|0)>-1){c=a+(c<<2)|0;while(1){if((k[c>>2]|0)==(b|0))break a;c=c+-4|0;if(c>>>0>>0){c=0;break}}}else c=0;while(0);return c|0}function qk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=k[a>>2]|0;a:do if(!c)c=a;else{e=a;d=c;while(1){c=e+4|0;if(!(gk(b,d)|0)){c=e;break a}d=k[c>>2]|0;if(!d)break;else e=c}}while(0);return c-a>>2|0}function rk(a,b,c){a=a|0;b=b|0;c=c|0;a:do if(!c)a=0;else while(1){if((k[a>>2]|0)==(b|0))break a;c=c+-1|0;if(!c){a=0;break}else a=a+4|0}while(0);return a|0}function sk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!c)return a|0;else d=a;while(1){c=c+-1|0;k[d>>2]=b;if(!c)break;else d=d+4|0}return a|0}function tk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0;h=(b<<1)+-1|0;g=b+-1|0;if((Sj(a)|0)==0|(a+-1536|0)>>>0<2560|(a+-11776|0)>>>0<30784|(a+-43008|0)>>>0<22272){k=a;return k|0}c=(b|0)!=0;if(c&(a+-4256|0)>>>0<46){if((a|0)>4293?!((a|0)==4295|(a|0)==4301):0){k=a;return k|0}k=a+7264|0;return k|0}if((a+-11520|0)>>>0<38&(c^1)){if((a|0)>11557?!((a|0)==11559|(a|0)==11565):0){k=a;return k|0}k=a+-7264|0;return k|0}else f=0;do{e=i[56258+(f<<2)>>0]|0;d=e<<24>>24;c=a-(m[56256+(f<<2)>>1]|0)|0;if((c-(d&g)|0)>>>0<(l[56259+(f<<2)>>0]|0)>>>0){k=13;break}f=f+1|0}while((f|0)!=61);if((k|0)==13)if(e<<24>>24==1){k=b+a-(c&1)|0;return k|0}else{k=(ka(d,h)|0)+a|0;return k|0}e=1-b|0;c=j[56504+(e<<1)>>1]|0;a:do if(c<<16>>16){d=c;c=0;while(1){if((d&65535|0)==(a|0))break;c=c+1|0;d=j[56504+(c<<2)+(e<<1)>>1]|0;if(!(d<<16>>16))break a}k=m[56504+(c<<2)+(b<<1)>>1]|0;return k|0}while(0);if((a+-66600+(b*40|0)|0)>>>0>=40){k=a;return k|0}k=a+-40+(b*80|0)|0;return k|0}function uk(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,l=0,m=0,n=0,o=0,q=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,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,Q=0,R=0.0;Q=r;r=r+48|0;L=Q;I=Q+32|0;M=Q+28|0;A=(a|0)!=0;x=0;y=0;f=0;h=0;l=0;a:while(1){do if((f|0)>-1){if((h|0)<=(2147483647-f|0)){z=h+f|0;break}if(!(k[a>>2]&32)){z=ac()|0;k[z>>2]=75;z=-1}else z=-1}else z=f;while(0);f=k[b>>2]|0;if(!f){J=z;K=l;N=97;break}else h=b;while(1){if((f|0)==37|(f|0)==0)break;w=h+4|0;f=k[w>>2]|0;h=w}w=(qk(h,57224)|0)>>>1;m=w<<1;g=h+(m<<2)|0;w=h+(w<<2)-b>>2;if(A){if(w){f=w;while(1){f=f+-1|0;ek(k[b>>2]|0,a)|0;if(!f){N=13;break}else b=b+4|0}}}else N=13;if((N|0)==13?(N=0,(w|0)!=0):0){f=z;b=g;h=w;continue}b=h+((m|1)<<2)|0;if((Tj(k[b>>2]|0)|0)!=0?(k[h+(m+2<<2)>>2]|0)==36:0){u=(k[b>>2]|0)+-48|0;l=1;h=h+(m+3<<2)|0}else{u=-1;h=b}b=k[h>>2]|0;b:do if((b&-32|0)==32){g=0;while(1){f=1<>2]|0;if((b&-32|0)==32)g=f;else break}}else f=0;while(0);do if((b|0)==42){b=h+4|0;if((Tj(k[b>>2]|0)|0)!=0?(k[h+8>>2]|0)==36:0){k[e+((k[b>>2]|0)+-48<<2)>>2]=10;g=1;h=h+12|0;b=k[d+((k[b>>2]|0)+-48<<3)>>2]|0}else{if(l){O=-1;N=115;break a}if(!A){s=f;h=b;v=0;q=0;break}g=k[c>>2]|0;v=k[g>>2]|0;k[c>>2]=g+4;g=0;h=b;b=v}if((b|0)<0){s=f|8192;v=g;q=0-b|0}else{s=f;v=g;q=b}}else if(Tj(b)|0){b=0;do{b=(b*10|0)+-48+(k[h>>2]|0)|0;h=h+4|0}while((Tj(k[h>>2]|0)|0)!=0);if((b|0)<0){O=-1;N=115;break a}else{s=f;v=l;q=b}}else{s=f;v=l;q=0}while(0);c:do if((k[h>>2]|0)==46){f=h+4|0;b=k[f>>2]|0;if((b|0)!=42){if(!(Tj(b)|0)){h=f;f=0;break}else{b=f;f=0}while(1){f=(f*10|0)+-48+(k[b>>2]|0)|0;h=h+8|0;if(!(Tj(k[h>>2]|0)|0))break c;else{n=b;b=h;h=n}}}f=h+8|0;b=(k[f>>2]|0)+-48|0;if(b>>>0<10?(k[h+12>>2]|0)==36:0){k[e+(b<<2)>>2]=10;h=h+16|0;f=k[d+((k[f>>2]|0)+-48<<3)>>2]|0;break}if(v){O=-1;N=115;break a}if(A){h=k[c>>2]|0;n=k[h>>2]|0;k[c>>2]=h+4;h=f;f=n}else{h=f;f=0}}else f=-1;while(0);l=0;while(1){m=k[h>>2]|0;g=m+-65|0;if(g>>>0>57){O=-1;N=115;break a}b=h+4|0;g=i[57232+(l*58|0)+g>>0]|0;n=g&255;if((n+-1|0)>>>0<8){h=b;l=n}else{o=g;break}}if(!(o<<24>>24)){O=-1;N=115;break}g=(u|0)>-1;d:do if(o<<24>>24==19)if(g){O=-1;N=115;break a}else{E=x;F=y;N=63}else{if(g){k[e+(u<<2)>>2]=n;F=d+(u<<3)|0;E=k[F>>2]|0;F=k[F+4>>2]|0;N=63;break}if(!A){O=0;N=115;break a}if((o&255)>20){B=m;C=x;D=y}else do switch(n|0){case 9:{G=k[c>>2]|0;H=k[G>>2]|0;k[c>>2]=G+4;G=y;N=64;break d}case 10:{G=k[c>>2]|0;H=k[G>>2]|0;k[c>>2]=G+4;G=((H|0)<0)<<31>>31;N=64;break d}case 12:{N=k[c>>2]|0;G=N;H=k[G>>2]|0;G=k[G+4>>2]|0;k[c>>2]=N+8;N=64;break d}case 14:{G=k[c>>2]|0;H=k[G>>2]|0;k[c>>2]=G+4;G=0;H=H&65535;N=64;break d}case 13:{G=k[c>>2]|0;H=k[G>>2]|0;k[c>>2]=G+4;G=(((H&65535)<<16>>16|0)<0)<<31>>31;H=H<<16>>16;N=64;break d}case 15:{G=k[c>>2]|0;H=k[G>>2]|0;k[c>>2]=G+4;G=(((H&255)<<24>>24|0)<0)<<31>>31;H=H<<24>>24;N=64;break d}case 16:{G=k[c>>2]|0;H=k[G>>2]|0;k[c>>2]=G+4;G=0;H=H&255;N=64;break d}case 17:{G=k[c>>2]|0;k[t>>2]=k[G>>2];k[t+4>>2]=k[G+4>>2];R=+p[t>>3];k[c>>2]=G+8;p[t>>3]=R;G=k[t+4>>2]|0;H=k[t>>2]|0;N=64;break d}case 11:{G=k[c>>2]|0;H=k[G>>2]|0;k[c>>2]=G+4;G=0;N=64;break d}case 18:{E=k[c>>2]|0;k[t>>2]=k[E>>2];k[t+4>>2]=k[E+4>>2];R=+p[t>>3];k[c>>2]=E+8;p[t>>3]=R;E=k[t>>2]|0;F=k[t+4>>2]|0;N=63;break d}default:{G=y;H=x;N=64;break d}}while(0)}while(0);if((N|0)==63){N=0;if(A){G=F;H=E;N=64}else{x=E;y=F;f=z;h=w;l=v;continue}}if((N|0)==64){N=0;B=k[h>>2]|0;C=H;D=G}h=(l|0)!=0&(B&15|0)==3?B&-33:B;switch(h|0){case 99:{ek(Wj(C)|0,a)|0;x=C;y=D;f=z;h=1;l=v;continue a}case 115:{n=C;g=(f|0)<0?2147483647:f;if((g|0)>0){l=n;h=0;while(1){f=$j(M,l,4)|0;if((f|0)<=0)break;h=h+1|0;if((h|0)<(g|0))l=l+f|0;else break}if((f|0)<0){O=-1;N=115;break a}else m=h}else m=0;h=(q|0)<(m|0)?m:q;l=(s&8192|0)!=0;if(!l){k[L>>2]=h-m;k[L+4>>2]=60248;ob(a|0,57696,L|0)|0}if(m){f=n;g=m;do{g=g+-1|0;f=f+($j(M,f,4)|0)|0;ek(k[M>>2]|0,a)|0}while((g|0)!=0)}if(!l){x=C;y=D;f=z;l=v;continue a}k[L>>2]=h-m;k[L+4>>2]=60248;ob(a|0,57696,L|0)|0;x=C;y=D;f=z;l=v;continue a}case 110:switch(l|0){case 1:{k[C>>2]=z;x=C;y=D;f=z;h=w;l=v;continue a}case 7:{x=C;k[x>>2]=z;k[x+4>>2]=((z|0)<0)<<31>>31;x=C;y=D;f=z;h=w;l=v;continue a}case 3:{j[C>>1]=z;x=C;y=D;f=z;h=w;l=v;continue a}case 4:{i[C>>0]=z;x=C;y=D;f=z;h=w;l=v;continue a}case 0:{k[C>>2]=z;x=C;y=D;f=z;h=w;l=v;continue a}case 2:{x=C;k[x>>2]=z;k[x+4>>2]=((z|0)<0)<<31>>31;x=C;y=D;f=z;h=w;l=v;continue a}case 6:{k[C>>2]=z;x=C;y=D;f=z;h=w;l=v;continue a}default:{x=C;y=D;f=z;h=w;l=v;continue a}}case 83:{g=C;h=rk(g,0,f)|0;if(h)f=h-C>>2;m=(q|0)<(f|0)?f:q;if(!(s&8192)){k[L>>2]=m-f;k[L+4>>2]=60248;ob(a|0,57696,L|0)|0;if(!f){x=C;y=D;f=z;h=m;l=v;continue a}while(1){f=f+-1|0;ek(k[g>>2]|0,a)|0;if(!f){x=C;y=D;f=z;h=m;l=v;continue a}else g=g+4|0}}if(f){h=f;while(1){h=h+-1|0;ek(k[g>>2]|0,a)|0;if(!h)break;else g=g+4|0}}k[L>>2]=m-f;k[L+4>>2]=60248;ob(a|0,57696,L|0)|0;x=C;y=D;f=z;h=m;l=v;continue a}case 67:{ek(C,a)|0;x=C;y=D;f=z;h=1;l=v;continue a}default:{y=h|32;x=i[57744+(y+-97)>>0]|0;k[L>>2]=57728+(s>>>3&1^1);k[L+4>>2]=58616+(s>>>11&1^1);k[L+8>>2]=58528+(s>>>13&1^1);k[L+12>>2]=58320+(s&1^1);k[L+16>>2]=57736+(s>>>16&1^1);k[L+20>>2]=x;k[L+24>>2]=h;Im(I,16,57704,L)|0;switch(y|0){case 103:case 102:case 101:case 97:{k[t>>2]=C;k[t+4>>2]=D;R=+p[t>>3];k[L>>2]=q;k[L+4>>2]=f;x=L+8|0;p[t>>3]=R;k[x>>2]=k[t>>2];k[x+4>>2]=k[t+4>>2];x=C;y=D;f=z;h=ob(a|0,I|0,L|0)|0;l=v;continue a}case 112:case 120:case 117:case 111:case 105:case 100:{k[L>>2]=q;k[L+4>>2]=f;x=L+8|0;k[x>>2]=C;k[x+4>>2]=D;x=C;y=D;f=z;h=ob(a|0,I|0,L|0)|0;l=v;continue a}default:{x=C;y=D;f=z;h=w;l=v;continue a}}}}}if((N|0)==97){if(a){e=J;r=Q;return e|0}if(!K){e=0;r=Q;return e|0}else g=1;while(1){b=k[e+(g<<2)>>2]|0;if(!b){P=g;break}f=d+(g<<3)|0;e:do if(b>>>0<=20)do switch(b|0){case 15:{M=k[c>>2]|0;L=k[M>>2]|0;k[c>>2]=M+4;L=(L&255)<<24>>24;M=f;k[M>>2]=L;k[M+4>>2]=((L|0)<0)<<31>>31;break e}case 16:{M=k[c>>2]|0;L=k[M>>2]|0;k[c>>2]=M+4;M=f;k[M>>2]=L&255;k[M+4>>2]=0;break e}case 11:{M=k[c>>2]|0;L=k[M>>2]|0;k[c>>2]=M+4;M=f;k[M>>2]=L;k[M+4>>2]=0;break e}case 10:{M=k[c>>2]|0;L=k[M>>2]|0;k[c>>2]=M+4;M=f;k[M>>2]=L;k[M+4>>2]=((L|0)<0)<<31>>31;break e}case 14:{M=k[c>>2]|0;L=k[M>>2]|0;k[c>>2]=M+4;M=f;k[M>>2]=L&65535;k[M+4>>2]=0;break e}case 17:{M=k[c>>2]|0;k[t>>2]=k[M>>2];k[t+4>>2]=k[M+4>>2];R=+p[t>>3];k[c>>2]=M+8;p[f>>3]=R;break e}case 12:{M=k[c>>2]|0;L=M;a=k[L>>2]|0;L=k[L+4>>2]|0;k[c>>2]=M+8;M=f;k[M>>2]=a;k[M+4>>2]=L;break e}case 13:{M=k[c>>2]|0;L=k[M>>2]|0;k[c>>2]=M+4;L=(L&65535)<<16>>16;M=f;k[M>>2]=L;k[M+4>>2]=((L|0)<0)<<31>>31;break e}case 9:{L=k[c>>2]|0;M=k[L>>2]|0;k[c>>2]=L+4;k[f>>2]=M;break e}case 18:{M=k[c>>2]|0;k[t>>2]=k[M>>2];k[t+4>>2]=k[M+4>>2];R=+p[t>>3];k[c>>2]=M+8;p[f>>3]=R;break e}default:break e}while(0);while(0);g=g+1|0;if((g|0)>=10){O=1;N=115;break}}if((N|0)==115){r=Q;return O|0}while(1){if(k[e+(P<<2)>>2]|0){O=-1;N=115;break}P=P+1|0;if((P|0)>=10){O=1;N=115;break}}if((N|0)==115){r=Q;return O|0}}else if((N|0)==115){r=Q;return O|0}return 0}function vk(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+16|0;k[c>>2]=b;b=k[x>>2]|0;vb(b|0,a|0,c|0)|0;dc(10,b|0)|0;Ob()}function wk(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,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0;w=r;r=r+4208|0;f=w+4180|0;h=w;u=w+4112|0;v=w+4176|0;if((a|0)!=0?(g=(b|0)!=0,q=(c|0)==0,!(g&q)):0){if(g)p=k[c>>2]|0;else p=0;k[h+4096>>2]=h;k[u>>2]=0;t=u+4|0;k[t>>2]=0;k[u+8>>2]=0;k[u+12>>2]=h;n=u+16|0;k[n>>2]=0;o=u+20|0;k[o>>2]=0;k[u+24>>2]=0;k[u+28>>2]=h;k[u+32>>2]=0;j=u+36|0;k[j>>2]=0;k[u+40>>2]=0;k[u+44>>2]=h;m=u+48|0;l=u+61|0;k[m+0>>2]=0;k[m+4>>2]=0;k[m+8>>2]=0;i[m+12>>0]=0;i[l>>0]=1;m=u+32|0;dl(f,1,0,u+44|0);g=f+8|0;e=k[g>>2]|0;if(e){k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=0;k[e+12>>2]=h}k[g>>2]=e+16;el(m,f);fl(f);f=u+62|0;i[f>>0]=0;i[u+63>>0]=1;k[v>>2]=0;h=a+(Zm(a|0)|0)|0;gl(a,h,u,v);e=k[v>>2]|0;do if(!((e|0)!=0|(i[f>>0]|0)==0)){e=k[m>>2]|0;if((e|0)!=(k[j>>2]|0)?(k[e>>2]|0)!=(k[e+4>>2]|0):0){i[f>>0]=0;i[l>>0]=0;e=k[u>>2]|0;g=k[t>>2]|0;if((g|0)!=(e|0))do{l=g+-24|0;k[t>>2]=l;hl(l);g=k[t>>2]|0}while((g|0)!=(e|0));e=k[n>>2]|0;g=k[o>>2]|0;if((g|0)!=(e|0))do{l=g+-16|0;k[o>>2]=l;il(l);g=k[o>>2]|0}while((g|0)!=(e|0));gl(a,h,u,v);if(!(i[f>>0]|0)){e=k[v>>2]|0;s=19;break}else{k[v>>2]=-2;b=0;break}}else s=20}else s=19;while(0);if((s|0)==19)if(!e)s=20;else b=0;do if((s|0)==20){e=k[t>>2]|0;g=i[e+-24>>0]|0;if(!(g&1))f=(g&255)>>>1;else f=k[e+-20>>2]|0;g=i[e+-12>>0]|0;if(!(g&1))g=(g&255)>>>1;else g=k[e+-8>>2]|0;m=g+f|0;g=m+1|0;if(g>>>0>p>>>0){b=zm(b,g)|0;if(!b){k[v>>2]=-1;b=0;break}if(!q){k[c>>2]=g;s=31}}else s=31;if((s|0)==31)if(!b){b=0;break}h=k[t>>2]|0;e=h+-12|0;g=i[e>>0]|0;if(!(g&1)){f=e+1|0;e=(g&255)>>>1}else{f=k[h+-4>>2]|0;e=k[h+-8>>2]|0}jl(h+-24|0,f,e)|0;e=k[t>>2]|0;f=e+-24|0;if(!(i[f>>0]&1))e=f+1|0;else e=k[e+-16>>2]|0;_m(b|0,e|0,m|0)|0;i[b+m>>0]=0}while(0);if(d)k[d>>2]=k[v>>2];kl(u)}else if(!d)b=0;else{k[d>>2]=-3;b=0}r=w;return b|0}function xk(){var a=0,b=0;a=r;r=r+16|0;if(!(hb(61112,13)|0)){b=Db(k[15276]|0)|0;r=a;return b|0}else vk(61120,a);return 0}function yk(a){a=a|0;var b=0;b=(a|0)==0?1:a;a=xm(b)|0;a:do if(!a){while(1){a=Ik()|0;if(!a)break;oc[a&15]();a=xm(b)|0;if(a)break a}b=xb(4)|0;k[b>>2]=61296;ec(b|0,61344,16)}while(0);return a|0}function zk(a){a=a|0;return yk(a)|0}function Ak(a){a=a|0;ym(a);return}function Bk(a){a=a|0;Ak(a);return}function Ck(a){a=a|0;k[a>>2]=61296;return}function Dk(a){a=a|0;return}function Ek(a){a=a|0;Ak(a);return}function Fk(a){a=a|0;return 61312}function Gk(a){a=a|0;var b=0;b=r;r=r+16|0;oc[a&15]();vk(61360,b)}function Hk(){var a=0,b=0;a=xk()|0;if(((a|0)!=0?(b=k[a>>2]|0,(b|0)!=0):0)?(a=b+48|0,(k[a>>2]&-256|0)==1126902528?(k[a+4>>2]|0)==1129074247:0):0)Gk(k[b+12>>2]|0);b=k[14456]|0;k[14456]=b+0;Gk(b)}function Ik(){var a=0;a=k[15350]|0;k[15350]=a+0;return a|0}function Jk(a){a=a|0;return}function Kk(a){a=a|0;return}function Lk(a){a=a|0;return}function Mk(a){a=a|0;return}function Nk(a){a=a|0;return}function Ok(a){a=a|0;Ak(a);return}function Pk(a){a=a|0;Ak(a);return}function Qk(a){a=a|0;Ak(a);return}function Rk(a,b,c){a=a|0;b=b|0;c=c|0;return (a|0)==(b|0)|0}function Sk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+64|0;f=g;if((a|0)!=(b|0))if((b|0)!=0?(e=Wk(b,61496,61552,0)|0,(e|0)!=0):0){b=f+0|0;d=b+56|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(d|0));k[f>>2]=e;k[f+8>>2]=a;k[f+12>>2]=-1;k[f+48>>2]=1;sc[k[(k[e>>2]|0)+28>>2]&15](e,f,k[c>>2]|0,1);if((k[f+24>>2]|0)==1){k[c>>2]=k[f+16>>2];b=1}else b=0}else b=0;else b=1;r=g;return b|0}function Tk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=b+16|0;e=k[a>>2]|0;do if(e){if((e|0)!=(c|0)){d=b+36|0;k[d>>2]=(k[d>>2]|0)+1;k[b+24>>2]=2;i[b+54>>0]=1;break}a=b+24|0;if((k[a>>2]|0)==2)k[a>>2]=d}else{k[a>>2]=c;k[b+24>>2]=d;k[b+36>>2]=1}while(0);return}function Uk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((k[b+8>>2]|0)==(a|0))Tk(0,b,c,d);return}function Vk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((a|0)==(k[b+8>>2]|0))Tk(0,b,c,d);else{a=k[a+8>>2]|0;sc[k[(k[a>>2]|0)+28>>2]&15](a,b,c,d)}return}function Wk(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,l=0,m=0,n=0,o=0,p=0,q=0;q=r;r=r+64|0;p=q;o=k[a>>2]|0;n=a+(k[o+-8>>2]|0)|0;o=k[o+-4>>2]|0;k[p>>2]=c;k[p+4>>2]=a;k[p+8>>2]=b;k[p+12>>2]=d;e=p+16|0;f=p+20|0;g=p+24|0;h=p+28|0;l=p+32|0;m=p+40|0;d=(o|0)==(c|0);a=e+0|0;b=a+36|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));j[e+36>>1]=0;i[e+38>>0]=0;do if(d){k[p+48>>2]=1;qc[k[(k[o>>2]|0)+20>>2]&15](o,p,n,n,1,0);d=(k[g>>2]|0)==1?n:0}else{lc[k[(k[o>>2]|0)+24>>2]&15](o,p,n,1,0);d=k[p+36>>2]|0;if(!d){d=(k[m>>2]|0)==1&(k[h>>2]|0)==1&(k[l>>2]|0)==1?k[f>>2]|0:0;break}else if((d|0)!=1){d=0;break}if((k[g>>2]|0)!=1?!((k[m>>2]|0)==0&(k[h>>2]|0)==1&(k[l>>2]|0)==1):0){d=0;break}d=k[e>>2]|0}while(0);r=q;return d|0}function Xk(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;i[b+53>>0]=1;do if((k[b+4>>2]|0)==(d|0)){i[b+52>>0]=1;d=b+16|0;a=k[d>>2]|0;if(!a){k[d>>2]=c;k[b+24>>2]=e;k[b+36>>2]=1;if(!((e|0)==1?(k[b+48>>2]|0)==1:0))break;i[b+54>>0]=1;break}if((a|0)!=(c|0)){c=b+36|0;k[c>>2]=(k[c>>2]|0)+1;i[b+54>>0]=1;break}a=b+24|0;d=k[a>>2]|0;if((d|0)==2){k[a>>2]=e;d=e}if((d|0)==1?(k[b+48>>2]|0)==1:0)i[b+54>>0]=1}while(0);return}function Yk(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,j=0;a:do if((a|0)==(k[b+8>>2]|0)){if((k[b+4>>2]|0)==(c|0)?(f=b+28|0,(k[f>>2]|0)!=1):0)k[f>>2]=d}else{if((a|0)!=(k[b>>2]|0)){g=k[a+8>>2]|0;lc[k[(k[g>>2]|0)+24>>2]&15](g,b,c,d,e);break}if((k[b+16>>2]|0)!=(c|0)?(g=b+20|0,(k[g>>2]|0)!=(c|0)):0){k[b+32>>2]=d;d=b+44|0;if((k[d>>2]|0)==4)break;f=b+52|0;i[f>>0]=0;j=b+53|0;i[j>>0]=0;a=k[a+8>>2]|0;qc[k[(k[a>>2]|0)+20>>2]&15](a,b,c,c,1,e);if(i[j>>0]|0){if(!(i[f>>0]|0)){f=1;h=13}}else{f=0;h=13}do if((h|0)==13){k[g>>2]=c;g=b+40|0;k[g>>2]=(k[g>>2]|0)+1;if((k[b+36>>2]|0)==1?(k[b+24>>2]|0)==2:0){i[b+54>>0]=1;if(f)break}else h=16;if((h|0)==16?f:0)break;k[d>>2]=4;break a}while(0);k[d>>2]=3;break}if((d|0)==1)k[b+32>>2]=1}while(0);return}function Zk(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;do if((k[b+8>>2]|0)==(a|0)){if((k[b+4>>2]|0)==(c|0)?(g=b+28|0,(k[g>>2]|0)!=1):0)k[g>>2]=d}else if((k[b>>2]|0)==(a|0)){if((k[b+16>>2]|0)!=(c|0)?(f=b+20|0,(k[f>>2]|0)!=(c|0)):0){k[b+32>>2]=d;k[f>>2]=c;e=b+40|0;k[e>>2]=(k[e>>2]|0)+1;if((k[b+36>>2]|0)==1?(k[b+24>>2]|0)==2:0)i[b+54>>0]=1;k[b+44>>2]=4;break}if((d|0)==1)k[b+32>>2]=1}while(0);return}function _k(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if((a|0)==(k[b+8>>2]|0))Xk(0,b,c,d,e);else{a=k[a+8>>2]|0;qc[k[(k[a>>2]|0)+20>>2]&15](a,b,c,d,e,f)}return}function $k(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if((k[b+8>>2]|0)==(a|0))Xk(0,b,c,d,e);return}function al(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;d=e;k[d>>2]=k[c>>2];a=kc[k[(k[a>>2]|0)+16>>2]&31](a,b,d)|0;if(a)k[c>>2]=k[d>>2];r=e;return a&1|0}function bl(a){a=a|0;if(!a)a=0;else a=(Wk(a,61496,61664,0)|0)!=0;return a&1|0}function cl(){var a=0,b=0,c=0,d=0,e=0;d=r;r=r+16|0;e=d;d=d+12|0;a=xk()|0;if((a|0)!=0?(c=k[a>>2]|0,(c|0)!=0):0){a=c+48|0;b=k[a>>2]|0;a=k[a+4>>2]|0;if(!((b&-256|0)==1126902528&(a|0)==1129074247)){k[e>>2]=k[14458];vk(57952,e)}if((b|0)==1126902529&(a|0)==1129074247)a=k[c+44>>2]|0;else a=c+80|0;k[d>>2]=a;c=k[c>>2]|0;a=k[c+4>>2]|0;if(kc[k[(k[61424>>2]|0)+16>>2]&31](61424,c,d)|0){c=k[d>>2]|0;d=k[14458]|0;c=nc[k[(k[c>>2]|0)+8>>2]&15](c)|0;k[e>>2]=d;k[e+4>>2]=a;k[e+8>>2]=c;vk(57856,e)}else{k[e>>2]=k[14458];k[e+4>>2]=a;vk(57904,e)}}vk(57992,e)}function dl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=a+12|0;k[e>>2]=0;k[a+16>>2]=d;if(!b)d=0;else d=ml(k[d>>2]|0,b<<4)|0;k[a>>2]=d;c=d+(c<<4)|0;k[a+8>>2]=c;k[a+4>>2]=c;k[e>>2]=d+(b<<4);return}function el(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;d=k[a>>2]|0;f=a+4|0;e=k[f>>2]|0;g=b+4|0;c=k[g>>2]|0;if((e|0)!=(d|0)){do{h=e;e=e+-16|0;l=c+-16|0;k[l>>2]=0;j=c+-12|0;k[j>>2]=0;m=k[h+-4>>2]|0;i=c+-8|0;k[i>>2]=0;k[c+-4>>2]=m;k[l>>2]=k[e>>2];c=h+-12|0;k[j>>2]=k[c>>2];h=h+-8|0;k[i>>2]=k[h>>2];k[h>>2]=0;k[c>>2]=0;k[e>>2]=0;c=(k[g>>2]|0)+-16|0;k[g>>2]=c}while((e|0)!=(d|0));d=k[a>>2]|0}k[a>>2]=c;k[g>>2]=d;j=b+8|0;m=k[f>>2]|0;k[f>>2]=k[j>>2];k[j>>2]=m;j=a+8|0;m=b+12|0;l=k[j>>2]|0;k[j>>2]=k[m>>2];k[m>>2]=l;k[b>>2]=k[g>>2];return}function fl(a){a=a|0;var b=0,c=0,d=0,e=0;c=k[a+4>>2]|0;d=a+8|0;b=k[d>>2]|0;if((b|0)!=(c|0))do{e=b+-16|0;k[d>>2]=e;nl(e);b=k[d>>2]|0}while((b|0)!=(c|0));b=k[a>>2]|0;if(b)ol(k[k[a+16>>2]>>2]|0,b,(k[a+12>>2]|0)-b|0);return}function gl(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,j=0,l=0,m=0,n=0,o=0,p=0;o=r;r=r+48|0;l=o+24|0;m=o;n=o+12|0;a:do if(a>>>0>>0){do if((i[a>>0]|0)!=95){if((ul(a,b,c)|0)!=(b|0)){k[d>>2]=-2;break a}}else{h=b;if((h-a|0)<=3){k[d>>2]=-2;break a}e=i[a+1>>0]|0;if(e<<24>>24==95)f=22;else if(e<<24>>24==90){j=a+2|0;a=pl(j,b,c)|0;if((!((a|0)==(j|0)|(a|0)==(b|0))?(i[a>>0]|0)==46:0)?(g=k[c+4>>2]|0,(k[c>>2]|0)!=(g|0)):0){j=g+-24|0;f=h-a|0;if(f>>>0>4294967279)ql(n);if(f>>>0<11){i[n>>0]=f<<1;h=n+1|0}else{g=f+16&-16;h=xm(g)|0;k[n+8>>2]=h;k[n>>2]=g|1;k[n+4>>2]=f}i[h>>0]=46;e=a+1|0;if((e|0)!=(b|0)){g=a;a=h;while(1){a=a+1|0;i[a>>0]=i[e>>0]|0;g=g+2|0;if((g|0)==(b|0))break;else{p=e;e=g;g=p}}}i[h+f>>0]=0;e=rl(n,0,58232)|0;k[m+0>>2]=k[e+0>>2];k[m+4>>2]=k[e+4>>2];k[m+8>>2]=k[e+8>>2];k[e+0>>2]=0;k[e+4>>2]=0;k[e+8>>2]=0;e=sl(m,58240)|0;k[l+0>>2]=k[e+0>>2];k[l+4>>2]=k[e+4>>2];k[l+8>>2]=k[e+8>>2];k[e+0>>2]=0;k[e+4>>2]=0;k[e+8>>2]=0;e=i[l>>0]|0;if(!(e&1)){a=l+1|0;e=(e&255)>>>1}else{a=k[l+8>>2]|0;e=k[l+4>>2]|0}jl(j,a,e)|0;tl(l);tl(m);tl(n);break}if((a|0)==(b|0))break;k[d>>2]=-2;break a}if(((f|0)==22?(i[a+2>>0]|0)==95:0)?(i[a+3>>0]|0)==90:0){p=a+4|0;g=pl(p,b,c)|0;if((g|0)==(p|0)|(g|0)==(b|0)){k[d>>2]=-2;break a}b:do if((h-g|0)>12){a=0;f=g;while(1){if((i[f>>0]|0)!=(i[60800+a>>0]|0)){e=g;break b}a=a+1|0;e=f+1|0;if((a|0)>=13){a=f;break}else f=e}c:do if((e|0)!=(b|0)){if((i[e>>0]|0)==95){e=a+2|0;if((e|0)==(b|0)){e=g;break b}if(((i[e>>0]|0)+-48|0)>>>0>=10){e=g;break b}e=a+3|0}if((e|0)!=(b|0))while(1){if(((i[e>>0]|0)+-48|0)>>>0>=10)break c;e=e+1|0;if((e|0)==(b|0)){e=b;break}}else e=b}else e=b;while(0);a=k[c+4>>2]|0;if((k[c>>2]|0)!=(a|0))rl(a+-24|0,0,60816)|0;else e=g}else e=g;while(0);if((e|0)==(b|0))break;k[d>>2]=-2;break a}k[d>>2]=-2;break a}while(0);if((k[d>>2]|0)==0?(k[c>>2]|0)==(k[c+4>>2]|0):0)k[d>>2]=-2}else k[d>>2]=-2;while(0);r=o;return}function hl(a){a=a|0;tl(a+12|0);tl(a);return}function il(a){a=a|0;var b=0,c=0,d=0,e=0;b=k[a>>2]|0;if(b){d=a+4|0;c=k[d>>2]|0;if((c|0)!=(b|0)){do{e=c+-24|0;k[d>>2]=e;hl(e);c=k[d>>2]|0}while((c|0)!=(b|0));b=k[a>>2]|0}ol(k[a+12>>2]|0,b,(k[a+8>>2]|0)-b|0)}return}function jl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=i[a>>0]|0;if(!(d&1))e=10;else{d=k[a>>2]|0;e=(d&-2)+-1|0;d=d&255}if(!(d&1))f=(d&255)>>>1;else f=k[a+4>>2]|0;if((e-f|0)>>>0>=c>>>0){if(c){if(!(d&1))e=a+1|0;else e=k[a+8>>2]|0;_m(e+f|0,b|0,c|0)|0;d=f+c|0;if(!(i[a>>0]&1))i[a>>0]=d<<1;else k[a+4>>2]=d;i[e+d>>0]=0}}else vl(a,e,c-e+f|0,f,f,0,c,b);return a|0}function kl(a){a=a|0;wl(a+32|0);nl(a+16|0);il(a);return}function ll(){var a=0;a=r;r=r+16|0;if(!(Jb(61104,27)|0)){r=a;return}else vk(61176,a)}function ml(a,b){a=a|0;b=b|0;var c=0,d=0;c=b+15&-16;d=a+4096|0;b=k[d>>2]|0;if((a+4096-b|0)>>>0 >>0)b=xm(c)|0;else k[d>>2]=b+c;return b|0}function nl(a){a=a|0;var b=0,c=0,d=0,e=0;b=k[a>>2]|0;if(b){d=a+4|0;c=k[d>>2]|0;if((c|0)!=(b|0)){do{e=c+-16|0;k[d>>2]=e;il(e);c=k[d>>2]|0}while((c|0)!=(b|0));b=k[a>>2]|0}ol(k[a+12>>2]|0,b,(k[a+8>>2]|0)-b|0)}return}function ol(a,b,c){a=a|0;b=b|0;c=c|0;if(a>>>0<=b>>>0&(a+4096|0)>>>0>=b>>>0){a=a+4096|0;if((b+(c+15&-16)|0)==(k[a>>2]|0))k[a>>2]=b}else ym(b);return} -function sm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,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,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0;da=r;r=r+1136|0;ca=da+1104|0;q=da+1080|0;s=da+1056|0;y=da+1032|0;H=da+1008|0;Y=da+984|0;aa=da+960|0;ba=da+936|0;n=da+912|0;P=da+888|0;p=da+864|0;t=da+840|0;u=da+816|0;Q=da+792|0;R=da+768|0;S=da+744|0;T=da+720|0;U=da+696|0;v=da+672|0;w=da+648|0;x=da+624|0;h=da+600|0;z=da+576|0;A=da+552|0;B=da+240|0;C=da+216|0;D=da+192|0;E=da+168|0;j=da+144|0;F=da+120|0;G=da+72|0;I=da+48|0;l=da+24|0;V=da;W=da+96|0;X=da+264|0;m=da+288|0;J=da+312|0;K=da+336|0;L=da+360|0;M=da+384|0;N=da+408|0;O=da+432|0;Z=da+456|0;_=da+480|0;$=da+504|0;o=da+528|0;a:do if((b-a|0)>1)do switch(i[a>>0]|0){case 112:switch(i[a+1>>0]|0){case 109:{em(m,59432);e=c+4|0;d=k[e>>2]|0;b=k[c+8>>2]|0;if(d>>>0>>0){if(!d)d=0;else{k[d+0>>2]=k[m+0>>2];k[d+4>>2]=k[m+4>>2];k[d+8>>2]=k[m+8>>2];k[m+0>>2]=0;k[m+4>>2]=0;k[m+8>>2]=0;$=d+12|0;d=m+12|0;k[$+0>>2]=k[d+0>>2];k[$+4>>2]=k[d+4>>2];k[$+8>>2]=k[d+8>>2];k[d+0>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;d=k[e>>2]|0}k[e>>2]=d+24}else{e=k[c>>2]|0;g=(d-e|0)/24|0;f=g+1|0;if((f|0)<0)Fl(c);d=(b-e|0)/24|0;if(d>>>0<1073741823){d=d<<1;d=d>>>0 >>0?f:d}else d=2147483647;Kl(ca,d,g,c+12|0);d=ca+8|0;e=k[d>>2]|0;if(e){k[e+0>>2]=k[m+0>>2];k[e+4>>2]=k[m+4>>2];k[e+8>>2]=k[m+8>>2];k[m+0>>2]=0;k[m+4>>2]=0;k[m+8>>2]=0;_=e+12|0;$=m+12|0;k[_+0>>2]=k[$+0>>2];k[_+4>>2]=k[$+4>>2];k[_+8>>2]=k[$+8>>2];k[$+0>>2]=0;k[$+4>>2]=0;k[$+8>>2]=0}k[d>>2]=e+24;Ml(c,ca);Ll(ca)}hl(m);d=a+2|0;break a}case 112:{i[L>>0]=20;d=L+1|0;b=59480;e=d+10|0;do{i[d>>0]=i[b>>0]|0;d=d+1|0;b=b+1|0}while((d|0)<(e|0));i[L+11>>0]=0;h=L+12|0;k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;e=c+4|0;d=k[e>>2]|0;f=k[c+8>>2]|0;if(d>>>0 >>0){if(!d)d=0;else{k[d+0>>2]=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+1|0;b=b+1|0}while((d|0)<(e|0));i[J+10>>0]=0;h=J+12|0;k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;e=c+4|0;d=k[e>>2]|0;f=k[c+8>>2]|0;if(d>>>0 >>0){if(!d)d=0;else{k[d+0>>2]=k[J+0>>2];k[d+4>>2]=k[J+4>>2];k[d+8>>2]=k[J+8>>2];k[J+0>>2]=0;k[J+4>>2]=0;k[J+8>>2]=0;d=d+12|0;k[d+0>>2]=k[h+0>>2];k[d+4>>2]=k[h+4>>2];k[d+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;d=k[e>>2]|0}k[e>>2]=d+24}else{b=k[c>>2]|0;g=(d-b|0)/24|0;e=g+1|0;if((e|0)<0)Fl(c);d=(f-b|0)/24|0;if(d>>>0<1073741823){d=d<<1;d=d>>>0 >>0?e:d}else d=2147483647;Kl(ca,d,g,c+12|0);d=ca+8|0;e=k[d>>2]|0;if(e){k[e+0>>2]=k[J+0>>2];k[e+4>>2]=k[J+4>>2];k[e+8>>2]=k[J+8>>2];k[J+0>>2]=0;k[J+4>>2]=0;k[J+8>>2]=0;$=e+12|0;k[$+0>>2]=k[h+0>>2];k[$+4>>2]=k[h+4>>2];k[$+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0}k[d>>2]=e+24;Ml(c,ca);Ll(ca)}hl(J);d=a+2|0;break a}default:{d=a;break a}}case 111:{d=i[a+1>>0]|0;if((d|0)==114){i[W>>0]=18;d=W+1|0;b=59400;e=d+9|0;do{i[d>>0]=i[b>>0]|0;d=d+1|0;b=b+1|0}while((d|0)<(e|0));i[W+10>>0]=0;h=W+12|0;k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;e=c+4|0;d=k[e>>2]|0;f=k[c+8>>2]|0;if(d>>>0 >>0){if(!d)d=0;else{k[d+0>>2]=k[W+0>>2];k[d+4>>2]=k[W+4>>2];k[d+8>>2]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0)Fl(c);d=(f-b|0)/24|0;if(d>>>0<1073741823){d=d<<1;d=d>>>0 >>0?e:d}else d=2147483647;Kl(ca,d,g,c+12|0);d=ca+8|0;e=k[d>>2]|0;if(e){k[e+0>>2]=k[X+0>>2];k[e+4>>2]=k[X+4>>2];k[e+8>>2]=k[X+8>>2];k[X+0>>2]=0;k[X+4>>2]=0;k[X+8>>2]=0;$=e+12|0;k[$+0>>2]=k[h+0>>2];k[$+4>>2]=k[h+4>>2];k[$+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0}k[d>>2]=e+24;Ml(c,ca);Ll(ca)}hl(X);d=a+2|0;break a}else if((d|0)==111){i[V>>0]=20;d=V+1|0;b=59384;e=d+10|0;do{i[d>>0]=i[b>>0]|0;d=d+1|0;b=b+1|0}while((d|0)<(e|0));i[V+11>>0]=0;h=V+12|0;k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;e=c+4|0;d=k[e>>2]|0;f=k[c+8>>2]|0;if(d>>>0 >>0){if(!d)d=0;else{k[d+0>>2]=k[V+0>>2];k[d+4>>2]=k[V+4>>2];k[d+8>>2]=k[V+8>>2];k[V+0>>2]=0;k[V+4>>2]=0;k[V+8>>2]=0;d=d+12|0;k[d+0>>2]=k[h+0>>2];k[d+4>>2]=k[h+4>>2];k[d+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;d=k[e>>2]|0}k[e>>2]=d+24}else{b=k[c>>2]|0;g=(d-b|0)/24|0;e=g+1|0;if((e|0)<0)Fl(c);d=(f-b|0)/24|0;if(d>>>0<1073741823){d=d<<1;d=d>>>0 >>0?e:d}else d=2147483647;Kl(ca,d,g,c+12|0);d=ca+8|0;e=k[d>>2]|0;if(e){k[e+0>>2]=k[V+0>>2];k[e+4>>2]=k[V+4>>2];k[e+8>>2]=k[V+8>>2];k[V+0>>2]=0;k[V+4>>2]=0;k[V+8>>2]=0;$=e+12|0;k[$+0>>2]=k[h+0>>2];k[$+4>>2]=k[h+4>>2];k[$+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0}k[d>>2]=e+24;Ml(c,ca);Ll(ca)}hl(V);d=a+2|0;break a}else{d=a;break a}}case 97:switch(i[a+1>>0]|0){case 97:{i[q>>0]=20;d=q+1|0;b=58864;e=d+10|0;do{i[d>>0]=i[b>>0]|0;d=d+1|0;b=b+1|0}while((d|0)<(e|0));i[q+11>>0]=0;h=q+12|0;k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;e=c+4|0;d=k[e>>2]|0;f=k[c+8>>2]|0;if(d>>>0 >>0){if(!d)d=0;else{k[d+0>>2]=k[q+0>>2];k[d+4>>2]=k[q+4>>2];k[d+8>>2]=k[q+8>>2];k[q+0>>2]=0;k[q+4>>2]=0;k[q+8>>2]=0;d=d+12|0;k[d+0>>2]=k[h+0>>2];k[d+4>>2]=k[h+4>>2];k[d+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;d=k[e>>2]|0}k[e>>2]=d+24}else{b=k[c>>2]|0;g=(d-b|0)/24|0;e=g+1|0;if((e|0)<0)Fl(c);d=(f-b|0)/24|0;if(d>>>0<1073741823){d=d<<1;d=d>>>0 >>0?e:d}else d=2147483647;Kl(ca,d,g,c+12|0);d=ca+8|0;e=k[d>>2]|0;if(e){k[e+0>>2]=k[q+0>>2];k[e+4>>2]=k[q+4>>2];k[e+8>>2]=k[q+8>>2];k[q+0>>2]=0;k[q+4>>2]=0;k[q+8>>2]=0;$=e+12|0;k[$+0>>2]=k[h+0>>2];k[$+4>>2]=k[h+4>>2];k[$+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0}k[d>>2]=e+24;Ml(c,ca);Ll(ca)}hl(q);d=a+2|0;break a}case 78:{i[y>>0]=20;d=y+1|0;b=58896;e=d+10|0;do{i[d>>0]=i[b>>0]|0;d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ul($,b,c)|0;i[_>>0]=Y;if((d|0)==($|0)){d=a;break a}e=k[c+4>>2]|0;if((k[c>>2]|0)==(e|0)){d=a;break a}rl(e+-24|0,0,58976)|0;i[c+60>>0]=1;break a}else if((d|0)==109){i[aa>>0]=18;d=aa+1|0;b=58944;e=d+9|0;do{i[d>>0]=i[b>>0]|0;d=d+1|0;b=b+1|0}while((d|0)<(e|0));i[aa+10>>0]=0;h=aa+12|0;k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;e=c+4|0;d=k[e>>2]|0;f=k[c+8>>2]|0;if(d>>>0 >>0){if(!d)d=0;else{k[d+0>>2]=k[aa+0>>2];k[d+4>>2]=k[aa+4>>2];k[d+8>>2]=k[aa+8>>2];k[aa+0>>2]=0;k[aa+4>>2]=0;k[aa+8>>2]=0;d=d+12|0;k[d+0>>2]=k[h+0>>2];k[d+4>>2]=k[h+4>>2];k[d+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;d=k[e>>2]|0}k[e>>2]=d+24}else{b=k[c>>2]|0;g=(d-b|0)/24|0;e=g+1|0;if((e|0)<0)Fl(c);d=(f-b|0)/24|0;if(d>>>0<1073741823){d=d<<1;d=d>>>0 >>0?e:d}else d=2147483647;Kl(ca,d,g,c+12|0);d=ca+8|0;e=k[d>>2]|0;if(e){k[e+0>>2]=k[aa+0>>2];k[e+4>>2]=k[aa+4>>2];k[e+8>>2]=k[aa+8>>2];k[aa+0>>2]=0;k[aa+4>>2]=0;k[aa+8>>2]=0;$=e+12|0;k[$+0>>2]=k[h+0>>2];k[$+4>>2]=k[h+4>>2];k[$+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0}k[d>>2]=e+24;Ml(c,ca);Ll(ca)}hl(aa);d=a+2|0;break a}else{d=a;break a}}case 100:switch(i[a+1>>0]|0){case 97:{im(n,58992);e=c+4|0;d=k[e>>2]|0;b=k[c+8>>2]|0;if(d>>>0>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(d>>>0<1073741823){d=d<<1;d=d>>>0 >>0?e:d}else d=2147483647;Kl(ca,d,g,c+12|0);d=ca+8|0;e=k[d>>2]|0;if(e){k[e+0>>2]=k[R+0>>2];k[e+4>>2]=k[R+4>>2];k[e+8>>2]=k[R+8>>2];k[R+0>>2]=0;k[R+4>>2]=0;k[R+8>>2]=0;$=e+12|0;k[$+0>>2]=k[h+0>>2];k[$+4>>2]=k[h+4>>2];k[$+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0}k[d>>2]=e+24;Ml(c,ca);Ll(ca)}hl(R);d=a+2|0;break a}else if((d|0)==113){i[S>>0]=20;d=S+1|0;b=59112;e=d+10|0;do{i[d>>0]=i[b>>0]|0;d=d+1|0;b=b+1|0}while((d|0)<(e|0));i[S+11>>0]=0;h=S+12|0;k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;e=c+4|0;d=k[e>>2]|0;f=k[c+8>>2]|0;if(d>>>0 >>0){if(!d)d=0;else{k[d+0>>2]=k[S+0>>2];k[d+4>>2]=k[S+4>>2];k[d+8>>2]=k[S+8>>2];k[S+0>>2]=0;k[S+4>>2]=0;k[S+8>>2]=0;d=d+12|0;k[d+0>>2]=k[h+0>>2];k[d+4>>2]=k[h+4>>2];k[d+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;d=k[e>>2]|0}k[e>>2]=d+24}else{b=k[c>>2]|0;g=(d-b|0)/24|0;e=g+1|0;if((e|0)<0)Fl(c);d=(f-b|0)/24|0;if(d>>>0<1073741823){d=d<<1;d=d>>>0 >>0?e:d}else d=2147483647;Kl(ca,d,g,c+12|0);d=ca+8|0;e=k[d>>2]|0;if(e){k[e+0>>2]=k[S+0>>2];k[e+4>>2]=k[S+4>>2];k[e+8>>2]=k[S+8>>2];k[S+0>>2]=0;k[S+4>>2]=0;k[S+8>>2]=0;$=e+12|0;k[$+0>>2]=k[h+0>>2];k[$+4>>2]=k[h+4>>2];k[$+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0}k[d>>2]=e+24;Ml(c,ca);Ll(ca)}hl(S);d=a+2|0;break a}else{d=a;break a}}case 105:{if((i[a+1>>0]|0)!=120){d=a;break a}i[v>>0]=20;d=v+1|0;b=59160;e=d+10|0;do{i[d>>0]=i[b>>0]|0;d=d+1|0;b=b+1|0}while((d|0)<(e|0));i[v+11>>0]=0;h=v+12|0;k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;e=c+4|0;d=k[e>>2]|0;f=k[c+8>>2]|0;if(d>>>0 >>0){if(!d)d=0;else{k[d+0>>2]=k[v+0>>2];k[d+4>>2]=k[v+4>>2];k[d+8>>2]=k[v+8>>2];k[v+0>>2]=0;k[v+4>>2]=0;k[v+8>>2]=0;d=d+12|0;k[d+0>>2]=k[h+0>>2];k[d+4>>2]=k[h+4>>2];k[d+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;d=k[e>>2]|0}k[e>>2]=d+24}else{b=k[c>>2]|0;g=(d-b|0)/24|0;e=g+1|0;if((e|0)<0)Fl(c);d=(f-b|0)/24|0;if(d>>>0<1073741823){d=d<<1;d=d>>>0 >>0?e:d}else d=2147483647;Kl(ca,d,g,c+12|0);d=ca+8|0;e=k[d>>2]|0;if(e){k[e+0>>2]=k[v+0>>2];k[e+4>>2]=k[v+4>>2];k[e+8>>2]=k[v+8>>2];k[v+0>>2]=0;k[v+4>>2]=0;k[v+8>>2]=0;$=e+12|0;k[$+0>>2]=k[h+0>>2];k[$+4>>2]=k[h+4>>2];k[$+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0}k[d>>2]=e+24;Ml(c,ca);Ll(ca)}hl(v);d=a+2|0;break a}case 103:{d=i[a+1>>0]|0;if((d|0)==116){i[U>>0]=18;d=U+1|0;b=59144;e=d+9|0;do{i[d>>0]=i[b>>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;k[T+4>>2]=0;k[T+8>>2]=0;d=d+12|0;k[d+0>>2]=k[h+0>>2];k[d+4>>2]=k[h+4>>2];k[d+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;d=k[e>>2]|0}k[e>>2]=d+24}else{b=k[c>>2]|0;g=(d-b|0)/24|0;e=g+1|0;if((e|0)<0)Fl(c);d=(f-b|0)/24|0;if(d>>>0<1073741823){d=d<<1;d=d>>>0 >>0?e:d}else d=2147483647;Kl(ca,d,g,c+12|0);d=ca+8|0;e=k[d>>2]|0;if(e){k[e+0>>2]=k[T+0>>2];k[e+4>>2]=k[T+4>>2];k[e+8>>2]=k[T+8>>2];k[T+0>>2]=0;k[T+4>>2]=0;k[T+8>>2]=0;$=e+12|0;k[$+0>>2]=k[h+0>>2];k[$+4>>2]=k[h+4>>2];k[$+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0}k[d>>2]=e+24;Ml(c,ca);Ll(ca)}hl(T);d=a+2|0;break a}else{d=a;break a}}case 108:switch(i[a+1>>0]|0){case 101:{i[w>>0]=20;d=w+1|0;b=59176;e=d+10|0;do{i[d>>0]=i[b>>0]|0;d=d+1|0;b=b+1|0}while((d|0)<(e|0));i[w+11>>0]=0;h=w+12|0;k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;e=c+4|0;d=k[e>>2]|0;f=k[c+8>>2]|0;if(d>>>0 >>0){if(!d)d=0;else{k[d+0>>2]=k[w+0>>2];k[d+4>>2]=k[w+4>>2];k[d+8>>2]=k[w+8>>2];k[w+0>>2]=0;k[w+4>>2]=0;k[w+8>>2]=0;d=d+12|0;k[d+0>>2]=k[h+0>>2];k[d+4>>2]=k[h+4>>2];k[d+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;d=k[e>>2]|0}k[e>>2]=d+24}else{b=k[c>>2]|0;g=(d-b|0)/24|0;e=g+1|0;if((e|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2]=k[h+0>>2];k[$+4>>2]=k[h+4>>2];k[$+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0}k[d>>2]=e+24;Ml(c,ca);Ll(ca)}hl(x);d=a+2|0;break a}case 83:{em(h,59224);e=c+4|0;d=k[e>>2]|0;b=k[c+8>>2]|0;if(d>>>0>>0){if(!d)d=0;else{k[d+0>>2]=k[h+0>>2];k[d+4>>2]=k[h+4>>2];k[d+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;$=d+12|0;d=h+12|0;k[$+0>>2]=k[d+0>>2];k[$+4>>2]=k[d+4>>2];k[$+8>>2]=k[d+8>>2];k[d+0>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;d=k[e>>2]|0}k[e>>2]=d+24}else{e=k[c>>2]|0;g=(d-e|0)/24|0;f=g+1|0;if((f|0)<0)Fl(c);d=(b-e|0)/24|0;if(d>>>0<1073741823){d=d<<1;d=d>>>0 >>0?f:d}else d=2147483647;Kl(ca,d,g,c+12|0);d=ca+8|0;e=k[d>>2]|0;if(e){k[e+0>>2]=k[h+0>>2];k[e+4>>2]=k[h+4>>2];k[e+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;_=e+12|0;$=h+12|0;k[_+0>>2]=k[$+0>>2];k[_+4>>2]=k[$+4>>2];k[_+8>>2]=k[$+8>>2];k[$+0>>2]=0;k[$+4>>2]=0;k[$+8>>2]=0}k[d>>2]=e+24;Ml(c,ca);Ll(ca)}hl(h);d=a+2|0;break a}case 105:{$=a+2|0;d=Ul($,b,c)|0;if((d|0)==($|0)){d=a;break a}e=k[c+4>>2]|0;if((k[c>>2]|0)==(e|0)){d=a;break a}rl(e+-24|0,0,59192)|0;break a}case 116:{i[z>>0]=18;d=z+1|0;b=59240;e=d+9|0;do{i[d>>0]=i[b>>0]|0;d=d+1|0;b=b+1|0}while((d|0)<(e|0));i[z+10>>0]=0;h=z+12|0;k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;e=c+4|0;d=k[e>>2]|0;f=k[c+8>>2]|0;if(d>>>0 >>0){if(!d)d=0;else{k[d+0>>2]=k[z+0>>2];k[d+4>>2]=k[z+4>>2];k[d+8>>2]=k[z+8>>2];k[z+0>>2]=0;k[z+4>>2]=0;k[z+8>>2]=0;d=d+12|0;k[d+0>>2]=k[h+0>>2];k[d+4>>2]=k[h+4>>2];k[d+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;d=k[e>>2]|0}k[e>>2]=d+24}else{b=k[c>>2]|0;g=(d-b|0)/24|0;e=g+1|0;if((e|0)<0)Fl(c);d=(f-b|0)/24|0;if(d>>>0<1073741823){d=d<<1;d=d>>>0 >>0?e:d}else d=2147483647;Kl(ca,d,g,c+12|0);d=ca+8|0;e=k[d>>2]|0;if(e){k[e+0>>2]=k[z+0>>2];k[e+4>>2]=k[z+4>>2];k[e+8>>2]=k[z+8>>2];k[z+0>>2]=0;k[z+4>>2]=0;k[z+8>>2]=0;$=e+12|0;k[$+0>>2]=k[h+0>>2];k[$+4>>2]=k[h+4>>2];k[$+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0}k[d>>2]=e+24;Ml(c,ca);Ll(ca)}hl(z);d=a+2|0;break a}default:{d=a;break a}}case 109:switch(i[a+1>>0]|0){case 105:{i[A>>0]=18;d=A+1|0;b=59256;e=d+9|0;do{i[d>>0]=i[b>>0]|0;d=d+1|0;b=b+1|0}while((d|0)<(e|0));i[A+10>>0]=0;h=A+12|0;k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;e=c+4|0;d=k[e>>2]|0;f=k[c+8>>2]|0;if(d>>>0 >>0){if(!d)d=0;else{k[d+0>>2]=k[A+0>>2];k[d+4>>2]=k[A+4>>2];k[d+8>>2]=k[A+8>>2];k[A+0>>2]=0;k[A+4>>2]=0;k[A+8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2]=0;e=c+4|0;d=k[e>>2]|0;f=k[c+8>>2]|0;if(d>>>0 >>0){if(!d)d=0;else{k[d+0>>2]=k[C+0>>2];k[d+4>>2]=k[C+4>>2];k[d+8>>2]=k[C+8>>2];k[C+0>>2]=0;k[C+4>>2]=0;k[C+8>>2]=0;d=d+12|0;k[d+0>>2]=k[h+0>>2];k[d+4>>2]=k[h+4>>2];k[d+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;d=k[e>>2]|0}k[e>>2]=d+24}else{b=k[c>>2]|0;g=(d-b|0)/24|0;e=g+1|0;if((e|0)<0)Fl(c);d=(f-b|0)/24|0;if(d>>>0<1073741823){d=d<<1;d=d>>>0 >>0?e:d}else d=2147483647;Kl(ca,d,g,c+12|0);d=ca+8|0;e=k[d>>2]|0;if(e){k[e+0>>2]=k[C+0>>2];k[e+4>>2]=k[C+4>>2];k[e+8>>2]=k[C+8>>2];k[C+0>>2]=0;k[C+4>>2]=0;k[C+8>>2]=0;$=e+12|0;k[$+0>>2]=k[h+0>>2];k[$+4>>2]=k[h+4>>2];k[$+8>>2]=k[h+8>>2];k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0}k[d>>2]=e+24;Ml(c,ca);Ll(ca)}hl(C);d=a+2|0;break a}default:{d=a;break a}}case 110:switch(i[a+1>>0]|0){case 103:{i[G>>0]=18;d=G+1|0;b=59256;e=d+9|0;do{i[d>>0]=i[b>>0]|0;d=d+1|0;b=b+1|0}while((d|0)<(e|0));i[G+10>>0]=0;h=G+12|0;k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;e=c+4|0;d=k[e>>2]|0;f=k[c+8>>2]|0;if(d>>>0 >>0){if(!d)d=0;else{k[d+0>>2]=k[G+0>>2];k[d+4>>2]=k[G+4>>2];k[d+8>>2]=k[G+8>>2];k[G+0>>2]=0;k[G+4>>2]=0;k[G+8>>2]=0;d=d+12|0;k[d+0>>2]=k[h+0>>2];k[d+4>>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