diff --git a/app.js b/app.js index 703ccef..7babad0 100644 --- a/app.js +++ b/app.js @@ -2,214 +2,213 @@ var framePtr = null; var excHandler = 0; var lastJSError = null; -var NTI520098238 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI520098228 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI520098554 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI520093830 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI520095611 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1224736778 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI520093867 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1560281120 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI520097539 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI520093799 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1442840978 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI503316801 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI721420574 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI520093741 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI520093740 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI520093739 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI520095757 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI520095807 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1224737583 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI838861206 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1325400069 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; -var NTI838861173 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1442841347 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1442841384 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1442841292 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1442840845 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1442840583 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1493174178 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1442841458 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1442841453 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1442840934 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1442840998 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1442840976 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI520093728 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI520093719 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1006632986 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI520093715 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI520093714 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI1224737002 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI520093710 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI520093829 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1442841214 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1224736806 = {size: 0,kind: 31,base: null,node: null,finalizer: null}; -var NTI1224736804 = {size: 0, kind: 20, base: null, node: null, finalizer: null}; -var NTI1224736802 = {size: 0,kind: 31,base: null,node: null,finalizer: null}; -var NTI1224736798 = {size: 0, kind: 20, base: null, node: null, finalizer: null}; -var NTI1224736795 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1275068424 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1224736793 = {size: 0, kind: 16, base: null, node: null, finalizer: null}; -var NTI1224737005 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI1224737006 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI1224736787 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1224736889 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1224736859 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1224736860 = {size: 0, kind: 16, base: null, node: null, finalizer: null}; -var NTI1224736857 = {size: 0, kind: 16, base: null, node: null, finalizer: null}; -var NTI1224736797 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1224736855 = {size: 0, kind: 16, base: null, node: null, finalizer: null}; -var NTI1224736796 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI687865865 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI771751972 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI771751973 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI721420398 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI721420397 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI721420296 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; -var NTI721420387 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI721420383 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI721420390 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI721420389 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI721420291 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; -var NTI721420388 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI721420385 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI805306461 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306460 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306459 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306458 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306457 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306456 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306455 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306454 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306453 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306452 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306451 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306450 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306449 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306448 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306447 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306446 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306445 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306444 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306443 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306442 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306441 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306440 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306439 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306438 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306437 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI805306398 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI805306557 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306554 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI805306553 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI805306433 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI805306556 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI805306434 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI805306503 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI805306392 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI805306492 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI805306504 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI805306393 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI805306491 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI805306490 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI805306509 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI805306397 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI805306489 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI805306488 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI805306505 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI805306394 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI805306487 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI805306495 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI805306506 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI805306395 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI805306494 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI805306508 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI805306507 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI805306396 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI805306479 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI805306382 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI805306493 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI805306386 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI805306486 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI805306385 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI805306383 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; -var NTI805306485 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI805306484 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI805306483 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI805306482 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI805306384 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI687865863 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; -var NTI687865864 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI805306510 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI1442841684 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI553652670 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI553652660 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI553652986 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI553648262 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI553650043 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1476395018 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI553648299 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1946157088 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI553651971 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI553648231 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1728053650 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI536871233 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI754975006 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI553648173 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI553648172 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI553648171 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI553650189 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI553650239 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1476395823 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI889192854 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1577058309 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; +var NTI889192821 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1728054019 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1728054056 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1728053964 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1728053517 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1728053255 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1845495714 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1728054130 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1728054125 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1728053606 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1728053670 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1728053648 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI553648160 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI553648151 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1090519066 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI553648147 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI553648146 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1476395242 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI553648142 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI553648261 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1728053886 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1476395046 = {size: 0,kind: 31,base: null,node: null,finalizer: null}; +var NTI1476395044 = {size: 0, kind: 20, base: null, node: null, finalizer: null}; +var NTI1476395042 = {size: 0,kind: 31,base: null,node: null,finalizer: null}; +var NTI1476395038 = {size: 0, kind: 20, base: null, node: null, finalizer: null}; +var NTI1476395035 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1526726664 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1476395033 = {size: 0, kind: 16, base: null, node: null, finalizer: null}; +var NTI1476395245 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1476395246 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1476395027 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1476395129 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1476395099 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1476395100 = {size: 0, kind: 16, base: null, node: null, finalizer: null}; +var NTI1476395097 = {size: 0, kind: 16, base: null, node: null, finalizer: null}; +var NTI1476395037 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1476395095 = {size: 0, kind: 16, base: null, node: null, finalizer: null}; +var NTI1476395036 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI721420297 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI805306404 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI805306405 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; +var NTI754974830 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI754974829 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI754974728 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; +var NTI754974819 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI754974815 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI754974822 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI754974821 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI754974723 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; +var NTI754974820 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI754974817 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; +var NTI838860893 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860892 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860891 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860890 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860889 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860888 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860887 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860886 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860885 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860884 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860883 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860882 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860881 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860880 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860879 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860878 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860877 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860876 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860875 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860874 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860873 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860872 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860871 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860870 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860869 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI838860830 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; +var NTI838860989 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860986 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI838860985 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI838860865 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; +var NTI838860988 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI838860866 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; +var NTI838860935 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI838860824 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; +var NTI838860924 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI838860936 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI838860825 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; +var NTI838860923 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI838860922 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI838860941 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI838860829 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; +var NTI838860921 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI838860920 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI838860937 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI838860826 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; +var NTI838860919 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI838860927 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI838860938 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI838860827 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; +var NTI838860926 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI838860940 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI838860939 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI838860828 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; +var NTI838860911 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI838860814 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; +var NTI838860925 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI838860818 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; +var NTI838860918 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI838860817 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; +var NTI838860815 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; +var NTI838860917 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI838860916 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI838860915 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI838860914 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI838860816 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; +var NTI721420295 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; +var NTI721420296 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI838860942 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI1728054356 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; var NTI33555179 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; var NTI134217746 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; var NTI134217747 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI1442840869 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI520093737 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1493173955 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1493177350 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1006633039 = {size: 0,kind: 31,base: null,node: null,finalizer: null}; -var NTI1006633045 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1493177323 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1493177050 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1442840588 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1442840587 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1442840582 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1224736839 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1224736772 = {size: 0, kind: 16, base: null, node: null, finalizer: null}; -var NTI1224736773 = {size: 0, kind: 16, base: null, node: null, finalizer: null}; -var NTI1291845837 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1224737009 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI1224736792 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1224736866 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1493172238 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI889192517 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1392508931 = {size: 0,kind: 43,base: null,node: null,finalizer: null}; -var NTI1392508932 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1493173219 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1275068441 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1728053541 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI553648169 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1845495491 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1845498886 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1090519119 = {size: 0,kind: 31,base: null,node: null,finalizer: null}; +var NTI1090519125 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1845498859 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1845498586 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1728053260 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1728053259 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1728053254 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1476395079 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1476395012 = {size: 0, kind: 16, base: null, node: null, finalizer: null}; +var NTI1476395013 = {size: 0, kind: 16, base: null, node: null, finalizer: null}; +var NTI1543504077 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1476395249 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1476395032 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1476395106 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1845493774 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI939524165 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1644167171 = {size: 0,kind: 43,base: null,node: null,finalizer: null}; +var NTI1644167172 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1845494755 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1526726681 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; var NTI134217742 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI1493173477 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1224737401 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1493173092 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1224737454 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI1224737453 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1224737449 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI1224737448 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1224737447 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1224737446 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1493172386 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1493172377 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1493172368 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1493172359 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1291846007 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1224737341 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1291845874 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1275068457 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1275068532 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1845495013 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1476395641 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1845494628 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1476395694 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1476395693 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1476395689 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1476395688 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1476395687 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1476395686 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1845493922 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1845493913 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1845493904 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1845493895 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1543504247 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1476395581 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1543504114 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1526726697 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1526726772 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; var NTI134217745 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI1241514007 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI1224736789 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; -var NTI1224736788 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1224736853 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1224736852 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1224736998 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI1224736851 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1224736992 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI1224736988 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI1224736850 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1224736986 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI1224736849 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1224736771 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1224736777 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; -var NTI1224736776 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; -var NTI1224736794 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1308622955 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1493172247 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI1476395029 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; +var NTI1476395028 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1476395093 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1476395092 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1476395238 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1476395091 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1476395232 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1476395228 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1476395090 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1476395226 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1476395089 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; +var NTI1476395011 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1476395017 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; +var NTI1476395016 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; +var NTI1476395034 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1560281195 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; var NTI134217749 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; var NTI134217751 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI33555838 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; var NTI33555173 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; var NTI33555181 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; var NTI33554450 = {size: 0,kind: 29,base: null,node: null,finalizer: null}; @@ -218,30 +217,30 @@ var NTI33555177 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; var NTI33555178 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; var NTI134217741 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; var NTI134217743 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI1442840589 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1728053261 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; var NTI33554435 = {size: 0,kind: 31,base: null,node: null,finalizer: null}; -var NTI1442840579 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; +var NTI1728053251 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; var NTI33554466 = {size: 0,kind: 1,base: null,node: null,finalizer: null}; var NTI33554449 = {size: 0,kind: 28,base: null,node: null,finalizer: null}; -var NTI1442840581 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NNI1442840579 = {kind: 2, offset: 0, typ: null, name: null, len: 4, sons: {"0": {kind: 1, offset: 0, typ: NTI1442840579, name: "Common", len: 0, sons: null}, -"1": {kind: 1, offset: 1, typ: NTI1442840579, name: "Uncommon", len: 0, sons: null}, -"2": {kind: 1, offset: 2, typ: NTI1442840579, name: "Rare", len: 0, sons: null}, -"3": {kind: 1, offset: 3, typ: NTI1442840579, name: "UltraRare", len: 0, sons: null}}}; -NTI1442840579.node = NNI1442840579; -var NNI1442840581 = {kind: 2, len: 12, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "name", len: 0, typ: NTI33554449, name: "name", sons: null}, +var NTI1728053253 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NNI1728053251 = {kind: 2, offset: 0, typ: null, name: null, len: 4, sons: {"0": {kind: 1, offset: 0, typ: NTI1728053251, name: "Common", len: 0, sons: null}, +"1": {kind: 1, offset: 1, typ: NTI1728053251, name: "Uncommon", len: 0, sons: null}, +"2": {kind: 1, offset: 2, typ: NTI1728053251, name: "Rare", len: 0, sons: null}, +"3": {kind: 1, offset: 3, typ: NTI1728053251, name: "UltraRare", len: 0, sons: null}}}; +NTI1728053251.node = NNI1728053251; +var NNI1728053253 = {kind: 2, len: 12, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "name", len: 0, typ: NTI33554449, name: "name", sons: null}, {kind: 1, offset: "technicalName", len: 0, typ: NTI33554449, name: "technicalName", sons: null}, {kind: 1, offset: "synergy", len: 0, typ: NTI33554466, name: "synergy", sons: null}, -{kind: 1, offset: "tier", len: 0, typ: NTI1442840579, name: "tier", sons: null}, +{kind: 1, offset: "tier", len: 0, typ: NTI1728053251, name: "tier", sons: null}, {kind: 1, offset: "rarity", len: 0, typ: NTI33554435, name: "rarity", sons: null}, {kind: 1, offset: "description", len: 0, typ: NTI33554449, name: "description", sons: null}, {kind: 1, offset: "icon", len: 0, typ: NTI33554449, name: "icon", sons: null}, {kind: 1, offset: "rotatable", len: 0, typ: NTI33554466, name: "rotatable", sons: null}, {kind: 1, offset: "noColor", len: 0, typ: NTI33554466, name: "noColor", sons: null}, -{kind: 1, offset: "onStart", len: 0, typ: NTI1442840589, name: "onStart", sons: null}, +{kind: 1, offset: "onStart", len: 0, typ: NTI1728053261, name: "onStart", sons: null}, {kind: 1, offset: "index", len: 0, typ: NTI33554435, name: "index", sons: null}, {kind: 1, offset: "priority", len: 0, typ: NTI33554435, name: "priority", sons: null}]}; -NTI1442840581.node = NNI1442840581; +NTI1728053253.node = NNI1728053253; var NNI134217743 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; NTI134217743.node = NNI134217743; var NNI134217741 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; @@ -262,140 +261,136 @@ NTI33555177.base = NTI33555173; NTI33555178.base = NTI33555177; NTI134217741.base = NTI33555178; NTI134217743.base = NTI134217741; -var NNI33555838 = {kind: 2, len: 3, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554450, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI33554435, name: "Field1", sons: null}, -{kind: 1, offset: "Field2", len: 0, typ: NTI33554450, name: "Field2", sons: null}]}; -NTI33555838.node = NNI33555838; var NNI134217751 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; NTI134217751.node = NNI134217751; NTI134217751.base = NTI33555178; var NNI134217749 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; NTI134217749.node = NNI134217749; NTI134217749.base = NTI33555178; -var NNI1224736776 = {kind: 2, offset: 0, typ: null, name: null, len: 8, sons: {"0": {kind: 1, offset: 0, typ: NTI1224736776, name: "King", len: 0, sons: null}, -"1": {kind: 1, offset: 1, typ: NTI1224736776, name: "Queen", len: 0, sons: null}, -"2": {kind: 1, offset: 2, typ: NTI1224736776, name: "Bishop", len: 0, sons: null}, -"3": {kind: 1, offset: 3, typ: NTI1224736776, name: "Pawn", len: 0, sons: null}, -"4": {kind: 1, offset: 4, typ: NTI1224736776, name: "Rook", len: 0, sons: null}, -"5": {kind: 1, offset: 5, typ: NTI1224736776, name: "Knight", len: 0, sons: null}, -"6": {kind: 1, offset: 6, typ: NTI1224736776, name: "None", len: 0, sons: null}, -"7": {kind: 1, offset: 7, typ: NTI1224736776, name: "Fairy", len: 0, sons: null}}}; -NTI1224736776.node = NNI1224736776; -var NNI1224736777 = {kind: 2, offset: 0, typ: null, name: null, len: 2, sons: {"0": {kind: 1, offset: 0, typ: NTI1224736777, name: "black", len: 0, sons: null}, -"1": {kind: 1, offset: 1, typ: NTI1224736777, name: "white", len: 0, sons: null}}}; -NTI1224736777.node = NNI1224736777; -var NNI1224736771 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554435, name: "Field0", sons: null}, +var NNI1476395016 = {kind: 2, offset: 0, typ: null, name: null, len: 8, sons: {"0": {kind: 1, offset: 0, typ: NTI1476395016, name: "King", len: 0, sons: null}, +"1": {kind: 1, offset: 1, typ: NTI1476395016, name: "Queen", len: 0, sons: null}, +"2": {kind: 1, offset: 2, typ: NTI1476395016, name: "Bishop", len: 0, sons: null}, +"3": {kind: 1, offset: 3, typ: NTI1476395016, name: "Pawn", len: 0, sons: null}, +"4": {kind: 1, offset: 4, typ: NTI1476395016, name: "Rook", len: 0, sons: null}, +"5": {kind: 1, offset: 5, typ: NTI1476395016, name: "Knight", len: 0, sons: null}, +"6": {kind: 1, offset: 6, typ: NTI1476395016, name: "None", len: 0, sons: null}, +"7": {kind: 1, offset: 7, typ: NTI1476395016, name: "Fairy", len: 0, sons: null}}}; +NTI1476395016.node = NNI1476395016; +var NNI1476395017 = {kind: 2, offset: 0, typ: null, name: null, len: 2, sons: {"0": {kind: 1, offset: 0, typ: NTI1476395017, name: "black", len: 0, sons: null}, +"1": {kind: 1, offset: 1, typ: NTI1476395017, name: "white", len: 0, sons: null}}}; +NTI1476395017.node = NNI1476395017; +var NNI1476395011 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554435, name: "Field0", sons: null}, {kind: 1, offset: "Field1", len: 0, typ: NTI33554435, name: "Field1", sons: null}]}; -NTI1224736771.node = NNI1224736771; -NTI1224736849.base = NTI1224736986; -NTI1224736850.base = NTI1224736986; -NTI1224736851.base = NTI1224736998; -NTI1224736852.base = NTI1224736998; -var NNI1224736789 = {kind: 2, offset: 0, typ: null, name: null, len: 5, sons: {"0": {kind: 1, offset: 0, typ: NTI1224736789, name: "Sky", len: 0, sons: null}, -"1": {kind: 1, offset: 1, typ: NTI1224736789, name: "Zero", len: 0, sons: null}, -"2": {kind: 1, offset: 2, typ: NTI1224736789, name: "Steel", len: 0, sons: null}, -"3": {kind: 1, offset: 3, typ: NTI1224736789, name: "Reverie", len: 0, sons: null}, -"4": {kind: 1, offset: 4, typ: NTI1224736789, name: "Daybreak", len: 0, sons: null}}}; -NTI1224736789.node = NNI1224736789; -var NNI1224736788 = {kind: 2, len: 3, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI1224736771, name: "Field0", sons: null}, +NTI1476395011.node = NNI1476395011; +NTI1476395089.base = NTI1476395226; +NTI1476395090.base = NTI1476395226; +NTI1476395091.base = NTI1476395238; +NTI1476395092.base = NTI1476395238; +var NNI1476395029 = {kind: 2, offset: 0, typ: null, name: null, len: 5, sons: {"0": {kind: 1, offset: 0, typ: NTI1476395029, name: "Sky", len: 0, sons: null}, +"1": {kind: 1, offset: 1, typ: NTI1476395029, name: "Zero", len: 0, sons: null}, +"2": {kind: 1, offset: 2, typ: NTI1476395029, name: "Steel", len: 0, sons: null}, +"3": {kind: 1, offset: 3, typ: NTI1476395029, name: "Reverie", len: 0, sons: null}, +"4": {kind: 1, offset: 4, typ: NTI1476395029, name: "Daybreak", len: 0, sons: null}}}; +NTI1476395029.node = NNI1476395029; +var NNI1476395028 = {kind: 2, len: 3, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI1476395011, name: "Field0", sons: null}, {kind: 1, offset: "Field1", len: 0, typ: NTI33554435, name: "Field1", sons: null}, -{kind: 1, offset: "Field2", len: 0, typ: NTI1224736789, name: "Field2", sons: null}]}; -NTI1224736788.node = NNI1224736788; -NTI1224736853.base = NTI1224736788; -var NNI1224736794 = {kind: 2, len: 19, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "item", len: 0, typ: NTI1224736776, name: "item", sons: null}, -{kind: 1, offset: "color", len: 0, typ: NTI1224736777, name: "color", sons: null}, +{kind: 1, offset: "Field2", len: 0, typ: NTI1476395029, name: "Field2", sons: null}]}; +NTI1476395028.node = NNI1476395028; +NTI1476395093.base = NTI1476395028; +var NNI1476395034 = {kind: 2, len: 19, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "item", len: 0, typ: NTI1476395016, name: "item", sons: null}, +{kind: 1, offset: "color", len: 0, typ: NTI1476395017, name: "color", sons: null}, {kind: 1, offset: "index", len: 0, typ: NTI33554435, name: "index", sons: null}, {kind: 1, offset: "timesMoved", len: 0, typ: NTI33554435, name: "timesMoved", sons: null}, {kind: 1, offset: "piecesTaken", len: 0, typ: NTI33554435, name: "piecesTaken", sons: null}, -{kind: 1, offset: "tile", len: 0, typ: NTI1224736771, name: "tile", sons: null}, -{kind: 1, offset: "moves", len: 0, typ: NTI1224736849, name: "moves", sons: null}, -{kind: 1, offset: "takes", len: 0, typ: NTI1224736850, name: "takes", sons: null}, -{kind: 1, offset: "onMove", len: 0, typ: NTI1224736988, name: "onMove", sons: null}, -{kind: 1, offset: "onTake", len: 0, typ: NTI1224736988, name: "onTake", sons: null}, -{kind: 1, offset: "whenTaken", len: 0, typ: NTI1224736992, name: "whenTaken", sons: null}, -{kind: 1, offset: "onEndTurn", len: 0, typ: NTI1224736851, name: "onEndTurn", sons: null}, -{kind: 1, offset: "onPromote", len: 0, typ: NTI1224736852, name: "onPromote", sons: null}, +{kind: 1, offset: "tile", len: 0, typ: NTI1476395011, name: "tile", sons: null}, +{kind: 1, offset: "moves", len: 0, typ: NTI1476395089, name: "moves", sons: null}, +{kind: 1, offset: "takes", len: 0, typ: NTI1476395090, name: "takes", sons: null}, +{kind: 1, offset: "onMove", len: 0, typ: NTI1476395228, name: "onMove", sons: null}, +{kind: 1, offset: "onTake", len: 0, typ: NTI1476395228, name: "onTake", sons: null}, +{kind: 1, offset: "whenTaken", len: 0, typ: NTI1476395232, name: "whenTaken", sons: null}, +{kind: 1, offset: "onEndTurn", len: 0, typ: NTI1476395091, name: "onEndTurn", sons: null}, +{kind: 1, offset: "onPromote", len: 0, typ: NTI1476395092, name: "onPromote", sons: null}, {kind: 1, offset: "promoted", len: 0, typ: NTI33554466, name: "promoted", sons: null}, {kind: 1, offset: "filePath", len: 0, typ: NTI33554449, name: "filePath", sons: null}, {kind: 1, offset: "colorable", len: 0, typ: NTI33554466, name: "colorable", sons: null}, {kind: 1, offset: "rotate", len: 0, typ: NTI33554466, name: "rotate", sons: null}, {kind: 1, offset: "drunk", len: 0, typ: NTI33554466, name: "drunk", sons: null}, -{kind: 1, offset: "casts", len: 0, typ: NTI1224736853, name: "casts", sons: null}]}; -NTI1224736794.node = NNI1224736794; -var NNI1308622955 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "val", len: 0, typ: NTI1224736794, name: "val", sons: null}, +{kind: 1, offset: "casts", len: 0, typ: NTI1476395093, name: "casts", sons: null}]}; +NTI1476395034.node = NNI1476395034; +var NNI1560281195 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "val", len: 0, typ: NTI1476395034, name: "val", sons: null}, {kind: 1, offset: "has", len: 0, typ: NTI33554466, name: "has", sons: null}]}; -NTI1308622955.node = NNI1308622955; -var NNI1241514007 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI1241514007.node = NNI1241514007; -NTI1241514007.base = NTI33555178; +NTI1560281195.node = NNI1560281195; +var NNI1493172247 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; +NTI1493172247.node = NNI1493172247; +NTI1493172247.base = NTI33555178; var NNI134217745 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; NTI134217745.node = NNI134217745; NTI134217745.base = NTI33555178; -NTI1275068532.base = NTI1224736986; -NTI1275068457.base = NTI1224736998; -NTI1291845874.base = NTI1224736986; -NTI1224737341.base = NTI1224736771; -NTI1291846007.base = NTI1224736986; -NTI1493172359.base = NTI1224736986; -NTI1493172368.base = NTI1224736986; -NTI1493172377.base = NTI1224736998; -NTI1493172386.base = NTI1224736998; -NTI1224737446.base = NTI1224736986; -NTI1224737447.base = NTI1224736986; -NTI1224737448.base = NTI1224737449; -NTI1224737453.base = NTI1224737454; -var NNI1493173092 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI1224736771, name: "Field0", sons: null}, +NTI1526726772.base = NTI1476395226; +NTI1526726697.base = NTI1476395238; +NTI1543504114.base = NTI1476395226; +NTI1476395581.base = NTI1476395011; +NTI1543504247.base = NTI1476395226; +NTI1845493895.base = NTI1476395226; +NTI1845493904.base = NTI1476395226; +NTI1845493913.base = NTI1476395238; +NTI1845493922.base = NTI1476395238; +NTI1476395686.base = NTI1476395226; +NTI1476395687.base = NTI1476395226; +NTI1476395688.base = NTI1476395689; +NTI1476395693.base = NTI1476395694; +var NNI1845494628 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI1476395011, name: "Field0", sons: null}, {kind: 1, offset: "Field1", len: 0, typ: NTI33554466, name: "Field1", sons: null}]}; -NTI1493173092.node = NNI1493173092; -var NNI1224737401 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI1224736771, name: "Field0", sons: null}, +NTI1845494628.node = NNI1845494628; +var NNI1476395641 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI1476395011, name: "Field0", sons: null}, {kind: 1, offset: "Field1", len: 0, typ: NTI33554466, name: "Field1", sons: null}]}; -NTI1224737401.node = NNI1224737401; -var NNI1493173477 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI1224736771, name: "Field0", sons: null}, +NTI1476395641.node = NNI1476395641; +var NNI1845495013 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI1476395011, name: "Field0", sons: null}, {kind: 1, offset: "Field1", len: 0, typ: NTI33554466, name: "Field1", sons: null}]}; -NTI1493173477.node = NNI1493173477; +NTI1845495013.node = NNI1845495013; var NNI134217742 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; NTI134217742.node = NNI134217742; NTI134217742.base = NTI134217741; -NTI1275068441.base = NTI1224736986; -NTI1493173219.base = NTI1224736986; -var NNI1392508932 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "a0", len: 0, typ: NTI1392508931, name: "a0", sons: null}, -{kind: 1, offset: "a1", len: 0, typ: NTI1392508931, name: "a1", sons: null}]}; -NTI1392508932.node = NNI1392508932; -var NNI889192517 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "a", len: 0, typ: NTI33554435, name: "a", sons: null}, +NTI1526726681.base = NTI1476395226; +NTI1845494755.base = NTI1476395226; +var NNI1644167172 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "a0", len: 0, typ: NTI1644167171, name: "a0", sons: null}, +{kind: 1, offset: "a1", len: 0, typ: NTI1644167171, name: "a1", sons: null}]}; +NTI1644167172.node = NNI1644167172; +var NNI939524165 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "a", len: 0, typ: NTI33554435, name: "a", sons: null}, {kind: 1, offset: "b", len: 0, typ: NTI33554435, name: "b", sons: null}]}; -NTI889192517.node = NNI889192517; -NTI1493172238.base = NTI1224736986; -var NNI1224736866 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "val", len: 0, typ: NTI33554435, name: "val", sons: null}, +NTI939524165.node = NNI939524165; +NTI1845493774.base = NTI1476395226; +var NNI1476395106 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "val", len: 0, typ: NTI33554435, name: "val", sons: null}, {kind: 1, offset: "has", len: 0, typ: NTI33554466, name: "has", sons: null}]}; -NTI1224736866.node = NNI1224736866; -var NNI1224736792 = {kind: 2, len: 3, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554435, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI1224736988, name: "Field1", sons: null}, -{kind: 1, offset: "Field2", len: 0, typ: NTI1224737009, name: "Field2", sons: null}]}; -NTI1224736792.node = NNI1224736792; -NTI1291845837.base = NTI1224736771; -NTI1224736772.base = NTI1224736794; -NTI1224736773.base = NTI1224736772; -var NNI1224736839 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "val", len: 0, typ: NTI1224736792, name: "val", sons: null}, +NTI1476395106.node = NNI1476395106; +var NNI1476395032 = {kind: 2, len: 3, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554435, name: "Field0", sons: null}, +{kind: 1, offset: "Field1", len: 0, typ: NTI1476395228, name: "Field1", sons: null}, +{kind: 1, offset: "Field2", len: 0, typ: NTI1476395249, name: "Field2", sons: null}]}; +NTI1476395032.node = NNI1476395032; +NTI1543504077.base = NTI1476395011; +NTI1476395012.base = NTI1476395034; +NTI1476395013.base = NTI1476395012; +var NNI1476395079 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "val", len: 0, typ: NTI1476395032, name: "val", sons: null}, {kind: 1, offset: "has", len: 0, typ: NTI33554466, name: "has", sons: null}]}; -NTI1224736839.node = NNI1224736839; -NTI1442840587.base = NTI33554449; -NTI1442840588.base = NTI33554449; -var NNI1442840582 = {kind: 2, len: 4, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI1442840581, name: "Field0", sons: null}, +NTI1476395079.node = NNI1476395079; +NTI1728053259.base = NTI33554449; +NTI1728053260.base = NTI33554449; +var NNI1728053254 = {kind: 2, len: 4, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI1728053253, name: "Field0", sons: null}, {kind: 1, offset: "Field1", len: 0, typ: NTI33554435, name: "Field1", sons: null}, -{kind: 1, offset: "Field2", len: 0, typ: NTI1442840587, name: "Field2", sons: null}, -{kind: 1, offset: "Field3", len: 0, typ: NTI1442840588, name: "Field3", sons: null}]}; -NTI1442840582.node = NNI1442840582; -NTI1493177050.base = NTI1224736771; -NTI1493177323.base = NTI1224736986; -var NNI1006633045 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "a", len: 0, typ: NTI1006633039, name: "a", sons: null}, +{kind: 1, offset: "Field2", len: 0, typ: NTI1728053259, name: "Field2", sons: null}, +{kind: 1, offset: "Field3", len: 0, typ: NTI1728053260, name: "Field3", sons: null}]}; +NTI1728053254.node = NNI1728053254; +NTI1845498586.base = NTI1476395011; +NTI1845498859.base = NTI1476395226; +var NNI1090519125 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "a", len: 0, typ: NTI1090519119, name: "a", sons: null}, {kind: 1, offset: "b", len: 0, typ: NTI33554435, name: "b", sons: null}]}; -NTI1006633045.node = NNI1006633045; -NTI1493177350.base = NTI1224736986; -NTI1493173955.base = NTI1224736998; -var NNI520093737 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554466, name: "Field0", sons: null}, +NTI1090519125.node = NNI1090519125; +NTI1845498886.base = NTI1476395226; +NTI1845495491.base = NTI1476395238; +var NNI553648169 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554466, name: "Field0", sons: null}, {kind: 1, offset: "Field1", len: 0, typ: NTI33554450, name: "Field1", sons: null}]}; -NTI520093737.node = NNI520093737; -NTI1442840869.base = NTI1442840581; +NTI553648169.node = NNI553648169; +NTI1728053541.base = NTI1728053253; var NNI134217747 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; NTI134217747.node = NNI134217747; var NNI134217746 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; @@ -405,8 +400,8 @@ NTI33555179.node = NNI33555179; NTI33555179.base = NTI33555177; NTI134217746.base = NTI33555179; NTI134217747.base = NTI134217746; -NTI1442841684.base = NTI1442840581; -var NNI805306510 = {kind: 2, len: 368, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "alignContent", len: 0, typ: NTI33554450, name: "alignContent", sons: null}, +NTI1728054356.base = NTI1728053253; +var NNI838860942 = {kind: 2, len: 368, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "alignContent", len: 0, typ: NTI33554450, name: "alignContent", sons: null}, {kind: 1, offset: "alignItems", len: 0, typ: NTI33554450, name: "alignItems", sons: null}, {kind: 1, offset: "alignSelf", len: 0, typ: NTI33554450, name: "alignSelf", sons: null}, {kind: 1, offset: "all", len: 0, typ: NTI33554450, name: "all", sons: null}, @@ -774,70 +769,70 @@ var NNI805306510 = {kind: 2, len: 368, offset: 0, typ: null, name: null, sons: [ {kind: 1, offset: "wordSpacing", len: 0, typ: NTI33554450, name: "wordSpacing", sons: null}, {kind: 1, offset: "writingMode", len: 0, typ: NTI33554450, name: "writingMode", sons: null}, {kind: 1, offset: "zIndex", len: 0, typ: NTI33554450, name: "zIndex", sons: null}]}; -NTI805306510.node = NNI805306510; -NTI805306510.base = NTI33555173; -var NNI687865863 = {kind: 2, offset: 0, typ: null, name: null, len: 6, sons: {"0": {kind: 1, offset: 0, typ: NTI687865863, name: "pkReplace", len: 0, sons: null}, -"1": {kind: 1, offset: 1, typ: NTI687865863, name: "pkRemove", len: 0, sons: null}, -"2": {kind: 1, offset: 2, typ: NTI687865863, name: "pkAppend", len: 0, sons: null}, -"3": {kind: 1, offset: 3, typ: NTI687865863, name: "pkInsertBefore", len: 0, sons: null}, -"4": {kind: 1, offset: 4, typ: NTI687865863, name: "pkDetach", len: 0, sons: null}, -"5": {kind: 1, offset: 5, typ: NTI687865863, name: "pkSame", len: 0, sons: null}}}; -NTI687865863.node = NNI687865863; -NTI805306483.base = NTI805306384; -NTI805306484.base = NTI805306384; -NTI805306485.base = NTI805306384; -var NNI805306383 = {kind: 2, offset: 0, typ: null, name: null, len: 12, sons: {"1": {kind: 1, offset: 1, typ: NTI805306383, name: "ElementNode", len: 0, sons: null}, -"2": {kind: 1, offset: 2, typ: NTI805306383, name: "AttributeNode", len: 0, sons: null}, -"3": {kind: 1, offset: 3, typ: NTI805306383, name: "TextNode", len: 0, sons: null}, -"4": {kind: 1, offset: 4, typ: NTI805306383, name: "CDATANode", len: 0, sons: null}, -"5": {kind: 1, offset: 5, typ: NTI805306383, name: "EntityRefNode", len: 0, sons: null}, -"6": {kind: 1, offset: 6, typ: NTI805306383, name: "EntityNode", len: 0, sons: null}, -"7": {kind: 1, offset: 7, typ: NTI805306383, name: "ProcessingInstructionNode", len: 0, sons: null}, -"8": {kind: 1, offset: 8, typ: NTI805306383, name: "CommentNode", len: 0, sons: null}, -"9": {kind: 1, offset: 9, typ: NTI805306383, name: "DocumentNode", len: 0, sons: null}, -"10": {kind: 1, offset: 10, typ: NTI805306383, name: "DocumentTypeNode", len: 0, sons: null}, -"11": {kind: 1, offset: 11, typ: NTI805306383, name: "DocumentFragmentNode", len: 0, sons: null}, -"12": {kind: 1, offset: 12, typ: NTI805306383, name: "NotationNode", len: 0, sons: null}}}; -NTI805306383.node = NNI805306383; -var NNI805306479 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI805306479.node = NNI805306479; -NTI805306479.base = NTI33555173; -NTI805306382.base = NTI805306479; -NTI805306508.base = NTI805306386; -var NNI805306507 = {kind: 2, len: 10, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "acceptCharset", len: 0, typ: NTI33554450, name: "acceptCharset", sons: null}, +NTI838860942.node = NNI838860942; +NTI838860942.base = NTI33555173; +var NNI721420295 = {kind: 2, offset: 0, typ: null, name: null, len: 6, sons: {"0": {kind: 1, offset: 0, typ: NTI721420295, name: "pkReplace", len: 0, sons: null}, +"1": {kind: 1, offset: 1, typ: NTI721420295, name: "pkRemove", len: 0, sons: null}, +"2": {kind: 1, offset: 2, typ: NTI721420295, name: "pkAppend", len: 0, sons: null}, +"3": {kind: 1, offset: 3, typ: NTI721420295, name: "pkInsertBefore", len: 0, sons: null}, +"4": {kind: 1, offset: 4, typ: NTI721420295, name: "pkDetach", len: 0, sons: null}, +"5": {kind: 1, offset: 5, typ: NTI721420295, name: "pkSame", len: 0, sons: null}}}; +NTI721420295.node = NNI721420295; +NTI838860915.base = NTI838860816; +NTI838860916.base = NTI838860816; +NTI838860917.base = NTI838860816; +var NNI838860815 = {kind: 2, offset: 0, typ: null, name: null, len: 12, sons: {"1": {kind: 1, offset: 1, typ: NTI838860815, name: "ElementNode", len: 0, sons: null}, +"2": {kind: 1, offset: 2, typ: NTI838860815, name: "AttributeNode", len: 0, sons: null}, +"3": {kind: 1, offset: 3, typ: NTI838860815, name: "TextNode", len: 0, sons: null}, +"4": {kind: 1, offset: 4, typ: NTI838860815, name: "CDATANode", len: 0, sons: null}, +"5": {kind: 1, offset: 5, typ: NTI838860815, name: "EntityRefNode", len: 0, sons: null}, +"6": {kind: 1, offset: 6, typ: NTI838860815, name: "EntityNode", len: 0, sons: null}, +"7": {kind: 1, offset: 7, typ: NTI838860815, name: "ProcessingInstructionNode", len: 0, sons: null}, +"8": {kind: 1, offset: 8, typ: NTI838860815, name: "CommentNode", len: 0, sons: null}, +"9": {kind: 1, offset: 9, typ: NTI838860815, name: "DocumentNode", len: 0, sons: null}, +"10": {kind: 1, offset: 10, typ: NTI838860815, name: "DocumentTypeNode", len: 0, sons: null}, +"11": {kind: 1, offset: 11, typ: NTI838860815, name: "DocumentFragmentNode", len: 0, sons: null}, +"12": {kind: 1, offset: 12, typ: NTI838860815, name: "NotationNode", len: 0, sons: null}}}; +NTI838860815.node = NNI838860815; +var NNI838860911 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; +NTI838860911.node = NNI838860911; +NTI838860911.base = NTI33555173; +NTI838860814.base = NTI838860911; +NTI838860940.base = NTI838860818; +var NNI838860939 = {kind: 2, len: 10, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "acceptCharset", len: 0, typ: NTI33554450, name: "acceptCharset", sons: null}, {kind: 1, offset: "action", len: 0, typ: NTI33554450, name: "action", sons: null}, {kind: 1, offset: "autocomplete", len: 0, typ: NTI33554450, name: "autocomplete", sons: null}, -{kind: 1, offset: "elements", len: 0, typ: NTI805306508, name: "elements", sons: null}, +{kind: 1, offset: "elements", len: 0, typ: NTI838860940, name: "elements", sons: null}, {kind: 1, offset: "encoding", len: 0, typ: NTI33554450, name: "encoding", sons: null}, {kind: 1, offset: "enctype", len: 0, typ: NTI33554450, name: "enctype", sons: null}, {kind: 1, offset: "length", len: 0, typ: NTI33554435, name: "length", sons: null}, {kind: 1, offset: "method", len: 0, typ: NTI33554450, name: "method", sons: null}, {kind: 1, offset: "noValidate", len: 0, typ: NTI33554466, name: "noValidate", sons: null}, {kind: 1, offset: "target", len: 0, typ: NTI33554450, name: "target", sons: null}]}; -NTI805306507.node = NNI805306507; -NTI805306507.base = NTI805306493; -NTI805306396.base = NTI805306507; -var NNI805306506 = {kind: 2, len: 5, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "defaultSelected", len: 0, typ: NTI33554466, name: "defaultSelected", sons: null}, +NTI838860939.node = NNI838860939; +NTI838860939.base = NTI838860925; +NTI838860828.base = NTI838860939; +var NNI838860938 = {kind: 2, len: 5, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "defaultSelected", len: 0, typ: NTI33554466, name: "defaultSelected", sons: null}, {kind: 1, offset: "selected", len: 0, typ: NTI33554466, name: "selected", sons: null}, {kind: 1, offset: "selectedIndex", len: 0, typ: NTI33554435, name: "selectedIndex", sons: null}, {kind: 1, offset: "text", len: 0, typ: NTI33554450, name: "text", sons: null}, {kind: 1, offset: "value", len: 0, typ: NTI33554450, name: "value", sons: null}]}; -NTI805306506.node = NNI805306506; -NTI805306506.base = NTI805306493; -NTI805306395.base = NTI805306506; -NTI805306494.base = NTI805306395; -NTI805306495.base = NTI805306395; -var NNI805306493 = {kind: 2, len: 20, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "className", len: 0, typ: NTI33554450, name: "className", sons: null}, -{kind: 1, offset: "classList", len: 0, typ: NTI805306382, name: "classList", sons: null}, +NTI838860938.node = NNI838860938; +NTI838860938.base = NTI838860925; +NTI838860827.base = NTI838860938; +NTI838860926.base = NTI838860827; +NTI838860927.base = NTI838860827; +var NNI838860925 = {kind: 2, len: 20, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "className", len: 0, typ: NTI33554450, name: "className", sons: null}, +{kind: 1, offset: "classList", len: 0, typ: NTI838860814, name: "classList", sons: null}, {kind: 1, offset: "checked", len: 0, typ: NTI33554466, name: "checked", sons: null}, {kind: 1, offset: "defaultChecked", len: 0, typ: NTI33554466, name: "defaultChecked", sons: null}, {kind: 1, offset: "defaultValue", len: 0, typ: NTI33554450, name: "defaultValue", sons: null}, {kind: 1, offset: "disabled", len: 0, typ: NTI33554466, name: "disabled", sons: null}, -{kind: 1, offset: "form", len: 0, typ: NTI805306396, name: "form", sons: null}, +{kind: 1, offset: "form", len: 0, typ: NTI838860828, name: "form", sons: null}, {kind: 1, offset: "name", len: 0, typ: NTI33554450, name: "name", sons: null}, {kind: 1, offset: "readOnly", len: 0, typ: NTI33554466, name: "readOnly", sons: null}, -{kind: 1, offset: "options", len: 0, typ: NTI805306494, name: "options", sons: null}, -{kind: 1, offset: "selectedOptions", len: 0, typ: NTI805306495, name: "selectedOptions", sons: null}, +{kind: 1, offset: "options", len: 0, typ: NTI838860926, name: "options", sons: null}, +{kind: 1, offset: "selectedOptions", len: 0, typ: NTI838860927, name: "selectedOptions", sons: null}, {kind: 1, offset: "clientWidth", len: 0, typ: NTI33554435, name: "clientWidth", sons: null}, {kind: 1, offset: "clientHeight", len: 0, typ: NTI33554435, name: "clientHeight", sons: null}, {kind: 1, offset: "contentEditable", len: 0, typ: NTI33554450, name: "contentEditable", sons: null}, @@ -847,18 +842,18 @@ var NNI805306493 = {kind: 2, len: 20, offset: 0, typ: null, name: null, sons: [{ {kind: 1, offset: "offsetWidth", len: 0, typ: NTI33554435, name: "offsetWidth", sons: null}, {kind: 1, offset: "offsetLeft", len: 0, typ: NTI33554435, name: "offsetLeft", sons: null}, {kind: 1, offset: "offsetTop", len: 0, typ: NTI33554435, name: "offsetTop", sons: null}]}; -NTI805306493.node = NNI805306493; -NTI805306493.base = NTI805306482; -NTI805306386.base = NTI805306493; -var NNI805306505 = {kind: 2, len: 3, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "text", len: 0, typ: NTI33554450, name: "text", sons: null}, +NTI838860925.node = NNI838860925; +NTI838860925.base = NTI838860914; +NTI838860818.base = NTI838860925; +var NNI838860937 = {kind: 2, len: 3, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "text", len: 0, typ: NTI33554450, name: "text", sons: null}, {kind: 1, offset: "x", len: 0, typ: NTI33554435, name: "x", sons: null}, {kind: 1, offset: "y", len: 0, typ: NTI33554435, name: "y", sons: null}]}; -NTI805306505.node = NNI805306505; -NTI805306505.base = NTI805306493; -NTI805306394.base = NTI805306505; -NTI805306487.base = NTI805306394; -NTI805306488.base = NTI805306396; -var NNI805306509 = {kind: 2, len: 8, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "border", len: 0, typ: NTI33554435, name: "border", sons: null}, +NTI838860937.node = NNI838860937; +NTI838860937.base = NTI838860925; +NTI838860826.base = NTI838860937; +NTI838860919.base = NTI838860826; +NTI838860920.base = NTI838860828; +var NNI838860941 = {kind: 2, len: 8, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "border", len: 0, typ: NTI33554435, name: "border", sons: null}, {kind: 1, offset: "complete", len: 0, typ: NTI33554466, name: "complete", sons: null}, {kind: 1, offset: "height", len: 0, typ: NTI33554435, name: "height", sons: null}, {kind: 1, offset: "hspace", len: 0, typ: NTI33554435, name: "hspace", sons: null}, @@ -866,46 +861,46 @@ var NNI805306509 = {kind: 2, len: 8, offset: 0, typ: null, name: null, sons: [{k {kind: 1, offset: "src", len: 0, typ: NTI33554450, name: "src", sons: null}, {kind: 1, offset: "vspace", len: 0, typ: NTI33554435, name: "vspace", sons: null}, {kind: 1, offset: "width", len: 0, typ: NTI33554435, name: "width", sons: null}]}; -NTI805306509.node = NNI805306509; -NTI805306509.base = NTI805306493; -NTI805306397.base = NTI805306509; -NTI805306489.base = NTI805306397; -NTI805306490.base = NTI805306386; -var NNI805306504 = {kind: 2, len: 6, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "height", len: 0, typ: NTI33554435, name: "height", sons: null}, +NTI838860941.node = NNI838860941; +NTI838860941.base = NTI838860925; +NTI838860829.base = NTI838860941; +NTI838860921.base = NTI838860829; +NTI838860922.base = NTI838860818; +var NNI838860936 = {kind: 2, len: 6, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "height", len: 0, typ: NTI33554435, name: "height", sons: null}, {kind: 1, offset: "hspace", len: 0, typ: NTI33554435, name: "hspace", sons: null}, {kind: 1, offset: "src", len: 0, typ: NTI33554450, name: "src", sons: null}, {kind: 1, offset: "width", len: 0, typ: NTI33554435, name: "width", sons: null}, {kind: 1, offset: "type", len: 0, typ: NTI33554450, name: "type", sons: null}, {kind: 1, offset: "vspace", len: 0, typ: NTI33554435, name: "vspace", sons: null}]}; -NTI805306504.node = NNI805306504; -NTI805306504.base = NTI805306493; -NTI805306393.base = NTI805306504; -NTI805306491.base = NTI805306393; -var NNI805306503 = {kind: 2, len: 4, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "target", len: 0, typ: NTI33554450, name: "target", sons: null}, +NTI838860936.node = NNI838860936; +NTI838860936.base = NTI838860925; +NTI838860825.base = NTI838860936; +NTI838860923.base = NTI838860825; +var NNI838860935 = {kind: 2, len: 4, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "target", len: 0, typ: NTI33554450, name: "target", sons: null}, {kind: 1, offset: "text", len: 0, typ: NTI33554450, name: "text", sons: null}, {kind: 1, offset: "x", len: 0, typ: NTI33554435, name: "x", sons: null}, {kind: 1, offset: "y", len: 0, typ: NTI33554435, name: "y", sons: null}]}; -NTI805306503.node = NNI805306503; -NTI805306503.base = NTI805306493; -NTI805306392.base = NTI805306503; -NTI805306492.base = NTI805306392; -var NNI805306553 = {kind: 1, offset: "then", len: 0, typ: NTI805306554, name: "then", sons: null}; -NTI805306553.node = NNI805306553; -NTI805306433.base = NTI805306553; -var NNI805306556 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "ready", len: 0, typ: NTI805306433, name: "ready", sons: null}, -{kind: 1, offset: "onloadingdone", len: 0, typ: NTI805306557, name: "onloadingdone", sons: null}]}; -NTI805306556.node = NNI805306556; -NTI805306434.base = NTI805306556; -var NNI805306486 = {kind: 2, len: 25, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "activeElement", len: 0, typ: NTI805306386, name: "activeElement", sons: null}, -{kind: 1, offset: "documentElement", len: 0, typ: NTI805306386, name: "documentElement", sons: null}, +NTI838860935.node = NNI838860935; +NTI838860935.base = NTI838860925; +NTI838860824.base = NTI838860935; +NTI838860924.base = NTI838860824; +var NNI838860985 = {kind: 1, offset: "then", len: 0, typ: NTI838860986, name: "then", sons: null}; +NTI838860985.node = NNI838860985; +NTI838860865.base = NTI838860985; +var NNI838860988 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "ready", len: 0, typ: NTI838860865, name: "ready", sons: null}, +{kind: 1, offset: "onloadingdone", len: 0, typ: NTI838860989, name: "onloadingdone", sons: null}]}; +NTI838860988.node = NNI838860988; +NTI838860866.base = NTI838860988; +var NNI838860918 = {kind: 2, len: 25, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "activeElement", len: 0, typ: NTI838860818, name: "activeElement", sons: null}, +{kind: 1, offset: "documentElement", len: 0, typ: NTI838860818, name: "documentElement", sons: null}, {kind: 1, offset: "alinkColor", len: 0, typ: NTI33554450, name: "alinkColor", sons: null}, {kind: 1, offset: "bgColor", len: 0, typ: NTI33554450, name: "bgColor", sons: null}, -{kind: 1, offset: "body", len: 0, typ: NTI805306386, name: "body", sons: null}, +{kind: 1, offset: "body", len: 0, typ: NTI838860818, name: "body", sons: null}, {kind: 1, offset: "charset", len: 0, typ: NTI33554450, name: "charset", sons: null}, {kind: 1, offset: "cookie", len: 0, typ: NTI33554450, name: "cookie", sons: null}, {kind: 1, offset: "defaultCharset", len: 0, typ: NTI33554450, name: "defaultCharset", sons: null}, {kind: 1, offset: "fgColor", len: 0, typ: NTI33554450, name: "fgColor", sons: null}, -{kind: 1, offset: "head", len: 0, typ: NTI805306386, name: "head", sons: null}, +{kind: 1, offset: "head", len: 0, typ: NTI838860818, name: "head", sons: null}, {kind: 1, offset: "hidden", len: 0, typ: NTI33554466, name: "hidden", sons: null}, {kind: 1, offset: "lastModified", len: 0, typ: NTI33554450, name: "lastModified", sons: null}, {kind: 1, offset: "linkColor", len: 0, typ: NTI33554450, name: "linkColor", sons: null}, @@ -914,450 +909,450 @@ var NNI805306486 = {kind: 2, len: 25, offset: 0, typ: null, name: null, sons: [{ {kind: 1, offset: "URL", len: 0, typ: NTI33554450, name: "URL", sons: null}, {kind: 1, offset: "visibilityState", len: 0, typ: NTI33554450, name: "visibilityState", sons: null}, {kind: 1, offset: "vlinkColor", len: 0, typ: NTI33554450, name: "vlinkColor", sons: null}, -{kind: 1, offset: "anchors", len: 0, typ: NTI805306487, name: "anchors", sons: null}, -{kind: 1, offset: "forms", len: 0, typ: NTI805306488, name: "forms", sons: null}, -{kind: 1, offset: "images", len: 0, typ: NTI805306489, name: "images", sons: null}, -{kind: 1, offset: "applets", len: 0, typ: NTI805306490, name: "applets", sons: null}, -{kind: 1, offset: "embeds", len: 0, typ: NTI805306491, name: "embeds", sons: null}, -{kind: 1, offset: "links", len: 0, typ: NTI805306492, name: "links", sons: null}, -{kind: 1, offset: "fonts", len: 0, typ: NTI805306434, name: "fonts", sons: null}]}; -NTI805306486.node = NNI805306486; -NTI805306486.base = NTI805306482; -NTI805306385.base = NTI805306486; -NTI805306398.base = NTI805306510; -var NNI805306482 = {kind: 2, len: 22, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "attributes", len: 0, typ: NTI805306483, name: "attributes", sons: null}, -{kind: 1, offset: "childNodes", len: 0, typ: NTI805306484, name: "childNodes", sons: null}, -{kind: 1, offset: "children", len: 0, typ: NTI805306485, name: "children", sons: null}, +{kind: 1, offset: "anchors", len: 0, typ: NTI838860919, name: "anchors", sons: null}, +{kind: 1, offset: "forms", len: 0, typ: NTI838860920, name: "forms", sons: null}, +{kind: 1, offset: "images", len: 0, typ: NTI838860921, name: "images", sons: null}, +{kind: 1, offset: "applets", len: 0, typ: NTI838860922, name: "applets", sons: null}, +{kind: 1, offset: "embeds", len: 0, typ: NTI838860923, name: "embeds", sons: null}, +{kind: 1, offset: "links", len: 0, typ: NTI838860924, name: "links", sons: null}, +{kind: 1, offset: "fonts", len: 0, typ: NTI838860866, name: "fonts", sons: null}]}; +NTI838860918.node = NNI838860918; +NTI838860918.base = NTI838860914; +NTI838860817.base = NTI838860918; +NTI838860830.base = NTI838860942; +var NNI838860914 = {kind: 2, len: 22, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "attributes", len: 0, typ: NTI838860915, name: "attributes", sons: null}, +{kind: 1, offset: "childNodes", len: 0, typ: NTI838860916, name: "childNodes", sons: null}, +{kind: 1, offset: "children", len: 0, typ: NTI838860917, name: "children", sons: null}, {kind: 1, offset: "data", len: 0, typ: NTI33554450, name: "data", sons: null}, -{kind: 1, offset: "firstChild", len: 0, typ: NTI805306384, name: "firstChild", sons: null}, -{kind: 1, offset: "lastChild", len: 0, typ: NTI805306384, name: "lastChild", sons: null}, -{kind: 1, offset: "nextSibling", len: 0, typ: NTI805306384, name: "nextSibling", sons: null}, +{kind: 1, offset: "firstChild", len: 0, typ: NTI838860816, name: "firstChild", sons: null}, +{kind: 1, offset: "lastChild", len: 0, typ: NTI838860816, name: "lastChild", sons: null}, +{kind: 1, offset: "nextSibling", len: 0, typ: NTI838860816, name: "nextSibling", sons: null}, {kind: 1, offset: "nodeName", len: 0, typ: NTI33554450, name: "nodeName", sons: null}, -{kind: 1, offset: "nodeType", len: 0, typ: NTI805306383, name: "nodeType", sons: null}, +{kind: 1, offset: "nodeType", len: 0, typ: NTI838860815, name: "nodeType", sons: null}, {kind: 1, offset: "nodeValue", len: 0, typ: NTI33554450, name: "nodeValue", sons: null}, -{kind: 1, offset: "parentNode", len: 0, typ: NTI805306384, name: "parentNode", sons: null}, -{kind: 1, offset: "content", len: 0, typ: NTI805306384, name: "content", sons: null}, -{kind: 1, offset: "previousSibling", len: 0, typ: NTI805306384, name: "previousSibling", sons: null}, -{kind: 1, offset: "ownerDocument", len: 0, typ: NTI805306385, name: "ownerDocument", sons: null}, +{kind: 1, offset: "parentNode", len: 0, typ: NTI838860816, name: "parentNode", sons: null}, +{kind: 1, offset: "content", len: 0, typ: NTI838860816, name: "content", sons: null}, +{kind: 1, offset: "previousSibling", len: 0, typ: NTI838860816, name: "previousSibling", sons: null}, +{kind: 1, offset: "ownerDocument", len: 0, typ: NTI838860817, name: "ownerDocument", sons: null}, {kind: 1, offset: "innerHTML", len: 0, typ: NTI33554450, name: "innerHTML", sons: null}, {kind: 1, offset: "outerHTML", len: 0, typ: NTI33554450, name: "outerHTML", sons: null}, {kind: 1, offset: "innerText", len: 0, typ: NTI33554450, name: "innerText", sons: null}, {kind: 1, offset: "textContent", len: 0, typ: NTI33554450, name: "textContent", sons: null}, -{kind: 1, offset: "style", len: 0, typ: NTI805306398, name: "style", sons: null}, +{kind: 1, offset: "style", len: 0, typ: NTI838860830, name: "style", sons: null}, {kind: 1, offset: "baseURI", len: 0, typ: NTI33554450, name: "baseURI", sons: null}, -{kind: 1, offset: "parentElement", len: 0, typ: NTI805306386, name: "parentElement", sons: null}, +{kind: 1, offset: "parentElement", len: 0, typ: NTI838860818, name: "parentElement", sons: null}, {kind: 1, offset: "isConnected", len: 0, typ: NTI33554466, name: "isConnected", sons: null}]}; -NTI805306482.node = NNI805306482; -var NNI805306437 = {kind: 2, len: 24, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "onabort", len: 0, typ: NTI805306438, name: "onabort", sons: null}, -{kind: 1, offset: "onblur", len: 0, typ: NTI805306439, name: "onblur", sons: null}, -{kind: 1, offset: "onchange", len: 0, typ: NTI805306440, name: "onchange", sons: null}, -{kind: 1, offset: "onclick", len: 0, typ: NTI805306441, name: "onclick", sons: null}, -{kind: 1, offset: "ondblclick", len: 0, typ: NTI805306442, name: "ondblclick", sons: null}, -{kind: 1, offset: "onerror", len: 0, typ: NTI805306443, name: "onerror", sons: null}, -{kind: 1, offset: "onfocus", len: 0, typ: NTI805306444, name: "onfocus", sons: null}, -{kind: 1, offset: "onkeydown", len: 0, typ: NTI805306445, name: "onkeydown", sons: null}, -{kind: 1, offset: "onkeypress", len: 0, typ: NTI805306446, name: "onkeypress", sons: null}, -{kind: 1, offset: "onkeyup", len: 0, typ: NTI805306447, name: "onkeyup", sons: null}, -{kind: 1, offset: "onload", len: 0, typ: NTI805306448, name: "onload", sons: null}, -{kind: 1, offset: "onmousedown", len: 0, typ: NTI805306449, name: "onmousedown", sons: null}, -{kind: 1, offset: "onmousemove", len: 0, typ: NTI805306450, name: "onmousemove", sons: null}, -{kind: 1, offset: "onmouseout", len: 0, typ: NTI805306451, name: "onmouseout", sons: null}, -{kind: 1, offset: "onmouseover", len: 0, typ: NTI805306452, name: "onmouseover", sons: null}, -{kind: 1, offset: "onmouseup", len: 0, typ: NTI805306453, name: "onmouseup", sons: null}, -{kind: 1, offset: "onreset", len: 0, typ: NTI805306454, name: "onreset", sons: null}, -{kind: 1, offset: "onselect", len: 0, typ: NTI805306455, name: "onselect", sons: null}, -{kind: 1, offset: "onstorage", len: 0, typ: NTI805306456, name: "onstorage", sons: null}, -{kind: 1, offset: "onsubmit", len: 0, typ: NTI805306457, name: "onsubmit", sons: null}, -{kind: 1, offset: "onunload", len: 0, typ: NTI805306458, name: "onunload", sons: null}, -{kind: 1, offset: "onloadstart", len: 0, typ: NTI805306459, name: "onloadstart", sons: null}, -{kind: 1, offset: "onprogress", len: 0, typ: NTI805306460, name: "onprogress", sons: null}, -{kind: 1, offset: "onloadend", len: 0, typ: NTI805306461, name: "onloadend", sons: null}]}; -NTI805306437.node = NNI805306437; -NTI805306437.base = NTI33555173; -NTI805306482.base = NTI805306437; -NTI805306384.base = NTI805306482; -var NNI721420291 = {kind: 2, offset: 0, typ: null, name: null, len: 213, sons: {"0": {kind: 1, offset: 0, typ: NTI721420291, name: "#text", len: 0, sons: null}, -"1": {kind: 1, offset: 1, typ: NTI721420291, name: "#int", len: 0, sons: null}, -"2": {kind: 1, offset: 2, typ: NTI721420291, name: "#bool", len: 0, sons: null}, -"3": {kind: 1, offset: 3, typ: NTI721420291, name: "#vthunk", len: 0, sons: null}, -"4": {kind: 1, offset: 4, typ: NTI721420291, name: "#dthunk", len: 0, sons: null}, -"5": {kind: 1, offset: 5, typ: NTI721420291, name: "#component", len: 0, sons: null}, -"6": {kind: 1, offset: 6, typ: NTI721420291, name: "#verbatim", len: 0, sons: null}, -"7": {kind: 1, offset: 7, typ: NTI721420291, name: "html", len: 0, sons: null}, -"8": {kind: 1, offset: 8, typ: NTI721420291, name: "head", len: 0, sons: null}, -"9": {kind: 1, offset: 9, typ: NTI721420291, name: "title", len: 0, sons: null}, -"10": {kind: 1, offset: 10, typ: NTI721420291, name: "base", len: 0, sons: null}, -"11": {kind: 1, offset: 11, typ: NTI721420291, name: "link", len: 0, sons: null}, -"12": {kind: 1, offset: 12, typ: NTI721420291, name: "meta", len: 0, sons: null}, -"13": {kind: 1, offset: 13, typ: NTI721420291, name: "style", len: 0, sons: null}, -"14": {kind: 1, offset: 14, typ: NTI721420291, name: "script", len: 0, sons: null}, -"15": {kind: 1, offset: 15, typ: NTI721420291, name: "noscript", len: 0, sons: null}, -"16": {kind: 1, offset: 16, typ: NTI721420291, name: "body", len: 0, sons: null}, -"17": {kind: 1, offset: 17, typ: NTI721420291, name: "section", len: 0, sons: null}, -"18": {kind: 1, offset: 18, typ: NTI721420291, name: "nav", len: 0, sons: null}, -"19": {kind: 1, offset: 19, typ: NTI721420291, name: "article", len: 0, sons: null}, -"20": {kind: 1, offset: 20, typ: NTI721420291, name: "aside", len: 0, sons: null}, -"21": {kind: 1, offset: 21, typ: NTI721420291, name: "h1", len: 0, sons: null}, -"22": {kind: 1, offset: 22, typ: NTI721420291, name: "h2", len: 0, sons: null}, -"23": {kind: 1, offset: 23, typ: NTI721420291, name: "h3", len: 0, sons: null}, -"24": {kind: 1, offset: 24, typ: NTI721420291, name: "h4", len: 0, sons: null}, -"25": {kind: 1, offset: 25, typ: NTI721420291, name: "h5", len: 0, sons: null}, -"26": {kind: 1, offset: 26, typ: NTI721420291, name: "h6", len: 0, sons: null}, -"27": {kind: 1, offset: 27, typ: NTI721420291, name: "hgroup", len: 0, sons: null}, -"28": {kind: 1, offset: 28, typ: NTI721420291, name: "header", len: 0, sons: null}, -"29": {kind: 1, offset: 29, typ: NTI721420291, name: "footer", len: 0, sons: null}, -"30": {kind: 1, offset: 30, typ: NTI721420291, name: "address", len: 0, sons: null}, -"31": {kind: 1, offset: 31, typ: NTI721420291, name: "main", len: 0, sons: null}, -"32": {kind: 1, offset: 32, typ: NTI721420291, name: "p", len: 0, sons: null}, -"33": {kind: 1, offset: 33, typ: NTI721420291, name: "hr", len: 0, sons: null}, -"34": {kind: 1, offset: 34, typ: NTI721420291, name: "pre", len: 0, sons: null}, -"35": {kind: 1, offset: 35, typ: NTI721420291, name: "blockquote", len: 0, sons: null}, -"36": {kind: 1, offset: 36, typ: NTI721420291, name: "ol", len: 0, sons: null}, -"37": {kind: 1, offset: 37, typ: NTI721420291, name: "ul", len: 0, sons: null}, -"38": {kind: 1, offset: 38, typ: NTI721420291, name: "li", len: 0, sons: null}, -"39": {kind: 1, offset: 39, typ: NTI721420291, name: "dl", len: 0, sons: null}, -"40": {kind: 1, offset: 40, typ: NTI721420291, name: "dt", len: 0, sons: null}, -"41": {kind: 1, offset: 41, typ: NTI721420291, name: "dd", len: 0, sons: null}, -"42": {kind: 1, offset: 42, typ: NTI721420291, name: "figure", len: 0, sons: null}, -"43": {kind: 1, offset: 43, typ: NTI721420291, name: "figcaption", len: 0, sons: null}, -"44": {kind: 1, offset: 44, typ: NTI721420291, name: "div", len: 0, sons: null}, -"45": {kind: 1, offset: 45, typ: NTI721420291, name: "a", len: 0, sons: null}, -"46": {kind: 1, offset: 46, typ: NTI721420291, name: "em", len: 0, sons: null}, -"47": {kind: 1, offset: 47, typ: NTI721420291, name: "strong", len: 0, sons: null}, -"48": {kind: 1, offset: 48, typ: NTI721420291, name: "small", len: 0, sons: null}, -"49": {kind: 1, offset: 49, typ: NTI721420291, name: "s", len: 0, sons: null}, -"50": {kind: 1, offset: 50, typ: NTI721420291, name: "cite", len: 0, sons: null}, -"51": {kind: 1, offset: 51, typ: NTI721420291, name: "quote", len: 0, sons: null}, -"52": {kind: 1, offset: 52, typ: NTI721420291, name: "dfn", len: 0, sons: null}, -"53": {kind: 1, offset: 53, typ: NTI721420291, name: "abbr", len: 0, sons: null}, -"54": {kind: 1, offset: 54, typ: NTI721420291, name: "data", len: 0, sons: null}, -"55": {kind: 1, offset: 55, typ: NTI721420291, name: "time", len: 0, sons: null}, -"56": {kind: 1, offset: 56, typ: NTI721420291, name: "code", len: 0, sons: null}, -"57": {kind: 1, offset: 57, typ: NTI721420291, name: "var", len: 0, sons: null}, -"58": {kind: 1, offset: 58, typ: NTI721420291, name: "samp", len: 0, sons: null}, -"59": {kind: 1, offset: 59, typ: NTI721420291, name: "kbd", len: 0, sons: null}, -"60": {kind: 1, offset: 60, typ: NTI721420291, name: "sub", len: 0, sons: null}, -"61": {kind: 1, offset: 61, typ: NTI721420291, name: "sup", len: 0, sons: null}, -"62": {kind: 1, offset: 62, typ: NTI721420291, name: "i", len: 0, sons: null}, -"63": {kind: 1, offset: 63, typ: NTI721420291, name: "b", len: 0, sons: null}, -"64": {kind: 1, offset: 64, typ: NTI721420291, name: "u", len: 0, sons: null}, -"65": {kind: 1, offset: 65, typ: NTI721420291, name: "mark", len: 0, sons: null}, -"66": {kind: 1, offset: 66, typ: NTI721420291, name: "ruby", len: 0, sons: null}, -"67": {kind: 1, offset: 67, typ: NTI721420291, name: "rt", len: 0, sons: null}, -"68": {kind: 1, offset: 68, typ: NTI721420291, name: "rp", len: 0, sons: null}, -"69": {kind: 1, offset: 69, typ: NTI721420291, name: "bdi", len: 0, sons: null}, -"70": {kind: 1, offset: 70, typ: NTI721420291, name: "dbo", len: 0, sons: null}, -"71": {kind: 1, offset: 71, typ: NTI721420291, name: "span", len: 0, sons: null}, -"72": {kind: 1, offset: 72, typ: NTI721420291, name: "br", len: 0, sons: null}, -"73": {kind: 1, offset: 73, typ: NTI721420291, name: "wbr", len: 0, sons: null}, -"74": {kind: 1, offset: 74, typ: NTI721420291, name: "ins", len: 0, sons: null}, -"75": {kind: 1, offset: 75, typ: NTI721420291, name: "del", len: 0, sons: null}, -"76": {kind: 1, offset: 76, typ: NTI721420291, name: "img", len: 0, sons: null}, -"77": {kind: 1, offset: 77, typ: NTI721420291, name: "iframe", len: 0, sons: null}, -"78": {kind: 1, offset: 78, typ: NTI721420291, name: "embed", len: 0, sons: null}, -"79": {kind: 1, offset: 79, typ: NTI721420291, name: "object", len: 0, sons: null}, -"80": {kind: 1, offset: 80, typ: NTI721420291, name: "param", len: 0, sons: null}, -"81": {kind: 1, offset: 81, typ: NTI721420291, name: "video", len: 0, sons: null}, -"82": {kind: 1, offset: 82, typ: NTI721420291, name: "audio", len: 0, sons: null}, -"83": {kind: 1, offset: 83, typ: NTI721420291, name: "source", len: 0, sons: null}, -"84": {kind: 1, offset: 84, typ: NTI721420291, name: "track", len: 0, sons: null}, -"85": {kind: 1, offset: 85, typ: NTI721420291, name: "canvas", len: 0, sons: null}, -"86": {kind: 1, offset: 86, typ: NTI721420291, name: "map", len: 0, sons: null}, -"87": {kind: 1, offset: 87, typ: NTI721420291, name: "area", len: 0, sons: null}, -"88": {kind: 1, offset: 88, typ: NTI721420291, name: "animate", len: 0, sons: null}, -"89": {kind: 1, offset: 89, typ: NTI721420291, name: "animateMotion", len: 0, sons: null}, -"90": {kind: 1, offset: 90, typ: NTI721420291, name: "animateTransform", len: 0, sons: null}, -"91": {kind: 1, offset: 91, typ: NTI721420291, name: "circle", len: 0, sons: null}, -"92": {kind: 1, offset: 92, typ: NTI721420291, name: "clipPath", len: 0, sons: null}, -"93": {kind: 1, offset: 93, typ: NTI721420291, name: "defs", len: 0, sons: null}, -"94": {kind: 1, offset: 94, typ: NTI721420291, name: "desc", len: 0, sons: null}, -"95": {kind: 1, offset: 95, typ: NTI721420291, name: "discard", len: 0, sons: null}, -"96": {kind: 1, offset: 96, typ: NTI721420291, name: "ellipse", len: 0, sons: null}, -"97": {kind: 1, offset: 97, typ: NTI721420291, name: "feBlend", len: 0, sons: null}, -"98": {kind: 1, offset: 98, typ: NTI721420291, name: "feColorMatrix", len: 0, sons: null}, -"99": {kind: 1, offset: 99, typ: NTI721420291, name: "feComponentTransfer", len: 0, sons: null}, -"100": {kind: 1, offset: 100, typ: NTI721420291, name: "feComposite", len: 0, sons: null}, -"101": {kind: 1, offset: 101, typ: NTI721420291, name: "feConvolveMatrix", len: 0, sons: null}, -"102": {kind: 1, offset: 102, typ: NTI721420291, name: "feDiffuseLighting", len: 0, sons: null}, -"103": {kind: 1, offset: 103, typ: NTI721420291, name: "feDisplacementMap", len: 0, sons: null}, -"104": {kind: 1, offset: 104, typ: NTI721420291, name: "feDistantLight", len: 0, sons: null}, -"105": {kind: 1, offset: 105, typ: NTI721420291, name: "feDropShadow", len: 0, sons: null}, -"106": {kind: 1, offset: 106, typ: NTI721420291, name: "feFlood", len: 0, sons: null}, -"107": {kind: 1, offset: 107, typ: NTI721420291, name: "feFuncA", len: 0, sons: null}, -"108": {kind: 1, offset: 108, typ: NTI721420291, name: "feFuncB", len: 0, sons: null}, -"109": {kind: 1, offset: 109, typ: NTI721420291, name: "feFuncG", len: 0, sons: null}, -"110": {kind: 1, offset: 110, typ: NTI721420291, name: "feFuncR", len: 0, sons: null}, -"111": {kind: 1, offset: 111, typ: NTI721420291, name: "feGaussianBlur", len: 0, sons: null}, -"112": {kind: 1, offset: 112, typ: NTI721420291, name: "feImage", len: 0, sons: null}, -"113": {kind: 1, offset: 113, typ: NTI721420291, name: "feMerge", len: 0, sons: null}, -"114": {kind: 1, offset: 114, typ: NTI721420291, name: "feMergeNode", len: 0, sons: null}, -"115": {kind: 1, offset: 115, typ: NTI721420291, name: "feMorphology", len: 0, sons: null}, -"116": {kind: 1, offset: 116, typ: NTI721420291, name: "feOffset", len: 0, sons: null}, -"117": {kind: 1, offset: 117, typ: NTI721420291, name: "fePointLight", len: 0, sons: null}, -"118": {kind: 1, offset: 118, typ: NTI721420291, name: "feSpecularLighting", len: 0, sons: null}, -"119": {kind: 1, offset: 119, typ: NTI721420291, name: "feSpotLight", len: 0, sons: null}, -"120": {kind: 1, offset: 120, typ: NTI721420291, name: "feTile", len: 0, sons: null}, -"121": {kind: 1, offset: 121, typ: NTI721420291, name: "feTurbulence", len: 0, sons: null}, -"122": {kind: 1, offset: 122, typ: NTI721420291, name: "filter", len: 0, sons: null}, -"123": {kind: 1, offset: 123, typ: NTI721420291, name: "foreignObject", len: 0, sons: null}, -"124": {kind: 1, offset: 124, typ: NTI721420291, name: "g", len: 0, sons: null}, -"125": {kind: 1, offset: 125, typ: NTI721420291, name: "image", len: 0, sons: null}, -"126": {kind: 1, offset: 126, typ: NTI721420291, name: "line", len: 0, sons: null}, -"127": {kind: 1, offset: 127, typ: NTI721420291, name: "linearGradient", len: 0, sons: null}, -"128": {kind: 1, offset: 128, typ: NTI721420291, name: "marker", len: 0, sons: null}, -"129": {kind: 1, offset: 129, typ: NTI721420291, name: "mask", len: 0, sons: null}, -"130": {kind: 1, offset: 130, typ: NTI721420291, name: "metadata", len: 0, sons: null}, -"131": {kind: 1, offset: 131, typ: NTI721420291, name: "mpath", len: 0, sons: null}, -"132": {kind: 1, offset: 132, typ: NTI721420291, name: "path", len: 0, sons: null}, -"133": {kind: 1, offset: 133, typ: NTI721420291, name: "pattern", len: 0, sons: null}, -"134": {kind: 1, offset: 134, typ: NTI721420291, name: "polygon", len: 0, sons: null}, -"135": {kind: 1, offset: 135, typ: NTI721420291, name: "polyline", len: 0, sons: null}, -"136": {kind: 1, offset: 136, typ: NTI721420291, name: "radialGradient", len: 0, sons: null}, -"137": {kind: 1, offset: 137, typ: NTI721420291, name: "rect", len: 0, sons: null}, -"138": {kind: 1, offset: 138, typ: NTI721420291, name: "set", len: 0, sons: null}, -"139": {kind: 1, offset: 139, typ: NTI721420291, name: "stop", len: 0, sons: null}, -"140": {kind: 1, offset: 140, typ: NTI721420291, name: "svg", len: 0, sons: null}, -"141": {kind: 1, offset: 141, typ: NTI721420291, name: "switch", len: 0, sons: null}, -"142": {kind: 1, offset: 142, typ: NTI721420291, name: "symbol", len: 0, sons: null}, -"143": {kind: 1, offset: 143, typ: NTI721420291, name: "text", len: 0, sons: null}, -"144": {kind: 1, offset: 144, typ: NTI721420291, name: "textPath", len: 0, sons: null}, -"145": {kind: 1, offset: 145, typ: NTI721420291, name: "tspan", len: 0, sons: null}, -"146": {kind: 1, offset: 146, typ: NTI721420291, name: "unknown", len: 0, sons: null}, -"147": {kind: 1, offset: 147, typ: NTI721420291, name: "use", len: 0, sons: null}, -"148": {kind: 1, offset: 148, typ: NTI721420291, name: "view", len: 0, sons: null}, -"149": {kind: 1, offset: 149, typ: NTI721420291, name: "maction", len: 0, sons: null}, -"150": {kind: 1, offset: 150, typ: NTI721420291, name: "math", len: 0, sons: null}, -"151": {kind: 1, offset: 151, typ: NTI721420291, name: "menclose", len: 0, sons: null}, -"152": {kind: 1, offset: 152, typ: NTI721420291, name: "merror", len: 0, sons: null}, -"153": {kind: 1, offset: 153, typ: NTI721420291, name: "mfenced", len: 0, sons: null}, -"154": {kind: 1, offset: 154, typ: NTI721420291, name: "mfrac", len: 0, sons: null}, -"155": {kind: 1, offset: 155, typ: NTI721420291, name: "mglyph", len: 0, sons: null}, -"156": {kind: 1, offset: 156, typ: NTI721420291, name: "mi", len: 0, sons: null}, -"157": {kind: 1, offset: 157, typ: NTI721420291, name: "mlabeledtr", len: 0, sons: null}, -"158": {kind: 1, offset: 158, typ: NTI721420291, name: "mmultiscripts", len: 0, sons: null}, -"159": {kind: 1, offset: 159, typ: NTI721420291, name: "mn", len: 0, sons: null}, -"160": {kind: 1, offset: 160, typ: NTI721420291, name: "mo", len: 0, sons: null}, -"161": {kind: 1, offset: 161, typ: NTI721420291, name: "mover", len: 0, sons: null}, -"162": {kind: 1, offset: 162, typ: NTI721420291, name: "mpadded", len: 0, sons: null}, -"163": {kind: 1, offset: 163, typ: NTI721420291, name: "mphantom", len: 0, sons: null}, -"164": {kind: 1, offset: 164, typ: NTI721420291, name: "mroot", len: 0, sons: null}, -"165": {kind: 1, offset: 165, typ: NTI721420291, name: "mrow", len: 0, sons: null}, -"166": {kind: 1, offset: 166, typ: NTI721420291, name: "ms", len: 0, sons: null}, -"167": {kind: 1, offset: 167, typ: NTI721420291, name: "mspace", len: 0, sons: null}, -"168": {kind: 1, offset: 168, typ: NTI721420291, name: "msqrt", len: 0, sons: null}, -"169": {kind: 1, offset: 169, typ: NTI721420291, name: "mstyle", len: 0, sons: null}, -"170": {kind: 1, offset: 170, typ: NTI721420291, name: "msub", len: 0, sons: null}, -"171": {kind: 1, offset: 171, typ: NTI721420291, name: "msubsup", len: 0, sons: null}, -"172": {kind: 1, offset: 172, typ: NTI721420291, name: "msup", len: 0, sons: null}, -"173": {kind: 1, offset: 173, typ: NTI721420291, name: "mtable", len: 0, sons: null}, -"174": {kind: 1, offset: 174, typ: NTI721420291, name: "mtd", len: 0, sons: null}, -"175": {kind: 1, offset: 175, typ: NTI721420291, name: "mtext", len: 0, sons: null}, -"176": {kind: 1, offset: 176, typ: NTI721420291, name: "mtr", len: 0, sons: null}, -"177": {kind: 1, offset: 177, typ: NTI721420291, name: "munder", len: 0, sons: null}, -"178": {kind: 1, offset: 178, typ: NTI721420291, name: "munderover", len: 0, sons: null}, -"179": {kind: 1, offset: 179, typ: NTI721420291, name: "semantics", len: 0, sons: null}, -"180": {kind: 1, offset: 180, typ: NTI721420291, name: "table", len: 0, sons: null}, -"181": {kind: 1, offset: 181, typ: NTI721420291, name: "caption", len: 0, sons: null}, -"182": {kind: 1, offset: 182, typ: NTI721420291, name: "colgroup", len: 0, sons: null}, -"183": {kind: 1, offset: 183, typ: NTI721420291, name: "col", len: 0, sons: null}, -"184": {kind: 1, offset: 184, typ: NTI721420291, name: "tbody", len: 0, sons: null}, -"185": {kind: 1, offset: 185, typ: NTI721420291, name: "thead", len: 0, sons: null}, -"186": {kind: 1, offset: 186, typ: NTI721420291, name: "tfoot", len: 0, sons: null}, -"187": {kind: 1, offset: 187, typ: NTI721420291, name: "tr", len: 0, sons: null}, -"188": {kind: 1, offset: 188, typ: NTI721420291, name: "td", len: 0, sons: null}, -"189": {kind: 1, offset: 189, typ: NTI721420291, name: "th", len: 0, sons: null}, -"190": {kind: 1, offset: 190, typ: NTI721420291, name: "form", len: 0, sons: null}, -"191": {kind: 1, offset: 191, typ: NTI721420291, name: "fieldset", len: 0, sons: null}, -"192": {kind: 1, offset: 192, typ: NTI721420291, name: "legend", len: 0, sons: null}, -"193": {kind: 1, offset: 193, typ: NTI721420291, name: "label", len: 0, sons: null}, -"194": {kind: 1, offset: 194, typ: NTI721420291, name: "input", len: 0, sons: null}, -"195": {kind: 1, offset: 195, typ: NTI721420291, name: "button", len: 0, sons: null}, -"196": {kind: 1, offset: 196, typ: NTI721420291, name: "select", len: 0, sons: null}, -"197": {kind: 1, offset: 197, typ: NTI721420291, name: "datalist", len: 0, sons: null}, -"198": {kind: 1, offset: 198, typ: NTI721420291, name: "optgroup", len: 0, sons: null}, -"199": {kind: 1, offset: 199, typ: NTI721420291, name: "option", len: 0, sons: null}, -"200": {kind: 1, offset: 200, typ: NTI721420291, name: "textarea", len: 0, sons: null}, -"201": {kind: 1, offset: 201, typ: NTI721420291, name: "keygen", len: 0, sons: null}, -"202": {kind: 1, offset: 202, typ: NTI721420291, name: "output", len: 0, sons: null}, -"203": {kind: 1, offset: 203, typ: NTI721420291, name: "progress", len: 0, sons: null}, -"204": {kind: 1, offset: 204, typ: NTI721420291, name: "meter", len: 0, sons: null}, -"205": {kind: 1, offset: 205, typ: NTI721420291, name: "details", len: 0, sons: null}, -"206": {kind: 1, offset: 206, typ: NTI721420291, name: "summary", len: 0, sons: null}, -"207": {kind: 1, offset: 207, typ: NTI721420291, name: "command", len: 0, sons: null}, -"208": {kind: 1, offset: 208, typ: NTI721420291, name: "menu", len: 0, sons: null}, -"209": {kind: 1, offset: 209, typ: NTI721420291, name: "bdo", len: 0, sons: null}, -"210": {kind: 1, offset: 210, typ: NTI721420291, name: "dialog", len: 0, sons: null}, -"211": {kind: 1, offset: 211, typ: NTI721420291, name: "slot", len: 0, sons: null}, -"212": {kind: 1, offset: 212, typ: NTI721420291, name: "template", len: 0, sons: null}}}; -NTI721420291.node = NNI721420291; -NTI721420389.base = NTI721420385; -NTI721420390.base = NTI33554450; -var NNI721420296 = {kind: 2, offset: 0, typ: null, name: null, len: 37, sons: {"0": {kind: 1, offset: 0, typ: NTI721420296, name: "onclick", len: 0, sons: null}, -"1": {kind: 1, offset: 1, typ: NTI721420296, name: "oncontextmenu", len: 0, sons: null}, -"2": {kind: 1, offset: 2, typ: NTI721420296, name: "ondblclick", len: 0, sons: null}, -"3": {kind: 1, offset: 3, typ: NTI721420296, name: "onkeyup", len: 0, sons: null}, -"4": {kind: 1, offset: 4, typ: NTI721420296, name: "onkeydown", len: 0, sons: null}, -"5": {kind: 1, offset: 5, typ: NTI721420296, name: "onkeypressed", len: 0, sons: null}, -"6": {kind: 1, offset: 6, typ: NTI721420296, name: "onfocus", len: 0, sons: null}, -"7": {kind: 1, offset: 7, typ: NTI721420296, name: "onblur", len: 0, sons: null}, -"8": {kind: 1, offset: 8, typ: NTI721420296, name: "onchange", len: 0, sons: null}, -"9": {kind: 1, offset: 9, typ: NTI721420296, name: "onscroll", len: 0, sons: null}, -"10": {kind: 1, offset: 10, typ: NTI721420296, name: "onmousedown", len: 0, sons: null}, -"11": {kind: 1, offset: 11, typ: NTI721420296, name: "onmouseenter", len: 0, sons: null}, -"12": {kind: 1, offset: 12, typ: NTI721420296, name: "onmouseleave", len: 0, sons: null}, -"13": {kind: 1, offset: 13, typ: NTI721420296, name: "onmousemove", len: 0, sons: null}, -"14": {kind: 1, offset: 14, typ: NTI721420296, name: "onmouseout", len: 0, sons: null}, -"15": {kind: 1, offset: 15, typ: NTI721420296, name: "onmouseover", len: 0, sons: null}, -"16": {kind: 1, offset: 16, typ: NTI721420296, name: "onmouseup", len: 0, sons: null}, -"17": {kind: 1, offset: 17, typ: NTI721420296, name: "ondrag", len: 0, sons: null}, -"18": {kind: 1, offset: 18, typ: NTI721420296, name: "ondragend", len: 0, sons: null}, -"19": {kind: 1, offset: 19, typ: NTI721420296, name: "ondragenter", len: 0, sons: null}, -"20": {kind: 1, offset: 20, typ: NTI721420296, name: "ondragleave", len: 0, sons: null}, -"21": {kind: 1, offset: 21, typ: NTI721420296, name: "ondragover", len: 0, sons: null}, -"22": {kind: 1, offset: 22, typ: NTI721420296, name: "ondragstart", len: 0, sons: null}, -"23": {kind: 1, offset: 23, typ: NTI721420296, name: "ondrop", len: 0, sons: null}, -"24": {kind: 1, offset: 24, typ: NTI721420296, name: "onsubmit", len: 0, sons: null}, -"25": {kind: 1, offset: 25, typ: NTI721420296, name: "oninput", len: 0, sons: null}, -"26": {kind: 1, offset: 26, typ: NTI721420296, name: "onanimationstart", len: 0, sons: null}, -"27": {kind: 1, offset: 27, typ: NTI721420296, name: "onanimationend", len: 0, sons: null}, -"28": {kind: 1, offset: 28, typ: NTI721420296, name: "onanimationiteration", len: 0, sons: null}, -"29": {kind: 1, offset: 29, typ: NTI721420296, name: "onkeyupenter", len: 0, sons: null}, -"30": {kind: 1, offset: 30, typ: NTI721420296, name: "onkeyuplater", len: 0, sons: null}, -"31": {kind: 1, offset: 31, typ: NTI721420296, name: "onload", len: 0, sons: null}, -"32": {kind: 1, offset: 32, typ: NTI721420296, name: "ontransitioncancel", len: 0, sons: null}, -"33": {kind: 1, offset: 33, typ: NTI721420296, name: "ontransitionend", len: 0, sons: null}, -"34": {kind: 1, offset: 34, typ: NTI721420296, name: "ontransitionrun", len: 0, sons: null}, -"35": {kind: 1, offset: 35, typ: NTI721420296, name: "ontransitionstart", len: 0, sons: null}, -"36": {kind: 1, offset: 36, typ: NTI721420296, name: "onwheel", len: 0, sons: null}}}; -NTI721420296.node = NNI721420296; -var NNI721420387 = {kind: 2, len: 3, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI721420296, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI721420397, name: "Field1", sons: null}, -{kind: 1, offset: "Field2", len: 0, typ: NTI721420398, name: "Field2", sons: null}]}; -NTI721420387.node = NNI721420387; -NTI721420383.base = NTI721420387; -var NNI771751972 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI771751972.node = NNI771751972; -NTI771751973.base = NTI771751972; -var NNI721420388 = {kind: 2, len: 11, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "kind", len: 0, typ: NTI721420291, name: "kind", sons: null}, +NTI838860914.node = NNI838860914; +var NNI838860869 = {kind: 2, len: 24, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "onabort", len: 0, typ: NTI838860870, name: "onabort", sons: null}, +{kind: 1, offset: "onblur", len: 0, typ: NTI838860871, name: "onblur", sons: null}, +{kind: 1, offset: "onchange", len: 0, typ: NTI838860872, name: "onchange", sons: null}, +{kind: 1, offset: "onclick", len: 0, typ: NTI838860873, name: "onclick", sons: null}, +{kind: 1, offset: "ondblclick", len: 0, typ: NTI838860874, name: "ondblclick", sons: null}, +{kind: 1, offset: "onerror", len: 0, typ: NTI838860875, name: "onerror", sons: null}, +{kind: 1, offset: "onfocus", len: 0, typ: NTI838860876, name: "onfocus", sons: null}, +{kind: 1, offset: "onkeydown", len: 0, typ: NTI838860877, name: "onkeydown", sons: null}, +{kind: 1, offset: "onkeypress", len: 0, typ: NTI838860878, name: "onkeypress", sons: null}, +{kind: 1, offset: "onkeyup", len: 0, typ: NTI838860879, name: "onkeyup", sons: null}, +{kind: 1, offset: "onload", len: 0, typ: NTI838860880, name: "onload", sons: null}, +{kind: 1, offset: "onmousedown", len: 0, typ: NTI838860881, name: "onmousedown", sons: null}, +{kind: 1, offset: "onmousemove", len: 0, typ: NTI838860882, name: "onmousemove", sons: null}, +{kind: 1, offset: "onmouseout", len: 0, typ: NTI838860883, name: "onmouseout", sons: null}, +{kind: 1, offset: "onmouseover", len: 0, typ: NTI838860884, name: "onmouseover", sons: null}, +{kind: 1, offset: "onmouseup", len: 0, typ: NTI838860885, name: "onmouseup", sons: null}, +{kind: 1, offset: "onreset", len: 0, typ: NTI838860886, name: "onreset", sons: null}, +{kind: 1, offset: "onselect", len: 0, typ: NTI838860887, name: "onselect", sons: null}, +{kind: 1, offset: "onstorage", len: 0, typ: NTI838860888, name: "onstorage", sons: null}, +{kind: 1, offset: "onsubmit", len: 0, typ: NTI838860889, name: "onsubmit", sons: null}, +{kind: 1, offset: "onunload", len: 0, typ: NTI838860890, name: "onunload", sons: null}, +{kind: 1, offset: "onloadstart", len: 0, typ: NTI838860891, name: "onloadstart", sons: null}, +{kind: 1, offset: "onprogress", len: 0, typ: NTI838860892, name: "onprogress", sons: null}, +{kind: 1, offset: "onloadend", len: 0, typ: NTI838860893, name: "onloadend", sons: null}]}; +NTI838860869.node = NNI838860869; +NTI838860869.base = NTI33555173; +NTI838860914.base = NTI838860869; +NTI838860816.base = NTI838860914; +var NNI754974723 = {kind: 2, offset: 0, typ: null, name: null, len: 213, sons: {"0": {kind: 1, offset: 0, typ: NTI754974723, name: "#text", len: 0, sons: null}, +"1": {kind: 1, offset: 1, typ: NTI754974723, name: "#int", len: 0, sons: null}, +"2": {kind: 1, offset: 2, typ: NTI754974723, name: "#bool", len: 0, sons: null}, +"3": {kind: 1, offset: 3, typ: NTI754974723, name: "#vthunk", len: 0, sons: null}, +"4": {kind: 1, offset: 4, typ: NTI754974723, name: "#dthunk", len: 0, sons: null}, +"5": {kind: 1, offset: 5, typ: NTI754974723, name: "#component", len: 0, sons: null}, +"6": {kind: 1, offset: 6, typ: NTI754974723, name: "#verbatim", len: 0, sons: null}, +"7": {kind: 1, offset: 7, typ: NTI754974723, name: "html", len: 0, sons: null}, +"8": {kind: 1, offset: 8, typ: NTI754974723, name: "head", len: 0, sons: null}, +"9": {kind: 1, offset: 9, typ: NTI754974723, name: "title", len: 0, sons: null}, +"10": {kind: 1, offset: 10, typ: NTI754974723, name: "base", len: 0, sons: null}, +"11": {kind: 1, offset: 11, typ: NTI754974723, name: "link", len: 0, sons: null}, +"12": {kind: 1, offset: 12, typ: NTI754974723, name: "meta", len: 0, sons: null}, +"13": {kind: 1, offset: 13, typ: NTI754974723, name: "style", len: 0, sons: null}, +"14": {kind: 1, offset: 14, typ: NTI754974723, name: "script", len: 0, sons: null}, +"15": {kind: 1, offset: 15, typ: NTI754974723, name: "noscript", len: 0, sons: null}, +"16": {kind: 1, offset: 16, typ: NTI754974723, name: "body", len: 0, sons: null}, +"17": {kind: 1, offset: 17, typ: NTI754974723, name: "section", len: 0, sons: null}, +"18": {kind: 1, offset: 18, typ: NTI754974723, name: "nav", len: 0, sons: null}, +"19": {kind: 1, offset: 19, typ: NTI754974723, name: "article", len: 0, sons: null}, +"20": {kind: 1, offset: 20, typ: NTI754974723, name: "aside", len: 0, sons: null}, +"21": {kind: 1, offset: 21, typ: NTI754974723, name: "h1", len: 0, sons: null}, +"22": {kind: 1, offset: 22, typ: NTI754974723, name: "h2", len: 0, sons: null}, +"23": {kind: 1, offset: 23, typ: NTI754974723, name: "h3", len: 0, sons: null}, +"24": {kind: 1, offset: 24, typ: NTI754974723, name: "h4", len: 0, sons: null}, +"25": {kind: 1, offset: 25, typ: NTI754974723, name: "h5", len: 0, sons: null}, +"26": {kind: 1, offset: 26, typ: NTI754974723, name: "h6", len: 0, sons: null}, +"27": {kind: 1, offset: 27, typ: NTI754974723, name: "hgroup", len: 0, sons: null}, +"28": {kind: 1, offset: 28, typ: NTI754974723, name: "header", len: 0, sons: null}, +"29": {kind: 1, offset: 29, typ: NTI754974723, name: "footer", len: 0, sons: null}, +"30": {kind: 1, offset: 30, typ: NTI754974723, name: "address", len: 0, sons: null}, +"31": {kind: 1, offset: 31, typ: NTI754974723, name: "main", len: 0, sons: null}, +"32": {kind: 1, offset: 32, typ: NTI754974723, name: "p", len: 0, sons: null}, +"33": {kind: 1, offset: 33, typ: NTI754974723, name: "hr", len: 0, sons: null}, +"34": {kind: 1, offset: 34, typ: NTI754974723, name: "pre", len: 0, sons: null}, +"35": {kind: 1, offset: 35, typ: NTI754974723, name: "blockquote", len: 0, sons: null}, +"36": {kind: 1, offset: 36, typ: NTI754974723, name: "ol", len: 0, sons: null}, +"37": {kind: 1, offset: 37, typ: NTI754974723, name: "ul", len: 0, sons: null}, +"38": {kind: 1, offset: 38, typ: NTI754974723, name: "li", len: 0, sons: null}, +"39": {kind: 1, offset: 39, typ: NTI754974723, name: "dl", len: 0, sons: null}, +"40": {kind: 1, offset: 40, typ: NTI754974723, name: "dt", len: 0, sons: null}, +"41": {kind: 1, offset: 41, typ: NTI754974723, name: "dd", len: 0, sons: null}, +"42": {kind: 1, offset: 42, typ: NTI754974723, name: "figure", len: 0, sons: null}, +"43": {kind: 1, offset: 43, typ: NTI754974723, name: "figcaption", len: 0, sons: null}, +"44": {kind: 1, offset: 44, typ: NTI754974723, name: "div", len: 0, sons: null}, +"45": {kind: 1, offset: 45, typ: NTI754974723, name: "a", len: 0, sons: null}, +"46": {kind: 1, offset: 46, typ: NTI754974723, name: "em", len: 0, sons: null}, +"47": {kind: 1, offset: 47, typ: NTI754974723, name: "strong", len: 0, sons: null}, +"48": {kind: 1, offset: 48, typ: NTI754974723, name: "small", len: 0, sons: null}, +"49": {kind: 1, offset: 49, typ: NTI754974723, name: "s", len: 0, sons: null}, +"50": {kind: 1, offset: 50, typ: NTI754974723, name: "cite", len: 0, sons: null}, +"51": {kind: 1, offset: 51, typ: NTI754974723, name: "quote", len: 0, sons: null}, +"52": {kind: 1, offset: 52, typ: NTI754974723, name: "dfn", len: 0, sons: null}, +"53": {kind: 1, offset: 53, typ: NTI754974723, name: "abbr", len: 0, sons: null}, +"54": {kind: 1, offset: 54, typ: NTI754974723, name: "data", len: 0, sons: null}, +"55": {kind: 1, offset: 55, typ: NTI754974723, name: "time", len: 0, sons: null}, +"56": {kind: 1, offset: 56, typ: NTI754974723, name: "code", len: 0, sons: null}, +"57": {kind: 1, offset: 57, typ: NTI754974723, name: "var", len: 0, sons: null}, +"58": {kind: 1, offset: 58, typ: NTI754974723, name: "samp", len: 0, sons: null}, +"59": {kind: 1, offset: 59, typ: NTI754974723, name: "kbd", len: 0, sons: null}, +"60": {kind: 1, offset: 60, typ: NTI754974723, name: "sub", len: 0, sons: null}, +"61": {kind: 1, offset: 61, typ: NTI754974723, name: "sup", len: 0, sons: null}, +"62": {kind: 1, offset: 62, typ: NTI754974723, name: "i", len: 0, sons: null}, +"63": {kind: 1, offset: 63, typ: NTI754974723, name: "b", len: 0, sons: null}, +"64": {kind: 1, offset: 64, typ: NTI754974723, name: "u", len: 0, sons: null}, +"65": {kind: 1, offset: 65, typ: NTI754974723, name: "mark", len: 0, sons: null}, +"66": {kind: 1, offset: 66, typ: NTI754974723, name: "ruby", len: 0, sons: null}, +"67": {kind: 1, offset: 67, typ: NTI754974723, name: "rt", len: 0, sons: null}, +"68": {kind: 1, offset: 68, typ: NTI754974723, name: "rp", len: 0, sons: null}, +"69": {kind: 1, offset: 69, typ: NTI754974723, name: "bdi", len: 0, sons: null}, +"70": {kind: 1, offset: 70, typ: NTI754974723, name: "dbo", len: 0, sons: null}, +"71": {kind: 1, offset: 71, typ: NTI754974723, name: "span", len: 0, sons: null}, +"72": {kind: 1, offset: 72, typ: NTI754974723, name: "br", len: 0, sons: null}, +"73": {kind: 1, offset: 73, typ: NTI754974723, name: "wbr", len: 0, sons: null}, +"74": {kind: 1, offset: 74, typ: NTI754974723, name: "ins", len: 0, sons: null}, +"75": {kind: 1, offset: 75, typ: NTI754974723, name: "del", len: 0, sons: null}, +"76": {kind: 1, offset: 76, typ: NTI754974723, name: "img", len: 0, sons: null}, +"77": {kind: 1, offset: 77, typ: NTI754974723, name: "iframe", len: 0, sons: null}, +"78": {kind: 1, offset: 78, typ: NTI754974723, name: "embed", len: 0, sons: null}, +"79": {kind: 1, offset: 79, typ: NTI754974723, name: "object", len: 0, sons: null}, +"80": {kind: 1, offset: 80, typ: NTI754974723, name: "param", len: 0, sons: null}, +"81": {kind: 1, offset: 81, typ: NTI754974723, name: "video", len: 0, sons: null}, +"82": {kind: 1, offset: 82, typ: NTI754974723, name: "audio", len: 0, sons: null}, +"83": {kind: 1, offset: 83, typ: NTI754974723, name: "source", len: 0, sons: null}, +"84": {kind: 1, offset: 84, typ: NTI754974723, name: "track", len: 0, sons: null}, +"85": {kind: 1, offset: 85, typ: NTI754974723, name: "canvas", len: 0, sons: null}, +"86": {kind: 1, offset: 86, typ: NTI754974723, name: "map", len: 0, sons: null}, +"87": {kind: 1, offset: 87, typ: NTI754974723, name: "area", len: 0, sons: null}, +"88": {kind: 1, offset: 88, typ: NTI754974723, name: "animate", len: 0, sons: null}, +"89": {kind: 1, offset: 89, typ: NTI754974723, name: "animateMotion", len: 0, sons: null}, +"90": {kind: 1, offset: 90, typ: NTI754974723, name: "animateTransform", len: 0, sons: null}, +"91": {kind: 1, offset: 91, typ: NTI754974723, name: "circle", len: 0, sons: null}, +"92": {kind: 1, offset: 92, typ: NTI754974723, name: "clipPath", len: 0, sons: null}, +"93": {kind: 1, offset: 93, typ: NTI754974723, name: "defs", len: 0, sons: null}, +"94": {kind: 1, offset: 94, typ: NTI754974723, name: "desc", len: 0, sons: null}, +"95": {kind: 1, offset: 95, typ: NTI754974723, name: "discard", len: 0, sons: null}, +"96": {kind: 1, offset: 96, typ: NTI754974723, name: "ellipse", len: 0, sons: null}, +"97": {kind: 1, offset: 97, typ: NTI754974723, name: "feBlend", len: 0, sons: null}, +"98": {kind: 1, offset: 98, typ: NTI754974723, name: "feColorMatrix", len: 0, sons: null}, +"99": {kind: 1, offset: 99, typ: NTI754974723, name: "feComponentTransfer", len: 0, sons: null}, +"100": {kind: 1, offset: 100, typ: NTI754974723, name: "feComposite", len: 0, sons: null}, +"101": {kind: 1, offset: 101, typ: NTI754974723, name: "feConvolveMatrix", len: 0, sons: null}, +"102": {kind: 1, offset: 102, typ: NTI754974723, name: "feDiffuseLighting", len: 0, sons: null}, +"103": {kind: 1, offset: 103, typ: NTI754974723, name: "feDisplacementMap", len: 0, sons: null}, +"104": {kind: 1, offset: 104, typ: NTI754974723, name: "feDistantLight", len: 0, sons: null}, +"105": {kind: 1, offset: 105, typ: NTI754974723, name: "feDropShadow", len: 0, sons: null}, +"106": {kind: 1, offset: 106, typ: NTI754974723, name: "feFlood", len: 0, sons: null}, +"107": {kind: 1, offset: 107, typ: NTI754974723, name: "feFuncA", len: 0, sons: null}, +"108": {kind: 1, offset: 108, typ: NTI754974723, name: "feFuncB", len: 0, sons: null}, +"109": {kind: 1, offset: 109, typ: NTI754974723, name: "feFuncG", len: 0, sons: null}, +"110": {kind: 1, offset: 110, typ: NTI754974723, name: "feFuncR", len: 0, sons: null}, +"111": {kind: 1, offset: 111, typ: NTI754974723, name: "feGaussianBlur", len: 0, sons: null}, +"112": {kind: 1, offset: 112, typ: NTI754974723, name: "feImage", len: 0, sons: null}, +"113": {kind: 1, offset: 113, typ: NTI754974723, name: "feMerge", len: 0, sons: null}, +"114": {kind: 1, offset: 114, typ: NTI754974723, name: "feMergeNode", len: 0, sons: null}, +"115": {kind: 1, offset: 115, typ: NTI754974723, name: "feMorphology", len: 0, sons: null}, +"116": {kind: 1, offset: 116, typ: NTI754974723, name: "feOffset", len: 0, sons: null}, +"117": {kind: 1, offset: 117, typ: NTI754974723, name: "fePointLight", len: 0, sons: null}, +"118": {kind: 1, offset: 118, typ: NTI754974723, name: "feSpecularLighting", len: 0, sons: null}, +"119": {kind: 1, offset: 119, typ: NTI754974723, name: "feSpotLight", len: 0, sons: null}, +"120": {kind: 1, offset: 120, typ: NTI754974723, name: "feTile", len: 0, sons: null}, +"121": {kind: 1, offset: 121, typ: NTI754974723, name: "feTurbulence", len: 0, sons: null}, +"122": {kind: 1, offset: 122, typ: NTI754974723, name: "filter", len: 0, sons: null}, +"123": {kind: 1, offset: 123, typ: NTI754974723, name: "foreignObject", len: 0, sons: null}, +"124": {kind: 1, offset: 124, typ: NTI754974723, name: "g", len: 0, sons: null}, +"125": {kind: 1, offset: 125, typ: NTI754974723, name: "image", len: 0, sons: null}, +"126": {kind: 1, offset: 126, typ: NTI754974723, name: "line", len: 0, sons: null}, +"127": {kind: 1, offset: 127, typ: NTI754974723, name: "linearGradient", len: 0, sons: null}, +"128": {kind: 1, offset: 128, typ: NTI754974723, name: "marker", len: 0, sons: null}, +"129": {kind: 1, offset: 129, typ: NTI754974723, name: "mask", len: 0, sons: null}, +"130": {kind: 1, offset: 130, typ: NTI754974723, name: "metadata", len: 0, sons: null}, +"131": {kind: 1, offset: 131, typ: NTI754974723, name: "mpath", len: 0, sons: null}, +"132": {kind: 1, offset: 132, typ: NTI754974723, name: "path", len: 0, sons: null}, +"133": {kind: 1, offset: 133, typ: NTI754974723, name: "pattern", len: 0, sons: null}, +"134": {kind: 1, offset: 134, typ: NTI754974723, name: "polygon", len: 0, sons: null}, +"135": {kind: 1, offset: 135, typ: NTI754974723, name: "polyline", len: 0, sons: null}, +"136": {kind: 1, offset: 136, typ: NTI754974723, name: "radialGradient", len: 0, sons: null}, +"137": {kind: 1, offset: 137, typ: NTI754974723, name: "rect", len: 0, sons: null}, +"138": {kind: 1, offset: 138, typ: NTI754974723, name: "set", len: 0, sons: null}, +"139": {kind: 1, offset: 139, typ: NTI754974723, name: "stop", len: 0, sons: null}, +"140": {kind: 1, offset: 140, typ: NTI754974723, name: "svg", len: 0, sons: null}, +"141": {kind: 1, offset: 141, typ: NTI754974723, name: "switch", len: 0, sons: null}, +"142": {kind: 1, offset: 142, typ: NTI754974723, name: "symbol", len: 0, sons: null}, +"143": {kind: 1, offset: 143, typ: NTI754974723, name: "text", len: 0, sons: null}, +"144": {kind: 1, offset: 144, typ: NTI754974723, name: "textPath", len: 0, sons: null}, +"145": {kind: 1, offset: 145, typ: NTI754974723, name: "tspan", len: 0, sons: null}, +"146": {kind: 1, offset: 146, typ: NTI754974723, name: "unknown", len: 0, sons: null}, +"147": {kind: 1, offset: 147, typ: NTI754974723, name: "use", len: 0, sons: null}, +"148": {kind: 1, offset: 148, typ: NTI754974723, name: "view", len: 0, sons: null}, +"149": {kind: 1, offset: 149, typ: NTI754974723, name: "maction", len: 0, sons: null}, +"150": {kind: 1, offset: 150, typ: NTI754974723, name: "math", len: 0, sons: null}, +"151": {kind: 1, offset: 151, typ: NTI754974723, name: "menclose", len: 0, sons: null}, +"152": {kind: 1, offset: 152, typ: NTI754974723, name: "merror", len: 0, sons: null}, +"153": {kind: 1, offset: 153, typ: NTI754974723, name: "mfenced", len: 0, sons: null}, +"154": {kind: 1, offset: 154, typ: NTI754974723, name: "mfrac", len: 0, sons: null}, +"155": {kind: 1, offset: 155, typ: NTI754974723, name: "mglyph", len: 0, sons: null}, +"156": {kind: 1, offset: 156, typ: NTI754974723, name: "mi", len: 0, sons: null}, +"157": {kind: 1, offset: 157, typ: NTI754974723, name: "mlabeledtr", len: 0, sons: null}, +"158": {kind: 1, offset: 158, typ: NTI754974723, name: "mmultiscripts", len: 0, sons: null}, +"159": {kind: 1, offset: 159, typ: NTI754974723, name: "mn", len: 0, sons: null}, +"160": {kind: 1, offset: 160, typ: NTI754974723, name: "mo", len: 0, sons: null}, +"161": {kind: 1, offset: 161, typ: NTI754974723, name: "mover", len: 0, sons: null}, +"162": {kind: 1, offset: 162, typ: NTI754974723, name: "mpadded", len: 0, sons: null}, +"163": {kind: 1, offset: 163, typ: NTI754974723, name: "mphantom", len: 0, sons: null}, +"164": {kind: 1, offset: 164, typ: NTI754974723, name: "mroot", len: 0, sons: null}, +"165": {kind: 1, offset: 165, typ: NTI754974723, name: "mrow", len: 0, sons: null}, +"166": {kind: 1, offset: 166, typ: NTI754974723, name: "ms", len: 0, sons: null}, +"167": {kind: 1, offset: 167, typ: NTI754974723, name: "mspace", len: 0, sons: null}, +"168": {kind: 1, offset: 168, typ: NTI754974723, name: "msqrt", len: 0, sons: null}, +"169": {kind: 1, offset: 169, typ: NTI754974723, name: "mstyle", len: 0, sons: null}, +"170": {kind: 1, offset: 170, typ: NTI754974723, name: "msub", len: 0, sons: null}, +"171": {kind: 1, offset: 171, typ: NTI754974723, name: "msubsup", len: 0, sons: null}, +"172": {kind: 1, offset: 172, typ: NTI754974723, name: "msup", len: 0, sons: null}, +"173": {kind: 1, offset: 173, typ: NTI754974723, name: "mtable", len: 0, sons: null}, +"174": {kind: 1, offset: 174, typ: NTI754974723, name: "mtd", len: 0, sons: null}, +"175": {kind: 1, offset: 175, typ: NTI754974723, name: "mtext", len: 0, sons: null}, +"176": {kind: 1, offset: 176, typ: NTI754974723, name: "mtr", len: 0, sons: null}, +"177": {kind: 1, offset: 177, typ: NTI754974723, name: "munder", len: 0, sons: null}, +"178": {kind: 1, offset: 178, typ: NTI754974723, name: "munderover", len: 0, sons: null}, +"179": {kind: 1, offset: 179, typ: NTI754974723, name: "semantics", len: 0, sons: null}, +"180": {kind: 1, offset: 180, typ: NTI754974723, name: "table", len: 0, sons: null}, +"181": {kind: 1, offset: 181, typ: NTI754974723, name: "caption", len: 0, sons: null}, +"182": {kind: 1, offset: 182, typ: NTI754974723, name: "colgroup", len: 0, sons: null}, +"183": {kind: 1, offset: 183, typ: NTI754974723, name: "col", len: 0, sons: null}, +"184": {kind: 1, offset: 184, typ: NTI754974723, name: "tbody", len: 0, sons: null}, +"185": {kind: 1, offset: 185, typ: NTI754974723, name: "thead", len: 0, sons: null}, +"186": {kind: 1, offset: 186, typ: NTI754974723, name: "tfoot", len: 0, sons: null}, +"187": {kind: 1, offset: 187, typ: NTI754974723, name: "tr", len: 0, sons: null}, +"188": {kind: 1, offset: 188, typ: NTI754974723, name: "td", len: 0, sons: null}, +"189": {kind: 1, offset: 189, typ: NTI754974723, name: "th", len: 0, sons: null}, +"190": {kind: 1, offset: 190, typ: NTI754974723, name: "form", len: 0, sons: null}, +"191": {kind: 1, offset: 191, typ: NTI754974723, name: "fieldset", len: 0, sons: null}, +"192": {kind: 1, offset: 192, typ: NTI754974723, name: "legend", len: 0, sons: null}, +"193": {kind: 1, offset: 193, typ: NTI754974723, name: "label", len: 0, sons: null}, +"194": {kind: 1, offset: 194, typ: NTI754974723, name: "input", len: 0, sons: null}, +"195": {kind: 1, offset: 195, typ: NTI754974723, name: "button", len: 0, sons: null}, +"196": {kind: 1, offset: 196, typ: NTI754974723, name: "select", len: 0, sons: null}, +"197": {kind: 1, offset: 197, typ: NTI754974723, name: "datalist", len: 0, sons: null}, +"198": {kind: 1, offset: 198, typ: NTI754974723, name: "optgroup", len: 0, sons: null}, +"199": {kind: 1, offset: 199, typ: NTI754974723, name: "option", len: 0, sons: null}, +"200": {kind: 1, offset: 200, typ: NTI754974723, name: "textarea", len: 0, sons: null}, +"201": {kind: 1, offset: 201, typ: NTI754974723, name: "keygen", len: 0, sons: null}, +"202": {kind: 1, offset: 202, typ: NTI754974723, name: "output", len: 0, sons: null}, +"203": {kind: 1, offset: 203, typ: NTI754974723, name: "progress", len: 0, sons: null}, +"204": {kind: 1, offset: 204, typ: NTI754974723, name: "meter", len: 0, sons: null}, +"205": {kind: 1, offset: 205, typ: NTI754974723, name: "details", len: 0, sons: null}, +"206": {kind: 1, offset: 206, typ: NTI754974723, name: "summary", len: 0, sons: null}, +"207": {kind: 1, offset: 207, typ: NTI754974723, name: "command", len: 0, sons: null}, +"208": {kind: 1, offset: 208, typ: NTI754974723, name: "menu", len: 0, sons: null}, +"209": {kind: 1, offset: 209, typ: NTI754974723, name: "bdo", len: 0, sons: null}, +"210": {kind: 1, offset: 210, typ: NTI754974723, name: "dialog", len: 0, sons: null}, +"211": {kind: 1, offset: 211, typ: NTI754974723, name: "slot", len: 0, sons: null}, +"212": {kind: 1, offset: 212, typ: NTI754974723, name: "template", len: 0, sons: null}}}; +NTI754974723.node = NNI754974723; +NTI754974821.base = NTI754974817; +NTI754974822.base = NTI33554450; +var NNI754974728 = {kind: 2, offset: 0, typ: null, name: null, len: 37, sons: {"0": {kind: 1, offset: 0, typ: NTI754974728, name: "onclick", len: 0, sons: null}, +"1": {kind: 1, offset: 1, typ: NTI754974728, name: "oncontextmenu", len: 0, sons: null}, +"2": {kind: 1, offset: 2, typ: NTI754974728, name: "ondblclick", len: 0, sons: null}, +"3": {kind: 1, offset: 3, typ: NTI754974728, name: "onkeyup", len: 0, sons: null}, +"4": {kind: 1, offset: 4, typ: NTI754974728, name: "onkeydown", len: 0, sons: null}, +"5": {kind: 1, offset: 5, typ: NTI754974728, name: "onkeypressed", len: 0, sons: null}, +"6": {kind: 1, offset: 6, typ: NTI754974728, name: "onfocus", len: 0, sons: null}, +"7": {kind: 1, offset: 7, typ: NTI754974728, name: "onblur", len: 0, sons: null}, +"8": {kind: 1, offset: 8, typ: NTI754974728, name: "onchange", len: 0, sons: null}, +"9": {kind: 1, offset: 9, typ: NTI754974728, name: "onscroll", len: 0, sons: null}, +"10": {kind: 1, offset: 10, typ: NTI754974728, name: "onmousedown", len: 0, sons: null}, +"11": {kind: 1, offset: 11, typ: NTI754974728, name: "onmouseenter", len: 0, sons: null}, +"12": {kind: 1, offset: 12, typ: NTI754974728, name: "onmouseleave", len: 0, sons: null}, +"13": {kind: 1, offset: 13, typ: NTI754974728, name: "onmousemove", len: 0, sons: null}, +"14": {kind: 1, offset: 14, typ: NTI754974728, name: "onmouseout", len: 0, sons: null}, +"15": {kind: 1, offset: 15, typ: NTI754974728, name: "onmouseover", len: 0, sons: null}, +"16": {kind: 1, offset: 16, typ: NTI754974728, name: "onmouseup", len: 0, sons: null}, +"17": {kind: 1, offset: 17, typ: NTI754974728, name: "ondrag", len: 0, sons: null}, +"18": {kind: 1, offset: 18, typ: NTI754974728, name: "ondragend", len: 0, sons: null}, +"19": {kind: 1, offset: 19, typ: NTI754974728, name: "ondragenter", len: 0, sons: null}, +"20": {kind: 1, offset: 20, typ: NTI754974728, name: "ondragleave", len: 0, sons: null}, +"21": {kind: 1, offset: 21, typ: NTI754974728, name: "ondragover", len: 0, sons: null}, +"22": {kind: 1, offset: 22, typ: NTI754974728, name: "ondragstart", len: 0, sons: null}, +"23": {kind: 1, offset: 23, typ: NTI754974728, name: "ondrop", len: 0, sons: null}, +"24": {kind: 1, offset: 24, typ: NTI754974728, name: "onsubmit", len: 0, sons: null}, +"25": {kind: 1, offset: 25, typ: NTI754974728, name: "oninput", len: 0, sons: null}, +"26": {kind: 1, offset: 26, typ: NTI754974728, name: "onanimationstart", len: 0, sons: null}, +"27": {kind: 1, offset: 27, typ: NTI754974728, name: "onanimationend", len: 0, sons: null}, +"28": {kind: 1, offset: 28, typ: NTI754974728, name: "onanimationiteration", len: 0, sons: null}, +"29": {kind: 1, offset: 29, typ: NTI754974728, name: "onkeyupenter", len: 0, sons: null}, +"30": {kind: 1, offset: 30, typ: NTI754974728, name: "onkeyuplater", len: 0, sons: null}, +"31": {kind: 1, offset: 31, typ: NTI754974728, name: "onload", len: 0, sons: null}, +"32": {kind: 1, offset: 32, typ: NTI754974728, name: "ontransitioncancel", len: 0, sons: null}, +"33": {kind: 1, offset: 33, typ: NTI754974728, name: "ontransitionend", len: 0, sons: null}, +"34": {kind: 1, offset: 34, typ: NTI754974728, name: "ontransitionrun", len: 0, sons: null}, +"35": {kind: 1, offset: 35, typ: NTI754974728, name: "ontransitionstart", len: 0, sons: null}, +"36": {kind: 1, offset: 36, typ: NTI754974728, name: "onwheel", len: 0, sons: null}}}; +NTI754974728.node = NNI754974728; +var NNI754974819 = {kind: 2, len: 3, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI754974728, name: "Field0", sons: null}, +{kind: 1, offset: "Field1", len: 0, typ: NTI754974829, name: "Field1", sons: null}, +{kind: 1, offset: "Field2", len: 0, typ: NTI754974830, name: "Field2", sons: null}]}; +NTI754974819.node = NNI754974819; +NTI754974815.base = NTI754974819; +var NNI805306404 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; +NTI805306404.node = NNI805306404; +NTI805306405.base = NTI805306404; +var NNI754974820 = {kind: 2, len: 11, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "kind", len: 0, typ: NTI754974723, name: "kind", sons: null}, {kind: 1, offset: "index", len: 0, typ: NTI33554435, name: "index", sons: null}, {kind: 1, offset: "id", len: 0, typ: NTI33554450, name: "id", sons: null}, {kind: 1, offset: "class", len: 0, typ: NTI33554450, name: "class", sons: null}, {kind: 1, offset: "text", len: 0, typ: NTI33554450, name: "text", sons: null}, -{kind: 1, offset: "kids", len: 0, typ: NTI721420389, name: "kids", sons: null}, -{kind: 1, offset: "attrs", len: 0, typ: NTI721420390, name: "attrs", sons: null}, -{kind: 1, offset: "events", len: 0, typ: NTI721420383, name: "events", sons: null}, -{kind: 1, offset: "style", len: 0, typ: NTI771751973, name: "style", sons: null}, +{kind: 1, offset: "kids", len: 0, typ: NTI754974821, name: "kids", sons: null}, +{kind: 1, offset: "attrs", len: 0, typ: NTI754974822, name: "attrs", sons: null}, +{kind: 1, offset: "events", len: 0, typ: NTI754974815, name: "events", sons: null}, +{kind: 1, offset: "style", len: 0, typ: NTI805306405, name: "style", sons: null}, {kind: 1, offset: "styleVersion", len: 0, typ: NTI33554435, name: "styleVersion", sons: null}, -{kind: 1, offset: "dom", len: 0, typ: NTI805306384, name: "dom", sons: null}]}; -NTI721420388.node = NNI721420388; -NTI721420388.base = NTI33555173; -NTI721420385.base = NTI721420388; -var NNI687865864 = {kind: 2, len: 5, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "k", len: 0, typ: NTI687865863, name: "k", sons: null}, -{kind: 1, offset: "parent", len: 0, typ: NTI805306384, name: "parent", sons: null}, -{kind: 1, offset: "current", len: 0, typ: NTI805306384, name: "current", sons: null}, -{kind: 1, offset: "newNode", len: 0, typ: NTI721420385, name: "newNode", sons: null}, -{kind: 1, offset: "oldNode", len: 0, typ: NTI721420385, name: "oldNode", sons: null}]}; -NTI687865864.node = NNI687865864; -var NNI687865865 = {kind: 2, len: 3, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "parent", len: 0, typ: NTI721420385, name: "parent", sons: null}, -{kind: 1, offset: "newChild", len: 0, typ: NTI721420385, name: "newChild", sons: null}, +{kind: 1, offset: "dom", len: 0, typ: NTI838860816, name: "dom", sons: null}]}; +NTI754974820.node = NNI754974820; +NTI754974820.base = NTI33555173; +NTI754974817.base = NTI754974820; +var NNI721420296 = {kind: 2, len: 5, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "k", len: 0, typ: NTI721420295, name: "k", sons: null}, +{kind: 1, offset: "parent", len: 0, typ: NTI838860816, name: "parent", sons: null}, +{kind: 1, offset: "current", len: 0, typ: NTI838860816, name: "current", sons: null}, +{kind: 1, offset: "newNode", len: 0, typ: NTI754974817, name: "newNode", sons: null}, +{kind: 1, offset: "oldNode", len: 0, typ: NTI754974817, name: "oldNode", sons: null}]}; +NTI721420296.node = NNI721420296; +var NNI721420297 = {kind: 2, len: 3, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "parent", len: 0, typ: NTI754974817, name: "parent", sons: null}, +{kind: 1, offset: "newChild", len: 0, typ: NTI754974817, name: "newChild", sons: null}, {kind: 1, offset: "pos", len: 0, typ: NTI33554435, name: "pos", sons: null}]}; -NTI687865865.node = NNI687865865; -var NNI1224736796 = {kind: 2, len: 4, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "nextIndex", len: 0, typ: NTI33554435, name: "nextIndex", sons: null}, +NTI721420297.node = NNI721420297; +var NNI1476395036 = {kind: 2, len: 4, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "nextIndex", len: 0, typ: NTI33554435, name: "nextIndex", sons: null}, {kind: 1, offset: "nextGroup", len: 0, typ: NTI33554435, name: "nextGroup", sons: null}, {kind: 1, offset: "randSeed", len: 0, typ: NTI33554435, name: "randSeed", sons: null}, {kind: 1, offset: "turnNumber", len: 0, typ: NTI33554435, name: "turnNumber", sons: null}]}; -NTI1224736796.node = NNI1224736796; -NTI1224736857.base = NTI1224736794; -NTI1224736859.base = NTI1224736998; -NTI1224736860.base = NTI1224736859; -var NNI1224736787 = {kind: 2, len: 4, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554449, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI1224737006, name: "Field1", sons: null}, -{kind: 1, offset: "Field2", len: 0, typ: NTI1224736998, name: "Field2", sons: null}, -{kind: 1, offset: "Field3", len: 0, typ: NTI1224737005, name: "Field3", sons: null}]}; -NTI1224736787.node = NNI1224736787; -NTI1224736889.base = NTI1224736787; -NTI1224736793.base = NTI1224736839; -var NNI1224736797 = {kind: 2, len: 9, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "abilityTakes", len: 0, typ: NTI33554435, name: "abilityTakes", sons: null}, +NTI1476395036.node = NNI1476395036; +NTI1476395097.base = NTI1476395034; +NTI1476395099.base = NTI1476395238; +NTI1476395100.base = NTI1476395099; +var NNI1476395027 = {kind: 2, len: 4, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554449, name: "Field0", sons: null}, +{kind: 1, offset: "Field1", len: 0, typ: NTI1476395246, name: "Field1", sons: null}, +{kind: 1, offset: "Field2", len: 0, typ: NTI1476395238, name: "Field2", sons: null}, +{kind: 1, offset: "Field3", len: 0, typ: NTI1476395245, name: "Field3", sons: null}]}; +NTI1476395027.node = NNI1476395027; +NTI1476395129.base = NTI1476395027; +NTI1476395033.base = NTI1476395079; +var NNI1476395037 = {kind: 2, len: 9, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "abilityTakes", len: 0, typ: NTI33554435, name: "abilityTakes", sons: null}, {kind: 1, offset: "hasCastled", len: 0, typ: NTI33554466, name: "hasCastled", sons: null}, -{kind: 1, offset: "dna", len: 0, typ: NTI1224736857, name: "dna", sons: null}, -{kind: 1, offset: "transforms", len: 0, typ: NTI1224736860, name: "transforms", sons: null}, -{kind: 1, offset: "wallet", len: 0, typ: NTI1224736866, name: "wallet", sons: null}, -{kind: 1, offset: "buys", len: 0, typ: NTI1224736889, name: "buys", sons: null}, +{kind: 1, offset: "dna", len: 0, typ: NTI1476395097, name: "dna", sons: null}, +{kind: 1, offset: "transforms", len: 0, typ: NTI1476395100, name: "transforms", sons: null}, +{kind: 1, offset: "wallet", len: 0, typ: NTI1476395106, name: "wallet", sons: null}, +{kind: 1, offset: "buys", len: 0, typ: NTI1476395129, name: "buys", sons: null}, {kind: 1, offset: "piecesSold", len: 0, typ: NTI33554435, name: "piecesSold", sons: null}, {kind: 1, offset: "piecesSoldThisTurn", len: 0, typ: NTI33554435, name: "piecesSoldThisTurn", sons: null}, -{kind: 1, offset: "glass", len: 0, typ: NTI1224736793, name: "glass", sons: null}]}; -NTI1224736797.node = NNI1224736797; -NTI1224736855.base = NTI1224736797; -var NNI1275068424 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI1224736771, name: "Field0", sons: null}, +{kind: 1, offset: "glass", len: 0, typ: NTI1476395033, name: "glass", sons: null}]}; +NTI1476395037.node = NNI1476395037; +NTI1476395095.base = NTI1476395037; +var NNI1526726664 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI1476395011, name: "Field0", sons: null}, {kind: 1, offset: "Field1", len: 0, typ: NTI33554466, name: "Field1", sons: null}]}; -NTI1275068424.node = NNI1275068424; -var NNI1224736795 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI1224736796, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI1224736855, name: "Field1", sons: null}]}; -NTI1224736795.node = NNI1224736795; -NTI1224736798.base = NTI1224736802; -NTI1224736804.base = NTI1224736806; -NTI1442841214.base = NTI1442840581; -var NNI520093710 = {kind: 2, len: 8, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554449, name: "Field0", sons: null}, +NTI1526726664.node = NNI1526726664; +var NNI1476395035 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI1476395036, name: "Field0", sons: null}, +{kind: 1, offset: "Field1", len: 0, typ: NTI1476395095, name: "Field1", sons: null}]}; +NTI1476395035.node = NNI1476395035; +NTI1476395038.base = NTI1476395042; +NTI1476395044.base = NTI1476395046; +NTI1728053886.base = NTI1728053253; +var NNI553648142 = {kind: 2, len: 8, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554449, name: "Field0", sons: null}, {kind: 1, offset: "Field1", len: 0, typ: NTI33554435, name: "Field1", sons: null}, {kind: 1, offset: "Field2", len: 0, typ: NTI33554435, name: "Field2", sons: null}, -{kind: 1, offset: "Field3", len: 0, typ: NTI1224737002, name: "Field3", sons: null}, +{kind: 1, offset: "Field3", len: 0, typ: NTI1476395242, name: "Field3", sons: null}, {kind: 1, offset: "Field4", len: 0, typ: NTI33554466, name: "Field4", sons: null}, {kind: 1, offset: "Field5", len: 0, typ: NTI33554466, name: "Field5", sons: null}, -{kind: 1, offset: "Field6", len: 0, typ: NTI520093714, name: "Field6", sons: null}, -{kind: 1, offset: "Field7", len: 0, typ: NTI520093715, name: "Field7", sons: null}]}; -NTI520093710.node = NNI520093710; -NTI520093829.base = NTI520093710; -NTI1006632986.base = NTI33554449; -NTI520093719.base = NTI1442840581; -NTI520093728.base = NTI1442840581; -NTI1442840976.base = NTI1442840581; -NTI1442840998.base = NTI1442840582; -NTI1442840934.base = NTI1442840581; -NTI1442841453.base = NTI1442840581; -NTI1442841458.base = NTI1442840581; -var NNI1493174178 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI1224736771, name: "Field0", sons: null}, +{kind: 1, offset: "Field6", len: 0, typ: NTI553648146, name: "Field6", sons: null}, +{kind: 1, offset: "Field7", len: 0, typ: NTI553648147, name: "Field7", sons: null}]}; +NTI553648142.node = NNI553648142; +NTI553648261.base = NTI553648142; +NTI1090519066.base = NTI33554449; +NTI553648151.base = NTI1728053253; +NTI553648160.base = NTI1728053253; +NTI1728053648.base = NTI1728053253; +NTI1728053670.base = NTI1728053254; +NTI1728053606.base = NTI1728053253; +NTI1728054125.base = NTI1728053253; +NTI1728054130.base = NTI1728053253; +var NNI1845495714 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI1476395011, name: "Field0", sons: null}, {kind: 1, offset: "Field1", len: 0, typ: NTI33554466, name: "Field1", sons: null}]}; -NTI1493174178.node = NNI1493174178; -var NNI1442840583 = {kind: 2, len: 4, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554435, name: "Field0", sons: null}, +NTI1845495714.node = NNI1845495714; +var NNI1728053255 = {kind: 2, len: 4, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554435, name: "Field0", sons: null}, {kind: 1, offset: "Field1", len: 0, typ: NTI33554435, name: "Field1", sons: null}, {kind: 1, offset: "Field2", len: 0, typ: NTI33554435, name: "Field2", sons: null}, {kind: 1, offset: "Field3", len: 0, typ: NTI33554435, name: "Field3", sons: null}]}; -NTI1442840583.node = NNI1442840583; -NTI1442840845.base = NTI1442840581; -NTI1442841292.base = NTI33554435; -NTI1442841384.base = NTI1442840581; -NTI1442841347.base = NTI1442840581; -NTI838861173.base = NTI33554449; -var NNI1325400069 = {kind: 2, offset: 0, typ: null, name: null, len: 7, sons: {"0": {kind: 1, offset: 0, typ: NTI1325400069, name: "Id", len: 0, sons: null}, -"1": {kind: 1, offset: 1, typ: NTI1325400069, name: "Handshake", len: 0, sons: null}, -"2": {kind: 1, offset: 2, typ: NTI1325400069, name: "Options", len: 0, sons: null}, -"3": {kind: 1, offset: 3, typ: NTI1325400069, name: "Draft", len: 0, sons: null}, -"4": {kind: 1, offset: 4, typ: NTI1325400069, name: "End", len: 0, sons: null}, -"5": {kind: 1, offset: 5, typ: NTI1325400069, name: "Rematch", len: 0, sons: null}, -"6": {kind: 1, offset: 6, typ: NTI1325400069, name: "Action", len: 0, sons: null}}}; -NTI1325400069.node = NNI1325400069; -NTI838861206.base = NTI33554449; -NTI1224737583.base = NTI1224736771; -NTI520095807.base = NTI1224736771; -NTI520095757.base = NTI1224736788; -var NNI520093739 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI520093740, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI520093741, name: "Field1", sons: null}]}; -NTI520093739.node = NNI520093739; -NTI721420574.base = NTI33554450; -NTI503316801.base = NTI33554449; -NTI1442840978.base = NTI1442840581; -var NNI520093799 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "val", len: 0, typ: NTI1224736789, name: "val", sons: null}, +NTI1728053255.node = NNI1728053255; +NTI1728053517.base = NTI1728053253; +NTI1728053964.base = NTI33554435; +NTI1728054056.base = NTI1728053253; +NTI1728054019.base = NTI1728053253; +NTI889192821.base = NTI33554449; +var NNI1577058309 = {kind: 2, offset: 0, typ: null, name: null, len: 7, sons: {"0": {kind: 1, offset: 0, typ: NTI1577058309, name: "Id", len: 0, sons: null}, +"1": {kind: 1, offset: 1, typ: NTI1577058309, name: "Handshake", len: 0, sons: null}, +"2": {kind: 1, offset: 2, typ: NTI1577058309, name: "Options", len: 0, sons: null}, +"3": {kind: 1, offset: 3, typ: NTI1577058309, name: "Draft", len: 0, sons: null}, +"4": {kind: 1, offset: 4, typ: NTI1577058309, name: "End", len: 0, sons: null}, +"5": {kind: 1, offset: 5, typ: NTI1577058309, name: "Rematch", len: 0, sons: null}, +"6": {kind: 1, offset: 6, typ: NTI1577058309, name: "Action", len: 0, sons: null}}}; +NTI1577058309.node = NNI1577058309; +NTI889192854.base = NTI33554449; +NTI1476395823.base = NTI1476395011; +NTI553650239.base = NTI1476395011; +NTI553650189.base = NTI1476395028; +var NNI553648171 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI553648172, name: "Field0", sons: null}, +{kind: 1, offset: "Field1", len: 0, typ: NTI553648173, name: "Field1", sons: null}]}; +NTI553648171.node = NNI553648171; +NTI754975006.base = NTI33554450; +NTI536871233.base = NTI33554449; +NTI1728053650.base = NTI1728053253; +var NNI553648231 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "val", len: 0, typ: NTI1476395029, name: "val", sons: null}, {kind: 1, offset: "has", len: 0, typ: NTI33554466, name: "has", sons: null}]}; -NTI520093799.node = NNI520093799; -NTI520097539.base = NTI33554449; -NTI1560281120.base = NTI1224736771; -NTI520093867.base = NTI1224736771; -NTI1224736778.base = NTI1224736771; -NTI520095611.base = NTI33554466; -NTI520093830.base = NTI520093710; -NTI520098554.base = NTI1442841684; -NTI520098228.base = NTI33554449; -NTI520098238.base = NTI1442840581; +NTI553648231.node = NNI553648231; +NTI553651971.base = NTI33554449; +NTI1946157088.base = NTI1476395011; +NTI553648299.base = NTI1476395011; +NTI1476395018.base = NTI1476395011; +NTI553650043.base = NTI33554466; +NTI553648262.base = NTI553648142; +NTI553652986.base = NTI1728054356; +NTI553652660.base = NTI33554449; +NTI553652670.base = NTI1728053253; function setConstr() { var result = {}; @@ -1474,99 +1469,6 @@ function nimCopy(dest_33557268, src_33557269, ti_33557270) { return result_33557279; -} - -function arrayConstr(len_33557314, value_33557315, typ_33557316) { - var result = new Array(len_33557314); - for (var i = 0; i < len_33557314; ++i) result[i] = nimCopy(null, value_33557315, typ_33557316); - return result; - - - -} - -function mnewString(len_33557003) { - var result = new Array(len_33557003); - for (var i = 0; i < len_33557003; i++) {result[i] = 0;} - return result; - - - -} - -function chckRange(i_33557324, a_33557325, b_33557326) { - var result_33557327 = 0; - - BeforeRet: { - if (((a_33557325 <= i_33557324) && (i_33557324 <= b_33557326))) { - result_33557327 = i_33557324; - break BeforeRet; - } - else { - raiseRangeError(); - } - - }; - - return result_33557327; - -} - -function chckIndx(i_33557319, a_33557320, b_33557321) { - var result_33557322 = 0; - - BeforeRet: { - if (((a_33557320 <= i_33557319) && (i_33557319 <= b_33557321))) { - result_33557322 = i_33557319; - break BeforeRet; - } - else { - raiseIndexError(i_33557319, a_33557320, b_33557321); - } - - }; - - return result_33557322; - -} - -function cstrToNimstr(c_33556898) { - var ln = c_33556898.length; - var result = new Array(ln); - var r = 0; - for (var i = 0; i < ln; ++i) { - var ch = c_33556898.charCodeAt(i); - - if (ch < 128) { - result[r] = ch; - } - else { - if (ch < 2048) { - result[r] = (ch >> 6) | 192; - } - else { - if (ch < 55296 || ch >= 57344) { - result[r] = (ch >> 12) | 224; - } - else { - ++i; - ch = 65536 + (((ch & 1023) << 10) | (c_33556898.charCodeAt(i) & 1023)); - result[r] = (ch >> 18) | 240; - ++r; - result[r] = ((ch >> 12) & 63) | 128; - } - ++r; - result[r] = ((ch >> 6) & 63) | 128; - } - ++r; - result[r] = (ch & 63) | 128; - } - ++r; - } - return result; - - - } function toJSStr(s_33556901) { @@ -1636,7 +1538,6 @@ function raiseException(e_33556653, ename_33556654) { unhandledException(e_33556653); } - e_33556653.trace = nimCopy(null, rawWriteStackTrace_33556604(), NTI33554449); throw e_33556653; @@ -1658,6 +1559,51 @@ function subInt(a_33557054, b_33557055) { +} + +function mnewString(len_33557003) { + var result = new Array(len_33557003); + for (var i = 0; i < len_33557003; i++) {result[i] = 0;} + return result; + + + +} + +function chckRange(i_33557324, a_33557325, b_33557326) { + var result_33557327 = 0; + + BeforeRet: { + if (((a_33557325 <= i_33557324) && (i_33557324 <= b_33557326))) { + result_33557327 = i_33557324; + break BeforeRet; + } + else { + raiseRangeError(); + } + + }; + + return result_33557327; + +} + +function chckIndx(i_33557319, a_33557320, b_33557321) { + var result_33557322 = 0; + + BeforeRet: { + if (((a_33557320 <= i_33557319) && (i_33557319 <= b_33557321))) { + result_33557322 = i_33557319; + break BeforeRet; + } + else { + raiseIndexError(i_33557319, a_33557320, b_33557321); + } + + }; + + return result_33557322; + } function eqStrings(a_33557041, b_33557042) { @@ -1685,35 +1631,35 @@ function makeNimstrLit(c_33556895) { } -var holy_1442840644 = {name: [72,111,108,121], technicalName: [], synergy: false, tier: 0, rarity: 12, description: makeNimstrLit("You are favored slightly more by god. Your next powers are more likely to be uncommon, rare, and ultra rare"), icon: [99,114,111,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1442840639, index: (-1), priority: 20}; -var empress_1493172537 = {name: [69,109,112,114,101,115,115], technicalName: [], synergy: false, tier: 1, rarity: 8, description: [89,111,117,114,32,113,117,101,101,110,32,97,115,99,101,110,100,115,44,32,103,97,105,110,105,110,103,32,116,104,101,32,109,111,118,101,109,101,110,116,32,111,102,32,97,32,115,116,97,110,100,97,114,100,32,107,110,105,103,104,116,46,32], icon: [113,117,101,101,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493172492, index: (-1), priority: 15}; -var altEmpress_1493172551 = {name: [69,109,112,114,101,115,115], technicalName: [65,108,116,101,114,110,97,116,101,32,69,109,112,114,101,115,115], synergy: false, tier: 1, rarity: 4, description: [89,111,117,114,32,113,117,101,101,110,32,97,115,99,101,110,100,115,44,32,103,97,105,110,105,110,103,32,116,104,101,32,109,111,118,101,109,101,110,116,32,111,102,32,97,32,103,105,114,97,102,102,101,46,32], icon: [113,117,101,101,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493172538, index: (-1), priority: 15}; -var mysteriousSwordsmanLeft_1493172734 = {name: [77,121,115,116,101,114,105,111,117,115,32,83,119,111,114,100,115,109,97,110], technicalName: [77,121,115,116,101,114,105,111,117,115,32,83,119,111,114,100,115,109,97,110,32,76,101,102,116], synergy: false, tier: 0, rarity: 4, description: makeNimstrLit("A mysterious swordsman joins your rank. \x0A Your second pawn from the left is replaced with a silver general from Shogi."), icon: [115,105,108,118,101,114,103,101,110,101,114,97,108,46,115,118,103], rotatable: true, noColor: true, onStart: HEX3Aanonymous_1493172651, index: (-1), priority: 5}; -var mysteriousSwordsmanRight_1493172786 = {name: [77,121,115,116,101,114,105,111,117,115,32,83,119,111,114,100,115,109,97,110], technicalName: [77,121,115,116,101,114,105,111,117,115,32,83,119,111,114,100,115,109,97,110,32,82,105,103,104,116], synergy: false, tier: 0, rarity: 4, description: makeNimstrLit("A mysterious swordsman joins your rank. \x0A Your second pawn from the right is replaced with a silver general from Shogi."), icon: [115,105,108,118,101,114,103,101,110,101,114,97,108,46,115,118,103], rotatable: true, noColor: true, onStart: HEX3Aanonymous_1493172735, index: (-1), priority: 5}; -var developed_1493172796 = {name: [68,101,118,101,108,111,112,101,100], technicalName: [], synergy: false, tier: 0, rarity: 8, description: makeNimstrLit("Your board arrives a little developed. Your 2 center pawns start one tile forward. \x0A They can still move up 2 for their first move."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493172787, index: (-1), priority: 20}; -var stepOnMe_1493172822 = {name: [83,116,101,112,32,111,110,32,109,101], technicalName: [], synergy: false, tier: 0, rarity: 8, description: makeNimstrLit("Your Queen can take your own pieces. It\'s literally useless, but if that\'s your thing..."), icon: [113,117,101,101,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493172797, index: (-1), priority: 15}; -var illegalFormationBL_1493172855 = {name: [73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110], technicalName: [73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110,32,76,101,102,116,32,66,105,115,104,111,112], synergy: false, tier: 0, rarity: 2, description: makeNimstrLit("ILLEGAL FORMATION: YOUR PAWN ABOVE YOUR LEFT BISHOP SWAPS PLACES WITH YOUR LEFT BISHOP"), icon: [98,105,115,104,111,112,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493172845, index: (-1), priority: 20}; -var illegalFormationBR_1493172866 = {name: [73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110], technicalName: [73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110,32,82,105,103,104,116,32,66,105,115,104,111,112], synergy: false, tier: 0, rarity: 2, description: makeNimstrLit("ILLEGAL FORMATION: YOUR PAWN ABOVE YOUR RIGHT BISHOP SWAPS PLACES WITH YOUR RIGHT BISHOP"), icon: [98,105,115,104,111,112,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493172856, index: (-1), priority: 20}; -var illegalFormationRL_1493172833 = {name: [73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110], technicalName: [73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110,32,76,101,102,116,32,82,111,111,107], synergy: false, tier: 0, rarity: 2, description: makeNimstrLit("ILLEGAL FORMATION: YOUR PAWN ABOVE YOUR LEFT ROOK SWAPS PLACES WITH YOUR LEFT ROOK"), icon: [114,111,111,107,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493172823, index: (-1), priority: 20}; -var illegalFormationRR_1493172844 = {name: [73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110], technicalName: [73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110,32,82,105,103,104,116,32,82,111,111,107], synergy: false, tier: 0, rarity: 2, description: makeNimstrLit("ILLEGAL FORMATION: YOUR PAWN ABOVE YOUR RIGHT ROOK SWAPS PLACES WITH YOUR RIGHT ROOK"), icon: [114,111,111,107,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493172834, index: (-1), priority: 20}; -var putInTheWork_1493172888 = {name: [80,117,116,32,105,110,32,116,104,101,32,119,111,114,107,33], technicalName: [], synergy: false, tier: 0, rarity: 8, description: makeNimstrLit("Get to work son. If any of your pawns take 3 pieces, they automatically promote."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493172879, index: (-1), priority: 10}; -var wanderingRoninLeft_1493172936 = {name: [87,97,110,100,101,114,105,110,103,32,82,111,110,105,110], technicalName: [87,97,110,100,101,114,105,110,103,32,82,111,110,105,110,32,76,101,102,116], synergy: false, tier: 1, rarity: 4, description: makeNimstrLit("A wandering Ronin joins your rank. \x0A Your third pawn from the left is replaced with a gold general from Shogi."), icon: [103,111,108,100,103,101,110,101,114,97,108,46,115,118,103], rotatable: true, noColor: true, onStart: HEX3Aanonymous_1493172889, index: (-1), priority: 5}; -var wanderingRoninRight_1493172984 = {name: [87,97,110,100,101,114,105,110,103,32,82,111,110,105,110], technicalName: [87,97,110,100,101,114,105,110,103,32,82,111,110,105,110,32,82,105,103,104,116], synergy: false, tier: 1, rarity: 4, description: makeNimstrLit("A wandering Ronin joins your rank. \x0A Your third pawn from the right is replaced with a gold general from Shogi."), icon: [103,111,108,100,103,101,110,101,114,97,108,46,115,118,103], rotatable: true, noColor: true, onStart: HEX3Aanonymous_1493172937, index: (-1), priority: 5}; -var archBishops_1493173040 = {name: [65,114,99,104,98,105,115,104,111,112,115], technicalName: [], synergy: false, tier: 2, rarity: 8, description: makeNimstrLit("Your bishops ascend to archbishops, gaining the movement of a knight."), icon: [98,105,115,104,111,112,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173027, index: (-1), priority: 15}; -var werewolves_1493173026 = {name: [87,101,114,101,119,111,108,118,101,115], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("Your leftmost and rightmost pawns are secretly werewolves! When they take a piece, they eat it and gain the ability to jump like a knight and giraffe. They can still promote."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173008, index: (-1), priority: 15}; -var giraffe_1493173054 = {name: [71,105,114,97,102,102,101], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("Your knights try riding giraffes. It works surprisingly well. Their leap is improved, moving 3 across instead of 2 across."), icon: [103,105,114,97,102,102,101,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173041, index: (-1), priority: 5}; - var air_1275068591 = {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}; -var sacrifice_1493173170 = {name: [83,97,99,114,105,102,105,99,105,97,108,32,77,97,105,100,101,110], technicalName: [], synergy: false, tier: 3, rarity: 1, description: [83,65,67,82,73,70,73,67,69,32,84,72,89,32,77,65,73,68,69,78,83,32,84,79,32,84,72,69,32,66,76,79,79,68,32,71,79,68], icon: [113,117,101,101,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173161, index: (-1), priority: 25}; -var calvary_1493173069 = {name: [67,97,108,118,97,114,121], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("Your knights learn to ride forward. They aren\'t very good at it, but they\'re trying their best. \x0A They can charge forward up to 2 tiles, but only to take a piece. They cannot jump for this move."), icon: [107,110,105,103,104,116,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173055, index: (-1), priority: 15}; -var backStep_1493173185 = {name: [66,97,99,107,115,116,101,112], technicalName: [], synergy: false, tier: 2, rarity: 8, description: makeNimstrLit("Your pawns receive some training. They can move one tile back. They cannot take this way."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173171, index: (-1), priority: 15}; -var headStart_1493173200 = {name: [72,101,97,100,115,116,97,114,116], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("Your pawns can always move 2 forward. They still take like normal. It\'s kind of boring, don\'t you think?"), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173186, index: (-1), priority: 15}; -var queenTrade_1493173212 = {name: [81,117,101,101,110,32,84,114,97,100,101], technicalName: [], synergy: false, tier: 2, rarity: 8, description: [84,104,101,32,112,97,116,114,105,97,114,99,104,121,32,99,111,110,116,105,110,117,101,115,46,32,66,111,116,104,32,113,117,101,101,110,115,32,109,121,115,116,101,114,105,111,117,115,108,121,32,100,105,101,46], icon: [113,117,101,101,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173201, index: (-1), priority: 20}; - var whiteQueen_1275068556 = {item: 1, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291846030, HEX3Aanonymous_1291845988, HEX3Aanonymous_1291845865], takes: [HEX3Aanonymous_1291846051, HEX3Aanonymous_1291846009, HEX3Aanonymous_1291845880], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [113,117,101,101,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}; -var lesbianPride_1493173262 = {name: [76,101,115,98,105,97,110,32,80,114,105,100,101], technicalName: [], synergy: false, tier: 3, rarity: 1, description: [240,159,167,161,240,159,164,141,240,159,169,183], icon: [108,101,115,98,105,97,110,112,114,105,100,101,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493173247, index: (-1), priority: 1}; -var knightChargePower_1493173407 = {name: [75,110,105,103,104,116,39,115,32,67,104,97,114,103,101], technicalName: [], synergy: false, tier: 2, rarity: 4, description: [67,72,65,82,71,69,33,32,89,111,117,114,32,107,110,105,103,104,116,115,32,115,116,97,114,116,32,51,32,116,105,108,101,115,32,97,104,101,97,100,46], icon: [107,110,105,103,104,116,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173386, index: (-1), priority: 20}; -var nightRider_1493173518 = {name: [78,105,103,104,116,114,105,100,101,114], technicalName: [], synergy: false, tier: 3, rarity: 8, description: [78,105,103,104,116,114,105,100,101,114,46], icon: [110,105,103,104,116,114,105,100,101,114,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173499, index: (-1), priority: 3}; -var desegregation_1493173532 = {name: [68,101,115,101,103,114,101,103,97,116,105,111,110,32,97,110,100,32,73,110,116,101,103,114,97,116,105,111,110], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("Your bishops learn to accept their differences. They can move left and right."), icon: [98,105,115,104,111,112,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173519, index: (-1), priority: 15}; -var concubine_1493173594 = {name: [67,111,110,99,117,98,105,110,101], technicalName: [], synergy: false, tier: 2, rarity: 8, description: [89,111,117,114,32,114,111,111,107,32,98,101,99,111,109,101,115,32,97,32,113,117,101,101,110,32,119,104,101,110,32,105,116,32,99,97,115,116,108,101,115,46,46,46,46,32,89,111,117,39,114,101,32,115,105,99,107,46], icon: [114,111,111,107,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173585, index: (-1), priority: 15}; +var holy_1728053316 = {name: [72,111,108,121], technicalName: [], synergy: false, tier: 0, rarity: 12, description: makeNimstrLit("You are favored slightly more by god. Your next powers are more likely to be uncommon, rare, and ultra rare"), icon: [99,114,111,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1728053311, index: (-1), priority: 20}; +var empress_1845494073 = {name: [69,109,112,114,101,115,115], technicalName: [], synergy: false, tier: 1, rarity: 8, description: [89,111,117,114,32,113,117,101,101,110,32,97,115,99,101,110,100,115,44,32,103,97,105,110,105,110,103,32,116,104,101,32,109,111,118,101,109,101,110,116,32,111,102,32,97,32,115,116,97,110,100,97,114,100,32,107,110,105,103,104,116,46,32], icon: [113,117,101,101,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494028, index: (-1), priority: 15}; +var altEmpress_1845494087 = {name: [69,109,112,114,101,115,115], technicalName: [65,108,116,101,114,110,97,116,101,32,69,109,112,114,101,115,115], synergy: false, tier: 1, rarity: 4, description: [89,111,117,114,32,113,117,101,101,110,32,97,115,99,101,110,100,115,44,32,103,97,105,110,105,110,103,32,116,104,101,32,109,111,118,101,109,101,110,116,32,111,102,32,97,32,103,105,114,97,102,102,101,46,32], icon: [113,117,101,101,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494074, index: (-1), priority: 15}; +var mysteriousSwordsmanLeft_1845494270 = {name: [77,121,115,116,101,114,105,111,117,115,32,83,119,111,114,100,115,109,97,110], technicalName: [77,121,115,116,101,114,105,111,117,115,32,83,119,111,114,100,115,109,97,110,32,76,101,102,116], synergy: false, tier: 0, rarity: 4, description: makeNimstrLit("A mysterious swordsman joins your rank. \x0A Your second pawn from the left is replaced with a silver general from Shogi."), icon: [115,105,108,118,101,114,103,101,110,101,114,97,108,46,115,118,103], rotatable: true, noColor: true, onStart: HEX3Aanonymous_1845494187, index: (-1), priority: 5}; +var mysteriousSwordsmanRight_1845494322 = {name: [77,121,115,116,101,114,105,111,117,115,32,83,119,111,114,100,115,109,97,110], technicalName: [77,121,115,116,101,114,105,111,117,115,32,83,119,111,114,100,115,109,97,110,32,82,105,103,104,116], synergy: false, tier: 0, rarity: 4, description: makeNimstrLit("A mysterious swordsman joins your rank. \x0A Your second pawn from the right is replaced with a silver general from Shogi."), icon: [115,105,108,118,101,114,103,101,110,101,114,97,108,46,115,118,103], rotatable: true, noColor: true, onStart: HEX3Aanonymous_1845494271, index: (-1), priority: 5}; +var developed_1845494332 = {name: [68,101,118,101,108,111,112,101,100], technicalName: [], synergy: false, tier: 0, rarity: 8, description: makeNimstrLit("Your board arrives a little developed. Your 2 center pawns start one tile forward. \x0A They can still move up 2 for their first move."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494323, index: (-1), priority: 20}; +var stepOnMe_1845494358 = {name: [83,116,101,112,32,111,110,32,109,101], technicalName: [], synergy: false, tier: 0, rarity: 8, description: makeNimstrLit("Your Queen can take your own pieces. It\'s literally useless, but if that\'s your thing..."), icon: [113,117,101,101,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494333, index: (-1), priority: 15}; +var illegalFormationBL_1845494391 = {name: [73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110], technicalName: [73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110,32,76,101,102,116,32,66,105,115,104,111,112], synergy: false, tier: 0, rarity: 2, description: makeNimstrLit("ILLEGAL FORMATION: YOUR PAWN ABOVE YOUR LEFT BISHOP SWAPS PLACES WITH YOUR LEFT BISHOP"), icon: [98,105,115,104,111,112,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494381, index: (-1), priority: 20}; +var illegalFormationBR_1845494402 = {name: [73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110], technicalName: [73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110,32,82,105,103,104,116,32,66,105,115,104,111,112], synergy: false, tier: 0, rarity: 2, description: makeNimstrLit("ILLEGAL FORMATION: YOUR PAWN ABOVE YOUR RIGHT BISHOP SWAPS PLACES WITH YOUR RIGHT BISHOP"), icon: [98,105,115,104,111,112,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494392, index: (-1), priority: 20}; +var illegalFormationRL_1845494369 = {name: [73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110], technicalName: [73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110,32,76,101,102,116,32,82,111,111,107], synergy: false, tier: 0, rarity: 2, description: makeNimstrLit("ILLEGAL FORMATION: YOUR PAWN ABOVE YOUR LEFT ROOK SWAPS PLACES WITH YOUR LEFT ROOK"), icon: [114,111,111,107,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494359, index: (-1), priority: 20}; +var illegalFormationRR_1845494380 = {name: [73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110], technicalName: [73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110,32,82,105,103,104,116,32,82,111,111,107], synergy: false, tier: 0, rarity: 2, description: makeNimstrLit("ILLEGAL FORMATION: YOUR PAWN ABOVE YOUR RIGHT ROOK SWAPS PLACES WITH YOUR RIGHT ROOK"), icon: [114,111,111,107,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494370, index: (-1), priority: 20}; +var putInTheWork_1845494424 = {name: [80,117,116,32,105,110,32,116,104,101,32,119,111,114,107,33], technicalName: [], synergy: false, tier: 0, rarity: 8, description: makeNimstrLit("Get to work son. If any of your pawns take 3 pieces, they automatically promote."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494415, index: (-1), priority: 10}; +var wanderingRoninLeft_1845494472 = {name: [87,97,110,100,101,114,105,110,103,32,82,111,110,105,110], technicalName: [87,97,110,100,101,114,105,110,103,32,82,111,110,105,110,32,76,101,102,116], synergy: false, tier: 1, rarity: 4, description: makeNimstrLit("A wandering Ronin joins your rank. \x0A Your third pawn from the left is replaced with a gold general from Shogi."), icon: [103,111,108,100,103,101,110,101,114,97,108,46,115,118,103], rotatable: true, noColor: true, onStart: HEX3Aanonymous_1845494425, index: (-1), priority: 5}; +var wanderingRoninRight_1845494520 = {name: [87,97,110,100,101,114,105,110,103,32,82,111,110,105,110], technicalName: [87,97,110,100,101,114,105,110,103,32,82,111,110,105,110,32,82,105,103,104,116], synergy: false, tier: 1, rarity: 4, description: makeNimstrLit("A wandering Ronin joins your rank. \x0A Your third pawn from the right is replaced with a gold general from Shogi."), icon: [103,111,108,100,103,101,110,101,114,97,108,46,115,118,103], rotatable: true, noColor: true, onStart: HEX3Aanonymous_1845494473, index: (-1), priority: 5}; +var archBishops_1845494576 = {name: [65,114,99,104,98,105,115,104,111,112,115], technicalName: [], synergy: false, tier: 2, rarity: 8, description: makeNimstrLit("Your bishops ascend to archbishops, gaining the movement of a knight."), icon: [98,105,115,104,111,112,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494563, index: (-1), priority: 15}; +var werewolves_1845494562 = {name: [87,101,114,101,119,111,108,118,101,115], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("Your leftmost and rightmost pawns are secretly werewolves! When they take a piece, they eat it and gain the ability to jump like a knight and giraffe. They can still promote."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494544, index: (-1), priority: 15}; +var giraffe_1845494590 = {name: [71,105,114,97,102,102,101], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("Your knights try riding giraffes. It works surprisingly well. Their leap is improved, moving 3 across instead of 2 across."), icon: [103,105,114,97,102,102,101,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494577, index: (-1), priority: 5}; + var air_1526726831 = {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}; +var sacrifice_1845494706 = {name: [83,97,99,114,105,102,105,99,105,97,108,32,77,97,105,100,101,110], technicalName: [], synergy: false, tier: 3, rarity: 1, description: [83,65,67,82,73,70,73,67,69,32,84,72,89,32,77,65,73,68,69,78,83,32,84,79,32,84,72,69,32,66,76,79,79,68,32,71,79,68], icon: [113,117,101,101,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494697, index: (-1), priority: 25}; +var calvary_1845494605 = {name: [67,97,108,118,97,114,121], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("Your knights learn to ride forward. They aren\'t very good at it, but they\'re trying their best. \x0A They can charge forward up to 2 tiles, but only to take a piece. They cannot jump for this move."), icon: [107,110,105,103,104,116,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494591, index: (-1), priority: 15}; +var backStep_1845494721 = {name: [66,97,99,107,115,116,101,112], technicalName: [], synergy: false, tier: 2, rarity: 8, description: makeNimstrLit("Your pawns receive some training. They can move one tile back. They cannot take this way."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494707, index: (-1), priority: 15}; +var headStart_1845494736 = {name: [72,101,97,100,115,116,97,114,116], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("Your pawns can always move 2 forward. They still take like normal. It\'s kind of boring, don\'t you think?"), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494722, index: (-1), priority: 15}; +var queenTrade_1845494748 = {name: [81,117,101,101,110,32,84,114,97,100,101], technicalName: [], synergy: false, tier: 2, rarity: 8, description: [84,104,101,32,112,97,116,114,105,97,114,99,104,121,32,99,111,110,116,105,110,117,101,115,46,32,66,111,116,104,32,113,117,101,101,110,115,32,109,121,115,116,101,114,105,111,117,115,108,121,32,100,105,101,46], icon: [113,117,101,101,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494737, index: (-1), priority: 20}; + var whiteQueen_1526726796 = {item: 1, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504270, HEX3Aanonymous_1543504228, HEX3Aanonymous_1543504105], takes: [HEX3Aanonymous_1543504291, HEX3Aanonymous_1543504249, HEX3Aanonymous_1543504120], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [113,117,101,101,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}; +var lesbianPride_1845494798 = {name: [76,101,115,98,105,97,110,32,80,114,105,100,101], technicalName: [], synergy: false, tier: 3, rarity: 1, description: [240,159,167,161,240,159,164,141,240,159,169,183], icon: [108,101,115,98,105,97,110,112,114,105,100,101,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845494783, index: (-1), priority: 1}; +var knightChargePower_1845494943 = {name: [75,110,105,103,104,116,39,115,32,67,104,97,114,103,101], technicalName: [], synergy: false, tier: 2, rarity: 4, description: [67,72,65,82,71,69,33,32,89,111,117,114,32,107,110,105,103,104,116,115,32,115,116,97,114,116,32,51,32,116,105,108,101,115,32,97,104,101,97,100,46], icon: [107,110,105,103,104,116,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494922, index: (-1), priority: 20}; +var nightRider_1845495054 = {name: [78,105,103,104,116,114,105,100,101,114], technicalName: [], synergy: false, tier: 3, rarity: 8, description: [78,105,103,104,116,114,105,100,101,114,46], icon: [110,105,103,104,116,114,105,100,101,114,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495035, index: (-1), priority: 3}; +var desegregation_1845495068 = {name: [68,101,115,101,103,114,101,103,97,116,105,111,110,32,97,110,100,32,73,110,116,101,103,114,97,116,105,111,110], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("Your bishops learn to accept their differences. They can move left and right."), icon: [98,105,115,104,111,112,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495055, index: (-1), priority: 15}; +var concubine_1845495130 = {name: [67,111,110,99,117,98,105,110,101], technicalName: [], synergy: false, tier: 2, rarity: 8, description: [89,111,117,114,32,114,111,111,107,32,98,101,99,111,109,101,115,32,97,32,113,117,101,101,110,32,119,104,101,110,32,105,116,32,99,97,115,116,108,101,115,46,46,46,46,32,89,111,117,39,114,101,32,115,105,99,107,46], icon: [114,111,111,107,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495121, index: (-1), priority: 15}; function modInt(a_33557066, b_33557067) { if (b_33557067 == 0) raiseDivByZero(); @@ -1723,12 +1669,12 @@ function modInt(a_33557066, b_33557067) { } -var reinforcements_1493173619 = {name: [82,101,105,110,102,111,114,99,101,109,101,110,116,115], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("Do you really need more than 8 pawns? Your rooks spawn a pawn for every 2 pieces they takes."), icon: [114,111,111,107,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173614, index: (-1), priority: 25}; -var shotgunKing_1493173647 = {name: [83,104,111,116,103,117,110,32,75,105,110,103], technicalName: [], synergy: false, tier: 0, rarity: 8, description: makeNimstrLit("Your king knows its 2nd ammendment rights. It can take pieces two ahead or two behind. \x0A If it does this take, it does not move from its initial tile."), icon: [107,105,110,103,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173638, index: (-1), priority: 5}; -var coward_1493173698 = {name: [67,111,119,97,114,100], technicalName: [], synergy: false, tier: 0, rarity: 8, description: [89,111,117,32,99,111,119,97,114,100,46,32,89,111,117,114,32,107,105,110,103,32,115,119,97,112,115,32,112,105,101,99,101,115,32,119,105,116,104,32,116,104,101,32,107,105,110,103,39,115,32,115,105,100,101,32,107,110,105,103,104,116,46], icon: [107,105,110,103,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173682, index: (-1), priority: 25}; -var lanceLeft_1493173840 = {name: [75,97,109,105,107,97,122,101], technicalName: [75,97,109,105,107,97,122,101,32,76,101,102,116], synergy: false, tier: 1, rarity: 4, description: makeNimstrLit("The divine wind is behind you. \x0A Your left pawn is replaced with a lance from Shogi."), icon: [108,97,110,99,101,46,115,118,103], rotatable: true, noColor: true, onStart: HEX3Aanonymous_1493173789, index: (-1), priority: 5}; -var lanceRight_1493173892 = {name: [75,97,109,105,107,97,122,101], technicalName: [75,97,109,105,107,97,122,101,32,82,105,103,104,116], synergy: false, tier: 1, rarity: 4, description: makeNimstrLit("The divine wind is behind you. \x0A Your right pawn is replaced with a lance from Shogi."), icon: [108,97,110,99,101,46,115,118,103], rotatable: true, noColor: true, onStart: HEX3Aanonymous_1493173841, index: (-1), priority: 5}; - var helper_1392508974 = new Uint32Array([3198944359, 3630892171]); +var reinforcements_1845495155 = {name: [82,101,105,110,102,111,114,99,101,109,101,110,116,115], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("Do you really need more than 8 pawns? Your rooks spawn a pawn for every 2 pieces they takes."), icon: [114,111,111,107,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495150, index: (-1), priority: 25}; +var shotgunKing_1845495183 = {name: [83,104,111,116,103,117,110,32,75,105,110,103], technicalName: [], synergy: false, tier: 0, rarity: 8, description: makeNimstrLit("Your king knows its 2nd ammendment rights. It can take pieces two ahead or two behind. \x0A If it does this take, it does not move from its initial tile."), icon: [107,105,110,103,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495174, index: (-1), priority: 5}; +var coward_1845495234 = {name: [67,111,119,97,114,100], technicalName: [], synergy: false, tier: 0, rarity: 8, description: [89,111,117,32,99,111,119,97,114,100,46,32,89,111,117,114,32,107,105,110,103,32,115,119,97,112,115,32,112,105,101,99,101,115,32,119,105,116,104,32,116,104,101,32,107,105,110,103,39,115,32,115,105,100,101,32,107,110,105,103,104,116,46], icon: [107,105,110,103,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495218, index: (-1), priority: 25}; +var lanceLeft_1845495376 = {name: [75,97,109,105,107,97,122,101], technicalName: [75,97,109,105,107,97,122,101,32,76,101,102,116], synergy: false, tier: 1, rarity: 4, description: makeNimstrLit("The divine wind is behind you. \x0A Your left pawn is replaced with a lance from Shogi."), icon: [108,97,110,99,101,46,115,118,103], rotatable: true, noColor: true, onStart: HEX3Aanonymous_1845495325, index: (-1), priority: 5}; +var lanceRight_1845495428 = {name: [75,97,109,105,107,97,122,101], technicalName: [75,97,109,105,107,97,122,101,32,82,105,103,104,116], synergy: false, tier: 1, rarity: 4, description: makeNimstrLit("The divine wind is behind you. \x0A Your right pawn is replaced with a lance from Shogi."), icon: [108,97,110,99,101,46,115,118,103], rotatable: true, noColor: true, onStart: HEX3Aanonymous_1845495377, index: (-1), priority: 5}; + var helper_1644167214 = new Uint32Array([3198944359, 3630892171]); function mulInt(a_33557058, b_33557059) { var result = a_33557058 * b_33557059; @@ -1749,16 +1695,16 @@ function rawEcho() { } -var drunkKnights_1493174022 = {name: [68,114,117,110,107,32,75,110,105,103,104,116,115], technicalName: [], synergy: false, tier: 2, rarity: 8, description: makeNimstrLit("Drunk riding is dangerous, your knights should be ashamed of themselves. \x0A After every other turn, they randomly move."), icon: [107,110,105,103,104,116,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174013, index: (-1), priority: 15}; -var alcoholism_1493174032 = {name: [65,108,99,111,104,111,108,105,115,109], technicalName: [], synergy: false, tier: 3, rarity: 4, description: [89,111,117,39,114,101,32,102,97,109,105,108,105,101,115,32,97,110,100,32,102,114,105,101,110,100,115,32,109,105,115,115,32,121,111,117,46,32,84,104,101,32,114,101,97,108,32,121,111,117,46], icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174023, index: (-1), priority: 15}; -var slumdogMillionaire_1493174402 = {name: [83,108,117,109,100,111,103,32,77,105,108,108,105,111,110,97,105,114,101], technicalName: [], synergy: false, tier: 0, rarity: 8, description: makeNimstrLit("Have you seen the movie Slumdog Millionaire? It\'s kind of like that. \x0A Your pawns have a 1% chance of promoting whenever they move."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174366, index: (-1), priority: 15}; -var stupidPower_1493174424 = {name: [83,116,117,112,105,100,32,80,111,119,101,114], technicalName: [], synergy: false, tier: 0, rarity: 8, description: makeNimstrLit("You have a 0.1% chance to automatically win each turn. Yeah, I\'m out of ideas. I\'m sorry."), icon: [107,105,110,103,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174415, index: (-1), priority: 15}; -var conversion_1493174453 = {name: [67,111,110,118,101,114,115,105,111,110], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("When your bishop takes a piece, it has a 15% chance to convert it to your color. \x0A When this happens, your bishop swaps places with it instead of taking it."), icon: [98,105,115,104,111,112,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174448, index: (-1), priority: 15}; -var americanDream_1493174512 = {name: [65,109,101,114,105,99,97,110,32,68,114,101,97,109], technicalName: [], synergy: false, tier: 2, rarity: 8, description: makeNimstrLit("All pieces, you and your opponent, are killed when they promote. It\'s not real."), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493174503, index: (-1), priority: 30}; -var sleeperAgent_1493174565 = {name: [83,108,101,101,112,101,114,32,65,103,101,110,116], technicalName: [], synergy: false, tier: 0, rarity: 8, description: makeNimstrLit("The silent river collapses in pieces. \x0A One of your pawns is a sleeper agent. They can take forward."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174513, index: (-1), priority: 30}; -var capitalismPower_1493174693 = {name: [67,97,112,105,116,97,108,105,115,109], technicalName: [], synergy: false, tier: 1, rarity: 24, description: makeNimstrLit("The power of the free market is unmatched. \x0A All of your pieces get the ability to buy upgrades. \x0A You get 3 dollars for taking a piece.\x0A With 30 dollars, you can promote one piece. The promoted piece cannot move on the turn it is promoted."), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493174664, index: (-1), priority: 30}; -var skyGlass_1493178056 = {name: [71,108,97,115,115,58,32,83,107,121], technicalName: [], synergy: false, tier: 1, rarity: 6, description: makeNimstrLit("On your turn, instead of moving, you can choose 2 pieces to each cast Sky on any \x0A open tile. These pieces teleport to their selected tile when the cast completes. \x0A Pieces cannot try to teleport to a tile where they would check the king. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [115,107,121,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493178043, index: (-1), priority: 15}; -var zeroGlass_1493178068 = {name: [71,108,97,115,115,58,32,90,101,114,111], technicalName: [], synergy: false, tier: 2, rarity: 6, description: makeNimstrLit("On your turn, instead of moving, you can choose 2 pieces to each cast Zero on \x0A any non-king tile. Any piece on these tiles will die if the cast completes. Zero cannot be cast turn one. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [122,101,114,111,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493178057, index: (-1), priority: 15}; +var drunkKnights_1845495558 = {name: [68,114,117,110,107,32,75,110,105,103,104,116,115], technicalName: [], synergy: false, tier: 2, rarity: 8, description: makeNimstrLit("Drunk riding is dangerous, your knights should be ashamed of themselves. \x0A After every other turn, they randomly move."), icon: [107,110,105,103,104,116,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495549, index: (-1), priority: 15}; +var alcoholism_1845495568 = {name: [65,108,99,111,104,111,108,105,115,109], technicalName: [], synergy: false, tier: 3, rarity: 4, description: [89,111,117,39,114,101,32,102,97,109,105,108,105,101,115,32,97,110,100,32,102,114,105,101,110,100,115,32,109,105,115,115,32,121,111,117,46,32,84,104,101,32,114,101,97,108,32,121,111,117,46], icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495559, index: (-1), priority: 15}; +var slumdogMillionaire_1845495938 = {name: [83,108,117,109,100,111,103,32,77,105,108,108,105,111,110,97,105,114,101], technicalName: [], synergy: false, tier: 0, rarity: 8, description: makeNimstrLit("Have you seen the movie Slumdog Millionaire? It\'s kind of like that. \x0A Your pawns have a 1% chance of promoting whenever they move."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495902, index: (-1), priority: 15}; +var stupidPower_1845495960 = {name: [83,116,117,112,105,100,32,80,111,119,101,114], technicalName: [], synergy: false, tier: 0, rarity: 8, description: makeNimstrLit("You have a 0.1% chance to automatically win each turn. Yeah, I\'m out of ideas. I\'m sorry."), icon: [107,105,110,103,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495951, index: (-1), priority: 15}; +var conversion_1845495996 = {name: [67,111,110,118,101,114,115,105,111,110], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("When your bishop takes a piece, it has a 15% chance to convert it to your color. \x0A When this happens, your bishop swaps places with it instead of taking it."), icon: [98,105,115,104,111,112,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495991, index: (-1), priority: 15}; +var americanDream_1845496032 = {name: [65,109,101,114,105,99,97,110,32,68,114,101,97,109], technicalName: [], synergy: false, tier: 2, rarity: 8, description: makeNimstrLit("All pieces, you and your opponent, are killed when they promote. It\'s not real."), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845496023, index: (-1), priority: 30}; +var sleeperAgent_1845496085 = {name: [83,108,101,101,112,101,114,32,65,103,101,110,116], technicalName: [], synergy: false, tier: 0, rarity: 8, description: makeNimstrLit("The silent river collapses in pieces. \x0A One of your pawns is a sleeper agent. They can take forward."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845496033, index: (-1), priority: 30}; +var capitalismPower_1845496220 = {name: [67,97,112,105,116,97,108,105,115,109], technicalName: [], synergy: false, tier: 1, rarity: 24, description: makeNimstrLit("The power of the free market is unmatched. \x0A All of your pieces get the ability to buy upgrades. \x0A You get 3 dollars for taking a piece.\x0A With 30 dollars, you can promote one piece. The promoted piece cannot move on the turn it is promoted."), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845496191, index: (-1), priority: 30}; +var skyGlass_1845499615 = {name: [71,108,97,115,115,58,32,83,107,121], technicalName: [], synergy: false, tier: 1, rarity: 6, description: makeNimstrLit("On your turn, instead of moving, you can choose 2 pieces to each cast Sky on any \x0A open tile. These pieces teleport to their selected tile when the cast completes. \x0A Pieces cannot try to teleport to a tile where they would check the king. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [115,107,121,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845499602, index: (-1), priority: 15}; +var zeroGlass_1845499627 = {name: [71,108,97,115,115,58,32,90,101,114,111], technicalName: [], synergy: false, tier: 2, rarity: 6, description: makeNimstrLit("On your turn, instead of moving, you can choose 2 pieces to each cast Zero on \x0A any non-king tile. Any piece on these tiles will die if the cast completes. Zero cannot be cast turn one. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [122,101,114,111,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845499616, index: (-1), priority: 15}; function divInt(a_33557062, b_33557063) { if (b_33557063 == 0) raiseDivByZero(); @@ -1768,9 +1714,9 @@ function divInt(a_33557062, b_33557063) { } -var steelGlass_1493178080 = {name: [71,108,97,115,115,58,32,83,116,101,101,108], technicalName: [], synergy: false, tier: 0, rarity: 6, description: makeNimstrLit("On your turn, instead of moving, you can choose 5 pieces to each cast Steel. \x0A If there is an enemy one tile in front of them when the cast completes, they take forward. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [115,116,101,101,108,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493178069, index: (-1), priority: 15}; -var reverieGlass_1493178414 = {name: [71,108,97,115,115,58,32,82,101,118,101,114,105,101], technicalName: [], synergy: false, tier: 0, rarity: 6, description: makeNimstrLit("On your turn, instead of moving you can choose 3 pieces to each cast Reverie on \x0A an opponent tile. When the cast completes, \x0A they swap moves and takes with whatever piece is on that tile. If that piece \x0A is a king, the cast fails. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [114,101,118,101,114,105,101,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493178403, index: (-1), priority: 0}; -var daybreakGlass_1493178460 = {name: [71,108,97,115,115,58,32,68,97,121,98,114,101,97,107], technicalName: [], synergy: false, tier: 2, rarity: 6, description: makeNimstrLit("On your turn, instead of moving you can choose 1 pieces to cast Daybreak on \x0A any tile. When the cast completes, the piece on that tile promotes. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [100,97,121,98,114,101,97,107,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493178449, index: (-1), priority: 0}; +var steelGlass_1845499639 = {name: [71,108,97,115,115,58,32,83,116,101,101,108], technicalName: [], synergy: false, tier: 0, rarity: 6, description: makeNimstrLit("On your turn, instead of moving, you can choose 5 pieces to each cast Steel. \x0A If there is an enemy one tile in front of them when the cast completes, they take forward. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [115,116,101,101,108,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845499628, index: (-1), priority: 15}; +var reverieGlass_1845499973 = {name: [71,108,97,115,115,58,32,82,101,118,101,114,105,101], technicalName: [], synergy: false, tier: 0, rarity: 6, description: makeNimstrLit("On your turn, instead of moving you can choose 3 pieces to each cast Reverie on \x0A an opponent tile. When the cast completes, \x0A they swap moves and takes with whatever piece is on that tile. If that piece \x0A is a king, the cast fails. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [114,101,118,101,114,105,101,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845499962, index: (-1), priority: 0}; +var daybreakGlass_1845500019 = {name: [71,108,97,115,115,58,32,68,97,121,98,114,101,97,107], technicalName: [], synergy: false, tier: 2, rarity: 6, description: makeNimstrLit("On your turn, instead of moving you can choose 1 pieces to cast Daybreak on \x0A any tile. When the cast completes, the piece on that tile promotes. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [100,97,121,98,114,101,97,107,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845500008, index: (-1), priority: 0}; function nimBoolToStr(x_33556438) { var result_33556439 = []; @@ -1790,25 +1736,16 @@ function nimBoolToStr(x_33556438) { function reprEnum(e_33557576, typ_33557577) { var result_33557578 = []; - var F = {procname: "system.reprEnum", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/reprjs.nim", line: 0}; - framePtr = F; - F.line = 30; - F.filename = "reprjs.nim"; var tmp_33557579 = false; - F.line = 31; var item_33557580 = typ_33557577.node.sons[e_33557576]; - F.line = 32; tmp_33557579 = item_33557580 !== undefined if (tmp_33557579) { - F.line = 34; result_33557578 = nimCopy(null, makeNimstrLit(item_33557580.name), NTI33554449); } else { - F.line = 36; - result_33557578 = nimCopy(null, (HEX24_369098760(e_33557576) || []).concat([32,40,105,110,118,97,108,105,100,32,100,97,116,97,33,41] || []), NTI33554449); + result_33557578 = nimCopy(null, (HEX24_385875976(e_33557576) || []).concat([32,40,105,110,118,97,108,105,100,32,100,97,116,97,33,41] || []), NTI33554449); } - framePtr = F.prev; return result_33557578; @@ -1829,10 +1766,10 @@ function negInt(a_33557092) { } var ConstSet2 = setConstr([88, 148]); - var toTag_721420612 = ["#text", "#int", "#bool", "#vthunk", "#dthunk", "#component", "#verbatim", "html", "head", "title", "base", "link", "meta", "style", "script", "noscript", "body", "section", "nav", "article", "aside", "h1", "h2", "h3", "h4", "h5", "h6", "hgroup", "header", "footer", "address", "main", "p", "hr", "pre", "blockquote", "ol", "ul", "li", "dl", "dt", "dd", "figure", "figcaption", "div", "a", "em", "strong", "small", "s", "cite", "quote", "dfn", "abbr", "data", "time", "code", "var", "samp", "kbd", "sub", "sup", "i", "b", "u", "mark", "ruby", "rt", "rp", "bdi", "dbo", "span", "br", "wbr", "ins", "del", "img", "iframe", "embed", "object", "param", "video", "audio", "source", "track", "canvas", "map", "area", "animate", "animateMotion", "animateTransform", "circle", "clipPath", "defs", "desc", "discard", "ellipse", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "filter", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "set", "stop", "svg", "switch", "symbol", "text", "textPath", "tspan", "unknown", "use", "view", "maction", "math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msubsup", "msup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "semantics", "table", "caption", "colgroup", "col", "tbody", "thead", "tfoot", "tr", "td", "th", "form", "fieldset", "legend", "label", "input", "button", "select", "datalist", "optgroup", "option", "textarea", "keygen", "output", "progress", "meter", "details", "summary", "command", "menu", "bdo", "dialog", "slot", "template"]; + var toTag_754975044 = ["#text", "#int", "#bool", "#vthunk", "#dthunk", "#component", "#verbatim", "html", "head", "title", "base", "link", "meta", "style", "script", "noscript", "body", "section", "nav", "article", "aside", "h1", "h2", "h3", "h4", "h5", "h6", "hgroup", "header", "footer", "address", "main", "p", "hr", "pre", "blockquote", "ol", "ul", "li", "dl", "dt", "dd", "figure", "figcaption", "div", "a", "em", "strong", "small", "s", "cite", "quote", "dfn", "abbr", "data", "time", "code", "var", "samp", "kbd", "sub", "sup", "i", "b", "u", "mark", "ruby", "rt", "rp", "bdi", "dbo", "span", "br", "wbr", "ins", "del", "img", "iframe", "embed", "object", "param", "video", "audio", "source", "track", "canvas", "map", "area", "animate", "animateMotion", "animateTransform", "circle", "clipPath", "defs", "desc", "discard", "ellipse", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "filter", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "set", "stop", "svg", "switch", "symbol", "text", "textPath", "tspan", "unknown", "use", "view", "maction", "math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msubsup", "msup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "semantics", "table", "caption", "colgroup", "col", "tbody", "thead", "tfoot", "tr", "td", "th", "form", "fieldset", "legend", "label", "input", "button", "select", "datalist", "optgroup", "option", "textarea", "keygen", "output", "progress", "meter", "details", "summary", "command", "menu", "bdo", "dialog", "slot", "template"]; var ConstSet3 = setConstr([149, 179]); var ConstSet4 = setConstr([88, 148]); - var toEventName_721420689 = ["click", "contextmenu", "dblclick", "keyup", "keydown", "keypressed", "focus", "blur", "change", "scroll", "mousedown", "mouseenter", "mouseleave", "mousemove", "mouseout", "mouseover", "mouseup", "drag", "dragend", "dragenter", "dragleave", "dragover", "dragstart", "drop", "submit", "input", "animationstart", "animationend", "animationiteration", "keyupenter", "keyuplater", "load", "transitioncancel", "transitionend", "transitionrun", "transitionstart", "wheel"]; + var toEventName_754975121 = ["click", "contextmenu", "dblclick", "keyup", "keydown", "keypressed", "focus", "blur", "change", "scroll", "mousedown", "mouseenter", "mouseleave", "mousemove", "mouseout", "mouseover", "mouseup", "drag", "dragend", "dragenter", "dragleave", "dragover", "dragstart", "drop", "submit", "input", "animationstart", "animationend", "animationiteration", "keyupenter", "keyuplater", "load", "transitioncancel", "transitionend", "transitionrun", "transitionstart", "wheel"]; var ConstSet5 = setConstr([88, 148]); function nimMin(a_33557104, b_33557105) { @@ -1855,7 +1792,7 @@ function nimMin(a_33557104, b_33557105) { return result_33557106; } - var myDebugPowers_520093792 = [{name: [71,108,97,115,115,58,32,90,101,114,111], technicalName: [], synergy: false, tier: 2, rarity: 6, description: makeNimstrLit("On your turn, instead of moving, you can choose 2 pieces to each cast Zero on \x0A any non-king tile. Any piece on these tiles will die if the cast completes. Zero cannot be cast turn one. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [122,101,114,111,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493178057, index: (-1), priority: 15}, {name: [67,97,112,105,116,97,108,105,115,109], technicalName: [], synergy: false, tier: 1, rarity: 24, description: makeNimstrLit("The power of the free market is unmatched. \x0A All of your pieces get the ability to buy upgrades. \x0A You get 3 dollars for taking a piece.\x0A With 30 dollars, you can promote one piece. The promoted piece cannot move on the turn it is promoted."), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493174664, index: (-1), priority: 30}]; + var myDebugPowers_553648224 = [{name: [71,108,97,115,115,58,32,90,101,114,111], technicalName: [], synergy: false, tier: 2, rarity: 6, description: makeNimstrLit("On your turn, instead of moving, you can choose 2 pieces to each cast Zero on \x0A any non-king tile. Any piece on these tiles will die if the cast completes. Zero cannot be cast turn one. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [122,101,114,111,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845499616, index: (-1), priority: 15}, {name: [67,97,112,105,116,97,108,105,115,109], technicalName: [], synergy: false, tier: 1, rarity: 24, description: makeNimstrLit("The power of the free market is unmatched. \x0A All of your pieces get the ability to buy upgrades. \x0A You get 3 dollars for taking a piece.\x0A With 30 dollars, you can promote one piece. The promoted piece cannot move on the turn it is promoted."), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845496191, index: (-1), priority: 30}]; function nimMax(a_33557108, b_33557109) { var Temporary1; @@ -1877,9 +1814,48 @@ function nimMax(a_33557108, b_33557109) { return result_33557110; } - var rngPowers_1493178726 = [{name: [65,108,99,111,104,111,108,105,115,109], technicalName: [], synergy: false, tier: 3, rarity: 4, description: [89,111,117,39,114,101,32,102,97,109,105,108,105,101,115,32,97,110,100,32,102,114,105,101,110,100,115,32,109,105,115,115,32,121,111,117,46,32,84,104,101,32,114,101,97,108,32,121,111,117,46], icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174023, index: (-1), priority: 15}, {name: [68,114,117,110,107,32,75,110,105,103,104,116,115], technicalName: [], synergy: false, tier: 2, rarity: 8, description: makeNimstrLit("Drunk riding is dangerous, your knights should be ashamed of themselves. \x0A After every other turn, they randomly move."), icon: [107,110,105,103,104,116,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174013, index: (-1), priority: 15}, {name: [67,105,118,105,108,105,97,110,115], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("Of course, a battle will have its civillians. And of course, the enemy won\'t kill them.\x0A 3 civillians spawn on the enemy side. They randomly move and cannot be taken."), icon: [99,105,118,105,108,105,97,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174240, index: (-1), priority: 30}, {name: [83,108,117,109,100,111,103,32,77,105,108,108,105,111,110,97,105,114,101], technicalName: [], synergy: false, tier: 0, rarity: 8, description: makeNimstrLit("Have you seen the movie Slumdog Millionaire? It\'s kind of like that. \x0A Your pawns have a 1% chance of promoting whenever they move."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174366, index: (-1), priority: 15}, {name: [83,116,117,112,105,100,32,80,111,119,101,114], technicalName: [], synergy: false, tier: 0, rarity: 8, description: makeNimstrLit("You have a 0.1% chance to automatically win each turn. Yeah, I\'m out of ideas. I\'m sorry."), icon: [107,105,110,103,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174415, index: (-1), priority: 15}, {name: [83,108,101,101,112,101,114,32,65,103,101,110,116], technicalName: [], synergy: false, tier: 0, rarity: 8, description: makeNimstrLit("The silent river collapses in pieces. \x0A One of your pawns is a sleeper agent. They can take forward."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174513, index: (-1), priority: 30}, {name: [67,111,110,118,101,114,115,105,111,110], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("When your bishop takes a piece, it has a 15% chance to convert it to your color. \x0A When this happens, your bishop swaps places with it instead of taking it."), icon: [98,105,115,104,111,112,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174448, index: (-1), priority: 15}]; - var experimentalPowers_1493178731 = [{name: [71,108,97,115,115,58,32,83,107,121], technicalName: [], synergy: false, tier: 1, rarity: 6, description: makeNimstrLit("On your turn, instead of moving, you can choose 2 pieces to each cast Sky on any \x0A open tile. These pieces teleport to their selected tile when the cast completes. \x0A Pieces cannot try to teleport to a tile where they would check the king. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [115,107,121,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493178043, index: (-1), priority: 15}, {name: [71,108,97,115,115,58,32,90,101,114,111], technicalName: [], synergy: false, tier: 2, rarity: 6, description: makeNimstrLit("On your turn, instead of moving, you can choose 2 pieces to each cast Zero on \x0A any non-king tile. Any piece on these tiles will die if the cast completes. Zero cannot be cast turn one. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [122,101,114,111,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493178057, index: (-1), priority: 15}, {name: [71,108,97,115,115,58,32,83,116,101,101,108], technicalName: [], synergy: false, tier: 0, rarity: 6, description: makeNimstrLit("On your turn, instead of moving, you can choose 5 pieces to each cast Steel. \x0A If there is an enemy one tile in front of them when the cast completes, they take forward. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [115,116,101,101,108,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493178069, index: (-1), priority: 15}, {name: [71,108,97,115,115,58,32,82,101,118,101,114,105,101], technicalName: [], synergy: false, tier: 0, rarity: 6, description: makeNimstrLit("On your turn, instead of moving you can choose 3 pieces to each cast Reverie on \x0A an opponent tile. When the cast completes, \x0A they swap moves and takes with whatever piece is on that tile. If that piece \x0A is a king, the cast fails. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [114,101,118,101,114,105,101,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493178403, index: (-1), priority: 0}, {name: [71,108,97,115,115,58,32,68,97,121,98,114,101,97,107], technicalName: [], synergy: false, tier: 2, rarity: 6, description: makeNimstrLit("On your turn, instead of moving you can choose 1 pieces to cast Daybreak on \x0A any tile. When the cast completes, the piece on that tile promotes. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [100,97,121,98,114,101,97,107,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493178449, index: (-1), priority: 0}]; - var emptyPower_1442840638 = {name: [78,111,116,104,105,110,103,46,32,78,111,116,104,105,110,103,46,46,46], technicalName: [], synergy: false, tier: 0, rarity: 8, description: [84,104,105,115,32,100,111,101,115,32,110,111,116,104,105,110,103,46,32,85,110,108,117,99,107,121,33], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1442840633, index: 0, priority: 10}; + var rngPowers_1845500285 = [{name: [65,108,99,111,104,111,108,105,115,109], technicalName: [], synergy: false, tier: 3, rarity: 4, description: [89,111,117,39,114,101,32,102,97,109,105,108,105,101,115,32,97,110,100,32,102,114,105,101,110,100,115,32,109,105,115,115,32,121,111,117,46,32,84,104,101,32,114,101,97,108,32,121,111,117,46], icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495559, index: (-1), priority: 15}, {name: [68,114,117,110,107,32,75,110,105,103,104,116,115], technicalName: [], synergy: false, tier: 2, rarity: 8, description: makeNimstrLit("Drunk riding is dangerous, your knights should be ashamed of themselves. \x0A After every other turn, they randomly move."), icon: [107,110,105,103,104,116,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495549, index: (-1), priority: 15}, {name: [67,105,118,105,108,105,97,110,115], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("Of course, a battle will have its civillians. And of course, the enemy won\'t kill them.\x0A 3 civillians spawn on the enemy side. They randomly move and cannot be taken."), icon: [99,105,118,105,108,105,97,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495776, index: (-1), priority: 30}, {name: [83,108,117,109,100,111,103,32,77,105,108,108,105,111,110,97,105,114,101], technicalName: [], synergy: false, tier: 0, rarity: 8, description: makeNimstrLit("Have you seen the movie Slumdog Millionaire? It\'s kind of like that. \x0A Your pawns have a 1% chance of promoting whenever they move."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495902, index: (-1), priority: 15}, {name: [83,116,117,112,105,100,32,80,111,119,101,114], technicalName: [], synergy: false, tier: 0, rarity: 8, description: makeNimstrLit("You have a 0.1% chance to automatically win each turn. Yeah, I\'m out of ideas. I\'m sorry."), icon: [107,105,110,103,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495951, index: (-1), priority: 15}, {name: [83,108,101,101,112,101,114,32,65,103,101,110,116], technicalName: [], synergy: false, tier: 0, rarity: 8, description: makeNimstrLit("The silent river collapses in pieces. \x0A One of your pawns is a sleeper agent. They can take forward."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845496033, index: (-1), priority: 30}, {name: [67,111,110,118,101,114,115,105,111,110], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("When your bishop takes a piece, it has a 15% chance to convert it to your color. \x0A When this happens, your bishop swaps places with it instead of taking it."), icon: [98,105,115,104,111,112,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495991, index: (-1), priority: 15}]; + var experimentalPowers_1845500290 = [{name: [71,108,97,115,115,58,32,83,107,121], technicalName: [], synergy: false, tier: 1, rarity: 6, description: makeNimstrLit("On your turn, instead of moving, you can choose 2 pieces to each cast Sky on any \x0A open tile. These pieces teleport to their selected tile when the cast completes. \x0A Pieces cannot try to teleport to a tile where they would check the king. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [115,107,121,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845499602, index: (-1), priority: 15}, {name: [71,108,97,115,115,58,32,90,101,114,111], technicalName: [], synergy: false, tier: 2, rarity: 6, description: makeNimstrLit("On your turn, instead of moving, you can choose 2 pieces to each cast Zero on \x0A any non-king tile. Any piece on these tiles will die if the cast completes. Zero cannot be cast turn one. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [122,101,114,111,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845499616, index: (-1), priority: 15}, {name: [71,108,97,115,115,58,32,83,116,101,101,108], technicalName: [], synergy: false, tier: 0, rarity: 6, description: makeNimstrLit("On your turn, instead of moving, you can choose 5 pieces to each cast Steel. \x0A If there is an enemy one tile in front of them when the cast completes, they take forward. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [115,116,101,101,108,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845499628, index: (-1), priority: 15}, {name: [71,108,97,115,115,58,32,82,101,118,101,114,105,101], technicalName: [], synergy: false, tier: 0, rarity: 6, description: makeNimstrLit("On your turn, instead of moving you can choose 3 pieces to each cast Reverie on \x0A an opponent tile. When the cast completes, \x0A they swap moves and takes with whatever piece is on that tile. If that piece \x0A is a king, the cast fails. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [114,101,118,101,114,105,101,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845499962, index: (-1), priority: 0}, {name: [71,108,97,115,115,58,32,68,97,121,98,114,101,97,107], technicalName: [], synergy: false, tier: 2, rarity: 6, description: makeNimstrLit("On your turn, instead of moving you can choose 1 pieces to cast Daybreak on \x0A any tile. When the cast completes, the piece on that tile promotes. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [100,97,121,98,114,101,97,107,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845500008, index: (-1), priority: 0}]; + var emptyPower_1728053310 = {name: [78,111,116,104,105,110,103,46,32,78,111,116,104,105,110,103,46,46,46], technicalName: [], synergy: false, tier: 0, rarity: 8, description: [84,104,105,115,32,100,111,101,115,32,110,111,116,104,105,110,103,46,32,85,110,108,117,99,107,121,33], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1728053305, index: 0, priority: 10}; + +function cstrToNimstr(c_33556898) { + var ln = c_33556898.length; + var result = new Array(ln); + var r = 0; + for (var i = 0; i < ln; ++i) { + var ch = c_33556898.charCodeAt(i); + + if (ch < 128) { + result[r] = ch; + } + else { + if (ch < 2048) { + result[r] = (ch >> 6) | 192; + } + else { + if (ch < 55296 || ch >= 57344) { + result[r] = (ch >> 12) | 224; + } + else { + ++i; + ch = 65536 + (((ch & 1023) << 10) | (c_33556898.charCodeAt(i) & 1023)); + result[r] = (ch >> 18) | 240; + ++r; + result[r] = ((ch >> 12) & 63) | 128; + } + ++r; + result[r] = ((ch >> 6) & 63) | 128; + } + ++r; + result[r] = (ch & 63) | 128; + } + ++r; + } + return result; + + + +} var ConstSet6 = setConstr([48, 57]); var ConstSet7 = setConstr([48, 57]); @@ -1891,8 +1867,8 @@ function divInt64(a_33557084, b_33557085) { } - var toLowerRanges_1040188404 = new Int32Array([65, 90, 532, 192, 214, 532, 216, 222, 532, 393, 394, 705, 433, 434, 717, 904, 906, 537, 910, 911, 563, 913, 929, 532, 931, 939, 532, 1021, 1023, 370, 1024, 1039, 580, 1040, 1071, 532, 1329, 1366, 548, 4256, 4293, 7764, 5024, 5103, 39364, 5104, 5109, 508, 7312, 7354, (-2508), 7357, 7359, (-2508), 7944, 7951, 492, 7960, 7965, 492, 7976, 7983, 492, 7992, 7999, 492, 8008, 8013, 492, 8040, 8047, 492, 8072, 8079, 492, 8088, 8095, 492, 8104, 8111, 492, 8120, 8121, 492, 8122, 8123, 426, 8136, 8139, 414, 8152, 8153, 492, 8154, 8155, 400, 8168, 8169, 492, 8170, 8171, 388, 8184, 8185, 372, 8186, 8187, 374, 11264, 11310, 548, 11390, 11391, (-10315), 65313, 65338, 532, 66560, 66599, 540, 66736, 66771, 540, 68736, 68786, 564, 71840, 71871, 532, 93760, 93791, 532, 125184, 125217, 534]); - var toLowerSinglets_1040188405 = new Int32Array([256, 501, 258, 501, 260, 501, 262, 501, 264, 501, 266, 501, 268, 501, 270, 501, 272, 501, 274, 501, 276, 501, 278, 501, 280, 501, 282, 501, 284, 501, 286, 501, 288, 501, 290, 501, 292, 501, 294, 501, 296, 501, 298, 501, 300, 501, 302, 501, 304, 301, 306, 501, 308, 501, 310, 501, 313, 501, 315, 501, 317, 501, 319, 501, 321, 501, 323, 501, 325, 501, 327, 501, 330, 501, 332, 501, 334, 501, 336, 501, 338, 501, 340, 501, 342, 501, 344, 501, 346, 501, 348, 501, 350, 501, 352, 501, 354, 501, 356, 501, 358, 501, 360, 501, 362, 501, 364, 501, 366, 501, 368, 501, 370, 501, 372, 501, 374, 501, 376, 379, 377, 501, 379, 501, 381, 501, 385, 710, 386, 501, 388, 501, 390, 706, 391, 501, 395, 501, 398, 579, 399, 702, 400, 703, 401, 501, 403, 705, 404, 707, 406, 711, 407, 709, 408, 501, 412, 711, 413, 713, 415, 714, 416, 501, 418, 501, 420, 501, 422, 718, 423, 501, 425, 718, 428, 501, 430, 718, 431, 501, 435, 501, 437, 501, 439, 719, 440, 501, 444, 501, 452, 502, 453, 501, 455, 502, 456, 501, 458, 502, 459, 501, 461, 501, 463, 501, 465, 501, 467, 501, 469, 501, 471, 501, 473, 501, 475, 501, 478, 501, 480, 501, 482, 501, 484, 501, 486, 501, 488, 501, 490, 501, 492, 501, 494, 501, 497, 502, 498, 501, 500, 501, 502, 403, 503, 444, 504, 501, 506, 501, 508, 501, 510, 501, 512, 501, 514, 501, 516, 501, 518, 501, 520, 501, 522, 501, 524, 501, 526, 501, 528, 501, 530, 501, 532, 501, 534, 501, 536, 501, 538, 501, 540, 501, 542, 501, 544, 370, 546, 501, 548, 501, 550, 501, 552, 501, 554, 501, 556, 501, 558, 501, 560, 501, 562, 501, 570, 11295, 571, 501, 573, 337, 574, 11292, 577, 501, 579, 305, 580, 569, 581, 571, 582, 501, 584, 501, 586, 501, 588, 501, 590, 501, 880, 501, 882, 501, 886, 501, 895, 616, 902, 538, 908, 564, 975, 508, 984, 501, 986, 501, 988, 501, 990, 501, 992, 501, 994, 501, 996, 501, 998, 501, 1000, 501, 1002, 501, 1004, 501, 1006, 501, 1012, 440, 1015, 501, 1017, 493, 1018, 501, 1120, 501, 1122, 501, 1124, 501, 1126, 501, 1128, 501, 1130, 501, 1132, 501, 1134, 501, 1136, 501, 1138, 501, 1140, 501, 1142, 501, 1144, 501, 1146, 501, 1148, 501, 1150, 501, 1152, 501, 1162, 501, 1164, 501, 1166, 501, 1168, 501, 1170, 501, 1172, 501, 1174, 501, 1176, 501, 1178, 501, 1180, 501, 1182, 501, 1184, 501, 1186, 501, 1188, 501, 1190, 501, 1192, 501, 1194, 501, 1196, 501, 1198, 501, 1200, 501, 1202, 501, 1204, 501, 1206, 501, 1208, 501, 1210, 501, 1212, 501, 1214, 501, 1216, 515, 1217, 501, 1219, 501, 1221, 501, 1223, 501, 1225, 501, 1227, 501, 1229, 501, 1232, 501, 1234, 501, 1236, 501, 1238, 501, 1240, 501, 1242, 501, 1244, 501, 1246, 501, 1248, 501, 1250, 501, 1252, 501, 1254, 501, 1256, 501, 1258, 501, 1260, 501, 1262, 501, 1264, 501, 1266, 501, 1268, 501, 1270, 501, 1272, 501, 1274, 501, 1276, 501, 1278, 501, 1280, 501, 1282, 501, 1284, 501, 1286, 501, 1288, 501, 1290, 501, 1292, 501, 1294, 501, 1296, 501, 1298, 501, 1300, 501, 1302, 501, 1304, 501, 1306, 501, 1308, 501, 1310, 501, 1312, 501, 1314, 501, 1316, 501, 1318, 501, 1320, 501, 1322, 501, 1324, 501, 1326, 501, 4295, 7764, 4301, 7764, 7680, 501, 7682, 501, 7684, 501, 7686, 501, 7688, 501, 7690, 501, 7692, 501, 7694, 501, 7696, 501, 7698, 501, 7700, 501, 7702, 501, 7704, 501, 7706, 501, 7708, 501, 7710, 501, 7712, 501, 7714, 501, 7716, 501, 7718, 501, 7720, 501, 7722, 501, 7724, 501, 7726, 501, 7728, 501, 7730, 501, 7732, 501, 7734, 501, 7736, 501, 7738, 501, 7740, 501, 7742, 501, 7744, 501, 7746, 501, 7748, 501, 7750, 501, 7752, 501, 7754, 501, 7756, 501, 7758, 501, 7760, 501, 7762, 501, 7764, 501, 7766, 501, 7768, 501, 7770, 501, 7772, 501, 7774, 501, 7776, 501, 7778, 501, 7780, 501, 7782, 501, 7784, 501, 7786, 501, 7788, 501, 7790, 501, 7792, 501, 7794, 501, 7796, 501, 7798, 501, 7800, 501, 7802, 501, 7804, 501, 7806, 501, 7808, 501, 7810, 501, 7812, 501, 7814, 501, 7816, 501, 7818, 501, 7820, 501, 7822, 501, 7824, 501, 7826, 501, 7828, 501, 7838, (-7115), 7840, 501, 7842, 501, 7844, 501, 7846, 501, 7848, 501, 7850, 501, 7852, 501, 7854, 501, 7856, 501, 7858, 501, 7860, 501, 7862, 501, 7864, 501, 7866, 501, 7868, 501, 7870, 501, 7872, 501, 7874, 501, 7876, 501, 7878, 501, 7880, 501, 7882, 501, 7884, 501, 7886, 501, 7888, 501, 7890, 501, 7892, 501, 7894, 501, 7896, 501, 7898, 501, 7900, 501, 7902, 501, 7904, 501, 7906, 501, 7908, 501, 7910, 501, 7912, 501, 7914, 501, 7916, 501, 7918, 501, 7920, 501, 7922, 501, 7924, 501, 7926, 501, 7928, 501, 7930, 501, 7932, 501, 7934, 501, 8025, 492, 8027, 492, 8029, 492, 8031, 492, 8124, 491, 8140, 491, 8172, 493, 8188, 491, 8486, (-7017), 8490, (-7883), 8491, (-7762), 8498, 528, 8579, 501, 11360, 501, 11362, (-10243), 11363, (-3314), 11364, (-10227), 11367, 501, 11369, 501, 11371, 501, 11373, (-10280), 11374, (-10249), 11375, (-10283), 11376, (-10282), 11378, 501, 11381, 501, 11392, 501, 11394, 501, 11396, 501, 11398, 501, 11400, 501, 11402, 501, 11404, 501, 11406, 501, 11408, 501, 11410, 501, 11412, 501, 11414, 501, 11416, 501, 11418, 501, 11420, 501, 11422, 501, 11424, 501, 11426, 501, 11428, 501, 11430, 501, 11432, 501, 11434, 501, 11436, 501, 11438, 501, 11440, 501, 11442, 501, 11444, 501, 11446, 501, 11448, 501, 11450, 501, 11452, 501, 11454, 501, 11456, 501, 11458, 501, 11460, 501, 11462, 501, 11464, 501, 11466, 501, 11468, 501, 11470, 501, 11472, 501, 11474, 501, 11476, 501, 11478, 501, 11480, 501, 11482, 501, 11484, 501, 11486, 501, 11488, 501, 11490, 501, 11499, 501, 11501, 501, 11506, 501, 42560, 501, 42562, 501, 42564, 501, 42566, 501, 42568, 501, 42570, 501, 42572, 501, 42574, 501, 42576, 501, 42578, 501, 42580, 501, 42582, 501, 42584, 501, 42586, 501, 42588, 501, 42590, 501, 42592, 501, 42594, 501, 42596, 501, 42598, 501, 42600, 501, 42602, 501, 42604, 501, 42624, 501, 42626, 501, 42628, 501, 42630, 501, 42632, 501, 42634, 501, 42636, 501, 42638, 501, 42640, 501, 42642, 501, 42644, 501, 42646, 501, 42648, 501, 42650, 501, 42786, 501, 42788, 501, 42790, 501, 42792, 501, 42794, 501, 42796, 501, 42798, 501, 42802, 501, 42804, 501, 42806, 501, 42808, 501, 42810, 501, 42812, 501, 42814, 501, 42816, 501, 42818, 501, 42820, 501, 42822, 501, 42824, 501, 42826, 501, 42828, 501, 42830, 501, 42832, 501, 42834, 501, 42836, 501, 42838, 501, 42840, 501, 42842, 501, 42844, 501, 42846, 501, 42848, 501, 42850, 501, 42852, 501, 42854, 501, 42856, 501, 42858, 501, 42860, 501, 42862, 501, 42873, 501, 42875, 501, 42877, (-34832), 42878, 501, 42880, 501, 42882, 501, 42884, 501, 42886, 501, 42891, 501, 42893, (-41780), 42896, 501, 42898, 501, 42902, 501, 42904, 501, 42906, 501, 42908, 501, 42910, 501, 42912, 501, 42914, 501, 42916, 501, 42918, 501, 42920, 501, 42922, (-41808), 42923, (-41819), 42924, (-41815), 42925, (-41805), 42926, (-41808), 42928, (-41758), 42929, (-41782), 42930, (-41761), 42931, 1428, 42932, 501, 42934, 501, 42936, 501, 42938, 501, 42940, 501, 42942, 501, 42946, 501, 42948, 452, 42949, (-41807), 42950, (-34884)]); + var toLowerRanges_1157628916 = new Int32Array([65, 90, 532, 192, 214, 532, 216, 222, 532, 393, 394, 705, 433, 434, 717, 904, 906, 537, 910, 911, 563, 913, 929, 532, 931, 939, 532, 1021, 1023, 370, 1024, 1039, 580, 1040, 1071, 532, 1329, 1366, 548, 4256, 4293, 7764, 5024, 5103, 39364, 5104, 5109, 508, 7312, 7354, (-2508), 7357, 7359, (-2508), 7944, 7951, 492, 7960, 7965, 492, 7976, 7983, 492, 7992, 7999, 492, 8008, 8013, 492, 8040, 8047, 492, 8072, 8079, 492, 8088, 8095, 492, 8104, 8111, 492, 8120, 8121, 492, 8122, 8123, 426, 8136, 8139, 414, 8152, 8153, 492, 8154, 8155, 400, 8168, 8169, 492, 8170, 8171, 388, 8184, 8185, 372, 8186, 8187, 374, 11264, 11310, 548, 11390, 11391, (-10315), 65313, 65338, 532, 66560, 66599, 540, 66736, 66771, 540, 68736, 68786, 564, 71840, 71871, 532, 93760, 93791, 532, 125184, 125217, 534]); + var toLowerSinglets_1157628917 = new Int32Array([256, 501, 258, 501, 260, 501, 262, 501, 264, 501, 266, 501, 268, 501, 270, 501, 272, 501, 274, 501, 276, 501, 278, 501, 280, 501, 282, 501, 284, 501, 286, 501, 288, 501, 290, 501, 292, 501, 294, 501, 296, 501, 298, 501, 300, 501, 302, 501, 304, 301, 306, 501, 308, 501, 310, 501, 313, 501, 315, 501, 317, 501, 319, 501, 321, 501, 323, 501, 325, 501, 327, 501, 330, 501, 332, 501, 334, 501, 336, 501, 338, 501, 340, 501, 342, 501, 344, 501, 346, 501, 348, 501, 350, 501, 352, 501, 354, 501, 356, 501, 358, 501, 360, 501, 362, 501, 364, 501, 366, 501, 368, 501, 370, 501, 372, 501, 374, 501, 376, 379, 377, 501, 379, 501, 381, 501, 385, 710, 386, 501, 388, 501, 390, 706, 391, 501, 395, 501, 398, 579, 399, 702, 400, 703, 401, 501, 403, 705, 404, 707, 406, 711, 407, 709, 408, 501, 412, 711, 413, 713, 415, 714, 416, 501, 418, 501, 420, 501, 422, 718, 423, 501, 425, 718, 428, 501, 430, 718, 431, 501, 435, 501, 437, 501, 439, 719, 440, 501, 444, 501, 452, 502, 453, 501, 455, 502, 456, 501, 458, 502, 459, 501, 461, 501, 463, 501, 465, 501, 467, 501, 469, 501, 471, 501, 473, 501, 475, 501, 478, 501, 480, 501, 482, 501, 484, 501, 486, 501, 488, 501, 490, 501, 492, 501, 494, 501, 497, 502, 498, 501, 500, 501, 502, 403, 503, 444, 504, 501, 506, 501, 508, 501, 510, 501, 512, 501, 514, 501, 516, 501, 518, 501, 520, 501, 522, 501, 524, 501, 526, 501, 528, 501, 530, 501, 532, 501, 534, 501, 536, 501, 538, 501, 540, 501, 542, 501, 544, 370, 546, 501, 548, 501, 550, 501, 552, 501, 554, 501, 556, 501, 558, 501, 560, 501, 562, 501, 570, 11295, 571, 501, 573, 337, 574, 11292, 577, 501, 579, 305, 580, 569, 581, 571, 582, 501, 584, 501, 586, 501, 588, 501, 590, 501, 880, 501, 882, 501, 886, 501, 895, 616, 902, 538, 908, 564, 975, 508, 984, 501, 986, 501, 988, 501, 990, 501, 992, 501, 994, 501, 996, 501, 998, 501, 1000, 501, 1002, 501, 1004, 501, 1006, 501, 1012, 440, 1015, 501, 1017, 493, 1018, 501, 1120, 501, 1122, 501, 1124, 501, 1126, 501, 1128, 501, 1130, 501, 1132, 501, 1134, 501, 1136, 501, 1138, 501, 1140, 501, 1142, 501, 1144, 501, 1146, 501, 1148, 501, 1150, 501, 1152, 501, 1162, 501, 1164, 501, 1166, 501, 1168, 501, 1170, 501, 1172, 501, 1174, 501, 1176, 501, 1178, 501, 1180, 501, 1182, 501, 1184, 501, 1186, 501, 1188, 501, 1190, 501, 1192, 501, 1194, 501, 1196, 501, 1198, 501, 1200, 501, 1202, 501, 1204, 501, 1206, 501, 1208, 501, 1210, 501, 1212, 501, 1214, 501, 1216, 515, 1217, 501, 1219, 501, 1221, 501, 1223, 501, 1225, 501, 1227, 501, 1229, 501, 1232, 501, 1234, 501, 1236, 501, 1238, 501, 1240, 501, 1242, 501, 1244, 501, 1246, 501, 1248, 501, 1250, 501, 1252, 501, 1254, 501, 1256, 501, 1258, 501, 1260, 501, 1262, 501, 1264, 501, 1266, 501, 1268, 501, 1270, 501, 1272, 501, 1274, 501, 1276, 501, 1278, 501, 1280, 501, 1282, 501, 1284, 501, 1286, 501, 1288, 501, 1290, 501, 1292, 501, 1294, 501, 1296, 501, 1298, 501, 1300, 501, 1302, 501, 1304, 501, 1306, 501, 1308, 501, 1310, 501, 1312, 501, 1314, 501, 1316, 501, 1318, 501, 1320, 501, 1322, 501, 1324, 501, 1326, 501, 4295, 7764, 4301, 7764, 7680, 501, 7682, 501, 7684, 501, 7686, 501, 7688, 501, 7690, 501, 7692, 501, 7694, 501, 7696, 501, 7698, 501, 7700, 501, 7702, 501, 7704, 501, 7706, 501, 7708, 501, 7710, 501, 7712, 501, 7714, 501, 7716, 501, 7718, 501, 7720, 501, 7722, 501, 7724, 501, 7726, 501, 7728, 501, 7730, 501, 7732, 501, 7734, 501, 7736, 501, 7738, 501, 7740, 501, 7742, 501, 7744, 501, 7746, 501, 7748, 501, 7750, 501, 7752, 501, 7754, 501, 7756, 501, 7758, 501, 7760, 501, 7762, 501, 7764, 501, 7766, 501, 7768, 501, 7770, 501, 7772, 501, 7774, 501, 7776, 501, 7778, 501, 7780, 501, 7782, 501, 7784, 501, 7786, 501, 7788, 501, 7790, 501, 7792, 501, 7794, 501, 7796, 501, 7798, 501, 7800, 501, 7802, 501, 7804, 501, 7806, 501, 7808, 501, 7810, 501, 7812, 501, 7814, 501, 7816, 501, 7818, 501, 7820, 501, 7822, 501, 7824, 501, 7826, 501, 7828, 501, 7838, (-7115), 7840, 501, 7842, 501, 7844, 501, 7846, 501, 7848, 501, 7850, 501, 7852, 501, 7854, 501, 7856, 501, 7858, 501, 7860, 501, 7862, 501, 7864, 501, 7866, 501, 7868, 501, 7870, 501, 7872, 501, 7874, 501, 7876, 501, 7878, 501, 7880, 501, 7882, 501, 7884, 501, 7886, 501, 7888, 501, 7890, 501, 7892, 501, 7894, 501, 7896, 501, 7898, 501, 7900, 501, 7902, 501, 7904, 501, 7906, 501, 7908, 501, 7910, 501, 7912, 501, 7914, 501, 7916, 501, 7918, 501, 7920, 501, 7922, 501, 7924, 501, 7926, 501, 7928, 501, 7930, 501, 7932, 501, 7934, 501, 8025, 492, 8027, 492, 8029, 492, 8031, 492, 8124, 491, 8140, 491, 8172, 493, 8188, 491, 8486, (-7017), 8490, (-7883), 8491, (-7762), 8498, 528, 8579, 501, 11360, 501, 11362, (-10243), 11363, (-3314), 11364, (-10227), 11367, 501, 11369, 501, 11371, 501, 11373, (-10280), 11374, (-10249), 11375, (-10283), 11376, (-10282), 11378, 501, 11381, 501, 11392, 501, 11394, 501, 11396, 501, 11398, 501, 11400, 501, 11402, 501, 11404, 501, 11406, 501, 11408, 501, 11410, 501, 11412, 501, 11414, 501, 11416, 501, 11418, 501, 11420, 501, 11422, 501, 11424, 501, 11426, 501, 11428, 501, 11430, 501, 11432, 501, 11434, 501, 11436, 501, 11438, 501, 11440, 501, 11442, 501, 11444, 501, 11446, 501, 11448, 501, 11450, 501, 11452, 501, 11454, 501, 11456, 501, 11458, 501, 11460, 501, 11462, 501, 11464, 501, 11466, 501, 11468, 501, 11470, 501, 11472, 501, 11474, 501, 11476, 501, 11478, 501, 11480, 501, 11482, 501, 11484, 501, 11486, 501, 11488, 501, 11490, 501, 11499, 501, 11501, 501, 11506, 501, 42560, 501, 42562, 501, 42564, 501, 42566, 501, 42568, 501, 42570, 501, 42572, 501, 42574, 501, 42576, 501, 42578, 501, 42580, 501, 42582, 501, 42584, 501, 42586, 501, 42588, 501, 42590, 501, 42592, 501, 42594, 501, 42596, 501, 42598, 501, 42600, 501, 42602, 501, 42604, 501, 42624, 501, 42626, 501, 42628, 501, 42630, 501, 42632, 501, 42634, 501, 42636, 501, 42638, 501, 42640, 501, 42642, 501, 42644, 501, 42646, 501, 42648, 501, 42650, 501, 42786, 501, 42788, 501, 42790, 501, 42792, 501, 42794, 501, 42796, 501, 42798, 501, 42802, 501, 42804, 501, 42806, 501, 42808, 501, 42810, 501, 42812, 501, 42814, 501, 42816, 501, 42818, 501, 42820, 501, 42822, 501, 42824, 501, 42826, 501, 42828, 501, 42830, 501, 42832, 501, 42834, 501, 42836, 501, 42838, 501, 42840, 501, 42842, 501, 42844, 501, 42846, 501, 42848, 501, 42850, 501, 42852, 501, 42854, 501, 42856, 501, 42858, 501, 42860, 501, 42862, 501, 42873, 501, 42875, 501, 42877, (-34832), 42878, 501, 42880, 501, 42882, 501, 42884, 501, 42886, 501, 42891, 501, 42893, (-41780), 42896, 501, 42898, 501, 42902, 501, 42904, 501, 42906, 501, 42908, 501, 42910, 501, 42912, 501, 42914, 501, 42916, 501, 42918, 501, 42920, 501, 42922, (-41808), 42923, (-41819), 42924, (-41815), 42925, (-41805), 42926, (-41808), 42928, (-41758), 42929, (-41782), 42930, (-41761), 42931, 1428, 42932, 501, 42934, 501, 42936, 501, 42938, 501, 42940, 501, 42942, 501, 42946, 501, 42948, 452, 42949, (-41807), 42950, (-34884)]); function absInt(a_33557098) { var Temporary1; @@ -1911,303 +1887,25 @@ function absInt(a_33557098) { return result_33557099; } - var castingOnAnimations_520093731 = [[32,99,97,115,116,105,110,103,45,111,110,45,115,107,121,32], [32,99,97,115,116,105,110,103,45,111,110,45,122,101,114,111,32], [32,99,97,115,116,105,110,103,45,111,110,45,115,116,101,101,108,32], [32,99,97,115,116,105,110,103,45,111,110,45,114,101,118,101,114,105,101,32], [32,99,97,115,116,105,110,103,45,111,110,45,100,97,121,98,114,101,97,107,32]]; - var castingAnimations_520093730 = [[32,99,97,115,116,105,110,103,45,115,107,121,32], [32,99,97,115,116,105,110,103,45,122,101,114,111,32], [32,99,97,115,116,105,110,103,45,115,116,101,101,108,32], [32,99,97,115,116,105,110,103,45,114,101,118,101,114,105,101,32], [32,99,97,115,116,105,110,103,45,100,97,121,98,114,101,97,107,32]]; -var F = {procname: "module kbase", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/kbase.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module kbase", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/kbase.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module dom", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/js/dom.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module dom", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/js/dom.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module kdom", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/kdom.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module kdom", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/kdom.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module macros", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/core/macros.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module macros", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/core/macros.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module parseutils", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/parseutils.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module parseutils", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/parseutils.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module bitops_utils", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/private/bitops_utils.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module bitops_utils", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/private/bitops_utils.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module countbits_impl", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/countbits_impl.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module countbits_impl", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/countbits_impl.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module bitops", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/bitops.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module bitops", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/bitops.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module fenv", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/fenv.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module fenv", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/fenv.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module math", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/math.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module math", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/math.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module algorithm", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/algorithm.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module algorithm", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/algorithm.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module typetraits", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/typetraits.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module typetraits", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/typetraits.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module enumutils", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/enumutils.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module enumutils", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/enumutils.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module strbasics", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/strbasics.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module strbasics", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/strbasics.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module unicode", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/unicode.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module unicode", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/unicode.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module strimpl", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/private/strimpl.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module strimpl", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/private/strimpl.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module strutils", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/strutils.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module strutils", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/strutils.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module jdict", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/jdict.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module jdict", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/jdict.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module jstrutils", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/jstrutils.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module jstrutils", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/jstrutils.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module vstyles", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/vstyles.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module vstyles", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/vstyles.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module vdom", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/vdom.nim", line: 0}; -framePtr = F; -F.line = 75; -F.filename = "vdom.nim"; -var svgNamespace_721420514 = [[104,116,116,112,58,47,47,119,119,119,46,119,51,46,111,114,103,47,50,48,48,48,47,115,118,103]]; -F.line = 76; -var mathNamespace_721420515 = [[104,116,116,112,58,47,47,119,119,119,46,119,51,46,111,114,103,47,49,57,57,56,47,77,97,116,104,47,77,97,116,104,77,76]]; -F.line = 224; -var gid_721421004 = [0]; -framePtr = F.prev; -var F = {procname: "module vdom", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/vdom.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module hashes", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/hashes.nim", line: 0}; -framePtr = F; -F.line = 218; -F.filename = "hashes.nim"; -var objectID_1124073649 = [0]; -framePtr = F.prev; -var F = {procname: "module hashes", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/hashes.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module outparams", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/outparams.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module outparams", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/outparams.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module tables", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/tables.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module tables", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/tables.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module compact", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/compact.nim", line: 0}; -framePtr = F; -F.line = 10; -F.filename = "compact.nim"; -var vcomponents_754974733 = [{}]; -F.line = 22; -framePtr = F.prev; -var F = {procname: "module compact", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/compact.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module karax", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; -framePtr = F; -F.line = 60; -F.filename = "karax.nim"; + var castingOnAnimations_553648163 = [[32,99,97,115,116,105,110,103,45,111,110,45,115,107,121,32], [32,99,97,115,116,105,110,103,45,111,110,45,122,101,114,111,32], [32,99,97,115,116,105,110,103,45,111,110,45,115,116,101,101,108,32], [32,99,97,115,116,105,110,103,45,111,110,45,114,101,118,101,114,105,101,32], [32,99,97,115,116,105,110,103,45,111,110,45,100,97,121,98,114,101,97,107,32]]; + var castingAnimations_553648162 = [[32,99,97,115,116,105,110,103,45,115,107,121,32], [32,99,97,115,116,105,110,103,45,122,101,114,111,32], [32,99,97,115,116,105,110,103,45,115,116,101,101,108,32], [32,99,97,115,116,105,110,103,45,114,101,118,101,114,105,101,32], [32,99,97,115,116,105,110,103,45,100,97,121,98,114,101,97,107,32]]; +var svgNamespace_754974946 = [[104,116,116,112,58,47,47,119,119,119,46,119,51,46,111,114,103,47,50,48,48,48,47,115,118,103]]; +var mathNamespace_754974947 = [[104,116,116,112,58,47,47,119,119,119,46,119,51,46,111,114,103,47,49,57,57,56,47,77,97,116,104,47,77,97,116,104,77,76]]; +var gid_754975436 = [0]; +var objectID_1308623025 = [0]; +var vcomponents_788529165 = [{}]; var kxi__ = null; -framePtr = F.prev; -var F = {procname: "module karax", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module karaxdsl", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karaxdsl.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module karaxdsl", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karaxdsl.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module errors", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/errors.nim", line: 0}; -framePtr = F; -F.line = 6; -F.filename = "errors.nim"; -var gerrorMsgs_1207959558 = [{}]; -F.line = 7; -var gerrorCounter_1207959559 = [0]; -framePtr = F.prev; -var F = {procname: "module errors", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/errors.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module options", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/options.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module options", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/options.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module sequtils", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/sequtils.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module sequtils", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/sequtils.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module piece", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module piece", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module board", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/board.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module board", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/board.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module moves", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/moves.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module moves", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/moves.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module basePieces", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/basePieces.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module basePieces", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/basePieces.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module jsffi", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/js/jsffi.nim", line: 0}; -framePtr = F; -F.line = 45; -F.filename = "jsffi.nim"; -F.line = 46; -framePtr = F.prev; -var F = {procname: "module jsffi", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/js/jsffi.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module underscored_calls", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/private/underscored_calls.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module underscored_calls", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/private/underscored_calls.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module sugar", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/sugar.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module sugar", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/sugar.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module jscore", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/js/jscore.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module jscore", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/js/jscore.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module times", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/times.nim", line: 0}; -framePtr = F; -F.line = 1371; -F.filename = "times.nim"; -if (globalThis.utcInstance_1409287800 === undefined) { - globalThis.utcInstance_1409287800 = [null]; -} -F.line = 1372; -if (globalThis.localInstance_1409287801 === undefined) { - globalThis.localInstance_1409287801 = [null]; -} -framePtr = F.prev; -var F = {procname: "module times", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/times.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module random", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/random.nim", line: 0}; -framePtr = F; -F.line = 109; -F.filename = "random.nim"; -var state_1392508942 = [{a0: 1773455756, a1: 4275166512}]; -framePtr = F.prev; -var F = {procname: "module random", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/random.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module port", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/port.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module port", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/port.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module strformat", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/strformat.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module strformat", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/strformat.nim", line: 0}; -framePtr = F; -framePtr = F.prev; - -function HEX3Aanonymous_1442840633(__1442840634, __1442840635, __1442840636, __1442840637) { - var F = {procname: "power.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/power.nim", line: 0}; - framePtr = F; - framePtr = F.prev; +var gerrorMsgs_1459617798 = [{}]; +var gerrorCounter_1459617799 = [0]; +if (globalThis.utcInstance_1660946040 === undefined) { + globalThis.utcInstance_1660946040 = [null]; +} +if (globalThis.localInstance_1660946041 === undefined) { + globalThis.localInstance_1660946041 = [null]; +} +var state_1644167182 = [{a0: 1773455756, a1: 4275166512}]; +function HEX3Aanonymous_1728053305(__1728053306, __1728053307, __1728053308, __1728053309) { } @@ -2261,23 +1959,54 @@ function add_33556373(x_33556374, x_33556374_Idx, y_33556375) { } -function raiseRangeError() { - raiseException({message: [118,97,108,117,101,32,111,117,116,32,111,102,32,114,97,110,103,101], parent: null, m_type: NTI134217751, name: null, trace: [], up: null}, "RangeDefect"); +function newSeq_33556919(len_33556921) { + var result_33556922 = []; - -} + result_33556922 = new Array(len_33556921); for (var i = 0 ; i < len_33556921 ; ++i) { result_33556922[i] = null; } + return result_33556922; -function raiseIndexError(i_33556812, a_33556813, b_33556814) { - var Temporary1; +} - if ((b_33556814 < a_33556813)) { - Temporary1 = [105,110,100,101,120,32,111,117,116,32,111,102,32,98,111,117,110,100,115,44,32,116,104,101,32,99,111,110,116,97,105,110,101,114,32,105,115,32,101,109,112,116,121]; +function unhandledException(e_33556649) { + var buf_33556650 = [[]]; + if (!(((e_33556649.message).length == 0))) { + buf_33556650[0].push.apply(buf_33556650[0], [69,114,114,111,114,58,32,117,110,104,97,110,100,108,101,100,32,101,120,99,101,112,116,105,111,110,58,32]);; + buf_33556650[0].push.apply(buf_33556650[0], e_33556649.message);; } else { - Temporary1 = ([105,110,100,101,120,32] || []).concat(HEX24_369098760(i_33556812) || [],[32,110,111,116,32,105,110,32] || [],HEX24_369098760(a_33556813) || [],[32,46,46,32] || [],HEX24_369098760(b_33556814) || []); + buf_33556650[0].push.apply(buf_33556650[0], [69,114,114,111,114,58,32,117,110,104,97,110,100,108,101,100,32,101,120,99,101,112,116,105,111,110]);; } - raiseException({message: nimCopy(null, Temporary1, NTI33554449), parent: null, m_type: NTI134217749, name: null, trace: [], up: null}, "IndexDefect"); + buf_33556650[0].push.apply(buf_33556650[0], [32,91]);; + add_33556373(buf_33556650, 0, e_33556649.name); + buf_33556650[0].push.apply(buf_33556650[0], [93,10]);; + var cbuf_33556651 = toJSStr(buf_33556650[0]); + if (typeof(Error) !== "undefined") { + throw new Error(cbuf_33556651); + } + else { + throw cbuf_33556651; + } + + + +} + +function raiseOverflow() { + raiseException({message: [111,118,101,114,45,32,111,114,32,117,110,100,101,114,102,108,111,119], parent: null, m_type: NTI134217743, name: null, trace: [], up: null}, "OverflowDefect"); + + +} + +function checkOverflowInt(a_33557048) { + if (a_33557048 > 2147483647 || a_33557048 < -2147483648) raiseOverflow(); + + + +} + +function raiseRangeError() { + raiseException({message: [118,97,108,117,101,32,111,117,116,32,111,102,32,114,97,110,103,101], parent: null, m_type: NTI134217751, name: null, trace: [], up: null}, "RangeDefect"); } @@ -2285,1126 +2014,624 @@ function raiseIndexError(i_33556812, a_33556813, b_33556814) { function addChars_301990090(result_301990092, result_301990092_Idx, x_301990093, start_301990094, n_301990095) { var Temporary1; - var F = {procname: "addChars.addChars", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/private/digitsutils.nim", line: 0}; - framePtr = F; - F.line = 43; - F.filename = "digitsutils.nim"; var old_301990096 = (result_301990092[result_301990092_Idx]).length; - F.line = 44; if (result_301990092[result_301990092_Idx].length < (Temporary1 = chckRange(addInt(old_301990096, n_301990095), 0, 2147483647), Temporary1)) { for (var i = result_301990092[result_301990092_Idx].length; i < Temporary1; ++i) result_301990092[result_301990092_Idx].push(0); } else {result_301990092[result_301990092_Idx].length = Temporary1; }; Label2: { - F.line = 46; var iHEX60gensym4_301990110 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1442843554 = 0; + var i_1728056221 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1442843554 < n_301990095)) break Label4; - F.line = 49; - F.filename = "digitsutils.nim"; - iHEX60gensym4_301990110 = i_1442843554; - F.line = 46; + if (!(i_1728056221 < n_301990095)) break Label4; + iHEX60gensym4_301990110 = i_1728056221; result_301990092[result_301990092_Idx][chckIndx(addInt(old_301990096, iHEX60gensym4_301990110), 0, (result_301990092[result_301990092_Idx]).length - 1)] = x_301990093.charCodeAt(chckIndx(addInt(start_301990094, iHEX60gensym4_301990110), 0, (x_301990093).length - 1)); - F.line = 131; - F.filename = "iterators_1.nim"; - i_1442843554 = addInt(i_1442843554, 1); + i_1728056221 = addInt(i_1728056221, 1); } }; }; - framePtr = F.prev; } function addChars_301990086(result_301990088, result_301990088_Idx, x_301990089) { - var F = {procname: "addChars.addChars", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/private/digitsutils.nim", line: 0}; - framePtr = F; - F.line = 55; - F.filename = "digitsutils.nim"; addChars_301990090(result_301990088, result_301990088_Idx, x_301990089, 0, ((x_301990089) == null ? 0 : (x_301990089).length)); - framePtr = F.prev; } function addInt_301990111(result_301990112, result_301990112_Idx, x_301990113) { - var F = {procname: "digitsutils.addInt", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/private/digitsutils.nim", line: 0}; - framePtr = F; - F.line = 111; - F.filename = "digitsutils.nim"; addChars_301990086(result_301990112, result_301990112_Idx, ((x_301990113) + "")); - framePtr = F.prev; } function addInt_301990129(result_301990130, result_301990130_Idx, x_301990131) { - var F = {procname: "digitsutils.addInt", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/private/digitsutils.nim", line: 0}; - framePtr = F; - F.line = 115; - F.filename = "digitsutils.nim"; addInt_301990111(result_301990130, result_301990130_Idx, BigInt(x_301990131)); - framePtr = F.prev; } -function HEX24_369098760(x_369098761) { - var result_369098762 = [[]]; +function HEX24_385875976(x_385875977) { + var result_385875978 = [[]]; - var F = {procname: "dollars.$", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/dollars.nim", line: 0}; - framePtr = F; - F.line = 18; - F.filename = "dollars.nim"; - addInt_301990129(result_369098762, 0, x_369098761); - framePtr = F.prev; + addInt_301990129(result_385875978, 0, x_385875977); - return result_369098762[0]; + return result_385875978[0]; } -function auxWriteStackTrace_33556508(f_33556509) { - var result_33556510 = [[]]; - - var it_33556518 = f_33556509; - var i_33556519 = 0; - var total_33556520 = 0; - var tempFrames_33556521 = arrayConstr(64, {Field0: null, Field1: 0, Field2: null}, NTI33555838); - Label1: { - Label2: while (true) { - if (!(!((it_33556518 == null)) && (i_33556519 <= 63))) break Label2; - tempFrames_33556521[i_33556519].Field0 = it_33556518.procname; - tempFrames_33556521[i_33556519].Field1 = it_33556518.line; - tempFrames_33556521[i_33556519].Field2 = it_33556518.filename; - i_33556519 += 1; - total_33556520 += 1; - it_33556518 = it_33556518.prev; - } - }; - Label3: { - Label4: while (true) { - if (!!((it_33556518 == null))) break Label4; - total_33556520 += 1; - it_33556518 = it_33556518.prev; - } - }; - result_33556510[0] = nimCopy(null, [], NTI33554449); - if (!((total_33556520 == i_33556519))) { - result_33556510[0].push.apply(result_33556510[0], [40]);; - result_33556510[0].push.apply(result_33556510[0], HEX24_369098760((total_33556520 - i_33556519)));; - result_33556510[0].push.apply(result_33556510[0], [32,99,97,108,108,115,32,111,109,105,116,116,101,100,41,32,46,46,46,10]);; - } - - Label5: { - var j_33556554 = 0; - var colontmp__1442843546 = 0; - colontmp__1442843546 = (i_33556519 - 1); - var res_1442843548 = colontmp__1442843546; - Label6: { - Label7: while (true) { - if (!(0 <= res_1442843548)) break Label7; - j_33556554 = res_1442843548; - result_33556510[0].push.apply(result_33556510[0], cstrToNimstr(tempFrames_33556521[j_33556554].Field2));; - if ((0 < tempFrames_33556521[j_33556554].Field1)) { - result_33556510[0].push.apply(result_33556510[0], [40]);; - addInt_301990129(result_33556510, 0, tempFrames_33556521[j_33556554].Field1); - if (false) { - result_33556510[0].push.apply(result_33556510[0], [44,32]);; - addInt_301990129(result_33556510, 0, 0); - } - - result_33556510[0].push.apply(result_33556510[0], [41]);; - } - - result_33556510[0].push.apply(result_33556510[0], [32,97,116,32]);; - add_33556373(result_33556510, 0, tempFrames_33556521[j_33556554].Field0); - result_33556510[0].push.apply(result_33556510[0], [10]);; - res_1442843548 -= 1; - } - }; - }; - - return result_33556510[0]; - -} - -function rawWriteStackTrace_33556604() { - var result_33556605 = []; - - if (!((framePtr == null))) { - result_33556605 = nimCopy(null, ([84,114,97,99,101,98,97,99,107,32,40,109,111,115,116,32,114,101,99,101,110,116,32,99,97,108,108,32,108,97,115,116,41,10] || []).concat(auxWriteStackTrace_33556508(framePtr) || []), NTI33554449); - } - else { - result_33556605 = nimCopy(null, [78,111,32,115,116,97,99,107,32,116,114,97,99,101,98,97,99,107,32,97,118,97,105,108,97,98,108,101,10], NTI33554449); - } - - - return result_33556605; - -} - -function newSeq_33556919(len_33556921) { - var result_33556922 = []; - - var F = {procname: "newSeq.newSeq", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 633; - F.filename = "system.nim"; - result_33556922 = new Array(len_33556921); for (var i = 0 ; i < len_33556921 ; ++i) { result_33556922[i] = null; } framePtr = F.prev; - - return result_33556922; - -} +function raiseIndexError(i_33556812, a_33556813, b_33556814) { + var Temporary1; -function unhandledException(e_33556649) { - var buf_33556650 = [[]]; - if (!(((e_33556649.message).length == 0))) { - buf_33556650[0].push.apply(buf_33556650[0], [69,114,114,111,114,58,32,117,110,104,97,110,100,108,101,100,32,101,120,99,101,112,116,105,111,110,58,32]);; - buf_33556650[0].push.apply(buf_33556650[0], e_33556649.message);; + if ((b_33556814 < a_33556813)) { + Temporary1 = [105,110,100,101,120,32,111,117,116,32,111,102,32,98,111,117,110,100,115,44,32,116,104,101,32,99,111,110,116,97,105,110,101,114,32,105,115,32,101,109,112,116,121]; } else { - buf_33556650[0].push.apply(buf_33556650[0], [69,114,114,111,114,58,32,117,110,104,97,110,100,108,101,100,32,101,120,99,101,112,116,105,111,110]);; + Temporary1 = ([105,110,100,101,120,32] || []).concat(HEX24_385875976(i_33556812) || [],[32,110,111,116,32,105,110,32] || [],HEX24_385875976(a_33556813) || [],[32,46,46,32] || [],HEX24_385875976(b_33556814) || []); } - buf_33556650[0].push.apply(buf_33556650[0], [32,91]);; - add_33556373(buf_33556650, 0, e_33556649.name); - buf_33556650[0].push.apply(buf_33556650[0], [93,10]);; - buf_33556650[0].push.apply(buf_33556650[0], rawWriteStackTrace_33556604());; - var cbuf_33556651 = toJSStr(buf_33556650[0]); - framePtr = null; - if (typeof(Error) !== "undefined") { - throw new Error(cbuf_33556651); - } - else { - throw cbuf_33556651; - } - - - -} - -function raiseOverflow() { - raiseException({message: [111,118,101,114,45,32,111,114,32,117,110,100,101,114,102,108,111,119], parent: null, m_type: NTI134217743, name: null, trace: [], up: null}, "OverflowDefect"); - - -} - -function checkOverflowInt(a_33557048) { - if (a_33557048 > 2147483647 || a_33557048 < -2147483648) raiseOverflow(); - + raiseException({message: nimCopy(null, Temporary1, NTI33554449), parent: null, m_type: NTI134217749, name: null, trace: [], up: null}, "IndexDefect"); } -function seqOf_1442841385(t_1442841386) { - var result_1442841387 = null; - var result_1442841387_Idx = 0; +function seqOf_1728054057(t_1728054058) { + var result_1728054059 = null; + var result_1728054059_Idx = 0; - var F = {procname: "power.seqOf", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/power.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 148; - F.filename = "power.nim"; - switch (t_1442841386) { + switch (t_1728054058) { case 0: - F.line = 149; - result_1442841387 = commonPowers_1442840653; result_1442841387_Idx = 0; + result_1728054059 = commonPowers_1728053325; result_1728054059_Idx = 0; break BeforeRet; break; case 1: - F.line = 150; - result_1442841387 = uncommonPowers_1442840654; result_1442841387_Idx = 0; + result_1728054059 = uncommonPowers_1728053326; result_1728054059_Idx = 0; break BeforeRet; break; case 2: - F.line = 151; - result_1442841387 = rarePowers_1442840655; result_1442841387_Idx = 0; + result_1728054059 = rarePowers_1728053327; result_1728054059_Idx = 0; break BeforeRet; break; case 3: - F.line = 152; - result_1442841387 = ultraRarePowers_1442840656; result_1442841387_Idx = 0; + result_1728054059 = ultraRarePowers_1728053328; result_1728054059_Idx = 0; break BeforeRet; break; } }; - framePtr = F.prev; - return [result_1442841387, result_1442841387_Idx]; + return [result_1728054059, result_1728054059_Idx]; } -function registerPower_1442841404(p_1442841405) { +function registerPower_1728054076(p_1728054077) { var Temporary2; - var F = {procname: "power.registerPower", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/power.nim", line: 0}; - framePtr = F; - F.line = 155; - F.filename = "power.nim"; - var x_1442841406 = nimCopy(null, p_1442841405, NTI1442840581); - F.line = 156; - x_1442841406.index = addInt(powers_1442840649[0][chckIndx(subInt((powers_1442840649[0]).length, 1), 0, (powers_1442840649[0]).length - 1)].index, 1); - if (eqStrings(x_1442841406.technicalName, [])) { - F.line = 157; - x_1442841406.technicalName = nimCopy(null, x_1442841406.name, NTI33554449); - } - - F.line = 159; - var Temporary1 = nimCopy(null, x_1442841406, NTI1442840581); - powers_1442840649[0].push(Temporary1);; - F.line = 160; - var Temporary3 = nimCopy(null, x_1442841406, NTI1442840581); - (Temporary2 = seqOf_1442841385(x_1442841406.tier), Temporary2)[0][Temporary2[1]].push(Temporary3);; - framePtr = F.prev; - - -} - -function HEX3Aanonymous_1442840639(__1442840640, __1442840641, __1442840642, __1442840643) { - var F = {procname: "power.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/power.nim", line: 0}; - framePtr = F; - framePtr = F.prev; - - -} -var F = {procname: "module power", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/power.nim", line: 0}; -framePtr = F; -F.line = 86; -F.filename = "power.nim"; -var powers_1442840649 = [[{name: [78,111,116,104,105,110,103,46,32,78,111,116,104,105,110,103,46,46,46], technicalName: [], synergy: false, tier: 0, rarity: 8, description: [84,104,105,115,32,100,111,101,115,32,110,111,116,104,105,110,103,46,32,85,110,108,117,99,107,121,33], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1442840633, index: 0, priority: 10}]]; -F.line = 87; -var draftSynergies_1442840650 = [[]]; -F.line = 88; -var secretSynergies_1442840651 = [[]]; -F.line = 89; -var secretSecretSynergies_1442840652 = [[]]; -F.line = 90; -var commonPowers_1442840653 = [[]]; -F.line = 91; -var uncommonPowers_1442840654 = [[]]; -F.line = 92; -var rarePowers_1442840655 = [[]]; -F.line = 93; -var ultraRarePowers_1442840656 = [[]]; -F.line = 237; -registerPower_1442841404(holy_1442840644); -framePtr = F.prev; -var F = {procname: "module power", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/power.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module extramoves", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module extramoves", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module capitalism", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/capitalism.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module capitalism", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/capitalism.nim", line: 0}; -framePtr = F; -framePtr = F.prev; - -function isAir_1224737796(p_1224737797) { - var result_1224737798 = false; - - var F = {procname: "piece.isAir", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; + var x_1728054078 = nimCopy(null, p_1728054077, NTI1728053253); + x_1728054078.index = addInt(powers_1728053321[0][chckIndx(subInt((powers_1728053321[0]).length, 1), 0, (powers_1728053321[0]).length - 1)].index, 1); + if (eqStrings(x_1728054078.technicalName, [])) { + x_1728054078.technicalName = nimCopy(null, x_1728054078.name, NTI33554449); + } + + var Temporary1 = nimCopy(null, x_1728054078, NTI1728053253); + powers_1728053321[0].push(Temporary1);; + var Temporary3 = nimCopy(null, x_1728054078, NTI1728053253); + (Temporary2 = seqOf_1728054057(x_1728054078.tier), Temporary2)[0][Temporary2[1]].push(Temporary3);; + + +} + +function HEX3Aanonymous_1728053311(__1728053312, __1728053313, __1728053314, __1728053315) { + +} +var powers_1728053321 = [[{name: [78,111,116,104,105,110,103,46,32,78,111,116,104,105,110,103,46,46,46], technicalName: [], synergy: false, tier: 0, rarity: 8, description: [84,104,105,115,32,100,111,101,115,32,110,111,116,104,105,110,103,46,32,85,110,108,117,99,107,121,33], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1728053305, index: 0, priority: 10}]]; +var draftSynergies_1728053322 = [[]]; +var secretSynergies_1728053323 = [[]]; +var secretSecretSynergies_1728053324 = [[]]; +var commonPowers_1728053325 = [[]]; +var uncommonPowers_1728053326 = [[]]; +var rarePowers_1728053327 = [[]]; +var ultraRarePowers_1728053328 = [[]]; +registerPower_1728054076(holy_1728053316); + +function isAir_1476396036(p_1476396037) { + var result_1476396038 = false; + BeforeRet: { - F.line = 302; - F.filename = "piece.nim"; - result_1224737798 = (p_1224737797.item == 6); + result_1476396038 = (p_1476396037.item == 6); break BeforeRet; }; - framePtr = F.prev; - return result_1224737798; + return result_1476396038; } -function isColor_1224737813(a_1224737814, b_1224737815) { - var result_1224737816 = false; +function isColor_1476396053(a_1476396054, b_1476396055) { + var result_1476396056 = false; - var F = {procname: "piece.isColor", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 308; - F.filename = "piece.nim"; - result_1224737816 = ((a_1224737814.color == b_1224737815) && !(isAir_1224737796(a_1224737814))); + result_1476396056 = ((a_1476396054.color == b_1476396055) && !(isAir_1476396036(a_1476396054))); break BeforeRet; }; - framePtr = F.prev; - return result_1224737816; + return result_1476396056; } -function add_1493172278(x_1493172280, x_1493172280_Idx, y_1493172281) { +function add_1845493814(x_1845493816, x_1845493816_Idx, y_1845493817) { var Temporary1; - var F = {procname: "add.add", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 1210; - F.filename = "system.nim"; - var xl_1493172285 = (x_1493172280[x_1493172280_Idx]).length; - F.line = 1211; - if (x_1493172280[x_1493172280_Idx].length < (Temporary1 = chckRange(addInt(xl_1493172285, (y_1493172281).length), 0, 2147483647), Temporary1)) { for (var i = x_1493172280[x_1493172280_Idx].length ; i < Temporary1 ; ++i) x_1493172280[x_1493172280_Idx].push(null); } - else { x_1493172280[x_1493172280_Idx].length = Temporary1; }; + var xl_1845493821 = (x_1845493816[x_1845493816_Idx]).length; + if (x_1845493816[x_1845493816_Idx].length < (Temporary1 = chckRange(addInt(xl_1845493821, (y_1845493817).length), 0, 2147483647), Temporary1)) { for (var i = x_1845493816[x_1845493816_Idx].length ; i < Temporary1 ; ++i) x_1845493816[x_1845493816_Idx].push(null); } + else { x_1845493816[x_1845493816_Idx].length = Temporary1; }; Label2: { - F.line = 1212; - var i_1493172300 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__1493178748 = 0; - F.line = 1212; - F.filename = "system.nim"; - colontmp__1493178748 = (y_1493172281).length - 1; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_1493178749 = 0; + var i_1845493836 = 0; + var colontmp__1845500307 = 0; + colontmp__1845500307 = (y_1845493817).length - 1; + var res_1845500308 = 0; Label3: { - F.line = 97; Label4: while (true) { - if (!(res_1493178749 <= colontmp__1493178748)) break Label4; - F.line = 1212; - F.filename = "system.nim"; - i_1493172300 = res_1493178749; - F.line = 1212; - x_1493172280[x_1493172280_Idx][chckIndx(addInt(xl_1493172285, i_1493172300), 0, (x_1493172280[x_1493172280_Idx]).length - 1)] = y_1493172281[chckIndx(i_1493172300, 0, (y_1493172281).length - 1)]; - F.line = 102; - F.filename = "iterators_1.nim"; - res_1493178749 = addInt(res_1493178749, 1); + if (!(res_1845500308 <= colontmp__1845500307)) break Label4; + i_1845493836 = res_1845500308; + x_1845493816[x_1845493816_Idx][chckIndx(addInt(xl_1845493821, i_1845493836), 0, (x_1845493816[x_1845493816_Idx]).length - 1)] = y_1845493817[chckIndx(i_1845493836, 0, (y_1845493817).length - 1)]; + res_1845500308 = addInt(res_1845500308, 1); } }; }; - framePtr = F.prev; } -function add_1493172305(x_1493172307, x_1493172307_Idx, y_1493172308) { +function add_1845493841(x_1845493843, x_1845493843_Idx, y_1845493844) { var Temporary1; - var F = {procname: "add.add", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 1210; - F.filename = "system.nim"; - var xl_1493172312 = (x_1493172307[x_1493172307_Idx]).length; - F.line = 1211; - if (x_1493172307[x_1493172307_Idx].length < (Temporary1 = chckRange(addInt(xl_1493172312, (y_1493172308).length), 0, 2147483647), Temporary1)) { for (var i = x_1493172307[x_1493172307_Idx].length ; i < Temporary1 ; ++i) x_1493172307[x_1493172307_Idx].push(null); } - else { x_1493172307[x_1493172307_Idx].length = Temporary1; }; + var xl_1845493848 = (x_1845493843[x_1845493843_Idx]).length; + if (x_1845493843[x_1845493843_Idx].length < (Temporary1 = chckRange(addInt(xl_1845493848, (y_1845493844).length), 0, 2147483647), Temporary1)) { for (var i = x_1845493843[x_1845493843_Idx].length ; i < Temporary1 ; ++i) x_1845493843[x_1845493843_Idx].push(null); } + else { x_1845493843[x_1845493843_Idx].length = Temporary1; }; Label2: { - F.line = 1212; - var i_1493172328 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__1493178752 = 0; - F.line = 1212; - F.filename = "system.nim"; - colontmp__1493178752 = (y_1493172308).length - 1; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_1493178753 = 0; + var i_1845493864 = 0; + var colontmp__1845500311 = 0; + colontmp__1845500311 = (y_1845493844).length - 1; + var res_1845500312 = 0; Label3: { - F.line = 97; Label4: while (true) { - if (!(res_1493178753 <= colontmp__1493178752)) break Label4; - F.line = 1212; - F.filename = "system.nim"; - i_1493172328 = res_1493178753; - F.line = 1212; - x_1493172307[x_1493172307_Idx][chckIndx(addInt(xl_1493172312, i_1493172328), 0, (x_1493172307[x_1493172307_Idx]).length - 1)] = y_1493172308[chckIndx(i_1493172328, 0, (y_1493172308).length - 1)]; - F.line = 102; - F.filename = "iterators_1.nim"; - res_1493178753 = addInt(res_1493178753, 1); + if (!(res_1845500312 <= colontmp__1845500311)) break Label4; + i_1845493864 = res_1845500312; + x_1845493843[x_1845493843_Idx][chckIndx(addInt(xl_1845493848, i_1845493864), 0, (x_1845493843[x_1845493843_Idx]).length - 1)] = y_1845493844[chckIndx(i_1845493864, 0, (y_1845493844).length - 1)]; + res_1845500312 = addInt(res_1845500312, 1); } }; }; - framePtr = F.prev; } -function buff_1493172242(piece_1493172243, side_1493172244, b_1493172245, s_1493172246, moves_1493172251, takes_1493172256, onEndturn_1493172261, rotate_1493172262, onPromote_1493172267, whenTaken_1493172268, onTake_1493172269, onMove_1493172270, all_1493172271) { - var F = {procname: "powers.buff", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; +function buff_1845493778(piece_1845493779, side_1845493780, b_1845493781, s_1845493782, moves_1845493787, takes_1845493792, onEndturn_1845493797, rotate_1845493798, onPromote_1845493803, whenTaken_1845493804, onTake_1845493805, onMove_1845493806, all_1845493807) { Label1: { - F.line = 66; - F.filename = "powers.nim"; - var i_1493172272 = 0; - F.line = 66; - var j_1493172273 = 0; + var i_1845493808 = 0; + var j_1845493809 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493178740 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178741 = 0; + var i_1845500299 = 0; + var i_1845500300 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493178741 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493178740 = i_1493178741; + if (!(i_1845500300 < 8)) break Label4; + i_1845500299 = i_1845500300; Label5: { - F.line = 125; - var j_1493178744 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178745 = 0; + var j_1845500303 = 0; + var i_1845500304 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493178745 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493178744 = i_1493178745; - F.line = 66; - F.filename = "powers.nim"; - i_1493172272 = i_1493178740; - F.line = 66; - j_1493172273 = j_1493178744; - if ((((b_1493172245[chckIndx(i_1493172272, 0, (b_1493172245).length - 1)][chckIndx(j_1493172273, 0, (b_1493172245[chckIndx(i_1493172272, 0, (b_1493172245).length - 1)]).length - 1)].item == piece_1493172243) || all_1493172271) && isColor_1224737813(b_1493172245[chckIndx(i_1493172272, 0, (b_1493172245).length - 1)][chckIndx(j_1493172273, 0, (b_1493172245[chckIndx(i_1493172272, 0, (b_1493172245).length - 1)]).length - 1)], side_1493172244))) { - F.line = 68; - add_1493172278(b_1493172245[chckIndx(i_1493172272, 0, (b_1493172245).length - 1)][chckIndx(j_1493172273, 0, (b_1493172245[chckIndx(i_1493172272, 0, (b_1493172245).length - 1)]).length - 1)], "moves", moves_1493172251); - F.line = 69; - add_1493172278(b_1493172245[chckIndx(i_1493172272, 0, (b_1493172245).length - 1)][chckIndx(j_1493172273, 0, (b_1493172245[chckIndx(i_1493172272, 0, (b_1493172245).length - 1)]).length - 1)], "takes", takes_1493172256); - F.line = 70; - add_1493172305(b_1493172245[chckIndx(i_1493172272, 0, (b_1493172245).length - 1)][chckIndx(j_1493172273, 0, (b_1493172245[chckIndx(i_1493172272, 0, (b_1493172245).length - 1)]).length - 1)], "onEndTurn", onEndturn_1493172261); - F.line = 71; - add_1493172305(b_1493172245[chckIndx(i_1493172272, 0, (b_1493172245).length - 1)][chckIndx(j_1493172273, 0, (b_1493172245[chckIndx(i_1493172272, 0, (b_1493172245).length - 1)]).length - 1)], "onPromote", onPromote_1493172267); - if (!((whenTaken_1493172268 == null))) { - F.line = 72; - b_1493172245[chckIndx(i_1493172272, 0, (b_1493172245).length - 1)][chckIndx(j_1493172273, 0, (b_1493172245[chckIndx(i_1493172272, 0, (b_1493172245).length - 1)]).length - 1)].whenTaken = whenTaken_1493172268; + if (!(i_1845500304 < 8)) break Label7; + j_1845500303 = i_1845500304; + i_1845493808 = i_1845500299; + j_1845493809 = j_1845500303; + if ((((b_1845493781[chckIndx(i_1845493808, 0, (b_1845493781).length - 1)][chckIndx(j_1845493809, 0, (b_1845493781[chckIndx(i_1845493808, 0, (b_1845493781).length - 1)]).length - 1)].item == piece_1845493779) || all_1845493807) && isColor_1476396053(b_1845493781[chckIndx(i_1845493808, 0, (b_1845493781).length - 1)][chckIndx(j_1845493809, 0, (b_1845493781[chckIndx(i_1845493808, 0, (b_1845493781).length - 1)]).length - 1)], side_1845493780))) { + add_1845493814(b_1845493781[chckIndx(i_1845493808, 0, (b_1845493781).length - 1)][chckIndx(j_1845493809, 0, (b_1845493781[chckIndx(i_1845493808, 0, (b_1845493781).length - 1)]).length - 1)], "moves", moves_1845493787); + add_1845493814(b_1845493781[chckIndx(i_1845493808, 0, (b_1845493781).length - 1)][chckIndx(j_1845493809, 0, (b_1845493781[chckIndx(i_1845493808, 0, (b_1845493781).length - 1)]).length - 1)], "takes", takes_1845493792); + add_1845493841(b_1845493781[chckIndx(i_1845493808, 0, (b_1845493781).length - 1)][chckIndx(j_1845493809, 0, (b_1845493781[chckIndx(i_1845493808, 0, (b_1845493781).length - 1)]).length - 1)], "onEndTurn", onEndturn_1845493797); + add_1845493841(b_1845493781[chckIndx(i_1845493808, 0, (b_1845493781).length - 1)][chckIndx(j_1845493809, 0, (b_1845493781[chckIndx(i_1845493808, 0, (b_1845493781).length - 1)]).length - 1)], "onPromote", onPromote_1845493803); + if (!((whenTaken_1845493804 == null))) { + b_1845493781[chckIndx(i_1845493808, 0, (b_1845493781).length - 1)][chckIndx(j_1845493809, 0, (b_1845493781[chckIndx(i_1845493808, 0, (b_1845493781).length - 1)]).length - 1)].whenTaken = whenTaken_1845493804; } - if (!((onTake_1493172269 == null))) { - F.line = 73; - b_1493172245[chckIndx(i_1493172272, 0, (b_1493172245).length - 1)][chckIndx(j_1493172273, 0, (b_1493172245[chckIndx(i_1493172272, 0, (b_1493172245).length - 1)]).length - 1)].onTake = onTake_1493172269; + if (!((onTake_1845493805 == null))) { + b_1845493781[chckIndx(i_1845493808, 0, (b_1845493781).length - 1)][chckIndx(j_1845493809, 0, (b_1845493781[chckIndx(i_1845493808, 0, (b_1845493781).length - 1)]).length - 1)].onTake = onTake_1845493805; } - if (!((onMove_1493172270 == null))) { - F.line = 74; - b_1493172245[chckIndx(i_1493172272, 0, (b_1493172245).length - 1)][chckIndx(j_1493172273, 0, (b_1493172245[chckIndx(i_1493172272, 0, (b_1493172245).length - 1)]).length - 1)].onMove = onMove_1493172270; + if (!((onMove_1845493806 == null))) { + b_1845493781[chckIndx(i_1845493808, 0, (b_1845493781).length - 1)][chckIndx(j_1845493809, 0, (b_1845493781[chckIndx(i_1845493808, 0, (b_1845493781).length - 1)]).length - 1)].onMove = onMove_1845493806; } - if (rotate_1493172262) { - F.line = 75; - b_1493172245[chckIndx(i_1493172272, 0, (b_1493172245).length - 1)][chckIndx(j_1493172273, 0, (b_1493172245[chckIndx(i_1493172272, 0, (b_1493172245).length - 1)]).length - 1)].rotate = true; + if (rotate_1845493798) { + b_1845493781[chckIndx(i_1845493808, 0, (b_1845493781).length - 1)][chckIndx(j_1845493809, 0, (b_1845493781[chckIndx(i_1845493808, 0, (b_1845493781).length - 1)]).length - 1)].rotate = true; } } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493178745 = addInt(i_1493178745, 1); + i_1845500304 = addInt(i_1845500304, 1); } }; }; - F.line = 131; - i_1493178741 = addInt(i_1493178741, 1); + i_1845500300 = addInt(i_1845500300, 1); } }; }; }; - F.line = 77; - F.filename = "powers.nim"; - add_1493172278(s_1493172246.Field1[chckIndx(side_1493172244, 0, (s_1493172246.Field1).length - 1)].dna[chckIndx(piece_1493172243, 0, (s_1493172246.Field1[chckIndx(side_1493172244, 0, (s_1493172246.Field1).length - 1)].dna).length - 1)], "moves", moves_1493172251); - F.line = 78; - add_1493172278(s_1493172246.Field1[chckIndx(side_1493172244, 0, (s_1493172246.Field1).length - 1)].dna[chckIndx(piece_1493172243, 0, (s_1493172246.Field1[chckIndx(side_1493172244, 0, (s_1493172246.Field1).length - 1)].dna).length - 1)], "takes", takes_1493172256); - F.line = 79; - add_1493172305(s_1493172246.Field1[chckIndx(side_1493172244, 0, (s_1493172246.Field1).length - 1)].dna[chckIndx(piece_1493172243, 0, (s_1493172246.Field1[chckIndx(side_1493172244, 0, (s_1493172246.Field1).length - 1)].dna).length - 1)], "onEndTurn", onEndturn_1493172261); - F.line = 80; - add_1493172305(s_1493172246.Field1[chckIndx(side_1493172244, 0, (s_1493172246.Field1).length - 1)].dna[chckIndx(piece_1493172243, 0, (s_1493172246.Field1[chckIndx(side_1493172244, 0, (s_1493172246.Field1).length - 1)].dna).length - 1)], "onPromote", onPromote_1493172267); - if (rotate_1493172262) { - F.line = 81; - s_1493172246.Field1[chckIndx(side_1493172244, 0, (s_1493172246.Field1).length - 1)].dna[chckIndx(piece_1493172243, 0, (s_1493172246.Field1[chckIndx(side_1493172244, 0, (s_1493172246.Field1).length - 1)].dna).length - 1)].rotate = true; + add_1845493814(s_1845493782.Field1[chckIndx(side_1845493780, 0, (s_1845493782.Field1).length - 1)].dna[chckIndx(piece_1845493779, 0, (s_1845493782.Field1[chckIndx(side_1845493780, 0, (s_1845493782.Field1).length - 1)].dna).length - 1)], "moves", moves_1845493787); + add_1845493814(s_1845493782.Field1[chckIndx(side_1845493780, 0, (s_1845493782.Field1).length - 1)].dna[chckIndx(piece_1845493779, 0, (s_1845493782.Field1[chckIndx(side_1845493780, 0, (s_1845493782.Field1).length - 1)].dna).length - 1)], "takes", takes_1845493792); + add_1845493841(s_1845493782.Field1[chckIndx(side_1845493780, 0, (s_1845493782.Field1).length - 1)].dna[chckIndx(piece_1845493779, 0, (s_1845493782.Field1[chckIndx(side_1845493780, 0, (s_1845493782.Field1).length - 1)].dna).length - 1)], "onEndTurn", onEndturn_1845493797); + add_1845493841(s_1845493782.Field1[chckIndx(side_1845493780, 0, (s_1845493782.Field1).length - 1)].dna[chckIndx(piece_1845493779, 0, (s_1845493782.Field1[chckIndx(side_1845493780, 0, (s_1845493782.Field1).length - 1)].dna).length - 1)], "onPromote", onPromote_1845493803); + if (rotate_1845493798) { + s_1845493782.Field1[chckIndx(side_1845493780, 0, (s_1845493782.Field1).length - 1)].dna[chckIndx(piece_1845493779, 0, (s_1845493782.Field1[chckIndx(side_1845493780, 0, (s_1845493782.Field1).length - 1)].dna).length - 1)].rotate = true; } - if (!((whenTaken_1493172268 == null))) { - F.line = 82; - s_1493172246.Field1[chckIndx(side_1493172244, 0, (s_1493172246.Field1).length - 1)].dna[chckIndx(piece_1493172243, 0, (s_1493172246.Field1[chckIndx(side_1493172244, 0, (s_1493172246.Field1).length - 1)].dna).length - 1)].whenTaken = whenTaken_1493172268; + if (!((whenTaken_1845493804 == null))) { + s_1845493782.Field1[chckIndx(side_1845493780, 0, (s_1845493782.Field1).length - 1)].dna[chckIndx(piece_1845493779, 0, (s_1845493782.Field1[chckIndx(side_1845493780, 0, (s_1845493782.Field1).length - 1)].dna).length - 1)].whenTaken = whenTaken_1845493804; } - if (!((onTake_1493172269 == null))) { - F.line = 83; - s_1493172246.Field1[chckIndx(side_1493172244, 0, (s_1493172246.Field1).length - 1)].dna[chckIndx(piece_1493172243, 0, (s_1493172246.Field1[chckIndx(side_1493172244, 0, (s_1493172246.Field1).length - 1)].dna).length - 1)].onTake = onTake_1493172269; + if (!((onTake_1845493805 == null))) { + s_1845493782.Field1[chckIndx(side_1845493780, 0, (s_1845493782.Field1).length - 1)].dna[chckIndx(piece_1845493779, 0, (s_1845493782.Field1[chckIndx(side_1845493780, 0, (s_1845493782.Field1).length - 1)].dna).length - 1)].onTake = onTake_1845493805; } - if (!((onMove_1493172270 == null))) { - F.line = 84; - s_1493172246.Field1[chckIndx(side_1493172244, 0, (s_1493172246.Field1).length - 1)].dna[chckIndx(piece_1493172243, 0, (s_1493172246.Field1[chckIndx(side_1493172244, 0, (s_1493172246.Field1).length - 1)].dna).length - 1)].onMove = onMove_1493172270; + if (!((onMove_1845493806 == null))) { + s_1845493782.Field1[chckIndx(side_1845493780, 0, (s_1845493782.Field1).length - 1)].dna[chckIndx(piece_1845493779, 0, (s_1845493782.Field1[chckIndx(side_1845493780, 0, (s_1845493782.Field1).length - 1)].dna).length - 1)].onMove = onMove_1845493806; } - framePtr = F.prev; } -function none_1308623025() { - var result_1308623032 = ({val: ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), has: false}); +function none_1560281265() { + var result_1560281272 = ({val: ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), has: false}); - var F = {procname: "none.none", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/options.nim", line: 0}; - framePtr = F; - framePtr = F.prev; - - return result_1308623032; + return result_1560281272; } -function some_1308623033(val_1308623035) { - var result_1308623036 = ({val: ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), has: false}); +function some_1560281273(val_1560281275) { + var result_1560281276 = ({val: ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), has: false}); - var F = {procname: "some.some", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/options.nim", line: 0}; - framePtr = F; - F.line = 140; - F.filename = "options.nim"; - result_1308623036.has = true; - F.line = 141; - result_1308623036.val = nimCopy(result_1308623036.val, val_1308623035, NTI1224736794); - framePtr = F.prev; + result_1560281276.has = true; + result_1560281276.val = nimCopy(result_1560281276.val, val_1560281275, NTI1476395034); - return result_1308623036; + return result_1560281276; } -function boardRef_1308623002(b_1308623003, t_1308623004) { - var result_1308623010 = ({val: ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), has: false}); +function boardRef_1560281242(b_1560281243, t_1560281244) { + var result_1560281250 = ({val: ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), has: false}); - var F = {procname: "board.boardRef", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/board.nim", line: 0}; - framePtr = F; BeforeRet: { - if (((((t_1308623004.Field0 < 0) || (8 <= t_1308623004.Field0)) || (t_1308623004.Field1 < 0)) || (8 <= t_1308623004.Field1))) { - F.line = 53; - F.filename = "board.nim"; - result_1308623010 = nimCopy(result_1308623010, none_1308623025(), NTI1308622955); + if (((((t_1560281244.Field0 < 0) || (8 <= t_1560281244.Field0)) || (t_1560281244.Field1 < 0)) || (8 <= t_1560281244.Field1))) { + result_1560281250 = nimCopy(result_1560281250, none_1560281265(), NTI1560281195); break BeforeRet; } else { - F.line = 55; - result_1308623010 = nimCopy(result_1308623010, some_1308623033(b_1308623003[chckIndx(t_1308623004.Field1, 0, (b_1308623003).length - 1)][chckIndx(t_1308623004.Field0, 0, (b_1308623003[chckIndx(t_1308623004.Field1, 0, (b_1308623003).length - 1)]).length - 1)]), NTI1308622955); + result_1560281250 = nimCopy(result_1560281250, some_1560281273(b_1560281243[chckIndx(t_1560281244.Field1, 0, (b_1560281243).length - 1)][chckIndx(t_1560281244.Field0, 0, (b_1560281243[chckIndx(t_1560281244.Field1, 0, (b_1560281243).length - 1)]).length - 1)]), NTI1560281195); break BeforeRet; } }; - framePtr = F.prev; - return result_1308623010; + return result_1560281250; } -function isSome_1291845652(self_1291845654) { - var result_1291845655 = false; +function isSome_1543503892(self_1543503894) { + var result_1543503895 = false; - var F = {procname: "isSome.isSome", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/options.nim", line: 0}; - framePtr = F; - F.line = 161; - F.filename = "options.nim"; - result_1291845655 = self_1291845654.has; - framePtr = F.prev; + result_1543503895 = self_1543503894.has; - return result_1291845655; + return result_1543503895; } -function isNone_1291845677(self_1291845679) { - var result_1291845680 = false; +function isNone_1543503917(self_1543503919) { + var result_1543503920 = false; - var F = {procname: "isNone.isNone", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/options.nim", line: 0}; - framePtr = F; - F.line = 176; - F.filename = "options.nim"; - result_1291845680 = !(self_1291845679.has); - framePtr = F.prev; + result_1543503920 = !(self_1543503919.has); - return result_1291845680; + return result_1543503920; } -function get_1291845669(self_1291845671) { - var result_1291845672 = ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}); +function get_1543503909(self_1543503911) { + var result_1543503912 = ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}); - var F = {procname: "get.get", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/options.nim", line: 0}; - framePtr = F; - if (isNone_1291845677(self_1291845671)) { - F.line = 202; - F.filename = "options.nim"; - raiseException({message: [67,97,110,39,116,32,111,98,116,97,105,110,32,97,32,118,97,108,117,101,32,102,114,111,109,32,97,32,96,110,111,110,101,96], parent: null, m_type: NTI1241514007, name: null, trace: [], up: null}, "UnpackDefect"); + if (isNone_1543503917(self_1543503911)) { + raiseException({message: [67,97,110,39,116,32,111,98,116,97,105,110,32,97,32,118,97,108,117,101,32,102,114,111,109,32,97,32,96,110,111,110,101,96], parent: null, m_type: NTI1493172247, name: null, trace: [], up: null}, "UnpackDefect"); } - F.line = 203; - result_1291845672 = self_1291845671.val; - framePtr = F.prev; + result_1543503912 = self_1543503911.val; - return result_1291845672; + return result_1543503912; } -function addIfFree_1291845640(addTo_1291845641, addTo_1291845641_Idx, board_1291845642, t_1291845643, shoot_1291845644) { - var result_1291845645 = false; +function addIfFree_1543503880(addTo_1543503881, addTo_1543503881_Idx, board_1543503882, t_1543503883, shoot_1543503884) { + var result_1543503885 = false; - var F = {procname: "moves.addIfFree", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/moves.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 13; - F.filename = "moves.nim"; - var target_1291845647 = boardRef_1308623002(board_1291845642, shoot_1291845644(t_1291845643)); - if ((isSome_1291845652(target_1291845647) && isAir_1224737796(get_1291845669(target_1291845647)))) { - F.line = 15; - addTo_1291845641[addTo_1291845641_Idx].push(shoot_1291845644(t_1291845643));; - F.line = 16; - result_1291845645 = true; + var target_1543503887 = boardRef_1560281242(board_1543503882, shoot_1543503884(t_1543503883)); + if ((isSome_1543503892(target_1543503887) && isAir_1476396036(get_1543503909(target_1543503887)))) { + addTo_1543503881[addTo_1543503881_Idx].push(shoot_1543503884(t_1543503883));; + result_1543503885 = true; break BeforeRet; } - F.line = 17; - result_1291845645 = false; + result_1543503885 = false; break BeforeRet; }; - framePtr = F.prev; - return result_1291845645; + return result_1543503885; } -function shooterFactory_1308622968(m_1308622969, n_1308622970) { +function shooterFactory_1560281208(m_1560281209, n_1560281210) { -function HEX3Aanonymous_1308622972(t_1308622973) { - var result_1308622974 = {Field0: 0, Field1: 0}; +function HEX3Aanonymous_1560281212(t_1560281213) { + var result_1560281214 = {Field0: 0, Field1: 0}; - var F = {procname: "shooterFactory.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/board.nim", line: 0}; - framePtr = F; - F.line = 32; - F.filename = "board.nim"; - var colontmp__1493178755 = addInt(t_1308622973.Field0, m_1308622969); - F.line = 32; - var colontmp__1493178756 = addInt(t_1308622973.Field1, n_1308622970); - F.line = 32; - result_1308622974 = nimCopy(result_1308622974, {Field0: colontmp__1493178755, Field1: colontmp__1493178756}, NTI1224736771); - framePtr = F.prev; + var colontmp__1845500314 = addInt(t_1560281213.Field0, m_1560281209); + var colontmp__1845500315 = addInt(t_1560281213.Field1, n_1560281210); + result_1560281214 = nimCopy(result_1560281214, {Field0: colontmp__1845500314, Field1: colontmp__1845500315}, NTI1476395011); - return result_1308622974; + return result_1560281214; } - var result_1308622971 = null; + var result_1560281211 = null; - var F = {procname: "board.shooterFactory", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/board.nim", line: 0}; - framePtr = F; - F.line = 32; - F.filename = "board.nim"; - result_1308622971 = HEX3Aanonymous_1308622972; - framePtr = F.prev; + result_1560281211 = HEX3Aanonymous_1560281212; - return result_1308622971; + return result_1560281211; } -function HEX3Aanonymous_1291846082(board_1291846083, p_1291846084) { - var result_1291846085 = [[]]; +function HEX3Aanonymous_1543504322(board_1543504323, p_1543504324) { + var result_1543504325 = [[]]; - var F = {procname: "moves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/moves.nim", line: 0}; - framePtr = F; - F.line = 165; - F.filename = "moves.nim"; - var _ = addIfFree_1291845640(result_1291846085, 0, board_1291846083, p_1291846084.tile, shooterFactory_1308622968(1, 2)); - F.line = 166; - var _ = addIfFree_1291845640(result_1291846085, 0, board_1291846083, p_1291846084.tile, shooterFactory_1308622968((-1), 2)); - F.line = 167; - var _ = addIfFree_1291845640(result_1291846085, 0, board_1291846083, p_1291846084.tile, shooterFactory_1308622968(1, (-2))); - F.line = 168; - var _ = addIfFree_1291845640(result_1291846085, 0, board_1291846083, p_1291846084.tile, shooterFactory_1308622968((-1), (-2))); - F.line = 169; - var _ = addIfFree_1291845640(result_1291846085, 0, board_1291846083, p_1291846084.tile, shooterFactory_1308622968(2, 1)); - F.line = 170; - var _ = addIfFree_1291845640(result_1291846085, 0, board_1291846083, p_1291846084.tile, shooterFactory_1308622968(2, (-1))); - F.line = 171; - var _ = addIfFree_1291845640(result_1291846085, 0, board_1291846083, p_1291846084.tile, shooterFactory_1308622968((-2), 1)); - F.line = 172; - var _ = addIfFree_1291845640(result_1291846085, 0, board_1291846083, p_1291846084.tile, shooterFactory_1308622968((-2), (-1))); - framePtr = F.prev; + var _ = addIfFree_1543503880(result_1543504325, 0, board_1543504323, p_1543504324.tile, shooterFactory_1560281208(1, 2)); + var _ = addIfFree_1543503880(result_1543504325, 0, board_1543504323, p_1543504324.tile, shooterFactory_1560281208((-1), 2)); + var _ = addIfFree_1543503880(result_1543504325, 0, board_1543504323, p_1543504324.tile, shooterFactory_1560281208(1, (-2))); + var _ = addIfFree_1543503880(result_1543504325, 0, board_1543504323, p_1543504324.tile, shooterFactory_1560281208((-1), (-2))); + var _ = addIfFree_1543503880(result_1543504325, 0, board_1543504323, p_1543504324.tile, shooterFactory_1560281208(2, 1)); + var _ = addIfFree_1543503880(result_1543504325, 0, board_1543504323, p_1543504324.tile, shooterFactory_1560281208(2, (-1))); + var _ = addIfFree_1543503880(result_1543504325, 0, board_1543504323, p_1543504324.tile, shooterFactory_1560281208((-2), 1)); + var _ = addIfFree_1543503880(result_1543504325, 0, board_1543504323, p_1543504324.tile, shooterFactory_1560281208((-2), (-1))); - return result_1291846085[0]; + return result_1543504325[0]; } -function sameColor_1224737804(a_1224737805, b_1224737806) { - var result_1224737807 = false; +function sameColor_1476396044(a_1476396045, b_1476396046) { + var result_1476396047 = false; - var F = {procname: "piece.sameColor", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 305; - F.filename = "piece.nim"; - result_1224737807 = (((a_1224737805.color == b_1224737806.color) && !(isAir_1224737796(a_1224737805))) && !(isAir_1224737796(b_1224737806))); + result_1476396047 = (((a_1476396045.color == b_1476396046.color) && !(isAir_1476396036(a_1476396045))) && !(isAir_1476396036(b_1476396046))); break BeforeRet; }; - framePtr = F.prev; - return result_1224737807; + return result_1476396047; } -function addIfTake_1291845739(addTo_1291845740, addTo_1291845740_Idx, board_1291845741, initialPiece_1291845742, t_1291845743, shoot_1291845744, throughFlag_1291845745, cannibalismFlag_1291845746) { - var result_1291845747 = false; +function addIfTake_1543503979(addTo_1543503980, addTo_1543503980_Idx, board_1543503981, initialPiece_1543503982, t_1543503983, shoot_1543503984, throughFlag_1543503985, cannibalismFlag_1543503986) { + var result_1543503987 = false; - var F = {procname: "moves.addIfTake", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/moves.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 26; - F.filename = "moves.nim"; - var target_1291845749 = boardRef_1308623002(board_1291845741, shoot_1291845744(t_1291845743)); - if (((isSome_1291845652(target_1291845749) && !(isAir_1224737796(get_1291845669(target_1291845749)))) && (!(sameColor_1224737804(initialPiece_1291845742, get_1291845669(target_1291845749))) || cannibalismFlag_1291845746))) { - F.line = 29; - addTo_1291845740[addTo_1291845740_Idx].push(shoot_1291845744(t_1291845743));; - F.line = 30; - result_1291845747 = (false || throughFlag_1291845745); + var target_1543503989 = boardRef_1560281242(board_1543503981, shoot_1543503984(t_1543503983)); + if (((isSome_1543503892(target_1543503989) && !(isAir_1476396036(get_1543503909(target_1543503989)))) && (!(sameColor_1476396044(initialPiece_1543503982, get_1543503909(target_1543503989))) || cannibalismFlag_1543503986))) { + addTo_1543503980[addTo_1543503980_Idx].push(shoot_1543503984(t_1543503983));; + result_1543503987 = (false || throughFlag_1543503985); break BeforeRet; } - F.line = 31; - result_1291845747 = (isSome_1291845652(target_1291845749) && (isAir_1224737796(get_1291845669(target_1291845749)) || throughFlag_1291845745)); + result_1543503987 = (isSome_1543503892(target_1543503989) && (isAir_1476396036(get_1543503909(target_1543503989)) || throughFlag_1543503985)); break BeforeRet; }; - framePtr = F.prev; - - return result_1291845747; - -} - -function HEX3Aanonymous_1291846087(board_1291846088, p_1291846089) { - var result_1291846090 = [[]]; - - var F = {procname: "moves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/moves.nim", line: 0}; - framePtr = F; - F.line = 175; - F.filename = "moves.nim"; - var _ = addIfTake_1291845739(result_1291846090, 0, board_1291846088, p_1291846089, p_1291846089.tile, shooterFactory_1308622968(1, 2), false, false); - F.line = 176; - var _ = addIfTake_1291845739(result_1291846090, 0, board_1291846088, p_1291846089, p_1291846089.tile, shooterFactory_1308622968((-1), 2), false, false); - F.line = 177; - var _ = addIfTake_1291845739(result_1291846090, 0, board_1291846088, p_1291846089, p_1291846089.tile, shooterFactory_1308622968(2, 1), false, false); - F.line = 178; - var _ = addIfTake_1291845739(result_1291846090, 0, board_1291846088, p_1291846089, p_1291846089.tile, shooterFactory_1308622968(2, (-1)), false, false); - F.line = 179; - var _ = addIfTake_1291845739(result_1291846090, 0, board_1291846088, p_1291846089, p_1291846089.tile, shooterFactory_1308622968(1, (-2)), false, false); - F.line = 180; - var _ = addIfTake_1291845739(result_1291846090, 0, board_1291846088, p_1291846089, p_1291846089.tile, shooterFactory_1308622968((-1), (-2)), false, false); - F.line = 181; - var _ = addIfTake_1291845739(result_1291846090, 0, board_1291846088, p_1291846089, p_1291846089.tile, shooterFactory_1308622968((-2), 1), false, false); - F.line = 182; - var _ = addIfTake_1291845739(result_1291846090, 0, board_1291846088, p_1291846089, p_1291846089.tile, shooterFactory_1308622968((-2), (-1)), false, false); - framePtr = F.prev; - - return result_1291846090[0]; - -} - -function HEX3Aanonymous_1493172492(side_1493172493, __1493172494, b_1493172495, s_1493172496) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 136; - F.filename = "powers.nim"; - buff_1493172242(1, side_1493172493, b_1493172495, s_1493172496, [HEX3Aanonymous_1291846082], [HEX3Aanonymous_1291846087], [], false, [], null, null, null, false); - framePtr = F.prev; - - -} - -function HEX3Aanonymous_1509949640(board_1509949641, p_1509949642) { - var result_1509949643 = [[]]; - - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 153; - F.filename = "extramoves.nim"; - var _ = addIfFree_1291845640(result_1509949643, 0, board_1509949641, p_1509949642.tile, shooterFactory_1308622968(1, 3)); - F.line = 154; - var _ = addIfFree_1291845640(result_1509949643, 0, board_1509949641, p_1509949642.tile, shooterFactory_1308622968((-1), 3)); - F.line = 155; - var _ = addIfFree_1291845640(result_1509949643, 0, board_1509949641, p_1509949642.tile, shooterFactory_1308622968(1, (-3))); - F.line = 156; - var _ = addIfFree_1291845640(result_1509949643, 0, board_1509949641, p_1509949642.tile, shooterFactory_1308622968((-1), (-3))); - F.line = 157; - var _ = addIfFree_1291845640(result_1509949643, 0, board_1509949641, p_1509949642.tile, shooterFactory_1308622968(3, 1)); - F.line = 158; - var _ = addIfFree_1291845640(result_1509949643, 0, board_1509949641, p_1509949642.tile, shooterFactory_1308622968(3, (-1))); - F.line = 159; - var _ = addIfFree_1291845640(result_1509949643, 0, board_1509949641, p_1509949642.tile, shooterFactory_1308622968((-3), 1)); - F.line = 160; - var _ = addIfFree_1291845640(result_1509949643, 0, board_1509949641, p_1509949642.tile, shooterFactory_1308622968((-3), (-1))); - framePtr = F.prev; - - return result_1509949643[0]; - -} - -function HEX3Aanonymous_1509949635(board_1509949636, p_1509949637) { - var result_1509949638 = [[]]; - - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 143; - F.filename = "extramoves.nim"; - var _ = addIfTake_1291845739(result_1509949638, 0, board_1509949636, p_1509949637, p_1509949637.tile, shooterFactory_1308622968(1, 3), false, false); - F.line = 144; - var _ = addIfTake_1291845739(result_1509949638, 0, board_1509949636, p_1509949637, p_1509949637.tile, shooterFactory_1308622968((-1), 3), false, false); - F.line = 145; - var _ = addIfTake_1291845739(result_1509949638, 0, board_1509949636, p_1509949637, p_1509949637.tile, shooterFactory_1308622968(1, (-3)), false, false); - F.line = 146; - var _ = addIfTake_1291845739(result_1509949638, 0, board_1509949636, p_1509949637, p_1509949637.tile, shooterFactory_1308622968((-1), (-3)), false, false); - F.line = 147; - var _ = addIfTake_1291845739(result_1509949638, 0, board_1509949636, p_1509949637, p_1509949637.tile, shooterFactory_1308622968(3, 1), false, false); - F.line = 148; - var _ = addIfTake_1291845739(result_1509949638, 0, board_1509949636, p_1509949637, p_1509949637.tile, shooterFactory_1308622968(3, (-1)), false, false); - F.line = 149; - var _ = addIfTake_1291845739(result_1509949638, 0, board_1509949636, p_1509949637, p_1509949637.tile, shooterFactory_1308622968((-3), 1), false, false); - F.line = 150; - var _ = addIfTake_1291845739(result_1509949638, 0, board_1509949636, p_1509949637, p_1509949637.tile, shooterFactory_1308622968((-3), (-1)), false, false); - framePtr = F.prev; - - return result_1509949638[0]; - -} - -function HEX3Aanonymous_1493172538(side_1493172539, __1493172540, b_1493172541, s_1493172542) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 152; - F.filename = "powers.nim"; - buff_1493172242(1, side_1493172539, b_1493172541, s_1493172542, [HEX3Aanonymous_1509949640], [HEX3Aanonymous_1509949635], [], false, [], null, null, null, false); - framePtr = F.prev; + + return result_1543503987; + +} + +function HEX3Aanonymous_1543504327(board_1543504328, p_1543504329) { + var result_1543504330 = [[]]; + + var _ = addIfTake_1543503979(result_1543504330, 0, board_1543504328, p_1543504329, p_1543504329.tile, shooterFactory_1560281208(1, 2), false, false); + var _ = addIfTake_1543503979(result_1543504330, 0, board_1543504328, p_1543504329, p_1543504329.tile, shooterFactory_1560281208((-1), 2), false, false); + var _ = addIfTake_1543503979(result_1543504330, 0, board_1543504328, p_1543504329, p_1543504329.tile, shooterFactory_1560281208(2, 1), false, false); + var _ = addIfTake_1543503979(result_1543504330, 0, board_1543504328, p_1543504329, p_1543504329.tile, shooterFactory_1560281208(2, (-1)), false, false); + var _ = addIfTake_1543503979(result_1543504330, 0, board_1543504328, p_1543504329, p_1543504329.tile, shooterFactory_1560281208(1, (-2)), false, false); + var _ = addIfTake_1543503979(result_1543504330, 0, board_1543504328, p_1543504329, p_1543504329.tile, shooterFactory_1560281208((-1), (-2)), false, false); + var _ = addIfTake_1543503979(result_1543504330, 0, board_1543504328, p_1543504329, p_1543504329.tile, shooterFactory_1560281208((-2), 1), false, false); + var _ = addIfTake_1543503979(result_1543504330, 0, board_1543504328, p_1543504329, p_1543504329.tile, shooterFactory_1560281208((-2), (-1)), false, false); + + return result_1543504330[0]; + +} + +function HEX3Aanonymous_1845494028(side_1845494029, __1845494030, b_1845494031, s_1845494032) { + buff_1845493778(1, side_1845494029, b_1845494031, s_1845494032, [HEX3Aanonymous_1543504322], [HEX3Aanonymous_1543504327], [], false, [], null, null, null, false); + + +} + +function HEX3Aanonymous_1862271176(board_1862271177, p_1862271178) { + var result_1862271179 = [[]]; + + var _ = addIfFree_1543503880(result_1862271179, 0, board_1862271177, p_1862271178.tile, shooterFactory_1560281208(1, 3)); + var _ = addIfFree_1543503880(result_1862271179, 0, board_1862271177, p_1862271178.tile, shooterFactory_1560281208((-1), 3)); + var _ = addIfFree_1543503880(result_1862271179, 0, board_1862271177, p_1862271178.tile, shooterFactory_1560281208(1, (-3))); + var _ = addIfFree_1543503880(result_1862271179, 0, board_1862271177, p_1862271178.tile, shooterFactory_1560281208((-1), (-3))); + var _ = addIfFree_1543503880(result_1862271179, 0, board_1862271177, p_1862271178.tile, shooterFactory_1560281208(3, 1)); + var _ = addIfFree_1543503880(result_1862271179, 0, board_1862271177, p_1862271178.tile, shooterFactory_1560281208(3, (-1))); + var _ = addIfFree_1543503880(result_1862271179, 0, board_1862271177, p_1862271178.tile, shooterFactory_1560281208((-3), 1)); + var _ = addIfFree_1543503880(result_1862271179, 0, board_1862271177, p_1862271178.tile, shooterFactory_1560281208((-3), (-1))); + + return result_1862271179[0]; + +} + +function HEX3Aanonymous_1862271171(board_1862271172, p_1862271173) { + var result_1862271174 = [[]]; + + var _ = addIfTake_1543503979(result_1862271174, 0, board_1862271172, p_1862271173, p_1862271173.tile, shooterFactory_1560281208(1, 3), false, false); + var _ = addIfTake_1543503979(result_1862271174, 0, board_1862271172, p_1862271173, p_1862271173.tile, shooterFactory_1560281208((-1), 3), false, false); + var _ = addIfTake_1543503979(result_1862271174, 0, board_1862271172, p_1862271173, p_1862271173.tile, shooterFactory_1560281208(1, (-3)), false, false); + var _ = addIfTake_1543503979(result_1862271174, 0, board_1862271172, p_1862271173, p_1862271173.tile, shooterFactory_1560281208((-1), (-3)), false, false); + var _ = addIfTake_1543503979(result_1862271174, 0, board_1862271172, p_1862271173, p_1862271173.tile, shooterFactory_1560281208(3, 1), false, false); + var _ = addIfTake_1543503979(result_1862271174, 0, board_1862271172, p_1862271173, p_1862271173.tile, shooterFactory_1560281208(3, (-1)), false, false); + var _ = addIfTake_1543503979(result_1862271174, 0, board_1862271172, p_1862271173, p_1862271173.tile, shooterFactory_1560281208((-3), 1), false, false); + var _ = addIfTake_1543503979(result_1862271174, 0, board_1862271172, p_1862271173, p_1862271173.tile, shooterFactory_1560281208((-3), (-1)), false, false); + + return result_1862271174[0]; + +} + +function HEX3Aanonymous_1845494074(side_1845494075, __1845494076, b_1845494077, s_1845494078) { + buff_1845493778(1, side_1845494075, b_1845494077, s_1845494078, [HEX3Aanonymous_1862271176], [HEX3Aanonymous_1862271171], [], false, [], null, null, null, false); } function sysFatal_268435501(message_268435504) { - var F = {procname: "sysFatal.sysFatal", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/fatal.nim", line: 0}; - framePtr = F; - F.line = 53; - F.filename = "fatal.nim"; raiseException({message: nimCopy(null, message_268435504, NTI33554449), m_type: NTI134217745, parent: null, name: null, trace: [], up: null}, "AssertionDefect"); - framePtr = F.prev; } function raiseAssert_268435499(msg_268435500) { - var F = {procname: "assertions.raiseAssert", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/assertions.nim", line: 0}; - framePtr = F; - F.line = 36; - F.filename = "assertions.nim"; sysFatal_268435501(msg_268435500); - framePtr = F.prev; } function failedAssertImpl_268435541(msg_268435542) { - var F = {procname: "assertions.failedAssertImpl", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/assertions.nim", line: 0}; - framePtr = F; - F.line = 41; - F.filename = "assertions.nim"; raiseAssert_268435499(msg_268435542); - framePtr = F.prev; } -function HEX3Aanonymous_1509949465(board_1509949466, p_1509949467) { - var result_1509949468 = [[]]; +function HEX3Aanonymous_1862271001(board_1862271002, p_1862271003) { + var result_1862271004 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 29; - F.filename = "extramoves.nim"; - var _ = addIfFree_1291845640(result_1509949468, 0, board_1509949466, p_1509949467.tile, shooterFactory_1308622968(1, 1)); - F.line = 30; - var _ = addIfFree_1291845640(result_1509949468, 0, board_1509949466, p_1509949467.tile, shooterFactory_1308622968((-1), 1)); - F.line = 31; - var _ = addIfFree_1291845640(result_1509949468, 0, board_1509949466, p_1509949467.tile, shooterFactory_1308622968(1, (-1))); - F.line = 32; - var _ = addIfFree_1291845640(result_1509949468, 0, board_1509949466, p_1509949467.tile, shooterFactory_1308622968((-1), (-1))); - framePtr = F.prev; + var _ = addIfFree_1543503880(result_1862271004, 0, board_1862271002, p_1862271003.tile, shooterFactory_1560281208(1, 1)); + var _ = addIfFree_1543503880(result_1862271004, 0, board_1862271002, p_1862271003.tile, shooterFactory_1560281208((-1), 1)); + var _ = addIfFree_1543503880(result_1862271004, 0, board_1862271002, p_1862271003.tile, shooterFactory_1560281208(1, (-1))); + var _ = addIfFree_1543503880(result_1862271004, 0, board_1862271002, p_1862271003.tile, shooterFactory_1560281208((-1), (-1))); - return result_1509949468[0]; + return result_1862271004[0]; } -function tileBelow_1308622993(t_1308622994) { - var result_1308622995 = {Field0: 0, Field1: 0}; +function tileBelow_1560281233(t_1560281234) { + var result_1560281235 = {Field0: 0, Field1: 0}; - var F = {procname: "board.tileBelow", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/board.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 38; - F.filename = "board.nim"; - var colontmp__1493178757 = t_1308622994.Field0; - F.line = 38; - var colontmp__1493178758 = addInt(t_1308622994.Field1, 1); - F.line = 38; - result_1308622995 = nimCopy(result_1308622995, {Field0: colontmp__1493178757, Field1: colontmp__1493178758}, NTI1224736771); + var colontmp__1845500316 = t_1560281234.Field0; + var colontmp__1845500317 = addInt(t_1560281234.Field1, 1); + result_1560281235 = nimCopy(result_1560281235, {Field0: colontmp__1845500316, Field1: colontmp__1845500317}, NTI1476395011); break BeforeRet; }; - framePtr = F.prev; - return result_1308622995; + return result_1560281235; } -function HEX3Aanonymous_1509949514(board_1509949515, p_1509949516) { - var result_1509949517 = [[]]; +function HEX3Aanonymous_1862271050(board_1862271051, p_1862271052) { + var result_1862271053 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 72; - F.filename = "extramoves.nim"; - var _ = addIfFree_1291845640(result_1509949517, 0, board_1509949515, p_1509949516.tile, tileBelow_1308622993); - framePtr = F.prev; + var _ = addIfFree_1543503880(result_1862271053, 0, board_1862271051, p_1862271052.tile, tileBelow_1560281233); - return result_1509949517[0]; + return result_1862271053[0]; } -function HEX3Aanonymous_1509949470(board_1509949471, p_1509949472) { - var result_1509949473 = [[]]; +function HEX3Aanonymous_1862271006(board_1862271007, p_1862271008) { + var result_1862271009 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 35; - F.filename = "extramoves.nim"; - var _ = addIfTake_1291845739(result_1509949473, 0, board_1509949471, p_1509949472, p_1509949472.tile, shooterFactory_1308622968(1, 1), false, false); - F.line = 36; - var _ = addIfTake_1291845739(result_1509949473, 0, board_1509949471, p_1509949472, p_1509949472.tile, shooterFactory_1308622968((-1), 1), false, false); - F.line = 37; - var _ = addIfTake_1291845739(result_1509949473, 0, board_1509949471, p_1509949472, p_1509949472.tile, shooterFactory_1308622968(1, (-1)), false, false); - F.line = 38; - var _ = addIfTake_1291845739(result_1509949473, 0, board_1509949471, p_1509949472, p_1509949472.tile, shooterFactory_1308622968((-1), (-1)), false, false); - framePtr = F.prev; + var _ = addIfTake_1543503979(result_1862271009, 0, board_1862271007, p_1862271008, p_1862271008.tile, shooterFactory_1560281208(1, 1), false, false); + var _ = addIfTake_1543503979(result_1862271009, 0, board_1862271007, p_1862271008, p_1862271008.tile, shooterFactory_1560281208((-1), 1), false, false); + var _ = addIfTake_1543503979(result_1862271009, 0, board_1862271007, p_1862271008, p_1862271008.tile, shooterFactory_1560281208(1, (-1)), false, false); + var _ = addIfTake_1543503979(result_1862271009, 0, board_1862271007, p_1862271008, p_1862271008.tile, shooterFactory_1560281208((-1), (-1)), false, false); - return result_1509949473[0]; + return result_1862271009[0]; } -function HEX3Aanonymous_1509949524(board_1509949525, p_1509949526) { - var result_1509949527 = [[]]; +function HEX3Aanonymous_1862271060(board_1862271061, p_1862271062) { + var result_1862271063 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 78; - F.filename = "extramoves.nim"; - var _ = addIfTake_1291845739(result_1509949527, 0, board_1509949525, p_1509949526, p_1509949526.tile, tileBelow_1308622993, false, false); - framePtr = F.prev; + var _ = addIfTake_1543503979(result_1862271063, 0, board_1862271061, p_1862271062, p_1862271062.tile, tileBelow_1560281233, false, false); - return result_1509949527[0]; + return result_1862271063[0]; } -function tileAbove_1308622990(t_1308622991) { - var result_1308622992 = {Field0: 0, Field1: 0}; +function tileAbove_1560281230(t_1560281231) { + var result_1560281232 = {Field0: 0, Field1: 0}; - var F = {procname: "board.tileAbove", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/board.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 35; - F.filename = "board.nim"; - var colontmp__1493178759 = t_1308622991.Field0; - F.line = 35; - var colontmp__1493178760 = subInt(t_1308622991.Field1, 1); - F.line = 35; - result_1308622992 = nimCopy(result_1308622992, {Field0: colontmp__1493178759, Field1: colontmp__1493178760}, NTI1224736771); + var colontmp__1845500318 = t_1560281231.Field0; + var colontmp__1845500319 = subInt(t_1560281231.Field1, 1); + result_1560281232 = nimCopy(result_1560281232, {Field0: colontmp__1845500318, Field1: colontmp__1845500319}, NTI1476395011); break BeforeRet; }; - framePtr = F.prev; - return result_1308622992; + return result_1560281232; } -function HEX3Aanonymous_1509949509(board_1509949510, p_1509949511) { - var result_1509949512 = [[]]; +function HEX3Aanonymous_1862271045(board_1862271046, p_1862271047) { + var result_1862271048 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 69; - F.filename = "extramoves.nim"; - var _ = addIfFree_1291845640(result_1509949512, 0, board_1509949510, p_1509949511.tile, tileAbove_1308622990); - framePtr = F.prev; + var _ = addIfFree_1543503880(result_1862271048, 0, board_1862271046, p_1862271047.tile, tileAbove_1560281230); - return result_1509949512[0]; + return result_1862271048[0]; } -function HEX3Aanonymous_1509949519(board_1509949520, p_1509949521) { - var result_1509949522 = [[]]; +function HEX3Aanonymous_1862271055(board_1862271056, p_1862271057) { + var result_1862271058 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 75; - F.filename = "extramoves.nim"; - var _ = addIfTake_1291845739(result_1509949522, 0, board_1509949520, p_1509949521, p_1509949521.tile, tileAbove_1308622990, false, false); - framePtr = F.prev; + var _ = addIfTake_1543503979(result_1862271058, 0, board_1862271056, p_1862271057, p_1862271057.tile, tileAbove_1560281230, false, false); - return result_1509949522[0]; + return result_1862271058[0]; } -function isAtEnd_1224737998(piece_1224737999) { - var result_1224738000 = false; +function isAtEnd_1476396238(piece_1476396239) { + var result_1476396240 = false; - var F = {procname: "piece.isAtEnd", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 351; - F.filename = "piece.nim"; - result_1224738000 = (((piece_1224737999.tile.Field1 == 7) && (piece_1224737999.color == 0)) || ((piece_1224737999.tile.Field1 == 0) && (piece_1224737999.color == 1))); + result_1476396240 = (((piece_1476396239.tile.Field1 == 7) && (piece_1476396239.color == 0)) || ((piece_1476396239.tile.Field1 == 0) && (piece_1476396239.color == 1))); break BeforeRet; }; - framePtr = F.prev; - return result_1224738000; + return result_1476396240; } -function HEX3Aanonymous_1493172639(piece_1493172640, board_1493172641, state_1493172642) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - if ((isAtEnd_1224737998(piece_1493172640) && !(piece_1493172640.promoted))) { +function HEX3Aanonymous_1845494175(piece_1845494176, board_1845494177, state_1845494178) { + if ((isAtEnd_1476396238(piece_1845494176) && !(piece_1845494176.promoted))) { Label1: { - F.line = 181; - F.filename = "piece.nim"; - var xHEX60gensym26_1493172647 = null; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493178763 = 0; - F.line = 250; - var L_1493178764 = (piece_1493172640.onPromote).length; + var xHEX60gensym26_1845494183 = null; + var i_1845500322 = 0; + var L_1845500323 = (piece_1845494176.onPromote).length; Label2: { - F.line = 251; Label3: while (true) { - if (!(i_1493178763 < L_1493178764)) break Label3; - F.line = 176; - F.filename = "powers.nim"; - xHEX60gensym26_1493172647 = piece_1493172640.onPromote[chckIndx(i_1493178763, 0, (piece_1493172640.onPromote).length - 1)]; - F.line = 182; - F.filename = "piece.nim"; - xHEX60gensym26_1493172647(piece_1493172640, board_1493172641, state_1493172642); - if (piece_1493172640.promoted) { - F.line = 183; + if (!(i_1845500322 < L_1845500323)) break Label3; + xHEX60gensym26_1845494183 = piece_1845494176.onPromote[chckIndx(i_1845500322, 0, (piece_1845494176.onPromote).length - 1)]; + xHEX60gensym26_1845494183(piece_1845494176, board_1845494177, state_1845494178); + if (piece_1845494176.promoted) { break Label1; } - F.line = 13; - F.filename = "iterators.nim"; - i_1493178763 += 1; - if (!(((piece_1493172640.onPromote).length == L_1493178764))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_1845500322 += 1; + if (!(((piece_1845494176.onPromote).length == L_1845500323))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } @@ -3412,815 +2639,520 @@ function HEX3Aanonymous_1493172639(piece_1493172640, board_1493172641, state_149 }; } - framePtr = F.prev; } -function newSeq_1291845948(len_1291845950) { - var result_1291845951 = []; +function newSeq_1543504188(len_1543504190) { + var result_1543504191 = []; - var F = {procname: "newSeq.newSeq", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 633; - F.filename = "system.nim"; - result_1291845951 = new Array(len_1291845950); for (var i = 0 ; i < len_1291845950 ; ++i) { result_1291845951[i] = null; } framePtr = F.prev; - - return result_1291845951; + result_1543504191 = new Array(len_1543504190); for (var i = 0 ; i < len_1543504190 ; ++i) { result_1543504191[i] = null; } + return result_1543504191; } -function HEX3Aanonymous_1509949445(board_1509949446, p_1509949447) { - var result_1509949448 = [[]]; +function HEX3Aanonymous_1862270981(board_1862270982, p_1862270983) { + var result_1862270984 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 13; - F.filename = "extramoves.nim"; - var _ = addIfFree_1291845640(result_1509949448, 0, board_1509949446, p_1509949447.tile, shooterFactory_1308622968(1, (-1))); - F.line = 14; - var _ = addIfFree_1291845640(result_1509949448, 0, board_1509949446, p_1509949447.tile, shooterFactory_1308622968((-1), (-1))); - framePtr = F.prev; + var _ = addIfFree_1543503880(result_1862270984, 0, board_1862270982, p_1862270983.tile, shooterFactory_1560281208(1, (-1))); + var _ = addIfFree_1543503880(result_1862270984, 0, board_1862270982, p_1862270983.tile, shooterFactory_1560281208((-1), (-1))); - return result_1509949448[0]; + return result_1862270984[0]; } -function tileLeft_1308622996(t_1308622997) { - var result_1308622998 = {Field0: 0, Field1: 0}; +function tileLeft_1560281236(t_1560281237) { + var result_1560281238 = {Field0: 0, Field1: 0}; - var F = {procname: "board.tileLeft", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/board.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 41; - F.filename = "board.nim"; - var colontmp__1493178775 = subInt(t_1308622997.Field0, 1); - F.line = 41; - var colontmp__1493178776 = t_1308622997.Field1; - F.line = 41; - result_1308622998 = nimCopy(result_1308622998, {Field0: colontmp__1493178775, Field1: colontmp__1493178776}, NTI1224736771); + var colontmp__1845500334 = subInt(t_1560281237.Field0, 1); + var colontmp__1845500335 = t_1560281237.Field1; + result_1560281238 = nimCopy(result_1560281238, {Field0: colontmp__1845500334, Field1: colontmp__1845500335}, NTI1476395011); break BeforeRet; }; - framePtr = F.prev; - return result_1308622998; + return result_1560281238; } -function tileRight_1308622999(t_1308623000) { - var result_1308623001 = {Field0: 0, Field1: 0}; +function tileRight_1560281239(t_1560281240) { + var result_1560281241 = {Field0: 0, Field1: 0}; - var F = {procname: "board.tileRight", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/board.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 44; - F.filename = "board.nim"; - var colontmp__1493178777 = addInt(t_1308623000.Field0, 1); - F.line = 44; - var colontmp__1493178778 = t_1308623000.Field1; - F.line = 44; - result_1308623001 = nimCopy(result_1308623001, {Field0: colontmp__1493178777, Field1: colontmp__1493178778}, NTI1224736771); + var colontmp__1845500336 = addInt(t_1560281240.Field0, 1); + var colontmp__1845500337 = t_1560281240.Field1; + result_1560281241 = nimCopy(result_1560281241, {Field0: colontmp__1845500336, Field1: colontmp__1845500337}, NTI1476395011); break BeforeRet; }; - framePtr = F.prev; - return result_1308623001; + return result_1560281241; } -function HEX3Aanonymous_1509949475(board_1509949476, p_1509949477) { - var result_1509949478 = [[]]; +function HEX3Aanonymous_1862271011(board_1862271012, p_1862271013) { + var result_1862271014 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 41; - F.filename = "extramoves.nim"; - var _ = addIfFree_1291845640(result_1509949478, 0, board_1509949476, p_1509949477.tile, tileLeft_1308622996); - F.line = 42; - var _ = addIfFree_1291845640(result_1509949478, 0, board_1509949476, p_1509949477.tile, tileRight_1308622999); - framePtr = F.prev; + var _ = addIfFree_1543503880(result_1862271014, 0, board_1862271012, p_1862271013.tile, tileLeft_1560281236); + var _ = addIfFree_1543503880(result_1862271014, 0, board_1862271012, p_1862271013.tile, tileRight_1560281239); - return result_1509949478[0]; + return result_1862271014[0]; } -function HEX3Aanonymous_1509949455(board_1509949456, p_1509949457) { - var result_1509949458 = [[]]; +function HEX3Aanonymous_1862270991(board_1862270992, p_1862270993) { + var result_1862270994 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 21; - F.filename = "extramoves.nim"; - var _ = addIfTake_1291845739(result_1509949458, 0, board_1509949456, p_1509949457, p_1509949457.tile, shooterFactory_1308622968(1, (-1)), false, false); - F.line = 22; - var _ = addIfTake_1291845739(result_1509949458, 0, board_1509949456, p_1509949457, p_1509949457.tile, shooterFactory_1308622968((-1), (-1)), false, false); - framePtr = F.prev; + var _ = addIfTake_1543503979(result_1862270994, 0, board_1862270992, p_1862270993, p_1862270993.tile, shooterFactory_1560281208(1, (-1)), false, false); + var _ = addIfTake_1543503979(result_1862270994, 0, board_1862270992, p_1862270993, p_1862270993.tile, shooterFactory_1560281208((-1), (-1)), false, false); - return result_1509949458[0]; + return result_1862270994[0]; } -function HEX3Aanonymous_1509949504(board_1509949505, p_1509949506) { - var result_1509949507 = [[]]; +function HEX3Aanonymous_1862271040(board_1862271041, p_1862271042) { + var result_1862271043 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 65; - F.filename = "extramoves.nim"; - var _ = addIfTake_1291845739(result_1509949507, 0, board_1509949505, p_1509949506, p_1509949506.tile, tileLeft_1308622996, false, false); - F.line = 66; - var _ = addIfTake_1291845739(result_1509949507, 0, board_1509949505, p_1509949506, p_1509949506.tile, tileRight_1308622999, false, false); - framePtr = F.prev; + var _ = addIfTake_1543503979(result_1862271043, 0, board_1862271041, p_1862271042, p_1862271042.tile, tileLeft_1560281236, false, false); + var _ = addIfTake_1543503979(result_1862271043, 0, board_1862271041, p_1862271042, p_1862271042.tile, tileRight_1560281239, false, false); - return result_1509949507[0]; + return result_1862271043[0]; } -function HEX3Aanonymous_1509949450(board_1509949451, p_1509949452) { - var result_1509949453 = [[]]; +function HEX3Aanonymous_1862270986(board_1862270987, p_1862270988) { + var result_1862270989 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 17; - F.filename = "extramoves.nim"; - var _ = addIfFree_1291845640(result_1509949453, 0, board_1509949451, p_1509949452.tile, shooterFactory_1308622968(1, 1)); - F.line = 18; - var _ = addIfFree_1291845640(result_1509949453, 0, board_1509949451, p_1509949452.tile, shooterFactory_1308622968((-1), 1)); - framePtr = F.prev; + var _ = addIfFree_1543503880(result_1862270989, 0, board_1862270987, p_1862270988.tile, shooterFactory_1560281208(1, 1)); + var _ = addIfFree_1543503880(result_1862270989, 0, board_1862270987, p_1862270988.tile, shooterFactory_1560281208((-1), 1)); - return result_1509949453[0]; + return result_1862270989[0]; } -function HEX3Aanonymous_1509949460(board_1509949461, p_1509949462) { - var result_1509949463 = [[]]; +function HEX3Aanonymous_1862270996(board_1862270997, p_1862270998) { + var result_1862270999 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 25; - F.filename = "extramoves.nim"; - var _ = addIfTake_1291845739(result_1509949463, 0, board_1509949461, p_1509949462, p_1509949462.tile, shooterFactory_1308622968(1, 1), false, false); - F.line = 26; - var _ = addIfTake_1291845739(result_1509949463, 0, board_1509949461, p_1509949462, p_1509949462.tile, shooterFactory_1308622968((-1), 1), false, false); - framePtr = F.prev; + var _ = addIfTake_1543503979(result_1862270999, 0, board_1862270997, p_1862270998, p_1862270998.tile, shooterFactory_1560281208(1, 1), false, false); + var _ = addIfTake_1543503979(result_1862270999, 0, board_1862270997, p_1862270998, p_1862270998.tile, shooterFactory_1560281208((-1), 1), false, false); - return result_1509949463[0]; + return result_1862270999[0]; } -function HEX3Aanonymous_1493172552(piece_1493172553, board_1493172554, state_1493172555) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 160; - F.filename = "powers.nim"; - F.line = 652; - F.filename = "sequtils.nim"; - var resultHEX60gensym18_1493172560 = newSeq_1291845948(0); +function HEX3Aanonymous_1845494088(piece_1845494089, board_1845494090, state_1845494091) { + var resultHEX60gensym18_1845494096 = newSeq_1543504188(0); Label1: { - F.line = 653; - var it_1493172564 = null; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493178768 = 0; - F.line = 250; - var L_1493178769 = (piece_1493172553.moves).length; + var it_1845494100 = null; + var i_1845500327 = 0; + var L_1845500328 = (piece_1845494089.moves).length; Label2: { - F.line = 251; Label3: while (true) { - if (!(i_1493178768 < L_1493178769)) break Label3; - F.line = 653; - F.filename = "sequtils.nim"; - it_1493172564 = piece_1493172553.moves[chckIndx(i_1493178768, 0, (piece_1493172553.moves).length - 1)]; - if (!((it_1493172564 == HEX3Aanonymous_1509949465))) { - F.line = 654; - resultHEX60gensym18_1493172560.push(it_1493172564);; + if (!(i_1845500327 < L_1845500328)) break Label3; + it_1845494100 = piece_1845494089.moves[chckIndx(i_1845500327, 0, (piece_1845494089.moves).length - 1)]; + if (!((it_1845494100 == HEX3Aanonymous_1862271001))) { + resultHEX60gensym18_1845494096.push(it_1845494100);; } - F.line = 13; - F.filename = "iterators.nim"; - i_1493178768 += 1; - if (!(((piece_1493172553.moves).length == L_1493178769))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_1845500327 += 1; + if (!(((piece_1845494089.moves).length == L_1845500328))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - piece_1493172553.moves = nimCopy(null, resultHEX60gensym18_1493172560, NTI1291845874); - F.line = 161; - F.filename = "powers.nim"; - F.line = 652; - F.filename = "sequtils.nim"; - var resultHEX60gensym20_1493172577 = newSeq_1291845948(0); + piece_1845494089.moves = nimCopy(null, resultHEX60gensym18_1845494096, NTI1543504114); + var resultHEX60gensym20_1845494113 = newSeq_1543504188(0); Label4: { - F.line = 653; - var it_1493172581 = null; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493178772 = 0; - F.line = 250; - var L_1493178773 = (piece_1493172553.takes).length; + var it_1845494117 = null; + var i_1845500331 = 0; + var L_1845500332 = (piece_1845494089.takes).length; Label5: { - F.line = 251; Label6: while (true) { - if (!(i_1493178772 < L_1493178773)) break Label6; - F.line = 653; - F.filename = "sequtils.nim"; - it_1493172581 = piece_1493172553.takes[chckIndx(i_1493178772, 0, (piece_1493172553.takes).length - 1)]; - if (!((it_1493172581 == HEX3Aanonymous_1509949470))) { - F.line = 654; - resultHEX60gensym20_1493172577.push(it_1493172581);; + if (!(i_1845500331 < L_1845500332)) break Label6; + it_1845494117 = piece_1845494089.takes[chckIndx(i_1845500331, 0, (piece_1845494089.takes).length - 1)]; + if (!((it_1845494117 == HEX3Aanonymous_1862271006))) { + resultHEX60gensym20_1845494113.push(it_1845494117);; } - F.line = 13; - F.filename = "iterators.nim"; - i_1493178772 += 1; - if (!(((piece_1493172553.takes).length == L_1493178773))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_1845500331 += 1; + if (!(((piece_1845494089.takes).length == L_1845500332))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - piece_1493172553.takes = nimCopy(null, resultHEX60gensym20_1493172577, NTI1291845874); - if (isColor_1224737813(piece_1493172553, 1)) { - F.line = 166; - F.filename = "powers.nim"; - add_1493172278(piece_1493172553, "moves", [HEX3Aanonymous_1509949514, HEX3Aanonymous_1509949445, HEX3Aanonymous_1509949475]); - F.line = 167; - add_1493172278(piece_1493172553, "takes", [HEX3Aanonymous_1509949524, HEX3Aanonymous_1509949455, HEX3Aanonymous_1509949504]); + piece_1845494089.takes = nimCopy(null, resultHEX60gensym20_1845494113, NTI1543504114); + if (isColor_1476396053(piece_1845494089, 1)) { + add_1845493814(piece_1845494089, "moves", [HEX3Aanonymous_1862271050, HEX3Aanonymous_1862270981, HEX3Aanonymous_1862271011]); + add_1845493814(piece_1845494089, "takes", [HEX3Aanonymous_1862271060, HEX3Aanonymous_1862270991, HEX3Aanonymous_1862271040]); } else { - F.line = 169; - add_1493172278(piece_1493172553, "moves", [HEX3Aanonymous_1509949509, HEX3Aanonymous_1509949450, HEX3Aanonymous_1509949475]); - F.line = 170; - add_1493172278(piece_1493172553, "takes", [HEX3Aanonymous_1509949519, HEX3Aanonymous_1509949460, HEX3Aanonymous_1509949504]); + add_1845493814(piece_1845494089, "moves", [HEX3Aanonymous_1862271045, HEX3Aanonymous_1862270986, HEX3Aanonymous_1862271011]); + add_1845493814(piece_1845494089, "takes", [HEX3Aanonymous_1862271055, HEX3Aanonymous_1862270996, HEX3Aanonymous_1862271040]); } - F.line = 171; - piece_1493172553.promoted = true; - F.line = 172; - piece_1493172553.filePath = nimCopy(null, [112,114,111,109,111,116,101,100,115,105,108,118,101,114,103,101,110,101,114,97,108,46,115,118,103], NTI33554449); - framePtr = F.prev; + piece_1845494089.promoted = true; + piece_1845494089.filePath = nimCopy(null, [112,114,111,109,111,116,101,100,115,105,108,118,101,114,103,101,110,101,114,97,108,46,115,118,103], NTI33554449); } -function HEX3Aanonymous_1493172651(side_1493172652, viewSide_1493172653, b_1493172654, __1493172655) { +function HEX3Aanonymous_1845494187(side_1845494188, viewSide_1845494189, b_1845494190, __1845494191) { var Temporary1; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 192; - F.filename = "powers.nim"; - if ((side_1493172652 == 0)) { + if ((side_1845494188 == 0)) { Temporary1 = 1; } else { Temporary1 = 6; } - var rank_1493172660 = Temporary1; - if (!((b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)][chckIndx(1, 0, (b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)]).length - 1)].color == side_1493172652))) { - F.line = 193; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/the-playground/chess/src/powers.nim(193, 13) `b[rank][1].color == side` ")); + var rank_1845494196 = Temporary1; + if (!((b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)][chckIndx(1, 0, (b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)]).length - 1)].color == side_1845494188))) { + failedAssertImpl_268435541([112,111,119,101,114,115,46,110,105,109,40,49,57,51,44,32,49,51,41,32,96,98,91,114,97,110,107,93,91,49,93,46,99,111,108,111,114,32,61,61,32,115,105,100,101,96,32]); } - if ((side_1493172652 == 0)) { - F.line = 195; - b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)][chckIndx(1, 0, (b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1509949465, HEX3Aanonymous_1509949514], NTI1275068532); - F.line = 196; - b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)][chckIndx(1, 0, (b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1509949470, HEX3Aanonymous_1509949524], NTI1275068532); + if ((side_1845494188 == 0)) { + b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)][chckIndx(1, 0, (b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1862271001, HEX3Aanonymous_1862271050], NTI1526726772); + b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)][chckIndx(1, 0, (b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1862271006, HEX3Aanonymous_1862271060], NTI1526726772); } else { - F.line = 198; - b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)][chckIndx(1, 0, (b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1509949465, HEX3Aanonymous_1509949509], NTI1275068532); - F.line = 199; - b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)][chckIndx(1, 0, (b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1509949470, HEX3Aanonymous_1509949519], NTI1275068532); + b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)][chckIndx(1, 0, (b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1862271001, HEX3Aanonymous_1862271045], NTI1526726772); + b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)][chckIndx(1, 0, (b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1862271006, HEX3Aanonymous_1862271055], NTI1526726772); } - F.line = 200; - b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)][chckIndx(1, 0, (b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)]).length - 1)].onEndTurn = nimCopy(null, [HEX3Aanonymous_1493172639], NTI1275068457); - F.line = 201; - b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)][chckIndx(1, 0, (b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)]).length - 1)].onPromote = nimCopy(null, [HEX3Aanonymous_1493172552], NTI1275068457); - F.line = 202; - b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)][chckIndx(1, 0, (b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)]).length - 1)].item = 7; - F.line = 203; - b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)][chckIndx(1, 0, (b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)]).length - 1)].filePath = nimCopy(null, [115,105,108,118,101,114,103,101,110,101,114,97,108,46,115,118,103], NTI33554449); - F.line = 204; - b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)][chckIndx(1, 0, (b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)]).length - 1)].colorable = false; - if (!((side_1493172652 == viewSide_1493172653))) { - F.line = 205; - b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)][chckIndx(1, 0, (b_1493172654[chckIndx(rank_1493172660, 0, (b_1493172654).length - 1)]).length - 1)].rotate = true; + b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)][chckIndx(1, 0, (b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)]).length - 1)].onEndTurn = nimCopy(null, [HEX3Aanonymous_1845494175], NTI1526726697); + b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)][chckIndx(1, 0, (b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)]).length - 1)].onPromote = nimCopy(null, [HEX3Aanonymous_1845494088], NTI1526726697); + b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)][chckIndx(1, 0, (b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)]).length - 1)].item = 7; + b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)][chckIndx(1, 0, (b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)]).length - 1)].filePath = nimCopy(null, [115,105,108,118,101,114,103,101,110,101,114,97,108,46,115,118,103], NTI33554449); + b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)][chckIndx(1, 0, (b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)]).length - 1)].colorable = false; + if (!((side_1845494188 == viewSide_1845494189))) { + b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)][chckIndx(1, 0, (b_1845494190[chckIndx(rank_1845494196, 0, (b_1845494190).length - 1)]).length - 1)].rotate = true; } - framePtr = F.prev; } -function HEX3Aanonymous_1493172735(side_1493172736, viewSide_1493172737, b_1493172738, __1493172739) { +function HEX3Aanonymous_1845494271(side_1845494272, viewSide_1845494273, b_1845494274, __1845494275) { var Temporary1; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 222; - F.filename = "powers.nim"; - if ((side_1493172736 == 0)) { + if ((side_1845494272 == 0)) { Temporary1 = 1; } else { Temporary1 = 6; } - var rank_1493172744 = Temporary1; - if (!((b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)][chckIndx(6, 0, (b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)]).length - 1)].color == side_1493172736))) { - F.line = 223; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/the-playground/chess/src/powers.nim(223, 13) `b[rank][6].color == side` ")); + var rank_1845494280 = Temporary1; + if (!((b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)][chckIndx(6, 0, (b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)]).length - 1)].color == side_1845494272))) { + failedAssertImpl_268435541([112,111,119,101,114,115,46,110,105,109,40,50,50,51,44,32,49,51,41,32,96,98,91,114,97,110,107,93,91,54,93,46,99,111,108,111,114,32,61,61,32,115,105,100,101,96,32]); } - if ((side_1493172736 == 0)) { - F.line = 225; - b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)][chckIndx(6, 0, (b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1509949465, HEX3Aanonymous_1509949514], NTI1275068532); - F.line = 226; - b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)][chckIndx(6, 0, (b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1509949470, HEX3Aanonymous_1509949524], NTI1275068532); + if ((side_1845494272 == 0)) { + b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)][chckIndx(6, 0, (b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1862271001, HEX3Aanonymous_1862271050], NTI1526726772); + b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)][chckIndx(6, 0, (b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1862271006, HEX3Aanonymous_1862271060], NTI1526726772); } else { - F.line = 228; - b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)][chckIndx(6, 0, (b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1509949465, HEX3Aanonymous_1509949509], NTI1275068532); - F.line = 229; - b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)][chckIndx(6, 0, (b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1509949470, HEX3Aanonymous_1509949519], NTI1275068532); + b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)][chckIndx(6, 0, (b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1862271001, HEX3Aanonymous_1862271045], NTI1526726772); + b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)][chckIndx(6, 0, (b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1862271006, HEX3Aanonymous_1862271055], NTI1526726772); } - F.line = 230; - b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)][chckIndx(6, 0, (b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)]).length - 1)].onEndTurn = nimCopy(null, [HEX3Aanonymous_1493172639], NTI1275068457); - F.line = 231; - b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)][chckIndx(6, 0, (b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)]).length - 1)].onPromote = nimCopy(null, [HEX3Aanonymous_1493172552], NTI1275068457); - F.line = 232; - b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)][chckIndx(6, 0, (b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)]).length - 1)].item = 7; - F.line = 233; - b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)][chckIndx(6, 0, (b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)]).length - 1)].filePath = nimCopy(null, [115,105,108,118,101,114,103,101,110,101,114,97,108,46,115,118,103], NTI33554449); - F.line = 234; - b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)][chckIndx(6, 0, (b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)]).length - 1)].colorable = false; - if (!((side_1493172736 == viewSide_1493172737))) { - F.line = 235; - b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)][chckIndx(6, 0, (b_1493172738[chckIndx(rank_1493172744, 0, (b_1493172738).length - 1)]).length - 1)].rotate = true; + b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)][chckIndx(6, 0, (b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)]).length - 1)].onEndTurn = nimCopy(null, [HEX3Aanonymous_1845494175], NTI1526726697); + b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)][chckIndx(6, 0, (b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)]).length - 1)].onPromote = nimCopy(null, [HEX3Aanonymous_1845494088], NTI1526726697); + b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)][chckIndx(6, 0, (b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)]).length - 1)].item = 7; + b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)][chckIndx(6, 0, (b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)]).length - 1)].filePath = nimCopy(null, [115,105,108,118,101,114,103,101,110,101,114,97,108,46,115,118,103], NTI33554449); + b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)][chckIndx(6, 0, (b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)]).length - 1)].colorable = false; + if (!((side_1845494272 == viewSide_1845494273))) { + b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)][chckIndx(6, 0, (b_1845494274[chckIndx(rank_1845494280, 0, (b_1845494274).length - 1)]).length - 1)].rotate = true; } - framePtr = F.prev; } -function newIndex_1224737255(s_1224737256) { - var result_1224737257 = 0; +function newIndex_1476395495(s_1476395496) { + var result_1476395497 = 0; - var F = {procname: "piece.newIndex", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 198; - F.filename = "piece.nim"; - s_1224737256.Field0.nextIndex = addInt(s_1224737256.Field0.nextIndex, 1); - F.line = 199; - result_1224737257 = s_1224737256.Field0.nextIndex; + s_1476395496.Field0.nextIndex = addInt(s_1476395496.Field0.nextIndex, 1); + result_1476395497 = s_1476395496.Field0.nextIndex; break BeforeRet; }; - framePtr = F.prev; - return result_1224737257; + return result_1476395497; } -function pieceMove_1224737556(p_1224737557, rank_1224737558, file_1224737559, board_1224737560, state_1224737561) { - var F = {procname: "piece.pieceMove", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; - F.line = 231; - F.filename = "piece.nim"; - board_1224737560[chckIndx(rank_1224737558, 0, (board_1224737560).length - 1)][chckIndx(file_1224737559, 0, (board_1224737560[chckIndx(rank_1224737558, 0, (board_1224737560).length - 1)]).length - 1)] = nimCopy(board_1224737560[chckIndx(rank_1224737558, 0, (board_1224737560).length - 1)][chckIndx(file_1224737559, 0, (board_1224737560[chckIndx(rank_1224737558, 0, (board_1224737560).length - 1)]).length - 1)], board_1224737560[chckIndx(p_1224737557.tile.Field1, 0, (board_1224737560).length - 1)][chckIndx(p_1224737557.tile.Field0, 0, (board_1224737560[chckIndx(p_1224737557.tile.Field1, 0, (board_1224737560).length - 1)]).length - 1)], NTI1224736794); - F.line = 232; - board_1224737560[chckIndx(p_1224737557.tile.Field1, 0, (board_1224737560).length - 1)][chckIndx(p_1224737557.tile.Field0, 0, (board_1224737560[chckIndx(p_1224737557.tile.Field1, 0, (board_1224737560).length - 1)]).length - 1)] = nimCopy(board_1224737560[chckIndx(p_1224737557.tile.Field1, 0, (board_1224737560).length - 1)][chckIndx(p_1224737557.tile.Field0, 0, (board_1224737560[chckIndx(p_1224737557.tile.Field1, 0, (board_1224737560).length - 1)]).length - 1)], {index: newIndex_1224737255(state_1224737561), item: 6, tile: nimCopy(null, p_1224737557.tile, NTI1224736771), timesMoved: 0, piecesTaken: 0, promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, color: 0, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], casts: []}, NTI1224736794); - F.line = 233; - var colontmp__1493178779 = file_1224737559; - F.line = 233; - var colontmp__1493178780 = rank_1224737558; - F.line = 233; - board_1224737560[chckIndx(rank_1224737558, 0, (board_1224737560).length - 1)][chckIndx(file_1224737559, 0, (board_1224737560[chckIndx(rank_1224737558, 0, (board_1224737560).length - 1)]).length - 1)].tile = nimCopy(board_1224737560[chckIndx(rank_1224737558, 0, (board_1224737560).length - 1)][chckIndx(file_1224737559, 0, (board_1224737560[chckIndx(rank_1224737558, 0, (board_1224737560).length - 1)]).length - 1)].tile, {Field0: colontmp__1493178779, Field1: colontmp__1493178780}, NTI1224736771); - framePtr = F.prev; +function pieceMove_1476395796(p_1476395797, rank_1476395798, file_1476395799, board_1476395800, state_1476395801) { + board_1476395800[chckIndx(rank_1476395798, 0, (board_1476395800).length - 1)][chckIndx(file_1476395799, 0, (board_1476395800[chckIndx(rank_1476395798, 0, (board_1476395800).length - 1)]).length - 1)] = nimCopy(board_1476395800[chckIndx(rank_1476395798, 0, (board_1476395800).length - 1)][chckIndx(file_1476395799, 0, (board_1476395800[chckIndx(rank_1476395798, 0, (board_1476395800).length - 1)]).length - 1)], board_1476395800[chckIndx(p_1476395797.tile.Field1, 0, (board_1476395800).length - 1)][chckIndx(p_1476395797.tile.Field0, 0, (board_1476395800[chckIndx(p_1476395797.tile.Field1, 0, (board_1476395800).length - 1)]).length - 1)], NTI1476395034); + board_1476395800[chckIndx(p_1476395797.tile.Field1, 0, (board_1476395800).length - 1)][chckIndx(p_1476395797.tile.Field0, 0, (board_1476395800[chckIndx(p_1476395797.tile.Field1, 0, (board_1476395800).length - 1)]).length - 1)] = nimCopy(board_1476395800[chckIndx(p_1476395797.tile.Field1, 0, (board_1476395800).length - 1)][chckIndx(p_1476395797.tile.Field0, 0, (board_1476395800[chckIndx(p_1476395797.tile.Field1, 0, (board_1476395800).length - 1)]).length - 1)], {index: newIndex_1476395495(state_1476395801), item: 6, tile: nimCopy(null, p_1476395797.tile, NTI1476395011), timesMoved: 0, piecesTaken: 0, promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, color: 0, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], casts: []}, NTI1476395034); + var colontmp__1845500338 = file_1476395799; + var colontmp__1845500339 = rank_1476395798; + board_1476395800[chckIndx(rank_1476395798, 0, (board_1476395800).length - 1)][chckIndx(file_1476395799, 0, (board_1476395800[chckIndx(rank_1476395798, 0, (board_1476395800).length - 1)]).length - 1)].tile = nimCopy(board_1476395800[chckIndx(rank_1476395798, 0, (board_1476395800).length - 1)][chckIndx(file_1476395799, 0, (board_1476395800[chckIndx(rank_1476395798, 0, (board_1476395800).length - 1)]).length - 1)].tile, {Field0: colontmp__1845500338, Field1: colontmp__1845500339}, NTI1476395011); } -function HEX3Aanonymous_1493172787(side_1493172788, __1493172789, b_1493172790, s_1493172791) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - if ((side_1493172788 == 0)) { - F.line = 251; - F.filename = "powers.nim"; - pieceMove_1224737556(b_1493172790[chckIndx(1, 0, (b_1493172790).length - 1)][chckIndx(3, 0, (b_1493172790[chckIndx(1, 0, (b_1493172790).length - 1)]).length - 1)], 2, 3, b_1493172790, s_1493172791); - F.line = 252; - pieceMove_1224737556(b_1493172790[chckIndx(1, 0, (b_1493172790).length - 1)][chckIndx(4, 0, (b_1493172790[chckIndx(1, 0, (b_1493172790).length - 1)]).length - 1)], 2, 4, b_1493172790, s_1493172791); +function HEX3Aanonymous_1845494323(side_1845494324, __1845494325, b_1845494326, s_1845494327) { + if ((side_1845494324 == 0)) { + pieceMove_1476395796(b_1845494326[chckIndx(1, 0, (b_1845494326).length - 1)][chckIndx(3, 0, (b_1845494326[chckIndx(1, 0, (b_1845494326).length - 1)]).length - 1)], 2, 3, b_1845494326, s_1845494327); + pieceMove_1476395796(b_1845494326[chckIndx(1, 0, (b_1845494326).length - 1)][chckIndx(4, 0, (b_1845494326[chckIndx(1, 0, (b_1845494326).length - 1)]).length - 1)], 2, 4, b_1845494326, s_1845494327); } else { - F.line = 254; - pieceMove_1224737556(b_1493172790[chckIndx(6, 0, (b_1493172790).length - 1)][chckIndx(3, 0, (b_1493172790[chckIndx(6, 0, (b_1493172790).length - 1)]).length - 1)], 5, 3, b_1493172790, s_1493172791); - F.line = 255; - pieceMove_1224737556(b_1493172790[chckIndx(6, 0, (b_1493172790).length - 1)][chckIndx(4, 0, (b_1493172790[chckIndx(6, 0, (b_1493172790).length - 1)]).length - 1)], 5, 4, b_1493172790, s_1493172791); + pieceMove_1476395796(b_1845494326[chckIndx(6, 0, (b_1845494326).length - 1)][chckIndx(3, 0, (b_1845494326[chckIndx(6, 0, (b_1845494326).length - 1)]).length - 1)], 5, 3, b_1845494326, s_1845494327); + pieceMove_1476395796(b_1845494326[chckIndx(6, 0, (b_1845494326).length - 1)][chckIndx(4, 0, (b_1845494326[chckIndx(6, 0, (b_1845494326).length - 1)]).length - 1)], 5, 4, b_1845494326, s_1845494327); } - framePtr = F.prev; } -function add_1224737298(x_1224737300, x_1224737300_Idx, y_1224737301) { +function add_1476395538(x_1476395540, x_1476395540_Idx, y_1476395541) { var Temporary1; - var F = {procname: "add.add", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 1210; - F.filename = "system.nim"; - var xl_1224737306 = (x_1224737300[x_1224737300_Idx]).length; - F.line = 1211; - if (x_1224737300[x_1224737300_Idx].length < (Temporary1 = chckRange(addInt(xl_1224737306, (y_1224737301).length), 0, 2147483647), Temporary1)) { for (var i = x_1224737300[x_1224737300_Idx].length ; i < Temporary1 ; ++i) x_1224737300[x_1224737300_Idx].push({Field0: 0, Field1: 0}); } - else { x_1224737300[x_1224737300_Idx].length = Temporary1; }; + var xl_1476395546 = (x_1476395540[x_1476395540_Idx]).length; + if (x_1476395540[x_1476395540_Idx].length < (Temporary1 = chckRange(addInt(xl_1476395546, (y_1476395541).length), 0, 2147483647), Temporary1)) { for (var i = x_1476395540[x_1476395540_Idx].length ; i < Temporary1 ; ++i) x_1476395540[x_1476395540_Idx].push({Field0: 0, Field1: 0}); } + else { x_1476395540[x_1476395540_Idx].length = Temporary1; }; Label2: { - F.line = 1212; - var i_1224737322 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__1493178782 = 0; - F.line = 1212; - F.filename = "system.nim"; - colontmp__1493178782 = (y_1224737301).length - 1; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_1493178783 = 0; + var i_1476395562 = 0; + var colontmp__1845500341 = 0; + colontmp__1845500341 = (y_1476395541).length - 1; + var res_1845500342 = 0; Label3: { - F.line = 97; Label4: while (true) { - if (!(res_1493178783 <= colontmp__1493178782)) break Label4; - F.line = 1212; - F.filename = "system.nim"; - i_1224737322 = res_1493178783; - F.line = 1212; - x_1224737300[x_1224737300_Idx][chckIndx(addInt(xl_1224737306, i_1224737322), 0, (x_1224737300[x_1224737300_Idx]).length - 1)] = nimCopy(x_1224737300[x_1224737300_Idx][chckIndx(addInt(xl_1224737306, i_1224737322), 0, (x_1224737300[x_1224737300_Idx]).length - 1)], y_1224737301[chckIndx(i_1224737322, 0, (y_1224737301).length - 1)], NTI1224736771); - F.line = 102; - F.filename = "iterators_1.nim"; - res_1493178783 = addInt(res_1493178783, 1); + if (!(res_1845500342 <= colontmp__1845500341)) break Label4; + i_1476395562 = res_1845500342; + x_1476395540[x_1476395540_Idx][chckIndx(addInt(xl_1476395546, i_1476395562), 0, (x_1476395540[x_1476395540_Idx]).length - 1)] = nimCopy(x_1476395540[x_1476395540_Idx][chckIndx(addInt(xl_1476395546, i_1476395562), 0, (x_1476395540[x_1476395540_Idx]).length - 1)], y_1476395541[chckIndx(i_1476395562, 0, (y_1476395541).length - 1)], NTI1476395011); + res_1845500342 = addInt(res_1845500342, 1); } }; }; - framePtr = F.prev; } -function lineTakes_1291845819(board_1291845820, p_1291845821, shoot_1291845822, throughFlag_1291845823, cannibalismFlag_1291845824) { - var result_1291845825 = [[]]; +function lineTakes_1543504059(board_1543504060, p_1543504061, shoot_1543504062, throughFlag_1543504063, cannibalismFlag_1543504064) { + var result_1543504065 = [[]]; - var F = {procname: "moves.lineTakes", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/moves.nim", line: 0}; - framePtr = F; - F.line = 46; - F.filename = "moves.nim"; - var next_1291845826 = nimCopy(null, p_1291845821.tile, NTI1224736771); + var next_1543504066 = nimCopy(null, p_1543504061.tile, NTI1476395011); Label1: { - F.line = 47; Label2: while (true) { - if (!addIfTake_1291845739(result_1291845825, 0, board_1291845820, p_1291845821, next_1291845826, shoot_1291845822, throughFlag_1291845823, cannibalismFlag_1291845824)) break Label2; - F.line = 48; - next_1291845826 = nimCopy(next_1291845826, shoot_1291845822(next_1291845826), NTI1224736771); + if (!addIfTake_1543503979(result_1543504065, 0, board_1543504060, p_1543504061, next_1543504066, shoot_1543504062, throughFlag_1543504063, cannibalismFlag_1543504064)) break Label2; + next_1543504066 = nimCopy(next_1543504066, shoot_1543504062(next_1543504066), NTI1476395011); } }; - framePtr = F.prev; - return result_1291845825[0]; + return result_1543504065[0]; } -function HEX3Aanonymous_1509949576(board_1509949577, p_1509949578) { - var result_1509949579 = [[]]; +function HEX3Aanonymous_1862271112(board_1862271113, p_1862271114) { + var result_1862271115 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 110; - F.filename = "extramoves.nim"; - add_1224737298(result_1509949579, 0, lineTakes_1291845819(board_1509949577, p_1509949578, shooterFactory_1308622968(1, 1), false, true)); - F.line = 111; - add_1224737298(result_1509949579, 0, lineTakes_1291845819(board_1509949577, p_1509949578, shooterFactory_1308622968((-1), 1), false, true)); - F.line = 112; - add_1224737298(result_1509949579, 0, lineTakes_1291845819(board_1509949577, p_1509949578, shooterFactory_1308622968(1, (-1)), false, true)); - F.line = 113; - add_1224737298(result_1509949579, 0, lineTakes_1291845819(board_1509949577, p_1509949578, shooterFactory_1308622968((-1), (-1)), false, true)); - framePtr = F.prev; + add_1476395538(result_1862271115, 0, lineTakes_1543504059(board_1862271113, p_1862271114, shooterFactory_1560281208(1, 1), false, true)); + add_1476395538(result_1862271115, 0, lineTakes_1543504059(board_1862271113, p_1862271114, shooterFactory_1560281208((-1), 1), false, true)); + add_1476395538(result_1862271115, 0, lineTakes_1543504059(board_1862271113, p_1862271114, shooterFactory_1560281208(1, (-1)), false, true)); + add_1476395538(result_1862271115, 0, lineTakes_1543504059(board_1862271113, p_1862271114, shooterFactory_1560281208((-1), (-1)), false, true)); - return result_1509949579[0]; + return result_1862271115[0]; } -function newSeq_1224737519(len_1224737521) { - var result_1224737522 = []; - - var F = {procname: "newSeq.newSeq", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 633; - F.filename = "system.nim"; - result_1224737522 = new Array(len_1224737521); for (var i = 0 ; i < len_1224737521 ; ++i) { result_1224737522[i] = {Field0: 0, Field1: 0}; } framePtr = F.prev; +function newSeq_1476395759(len_1476395761) { + var result_1476395762 = []; - return result_1224737522; + result_1476395762 = new Array(len_1476395761); for (var i = 0 ; i < len_1476395761 ; ++i) { result_1476395762[i] = {Field0: 0, Field1: 0}; } + return result_1476395762; } -function HEX3DHEX3D_1308622964(a_1308622965, b_1308622966) { - var result_1308622967 = false; +function HEX3DHEX3D_1560281204(a_1560281205, b_1560281206) { + var result_1560281207 = false; - var F = {procname: "board.==", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/board.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 25; - F.filename = "board.nim"; - result_1308622967 = ((a_1308622965.Field0 == b_1308622966.Field0) && (a_1308622965.Field1 == b_1308622966.Field1)); + result_1560281207 = ((a_1560281205.Field0 == b_1560281206.Field0) && (a_1560281205.Field1 == b_1560281206.Field1)); break BeforeRet; }; - framePtr = F.prev; - return result_1308622967; + return result_1560281207; } -function HEX3Aanonymous_1509949597(board_1509949598, p_1509949599) { - var result_1509949600 = [[]]; +function HEX3Aanonymous_1862271133(board_1862271134, p_1862271135) { + var result_1862271136 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 116; - F.filename = "extramoves.nim"; Label1: { - F.line = 116; - var i_1509949605 = 0; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_1493178790 = (-1); + var i_1862271141 = 0; + var res_1845500349 = (-1); Label2: { - F.line = 97; Label3: while (true) { - if (!(res_1493178790 <= 1)) break Label3; - F.line = 116; - F.filename = "extramoves.nim"; - i_1509949605 = res_1493178790; + if (!(res_1845500349 <= 1)) break Label3; + i_1862271141 = res_1845500349; Label4: { - F.line = 117; - var j_1509949610 = 0; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_1493178788 = (-1); + var j_1862271146 = 0; + var res_1845500347 = (-1); Label5: { - F.line = 97; Label6: while (true) { - if (!(res_1493178788 <= 1)) break Label6; - F.line = 117; - F.filename = "extramoves.nim"; - j_1509949610 = res_1493178788; - F.line = 118; - var _ = addIfTake_1291845739(result_1509949600, 0, board_1509949598, p_1509949599, p_1509949599.tile, shooterFactory_1308622968(i_1509949605, j_1509949610), false, true); - F.line = 102; - F.filename = "iterators_1.nim"; - res_1493178788 = addInt(res_1493178788, 1); + if (!(res_1845500347 <= 1)) break Label6; + j_1862271146 = res_1845500347; + var _ = addIfTake_1543503979(result_1862271136, 0, board_1862271134, p_1862271135, p_1862271135.tile, shooterFactory_1560281208(i_1862271141, j_1862271146), false, true); + res_1845500347 = addInt(res_1845500347, 1); } }; }; - F.line = 102; - res_1493178790 = addInt(res_1493178790, 1); + res_1845500349 = addInt(res_1845500349, 1); } }; }; - F.line = 652; - F.filename = "sequtils.nim"; - var resultHEX60gensym0_1509949615 = newSeq_1224737519(0); + var resultHEX60gensym0_1862271151 = newSeq_1476395759(0); Label7: { - F.line = 653; - var it_1509949619 = {Field0: 0, Field1: 0}; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493178794 = 0; - F.line = 250; - var L_1493178795 = (result_1509949600[0]).length; + var it_1862271155 = {Field0: 0, Field1: 0}; + var i_1845500353 = 0; + var L_1845500354 = (result_1862271136[0]).length; Label8: { - F.line = 251; Label9: while (true) { - if (!(i_1493178794 < L_1493178795)) break Label9; - F.line = 653; - F.filename = "sequtils.nim"; - it_1509949619 = result_1509949600[0][chckIndx(i_1493178794, 0, (result_1509949600[0]).length - 1)]; - if (!(HEX3DHEX3D_1308622964(it_1509949619, p_1509949599.tile))) { - F.line = 654; - var Temporary10 = nimCopy(null, it_1509949619, NTI1224736771); - resultHEX60gensym0_1509949615.push(Temporary10);; + if (!(i_1845500353 < L_1845500354)) break Label9; + it_1862271155 = result_1862271136[0][chckIndx(i_1845500353, 0, (result_1862271136[0]).length - 1)]; + if (!(HEX3DHEX3D_1560281204(it_1862271155, p_1862271135.tile))) { + var Temporary10 = nimCopy(null, it_1862271155, NTI1476395011); + resultHEX60gensym0_1862271151.push(Temporary10);; } - F.line = 13; - F.filename = "iterators.nim"; - i_1493178794 += 1; - if (!(((result_1509949600[0]).length == L_1493178795))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_1845500353 += 1; + if (!(((result_1862271136[0]).length == L_1845500354))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - result_1509949600[0] = nimCopy(null, resultHEX60gensym0_1509949615, NTI1224737341); - framePtr = F.prev; + result_1862271136[0] = nimCopy(null, resultHEX60gensym0_1862271151, NTI1476395581); - return result_1509949600[0]; + return result_1862271136[0]; } -function HEX3Aanonymous_1509949555(board_1509949556, p_1509949557) { - var result_1509949558 = [[]]; +function HEX3Aanonymous_1862271091(board_1862271092, p_1862271093) { + var result_1862271094 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 104; - F.filename = "extramoves.nim"; - add_1224737298(result_1509949558, 0, lineTakes_1291845819(board_1509949556, p_1509949557, tileAbove_1308622990, false, true)); - F.line = 105; - add_1224737298(result_1509949558, 0, lineTakes_1291845819(board_1509949556, p_1509949557, tileBelow_1308622993, false, true)); - F.line = 106; - add_1224737298(result_1509949558, 0, lineTakes_1291845819(board_1509949556, p_1509949557, tileLeft_1308622996, false, true)); - F.line = 107; - add_1224737298(result_1509949558, 0, lineTakes_1291845819(board_1509949556, p_1509949557, tileRight_1308622999, false, true)); - framePtr = F.prev; + add_1476395538(result_1862271094, 0, lineTakes_1543504059(board_1862271092, p_1862271093, tileAbove_1560281230, false, true)); + add_1476395538(result_1862271094, 0, lineTakes_1543504059(board_1862271092, p_1862271093, tileBelow_1560281233, false, true)); + add_1476395538(result_1862271094, 0, lineTakes_1543504059(board_1862271092, p_1862271093, tileLeft_1560281236, false, true)); + add_1476395538(result_1862271094, 0, lineTakes_1543504059(board_1862271092, p_1862271093, tileRight_1560281239, false, true)); - return result_1509949558[0]; + return result_1862271094[0]; } -function HEX3Aanonymous_1493172797(side_1493172798, __1493172799, b_1493172800, s_1493172801) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 267; - F.filename = "powers.nim"; - buff_1493172242(1, side_1493172798, b_1493172800, s_1493172801, [], [HEX3Aanonymous_1509949576, HEX3Aanonymous_1509949597, HEX3Aanonymous_1509949555], [], false, [], null, null, null, false); - framePtr = F.prev; +function HEX3Aanonymous_1845494333(side_1845494334, __1845494335, b_1845494336, s_1845494337) { + buff_1845493778(1, side_1845494334, b_1845494336, s_1845494337, [], [HEX3Aanonymous_1862271112, HEX3Aanonymous_1862271133, HEX3Aanonymous_1862271091], [], false, [], null, null, null, false); } -function pieceSwap_1224737595(p1_1224737596, p2_1224737597, board_1224737598) { - var F = {procname: "piece.pieceSwap", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; - F.line = 248; - F.filename = "piece.nim"; - var temp_1224737599 = nimCopy(null, p1_1224737596, NTI1224736794); - F.line = 250; - board_1224737598[chckIndx(p1_1224737596.tile.Field1, 0, (board_1224737598).length - 1)][chckIndx(p1_1224737596.tile.Field0, 0, (board_1224737598[chckIndx(p1_1224737596.tile.Field1, 0, (board_1224737598).length - 1)]).length - 1)] = nimCopy(board_1224737598[chckIndx(p1_1224737596.tile.Field1, 0, (board_1224737598).length - 1)][chckIndx(p1_1224737596.tile.Field0, 0, (board_1224737598[chckIndx(p1_1224737596.tile.Field1, 0, (board_1224737598).length - 1)]).length - 1)], p2_1224737597, NTI1224736794); - F.line = 251; - board_1224737598[chckIndx(p2_1224737597.tile.Field1, 0, (board_1224737598).length - 1)][chckIndx(p2_1224737597.tile.Field0, 0, (board_1224737598[chckIndx(p2_1224737597.tile.Field1, 0, (board_1224737598).length - 1)]).length - 1)] = nimCopy(board_1224737598[chckIndx(p2_1224737597.tile.Field1, 0, (board_1224737598).length - 1)][chckIndx(p2_1224737597.tile.Field0, 0, (board_1224737598[chckIndx(p2_1224737597.tile.Field1, 0, (board_1224737598).length - 1)]).length - 1)], temp_1224737599, NTI1224736794); - F.line = 252; - var colontmp__1493178797 = p1_1224737596.tile.Field0; - F.line = 252; - var colontmp__1493178798 = p1_1224737596.tile.Field1; - F.line = 252; - board_1224737598[chckIndx(p1_1224737596.tile.Field1, 0, (board_1224737598).length - 1)][chckIndx(p1_1224737596.tile.Field0, 0, (board_1224737598[chckIndx(p1_1224737596.tile.Field1, 0, (board_1224737598).length - 1)]).length - 1)].tile = nimCopy(board_1224737598[chckIndx(p1_1224737596.tile.Field1, 0, (board_1224737598).length - 1)][chckIndx(p1_1224737596.tile.Field0, 0, (board_1224737598[chckIndx(p1_1224737596.tile.Field1, 0, (board_1224737598).length - 1)]).length - 1)].tile, {Field0: colontmp__1493178797, Field1: colontmp__1493178798}, NTI1224736771); - F.line = 253; - var colontmp__1493178799 = temp_1224737599.tile.Field0; - F.line = 253; - var colontmp__1493178800 = temp_1224737599.tile.Field1; - F.line = 253; - board_1224737598[chckIndx(temp_1224737599.tile.Field1, 0, (board_1224737598).length - 1)][chckIndx(temp_1224737599.tile.Field0, 0, (board_1224737598[chckIndx(temp_1224737599.tile.Field1, 0, (board_1224737598).length - 1)]).length - 1)].tile = nimCopy(board_1224737598[chckIndx(temp_1224737599.tile.Field1, 0, (board_1224737598).length - 1)][chckIndx(temp_1224737599.tile.Field0, 0, (board_1224737598[chckIndx(temp_1224737599.tile.Field1, 0, (board_1224737598).length - 1)]).length - 1)].tile, {Field0: colontmp__1493178799, Field1: colontmp__1493178800}, NTI1224736771); - framePtr = F.prev; +function pieceSwap_1476395835(p1_1476395836, p2_1476395837, board_1476395838) { + var temp_1476395839 = nimCopy(null, p1_1476395836, NTI1476395034); + board_1476395838[chckIndx(p1_1476395836.tile.Field1, 0, (board_1476395838).length - 1)][chckIndx(p1_1476395836.tile.Field0, 0, (board_1476395838[chckIndx(p1_1476395836.tile.Field1, 0, (board_1476395838).length - 1)]).length - 1)] = nimCopy(board_1476395838[chckIndx(p1_1476395836.tile.Field1, 0, (board_1476395838).length - 1)][chckIndx(p1_1476395836.tile.Field0, 0, (board_1476395838[chckIndx(p1_1476395836.tile.Field1, 0, (board_1476395838).length - 1)]).length - 1)], p2_1476395837, NTI1476395034); + board_1476395838[chckIndx(p2_1476395837.tile.Field1, 0, (board_1476395838).length - 1)][chckIndx(p2_1476395837.tile.Field0, 0, (board_1476395838[chckIndx(p2_1476395837.tile.Field1, 0, (board_1476395838).length - 1)]).length - 1)] = nimCopy(board_1476395838[chckIndx(p2_1476395837.tile.Field1, 0, (board_1476395838).length - 1)][chckIndx(p2_1476395837.tile.Field0, 0, (board_1476395838[chckIndx(p2_1476395837.tile.Field1, 0, (board_1476395838).length - 1)]).length - 1)], temp_1476395839, NTI1476395034); + var colontmp__1845500356 = p1_1476395836.tile.Field0; + var colontmp__1845500357 = p1_1476395836.tile.Field1; + board_1476395838[chckIndx(p1_1476395836.tile.Field1, 0, (board_1476395838).length - 1)][chckIndx(p1_1476395836.tile.Field0, 0, (board_1476395838[chckIndx(p1_1476395836.tile.Field1, 0, (board_1476395838).length - 1)]).length - 1)].tile = nimCopy(board_1476395838[chckIndx(p1_1476395836.tile.Field1, 0, (board_1476395838).length - 1)][chckIndx(p1_1476395836.tile.Field0, 0, (board_1476395838[chckIndx(p1_1476395836.tile.Field1, 0, (board_1476395838).length - 1)]).length - 1)].tile, {Field0: colontmp__1845500356, Field1: colontmp__1845500357}, NTI1476395011); + var colontmp__1845500358 = temp_1476395839.tile.Field0; + var colontmp__1845500359 = temp_1476395839.tile.Field1; + board_1476395838[chckIndx(temp_1476395839.tile.Field1, 0, (board_1476395838).length - 1)][chckIndx(temp_1476395839.tile.Field0, 0, (board_1476395838[chckIndx(temp_1476395839.tile.Field1, 0, (board_1476395838).length - 1)]).length - 1)].tile = nimCopy(board_1476395838[chckIndx(temp_1476395839.tile.Field1, 0, (board_1476395838).length - 1)][chckIndx(temp_1476395839.tile.Field0, 0, (board_1476395838[chckIndx(temp_1476395839.tile.Field1, 0, (board_1476395838).length - 1)]).length - 1)].tile, {Field0: colontmp__1845500358, Field1: colontmp__1845500359}, NTI1476395011); } -function HEX3Aanonymous_1493172845(side_1493172846, __1493172847, b_1493172848, __1493172849) { +function HEX3Aanonymous_1845494381(side_1845494382, __1845494383, b_1845494384, __1845494385) { var Temporary1; var Temporary2; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 313; - F.filename = "powers.nim"; - if ((side_1493172846 == 0)) { + if ((side_1845494382 == 0)) { Temporary1 = 0; } else { Temporary1 = 6; } - var rank_1493172854 = Temporary1; - F.line = 314; - pieceSwap_1224737595(b_1493172848[chckIndx(rank_1493172854, 0, (b_1493172848).length - 1)][chckIndx(2, 0, (b_1493172848[chckIndx(rank_1493172854, 0, (b_1493172848).length - 1)]).length - 1)], (Temporary2 = b_1493172848[chckIndx(addInt(rank_1493172854, 1), 0, (b_1493172848).length - 1)], Temporary2)[chckIndx(2, 0, (Temporary2).length - 1)], b_1493172848); - framePtr = F.prev; + var rank_1845494390 = Temporary1; + pieceSwap_1476395835(b_1845494384[chckIndx(rank_1845494390, 0, (b_1845494384).length - 1)][chckIndx(2, 0, (b_1845494384[chckIndx(rank_1845494390, 0, (b_1845494384).length - 1)]).length - 1)], (Temporary2 = b_1845494384[chckIndx(addInt(rank_1845494390, 1), 0, (b_1845494384).length - 1)], Temporary2)[chckIndx(2, 0, (Temporary2).length - 1)], b_1845494384); } -function HEX3Aanonymous_1493172856(side_1493172857, __1493172858, b_1493172859, __1493172860) { +function HEX3Aanonymous_1845494392(side_1845494393, __1845494394, b_1845494395, __1845494396) { var Temporary1; var Temporary2; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 328; - F.filename = "powers.nim"; - if ((side_1493172857 == 0)) { + if ((side_1845494393 == 0)) { Temporary1 = 0; } else { Temporary1 = 6; } - var rank_1493172865 = Temporary1; - F.line = 329; - pieceSwap_1224737595(b_1493172859[chckIndx(rank_1493172865, 0, (b_1493172859).length - 1)][chckIndx(5, 0, (b_1493172859[chckIndx(rank_1493172865, 0, (b_1493172859).length - 1)]).length - 1)], (Temporary2 = b_1493172859[chckIndx(addInt(rank_1493172865, 1), 0, (b_1493172859).length - 1)], Temporary2)[chckIndx(5, 0, (Temporary2).length - 1)], b_1493172859); - framePtr = F.prev; + var rank_1845494401 = Temporary1; + pieceSwap_1476395835(b_1845494395[chckIndx(rank_1845494401, 0, (b_1845494395).length - 1)][chckIndx(5, 0, (b_1845494395[chckIndx(rank_1845494401, 0, (b_1845494395).length - 1)]).length - 1)], (Temporary2 = b_1845494395[chckIndx(addInt(rank_1845494401, 1), 0, (b_1845494395).length - 1)], Temporary2)[chckIndx(5, 0, (Temporary2).length - 1)], b_1845494395); } -function HEX3Aanonymous_1493172823(side_1493172824, __1493172825, b_1493172826, __1493172827) { +function HEX3Aanonymous_1845494359(side_1845494360, __1845494361, b_1845494362, __1845494363) { var Temporary1; var Temporary2; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 283; - F.filename = "powers.nim"; - if ((side_1493172824 == 0)) { + if ((side_1845494360 == 0)) { Temporary1 = 0; } else { Temporary1 = 6; } - var rank_1493172832 = Temporary1; - F.line = 284; - pieceSwap_1224737595(b_1493172826[chckIndx(rank_1493172832, 0, (b_1493172826).length - 1)][chckIndx(0, 0, (b_1493172826[chckIndx(rank_1493172832, 0, (b_1493172826).length - 1)]).length - 1)], (Temporary2 = b_1493172826[chckIndx(addInt(rank_1493172832, 1), 0, (b_1493172826).length - 1)], Temporary2)[chckIndx(0, 0, (Temporary2).length - 1)], b_1493172826); - framePtr = F.prev; + var rank_1845494368 = Temporary1; + pieceSwap_1476395835(b_1845494362[chckIndx(rank_1845494368, 0, (b_1845494362).length - 1)][chckIndx(0, 0, (b_1845494362[chckIndx(rank_1845494368, 0, (b_1845494362).length - 1)]).length - 1)], (Temporary2 = b_1845494362[chckIndx(addInt(rank_1845494368, 1), 0, (b_1845494362).length - 1)], Temporary2)[chckIndx(0, 0, (Temporary2).length - 1)], b_1845494362); } -function HEX3Aanonymous_1493172834(side_1493172835, __1493172836, b_1493172837, __1493172838) { +function HEX3Aanonymous_1845494370(side_1845494371, __1845494372, b_1845494373, __1845494374) { var Temporary1; var Temporary2; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 298; - F.filename = "powers.nim"; - if ((side_1493172835 == 0)) { + if ((side_1845494371 == 0)) { Temporary1 = 0; } else { Temporary1 = 6; } - var rank_1493172843 = Temporary1; - F.line = 299; - pieceSwap_1224737595(b_1493172837[chckIndx(rank_1493172843, 0, (b_1493172837).length - 1)][chckIndx(7, 0, (b_1493172837[chckIndx(rank_1493172843, 0, (b_1493172837).length - 1)]).length - 1)], (Temporary2 = b_1493172837[chckIndx(addInt(rank_1493172843, 1), 0, (b_1493172837).length - 1)], Temporary2)[chckIndx(7, 0, (Temporary2).length - 1)], b_1493172837); - framePtr = F.prev; + var rank_1845494379 = Temporary1; + pieceSwap_1476395835(b_1845494373[chckIndx(rank_1845494379, 0, (b_1845494373).length - 1)][chckIndx(7, 0, (b_1845494373[chckIndx(rank_1845494379, 0, (b_1845494373).length - 1)]).length - 1)], (Temporary2 = b_1845494373[chckIndx(addInt(rank_1845494379, 1), 0, (b_1845494373).length - 1)], Temporary2)[chckIndx(7, 0, (Temporary2).length - 1)], b_1845494373); } -function HEX3Aanonymous_1493172867(piece_1493172868, board_1493172869, state_1493172870) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - if ((piece_1493172868.piecesTaken == 3)) { +function HEX3Aanonymous_1845494403(piece_1845494404, board_1845494405, state_1845494406) { + if ((piece_1845494404.piecesTaken == 3)) { Label1: { - F.line = 181; - F.filename = "piece.nim"; - var xHEX60gensym33_1493172875 = null; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493178802 = 0; - F.line = 250; - var L_1493178803 = (piece_1493172868.onPromote).length; + var xHEX60gensym33_1845494411 = null; + var i_1845500361 = 0; + var L_1845500362 = (piece_1845494404.onPromote).length; Label2: { - F.line = 251; Label3: while (true) { - if (!(i_1493178802 < L_1493178803)) break Label3; - F.line = 334; - F.filename = "powers.nim"; - xHEX60gensym33_1493172875 = piece_1493172868.onPromote[chckIndx(i_1493178802, 0, (piece_1493172868.onPromote).length - 1)]; - F.line = 182; - F.filename = "piece.nim"; - xHEX60gensym33_1493172875(piece_1493172868, board_1493172869, state_1493172870); - if (piece_1493172868.promoted) { - F.line = 183; + if (!(i_1845500361 < L_1845500362)) break Label3; + xHEX60gensym33_1845494411 = piece_1845494404.onPromote[chckIndx(i_1845500361, 0, (piece_1845494404.onPromote).length - 1)]; + xHEX60gensym33_1845494411(piece_1845494404, board_1845494405, state_1845494406); + if (piece_1845494404.promoted) { break Label1; } - F.line = 13; - F.filename = "iterators.nim"; - i_1493178802 += 1; - if (!(((piece_1493172868.onPromote).length == L_1493178803))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_1845500361 += 1; + if (!(((piece_1845494404.onPromote).length == L_1845500362))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } @@ -4228,526 +3160,344 @@ function HEX3Aanonymous_1493172867(piece_1493172868, board_1493172869, state_149 }; } - framePtr = F.prev; } -function HEX3Aanonymous_1493172879(side_1493172880, __1493172881, b_1493172882, s_1493172883) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 347; - F.filename = "powers.nim"; - buff_1493172242(3, side_1493172880, b_1493172882, s_1493172883, [], [], [HEX3Aanonymous_1493172867], false, [], null, null, null, false); - framePtr = F.prev; +function HEX3Aanonymous_1845494415(side_1845494416, __1845494417, b_1845494418, s_1845494419) { + buff_1845493778(3, side_1845494416, b_1845494418, s_1845494419, [], [], [HEX3Aanonymous_1845494403], false, [], null, null, null, false); } -function HEX3Aanonymous_1224737210(piece_1224737211, board_1224737212, state_1224737213) { - var F = {procname: "piece.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; - framePtr = F.prev; - +function HEX3Aanonymous_1476395450(piece_1476395451, board_1476395452, state_1476395453) { } -function HEX3Aanonymous_1493172889(side_1493172890, viewSide_1493172891, b_1493172892, __1493172893) { +function HEX3Aanonymous_1845494425(side_1845494426, viewSide_1845494427, b_1845494428, __1845494429) { var Temporary1; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 367; - F.filename = "powers.nim"; - if ((side_1493172890 == 0)) { + if ((side_1845494426 == 0)) { Temporary1 = 1; } else { Temporary1 = 6; } - var rank_1493172898 = Temporary1; - if (!((b_1493172892[chckIndx(rank_1493172898, 0, (b_1493172892).length - 1)][chckIndx(2, 0, (b_1493172892[chckIndx(rank_1493172898, 0, (b_1493172892).length - 1)]).length - 1)].color == side_1493172890))) { - F.line = 368; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/the-playground/chess/src/powers.nim(368, 13) `b[rank][2].color == side` ")); + var rank_1845494434 = Temporary1; + if (!((b_1845494428[chckIndx(rank_1845494434, 0, (b_1845494428).length - 1)][chckIndx(2, 0, (b_1845494428[chckIndx(rank_1845494434, 0, (b_1845494428).length - 1)]).length - 1)].color == side_1845494426))) { + failedAssertImpl_268435541([112,111,119,101,114,115,46,110,105,109,40,51,54,56,44,32,49,51,41,32,96,98,91,114,97,110,107,93,91,50,93,46,99,111,108,111,114,32,61,61,32,115,105,100,101,96,32]); } - if ((side_1493172890 == 0)) { - F.line = 370; - b_1493172892[chckIndx(rank_1493172898, 0, (b_1493172892).length - 1)][chckIndx(2, 0, (b_1493172892[chckIndx(rank_1493172898, 0, (b_1493172892).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1509949465, HEX3Aanonymous_1509949514, HEX3Aanonymous_1509949475], NTI1291846007); - F.line = 371; - b_1493172892[chckIndx(rank_1493172898, 0, (b_1493172892).length - 1)][chckIndx(2, 0, (b_1493172892[chckIndx(rank_1493172898, 0, (b_1493172892).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1509949470, HEX3Aanonymous_1509949524, HEX3Aanonymous_1509949504], NTI1291846007); + if ((side_1845494426 == 0)) { + b_1845494428[chckIndx(rank_1845494434, 0, (b_1845494428).length - 1)][chckIndx(2, 0, (b_1845494428[chckIndx(rank_1845494434, 0, (b_1845494428).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1862271001, HEX3Aanonymous_1862271050, HEX3Aanonymous_1862271011], NTI1543504247); + b_1845494428[chckIndx(rank_1845494434, 0, (b_1845494428).length - 1)][chckIndx(2, 0, (b_1845494428[chckIndx(rank_1845494434, 0, (b_1845494428).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1862271006, HEX3Aanonymous_1862271060, HEX3Aanonymous_1862271040], NTI1543504247); } else { - F.line = 373; - b_1493172892[chckIndx(rank_1493172898, 0, (b_1493172892).length - 1)][chckIndx(2, 0, (b_1493172892[chckIndx(rank_1493172898, 0, (b_1493172892).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1509949465, HEX3Aanonymous_1509949509, HEX3Aanonymous_1509949475], NTI1291846007); - F.line = 374; - b_1493172892[chckIndx(rank_1493172898, 0, (b_1493172892).length - 1)][chckIndx(2, 0, (b_1493172892[chckIndx(rank_1493172898, 0, (b_1493172892).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1509949470, HEX3Aanonymous_1509949519, HEX3Aanonymous_1509949504], NTI1291846007); + b_1845494428[chckIndx(rank_1845494434, 0, (b_1845494428).length - 1)][chckIndx(2, 0, (b_1845494428[chckIndx(rank_1845494434, 0, (b_1845494428).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1862271001, HEX3Aanonymous_1862271045, HEX3Aanonymous_1862271011], NTI1543504247); + b_1845494428[chckIndx(rank_1845494434, 0, (b_1845494428).length - 1)][chckIndx(2, 0, (b_1845494428[chckIndx(rank_1845494434, 0, (b_1845494428).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1862271006, HEX3Aanonymous_1862271055, HEX3Aanonymous_1862271040], NTI1543504247); } - F.line = 375; - b_1493172892[chckIndx(rank_1493172898, 0, (b_1493172892).length - 1)][chckIndx(2, 0, (b_1493172892[chckIndx(rank_1493172898, 0, (b_1493172892).length - 1)]).length - 1)].onPromote = nimCopy(null, [HEX3Aanonymous_1224737210], NTI1275068457); - F.line = 376; - b_1493172892[chckIndx(rank_1493172898, 0, (b_1493172892).length - 1)][chckIndx(2, 0, (b_1493172892[chckIndx(rank_1493172898, 0, (b_1493172892).length - 1)]).length - 1)].item = 7; - F.line = 377; - b_1493172892[chckIndx(rank_1493172898, 0, (b_1493172892).length - 1)][chckIndx(2, 0, (b_1493172892[chckIndx(rank_1493172898, 0, (b_1493172892).length - 1)]).length - 1)].filePath = nimCopy(null, [103,111,108,100,103,101,110,101,114,97,108,46,115,118,103], NTI33554449); - F.line = 378; - b_1493172892[chckIndx(rank_1493172898, 0, (b_1493172892).length - 1)][chckIndx(2, 0, (b_1493172892[chckIndx(rank_1493172898, 0, (b_1493172892).length - 1)]).length - 1)].colorable = false; - if (!((side_1493172890 == viewSide_1493172891))) { - F.line = 379; - b_1493172892[chckIndx(rank_1493172898, 0, (b_1493172892).length - 1)][chckIndx(2, 0, (b_1493172892[chckIndx(rank_1493172898, 0, (b_1493172892).length - 1)]).length - 1)].rotate = true; + b_1845494428[chckIndx(rank_1845494434, 0, (b_1845494428).length - 1)][chckIndx(2, 0, (b_1845494428[chckIndx(rank_1845494434, 0, (b_1845494428).length - 1)]).length - 1)].onPromote = nimCopy(null, [HEX3Aanonymous_1476395450], NTI1526726697); + b_1845494428[chckIndx(rank_1845494434, 0, (b_1845494428).length - 1)][chckIndx(2, 0, (b_1845494428[chckIndx(rank_1845494434, 0, (b_1845494428).length - 1)]).length - 1)].item = 7; + b_1845494428[chckIndx(rank_1845494434, 0, (b_1845494428).length - 1)][chckIndx(2, 0, (b_1845494428[chckIndx(rank_1845494434, 0, (b_1845494428).length - 1)]).length - 1)].filePath = nimCopy(null, [103,111,108,100,103,101,110,101,114,97,108,46,115,118,103], NTI33554449); + b_1845494428[chckIndx(rank_1845494434, 0, (b_1845494428).length - 1)][chckIndx(2, 0, (b_1845494428[chckIndx(rank_1845494434, 0, (b_1845494428).length - 1)]).length - 1)].colorable = false; + if (!((side_1845494426 == viewSide_1845494427))) { + b_1845494428[chckIndx(rank_1845494434, 0, (b_1845494428).length - 1)][chckIndx(2, 0, (b_1845494428[chckIndx(rank_1845494434, 0, (b_1845494428).length - 1)]).length - 1)].rotate = true; } - framePtr = F.prev; } -function HEX3Aanonymous_1493172937(side_1493172938, viewSide_1493172939, b_1493172940, __1493172941) { +function HEX3Aanonymous_1845494473(side_1845494474, viewSide_1845494475, b_1845494476, __1845494477) { var Temporary1; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 396; - F.filename = "powers.nim"; - if ((side_1493172938 == 0)) { + if ((side_1845494474 == 0)) { Temporary1 = 1; } else { Temporary1 = 6; } - var rank_1493172946 = Temporary1; - if (!((b_1493172940[chckIndx(rank_1493172946, 0, (b_1493172940).length - 1)][chckIndx(5, 0, (b_1493172940[chckIndx(rank_1493172946, 0, (b_1493172940).length - 1)]).length - 1)].color == side_1493172938))) { - F.line = 397; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/the-playground/chess/src/powers.nim(397, 13) `b[rank][5].color == side` ")); + var rank_1845494482 = Temporary1; + if (!((b_1845494476[chckIndx(rank_1845494482, 0, (b_1845494476).length - 1)][chckIndx(5, 0, (b_1845494476[chckIndx(rank_1845494482, 0, (b_1845494476).length - 1)]).length - 1)].color == side_1845494474))) { + failedAssertImpl_268435541([112,111,119,101,114,115,46,110,105,109,40,51,57,55,44,32,49,51,41,32,96,98,91,114,97,110,107,93,91,53,93,46,99,111,108,111,114,32,61,61,32,115,105,100,101,96,32]); } - if ((side_1493172938 == 0)) { - F.line = 399; - b_1493172940[chckIndx(rank_1493172946, 0, (b_1493172940).length - 1)][chckIndx(5, 0, (b_1493172940[chckIndx(rank_1493172946, 0, (b_1493172940).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1509949465, HEX3Aanonymous_1509949514, HEX3Aanonymous_1509949475], NTI1291846007); - F.line = 400; - b_1493172940[chckIndx(rank_1493172946, 0, (b_1493172940).length - 1)][chckIndx(5, 0, (b_1493172940[chckIndx(rank_1493172946, 0, (b_1493172940).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1509949470, HEX3Aanonymous_1509949524, HEX3Aanonymous_1509949504], NTI1291846007); + if ((side_1845494474 == 0)) { + b_1845494476[chckIndx(rank_1845494482, 0, (b_1845494476).length - 1)][chckIndx(5, 0, (b_1845494476[chckIndx(rank_1845494482, 0, (b_1845494476).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1862271001, HEX3Aanonymous_1862271050, HEX3Aanonymous_1862271011], NTI1543504247); + b_1845494476[chckIndx(rank_1845494482, 0, (b_1845494476).length - 1)][chckIndx(5, 0, (b_1845494476[chckIndx(rank_1845494482, 0, (b_1845494476).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1862271006, HEX3Aanonymous_1862271060, HEX3Aanonymous_1862271040], NTI1543504247); } else { - F.line = 402; - b_1493172940[chckIndx(rank_1493172946, 0, (b_1493172940).length - 1)][chckIndx(5, 0, (b_1493172940[chckIndx(rank_1493172946, 0, (b_1493172940).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1509949465, HEX3Aanonymous_1509949509, HEX3Aanonymous_1509949475], NTI1291846007); - F.line = 403; - b_1493172940[chckIndx(rank_1493172946, 0, (b_1493172940).length - 1)][chckIndx(5, 0, (b_1493172940[chckIndx(rank_1493172946, 0, (b_1493172940).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1509949470, HEX3Aanonymous_1509949519, HEX3Aanonymous_1509949504], NTI1291846007); + b_1845494476[chckIndx(rank_1845494482, 0, (b_1845494476).length - 1)][chckIndx(5, 0, (b_1845494476[chckIndx(rank_1845494482, 0, (b_1845494476).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1862271001, HEX3Aanonymous_1862271045, HEX3Aanonymous_1862271011], NTI1543504247); + b_1845494476[chckIndx(rank_1845494482, 0, (b_1845494476).length - 1)][chckIndx(5, 0, (b_1845494476[chckIndx(rank_1845494482, 0, (b_1845494476).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1862271006, HEX3Aanonymous_1862271055, HEX3Aanonymous_1862271040], NTI1543504247); } - F.line = 404; - b_1493172940[chckIndx(rank_1493172946, 0, (b_1493172940).length - 1)][chckIndx(5, 0, (b_1493172940[chckIndx(rank_1493172946, 0, (b_1493172940).length - 1)]).length - 1)].onPromote = nimCopy(null, [HEX3Aanonymous_1224737210], NTI1275068457); - F.line = 405; - b_1493172940[chckIndx(rank_1493172946, 0, (b_1493172940).length - 1)][chckIndx(5, 0, (b_1493172940[chckIndx(rank_1493172946, 0, (b_1493172940).length - 1)]).length - 1)].item = 7; - F.line = 406; - b_1493172940[chckIndx(rank_1493172946, 0, (b_1493172940).length - 1)][chckIndx(5, 0, (b_1493172940[chckIndx(rank_1493172946, 0, (b_1493172940).length - 1)]).length - 1)].filePath = nimCopy(null, [103,111,108,100,103,101,110,101,114,97,108,46,115,118,103], NTI33554449); - F.line = 407; - b_1493172940[chckIndx(rank_1493172946, 0, (b_1493172940).length - 1)][chckIndx(5, 0, (b_1493172940[chckIndx(rank_1493172946, 0, (b_1493172940).length - 1)]).length - 1)].colorable = false; - if (!((side_1493172938 == viewSide_1493172939))) { - F.line = 408; - b_1493172940[chckIndx(rank_1493172946, 0, (b_1493172940).length - 1)][chckIndx(5, 0, (b_1493172940[chckIndx(rank_1493172946, 0, (b_1493172940).length - 1)]).length - 1)].rotate = true; + b_1845494476[chckIndx(rank_1845494482, 0, (b_1845494476).length - 1)][chckIndx(5, 0, (b_1845494476[chckIndx(rank_1845494482, 0, (b_1845494476).length - 1)]).length - 1)].onPromote = nimCopy(null, [HEX3Aanonymous_1476395450], NTI1526726697); + b_1845494476[chckIndx(rank_1845494482, 0, (b_1845494476).length - 1)][chckIndx(5, 0, (b_1845494476[chckIndx(rank_1845494482, 0, (b_1845494476).length - 1)]).length - 1)].item = 7; + b_1845494476[chckIndx(rank_1845494482, 0, (b_1845494476).length - 1)][chckIndx(5, 0, (b_1845494476[chckIndx(rank_1845494482, 0, (b_1845494476).length - 1)]).length - 1)].filePath = nimCopy(null, [103,111,108,100,103,101,110,101,114,97,108,46,115,118,103], NTI33554449); + b_1845494476[chckIndx(rank_1845494482, 0, (b_1845494476).length - 1)][chckIndx(5, 0, (b_1845494476[chckIndx(rank_1845494482, 0, (b_1845494476).length - 1)]).length - 1)].colorable = false; + if (!((side_1845494474 == viewSide_1845494475))) { + b_1845494476[chckIndx(rank_1845494482, 0, (b_1845494476).length - 1)][chckIndx(5, 0, (b_1845494476[chckIndx(rank_1845494482, 0, (b_1845494476).length - 1)]).length - 1)].rotate = true; } - framePtr = F.prev; } -function HEX3Aanonymous_1493173027(side_1493173028, __1493173029, b_1493173030, s_1493173031) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 447; - F.filename = "powers.nim"; - buff_1493172242(2, side_1493173028, b_1493173030, s_1493173031, [HEX3Aanonymous_1291846082], [HEX3Aanonymous_1291846087], [], false, [], null, null, null, false); - framePtr = F.prev; +function HEX3Aanonymous_1845494563(side_1845494564, __1845494565, b_1845494566, s_1845494567) { + buff_1845493778(2, side_1845494564, b_1845494566, s_1845494567, [HEX3Aanonymous_1543504322], [HEX3Aanonymous_1543504327], [], false, [], null, null, null, false); } -function createWerewolf_1493172985() { +function createWerewolf_1845494521() { -function HEX3Aanonymous_1493172988(piece_1493172989, board_1493172990, state_1493172991) { - var F = {procname: "createWerewolf.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - if (((1 <= piece_1493172989.piecesTaken) && !(transformed_1493172987))) { - F.line = 419; - F.filename = "powers.nim"; - add_1493172278(piece_1493172989, "moves", [HEX3Aanonymous_1291846082, HEX3Aanonymous_1509949640]); - F.line = 420; - add_1493172278(piece_1493172989, "takes", [HEX3Aanonymous_1291846087, HEX3Aanonymous_1509949635]); - F.line = 421; - piece_1493172989.rotate = true; - F.line = 422; - transformed_1493172987 = true; +function HEX3Aanonymous_1845494524(piece_1845494525, board_1845494526, state_1845494527) { + if (((1 <= piece_1845494525.piecesTaken) && !(transformed_1845494523))) { + add_1845493814(piece_1845494525, "moves", [HEX3Aanonymous_1543504322, HEX3Aanonymous_1862271176]); + add_1845493814(piece_1845494525, "takes", [HEX3Aanonymous_1543504327, HEX3Aanonymous_1862271171]); + piece_1845494525.rotate = true; + transformed_1845494523 = true; } - framePtr = F.prev; } - var result_1493172986 = null; + var result_1845494522 = null; - var F = {procname: "powers.createWerewolf", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 415; - F.filename = "powers.nim"; - var transformed_1493172987 = false; - F.line = 417; - result_1493172986 = HEX3Aanonymous_1493172988; - framePtr = F.prev; + var transformed_1845494523 = false; + result_1845494522 = HEX3Aanonymous_1845494524; - return result_1493172986; + return result_1845494522; } -function HEX3Aanonymous_1493173008(side_1493173009, __1493173010, b_1493173011, __1493173012) { +function HEX3Aanonymous_1845494544(side_1845494545, __1845494546, b_1845494547, __1845494548) { var Temporary1; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 433; - F.filename = "powers.nim"; - if ((side_1493173009 == 0)) { + if ((side_1845494545 == 0)) { Temporary1 = 1; } else { Temporary1 = 6; } - var rank_1493173017 = Temporary1; - F.line = 434; - b_1493173011[chckIndx(rank_1493173017, 0, (b_1493173011).length - 1)][chckIndx(0, 0, (b_1493173011[chckIndx(rank_1493173017, 0, (b_1493173011).length - 1)]).length - 1)].onEndTurn.push(createWerewolf_1493172985());; - F.line = 435; - b_1493173011[chckIndx(rank_1493173017, 0, (b_1493173011).length - 1)][chckIndx(7, 0, (b_1493173011[chckIndx(rank_1493173017, 0, (b_1493173011).length - 1)]).length - 1)].onEndTurn.push(createWerewolf_1493172985());; - framePtr = F.prev; + var rank_1845494553 = Temporary1; + b_1845494547[chckIndx(rank_1845494553, 0, (b_1845494547).length - 1)][chckIndx(0, 0, (b_1845494547[chckIndx(rank_1845494553, 0, (b_1845494547).length - 1)]).length - 1)].onEndTurn.push(createWerewolf_1845494521());; + b_1845494547[chckIndx(rank_1845494553, 0, (b_1845494547).length - 1)][chckIndx(7, 0, (b_1845494547[chckIndx(rank_1845494553, 0, (b_1845494547).length - 1)]).length - 1)].onEndTurn.push(createWerewolf_1845494521());; } -function change_1493172382(piece_1493172383, side_1493172384, b_1493172385, s_1493172386, moves_1493172391, takes_1493172396, onEndturn_1493172401, rotate_1493172402, onPromote_1493172407, whenTaken_1493172408, onTake_1493172409, onMove_1493172410, filePath_1493172411, all_1493172412) { - var F = {procname: "powers.change", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; +function change_1845493918(piece_1845493919, side_1845493920, b_1845493921, s_1845493922, moves_1845493927, takes_1845493932, onEndturn_1845493937, rotate_1845493938, onPromote_1845493943, whenTaken_1845493944, onTake_1845493945, onMove_1845493946, filePath_1845493947, all_1845493948) { Label1: { - F.line = 94; - F.filename = "powers.nim"; - var i_1493172413 = 0; - F.line = 94; - var j_1493172414 = 0; + var i_1845493949 = 0; + var j_1845493950 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493178807 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178808 = 0; + var i_1845500366 = 0; + var i_1845500367 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493178808 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493178807 = i_1493178808; + if (!(i_1845500367 < 8)) break Label4; + i_1845500366 = i_1845500367; Label5: { - F.line = 125; - var j_1493178811 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178812 = 0; + var j_1845500370 = 0; + var i_1845500371 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493178812 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493178811 = i_1493178812; - F.line = 94; - F.filename = "powers.nim"; - i_1493172413 = i_1493178807; - F.line = 94; - j_1493172414 = j_1493178811; - if ((((b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)][chckIndx(j_1493172414, 0, (b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)]).length - 1)].item == piece_1493172383) || all_1493172412) && isColor_1224737813(b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)][chckIndx(j_1493172414, 0, (b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)]).length - 1)], side_1493172384))) { - if (!(((moves_1493172391).length == 0))) { - F.line = 96; - b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)][chckIndx(j_1493172414, 0, (b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)]).length - 1)].moves = nimCopy(null, moves_1493172391, NTI1493172359); + if (!(i_1845500371 < 8)) break Label7; + j_1845500370 = i_1845500371; + i_1845493949 = i_1845500366; + j_1845493950 = j_1845500370; + if ((((b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)][chckIndx(j_1845493950, 0, (b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)]).length - 1)].item == piece_1845493919) || all_1845493948) && isColor_1476396053(b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)][chckIndx(j_1845493950, 0, (b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)]).length - 1)], side_1845493920))) { + if (!(((moves_1845493927).length == 0))) { + b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)][chckIndx(j_1845493950, 0, (b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)]).length - 1)].moves = nimCopy(null, moves_1845493927, NTI1845493895); } - if (!(((takes_1493172396).length == 0))) { - F.line = 97; - b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)][chckIndx(j_1493172414, 0, (b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)]).length - 1)].takes = nimCopy(null, takes_1493172396, NTI1493172368); + if (!(((takes_1845493932).length == 0))) { + b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)][chckIndx(j_1845493950, 0, (b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)]).length - 1)].takes = nimCopy(null, takes_1845493932, NTI1845493904); } - if (!(((onEndturn_1493172401).length == 0))) { - F.line = 98; - b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)][chckIndx(j_1493172414, 0, (b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)]).length - 1)].onEndTurn = nimCopy(null, onEndturn_1493172401, NTI1493172377); + if (!(((onEndturn_1845493937).length == 0))) { + b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)][chckIndx(j_1845493950, 0, (b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)]).length - 1)].onEndTurn = nimCopy(null, onEndturn_1845493937, NTI1845493913); } - if (!(((onPromote_1493172407).length == 0))) { - F.line = 99; - b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)][chckIndx(j_1493172414, 0, (b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)]).length - 1)].onPromote = nimCopy(null, onPromote_1493172407, NTI1493172386); + if (!(((onPromote_1845493943).length == 0))) { + b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)][chckIndx(j_1845493950, 0, (b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)]).length - 1)].onPromote = nimCopy(null, onPromote_1845493943, NTI1845493922); } - if (!((whenTaken_1493172408 == null))) { - F.line = 100; - b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)][chckIndx(j_1493172414, 0, (b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)]).length - 1)].whenTaken = whenTaken_1493172408; + if (!((whenTaken_1845493944 == null))) { + b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)][chckIndx(j_1845493950, 0, (b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)]).length - 1)].whenTaken = whenTaken_1845493944; } - if (!((onTake_1493172409 == null))) { - F.line = 101; - b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)][chckIndx(j_1493172414, 0, (b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)]).length - 1)].onTake = onTake_1493172409; + if (!((onTake_1845493945 == null))) { + b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)][chckIndx(j_1845493950, 0, (b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)]).length - 1)].onTake = onTake_1845493945; } - if (!((onMove_1493172410 == null))) { - F.line = 102; - b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)][chckIndx(j_1493172414, 0, (b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)]).length - 1)].onMove = onMove_1493172410; + if (!((onMove_1845493946 == null))) { + b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)][chckIndx(j_1845493950, 0, (b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)]).length - 1)].onMove = onMove_1845493946; } - if (!(eqStrings(filePath_1493172411, []))) { - F.line = 103; - b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)][chckIndx(j_1493172414, 0, (b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)]).length - 1)].filePath = nimCopy(null, filePath_1493172411, NTI33554449); + if (!(eqStrings(filePath_1845493947, []))) { + b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)][chckIndx(j_1845493950, 0, (b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)]).length - 1)].filePath = nimCopy(null, filePath_1845493947, NTI33554449); } - if (rotate_1493172402) { - F.line = 104; - b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)][chckIndx(j_1493172414, 0, (b_1493172385[chckIndx(i_1493172413, 0, (b_1493172385).length - 1)]).length - 1)].rotate = true; + if (rotate_1845493938) { + b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)][chckIndx(j_1845493950, 0, (b_1845493921[chckIndx(i_1845493949, 0, (b_1845493921).length - 1)]).length - 1)].rotate = true; } } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493178812 = addInt(i_1493178812, 1); + i_1845500371 = addInt(i_1845500371, 1); } }; }; - F.line = 131; - i_1493178808 = addInt(i_1493178808, 1); + i_1845500367 = addInt(i_1845500367, 1); } }; }; }; - if (!(((moves_1493172391).length == 0))) { - F.line = 106; - F.filename = "powers.nim"; - s_1493172386.Field1[chckIndx(side_1493172384, 0, (s_1493172386.Field1).length - 1)].dna[chckIndx(piece_1493172383, 0, (s_1493172386.Field1[chckIndx(side_1493172384, 0, (s_1493172386.Field1).length - 1)].dna).length - 1)].moves = nimCopy(null, moves_1493172391, NTI1493172359); + if (!(((moves_1845493927).length == 0))) { + s_1845493922.Field1[chckIndx(side_1845493920, 0, (s_1845493922.Field1).length - 1)].dna[chckIndx(piece_1845493919, 0, (s_1845493922.Field1[chckIndx(side_1845493920, 0, (s_1845493922.Field1).length - 1)].dna).length - 1)].moves = nimCopy(null, moves_1845493927, NTI1845493895); } - if (!(((takes_1493172396).length == 0))) { - F.line = 107; - s_1493172386.Field1[chckIndx(side_1493172384, 0, (s_1493172386.Field1).length - 1)].dna[chckIndx(piece_1493172383, 0, (s_1493172386.Field1[chckIndx(side_1493172384, 0, (s_1493172386.Field1).length - 1)].dna).length - 1)].takes = nimCopy(null, takes_1493172396, NTI1493172368); + if (!(((takes_1845493932).length == 0))) { + s_1845493922.Field1[chckIndx(side_1845493920, 0, (s_1845493922.Field1).length - 1)].dna[chckIndx(piece_1845493919, 0, (s_1845493922.Field1[chckIndx(side_1845493920, 0, (s_1845493922.Field1).length - 1)].dna).length - 1)].takes = nimCopy(null, takes_1845493932, NTI1845493904); } - if (!(((onEndturn_1493172401).length == 0))) { - F.line = 108; - s_1493172386.Field1[chckIndx(side_1493172384, 0, (s_1493172386.Field1).length - 1)].dna[chckIndx(piece_1493172383, 0, (s_1493172386.Field1[chckIndx(side_1493172384, 0, (s_1493172386.Field1).length - 1)].dna).length - 1)].onEndTurn = nimCopy(null, onEndturn_1493172401, NTI1493172377); + if (!(((onEndturn_1845493937).length == 0))) { + s_1845493922.Field1[chckIndx(side_1845493920, 0, (s_1845493922.Field1).length - 1)].dna[chckIndx(piece_1845493919, 0, (s_1845493922.Field1[chckIndx(side_1845493920, 0, (s_1845493922.Field1).length - 1)].dna).length - 1)].onEndTurn = nimCopy(null, onEndturn_1845493937, NTI1845493913); } - if (!(((onPromote_1493172407).length == 0))) { - F.line = 109; - s_1493172386.Field1[chckIndx(side_1493172384, 0, (s_1493172386.Field1).length - 1)].dna[chckIndx(piece_1493172383, 0, (s_1493172386.Field1[chckIndx(side_1493172384, 0, (s_1493172386.Field1).length - 1)].dna).length - 1)].onPromote = nimCopy(null, onPromote_1493172407, NTI1493172386); + if (!(((onPromote_1845493943).length == 0))) { + s_1845493922.Field1[chckIndx(side_1845493920, 0, (s_1845493922.Field1).length - 1)].dna[chckIndx(piece_1845493919, 0, (s_1845493922.Field1[chckIndx(side_1845493920, 0, (s_1845493922.Field1).length - 1)].dna).length - 1)].onPromote = nimCopy(null, onPromote_1845493943, NTI1845493922); } - if (!(eqStrings(filePath_1493172411, []))) { - F.line = 110; - s_1493172386.Field1[chckIndx(side_1493172384, 0, (s_1493172386.Field1).length - 1)].dna[chckIndx(piece_1493172383, 0, (s_1493172386.Field1[chckIndx(side_1493172384, 0, (s_1493172386.Field1).length - 1)].dna).length - 1)].filePath = nimCopy(null, filePath_1493172411, NTI33554449); + if (!(eqStrings(filePath_1845493947, []))) { + s_1845493922.Field1[chckIndx(side_1845493920, 0, (s_1845493922.Field1).length - 1)].dna[chckIndx(piece_1845493919, 0, (s_1845493922.Field1[chckIndx(side_1845493920, 0, (s_1845493922.Field1).length - 1)].dna).length - 1)].filePath = nimCopy(null, filePath_1845493947, NTI33554449); } - if (rotate_1493172402) { - F.line = 111; - s_1493172386.Field1[chckIndx(side_1493172384, 0, (s_1493172386.Field1).length - 1)].dna[chckIndx(piece_1493172383, 0, (s_1493172386.Field1[chckIndx(side_1493172384, 0, (s_1493172386.Field1).length - 1)].dna).length - 1)].rotate = true; + if (rotate_1845493938) { + s_1845493922.Field1[chckIndx(side_1845493920, 0, (s_1845493922.Field1).length - 1)].dna[chckIndx(piece_1845493919, 0, (s_1845493922.Field1[chckIndx(side_1845493920, 0, (s_1845493922.Field1).length - 1)].dna).length - 1)].rotate = true; } - if (!((whenTaken_1493172408 == null))) { - F.line = 112; - s_1493172386.Field1[chckIndx(side_1493172384, 0, (s_1493172386.Field1).length - 1)].dna[chckIndx(piece_1493172383, 0, (s_1493172386.Field1[chckIndx(side_1493172384, 0, (s_1493172386.Field1).length - 1)].dna).length - 1)].whenTaken = whenTaken_1493172408; + if (!((whenTaken_1845493944 == null))) { + s_1845493922.Field1[chckIndx(side_1845493920, 0, (s_1845493922.Field1).length - 1)].dna[chckIndx(piece_1845493919, 0, (s_1845493922.Field1[chckIndx(side_1845493920, 0, (s_1845493922.Field1).length - 1)].dna).length - 1)].whenTaken = whenTaken_1845493944; } - if (!((onTake_1493172409 == null))) { - F.line = 113; - s_1493172386.Field1[chckIndx(side_1493172384, 0, (s_1493172386.Field1).length - 1)].dna[chckIndx(piece_1493172383, 0, (s_1493172386.Field1[chckIndx(side_1493172384, 0, (s_1493172386.Field1).length - 1)].dna).length - 1)].onTake = onTake_1493172409; + if (!((onTake_1845493945 == null))) { + s_1845493922.Field1[chckIndx(side_1845493920, 0, (s_1845493922.Field1).length - 1)].dna[chckIndx(piece_1845493919, 0, (s_1845493922.Field1[chckIndx(side_1845493920, 0, (s_1845493922.Field1).length - 1)].dna).length - 1)].onTake = onTake_1845493945; } - if (!((onMove_1493172410 == null))) { - F.line = 114; - s_1493172386.Field1[chckIndx(side_1493172384, 0, (s_1493172386.Field1).length - 1)].dna[chckIndx(piece_1493172383, 0, (s_1493172386.Field1[chckIndx(side_1493172384, 0, (s_1493172386.Field1).length - 1)].dna).length - 1)].onMove = onMove_1493172410; + if (!((onMove_1845493946 == null))) { + s_1845493922.Field1[chckIndx(side_1845493920, 0, (s_1845493922.Field1).length - 1)].dna[chckIndx(piece_1845493919, 0, (s_1845493922.Field1[chckIndx(side_1845493920, 0, (s_1845493922.Field1).length - 1)].dna).length - 1)].onMove = onMove_1845493946; } - framePtr = F.prev; } -function HEX3Aanonymous_1493173041(side_1493173042, __1493173043, b_1493173044, s_1493173045) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 462; - F.filename = "powers.nim"; - change_1493172382(5, side_1493173042, b_1493173044, s_1493173045, [HEX3Aanonymous_1509949640], [HEX3Aanonymous_1509949635], [], false, [], null, null, null, [103,105,114,97,102,102,101,46,115,118,103], false); - framePtr = F.prev; +function HEX3Aanonymous_1845494577(side_1845494578, __1845494579, b_1845494580, s_1845494581) { + change_1845493918(5, side_1845494578, b_1845494580, s_1845494581, [HEX3Aanonymous_1862271176], [HEX3Aanonymous_1862271171], [], false, [], null, null, null, [103,105,114,97,102,102,101,46,115,118,103], false); } -function HEX3Aanonymous_1509949645(board_1509949646, p_1509949647) { - var result_1509949648 = []; +function HEX3Aanonymous_1862271181(board_1862271182, p_1862271183) { + var result_1862271184 = []; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 163; - F.filename = "extramoves.nim"; - var Temporary1 = nimCopy(null, p_1509949647.tile, NTI1224736771); - result_1509949648.push(Temporary1);; - framePtr = F.prev; + var Temporary1 = nimCopy(null, p_1862271183.tile, NTI1476395011); + result_1862271184.push(Temporary1);; - return result_1509949648; + return result_1862271184; } -function HEX5BHEX5DHEX3D_1224737144(b_1224737145, tile_1224737146, newPiece_1224737147) { - var F = {procname: "piece.[]=", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; - F.line = 151; - F.filename = "piece.nim"; - b_1224737145[chckIndx(tile_1224737146.Field1, 0, (b_1224737145).length - 1)][chckIndx(tile_1224737146.Field0, 0, (b_1224737145[chckIndx(tile_1224737146.Field1, 0, (b_1224737145).length - 1)]).length - 1)] = nimCopy(b_1224737145[chckIndx(tile_1224737146.Field1, 0, (b_1224737145).length - 1)][chckIndx(tile_1224737146.Field0, 0, (b_1224737145[chckIndx(tile_1224737146.Field1, 0, (b_1224737145).length - 1)]).length - 1)], newPiece_1224737147, NTI1224736794); - framePtr = F.prev; +function HEX5BHEX5DHEX3D_1476395384(b_1476395385, tile_1476395386, newPiece_1476395387) { + b_1476395385[chckIndx(tile_1476395386.Field1, 0, (b_1476395385).length - 1)][chckIndx(tile_1476395386.Field0, 0, (b_1476395385[chckIndx(tile_1476395386.Field1, 0, (b_1476395385).length - 1)]).length - 1)] = nimCopy(b_1476395385[chckIndx(tile_1476395386.Field1, 0, (b_1476395385).length - 1)][chckIndx(tile_1476395386.Field0, 0, (b_1476395385[chckIndx(tile_1476395386.Field1, 0, (b_1476395385).length - 1)]).length - 1)], newPiece_1476395387, NTI1476395034); } -function pieceCopy_1224737660(initial_1224737661, index_1224737662, item_1224737663, color_1224737664, timesMoved_1224737665, piecesTaken_1224737666, tile_1224737667, moves_1224737668, takes_1224737669, onMove_1224737670, onTake_1224737671, whenTaken_1224737672, onEndTurn_1224737677, onPromote_1224737682, promoted_1224737683, filePath_1224737684, colorable_1224737685, rotate_1224737686, drunk_1224737687) { - var result_1224737688 = ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}); +function pieceCopy_1476395900(initial_1476395901, index_1476395902, item_1476395903, color_1476395904, timesMoved_1476395905, piecesTaken_1476395906, tile_1476395907, moves_1476395908, takes_1476395909, onMove_1476395910, onTake_1476395911, whenTaken_1476395912, onEndTurn_1476395917, onPromote_1476395922, promoted_1476395923, filePath_1476395924, colorable_1476395925, rotate_1476395926, drunk_1476395927) { + var result_1476395928 = ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}); - var F = {procname: "piece.pieceCopy", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 292; - F.filename = "piece.nim"; - result_1224737688 = nimCopy(result_1224737688, {index: index_1224737662, item: item_1224737663, color: color_1224737664, timesMoved: timesMoved_1224737665, piecesTaken: piecesTaken_1224737666, tile: nimCopy(null, tile_1224737667, NTI1224736771), moves: nimCopy(null, moves_1224737668, NTI1224737446), takes: nimCopy(null, takes_1224737669, NTI1224737447), onMove: onMove_1224737670, onTake: onTake_1224737671, whenTaken: whenTaken_1224737672, onEndTurn: nimCopy(null, onEndTurn_1224737677, NTI1224737448), onPromote: nimCopy(null, onPromote_1224737682, NTI1224737453), promoted: promoted_1224737683, filePath: nimCopy(null, filePath_1224737684, NTI33554449), rotate: rotate_1224737686, drunk: drunk_1224737687, colorable: colorable_1224737685, casts: []}, NTI1224736794); + result_1476395928 = nimCopy(result_1476395928, {index: index_1476395902, item: item_1476395903, color: color_1476395904, timesMoved: timesMoved_1476395905, piecesTaken: piecesTaken_1476395906, tile: nimCopy(null, tile_1476395907, NTI1476395011), moves: nimCopy(null, moves_1476395908, NTI1476395686), takes: nimCopy(null, takes_1476395909, NTI1476395687), onMove: onMove_1476395910, onTake: onTake_1476395911, whenTaken: whenTaken_1476395912, onEndTurn: nimCopy(null, onEndTurn_1476395917, NTI1476395688), onPromote: nimCopy(null, onPromote_1476395922, NTI1476395693), promoted: promoted_1476395923, filePath: nimCopy(null, filePath_1476395924, NTI33554449), rotate: rotate_1476395926, drunk: drunk_1476395927, colorable: colorable_1476395925, casts: []}, NTI1476395034); break BeforeRet; }; - framePtr = F.prev; - return result_1224737688; + return result_1476395928; } -function pieceMove_1224737590(p_1224737591, t_1224737592, board_1224737593, state_1224737594) { - var F = {procname: "piece.pieceMove", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; - F.line = 243; - F.filename = "piece.nim"; - pieceMove_1224737556(p_1224737591, t_1224737592.tile.Field1, t_1224737592.tile.Field0, board_1224737593, state_1224737594); - framePtr = F.prev; +function pieceMove_1476395830(p_1476395831, t_1476395832, board_1476395833, state_1476395834) { + pieceMove_1476395796(p_1476395831, t_1476395832.tile.Field1, t_1476395832.tile.Field0, board_1476395833, state_1476395834); } -function HEX3Aanonymous_1224737604(taken_1224737605, taker_1224737606, board_1224737607, state_1224737608) { - var result_1224737611 = {Field0: {Field0: 0, Field1: 0}, Field1: false}; +function HEX3Aanonymous_1476395844(taken_1476395845, taker_1476395846, board_1476395847, state_1476395848) { + var result_1476395851 = {Field0: {Field0: 0, Field1: 0}, Field1: false}; - var F = {procname: "piece.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 258; - F.filename = "piece.nim"; - pieceMove_1224737590(taker_1224737606, taken_1224737605, board_1224737607, state_1224737608); - F.line = 259; - var colontmp__1493178830 = nimCopy(null, taken_1224737605.tile, NTI1224736771); - F.line = 259; - var colontmp__1493178831 = true; - F.line = 259; - result_1224737611 = nimCopy(result_1224737611, {Field0: nimCopy(null, colontmp__1493178830, NTI1224736771), Field1: colontmp__1493178831}, NTI1224737401); + pieceMove_1476395830(taker_1476395846, taken_1476395845, board_1476395847, state_1476395848); + var colontmp__1845500389 = nimCopy(null, taken_1476395845.tile, NTI1476395011); + var colontmp__1845500390 = true; + result_1476395851 = nimCopy(result_1476395851, {Field0: nimCopy(null, colontmp__1845500389, NTI1476395011), Field1: colontmp__1845500390}, NTI1476395641); break BeforeRet; }; - framePtr = F.prev; - return result_1224737611; + return result_1476395851; } -function HEX3Aanonymous_1493173143(taken_1493173144, taker_1493173145, board_1493173146, state_1493173147) { - var result_1493173150 = {Field0: {Field0: 0, Field1: 0}, Field1: false}; +function HEX3Aanonymous_1845494679(taken_1845494680, taker_1845494681, board_1845494682, state_1845494683) { + var result_1845494686 = {Field0: {Field0: 0, Field1: 0}, Field1: false}; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; BeforeRet: { - if (HEX3DHEX3D_1308622964(taken_1493173144.tile, taker_1493173145.tile)) { + if (HEX3DHEX3D_1560281204(taken_1845494680.tile, taker_1845494681.tile)) { Label1: { - F.line = 552; - F.filename = "powers.nim"; - var i_1493173151 = 0; - F.line = 552; - var j_1493173152 = 0; + var i_1845494687 = 0; + var j_1845494688 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493178821 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178822 = 0; + var i_1845500380 = 0; + var i_1845500381 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493178822 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493178821 = i_1493178822; + if (!(i_1845500381 < 8)) break Label4; + i_1845500380 = i_1845500381; Label5: { - F.line = 125; - var j_1493178825 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178826 = 0; + var j_1845500384 = 0; + var i_1845500385 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493178826 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493178825 = i_1493178826; - F.line = 552; - F.filename = "powers.nim"; - i_1493173151 = i_1493178821; - F.line = 552; - j_1493173152 = j_1493178825; - if ((sameColor_1224737804(board_1493173146[chckIndx(i_1493173151, 0, (board_1493173146).length - 1)][chckIndx(j_1493173152, 0, (board_1493173146[chckIndx(i_1493173151, 0, (board_1493173146).length - 1)]).length - 1)], taken_1493173144) && !(board_1493173146[chckIndx(i_1493173151, 0, (board_1493173146).length - 1)][chckIndx(j_1493173152, 0, (board_1493173146[chckIndx(i_1493173151, 0, (board_1493173146).length - 1)]).length - 1)].promoted))) { + if (!(i_1845500385 < 8)) break Label7; + j_1845500384 = i_1845500385; + i_1845494687 = i_1845500380; + j_1845494688 = j_1845500384; + if ((sameColor_1476396044(board_1845494682[chckIndx(i_1845494687, 0, (board_1845494682).length - 1)][chckIndx(j_1845494688, 0, (board_1845494682[chckIndx(i_1845494687, 0, (board_1845494682).length - 1)]).length - 1)], taken_1845494680) && !(board_1845494682[chckIndx(i_1845494687, 0, (board_1845494682).length - 1)][chckIndx(j_1845494688, 0, (board_1845494682[chckIndx(i_1845494687, 0, (board_1845494682).length - 1)]).length - 1)].promoted))) { Label8: { - F.line = 181; - F.filename = "piece.nim"; - var xHEX60gensym45_1493173157 = null; - F.line = 247; - F.filename = "iterators.nim"; - var colontmp__1493178816 = []; - F.line = 181; - F.filename = "piece.nim"; - colontmp__1493178816 = board_1493173146[chckIndx(i_1493173151, 0, (board_1493173146).length - 1)][chckIndx(j_1493173152, 0, (board_1493173146[chckIndx(i_1493173151, 0, (board_1493173146).length - 1)]).length - 1)].onPromote; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493178817 = 0; - F.line = 250; - var L_1493178818 = (colontmp__1493178816).length; + var xHEX60gensym45_1845494693 = null; + var colontmp__1845500375 = []; + colontmp__1845500375 = board_1845494682[chckIndx(i_1845494687, 0, (board_1845494682).length - 1)][chckIndx(j_1845494688, 0, (board_1845494682[chckIndx(i_1845494687, 0, (board_1845494682).length - 1)]).length - 1)].onPromote; + var i_1845500376 = 0; + var L_1845500377 = (colontmp__1845500375).length; Label9: { - F.line = 251; Label10: while (true) { - if (!(i_1493178817 < L_1493178818)) break Label10; - F.line = 554; - F.filename = "powers.nim"; - xHEX60gensym45_1493173157 = colontmp__1493178816[chckIndx(i_1493178817, 0, (colontmp__1493178816).length - 1)]; - F.line = 182; - F.filename = "piece.nim"; - xHEX60gensym45_1493173157(board_1493173146[chckIndx(i_1493173151, 0, (board_1493173146).length - 1)][chckIndx(j_1493173152, 0, (board_1493173146[chckIndx(i_1493173151, 0, (board_1493173146).length - 1)]).length - 1)], board_1493173146, state_1493173147); - if (board_1493173146[chckIndx(i_1493173151, 0, (board_1493173146).length - 1)][chckIndx(j_1493173152, 0, (board_1493173146[chckIndx(i_1493173151, 0, (board_1493173146).length - 1)]).length - 1)].promoted) { - F.line = 183; + if (!(i_1845500376 < L_1845500377)) break Label10; + xHEX60gensym45_1845494693 = colontmp__1845500375[chckIndx(i_1845500376, 0, (colontmp__1845500375).length - 1)]; + xHEX60gensym45_1845494693(board_1845494682[chckIndx(i_1845494687, 0, (board_1845494682).length - 1)][chckIndx(j_1845494688, 0, (board_1845494682[chckIndx(i_1845494687, 0, (board_1845494682).length - 1)]).length - 1)], board_1845494682, state_1845494683); + if (board_1845494682[chckIndx(i_1845494687, 0, (board_1845494682).length - 1)][chckIndx(j_1845494688, 0, (board_1845494682[chckIndx(i_1845494687, 0, (board_1845494682).length - 1)]).length - 1)].promoted) { break Label8; } - F.line = 13; - F.filename = "iterators.nim"; - i_1493178817 += 1; - if (!(((colontmp__1493178816).length == L_1493178818))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_1845500376 += 1; + if (!(((colontmp__1845500375).length == L_1845500377))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } @@ -4755,911 +3505,570 @@ function HEX3Aanonymous_1493173143(taken_1493173144, taker_1493173145, board_149 }; } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493178826 = addInt(i_1493178826, 1); + i_1845500385 = addInt(i_1845500385, 1); } }; }; - F.line = 131; - i_1493178822 = addInt(i_1493178822, 1); + i_1845500381 = addInt(i_1845500381, 1); } }; }; }; - F.line = 555; - F.filename = "powers.nim"; - HEX5BHEX5DHEX3D_1224737144(board_1493173146, taken_1493173144.tile, pieceCopy_1224737660(air_1275068591, taken_1493173144.index, 6, 1, 0, 0, taken_1493173144.tile, [], [], air_1275068591.onMove, air_1275068591.onTake, air_1275068591.whenTaken, [], [], false, [], true, false, false)); - F.line = 556; - var colontmp__1493178828 = nimCopy(null, taken_1493173144.tile, NTI1224736771); - F.line = 556; - var colontmp__1493178829 = false; - F.line = 556; - result_1493173150 = nimCopy(result_1493173150, {Field0: nimCopy(null, colontmp__1493178828, NTI1224736771), Field1: colontmp__1493178829}, NTI1493173092); + HEX5BHEX5DHEX3D_1476395384(board_1845494682, taken_1845494680.tile, pieceCopy_1476395900(air_1526726831, taken_1845494680.index, 6, 1, 0, 0, taken_1845494680.tile, [], [], air_1526726831.onMove, air_1526726831.onTake, air_1526726831.whenTaken, [], [], false, [], true, false, false)); + var colontmp__1845500387 = nimCopy(null, taken_1845494680.tile, NTI1476395011); + var colontmp__1845500388 = false; + result_1845494686 = nimCopy(result_1845494686, {Field0: nimCopy(null, colontmp__1845500387, NTI1476395011), Field1: colontmp__1845500388}, NTI1845494628); break BeforeRet; } else { - F.line = 558; - result_1493173150 = nimCopy(result_1493173150, HEX3Aanonymous_1224737604(taken_1493173144, taker_1493173145, board_1493173146, state_1493173147), NTI1493173092); + result_1845494686 = nimCopy(result_1845494686, HEX3Aanonymous_1476395844(taken_1845494680, taker_1845494681, board_1845494682, state_1845494683), NTI1845494628); break BeforeRet; } }; - framePtr = F.prev; - return result_1493173150; + return result_1845494686; } -function HEX3Aanonymous_1493173161(side_1493173162, viewSide_1493173163, b_1493173164, s_1493173165) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 569; - F.filename = "powers.nim"; - buff_1493172242(1, side_1493173162, b_1493173164, s_1493173165, [], [HEX3Aanonymous_1509949645], [], false, [], HEX3Aanonymous_1493173143, null, null, false); - framePtr = F.prev; +function HEX3Aanonymous_1845494697(side_1845494698, viewSide_1845494699, b_1845494700, s_1845494701) { + buff_1845493778(1, side_1845494698, b_1845494700, s_1845494701, [], [HEX3Aanonymous_1862271181], [], false, [], HEX3Aanonymous_1845494679, null, null, false); } -function HEX3Aanonymous_1509949531(board_1509949532, p_1509949533) { - var result_1509949534 = [[]]; +function HEX3Aanonymous_1862271067(board_1862271068, p_1862271069) { + var result_1862271070 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 84; - F.filename = "extramoves.nim"; - var next_1509949535 = addIfTake_1291845739(result_1509949534, 0, board_1509949532, p_1509949533, p_1509949533.tile, tileAbove_1308622990, false, false); - if (next_1509949535) { - F.line = 86; - var _ = addIfTake_1291845739(result_1509949534, 0, board_1509949532, p_1509949533, tileAbove_1308622990(p_1509949533.tile), tileAbove_1308622990, false, false); + var next_1862271071 = addIfTake_1543503979(result_1862271070, 0, board_1862271068, p_1862271069, p_1862271069.tile, tileAbove_1560281230, false, false); + if (next_1862271071) { + var _ = addIfTake_1543503979(result_1862271070, 0, board_1862271068, p_1862271069, tileAbove_1560281230(p_1862271069.tile), tileAbove_1560281230, false, false); } - framePtr = F.prev; - return result_1509949534[0]; + return result_1862271070[0]; } -function HEX3Aanonymous_1509949537(board_1509949538, p_1509949539) { - var result_1509949540 = [[]]; +function HEX3Aanonymous_1862271073(board_1862271074, p_1862271075) { + var result_1862271076 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 89; - F.filename = "extramoves.nim"; - var next_1509949541 = addIfTake_1291845739(result_1509949540, 0, board_1509949538, p_1509949539, p_1509949539.tile, tileBelow_1308622993, false, false); - if (next_1509949541) { - F.line = 91; - var _ = addIfTake_1291845739(result_1509949540, 0, board_1509949538, p_1509949539, tileBelow_1308622993(p_1509949539.tile), tileBelow_1308622993, false, false); + var next_1862271077 = addIfTake_1543503979(result_1862271076, 0, board_1862271074, p_1862271075, p_1862271075.tile, tileBelow_1560281233, false, false); + if (next_1862271077) { + var _ = addIfTake_1543503979(result_1862271076, 0, board_1862271074, p_1862271075, tileBelow_1560281233(p_1862271075.tile), tileBelow_1560281233, false, false); } - framePtr = F.prev; - return result_1509949540[0]; + return result_1862271076[0]; } -function HEX3Aanonymous_1493173055(side_1493173056, __1493173057, b_1493173058, s_1493173059) { +function HEX3Aanonymous_1845494591(side_1845494592, __1845494593, b_1845494594, s_1845494595) { var Temporary1; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 479; - F.filename = "powers.nim"; - if ((side_1493173056 == 1)) { - Temporary1 = HEX3Aanonymous_1509949531; + if ((side_1845494592 == 1)) { + Temporary1 = HEX3Aanonymous_1862271067; } else { - Temporary1 = HEX3Aanonymous_1509949537; + Temporary1 = HEX3Aanonymous_1862271073; } - var addedTake_1493173064 = Temporary1; - F.line = 480; - buff_1493172242(5, side_1493173056, b_1493173058, s_1493173059, [], [addedTake_1493173064], [], false, [], null, null, null, false); - framePtr = F.prev; + var addedTake_1845494600 = Temporary1; + buff_1845493778(5, side_1845494592, b_1845494594, s_1845494595, [], [addedTake_1845494600], [], false, [], null, null, null, false); } -function HEX3Aanonymous_1493173171(side_1493173172, viewSide_1493173173, b_1493173174, s_1493173175) { +function HEX3Aanonymous_1845494707(side_1845494708, viewSide_1845494709, b_1845494710, s_1845494711) { var Temporary1; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 583; - F.filename = "powers.nim"; - if ((side_1493173172 == 0)) { - Temporary1 = HEX3Aanonymous_1509949509; + if ((side_1845494708 == 0)) { + Temporary1 = HEX3Aanonymous_1862271045; } else { - Temporary1 = HEX3Aanonymous_1509949514; + Temporary1 = HEX3Aanonymous_1862271050; } - var addedMove_1493173180 = Temporary1; - F.line = 584; - buff_1493172242(3, side_1493173172, b_1493173174, s_1493173175, [addedMove_1493173180], [], [], false, [], null, null, null, false); - framePtr = F.prev; + var addedMove_1845494716 = Temporary1; + buff_1845493778(3, side_1845494708, b_1845494710, s_1845494711, [addedMove_1845494716], [], [], false, [], null, null, null, false); } -function HEX3Aanonymous_1509949549(board_1509949550, p_1509949551) { - var result_1509949552 = [[]]; +function HEX3Aanonymous_1862271085(board_1862271086, p_1862271087) { + var result_1862271088 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 99; - F.filename = "extramoves.nim"; - var next_1509949553 = addIfFree_1291845640(result_1509949552, 0, board_1509949550, p_1509949551.tile, tileBelow_1308622993); - if (next_1509949553) { - F.line = 101; - var _ = addIfFree_1291845640(result_1509949552, 0, board_1509949550, tileBelow_1308622993(p_1509949551.tile), tileBelow_1308622993); + var next_1862271089 = addIfFree_1543503880(result_1862271088, 0, board_1862271086, p_1862271087.tile, tileBelow_1560281233); + if (next_1862271089) { + var _ = addIfFree_1543503880(result_1862271088, 0, board_1862271086, tileBelow_1560281233(p_1862271087.tile), tileBelow_1560281233); } - framePtr = F.prev; - return result_1509949552[0]; + return result_1862271088[0]; } -function HEX3Aanonymous_1509949543(board_1509949544, p_1509949545) { - var result_1509949546 = [[]]; +function HEX3Aanonymous_1862271079(board_1862271080, p_1862271081) { + var result_1862271082 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 94; - F.filename = "extramoves.nim"; - var next_1509949547 = addIfFree_1291845640(result_1509949546, 0, board_1509949544, p_1509949545.tile, tileAbove_1308622990); - if (next_1509949547) { - F.line = 96; - var _ = addIfFree_1291845640(result_1509949546, 0, board_1509949544, tileAbove_1308622990(p_1509949545.tile), tileAbove_1308622990); + var next_1862271083 = addIfFree_1543503880(result_1862271082, 0, board_1862271080, p_1862271081.tile, tileAbove_1560281230); + if (next_1862271083) { + var _ = addIfFree_1543503880(result_1862271082, 0, board_1862271080, tileAbove_1560281230(p_1862271081.tile), tileAbove_1560281230); } - framePtr = F.prev; - return result_1509949546[0]; + return result_1862271082[0]; } -function HEX3Aanonymous_1493173186(side_1493173187, viewSide_1493173188, b_1493173189, s_1493173190) { +function HEX3Aanonymous_1845494722(side_1845494723, viewSide_1845494724, b_1845494725, s_1845494726) { var Temporary1; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 597; - F.filename = "powers.nim"; - if ((side_1493173187 == 0)) { - Temporary1 = HEX3Aanonymous_1509949549; + if ((side_1845494723 == 0)) { + Temporary1 = HEX3Aanonymous_1862271085; } else { - Temporary1 = HEX3Aanonymous_1509949543; + Temporary1 = HEX3Aanonymous_1862271079; } - var addedMove_1493173195 = Temporary1; - F.line = 598; - buff_1493172242(3, side_1493173187, b_1493173189, s_1493173190, [addedMove_1493173195], [], [], false, [], null, null, null, false); - framePtr = F.prev; + var addedMove_1845494731 = Temporary1; + buff_1845493778(3, side_1845494723, b_1845494725, s_1845494726, [addedMove_1845494731], [], [], false, [], null, null, null, false); } -function HEX3Aanonymous_1493173201(side_1493173202, viewSide_1493173203, b_1493173204, __1493173205) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; +function HEX3Aanonymous_1845494737(side_1845494738, viewSide_1845494739, b_1845494740, __1845494741) { Label1: { - F.line = 611; - F.filename = "powers.nim"; - var i_1493173206 = 0; - F.line = 611; - var j_1493173207 = 0; + var i_1845494742 = 0; + var j_1845494743 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493178834 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178835 = 0; + var i_1845500393 = 0; + var i_1845500394 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493178835 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493178834 = i_1493178835; + if (!(i_1845500394 < 8)) break Label4; + i_1845500393 = i_1845500394; Label5: { - F.line = 125; - var j_1493178838 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178839 = 0; + var j_1845500397 = 0; + var i_1845500398 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493178839 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493178838 = i_1493178839; - F.line = 611; - F.filename = "powers.nim"; - i_1493173206 = i_1493178834; - F.line = 611; - j_1493173207 = j_1493178838; - if ((b_1493173204[chckIndx(i_1493173206, 0, (b_1493173204).length - 1)][chckIndx(j_1493173207, 0, (b_1493173204[chckIndx(i_1493173206, 0, (b_1493173204).length - 1)]).length - 1)].item == 1)) { - F.line = 613; - b_1493173204[chckIndx(i_1493173206, 0, (b_1493173204).length - 1)][chckIndx(j_1493173207, 0, (b_1493173204[chckIndx(i_1493173206, 0, (b_1493173204).length - 1)]).length - 1)] = nimCopy(b_1493173204[chckIndx(i_1493173206, 0, (b_1493173204).length - 1)][chckIndx(j_1493173207, 0, (b_1493173204[chckIndx(i_1493173206, 0, (b_1493173204).length - 1)]).length - 1)], pieceCopy_1224737660(air_1275068591, b_1493173204[chckIndx(i_1493173206, 0, (b_1493173204).length - 1)][chckIndx(j_1493173207, 0, (b_1493173204[chckIndx(i_1493173206, 0, (b_1493173204).length - 1)]).length - 1)].index, 6, 1, 0, 0, b_1493173204[chckIndx(i_1493173206, 0, (b_1493173204).length - 1)][chckIndx(j_1493173207, 0, (b_1493173204[chckIndx(i_1493173206, 0, (b_1493173204).length - 1)]).length - 1)].tile, [], [], air_1275068591.onMove, air_1275068591.onTake, air_1275068591.whenTaken, [], [], false, [], true, false, false), NTI1224736794); + if (!(i_1845500398 < 8)) break Label7; + j_1845500397 = i_1845500398; + i_1845494742 = i_1845500393; + j_1845494743 = j_1845500397; + if ((b_1845494740[chckIndx(i_1845494742, 0, (b_1845494740).length - 1)][chckIndx(j_1845494743, 0, (b_1845494740[chckIndx(i_1845494742, 0, (b_1845494740).length - 1)]).length - 1)].item == 1)) { + b_1845494740[chckIndx(i_1845494742, 0, (b_1845494740).length - 1)][chckIndx(j_1845494743, 0, (b_1845494740[chckIndx(i_1845494742, 0, (b_1845494740).length - 1)]).length - 1)] = nimCopy(b_1845494740[chckIndx(i_1845494742, 0, (b_1845494740).length - 1)][chckIndx(j_1845494743, 0, (b_1845494740[chckIndx(i_1845494742, 0, (b_1845494740).length - 1)]).length - 1)], pieceCopy_1476395900(air_1526726831, b_1845494740[chckIndx(i_1845494742, 0, (b_1845494740).length - 1)][chckIndx(j_1845494743, 0, (b_1845494740[chckIndx(i_1845494742, 0, (b_1845494740).length - 1)]).length - 1)].index, 6, 1, 0, 0, b_1845494740[chckIndx(i_1845494742, 0, (b_1845494740).length - 1)][chckIndx(j_1845494743, 0, (b_1845494740[chckIndx(i_1845494742, 0, (b_1845494740).length - 1)]).length - 1)].tile, [], [], air_1526726831.onMove, air_1526726831.onTake, air_1526726831.whenTaken, [], [], false, [], true, false, false), NTI1476395034); } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493178839 = addInt(i_1493178839, 1); + i_1845500398 = addInt(i_1845500398, 1); } }; }; - F.line = 131; - i_1493178835 = addInt(i_1493178835, 1); + i_1845500394 = addInt(i_1845500394, 1); } }; }; }; - framePtr = F.prev; } -function lineMoves_1291845813(board_1291845814, p_1291845815, shoot_1291845816) { - var result_1291845817 = [[]]; +function lineMoves_1543504053(board_1543504054, p_1543504055, shoot_1543504056) { + var result_1543504057 = [[]]; - var F = {procname: "moves.lineMoves", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/moves.nim", line: 0}; - framePtr = F; - F.line = 36; - F.filename = "moves.nim"; - var next_1291845818 = nimCopy(null, p_1291845815.tile, NTI1224736771); + var next_1543504058 = nimCopy(null, p_1543504055.tile, NTI1476395011); Label1: { - F.line = 37; Label2: while (true) { - if (!addIfFree_1291845640(result_1291845817, 0, board_1291845814, next_1291845818, shoot_1291845816)) break Label2; - F.line = 38; - next_1291845818 = nimCopy(next_1291845818, shoot_1291845816(next_1291845818), NTI1224736771); + if (!addIfFree_1543503880(result_1543504057, 0, board_1543504054, next_1543504058, shoot_1543504056)) break Label2; + next_1543504058 = nimCopy(next_1543504058, shoot_1543504056(next_1543504058), NTI1476395011); } }; - framePtr = F.prev; - return result_1291845817[0]; + return result_1543504057[0]; } -function HEX3Aanonymous_1291846030(board_1291846031, p_1291846032) { - var result_1291846033 = [[]]; +function HEX3Aanonymous_1543504270(board_1543504271, p_1543504272) { + var result_1543504273 = [[]]; - var F = {procname: "moves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/moves.nim", line: 0}; - framePtr = F; - F.line = 150; - F.filename = "moves.nim"; - add_1224737298(result_1291846033, 0, lineMoves_1291845813(board_1291846031, p_1291846032, shooterFactory_1308622968(1, 1))); - F.line = 151; - add_1224737298(result_1291846033, 0, lineMoves_1291845813(board_1291846031, p_1291846032, shooterFactory_1308622968((-1), 1))); - F.line = 152; - add_1224737298(result_1291846033, 0, lineMoves_1291845813(board_1291846031, p_1291846032, shooterFactory_1308622968(1, (-1)))); - F.line = 153; - add_1224737298(result_1291846033, 0, lineMoves_1291845813(board_1291846031, p_1291846032, shooterFactory_1308622968((-1), (-1)))); - framePtr = F.prev; + add_1476395538(result_1543504273, 0, lineMoves_1543504053(board_1543504271, p_1543504272, shooterFactory_1560281208(1, 1))); + add_1476395538(result_1543504273, 0, lineMoves_1543504053(board_1543504271, p_1543504272, shooterFactory_1560281208((-1), 1))); + add_1476395538(result_1543504273, 0, lineMoves_1543504053(board_1543504271, p_1543504272, shooterFactory_1560281208(1, (-1)))); + add_1476395538(result_1543504273, 0, lineMoves_1543504053(board_1543504271, p_1543504272, shooterFactory_1560281208((-1), (-1)))); - return result_1291846033[0]; + return result_1543504273[0]; } -function HEX3Aanonymous_1291845988(board_1291845989, p_1291845990) { - var result_1291845991 = [[]]; +function HEX3Aanonymous_1543504228(board_1543504229, p_1543504230) { + var result_1543504231 = [[]]; - var F = {procname: "moves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/moves.nim", line: 0}; - framePtr = F; - F.line = 138; - F.filename = "moves.nim"; - add_1224737298(result_1291845991, 0, lineMoves_1291845813(board_1291845989, p_1291845990, tileAbove_1308622990)); - F.line = 139; - add_1224737298(result_1291845991, 0, lineMoves_1291845813(board_1291845989, p_1291845990, tileBelow_1308622993)); - F.line = 140; - add_1224737298(result_1291845991, 0, lineMoves_1291845813(board_1291845989, p_1291845990, tileLeft_1308622996)); - F.line = 141; - add_1224737298(result_1291845991, 0, lineMoves_1291845813(board_1291845989, p_1291845990, tileRight_1308622999)); - framePtr = F.prev; + add_1476395538(result_1543504231, 0, lineMoves_1543504053(board_1543504229, p_1543504230, tileAbove_1560281230)); + add_1476395538(result_1543504231, 0, lineMoves_1543504053(board_1543504229, p_1543504230, tileBelow_1560281233)); + add_1476395538(result_1543504231, 0, lineMoves_1543504053(board_1543504229, p_1543504230, tileLeft_1560281236)); + add_1476395538(result_1543504231, 0, lineMoves_1543504053(board_1543504229, p_1543504230, tileRight_1560281239)); - return result_1291845991[0]; + return result_1543504231[0]; } -function HEX3Aanonymous_1291845865(board_1291845866, p_1291845867) { - var result_1291845868 = [[]]; +function HEX3Aanonymous_1543504105(board_1543504106, p_1543504107) { + var result_1543504108 = [[]]; - var F = {procname: "moves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/moves.nim", line: 0}; - framePtr = F; Label1: { - F.line = 90; - F.filename = "moves.nim"; - var i_1291845873 = 0; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_1493178855 = (-1); + var i_1543504113 = 0; + var res_1845500414 = (-1); Label2: { - F.line = 97; Label3: while (true) { - if (!(res_1493178855 <= 1)) break Label3; - F.line = 90; - F.filename = "moves.nim"; - i_1291845873 = res_1493178855; + if (!(res_1845500414 <= 1)) break Label3; + i_1543504113 = res_1845500414; Label4: { - F.line = 91; - var j_1291845878 = 0; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_1493178853 = (-1); + var j_1543504118 = 0; + var res_1845500412 = (-1); Label5: { - F.line = 97; Label6: while (true) { - if (!(res_1493178853 <= 1)) break Label6; - F.line = 91; - F.filename = "moves.nim"; - j_1291845878 = res_1493178853; - F.line = 92; - var _ = addIfFree_1291845640(result_1291845868, 0, board_1291845866, p_1291845867.tile, shooterFactory_1308622968(i_1291845873, j_1291845878)); - F.line = 102; - F.filename = "iterators_1.nim"; - res_1493178853 = addInt(res_1493178853, 1); + if (!(res_1845500412 <= 1)) break Label6; + j_1543504118 = res_1845500412; + var _ = addIfFree_1543503880(result_1543504108, 0, board_1543504106, p_1543504107.tile, shooterFactory_1560281208(i_1543504113, j_1543504118)); + res_1845500412 = addInt(res_1845500412, 1); } }; }; - F.line = 102; - res_1493178855 = addInt(res_1493178855, 1); + res_1845500414 = addInt(res_1845500414, 1); } }; }; - framePtr = F.prev; - return result_1291845868[0]; + return result_1543504108[0]; } -function HEX3Aanonymous_1291846051(board_1291846052, p_1291846053) { - var result_1291846054 = [[]]; +function HEX3Aanonymous_1543504291(board_1543504292, p_1543504293) { + var result_1543504294 = [[]]; - var F = {procname: "moves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/moves.nim", line: 0}; - framePtr = F; - F.line = 156; - F.filename = "moves.nim"; - add_1224737298(result_1291846054, 0, lineTakes_1291845819(board_1291846052, p_1291846053, shooterFactory_1308622968(1, 1), false, false)); - F.line = 157; - add_1224737298(result_1291846054, 0, lineTakes_1291845819(board_1291846052, p_1291846053, shooterFactory_1308622968((-1), 1), false, false)); - F.line = 158; - add_1224737298(result_1291846054, 0, lineTakes_1291845819(board_1291846052, p_1291846053, shooterFactory_1308622968(1, (-1)), false, false)); - F.line = 159; - add_1224737298(result_1291846054, 0, lineTakes_1291845819(board_1291846052, p_1291846053, shooterFactory_1308622968((-1), (-1)), false, false)); - framePtr = F.prev; + add_1476395538(result_1543504294, 0, lineTakes_1543504059(board_1543504292, p_1543504293, shooterFactory_1560281208(1, 1), false, false)); + add_1476395538(result_1543504294, 0, lineTakes_1543504059(board_1543504292, p_1543504293, shooterFactory_1560281208((-1), 1), false, false)); + add_1476395538(result_1543504294, 0, lineTakes_1543504059(board_1543504292, p_1543504293, shooterFactory_1560281208(1, (-1)), false, false)); + add_1476395538(result_1543504294, 0, lineTakes_1543504059(board_1543504292, p_1543504293, shooterFactory_1560281208((-1), (-1)), false, false)); - return result_1291846054[0]; + return result_1543504294[0]; } -function HEX3Aanonymous_1291846009(board_1291846010, p_1291846011) { - var result_1291846012 = [[]]; +function HEX3Aanonymous_1543504249(board_1543504250, p_1543504251) { + var result_1543504252 = [[]]; - var F = {procname: "moves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/moves.nim", line: 0}; - framePtr = F; - F.line = 144; - F.filename = "moves.nim"; - add_1224737298(result_1291846012, 0, lineTakes_1291845819(board_1291846010, p_1291846011, tileAbove_1308622990, false, false)); - F.line = 145; - add_1224737298(result_1291846012, 0, lineTakes_1291845819(board_1291846010, p_1291846011, tileBelow_1308622993, false, false)); - F.line = 146; - add_1224737298(result_1291846012, 0, lineTakes_1291845819(board_1291846010, p_1291846011, tileLeft_1308622996, false, false)); - F.line = 147; - add_1224737298(result_1291846012, 0, lineTakes_1291845819(board_1291846010, p_1291846011, tileRight_1308622999, false, false)); - framePtr = F.prev; + add_1476395538(result_1543504252, 0, lineTakes_1543504059(board_1543504250, p_1543504251, tileAbove_1560281230, false, false)); + add_1476395538(result_1543504252, 0, lineTakes_1543504059(board_1543504250, p_1543504251, tileBelow_1560281233, false, false)); + add_1476395538(result_1543504252, 0, lineTakes_1543504059(board_1543504250, p_1543504251, tileLeft_1560281236, false, false)); + add_1476395538(result_1543504252, 0, lineTakes_1543504059(board_1543504250, p_1543504251, tileRight_1560281239, false, false)); - return result_1291846012[0]; + return result_1543504252[0]; } -function HEX3Aanonymous_1291845880(board_1291845881, p_1291845882) { - var result_1291845883 = [[]]; +function HEX3Aanonymous_1543504120(board_1543504121, p_1543504122) { + var result_1543504123 = [[]]; - var F = {procname: "moves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/moves.nim", line: 0}; - framePtr = F; Label1: { - F.line = 95; - F.filename = "moves.nim"; - var i_1291845888 = 0; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_1493178861 = (-1); + var i_1543504128 = 0; + var res_1845500420 = (-1); Label2: { - F.line = 97; Label3: while (true) { - if (!(res_1493178861 <= 1)) break Label3; - F.line = 95; - F.filename = "moves.nim"; - i_1291845888 = res_1493178861; + if (!(res_1845500420 <= 1)) break Label3; + i_1543504128 = res_1845500420; Label4: { - F.line = 96; - var j_1291845893 = 0; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_1493178859 = (-1); + var j_1543504133 = 0; + var res_1845500418 = (-1); Label5: { - F.line = 97; Label6: while (true) { - if (!(res_1493178859 <= 1)) break Label6; - F.line = 96; - F.filename = "moves.nim"; - j_1291845893 = res_1493178859; - F.line = 97; - var _ = addIfTake_1291845739(result_1291845883, 0, board_1291845881, p_1291845882, p_1291845882.tile, shooterFactory_1308622968(i_1291845888, j_1291845893), false, false); - F.line = 102; - F.filename = "iterators_1.nim"; - res_1493178859 = addInt(res_1493178859, 1); + if (!(res_1845500418 <= 1)) break Label6; + j_1543504133 = res_1845500418; + var _ = addIfTake_1543503979(result_1543504123, 0, board_1543504121, p_1543504122, p_1543504122.tile, shooterFactory_1560281208(i_1543504128, j_1543504133), false, false); + res_1845500418 = addInt(res_1845500418, 1); } }; }; - F.line = 102; - res_1493178861 = addInt(res_1493178861, 1); + res_1845500420 = addInt(res_1845500420, 1); } }; }; - framePtr = F.prev; - return result_1291845883[0]; + return result_1543504123[0]; } -function pieceMove_1224737580(p_1224737581, t_1224737582, board_1224737583, state_1224737584) { - var F = {procname: "piece.pieceMove", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; - F.line = 237; - F.filename = "piece.nim"; - pieceMove_1224737556(p_1224737581, t_1224737582.Field1, t_1224737582.Field0, board_1224737583, state_1224737584); - framePtr = F.prev; +function pieceMove_1476395820(p_1476395821, t_1476395822, board_1476395823, state_1476395824) { + pieceMove_1476395796(p_1476395821, t_1476395822.Field1, t_1476395822.Field0, board_1476395823, state_1476395824); } -function HEX3Aanonymous_1224737631(piece_1224737632, to_1224737633, b_1224737634, state_1224737635) { - var F = {procname: "piece.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; - F.line = 262; - F.filename = "piece.nim"; - piece_1224737632.timesMoved = addInt(piece_1224737632.timesMoved, 1); - F.line = 263; - pieceMove_1224737580(piece_1224737632, to_1224737633, b_1224737634, state_1224737635); - framePtr = F.prev; +function HEX3Aanonymous_1476395871(piece_1476395872, to_1476395873, b_1476395874, state_1476395875) { + piece_1476395872.timesMoved = addInt(piece_1476395872.timesMoved, 1); + pieceMove_1476395820(piece_1476395872, to_1476395873, b_1476395874, state_1476395875); } -function HEX3Aanonymous_1224737642(piece_1224737643, taking_1224737644, board_1224737645, state_1224737646) { - var F = {procname: "piece.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; - F.line = 266; - F.filename = "piece.nim"; - piece_1224737643.timesMoved = addInt(piece_1224737643.timesMoved, 1); - F.line = 267; - var takeResult_1224737652 = board_1224737645[chckIndx(taking_1224737644.Field1, 0, (board_1224737645).length - 1)][chckIndx(taking_1224737644.Field0, 0, (board_1224737645[chckIndx(taking_1224737644.Field1, 0, (board_1224737645).length - 1)]).length - 1)].whenTaken(board_1224737645[chckIndx(taking_1224737644.Field1, 0, (board_1224737645).length - 1)][chckIndx(taking_1224737644.Field0, 0, (board_1224737645[chckIndx(taking_1224737644.Field1, 0, (board_1224737645).length - 1)]).length - 1)], piece_1224737643, board_1224737645, state_1224737646); - if (takeResult_1224737652.Field1) { - F.line = 269; - board_1224737645[chckIndx(takeResult_1224737652.Field0.Field1, 0, (board_1224737645).length - 1)][chckIndx(takeResult_1224737652.Field0.Field0, 0, (board_1224737645[chckIndx(takeResult_1224737652.Field0.Field1, 0, (board_1224737645).length - 1)]).length - 1)].piecesTaken = addInt(board_1224737645[chckIndx(takeResult_1224737652.Field0.Field1, 0, (board_1224737645).length - 1)][chckIndx(takeResult_1224737652.Field0.Field0, 0, (board_1224737645[chckIndx(takeResult_1224737652.Field0.Field1, 0, (board_1224737645).length - 1)]).length - 1)].piecesTaken, 1); +function HEX3Aanonymous_1476395882(piece_1476395883, taking_1476395884, board_1476395885, state_1476395886) { + piece_1476395883.timesMoved = addInt(piece_1476395883.timesMoved, 1); + var takeResult_1476395892 = board_1476395885[chckIndx(taking_1476395884.Field1, 0, (board_1476395885).length - 1)][chckIndx(taking_1476395884.Field0, 0, (board_1476395885[chckIndx(taking_1476395884.Field1, 0, (board_1476395885).length - 1)]).length - 1)].whenTaken(board_1476395885[chckIndx(taking_1476395884.Field1, 0, (board_1476395885).length - 1)][chckIndx(taking_1476395884.Field0, 0, (board_1476395885[chckIndx(taking_1476395884.Field1, 0, (board_1476395885).length - 1)]).length - 1)], piece_1476395883, board_1476395885, state_1476395886); + if (takeResult_1476395892.Field1) { + board_1476395885[chckIndx(takeResult_1476395892.Field0.Field1, 0, (board_1476395885).length - 1)][chckIndx(takeResult_1476395892.Field0.Field0, 0, (board_1476395885[chckIndx(takeResult_1476395892.Field0.Field1, 0, (board_1476395885).length - 1)]).length - 1)].piecesTaken = addInt(board_1476395885[chckIndx(takeResult_1476395892.Field0.Field1, 0, (board_1476395885).length - 1)][chckIndx(takeResult_1476395892.Field0.Field0, 0, (board_1476395885[chckIndx(takeResult_1476395892.Field0.Field1, 0, (board_1476395885).length - 1)]).length - 1)].piecesTaken, 1); } - framePtr = F.prev; } -function HEX3Aanonymous_1493173247(side_1493173248, viewSide_1493173249, b_1493173250, __1493173251) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; +function HEX3Aanonymous_1845494783(side_1845494784, viewSide_1845494785, b_1845494786, __1845494787) { Label1: { - F.line = 651; - F.filename = "powers.nim"; - var i_1493173252 = 0; - F.line = 651; - var j_1493173253 = 0; + var i_1845494788 = 0; + var j_1845494789 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493178843 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178844 = 0; + var i_1845500402 = 0; + var i_1845500403 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493178844 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493178843 = i_1493178844; + if (!(i_1845500403 < 8)) break Label4; + i_1845500402 = i_1845500403; Label5: { - F.line = 125; - var j_1493178847 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178848 = 0; + var j_1845500406 = 0; + var i_1845500407 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493178848 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493178847 = i_1493178848; - F.line = 651; - F.filename = "powers.nim"; - i_1493173252 = i_1493178843; - F.line = 651; - j_1493173253 = j_1493178847; - if (((b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)][chckIndx(j_1493173253, 0, (b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)]).length - 1)].item == 0) && isColor_1224737813(b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)][chckIndx(j_1493173253, 0, (b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)]).length - 1)], side_1493173248))) { - F.line = 653; - b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)][chckIndx(j_1493173253, 0, (b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)]).length - 1)] = nimCopy(b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)][chckIndx(j_1493173253, 0, (b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)]).length - 1)], pieceCopy_1224737660(whiteQueen_1275068556, b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)][chckIndx(j_1493173253, 0, (b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)]).length - 1)].index, 0, b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)][chckIndx(j_1493173253, 0, (b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)]).length - 1)].color, 0, 0, b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)][chckIndx(j_1493173253, 0, (b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)]).length - 1)].tile, whiteQueen_1275068556.moves, whiteQueen_1275068556.takes, HEX3Aanonymous_1224737631, HEX3Aanonymous_1224737642, HEX3Aanonymous_1224737604, whiteQueen_1275068556.onEndTurn, whiteQueen_1275068556.onPromote, false, [113,117,101,101,110,46,115,118,103], true, true, false), NTI1224736794); + if (!(i_1845500407 < 8)) break Label7; + j_1845500406 = i_1845500407; + i_1845494788 = i_1845500402; + j_1845494789 = j_1845500406; + if (((b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)][chckIndx(j_1845494789, 0, (b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)]).length - 1)].item == 0) && isColor_1476396053(b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)][chckIndx(j_1845494789, 0, (b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)]).length - 1)], side_1845494784))) { + b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)][chckIndx(j_1845494789, 0, (b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)]).length - 1)] = nimCopy(b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)][chckIndx(j_1845494789, 0, (b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)]).length - 1)], pieceCopy_1476395900(whiteQueen_1526726796, b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)][chckIndx(j_1845494789, 0, (b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)]).length - 1)].index, 0, b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)][chckIndx(j_1845494789, 0, (b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)]).length - 1)].color, 0, 0, b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)][chckIndx(j_1845494789, 0, (b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)]).length - 1)].tile, whiteQueen_1526726796.moves, whiteQueen_1526726796.takes, HEX3Aanonymous_1476395871, HEX3Aanonymous_1476395882, HEX3Aanonymous_1476395844, whiteQueen_1526726796.onEndTurn, whiteQueen_1526726796.onPromote, false, [113,117,101,101,110,46,115,118,103], true, true, false), NTI1476395034); } else { - if (((b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)][chckIndx(j_1493173253, 0, (b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)]).length - 1)].item == 2) && isColor_1224737813(b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)][chckIndx(j_1493173253, 0, (b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)]).length - 1)], side_1493173248))) { - F.line = 657; - b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)][chckIndx(j_1493173253, 0, (b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)]).length - 1)] = nimCopy(b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)][chckIndx(j_1493173253, 0, (b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)]).length - 1)], pieceCopy_1224737660(air_1275068591, b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)][chckIndx(j_1493173253, 0, (b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)]).length - 1)].index, 6, 1, 0, 0, b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)][chckIndx(j_1493173253, 0, (b_1493173250[chckIndx(i_1493173252, 0, (b_1493173250).length - 1)]).length - 1)].tile, [], [], air_1275068591.onMove, air_1275068591.onTake, air_1275068591.whenTaken, [], [], false, [], true, false, false), NTI1224736794); + if (((b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)][chckIndx(j_1845494789, 0, (b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)]).length - 1)].item == 2) && isColor_1476396053(b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)][chckIndx(j_1845494789, 0, (b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)]).length - 1)], side_1845494784))) { + b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)][chckIndx(j_1845494789, 0, (b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)]).length - 1)] = nimCopy(b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)][chckIndx(j_1845494789, 0, (b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)]).length - 1)], pieceCopy_1476395900(air_1526726831, b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)][chckIndx(j_1845494789, 0, (b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)]).length - 1)].index, 6, 1, 0, 0, b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)][chckIndx(j_1845494789, 0, (b_1845494786[chckIndx(i_1845494788, 0, (b_1845494786).length - 1)]).length - 1)].tile, [], [], air_1526726831.onMove, air_1526726831.onTake, air_1526726831.whenTaken, [], [], false, [], true, false, false), NTI1476395034); } } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493178848 = addInt(i_1493178848, 1); + i_1845500407 = addInt(i_1845500407, 1); } }; }; - F.line = 131; - i_1493178844 = addInt(i_1493178844, 1); + i_1845500403 = addInt(i_1845500403, 1); } }; }; }; - framePtr = F.prev; } -function HEX3Aanonymous_1493173386(side_1493173387, viewSide_1493173388, b_1493173389, s_1493173390) { +function HEX3Aanonymous_1845494922(side_1845494923, viewSide_1845494924, b_1845494925, s_1845494926) { var Temporary1; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 732; - F.filename = "powers.nim"; - if ((side_1493173387 == 1)) { + if ((side_1845494923 == 1)) { Temporary1 = (-3); } else { Temporary1 = 3; } - var offset_1493173395 = Temporary1; + var offset_1845494931 = Temporary1; Label2: { - F.line = 733; - var i_1493173396 = 0; - F.line = 733; - var j_1493173397 = 0; + var i_1845494932 = 0; + var j_1845494933 = 0; Label3: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493178865 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178866 = 0; + var i_1845500424 = 0; + var i_1845500425 = 0; Label4: { - F.line = 129; Label5: while (true) { - if (!(i_1493178866 < 8)) break Label5; - F.line = 124; - F.filename = "piece.nim"; - i_1493178865 = i_1493178866; + if (!(i_1845500425 < 8)) break Label5; + i_1845500424 = i_1845500425; Label6: { - F.line = 125; - var j_1493178869 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178870 = 0; + var j_1845500428 = 0; + var i_1845500429 = 0; Label7: { - F.line = 129; Label8: while (true) { - if (!(i_1493178870 < 8)) break Label8; - F.line = 125; - F.filename = "piece.nim"; - j_1493178869 = i_1493178870; - F.line = 733; - F.filename = "powers.nim"; - i_1493173396 = i_1493178865; - F.line = 733; - j_1493173397 = j_1493178869; - if ((((b_1493173389[chckIndx(i_1493173396, 0, (b_1493173389).length - 1)][chckIndx(j_1493173397, 0, (b_1493173389[chckIndx(i_1493173396, 0, (b_1493173389).length - 1)]).length - 1)].item == 5) && isColor_1224737813(b_1493173389[chckIndx(i_1493173396, 0, (b_1493173389).length - 1)][chckIndx(j_1493173397, 0, (b_1493173389[chckIndx(i_1493173396, 0, (b_1493173389).length - 1)]).length - 1)], side_1493173387)) && (b_1493173389[chckIndx(i_1493173396, 0, (b_1493173389).length - 1)][chckIndx(j_1493173397, 0, (b_1493173389[chckIndx(i_1493173396, 0, (b_1493173389).length - 1)]).length - 1)].timesMoved == 0))) { - F.line = 735; - b_1493173389[chckIndx(i_1493173396, 0, (b_1493173389).length - 1)][chckIndx(j_1493173397, 0, (b_1493173389[chckIndx(i_1493173396, 0, (b_1493173389).length - 1)]).length - 1)].timesMoved = addInt(b_1493173389[chckIndx(i_1493173396, 0, (b_1493173389).length - 1)][chckIndx(j_1493173397, 0, (b_1493173389[chckIndx(i_1493173396, 0, (b_1493173389).length - 1)]).length - 1)].timesMoved, 1); - F.line = 736; - pieceMove_1224737556(b_1493173389[chckIndx(i_1493173396, 0, (b_1493173389).length - 1)][chckIndx(j_1493173397, 0, (b_1493173389[chckIndx(i_1493173396, 0, (b_1493173389).length - 1)]).length - 1)], addInt(i_1493173396, offset_1493173395), j_1493173397, b_1493173389, s_1493173390); + if (!(i_1845500429 < 8)) break Label8; + j_1845500428 = i_1845500429; + i_1845494932 = i_1845500424; + j_1845494933 = j_1845500428; + if ((((b_1845494925[chckIndx(i_1845494932, 0, (b_1845494925).length - 1)][chckIndx(j_1845494933, 0, (b_1845494925[chckIndx(i_1845494932, 0, (b_1845494925).length - 1)]).length - 1)].item == 5) && isColor_1476396053(b_1845494925[chckIndx(i_1845494932, 0, (b_1845494925).length - 1)][chckIndx(j_1845494933, 0, (b_1845494925[chckIndx(i_1845494932, 0, (b_1845494925).length - 1)]).length - 1)], side_1845494923)) && (b_1845494925[chckIndx(i_1845494932, 0, (b_1845494925).length - 1)][chckIndx(j_1845494933, 0, (b_1845494925[chckIndx(i_1845494932, 0, (b_1845494925).length - 1)]).length - 1)].timesMoved == 0))) { + b_1845494925[chckIndx(i_1845494932, 0, (b_1845494925).length - 1)][chckIndx(j_1845494933, 0, (b_1845494925[chckIndx(i_1845494932, 0, (b_1845494925).length - 1)]).length - 1)].timesMoved = addInt(b_1845494925[chckIndx(i_1845494932, 0, (b_1845494925).length - 1)][chckIndx(j_1845494933, 0, (b_1845494925[chckIndx(i_1845494932, 0, (b_1845494925).length - 1)]).length - 1)].timesMoved, 1); + pieceMove_1476395796(b_1845494925[chckIndx(i_1845494932, 0, (b_1845494925).length - 1)][chckIndx(j_1845494933, 0, (b_1845494925[chckIndx(i_1845494932, 0, (b_1845494925).length - 1)]).length - 1)], addInt(i_1845494932, offset_1845494931), j_1845494933, b_1845494925, s_1845494926); } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493178870 = addInt(i_1493178870, 1); + i_1845500429 = addInt(i_1845500429, 1); } }; }; - F.line = 131; - i_1493178866 = addInt(i_1493178866, 1); + i_1845500425 = addInt(i_1845500425, 1); } }; }; }; - framePtr = F.prev; - - -} - -function HEX3Aanonymous_1509949691(board_1509949692, p_1509949693) { - var result_1509949694 = [[]]; - - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 176; - F.filename = "extramoves.nim"; - add_1224737298(result_1509949694, 0, lineMoves_1291845813(board_1509949692, p_1509949693, shooterFactory_1308622968(1, 2))); - F.line = 177; - add_1224737298(result_1509949694, 0, lineMoves_1291845813(board_1509949692, p_1509949693, shooterFactory_1308622968((-1), 2))); - F.line = 178; - add_1224737298(result_1509949694, 0, lineMoves_1291845813(board_1509949692, p_1509949693, shooterFactory_1308622968(2, 1))); - F.line = 179; - add_1224737298(result_1509949694, 0, lineMoves_1291845813(board_1509949692, p_1509949693, shooterFactory_1308622968(2, (-1)))); - F.line = 180; - add_1224737298(result_1509949694, 0, lineMoves_1291845813(board_1509949692, p_1509949693, shooterFactory_1308622968(1, (-2)))); - F.line = 181; - add_1224737298(result_1509949694, 0, lineMoves_1291845813(board_1509949692, p_1509949693, shooterFactory_1308622968((-1), (-2)))); - F.line = 182; - add_1224737298(result_1509949694, 0, lineMoves_1291845813(board_1509949692, p_1509949693, shooterFactory_1308622968((-2), 1))); - F.line = 183; - add_1224737298(result_1509949694, 0, lineMoves_1291845813(board_1509949692, p_1509949693, shooterFactory_1308622968((-2), (-1)))); - framePtr = F.prev; - - return result_1509949694[0]; - -} - -function HEX3Aanonymous_1509949654(board_1509949655, p_1509949656) { - var result_1509949657 = [[]]; - - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 166; - F.filename = "extramoves.nim"; - add_1224737298(result_1509949657, 0, lineTakes_1291845819(board_1509949655, p_1509949656, shooterFactory_1308622968(1, 2), false, true)); - F.line = 167; - add_1224737298(result_1509949657, 0, lineTakes_1291845819(board_1509949655, p_1509949656, shooterFactory_1308622968((-1), 2), false, true)); - F.line = 168; - add_1224737298(result_1509949657, 0, lineTakes_1291845819(board_1509949655, p_1509949656, shooterFactory_1308622968(2, 1), false, true)); - F.line = 169; - add_1224737298(result_1509949657, 0, lineTakes_1291845819(board_1509949655, p_1509949656, shooterFactory_1308622968(2, (-1)), false, true)); - F.line = 170; - add_1224737298(result_1509949657, 0, lineTakes_1291845819(board_1509949655, p_1509949656, shooterFactory_1308622968(1, (-2)), false, true)); - F.line = 171; - add_1224737298(result_1509949657, 0, lineTakes_1291845819(board_1509949655, p_1509949656, shooterFactory_1308622968((-1), (-2)), false, true)); - F.line = 172; - add_1224737298(result_1509949657, 0, lineTakes_1291845819(board_1509949655, p_1509949656, shooterFactory_1308622968((-2), 1), false, true)); - F.line = 173; - add_1224737298(result_1509949657, 0, lineTakes_1291845819(board_1509949655, p_1509949656, shooterFactory_1308622968((-2), (-1)), false, true)); - framePtr = F.prev; - - return result_1509949657[0]; - -} - -function HEX3Aanonymous_1493173499(side_1493173500, viewSide_1493173501, b_1493173502, __1493173503) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; + + +} + +function HEX3Aanonymous_1862271227(board_1862271228, p_1862271229) { + var result_1862271230 = [[]]; + + add_1476395538(result_1862271230, 0, lineMoves_1543504053(board_1862271228, p_1862271229, shooterFactory_1560281208(1, 2))); + add_1476395538(result_1862271230, 0, lineMoves_1543504053(board_1862271228, p_1862271229, shooterFactory_1560281208((-1), 2))); + add_1476395538(result_1862271230, 0, lineMoves_1543504053(board_1862271228, p_1862271229, shooterFactory_1560281208(2, 1))); + add_1476395538(result_1862271230, 0, lineMoves_1543504053(board_1862271228, p_1862271229, shooterFactory_1560281208(2, (-1)))); + add_1476395538(result_1862271230, 0, lineMoves_1543504053(board_1862271228, p_1862271229, shooterFactory_1560281208(1, (-2)))); + add_1476395538(result_1862271230, 0, lineMoves_1543504053(board_1862271228, p_1862271229, shooterFactory_1560281208((-1), (-2)))); + add_1476395538(result_1862271230, 0, lineMoves_1543504053(board_1862271228, p_1862271229, shooterFactory_1560281208((-2), 1))); + add_1476395538(result_1862271230, 0, lineMoves_1543504053(board_1862271228, p_1862271229, shooterFactory_1560281208((-2), (-1)))); + + return result_1862271230[0]; + +} + +function HEX3Aanonymous_1862271190(board_1862271191, p_1862271192) { + var result_1862271193 = [[]]; + + add_1476395538(result_1862271193, 0, lineTakes_1543504059(board_1862271191, p_1862271192, shooterFactory_1560281208(1, 2), false, true)); + add_1476395538(result_1862271193, 0, lineTakes_1543504059(board_1862271191, p_1862271192, shooterFactory_1560281208((-1), 2), false, true)); + add_1476395538(result_1862271193, 0, lineTakes_1543504059(board_1862271191, p_1862271192, shooterFactory_1560281208(2, 1), false, true)); + add_1476395538(result_1862271193, 0, lineTakes_1543504059(board_1862271191, p_1862271192, shooterFactory_1560281208(2, (-1)), false, true)); + add_1476395538(result_1862271193, 0, lineTakes_1543504059(board_1862271191, p_1862271192, shooterFactory_1560281208(1, (-2)), false, true)); + add_1476395538(result_1862271193, 0, lineTakes_1543504059(board_1862271191, p_1862271192, shooterFactory_1560281208((-1), (-2)), false, true)); + add_1476395538(result_1862271193, 0, lineTakes_1543504059(board_1862271191, p_1862271192, shooterFactory_1560281208((-2), 1), false, true)); + add_1476395538(result_1862271193, 0, lineTakes_1543504059(board_1862271191, p_1862271192, shooterFactory_1560281208((-2), (-1)), false, true)); + + return result_1862271193[0]; + +} + +function HEX3Aanonymous_1845495035(side_1845495036, viewSide_1845495037, b_1845495038, __1845495039) { Label1: { - F.line = 822; - F.filename = "powers.nim"; - var i_1493173504 = 0; - F.line = 822; - var j_1493173505 = 0; + var i_1845495040 = 0; + var j_1845495041 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493178874 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178875 = 0; + var i_1845500433 = 0; + var i_1845500434 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493178875 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493178874 = i_1493178875; + if (!(i_1845500434 < 8)) break Label4; + i_1845500433 = i_1845500434; Label5: { - F.line = 125; - var j_1493178878 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178879 = 0; + var j_1845500437 = 0; + var i_1845500438 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493178879 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493178878 = i_1493178879; - F.line = 822; - F.filename = "powers.nim"; - i_1493173504 = i_1493178874; - F.line = 822; - j_1493173505 = j_1493178878; - if (((b_1493173502[chckIndx(i_1493173504, 0, (b_1493173502).length - 1)][chckIndx(j_1493173505, 0, (b_1493173502[chckIndx(i_1493173504, 0, (b_1493173502).length - 1)]).length - 1)].item == 5) && isColor_1224737813(b_1493173502[chckIndx(i_1493173504, 0, (b_1493173502).length - 1)][chckIndx(j_1493173505, 0, (b_1493173502[chckIndx(i_1493173504, 0, (b_1493173502).length - 1)]).length - 1)], side_1493173500))) { - F.line = 824; - b_1493173502[chckIndx(i_1493173504, 0, (b_1493173502).length - 1)][chckIndx(j_1493173505, 0, (b_1493173502[chckIndx(i_1493173504, 0, (b_1493173502).length - 1)]).length - 1)].moves.push(HEX3Aanonymous_1509949691);; - F.line = 825; - b_1493173502[chckIndx(i_1493173504, 0, (b_1493173502).length - 1)][chckIndx(j_1493173505, 0, (b_1493173502[chckIndx(i_1493173504, 0, (b_1493173502).length - 1)]).length - 1)].takes.push(HEX3Aanonymous_1509949654);; - F.line = 826; - b_1493173502[chckIndx(i_1493173504, 0, (b_1493173502).length - 1)][chckIndx(j_1493173505, 0, (b_1493173502[chckIndx(i_1493173504, 0, (b_1493173502).length - 1)]).length - 1)].item = 7; - F.line = 827; - b_1493173502[chckIndx(i_1493173504, 0, (b_1493173502).length - 1)][chckIndx(j_1493173505, 0, (b_1493173502[chckIndx(i_1493173504, 0, (b_1493173502).length - 1)]).length - 1)].filePath = nimCopy(null, [110,105,103,104,116,114,105,100,101,114,46,115,118,103], NTI33554449); + if (!(i_1845500438 < 8)) break Label7; + j_1845500437 = i_1845500438; + i_1845495040 = i_1845500433; + j_1845495041 = j_1845500437; + if (((b_1845495038[chckIndx(i_1845495040, 0, (b_1845495038).length - 1)][chckIndx(j_1845495041, 0, (b_1845495038[chckIndx(i_1845495040, 0, (b_1845495038).length - 1)]).length - 1)].item == 5) && isColor_1476396053(b_1845495038[chckIndx(i_1845495040, 0, (b_1845495038).length - 1)][chckIndx(j_1845495041, 0, (b_1845495038[chckIndx(i_1845495040, 0, (b_1845495038).length - 1)]).length - 1)], side_1845495036))) { + b_1845495038[chckIndx(i_1845495040, 0, (b_1845495038).length - 1)][chckIndx(j_1845495041, 0, (b_1845495038[chckIndx(i_1845495040, 0, (b_1845495038).length - 1)]).length - 1)].moves.push(HEX3Aanonymous_1862271227);; + b_1845495038[chckIndx(i_1845495040, 0, (b_1845495038).length - 1)][chckIndx(j_1845495041, 0, (b_1845495038[chckIndx(i_1845495040, 0, (b_1845495038).length - 1)]).length - 1)].takes.push(HEX3Aanonymous_1862271190);; + b_1845495038[chckIndx(i_1845495040, 0, (b_1845495038).length - 1)][chckIndx(j_1845495041, 0, (b_1845495038[chckIndx(i_1845495040, 0, (b_1845495038).length - 1)]).length - 1)].item = 7; + b_1845495038[chckIndx(i_1845495040, 0, (b_1845495038).length - 1)][chckIndx(j_1845495041, 0, (b_1845495038[chckIndx(i_1845495040, 0, (b_1845495038).length - 1)]).length - 1)].filePath = nimCopy(null, [110,105,103,104,116,114,105,100,101,114,46,115,118,103], NTI33554449); } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493178879 = addInt(i_1493178879, 1); + i_1845500438 = addInt(i_1845500438, 1); } }; }; - F.line = 131; - i_1493178875 = addInt(i_1493178875, 1); + i_1845500434 = addInt(i_1845500434, 1); } }; }; }; - framePtr = F.prev; } -function HEX3Aanonymous_1493173519(side_1493173520, viewSide_1493173521, b_1493173522, s_1493173523) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 838; - F.filename = "powers.nim"; - buff_1493172242(2, side_1493173520, b_1493173522, s_1493173523, [HEX3Aanonymous_1509949475], [HEX3Aanonymous_1509949504], [], false, [], null, null, null, false); - framePtr = F.prev; +function HEX3Aanonymous_1845495055(side_1845495056, viewSide_1845495057, b_1845495058, s_1845495059) { + buff_1845493778(2, side_1845495056, b_1845495058, s_1845495059, [HEX3Aanonymous_1862271011], [HEX3Aanonymous_1862271040], [], false, [], null, null, null, false); } -function HEX3Aanonymous_1275068592(piece_1275068593, board_1275068594, state_1275068595) { - var F = {procname: "basePieces.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/basePieces.nim", line: 0}; - framePtr = F; - F.line = 63; - F.filename = "basePieces.nim"; - F.line = 63; - var HEX3Atmp_1275068596 = nimCopy(null, state_1275068595.Field1[chckIndx(piece_1275068593.color, 0, (state_1275068595.Field1).length - 1)].dna[chckIndx(1, 0, (state_1275068595.Field1[chckIndx(piece_1275068593.color, 0, (state_1275068595.Field1).length - 1)].dna).length - 1)], NTI1224736794); - piece_1275068593 = nimCopy(piece_1275068593, pieceCopy_1224737660(HEX3Atmp_1275068596, piece_1275068593.index, HEX3Atmp_1275068596.item, piece_1275068593.color, piece_1275068593.timesMoved, piece_1275068593.piecesTaken, piece_1275068593.tile, HEX3Atmp_1275068596.moves, HEX3Atmp_1275068596.takes, HEX3Atmp_1275068596.onMove, HEX3Atmp_1275068596.onTake, HEX3Atmp_1275068596.whenTaken, HEX3Atmp_1275068596.onEndTurn, HEX3Atmp_1275068596.onPromote, true, [113,117,101,101,110,46,115,118,103], HEX3Atmp_1275068596.colorable, HEX3Atmp_1275068596.rotate, HEX3Atmp_1275068596.drunk), NTI1224736794); - framePtr = F.prev; +function HEX3Aanonymous_1526726832(piece_1526726833, board_1526726834, state_1526726835) { + var HEX3Atmp_1526726836 = nimCopy(null, state_1526726835.Field1[chckIndx(piece_1526726833.color, 0, (state_1526726835.Field1).length - 1)].dna[chckIndx(1, 0, (state_1526726835.Field1[chckIndx(piece_1526726833.color, 0, (state_1526726835.Field1).length - 1)].dna).length - 1)], NTI1476395034); + piece_1526726833 = nimCopy(piece_1526726833, pieceCopy_1476395900(HEX3Atmp_1526726836, piece_1526726833.index, HEX3Atmp_1526726836.item, piece_1526726833.color, piece_1526726833.timesMoved, piece_1526726833.piecesTaken, piece_1526726833.tile, HEX3Atmp_1526726836.moves, HEX3Atmp_1526726836.takes, HEX3Atmp_1526726836.onMove, HEX3Atmp_1526726836.onTake, HEX3Atmp_1526726836.whenTaken, HEX3Atmp_1526726836.onEndTurn, HEX3Atmp_1526726836.onPromote, true, [113,117,101,101,110,46,115,118,103], HEX3Atmp_1526726836.colorable, HEX3Atmp_1526726836.rotate, HEX3Atmp_1526726836.drunk), NTI1476395034); } -function HEX3Aanonymous_1493173560(taken_1493173561, taker_1493173562, board_1493173563, state_1493173564) { - var result_1493173567 = {Field0: {Field0: 0, Field1: 0}, Field1: false}; +function HEX3Aanonymous_1845495096(taken_1845495097, taker_1845495098, board_1845495099, state_1845495100) { + var result_1845495103 = {Field0: {Field0: 0, Field1: 0}, Field1: false}; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; BeforeRet: { - if ((((((taker_1493173562.item == 0) && (taken_1493173561.item == 4)) && sameColor_1224737804(taken_1493173561, taker_1493173562)) && (taker_1493173562.timesMoved == 1)) && (taken_1493173561.timesMoved == 0))) { - F.line = 873; - F.filename = "powers.nim"; - state_1493173564.Field1[chckIndx(taken_1493173561.color, 0, (state_1493173564.Field1).length - 1)].hasCastled = true; + if ((((((taker_1845495098.item == 0) && (taken_1845495097.item == 4)) && sameColor_1476396044(taken_1845495097, taker_1845495098)) && (taker_1845495098.timesMoved == 1)) && (taken_1845495097.timesMoved == 0))) { + state_1845495100.Field1[chckIndx(taken_1845495097.color, 0, (state_1845495100.Field1).length - 1)].hasCastled = true; Label1: { - F.line = 181; - F.filename = "piece.nim"; - var xHEX60gensym54_1493173580 = null; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493178882 = 0; - F.line = 250; - var L_1493178883 = (taken_1493173561.onPromote).length; + var xHEX60gensym54_1845495116 = null; + var i_1845500441 = 0; + var L_1845500442 = (taken_1845495097.onPromote).length; Label2: { - F.line = 251; Label3: while (true) { - if (!(i_1493178882 < L_1493178883)) break Label3; - F.line = 874; - F.filename = "powers.nim"; - xHEX60gensym54_1493173580 = taken_1493173561.onPromote[chckIndx(i_1493178882, 0, (taken_1493173561.onPromote).length - 1)]; - F.line = 182; - F.filename = "piece.nim"; - xHEX60gensym54_1493173580(taken_1493173561, board_1493173563, state_1493173564); - if (taken_1493173561.promoted) { - F.line = 183; + if (!(i_1845500441 < L_1845500442)) break Label3; + xHEX60gensym54_1845495116 = taken_1845495097.onPromote[chckIndx(i_1845500441, 0, (taken_1845495097.onPromote).length - 1)]; + xHEX60gensym54_1845495116(taken_1845495097, board_1845495099, state_1845495100); + if (taken_1845495097.promoted) { break Label1; } - F.line = 13; - F.filename = "iterators.nim"; - i_1493178882 += 1; - if (!(((taken_1493173561.onPromote).length == L_1493178883))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_1845500441 += 1; + if (!(((taken_1845495097.onPromote).length == L_1845500442))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - F.line = 875; - F.filename = "powers.nim"; - var kingTile_1493173581 = nimCopy(null, taker_1493173562.tile, NTI1224736771); - if ((taken_1493173561.tile.Field0 == 0)) { - F.line = 877; - pieceMove_1224737556(taker_1493173562, kingTile_1493173581.Field1, subInt(kingTile_1493173581.Field0, 2), board_1493173563, state_1493173564); - F.line = 878; - pieceMove_1224737556(taken_1493173561, kingTile_1493173581.Field1, subInt(kingTile_1493173581.Field0, 1), board_1493173563, state_1493173564); - F.line = 879; - var colontmp__1493178885 = {Field0: subInt(kingTile_1493173581.Field0, 1), Field1: kingTile_1493173581.Field1}; - F.line = 879; - var colontmp__1493178886 = false; - F.line = 879; - result_1493173567 = nimCopy(result_1493173567, {Field0: nimCopy(null, colontmp__1493178885, NTI1224736771), Field1: colontmp__1493178886}, NTI1493173477); + var kingTile_1845495117 = nimCopy(null, taker_1845495098.tile, NTI1476395011); + if ((taken_1845495097.tile.Field0 == 0)) { + pieceMove_1476395796(taker_1845495098, kingTile_1845495117.Field1, subInt(kingTile_1845495117.Field0, 2), board_1845495099, state_1845495100); + pieceMove_1476395796(taken_1845495097, kingTile_1845495117.Field1, subInt(kingTile_1845495117.Field0, 1), board_1845495099, state_1845495100); + var colontmp__1845500444 = {Field0: subInt(kingTile_1845495117.Field0, 1), Field1: kingTile_1845495117.Field1}; + var colontmp__1845500445 = false; + result_1845495103 = nimCopy(result_1845495103, {Field0: nimCopy(null, colontmp__1845500444, NTI1476395011), Field1: colontmp__1845500445}, NTI1845495013); break BeforeRet; } else { - F.line = 881; - pieceMove_1224737556(taker_1493173562, kingTile_1493173581.Field1, addInt(kingTile_1493173581.Field0, 2), board_1493173563, state_1493173564); - F.line = 882; - pieceMove_1224737556(taken_1493173561, kingTile_1493173581.Field1, addInt(kingTile_1493173581.Field0, 1), board_1493173563, state_1493173564); - F.line = 883; - var colontmp__1493178887 = {Field0: addInt(kingTile_1493173581.Field0, 1), Field1: kingTile_1493173581.Field1}; - F.line = 883; - var colontmp__1493178888 = false; - F.line = 883; - result_1493173567 = nimCopy(result_1493173567, {Field0: nimCopy(null, colontmp__1493178887, NTI1224736771), Field1: colontmp__1493178888}, NTI1493173477); + pieceMove_1476395796(taker_1845495098, kingTile_1845495117.Field1, addInt(kingTile_1845495117.Field0, 2), board_1845495099, state_1845495100); + pieceMove_1476395796(taken_1845495097, kingTile_1845495117.Field1, addInt(kingTile_1845495117.Field0, 1), board_1845495099, state_1845495100); + var colontmp__1845500446 = {Field0: addInt(kingTile_1845495117.Field0, 1), Field1: kingTile_1845495117.Field1}; + var colontmp__1845500447 = false; + result_1845495103 = nimCopy(result_1845495103, {Field0: nimCopy(null, colontmp__1845500446, NTI1476395011), Field1: colontmp__1845500447}, NTI1845495013); break BeforeRet; } } else { - F.line = 885; - result_1493173567 = nimCopy(result_1493173567, HEX3Aanonymous_1224737604(taken_1493173561, taker_1493173562, board_1493173563, state_1493173564), NTI1493173477); + result_1845495103 = nimCopy(result_1845495103, HEX3Aanonymous_1476395844(taken_1845495097, taker_1845495098, board_1845495099, state_1845495100), NTI1845495013); break BeforeRet; } }; - framePtr = F.prev; - return result_1493173567; + return result_1845495103; } -function HEX3Aanonymous_1493173585(side_1493173586, __1493173587, b_1493173588, s_1493173589) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 895; - F.filename = "powers.nim"; - buff_1493172242(4, side_1493173586, b_1493173588, s_1493173589, [], [], [], false, [HEX3Aanonymous_1275068592], HEX3Aanonymous_1493173560, null, null, false); - framePtr = F.prev; +function HEX3Aanonymous_1845495121(side_1845495122, __1845495123, b_1845495124, s_1845495125) { + buff_1845493778(4, side_1845495122, b_1845495124, s_1845495125, [], [], [], false, [HEX3Aanonymous_1526726832], HEX3Aanonymous_1845495096, null, null, false); } -function HEX5BHEX5D_1224737124(b_1224737125, tile_1224737126) { - var result_1224737127 = null; +function HEX5BHEX5D_1476395364(b_1476395365, tile_1476395366) { + var result_1476395367 = null; - var F = {procname: "piece.[]", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 147; - F.filename = "piece.nim"; - result_1224737127 = b_1224737125[chckIndx(tile_1224737126.Field1, 0, (b_1224737125).length - 1)][chckIndx(tile_1224737126.Field0, 0, (b_1224737125[chckIndx(tile_1224737126.Field1, 0, (b_1224737125).length - 1)]).length - 1)]; + result_1476395367 = b_1476395365[chckIndx(tile_1476395366.Field1, 0, (b_1476395365).length - 1)][chckIndx(tile_1476395366.Field0, 0, (b_1476395365[chckIndx(tile_1476395366.Field1, 0, (b_1476395365).length - 1)]).length - 1)]; break BeforeRet; }; - framePtr = F.prev; - return result_1224737127; + return result_1476395367; } @@ -5669,331 +4078,201 @@ function raiseDivByZero() { } -function applyTransforms_1224737751(piece_1224737752, board_1224737753, state_1224737754) { - var F = {procname: "piece.applyTransforms", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; +function applyTransforms_1476395991(piece_1476395992, board_1476395993, state_1476395994) { Label1: { - F.line = 298; - F.filename = "piece.nim"; - var t_1224737777 = null; - F.line = 247; - F.filename = "iterators.nim"; - var colontmp__1493178890 = []; - F.line = 298; - F.filename = "piece.nim"; - colontmp__1493178890 = state_1224737754.Field1[chckIndx(piece_1224737752.color, 0, (state_1224737754.Field1).length - 1)].transforms[chckIndx(piece_1224737752.item, 0, (state_1224737754.Field1[chckIndx(piece_1224737752.color, 0, (state_1224737754.Field1).length - 1)].transforms).length - 1)]; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493178891 = 0; - F.line = 250; - var L_1493178892 = (colontmp__1493178890).length; + var t_1476396017 = null; + var colontmp__1845500449 = []; + colontmp__1845500449 = state_1476395994.Field1[chckIndx(piece_1476395992.color, 0, (state_1476395994.Field1).length - 1)].transforms[chckIndx(piece_1476395992.item, 0, (state_1476395994.Field1[chckIndx(piece_1476395992.color, 0, (state_1476395994.Field1).length - 1)].transforms).length - 1)]; + var i_1845500450 = 0; + var L_1845500451 = (colontmp__1845500449).length; Label2: { - F.line = 251; Label3: while (true) { - if (!(i_1493178891 < L_1493178892)) break Label3; - F.line = 298; - F.filename = "piece.nim"; - t_1224737777 = colontmp__1493178890[chckIndx(i_1493178891, 0, (colontmp__1493178890).length - 1)]; - F.line = 299; - t_1224737777(piece_1224737752, board_1224737753, state_1224737754); - F.line = 13; - F.filename = "iterators.nim"; - i_1493178891 += 1; - if (!(((colontmp__1493178890).length == L_1493178892))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + if (!(i_1845500450 < L_1845500451)) break Label3; + t_1476396017 = colontmp__1845500449[chckIndx(i_1845500450, 0, (colontmp__1845500449).length - 1)]; + t_1476396017(piece_1476395992, board_1476395993, state_1476395994); + i_1845500450 += 1; + if (!(((colontmp__1845500449).length == L_1845500451))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - framePtr = F.prev; } -function HEX3Aanonymous_1493173595(piece_1493173596, to_1493173597, board_1493173598, state_1493173599) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 902; - F.filename = "powers.nim"; - var takeResults_1493173600 = board_1493173598[chckIndx(to_1493173597.Field1, 0, (board_1493173598).length - 1)][chckIndx(to_1493173597.Field0, 0, (board_1493173598[chckIndx(to_1493173597.Field1, 0, (board_1493173598).length - 1)]).length - 1)].whenTaken(board_1493173598[chckIndx(to_1493173597.Field1, 0, (board_1493173598).length - 1)][chckIndx(to_1493173597.Field0, 0, (board_1493173598[chckIndx(to_1493173597.Field1, 0, (board_1493173598).length - 1)]).length - 1)], piece_1493173596, board_1493173598, state_1493173599); - F.line = 903; - var originalRookTile_1493173601 = nimCopy(null, piece_1493173596.tile, NTI1224736771); - F.line = 904; - HEX5BHEX5D_1224737124(board_1493173598, takeResults_1493173600.Field0).timesMoved = addInt(HEX5BHEX5D_1224737124(board_1493173598, takeResults_1493173600.Field0).timesMoved, 1); - if (takeResults_1493173600.Field1) { - F.line = 907; - HEX5BHEX5D_1224737124(board_1493173598, takeResults_1493173600.Field0).piecesTaken = addInt(HEX5BHEX5D_1224737124(board_1493173598, takeResults_1493173600.Field0).piecesTaken, 1); - if ((modInt(HEX5BHEX5D_1224737124(board_1493173598, takeResults_1493173600.Field0).piecesTaken, 2) == 0)) { - F.line = 909; - F.line = 910; - var HEX3Atmp_1493173610 = nimCopy(null, state_1493173599.Field1[chckIndx(piece_1493173596.color, 0, (state_1493173599.Field1).length - 1)].dna[chckIndx(3, 0, (state_1493173599.Field1[chckIndx(piece_1493173596.color, 0, (state_1493173599.Field1).length - 1)].dna).length - 1)], NTI1224736794); - HEX5BHEX5DHEX3D_1224737144(board_1493173598, originalRookTile_1493173601, pieceCopy_1224737660(HEX3Atmp_1493173610, newIndex_1224737255(state_1493173599), HEX3Atmp_1493173610.item, HEX3Atmp_1493173610.color, HEX3Atmp_1493173610.timesMoved, HEX3Atmp_1493173610.piecesTaken, originalRookTile_1493173601, HEX3Atmp_1493173610.moves, HEX3Atmp_1493173610.takes, HEX3Atmp_1493173610.onMove, HEX3Atmp_1493173610.onTake, HEX3Atmp_1493173610.whenTaken, HEX3Atmp_1493173610.onEndTurn, HEX3Atmp_1493173610.onPromote, HEX3Atmp_1493173610.promoted, HEX3Atmp_1493173610.filePath, HEX3Atmp_1493173610.colorable, HEX3Atmp_1493173610.rotate, HEX3Atmp_1493173610.drunk)); - F.line = 911; - applyTransforms_1224737751(HEX5BHEX5D_1224737124(board_1493173598, originalRookTile_1493173601), board_1493173598, state_1493173599); +function HEX3Aanonymous_1845495131(piece_1845495132, to_1845495133, board_1845495134, state_1845495135) { + var takeResults_1845495136 = board_1845495134[chckIndx(to_1845495133.Field1, 0, (board_1845495134).length - 1)][chckIndx(to_1845495133.Field0, 0, (board_1845495134[chckIndx(to_1845495133.Field1, 0, (board_1845495134).length - 1)]).length - 1)].whenTaken(board_1845495134[chckIndx(to_1845495133.Field1, 0, (board_1845495134).length - 1)][chckIndx(to_1845495133.Field0, 0, (board_1845495134[chckIndx(to_1845495133.Field1, 0, (board_1845495134).length - 1)]).length - 1)], piece_1845495132, board_1845495134, state_1845495135); + var originalRookTile_1845495137 = nimCopy(null, piece_1845495132.tile, NTI1476395011); + HEX5BHEX5D_1476395364(board_1845495134, takeResults_1845495136.Field0).timesMoved = addInt(HEX5BHEX5D_1476395364(board_1845495134, takeResults_1845495136.Field0).timesMoved, 1); + if (takeResults_1845495136.Field1) { + HEX5BHEX5D_1476395364(board_1845495134, takeResults_1845495136.Field0).piecesTaken = addInt(HEX5BHEX5D_1476395364(board_1845495134, takeResults_1845495136.Field0).piecesTaken, 1); + if ((modInt(HEX5BHEX5D_1476395364(board_1845495134, takeResults_1845495136.Field0).piecesTaken, 2) == 0)) { + var HEX3Atmp_1845495146 = nimCopy(null, state_1845495135.Field1[chckIndx(piece_1845495132.color, 0, (state_1845495135.Field1).length - 1)].dna[chckIndx(3, 0, (state_1845495135.Field1[chckIndx(piece_1845495132.color, 0, (state_1845495135.Field1).length - 1)].dna).length - 1)], NTI1476395034); + HEX5BHEX5DHEX3D_1476395384(board_1845495134, originalRookTile_1845495137, pieceCopy_1476395900(HEX3Atmp_1845495146, newIndex_1476395495(state_1845495135), HEX3Atmp_1845495146.item, HEX3Atmp_1845495146.color, HEX3Atmp_1845495146.timesMoved, HEX3Atmp_1845495146.piecesTaken, originalRookTile_1845495137, HEX3Atmp_1845495146.moves, HEX3Atmp_1845495146.takes, HEX3Atmp_1845495146.onMove, HEX3Atmp_1845495146.onTake, HEX3Atmp_1845495146.whenTaken, HEX3Atmp_1845495146.onEndTurn, HEX3Atmp_1845495146.onPromote, HEX3Atmp_1845495146.promoted, HEX3Atmp_1845495146.filePath, HEX3Atmp_1845495146.colorable, HEX3Atmp_1845495146.rotate, HEX3Atmp_1845495146.drunk)); + applyTransforms_1476395991(HEX5BHEX5D_1476395364(board_1845495134, originalRookTile_1845495137), board_1845495134, state_1845495135); } } - framePtr = F.prev; } -function HEX3Aanonymous_1493173614(side_1493173615, __1493173616, b_1493173617, s_1493173618) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 921; - F.filename = "powers.nim"; - buff_1493172242(4, side_1493173615, b_1493173617, s_1493173618, [], [], [], false, [], null, HEX3Aanonymous_1493173595, null, false); - framePtr = F.prev; +function HEX3Aanonymous_1845495150(side_1845495151, __1845495152, b_1845495153, s_1845495154) { + buff_1845493778(4, side_1845495151, b_1845495153, s_1845495154, [], [], [], false, [], null, HEX3Aanonymous_1845495131, null, false); } -function HEX3Aanonymous_1509949733(board_1509949734, p_1509949735) { - var result_1509949736 = [[]]; +function HEX3Aanonymous_1862271269(board_1862271270, p_1862271271) { + var result_1862271272 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 190; - F.filename = "extramoves.nim"; - var _ = addIfTake_1291845739(result_1509949736, 0, board_1509949734, p_1509949735, p_1509949735.tile, shooterFactory_1308622968(0, 1), false, false); - F.line = 191; - var _ = addIfTake_1291845739(result_1509949736, 0, board_1509949734, p_1509949735, p_1509949735.tile, shooterFactory_1308622968(0, 2), false, false); - framePtr = F.prev; + var _ = addIfTake_1543503979(result_1862271272, 0, board_1862271270, p_1862271271, p_1862271271.tile, shooterFactory_1560281208(0, 1), false, false); + var _ = addIfTake_1543503979(result_1862271272, 0, board_1862271270, p_1862271271, p_1862271271.tile, shooterFactory_1560281208(0, 2), false, false); - return result_1509949736[0]; + return result_1862271272[0]; } -function HEX3Aanonymous_1509949743(board_1509949744, p_1509949745) { - var result_1509949746 = [[]]; +function HEX3Aanonymous_1862271279(board_1862271280, p_1862271281) { + var result_1862271282 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 198; - F.filename = "extramoves.nim"; - var _ = addIfTake_1291845739(result_1509949746, 0, board_1509949744, p_1509949745, p_1509949745.tile, shooterFactory_1308622968(0, (-1)), false, false); - F.line = 199; - var _ = addIfTake_1291845739(result_1509949746, 0, board_1509949744, p_1509949745, p_1509949745.tile, shooterFactory_1308622968(0, (-2)), false, false); - framePtr = F.prev; + var _ = addIfTake_1543503979(result_1862271282, 0, board_1862271280, p_1862271281, p_1862271281.tile, shooterFactory_1560281208(0, (-1)), false, false); + var _ = addIfTake_1543503979(result_1862271282, 0, board_1862271280, p_1862271281, p_1862271281.tile, shooterFactory_1560281208(0, (-2)), false, false); - return result_1509949746[0]; + return result_1862271282[0]; } -function pieceMove_1224737585(p_1224737586, t_1224737587, board_1224737588, state_1224737589) { - var F = {procname: "piece.pieceMove", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; - F.line = 240; - F.filename = "piece.nim"; - pieceMove_1224737556(board_1224737588[chckIndx(p_1224737586.Field1, 0, (board_1224737588).length - 1)][chckIndx(p_1224737586.Field0, 0, (board_1224737588[chckIndx(p_1224737586.Field1, 0, (board_1224737588).length - 1)]).length - 1)], t_1224737587.Field1, t_1224737587.Field0, board_1224737588, state_1224737589); - framePtr = F.prev; +function pieceMove_1476395825(p_1476395826, t_1476395827, board_1476395828, state_1476395829) { + pieceMove_1476395796(board_1476395828[chckIndx(p_1476395826.Field1, 0, (board_1476395828).length - 1)][chckIndx(p_1476395826.Field0, 0, (board_1476395828[chckIndx(p_1476395826.Field1, 0, (board_1476395828).length - 1)]).length - 1)], t_1476395827.Field1, t_1476395827.Field0, board_1476395828, state_1476395829); } -function HEX3Aanonymous_1493173620(piece_1493173621, to_1493173622, board_1493173623, state_1493173624) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 927; - F.filename = "powers.nim"; - var originalKingTile_1493173625 = nimCopy(null, piece_1493173621.tile, NTI1224736771); - F.line = 928; - var takeResult_1493173626 = board_1493173623[chckIndx(to_1493173622.Field1, 0, (board_1493173623).length - 1)][chckIndx(to_1493173622.Field0, 0, (board_1493173623[chckIndx(to_1493173622.Field1, 0, (board_1493173623).length - 1)]).length - 1)].whenTaken(board_1493173623[chckIndx(to_1493173622.Field1, 0, (board_1493173623).length - 1)][chckIndx(to_1493173622.Field0, 0, (board_1493173623[chckIndx(to_1493173622.Field1, 0, (board_1493173623).length - 1)]).length - 1)], piece_1493173621, board_1493173623, state_1493173624); - F.line = 929; - piece_1493173621.timesMoved = addInt(piece_1493173621.timesMoved, 1); - if (takeResult_1493173626.Field1) { - F.line = 931; - piece_1493173621.piecesTaken = addInt(piece_1493173621.piecesTaken, 1); - if ((addInt(originalKingTile_1493173625.Field1, 2) == takeResult_1493173626.Field0.Field1)) { - F.line = 934; - pieceMove_1224737585(takeResult_1493173626.Field0, originalKingTile_1493173625, board_1493173623, state_1493173624); +function HEX3Aanonymous_1845495156(piece_1845495157, to_1845495158, board_1845495159, state_1845495160) { + var originalKingTile_1845495161 = nimCopy(null, piece_1845495157.tile, NTI1476395011); + var takeResult_1845495162 = board_1845495159[chckIndx(to_1845495158.Field1, 0, (board_1845495159).length - 1)][chckIndx(to_1845495158.Field0, 0, (board_1845495159[chckIndx(to_1845495158.Field1, 0, (board_1845495159).length - 1)]).length - 1)].whenTaken(board_1845495159[chckIndx(to_1845495158.Field1, 0, (board_1845495159).length - 1)][chckIndx(to_1845495158.Field0, 0, (board_1845495159[chckIndx(to_1845495158.Field1, 0, (board_1845495159).length - 1)]).length - 1)], piece_1845495157, board_1845495159, state_1845495160); + piece_1845495157.timesMoved = addInt(piece_1845495157.timesMoved, 1); + if (takeResult_1845495162.Field1) { + piece_1845495157.piecesTaken = addInt(piece_1845495157.piecesTaken, 1); + if ((addInt(originalKingTile_1845495161.Field1, 2) == takeResult_1845495162.Field0.Field1)) { + pieceMove_1476395825(takeResult_1845495162.Field0, originalKingTile_1845495161, board_1845495159, state_1845495160); } else { - if ((subInt(originalKingTile_1493173625.Field1, 2) == takeResult_1493173626.Field0.Field1)) { - F.line = 936; - pieceMove_1224737585(takeResult_1493173626.Field0, originalKingTile_1493173625, board_1493173623, state_1493173624); + if ((subInt(originalKingTile_1845495161.Field1, 2) == takeResult_1845495162.Field0.Field1)) { + pieceMove_1476395825(takeResult_1845495162.Field0, originalKingTile_1845495161, board_1845495159, state_1845495160); } } } - framePtr = F.prev; } -function HEX3Aanonymous_1493173638(side_1493173639, __1493173640, b_1493173641, s_1493173642) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 947; - F.filename = "powers.nim"; - buff_1493172242(0, side_1493173639, b_1493173641, s_1493173642, [], [HEX3Aanonymous_1509949733, HEX3Aanonymous_1509949743], [], false, [], null, HEX3Aanonymous_1493173620, null, false); - framePtr = F.prev; +function HEX3Aanonymous_1845495174(side_1845495175, __1845495176, b_1845495177, s_1845495178) { + buff_1845493778(0, side_1845495175, b_1845495177, s_1845495178, [], [HEX3Aanonymous_1862271269, HEX3Aanonymous_1862271279], [], false, [], null, HEX3Aanonymous_1845495156, null, false); } -function HEX3Aanonymous_1493173682(side_1493173683, __1493173684, b_1493173685, __1493173686) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; +function HEX3Aanonymous_1845495218(side_1845495219, __1845495220, b_1845495221, __1845495222) { Label1: { - F.line = 989; - F.filename = "powers.nim"; - var i_1493173687 = 0; - F.line = 989; - var j_1493173688 = 0; + var i_1845495223 = 0; + var j_1845495224 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493178896 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178897 = 0; + var i_1845500455 = 0; + var i_1845500456 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493178897 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493178896 = i_1493178897; + if (!(i_1845500456 < 8)) break Label4; + i_1845500455 = i_1845500456; Label5: { - F.line = 125; - var j_1493178900 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178901 = 0; + var j_1845500459 = 0; + var i_1845500460 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493178901 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493178900 = i_1493178901; - F.line = 989; - F.filename = "powers.nim"; - i_1493173687 = i_1493178896; - F.line = 989; - j_1493173688 = j_1493178900; - if (((b_1493173685[chckIndx(i_1493173687, 0, (b_1493173685).length - 1)][chckIndx(j_1493173688, 0, (b_1493173685[chckIndx(i_1493173687, 0, (b_1493173685).length - 1)]).length - 1)].item == 0) && isColor_1224737813(b_1493173685[chckIndx(i_1493173687, 0, (b_1493173685).length - 1)][chckIndx(j_1493173688, 0, (b_1493173685[chckIndx(i_1493173687, 0, (b_1493173685).length - 1)]).length - 1)], side_1493173683))) { - if ((b_1493173685[chckIndx(i_1493173687, 0, (b_1493173685).length - 1)][chckIndx(j_1493173688, 0, (b_1493173685[chckIndx(i_1493173687, 0, (b_1493173685).length - 1)]).length - 1)].timesMoved == 0)) { - F.line = 992; - b_1493173685[chckIndx(i_1493173687, 0, (b_1493173685).length - 1)][chckIndx(j_1493173688, 0, (b_1493173685[chckIndx(i_1493173687, 0, (b_1493173685).length - 1)]).length - 1)].timesMoved = addInt(b_1493173685[chckIndx(i_1493173687, 0, (b_1493173685).length - 1)][chckIndx(j_1493173688, 0, (b_1493173685[chckIndx(i_1493173687, 0, (b_1493173685).length - 1)]).length - 1)].timesMoved, 1); - F.line = 993; - pieceSwap_1224737595(b_1493173685[chckIndx(i_1493173687, 0, (b_1493173685).length - 1)][chckIndx(j_1493173688, 0, (b_1493173685[chckIndx(i_1493173687, 0, (b_1493173685).length - 1)]).length - 1)], b_1493173685[chckIndx(i_1493173687, 0, (b_1493173685).length - 1)][chckIndx(addInt(j_1493173688, 2), 0, (b_1493173685[chckIndx(i_1493173687, 0, (b_1493173685).length - 1)]).length - 1)], b_1493173685); + if (!(i_1845500460 < 8)) break Label7; + j_1845500459 = i_1845500460; + i_1845495223 = i_1845500455; + j_1845495224 = j_1845500459; + if (((b_1845495221[chckIndx(i_1845495223, 0, (b_1845495221).length - 1)][chckIndx(j_1845495224, 0, (b_1845495221[chckIndx(i_1845495223, 0, (b_1845495221).length - 1)]).length - 1)].item == 0) && isColor_1476396053(b_1845495221[chckIndx(i_1845495223, 0, (b_1845495221).length - 1)][chckIndx(j_1845495224, 0, (b_1845495221[chckIndx(i_1845495223, 0, (b_1845495221).length - 1)]).length - 1)], side_1845495219))) { + if ((b_1845495221[chckIndx(i_1845495223, 0, (b_1845495221).length - 1)][chckIndx(j_1845495224, 0, (b_1845495221[chckIndx(i_1845495223, 0, (b_1845495221).length - 1)]).length - 1)].timesMoved == 0)) { + b_1845495221[chckIndx(i_1845495223, 0, (b_1845495221).length - 1)][chckIndx(j_1845495224, 0, (b_1845495221[chckIndx(i_1845495223, 0, (b_1845495221).length - 1)]).length - 1)].timesMoved = addInt(b_1845495221[chckIndx(i_1845495223, 0, (b_1845495221).length - 1)][chckIndx(j_1845495224, 0, (b_1845495221[chckIndx(i_1845495223, 0, (b_1845495221).length - 1)]).length - 1)].timesMoved, 1); + pieceSwap_1476395835(b_1845495221[chckIndx(i_1845495223, 0, (b_1845495221).length - 1)][chckIndx(j_1845495224, 0, (b_1845495221[chckIndx(i_1845495223, 0, (b_1845495221).length - 1)]).length - 1)], b_1845495221[chckIndx(i_1845495223, 0, (b_1845495221).length - 1)][chckIndx(addInt(j_1845495224, 2), 0, (b_1845495221[chckIndx(i_1845495223, 0, (b_1845495221).length - 1)]).length - 1)], b_1845495221); } } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493178901 = addInt(i_1493178901, 1); + i_1845500460 = addInt(i_1845500460, 1); } }; }; - F.line = 131; - i_1493178897 = addInt(i_1493178897, 1); + i_1845500456 = addInt(i_1845500456, 1); } }; }; }; - framePtr = F.prev; } -function HEX3Aanonymous_1509949772(board_1509949773, p_1509949774) { - var result_1509949775 = [[]]; +function HEX3Aanonymous_1862271308(board_1862271309, p_1862271310) { + var result_1862271311 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 225; - F.filename = "extramoves.nim"; - add_1224737298(result_1509949775, 0, lineMoves_1291845813(board_1509949773, p_1509949774, tileBelow_1308622993)); - framePtr = F.prev; + add_1476395538(result_1862271311, 0, lineMoves_1543504053(board_1862271309, p_1862271310, tileBelow_1560281233)); - return result_1509949775[0]; + return result_1862271311[0]; } -function HEX3Aanonymous_1509949790(board_1509949791, p_1509949792) { - var result_1509949793 = [[]]; +function HEX3Aanonymous_1862271326(board_1862271327, p_1862271328) { + var result_1862271329 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 231; - F.filename = "extramoves.nim"; - add_1224737298(result_1509949793, 0, lineTakes_1291845819(board_1509949791, p_1509949792, tileBelow_1308622993, false, false)); - framePtr = F.prev; + add_1476395538(result_1862271329, 0, lineTakes_1543504059(board_1862271327, p_1862271328, tileBelow_1560281233, false, false)); - return result_1509949793[0]; + return result_1862271329[0]; } -function HEX3Aanonymous_1509949763(board_1509949764, p_1509949765) { - var result_1509949766 = [[]]; +function HEX3Aanonymous_1862271299(board_1862271300, p_1862271301) { + var result_1862271302 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 222; - F.filename = "extramoves.nim"; - add_1224737298(result_1509949766, 0, lineMoves_1291845813(board_1509949764, p_1509949765, tileAbove_1308622990)); - framePtr = F.prev; + add_1476395538(result_1862271302, 0, lineMoves_1543504053(board_1862271300, p_1862271301, tileAbove_1560281230)); - return result_1509949766[0]; + return result_1862271302[0]; } -function HEX3Aanonymous_1509949781(board_1509949782, p_1509949783) { - var result_1509949784 = [[]]; +function HEX3Aanonymous_1862271317(board_1862271318, p_1862271319) { + var result_1862271320 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 228; - F.filename = "extramoves.nim"; - add_1224737298(result_1509949784, 0, lineTakes_1291845819(board_1509949782, p_1509949783, tileAbove_1308622990, false, false)); - framePtr = F.prev; + add_1476395538(result_1862271320, 0, lineTakes_1543504059(board_1862271318, p_1862271319, tileAbove_1560281230, false, false)); - return result_1509949784[0]; + return result_1862271320[0]; } -function HEX3Aanonymous_1493173777(piece_1493173778, board_1493173779, state_1493173780) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - if ((isAtEnd_1224737998(piece_1493173778) && !(piece_1493173778.promoted))) { +function HEX3Aanonymous_1845495313(piece_1845495314, board_1845495315, state_1845495316) { + if ((isAtEnd_1476396238(piece_1845495314) && !(piece_1845495314.promoted))) { Label1: { - F.line = 181; - F.filename = "piece.nim"; - var xHEX60gensym61_1493173785 = null; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493178904 = 0; - F.line = 250; - var L_1493178905 = (piece_1493173778.onPromote).length; + var xHEX60gensym61_1845495321 = null; + var i_1845500463 = 0; + var L_1845500464 = (piece_1845495314.onPromote).length; Label2: { - F.line = 251; Label3: while (true) { - if (!(i_1493178904 < L_1493178905)) break Label3; - F.line = 1058; - F.filename = "powers.nim"; - xHEX60gensym61_1493173785 = piece_1493173778.onPromote[chckIndx(i_1493178904, 0, (piece_1493173778.onPromote).length - 1)]; - F.line = 182; - F.filename = "piece.nim"; - xHEX60gensym61_1493173785(piece_1493173778, board_1493173779, state_1493173780); - if (piece_1493173778.promoted) { - F.line = 183; + if (!(i_1845500463 < L_1845500464)) break Label3; + xHEX60gensym61_1845495321 = piece_1845495314.onPromote[chckIndx(i_1845500463, 0, (piece_1845495314.onPromote).length - 1)]; + xHEX60gensym61_1845495321(piece_1845495314, board_1845495315, state_1845495316); + if (piece_1845495314.promoted) { break Label1; } - F.line = 13; - F.filename = "iterators.nim"; - i_1493178904 += 1; - if (!(((piece_1493173778.onPromote).length == L_1493178905))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_1845500463 += 1; + if (!(((piece_1845495314.onPromote).length == L_1845500464))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } @@ -6001,612 +4280,395 @@ function HEX3Aanonymous_1493173777(piece_1493173778, board_1493173779, state_149 }; } - framePtr = F.prev; } -function HEX3Aanonymous_1493173764(piece_1493173765, board_1493173766, state_1493173767) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1051; - F.filename = "powers.nim"; - piece_1493173765.moves = nimCopy(null, [HEX3Aanonymous_1509949475, HEX3Aanonymous_1509949465, HEX3Aanonymous_1509949514, HEX3Aanonymous_1509949509], NTI1493173219); - F.line = 1052; - piece_1493173765.takes = nimCopy(null, [HEX3Aanonymous_1509949504, HEX3Aanonymous_1509949470, HEX3Aanonymous_1509949524, HEX3Aanonymous_1509949519], NTI1493173219); - F.line = 1053; - piece_1493173765.promoted = true; - F.line = 1054; - piece_1493173765.filePath = nimCopy(null, [112,114,111,109,111,116,101,100,108,97,110,99,101,46,115,118,103], NTI33554449); - framePtr = F.prev; +function HEX3Aanonymous_1845495300(piece_1845495301, board_1845495302, state_1845495303) { + piece_1845495301.moves = nimCopy(null, [HEX3Aanonymous_1862271011, HEX3Aanonymous_1862271001, HEX3Aanonymous_1862271050, HEX3Aanonymous_1862271045], NTI1845494755); + piece_1845495301.takes = nimCopy(null, [HEX3Aanonymous_1862271040, HEX3Aanonymous_1862271006, HEX3Aanonymous_1862271060, HEX3Aanonymous_1862271055], NTI1845494755); + piece_1845495301.promoted = true; + piece_1845495301.filePath = nimCopy(null, [112,114,111,109,111,116,101,100,108,97,110,99,101,46,115,118,103], NTI33554449); } -function HEX3Aanonymous_1493173789(side_1493173790, viewSide_1493173791, b_1493173792, __1493173793) { +function HEX3Aanonymous_1845495325(side_1845495326, viewSide_1845495327, b_1845495328, __1845495329) { var Temporary1; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1074; - F.filename = "powers.nim"; - if ((side_1493173790 == 0)) { + if ((side_1845495326 == 0)) { Temporary1 = 1; } else { Temporary1 = 6; } - var rank_1493173798 = Temporary1; - if (!((b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)][chckIndx(0, 0, (b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)]).length - 1)].color == side_1493173790))) { - F.line = 1075; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/the-playground/chess/src/powers.nim(1075, 13) `b[rank][0].color == side` ")); + var rank_1845495334 = Temporary1; + if (!((b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)][chckIndx(0, 0, (b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)]).length - 1)].color == side_1845495326))) { + failedAssertImpl_268435541([112,111,119,101,114,115,46,110,105,109,40,49,48,55,53,44,32,49,51,41,32,96,98,91,114,97,110,107,93,91,48,93,46,99,111,108,111,114,32,61,61,32,115,105,100,101,96,32]); } - if ((side_1493173790 == 0)) { - F.line = 1077; - b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)][chckIndx(0, 0, (b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1509949772], NTI1275068441); - F.line = 1078; - b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)][chckIndx(0, 0, (b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1509949790], NTI1275068441); + if ((side_1845495326 == 0)) { + b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)][chckIndx(0, 0, (b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1862271308], NTI1526726681); + b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)][chckIndx(0, 0, (b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1862271326], NTI1526726681); } else { - F.line = 1080; - b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)][chckIndx(0, 0, (b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1509949763], NTI1275068441); - F.line = 1081; - b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)][chckIndx(0, 0, (b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1509949781], NTI1275068441); + b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)][chckIndx(0, 0, (b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1862271299], NTI1526726681); + b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)][chckIndx(0, 0, (b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1862271317], NTI1526726681); } - F.line = 1082; - b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)][chckIndx(0, 0, (b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)]).length - 1)].onEndTurn = nimCopy(null, [HEX3Aanonymous_1493173777], NTI1275068457); - F.line = 1083; - b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)][chckIndx(0, 0, (b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)]).length - 1)].onPromote = nimCopy(null, [HEX3Aanonymous_1493173764], NTI1275068457); - F.line = 1084; - b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)][chckIndx(0, 0, (b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)]).length - 1)].item = 7; - F.line = 1085; - b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)][chckIndx(0, 0, (b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)]).length - 1)].filePath = nimCopy(null, [108,97,110,99,101,46,115,118,103], NTI33554449); - F.line = 1086; - b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)][chckIndx(0, 0, (b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)]).length - 1)].colorable = false; - if (!((side_1493173790 == viewSide_1493173791))) { - F.line = 1087; - b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)][chckIndx(0, 0, (b_1493173792[chckIndx(rank_1493173798, 0, (b_1493173792).length - 1)]).length - 1)].rotate = true; + b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)][chckIndx(0, 0, (b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)]).length - 1)].onEndTurn = nimCopy(null, [HEX3Aanonymous_1845495313], NTI1526726697); + b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)][chckIndx(0, 0, (b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)]).length - 1)].onPromote = nimCopy(null, [HEX3Aanonymous_1845495300], NTI1526726697); + b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)][chckIndx(0, 0, (b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)]).length - 1)].item = 7; + b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)][chckIndx(0, 0, (b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)]).length - 1)].filePath = nimCopy(null, [108,97,110,99,101,46,115,118,103], NTI33554449); + b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)][chckIndx(0, 0, (b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)]).length - 1)].colorable = false; + if (!((side_1845495326 == viewSide_1845495327))) { + b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)][chckIndx(0, 0, (b_1845495328[chckIndx(rank_1845495334, 0, (b_1845495328).length - 1)]).length - 1)].rotate = true; } - framePtr = F.prev; } -function HEX3Aanonymous_1493173841(side_1493173842, viewSide_1493173843, b_1493173844, __1493173845) { +function HEX3Aanonymous_1845495377(side_1845495378, viewSide_1845495379, b_1845495380, __1845495381) { var Temporary1; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1104; - F.filename = "powers.nim"; - if ((side_1493173842 == 0)) { + if ((side_1845495378 == 0)) { Temporary1 = 1; } else { Temporary1 = 6; } - var rank_1493173850 = Temporary1; - if (!((b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)][chckIndx(7, 0, (b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)]).length - 1)].color == side_1493173842))) { - F.line = 1105; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/the-playground/chess/src/powers.nim(1105, 13) `b[rank][7].color == side` ")); + var rank_1845495386 = Temporary1; + if (!((b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)][chckIndx(7, 0, (b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)]).length - 1)].color == side_1845495378))) { + failedAssertImpl_268435541([112,111,119,101,114,115,46,110,105,109,40,49,49,48,53,44,32,49,51,41,32,96,98,91,114,97,110,107,93,91,55,93,46,99,111,108,111,114,32,61,61,32,115,105,100,101,96,32]); } - if ((side_1493173842 == 0)) { - F.line = 1107; - b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)][chckIndx(7, 0, (b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1509949772], NTI1275068441); - F.line = 1108; - b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)][chckIndx(7, 0, (b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1509949790], NTI1275068441); + if ((side_1845495378 == 0)) { + b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)][chckIndx(7, 0, (b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1862271308], NTI1526726681); + b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)][chckIndx(7, 0, (b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1862271326], NTI1526726681); } else { - F.line = 1110; - b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)][chckIndx(7, 0, (b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1509949763], NTI1275068441); - F.line = 1111; - b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)][chckIndx(7, 0, (b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1509949781], NTI1275068441); + b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)][chckIndx(7, 0, (b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)]).length - 1)].moves = nimCopy(null, [HEX3Aanonymous_1862271299], NTI1526726681); + b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)][chckIndx(7, 0, (b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)]).length - 1)].takes = nimCopy(null, [HEX3Aanonymous_1862271317], NTI1526726681); } - F.line = 1112; - b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)][chckIndx(7, 0, (b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)]).length - 1)].onEndTurn = nimCopy(null, [HEX3Aanonymous_1493173777], NTI1275068457); - F.line = 1113; - b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)][chckIndx(7, 0, (b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)]).length - 1)].onPromote = nimCopy(null, [HEX3Aanonymous_1493173764], NTI1275068457); - F.line = 1114; - b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)][chckIndx(7, 0, (b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)]).length - 1)].item = 7; - F.line = 1115; - b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)][chckIndx(7, 0, (b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)]).length - 1)].filePath = nimCopy(null, [108,97,110,99,101,46,115,118,103], NTI33554449); - F.line = 1116; - b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)][chckIndx(7, 0, (b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)]).length - 1)].colorable = false; - if (!((side_1493173842 == viewSide_1493173843))) { - F.line = 1117; - b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)][chckIndx(7, 0, (b_1493173844[chckIndx(rank_1493173850, 0, (b_1493173844).length - 1)]).length - 1)].rotate = true; + b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)][chckIndx(7, 0, (b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)]).length - 1)].onEndTurn = nimCopy(null, [HEX3Aanonymous_1845495313], NTI1526726697); + b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)][chckIndx(7, 0, (b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)]).length - 1)].onPromote = nimCopy(null, [HEX3Aanonymous_1845495300], NTI1526726697); + b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)][chckIndx(7, 0, (b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)]).length - 1)].item = 7; + b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)][chckIndx(7, 0, (b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)]).length - 1)].filePath = nimCopy(null, [108,97,110,99,101,46,115,118,103], NTI33554449); + b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)][chckIndx(7, 0, (b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)]).length - 1)].colorable = false; + if (!((side_1845495378 == viewSide_1845495379))) { + b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)][chckIndx(7, 0, (b_1845495380[chckIndx(rank_1845495386, 0, (b_1845495380).length - 1)]).length - 1)].rotate = true; } - framePtr = F.prev; } -function rotl_1392508951(x_1392508952, k_1392508953) { - var result_1392508954 = 0; +function rotl_1644167191(x_1644167192, k_1644167193) { + var result_1644167194 = 0; - var F = {procname: "random.rotl", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/random.nim", line: 0}; - framePtr = F; - F.line = 134; - F.filename = "random.nim"; - result_1392508954 = ((((x_1392508952 << k_1392508953) >>> 0) | (x_1392508952 >>> ((64 - k_1392508953) >>> 0))) >>> 0); - framePtr = F.prev; + result_1644167194 = ((((x_1644167192 << k_1644167193) >>> 0) | (x_1644167192 >>> ((64 - k_1644167193) >>> 0))) >>> 0); - return result_1392508954; + return result_1644167194; } -function next_1392508963(r_1392508964) { - var result_1392508965 = 0n; +function next_1644167203(r_1644167204) { + var result_1644167205 = 0n; - var F = {procname: "random.next", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/random.nim", line: 0}; - framePtr = F; - F.line = 152; - F.filename = "random.nim"; - var s0_1392508966 = r_1392508964.a0; - F.line = 153; - var s1_1392508967 = r_1392508964.a1; - F.line = 154; - result_1392508965 = BigInt(((s0_1392508966 + s1_1392508967) >>> 0)); - F.line = 155; - s1_1392508967 = ((s1_1392508967 ^ s0_1392508966) >>> 0); - F.line = 156; - r_1392508964.a0 = ((((rotl_1392508951(s0_1392508966, 55) ^ s1_1392508967) >>> 0) ^ ((s1_1392508967 << 14) >>> 0)) >>> 0); - F.line = 157; - r_1392508964.a1 = rotl_1392508951(s1_1392508967, 36); - framePtr = F.prev; + var s0_1644167206 = r_1644167204.a0; + var s1_1644167207 = r_1644167204.a1; + result_1644167205 = BigInt(((s0_1644167206 + s1_1644167207) >>> 0)); + s1_1644167207 = ((s1_1644167207 ^ s0_1644167206) >>> 0); + r_1644167204.a0 = ((((rotl_1644167191(s0_1644167206, 55) ^ s1_1644167207) >>> 0) ^ ((s1_1644167207 << 14) >>> 0)) >>> 0); + r_1644167204.a1 = rotl_1644167191(s1_1644167207, 36); - return result_1392508965; + return result_1644167205; } -function skipRandomNumbers_1392508972(s_1392508973) { - var F = {procname: "random.skipRandomNumbers", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/random.nim", line: 0}; - framePtr = F; - F.line = 216; - F.filename = "random.nim"; - var s0_1392508975 = 0; - F.line = 217; - var s1_1392508976 = 0; +function skipRandomNumbers_1644167212(s_1644167213) { + var s0_1644167215 = 0; + var s1_1644167216 = 0; Label1: { - F.line = 218; - var i_1392508985 = 0; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_1493178915 = 0; + var i_1644167225 = 0; + var res_1845500474 = 0; Label2: { - F.line = 97; Label3: while (true) { - if (!(res_1493178915 <= 1)) break Label3; - F.line = 218; - F.filename = "random.nim"; - i_1392508985 = res_1493178915; + if (!(res_1845500474 <= 1)) break Label3; + i_1644167225 = res_1845500474; Label4: { - F.line = 219; - var b_1392508990 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178913 = 0; + var b_1644167230 = 0; + var i_1845500472 = 0; Label5: { - F.line = 129; Label6: while (true) { - if (!(i_1493178913 < 64)) break Label6; - F.line = 219; - F.filename = "random.nim"; - b_1392508990 = i_1493178913; - if (!((((helper_1392508974[chckIndx(i_1392508985, 0, (helper_1392508974).length - 1)] & ((1 << b_1392508990) >>> 0)) >>> 0) == 0))) { - F.line = 221; - s0_1392508975 = ((s0_1392508975 ^ s_1392508973.a0) >>> 0); - F.line = 222; - s1_1392508976 = ((s1_1392508976 ^ s_1392508973.a1) >>> 0); + if (!(i_1845500472 < 64)) break Label6; + b_1644167230 = i_1845500472; + if (!((((helper_1644167214[chckIndx(i_1644167225, 0, (helper_1644167214).length - 1)] & ((1 << b_1644167230) >>> 0)) >>> 0) == 0))) { + s0_1644167215 = ((s0_1644167215 ^ s_1644167213.a0) >>> 0); + s1_1644167216 = ((s1_1644167216 ^ s_1644167213.a1) >>> 0); } - F.line = 223; - var _ = next_1392508963(s_1392508973); - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493178913 = addInt(i_1493178913, 1); + var _ = next_1644167203(s_1644167213); + i_1845500472 = addInt(i_1845500472, 1); } }; }; - F.line = 102; - res_1493178915 = addInt(res_1493178915, 1); + res_1845500474 = addInt(res_1845500474, 1); } }; }; - F.line = 224; - F.filename = "random.nim"; - s_1392508973.a0 = s0_1392508975; - F.line = 225; - s_1392508973.a1 = s1_1392508976; - framePtr = F.prev; + s_1644167213.a0 = s0_1644167215; + s_1644167213.a1 = s1_1644167216; } -function initRand_1392509177(seed_1392509178) { +function initRand_1644167417(seed_1644167418) { var Temporary1; - var result_1392509179 = [({a0: 0, a1: 0})]; + var result_1644167419 = [({a0: 0, a1: 0})]; - var F = {procname: "random.initRand", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/random.nim", line: 0}; - framePtr = F; - F.line = 598; - F.filename = "random.nim"; - if (!((seed_1392509178 == 0n))) { - Temporary1 = seed_1392509178; + if (!((seed_1644167418 == 0n))) { + Temporary1 = seed_1644167418; } else { Temporary1 = 2147483647n; } - var seed_1392509185 = Temporary1; - F.line = 599; - result_1392509179[0].a0 = Number((seed_1392509185 >> BigInt(16))); - F.line = 600; - result_1392509179[0].a1 = Number((seed_1392509185 & 65535n)); - F.line = 604; - skipRandomNumbers_1392508972(result_1392509179[0]); - F.line = 605; - var _ = next_1392508963(result_1392509179[0]); - framePtr = F.prev; + var seed_1644167425 = Temporary1; + result_1644167419[0].a0 = Number((seed_1644167425 >> BigInt(16))); + result_1644167419[0].a1 = Number((seed_1644167425 & 65535n)); + skipRandomNumbers_1644167212(result_1644167419[0]); + var _ = next_1644167203(result_1644167419[0]); - return result_1392509179[0]; + return result_1644167419[0]; } -function randomize_1392509190(seed_1392509191) { - var F = {procname: "random.randomize", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/random.nim", line: 0}; - framePtr = F; - F.line = 626; - F.filename = "random.nim"; - state_1392508942[0] = nimCopy(state_1392508942[0], initRand_1392509177(seed_1392509191), NTI1392508932); - framePtr = F.prev; +function randomize_1644167430(seed_1644167431) { + state_1644167182[0] = nimCopy(state_1644167182[0], initRand_1644167417(seed_1644167431), NTI1644167172); } -function getTakesOn_1224737271(p_1224737272, board_1224737273) { - var result_1224737274 = [[]]; +function getTakesOn_1476395511(p_1476395512, board_1476395513) { + var result_1476395514 = [[]]; - var F = {procname: "piece.getTakesOn", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; Label1: { - F.line = 208; - F.filename = "piece.nim"; - var x_1224737297 = null; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493178918 = 0; - F.line = 250; - var L_1493178919 = (p_1224737272.takes).length; + var x_1476395537 = null; + var i_1845500477 = 0; + var L_1845500478 = (p_1476395512.takes).length; Label2: { - F.line = 251; Label3: while (true) { - if (!(i_1493178918 < L_1493178919)) break Label3; - F.line = 208; - F.filename = "piece.nim"; - x_1224737297 = p_1224737272.takes[chckIndx(i_1493178918, 0, (p_1224737272.takes).length - 1)]; - F.line = 209; - add_1224737298(result_1224737274, 0, x_1224737297(board_1224737273, p_1224737272)); - F.line = 13; - F.filename = "iterators.nim"; - i_1493178918 += 1; - if (!(((p_1224737272.takes).length == L_1493178919))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + if (!(i_1845500477 < L_1845500478)) break Label3; + x_1476395537 = p_1476395512.takes[chckIndx(i_1845500477, 0, (p_1476395512.takes).length - 1)]; + add_1476395538(result_1476395514, 0, x_1476395537(board_1476395513, p_1476395512)); + i_1845500477 += 1; + if (!(((p_1476395512.takes).length == L_1845500478))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - framePtr = F.prev; - return result_1224737274[0]; + return result_1476395514[0]; } -function HEX3DHEX3D_1224737445(x_1224737447, y_1224737448) { - var result_1224737449 = false; +function HEX3DHEX3D_1476395685(x_1476395687, y_1476395688) { + var result_1476395689 = false; - var F = {procname: "==.==", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; BeforeRet: { - if (!((x_1224737447["Field0"] == y_1224737448["Field0"]))) { - F.line = 1714; - F.filename = "system.nim"; - result_1224737449 = false; + if (!((x_1476395687["Field0"] == y_1476395688["Field0"]))) { + result_1476395689 = false; break BeforeRet; } - if (!((x_1224737447["Field1"] == y_1224737448["Field1"]))) { - F.line = 1714; - result_1224737449 = false; + if (!((x_1476395687["Field1"] == y_1476395688["Field1"]))) { + result_1476395689 = false; break BeforeRet; } - F.line = 1715; - result_1224737449 = true; + result_1476395689 = true; break BeforeRet; }; - framePtr = F.prev; - return result_1224737449; + return result_1476395689; } -function find_1224737426(a_1224737429, item_1224737430) { - var result_1224737431 = 0; +function find_1476395666(a_1476395669, item_1476395670) { + var result_1476395671 = 0; - var F = {procname: "find.find", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 1671; - F.filename = "system.nim"; - result_1224737431 = 0; + result_1476395671 = 0; Label1: { - F.line = 1672; - var i_1224737444 = {Field0: 0, Field1: 0}; - F.line = 18; - F.filename = "iterators.nim"; - var i_1493178935 = 0; + var i_1476395684 = {Field0: 0, Field1: 0}; + var i_1845500494 = 0; Label2: { - F.line = 19; Label3: while (true) { - if (!(i_1493178935 < (a_1224737429).length)) break Label3; - F.line = 1672; - F.filename = "system.nim"; - i_1224737444 = a_1224737429[chckIndx(i_1493178935, 0, (a_1224737429).length - 1)]; - if (HEX3DHEX3D_1224737445(i_1224737444, item_1224737430)) { - F.line = 1673; + if (!(i_1845500494 < (a_1476395669).length)) break Label3; + i_1476395684 = a_1476395669[chckIndx(i_1845500494, 0, (a_1476395669).length - 1)]; + if (HEX3DHEX3D_1476395685(i_1476395684, item_1476395670)) { break BeforeRet; } - F.line = 1674; - result_1224737431 = addInt(result_1224737431, 1); - F.line = 13; - F.filename = "iterators.nim"; - i_1493178935 += 1; + result_1476395671 = addInt(result_1476395671, 1); + i_1845500494 += 1; } }; }; - F.line = 1675; - F.filename = "system.nim"; - result_1224737431 = (-1); + result_1476395671 = (-1); }; - framePtr = F.prev; - return result_1224737431; + return result_1476395671; } -function contains_1224737421(a_1224737423, item_1224737424) { - var result_1224737425 = false; +function contains_1476395661(a_1476395663, item_1476395664) { + var result_1476395665 = false; - var F = {procname: "contains.contains", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 1689; - F.filename = "system.nim"; - result_1224737425 = (0 <= find_1224737426(a_1224737423, item_1224737424)); + result_1476395665 = (0 <= find_1476395666(a_1476395663, item_1476395664)); break BeforeRet; }; - framePtr = F.prev; - return result_1224737425; + return result_1476395665; } -function addQuoted_838862213(s_838862215, s_838862215_Idx, x_838862216) { - var F = {procname: "addQuoted.addQuoted", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 2533; - F.filename = "system.nim"; - addInt_301990129(s_838862215, s_838862215_Idx, x_838862216); - framePtr = F.prev; +function addQuoted_889193861(s_889193863, s_889193863_Idx, x_889193864) { + addInt_301990129(s_889193863, s_889193863_Idx, x_889193864); } -function HEX24_1224737476(x_1224737478) { - var result_1224737479 = [[]]; +function HEX24_1476395716(x_1476395718) { + var result_1476395719 = [[]]; - var F = {procname: "$.$", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/dollars.nim", line: 0}; - framePtr = F; - F.line = 19; - F.filename = "miscdollars.nim"; - result_1224737479[0] = nimCopy(null, [40], NTI33554449); - F.line = 21; - var countHEX60gensym5_1224737490 = 0; - if ((0 < countHEX60gensym5_1224737490)) { - F.line = 23; - result_1224737479[0].push.apply(result_1224737479[0], [44,32]);; + result_1476395719[0] = nimCopy(null, [40], NTI33554449); + var countHEX60gensym5_1476395730 = 0; + if ((0 < countHEX60gensym5_1476395730)) { + result_1476395719[0].push.apply(result_1476395719[0], [44,32]);; } - F.line = 25; - result_1224737479[0].push.apply(result_1224737479[0], [102,105,108,101]);; - F.line = 26; - result_1224737479[0].push.apply(result_1224737479[0], [58,32]);; - F.line = 27; - countHEX60gensym5_1224737490 += 1; - F.line = 33; - addQuoted_838862213(result_1224737479, 0, x_1224737478["Field0"]); - if ((0 < countHEX60gensym5_1224737490)) { - F.line = 23; - result_1224737479[0].push.apply(result_1224737479[0], [44,32]);; + result_1476395719[0].push.apply(result_1476395719[0], [102,105,108,101]);; + result_1476395719[0].push.apply(result_1476395719[0], [58,32]);; + countHEX60gensym5_1476395730 += 1; + addQuoted_889193861(result_1476395719, 0, x_1476395718["Field0"]); + if ((0 < countHEX60gensym5_1476395730)) { + result_1476395719[0].push.apply(result_1476395719[0], [44,32]);; } - F.line = 25; - result_1224737479[0].push.apply(result_1224737479[0], [114,97,110,107]);; - F.line = 26; - result_1224737479[0].push.apply(result_1224737479[0], [58,32]);; - F.line = 27; - countHEX60gensym5_1224737490 += 1; - F.line = 33; - addQuoted_838862213(result_1224737479, 0, x_1224737478["Field1"]); - F.line = 39; - result_1224737479[0].push.apply(result_1224737479[0], [41]);; - framePtr = F.prev; + result_1476395719[0].push.apply(result_1476395719[0], [114,97,110,107]);; + result_1476395719[0].push.apply(result_1476395719[0], [58,32]);; + countHEX60gensym5_1476395730 += 1; + addQuoted_889193861(result_1476395719, 0, x_1476395718["Field1"]); + result_1476395719[0].push.apply(result_1476395719[0], [41]);; - return result_1224737479[0]; + return result_1476395719[0]; } -function getMovesOn_1224737386(p_1224737387, board_1224737388) { - var result_1224737389 = [[]]; +function getMovesOn_1476395626(p_1476395627, board_1476395628) { + var result_1476395629 = [[]]; - var F = {procname: "piece.getMovesOn", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; Label1: { - F.line = 218; - F.filename = "piece.nim"; - var x_1224737393 = null; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493178922 = 0; - F.line = 250; - var L_1493178923 = (p_1224737387.moves).length; + var x_1476395633 = null; + var i_1845500481 = 0; + var L_1845500482 = (p_1476395627.moves).length; Label2: { - F.line = 251; Label3: while (true) { - if (!(i_1493178922 < L_1493178923)) break Label3; - F.line = 218; - F.filename = "piece.nim"; - x_1224737393 = p_1224737387.moves[chckIndx(i_1493178922, 0, (p_1224737387.moves).length - 1)]; - F.line = 219; - add_1224737298(result_1224737389, 0, x_1224737393(board_1224737388, p_1224737387)); - F.line = 13; - F.filename = "iterators.nim"; - i_1493178922 += 1; - if (!(((p_1224737387.moves).length == L_1493178923))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + if (!(i_1845500481 < L_1845500482)) break Label3; + x_1476395633 = p_1476395627.moves[chckIndx(i_1845500481, 0, (p_1476395627.moves).length - 1)]; + add_1476395538(result_1476395629, 0, x_1476395633(board_1476395628, p_1476395627)); + i_1845500481 += 1; + if (!(((p_1476395627.moves).length == L_1845500482))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - F.line = 220; - F.filename = "piece.nim"; - var takes_1224737398 = getTakesOn_1224737271(p_1224737387, board_1224737388); + var takes_1476395638 = getTakesOn_1476395511(p_1476395627, board_1476395628); Label4: { - F.line = 221; - var x_1224737420 = {Field0: 0, Field1: 0}; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493178926 = 0; - F.line = 250; - var L_1493178927 = (takes_1224737398).length; + var x_1476395660 = {Field0: 0, Field1: 0}; + var i_1845500485 = 0; + var L_1845500486 = (takes_1476395638).length; Label5: { - F.line = 251; Label6: while (true) { - if (!(i_1493178926 < L_1493178927)) break Label6; - F.line = 221; - F.filename = "piece.nim"; - x_1224737420 = takes_1224737398[chckIndx(i_1493178926, 0, (takes_1224737398).length - 1)]; - if (contains_1224737421(result_1224737389[0], x_1224737420)) { - F.line = 222; - rawEcho(HEX24_1224737476(x_1224737420), [32,105,115,32,97,32,116,97,107,101,32,97,110,100,32,97,32,109,111,118,101]); + if (!(i_1845500485 < L_1845500486)) break Label6; + x_1476395660 = takes_1476395638[chckIndx(i_1845500485, 0, (takes_1476395638).length - 1)]; + if (contains_1476395661(result_1476395629[0], x_1476395660)) { + rawEcho(HEX24_1476395716(x_1476395660), [32,105,115,32,97,32,116,97,107,101,32,97,110,100,32,97,32,109,111,118,101]); } - F.line = 13; - F.filename = "iterators.nim"; - i_1493178926 += 1; - if (!(((takes_1224737398).length == L_1493178927))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_1845500485 += 1; + if (!(((takes_1476395638).length == L_1845500486))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - F.line = 223; - F.filename = "piece.nim"; - F.line = 652; - F.filename = "sequtils.nim"; - var resultHEX60gensym12_1224737527 = newSeq_1224737519(0); + var resultHEX60gensym12_1476395767 = newSeq_1476395759(0); Label7: { - F.line = 653; - var it_1224737531 = {Field0: 0, Field1: 0}; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493178930 = 0; - F.line = 250; - var L_1493178931 = (result_1224737389[0]).length; + var it_1476395771 = {Field0: 0, Field1: 0}; + var i_1845500489 = 0; + var L_1845500490 = (result_1476395629[0]).length; Label8: { - F.line = 251; Label9: while (true) { - if (!(i_1493178930 < L_1493178931)) break Label9; - F.line = 653; - F.filename = "sequtils.nim"; - it_1224737531 = result_1224737389[0][chckIndx(i_1493178930, 0, (result_1224737389[0]).length - 1)]; - if (!(contains_1224737421(takes_1224737398, it_1224737531))) { - F.line = 654; - var Temporary10 = nimCopy(null, it_1224737531, NTI1224736771); - resultHEX60gensym12_1224737527.push(Temporary10);; + if (!(i_1845500489 < L_1845500490)) break Label9; + it_1476395771 = result_1476395629[0][chckIndx(i_1845500489, 0, (result_1476395629[0]).length - 1)]; + if (!(contains_1476395661(takes_1476395638, it_1476395771))) { + var Temporary10 = nimCopy(null, it_1476395771, NTI1476395011); + resultHEX60gensym12_1476395767.push(Temporary10);; } - F.line = 13; - F.filename = "iterators.nim"; - i_1493178930 += 1; - if (!(((result_1224737389[0]).length == L_1493178931))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_1845500489 += 1; + if (!(((result_1476395629[0]).length == L_1845500490))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - result_1224737389[0] = nimCopy(null, resultHEX60gensym12_1224737527, NTI1224737341); - framePtr = F.prev; + result_1476395629[0] = nimCopy(null, resultHEX60gensym12_1476395767, NTI1476395581); - return result_1224737389[0]; + return result_1476395629[0]; } -function rand_1392509039(r_1392509041, max_1392509042) { - var result_1392509043 = 0n; +function rand_1644167279(r_1644167281, max_1644167282) { + var result_1644167283 = 0n; - var F = {procname: "rand.rand", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/random.nim", line: 0}; - framePtr = F; BeforeRet: { - if ((max_1392509042 == 0n)) { - F.line = 229; - F.filename = "random.nim"; + if ((max_1644167282 == 0n)) { break BeforeRet; } else { - F.line = 231; - var max_1392509044 = max_1392509042; - if ((max_1392509044 == 18446744073709551615n)) { - F.line = 233; - result_1392509043 = next_1392508963(r_1392509041); + var max_1644167284 = max_1644167282; + if ((max_1644167284 == 18446744073709551615n)) { + result_1644167283 = next_1644167203(r_1644167281); break BeforeRet; } - F.line = 234; - var iters_1392509057 = 0; + var iters_1644167297 = 0; Label1: { - F.line = 235; Label2: while (true) { if (!true) break Label2; - F.line = 236; - var x_1392509058 = next_1392508963(r_1392509041); - if (((x_1392509058 <= BigInt.asUintN(64, (4294967295n - (4294967295n % max_1392509044)))) || (20 < iters_1392509057))) { - F.line = 239; - result_1392509043 = (x_1392509058 % BigInt.asUintN(64, (max_1392509044 + 1n))); + var x_1644167298 = next_1644167203(r_1644167281); + if (((x_1644167298 <= BigInt.asUintN(64, (4294967295n - (4294967295n % max_1644167284)))) || (20 < iters_1644167297))) { + result_1644167283 = (x_1644167298 % BigInt.asUintN(64, (max_1644167284 + 1n))); break BeforeRet; } else { - F.line = 241; - iters_1392509057 = addInt(iters_1392509057, 1); + iters_1644167297 = addInt(iters_1644167297, 1); } } @@ -6614,315 +4676,195 @@ function rand_1392509039(r_1392509041, max_1392509042) { } }; - framePtr = F.prev; - return result_1392509043; + return result_1644167283; } -function rand_1325400138(r_1325400140, x_1325400141) { - var result_1325400142 = 0; +function rand_1577058378(r_1577058380, x_1577058381) { + var result_1577058382 = 0; - var F = {procname: "rand.rand", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/random.nim", line: 0}; - framePtr = F; - if (!((x_1325400141.a <= x_1325400141.b))) { - F.line = 339; - F.filename = "random.nim"; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/random.nim(339, 3) `x.a <= x.b` ")); + if (!((x_1577058381.a <= x_1577058381.b))) { + failedAssertImpl_268435541([114,97,110,100,111,109,46,110,105,109,40,51,51,57,44,32,51,41,32,96,120,46,97,32,60,61,32,120,46,98,96,32]); } - F.line = 346; - result_1325400142 = Number(BigInt.asIntN(32, BigInt.asUintN(64, (rand_1392509039(r_1325400140, BigInt.asUintN(64, (BigInt.asUintN(64, BigInt(x_1325400141.b)) - BigInt.asUintN(64, BigInt(x_1325400141.a))))) + BigInt.asUintN(64, BigInt(x_1325400141.a)))))); - framePtr = F.prev; + result_1577058382 = Number(BigInt.asIntN(32, BigInt.asUintN(64, (rand_1644167279(r_1577058380, BigInt.asUintN(64, (BigInt.asUintN(64, BigInt(x_1577058381.b)) - BigInt.asUintN(64, BigInt(x_1577058381.a))))) + BigInt.asUintN(64, BigInt(x_1577058381.a)))))); - return result_1325400142; + return result_1577058382; } -function rand_1325400130(x_1325400132) { - var result_1325400133 = 0; +function rand_1577058370(x_1577058372) { + var result_1577058373 = 0; - var F = {procname: "rand.rand", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/random.nim", line: 0}; - framePtr = F; - F.line = 368; - F.filename = "random.nim"; - result_1325400133 = rand_1325400138(state_1392508942[0], x_1325400132); - framePtr = F.prev; + result_1577058373 = rand_1577058378(state_1644167182[0], x_1577058372); - return result_1325400133; + return result_1577058373; } -function HEX2EHEX2E_1056964656(a_1056964659, b_1056964660) { - var result_1056964661 = ({a: 0, b: 0}); +function HEX2EHEX2E_1174405168(a_1174405171, b_1174405172) { + var result_1174405173 = ({a: 0, b: 0}); - var F = {procname: ".....", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 418; - F.filename = "system.nim"; - result_1056964661 = nimCopy(result_1056964661, {a: a_1056964659, b: b_1056964660}, NTI889192517); - framePtr = F.prev; + result_1174405173 = nimCopy(result_1174405173, {a: a_1174405171, b: b_1174405172}, NTI939524165); - return result_1056964661; + return result_1174405173; } -function sample_1493173919(a_1493173921) { - var result_1493173922 = {Field0: 0, Field1: 0}; +function sample_1845495455(a_1845495457) { + var result_1845495458 = {Field0: 0, Field1: 0}; - var F = {procname: "sample.sample", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/random.nim", line: 0}; - framePtr = F; - F.line = 488; - F.filename = "random.nim"; - result_1493173922 = a_1493173921[chckIndx(rand_1325400130(HEX2EHEX2E_1056964656(0, (a_1493173921).length - 1)), 0, (a_1493173921).length - 1)]; - framePtr = F.prev; + result_1845495458 = a_1845495457[chckIndx(rand_1577058370(HEX2EHEX2E_1174405168(0, (a_1845495457).length - 1)), 0, (a_1845495457).length - 1)]; - return result_1493173922; + return result_1845495458; } -function HEX3Aanonymous_1493173893(piece_1493173894, board_1493173895, state_1493173896) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; +function HEX3Aanonymous_1845495429(piece_1845495430, board_1845495431, state_1845495432) { BeforeRet: { - if (!(piece_1493173894.drunk)) { - F.line = 1123; - F.filename = "powers.nim"; - piece_1493173894.drunk = true; - F.line = 1128; - randomize_1392509190(BigInt(addInt(addInt(mulInt(10, piece_1493173894.tile.Field1), mulInt(100, piece_1493173894.tile.Field0)), state_1493173896.Field0.randSeed))); - F.line = 1129; - var takes_1493173897 = getTakesOn_1224737271(piece_1493173894, board_1493173895); - F.line = 1130; - var moves_1493173898 = getMovesOn_1224737386(piece_1493173894, board_1493173895); - if (((moves_1493173898).length == 0)) { - F.line = 1131; + if (!(piece_1845495430.drunk)) { + piece_1845495430.drunk = true; + randomize_1644167430(BigInt(addInt(addInt(mulInt(10, piece_1845495430.tile.Field1), mulInt(100, piece_1845495430.tile.Field0)), state_1845495432.Field0.randSeed))); + var takes_1845495433 = getTakesOn_1476395511(piece_1845495430, board_1845495431); + var moves_1845495434 = getMovesOn_1476395626(piece_1845495430, board_1845495431); + if (((moves_1845495434).length == 0)) { break BeforeRet; } - F.line = 1134; - F.line = 652; - F.filename = "sequtils.nim"; - var resultHEX60gensym68_1493173906 = newSeq_1224737519(0); + var resultHEX60gensym68_1845495442 = newSeq_1476395759(0); Label1: { - F.line = 653; - var it_1493173910 = {Field0: 0, Field1: 0}; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493178908 = 0; - F.line = 250; - var L_1493178909 = (moves_1493173898).length; + var it_1845495446 = {Field0: 0, Field1: 0}; + var i_1845500467 = 0; + var L_1845500468 = (moves_1845495434).length; Label2: { - F.line = 251; Label3: while (true) { - if (!(i_1493178908 < L_1493178909)) break Label3; - F.line = 653; - F.filename = "sequtils.nim"; - it_1493173910 = moves_1493173898[chckIndx(i_1493178908, 0, (moves_1493173898).length - 1)]; - if (!(contains_1224737421(takes_1493173897, it_1493173910))) { - F.line = 654; - var Temporary4 = nimCopy(null, it_1493173910, NTI1224736771); - resultHEX60gensym68_1493173906.push(Temporary4);; + if (!(i_1845500467 < L_1845500468)) break Label3; + it_1845495446 = moves_1845495434[chckIndx(i_1845500467, 0, (moves_1845495434).length - 1)]; + if (!(contains_1476395661(takes_1845495433, it_1845495446))) { + var Temporary4 = nimCopy(null, it_1845495446, NTI1476395011); + resultHEX60gensym68_1845495442.push(Temporary4);; } - F.line = 13; - F.filename = "iterators.nim"; - i_1493178908 += 1; - if (!(((moves_1493173898).length == L_1493178909))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_1845500467 += 1; + if (!(((moves_1845495434).length == L_1845500468))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - var attempt_1493173941 = nimCopy(null, sample_1493173919(resultHEX60gensym68_1493173906), NTI1224736771); - if (contains_1224737421(moves_1493173898, attempt_1493173941)) { - F.line = 1138; - F.filename = "powers.nim"; - piece_1493173894.onMove(piece_1493173894, attempt_1493173941, board_1493173895, state_1493173896); + var attempt_1845495477 = nimCopy(null, sample_1845495455(resultHEX60gensym68_1845495442), NTI1476395011); + if (contains_1476395661(moves_1845495434, attempt_1845495477)) { + piece_1845495430.onMove(piece_1845495430, attempt_1845495477, board_1845495431, state_1845495432); } } }; - framePtr = F.prev; } -function HEX3Aanonymous_1493174013(side_1493174014, __1493174015, b_1493174016, s_1493174017) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1171; - F.filename = "powers.nim"; - buff_1493172242(5, side_1493174014, b_1493174016, s_1493174017, [], [], [HEX3Aanonymous_1493173893], true, [], null, null, null, false); - framePtr = F.prev; +function HEX3Aanonymous_1845495549(side_1845495550, __1845495551, b_1845495552, s_1845495553) { + buff_1845493778(5, side_1845495550, b_1845495552, s_1845495553, [], [], [HEX3Aanonymous_1845495429], true, [], null, null, null, false); } -function HEX3Aanonymous_1493174023(side_1493174024, __1493174025, b_1493174026, s_1493174027) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1187; - F.filename = "powers.nim"; - buff_1493172242(6, side_1493174024, b_1493174026, s_1493174027, [], [], [HEX3Aanonymous_1493173893], true, [], null, null, null, true); - framePtr = F.prev; +function HEX3Aanonymous_1845495559(side_1845495560, __1845495561, b_1845495562, s_1845495563) { + buff_1845493778(6, side_1845495560, b_1845495562, s_1845495563, [], [], [HEX3Aanonymous_1845495429], true, [], null, null, null, true); } -function addOnEndTurnTransform_1493172461(piece_1493172462, side_1493172463, board_1493172464, state_1493172465, create_1493172467, all_1493172468) { +function addOnEndTurnTransform_1845493997(piece_1845493998, side_1845493999, board_1845494000, state_1845494001, create_1845494003, all_1845494004) { -function HEX3Aanonymous_1493172479(p_1493172480, b_1493172481, s_1493172482) { - var F = {procname: "addOnEndTurnTransform.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 124; - F.filename = "powers.nim"; - p_1493172480.onEndTurn.push(create_1493172467());; - framePtr = F.prev; +function HEX3Aanonymous_1845494015(p_1845494016, b_1845494017, s_1845494018) { + p_1845494016.onEndTurn.push(create_1845494003());; } - var F = {procname: "powers.addOnEndTurnTransform", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; Label1: { - F.line = 119; - F.filename = "powers.nim"; - var i_1493172469 = 0; - F.line = 119; - var j_1493172470 = 0; + var i_1845494005 = 0; + var j_1845494006 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493178940 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178941 = 0; + var i_1845500499 = 0; + var i_1845500500 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493178941 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493178940 = i_1493178941; + if (!(i_1845500500 < 8)) break Label4; + i_1845500499 = i_1845500500; Label5: { - F.line = 125; - var j_1493178944 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178945 = 0; + var j_1845500503 = 0; + var i_1845500504 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493178945 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493178944 = i_1493178945; - F.line = 119; - F.filename = "powers.nim"; - i_1493172469 = i_1493178940; - F.line = 119; - j_1493172470 = j_1493178944; - if ((((board_1493172464[chckIndx(i_1493172469, 0, (board_1493172464).length - 1)][chckIndx(j_1493172470, 0, (board_1493172464[chckIndx(i_1493172469, 0, (board_1493172464).length - 1)]).length - 1)].item == piece_1493172462) || all_1493172468) && isColor_1224737813(board_1493172464[chckIndx(i_1493172469, 0, (board_1493172464).length - 1)][chckIndx(j_1493172470, 0, (board_1493172464[chckIndx(i_1493172469, 0, (board_1493172464).length - 1)]).length - 1)], side_1493172463))) { - F.line = 121; - board_1493172464[chckIndx(i_1493172469, 0, (board_1493172464).length - 1)][chckIndx(j_1493172470, 0, (board_1493172464[chckIndx(i_1493172469, 0, (board_1493172464).length - 1)]).length - 1)].onEndTurn.push(create_1493172467());; + if (!(i_1845500504 < 8)) break Label7; + j_1845500503 = i_1845500504; + i_1845494005 = i_1845500499; + j_1845494006 = j_1845500503; + if ((((board_1845494000[chckIndx(i_1845494005, 0, (board_1845494000).length - 1)][chckIndx(j_1845494006, 0, (board_1845494000[chckIndx(i_1845494005, 0, (board_1845494000).length - 1)]).length - 1)].item == piece_1845493998) || all_1845494004) && isColor_1476396053(board_1845494000[chckIndx(i_1845494005, 0, (board_1845494000).length - 1)][chckIndx(j_1845494006, 0, (board_1845494000[chckIndx(i_1845494005, 0, (board_1845494000).length - 1)]).length - 1)], side_1845493999))) { + board_1845494000[chckIndx(i_1845494005, 0, (board_1845494000).length - 1)][chckIndx(j_1845494006, 0, (board_1845494000[chckIndx(i_1845494005, 0, (board_1845494000).length - 1)]).length - 1)].onEndTurn.push(create_1845494003());; } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493178945 = addInt(i_1493178945, 1); + i_1845500504 = addInt(i_1845500504, 1); } }; }; - F.line = 131; - i_1493178941 = addInt(i_1493178941, 1); + i_1845500500 = addInt(i_1845500500, 1); } }; }; }; - F.line = 123; - F.filename = "powers.nim"; - var transform_1493172487 = HEX3Aanonymous_1493172479; - F.line = 126; - state_1493172465.Field1[chckIndx(side_1493172463, 0, (state_1493172465.Field1).length - 1)].transforms[chckIndx(piece_1493172462, 0, (state_1493172465.Field1[chckIndx(side_1493172463, 0, (state_1493172465.Field1).length - 1)].transforms).length - 1)].push(transform_1493172487);; - framePtr = F.prev; + var transform_1845494023 = HEX3Aanonymous_1845494015; + state_1845494001.Field1[chckIndx(side_1845493999, 0, (state_1845494001.Field1).length - 1)].transforms[chckIndx(piece_1845493998, 0, (state_1845494001.Field1[chckIndx(side_1845493999, 0, (state_1845494001.Field1).length - 1)].transforms).length - 1)].push(transform_1845494023);; } -function rand_1392509035(r_1392509036, max_1392509037) { - var result_1392509038 = 0; +function rand_1644167275(r_1644167276, max_1644167277) { + var result_1644167278 = 0; - var F = {procname: "random.rand", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/random.nim", line: 0}; - framePtr = F; - F.line = 244; - F.filename = "random.nim"; - result_1392509038 = Number(BigInt.asIntN(32, rand_1392509039(r_1392509036, BigInt.asUintN(64, BigInt(max_1392509037))))); - framePtr = F.prev; + result_1644167278 = Number(BigInt.asIntN(32, rand_1644167279(r_1644167276, BigInt.asUintN(64, BigInt(max_1644167277))))); - return result_1392509038; + return result_1644167278; } -function rand_1392509064(max_1392509065) { - var result_1392509066 = 0; +function rand_1644167304(max_1644167305) { + var result_1644167306 = 0; - var F = {procname: "random.rand", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/random.nim", line: 0}; - framePtr = F; - F.line = 261; - F.filename = "random.nim"; - result_1392509066 = rand_1392509035(state_1392508942[0], chckRange(max_1392509065, 0, 2147483647)); - framePtr = F.prev; + result_1644167306 = rand_1644167275(state_1644167182[0], chckRange(max_1644167305, 0, 2147483647)); - return result_1392509066; + return result_1644167306; } -function createLottery_1493174351() { +function createLottery_1845495887() { -function HEX3Aanonymous_1493174354(piece_1493174355, board_1493174356, state_1493174357) { - var F = {procname: "createLottery.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - if (!((piece_1493174355.timesMoved == lastTimesMoved_1493174353))) { - F.line = 1403; - F.filename = "powers.nim"; - randomize_1392509190(BigInt(addInt(addInt(mulInt(10, piece_1493174355.tile.Field1), mulInt(100, piece_1493174355.tile.Field0)), state_1493174357.Field0.randSeed))); - F.line = 1404; - var ticket_1493174358 = rand_1392509064(100); - if ((ticket_1493174358 == 42)) { +function HEX3Aanonymous_1845495890(piece_1845495891, board_1845495892, state_1845495893) { + if (!((piece_1845495891.timesMoved == lastTimesMoved_1845495889))) { + randomize_1644167430(BigInt(addInt(addInt(mulInt(10, piece_1845495891.tile.Field1), mulInt(100, piece_1845495891.tile.Field0)), state_1845495893.Field0.randSeed))); + var ticket_1845495894 = rand_1644167304(100); + if ((ticket_1845495894 == 42)) { Label1: { - F.line = 181; - F.filename = "piece.nim"; - var xHEX60gensym86_1493174363 = null; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493178948 = 0; - F.line = 250; - var L_1493178949 = (piece_1493174355.onPromote).length; + var xHEX60gensym86_1845495899 = null; + var i_1845500507 = 0; + var L_1845500508 = (piece_1845495891.onPromote).length; Label2: { - F.line = 251; Label3: while (true) { - if (!(i_1493178948 < L_1493178949)) break Label3; - F.line = 1406; - F.filename = "powers.nim"; - xHEX60gensym86_1493174363 = piece_1493174355.onPromote[chckIndx(i_1493178948, 0, (piece_1493174355.onPromote).length - 1)]; - F.line = 182; - F.filename = "piece.nim"; - xHEX60gensym86_1493174363(piece_1493174355, board_1493174356, state_1493174357); - if (piece_1493174355.promoted) { - F.line = 183; + if (!(i_1845500507 < L_1845500508)) break Label3; + xHEX60gensym86_1845495899 = piece_1845495891.onPromote[chckIndx(i_1845500507, 0, (piece_1845495891.onPromote).length - 1)]; + xHEX60gensym86_1845495899(piece_1845495891, board_1845495892, state_1845495893); + if (piece_1845495891.promoted) { break Label1; } - F.line = 13; - F.filename = "iterators.nim"; - i_1493178948 += 1; - if (!(((piece_1493174355.onPromote).length == L_1493178949))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_1845500507 += 1; + if (!(((piece_1845495891.onPromote).length == L_1845500508))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } @@ -6932,977 +4874,634 @@ function HEX3Aanonymous_1493174354(piece_1493174355, board_1493174356, state_149 } - F.line = 1407; - F.filename = "powers.nim"; - lastTimesMoved_1493174353 = piece_1493174355.timesMoved; - framePtr = F.prev; + lastTimesMoved_1845495889 = piece_1845495891.timesMoved; } - var result_1493174352 = null; + var result_1845495888 = null; - var F = {procname: "powers.createLottery", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1395; - F.filename = "powers.nim"; - var lastTimesMoved_1493174353 = 0; - F.line = 1401; - result_1493174352 = HEX3Aanonymous_1493174354; - framePtr = F.prev; + var lastTimesMoved_1845495889 = 0; + result_1845495888 = HEX3Aanonymous_1845495890; - return result_1493174352; + return result_1845495888; } -function HEX3Aanonymous_1493174366(side_1493174367, __1493174368, b_1493174369, s_1493174370) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1419; - F.filename = "powers.nim"; - addOnEndTurnTransform_1493172461(3, side_1493174367, b_1493174369, s_1493174370, createLottery_1493174351, false); - framePtr = F.prev; +function HEX3Aanonymous_1845495902(side_1845495903, __1845495904, b_1845495905, s_1845495906) { + addOnEndTurnTransform_1845493997(3, side_1845495903, b_1845495905, s_1845495906, createLottery_1845495887, false); } -function otherSide_1224737821(a_1224737822) { +function otherSide_1476396061(a_1476396062) { var Temporary1; - var result_1224737823 = 0; + var result_1476396063 = 0; - var F = {procname: "piece.otherSide", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 311; - F.filename = "piece.nim"; - if ((a_1224737822 == 1)) { + if ((a_1476396062 == 1)) { Temporary1 = 0; } else { Temporary1 = 1; } - result_1224737823 = Temporary1; + result_1476396063 = Temporary1; break BeforeRet; }; - framePtr = F.prev; - return result_1224737823; + return result_1476396063; } -function HEX3Aanonymous_1493174403(piece_1493174404, board_1493174405, state_1493174406) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1424; - F.filename = "powers.nim"; - randomize_1392509190(BigInt(addInt(addInt(mulInt(10, piece_1493174404.tile.Field1), mulInt(100, piece_1493174404.tile.Field0)), state_1493174406.Field0.randSeed))); - F.line = 1425; - var ticket_1493174407 = rand_1392509064(1000); - if ((ticket_1493174407 == 42)) { +function HEX3Aanonymous_1845495939(piece_1845495940, board_1845495941, state_1845495942) { + randomize_1644167430(BigInt(addInt(addInt(mulInt(10, piece_1845495940.tile.Field1), mulInt(100, piece_1845495940.tile.Field0)), state_1845495942.Field0.randSeed))); + var ticket_1845495943 = rand_1644167304(1000); + if ((ticket_1845495943 == 42)) { Label1: { - F.line = 1427; - var i_1493174408 = 0; - F.line = 1427; - var j_1493174409 = 0; + var i_1845495944 = 0; + var j_1845495945 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493178953 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178954 = 0; + var i_1845500512 = 0; + var i_1845500513 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493178954 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493178953 = i_1493178954; + if (!(i_1845500513 < 8)) break Label4; + i_1845500512 = i_1845500513; Label5: { - F.line = 125; - var j_1493178957 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178958 = 0; + var j_1845500516 = 0; + var i_1845500517 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493178958 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493178957 = i_1493178958; - F.line = 1427; - F.filename = "powers.nim"; - i_1493174408 = i_1493178953; - F.line = 1427; - j_1493174409 = j_1493178957; - if (((board_1493174405[chckIndx(i_1493174408, 0, (board_1493174405).length - 1)][chckIndx(j_1493174409, 0, (board_1493174405[chckIndx(i_1493174408, 0, (board_1493174405).length - 1)]).length - 1)].item == 0) && isColor_1224737813(board_1493174405[chckIndx(i_1493174408, 0, (board_1493174405).length - 1)][chckIndx(j_1493174409, 0, (board_1493174405[chckIndx(i_1493174408, 0, (board_1493174405).length - 1)]).length - 1)], otherSide_1224737821(piece_1493174404.color)))) { - F.line = 1430; - board_1493174405[chckIndx(i_1493174408, 0, (board_1493174405).length - 1)][chckIndx(j_1493174409, 0, (board_1493174405[chckIndx(i_1493174408, 0, (board_1493174405).length - 1)]).length - 1)].item = 6; + if (!(i_1845500517 < 8)) break Label7; + j_1845500516 = i_1845500517; + i_1845495944 = i_1845500512; + j_1845495945 = j_1845500516; + if (((board_1845495941[chckIndx(i_1845495944, 0, (board_1845495941).length - 1)][chckIndx(j_1845495945, 0, (board_1845495941[chckIndx(i_1845495944, 0, (board_1845495941).length - 1)]).length - 1)].item == 0) && isColor_1476396053(board_1845495941[chckIndx(i_1845495944, 0, (board_1845495941).length - 1)][chckIndx(j_1845495945, 0, (board_1845495941[chckIndx(i_1845495944, 0, (board_1845495941).length - 1)]).length - 1)], otherSide_1476396061(piece_1845495940.color)))) { + board_1845495941[chckIndx(i_1845495944, 0, (board_1845495941).length - 1)][chckIndx(j_1845495945, 0, (board_1845495941[chckIndx(i_1845495944, 0, (board_1845495941).length - 1)]).length - 1)].item = 6; } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493178958 = addInt(i_1493178958, 1); + i_1845500517 = addInt(i_1845500517, 1); } }; }; - F.line = 131; - i_1493178954 = addInt(i_1493178954, 1); + i_1845500513 = addInt(i_1845500513, 1); } }; }; }; } - framePtr = F.prev; } -function HEX3Aanonymous_1493174415(side_1493174416, __1493174417, b_1493174418, s_1493174419) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1440; - F.filename = "powers.nim"; - buff_1493172242(0, side_1493174416, b_1493174418, s_1493174419, [], [], [HEX3Aanonymous_1493174403], false, [], null, null, null, false); - framePtr = F.prev; +function HEX3Aanonymous_1845495951(side_1845495952, __1845495953, b_1845495954, s_1845495955) { + buff_1845493778(0, side_1845495952, b_1845495954, s_1845495955, [], [], [HEX3Aanonymous_1845495939], false, [], null, null, null, false); } -function HEX3Aanonymous_1493174425(piece_1493174426, taking_1493174427, board_1493174428, state_1493174429) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1446; - F.filename = "powers.nim"; - randomize_1392509190(BigInt(addInt(addInt(mulInt(10, piece_1493174426.tile.Field1), mulInt(100, piece_1493174426.tile.Field0)), state_1493174429.Field0.randSeed))); - F.line = 1447; - var dice_1493174430 = rand_1392509064(20); - F.line = 1449; - piece_1493174426.timesMoved = addInt(piece_1493174426.timesMoved, 1); - if (((dice_1493174430 <= 3) && !((HEX5BHEX5D_1224737124(board_1493174428, taking_1493174427).item == 0)))) { - F.line = 1451; - HEX5BHEX5D_1224737124(board_1493174428, taking_1493174427).color = piece_1493174426.color; - F.line = 1452; - HEX5BHEX5D_1224737124(board_1493174428, taking_1493174427).index = newIndex_1224737255(state_1493174429); - F.line = 1453; - pieceSwap_1224737595(piece_1493174426, HEX5BHEX5D_1224737124(board_1493174428, taking_1493174427), board_1493174428); - } - else { - F.line = 1455; - var takeResult_1493174440 = board_1493174428[chckIndx(taking_1493174427.Field1, 0, (board_1493174428).length - 1)][chckIndx(taking_1493174427.Field0, 0, (board_1493174428[chckIndx(taking_1493174427.Field1, 0, (board_1493174428).length - 1)]).length - 1)].whenTaken(board_1493174428[chckIndx(taking_1493174427.Field1, 0, (board_1493174428).length - 1)][chckIndx(taking_1493174427.Field0, 0, (board_1493174428[chckIndx(taking_1493174427.Field1, 0, (board_1493174428).length - 1)]).length - 1)], piece_1493174426, board_1493174428, state_1493174429); - if (takeResult_1493174440.Field1) { - F.line = 1457; - HEX5BHEX5D_1224737124(board_1493174428, takeResult_1493174440.Field0).piecesTaken = addInt(HEX5BHEX5D_1224737124(board_1493174428, takeResult_1493174440.Field0).piecesTaken, 1); - } +function createConvertingTake_1845495961(odds_1845495962) { + +function HEX3Aanonymous_1845495969(piece_1845495970, taking_1845495971, board_1845495972, state_1845495973) { + randomize_1644167430(BigInt(addInt(addInt(mulInt(10, piece_1845495970.tile.Field1), mulInt(100, piece_1845495970.tile.Field0)), state_1845495973.Field0.randSeed))); + var dice_1845495974 = rand_1644167304(100); + piece_1845495970.timesMoved = addInt(piece_1845495970.timesMoved, 1); + if (((dice_1845495974 <= (((odds_1845495962 * 100.0)) | 0)) && !((HEX5BHEX5D_1476395364(board_1845495972, taking_1845495971).item == 0)))) { + HEX5BHEX5D_1476395364(board_1845495972, taking_1845495971).color = piece_1845495970.color; + HEX5BHEX5D_1476395364(board_1845495972, taking_1845495971).index = newIndex_1476395495(state_1845495973); + pieceSwap_1476395835(piece_1845495970, HEX5BHEX5D_1476395364(board_1845495972, taking_1845495971), board_1845495972); + } + else { + var takeResult_1845495984 = board_1845495972[chckIndx(taking_1845495971.Field1, 0, (board_1845495972).length - 1)][chckIndx(taking_1845495971.Field0, 0, (board_1845495972[chckIndx(taking_1845495971.Field1, 0, (board_1845495972).length - 1)]).length - 1)].whenTaken(board_1845495972[chckIndx(taking_1845495971.Field1, 0, (board_1845495972).length - 1)][chckIndx(taking_1845495971.Field0, 0, (board_1845495972[chckIndx(taking_1845495971.Field1, 0, (board_1845495972).length - 1)]).length - 1)], piece_1845495970, board_1845495972, state_1845495973); + if (takeResult_1845495984.Field1) { + HEX5BHEX5D_1476395364(board_1845495972, takeResult_1845495984.Field0).piecesTaken = addInt(HEX5BHEX5D_1476395364(board_1845495972, takeResult_1845495984.Field0).piecesTaken, 1); + } + + } + + } + + var result_1845495963 = null; + + if (!((odds_1845495962 <= 1.0))) { + failedAssertImpl_268435541([112,111,119,101,114,115,46,110,105,109,40,49,52,52,54,44,32,53,41,32,96,111,100,100,115,32,60,61,32,49,96,32]); + } - framePtr = F.prev; + result_1845495963 = HEX3Aanonymous_1845495969; + + return result_1845495963; - } -function HEX3Aanonymous_1493174448(side_1493174449, __1493174450, b_1493174451, s_1493174452) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1468; - F.filename = "powers.nim"; - buff_1493172242(2, side_1493174449, b_1493174451, s_1493174452, [], [], [], false, [], null, HEX3Aanonymous_1493174425, null, false); - framePtr = F.prev; +function HEX3Aanonymous_1845495991(side_1845495992, __1845495993, b_1845495994, s_1845495995) { + buff_1845493778(2, side_1845495992, b_1845495994, s_1845495995, [], [], [], false, [], null, createConvertingTake_1845495961(0.15), null, false); } -function HEX3Aanonymous_1493174496(piece_1493174497, board_1493174498, state_1493174499) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; +function HEX3Aanonymous_1845496016(piece_1845496017, board_1845496018, state_1845496019) { Label1: { - F.line = 1511; - F.filename = "powers.nim"; - var i_1493174500 = 0; - F.line = 1511; - var j_1493174501 = 0; + var i_1845496020 = 0; + var j_1845496021 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493178962 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178963 = 0; + var i_1845500521 = 0; + var i_1845500522 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493178963 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493178962 = i_1493178963; + if (!(i_1845500522 < 8)) break Label4; + i_1845500521 = i_1845500522; Label5: { - F.line = 125; - var j_1493178966 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178967 = 0; + var j_1845500525 = 0; + var i_1845500526 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493178967 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493178966 = i_1493178967; - F.line = 1511; - F.filename = "powers.nim"; - i_1493174500 = i_1493178962; - F.line = 1511; - j_1493174501 = j_1493178966; - if (board_1493174498[chckIndx(i_1493174500, 0, (board_1493174498).length - 1)][chckIndx(j_1493174501, 0, (board_1493174498[chckIndx(i_1493174500, 0, (board_1493174498).length - 1)]).length - 1)].promoted) { - F.line = 1513; - board_1493174498[chckIndx(i_1493174500, 0, (board_1493174498).length - 1)][chckIndx(j_1493174501, 0, (board_1493174498[chckIndx(i_1493174500, 0, (board_1493174498).length - 1)]).length - 1)] = nimCopy(board_1493174498[chckIndx(i_1493174500, 0, (board_1493174498).length - 1)][chckIndx(j_1493174501, 0, (board_1493174498[chckIndx(i_1493174500, 0, (board_1493174498).length - 1)]).length - 1)], pieceCopy_1224737660(air_1275068591, newIndex_1224737255(state_1493174499), 6, 1, 0, 0, board_1493174498[chckIndx(i_1493174500, 0, (board_1493174498).length - 1)][chckIndx(j_1493174501, 0, (board_1493174498[chckIndx(i_1493174500, 0, (board_1493174498).length - 1)]).length - 1)].tile, [], [], air_1275068591.onMove, air_1275068591.onTake, air_1275068591.whenTaken, [], [], false, [], true, false, false), NTI1224736794); + if (!(i_1845500526 < 8)) break Label7; + j_1845500525 = i_1845500526; + i_1845496020 = i_1845500521; + j_1845496021 = j_1845500525; + if (board_1845496018[chckIndx(i_1845496020, 0, (board_1845496018).length - 1)][chckIndx(j_1845496021, 0, (board_1845496018[chckIndx(i_1845496020, 0, (board_1845496018).length - 1)]).length - 1)].promoted) { + board_1845496018[chckIndx(i_1845496020, 0, (board_1845496018).length - 1)][chckIndx(j_1845496021, 0, (board_1845496018[chckIndx(i_1845496020, 0, (board_1845496018).length - 1)]).length - 1)] = nimCopy(board_1845496018[chckIndx(i_1845496020, 0, (board_1845496018).length - 1)][chckIndx(j_1845496021, 0, (board_1845496018[chckIndx(i_1845496020, 0, (board_1845496018).length - 1)]).length - 1)], pieceCopy_1476395900(air_1526726831, newIndex_1476395495(state_1845496019), 6, 1, 0, 0, board_1845496018[chckIndx(i_1845496020, 0, (board_1845496018).length - 1)][chckIndx(j_1845496021, 0, (board_1845496018[chckIndx(i_1845496020, 0, (board_1845496018).length - 1)]).length - 1)].tile, [], [], air_1526726831.onMove, air_1526726831.onTake, air_1526726831.whenTaken, [], [], false, [], true, false, false), NTI1476395034); } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493178967 = addInt(i_1493178967, 1); + i_1845500526 = addInt(i_1845500526, 1); } }; }; - F.line = 131; - i_1493178963 = addInt(i_1493178963, 1); + i_1845500522 = addInt(i_1845500522, 1); } }; }; }; - framePtr = F.prev; } -function HEX3Aanonymous_1493174503(side_1493174504, __1493174505, b_1493174506, s_1493174507) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1524; - F.filename = "powers.nim"; - buff_1493172242(0, side_1493174504, b_1493174506, s_1493174507, [], [], [HEX3Aanonymous_1493174496], false, [], null, null, null, false); - framePtr = F.prev; +function HEX3Aanonymous_1845496023(side_1845496024, __1845496025, b_1845496026, s_1845496027) { + buff_1845493778(0, side_1845496024, b_1845496026, s_1845496027, [], [], [HEX3Aanonymous_1845496016], false, [], null, null, null, false); } -function HEX3Aanonymous_1493174513(side_1493174514, __1493174515, b_1493174516, state_1493174517) { +function HEX3Aanonymous_1845496033(side_1845496034, __1845496035, b_1845496036, state_1845496037) { var Temporary1; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1538; - F.filename = "powers.nim"; - randomize_1392509190(BigInt(state_1493174517.Field0.randSeed)); - F.line = 1539; - var sleeper_1493174525 = rand_1392509064(7); - F.line = 1540; - var failsafe_1493174533 = 9; - F.line = 1541; - if ((side_1493174514 == 0)) { + randomize_1644167430(BigInt(state_1845496037.Field0.randSeed)); + var sleeper_1845496045 = rand_1644167304(7); + var failsafe_1845496053 = 9; + if ((side_1845496034 == 0)) { Temporary1 = 1; } else { Temporary1 = 6; } - var rank_1493174538 = Temporary1; + var rank_1845496058 = Temporary1; Label2: { - F.line = 1545; Label3: while (true) { - if (!(!((b_1493174516[chckIndx(rank_1493174538, 0, (b_1493174516).length - 1)][chckIndx(sleeper_1493174525, 0, (b_1493174516[chckIndx(rank_1493174538, 0, (b_1493174516).length - 1)]).length - 1)].item == 3)) && !((failsafe_1493174533 == 0)))) break Label3; - F.line = 1546; - sleeper_1493174525 = addInt(sleeper_1493174525, 1); - F.line = 1547; - failsafe_1493174533 = subInt(failsafe_1493174533, 1); - F.line = 1548; - sleeper_1493174525 = modInt(sleeper_1493174525, 8); + if (!(!((b_1845496036[chckIndx(rank_1845496058, 0, (b_1845496036).length - 1)][chckIndx(sleeper_1845496045, 0, (b_1845496036[chckIndx(rank_1845496058, 0, (b_1845496036).length - 1)]).length - 1)].item == 3)) && !((failsafe_1845496053 == 0)))) break Label3; + sleeper_1845496045 = addInt(sleeper_1845496045, 1); + failsafe_1845496053 = subInt(failsafe_1845496053, 1); + sleeper_1845496045 = modInt(sleeper_1845496045, 8); } }; - if (!((failsafe_1493174533 == 0))) { - if ((side_1493174514 == 0)) { - F.line = 1553; - b_1493174516[chckIndx(1, 0, (b_1493174516).length - 1)][chckIndx(sleeper_1493174525, 0, (b_1493174516[chckIndx(1, 0, (b_1493174516).length - 1)]).length - 1)].takes.push(HEX3Aanonymous_1509949524);; + if (!((failsafe_1845496053 == 0))) { + if ((side_1845496034 == 0)) { + b_1845496036[chckIndx(1, 0, (b_1845496036).length - 1)][chckIndx(sleeper_1845496045, 0, (b_1845496036[chckIndx(1, 0, (b_1845496036).length - 1)]).length - 1)].takes.push(HEX3Aanonymous_1862271060);; } else { - F.line = 1555; - b_1493174516[chckIndx(6, 0, (b_1493174516).length - 1)][chckIndx(sleeper_1493174525, 0, (b_1493174516[chckIndx(6, 0, (b_1493174516).length - 1)]).length - 1)].takes.push(HEX3Aanonymous_1509949519);; + b_1845496036[chckIndx(6, 0, (b_1845496036).length - 1)][chckIndx(sleeper_1845496045, 0, (b_1845496036[chckIndx(6, 0, (b_1845496036).length - 1)]).length - 1)].takes.push(HEX3Aanonymous_1862271055);; } } - framePtr = F.prev; } -function alwaysCost_1526726885(cost_1526726886) { +function alwaysCost_1879048421(cost_1879048422) { -function HEX3Aanonymous_1526726888(piece_1526726889, b_1526726890, s_1526726891) { - var result_1526726892 = 0; +function HEX3Aanonymous_1879048424(piece_1879048425, b_1879048426, s_1879048427) { + var result_1879048428 = 0; - var F = {procname: "alwaysCost.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/capitalism.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 45; - F.filename = "capitalism.nim"; - result_1526726892 = cost_1526726886; + result_1879048428 = cost_1879048422; break BeforeRet; }; - framePtr = F.prev; - return result_1526726892; + return result_1879048428; } - var result_1526726887 = null; + var result_1879048423 = null; - var F = {procname: "capitalism.alwaysCost", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/capitalism.nim", line: 0}; - framePtr = F; - F.line = 44; - F.filename = "capitalism.nim"; - result_1526726887 = HEX3Aanonymous_1526726888; - framePtr = F.prev; + result_1879048423 = HEX3Aanonymous_1879048424; - return result_1526726887; + return result_1879048423; } -function HEX3Aanonymous_1493174566(piece_1493174567, b_1493174568, s_1493174569) { +function HEX3Aanonymous_1845496086(piece_1845496087, b_1845496088, s_1845496089) { -function HEX3Aanonymous_1493174587(piece_1493174588, board_1493174589, state_1493174590) { - var F = {procname: ":anonymous.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - if ((!((state_1493174590.Field0.turnNumber == turnOfPromote_1493174577)) && !(release_1493174578))) { - F.line = 1572; - F.filename = "powers.nim"; - add_1493172278(piece_1493174588, "moves", captureMove_1493174575); - F.line = 1573; - add_1493172278(piece_1493174588, "takes", captureTake_1493174576); - F.line = 1574; - release_1493174578 = true; +function HEX3Aanonymous_1845496107(piece_1845496108, board_1845496109, state_1845496110) { + if ((!((state_1845496110.Field0.turnNumber == turnOfPromote_1845496097)) && !(release_1845496098))) { + add_1845493814(piece_1845496108, "moves", captureMove_1845496095); + add_1845493814(piece_1845496108, "takes", captureTake_1845496096); + release_1845496098 = true; } - framePtr = F.prev; } - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; Label1: { - F.line = 181; - F.filename = "piece.nim"; - var xHEX60gensym96_1493174574 = null; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493178971 = 0; - F.line = 250; - var L_1493178972 = (piece_1493174567.onPromote).length; + var xHEX60gensym96_1845496094 = null; + var i_1845500530 = 0; + var L_1845500531 = (piece_1845496087.onPromote).length; Label2: { - F.line = 251; Label3: while (true) { - if (!(i_1493178971 < L_1493178972)) break Label3; - F.line = 1560; - F.filename = "powers.nim"; - xHEX60gensym96_1493174574 = piece_1493174567.onPromote[chckIndx(i_1493178971, 0, (piece_1493174567.onPromote).length - 1)]; - F.line = 182; - F.filename = "piece.nim"; - xHEX60gensym96_1493174574(piece_1493174567, b_1493174568, s_1493174569); - if (piece_1493174567.promoted) { - F.line = 183; + if (!(i_1845500530 < L_1845500531)) break Label3; + xHEX60gensym96_1845496094 = piece_1845496087.onPromote[chckIndx(i_1845500530, 0, (piece_1845496087.onPromote).length - 1)]; + xHEX60gensym96_1845496094(piece_1845496087, b_1845496088, s_1845496089); + if (piece_1845496087.promoted) { break Label1; } - F.line = 13; - F.filename = "iterators.nim"; - i_1493178971 += 1; - if (!(((piece_1493174567.onPromote).length == L_1493178972))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_1845500530 += 1; + if (!(((piece_1845496087.onPromote).length == L_1845500531))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - F.line = 1561; - F.filename = "powers.nim"; - var captureMove_1493174575 = nimCopy(null, piece_1493174567.moves, NTI1224736849); - F.line = 1562; - var captureTake_1493174576 = nimCopy(null, piece_1493174567.takes, NTI1224736850); - F.line = 1563; - var turnOfPromote_1493174577 = s_1493174569.Field0.turnNumber; - F.line = 1564; - var release_1493174578 = false; - F.line = 1565; - piece_1493174567.moves = nimCopy(null, [], NTI1493172238); - F.line = 1566; - piece_1493174567.takes = nimCopy(null, [], NTI1493172238); - F.line = 1567; - piece_1493174567.promoted = true; - F.line = 1569; - piece_1493174567.onEndTurn.push(HEX3Aanonymous_1493174587);; - framePtr = F.prev; - - -} - -function HEX3DHEX3D_1493174615(x_1493174617, y_1493174618) { - var result_1493174619 = false; - - var F = {procname: "==.==", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/comparisons.nim", line: 0}; - framePtr = F; + var captureMove_1845496095 = nimCopy(null, piece_1845496087.moves, NTI1476395089); + var captureTake_1845496096 = nimCopy(null, piece_1845496087.takes, NTI1476395090); + var turnOfPromote_1845496097 = s_1845496089.Field0.turnNumber; + var release_1845496098 = false; + piece_1845496087.moves = nimCopy(null, [], NTI1845493774); + piece_1845496087.takes = nimCopy(null, [], NTI1845493774); + piece_1845496087.promoted = true; + piece_1845496087.onEndTurn.push(HEX3Aanonymous_1845496107);; + + +} + +function HEX3DHEX3D_1845496135(x_1845496137, y_1845496138) { + var result_1845496139 = false; + BeforeRet: { - F.line = 326; - F.filename = "comparisons.nim"; - var sameObject_1493174626 = false; - F.line = 327; - sameObject_1493174626 = x_1493174617 === y_1493174618 - if (sameObject_1493174626) { - F.line = 328; - result_1493174619 = true; + var sameObject_1845496146 = false; + sameObject_1845496146 = x_1845496137 === y_1845496138 + if (sameObject_1845496146) { + result_1845496139 = true; break BeforeRet; } - if (!(((x_1493174617).length == (y_1493174618).length))) { - F.line = 331; - result_1493174619 = false; + if (!(((x_1845496137).length == (y_1845496138).length))) { + result_1845496139 = false; break BeforeRet; } Label1: { - F.line = 333; - var i_1493174640 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__1493178975 = 0; - F.line = 333; - F.filename = "comparisons.nim"; - colontmp__1493178975 = subInt((x_1493174617).length, 1); - F.line = 96; - F.filename = "iterators_1.nim"; - var res_1493178976 = 0; + var i_1845496160 = 0; + var colontmp__1845500534 = 0; + colontmp__1845500534 = subInt((x_1845496137).length, 1); + var res_1845500535 = 0; Label2: { - F.line = 97; Label3: while (true) { - if (!(res_1493178976 <= colontmp__1493178975)) break Label3; - F.line = 333; - F.filename = "comparisons.nim"; - i_1493174640 = res_1493178976; - if (!((x_1493174617[chckIndx(i_1493174640, 0, (x_1493174617).length - 1)] == y_1493174618[chckIndx(i_1493174640, 0, (y_1493174618).length - 1)]))) { - F.line = 335; - result_1493174619 = false; + if (!(res_1845500535 <= colontmp__1845500534)) break Label3; + i_1845496160 = res_1845500535; + if (!((x_1845496137[chckIndx(i_1845496160, 0, (x_1845496137).length - 1)] == y_1845496138[chckIndx(i_1845496160, 0, (y_1845496138).length - 1)]))) { + result_1845496139 = false; break BeforeRet; } - F.line = 102; - F.filename = "iterators_1.nim"; - res_1493178976 = addInt(res_1493178976, 1); + res_1845500535 = addInt(res_1845500535, 1); } }; }; - F.line = 337; - F.filename = "comparisons.nim"; - result_1493174619 = true; + result_1845496139 = true; break BeforeRet; }; - framePtr = F.prev; - return result_1493174619; + return result_1845496139; } -function HEX3Aanonymous_1493174606(piece_1493174607, board_1493174608, s_1493174609) { - var result_1493174610 = false; +function HEX3Aanonymous_1845496126(piece_1845496127, board_1845496128, s_1845496129) { + var result_1845496130 = false; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 1577; - F.filename = "powers.nim"; - result_1493174610 = (!(piece_1493174607.promoted) && !(HEX3DHEX3D_1493174615(piece_1493174607.onPromote, [HEX3Aanonymous_1224737210]))); + result_1845496130 = (!(piece_1845496127.promoted) && !(HEX3DHEX3D_1845496135(piece_1845496127.onPromote, [HEX3Aanonymous_1476395450]))); break BeforeRet; }; - framePtr = F.prev; - return result_1493174610; + return result_1845496130; } -function some_1409288448(val_1409288450) { - var result_1409288451 = ({val: 0, has: false}); +function some_1660946688(val_1660946690) { + var result_1660946691 = ({val: 0, has: false}); - var F = {procname: "some.some", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/options.nim", line: 0}; - framePtr = F; - F.line = 140; - F.filename = "options.nim"; - result_1409288451.has = true; - F.line = 141; - result_1409288451.val = val_1409288450; - framePtr = F.prev; + result_1660946691.has = true; + result_1660946691.val = val_1660946690; - return result_1409288451; + return result_1660946691; } -function initWallet_1526726758(side_1526726759, s_1526726760) { - var F = {procname: "capitalism.initWallet", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/capitalism.nim", line: 0}; - framePtr = F; - F.line = 21; - F.filename = "capitalism.nim"; - s_1526726760.Field1[chckIndx(side_1526726759, 0, (s_1526726760.Field1).length - 1)].wallet = nimCopy(s_1526726760.Field1[chckIndx(side_1526726759, 0, (s_1526726760.Field1).length - 1)].wallet, some_1409288448(0), NTI1224736866); - framePtr = F.prev; +function initWallet_1879048294(side_1879048295, s_1879048296) { + s_1879048296.Field1[chckIndx(side_1879048295, 0, (s_1879048296.Field1).length - 1)].wallet = nimCopy(s_1879048296.Field1[chckIndx(side_1879048295, 0, (s_1879048296.Field1).length - 1)].wallet, some_1660946688(0), NTI1476395106); } -function isSome_1409289449(self_1409289451) { - var result_1409289452 = false; +function isSome_1660947689(self_1660947691) { + var result_1660947692 = false; - var F = {procname: "isSome.isSome", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/options.nim", line: 0}; - framePtr = F; - F.line = 161; - F.filename = "options.nim"; - result_1409289452 = self_1409289451.has; - framePtr = F.prev; + result_1660947692 = self_1660947691.has; - return result_1409289452; + return result_1660947692; } -function none_1224736916() { - var result_1224736923 = ({val: 0, has: false}); +function none_1476395156() { + var result_1476395163 = ({val: 0, has: false}); - var F = {procname: "none.none", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/options.nim", line: 0}; - framePtr = F; - framePtr = F.prev; - - return result_1224736923; + return result_1476395163; } -function map_1526726734(self_1526726737, callback_1526726739) { +function map_1879048270(self_1879048273, callback_1879048275) { var Temporary1; - var result_1526726740 = ({val: 0, has: false}); + var result_1879048276 = ({val: 0, has: false}); - var F = {procname: "map.map", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/options.nim", line: 0}; - framePtr = F; - F.line = 253; - F.filename = "options.nim"; - if (isSome_1409289449(self_1526726737)) { - Temporary1 = some_1409288448(callback_1526726739(self_1526726737.val)); + if (isSome_1660947689(self_1879048273)) { + Temporary1 = some_1660946688(callback_1879048275(self_1879048273.val)); } else { - Temporary1 = none_1224736916(); + Temporary1 = none_1476395156(); } - result_1526726740 = nimCopy(result_1526726740, Temporary1, NTI1224736866); - framePtr = F.prev; + result_1879048276 = nimCopy(result_1879048276, Temporary1, NTI1476395106); - return result_1526726740; + return result_1879048276; } -function addMoney_1526726698(side_1526726699, money_1526726700, s_1526726701) { +function addMoney_1879048234(side_1879048235, money_1879048236, s_1879048237) { -function HEX3Aanonymous_1526726718(x_1526726729) { - var result_1526726733 = 0; +function HEX3Aanonymous_1879048254(x_1879048265) { + var result_1879048269 = 0; - var F = {procname: "addMoney.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/capitalism.nim", line: 0}; - framePtr = F; - F.line = 18; - F.filename = "capitalism.nim"; - result_1526726733 = addInt(x_1526726729, money_1526726700); - framePtr = F.prev; + result_1879048269 = addInt(x_1879048265, money_1879048236); - return result_1526726733; + return result_1879048269; } - var F = {procname: "capitalism.addMoney", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/capitalism.nim", line: 0}; - framePtr = F; - if (!(isSome_1409289449(s_1526726701.Field1[chckIndx(side_1526726699, 0, (s_1526726701.Field1).length - 1)].wallet))) { - F.line = 17; - F.filename = "capitalism.nim"; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/the-playground/chess/src/capitalism.nim(17, 5) `s.side[side].wallet.isSome()` ")); + if (!(isSome_1660947689(s_1879048237.Field1[chckIndx(side_1879048235, 0, (s_1879048237.Field1).length - 1)].wallet))) { + failedAssertImpl_268435541([99,97,112,105,116,97,108,105,115,109,46,110,105,109,40,49,55,44,32,53,41,32,96,115,46,115,105,100,101,91,115,105,100,101,93,46,119,97,108,108,101,116,46,105,115,83,111,109,101,40,41,96,32]); } - F.line = 18; - s_1526726701.Field1[chckIndx(side_1526726699, 0, (s_1526726701.Field1).length - 1)].wallet = nimCopy(s_1526726701.Field1[chckIndx(side_1526726699, 0, (s_1526726701.Field1).length - 1)].wallet, map_1526726734(s_1526726701.Field1[chckIndx(side_1526726699, 0, (s_1526726701.Field1).length - 1)].wallet, HEX3Aanonymous_1526726718), NTI1224736866); - framePtr = F.prev; + s_1879048237.Field1[chckIndx(side_1879048235, 0, (s_1879048237.Field1).length - 1)].wallet = nimCopy(s_1879048237.Field1[chckIndx(side_1879048235, 0, (s_1879048237.Field1).length - 1)].wallet, map_1879048270(s_1879048237.Field1[chckIndx(side_1879048235, 0, (s_1879048237.Field1).length - 1)].wallet, HEX3Aanonymous_1879048254), NTI1476395106); } -function moneyForTake_1493174646() { +function moneyForTakeAll_1845496166() { -function HEX3Aanonymous_1493174649(piece_1493174650, b_1493174651, state_1493174652) { - var F = {procname: "moneyForTake.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1587; - F.filename = "powers.nim"; - var allPiecesTaken_1493174653 = 0; +function HEX3Aanonymous_1845496169(piece_1845496170, b_1845496171, state_1845496172) { + var allPiecesTaken_1845496173 = 0; Label1: { - F.line = 1588; - var i_1493174654 = 0; - F.line = 1588; - var j_1493174655 = 0; + var i_1845496174 = 0; + var j_1845496175 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493178980 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178981 = 0; + var i_1845500539 = 0; + var i_1845500540 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493178981 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493178980 = i_1493178981; + if (!(i_1845500540 < 8)) break Label4; + i_1845500539 = i_1845500540; Label5: { - F.line = 125; - var j_1493178984 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178985 = 0; + var j_1845500543 = 0; + var i_1845500544 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493178985 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493178984 = i_1493178985; - F.line = 1588; - F.filename = "powers.nim"; - i_1493174654 = i_1493178980; - F.line = 1588; - j_1493174655 = j_1493178984; - if (sameColor_1224737804(b_1493174651[chckIndx(i_1493174654, 0, (b_1493174651).length - 1)][chckIndx(j_1493174655, 0, (b_1493174651[chckIndx(i_1493174654, 0, (b_1493174651).length - 1)]).length - 1)], piece_1493174650)) { - F.line = 1590; - allPiecesTaken_1493174653 = addInt(allPiecesTaken_1493174653, b_1493174651[chckIndx(i_1493174654, 0, (b_1493174651).length - 1)][chckIndx(j_1493174655, 0, (b_1493174651[chckIndx(i_1493174654, 0, (b_1493174651).length - 1)]).length - 1)].piecesTaken); + if (!(i_1845500544 < 8)) break Label7; + j_1845500543 = i_1845500544; + i_1845496174 = i_1845500539; + j_1845496175 = j_1845500543; + if (sameColor_1476396044(b_1845496171[chckIndx(i_1845496174, 0, (b_1845496171).length - 1)][chckIndx(j_1845496175, 0, (b_1845496171[chckIndx(i_1845496174, 0, (b_1845496171).length - 1)]).length - 1)], piece_1845496170)) { + allPiecesTaken_1845496173 = addInt(allPiecesTaken_1845496173, b_1845496171[chckIndx(i_1845496174, 0, (b_1845496171).length - 1)][chckIndx(j_1845496175, 0, (b_1845496171[chckIndx(i_1845496174, 0, (b_1845496171).length - 1)]).length - 1)].piecesTaken); } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493178985 = addInt(i_1493178985, 1); + i_1845500544 = addInt(i_1845500544, 1); } }; }; - F.line = 131; - i_1493178981 = addInt(i_1493178981, 1); + i_1845500540 = addInt(i_1845500540, 1); } }; }; }; - F.line = 1592; - F.filename = "powers.nim"; - allPiecesTaken_1493174653 = addInt(allPiecesTaken_1493174653, state_1493174652.Field1[chckIndx(piece_1493174650.color, 0, (state_1493174652.Field1).length - 1)].abilityTakes); - if ((lastPiecesTaken_1493174648 < allPiecesTaken_1493174653)) { - F.line = 1595; - addMoney_1526726698(piece_1493174650.color, mulInt(subInt(allPiecesTaken_1493174653, lastPiecesTaken_1493174648), 3), state_1493174652); + allPiecesTaken_1845496173 = addInt(allPiecesTaken_1845496173, state_1845496172.Field1[chckIndx(piece_1845496170.color, 0, (state_1845496172.Field1).length - 1)].abilityTakes); + if ((lastPiecesTaken_1845496168 < allPiecesTaken_1845496173)) { + addMoney_1879048234(piece_1845496170.color, mulInt(subInt(allPiecesTaken_1845496173, lastPiecesTaken_1845496168), 3), state_1845496172); } - F.line = 1596; - lastPiecesTaken_1493174648 = allPiecesTaken_1493174653; - framePtr = F.prev; + lastPiecesTaken_1845496168 = allPiecesTaken_1845496173; } - var result_1493174647 = null; + var result_1845496167 = null; - var F = {procname: "powers.moneyForTake", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1582; - F.filename = "powers.nim"; - var lastPiecesTaken_1493174648 = 0; - F.line = 1586; - result_1493174647 = HEX3Aanonymous_1493174649; - framePtr = F.prev; + var lastPiecesTaken_1845496168 = 0; + result_1845496167 = HEX3Aanonymous_1845496169; - return result_1493174647; + return result_1845496167; } -function HEX3Aanonymous_1493174664(side_1493174665, __1493174666, b_1493174667, s_1493174668) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1611; - F.filename = "powers.nim"; - s_1493174668.Field1[chckIndx(side_1493174665, 0, (s_1493174668.Field1).length - 1)].buys.push({Field0: [80,114,111,109,111,116,101], Field1: alwaysCost_1526726885(30), Field2: HEX3Aanonymous_1493174566, Field3: HEX3Aanonymous_1493174606});; - F.line = 1612; - initWallet_1526726758(side_1493174665, s_1493174668); - F.line = 1613; - addOnEndTurnTransform_1493172461(0, side_1493174665, b_1493174667, s_1493174668, moneyForTake_1493174646, false); - framePtr = F.prev; +function HEX3Aanonymous_1845496191(side_1845496192, __1845496193, b_1845496194, s_1845496195) { + s_1845496195.Field1[chckIndx(side_1845496192, 0, (s_1845496195.Field1).length - 1)].buys.push({Field0: [80,114,111,109,111,116,101], Field1: alwaysCost_1879048421(30), Field2: HEX3Aanonymous_1845496086, Field3: HEX3Aanonymous_1845496126});; + initWallet_1879048294(side_1845496192, s_1845496195); + addOnEndTurnTransform_1845493997(0, side_1845496192, b_1845496194, s_1845496195, moneyForTakeAll_1845496166, false); } -function some_1493178051(val_1493178053) { - var result_1493178054 = ({val: {Field0: 0, Field1: null, Field2: null}, has: false}); +function some_1845499610(val_1845499612) { + var result_1845499613 = ({val: {Field0: 0, Field1: null, Field2: null}, has: false}); - var F = {procname: "some.some", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/options.nim", line: 0}; - framePtr = F; - F.line = 140; - F.filename = "options.nim"; - result_1493178054.has = true; - F.line = 141; - result_1493178054.val = nimCopy(result_1493178054.val, val_1493178053, NTI1224736792); - framePtr = F.prev; + result_1845499613.has = true; + result_1845499613.val = nimCopy(result_1845499613.val, val_1845499612, NTI1476395032); - return result_1493178054; + return result_1845499613; } -function HEX3Aanonymous_1493177940(piece_1493177941, to_1493177942, b_1493177943, s_1493177944) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; +function HEX3Aanonymous_1845499499(piece_1845499500, to_1845499501, b_1845499502, s_1845499503) { BeforeRet: { - if (!((b_1493177943[chckIndx(to_1493177942.Field1, 0, (b_1493177943).length - 1)][chckIndx(to_1493177942.Field0, 0, (b_1493177943[chckIndx(to_1493177942.Field1, 0, (b_1493177943).length - 1)]).length - 1)].item == 6))) { - F.line = 1924; - F.filename = "powers.nim"; + if (!((b_1845499502[chckIndx(to_1845499501.Field1, 0, (b_1845499502).length - 1)][chckIndx(to_1845499501.Field0, 0, (b_1845499502[chckIndx(to_1845499501.Field1, 0, (b_1845499502).length - 1)]).length - 1)].item == 6))) { break BeforeRet; } - F.line = 1925; - piece_1493177941.onMove(piece_1493177941, to_1493177942, b_1493177943, s_1493177944); + piece_1845499500.onMove(piece_1845499500, to_1845499501, b_1845499502, s_1845499503); }; - framePtr = F.prev; } -function HEX5BHEX5D_1224737072(b_1224737073, tile_1224737074) { - var result_1224737075 = ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}); +function HEX5BHEX5D_1476395312(b_1476395313, tile_1476395314) { + var result_1476395315 = ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}); - var F = {procname: "piece.[]", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 142; - F.filename = "piece.nim"; - result_1224737075 = nimCopy(result_1224737075, b_1224737073[chckIndx(tile_1224737074.Field1, 0, (b_1224737073).length - 1)][chckIndx(tile_1224737074.Field0, 0, (b_1224737073[chckIndx(tile_1224737074.Field1, 0, (b_1224737073).length - 1)]).length - 1)], NTI1224736794); + result_1476395315 = nimCopy(result_1476395315, b_1476395313[chckIndx(tile_1476395314.Field1, 0, (b_1476395313).length - 1)][chckIndx(tile_1476395314.Field0, 0, (b_1476395313[chckIndx(tile_1476395314.Field1, 0, (b_1476395313).length - 1)]).length - 1)], NTI1476395034); break BeforeRet; }; - framePtr = F.prev; - return result_1224737075; + return result_1476395315; } -function getPiecesChecking_1224737927(b_1224737928, c_1224737929) { - var result_1224737930 = []; +function getPiecesChecking_1476396167(b_1476396168, c_1476396169) { + var result_1476396170 = []; - var F = {procname: "piece.getPiecesChecking", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; - F.line = 330; - F.filename = "piece.nim"; - var kingTile_1224737931 = nimCopy(null, {Field0: (-1), Field1: (-1)}, NTI1224736771); + var kingTile_1476396171 = nimCopy(null, {Field0: (-1), Field1: (-1)}, NTI1476395011); Label1: { - F.line = 331; - var row_1224737936 = [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})]; - F.line = 43; - F.filename = "iterators.nim"; - var i_1493179002 = 0; + var row_1476396176 = [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})]; + var i_1845500561 = 0; Label2: { - F.line = 44; Label3: while (true) { if (!true) break Label3; - F.line = 331; - F.filename = "piece.nim"; - row_1224737936 = nimCopy(row_1224737936, b_1224737928[chckIndx(i_1493179002, 0, (b_1224737928).length - 1)], NTI1224736772); + row_1476396176 = nimCopy(row_1476396176, b_1476396168[chckIndx(i_1845500561, 0, (b_1476396168).length - 1)], NTI1476395012); Label4: { - F.line = 332; - var p_1224737941 = ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}); - F.line = 43; - F.filename = "iterators.nim"; - var i_1493178999 = 0; + var p_1476396181 = ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}); + var i_1845500558 = 0; Label5: { - F.line = 44; Label6: while (true) { if (!true) break Label6; - F.line = 332; - F.filename = "piece.nim"; - p_1224737941 = nimCopy(p_1224737941, row_1224737936[chckIndx(i_1493178999, 0, (row_1224737936).length - 1)], NTI1224736794); - if (((p_1224737941.item == 0) && isColor_1224737813(p_1224737941, c_1224737929))) { - F.line = 334; - kingTile_1224737931 = nimCopy(kingTile_1224737931, p_1224737941.tile, NTI1224736771); + p_1476396181 = nimCopy(p_1476396181, row_1476396176[chckIndx(i_1845500558, 0, (row_1476396176).length - 1)], NTI1476395034); + if (((p_1476396181.item == 0) && isColor_1476396053(p_1476396181, c_1476396169))) { + kingTile_1476396171 = nimCopy(kingTile_1476396171, p_1476396181.tile, NTI1476395011); } - if ((7 <= i_1493178999)) { - F.line = 46; - F.filename = "iterators.nim"; + if ((7 <= i_1845500558)) { break Label5; } - F.line = 13; - i_1493178999 += 1; + i_1845500558 += 1; } }; }; - if ((7 <= i_1493179002)) { - F.line = 46; + if ((7 <= i_1845500561)) { break Label2; } - F.line = 13; - i_1493179002 += 1; + i_1845500561 += 1; } }; }; Label7: { - F.line = 336; - F.filename = "piece.nim"; - var row_1224737950 = [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})]; - F.line = 43; - F.filename = "iterators.nim"; - var i_1493179008 = 0; + var row_1476396190 = [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})]; + var i_1845500567 = 0; Label8: { - F.line = 44; Label9: while (true) { if (!true) break Label9; - F.line = 336; - F.filename = "piece.nim"; - row_1224737950 = nimCopy(row_1224737950, b_1224737928[chckIndx(i_1493179008, 0, (b_1224737928).length - 1)], NTI1224736772); + row_1476396190 = nimCopy(row_1476396190, b_1476396168[chckIndx(i_1845500567, 0, (b_1476396168).length - 1)], NTI1476395012); Label10: { - F.line = 337; - var p_1224737955 = ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}); - F.line = 43; - F.filename = "iterators.nim"; - var i_1493179006 = 0; + var p_1476396195 = ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}); + var i_1845500565 = 0; Label11: { - F.line = 44; Label12: while (true) { if (!true) break Label12; - F.line = 337; - F.filename = "piece.nim"; - p_1224737955 = nimCopy(p_1224737955, row_1224737950[chckIndx(i_1493179006, 0, (row_1224737950).length - 1)], NTI1224736794); - if ((!(isColor_1224737813(p_1224737955, c_1224737929)) && contains_1224737421(getTakesOn_1224737271(p_1224737955, b_1224737928), kingTile_1224737931))) { - F.line = 339; - var Temporary13 = nimCopy(null, p_1224737955.tile, NTI1224736771); - result_1224737930.push(Temporary13);; + p_1476396195 = nimCopy(p_1476396195, row_1476396190[chckIndx(i_1845500565, 0, (row_1476396190).length - 1)], NTI1476395034); + if ((!(isColor_1476396053(p_1476396195, c_1476396169)) && contains_1476395661(getTakesOn_1476395511(p_1476396195, b_1476396168), kingTile_1476396171))) { + var Temporary13 = nimCopy(null, p_1476396195.tile, NTI1476395011); + result_1476396170.push(Temporary13);; } - if ((7 <= i_1493179006)) { - F.line = 46; - F.filename = "iterators.nim"; + if ((7 <= i_1845500565)) { break Label11; } - F.line = 13; - i_1493179006 += 1; + i_1845500565 += 1; } }; }; - if ((7 <= i_1493179008)) { - F.line = 46; + if ((7 <= i_1845500567)) { break Label8; } - F.line = 13; - i_1493179008 += 1; + i_1845500567 += 1; } }; }; - framePtr = F.prev; - return result_1224737930; + return result_1476396170; } -function wouldCheckAt_1224737964(p_1224737965, at_1224737966, b_1224737967) { - var result_1224737968 = false; +function wouldCheckAt_1476396204(p_1476396205, at_1476396206, b_1476396207) { + var result_1476396208 = false; - var F = {procname: "piece.wouldCheckAt", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 343; - F.filename = "piece.nim"; - var testboard_1224737969 = [nimCopy(null, b_1224737967, NTI1224736773)]; - F.line = 344; - var testpiece_1224737970 = [nimCopy(null, p_1224737965, NTI1224736794)]; - F.line = 345; - var emptyState_1224737971 = [{Field0: ({nextIndex: 0, nextGroup: 0, randSeed: 0, turnNumber: 0}), Field1: [({abilityTakes: 0, hasCastled: false, dna: [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], transforms: [[], [], [], [], [], [], [], []], wallet: ({val: 0, has: false}), buys: [], piecesSold: 0, piecesSoldThisTurn: 0, glass: [({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false})]}), ({abilityTakes: 0, hasCastled: false, dna: [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], transforms: [[], [], [], [], [], [], [], []], wallet: ({val: 0, has: false}), buys: [], piecesSold: 0, piecesSoldThisTurn: 0, glass: [({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false})]})]}]; - F.line = 346; - pieceMove_1224737580(testpiece_1224737970[0], at_1224737966, testboard_1224737969[0], emptyState_1224737971[0]); - F.line = 348; - result_1224737968 = ((getPiecesChecking_1224737927(b_1224737967, otherSide_1224737821(p_1224737965.color))).length < (getPiecesChecking_1224737927(testboard_1224737969[0], otherSide_1224737821(p_1224737965.color))).length); + var testboard_1476396209 = [nimCopy(null, b_1476396207, NTI1476395013)]; + var testpiece_1476396210 = [nimCopy(null, p_1476396205, NTI1476395034)]; + var emptyState_1476396211 = [{Field0: ({nextIndex: 0, nextGroup: 0, randSeed: 0, turnNumber: 0}), Field1: [({abilityTakes: 0, hasCastled: false, dna: [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], transforms: [[], [], [], [], [], [], [], []], wallet: ({val: 0, has: false}), buys: [], piecesSold: 0, piecesSoldThisTurn: 0, glass: [({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false})]}), ({abilityTakes: 0, hasCastled: false, dna: [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], transforms: [[], [], [], [], [], [], [], []], wallet: ({val: 0, has: false}), buys: [], piecesSold: 0, piecesSoldThisTurn: 0, glass: [({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false})]})]}]; + pieceMove_1476395820(testpiece_1476396210[0], at_1476396206, testboard_1476396209[0], emptyState_1476396211[0]); + result_1476396208 = ((getPiecesChecking_1476396167(b_1476396207, otherSide_1476396061(p_1476396205.color))).length < (getPiecesChecking_1476396167(testboard_1476396209[0], otherSide_1476396061(p_1476396205.color))).length); break BeforeRet; }; - framePtr = F.prev; - return result_1224737968; + return result_1476396208; } -function HEX3Aanonymous_1493177916(side_1493177917, piece_1493177918, b_1493177919, __1493177920) { - var result_1493177921 = []; +function HEX3Aanonymous_1845499475(side_1845499476, piece_1845499477, b_1845499478, __1845499479) { + var result_1845499480 = []; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; BeforeRet: { - if (!((piece_1493177918.color == side_1493177917))) { - F.line = 1914; - F.filename = "powers.nim"; - result_1493177921 = nimCopy(null, [], NTI1291845837); + if (!((piece_1845499477.color == side_1845499476))) { + result_1845499480 = nimCopy(null, [], NTI1543504077); break BeforeRet; } else { Label1: { - F.line = 1916; - var tile_1493177930 = {Field0: 0, Field1: 0}; + var tile_1845499489 = {Field0: 0, Field1: 0}; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493178989 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178990 = 0; + var i_1845500548 = 0; + var i_1845500549 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493178990 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493178989 = i_1493178990; + if (!(i_1845500549 < 8)) break Label4; + i_1845500548 = i_1845500549; Label5: { - F.line = 125; - var j_1493178993 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493178994 = 0; + var j_1845500552 = 0; + var i_1845500553 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493178994 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493178993 = i_1493178994; - F.line = 1916; - F.filename = "powers.nim"; - tile_1493177930 = nimCopy(tile_1493177930, {Field0: i_1493178989, Field1: j_1493178993}, NTI1224736771); - if (((HEX5BHEX5D_1224737072(b_1493177919, tile_1493177930).item == 6) && !(wouldCheckAt_1224737964(piece_1493177918, tile_1493177930, b_1493177919)))) { - F.line = 1918; - var Temporary8 = nimCopy(null, tile_1493177930, NTI1224736771); - result_1493177921.push(Temporary8);; + if (!(i_1845500553 < 8)) break Label7; + j_1845500552 = i_1845500553; + tile_1845499489 = nimCopy(tile_1845499489, {Field0: i_1845500548, Field1: j_1845500552}, NTI1476395011); + if (((HEX5BHEX5D_1476395312(b_1845499478, tile_1845499489).item == 6) && !(wouldCheckAt_1476396204(piece_1845499477, tile_1845499489, b_1845499478)))) { + var Temporary8 = nimCopy(null, tile_1845499489, NTI1476395011); + result_1845499480.push(Temporary8);; } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493178994 = addInt(i_1493178994, 1); + i_1845500553 = addInt(i_1845500553, 1); } }; }; - F.line = 131; - i_1493178990 = addInt(i_1493178990, 1); + i_1845500549 = addInt(i_1845500549, 1); } }; }; @@ -7910,3448 +5509,2180 @@ function HEX3Aanonymous_1493177916(side_1493177917, piece_1493177918, b_14931779 } }; - framePtr = F.prev; - return result_1493177921; + return result_1845499480; } -function HEX3Aanonymous_1493178043(side_1493178044, __1493178045, __1493178046, s_1493178047) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1979; - F.filename = "powers.nim"; - s_1493178047.Field1[chckIndx(side_1493178044, 0, (s_1493178047.Field1).length - 1)].glass[chckIndx(0, 0, (s_1493178047.Field1[chckIndx(side_1493178044, 0, (s_1493178047.Field1).length - 1)].glass).length - 1)] = nimCopy(s_1493178047.Field1[chckIndx(side_1493178044, 0, (s_1493178047.Field1).length - 1)].glass[chckIndx(0, 0, (s_1493178047.Field1[chckIndx(side_1493178044, 0, (s_1493178047.Field1).length - 1)].glass).length - 1)], some_1493178051({Field0: 2, Field1: HEX3Aanonymous_1493177940, Field2: HEX3Aanonymous_1493177916}), NTI1224736839); - framePtr = F.prev; +function HEX3Aanonymous_1845499602(side_1845499603, __1845499604, __1845499605, s_1845499606) { + s_1845499606.Field1[chckIndx(side_1845499603, 0, (s_1845499606.Field1).length - 1)].glass[chckIndx(0, 0, (s_1845499606.Field1[chckIndx(side_1845499603, 0, (s_1845499606.Field1).length - 1)].glass).length - 1)] = nimCopy(s_1845499606.Field1[chckIndx(side_1845499603, 0, (s_1845499606.Field1).length - 1)].glass[chckIndx(0, 0, (s_1845499606.Field1[chckIndx(side_1845499603, 0, (s_1845499606.Field1).length - 1)].glass).length - 1)], some_1845499610({Field0: 2, Field1: HEX3Aanonymous_1845499499, Field2: HEX3Aanonymous_1845499475}), NTI1476395079); } -function createZeroGlassAction_1493177973(side_1493177974) { +function createZeroGlassAction_1845499532(side_1845499533) { -function HEX3Aanonymous_1493177976(__1493177977, to_1493177978, b_1493177979, s_1493177980) { - var F = {procname: "createZeroGlassAction.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; +function HEX3Aanonymous_1845499535(__1845499536, to_1845499537, b_1845499538, s_1845499539) { BeforeRet: { - if ((b_1493177979[chckIndx(to_1493177978.Field1, 0, (b_1493177979).length - 1)][chckIndx(to_1493177978.Field0, 0, (b_1493177979[chckIndx(to_1493177978.Field1, 0, (b_1493177979).length - 1)]).length - 1)].item == 6)) { - F.line = 1940; - F.filename = "powers.nim"; + if ((b_1845499538[chckIndx(to_1845499537.Field1, 0, (b_1845499538).length - 1)][chckIndx(to_1845499537.Field0, 0, (b_1845499538[chckIndx(to_1845499537.Field1, 0, (b_1845499538).length - 1)]).length - 1)].item == 6)) { break BeforeRet; } - F.line = 1941; - b_1493177979[chckIndx(to_1493177978.Field1, 0, (b_1493177979).length - 1)][chckIndx(to_1493177978.Field0, 0, (b_1493177979[chckIndx(to_1493177978.Field1, 0, (b_1493177979).length - 1)]).length - 1)] = nimCopy(b_1493177979[chckIndx(to_1493177978.Field1, 0, (b_1493177979).length - 1)][chckIndx(to_1493177978.Field0, 0, (b_1493177979[chckIndx(to_1493177978.Field1, 0, (b_1493177979).length - 1)]).length - 1)], pieceCopy_1224737660(air_1275068591, HEX5BHEX5D_1224737124(b_1493177979, to_1493177978).index, 6, 1, 0, 0, to_1493177978, [], [], air_1275068591.onMove, air_1275068591.onTake, air_1275068591.whenTaken, [], [], false, [], true, false, false), NTI1224736794); - F.line = 1942; - s_1493177980.Field1[chckIndx(side_1493177974, 0, (s_1493177980.Field1).length - 1)].abilityTakes = addInt(s_1493177980.Field1[chckIndx(side_1493177974, 0, (s_1493177980.Field1).length - 1)].abilityTakes, 1); + b_1845499538[chckIndx(to_1845499537.Field1, 0, (b_1845499538).length - 1)][chckIndx(to_1845499537.Field0, 0, (b_1845499538[chckIndx(to_1845499537.Field1, 0, (b_1845499538).length - 1)]).length - 1)] = nimCopy(b_1845499538[chckIndx(to_1845499537.Field1, 0, (b_1845499538).length - 1)][chckIndx(to_1845499537.Field0, 0, (b_1845499538[chckIndx(to_1845499537.Field1, 0, (b_1845499538).length - 1)]).length - 1)], pieceCopy_1476395900(air_1526726831, HEX5BHEX5D_1476395364(b_1845499538, to_1845499537).index, 6, 1, 0, 0, to_1845499537, [], [], air_1526726831.onMove, air_1526726831.onTake, air_1526726831.whenTaken, [], [], false, [], true, false, false), NTI1476395034); + s_1845499539.Field1[chckIndx(side_1845499533, 0, (s_1845499539.Field1).length - 1)].abilityTakes = addInt(s_1845499539.Field1[chckIndx(side_1845499533, 0, (s_1845499539.Field1).length - 1)].abilityTakes, 1); }; - framePtr = F.prev; } - var result_1493177975 = null; + var result_1845499534 = null; - var F = {procname: "powers.createZeroGlassAction", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1939; - F.filename = "powers.nim"; - result_1493177975 = HEX3Aanonymous_1493177976; - framePtr = F.prev; + result_1845499534 = HEX3Aanonymous_1845499535; - return result_1493177975; + return result_1845499534; } -function HEX3Aanonymous_1493177952(side_1493177953, piece_1493177954, b_1493177955, s_1493177956) { - var result_1493177957 = []; +function HEX3Aanonymous_1845499511(side_1845499512, piece_1845499513, b_1845499514, s_1845499515) { + var result_1845499516 = []; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; BeforeRet: { - if ((s_1493177956.Field0.turnNumber <= 1)) { - F.line = 1929; - F.filename = "powers.nim"; - result_1493177957 = nimCopy(null, [], NTI1291845837); + if ((s_1845499515.Field0.turnNumber <= 1)) { + result_1845499516 = nimCopy(null, [], NTI1543504077); break BeforeRet; } Label1: { - F.line = 1931; - var i_1493177962 = 0; - F.line = 1931; - var j_1493177963 = 0; + var i_1845499521 = 0; + var j_1845499522 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493179012 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179013 = 0; + var i_1845500571 = 0; + var i_1845500572 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493179013 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493179012 = i_1493179013; + if (!(i_1845500572 < 8)) break Label4; + i_1845500571 = i_1845500572; Label5: { - F.line = 125; - var j_1493179016 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179017 = 0; + var j_1845500575 = 0; + var i_1845500576 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493179017 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493179016 = i_1493179017; - F.line = 1931; - F.filename = "powers.nim"; - i_1493177962 = i_1493179012; - F.line = 1931; - j_1493177963 = j_1493179016; - if (!((b_1493177955[chckIndx(i_1493177962, 0, (b_1493177955).length - 1)][chckIndx(j_1493177963, 0, (b_1493177955[chckIndx(i_1493177962, 0, (b_1493177955).length - 1)]).length - 1)].item == 0))) { - F.line = 1933; - var Temporary8 = nimCopy(null, b_1493177955[chckIndx(i_1493177962, 0, (b_1493177955).length - 1)][chckIndx(j_1493177963, 0, (b_1493177955[chckIndx(i_1493177962, 0, (b_1493177955).length - 1)]).length - 1)].tile, NTI1224736771); - result_1493177957.push(Temporary8);; + if (!(i_1845500576 < 8)) break Label7; + j_1845500575 = i_1845500576; + i_1845499521 = i_1845500571; + j_1845499522 = j_1845500575; + if (!((b_1845499514[chckIndx(i_1845499521, 0, (b_1845499514).length - 1)][chckIndx(j_1845499522, 0, (b_1845499514[chckIndx(i_1845499521, 0, (b_1845499514).length - 1)]).length - 1)].item == 0))) { + var Temporary8 = nimCopy(null, b_1845499514[chckIndx(i_1845499521, 0, (b_1845499514).length - 1)][chckIndx(j_1845499522, 0, (b_1845499514[chckIndx(i_1845499521, 0, (b_1845499514).length - 1)]).length - 1)].tile, NTI1476395011); + result_1845499516.push(Temporary8);; } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493179017 = addInt(i_1493179017, 1); + i_1845500576 = addInt(i_1845500576, 1); } }; }; - F.line = 131; - i_1493179013 = addInt(i_1493179013, 1); + i_1845500572 = addInt(i_1845500572, 1); } }; }; }; }; - framePtr = F.prev; - return result_1493177957; + return result_1845499516; } -function HEX3Aanonymous_1493178057(side_1493178058, __1493178059, __1493178060, s_1493178061) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1998; - F.filename = "powers.nim"; - s_1493178061.Field1[chckIndx(side_1493178058, 0, (s_1493178061.Field1).length - 1)].glass[chckIndx(1, 0, (s_1493178061.Field1[chckIndx(side_1493178058, 0, (s_1493178061.Field1).length - 1)].glass).length - 1)] = nimCopy(s_1493178061.Field1[chckIndx(side_1493178058, 0, (s_1493178061.Field1).length - 1)].glass[chckIndx(1, 0, (s_1493178061.Field1[chckIndx(side_1493178058, 0, (s_1493178061.Field1).length - 1)].glass).length - 1)], some_1493178051({Field0: 2, Field1: createZeroGlassAction_1493177973(side_1493178058), Field2: HEX3Aanonymous_1493177952}), NTI1224736839); - framePtr = F.prev; +function HEX3Aanonymous_1845499616(side_1845499617, __1845499618, __1845499619, s_1845499620) { + s_1845499620.Field1[chckIndx(side_1845499617, 0, (s_1845499620.Field1).length - 1)].glass[chckIndx(1, 0, (s_1845499620.Field1[chckIndx(side_1845499617, 0, (s_1845499620.Field1).length - 1)].glass).length - 1)] = nimCopy(s_1845499620.Field1[chckIndx(side_1845499617, 0, (s_1845499620.Field1).length - 1)].glass[chckIndx(1, 0, (s_1845499620.Field1[chckIndx(side_1845499617, 0, (s_1845499620.Field1).length - 1)].glass).length - 1)], some_1845499610({Field0: 2, Field1: createZeroGlassAction_1845499532(side_1845499617), Field2: HEX3Aanonymous_1845499511}), NTI1476395079); } -function validateUtf8_1040187728(s_1040187729) { - var result_1040187730 = 0; +function validateUtf8_1157628240(s_1157628241) { + var result_1157628242 = 0; - var F = {procname: "unicode.validateUtf8", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/unicode.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 184; - F.filename = "unicode.nim"; - var i_1040187731 = 0; - F.line = 185; - var L_1040187735 = (s_1040187729).length; + var i_1157628243 = 0; + var L_1157628247 = (s_1157628241).length; Label1: { - F.line = 186; Label2: while (true) { - if (!(i_1040187731 < L_1040187735)) break Label2; - if ((s_1040187729[chckIndx(i_1040187731, 0, (s_1040187729).length - 1)] <= 127)) { - F.line = 188; - i_1040187731 = addInt(i_1040187731, 1); + if (!(i_1157628243 < L_1157628247)) break Label2; + if ((s_1157628241[chckIndx(i_1157628243, 0, (s_1157628241).length - 1)] <= 127)) { + i_1157628243 = addInt(i_1157628243, 1); } else { - if (((s_1040187729[chckIndx(i_1040187731, 0, (s_1040187729).length - 1)] >>> 5) == 6)) { - if ((s_1040187729[chckIndx(i_1040187731, 0, (s_1040187729).length - 1)] < 194)) { - F.line = 190; - result_1040187730 = i_1040187731; + if (((s_1157628241[chckIndx(i_1157628243, 0, (s_1157628241).length - 1)] >>> 5) == 6)) { + if ((s_1157628241[chckIndx(i_1157628243, 0, (s_1157628241).length - 1)] < 194)) { + result_1157628242 = i_1157628243; break BeforeRet; } - if (((addInt(i_1040187731, 1) < L_1040187735) && ((s_1040187729[chckIndx(addInt(i_1040187731, 1), 0, (s_1040187729).length - 1)] >>> 6) == 2))) { - F.line = 191; - i_1040187731 = addInt(i_1040187731, 2); + if (((addInt(i_1157628243, 1) < L_1157628247) && ((s_1157628241[chckIndx(addInt(i_1157628243, 1), 0, (s_1157628241).length - 1)] >>> 6) == 2))) { + i_1157628243 = addInt(i_1157628243, 2); } else { - F.line = 192; - result_1040187730 = i_1040187731; + result_1157628242 = i_1157628243; break BeforeRet; } } else { - if (((s_1040187729[chckIndx(i_1040187731, 0, (s_1040187729).length - 1)] >>> 4) == 14)) { - if ((((addInt(i_1040187731, 2) < L_1040187735) && ((s_1040187729[chckIndx(addInt(i_1040187731, 1), 0, (s_1040187729).length - 1)] >>> 6) == 2)) && ((s_1040187729[chckIndx(addInt(i_1040187731, 2), 0, (s_1040187729).length - 1)] >>> 6) == 2))) { - F.line = 195; - i_1040187731 = addInt(i_1040187731, 3); + if (((s_1157628241[chckIndx(i_1157628243, 0, (s_1157628241).length - 1)] >>> 4) == 14)) { + if ((((addInt(i_1157628243, 2) < L_1157628247) && ((s_1157628241[chckIndx(addInt(i_1157628243, 1), 0, (s_1157628241).length - 1)] >>> 6) == 2)) && ((s_1157628241[chckIndx(addInt(i_1157628243, 2), 0, (s_1157628241).length - 1)] >>> 6) == 2))) { + i_1157628243 = addInt(i_1157628243, 3); } else { - F.line = 196; - result_1040187730 = i_1040187731; + result_1157628242 = i_1157628243; break BeforeRet; } } else { - if (((s_1040187729[chckIndx(i_1040187731, 0, (s_1040187729).length - 1)] >>> 3) == 30)) { - if (((((addInt(i_1040187731, 3) < L_1040187735) && ((s_1040187729[chckIndx(addInt(i_1040187731, 1), 0, (s_1040187729).length - 1)] >>> 6) == 2)) && ((s_1040187729[chckIndx(addInt(i_1040187731, 2), 0, (s_1040187729).length - 1)] >>> 6) == 2)) && ((s_1040187729[chckIndx(addInt(i_1040187731, 3), 0, (s_1040187729).length - 1)] >>> 6) == 2))) { - F.line = 201; - i_1040187731 = addInt(i_1040187731, 4); + if (((s_1157628241[chckIndx(i_1157628243, 0, (s_1157628241).length - 1)] >>> 3) == 30)) { + if (((((addInt(i_1157628243, 3) < L_1157628247) && ((s_1157628241[chckIndx(addInt(i_1157628243, 1), 0, (s_1157628241).length - 1)] >>> 6) == 2)) && ((s_1157628241[chckIndx(addInt(i_1157628243, 2), 0, (s_1157628241).length - 1)] >>> 6) == 2)) && ((s_1157628241[chckIndx(addInt(i_1157628243, 3), 0, (s_1157628241).length - 1)] >>> 6) == 2))) { + i_1157628243 = addInt(i_1157628243, 4); } else { - F.line = 202; - result_1040187730 = i_1040187731; + result_1157628242 = i_1157628243; break BeforeRet; } } else { - F.line = 204; - result_1040187730 = i_1040187731; + result_1157628242 = i_1157628243; break BeforeRet; } }}} } }; - F.line = 205; - result_1040187730 = (-1); + result_1157628242 = (-1); break BeforeRet; }; - framePtr = F.prev; - return result_1040187730; + return result_1157628242; } -function validateUtf8_1040194753(s_1040194754) { - var result_1040194755 = 0; +function validateUtf8_1157635265(s_1157635266) { + var result_1157635267 = 0; - var F = {procname: "unicode.validateUtf8", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/unicode.nim", line: 0}; - framePtr = F; - F.line = 1191; - F.filename = "unicode.nim"; - result_1040194755 = validateUtf8_1040187728((s_1040194754.slice(0, (s_1040194754).length - 1 + 1))); - framePtr = F.prev; + result_1157635267 = validateUtf8_1157628240((s_1157635266.slice(0, (s_1157635266).length - 1 + 1))); - return result_1040194755; + return result_1157635267; } -function nucruneLen(s_1040187420) { - var result_1040187421 = 0; +function nucruneLen(s_1157627932) { + var result_1157627933 = 0; - var F = {procname: "unicode.runeLen", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/unicode.nim", line: 0}; - framePtr = F; - F.line = 52; - F.filename = "unicode.nim"; - result_1040187421 = 0; - F.line = 53; - var i_1040187422 = 0; + result_1157627933 = 0; + var i_1157627934 = 0; Label1: { - F.line = 54; Label2: while (true) { - if (!(i_1040187422 < (s_1040187420).length)) break Label2; - if ((s_1040187420[chckIndx(i_1040187422, 0, (s_1040187420).length - 1)] <= 127)) { - F.line = 55; - i_1040187422 = addInt(i_1040187422, 1); + if (!(i_1157627934 < (s_1157627932).length)) break Label2; + if ((s_1157627932[chckIndx(i_1157627934, 0, (s_1157627932).length - 1)] <= 127)) { + i_1157627934 = addInt(i_1157627934, 1); } else { - if (((s_1040187420[chckIndx(i_1040187422, 0, (s_1040187420).length - 1)] >>> 5) == 6)) { - F.line = 56; - i_1040187422 = addInt(i_1040187422, 2); + if (((s_1157627932[chckIndx(i_1157627934, 0, (s_1157627932).length - 1)] >>> 5) == 6)) { + i_1157627934 = addInt(i_1157627934, 2); } else { - if (((s_1040187420[chckIndx(i_1040187422, 0, (s_1040187420).length - 1)] >>> 4) == 14)) { - F.line = 57; - i_1040187422 = addInt(i_1040187422, 3); + if (((s_1157627932[chckIndx(i_1157627934, 0, (s_1157627932).length - 1)] >>> 4) == 14)) { + i_1157627934 = addInt(i_1157627934, 3); } else { - if (((s_1040187420[chckIndx(i_1040187422, 0, (s_1040187420).length - 1)] >>> 3) == 30)) { - F.line = 58; - i_1040187422 = addInt(i_1040187422, 4); + if (((s_1157627932[chckIndx(i_1157627934, 0, (s_1157627932).length - 1)] >>> 3) == 30)) { + i_1157627934 = addInt(i_1157627934, 4); } else { - if (((s_1040187420[chckIndx(i_1040187422, 0, (s_1040187420).length - 1)] >>> 2) == 62)) { - F.line = 59; - i_1040187422 = addInt(i_1040187422, 5); + if (((s_1157627932[chckIndx(i_1157627934, 0, (s_1157627932).length - 1)] >>> 2) == 62)) { + i_1157627934 = addInt(i_1157627934, 5); } else { - if (((s_1040187420[chckIndx(i_1040187422, 0, (s_1040187420).length - 1)] >>> 1) == 126)) { - F.line = 60; - i_1040187422 = addInt(i_1040187422, 6); + if (((s_1157627932[chckIndx(i_1157627934, 0, (s_1157627932).length - 1)] >>> 1) == 126)) { + i_1157627934 = addInt(i_1157627934, 6); } else { - F.line = 61; - i_1040187422 = addInt(i_1040187422, 1); + i_1157627934 = addInt(i_1157627934, 1); } }}}}} - F.line = 62; - result_1040187421 = addInt(result_1040187421, 1); + result_1157627933 = addInt(result_1157627933, 1); } }; - framePtr = F.prev; - return result_1040187421; + return result_1157627933; } -function runeLen_1040194581(s_1040194582) { - var result_1040194583 = 0; +function runeLen_1157635093(s_1157635094) { + var result_1157635095 = 0; - var F = {procname: "unicode.runeLen", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/unicode.nim", line: 0}; - framePtr = F; - F.line = 1158; - F.filename = "unicode.nim"; - result_1040194583 = nucruneLen((s_1040194582.slice(0, (s_1040194582).length - 1 + 1))); - framePtr = F.prev; + result_1157635095 = nucruneLen((s_1157635094.slice(0, (s_1157635094).length - 1 + 1))); - return result_1040194583; + return result_1157635095; } -function nsuRepeatChar(c_838861921, count_838861922) { - var result_838861923 = []; +function nsuRepeatChar(c_889193569, count_889193570) { + var result_889193571 = []; - var F = {procname: "strutils.repeat", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/strutils.nim", line: 0}; - framePtr = F; - F.line = 1328; - F.filename = "strutils.nim"; - result_838861923 = nimCopy(null, mnewString(count_838861922), NTI33554449); + result_889193571 = nimCopy(null, mnewString(count_889193570), NTI33554449); Label1: { - F.line = 1329; - var i_838861928 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__1493179034 = 0; - F.line = 1329; - F.filename = "strutils.nim"; - colontmp__1493179034 = subInt(count_838861922, 1); - F.line = 96; - F.filename = "iterators_1.nim"; - var res_1493179035 = 0; + var i_889193576 = 0; + var colontmp__1845500594 = 0; + colontmp__1845500594 = subInt(count_889193570, 1); + var res_1845500595 = 0; Label2: { - F.line = 97; Label3: while (true) { - if (!(res_1493179035 <= colontmp__1493179034)) break Label3; - F.line = 1329; - F.filename = "strutils.nim"; - i_838861928 = res_1493179035; - F.line = 1329; - result_838861923[chckIndx(i_838861928, 0, (result_838861923).length - 1)] = c_838861921; - F.line = 102; - F.filename = "iterators_1.nim"; - res_1493179035 = addInt(res_1493179035, 1); + if (!(res_1845500595 <= colontmp__1845500594)) break Label3; + i_889193576 = res_1845500595; + result_889193571[chckIndx(i_889193576, 0, (result_889193571).length - 1)] = c_889193569; + res_1845500595 = addInt(res_1845500595, 1); } }; }; - framePtr = F.prev; - return result_838861923; + return result_889193571; } -function alignString_1459617812(s_1459617813, minimumWidth_1459617814, align_1459617815, fill_1459617816) { +function alignString_1744830484(s_1744830485, minimumWidth_1744830486, align_1744830487, fill_1744830488) { var Temporary1; - var result_1459617817 = []; + var result_1744830489 = []; - var F = {procname: "strformat.alignString", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/strformat.nim", line: 0}; - framePtr = F; - if ((minimumWidth_1459617814 == 0)) { - F.line = 335; - F.filename = "strformat.nim"; - result_1459617817 = nimCopy(null, s_1459617813, NTI33554449); + if ((minimumWidth_1744830486 == 0)) { + result_1744830489 = nimCopy(null, s_1744830485, NTI33554449); } else { - F.line = 337; - if ((validateUtf8_1040194753(s_1459617813) == (-1))) { - Temporary1 = runeLen_1040194581(s_1459617813); + if ((validateUtf8_1157635265(s_1744830485) == (-1))) { + Temporary1 = runeLen_1157635093(s_1744830485); } else { - Temporary1 = (s_1459617813).length; + Temporary1 = (s_1744830485).length; } - var sRuneLen_1459617818 = Temporary1; - F.line = 338; - var toFill_1459617819 = subInt(minimumWidth_1459617814, sRuneLen_1459617818); - if ((toFill_1459617819 <= 0)) { - F.line = 340; - result_1459617817 = nimCopy(null, s_1459617813, NTI33554449); + var sRuneLen_1744830490 = Temporary1; + var toFill_1744830491 = subInt(minimumWidth_1744830486, sRuneLen_1744830490); + if ((toFill_1744830491 <= 0)) { + result_1744830489 = nimCopy(null, s_1744830485, NTI33554449); } else { - if (((align_1459617815 == 60) || (align_1459617815 == 0))) { - F.line = 342; - result_1459617817 = nimCopy(null, (s_1459617813 || []).concat(nsuRepeatChar(fill_1459617816, chckRange(toFill_1459617819, 0, 2147483647)) || []), NTI33554449); + if (((align_1744830487 == 60) || (align_1744830487 == 0))) { + result_1744830489 = nimCopy(null, (s_1744830485 || []).concat(nsuRepeatChar(fill_1744830488, chckRange(toFill_1744830491, 0, 2147483647)) || []), NTI33554449); } else { - if ((align_1459617815 == 94)) { - F.line = 344; - var half_1459617820 = divInt(toFill_1459617819, 2); - F.line = 345; - result_1459617817 = nimCopy(null, (nsuRepeatChar(fill_1459617816, chckRange(half_1459617820, 0, 2147483647)) || []).concat(s_1459617813 || [],nsuRepeatChar(fill_1459617816, chckRange(subInt(toFill_1459617819, half_1459617820), 0, 2147483647)) || []), NTI33554449); + if ((align_1744830487 == 94)) { + var half_1744830492 = divInt(toFill_1744830491, 2); + result_1744830489 = nimCopy(null, (nsuRepeatChar(fill_1744830488, chckRange(half_1744830492, 0, 2147483647)) || []).concat(s_1744830485 || [],nsuRepeatChar(fill_1744830488, chckRange(subInt(toFill_1744830491, half_1744830492), 0, 2147483647)) || []), NTI33554449); } else { - F.line = 347; - result_1459617817 = nimCopy(null, (nsuRepeatChar(fill_1459617816, chckRange(toFill_1459617819, 0, 2147483647)) || []).concat(s_1459617813 || []), NTI33554449); + result_1744830489 = nimCopy(null, (nsuRepeatChar(fill_1744830488, chckRange(toFill_1744830491, 0, 2147483647)) || []).concat(s_1744830485 || []), NTI33554449); } }} } - framePtr = F.prev; - return result_1459617817; + return result_1744830489; } -function formatValue_1442840708(result_1442840710, result_1442840710_Idx, value_1442840711) { - var F = {procname: "formatValue.formatValue", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/strformat.nim", line: 0}; - framePtr = F; - F.line = 593; - F.filename = "strformat.nim"; - var value_1442840720 = nimCopy(null, value_1442840711, NTI33554449); - F.line = 604; - result_1442840710[result_1442840710_Idx].push.apply(result_1442840710[result_1442840710_Idx], alignString_1459617812(value_1442840720, 0, 0, 32));; - framePtr = F.prev; +function formatValue_1728053380(result_1728053382, result_1728053382_Idx, value_1728053383) { + var value_1728053392 = nimCopy(null, value_1728053383, NTI33554449); + result_1728053382[result_1728053382_Idx].push.apply(result_1728053382[result_1728053382_Idx], alignString_1744830484(value_1728053392, 0, 0, 32));; } -function registerSynergy_1442840657(s_1442840658, secret_1442840659, secretSecret_1442840660) { +function registerSynergy_1728053329(s_1728053330, secret_1728053331, secretSecret_1728053332) { var Temporary5; var Temporary9; var Temporary12; - var F = {procname: "power.registerSynergy", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/power.nim", line: 0}; - framePtr = F; - if (!((secret_1442840659 || !(secretSecret_1442840660)))) { - F.line = 97; - F.filename = "power.nim"; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/the-playground/chess/src/power.nim(97, 5) `secret or not secretSecret` ")); - } - - F.line = 98; - var x_1442840666 = nimCopy(null, s_1442840658, NTI1442840582); - F.line = 100; - x_1442840666.Field0.rarity = x_1442840666.Field1; - F.line = 101; - x_1442840666.Field0.index = addInt(powers_1442840649[0][chckIndx(subInt((powers_1442840649[0]).length, 1), 0, (powers_1442840649[0]).length - 1)].index, 1); - F.line = 102; - x_1442840666.Field0.synergy = true; - F.line = 104; - F.line = 975; - F.filename = "sequtils.nim"; - var sHEX60gensym2_1442840675 = nimCopy(null, s_1442840658.Field2, NTI1442840587); - F.line = 976; - var nHEX60gensym2_1442840679 = (sHEX60gensym2_1442840675).length; - if (!((0 < nHEX60gensym2_1442840679))) { - F.line = 977; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/sequtils.nim(977, 3) `n`gensym2 > 0` Can\'t fold empty sequences")); - } - - F.line = 978; - var resultHEX60gensym2_1442840685 = nimCopy(null, sHEX60gensym2_1442840675[chckIndx(subInt(nHEX60gensym2_1442840679, 1), 0, (sHEX60gensym2_1442840675).length - 1)], NTI33554449); + if (!((secret_1728053331 || !(secretSecret_1728053332)))) { + failedAssertImpl_268435541([112,111,119,101,114,46,110,105,109,40,57,55,44,32,53,41,32,96,115,101,99,114,101,116,32,111,114,32,110,111,116,32,115,101,99,114,101,116,83,101,99,114,101,116,96,32]); + } + + var x_1728053338 = nimCopy(null, s_1728053330, NTI1728053254); + x_1728053338.Field0.rarity = x_1728053338.Field1; + x_1728053338.Field0.index = addInt(powers_1728053321[0][chckIndx(subInt((powers_1728053321[0]).length, 1), 0, (powers_1728053321[0]).length - 1)].index, 1); + x_1728053338.Field0.synergy = true; + var sHEX60gensym2_1728053347 = nimCopy(null, s_1728053330.Field2, NTI1728053259); + var nHEX60gensym2_1728053351 = (sHEX60gensym2_1728053347).length; + if (!((0 < nHEX60gensym2_1728053351))) { + failedAssertImpl_268435541([115,101,113,117,116,105,108,115,46,110,105,109,40,57,55,55,44,32,51,41,32,96,110,96,103,101,110,115,121,109,50,32,62,32,48,96,32,67,97,110,39,116,32,102,111,108,100,32,101,109,112,116,121,32,115,101,113,117,101,110,99,101,115]); + } + + var resultHEX60gensym2_1728053357 = nimCopy(null, sHEX60gensym2_1728053347[chckIndx(subInt(nHEX60gensym2_1728053351, 1), 0, (sHEX60gensym2_1728053347).length - 1)], NTI33554449); Label1: { - F.line = 979; - var iHEX60gensym2_1442840691 = 0; - F.line = 6; - F.filename = "iterators_1.nim"; - var colontmp__1493179020 = 0; - F.line = 979; - F.filename = "sequtils.nim"; - colontmp__1493179020 = subInt(nHEX60gensym2_1442840679, 2); - F.line = 33; - F.filename = "iterators_1.nim"; - var res_1493179021 = colontmp__1493179020; + var iHEX60gensym2_1728053363 = 0; + var colontmp__1845500579 = 0; + colontmp__1845500579 = subInt(nHEX60gensym2_1728053351, 2); + var res_1845500581 = colontmp__1845500579; Label2: { - F.line = 34; Label3: while (true) { - if (!(0 <= res_1493179021)) break Label3; - F.line = 979; - F.filename = "sequtils.nim"; - iHEX60gensym2_1442840691 = res_1493179021; - F.line = 981; - var a_1442840692 = nimCopy(null, sHEX60gensym2_1442840675[chckIndx(iHEX60gensym2_1442840691, 0, (sHEX60gensym2_1442840675).length - 1)], NTI33554449); - F.line = 982; - var b_1442840693 = nimCopy(null, resultHEX60gensym2_1442840685, NTI33554449); - F.line = 104; - F.filename = "power.nim"; - resultHEX60gensym2_1442840685 = nimCopy(null, (a_1442840692 || []).concat([32,43,32] || [],b_1442840693 || []), NTI33554449); - F.line = 39; - F.filename = "iterators_1.nim"; - res_1493179021 = subInt(res_1493179021, 1); + if (!(0 <= res_1845500581)) break Label3; + iHEX60gensym2_1728053363 = res_1845500581; + var a_1728053364 = nimCopy(null, sHEX60gensym2_1728053347[chckIndx(iHEX60gensym2_1728053363, 0, (sHEX60gensym2_1728053347).length - 1)], NTI33554449); + var b_1728053365 = nimCopy(null, resultHEX60gensym2_1728053357, NTI33554449); + resultHEX60gensym2_1728053357 = nimCopy(null, (a_1728053364 || []).concat([32,43,32] || [],b_1728053365 || []), NTI33554449); + res_1845500581 = subInt(res_1845500581, 1); } }; }; - var requirements_1442840694 = nimCopy(null, resultHEX60gensym2_1442840685, NTI33554449); - if ((secret_1442840659 && !(secretSecret_1442840660))) { - F.line = 108; - F.filename = "power.nim"; + var requirements_1728053366 = nimCopy(null, resultHEX60gensym2_1728053357, NTI33554449); + if ((secret_1728053331 && !(secretSecret_1728053332))) { Label4: { - F.line = 108; - var fmtRes_1442840703 = [mnewString(0)]; - F.line = 108; - fmtRes_1442840703[0].push.apply(fmtRes_1442840703[0], [83,101,99,114,101,116,32,83,121,110,101,114,103,121,33,32,40]);; - F.line = 108; - formatValue_1442840708(fmtRes_1442840703, 0, requirements_1442840694); - F.line = 108; - fmtRes_1442840703[0].push.apply(fmtRes_1442840703[0], [41,32,45,45,32]);; - F.line = 108; - formatValue_1442840708(fmtRes_1442840703, 0, x_1442840666.Field0.description); + var fmtRes_1728053375 = [mnewString(0)]; + fmtRes_1728053375[0].push.apply(fmtRes_1728053375[0], [83,101,99,114,101,116,32,83,121,110,101,114,103,121,33,32,40]);; + formatValue_1728053380(fmtRes_1728053375, 0, requirements_1728053366); + fmtRes_1728053375[0].push.apply(fmtRes_1728053375[0], [41,32,45,45,32]);; + formatValue_1728053380(fmtRes_1728053375, 0, x_1728053338.Field0.description); }; - x_1442840666.Field0.description = nimCopy(null, fmtRes_1442840703[0], NTI33554449); - F.line = 110; - if (eqStrings(x_1442840666.Field0.technicalName, [])) { + x_1728053338.Field0.description = nimCopy(null, fmtRes_1728053375[0], NTI33554449); + if (eqStrings(x_1728053338.Field0.technicalName, [])) { Label6: { - F.line = 110; - var fmtRes_1442840730 = [mnewString(0)]; - F.line = 110; - formatValue_1442840708(fmtRes_1442840730, 0, x_1442840666.Field0.name); - F.line = 110; - fmtRes_1442840730[0].push.apply(fmtRes_1442840730[0], [32,40,83,101,99,114,101,116,32,83,121,110,101,114,103,121,32,111,102,32]);; - F.line = 110; - formatValue_1442840708(fmtRes_1442840730, 0, requirements_1442840694); - F.line = 110; - fmtRes_1442840730[0].push.apply(fmtRes_1442840730[0], [41]);; + var fmtRes_1728053402 = [mnewString(0)]; + formatValue_1728053380(fmtRes_1728053402, 0, x_1728053338.Field0.name); + fmtRes_1728053402[0].push.apply(fmtRes_1728053402[0], [32,40,83,101,99,114,101,116,32,83,121,110,101,114,103,121,32,111,102,32]);; + formatValue_1728053380(fmtRes_1728053402, 0, requirements_1728053366); + fmtRes_1728053402[0].push.apply(fmtRes_1728053402[0], [41]);; }; - Temporary5 = fmtRes_1442840730[0]; + Temporary5 = fmtRes_1728053402[0]; } else { Label7: { - F.line = 111; - var fmtRes_1442840745 = [mnewString(0)]; - F.line = 111; - formatValue_1442840708(fmtRes_1442840745, 0, x_1442840666.Field0.technicalName); - F.line = 111; - fmtRes_1442840745[0].push.apply(fmtRes_1442840745[0], [32,40,83,101,99,114,101,116,32,83,121,110,101,114,103,121,32,111,102,32]);; - F.line = 111; - formatValue_1442840708(fmtRes_1442840745, 0, requirements_1442840694); - F.line = 111; - fmtRes_1442840745[0].push.apply(fmtRes_1442840745[0], [41]);; + var fmtRes_1728053417 = [mnewString(0)]; + formatValue_1728053380(fmtRes_1728053417, 0, x_1728053338.Field0.technicalName); + fmtRes_1728053417[0].push.apply(fmtRes_1728053417[0], [32,40,83,101,99,114,101,116,32,83,121,110,101,114,103,121,32,111,102,32]);; + formatValue_1728053380(fmtRes_1728053417, 0, requirements_1728053366); + fmtRes_1728053417[0].push.apply(fmtRes_1728053417[0], [41]);; }; - Temporary5 = fmtRes_1442840745[0]; + Temporary5 = fmtRes_1728053417[0]; } - x_1442840666.Field0.technicalName = nimCopy(null, Temporary5, NTI33554449); + x_1728053338.Field0.technicalName = nimCopy(null, Temporary5, NTI33554449); } else { - if (!(secret_1442840659)) { - F.line = 113; + if (!(secret_1728053331)) { Label8: { - F.line = 113; - var fmtRes_1442840760 = [mnewString(0)]; - F.line = 113; - fmtRes_1442840760[0].push.apply(fmtRes_1442840760[0], [83,121,110,101,114,103,121,33,32,40]);; - F.line = 113; - formatValue_1442840708(fmtRes_1442840760, 0, requirements_1442840694); - F.line = 113; - fmtRes_1442840760[0].push.apply(fmtRes_1442840760[0], [41,32,45,45,32]);; - F.line = 113; - formatValue_1442840708(fmtRes_1442840760, 0, x_1442840666.Field0.description); + var fmtRes_1728053432 = [mnewString(0)]; + fmtRes_1728053432[0].push.apply(fmtRes_1728053432[0], [83,121,110,101,114,103,121,33,32,40]);; + formatValue_1728053380(fmtRes_1728053432, 0, requirements_1728053366); + fmtRes_1728053432[0].push.apply(fmtRes_1728053432[0], [41,32,45,45,32]);; + formatValue_1728053380(fmtRes_1728053432, 0, x_1728053338.Field0.description); }; - x_1442840666.Field0.description = nimCopy(null, fmtRes_1442840760[0], NTI33554449); - F.line = 115; - if (eqStrings(x_1442840666.Field0.technicalName, [])) { + x_1728053338.Field0.description = nimCopy(null, fmtRes_1728053432[0], NTI33554449); + if (eqStrings(x_1728053338.Field0.technicalName, [])) { Label10: { - F.line = 115; - var fmtRes_1442840775 = [mnewString(0)]; - F.line = 115; - formatValue_1442840708(fmtRes_1442840775, 0, x_1442840666.Field0.name); - F.line = 115; - fmtRes_1442840775[0].push.apply(fmtRes_1442840775[0], [32,40,83,121,110,101,114,103,121,32,111,102,32]);; - F.line = 115; - formatValue_1442840708(fmtRes_1442840775, 0, requirements_1442840694); - F.line = 115; - fmtRes_1442840775[0].push.apply(fmtRes_1442840775[0], [41]);; + var fmtRes_1728053447 = [mnewString(0)]; + formatValue_1728053380(fmtRes_1728053447, 0, x_1728053338.Field0.name); + fmtRes_1728053447[0].push.apply(fmtRes_1728053447[0], [32,40,83,121,110,101,114,103,121,32,111,102,32]);; + formatValue_1728053380(fmtRes_1728053447, 0, requirements_1728053366); + fmtRes_1728053447[0].push.apply(fmtRes_1728053447[0], [41]);; }; - Temporary9 = fmtRes_1442840775[0]; + Temporary9 = fmtRes_1728053447[0]; } else { Label11: { - F.line = 116; - var fmtRes_1442840790 = [mnewString(0)]; - F.line = 116; - formatValue_1442840708(fmtRes_1442840790, 0, x_1442840666.Field0.technicalName); - F.line = 116; - fmtRes_1442840790[0].push.apply(fmtRes_1442840790[0], [32,40,83,121,110,101,114,103,121,32,111,102,32]);; - F.line = 116; - formatValue_1442840708(fmtRes_1442840790, 0, requirements_1442840694); - F.line = 116; - fmtRes_1442840790[0].push.apply(fmtRes_1442840790[0], [41]);; + var fmtRes_1728053462 = [mnewString(0)]; + formatValue_1728053380(fmtRes_1728053462, 0, x_1728053338.Field0.technicalName); + fmtRes_1728053462[0].push.apply(fmtRes_1728053462[0], [32,40,83,121,110,101,114,103,121,32,111,102,32]);; + formatValue_1728053380(fmtRes_1728053462, 0, requirements_1728053366); + fmtRes_1728053462[0].push.apply(fmtRes_1728053462[0], [41]);; }; - Temporary9 = fmtRes_1442840790[0]; + Temporary9 = fmtRes_1728053462[0]; } - x_1442840666.Field0.technicalName = nimCopy(null, Temporary9, NTI33554449); + x_1728053338.Field0.technicalName = nimCopy(null, Temporary9, NTI33554449); } else { - F.line = 119; - if (eqStrings(x_1442840666.Field0.technicalName, [])) { + if (eqStrings(x_1728053338.Field0.technicalName, [])) { Label13: { - F.line = 119; - var fmtRes_1442840805 = [mnewString(0)]; - F.line = 119; - formatValue_1442840708(fmtRes_1442840805, 0, x_1442840666.Field0.name); - F.line = 119; - fmtRes_1442840805[0].push.apply(fmtRes_1442840805[0], [32,40,83,101,99,114,101,116,32,83,101,99,114,101,116,32,83,121,110,101,114,103,121,32,111,102,32]);; - F.line = 119; - formatValue_1442840708(fmtRes_1442840805, 0, requirements_1442840694); - F.line = 119; - fmtRes_1442840805[0].push.apply(fmtRes_1442840805[0], [41]);; + var fmtRes_1728053477 = [mnewString(0)]; + formatValue_1728053380(fmtRes_1728053477, 0, x_1728053338.Field0.name); + fmtRes_1728053477[0].push.apply(fmtRes_1728053477[0], [32,40,83,101,99,114,101,116,32,83,101,99,114,101,116,32,83,121,110,101,114,103,121,32,111,102,32]);; + formatValue_1728053380(fmtRes_1728053477, 0, requirements_1728053366); + fmtRes_1728053477[0].push.apply(fmtRes_1728053477[0], [41]);; }; - Temporary12 = fmtRes_1442840805[0]; + Temporary12 = fmtRes_1728053477[0]; } else { Label14: { - F.line = 120; - var fmtRes_1442840820 = [mnewString(0)]; - F.line = 120; - formatValue_1442840708(fmtRes_1442840820, 0, x_1442840666.Field0.technicalName); - F.line = 120; - fmtRes_1442840820[0].push.apply(fmtRes_1442840820[0], [32,40,83,101,99,114,101,116,32,83,101,99,114,101,116,32,83,121,110,101,114,103,121,32,111,102,32]);; - F.line = 120; - formatValue_1442840708(fmtRes_1442840820, 0, requirements_1442840694); - F.line = 120; - fmtRes_1442840820[0].push.apply(fmtRes_1442840820[0], [41]);; + var fmtRes_1728053492 = [mnewString(0)]; + formatValue_1728053380(fmtRes_1728053492, 0, x_1728053338.Field0.technicalName); + fmtRes_1728053492[0].push.apply(fmtRes_1728053492[0], [32,40,83,101,99,114,101,116,32,83,101,99,114,101,116,32,83,121,110,101,114,103,121,32,111,102,32]);; + formatValue_1728053380(fmtRes_1728053492, 0, requirements_1728053366); + fmtRes_1728053492[0].push.apply(fmtRes_1728053492[0], [41]);; }; - Temporary12 = fmtRes_1442840820[0]; + Temporary12 = fmtRes_1728053492[0]; } - x_1442840666.Field0.technicalName = nimCopy(null, Temporary12, NTI33554449); + x_1728053338.Field0.technicalName = nimCopy(null, Temporary12, NTI33554449); } } - F.line = 122; - var Temporary15 = nimCopy(null, x_1442840666.Field0, NTI1442840581); - powers_1442840649[0].push(Temporary15);; - if (secretSecret_1442840660) { - F.line = 123; - var Temporary16 = nimCopy(null, x_1442840666, NTI1442840582); - secretSecretSynergies_1442840652[0].push(Temporary16);; + var Temporary15 = nimCopy(null, x_1728053338.Field0, NTI1728053253); + powers_1728053321[0].push(Temporary15);; + if (secretSecret_1728053332) { + var Temporary16 = nimCopy(null, x_1728053338, NTI1728053254); + secretSecretSynergies_1728053324[0].push(Temporary16);; } else { - if (secret_1442840659) { - F.line = 124; - var Temporary17 = nimCopy(null, x_1442840666, NTI1442840582); - secretSynergies_1442840651[0].push(Temporary17);; + if (secret_1728053331) { + var Temporary17 = nimCopy(null, x_1728053338, NTI1728053254); + secretSynergies_1728053323[0].push(Temporary17);; } else { - F.line = 125; - var Temporary18 = nimCopy(null, x_1442840666, NTI1442840582); - draftSynergies_1442840650[0].push(Temporary18);; + var Temporary18 = nimCopy(null, x_1728053338, NTI1728053254); + draftSynergies_1728053322[0].push(Temporary18);; } } - framePtr = F.prev; } -function isNone_1409289526(self_1409289528) { - var result_1409289529 = false; +function isNone_1660947766(self_1660947768) { + var result_1660947769 = false; - var F = {procname: "isNone.isNone", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/options.nim", line: 0}; - framePtr = F; - F.line = 176; - F.filename = "options.nim"; - result_1409289529 = !(self_1409289528.has); - framePtr = F.prev; + result_1660947769 = !(self_1660947768.has); - return result_1409289529; + return result_1660947769; } -function get_1409289543(self_1409289545) { - var result_1409289546 = 0; +function get_1660947783(self_1660947785) { + var result_1660947786 = 0; - var F = {procname: "get.get", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/options.nim", line: 0}; - framePtr = F; - if (isNone_1409289526(self_1409289545)) { - F.line = 202; - F.filename = "options.nim"; - raiseException({message: [67,97,110,39,116,32,111,98,116,97,105,110,32,97,32,118,97,108,117,101,32,102,114,111,109,32,97,32,96,110,111,110,101,96], parent: null, m_type: NTI1241514007, name: null, trace: [], up: null}, "UnpackDefect"); + if (isNone_1660947766(self_1660947785)) { + raiseException({message: [67,97,110,39,116,32,111,98,116,97,105,110,32,97,32,118,97,108,117,101,32,102,114,111,109,32,97,32,96,110,111,110,101,96], parent: null, m_type: NTI1493172247, name: null, trace: [], up: null}, "UnpackDefect"); } - F.line = 203; - result_1409289546 = self_1409289545["val"]; - framePtr = F.prev; + result_1660947786 = self_1660947785["val"]; - return result_1409289546; + return result_1660947786; } -function HEX3Aanonymous_1493178124(side_1493178125, piece_1493178126, b_1493178127, s_1493178128) { - var result_1493178129 = []; +function HEX3Aanonymous_1845499683(side_1845499684, piece_1845499685, b_1845499686, s_1845499687) { + var result_1845499688 = []; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; BeforeRet: { - if (!(isSome_1409289449(s_1493178128.Field1[chckIndx(side_1493178125, 0, (s_1493178128.Field1).length - 1)].wallet))) { - F.line = 2054; - F.filename = "powers.nim"; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/the-playground/chess/src/powers.nim(2054, 9) `s.side[side].wallet.isSome()` ")); + if (!(isSome_1660947689(s_1845499687.Field1[chckIndx(side_1845499684, 0, (s_1845499687.Field1).length - 1)].wallet))) { + failedAssertImpl_268435541([112,111,119,101,114,115,46,110,105,109,40,50,48,55,56,44,32,57,41,32,96,115,46,115,105,100,101,91,115,105,100,101,93,46,119,97,108,108,101,116,46,105,115,83,111,109,101,40,41,96,32]); } - if (((s_1493178128.Field0.turnNumber <= 1) || !((get_1409289543(s_1493178128.Field1[chckIndx(side_1493178125, 0, (s_1493178128.Field1).length - 1)].wallet) == 0)))) { - F.line = 2058; - result_1493178129 = nimCopy(null, [], NTI1291845837); + if (((s_1845499687.Field0.turnNumber <= 1) || !((get_1660947783(s_1845499687.Field1[chckIndx(side_1845499684, 0, (s_1845499687.Field1).length - 1)].wallet) == 0)))) { + result_1845499688 = nimCopy(null, [], NTI1543504077); break BeforeRet; } Label1: { - F.line = 2060; - var i_1493178161 = 0; - F.line = 2060; - var j_1493178162 = 0; + var i_1845499720 = 0; + var j_1845499721 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493179039 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179040 = 0; + var i_1845500599 = 0; + var i_1845500600 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493179040 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493179039 = i_1493179040; + if (!(i_1845500600 < 8)) break Label4; + i_1845500599 = i_1845500600; Label5: { - F.line = 125; - var j_1493179043 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179044 = 0; + var j_1845500603 = 0; + var i_1845500604 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493179044 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493179043 = i_1493179044; - F.line = 2060; - F.filename = "powers.nim"; - i_1493178161 = i_1493179039; - F.line = 2060; - j_1493178162 = j_1493179043; - if (!((b_1493178127[chckIndx(i_1493178161, 0, (b_1493178127).length - 1)][chckIndx(j_1493178162, 0, (b_1493178127[chckIndx(i_1493178161, 0, (b_1493178127).length - 1)]).length - 1)].item == 0))) { - F.line = 2062; - var Temporary8 = nimCopy(null, b_1493178127[chckIndx(i_1493178161, 0, (b_1493178127).length - 1)][chckIndx(j_1493178162, 0, (b_1493178127[chckIndx(i_1493178161, 0, (b_1493178127).length - 1)]).length - 1)].tile, NTI1224736771); - result_1493178129.push(Temporary8);; + if (!(i_1845500604 < 8)) break Label7; + j_1845500603 = i_1845500604; + i_1845499720 = i_1845500599; + j_1845499721 = j_1845500603; + if (!((b_1845499686[chckIndx(i_1845499720, 0, (b_1845499686).length - 1)][chckIndx(j_1845499721, 0, (b_1845499686[chckIndx(i_1845499720, 0, (b_1845499686).length - 1)]).length - 1)].item == 0))) { + var Temporary8 = nimCopy(null, b_1845499686[chckIndx(i_1845499720, 0, (b_1845499686).length - 1)][chckIndx(j_1845499721, 0, (b_1845499686[chckIndx(i_1845499720, 0, (b_1845499686).length - 1)]).length - 1)].tile, NTI1476395011); + result_1845499688.push(Temporary8);; } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493179044 = addInt(i_1493179044, 1); + i_1845500604 = addInt(i_1845500604, 1); } }; }; - F.line = 131; - i_1493179040 = addInt(i_1493179040, 1); + i_1845500600 = addInt(i_1845500600, 1); } }; }; }; }; - framePtr = F.prev; - return result_1493178129; + return result_1845499688; } -function HEX3Aanonymous_1493178172(side_1493178173, __1493178174, __1493178175, s_1493178176) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 2076; - F.filename = "powers.nim"; - s_1493178176.Field1[chckIndx(side_1493178173, 0, (s_1493178176.Field1).length - 1)].glass[chckIndx(1, 0, (s_1493178176.Field1[chckIndx(side_1493178173, 0, (s_1493178176.Field1).length - 1)].glass).length - 1)] = nimCopy(s_1493178176.Field1[chckIndx(side_1493178173, 0, (s_1493178176.Field1).length - 1)].glass[chckIndx(1, 0, (s_1493178176.Field1[chckIndx(side_1493178173, 0, (s_1493178176.Field1).length - 1)].glass).length - 1)], some_1493178051({Field0: 3, Field1: createZeroGlassAction_1493177973(side_1493178173), Field2: HEX3Aanonymous_1493178124}), NTI1224736839); - framePtr = F.prev; +function HEX3Aanonymous_1845499731(side_1845499732, __1845499733, __1845499734, s_1845499735) { + s_1845499735.Field1[chckIndx(side_1845499732, 0, (s_1845499735.Field1).length - 1)].glass[chckIndx(1, 0, (s_1845499735.Field1[chckIndx(side_1845499732, 0, (s_1845499735.Field1).length - 1)].glass).length - 1)] = nimCopy(s_1845499735.Field1[chckIndx(side_1845499732, 0, (s_1845499735.Field1).length - 1)].glass[chckIndx(1, 0, (s_1845499735.Field1[chckIndx(side_1845499732, 0, (s_1845499735.Field1).length - 1)].glass).length - 1)], some_1845499610({Field0: 3, Field1: createZeroGlassAction_1845499532(side_1845499732), Field2: HEX3Aanonymous_1845499683}), NTI1476395079); } -function HEX3DHEX3D_1224737206(a_1224737207, b_1224737208) { - var result_1224737209 = false; +function HEX3DHEX3D_1476395446(a_1476395447, b_1476395448) { + var result_1476395449 = false; - var F = {procname: "piece.==", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/piece.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 161; - F.filename = "piece.nim"; - result_1224737209 = (a_1224737207.index == b_1224737208.index); + result_1476395449 = (a_1476395447.index == b_1476395448.index); break BeforeRet; }; - framePtr = F.prev; - return result_1224737209; + return result_1476395449; } -function HEX3Aanonymous_1493178029(piece_1493178030, to_1493178031, b_1493178032, s_1493178033) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; +function HEX3Aanonymous_1845499588(piece_1845499589, to_1845499590, b_1845499591, s_1845499592) { BeforeRet: { - if (((HEX5BHEX5D_1224737124(b_1493178032, to_1493178031).item == 6) || HEX3DHEX3D_1224737206(HEX5BHEX5D_1224737124(b_1493178032, to_1493178031), piece_1493178030))) { - F.line = 1957; - F.filename = "powers.nim"; + if (((HEX5BHEX5D_1476395364(b_1845499591, to_1845499590).item == 6) || HEX3DHEX3D_1476395446(HEX5BHEX5D_1476395364(b_1845499591, to_1845499590), piece_1845499589))) { break BeforeRet; } - F.line = 1958; - piece_1493178030.onTake(piece_1493178030, to_1493178031, b_1493178032, s_1493178033); + piece_1845499589.onTake(piece_1845499589, to_1845499590, b_1845499591, s_1845499592); }; - framePtr = F.prev; } -function HEX3Aanonymous_1493177990(side_1493177991, piece_1493177992, b_1493177993, __1493177994) { - var result_1493177995 = []; +function HEX3Aanonymous_1845499549(side_1845499550, piece_1845499551, b_1845499552, __1845499553) { + var result_1845499554 = []; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; BeforeRet: { - if (!(isAtEnd_1224737998(piece_1493177992))) { - if ((piece_1493177992.color == 1)) { - F.line = 1948; - F.filename = "powers.nim"; - result_1493177995 = nimCopy(null, [nimCopy(null, tileAbove_1308622990(piece_1493177992.tile), NTI1224736771)], NTI1493177050); + if (!(isAtEnd_1476396238(piece_1845499551))) { + if ((piece_1845499551.color == 1)) { + result_1845499554 = nimCopy(null, [nimCopy(null, tileAbove_1560281230(piece_1845499551.tile), NTI1476395011)], NTI1845498586); break BeforeRet; } else { - F.line = 1950; - result_1493177995 = nimCopy(null, [nimCopy(null, tileBelow_1308622993(piece_1493177992.tile), NTI1224736771)], NTI1493177050); + result_1845499554 = nimCopy(null, [nimCopy(null, tileBelow_1560281233(piece_1845499551.tile), NTI1476395011)], NTI1845498586); break BeforeRet; } } else { - F.line = 1951; - result_1493177995 = nimCopy(null, [], NTI1291845837); + result_1845499554 = nimCopy(null, [], NTI1543504077); break BeforeRet; } }; - framePtr = F.prev; - return result_1493177995; + return result_1845499554; } -function HEX3Aanonymous_1493178069(side_1493178070, __1493178071, b_1493178072, s_1493178073) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 2017; - F.filename = "powers.nim"; - s_1493178073.Field1[chckIndx(side_1493178070, 0, (s_1493178073.Field1).length - 1)].glass[chckIndx(2, 0, (s_1493178073.Field1[chckIndx(side_1493178070, 0, (s_1493178073.Field1).length - 1)].glass).length - 1)] = nimCopy(s_1493178073.Field1[chckIndx(side_1493178070, 0, (s_1493178073.Field1).length - 1)].glass[chckIndx(2, 0, (s_1493178073.Field1[chckIndx(side_1493178070, 0, (s_1493178073.Field1).length - 1)].glass).length - 1)], some_1493178051({Field0: 5, Field1: HEX3Aanonymous_1493178029, Field2: HEX3Aanonymous_1493177990}), NTI1224736839); - framePtr = F.prev; +function HEX3Aanonymous_1845499628(side_1845499629, __1845499630, b_1845499631, s_1845499632) { + s_1845499632.Field1[chckIndx(side_1845499629, 0, (s_1845499632.Field1).length - 1)].glass[chckIndx(2, 0, (s_1845499632.Field1[chckIndx(side_1845499629, 0, (s_1845499632.Field1).length - 1)].glass).length - 1)] = nimCopy(s_1845499632.Field1[chckIndx(side_1845499629, 0, (s_1845499632.Field1).length - 1)].glass[chckIndx(2, 0, (s_1845499632.Field1[chckIndx(side_1845499629, 0, (s_1845499632.Field1).length - 1)].glass).length - 1)], some_1845499610({Field0: 5, Field1: HEX3Aanonymous_1845499588, Field2: HEX3Aanonymous_1845499549}), NTI1476395079); } -function HEX26_1493178227(x_1493178229, y_1493178230) { - var result_1493178231 = []; +function HEX26_1845499786(x_1845499788, y_1845499789) { + var result_1845499790 = []; - var F = {procname: "&.&", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 1537; - F.filename = "system.nim"; - result_1493178231 = new Array(chckRange(addInt((x_1493178229).length, (y_1493178230).length), 0, 2147483647)); for (var i = 0 ; i < chckRange(addInt((x_1493178229).length, (y_1493178230).length), 0, 2147483647) ; ++i) { result_1493178231[i] = null; } Label1: { - F.line = 1538; - var i_1493178249 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__1493179047 = 0; - F.line = 1538; - F.filename = "system.nim"; - colontmp__1493179047 = subInt((x_1493178229).length, 1); - F.line = 96; - F.filename = "iterators_1.nim"; - var res_1493179048 = 0; + result_1845499790 = new Array(chckRange(addInt((x_1845499788).length, (y_1845499789).length), 0, 2147483647)); for (var i = 0 ; i < chckRange(addInt((x_1845499788).length, (y_1845499789).length), 0, 2147483647) ; ++i) { result_1845499790[i] = null; } Label1: { + var i_1845499808 = 0; + var colontmp__1845500607 = 0; + colontmp__1845500607 = subInt((x_1845499788).length, 1); + var res_1845500608 = 0; Label2: { - F.line = 97; Label3: while (true) { - if (!(res_1493179048 <= colontmp__1493179047)) break Label3; - F.line = 1538; - F.filename = "system.nim"; - i_1493178249 = res_1493179048; - F.line = 1539; - result_1493178231[chckIndx(i_1493178249, 0, (result_1493178231).length - 1)] = x_1493178229[chckIndx(i_1493178249, 0, (x_1493178229).length - 1)]; - F.line = 102; - F.filename = "iterators_1.nim"; - res_1493179048 = addInt(res_1493179048, 1); + if (!(res_1845500608 <= colontmp__1845500607)) break Label3; + i_1845499808 = res_1845500608; + result_1845499790[chckIndx(i_1845499808, 0, (result_1845499790).length - 1)] = x_1845499788[chckIndx(i_1845499808, 0, (x_1845499788).length - 1)]; + res_1845500608 = addInt(res_1845500608, 1); } }; }; Label4: { - F.line = 1540; - F.filename = "system.nim"; - var i_1493178257 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__1493179051 = 0; - F.line = 1540; - F.filename = "system.nim"; - colontmp__1493179051 = subInt((y_1493178230).length, 1); - F.line = 96; - F.filename = "iterators_1.nim"; - var res_1493179052 = 0; + var i_1845499816 = 0; + var colontmp__1845500611 = 0; + colontmp__1845500611 = subInt((y_1845499789).length, 1); + var res_1845500612 = 0; Label5: { - F.line = 97; Label6: while (true) { - if (!(res_1493179052 <= colontmp__1493179051)) break Label6; - F.line = 1540; - F.filename = "system.nim"; - i_1493178257 = res_1493179052; - F.line = 1541; - result_1493178231[chckIndx(addInt(i_1493178257, (x_1493178229).length), 0, (result_1493178231).length - 1)] = y_1493178230[chckIndx(i_1493178257, 0, (y_1493178230).length - 1)]; - F.line = 102; - F.filename = "iterators_1.nim"; - res_1493179052 = addInt(res_1493179052, 1); + if (!(res_1845500612 <= colontmp__1845500611)) break Label6; + i_1845499816 = res_1845500612; + result_1845499790[chckIndx(addInt(i_1845499816, (x_1845499788).length), 0, (result_1845499790).length - 1)] = y_1845499789[chckIndx(i_1845499816, 0, (y_1845499789).length - 1)]; + res_1845500612 = addInt(res_1845500612, 1); } }; }; - framePtr = F.prev; - return result_1493178231; + return result_1845499790; } -function shuffle_1493178270(r_1493178272, x_1493178273) { - var F = {procname: "shuffle.shuffle", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/random.nim", line: 0}; - framePtr = F; +function shuffle_1845499829(r_1845499831, x_1845499832) { Label1: { - F.line = 640; - F.filename = "random.nim"; - var i_1493178282 = 0; - F.line = 6; - F.filename = "iterators_1.nim"; - var colontmp__1493179055 = 0; - F.line = 640; - F.filename = "random.nim"; - colontmp__1493179055 = (x_1493178273).length - 1; - F.line = 33; - F.filename = "iterators_1.nim"; - var res_1493179056 = colontmp__1493179055; + var i_1845499841 = 0; + var colontmp__1845500615 = 0; + colontmp__1845500615 = (x_1845499832).length - 1; + var res_1845500616 = colontmp__1845500615; Label2: { - F.line = 34; Label3: while (true) { - if (!(1 <= res_1493179056)) break Label3; - F.line = 640; - F.filename = "random.nim"; - i_1493178282 = res_1493179056; - F.line = 641; - var j_1493178283 = rand_1392509035(r_1493178272, chckRange(i_1493178282, 0, 2147483647)); - F.line = 642; - var Temporary4 = x_1493178273[chckIndx(i_1493178282, 0, (x_1493178273).length - 1)]; x_1493178273[chckIndx(i_1493178282, 0, (x_1493178273).length - 1)] = x_1493178273[chckIndx(j_1493178283, 0, (x_1493178273).length - 1)]; x_1493178273[chckIndx(j_1493178283, 0, (x_1493178273).length - 1)] = Temporary4; F.line = 39; - F.filename = "iterators_1.nim"; - res_1493179056 = subInt(res_1493179056, 1); + if (!(1 <= res_1845500616)) break Label3; + i_1845499841 = res_1845500616; + var j_1845499842 = rand_1644167275(r_1845499831, chckRange(i_1845499841, 0, 2147483647)); + var Temporary4 = x_1845499832[chckIndx(i_1845499841, 0, (x_1845499832).length - 1)]; x_1845499832[chckIndx(i_1845499841, 0, (x_1845499832).length - 1)] = x_1845499832[chckIndx(j_1845499842, 0, (x_1845499832).length - 1)]; x_1845499832[chckIndx(j_1845499842, 0, (x_1845499832).length - 1)] = Temporary4; res_1845500616 = subInt(res_1845500616, 1); } }; }; - framePtr = F.prev; } -function shuffle_1493178267(x_1493178269) { - var F = {procname: "shuffle.shuffle", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/random.nim", line: 0}; - framePtr = F; - F.line = 661; - F.filename = "random.nim"; - shuffle_1493178270(state_1392508942[0], x_1493178269); - framePtr = F.prev; +function shuffle_1845499826(x_1845499828) { + shuffle_1845499829(state_1644167182[0], x_1845499828); } -function HEX5BHEX5D_1493178314(s_1493178318, x_1493178319) { - var result_1493178320 = []; +function HEX5BHEX5D_1845499873(s_1845499877, x_1845499878) { + var result_1845499879 = []; - var F = {procname: "[].[]", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/indices.nim", line: 0}; - framePtr = F; - F.line = 139; - F.filename = "indices.nim"; - var a_1493178322 = x_1493178319.a; - F.line = 140; - var L_1493178324 = addInt(subInt(x_1493178319.b, a_1493178322), 1); - F.line = 141; - result_1493178320 = new Array(chckRange(L_1493178324, 0, 2147483647)); for (var i = 0 ; i < chckRange(L_1493178324, 0, 2147483647) ; ++i) { result_1493178320[i] = null; } Label1: { - F.line = 142; - var i_1493178333 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179059 = 0; + var a_1845499881 = x_1845499878.a; + var L_1845499883 = addInt(subInt(x_1845499878.b, a_1845499881), 1); + result_1845499879 = new Array(chckRange(L_1845499883, 0, 2147483647)); for (var i = 0 ; i < chckRange(L_1845499883, 0, 2147483647) ; ++i) { result_1845499879[i] = null; } Label1: { + var i_1845499892 = 0; + var i_1845500619 = 0; Label2: { - F.line = 129; Label3: while (true) { - if (!(i_1493179059 < L_1493178324)) break Label3; - F.line = 142; - F.filename = "indices.nim"; - i_1493178333 = i_1493179059; - F.line = 142; - result_1493178320[chckIndx(i_1493178333, 0, (result_1493178320).length - 1)] = s_1493178318[chckIndx(addInt(i_1493178333, a_1493178322), 0, (s_1493178318).length - 1)]; - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493179059 = addInt(i_1493179059, 1); + if (!(i_1845500619 < L_1845499883)) break Label3; + i_1845499892 = i_1845500619; + result_1845499879[chckIndx(i_1845499892, 0, (result_1845499879).length - 1)] = s_1845499877[chckIndx(addInt(i_1845499892, a_1845499881), 0, (s_1845499877).length - 1)]; + i_1845500619 = addInt(i_1845500619, 1); } }; }; - framePtr = F.prev; - return result_1493178320; + return result_1845499879; } -function HEX5BHEX5D_1493178343(s_1493178347, x_1493178348) { - var result_1493178349 = []; +function HEX5BHEX5D_1845499902(s_1845499906, x_1845499907) { + var result_1845499908 = []; - var F = {procname: "[].[]", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/indices.nim", line: 0}; - framePtr = F; - F.line = 139; - F.filename = "indices.nim"; - var a_1493178351 = x_1493178348.a; - F.line = 140; - var L_1493178356 = addInt(subInt(subInt((s_1493178347).length, x_1493178348.b), a_1493178351), 1); - F.line = 141; - result_1493178349 = new Array(chckRange(L_1493178356, 0, 2147483647)); for (var i = 0 ; i < chckRange(L_1493178356, 0, 2147483647) ; ++i) { result_1493178349[i] = null; } Label1: { - F.line = 142; - var i_1493178365 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179062 = 0; + var a_1845499910 = x_1845499907.a; + var L_1845499915 = addInt(subInt(subInt((s_1845499906).length, x_1845499907.b), a_1845499910), 1); + result_1845499908 = new Array(chckRange(L_1845499915, 0, 2147483647)); for (var i = 0 ; i < chckRange(L_1845499915, 0, 2147483647) ; ++i) { result_1845499908[i] = null; } Label1: { + var i_1845499924 = 0; + var i_1845500622 = 0; Label2: { - F.line = 129; Label3: while (true) { - if (!(i_1493179062 < L_1493178356)) break Label3; - F.line = 142; - F.filename = "indices.nim"; - i_1493178365 = i_1493179062; - F.line = 142; - result_1493178349[chckIndx(i_1493178365, 0, (result_1493178349).length - 1)] = s_1493178347[chckIndx(addInt(i_1493178365, a_1493178351), 0, (s_1493178347).length - 1)]; - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493179062 = addInt(i_1493179062, 1); + if (!(i_1845500622 < L_1845499915)) break Label3; + i_1845499924 = i_1845500622; + result_1845499908[chckIndx(i_1845499924, 0, (result_1845499908).length - 1)] = s_1845499906[chckIndx(addInt(i_1845499924, a_1845499910), 0, (s_1845499906).length - 1)]; + i_1845500622 = addInt(i_1845500622, 1); } }; }; - framePtr = F.prev; - return result_1493178349; + return result_1845499908; } -function HEX2EHEX2E_1006633065(a_1006633068, b_1006633069) { - var result_1006633072 = ({a: 0, b: 0}); +function HEX2EHEX2E_1090519145(a_1090519148, b_1090519149) { + var result_1090519152 = ({a: 0, b: 0}); - var F = {procname: ".....", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 418; - F.filename = "system.nim"; - result_1006633072 = nimCopy(result_1006633072, {a: a_1006633068, b: b_1006633069}, NTI1006633045); - framePtr = F.prev; + result_1090519152 = nimCopy(result_1090519152, {a: a_1090519148, b: b_1090519149}, NTI1090519125); - return result_1006633072; + return result_1090519152; } -function HEX3Aanonymous_1493178214(piece_1493178215, to_1493178216, b_1493178217, s_1493178218) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; +function HEX3Aanonymous_1845499773(piece_1845499774, to_1845499775, b_1845499776, s_1845499777) { BeforeRet: { - if (((isAir_1224737796(HEX5BHEX5D_1224737124(b_1493178217, to_1493178216)) || (HEX5BHEX5D_1224737124(b_1493178217, to_1493178216).item == 0)) || (piece_1493178215.item == 0))) { - F.line = 2097; - F.filename = "powers.nim"; + if (((isAir_1476396036(HEX5BHEX5D_1476395364(b_1845499776, to_1845499775)) || (HEX5BHEX5D_1476395364(b_1845499776, to_1845499775).item == 0)) || (piece_1845499774.item == 0))) { break BeforeRet; } - F.line = 2099; - randomize_1392509190(BigInt(addInt(addInt(s_1493178218.Field0.randSeed, mulInt(piece_1493178215.tile.Field1, 10)), mulInt(piece_1493178215.tile.Field0, 100)))); - F.line = 2101; - var allMoves_1493178261 = HEX26_1493178227(piece_1493178215.moves, HEX5BHEX5D_1224737124(b_1493178217, to_1493178216).moves); - F.line = 2102; - var allTakes_1493178266 = HEX26_1493178227(piece_1493178215.takes, HEX5BHEX5D_1224737124(b_1493178217, to_1493178216).takes); - F.line = 2104; - shuffle_1493178267(allMoves_1493178261); - F.line = 2105; - shuffle_1493178267(allTakes_1493178266); - F.line = 2107; - var casterMoves_1493178294 = (piece_1493178215.moves).length; - F.line = 2108; - var casterTakes_1493178298 = (piece_1493178215.takes).length; - F.line = 2112; - piece_1493178215.moves = nimCopy(null, HEX5BHEX5D_1493178314(allMoves_1493178261, HEX2EHEX2E_1056964656(0, subInt(casterMoves_1493178294, 1))), NTI1493177323); - F.line = 2113; - HEX5BHEX5D_1224737124(b_1493178217, to_1493178216).moves = nimCopy(null, HEX5BHEX5D_1493178343(allMoves_1493178261, HEX2EHEX2E_1006633065(casterMoves_1493178294, 1)), NTI1493177350); - F.line = 2114; - piece_1493178215.takes = nimCopy(null, HEX5BHEX5D_1493178314(allTakes_1493178266, HEX2EHEX2E_1056964656(0, subInt(casterTakes_1493178298, 1))), NTI1493177323); - F.line = 2115; - HEX5BHEX5D_1224737124(b_1493178217, to_1493178216).takes = nimCopy(null, HEX5BHEX5D_1493178343(allTakes_1493178266, HEX2EHEX2E_1006633065(casterTakes_1493178298, 1)), NTI1493177350); + randomize_1644167430(BigInt(addInt(addInt(s_1845499777.Field0.randSeed, mulInt(piece_1845499774.tile.Field1, 10)), mulInt(piece_1845499774.tile.Field0, 100)))); + var allMoves_1845499820 = HEX26_1845499786(piece_1845499774.moves, HEX5BHEX5D_1476395364(b_1845499776, to_1845499775).moves); + var allTakes_1845499825 = HEX26_1845499786(piece_1845499774.takes, HEX5BHEX5D_1476395364(b_1845499776, to_1845499775).takes); + shuffle_1845499826(allMoves_1845499820); + shuffle_1845499826(allTakes_1845499825); + var casterMoves_1845499853 = (piece_1845499774.moves).length; + var casterTakes_1845499857 = (piece_1845499774.takes).length; + piece_1845499774.moves = nimCopy(null, HEX5BHEX5D_1845499873(allMoves_1845499820, HEX2EHEX2E_1174405168(0, subInt(casterMoves_1845499853, 1))), NTI1845498859); + HEX5BHEX5D_1476395364(b_1845499776, to_1845499775).moves = nimCopy(null, HEX5BHEX5D_1845499902(allMoves_1845499820, HEX2EHEX2E_1090519145(casterMoves_1845499853, 1)), NTI1845498886); + piece_1845499774.takes = nimCopy(null, HEX5BHEX5D_1845499873(allTakes_1845499825, HEX2EHEX2E_1174405168(0, subInt(casterTakes_1845499857, 1))), NTI1845498859); + HEX5BHEX5D_1476395364(b_1845499776, to_1845499775).takes = nimCopy(null, HEX5BHEX5D_1845499902(allTakes_1845499825, HEX2EHEX2E_1090519145(casterTakes_1845499857, 1)), NTI1845498886); }; - framePtr = F.prev; } -function HEX3Aanonymous_1493178197(side_1493178198, piece_1493178199, b_1493178200, s_1493178201) { - var result_1493178202 = []; +function HEX3Aanonymous_1845499756(side_1845499757, piece_1845499758, b_1845499759, s_1845499760) { + var result_1845499761 = []; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; Label1: { - F.line = 2092; - F.filename = "powers.nim"; - var i_1493178203 = 0; - F.line = 2092; - var j_1493178204 = 0; + var i_1845499762 = 0; + var j_1845499763 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493179066 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179067 = 0; + var i_1845500626 = 0; + var i_1845500627 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493179067 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493179066 = i_1493179067; + if (!(i_1845500627 < 8)) break Label4; + i_1845500626 = i_1845500627; Label5: { - F.line = 125; - var j_1493179070 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179071 = 0; + var j_1845500630 = 0; + var i_1845500631 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493179071 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493179070 = i_1493179071; - F.line = 2092; - F.filename = "powers.nim"; - i_1493178203 = i_1493179066; - F.line = 2092; - j_1493178204 = j_1493179070; - if ((!((b_1493178200[chckIndx(i_1493178203, 0, (b_1493178200).length - 1)][chckIndx(j_1493178204, 0, (b_1493178200[chckIndx(i_1493178203, 0, (b_1493178200).length - 1)]).length - 1)].item == 0)) && !(isAir_1224737796(b_1493178200[chckIndx(i_1493178203, 0, (b_1493178200).length - 1)][chckIndx(j_1493178204, 0, (b_1493178200[chckIndx(i_1493178203, 0, (b_1493178200).length - 1)]).length - 1)])))) { - F.line = 2094; - var Temporary8 = nimCopy(null, b_1493178200[chckIndx(i_1493178203, 0, (b_1493178200).length - 1)][chckIndx(j_1493178204, 0, (b_1493178200[chckIndx(i_1493178203, 0, (b_1493178200).length - 1)]).length - 1)].tile, NTI1224736771); - result_1493178202.push(Temporary8);; + if (!(i_1845500631 < 8)) break Label7; + j_1845500630 = i_1845500631; + i_1845499762 = i_1845500626; + j_1845499763 = j_1845500630; + if ((!((b_1845499759[chckIndx(i_1845499762, 0, (b_1845499759).length - 1)][chckIndx(j_1845499763, 0, (b_1845499759[chckIndx(i_1845499762, 0, (b_1845499759).length - 1)]).length - 1)].item == 0)) && !(isAir_1476396036(b_1845499759[chckIndx(i_1845499762, 0, (b_1845499759).length - 1)][chckIndx(j_1845499763, 0, (b_1845499759[chckIndx(i_1845499762, 0, (b_1845499759).length - 1)]).length - 1)])))) { + var Temporary8 = nimCopy(null, b_1845499759[chckIndx(i_1845499762, 0, (b_1845499759).length - 1)][chckIndx(j_1845499763, 0, (b_1845499759[chckIndx(i_1845499762, 0, (b_1845499759).length - 1)]).length - 1)].tile, NTI1476395011); + result_1845499761.push(Temporary8);; } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493179071 = addInt(i_1493179071, 1); + i_1845500631 = addInt(i_1845500631, 1); } }; }; - F.line = 131; - i_1493179067 = addInt(i_1493179067, 1); + i_1845500627 = addInt(i_1845500627, 1); } }; }; }; - framePtr = F.prev; - return result_1493178202; + return result_1845499761; } -function HEX3Aanonymous_1493178403(side_1493178404, __1493178405, __1493178406, s_1493178407) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 2131; - F.filename = "powers.nim"; - s_1493178407.Field1[chckIndx(side_1493178404, 0, (s_1493178407.Field1).length - 1)].glass[chckIndx(3, 0, (s_1493178407.Field1[chckIndx(side_1493178404, 0, (s_1493178407.Field1).length - 1)].glass).length - 1)] = nimCopy(s_1493178407.Field1[chckIndx(side_1493178404, 0, (s_1493178407.Field1).length - 1)].glass[chckIndx(3, 0, (s_1493178407.Field1[chckIndx(side_1493178404, 0, (s_1493178407.Field1).length - 1)].glass).length - 1)], some_1493178051({Field0: 3, Field1: HEX3Aanonymous_1493178214, Field2: HEX3Aanonymous_1493178197}), NTI1224736839); - framePtr = F.prev; +function HEX3Aanonymous_1845499962(side_1845499963, __1845499964, __1845499965, s_1845499966) { + s_1845499966.Field1[chckIndx(side_1845499963, 0, (s_1845499966.Field1).length - 1)].glass[chckIndx(3, 0, (s_1845499966.Field1[chckIndx(side_1845499963, 0, (s_1845499966.Field1).length - 1)].glass).length - 1)] = nimCopy(s_1845499966.Field1[chckIndx(side_1845499963, 0, (s_1845499966.Field1).length - 1)].glass[chckIndx(3, 0, (s_1845499966.Field1[chckIndx(side_1845499963, 0, (s_1845499966.Field1).length - 1)].glass).length - 1)], some_1845499610({Field0: 3, Field1: HEX3Aanonymous_1845499773, Field2: HEX3Aanonymous_1845499756}), NTI1476395079); } -function HEX3Aanonymous_1493178436(piece_1493178437, to_1493178438, b_1493178439, s_1493178440) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; +function HEX3Aanonymous_1845499995(piece_1845499996, to_1845499997, b_1845499998, s_1845499999) { BeforeRet: { - if ((isAir_1224737796(HEX5BHEX5D_1224737124(b_1493178439, to_1493178438)) || HEX5BHEX5D_1224737124(b_1493178439, to_1493178438).promoted)) { - F.line = 2147; - F.filename = "powers.nim"; + if ((isAir_1476396036(HEX5BHEX5D_1476395364(b_1845499998, to_1845499997)) || HEX5BHEX5D_1476395364(b_1845499998, to_1845499997).promoted)) { break BeforeRet; } Label1: { - F.line = 181; - F.filename = "piece.nim"; - var xHEX60gensym427_1493178445 = null; - F.line = 247; - F.filename = "iterators.nim"; - var colontmp__1493179074 = []; - F.line = 181; - F.filename = "piece.nim"; - colontmp__1493179074 = HEX5BHEX5D_1224737124(b_1493178439, to_1493178438).onPromote; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493179075 = 0; - F.line = 250; - var L_1493179076 = (colontmp__1493179074).length; + var xHEX60gensym428_1845500004 = null; + var colontmp__1845500634 = []; + colontmp__1845500634 = HEX5BHEX5D_1476395364(b_1845499998, to_1845499997).onPromote; + var i_1845500635 = 0; + var L_1845500636 = (colontmp__1845500634).length; Label2: { - F.line = 251; Label3: while (true) { - if (!(i_1493179075 < L_1493179076)) break Label3; - F.line = 2148; - F.filename = "powers.nim"; - xHEX60gensym427_1493178445 = colontmp__1493179074[chckIndx(i_1493179075, 0, (colontmp__1493179074).length - 1)]; - F.line = 182; - F.filename = "piece.nim"; - xHEX60gensym427_1493178445(HEX5BHEX5D_1224737124(b_1493178439, to_1493178438), b_1493178439, s_1493178440); - if (HEX5BHEX5D_1224737124(b_1493178439, to_1493178438).promoted) { - F.line = 183; + if (!(i_1845500635 < L_1845500636)) break Label3; + xHEX60gensym428_1845500004 = colontmp__1845500634[chckIndx(i_1845500635, 0, (colontmp__1845500634).length - 1)]; + xHEX60gensym428_1845500004(HEX5BHEX5D_1476395364(b_1845499998, to_1845499997), b_1845499998, s_1845499999); + if (HEX5BHEX5D_1476395364(b_1845499998, to_1845499997).promoted) { break Label1; } - F.line = 13; - F.filename = "iterators.nim"; - i_1493179075 += 1; - if (!(((colontmp__1493179074).length == L_1493179076))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_1845500635 += 1; + if (!(((colontmp__1845500634).length == L_1845500636))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; }; - framePtr = F.prev; } -function HEX3Aanonymous_1493178415(side_1493178416, piece_1493178417, b_1493178418, s_1493178419) { - var result_1493178420 = []; +function HEX3Aanonymous_1845499974(side_1845499975, piece_1845499976, b_1845499977, s_1845499978) { + var result_1845499979 = []; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; Label1: { - F.line = 2140; - F.filename = "powers.nim"; - var i_1493178421 = 0; - F.line = 2140; - var j_1493178422 = 0; + var i_1845499980 = 0; + var j_1845499981 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493179080 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179081 = 0; + var i_1845500640 = 0; + var i_1845500641 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493179081 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493179080 = i_1493179081; + if (!(i_1845500641 < 8)) break Label4; + i_1845500640 = i_1845500641; Label5: { - F.line = 125; - var j_1493179084 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179085 = 0; + var j_1845500644 = 0; + var i_1845500645 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493179085 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493179084 = i_1493179085; - F.line = 2140; - F.filename = "powers.nim"; - i_1493178421 = i_1493179080; - F.line = 2140; - j_1493178422 = j_1493179084; - if (((isColor_1224737813(b_1493178418[chckIndx(i_1493178421, 0, (b_1493178418).length - 1)][chckIndx(j_1493178422, 0, (b_1493178418[chckIndx(i_1493178421, 0, (b_1493178418).length - 1)]).length - 1)], side_1493178416) && !(HEX3DHEX3D_1493174615(b_1493178418[chckIndx(i_1493178421, 0, (b_1493178418).length - 1)][chckIndx(j_1493178422, 0, (b_1493178418[chckIndx(i_1493178421, 0, (b_1493178418).length - 1)]).length - 1)].onPromote, [HEX3Aanonymous_1224737210]))) && !(b_1493178418[chckIndx(i_1493178421, 0, (b_1493178418).length - 1)][chckIndx(j_1493178422, 0, (b_1493178418[chckIndx(i_1493178421, 0, (b_1493178418).length - 1)]).length - 1)].promoted))) { - F.line = 2144; - var Temporary8 = nimCopy(null, b_1493178418[chckIndx(i_1493178421, 0, (b_1493178418).length - 1)][chckIndx(j_1493178422, 0, (b_1493178418[chckIndx(i_1493178421, 0, (b_1493178418).length - 1)]).length - 1)].tile, NTI1224736771); - result_1493178420.push(Temporary8);; + if (!(i_1845500645 < 8)) break Label7; + j_1845500644 = i_1845500645; + i_1845499980 = i_1845500640; + j_1845499981 = j_1845500644; + if (((isColor_1476396053(b_1845499977[chckIndx(i_1845499980, 0, (b_1845499977).length - 1)][chckIndx(j_1845499981, 0, (b_1845499977[chckIndx(i_1845499980, 0, (b_1845499977).length - 1)]).length - 1)], side_1845499975) && !(HEX3DHEX3D_1845496135(b_1845499977[chckIndx(i_1845499980, 0, (b_1845499977).length - 1)][chckIndx(j_1845499981, 0, (b_1845499977[chckIndx(i_1845499980, 0, (b_1845499977).length - 1)]).length - 1)].onPromote, [HEX3Aanonymous_1476395450]))) && !(b_1845499977[chckIndx(i_1845499980, 0, (b_1845499977).length - 1)][chckIndx(j_1845499981, 0, (b_1845499977[chckIndx(i_1845499980, 0, (b_1845499977).length - 1)]).length - 1)].promoted))) { + var Temporary8 = nimCopy(null, b_1845499977[chckIndx(i_1845499980, 0, (b_1845499977).length - 1)][chckIndx(j_1845499981, 0, (b_1845499977[chckIndx(i_1845499980, 0, (b_1845499977).length - 1)]).length - 1)].tile, NTI1476395011); + result_1845499979.push(Temporary8);; } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493179085 = addInt(i_1493179085, 1); + i_1845500645 = addInt(i_1845500645, 1); } }; }; - F.line = 131; - i_1493179081 = addInt(i_1493179081, 1); + i_1845500641 = addInt(i_1845500641, 1); } }; }; }; - framePtr = F.prev; - return result_1493178420; + return result_1845499979; } -function HEX3Aanonymous_1493178449(side_1493178450, __1493178451, __1493178452, s_1493178453) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 2163; - F.filename = "powers.nim"; - s_1493178453.Field1[chckIndx(side_1493178450, 0, (s_1493178453.Field1).length - 1)].glass[chckIndx(4, 0, (s_1493178453.Field1[chckIndx(side_1493178450, 0, (s_1493178453.Field1).length - 1)].glass).length - 1)] = nimCopy(s_1493178453.Field1[chckIndx(side_1493178450, 0, (s_1493178453.Field1).length - 1)].glass[chckIndx(4, 0, (s_1493178453.Field1[chckIndx(side_1493178450, 0, (s_1493178453.Field1).length - 1)].glass).length - 1)], some_1493178051({Field0: 1, Field1: HEX3Aanonymous_1493178436, Field2: HEX3Aanonymous_1493178415}), NTI1224736839); - framePtr = F.prev; +function HEX3Aanonymous_1845500008(side_1845500009, __1845500010, __1845500011, s_1845500012) { + s_1845500012.Field1[chckIndx(side_1845500009, 0, (s_1845500012.Field1).length - 1)].glass[chckIndx(4, 0, (s_1845500012.Field1[chckIndx(side_1845500009, 0, (s_1845500012.Field1).length - 1)].glass).length - 1)] = nimCopy(s_1845500012.Field1[chckIndx(side_1845500009, 0, (s_1845500012.Field1).length - 1)].glass[chckIndx(4, 0, (s_1845500012.Field1[chckIndx(side_1845500009, 0, (s_1845500012.Field1).length - 1)].glass).length - 1)], some_1845499610({Field0: 1, Field1: HEX3Aanonymous_1845499995, Field2: HEX3Aanonymous_1845499974}), NTI1476395079); } -function HEX3Aanonymous_1493173070(side_1493173071, viewerSide_1493173072, b_1493173073, s_1493173074) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 497; - F.filename = "powers.nim"; - HEX3Aanonymous_1493172651(side_1493173071, viewerSide_1493173072, b_1493173073, s_1493173074); - F.line = 498; - HEX3Aanonymous_1493172735(side_1493173071, viewerSide_1493173072, b_1493173073, s_1493173074); - F.line = 499; - HEX3Aanonymous_1493172889(side_1493173071, viewerSide_1493173072, b_1493173073, s_1493173074); - F.line = 500; - HEX3Aanonymous_1493172937(side_1493173071, viewerSide_1493173072, b_1493173073, s_1493173074); - framePtr = F.prev; +function HEX3Aanonymous_1845494606(side_1845494607, viewerSide_1845494608, b_1845494609, s_1845494610) { + HEX3Aanonymous_1845494187(side_1845494607, viewerSide_1845494608, b_1845494609, s_1845494610); + HEX3Aanonymous_1845494271(side_1845494607, viewerSide_1845494608, b_1845494609, s_1845494610); + HEX3Aanonymous_1845494425(side_1845494607, viewerSide_1845494608, b_1845494609, s_1845494610); + HEX3Aanonymous_1845494473(side_1845494607, viewerSide_1845494608, b_1845494609, s_1845494610); } -function HEX3Aanonymous_1493173444(side_1493173445, viewSide_1493173446, b_1493173447, state_1493173448) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 779; - F.filename = "powers.nim"; - HEX3Aanonymous_1493172845(side_1493173445, viewSide_1493173446, b_1493173447, state_1493173448); - F.line = 780; - HEX3Aanonymous_1493172856(side_1493173445, viewSide_1493173446, b_1493173447, state_1493173448); - F.line = 781; - HEX3Aanonymous_1493172823(side_1493173445, viewSide_1493173446, b_1493173447, state_1493173448); - F.line = 782; - HEX3Aanonymous_1493172834(side_1493173445, viewSide_1493173446, b_1493173447, state_1493173448); - framePtr = F.prev; +function HEX3Aanonymous_1845494980(side_1845494981, viewSide_1845494982, b_1845494983, state_1845494984) { + HEX3Aanonymous_1845494381(side_1845494981, viewSide_1845494982, b_1845494983, state_1845494984); + HEX3Aanonymous_1845494392(side_1845494981, viewSide_1845494982, b_1845494983, state_1845494984); + HEX3Aanonymous_1845494359(side_1845494981, viewSide_1845494982, b_1845494983, state_1845494984); + HEX3Aanonymous_1845494370(side_1845494981, viewSide_1845494982, b_1845494983, state_1845494984); } -function HEX3Aanonymous_1493173471(side_1493173472, viewSide_1493173473, b_1493173474, s_1493173475) { +function HEX3Aanonymous_1845495007(side_1845495008, viewSide_1845495009, b_1845495010, s_1845495011) { var Temporary1; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 801; - F.filename = "powers.nim"; - if ((side_1493173472 == 0)) { - Temporary1 = HEX3Aanonymous_1509949524; + if ((side_1845495008 == 0)) { + Temporary1 = HEX3Aanonymous_1862271060; } else { - Temporary1 = HEX3Aanonymous_1509949519; + Temporary1 = HEX3Aanonymous_1862271055; } - var addedMove_1493173480 = Temporary1; - F.line = 802; - buff_1493172242(3, side_1493173472, b_1493173474, s_1493173475, [addedMove_1493173480], [], [], false, [], null, null, null, false); - framePtr = F.prev; + var addedMove_1845495016 = Temporary1; + buff_1845493778(3, side_1845495008, b_1845495010, s_1845495011, [addedMove_1845495016], [], [], false, [], null, null, null, false); } -function HEX3Aanonymous_1509949728(board_1509949729, p_1509949730) { - var result_1509949731 = [[]]; +function HEX3Aanonymous_1862271264(board_1862271265, p_1862271266) { + var result_1862271267 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 186; - F.filename = "extramoves.nim"; - var _ = addIfFree_1291845640(result_1509949731, 0, board_1509949729, p_1509949730.tile, shooterFactory_1308622968(0, 1)); - F.line = 187; - var _ = addIfFree_1291845640(result_1509949731, 0, board_1509949729, p_1509949730.tile, shooterFactory_1308622968(0, 2)); - framePtr = F.prev; + var _ = addIfFree_1543503880(result_1862271267, 0, board_1862271265, p_1862271266.tile, shooterFactory_1560281208(0, 1)); + var _ = addIfFree_1543503880(result_1862271267, 0, board_1862271265, p_1862271266.tile, shooterFactory_1560281208(0, 2)); - return result_1509949731[0]; + return result_1862271267[0]; } -function HEX3Aanonymous_1509949738(board_1509949739, p_1509949740) { - var result_1509949741 = [[]]; +function HEX3Aanonymous_1862271274(board_1862271275, p_1862271276) { + var result_1862271277 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 194; - F.filename = "extramoves.nim"; - var _ = addIfFree_1291845640(result_1509949741, 0, board_1509949739, p_1509949740.tile, shooterFactory_1308622968(0, (-1))); - F.line = 195; - var _ = addIfFree_1291845640(result_1509949741, 0, board_1509949739, p_1509949740.tile, shooterFactory_1308622968(0, (-2))); - framePtr = F.prev; + var _ = addIfFree_1543503880(result_1862271277, 0, board_1862271275, p_1862271276.tile, shooterFactory_1560281208(0, (-1))); + var _ = addIfFree_1543503880(result_1862271277, 0, board_1862271275, p_1862271276.tile, shooterFactory_1560281208(0, (-2))); - return result_1509949741[0]; + return result_1862271277[0]; } -function HEX3Aanonymous_1493173533(side_1493173534, __1493173535, b_1493173536, s_1493173537) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 853; - F.filename = "powers.nim"; - buff_1493172242(2, side_1493173534, b_1493173536, s_1493173537, [HEX3Aanonymous_1291846082, HEX3Aanonymous_1509949728, HEX3Aanonymous_1509949738], [HEX3Aanonymous_1291846087, HEX3Aanonymous_1509949733, HEX3Aanonymous_1509949743], [], false, [], null, null, null, false); - framePtr = F.prev; +function HEX3Aanonymous_1845495069(side_1845495070, __1845495071, b_1845495072, s_1845495073) { + buff_1845493778(2, side_1845495070, b_1845495072, s_1845495073, [HEX3Aanonymous_1543504322, HEX3Aanonymous_1862271264, HEX3Aanonymous_1862271274], [HEX3Aanonymous_1543504327, HEX3Aanonymous_1862271269, HEX3Aanonymous_1862271279], [], false, [], null, null, null, false); } -function HEX3Aanonymous_1493173648(piece_1493173649, board_1493173650, state_1493173651) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - if ((piece_1493173649.piecesTaken == 3)) { +function HEX3Aanonymous_1845495184(piece_1845495185, board_1845495186, state_1845495187) { + if ((piece_1845495185.piecesTaken == 3)) { Label1: { - F.line = 955; - F.filename = "powers.nim"; - var i_1493173652 = 0; - F.line = 955; - var j_1493173653 = 0; + var i_1845495188 = 0; + var j_1845495189 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493179089 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179090 = 0; + var i_1845500649 = 0; + var i_1845500650 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493179090 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493179089 = i_1493179090; + if (!(i_1845500650 < 8)) break Label4; + i_1845500649 = i_1845500650; Label5: { - F.line = 125; - var j_1493179093 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179094 = 0; + var j_1845500653 = 0; + var i_1845500654 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493179094 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493179093 = i_1493179094; - F.line = 955; - F.filename = "powers.nim"; - i_1493173652 = i_1493179089; - F.line = 955; - j_1493173653 = j_1493179093; - if (((board_1493173650[chckIndx(i_1493173652, 0, (board_1493173650).length - 1)][chckIndx(j_1493173653, 0, (board_1493173650[chckIndx(i_1493173652, 0, (board_1493173650).length - 1)]).length - 1)].item == 0) && !(sameColor_1224737804(board_1493173650[chckIndx(i_1493173652, 0, (board_1493173650).length - 1)][chckIndx(j_1493173653, 0, (board_1493173650[chckIndx(i_1493173652, 0, (board_1493173650).length - 1)]).length - 1)], piece_1493173649)))) { - F.line = 958; - board_1493173650[chckIndx(i_1493173652, 0, (board_1493173650).length - 1)][chckIndx(j_1493173653, 0, (board_1493173650[chckIndx(i_1493173652, 0, (board_1493173650).length - 1)]).length - 1)] = nimCopy(board_1493173650[chckIndx(i_1493173652, 0, (board_1493173650).length - 1)][chckIndx(j_1493173653, 0, (board_1493173650[chckIndx(i_1493173652, 0, (board_1493173650).length - 1)]).length - 1)], pieceCopy_1224737660(air_1275068591, board_1493173650[chckIndx(i_1493173652, 0, (board_1493173650).length - 1)][chckIndx(j_1493173653, 0, (board_1493173650[chckIndx(i_1493173652, 0, (board_1493173650).length - 1)]).length - 1)].index, 6, 1, 0, 0, board_1493173650[chckIndx(i_1493173652, 0, (board_1493173650).length - 1)][chckIndx(j_1493173653, 0, (board_1493173650[chckIndx(i_1493173652, 0, (board_1493173650).length - 1)]).length - 1)].tile, [], [], air_1275068591.onMove, air_1275068591.onTake, air_1275068591.whenTaken, [], [], false, [], true, false, false), NTI1224736794); + if (!(i_1845500654 < 8)) break Label7; + j_1845500653 = i_1845500654; + i_1845495188 = i_1845500649; + j_1845495189 = j_1845500653; + if (((board_1845495186[chckIndx(i_1845495188, 0, (board_1845495186).length - 1)][chckIndx(j_1845495189, 0, (board_1845495186[chckIndx(i_1845495188, 0, (board_1845495186).length - 1)]).length - 1)].item == 0) && !(sameColor_1476396044(board_1845495186[chckIndx(i_1845495188, 0, (board_1845495186).length - 1)][chckIndx(j_1845495189, 0, (board_1845495186[chckIndx(i_1845495188, 0, (board_1845495186).length - 1)]).length - 1)], piece_1845495185)))) { + board_1845495186[chckIndx(i_1845495188, 0, (board_1845495186).length - 1)][chckIndx(j_1845495189, 0, (board_1845495186[chckIndx(i_1845495188, 0, (board_1845495186).length - 1)]).length - 1)] = nimCopy(board_1845495186[chckIndx(i_1845495188, 0, (board_1845495186).length - 1)][chckIndx(j_1845495189, 0, (board_1845495186[chckIndx(i_1845495188, 0, (board_1845495186).length - 1)]).length - 1)], pieceCopy_1476395900(air_1526726831, board_1845495186[chckIndx(i_1845495188, 0, (board_1845495186).length - 1)][chckIndx(j_1845495189, 0, (board_1845495186[chckIndx(i_1845495188, 0, (board_1845495186).length - 1)]).length - 1)].index, 6, 1, 0, 0, board_1845495186[chckIndx(i_1845495188, 0, (board_1845495186).length - 1)][chckIndx(j_1845495189, 0, (board_1845495186[chckIndx(i_1845495188, 0, (board_1845495186).length - 1)]).length - 1)].tile, [], [], air_1526726831.onMove, air_1526726831.onTake, air_1526726831.whenTaken, [], [], false, [], true, false, false), NTI1476395034); } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493179094 = addInt(i_1493179094, 1); + i_1845500654 = addInt(i_1845500654, 1); } }; }; - F.line = 131; - i_1493179090 = addInt(i_1493179090, 1); + i_1845500650 = addInt(i_1845500650, 1); } }; }; }; } - framePtr = F.prev; - - -} - -function HEX3Aanonymous_1493173659(side_1493173660, __1493173661, b_1493173662, s_1493173663) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 969; - F.filename = "powers.nim"; - buff_1493172242(0, side_1493173660, b_1493173662, s_1493173663, [], [], [HEX3Aanonymous_1493173648], false, [], null, null, null, false); - framePtr = F.prev; } -function HEX3Aanonymous_1493174454(piece_1493174455, taking_1493174456, board_1493174457, state_1493174458) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1474; - F.filename = "powers.nim"; - randomize_1392509190(BigInt(addInt(addInt(mulInt(10, piece_1493174455.tile.Field1), mulInt(100, piece_1493174455.tile.Field0)), state_1493174458.Field0.randSeed))); - F.line = 1475; - var dice_1493174459 = rand_1392509064(20); - F.line = 1477; - piece_1493174455.timesMoved = addInt(piece_1493174455.timesMoved, 1); - if (((dice_1493174459 <= 6) && !((HEX5BHEX5D_1224737124(board_1493174457, taking_1493174456).item == 0)))) { - F.line = 1479; - HEX5BHEX5D_1224737124(board_1493174457, taking_1493174456).color = piece_1493174455.color; - F.line = 1480; - HEX5BHEX5D_1224737124(board_1493174457, taking_1493174456).index = newIndex_1224737255(state_1493174458); - F.line = 1481; - pieceSwap_1224737595(piece_1493174455, HEX5BHEX5D_1224737124(board_1493174457, taking_1493174456), board_1493174457); - } - else { - F.line = 1483; - var takeResult_1493174469 = board_1493174457[chckIndx(taking_1493174456.Field1, 0, (board_1493174457).length - 1)][chckIndx(taking_1493174456.Field0, 0, (board_1493174457[chckIndx(taking_1493174456.Field1, 0, (board_1493174457).length - 1)]).length - 1)].whenTaken(board_1493174457[chckIndx(taking_1493174456.Field1, 0, (board_1493174457).length - 1)][chckIndx(taking_1493174456.Field0, 0, (board_1493174457[chckIndx(taking_1493174456.Field1, 0, (board_1493174457).length - 1)]).length - 1)], piece_1493174455, board_1493174457, state_1493174458); - if (takeResult_1493174469.Field1) { - F.line = 1485; - HEX5BHEX5D_1224737124(board_1493174457, takeResult_1493174469.Field0).piecesTaken = addInt(HEX5BHEX5D_1224737124(board_1493174457, takeResult_1493174469.Field0).piecesTaken, 1); - } - - } - - framePtr = F.prev; +function HEX3Aanonymous_1845495195(side_1845495196, __1845495197, b_1845495198, s_1845495199) { + buff_1845493778(0, side_1845495196, b_1845495198, s_1845495199, [], [], [HEX3Aanonymous_1845495184], false, [], null, null, null, false); } -function HEX3Aanonymous_1493174477(side_1493174478, __1493174479, b_1493174480, s_1493174481) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1496; - F.filename = "powers.nim"; - buff_1493172242(2, side_1493174478, b_1493174480, s_1493174481, [], [], [], false, [], null, HEX3Aanonymous_1493174454, null, false); - framePtr = F.prev; +function HEX3Aanonymous_1845495997(side_1845495998, __1845495999, b_1845496000, s_1845496001) { + buff_1845493778(2, side_1845495998, b_1845496000, s_1845496001, [], [], [], false, [], null, createConvertingTake_1845495961(0.3), null, false); } -function nsuFindChar(s_838862499, sub_838862500, start_838862501, last_838862502) { +function nsuFindChar(s_889194147, sub_889194148, start_889194149, last_889194150) { var Temporary1; - var result_838862503 = 0; + var result_889194151 = 0; - var F = {procname: "strutils.find", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/strutils.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 1945; - F.filename = "strutils.nim"; - result_838862503 = (-1); - F.line = 1946; - if ((last_838862502 < 0)) { - Temporary1 = (s_838862499).length - 1; + result_889194151 = (-1); + if ((last_889194150 < 0)) { + Temporary1 = (s_889194147).length - 1; } else { - Temporary1 = last_838862502; + Temporary1 = last_889194150; } - var last_838862504 = Temporary1; + var last_889194152 = Temporary1; Label2: { - F.line = 1949; - var iHEX60gensym176_838862518 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__1493179110 = 0; - F.line = 1949; - F.filename = "strutils.nim"; - colontmp__1493179110 = start_838862501; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_1493179111 = colontmp__1493179110; + var iHEX60gensym176_889194166 = 0; + var colontmp__1845500670 = 0; + colontmp__1845500670 = start_889194149; + var res_1845500671 = colontmp__1845500670; Label3: { - F.line = 97; Label4: while (true) { - if (!(res_1493179111 <= last_838862504)) break Label4; - F.line = 1963; - F.filename = "strutils.nim"; - iHEX60gensym176_838862518 = res_1493179111; - if ((s_838862499[chckIndx(iHEX60gensym176_838862518, 0, (s_838862499).length - 1)] == sub_838862500)) { - F.line = 1951; - result_838862503 = iHEX60gensym176_838862518; + if (!(res_1845500671 <= last_889194152)) break Label4; + iHEX60gensym176_889194166 = res_1845500671; + if ((s_889194147[chckIndx(iHEX60gensym176_889194166, 0, (s_889194147).length - 1)] == sub_889194148)) { + result_889194151 = iHEX60gensym176_889194166; break BeforeRet; } - F.line = 102; - F.filename = "iterators_1.nim"; - res_1493179111 = addInt(res_1493179111, 1); + res_1845500671 = addInt(res_1845500671, 1); } }; }; }; - framePtr = F.prev; - return result_838862503; + return result_889194151; } -function nsuFindStrA(a_838862477, s_838862478, sub_838862479, start_838862480, last_838862481) { +function nsuFindStrA(a_889194125, s_889194126, sub_889194127, start_889194128, last_889194129) { var Temporary1; - var result_838862482 = 0; + var result_889194130 = 0; - var F = {procname: "strutils.find", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/strutils.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 1905; - F.filename = "strutils.nim"; - if ((last_838862481 < 0)) { - Temporary1 = (s_838862478).length - 1; + if ((last_889194129 < 0)) { + Temporary1 = (s_889194126).length - 1; } else { - Temporary1 = last_838862481; + Temporary1 = last_889194129; } - var last_838862483 = Temporary1; - F.line = 1906; - var subLast_838862484 = subInt((sub_838862479).length, 1); - if ((subLast_838862484 == (-1))) { - F.line = 1911; - result_838862482 = start_838862480; + var last_889194131 = Temporary1; + var subLast_889194132 = subInt((sub_889194127).length, 1); + if ((subLast_889194132 == (-1))) { + result_889194130 = start_889194128; break BeforeRet; } - F.line = 1915; - result_838862482 = (-1); - F.line = 1916; - var skip_838862485 = start_838862480; + result_889194130 = (-1); + var skip_889194133 = start_889194128; Label2: { - F.line = 1918; Label3: while (true) { - if (!(subLast_838862484 <= subInt(last_838862483, skip_838862485))) break Label3; - F.line = 1919; - var i_838862486 = subLast_838862484; + if (!(subLast_889194132 <= subInt(last_889194131, skip_889194133))) break Label3; + var i_889194134 = subLast_889194132; Label4: { - F.line = 1920; Label5: while (true) { - if (!(s_838862478[chckIndx(addInt(skip_838862485, i_838862486), 0, (s_838862478).length - 1)] == sub_838862479[chckIndx(i_838862486, 0, (sub_838862479).length - 1)])) break Label5; - if ((i_838862486 == 0)) { - F.line = 1922; - result_838862482 = skip_838862485; + if (!(s_889194126[chckIndx(addInt(skip_889194133, i_889194134), 0, (s_889194126).length - 1)] == sub_889194127[chckIndx(i_889194134, 0, (sub_889194127).length - 1)])) break Label5; + if ((i_889194134 == 0)) { + result_889194130 = skip_889194133; break BeforeRet; } - F.line = 1923; - i_838862486 = subInt(i_838862486, 1); + i_889194134 = subInt(i_889194134, 1); } }; - F.line = 1924; - skip_838862485 = addInt(skip_838862485, a_838862477[chckIndx(s_838862478[chckIndx(addInt(skip_838862485, subLast_838862484), 0, (s_838862478).length - 1)], 0, (a_838862477).length - 1)]); + skip_889194133 = addInt(skip_889194133, a_889194125[chckIndx(s_889194126[chckIndx(addInt(skip_889194133, subLast_889194132), 0, (s_889194126).length - 1)], 0, (a_889194125).length - 1)]); } }; }; - framePtr = F.prev; - return result_838862482; + return result_889194130; } -function fill_838862422(a_838862424, value_838862425) { - var F = {procname: "fill.fill", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/algorithm.nim", line: 0}; - framePtr = F; - F.line = 72; - F.filename = "algorithm.nim"; - var xHEX60gensym172_838862431 = 0; +function fill_889194070(a_889194072, value_889194073) { + var xHEX60gensym172_889194079 = 0; Label1: { - F.line = 98; Label2: while (true) { - if (!(xHEX60gensym172_838862431 <= (a_838862424).length - 1)) break Label2; - F.line = 98; - a_838862424[chckIndx(xHEX60gensym172_838862431, 0, (a_838862424).length - 1)] = value_838862425; - F.line = 75; - xHEX60gensym172_838862431 = addInt(xHEX60gensym172_838862431, 1); + if (!(xHEX60gensym172_889194079 <= (a_889194072).length - 1)) break Label2; + a_889194072[chckIndx(xHEX60gensym172_889194079, 0, (a_889194072).length - 1)] = value_889194073; + xHEX60gensym172_889194079 = addInt(xHEX60gensym172_889194079, 1); } }; - framePtr = F.prev; } -function nsuInitSkipTable(a_838862419, sub_838862420) { - var F = {procname: "strutils.initSkipTable", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/strutils.nim", line: 0}; - framePtr = F; - F.line = 1878; - F.filename = "strutils.nim"; - var m_838862421 = (sub_838862420).length; - F.line = 1879; - fill_838862422(a_838862419, m_838862421); +function nsuInitSkipTable(a_889194067, sub_889194068) { + var m_889194069 = (sub_889194068).length; + fill_889194070(a_889194067, m_889194069); Label1: { - F.line = 1881; - var i_838862441 = 0; - F.line = 126; - F.filename = "iterators_1.nim"; - var colontmp__1493179116 = 0; - F.line = 1881; - F.filename = "strutils.nim"; - colontmp__1493179116 = subInt(m_838862421, 1); - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179117 = 0; + var i_889194089 = 0; + var colontmp__1845500676 = 0; + colontmp__1845500676 = subInt(m_889194069, 1); + var i_1845500677 = 0; Label2: { - F.line = 129; Label3: while (true) { - if (!(i_1493179117 < colontmp__1493179116)) break Label3; - F.line = 1881; - F.filename = "strutils.nim"; - i_838862441 = i_1493179117; - F.line = 1882; - a_838862419[chckIndx(sub_838862420[chckIndx(i_838862441, 0, (sub_838862420).length - 1)], 0, (a_838862419).length - 1)] = subInt(subInt(m_838862421, 1), i_838862441); - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493179117 = addInt(i_1493179117, 1); + if (!(i_1845500677 < colontmp__1845500676)) break Label3; + i_889194089 = i_1845500677; + a_889194067[chckIndx(sub_889194068[chckIndx(i_889194089, 0, (sub_889194068).length - 1)], 0, (a_889194067).length - 1)] = subInt(subInt(m_889194069, 1), i_889194089); + i_1845500677 = addInt(i_1845500677, 1); } }; }; - framePtr = F.prev; } -function nsuInitNewSkipTable(sub_838862474) { - var result_838862475 = [new Int32Array(256)]; +function nsuInitNewSkipTable(sub_889194122) { + var result_889194123 = [new Int32Array(256)]; - var F = {procname: "strutils.initSkipTable", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/strutils.nim", line: 0}; - framePtr = F; - F.line = 1891; - F.filename = "strutils.nim"; - nsuInitSkipTable(result_838862475[0], sub_838862474); - framePtr = F.prev; + nsuInitSkipTable(result_889194123[0], sub_889194122); - return result_838862475[0]; + return result_889194123[0]; } -function nsuFindStr(s_838862536, sub_838862537, start_838862538, last_838862539) { - var result_838862540 = 0; +function nsuFindStr(s_889194184, sub_889194185, start_889194186, last_889194187) { + var result_889194188 = 0; - var F = {procname: "strutils.find", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/strutils.nim", line: 0}; - framePtr = F; BeforeRet: { - if ((subInt((s_838862536).length, start_838862538) < (sub_838862537).length)) { - F.line = 2003; - F.filename = "strutils.nim"; - result_838862540 = (-1); + if ((subInt((s_889194184).length, start_889194186) < (sub_889194185).length)) { + result_889194188 = (-1); break BeforeRet; } - if (((sub_838862537).length == 1)) { - F.line = 2004; - result_838862540 = nsuFindChar(s_838862536, sub_838862537[chckIndx(0, 0, (sub_838862537).length - 1)], start_838862538, last_838862539); + if (((sub_889194185).length == 1)) { + result_889194188 = nsuFindChar(s_889194184, sub_889194185[chckIndx(0, 0, (sub_889194185).length - 1)], start_889194186, last_889194187); break BeforeRet; } - F.line = 2007; - result_838862540 = nsuFindStrA(nsuInitNewSkipTable(sub_838862537), s_838862536, sub_838862537, start_838862538, last_838862539); + result_889194188 = nsuFindStrA(nsuInitNewSkipTable(sub_889194185), s_889194184, sub_889194185, start_889194186, last_889194187); }; - framePtr = F.prev; - return result_838862540; + return result_889194188; } -function contains_838862678(s_838862679, sub_838862680) { - var result_838862681 = false; +function contains_889194326(s_889194327, sub_889194328) { + var result_889194329 = false; - var F = {procname: "strutils.contains", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/strutils.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 2161; - F.filename = "strutils.nim"; - result_838862681 = (0 <= nsuFindStr(s_838862679, sub_838862680, 0, (-1))); + result_889194329 = (0 <= nsuFindStr(s_889194327, sub_889194328, 0, (-1))); break BeforeRet; }; - framePtr = F.prev; - return result_838862681; + return result_889194329; } -function HEX3Aanonymous_1493178081(piece_1493178082, b_1493178083, state_1493178084) { +function HEX3Aanonymous_1845499640(piece_1845499641, b_1845499642, state_1845499643) { var Temporary11; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; Label1: { - F.line = 2026; - F.filename = "powers.nim"; - var i_1493178085 = 0; - F.line = 2026; - var j_1493178086 = 0; + var i_1845499644 = 0; + var j_1845499645 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493179128 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179129 = 0; + var i_1845500688 = 0; + var i_1845500689 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493179129 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493179128 = i_1493179129; + if (!(i_1845500689 < 8)) break Label4; + i_1845500688 = i_1845500689; Label5: { - F.line = 125; - var j_1493179132 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179133 = 0; + var j_1845500692 = 0; + var i_1845500693 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493179133 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493179132 = i_1493179133; - F.line = 2026; - F.filename = "powers.nim"; - i_1493178085 = i_1493179128; - F.line = 2026; - j_1493178086 = j_1493179132; + if (!(i_1845500693 < 8)) break Label7; + j_1845500692 = i_1845500693; + i_1845499644 = i_1845500688; + j_1845499645 = j_1845500692; Label8: { - F.line = 2027; - var c_1493178090 = {Field0: {Field0: 0, Field1: 0}, Field1: 0, Field2: 0}; - F.line = 247; - F.filename = "iterators.nim"; - var colontmp__1493179122 = []; - F.line = 2027; - F.filename = "powers.nim"; - colontmp__1493179122 = b_1493178083[chckIndx(i_1493178085, 0, (b_1493178083).length - 1)][chckIndx(j_1493178086, 0, (b_1493178083[chckIndx(i_1493178085, 0, (b_1493178083).length - 1)]).length - 1)].casts; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493179124 = 0; - F.line = 250; - var L_1493179125 = (colontmp__1493179122).length; + var c_1845499649 = {Field0: {Field0: 0, Field1: 0}, Field1: 0, Field2: 0}; + var colontmp__1845500682 = []; + colontmp__1845500682 = b_1845499642[chckIndx(i_1845499644, 0, (b_1845499642).length - 1)][chckIndx(j_1845499645, 0, (b_1845499642[chckIndx(i_1845499644, 0, (b_1845499642).length - 1)]).length - 1)].casts; + var i_1845500684 = 0; + var L_1845500685 = (colontmp__1845500682).length; Label9: { - F.line = 251; Label10: while (true) { - if (!(i_1493179124 < L_1493179125)) break Label10; - F.line = 2027; - F.filename = "powers.nim"; - c_1493178090 = colontmp__1493179122[chckIndx(i_1493179124, 0, (colontmp__1493179122).length - 1)]; - if ((c_1493178090.Field2 == 0)) { - F.line = 2029; - piece_1493178082.onTake(piece_1493178082, (Temporary11 = getTakesOn_1224737271(piece_1493178082, b_1493178083), Temporary11)[chckIndx(0, 0, (Temporary11).length - 1)], b_1493178083, state_1493178084); + if (!(i_1845500684 < L_1845500685)) break Label10; + c_1845499649 = colontmp__1845500682[chckIndx(i_1845500684, 0, (colontmp__1845500682).length - 1)]; + if ((c_1845499649.Field2 == 0)) { + piece_1845499641.onTake(piece_1845499641, (Temporary11 = getTakesOn_1476395511(piece_1845499641, b_1845499642), Temporary11)[chckIndx(0, 0, (Temporary11).length - 1)], b_1845499642, state_1845499643); } - F.line = 13; - F.filename = "iterators.nim"; - i_1493179124 += 1; - if (!(((colontmp__1493179122).length == L_1493179125))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_1845500684 += 1; + if (!(((colontmp__1845500682).length == L_1845500685))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493179133 = addInt(i_1493179133, 1); + i_1845500693 = addInt(i_1845500693, 1); } }; }; - F.line = 131; - i_1493179129 = addInt(i_1493179129, 1); + i_1845500689 = addInt(i_1845500689, 1); } }; }; }; - framePtr = F.prev; } -function HEX3Aanonymous_1493178099(side_1493178100, __1493178101, b_1493178102, s_1493178103) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; +function HEX3Aanonymous_1845499658(side_1845499659, __1845499660, b_1845499661, s_1845499662) { Label1: { - F.line = 2040; - F.filename = "powers.nim"; - var i_1493178104 = 0; - F.line = 2040; - var j_1493178105 = 0; + var i_1845499663 = 0; + var j_1845499664 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493179098 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179099 = 0; + var i_1845500658 = 0; + var i_1845500659 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493179099 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493179098 = i_1493179099; + if (!(i_1845500659 < 8)) break Label4; + i_1845500658 = i_1845500659; Label5: { - F.line = 125; - var j_1493179102 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179103 = 0; + var j_1845500662 = 0; + var i_1845500663 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493179103 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493179102 = i_1493179103; - F.line = 2040; - F.filename = "powers.nim"; - i_1493178104 = i_1493179098; - F.line = 2040; - j_1493178105 = j_1493179102; - if ((isColor_1224737813(b_1493178102[chckIndx(i_1493178104, 0, (b_1493178102).length - 1)][chckIndx(j_1493178105, 0, (b_1493178102[chckIndx(i_1493178104, 0, (b_1493178102).length - 1)]).length - 1)], side_1493178100) && contains_838862678(b_1493178102[chckIndx(i_1493178104, 0, (b_1493178102).length - 1)][chckIndx(j_1493178105, 0, (b_1493178102[chckIndx(i_1493178104, 0, (b_1493178102).length - 1)]).length - 1)].filePath, [108,97,110,99,101]))) { - F.line = 2042; - b_1493178102[chckIndx(i_1493178104, 0, (b_1493178102).length - 1)][chckIndx(j_1493178105, 0, (b_1493178102[chckIndx(i_1493178104, 0, (b_1493178102).length - 1)]).length - 1)].onEndTurn.push(HEX3Aanonymous_1493178081);; + if (!(i_1845500663 < 8)) break Label7; + j_1845500662 = i_1845500663; + i_1845499663 = i_1845500658; + j_1845499664 = j_1845500662; + if ((isColor_1476396053(b_1845499661[chckIndx(i_1845499663, 0, (b_1845499661).length - 1)][chckIndx(j_1845499664, 0, (b_1845499661[chckIndx(i_1845499663, 0, (b_1845499661).length - 1)]).length - 1)], side_1845499659) && contains_889194326(b_1845499661[chckIndx(i_1845499663, 0, (b_1845499661).length - 1)][chckIndx(j_1845499664, 0, (b_1845499661[chckIndx(i_1845499663, 0, (b_1845499661).length - 1)]).length - 1)].filePath, [108,97,110,99,101]))) { + b_1845499661[chckIndx(i_1845499663, 0, (b_1845499661).length - 1)][chckIndx(j_1845499664, 0, (b_1845499661[chckIndx(i_1845499663, 0, (b_1845499661).length - 1)]).length - 1)].onEndTurn.push(HEX3Aanonymous_1845499640);; } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493179103 = addInt(i_1493179103, 1); + i_1845500663 = addInt(i_1845500663, 1); } }; }; - F.line = 131; - i_1493179099 = addInt(i_1493179099, 1); + i_1845500659 = addInt(i_1845500659, 1); } }; }; }; - framePtr = F.prev; } -function HEX3Aanonymous_1493173213(side_1493173214, viewSide_1493173215, b_1493173216, s_1493173217) { +function HEX3Aanonymous_1845494749(side_1845494750, viewSide_1845494751, b_1845494752, s_1845494753) { var Temporary1; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 625; - F.filename = "powers.nim"; - HEX3Aanonymous_1493173186(side_1493173214, viewSide_1493173215, b_1493173216, s_1493173217); - F.line = 626; - HEX3Aanonymous_1493173171(side_1493173214, viewSide_1493173215, b_1493173216, s_1493173217); - F.line = 627; - HEX3Aanonymous_1493172879(side_1493173214, viewSide_1493173215, b_1493173216, s_1493173217); - F.line = 628; - if ((side_1493173214 == 0)) { - Temporary1 = HEX3Aanonymous_1509949537; + HEX3Aanonymous_1845494722(side_1845494750, viewSide_1845494751, b_1845494752, s_1845494753); + HEX3Aanonymous_1845494707(side_1845494750, viewSide_1845494751, b_1845494752, s_1845494753); + HEX3Aanonymous_1845494415(side_1845494750, viewSide_1845494751, b_1845494752, s_1845494753); + if ((side_1845494750 == 0)) { + Temporary1 = HEX3Aanonymous_1862271073; } else { - Temporary1 = HEX3Aanonymous_1509949531; + Temporary1 = HEX3Aanonymous_1862271067; } - var addedMove_1493173222 = Temporary1; - F.line = 629; - buff_1493172242(3, side_1493173214, b_1493173216, s_1493173217, [], [addedMove_1493173222], [], false, [], null, null, null, false); - framePtr = F.prev; + var addedMove_1845494758 = Temporary1; + buff_1845493778(3, side_1845494750, b_1845494752, s_1845494753, [], [addedMove_1845494758], [], false, [], null, null, null, false); } -function HEX3Aanonymous_1493173263(side_1493173264, viewSide_1493173265, b_1493173266, __1493173267) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; +function HEX3Aanonymous_1845494799(side_1845494800, viewSide_1845494801, b_1845494802, __1845494803) { Label1: { - F.line = 669; - F.filename = "powers.nim"; - var i_1493173268 = 0; - F.line = 669; - var j_1493173269 = 0; + var i_1845494804 = 0; + var j_1845494805 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493179137 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179138 = 0; + var i_1845500697 = 0; + var i_1845500698 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493179138 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493179137 = i_1493179138; + if (!(i_1845500698 < 8)) break Label4; + i_1845500697 = i_1845500698; Label5: { - F.line = 125; - var j_1493179141 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179142 = 0; + var j_1845500701 = 0; + var i_1845500702 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493179142 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493179141 = i_1493179142; - F.line = 669; - F.filename = "powers.nim"; - i_1493173268 = i_1493179137; - F.line = 669; - j_1493173269 = j_1493179141; - if ((!((b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)][chckIndx(j_1493173269, 0, (b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)]).length - 1)].item == 1)) && isColor_1224737813(b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)][chckIndx(j_1493173269, 0, (b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)]).length - 1)], side_1493173264))) { - F.line = 671; - b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)][chckIndx(j_1493173269, 0, (b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)]).length - 1)] = nimCopy(b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)][chckIndx(j_1493173269, 0, (b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)]).length - 1)], pieceCopy_1224737660(air_1275068591, b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)][chckIndx(j_1493173269, 0, (b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)]).length - 1)].index, 6, 1, 0, 0, b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)][chckIndx(j_1493173269, 0, (b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)]).length - 1)].tile, [], [], air_1275068591.onMove, air_1275068591.onTake, air_1275068591.whenTaken, [], [], false, [], true, false, false), NTI1224736794); + if (!(i_1845500702 < 8)) break Label7; + j_1845500701 = i_1845500702; + i_1845494804 = i_1845500697; + j_1845494805 = j_1845500701; + if ((!((b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)][chckIndx(j_1845494805, 0, (b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)]).length - 1)].item == 1)) && isColor_1476396053(b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)][chckIndx(j_1845494805, 0, (b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)]).length - 1)], side_1845494800))) { + b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)][chckIndx(j_1845494805, 0, (b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)]).length - 1)] = nimCopy(b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)][chckIndx(j_1845494805, 0, (b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)]).length - 1)], pieceCopy_1476395900(air_1526726831, b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)][chckIndx(j_1845494805, 0, (b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)]).length - 1)].index, 6, 1, 0, 0, b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)][chckIndx(j_1845494805, 0, (b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)]).length - 1)].tile, [], [], air_1526726831.onMove, air_1526726831.onTake, air_1526726831.whenTaken, [], [], false, [], true, false, false), NTI1476395034); } else { - if (((b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)][chckIndx(j_1493173269, 0, (b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)]).length - 1)].item == 1) && isColor_1224737813(b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)][chckIndx(j_1493173269, 0, (b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)]).length - 1)], side_1493173264))) { - F.line = 673; - add_1493172278(b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)][chckIndx(j_1493173269, 0, (b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)]).length - 1)], "moves", [HEX3Aanonymous_1291846082, HEX3Aanonymous_1509949640]); - F.line = 674; - add_1493172278(b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)][chckIndx(j_1493173269, 0, (b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)]).length - 1)], "takes", [HEX3Aanonymous_1291846087, HEX3Aanonymous_1509949635]); - F.line = 675; - b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)][chckIndx(j_1493173269, 0, (b_1493173266[chckIndx(i_1493173268, 0, (b_1493173266).length - 1)]).length - 1)].item = 0; + if (((b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)][chckIndx(j_1845494805, 0, (b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)]).length - 1)].item == 1) && isColor_1476396053(b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)][chckIndx(j_1845494805, 0, (b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)]).length - 1)], side_1845494800))) { + add_1845493814(b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)][chckIndx(j_1845494805, 0, (b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)]).length - 1)], "moves", [HEX3Aanonymous_1543504322, HEX3Aanonymous_1862271176]); + add_1845493814(b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)][chckIndx(j_1845494805, 0, (b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)]).length - 1)], "takes", [HEX3Aanonymous_1543504327, HEX3Aanonymous_1862271171]); + b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)][chckIndx(j_1845494805, 0, (b_1845494802[chckIndx(i_1845494804, 0, (b_1845494802).length - 1)]).length - 1)].item = 0; } } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493179142 = addInt(i_1493179142, 1); + i_1845500702 = addInt(i_1845500702, 1); } }; }; - F.line = 131; - i_1493179138 = addInt(i_1493179138, 1); + i_1845500698 = addInt(i_1845500698, 1); } }; }; }; - framePtr = F.prev; } -function HEX3Aanonymous_1493173421(side_1493173422, viewSide_1493173423, b_1493173424, s_1493173425) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - if ((side_1493173422 == 0)) { - F.line = 756; - F.filename = "powers.nim"; - pieceMove_1224737556(b_1493173424[chckIndx(1, 0, (b_1493173424).length - 1)][chckIndx(3, 0, (b_1493173424[chckIndx(1, 0, (b_1493173424).length - 1)]).length - 1)], 3, 3, b_1493173424, s_1493173425); - F.line = 757; - pieceMove_1224737556(b_1493173424[chckIndx(1, 0, (b_1493173424).length - 1)][chckIndx(4, 0, (b_1493173424[chckIndx(1, 0, (b_1493173424).length - 1)]).length - 1)], 3, 4, b_1493173424, s_1493173425); +function HEX3Aanonymous_1845494957(side_1845494958, viewSide_1845494959, b_1845494960, s_1845494961) { + if ((side_1845494958 == 0)) { + pieceMove_1476395796(b_1845494960[chckIndx(1, 0, (b_1845494960).length - 1)][chckIndx(3, 0, (b_1845494960[chckIndx(1, 0, (b_1845494960).length - 1)]).length - 1)], 3, 3, b_1845494960, s_1845494961); + pieceMove_1476395796(b_1845494960[chckIndx(1, 0, (b_1845494960).length - 1)][chckIndx(4, 0, (b_1845494960[chckIndx(1, 0, (b_1845494960).length - 1)]).length - 1)], 3, 4, b_1845494960, s_1845494961); } else { - F.line = 759; - pieceMove_1224737556(b_1493173424[chckIndx(6, 0, (b_1493173424).length - 1)][chckIndx(3, 0, (b_1493173424[chckIndx(6, 0, (b_1493173424).length - 1)]).length - 1)], 4, 3, b_1493173424, s_1493173425); - F.line = 760; - pieceMove_1224737556(b_1493173424[chckIndx(6, 0, (b_1493173424).length - 1)][chckIndx(4, 0, (b_1493173424[chckIndx(6, 0, (b_1493173424).length - 1)]).length - 1)], 4, 4, b_1493173424, s_1493173425); + pieceMove_1476395796(b_1845494960[chckIndx(6, 0, (b_1845494960).length - 1)][chckIndx(3, 0, (b_1845494960[chckIndx(6, 0, (b_1845494960).length - 1)]).length - 1)], 4, 3, b_1845494960, s_1845494961); + pieceMove_1476395796(b_1845494960[chckIndx(6, 0, (b_1845494960).length - 1)][chckIndx(4, 0, (b_1845494960[chckIndx(6, 0, (b_1845494960).length - 1)]).length - 1)], 4, 4, b_1845494960, s_1845494961); } - framePtr = F.prev; } -function HEX3Aanonymous_1493173295(side_1493173296, viewSide_1493173297, b_1493173298, __1493173299) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; +function HEX3Aanonymous_1845494831(side_1845494832, viewSide_1845494833, b_1845494834, __1845494835) { Label1: { - F.line = 691; - F.filename = "powers.nim"; - var i_1493173300 = 0; - F.line = 691; - var j_1493173301 = 0; + var i_1845494836 = 0; + var j_1845494837 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493179146 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179147 = 0; + var i_1845500706 = 0; + var i_1845500707 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493179147 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493179146 = i_1493179147; + if (!(i_1845500707 < 8)) break Label4; + i_1845500706 = i_1845500707; Label5: { - F.line = 125; - var j_1493179150 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179151 = 0; + var j_1845500710 = 0; + var i_1845500711 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493179151 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493179150 = i_1493179151; - F.line = 691; - F.filename = "powers.nim"; - i_1493173300 = i_1493179146; - F.line = 691; - j_1493173301 = j_1493179150; - if ((!((b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)][chckIndx(j_1493173301, 0, (b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)]).length - 1)].item == 1)) && isColor_1224737813(b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)][chckIndx(j_1493173301, 0, (b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)]).length - 1)], side_1493173296))) { - F.line = 693; - b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)][chckIndx(j_1493173301, 0, (b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)]).length - 1)] = nimCopy(b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)][chckIndx(j_1493173301, 0, (b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)]).length - 1)], pieceCopy_1224737660(air_1275068591, b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)][chckIndx(j_1493173301, 0, (b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)]).length - 1)].index, 6, 1, 0, 0, b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)][chckIndx(j_1493173301, 0, (b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)]).length - 1)].tile, [], [], air_1275068591.onMove, air_1275068591.onTake, air_1275068591.whenTaken, [], [], false, [], true, false, false), NTI1224736794); + if (!(i_1845500711 < 8)) break Label7; + j_1845500710 = i_1845500711; + i_1845494836 = i_1845500706; + j_1845494837 = j_1845500710; + if ((!((b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)][chckIndx(j_1845494837, 0, (b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)]).length - 1)].item == 1)) && isColor_1476396053(b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)][chckIndx(j_1845494837, 0, (b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)]).length - 1)], side_1845494832))) { + b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)][chckIndx(j_1845494837, 0, (b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)]).length - 1)] = nimCopy(b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)][chckIndx(j_1845494837, 0, (b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)]).length - 1)], pieceCopy_1476395900(air_1526726831, b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)][chckIndx(j_1845494837, 0, (b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)]).length - 1)].index, 6, 1, 0, 0, b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)][chckIndx(j_1845494837, 0, (b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)]).length - 1)].tile, [], [], air_1526726831.onMove, air_1526726831.onTake, air_1526726831.whenTaken, [], [], false, [], true, false, false), NTI1476395034); } else { - if (((b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)][chckIndx(j_1493173301, 0, (b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)]).length - 1)].item == 1) && isColor_1224737813(b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)][chckIndx(j_1493173301, 0, (b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)]).length - 1)], side_1493173296))) { - F.line = 695; - add_1493172278(b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)][chckIndx(j_1493173301, 0, (b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)]).length - 1)], "moves", [HEX3Aanonymous_1291846082, HEX3Aanonymous_1509949640, HEX3Aanonymous_1509949738, HEX3Aanonymous_1509949728]); - F.line = 696; - add_1493172278(b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)][chckIndx(j_1493173301, 0, (b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)]).length - 1)], "takes", [HEX3Aanonymous_1291846087, HEX3Aanonymous_1509949635, HEX3Aanonymous_1509949743, HEX3Aanonymous_1509949733]); - F.line = 697; - b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)][chckIndx(j_1493173301, 0, (b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)]).length - 1)].item = 0; + if (((b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)][chckIndx(j_1845494837, 0, (b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)]).length - 1)].item == 1) && isColor_1476396053(b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)][chckIndx(j_1845494837, 0, (b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)]).length - 1)], side_1845494832))) { + add_1845493814(b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)][chckIndx(j_1845494837, 0, (b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)]).length - 1)], "moves", [HEX3Aanonymous_1543504322, HEX3Aanonymous_1862271176, HEX3Aanonymous_1862271274, HEX3Aanonymous_1862271264]); + add_1845493814(b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)][chckIndx(j_1845494837, 0, (b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)]).length - 1)], "takes", [HEX3Aanonymous_1543504327, HEX3Aanonymous_1862271171, HEX3Aanonymous_1862271279, HEX3Aanonymous_1862271269]); + b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)][chckIndx(j_1845494837, 0, (b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)]).length - 1)].item = 0; } else { - if (((b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)][chckIndx(j_1493173301, 0, (b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)]).length - 1)].item == 2) && !(isColor_1224737813(b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)][chckIndx(j_1493173301, 0, (b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)]).length - 1)], side_1493173296)))) { - F.line = 699; - b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)][chckIndx(j_1493173301, 0, (b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)]).length - 1)] = nimCopy(b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)][chckIndx(j_1493173301, 0, (b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)]).length - 1)], pieceCopy_1224737660(air_1275068591, b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)][chckIndx(j_1493173301, 0, (b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)]).length - 1)].index, 6, 1, 0, 0, b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)][chckIndx(j_1493173301, 0, (b_1493173298[chckIndx(i_1493173300, 0, (b_1493173298).length - 1)]).length - 1)].tile, [], [], air_1275068591.onMove, air_1275068591.onTake, air_1275068591.whenTaken, [], [], false, [], true, false, false), NTI1224736794); + if (((b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)][chckIndx(j_1845494837, 0, (b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)]).length - 1)].item == 2) && !(isColor_1476396053(b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)][chckIndx(j_1845494837, 0, (b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)]).length - 1)], side_1845494832)))) { + b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)][chckIndx(j_1845494837, 0, (b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)]).length - 1)] = nimCopy(b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)][chckIndx(j_1845494837, 0, (b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)]).length - 1)], pieceCopy_1476395900(air_1526726831, b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)][chckIndx(j_1845494837, 0, (b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)]).length - 1)].index, 6, 1, 0, 0, b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)][chckIndx(j_1845494837, 0, (b_1845494834[chckIndx(i_1845494836, 0, (b_1845494834).length - 1)]).length - 1)].tile, [], [], air_1526726831.onMove, air_1526726831.onTake, air_1526726831.whenTaken, [], [], false, [], true, false, false), NTI1476395034); } }} - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493179151 = addInt(i_1493179151, 1); + i_1845500711 = addInt(i_1845500711, 1); } }; }; - F.line = 131; - i_1493179147 = addInt(i_1493179147, 1); + i_1845500707 = addInt(i_1845500707, 1); } }; }; }; - framePtr = F.prev; } -function HEX3Aanonymous_1493174282(side_1493174283, __1493174284, b_1493174285, s_1493174286) { +function HEX3Aanonymous_1845495818(side_1845495819, __1845495820, b_1845495821, s_1845495822) { var Temporary8; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; Label1: { - F.line = 1349; - F.filename = "powers.nim"; - var i_1493174287 = 0; - F.line = 1349; - var j_1493174288 = 0; + var i_1845495823 = 0; + var j_1845495824 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493179155 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179156 = 0; + var i_1845500715 = 0; + var i_1845500716 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493179156 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493179155 = i_1493179156; + if (!(i_1845500716 < 8)) break Label4; + i_1845500715 = i_1845500716; Label5: { - F.line = 125; - var j_1493179159 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179160 = 0; + var j_1845500719 = 0; + var i_1845500720 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493179160 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493179159 = i_1493179160; - F.line = 1349; - F.filename = "powers.nim"; - i_1493174287 = i_1493179155; - F.line = 1349; - j_1493174288 = j_1493179159; - if ((((b_1493174285[chckIndx(i_1493174287, 0, (b_1493174285).length - 1)][chckIndx(j_1493174288, 0, (b_1493174285[chckIndx(i_1493174287, 0, (b_1493174285).length - 1)]).length - 1)].item == 5) && isColor_1224737813(b_1493174285[chckIndx(i_1493174287, 0, (b_1493174285).length - 1)][chckIndx(j_1493174288, 0, (b_1493174285[chckIndx(i_1493174287, 0, (b_1493174285).length - 1)]).length - 1)], side_1493174283)) && (b_1493174285[chckIndx(i_1493174287, 0, (b_1493174285).length - 1)][chckIndx(j_1493174288, 0, (b_1493174285[chckIndx(i_1493174287, 0, (b_1493174285).length - 1)]).length - 1)].timesMoved == 1))) { - F.line = 1353; - if ((side_1493174283 == 0)) { + if (!(i_1845500720 < 8)) break Label7; + j_1845500719 = i_1845500720; + i_1845495823 = i_1845500715; + j_1845495824 = j_1845500719; + if ((((b_1845495821[chckIndx(i_1845495823, 0, (b_1845495821).length - 1)][chckIndx(j_1845495824, 0, (b_1845495821[chckIndx(i_1845495823, 0, (b_1845495821).length - 1)]).length - 1)].item == 5) && isColor_1476396053(b_1845495821[chckIndx(i_1845495823, 0, (b_1845495821).length - 1)][chckIndx(j_1845495824, 0, (b_1845495821[chckIndx(i_1845495823, 0, (b_1845495821).length - 1)]).length - 1)], side_1845495819)) && (b_1845495821[chckIndx(i_1845495823, 0, (b_1845495821).length - 1)][chckIndx(j_1845495824, 0, (b_1845495821[chckIndx(i_1845495823, 0, (b_1845495821).length - 1)]).length - 1)].timesMoved == 1))) { + if ((side_1845495819 == 0)) { Temporary8 = (-1); } else { Temporary8 = 1; } - var back_1493174297 = Temporary8; - F.line = 1354; - b_1493174285[chckIndx(i_1493174287, 0, (b_1493174285).length - 1)][chckIndx(j_1493174288, 0, (b_1493174285[chckIndx(i_1493174287, 0, (b_1493174285).length - 1)]).length - 1)].timesMoved = addInt(b_1493174285[chckIndx(i_1493174287, 0, (b_1493174285).length - 1)][chckIndx(j_1493174288, 0, (b_1493174285[chckIndx(i_1493174287, 0, (b_1493174285).length - 1)]).length - 1)].timesMoved, 1); - F.line = 1355; - pieceMove_1224737556(b_1493174285[chckIndx(i_1493174287, 0, (b_1493174285).length - 1)][chckIndx(j_1493174288, 0, (b_1493174285[chckIndx(i_1493174287, 0, (b_1493174285).length - 1)]).length - 1)], addInt(b_1493174285[chckIndx(i_1493174287, 0, (b_1493174285).length - 1)][chckIndx(j_1493174288, 0, (b_1493174285[chckIndx(i_1493174287, 0, (b_1493174285).length - 1)]).length - 1)].tile.Field1, back_1493174297), b_1493174285[chckIndx(i_1493174287, 0, (b_1493174285).length - 1)][chckIndx(j_1493174288, 0, (b_1493174285[chckIndx(i_1493174287, 0, (b_1493174285).length - 1)]).length - 1)].tile.Field0, b_1493174285, s_1493174286); + var back_1845495833 = Temporary8; + b_1845495821[chckIndx(i_1845495823, 0, (b_1845495821).length - 1)][chckIndx(j_1845495824, 0, (b_1845495821[chckIndx(i_1845495823, 0, (b_1845495821).length - 1)]).length - 1)].timesMoved = addInt(b_1845495821[chckIndx(i_1845495823, 0, (b_1845495821).length - 1)][chckIndx(j_1845495824, 0, (b_1845495821[chckIndx(i_1845495823, 0, (b_1845495821).length - 1)]).length - 1)].timesMoved, 1); + pieceMove_1476395796(b_1845495821[chckIndx(i_1845495823, 0, (b_1845495821).length - 1)][chckIndx(j_1845495824, 0, (b_1845495821[chckIndx(i_1845495823, 0, (b_1845495821).length - 1)]).length - 1)], addInt(b_1845495821[chckIndx(i_1845495823, 0, (b_1845495821).length - 1)][chckIndx(j_1845495824, 0, (b_1845495821[chckIndx(i_1845495823, 0, (b_1845495821).length - 1)]).length - 1)].tile.Field1, back_1845495833), b_1845495821[chckIndx(i_1845495823, 0, (b_1845495821).length - 1)][chckIndx(j_1845495824, 0, (b_1845495821[chckIndx(i_1845495823, 0, (b_1845495821).length - 1)]).length - 1)].tile.Field0, b_1845495821, s_1845495822); } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493179160 = addInt(i_1493179160, 1); + i_1845500720 = addInt(i_1845500720, 1); } }; }; - F.line = 131; - i_1493179156 = addInt(i_1493179156, 1); + i_1845500716 = addInt(i_1845500716, 1); } }; }; }; - framePtr = F.prev; } -function HEX3Aanonymous_1493174317(piece_1493174318, board_1493174319, state_1493174320) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - if ((piece_1493174318.piecesTaken == 7)) { +function HEX3Aanonymous_1845495853(piece_1845495854, board_1845495855, state_1845495856) { + if ((piece_1845495854.piecesTaken == 7)) { Label1: { - F.line = 1368; - F.filename = "powers.nim"; - var i_1493174321 = 0; - F.line = 1368; - var j_1493174322 = 0; + var i_1845495857 = 0; + var j_1845495858 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493179164 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179165 = 0; + var i_1845500724 = 0; + var i_1845500725 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493179165 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493179164 = i_1493179165; + if (!(i_1845500725 < 8)) break Label4; + i_1845500724 = i_1845500725; Label5: { - F.line = 125; - var j_1493179168 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179169 = 0; + var j_1845500728 = 0; + var i_1845500729 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493179169 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493179168 = i_1493179169; - F.line = 1368; - F.filename = "powers.nim"; - i_1493174321 = i_1493179164; - F.line = 1368; - j_1493174322 = j_1493179168; - if (((board_1493174319[chckIndx(i_1493174321, 0, (board_1493174319).length - 1)][chckIndx(j_1493174322, 0, (board_1493174319[chckIndx(i_1493174321, 0, (board_1493174319).length - 1)]).length - 1)].item == 0) && !(sameColor_1224737804(board_1493174319[chckIndx(i_1493174321, 0, (board_1493174319).length - 1)][chckIndx(j_1493174322, 0, (board_1493174319[chckIndx(i_1493174321, 0, (board_1493174319).length - 1)]).length - 1)], piece_1493174318)))) { - F.line = 1371; - board_1493174319[chckIndx(i_1493174321, 0, (board_1493174319).length - 1)][chckIndx(j_1493174322, 0, (board_1493174319[chckIndx(i_1493174321, 0, (board_1493174319).length - 1)]).length - 1)] = nimCopy(board_1493174319[chckIndx(i_1493174321, 0, (board_1493174319).length - 1)][chckIndx(j_1493174322, 0, (board_1493174319[chckIndx(i_1493174321, 0, (board_1493174319).length - 1)]).length - 1)], pieceCopy_1224737660(air_1275068591, board_1493174319[chckIndx(i_1493174321, 0, (board_1493174319).length - 1)][chckIndx(j_1493174322, 0, (board_1493174319[chckIndx(i_1493174321, 0, (board_1493174319).length - 1)]).length - 1)].index, 6, 1, 0, 0, board_1493174319[chckIndx(i_1493174321, 0, (board_1493174319).length - 1)][chckIndx(j_1493174322, 0, (board_1493174319[chckIndx(i_1493174321, 0, (board_1493174319).length - 1)]).length - 1)].tile, [], [], air_1275068591.onMove, air_1275068591.onTake, air_1275068591.whenTaken, [], [], false, [], true, false, false), NTI1224736794); + if (!(i_1845500729 < 8)) break Label7; + j_1845500728 = i_1845500729; + i_1845495857 = i_1845500724; + j_1845495858 = j_1845500728; + if (((board_1845495855[chckIndx(i_1845495857, 0, (board_1845495855).length - 1)][chckIndx(j_1845495858, 0, (board_1845495855[chckIndx(i_1845495857, 0, (board_1845495855).length - 1)]).length - 1)].item == 0) && !(sameColor_1476396044(board_1845495855[chckIndx(i_1845495857, 0, (board_1845495855).length - 1)][chckIndx(j_1845495858, 0, (board_1845495855[chckIndx(i_1845495857, 0, (board_1845495855).length - 1)]).length - 1)], piece_1845495854)))) { + board_1845495855[chckIndx(i_1845495857, 0, (board_1845495855).length - 1)][chckIndx(j_1845495858, 0, (board_1845495855[chckIndx(i_1845495857, 0, (board_1845495855).length - 1)]).length - 1)] = nimCopy(board_1845495855[chckIndx(i_1845495857, 0, (board_1845495855).length - 1)][chckIndx(j_1845495858, 0, (board_1845495855[chckIndx(i_1845495857, 0, (board_1845495855).length - 1)]).length - 1)], pieceCopy_1476395900(air_1526726831, board_1845495855[chckIndx(i_1845495857, 0, (board_1845495855).length - 1)][chckIndx(j_1845495858, 0, (board_1845495855[chckIndx(i_1845495857, 0, (board_1845495855).length - 1)]).length - 1)].index, 6, 1, 0, 0, board_1845495855[chckIndx(i_1845495857, 0, (board_1845495855).length - 1)][chckIndx(j_1845495858, 0, (board_1845495855[chckIndx(i_1845495857, 0, (board_1845495855).length - 1)]).length - 1)].tile, [], [], air_1526726831.onMove, air_1526726831.onTake, air_1526726831.whenTaken, [], [], false, [], true, false, false), NTI1476395034); } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493179169 = addInt(i_1493179169, 1); + i_1845500729 = addInt(i_1845500729, 1); } }; }; - F.line = 131; - i_1493179165 = addInt(i_1493179165, 1); + i_1845500725 = addInt(i_1845500725, 1); } }; }; }; } - framePtr = F.prev; } -function HEX3Aanonymous_1493174328(side_1493174329, __1493174330, b_1493174331, s_1493174332) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1382; - F.filename = "powers.nim"; - buff_1493172242(1, side_1493174329, b_1493174331, s_1493174332, [], [], [HEX3Aanonymous_1493174317], false, [], null, null, null, false); - framePtr = F.prev; +function HEX3Aanonymous_1845495864(side_1845495865, __1845495866, b_1845495867, s_1845495868) { + buff_1845493778(1, side_1845495865, b_1845495867, s_1845495868, [], [], [HEX3Aanonymous_1845495853], false, [], null, null, null, false); } -function newSeq_1493174041(len_1493174043) { - var result_1493174044 = []; - - var F = {procname: "newSeq.newSeq", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 633; - F.filename = "system.nim"; - result_1493174044 = new Array(len_1493174043); for (var i = 0 ; i < len_1493174043 ; ++i) { result_1493174044[i] = null; } framePtr = F.prev; +function newSeq_1845495577(len_1845495579) { + var result_1845495580 = []; - return result_1493174044; + result_1845495580 = new Array(len_1845495579); for (var i = 0 ; i < len_1845495579 ; ++i) { result_1845495580[i] = null; } + return result_1845495580; } -function HEX26_1493173955(x_1493173957, y_1493173958) { - var result_1493173959 = []; +function HEX26_1845495491(x_1845495493, y_1845495494) { + var result_1845495495 = []; - var F = {procname: "&.&", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 1537; - F.filename = "system.nim"; - result_1493173959 = new Array(chckRange(addInt((x_1493173957).length, (y_1493173958).length), 0, 2147483647)); for (var i = 0 ; i < chckRange(addInt((x_1493173957).length, (y_1493173958).length), 0, 2147483647) ; ++i) { result_1493173959[i] = {Field0: 0, Field1: 0}; } Label1: { - F.line = 1538; - var i_1493173977 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__1493179186 = 0; - F.line = 1538; - F.filename = "system.nim"; - colontmp__1493179186 = subInt((x_1493173957).length, 1); - F.line = 96; - F.filename = "iterators_1.nim"; - var res_1493179187 = 0; + result_1845495495 = new Array(chckRange(addInt((x_1845495493).length, (y_1845495494).length), 0, 2147483647)); for (var i = 0 ; i < chckRange(addInt((x_1845495493).length, (y_1845495494).length), 0, 2147483647) ; ++i) { result_1845495495[i] = {Field0: 0, Field1: 0}; } Label1: { + var i_1845495513 = 0; + var colontmp__1845500746 = 0; + colontmp__1845500746 = subInt((x_1845495493).length, 1); + var res_1845500747 = 0; Label2: { - F.line = 97; Label3: while (true) { - if (!(res_1493179187 <= colontmp__1493179186)) break Label3; - F.line = 1538; - F.filename = "system.nim"; - i_1493173977 = res_1493179187; - F.line = 1539; - result_1493173959[chckIndx(i_1493173977, 0, (result_1493173959).length - 1)] = nimCopy(result_1493173959[chckIndx(i_1493173977, 0, (result_1493173959).length - 1)], x_1493173957[chckIndx(i_1493173977, 0, (x_1493173957).length - 1)], NTI1224736771); - F.line = 102; - F.filename = "iterators_1.nim"; - res_1493179187 = addInt(res_1493179187, 1); + if (!(res_1845500747 <= colontmp__1845500746)) break Label3; + i_1845495513 = res_1845500747; + result_1845495495[chckIndx(i_1845495513, 0, (result_1845495495).length - 1)] = nimCopy(result_1845495495[chckIndx(i_1845495513, 0, (result_1845495495).length - 1)], x_1845495493[chckIndx(i_1845495513, 0, (x_1845495493).length - 1)], NTI1476395011); + res_1845500747 = addInt(res_1845500747, 1); } }; }; Label4: { - F.line = 1540; - F.filename = "system.nim"; - var i_1493173985 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__1493179190 = 0; - F.line = 1540; - F.filename = "system.nim"; - colontmp__1493179190 = subInt((y_1493173958).length, 1); - F.line = 96; - F.filename = "iterators_1.nim"; - var res_1493179191 = 0; + var i_1845495521 = 0; + var colontmp__1845500750 = 0; + colontmp__1845500750 = subInt((y_1845495494).length, 1); + var res_1845500751 = 0; Label5: { - F.line = 97; Label6: while (true) { - if (!(res_1493179191 <= colontmp__1493179190)) break Label6; - F.line = 1540; - F.filename = "system.nim"; - i_1493173985 = res_1493179191; - F.line = 1541; - result_1493173959[chckIndx(addInt(i_1493173985, (x_1493173957).length), 0, (result_1493173959).length - 1)] = nimCopy(result_1493173959[chckIndx(addInt(i_1493173985, (x_1493173957).length), 0, (result_1493173959).length - 1)], y_1493173958[chckIndx(i_1493173985, 0, (y_1493173958).length - 1)], NTI1224736771); - F.line = 102; - F.filename = "iterators_1.nim"; - res_1493179191 = addInt(res_1493179191, 1); + if (!(res_1845500751 <= colontmp__1845500750)) break Label6; + i_1845495521 = res_1845500751; + result_1845495495[chckIndx(addInt(i_1845495521, (x_1845495493).length), 0, (result_1845495495).length - 1)] = nimCopy(result_1845495495[chckIndx(addInt(i_1845495521, (x_1845495493).length), 0, (result_1845495495).length - 1)], y_1845495494[chckIndx(i_1845495521, 0, (y_1845495494).length - 1)], NTI1476395011); + res_1845500751 = addInt(res_1845500751, 1); } }; }; - framePtr = F.prev; - return result_1493173959; + return result_1845495495; } -function HEX3Aanonymous_1493173949(piece_1493173950, board_1493173951, state_1493173952) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; +function HEX3Aanonymous_1845495485(piece_1845495486, board_1845495487, state_1845495488) { BeforeRet: { - if (!(piece_1493173950.drunk)) { - F.line = 1142; - F.filename = "powers.nim"; - piece_1493173950.drunk = true; - F.line = 1147; - randomize_1392509190(BigInt(addInt(addInt(mulInt(10, piece_1493173950.tile.Field1), mulInt(100, piece_1493173950.tile.Field0)), state_1493173952.Field0.randSeed))); - F.line = 1148; - var takes_1493173953 = getTakesOn_1224737271(piece_1493173950, board_1493173951); - F.line = 1149; - var moves_1493173954 = getMovesOn_1224737386(piece_1493173950, board_1493173951); - if (((HEX26_1493173955(moves_1493173954, takes_1493173953)).length == 0)) { - F.line = 1150; + if (!(piece_1845495486.drunk)) { + piece_1845495486.drunk = true; + randomize_1644167430(BigInt(addInt(addInt(mulInt(10, piece_1845495486.tile.Field1), mulInt(100, piece_1845495486.tile.Field0)), state_1845495488.Field0.randSeed))); + var takes_1845495489 = getTakesOn_1476395511(piece_1845495486, board_1845495487); + var moves_1845495490 = getMovesOn_1476395626(piece_1845495486, board_1845495487); + if (((HEX26_1845495491(moves_1845495490, takes_1845495489)).length == 0)) { break BeforeRet; } - F.line = 1153; - var randomAction_1493173999 = nimCopy(null, sample_1493173919(HEX26_1493173955(moves_1493173954, takes_1493173953)), NTI1224736771); - if (contains_1224737421(takes_1493173953, randomAction_1493173999)) { - F.line = 1157; - piece_1493173950.onTake(piece_1493173950, randomAction_1493173999, board_1493173951, state_1493173952); + var randomAction_1845495535 = nimCopy(null, sample_1845495455(HEX26_1845495491(moves_1845495490, takes_1845495489)), NTI1476395011); + if (contains_1476395661(takes_1845495489, randomAction_1845495535)) { + piece_1845495486.onTake(piece_1845495486, randomAction_1845495535, board_1845495487, state_1845495488); } else { - if (contains_1224737421(moves_1493173954, randomAction_1493173999)) { - F.line = 1159; - piece_1493173950.onMove(piece_1493173950, randomAction_1493173999, board_1493173951, state_1493173952); + if (contains_1476395661(moves_1845495490, randomAction_1845495535)) { + piece_1845495486.onMove(piece_1845495486, randomAction_1845495535, board_1845495487, state_1845495488); } } } }; - framePtr = F.prev; } -function HEX3Aanonymous_1493174033(side_1493174034, __1493174035, b_1493174036, __1493174037) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; +function HEX3Aanonymous_1845495569(side_1845495570, __1845495571, b_1845495572, __1845495573) { Label1: { - F.line = 1203; - F.filename = "powers.nim"; - var i_1493174038 = 0; - F.line = 1203; - var j_1493174039 = 0; + var i_1845495574 = 0; + var j_1845495575 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493179178 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179179 = 0; + var i_1845500738 = 0; + var i_1845500739 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493179179 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493179178 = i_1493179179; + if (!(i_1845500739 < 8)) break Label4; + i_1845500738 = i_1845500739; Label5: { - F.line = 125; - var j_1493179182 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179183 = 0; + var j_1845500742 = 0; + var i_1845500743 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493179183 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493179182 = i_1493179183; - F.line = 1203; - F.filename = "powers.nim"; - i_1493174038 = i_1493179178; - F.line = 1203; - j_1493174039 = j_1493179182; - if ((contains_838862678(b_1493174036[chckIndx(i_1493174038, 0, (b_1493174036).length - 1)][chckIndx(j_1493174039, 0, (b_1493174036[chckIndx(i_1493174038, 0, (b_1493174036).length - 1)]).length - 1)].filePath, [110,105,103,104,116,114,105,100,101,114]) && isColor_1224737813(b_1493174036[chckIndx(i_1493174038, 0, (b_1493174036).length - 1)][chckIndx(j_1493174039, 0, (b_1493174036[chckIndx(i_1493174038, 0, (b_1493174036).length - 1)]).length - 1)], side_1493174034))) { - F.line = 1207; - F.line = 652; - F.filename = "sequtils.nim"; - var resultHEX60gensym76_1493174049 = newSeq_1493174041(0); + if (!(i_1845500743 < 8)) break Label7; + j_1845500742 = i_1845500743; + i_1845495574 = i_1845500738; + j_1845495575 = j_1845500742; + if ((contains_889194326(b_1845495572[chckIndx(i_1845495574, 0, (b_1845495572).length - 1)][chckIndx(j_1845495575, 0, (b_1845495572[chckIndx(i_1845495574, 0, (b_1845495572).length - 1)]).length - 1)].filePath, [110,105,103,104,116,114,105,100,101,114]) && isColor_1476396053(b_1845495572[chckIndx(i_1845495574, 0, (b_1845495572).length - 1)][chckIndx(j_1845495575, 0, (b_1845495572[chckIndx(i_1845495574, 0, (b_1845495572).length - 1)]).length - 1)], side_1845495570))) { + var resultHEX60gensym76_1845495585 = newSeq_1845495577(0); Label8: { - F.line = 653; - var it_1493174053 = null; - F.line = 247; - F.filename = "iterators.nim"; - var colontmp__1493179173 = []; - F.line = 1207; - F.filename = "powers.nim"; - colontmp__1493179173 = b_1493174036[chckIndx(i_1493174038, 0, (b_1493174036).length - 1)][chckIndx(j_1493174039, 0, (b_1493174036[chckIndx(i_1493174038, 0, (b_1493174036).length - 1)]).length - 1)].onEndTurn; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493179174 = 0; - F.line = 250; - var L_1493179175 = (colontmp__1493179173).length; + var it_1845495589 = null; + var colontmp__1845500733 = []; + colontmp__1845500733 = b_1845495572[chckIndx(i_1845495574, 0, (b_1845495572).length - 1)][chckIndx(j_1845495575, 0, (b_1845495572[chckIndx(i_1845495574, 0, (b_1845495572).length - 1)]).length - 1)].onEndTurn; + var i_1845500734 = 0; + var L_1845500735 = (colontmp__1845500733).length; Label9: { - F.line = 251; Label10: while (true) { - if (!(i_1493179174 < L_1493179175)) break Label10; - F.line = 653; - F.filename = "sequtils.nim"; - it_1493174053 = colontmp__1493179173[chckIndx(i_1493179174, 0, (colontmp__1493179173).length - 1)]; - if (!((it_1493174053 == HEX3Aanonymous_1493173893))) { - F.line = 654; - resultHEX60gensym76_1493174049.push(it_1493174053);; + if (!(i_1845500734 < L_1845500735)) break Label10; + it_1845495589 = colontmp__1845500733[chckIndx(i_1845500734, 0, (colontmp__1845500733).length - 1)]; + if (!((it_1845495589 == HEX3Aanonymous_1845495429))) { + resultHEX60gensym76_1845495585.push(it_1845495589);; } - F.line = 13; - F.filename = "iterators.nim"; - i_1493179174 += 1; - if (!(((colontmp__1493179173).length == L_1493179175))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_1845500734 += 1; + if (!(((colontmp__1845500733).length == L_1845500735))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - b_1493174036[chckIndx(i_1493174038, 0, (b_1493174036).length - 1)][chckIndx(j_1493174039, 0, (b_1493174036[chckIndx(i_1493174038, 0, (b_1493174036).length - 1)]).length - 1)].onEndTurn = nimCopy(null, resultHEX60gensym76_1493174049, NTI1493173955); - F.line = 1208; - F.filename = "powers.nim"; - b_1493174036[chckIndx(i_1493174038, 0, (b_1493174036).length - 1)][chckIndx(j_1493174039, 0, (b_1493174036[chckIndx(i_1493174038, 0, (b_1493174036).length - 1)]).length - 1)].onEndTurn.push(HEX3Aanonymous_1493173949);; + b_1845495572[chckIndx(i_1845495574, 0, (b_1845495572).length - 1)][chckIndx(j_1845495575, 0, (b_1845495572[chckIndx(i_1845495574, 0, (b_1845495572).length - 1)]).length - 1)].onEndTurn = nimCopy(null, resultHEX60gensym76_1845495585, NTI1845495491); + b_1845495572[chckIndx(i_1845495574, 0, (b_1845495572).length - 1)][chckIndx(j_1845495575, 0, (b_1845495572[chckIndx(i_1845495574, 0, (b_1845495572).length - 1)]).length - 1)].onEndTurn.push(HEX3Aanonymous_1845495485);; } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493179183 = addInt(i_1493179183, 1); + i_1845500743 = addInt(i_1845500743, 1); } }; }; - F.line = 131; - i_1493179179 = addInt(i_1493179179, 1); + i_1845500739 = addInt(i_1845500739, 1); } }; }; }; - framePtr = F.prev; } -function delete_1493178487(x_1493178489, x_1493178489_Idx, i_1493178490) { - var F = {procname: "delete.delete", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 1972; - F.filename = "system.nim"; - x_1493178489[x_1493178489_Idx].splice(i_1493178490, 1); - framePtr = F.prev; +function delete_1845500046(x_1845500048, x_1845500048_Idx, i_1845500049) { + x_1845500048[x_1845500048_Idx].splice(i_1845500049, 1); } -function find_1493178468(a_1493178471, item_1493178472) { - var result_1493178473 = 0; +function find_1845500027(a_1845500030, item_1845500031) { + var result_1845500032 = 0; - var F = {procname: "find.find", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 1671; - F.filename = "system.nim"; - result_1493178473 = 0; + result_1845500032 = 0; Label1: { - F.line = 1672; - var i_1493178477 = null; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493179199 = 0; - F.line = 250; - var L_1493179200 = (a_1493178471).length; + var i_1845500036 = null; + var i_1845500759 = 0; + var L_1845500760 = (a_1845500030).length; Label2: { - F.line = 251; Label3: while (true) { - if (!(i_1493179199 < L_1493179200)) break Label3; - F.line = 1672; - F.filename = "system.nim"; - i_1493178477 = a_1493178471[chckIndx(i_1493179199, 0, (a_1493178471).length - 1)]; - if ((i_1493178477 == item_1493178472)) { - F.line = 1673; + if (!(i_1845500759 < L_1845500760)) break Label3; + i_1845500036 = a_1845500030[chckIndx(i_1845500759, 0, (a_1845500030).length - 1)]; + if ((i_1845500036 == item_1845500031)) { break BeforeRet; } - F.line = 1674; - result_1493178473 = addInt(result_1493178473, 1); - F.line = 13; - F.filename = "iterators.nim"; - i_1493179199 += 1; - if (!(((a_1493178471).length == L_1493179200))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + result_1845500032 = addInt(result_1845500032, 1); + i_1845500759 += 1; + if (!(((a_1845500030).length == L_1845500760))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - F.line = 1675; - F.filename = "system.nim"; - result_1493178473 = (-1); + result_1845500032 = (-1); }; - framePtr = F.prev; - return result_1493178473; + return result_1845500032; } -function HEX3Aanonymous_1509949480(board_1509949481, p_1509949482) { - var result_1509949483 = [[]]; +function HEX3Aanonymous_1862271016(board_1862271017, p_1862271018) { + var result_1862271019 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 45; - F.filename = "extramoves.nim"; - var next_1509949484 = addIfFree_1291845640(result_1509949483, 0, board_1509949481, p_1509949482.tile, tileLeft_1308622996); - if (next_1509949484) { - F.line = 47; - var _ = addIfFree_1291845640(result_1509949483, 0, board_1509949481, tileLeft_1308622996(p_1509949482.tile), tileLeft_1308622996); + var next_1862271020 = addIfFree_1543503880(result_1862271019, 0, board_1862271017, p_1862271018.tile, tileLeft_1560281236); + if (next_1862271020) { + var _ = addIfFree_1543503880(result_1862271019, 0, board_1862271017, tileLeft_1560281236(p_1862271018.tile), tileLeft_1560281236); } - framePtr = F.prev; - return result_1509949483[0]; + return result_1862271019[0]; } -function HEX3Aanonymous_1509949486(board_1509949487, p_1509949488) { - var result_1509949489 = [[]]; +function HEX3Aanonymous_1862271022(board_1862271023, p_1862271024) { + var result_1862271025 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 50; - F.filename = "extramoves.nim"; - var next_1509949490 = addIfFree_1291845640(result_1509949489, 0, board_1509949487, p_1509949488.tile, tileRight_1308622999); - if (next_1509949490) { - F.line = 52; - var _ = addIfFree_1291845640(result_1509949489, 0, board_1509949487, tileRight_1308622999(p_1509949488.tile), tileRight_1308622999); + var next_1862271026 = addIfFree_1543503880(result_1862271025, 0, board_1862271023, p_1862271024.tile, tileRight_1560281239); + if (next_1862271026) { + var _ = addIfFree_1543503880(result_1862271025, 0, board_1862271023, tileRight_1560281239(p_1862271024.tile), tileRight_1560281239); } - framePtr = F.prev; - return result_1509949489[0]; + return result_1862271025[0]; } -function HEX3Aanonymous_1509949799(board_1509949800, p_1509949801) { - var result_1509949802 = [[]]; +function HEX3Aanonymous_1862271335(board_1862271336, p_1862271337) { + var result_1862271338 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 234; - F.filename = "extramoves.nim"; - add_1224737298(result_1509949802, 0, HEX3Aanonymous_1509949480(board_1509949800, p_1509949801)); - F.line = 235; - add_1224737298(result_1509949802, 0, HEX3Aanonymous_1509949486(board_1509949800, p_1509949801)); - F.line = 236; - add_1224737298(result_1509949802, 0, HEX3Aanonymous_1509949543(board_1509949800, p_1509949801)); - F.line = 237; - add_1224737298(result_1509949802, 0, HEX3Aanonymous_1509949549(board_1509949800, p_1509949801)); - framePtr = F.prev; + add_1476395538(result_1862271338, 0, HEX3Aanonymous_1862271016(board_1862271336, p_1862271337)); + add_1476395538(result_1862271338, 0, HEX3Aanonymous_1862271022(board_1862271336, p_1862271337)); + add_1476395538(result_1862271338, 0, HEX3Aanonymous_1862271079(board_1862271336, p_1862271337)); + add_1476395538(result_1862271338, 0, HEX3Aanonymous_1862271085(board_1862271336, p_1862271337)); - return result_1509949802[0]; + return result_1862271338[0]; } -function HEX3Aanonymous_1509949492(board_1509949493, p_1509949494) { - var result_1509949495 = [[]]; +function HEX3Aanonymous_1862271028(board_1862271029, p_1862271030) { + var result_1862271031 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 55; - F.filename = "extramoves.nim"; - var next_1509949496 = addIfTake_1291845739(result_1509949495, 0, board_1509949493, p_1509949494, p_1509949494.tile, tileLeft_1308622996, false, false); - if (next_1509949496) { - F.line = 57; - var _ = addIfTake_1291845739(result_1509949495, 0, board_1509949493, p_1509949494, tileLeft_1308622996(p_1509949494.tile), tileLeft_1308622996, false, false); + var next_1862271032 = addIfTake_1543503979(result_1862271031, 0, board_1862271029, p_1862271030, p_1862271030.tile, tileLeft_1560281236, false, false); + if (next_1862271032) { + var _ = addIfTake_1543503979(result_1862271031, 0, board_1862271029, p_1862271030, tileLeft_1560281236(p_1862271030.tile), tileLeft_1560281236, false, false); } - framePtr = F.prev; - return result_1509949495[0]; + return result_1862271031[0]; } -function HEX3Aanonymous_1509949498(board_1509949499, p_1509949500) { - var result_1509949501 = [[]]; +function HEX3Aanonymous_1862271034(board_1862271035, p_1862271036) { + var result_1862271037 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 60; - F.filename = "extramoves.nim"; - var next_1509949502 = addIfTake_1291845739(result_1509949501, 0, board_1509949499, p_1509949500, p_1509949500.tile, tileRight_1308622999, false, false); - if (next_1509949502) { - F.line = 62; - var _ = addIfTake_1291845739(result_1509949501, 0, board_1509949499, p_1509949500, tileRight_1308622999(p_1509949500.tile), tileRight_1308622999, false, false); + var next_1862271038 = addIfTake_1543503979(result_1862271037, 0, board_1862271035, p_1862271036, p_1862271036.tile, tileRight_1560281239, false, false); + if (next_1862271038) { + var _ = addIfTake_1543503979(result_1862271037, 0, board_1862271035, p_1862271036, tileRight_1560281239(p_1862271036.tile), tileRight_1560281239, false, false); } - framePtr = F.prev; - return result_1509949501[0]; + return result_1862271037[0]; } -function HEX3Aanonymous_1509949820(board_1509949821, p_1509949822) { - var result_1509949823 = [[]]; +function HEX3Aanonymous_1862271356(board_1862271357, p_1862271358) { + var result_1862271359 = [[]]; - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 240; - F.filename = "extramoves.nim"; - add_1224737298(result_1509949823, 0, HEX3Aanonymous_1509949492(board_1509949821, p_1509949822)); - F.line = 241; - add_1224737298(result_1509949823, 0, HEX3Aanonymous_1509949498(board_1509949821, p_1509949822)); - F.line = 242; - add_1224737298(result_1509949823, 0, HEX3Aanonymous_1509949531(board_1509949821, p_1509949822)); - F.line = 243; - add_1224737298(result_1509949823, 0, HEX3Aanonymous_1509949537(board_1509949821, p_1509949822)); - framePtr = F.prev; + add_1476395538(result_1862271359, 0, HEX3Aanonymous_1862271028(board_1862271357, p_1862271358)); + add_1476395538(result_1862271359, 0, HEX3Aanonymous_1862271034(board_1862271357, p_1862271358)); + add_1476395538(result_1862271359, 0, HEX3Aanonymous_1862271067(board_1862271357, p_1862271358)); + add_1476395538(result_1862271359, 0, HEX3Aanonymous_1862271073(board_1862271357, p_1862271358)); - return result_1509949823[0]; + return result_1862271359[0]; } -function createWithClarity_1493178461() { +function createWithClarity_1845500020() { -function HEX3Aanonymous_1493178464(piece_1493178465, board_1493178466, state_1493178467) { - var F = {procname: "createWithClarity.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - if (clarity_1493178463) { - F.line = 2175; - F.filename = "powers.nim"; - delete_1493178487(piece_1493178465, "moves", chckRange(find_1493178468(piece_1493178465.moves, HEX3Aanonymous_1509949799), 0, 2147483647)); - F.line = 2176; - delete_1493178487(piece_1493178465, "takes", chckRange(find_1493178468(piece_1493178465.takes, HEX3Aanonymous_1509949820), 0, 2147483647)); +function HEX3Aanonymous_1845500023(piece_1845500024, board_1845500025, state_1845500026) { + if (clarity_1845500022) { + delete_1845500046(piece_1845500024, "moves", chckRange(find_1845500027(piece_1845500024.moves, HEX3Aanonymous_1862271335), 0, 2147483647)); + delete_1845500046(piece_1845500024, "takes", chckRange(find_1845500027(piece_1845500024.takes, HEX3Aanonymous_1862271356), 0, 2147483647)); } - if ((state_1493178467.Field1[chckIndx(piece_1493178465.color, 0, (state_1493178467.Field1).length - 1)].hasCastled && !(clarity_1493178463))) { - F.line = 2178; - piece_1493178465.moves.push(HEX3Aanonymous_1509949799);; - F.line = 2179; - piece_1493178465.takes.push(HEX3Aanonymous_1509949820);; - F.line = 2180; - clarity_1493178463 = true; + if ((state_1845500026.Field1[chckIndx(piece_1845500024.color, 0, (state_1845500026.Field1).length - 1)].hasCastled && !(clarity_1845500022))) { + piece_1845500024.moves.push(HEX3Aanonymous_1862271335);; + piece_1845500024.takes.push(HEX3Aanonymous_1862271356);; + clarity_1845500022 = true; } - framePtr = F.prev; } - var result_1493178462 = null; + var result_1845500021 = null; - var F = {procname: "powers.createWithClarity", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 2171; - F.filename = "powers.nim"; - var clarity_1493178463 = false; - F.line = 2172; - result_1493178462 = HEX3Aanonymous_1493178464; - framePtr = F.prev; + var clarity_1845500022 = false; + result_1845500021 = HEX3Aanonymous_1845500023; - return result_1493178462; + return result_1845500021; } -function HEX3Aanonymous_1493178526(side_1493178527, __1493178528, b_1493178529, s_1493178530) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 2192; - F.filename = "powers.nim"; - addOnEndTurnTransform_1493172461(0, side_1493178527, b_1493178529, s_1493178530, createWithClarity_1493178461, false); - framePtr = F.prev; +function HEX3Aanonymous_1845500085(side_1845500086, __1845500087, b_1845500088, s_1845500089) { + addOnEndTurnTransform_1845493997(0, side_1845500086, b_1845500088, s_1845500089, createWithClarity_1845500020, false); } -function isSome_1493177705(self_1493177707) { - var result_1493177708 = false; +function isSome_1845499264(self_1845499266) { + var result_1845499267 = false; - var F = {procname: "isSome.isSome", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/options.nim", line: 0}; - framePtr = F; - F.line = 161; - F.filename = "options.nim"; - result_1493177708 = self_1493177707.has; - framePtr = F.prev; + result_1845499267 = self_1845499266.has; - return result_1493177708; + return result_1845499267; } -function none_1224736932() { - var result_1224736939 = ({val: {Field0: 0, Field1: null, Field2: null}, has: false}); +function none_1476395172() { + var result_1476395179 = ({val: {Field0: 0, Field1: null, Field2: null}, has: false}); - var F = {procname: "none.none", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/options.nim", line: 0}; - framePtr = F; - framePtr = F.prev; - - return result_1224736939; + return result_1476395179; } -function map_1493178608(self_1493178611, callback_1493178613) { +function map_1845500167(self_1845500170, callback_1845500172) { var Temporary1; - var result_1493178614 = ({val: {Field0: 0, Field1: null, Field2: null}, has: false}); + var result_1845500173 = ({val: {Field0: 0, Field1: null, Field2: null}, has: false}); - var F = {procname: "map.map", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/options.nim", line: 0}; - framePtr = F; - F.line = 253; - F.filename = "options.nim"; - if (isSome_1493177705(self_1493178611)) { - Temporary1 = some_1493178051(callback_1493178613(self_1493178611.val)); + if (isSome_1845499264(self_1845500170)) { + Temporary1 = some_1845499610(callback_1845500172(self_1845500170.val)); } else { - Temporary1 = none_1224736932(); + Temporary1 = none_1476395172(); } - result_1493178614 = nimCopy(result_1493178614, Temporary1, NTI1224736839); - framePtr = F.prev; + result_1845500173 = nimCopy(result_1845500173, Temporary1, NTI1476395079); - return result_1493178614; + return result_1845500173; } -function HEX3Aanonymous_1493178545(side_1493178546, __1493178547, __1493178548, s_1493178549) { +function HEX3Aanonymous_1845500104(side_1845500105, __1845500106, __1845500107, s_1845500108) { -function HEX3Aanonymous_1493178591(x_1493178592) { - var result_1493178593 = {Field0: 0, Field1: null, Field2: null}; +function HEX3Aanonymous_1845500150(x_1845500151) { + var result_1845500152 = {Field0: 0, Field1: null, Field2: null}; - var F = {procname: ":anonymous.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 2217; - F.filename = "powers.nim"; - result_1493178593 = nimCopy(result_1493178593, x_1493178592, NTI1224736792); - F.line = 2218; - result_1493178593.Field0 = addInt(result_1493178593.Field0, 1); - framePtr = F.prev; + result_1845500152 = nimCopy(result_1845500152, x_1845500151, NTI1476395032); + result_1845500152.Field0 = addInt(result_1845500152.Field0, 1); - return result_1493178593; + return result_1845500152; } - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; Label1: { - F.line = 2213; - F.filename = "powers.nim"; - var c_1493178579 = null; - F.line = 52; - F.filename = "iterators.nim"; - var i_1493179204 = 0; + var c_1845500138 = null; + var i_1845500764 = 0; Label2: { - F.line = 53; Label3: while (true) { if (!true) break Label3; - F.line = 2213; - F.filename = "powers.nim"; - c_1493178579 = s_1493178549.Field1[chckIndx(side_1493178546, 0, (s_1493178549.Field1).length - 1)].glass[chckIndx(i_1493179204, 0, (s_1493178549.Field1[chckIndx(side_1493178546, 0, (s_1493178549.Field1).length - 1)].glass).length - 1)]; - if (isSome_1493177705(c_1493178579)) { - F.line = 2215; - c_1493178579 = nimCopy(c_1493178579, map_1493178608(c_1493178579, HEX3Aanonymous_1493178591), NTI1224736839); + c_1845500138 = s_1845500108.Field1[chckIndx(side_1845500105, 0, (s_1845500108.Field1).length - 1)].glass[chckIndx(i_1845500764, 0, (s_1845500108.Field1[chckIndx(side_1845500105, 0, (s_1845500108.Field1).length - 1)].glass).length - 1)]; + if (isSome_1845499264(c_1845500138)) { + c_1845500138 = nimCopy(c_1845500138, map_1845500167(c_1845500138, HEX3Aanonymous_1845500150), NTI1476395079); } - if ((4 <= i_1493179204)) { - F.line = 55; - F.filename = "iterators.nim"; + if ((4 <= i_1845500764)) { break Label2; } - F.line = 13; - i_1493179204 += 1; + i_1845500764 += 1; } }; }; - framePtr = F.prev; } -function HEX3Aanonymous_1493174770(piece_1493174771, board_1493174772, state_1493174773) { +function moneyForTakeSingle_1845496184() { + +function HEX3Aanonymous_1845496187(piece_1845496188, b_1845496189, state_1845496190) { + if ((lastPiecesTaken_1845496186 < piece_1845496188.piecesTaken)) { + addMoney_1879048234(piece_1845496188.color, mulInt(subInt(piece_1845496188.piecesTaken, lastPiecesTaken_1845496186), 3), state_1845496190); + } + + lastPiecesTaken_1845496186 = piece_1845496188.piecesTaken; + + + } + + var result_1845496185 = null; + + var lastPiecesTaken_1845496186 = 0; + result_1845496185 = HEX3Aanonymous_1845496187; + + return result_1845496185; + +} + +function HEX3Aanonymous_1845496221(side_1845496222, __1845496223, b_1845496224, s_1845496225) { + addOnEndTurnTransform_1845493997(0, side_1845496222, b_1845496224, s_1845496225, moneyForTakeSingle_1845496184, false); + addOnEndTurnTransform_1845493997(0, side_1845496222, b_1845496224, s_1845496225, moneyForTakeSingle_1845496184, false); + + +} + +function HEX3Aanonymous_1845496329(piece_1845496330, board_1845496331, state_1845496332) { var Temporary2; var Temporary5; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1633; - F.filename = "powers.nim"; - piece_1493174771.onMove(piece_1493174771, tileBelow_1308622993(piece_1493174771.tile), board_1493174772, state_1493174773); + piece_1845496330.onMove(piece_1845496330, tileBelow_1560281233(piece_1845496330.tile), board_1845496331, state_1845496332); Label1: { - F.line = 186; - F.filename = "piece.nim"; - var xHEX60gensym108_1493174778 = null; - F.line = 247; - F.filename = "iterators.nim"; - var colontmp__1493179207 = []; - F.line = 186; - F.filename = "piece.nim"; - colontmp__1493179207 = (Temporary2 = board_1493174772[chckIndx(tileBelow_1308622993(piece_1493174771.tile).Field1, 0, (board_1493174772).length - 1)], Temporary2)[chckIndx(piece_1493174771.tile.Field0, 0, (Temporary2).length - 1)].onEndTurn; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493179208 = 0; - F.line = 250; - var L_1493179209 = (colontmp__1493179207).length; + var xHEX60gensym109_1845496337 = null; + var colontmp__1845500767 = []; + colontmp__1845500767 = (Temporary2 = board_1845496331[chckIndx(tileBelow_1560281233(piece_1845496330.tile).Field1, 0, (board_1845496331).length - 1)], Temporary2)[chckIndx(piece_1845496330.tile.Field0, 0, (Temporary2).length - 1)].onEndTurn; + var i_1845500768 = 0; + var L_1845500769 = (colontmp__1845500767).length; Label3: { - F.line = 251; Label4: while (true) { - if (!(i_1493179208 < L_1493179209)) break Label4; - F.line = 1634; - F.filename = "powers.nim"; - xHEX60gensym108_1493174778 = colontmp__1493179207[chckIndx(i_1493179208, 0, (colontmp__1493179207).length - 1)]; - F.line = 187; - F.filename = "piece.nim"; - xHEX60gensym108_1493174778((Temporary5 = board_1493174772[chckIndx(tileBelow_1308622993(piece_1493174771.tile).Field1, 0, (board_1493174772).length - 1)], Temporary5)[chckIndx(piece_1493174771.tile.Field0, 0, (Temporary5).length - 1)], board_1493174772, state_1493174773); - F.line = 13; - F.filename = "iterators.nim"; - i_1493179208 += 1; - if (!(((colontmp__1493179207).length == L_1493179209))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + if (!(i_1845500768 < L_1845500769)) break Label4; + xHEX60gensym109_1845496337 = colontmp__1845500767[chckIndx(i_1845500768, 0, (colontmp__1845500767).length - 1)]; + xHEX60gensym109_1845496337((Temporary5 = board_1845496331[chckIndx(tileBelow_1560281233(piece_1845496330.tile).Field1, 0, (board_1845496331).length - 1)], Temporary5)[chckIndx(piece_1845496330.tile.Field0, 0, (Temporary5).length - 1)], board_1845496331, state_1845496332); + i_1845500768 += 1; + if (!(((colontmp__1845500767).length == L_1845500769))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - framePtr = F.prev; } -function HEX3Aanonymous_1493174784(piece_1493174785, board_1493174786, s_1493174787) { +function HEX3Aanonymous_1845496343(piece_1845496344, board_1845496345, s_1845496346) { var Temporary1; - var result_1493174788 = false; + var result_1845496347 = false; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 1637; - F.filename = "powers.nim"; - result_1493174788 = (!((piece_1493174785.tile.Field1 == 7)) && isAir_1224737796((Temporary1 = board_1493174786[chckIndx(tileBelow_1308622993(piece_1493174785.tile).Field1, 0, (board_1493174786).length - 1)], Temporary1)[chckIndx(piece_1493174785.tile.Field0, 0, (Temporary1).length - 1)])); + result_1845496347 = (!((piece_1845496344.tile.Field1 == 7)) && isAir_1476396036((Temporary1 = board_1845496345[chckIndx(tileBelow_1560281233(piece_1845496344.tile).Field1, 0, (board_1845496345).length - 1)], Temporary1)[chckIndx(piece_1845496344.tile.Field0, 0, (Temporary1).length - 1)])); break BeforeRet; }; - framePtr = F.prev; - return result_1493174788; + return result_1845496347; } -function HEX3Aanonymous_1493174750(piece_1493174751, board_1493174752, state_1493174753) { +function HEX3Aanonymous_1845496309(piece_1845496310, board_1845496311, state_1845496312) { var Temporary2; var Temporary5; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1626; - F.filename = "powers.nim"; - piece_1493174751.onMove(piece_1493174751, tileAbove_1308622990(piece_1493174751.tile), board_1493174752, state_1493174753); + piece_1845496310.onMove(piece_1845496310, tileAbove_1560281230(piece_1845496310.tile), board_1845496311, state_1845496312); Label1: { - F.line = 186; - F.filename = "piece.nim"; - var xHEX60gensym105_1493174758 = null; - F.line = 247; - F.filename = "iterators.nim"; - var colontmp__1493179212 = []; - F.line = 186; - F.filename = "piece.nim"; - colontmp__1493179212 = (Temporary2 = board_1493174752[chckIndx(tileAbove_1308622990(piece_1493174751.tile).Field1, 0, (board_1493174752).length - 1)], Temporary2)[chckIndx(piece_1493174751.tile.Field0, 0, (Temporary2).length - 1)].onEndTurn; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493179213 = 0; - F.line = 250; - var L_1493179214 = (colontmp__1493179212).length; + var xHEX60gensym106_1845496317 = null; + var colontmp__1845500772 = []; + colontmp__1845500772 = (Temporary2 = board_1845496311[chckIndx(tileAbove_1560281230(piece_1845496310.tile).Field1, 0, (board_1845496311).length - 1)], Temporary2)[chckIndx(piece_1845496310.tile.Field0, 0, (Temporary2).length - 1)].onEndTurn; + var i_1845500773 = 0; + var L_1845500774 = (colontmp__1845500772).length; Label3: { - F.line = 251; Label4: while (true) { - if (!(i_1493179213 < L_1493179214)) break Label4; - F.line = 1627; - F.filename = "powers.nim"; - xHEX60gensym105_1493174758 = colontmp__1493179212[chckIndx(i_1493179213, 0, (colontmp__1493179212).length - 1)]; - F.line = 187; - F.filename = "piece.nim"; - xHEX60gensym105_1493174758((Temporary5 = board_1493174752[chckIndx(tileAbove_1308622990(piece_1493174751.tile).Field1, 0, (board_1493174752).length - 1)], Temporary5)[chckIndx(piece_1493174751.tile.Field0, 0, (Temporary5).length - 1)], board_1493174752, state_1493174753); - F.line = 13; - F.filename = "iterators.nim"; - i_1493179213 += 1; - if (!(((colontmp__1493179212).length == L_1493179214))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + if (!(i_1845500773 < L_1845500774)) break Label4; + xHEX60gensym106_1845496317 = colontmp__1845500772[chckIndx(i_1845500773, 0, (colontmp__1845500772).length - 1)]; + xHEX60gensym106_1845496317((Temporary5 = board_1845496311[chckIndx(tileAbove_1560281230(piece_1845496310.tile).Field1, 0, (board_1845496311).length - 1)], Temporary5)[chckIndx(piece_1845496310.tile.Field0, 0, (Temporary5).length - 1)], board_1845496311, state_1845496312); + i_1845500773 += 1; + if (!(((colontmp__1845500772).length == L_1845500774))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - framePtr = F.prev; } -function HEX3Aanonymous_1493174764(piece_1493174765, board_1493174766, s_1493174767) { +function HEX3Aanonymous_1845496323(piece_1845496324, board_1845496325, s_1845496326) { var Temporary1; - var result_1493174768 = false; + var result_1845496327 = false; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 1630; - F.filename = "powers.nim"; - result_1493174768 = (!((piece_1493174765.tile.Field1 == 0)) && isAir_1224737796((Temporary1 = board_1493174766[chckIndx(tileAbove_1308622990(piece_1493174765.tile).Field1, 0, (board_1493174766).length - 1)], Temporary1)[chckIndx(piece_1493174765.tile.Field0, 0, (Temporary1).length - 1)])); + result_1845496327 = (!((piece_1845496324.tile.Field1 == 0)) && isAir_1476396036((Temporary1 = board_1845496325[chckIndx(tileAbove_1560281230(piece_1845496324.tile).Field1, 0, (board_1845496325).length - 1)], Temporary1)[chckIndx(piece_1845496324.tile.Field0, 0, (Temporary1).length - 1)])); break BeforeRet; }; - framePtr = F.prev; - return result_1493174768; + return result_1845496327; } -function HEX3Aanonymous_1493174790(side_1493174791, __1493174792, b_1493174793, s_1493174794) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - if ((side_1493174791 == 0)) { - F.line = 1651; - F.filename = "powers.nim"; - s_1493174794.Field1[chckIndx(side_1493174791, 0, (s_1493174794.Field1).length - 1)].buys.push({Field0: [77,111,118,101,32,85,112], Field1: alwaysCost_1526726885(7), Field2: HEX3Aanonymous_1493174770, Field3: HEX3Aanonymous_1493174784});; +function HEX3Aanonymous_1845496349(side_1845496350, __1845496351, b_1845496352, s_1845496353) { + if ((side_1845496350 == 0)) { + s_1845496353.Field1[chckIndx(side_1845496350, 0, (s_1845496353.Field1).length - 1)].buys.push({Field0: [77,111,118,101,32,85,112], Field1: alwaysCost_1879048421(7), Field2: HEX3Aanonymous_1845496329, Field3: HEX3Aanonymous_1845496343});; } else { - F.line = 1653; - s_1493174794.Field1[chckIndx(side_1493174791, 0, (s_1493174794.Field1).length - 1)].buys.push({Field0: [77,111,118,101,32,85,112], Field1: alwaysCost_1526726885(7), Field2: HEX3Aanonymous_1493174750, Field3: HEX3Aanonymous_1493174764});; + s_1845496353.Field1[chckIndx(side_1845496350, 0, (s_1845496353.Field1).length - 1)].buys.push({Field0: [77,111,118,101,32,85,112], Field1: alwaysCost_1879048421(7), Field2: HEX3Aanonymous_1845496309, Field3: HEX3Aanonymous_1845496323});; } - framePtr = F.prev; } -function HEX3Aanonymous_1493174833(side_1493174834, __1493174835, b_1493174836, s_1493174837) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - if ((side_1493174834 == 0)) { - F.line = 1677; - F.filename = "powers.nim"; - s_1493174837.Field1[chckIndx(side_1493174834, 0, (s_1493174837.Field1).length - 1)].buys.push({Field0: [77,111,118,101,32,66,97,99,107], Field1: alwaysCost_1526726885(7), Field2: HEX3Aanonymous_1493174750, Field3: HEX3Aanonymous_1493174764});; +function HEX3Aanonymous_1845496392(side_1845496393, __1845496394, b_1845496395, s_1845496396) { + if ((side_1845496393 == 0)) { + s_1845496396.Field1[chckIndx(side_1845496393, 0, (s_1845496396.Field1).length - 1)].buys.push({Field0: [77,111,118,101,32,66,97,99,107], Field1: alwaysCost_1879048421(7), Field2: HEX3Aanonymous_1845496309, Field3: HEX3Aanonymous_1845496323});; } else { - F.line = 1679; - s_1493174837.Field1[chckIndx(side_1493174834, 0, (s_1493174837.Field1).length - 1)].buys.push({Field0: [77,111,118,101,32,66,97,99,107], Field1: alwaysCost_1526726885(7), Field2: HEX3Aanonymous_1493174770, Field3: HEX3Aanonymous_1493174784});; + s_1845496396.Field1[chckIndx(side_1845496393, 0, (s_1845496396.Field1).length - 1)].buys.push({Field0: [77,111,118,101,32,66,97,99,107], Field1: alwaysCost_1879048421(7), Field2: HEX3Aanonymous_1845496329, Field3: HEX3Aanonymous_1845496343});; } - framePtr = F.prev; } -function HEX3Aanonymous_1493174860(side_1493174861, __1493174862, b_1493174863, s_1493174864) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1695; - F.filename = "powers.nim"; - addMoney_1526726698(side_1493174861, 10, s_1493174864); - framePtr = F.prev; +function HEX3Aanonymous_1845496419(side_1845496420, __1845496421, b_1845496422, s_1845496423) { + addMoney_1879048234(side_1845496420, 10, s_1845496423); } -function buyMoveUpgrade_1526726781(move_1526726782) { +function buyMoveUpgrade_1879048317(move_1879048318) { -function HEX3Aanonymous_1526726784(piece_1526726785, board_1526726786, __1526726787) { - var F = {procname: "buyMoveUpgrade.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/capitalism.nim", line: 0}; - framePtr = F; - F.line = 34; - F.filename = "capitalism.nim"; - piece_1526726785.moves.push(move_1526726782);; - framePtr = F.prev; +function HEX3Aanonymous_1879048320(piece_1879048321, board_1879048322, __1879048323) { + piece_1879048321.moves.push(move_1879048318);; } - var result_1526726783 = null; + var result_1879048319 = null; - var F = {procname: "capitalism.buyMoveUpgrade", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/capitalism.nim", line: 0}; - framePtr = F; - F.line = 33; - F.filename = "capitalism.nim"; - result_1526726783 = HEX3Aanonymous_1526726784; - framePtr = F.prev; + result_1879048319 = HEX3Aanonymous_1879048320; - return result_1526726783; + return result_1879048319; } -function find_1526726820(a_1526726823, item_1526726824) { - var result_1526726825 = 0; +function find_1879048356(a_1879048359, item_1879048360) { + var result_1879048361 = 0; - var F = {procname: "find.find", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 1671; - F.filename = "system.nim"; - result_1526726825 = 0; + result_1879048361 = 0; Label1: { - F.line = 1672; - var i_1526726839 = null; - F.line = 18; - F.filename = "iterators.nim"; - var i_1493179218 = 0; + var i_1879048375 = null; + var i_1845500778 = 0; Label2: { - F.line = 19; Label3: while (true) { - if (!(i_1493179218 < (a_1526726823).length)) break Label3; - F.line = 1672; - F.filename = "system.nim"; - i_1526726839 = a_1526726823[chckIndx(i_1493179218, 0, (a_1526726823).length - 1)]; - if ((i_1526726839 == item_1526726824)) { - F.line = 1673; + if (!(i_1845500778 < (a_1879048359).length)) break Label3; + i_1879048375 = a_1879048359[chckIndx(i_1845500778, 0, (a_1879048359).length - 1)]; + if ((i_1879048375 == item_1879048360)) { break BeforeRet; } - F.line = 1674; - result_1526726825 = addInt(result_1526726825, 1); - F.line = 13; - F.filename = "iterators.nim"; - i_1493179218 += 1; + result_1879048361 = addInt(result_1879048361, 1); + i_1845500778 += 1; } }; }; - F.line = 1675; - F.filename = "system.nim"; - result_1526726825 = (-1); + result_1879048361 = (-1); }; - framePtr = F.prev; - return result_1526726825; + return result_1879048361; } -function contains_1526726815(a_1526726817, item_1526726818) { - var result_1526726819 = false; +function contains_1879048351(a_1879048353, item_1879048354) { + var result_1879048355 = false; - var F = {procname: "contains.contains", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 1689; - F.filename = "system.nim"; - result_1526726819 = (0 <= find_1526726820(a_1526726817, item_1526726818)); + result_1879048355 = (0 <= find_1879048356(a_1879048353, item_1879048354)); break BeforeRet; }; - framePtr = F.prev; - return result_1526726819; + return result_1879048355; } -function buyMoveUpgradeCondition_1526726807(move_1526726808) { +function buyMoveUpgradeCondition_1879048343(move_1879048344) { -function HEX3Aanonymous_1526726810(piece_1526726811, board_1526726812, s_1526726813) { - var result_1526726814 = false; +function HEX3Aanonymous_1879048346(piece_1879048347, board_1879048348, s_1879048349) { + var result_1879048350 = false; - var F = {procname: "buyMoveUpgradeCondition.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/capitalism.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 38; - F.filename = "capitalism.nim"; - result_1526726814 = !(contains_1526726815(piece_1526726811.moves, move_1526726808)); + result_1879048350 = !(contains_1879048351(piece_1879048347.moves, move_1879048344)); break BeforeRet; }; - framePtr = F.prev; - return result_1526726814; + return result_1879048350; } - var result_1526726809 = null; + var result_1879048345 = null; - var F = {procname: "capitalism.buyMoveUpgradeCondition", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/capitalism.nim", line: 0}; - framePtr = F; - F.line = 37; - F.filename = "capitalism.nim"; - result_1526726809 = HEX3Aanonymous_1526726810; - framePtr = F.prev; + result_1879048345 = HEX3Aanonymous_1879048346; - return result_1526726809; + return result_1879048345; } -function exceptCost_1526726908(normalCost_1526726909, exceptPiece_1526726910, exceptCost_1526726911) { +function exceptCost_1879048444(normalCost_1879048445, exceptPiece_1879048446, exceptCost_1879048447) { -function HEX3Aanonymous_1526726913(piece_1526726914, b_1526726915, s_1526726916) { +function HEX3Aanonymous_1879048449(piece_1879048450, b_1879048451, s_1879048452) { var Temporary1; - var result_1526726917 = 0; + var result_1879048453 = 0; - var F = {procname: "exceptCost.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/capitalism.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 49; - F.filename = "capitalism.nim"; - if (!((piece_1526726914.item == exceptPiece_1526726910))) { - Temporary1 = normalCost_1526726909; + if (!((piece_1879048450.item == exceptPiece_1879048446))) { + Temporary1 = normalCost_1879048445; } else { - Temporary1 = exceptCost_1526726911; + Temporary1 = exceptCost_1879048447; } - result_1526726917 = Temporary1; + result_1879048453 = Temporary1; break BeforeRet; }; - framePtr = F.prev; - return result_1526726917; + return result_1879048453; } - var result_1526726912 = null; + var result_1879048448 = null; - var F = {procname: "capitalism.exceptCost", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/capitalism.nim", line: 0}; - framePtr = F; - F.line = 48; - F.filename = "capitalism.nim"; - result_1526726912 = HEX3Aanonymous_1526726913; - framePtr = F.prev; + result_1879048448 = HEX3Aanonymous_1879048449; - return result_1526726912; + return result_1879048448; } -function HEX3Aanonymous_1493174867(side_1493174868, __1493174869, b_1493174870, s_1493174871) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1712; - F.filename = "powers.nim"; - var action_1493174872 = buyMoveUpgrade_1526726781(HEX3Aanonymous_1291846082); - F.line = 1713; - var condition_1493174873 = buyMoveUpgradeCondition_1526726807(HEX3Aanonymous_1291846082); - F.line = 1714; - s_1493174871.Field1[chckIndx(side_1493174868, 0, (s_1493174871.Field1).length - 1)].buys.push({Field0: [85,112,103,114,97,100,101], Field1: exceptCost_1526726908(8, 0, 38), Field2: action_1493174872, Field3: condition_1493174873});; - framePtr = F.prev; +function HEX3Aanonymous_1845496426(side_1845496427, __1845496428, b_1845496429, s_1845496430) { + var action_1845496431 = buyMoveUpgrade_1879048317(HEX3Aanonymous_1543504322); + var condition_1845496432 = buyMoveUpgradeCondition_1879048343(HEX3Aanonymous_1543504322); + s_1845496430.Field1[chckIndx(side_1845496427, 0, (s_1845496430.Field1).length - 1)].buys.push({Field0: [85,112,103,114,97,100,101], Field1: exceptCost_1879048444(8, 0, 38), Field2: action_1845496431, Field3: condition_1845496432});; } -function HEX3Aanonymous_1493174884(side_1493174885, __1493174886, b_1493174887, s_1493174888) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1731; - F.filename = "powers.nim"; - var action_1493174889 = buyMoveUpgrade_1526726781(HEX3Aanonymous_1509949640); - F.line = 1732; - var condition_1493174890 = buyMoveUpgradeCondition_1526726807(HEX3Aanonymous_1509949640); - F.line = 1733; - s_1493174888.Field1[chckIndx(side_1493174885, 0, (s_1493174888.Field1).length - 1)].buys.push({Field0: [85,112,103,114,97,100,101], Field1: exceptCost_1526726908(8, 0, 38), Field2: action_1493174889, Field3: condition_1493174890});; - framePtr = F.prev; +function HEX3Aanonymous_1845496443(side_1845496444, __1845496445, b_1845496446, s_1845496447) { + var action_1845496448 = buyMoveUpgrade_1879048317(HEX3Aanonymous_1862271176); + var condition_1845496449 = buyMoveUpgradeCondition_1879048343(HEX3Aanonymous_1862271176); + s_1845496447.Field1[chckIndx(side_1845496444, 0, (s_1845496447.Field1).length - 1)].buys.push({Field0: [85,112,103,114,97,100,101], Field1: exceptCost_1879048444(8, 0, 38), Field2: action_1845496448, Field3: condition_1845496449});; } -function HEX3Aanonymous_1493177828(side_1493177829, __1493177830, b_1493177831, s_1493177832) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1815; - F.filename = "powers.nim"; - addOnEndTurnTransform_1493172461(0, side_1493177829, b_1493177831, s_1493177832, moneyForTake_1493174646, false); - framePtr = F.prev; +function HEX3Aanonymous_1845499387(side_1845499388, __1845499389, b_1845499390, s_1845499391) { + addOnEndTurnTransform_1845493997(0, side_1845499388, b_1845499390, s_1845499391, moneyForTakeAll_1845496166, false); } -function moneyForMove_1493177835() { +function moneyForMove_1845499394() { -function HEX3Aanonymous_1493177838(piece_1493177839, b_1493177840, state_1493177841) { - var F = {procname: "moneyForMove.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1826; - F.filename = "powers.nim"; - var allTimesMoved_1493177842 = 0; +function HEX3Aanonymous_1845499397(piece_1845499398, b_1845499399, state_1845499400) { + var allTimesMoved_1845499401 = 0; Label1: { - F.line = 1827; - var i_1493177843 = 0; - F.line = 1827; - var j_1493177844 = 0; + var i_1845499402 = 0; + var j_1845499403 = 0; Label2: { - F.line = 124; - F.filename = "piece.nim"; - var i_1493179222 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179223 = 0; + var i_1845500782 = 0; + var i_1845500783 = 0; Label3: { - F.line = 129; Label4: while (true) { - if (!(i_1493179223 < 8)) break Label4; - F.line = 124; - F.filename = "piece.nim"; - i_1493179222 = i_1493179223; + if (!(i_1845500783 < 8)) break Label4; + i_1845500782 = i_1845500783; Label5: { - F.line = 125; - var j_1493179226 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_1493179227 = 0; + var j_1845500786 = 0; + var i_1845500787 = 0; Label6: { - F.line = 129; Label7: while (true) { - if (!(i_1493179227 < 8)) break Label7; - F.line = 125; - F.filename = "piece.nim"; - j_1493179226 = i_1493179227; - F.line = 1827; - F.filename = "powers.nim"; - i_1493177843 = i_1493179222; - F.line = 1827; - j_1493177844 = j_1493179226; - if (sameColor_1224737804(b_1493177840[chckIndx(i_1493177843, 0, (b_1493177840).length - 1)][chckIndx(j_1493177844, 0, (b_1493177840[chckIndx(i_1493177843, 0, (b_1493177840).length - 1)]).length - 1)], piece_1493177839)) { - F.line = 1829; - allTimesMoved_1493177842 = addInt(allTimesMoved_1493177842, b_1493177840[chckIndx(i_1493177843, 0, (b_1493177840).length - 1)][chckIndx(j_1493177844, 0, (b_1493177840[chckIndx(i_1493177843, 0, (b_1493177840).length - 1)]).length - 1)].timesMoved); + if (!(i_1845500787 < 8)) break Label7; + j_1845500786 = i_1845500787; + i_1845499402 = i_1845500782; + j_1845499403 = j_1845500786; + if (sameColor_1476396044(b_1845499399[chckIndx(i_1845499402, 0, (b_1845499399).length - 1)][chckIndx(j_1845499403, 0, (b_1845499399[chckIndx(i_1845499402, 0, (b_1845499399).length - 1)]).length - 1)], piece_1845499398)) { + allTimesMoved_1845499401 = addInt(allTimesMoved_1845499401, b_1845499399[chckIndx(i_1845499402, 0, (b_1845499399).length - 1)][chckIndx(j_1845499403, 0, (b_1845499399[chckIndx(i_1845499402, 0, (b_1845499399).length - 1)]).length - 1)].timesMoved); } - F.line = 131; - F.filename = "iterators_1.nim"; - i_1493179227 = addInt(i_1493179227, 1); + i_1845500787 = addInt(i_1845500787, 1); } }; }; - F.line = 131; - i_1493179223 = addInt(i_1493179223, 1); + i_1845500783 = addInt(i_1845500783, 1); } }; }; }; - if ((lastTimesMoved_1493177837 < allTimesMoved_1493177842)) { - F.line = 1832; - F.filename = "powers.nim"; - addMoney_1526726698(piece_1493177839.color, mulInt(subInt(allTimesMoved_1493177842, lastTimesMoved_1493177837), 1), state_1493177841); + if ((lastTimesMoved_1845499396 < allTimesMoved_1845499401)) { + addMoney_1879048234(piece_1845499398.color, mulInt(subInt(allTimesMoved_1845499401, lastTimesMoved_1845499396), 1), state_1845499400); } - F.line = 1833; - lastTimesMoved_1493177837 = allTimesMoved_1493177842; - framePtr = F.prev; + lastTimesMoved_1845499396 = allTimesMoved_1845499401; } - var result_1493177836 = null; + var result_1845499395 = null; - var F = {procname: "powers.moneyForMove", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1821; - F.filename = "powers.nim"; - var lastTimesMoved_1493177837 = 0; - F.line = 1825; - result_1493177836 = HEX3Aanonymous_1493177838; - framePtr = F.prev; + var lastTimesMoved_1845499396 = 0; + result_1845499395 = HEX3Aanonymous_1845499397; - return result_1493177836; + return result_1845499395; } -function HEX3Aanonymous_1493177849(side_1493177850, __1493177851, b_1493177852, s_1493177853) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1847; - F.filename = "powers.nim"; - addOnEndTurnTransform_1493172461(0, side_1493177850, b_1493177852, s_1493177853, moneyForMove_1493177835, false); - framePtr = F.prev; +function HEX3Aanonymous_1845499408(side_1845499409, __1845499410, b_1845499411, s_1845499412) { + addOnEndTurnTransform_1845493997(0, side_1845499409, b_1845499411, s_1845499412, moneyForMove_1845499394, false); } -function createPieceMarket_1493177776(cost_1493177777, rate_1493177778) { +function createPieceMarket_1845499335(cost_1845499336, rate_1845499337) { -function HEX3Aanonymous_1493177780(piece_1493177781, b_1493177782, s_1493177783) { - var result_1493177784 = 0; +function HEX3Aanonymous_1845499339(piece_1845499340, b_1845499341, s_1845499342) { + var result_1845499343 = 0; - var F = {procname: "createPieceMarket.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1754; - F.filename = "powers.nim"; - result_1493177784 = addInt(cost_1493177777, mulInt(rate_1493177778, s_1493177783.Field1[chckIndx(piece_1493177781.color, 0, (s_1493177783.Field1).length - 1)].piecesSoldThisTurn)); - framePtr = F.prev; + result_1845499343 = addInt(cost_1845499336, mulInt(rate_1845499337, s_1845499342.Field1[chckIndx(piece_1845499340.color, 0, (s_1845499342.Field1).length - 1)].piecesSoldThisTurn)); - return result_1493177784; + return result_1845499343; } - var result_1493177779 = null; + var result_1845499338 = null; - var F = {procname: "powers.createPieceMarket", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1753; - F.filename = "powers.nim"; - result_1493177779 = HEX3Aanonymous_1493177780; - framePtr = F.prev; + result_1845499338 = HEX3Aanonymous_1845499339; - return result_1493177779; + return result_1845499338; } -function addQuoted_1493175983(s_1493175985, s_1493175985_Idx, x_1493175986) { - var F = {procname: "addQuoted.addQuoted", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 2539; - F.filename = "system.nim"; - s_1493175985[s_1493175985_Idx].push.apply(s_1493175985[s_1493175985_Idx], nimBoolToStr(x_1493175986));; - framePtr = F.prev; +function addQuoted_1845497542(s_1845497544, s_1845497544_Idx, x_1845497545) { + s_1845497544[s_1845497544_Idx].push.apply(s_1845497544[s_1845497544_Idx], nimBoolToStr(x_1845497545));; } -function addQuoted_1493176578(s_1493176580, s_1493176580_Idx, x_1493176581) { - var F = {procname: "addQuoted.addQuoted", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 2539; - F.filename = "system.nim"; - s_1493176580[s_1493176580_Idx].push.apply(s_1493176580[s_1493176580_Idx], reprEnum(x_1493176581, NTI1224736776));; - framePtr = F.prev; +function addQuoted_1845498137(s_1845498139, s_1845498139_Idx, x_1845498140) { + s_1845498139[s_1845498139_Idx].push.apply(s_1845498139[s_1845498139_Idx], reprEnum(x_1845498140, NTI1476395016));; } -function addQuoted_1493176598(s_1493176600, s_1493176600_Idx, x_1493176601) { - var F = {procname: "addQuoted.addQuoted", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 2539; - F.filename = "system.nim"; - s_1493176600[s_1493176600_Idx].push.apply(s_1493176600[s_1493176600_Idx], reprEnum(x_1493176601, NTI1224736777));; - framePtr = F.prev; +function addQuoted_1845498157(s_1845498159, s_1845498159_Idx, x_1845498160) { + s_1845498159[s_1845498159_Idx].push.apply(s_1845498159[s_1845498159_Idx], reprEnum(x_1845498160, NTI1476395017));; } -function addQuoted_1493176654(s_1493176656, s_1493176656_Idx, x_1493176657) { - var F = {procname: "addQuoted.addQuoted", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 2539; - F.filename = "system.nim"; - s_1493176656[s_1493176656_Idx].push.apply(s_1493176656[s_1493176656_Idx], HEX24_1224737476(x_1493176657));; - framePtr = F.prev; +function addQuoted_1845498213(s_1845498215, s_1845498215_Idx, x_1845498216) { + s_1845498215[s_1845498215_Idx].push.apply(s_1845498215[s_1845498215_Idx], HEX24_1476395716(x_1845498216));; } function addEscapedChar_33558024(s_33558025, s_33558025_Idx, c_33558026) { - var F = {procname: "system.addEscapedChar", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 2472; - F.filename = "system.nim"; switch (c_33558026) { case 7: - F.line = 2473; s_33558025[s_33558025_Idx].push.apply(s_33558025[s_33558025_Idx], [92,97]);; break; case 8: - F.line = 2474; s_33558025[s_33558025_Idx].push.apply(s_33558025[s_33558025_Idx], [92,98]);; break; case 9: - F.line = 2475; s_33558025[s_33558025_Idx].push.apply(s_33558025[s_33558025_Idx], [92,116]);; break; case 10: - F.line = 2476; s_33558025[s_33558025_Idx].push.apply(s_33558025[s_33558025_Idx], [92,110]);; break; case 11: - F.line = 2477; s_33558025[s_33558025_Idx].push.apply(s_33558025[s_33558025_Idx], [92,118]);; break; case 12: - F.line = 2478; s_33558025[s_33558025_Idx].push.apply(s_33558025[s_33558025_Idx], [92,102]);; break; case 13: - F.line = 2479; s_33558025[s_33558025_Idx].push.apply(s_33558025[s_33558025_Idx], [92,114]);; break; case 27: - F.line = 2480; s_33558025[s_33558025_Idx].push.apply(s_33558025[s_33558025_Idx], [92,101]);; break; case 92: - F.line = 2481; s_33558025[s_33558025_Idx].push.apply(s_33558025[s_33558025_Idx], [92,92]);; break; case 39: - F.line = 2482; s_33558025[s_33558025_Idx].push.apply(s_33558025[s_33558025_Idx], [92,39]);; break; case 34: - F.line = 2483; s_33558025[s_33558025_Idx].push.apply(s_33558025[s_33558025_Idx], [92,34]);; break; case 32: @@ -11446,1310 +7777,804 @@ function addEscapedChar_33558024(s_33558025, s_33558025_Idx, c_33558026) { case 124: case 125: case 126: - F.line = 2484; addChar(s_33558025[s_33558025_Idx], c_33558026);; break; default: - F.line = 2486; s_33558025[s_33558025_Idx].push.apply(s_33558025[s_33558025_Idx], [92,120]);; - F.line = 2488; var n_33558036 = c_33558026; - F.line = 2489; addChar(s_33558025[s_33558025_Idx], [48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70][chckIndx(((n_33558036 & 240) >> 4), 0, ([48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]).length - 1)]);; - F.line = 2490; addChar(s_33558025[s_33558025_Idx], [48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70][chckIndx((n_33558036 & 15), 0, ([48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]).length - 1)]);; break; } - framePtr = F.prev; - - -} - -function addQuoted_1493176842(s_1493176844, s_1493176844_Idx, x_1493176845) { - var F = {procname: "addQuoted.addQuoted", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 2518; - F.filename = "system.nim"; - s_1493176844[s_1493176844_Idx].push.apply(s_1493176844[s_1493176844_Idx], [34]);; - Label1: { - F.line = 2519; - var c_1493176846 = 0; - F.line = 267; - F.filename = "iterators.nim"; - var i_1493179234 = 0; - F.line = 268; - var L_1493179235 = (x_1493176845).length; - Label2: { - F.line = 269; - Label3: while (true) { - if (!(i_1493179234 < L_1493179235)) break Label3; - F.line = 2519; - F.filename = "system.nim"; - c_1493176846 = x_1493176845[chckIndx(i_1493179234, 0, (x_1493176845).length - 1)]; - if ((c_1493176846 <= 127)) { - F.line = 2523; - addEscapedChar_33558024(s_1493176844, s_1493176844_Idx, c_1493176846); - } - else { - F.line = 2525; - addChar(s_1493176844[s_1493176844_Idx], c_1493176846);; - } - - F.line = 13; - F.filename = "iterators.nim"; - i_1493179234 += 1; - if (!(((x_1493176845).length == L_1493179235))) { - F.line = 272; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(272, 11) `len(a) == L` the length of the string changed while iterating over it")); - } - - } - }; - }; - F.line = 2526; - F.filename = "system.nim"; - s_1493176844[s_1493176844_Idx].push.apply(s_1493176844[s_1493176844_Idx], [34]);; - framePtr = F.prev; - - -} - -function addQuoted_1493177106(s_1493177108, s_1493177108_Idx, x_1493177109) { - var F = {procname: "addQuoted.addQuoted", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 2539; - F.filename = "system.nim"; - s_1493177108[s_1493177108_Idx].push.apply(s_1493177108[s_1493177108_Idx], reprEnum(x_1493177109, NTI1224736789));; - framePtr = F.prev; - - -} - -function HEX24_1493177050(x_1493177052) { - var result_1493177053 = [[]]; - - var F = {procname: "$.$", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/dollars.nim", line: 0}; - framePtr = F; - F.line = 19; - F.filename = "miscdollars.nim"; - result_1493177053[0] = nimCopy(null, [40], NTI33554449); - F.line = 21; - var countHEX60gensym347_1493177064 = 0; - if ((0 < countHEX60gensym347_1493177064)) { - F.line = 23; - result_1493177053[0].push.apply(result_1493177053[0], [44,32]);; + + +} + +function addQuoted_1845498401(s_1845498403, s_1845498403_Idx, x_1845498404) { + s_1845498403[s_1845498403_Idx].push.apply(s_1845498403[s_1845498403_Idx], [34]);; + Label1: { + var c_1845498405 = 0; + var i_1845500794 = 0; + var L_1845500795 = (x_1845498404).length; + Label2: { + Label3: while (true) { + if (!(i_1845500794 < L_1845500795)) break Label3; + c_1845498405 = x_1845498404[chckIndx(i_1845500794, 0, (x_1845498404).length - 1)]; + if ((c_1845498405 <= 127)) { + addEscapedChar_33558024(s_1845498403, s_1845498403_Idx, c_1845498405); + } + else { + addChar(s_1845498403[s_1845498403_Idx], c_1845498405);; + } + + i_1845500794 += 1; + if (!(((x_1845498404).length == L_1845500795))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(272, 11) `len(a) == L` the length of the string changed while iterating over it")); + } + + } + }; + }; + s_1845498403[s_1845498403_Idx].push.apply(s_1845498403[s_1845498403_Idx], [34]);; + + +} + +function addQuoted_1845498665(s_1845498667, s_1845498667_Idx, x_1845498668) { + s_1845498667[s_1845498667_Idx].push.apply(s_1845498667[s_1845498667_Idx], reprEnum(x_1845498668, NTI1476395029));; + + +} + +function HEX24_1845498609(x_1845498611) { + var result_1845498612 = [[]]; + + result_1845498612[0] = nimCopy(null, [40], NTI33554449); + var countHEX60gensym348_1845498623 = 0; + if ((0 < countHEX60gensym348_1845498623)) { + result_1845498612[0].push.apply(result_1845498612[0], [44,32]);; + } + + result_1845498612[0].push.apply(result_1845498612[0], [111,110]);; + result_1845498612[0].push.apply(result_1845498612[0], [58,32]);; + countHEX60gensym348_1845498623 += 1; + addQuoted_1845498213(result_1845498612, 0, x_1845498611["Field0"]); + if ((0 < countHEX60gensym348_1845498623)) { + result_1845498612[0].push.apply(result_1845498612[0], [44,32]);; + } + + result_1845498612[0].push.apply(result_1845498612[0], [103,114,111,117,112]);; + result_1845498612[0].push.apply(result_1845498612[0], [58,32]);; + countHEX60gensym348_1845498623 += 1; + addQuoted_889193861(result_1845498612, 0, x_1845498611["Field1"]); + if ((0 < countHEX60gensym348_1845498623)) { + result_1845498612[0].push.apply(result_1845498612[0], [44,32]);; + } + + result_1845498612[0].push.apply(result_1845498612[0], [103,108,97,115,115]);; + result_1845498612[0].push.apply(result_1845498612[0], [58,32]);; + countHEX60gensym348_1845498623 += 1; + addQuoted_1845498665(result_1845498612, 0, x_1845498611["Field2"]); + result_1845498612[0].push.apply(result_1845498612[0], [41]);; + + return result_1845498612[0]; + +} + +function addQuoted_1845498603(s_1845498605, s_1845498605_Idx, x_1845498606) { + s_1845498605[s_1845498605_Idx].push.apply(s_1845498605[s_1845498605_Idx], HEX24_1845498609(x_1845498606));; + + +} + +function collectionToString_1845498569(x_1845498571, prefix_1845498572, separator_1845498573, suffix_1845498574) { + var result_1845498575 = [[]]; + + result_1845498575[0] = nimCopy(null, prefix_1845498572, NTI33554449); + var firstElement_1845498576 = true; + Label1: { + var value_1845498599 = {Field0: {Field0: 0, Field1: 0}, Field1: 0, Field2: 0}; + var i_1845500798 = 0; + var L_1845500799 = (x_1845498571).length; + Label2: { + Label3: while (true) { + if (!(i_1845500798 < L_1845500799)) break Label3; + value_1845498599 = x_1845498571[i_1845500798]; + if (firstElement_1845498576) { + firstElement_1845498576 = false; + } + else { + result_1845498575[0].push.apply(result_1845498575[0], separator_1845498573);; + } + + addQuoted_1845498603(result_1845498575, 0, value_1845498599); + i_1845500798 += 1; + if (!(((x_1845498571).length == L_1845500799))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + } + + } + }; + }; + result_1845498575[0].push.apply(result_1845498575[0], suffix_1845498574);; + + return result_1845498575[0]; + +} + +function HEX24_1845498565(x_1845498567) { + var result_1845498568 = []; + + result_1845498568 = nimCopy(null, collectionToString_1845498569(x_1845498567, [64,91], [44,32], [93]), NTI33554449); + + return result_1845498568; + +} + +function addQuoted_1845498559(s_1845498561, s_1845498561_Idx, x_1845498562) { + s_1845498561[s_1845498561_Idx].push.apply(s_1845498561[s_1845498561_Idx], HEX24_1845498565(x_1845498562));; + + +} + +function HEX24_1845498108(x_1845498110) { + var result_1845498111 = [[]]; + + result_1845498111[0] = nimCopy(null, [40], NTI33554449); + var countHEX60gensym290_1845498122 = 0; + if ((0 < countHEX60gensym290_1845498122)) { + result_1845498111[0].push.apply(result_1845498111[0], [44,32]);; + } + + result_1845498111[0].push.apply(result_1845498111[0], [105,116,101,109]);; + result_1845498111[0].push.apply(result_1845498111[0], [58,32]);; + countHEX60gensym290_1845498122 += 1; + addQuoted_1845498137(result_1845498111, 0, x_1845498110.item); + if ((0 < countHEX60gensym290_1845498122)) { + result_1845498111[0].push.apply(result_1845498111[0], [44,32]);; + } + + result_1845498111[0].push.apply(result_1845498111[0], [99,111,108,111,114]);; + result_1845498111[0].push.apply(result_1845498111[0], [58,32]);; + countHEX60gensym290_1845498122 += 1; + addQuoted_1845498157(result_1845498111, 0, x_1845498110.color); + if ((0 < countHEX60gensym290_1845498122)) { + result_1845498111[0].push.apply(result_1845498111[0], [44,32]);; + } + + result_1845498111[0].push.apply(result_1845498111[0], [105,110,100,101,120]);; + result_1845498111[0].push.apply(result_1845498111[0], [58,32]);; + countHEX60gensym290_1845498122 += 1; + addQuoted_889193861(result_1845498111, 0, x_1845498110.index); + if ((0 < countHEX60gensym290_1845498122)) { + result_1845498111[0].push.apply(result_1845498111[0], [44,32]);; + } + + result_1845498111[0].push.apply(result_1845498111[0], [116,105,109,101,115,77,111,118,101,100]);; + result_1845498111[0].push.apply(result_1845498111[0], [58,32]);; + countHEX60gensym290_1845498122 += 1; + addQuoted_889193861(result_1845498111, 0, x_1845498110.timesMoved); + if ((0 < countHEX60gensym290_1845498122)) { + result_1845498111[0].push.apply(result_1845498111[0], [44,32]);; + } + + result_1845498111[0].push.apply(result_1845498111[0], [112,105,101,99,101,115,84,97,107,101,110]);; + result_1845498111[0].push.apply(result_1845498111[0], [58,32]);; + countHEX60gensym290_1845498122 += 1; + addQuoted_889193861(result_1845498111, 0, x_1845498110.piecesTaken); + if ((0 < countHEX60gensym290_1845498122)) { + result_1845498111[0].push.apply(result_1845498111[0], [44,32]);; + } + + result_1845498111[0].push.apply(result_1845498111[0], [116,105,108,101]);; + result_1845498111[0].push.apply(result_1845498111[0], [58,32]);; + countHEX60gensym290_1845498122 += 1; + addQuoted_1845498213(result_1845498111, 0, x_1845498110.tile); + if ((0 < countHEX60gensym290_1845498122)) { + result_1845498111[0].push.apply(result_1845498111[0], [44,32]);; + } + + result_1845498111[0].push.apply(result_1845498111[0], [109,111,118,101,115]);; + result_1845498111[0].push.apply(result_1845498111[0], [58,32]);; + countHEX60gensym290_1845498122 += 1; + result_1845498111[0].push.apply(result_1845498111[0], [46,46,46]);; + if ((0 < countHEX60gensym290_1845498122)) { + result_1845498111[0].push.apply(result_1845498111[0], [44,32]);; + } + + result_1845498111[0].push.apply(result_1845498111[0], [116,97,107,101,115]);; + result_1845498111[0].push.apply(result_1845498111[0], [58,32]);; + countHEX60gensym290_1845498122 += 1; + result_1845498111[0].push.apply(result_1845498111[0], [46,46,46]);; + if ((0 < countHEX60gensym290_1845498122)) { + result_1845498111[0].push.apply(result_1845498111[0], [44,32]);; + } + + result_1845498111[0].push.apply(result_1845498111[0], [111,110,77,111,118,101]);; + result_1845498111[0].push.apply(result_1845498111[0], [58,32]);; + countHEX60gensym290_1845498122 += 1; + result_1845498111[0].push.apply(result_1845498111[0], [46,46,46]);; + if ((0 < countHEX60gensym290_1845498122)) { + result_1845498111[0].push.apply(result_1845498111[0], [44,32]);; + } + + result_1845498111[0].push.apply(result_1845498111[0], [111,110,84,97,107,101]);; + result_1845498111[0].push.apply(result_1845498111[0], [58,32]);; + countHEX60gensym290_1845498122 += 1; + result_1845498111[0].push.apply(result_1845498111[0], [46,46,46]);; + if ((0 < countHEX60gensym290_1845498122)) { + result_1845498111[0].push.apply(result_1845498111[0], [44,32]);; + } + + result_1845498111[0].push.apply(result_1845498111[0], [119,104,101,110,84,97,107,101,110]);; + result_1845498111[0].push.apply(result_1845498111[0], [58,32]);; + countHEX60gensym290_1845498122 += 1; + result_1845498111[0].push.apply(result_1845498111[0], [46,46,46]);; + if ((0 < countHEX60gensym290_1845498122)) { + result_1845498111[0].push.apply(result_1845498111[0], [44,32]);; + } + + result_1845498111[0].push.apply(result_1845498111[0], [111,110,69,110,100,84,117,114,110]);; + result_1845498111[0].push.apply(result_1845498111[0], [58,32]);; + countHEX60gensym290_1845498122 += 1; + result_1845498111[0].push.apply(result_1845498111[0], [46,46,46]);; + if ((0 < countHEX60gensym290_1845498122)) { + result_1845498111[0].push.apply(result_1845498111[0], [44,32]);; + } + + result_1845498111[0].push.apply(result_1845498111[0], [111,110,80,114,111,109,111,116,101]);; + result_1845498111[0].push.apply(result_1845498111[0], [58,32]);; + countHEX60gensym290_1845498122 += 1; + result_1845498111[0].push.apply(result_1845498111[0], [46,46,46]);; + if ((0 < countHEX60gensym290_1845498122)) { + result_1845498111[0].push.apply(result_1845498111[0], [44,32]);; + } + + result_1845498111[0].push.apply(result_1845498111[0], [112,114,111,109,111,116,101,100]);; + result_1845498111[0].push.apply(result_1845498111[0], [58,32]);; + countHEX60gensym290_1845498122 += 1; + addQuoted_1845497542(result_1845498111, 0, x_1845498110.promoted); + if ((0 < countHEX60gensym290_1845498122)) { + result_1845498111[0].push.apply(result_1845498111[0], [44,32]);; + } + + result_1845498111[0].push.apply(result_1845498111[0], [102,105,108,101,80,97,116,104]);; + result_1845498111[0].push.apply(result_1845498111[0], [58,32]);; + countHEX60gensym290_1845498122 += 1; + addQuoted_1845498401(result_1845498111, 0, x_1845498110.filePath); + if ((0 < countHEX60gensym290_1845498122)) { + result_1845498111[0].push.apply(result_1845498111[0], [44,32]);; + } + + result_1845498111[0].push.apply(result_1845498111[0], [99,111,108,111,114,97,98,108,101]);; + result_1845498111[0].push.apply(result_1845498111[0], [58,32]);; + countHEX60gensym290_1845498122 += 1; + addQuoted_1845497542(result_1845498111, 0, x_1845498110.colorable); + if ((0 < countHEX60gensym290_1845498122)) { + result_1845498111[0].push.apply(result_1845498111[0], [44,32]);; } - F.line = 25; - result_1493177053[0].push.apply(result_1493177053[0], [111,110]);; - F.line = 26; - result_1493177053[0].push.apply(result_1493177053[0], [58,32]);; - F.line = 27; - countHEX60gensym347_1493177064 += 1; - F.line = 33; - addQuoted_1493176654(result_1493177053, 0, x_1493177052["Field0"]); - if ((0 < countHEX60gensym347_1493177064)) { - F.line = 23; - result_1493177053[0].push.apply(result_1493177053[0], [44,32]);; + result_1845498111[0].push.apply(result_1845498111[0], [114,111,116,97,116,101]);; + result_1845498111[0].push.apply(result_1845498111[0], [58,32]);; + countHEX60gensym290_1845498122 += 1; + addQuoted_1845497542(result_1845498111, 0, x_1845498110.rotate); + if ((0 < countHEX60gensym290_1845498122)) { + result_1845498111[0].push.apply(result_1845498111[0], [44,32]);; } - F.line = 25; - result_1493177053[0].push.apply(result_1493177053[0], [103,114,111,117,112]);; - F.line = 26; - result_1493177053[0].push.apply(result_1493177053[0], [58,32]);; - F.line = 27; - countHEX60gensym347_1493177064 += 1; - F.line = 33; - addQuoted_838862213(result_1493177053, 0, x_1493177052["Field1"]); - if ((0 < countHEX60gensym347_1493177064)) { - F.line = 23; - result_1493177053[0].push.apply(result_1493177053[0], [44,32]);; + result_1845498111[0].push.apply(result_1845498111[0], [100,114,117,110,107]);; + result_1845498111[0].push.apply(result_1845498111[0], [58,32]);; + countHEX60gensym290_1845498122 += 1; + addQuoted_1845497542(result_1845498111, 0, x_1845498110.drunk); + if ((0 < countHEX60gensym290_1845498122)) { + result_1845498111[0].push.apply(result_1845498111[0], [44,32]);; } - F.line = 25; - result_1493177053[0].push.apply(result_1493177053[0], [103,108,97,115,115]);; - F.line = 26; - result_1493177053[0].push.apply(result_1493177053[0], [58,32]);; - F.line = 27; - countHEX60gensym347_1493177064 += 1; - F.line = 33; - addQuoted_1493177106(result_1493177053, 0, x_1493177052["Field2"]); - F.line = 39; - result_1493177053[0].push.apply(result_1493177053[0], [41]);; - framePtr = F.prev; + result_1845498111[0].push.apply(result_1845498111[0], [99,97,115,116,115]);; + result_1845498111[0].push.apply(result_1845498111[0], [58,32]);; + countHEX60gensym290_1845498122 += 1; + addQuoted_1845498559(result_1845498111, 0, x_1845498110.casts); + result_1845498111[0].push.apply(result_1845498111[0], [41]);; - return result_1493177053[0]; + return result_1845498111[0]; } -function addQuoted_1493177044(s_1493177046, s_1493177046_Idx, x_1493177047) { - var F = {procname: "addQuoted.addQuoted", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 2539; - F.filename = "system.nim"; - s_1493177046[s_1493177046_Idx].push.apply(s_1493177046[s_1493177046_Idx], HEX24_1493177050(x_1493177047));; - framePtr = F.prev; +function addQuoted_1845498102(s_1845498104, s_1845498104_Idx, x_1845498105) { + s_1845498104[s_1845498104_Idx].push.apply(s_1845498104[s_1845498104_Idx], HEX24_1845498108(x_1845498105));; } -function collectionToString_1493177010(x_1493177012, prefix_1493177013, separator_1493177014, suffix_1493177015) { - var result_1493177016 = [[]]; +function collectionToString_1845498060(x_1845498062, prefix_1845498063, separator_1845498064, suffix_1845498065) { + var result_1845498066 = [[]]; - var F = {procname: "collectionToString.collectionToString", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/dollars.nim", line: 0}; - framePtr = F; - F.line = 90; - F.filename = "dollars.nim"; - result_1493177016[0] = nimCopy(null, prefix_1493177013, NTI33554449); - F.line = 91; - var firstElement_1493177017 = true; - Label1: { - F.line = 92; - var value_1493177040 = {Field0: {Field0: 0, Field1: 0}, Field1: 0, Field2: 0}; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493179238 = 0; - F.line = 250; - var L_1493179239 = (x_1493177012).length; - Label2: { - F.line = 251; - Label3: while (true) { - if (!(i_1493179238 < L_1493179239)) break Label3; - F.line = 92; - F.filename = "dollars.nim"; - value_1493177040 = x_1493177012[i_1493179238]; - if (firstElement_1493177017) { - F.line = 94; - firstElement_1493177017 = false; - } - else { - F.line = 96; - result_1493177016[0].push.apply(result_1493177016[0], separator_1493177014);; - } - - F.line = 105; - addQuoted_1493177044(result_1493177016, 0, value_1493177040); - F.line = 13; - F.filename = "iterators.nim"; - i_1493179238 += 1; - if (!(((x_1493177012).length == L_1493179239))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); - } - - } - }; - }; - F.line = 106; - F.filename = "dollars.nim"; - result_1493177016[0].push.apply(result_1493177016[0], suffix_1493177015);; - framePtr = F.prev; - - return result_1493177016[0]; - -} - -function HEX24_1493177006(x_1493177008) { - var result_1493177009 = []; - - var F = {procname: "$.$", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/dollars.nim", line: 0}; - framePtr = F; - F.line = 117; - F.filename = "dollars.nim"; - result_1493177009 = nimCopy(null, collectionToString_1493177010(x_1493177008, [64,91], [44,32], [93]), NTI33554449); - framePtr = F.prev; - - return result_1493177009; - -} - -function addQuoted_1493177000(s_1493177002, s_1493177002_Idx, x_1493177003) { - var F = {procname: "addQuoted.addQuoted", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 2539; - F.filename = "system.nim"; - s_1493177002[s_1493177002_Idx].push.apply(s_1493177002[s_1493177002_Idx], HEX24_1493177006(x_1493177003));; - framePtr = F.prev; - - -} - -function HEX24_1493176549(x_1493176551) { - var result_1493176552 = [[]]; - - var F = {procname: "$.$", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/objectdollar.nim", line: 0}; - framePtr = F; - F.line = 19; - F.filename = "miscdollars.nim"; - result_1493176552[0] = nimCopy(null, [40], NTI33554449); - F.line = 21; - var countHEX60gensym289_1493176563 = 0; - if ((0 < countHEX60gensym289_1493176563)) { - F.line = 23; - result_1493176552[0].push.apply(result_1493176552[0], [44,32]);; - } - - F.line = 25; - result_1493176552[0].push.apply(result_1493176552[0], [105,116,101,109]);; - F.line = 26; - result_1493176552[0].push.apply(result_1493176552[0], [58,32]);; - F.line = 27; - countHEX60gensym289_1493176563 += 1; - F.line = 33; - addQuoted_1493176578(result_1493176552, 0, x_1493176551.item); - if ((0 < countHEX60gensym289_1493176563)) { - F.line = 23; - result_1493176552[0].push.apply(result_1493176552[0], [44,32]);; - } - - F.line = 25; - result_1493176552[0].push.apply(result_1493176552[0], [99,111,108,111,114]);; - F.line = 26; - result_1493176552[0].push.apply(result_1493176552[0], [58,32]);; - F.line = 27; - countHEX60gensym289_1493176563 += 1; - F.line = 33; - addQuoted_1493176598(result_1493176552, 0, x_1493176551.color); - if ((0 < countHEX60gensym289_1493176563)) { - F.line = 23; - result_1493176552[0].push.apply(result_1493176552[0], [44,32]);; - } - - F.line = 25; - result_1493176552[0].push.apply(result_1493176552[0], [105,110,100,101,120]);; - F.line = 26; - result_1493176552[0].push.apply(result_1493176552[0], [58,32]);; - F.line = 27; - countHEX60gensym289_1493176563 += 1; - F.line = 33; - addQuoted_838862213(result_1493176552, 0, x_1493176551.index); - if ((0 < countHEX60gensym289_1493176563)) { - F.line = 23; - result_1493176552[0].push.apply(result_1493176552[0], [44,32]);; - } - - F.line = 25; - result_1493176552[0].push.apply(result_1493176552[0], [116,105,109,101,115,77,111,118,101,100]);; - F.line = 26; - result_1493176552[0].push.apply(result_1493176552[0], [58,32]);; - F.line = 27; - countHEX60gensym289_1493176563 += 1; - F.line = 33; - addQuoted_838862213(result_1493176552, 0, x_1493176551.timesMoved); - if ((0 < countHEX60gensym289_1493176563)) { - F.line = 23; - result_1493176552[0].push.apply(result_1493176552[0], [44,32]);; - } - - F.line = 25; - result_1493176552[0].push.apply(result_1493176552[0], [112,105,101,99,101,115,84,97,107,101,110]);; - F.line = 26; - result_1493176552[0].push.apply(result_1493176552[0], [58,32]);; - F.line = 27; - countHEX60gensym289_1493176563 += 1; - F.line = 33; - addQuoted_838862213(result_1493176552, 0, x_1493176551.piecesTaken); - if ((0 < countHEX60gensym289_1493176563)) { - F.line = 23; - result_1493176552[0].push.apply(result_1493176552[0], [44,32]);; - } - - F.line = 25; - result_1493176552[0].push.apply(result_1493176552[0], [116,105,108,101]);; - F.line = 26; - result_1493176552[0].push.apply(result_1493176552[0], [58,32]);; - F.line = 27; - countHEX60gensym289_1493176563 += 1; - F.line = 33; - addQuoted_1493176654(result_1493176552, 0, x_1493176551.tile); - if ((0 < countHEX60gensym289_1493176563)) { - F.line = 23; - result_1493176552[0].push.apply(result_1493176552[0], [44,32]);; - } - - F.line = 25; - result_1493176552[0].push.apply(result_1493176552[0], [109,111,118,101,115]);; - F.line = 26; - result_1493176552[0].push.apply(result_1493176552[0], [58,32]);; - F.line = 27; - countHEX60gensym289_1493176563 += 1; - F.line = 35; - result_1493176552[0].push.apply(result_1493176552[0], [46,46,46]);; - if ((0 < countHEX60gensym289_1493176563)) { - F.line = 23; - result_1493176552[0].push.apply(result_1493176552[0], [44,32]);; - } - - F.line = 25; - result_1493176552[0].push.apply(result_1493176552[0], [116,97,107,101,115]);; - F.line = 26; - result_1493176552[0].push.apply(result_1493176552[0], [58,32]);; - F.line = 27; - countHEX60gensym289_1493176563 += 1; - F.line = 35; - result_1493176552[0].push.apply(result_1493176552[0], [46,46,46]);; - if ((0 < countHEX60gensym289_1493176563)) { - F.line = 23; - result_1493176552[0].push.apply(result_1493176552[0], [44,32]);; - } - - F.line = 25; - result_1493176552[0].push.apply(result_1493176552[0], [111,110,77,111,118,101]);; - F.line = 26; - result_1493176552[0].push.apply(result_1493176552[0], [58,32]);; - F.line = 27; - countHEX60gensym289_1493176563 += 1; - F.line = 35; - result_1493176552[0].push.apply(result_1493176552[0], [46,46,46]);; - if ((0 < countHEX60gensym289_1493176563)) { - F.line = 23; - result_1493176552[0].push.apply(result_1493176552[0], [44,32]);; - } - - F.line = 25; - result_1493176552[0].push.apply(result_1493176552[0], [111,110,84,97,107,101]);; - F.line = 26; - result_1493176552[0].push.apply(result_1493176552[0], [58,32]);; - F.line = 27; - countHEX60gensym289_1493176563 += 1; - F.line = 35; - result_1493176552[0].push.apply(result_1493176552[0], [46,46,46]);; - if ((0 < countHEX60gensym289_1493176563)) { - F.line = 23; - result_1493176552[0].push.apply(result_1493176552[0], [44,32]);; - } - - F.line = 25; - result_1493176552[0].push.apply(result_1493176552[0], [119,104,101,110,84,97,107,101,110]);; - F.line = 26; - result_1493176552[0].push.apply(result_1493176552[0], [58,32]);; - F.line = 27; - countHEX60gensym289_1493176563 += 1; - F.line = 35; - result_1493176552[0].push.apply(result_1493176552[0], [46,46,46]);; - if ((0 < countHEX60gensym289_1493176563)) { - F.line = 23; - result_1493176552[0].push.apply(result_1493176552[0], [44,32]);; - } - - F.line = 25; - result_1493176552[0].push.apply(result_1493176552[0], [111,110,69,110,100,84,117,114,110]);; - F.line = 26; - result_1493176552[0].push.apply(result_1493176552[0], [58,32]);; - F.line = 27; - countHEX60gensym289_1493176563 += 1; - F.line = 35; - result_1493176552[0].push.apply(result_1493176552[0], [46,46,46]);; - if ((0 < countHEX60gensym289_1493176563)) { - F.line = 23; - result_1493176552[0].push.apply(result_1493176552[0], [44,32]);; - } - - F.line = 25; - result_1493176552[0].push.apply(result_1493176552[0], [111,110,80,114,111,109,111,116,101]);; - F.line = 26; - result_1493176552[0].push.apply(result_1493176552[0], [58,32]);; - F.line = 27; - countHEX60gensym289_1493176563 += 1; - F.line = 35; - result_1493176552[0].push.apply(result_1493176552[0], [46,46,46]);; - if ((0 < countHEX60gensym289_1493176563)) { - F.line = 23; - result_1493176552[0].push.apply(result_1493176552[0], [44,32]);; - } - - F.line = 25; - result_1493176552[0].push.apply(result_1493176552[0], [112,114,111,109,111,116,101,100]);; - F.line = 26; - result_1493176552[0].push.apply(result_1493176552[0], [58,32]);; - F.line = 27; - countHEX60gensym289_1493176563 += 1; - F.line = 33; - addQuoted_1493175983(result_1493176552, 0, x_1493176551.promoted); - if ((0 < countHEX60gensym289_1493176563)) { - F.line = 23; - result_1493176552[0].push.apply(result_1493176552[0], [44,32]);; - } - - F.line = 25; - result_1493176552[0].push.apply(result_1493176552[0], [102,105,108,101,80,97,116,104]);; - F.line = 26; - result_1493176552[0].push.apply(result_1493176552[0], [58,32]);; - F.line = 27; - countHEX60gensym289_1493176563 += 1; - F.line = 33; - addQuoted_1493176842(result_1493176552, 0, x_1493176551.filePath); - if ((0 < countHEX60gensym289_1493176563)) { - F.line = 23; - result_1493176552[0].push.apply(result_1493176552[0], [44,32]);; - } - - F.line = 25; - result_1493176552[0].push.apply(result_1493176552[0], [99,111,108,111,114,97,98,108,101]);; - F.line = 26; - result_1493176552[0].push.apply(result_1493176552[0], [58,32]);; - F.line = 27; - countHEX60gensym289_1493176563 += 1; - F.line = 33; - addQuoted_1493175983(result_1493176552, 0, x_1493176551.colorable); - if ((0 < countHEX60gensym289_1493176563)) { - F.line = 23; - result_1493176552[0].push.apply(result_1493176552[0], [44,32]);; - } - - F.line = 25; - result_1493176552[0].push.apply(result_1493176552[0], [114,111,116,97,116,101]);; - F.line = 26; - result_1493176552[0].push.apply(result_1493176552[0], [58,32]);; - F.line = 27; - countHEX60gensym289_1493176563 += 1; - F.line = 33; - addQuoted_1493175983(result_1493176552, 0, x_1493176551.rotate); - if ((0 < countHEX60gensym289_1493176563)) { - F.line = 23; - result_1493176552[0].push.apply(result_1493176552[0], [44,32]);; - } - - F.line = 25; - result_1493176552[0].push.apply(result_1493176552[0], [100,114,117,110,107]);; - F.line = 26; - result_1493176552[0].push.apply(result_1493176552[0], [58,32]);; - F.line = 27; - countHEX60gensym289_1493176563 += 1; - F.line = 33; - addQuoted_1493175983(result_1493176552, 0, x_1493176551.drunk); - if ((0 < countHEX60gensym289_1493176563)) { - F.line = 23; - result_1493176552[0].push.apply(result_1493176552[0], [44,32]);; - } - - F.line = 25; - result_1493176552[0].push.apply(result_1493176552[0], [99,97,115,116,115]);; - F.line = 26; - result_1493176552[0].push.apply(result_1493176552[0], [58,32]);; - F.line = 27; - countHEX60gensym289_1493176563 += 1; - F.line = 33; - addQuoted_1493177000(result_1493176552, 0, x_1493176551.casts); - F.line = 39; - result_1493176552[0].push.apply(result_1493176552[0], [41]);; - framePtr = F.prev; - - return result_1493176552[0]; - -} - -function addQuoted_1493176543(s_1493176545, s_1493176545_Idx, x_1493176546) { - var F = {procname: "addQuoted.addQuoted", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 2539; - F.filename = "system.nim"; - s_1493176545[s_1493176545_Idx].push.apply(s_1493176545[s_1493176545_Idx], HEX24_1493176549(x_1493176546));; - framePtr = F.prev; - - -} - -function collectionToString_1493176501(x_1493176503, prefix_1493176504, separator_1493176505, suffix_1493176506) { - var result_1493176507 = [[]]; - - var F = {procname: "collectionToString.collectionToString", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/dollars.nim", line: 0}; - framePtr = F; - F.line = 90; - F.filename = "dollars.nim"; - result_1493176507[0] = nimCopy(null, prefix_1493176504, NTI33554449); - F.line = 91; - var firstElement_1493176508 = true; + result_1845498066[0] = nimCopy(null, prefix_1845498063, NTI33554449); + var firstElement_1845498067 = true; Label1: { - F.line = 92; - var value_1493176539 = ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}); - F.line = 43; - F.filename = "iterators.nim"; - var i_1493179231 = 0; + var value_1845498098 = ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}); + var i_1845500791 = 0; Label2: { - F.line = 44; Label3: while (true) { if (!true) break Label3; - F.line = 92; - F.filename = "dollars.nim"; - value_1493176539 = nimCopy(value_1493176539, x_1493176503[i_1493179231], NTI1224736794); - if (firstElement_1493176508) { - F.line = 94; - firstElement_1493176508 = false; + value_1845498098 = nimCopy(value_1845498098, x_1845498062[i_1845500791], NTI1476395034); + if (firstElement_1845498067) { + firstElement_1845498067 = false; } else { - F.line = 96; - result_1493176507[0].push.apply(result_1493176507[0], separator_1493176505);; + result_1845498066[0].push.apply(result_1845498066[0], separator_1845498064);; } - F.line = 105; - addQuoted_1493176543(result_1493176507, 0, value_1493176539); - if ((7 <= i_1493179231)) { - F.line = 46; - F.filename = "iterators.nim"; + addQuoted_1845498102(result_1845498066, 0, value_1845498098); + if ((7 <= i_1845500791)) { break Label2; } - F.line = 13; - i_1493179231 += 1; + i_1845500791 += 1; } }; }; - F.line = 106; - F.filename = "dollars.nim"; - result_1493176507[0].push.apply(result_1493176507[0], suffix_1493176506);; - framePtr = F.prev; + result_1845498066[0].push.apply(result_1845498066[0], suffix_1845498065);; - return result_1493176507[0]; + return result_1845498066[0]; } -function HEX24_1493176496(x_1493176499) { - var result_1493176500 = []; +function HEX24_1845498055(x_1845498058) { + var result_1845498059 = []; - var F = {procname: "$.$", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/dollars.nim", line: 0}; - framePtr = F; - F.line = 137; - F.filename = "dollars.nim"; - result_1493176500 = nimCopy(null, collectionToString_1493176501(x_1493176499, [91], [44,32], [93]), NTI33554449); - framePtr = F.prev; + result_1845498059 = nimCopy(null, collectionToString_1845498060(x_1845498058, [91], [44,32], [93]), NTI33554449); - return result_1493176500; + return result_1845498059; } -function addQuoted_1493176484(s_1493176486, s_1493176486_Idx, x_1493176487) { - var F = {procname: "addQuoted.addQuoted", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 2539; - F.filename = "system.nim"; - s_1493176486[s_1493176486_Idx].push.apply(s_1493176486[s_1493176486_Idx], HEX24_1493176496(x_1493176487));; - framePtr = F.prev; +function addQuoted_1845498043(s_1845498045, s_1845498045_Idx, x_1845498046) { + s_1845498045[s_1845498045_Idx].push.apply(s_1845498045[s_1845498045_Idx], HEX24_1845498055(x_1845498046));; } -function HEX24_1493177255(self_1493177257) { - var result_1493177258 = [[]]; +function HEX24_1845498814(self_1845498816) { + var result_1845498817 = [[]]; - var F = {procname: "$.$", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/options.nim", line: 0}; - framePtr = F; - if (isSome_1409289449(self_1493177257)) { - F.line = 364; - F.filename = "options.nim"; - result_1493177258[0] = nimCopy(null, [115,111,109,101,40], NTI33554449); - F.line = 365; - addQuoted_838862213(result_1493177258, 0, self_1493177257.val); - F.line = 366; - result_1493177258[0].push.apply(result_1493177258[0], [41]);; + if (isSome_1660947689(self_1845498816)) { + result_1845498817[0] = nimCopy(null, [115,111,109,101,40], NTI33554449); + addQuoted_889193861(result_1845498817, 0, self_1845498816.val); + result_1845498817[0].push.apply(result_1845498817[0], [41]);; } else { - F.line = 371; - result_1493177258[0] = nimCopy(null, [110,111,110,101,40,105,110,116,41], NTI33554449); + result_1845498817[0] = nimCopy(null, [110,111,110,101,40,105,110,116,41], NTI33554449); } - framePtr = F.prev; - return result_1493177258[0]; + return result_1845498817[0]; } -function addQuoted_1493177243(s_1493177245, s_1493177245_Idx, x_1493177246) { - var F = {procname: "addQuoted.addQuoted", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 2539; - F.filename = "system.nim"; - s_1493177245[s_1493177245_Idx].push.apply(s_1493177245[s_1493177245_Idx], HEX24_1493177255(x_1493177246));; - framePtr = F.prev; +function addQuoted_1845498802(s_1845498804, s_1845498804_Idx, x_1845498805) { + s_1845498804[s_1845498804_Idx].push.apply(s_1845498804[s_1845498804_Idx], HEX24_1845498814(x_1845498805));; } -function HEX24_1493177421(x_1493177423) { - var result_1493177424 = [[]]; +function HEX24_1845498980(x_1845498982) { + var result_1845498983 = [[]]; - var F = {procname: "$.$", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/dollars.nim", line: 0}; - framePtr = F; - F.line = 19; - F.filename = "miscdollars.nim"; - result_1493177424[0] = nimCopy(null, [40], NTI33554449); - F.line = 21; - var countHEX60gensym375_1493177435 = 0; - if ((0 < countHEX60gensym375_1493177435)) { - F.line = 23; - result_1493177424[0].push.apply(result_1493177424[0], [44,32]);; + result_1845498983[0] = nimCopy(null, [40], NTI33554449); + var countHEX60gensym376_1845498994 = 0; + if ((0 < countHEX60gensym376_1845498994)) { + result_1845498983[0].push.apply(result_1845498983[0], [44,32]);; } - F.line = 25; - result_1493177424[0].push.apply(result_1493177424[0], [110,97,109,101]);; - F.line = 26; - result_1493177424[0].push.apply(result_1493177424[0], [58,32]);; - F.line = 27; - countHEX60gensym375_1493177435 += 1; - F.line = 33; - addQuoted_1493176842(result_1493177424, 0, x_1493177423["Field0"]); - if ((0 < countHEX60gensym375_1493177435)) { - F.line = 23; - result_1493177424[0].push.apply(result_1493177424[0], [44,32]);; + result_1845498983[0].push.apply(result_1845498983[0], [110,97,109,101]);; + result_1845498983[0].push.apply(result_1845498983[0], [58,32]);; + countHEX60gensym376_1845498994 += 1; + addQuoted_1845498401(result_1845498983, 0, x_1845498982["Field0"]); + if ((0 < countHEX60gensym376_1845498994)) { + result_1845498983[0].push.apply(result_1845498983[0], [44,32]);; } - F.line = 25; - result_1493177424[0].push.apply(result_1493177424[0], [99,111,115,116]);; - F.line = 26; - result_1493177424[0].push.apply(result_1493177424[0], [58,32]);; - F.line = 27; - countHEX60gensym375_1493177435 += 1; - F.line = 35; - result_1493177424[0].push.apply(result_1493177424[0], [46,46,46]);; - if ((0 < countHEX60gensym375_1493177435)) { - F.line = 23; - result_1493177424[0].push.apply(result_1493177424[0], [44,32]);; + result_1845498983[0].push.apply(result_1845498983[0], [99,111,115,116]);; + result_1845498983[0].push.apply(result_1845498983[0], [58,32]);; + countHEX60gensym376_1845498994 += 1; + result_1845498983[0].push.apply(result_1845498983[0], [46,46,46]);; + if ((0 < countHEX60gensym376_1845498994)) { + result_1845498983[0].push.apply(result_1845498983[0], [44,32]);; } - F.line = 25; - result_1493177424[0].push.apply(result_1493177424[0], [97,99,116,105,111,110]);; - F.line = 26; - result_1493177424[0].push.apply(result_1493177424[0], [58,32]);; - F.line = 27; - countHEX60gensym375_1493177435 += 1; - F.line = 35; - result_1493177424[0].push.apply(result_1493177424[0], [46,46,46]);; - if ((0 < countHEX60gensym375_1493177435)) { - F.line = 23; - result_1493177424[0].push.apply(result_1493177424[0], [44,32]);; + result_1845498983[0].push.apply(result_1845498983[0], [97,99,116,105,111,110]);; + result_1845498983[0].push.apply(result_1845498983[0], [58,32]);; + countHEX60gensym376_1845498994 += 1; + result_1845498983[0].push.apply(result_1845498983[0], [46,46,46]);; + if ((0 < countHEX60gensym376_1845498994)) { + result_1845498983[0].push.apply(result_1845498983[0], [44,32]);; } - F.line = 25; - result_1493177424[0].push.apply(result_1493177424[0], [99,111,110,100,105,116,105,111,110]);; - F.line = 26; - result_1493177424[0].push.apply(result_1493177424[0], [58,32]);; - F.line = 27; - countHEX60gensym375_1493177435 += 1; - F.line = 35; - result_1493177424[0].push.apply(result_1493177424[0], [46,46,46]);; - F.line = 39; - result_1493177424[0].push.apply(result_1493177424[0], [41]);; - framePtr = F.prev; + result_1845498983[0].push.apply(result_1845498983[0], [99,111,110,100,105,116,105,111,110]);; + result_1845498983[0].push.apply(result_1845498983[0], [58,32]);; + countHEX60gensym376_1845498994 += 1; + result_1845498983[0].push.apply(result_1845498983[0], [46,46,46]);; + result_1845498983[0].push.apply(result_1845498983[0], [41]);; - return result_1493177424[0]; + return result_1845498983[0]; } -function addQuoted_1493177415(s_1493177417, s_1493177417_Idx, x_1493177418) { - var F = {procname: "addQuoted.addQuoted", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 2539; - F.filename = "system.nim"; - s_1493177417[s_1493177417_Idx].push.apply(s_1493177417[s_1493177417_Idx], HEX24_1493177421(x_1493177418));; - framePtr = F.prev; +function addQuoted_1845498974(s_1845498976, s_1845498976_Idx, x_1845498977) { + s_1845498976[s_1845498976_Idx].push.apply(s_1845498976[s_1845498976_Idx], HEX24_1845498980(x_1845498977));; } -function collectionToString_1493177381(x_1493177383, prefix_1493177384, separator_1493177385, suffix_1493177386) { - var result_1493177387 = [[]]; - - var F = {procname: "collectionToString.collectionToString", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/dollars.nim", line: 0}; - framePtr = F; - F.line = 90; - F.filename = "dollars.nim"; - result_1493177387[0] = nimCopy(null, prefix_1493177384, NTI33554449); - F.line = 91; - var firstElement_1493177388 = true; +function collectionToString_1845498940(x_1845498942, prefix_1845498943, separator_1845498944, suffix_1845498945) { + var result_1845498946 = [[]]; + + result_1845498946[0] = nimCopy(null, prefix_1845498943, NTI33554449); + var firstElement_1845498947 = true; Label1: { - F.line = 92; - var value_1493177411 = {Field0: [], Field1: null, Field2: null, Field3: null}; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493179243 = 0; - F.line = 250; - var L_1493179244 = (x_1493177383).length; + var value_1845498970 = {Field0: [], Field1: null, Field2: null, Field3: null}; + var i_1845500803 = 0; + var L_1845500804 = (x_1845498942).length; Label2: { - F.line = 251; Label3: while (true) { - if (!(i_1493179243 < L_1493179244)) break Label3; - F.line = 92; - F.filename = "dollars.nim"; - value_1493177411 = x_1493177383[i_1493179243]; - if (firstElement_1493177388) { - F.line = 94; - firstElement_1493177388 = false; + if (!(i_1845500803 < L_1845500804)) break Label3; + value_1845498970 = x_1845498942[i_1845500803]; + if (firstElement_1845498947) { + firstElement_1845498947 = false; } else { - F.line = 96; - result_1493177387[0].push.apply(result_1493177387[0], separator_1493177385);; + result_1845498946[0].push.apply(result_1845498946[0], separator_1845498944);; } - F.line = 105; - addQuoted_1493177415(result_1493177387, 0, value_1493177411); - F.line = 13; - F.filename = "iterators.nim"; - i_1493179243 += 1; - if (!(((x_1493177383).length == L_1493179244))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + addQuoted_1845498974(result_1845498946, 0, value_1845498970); + i_1845500803 += 1; + if (!(((x_1845498942).length == L_1845500804))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - F.line = 106; - F.filename = "dollars.nim"; - result_1493177387[0].push.apply(result_1493177387[0], suffix_1493177386);; - framePtr = F.prev; + result_1845498946[0].push.apply(result_1845498946[0], suffix_1845498945);; - return result_1493177387[0]; + return result_1845498946[0]; } -function HEX24_1493177377(x_1493177379) { - var result_1493177380 = []; +function HEX24_1845498936(x_1845498938) { + var result_1845498939 = []; - var F = {procname: "$.$", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/dollars.nim", line: 0}; - framePtr = F; - F.line = 117; - F.filename = "dollars.nim"; - result_1493177380 = nimCopy(null, collectionToString_1493177381(x_1493177379, [64,91], [44,32], [93]), NTI33554449); - framePtr = F.prev; + result_1845498939 = nimCopy(null, collectionToString_1845498940(x_1845498938, [64,91], [44,32], [93]), NTI33554449); - return result_1493177380; + return result_1845498939; } -function addQuoted_1493177371(s_1493177373, s_1493177373_Idx, x_1493177374) { - var F = {procname: "addQuoted.addQuoted", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 2539; - F.filename = "system.nim"; - s_1493177373[s_1493177373_Idx].push.apply(s_1493177373[s_1493177373_Idx], HEX24_1493177377(x_1493177374));; - framePtr = F.prev; +function addQuoted_1845498930(s_1845498932, s_1845498932_Idx, x_1845498933) { + s_1845498932[s_1845498932_Idx].push.apply(s_1845498932[s_1845498932_Idx], HEX24_1845498936(x_1845498933));; } -function HEX24_1493177716(x_1493177718) { - var result_1493177719 = [[]]; +function HEX24_1845499275(x_1845499277) { + var result_1845499278 = [[]]; - var F = {procname: "$.$", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/dollars.nim", line: 0}; - framePtr = F; - F.line = 19; - F.filename = "miscdollars.nim"; - result_1493177719[0] = nimCopy(null, [40], NTI33554449); - F.line = 21; - var countHEX60gensym397_1493177730 = 0; - if ((0 < countHEX60gensym397_1493177730)) { - F.line = 23; - result_1493177719[0].push.apply(result_1493177719[0], [44,32]);; + result_1845499278[0] = nimCopy(null, [40], NTI33554449); + var countHEX60gensym398_1845499289 = 0; + if ((0 < countHEX60gensym398_1845499289)) { + result_1845499278[0].push.apply(result_1845499278[0], [44,32]);; } - F.line = 25; - result_1493177719[0].push.apply(result_1493177719[0], [115,116,114,101,110,103,116,104]);; - F.line = 26; - result_1493177719[0].push.apply(result_1493177719[0], [58,32]);; - F.line = 27; - countHEX60gensym397_1493177730 += 1; - F.line = 33; - addQuoted_838862213(result_1493177719, 0, x_1493177718["Field0"]); - if ((0 < countHEX60gensym397_1493177730)) { - F.line = 23; - result_1493177719[0].push.apply(result_1493177719[0], [44,32]);; + result_1845499278[0].push.apply(result_1845499278[0], [115,116,114,101,110,103,116,104]);; + result_1845499278[0].push.apply(result_1845499278[0], [58,32]);; + countHEX60gensym398_1845499289 += 1; + addQuoted_889193861(result_1845499278, 0, x_1845499277["Field0"]); + if ((0 < countHEX60gensym398_1845499289)) { + result_1845499278[0].push.apply(result_1845499278[0], [44,32]);; } - F.line = 25; - result_1493177719[0].push.apply(result_1493177719[0], [97,99,116,105,111,110]);; - F.line = 26; - result_1493177719[0].push.apply(result_1493177719[0], [58,32]);; - F.line = 27; - countHEX60gensym397_1493177730 += 1; - F.line = 35; - result_1493177719[0].push.apply(result_1493177719[0], [46,46,46]);; - if ((0 < countHEX60gensym397_1493177730)) { - F.line = 23; - result_1493177719[0].push.apply(result_1493177719[0], [44,32]);; + result_1845499278[0].push.apply(result_1845499278[0], [97,99,116,105,111,110]);; + result_1845499278[0].push.apply(result_1845499278[0], [58,32]);; + countHEX60gensym398_1845499289 += 1; + result_1845499278[0].push.apply(result_1845499278[0], [46,46,46]);; + if ((0 < countHEX60gensym398_1845499289)) { + result_1845499278[0].push.apply(result_1845499278[0], [44,32]);; } - F.line = 25; - result_1493177719[0].push.apply(result_1493177719[0], [99,111,110,100,105,116,105,111,110]);; - F.line = 26; - result_1493177719[0].push.apply(result_1493177719[0], [58,32]);; - F.line = 27; - countHEX60gensym397_1493177730 += 1; - F.line = 35; - result_1493177719[0].push.apply(result_1493177719[0], [46,46,46]);; - F.line = 39; - result_1493177719[0].push.apply(result_1493177719[0], [41]);; - framePtr = F.prev; + result_1845499278[0].push.apply(result_1845499278[0], [99,111,110,100,105,116,105,111,110]);; + result_1845499278[0].push.apply(result_1845499278[0], [58,32]);; + countHEX60gensym398_1845499289 += 1; + result_1845499278[0].push.apply(result_1845499278[0], [46,46,46]);; + result_1845499278[0].push.apply(result_1845499278[0], [41]);; - return result_1493177719[0]; + return result_1845499278[0]; } -function addQuoted_1493177710(s_1493177712, s_1493177712_Idx, x_1493177713) { - var F = {procname: "addQuoted.addQuoted", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 2539; - F.filename = "system.nim"; - s_1493177712[s_1493177712_Idx].push.apply(s_1493177712[s_1493177712_Idx], HEX24_1493177716(x_1493177713));; - framePtr = F.prev; +function addQuoted_1845499269(s_1845499271, s_1845499271_Idx, x_1845499272) { + s_1845499271[s_1845499271_Idx].push.apply(s_1845499271[s_1845499271_Idx], HEX24_1845499275(x_1845499272));; } -function HEX24_1493177697(self_1493177699) { - var result_1493177700 = [[]]; +function HEX24_1845499256(self_1845499258) { + var result_1845499259 = [[]]; - var F = {procname: "$.$", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/options.nim", line: 0}; - framePtr = F; - if (isSome_1493177705(self_1493177699)) { - F.line = 364; - F.filename = "options.nim"; - result_1493177700[0] = nimCopy(null, [115,111,109,101,40], NTI33554449); - F.line = 365; - addQuoted_1493177710(result_1493177700, 0, self_1493177699.val); - F.line = 366; - result_1493177700[0].push.apply(result_1493177700[0], [41]);; + if (isSome_1845499264(self_1845499258)) { + result_1845499259[0] = nimCopy(null, [115,111,109,101,40], NTI33554449); + addQuoted_1845499269(result_1845499259, 0, self_1845499258.val); + result_1845499259[0].push.apply(result_1845499259[0], [41]);; } else { - F.line = 371; - result_1493177700[0] = nimCopy(null, [110,111,110,101,40,71,108,97,115,115,65,98,105,108,105,116,121,41], NTI33554449); + result_1845499259[0] = nimCopy(null, [110,111,110,101,40,71,108,97,115,115,65,98,105,108,105,116,121,41], NTI33554449); } - framePtr = F.prev; - return result_1493177700[0]; + return result_1845499259[0]; } -function addQuoted_1493177685(s_1493177687, s_1493177687_Idx, x_1493177688) { - var F = {procname: "addQuoted.addQuoted", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 2539; - F.filename = "system.nim"; - s_1493177687[s_1493177687_Idx].push.apply(s_1493177687[s_1493177687_Idx], HEX24_1493177697(x_1493177688));; - framePtr = F.prev; +function addQuoted_1845499244(s_1845499246, s_1845499246_Idx, x_1845499247) { + s_1845499246[s_1845499246_Idx].push.apply(s_1845499246[s_1845499246_Idx], HEX24_1845499256(x_1845499247));; } -function collectionToString_1493177643(x_1493177645, prefix_1493177646, separator_1493177647, suffix_1493177648) { - var result_1493177649 = [[]]; +function collectionToString_1845499202(x_1845499204, prefix_1845499205, separator_1845499206, suffix_1845499207) { + var result_1845499208 = [[]]; - var F = {procname: "collectionToString.collectionToString", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/dollars.nim", line: 0}; - framePtr = F; - F.line = 90; - F.filename = "dollars.nim"; - result_1493177649[0] = nimCopy(null, prefix_1493177646, NTI33554449); - F.line = 91; - var firstElement_1493177650 = true; + result_1845499208[0] = nimCopy(null, prefix_1845499205, NTI33554449); + var firstElement_1845499209 = true; Label1: { - F.line = 92; - var value_1493177681 = ({val: {Field0: 0, Field1: null, Field2: null}, has: false}); - F.line = 43; - F.filename = "iterators.nim"; - var i_1493179248 = 0; + var value_1845499240 = ({val: {Field0: 0, Field1: null, Field2: null}, has: false}); + var i_1845500808 = 0; Label2: { - F.line = 44; Label3: while (true) { if (!true) break Label3; - F.line = 92; - F.filename = "dollars.nim"; - value_1493177681 = nimCopy(value_1493177681, x_1493177645[i_1493179248], NTI1224736839); - if (firstElement_1493177650) { - F.line = 94; - firstElement_1493177650 = false; + value_1845499240 = nimCopy(value_1845499240, x_1845499204[i_1845500808], NTI1476395079); + if (firstElement_1845499209) { + firstElement_1845499209 = false; } else { - F.line = 96; - result_1493177649[0].push.apply(result_1493177649[0], separator_1493177647);; + result_1845499208[0].push.apply(result_1845499208[0], separator_1845499206);; } - F.line = 105; - addQuoted_1493177685(result_1493177649, 0, value_1493177681); - if ((4 <= i_1493179248)) { - F.line = 46; - F.filename = "iterators.nim"; + addQuoted_1845499244(result_1845499208, 0, value_1845499240); + if ((4 <= i_1845500808)) { break Label2; } - F.line = 13; - i_1493179248 += 1; + i_1845500808 += 1; } }; }; - F.line = 106; - F.filename = "dollars.nim"; - result_1493177649[0].push.apply(result_1493177649[0], suffix_1493177648);; - framePtr = F.prev; - - return result_1493177649[0]; - -} - -function HEX24_1493177638(x_1493177641) { - var result_1493177642 = []; - - var F = {procname: "$.$", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/dollars.nim", line: 0}; - framePtr = F; - F.line = 137; - F.filename = "dollars.nim"; - result_1493177642 = nimCopy(null, collectionToString_1493177643(x_1493177641, [91], [44,32], [93]), NTI33554449); - framePtr = F.prev; - - return result_1493177642; - -} - -function addQuoted_1493177626(s_1493177628, s_1493177628_Idx, x_1493177629) { - var F = {procname: "addQuoted.addQuoted", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 2539; - F.filename = "system.nim"; - s_1493177628[s_1493177628_Idx].push.apply(s_1493177628[s_1493177628_Idx], HEX24_1493177638(x_1493177629));; - framePtr = F.prev; - - -} - -function HEX24_1493175945(x_1493175947) { - var result_1493175948 = [[]]; - - var F = {procname: "$.$", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/objectdollar.nim", line: 0}; - framePtr = F; - F.line = 19; - F.filename = "miscdollars.nim"; - result_1493175948[0] = nimCopy(null, [40], NTI33554449); - F.line = 21; - var countHEX60gensym219_1493175959 = 0; - if ((0 < countHEX60gensym219_1493175959)) { - F.line = 23; - result_1493175948[0].push.apply(result_1493175948[0], [44,32]);; - } - - F.line = 25; - result_1493175948[0].push.apply(result_1493175948[0], [97,98,105,108,105,116,121,84,97,107,101,115]);; - F.line = 26; - result_1493175948[0].push.apply(result_1493175948[0], [58,32]);; - F.line = 27; - countHEX60gensym219_1493175959 += 1; - F.line = 33; - addQuoted_838862213(result_1493175948, 0, x_1493175947.abilityTakes); - if ((0 < countHEX60gensym219_1493175959)) { - F.line = 23; - result_1493175948[0].push.apply(result_1493175948[0], [44,32]);; - } - - F.line = 25; - result_1493175948[0].push.apply(result_1493175948[0], [104,97,115,67,97,115,116,108,101,100]);; - F.line = 26; - result_1493175948[0].push.apply(result_1493175948[0], [58,32]);; - F.line = 27; - countHEX60gensym219_1493175959 += 1; - F.line = 33; - addQuoted_1493175983(result_1493175948, 0, x_1493175947.hasCastled); - if ((0 < countHEX60gensym219_1493175959)) { - F.line = 23; - result_1493175948[0].push.apply(result_1493175948[0], [44,32]);; - } - - F.line = 25; - result_1493175948[0].push.apply(result_1493175948[0], [100,110,97]);; - F.line = 26; - result_1493175948[0].push.apply(result_1493175948[0], [58,32]);; - F.line = 27; - countHEX60gensym219_1493175959 += 1; - F.line = 33; - addQuoted_1493176484(result_1493175948, 0, x_1493175947.dna); - if ((0 < countHEX60gensym219_1493175959)) { - F.line = 23; - result_1493175948[0].push.apply(result_1493175948[0], [44,32]);; - } - - F.line = 25; - result_1493175948[0].push.apply(result_1493175948[0], [116,114,97,110,115,102,111,114,109,115]);; - F.line = 26; - result_1493175948[0].push.apply(result_1493175948[0], [58,32]);; - F.line = 27; - countHEX60gensym219_1493175959 += 1; - F.line = 35; - result_1493175948[0].push.apply(result_1493175948[0], [46,46,46]);; - if ((0 < countHEX60gensym219_1493175959)) { - F.line = 23; - result_1493175948[0].push.apply(result_1493175948[0], [44,32]);; - } - - F.line = 25; - result_1493175948[0].push.apply(result_1493175948[0], [119,97,108,108,101,116]);; - F.line = 26; - result_1493175948[0].push.apply(result_1493175948[0], [58,32]);; - F.line = 27; - countHEX60gensym219_1493175959 += 1; - F.line = 33; - addQuoted_1493177243(result_1493175948, 0, x_1493175947.wallet); - if ((0 < countHEX60gensym219_1493175959)) { - F.line = 23; - result_1493175948[0].push.apply(result_1493175948[0], [44,32]);; - } - - F.line = 25; - result_1493175948[0].push.apply(result_1493175948[0], [98,117,121,115]);; - F.line = 26; - result_1493175948[0].push.apply(result_1493175948[0], [58,32]);; - F.line = 27; - countHEX60gensym219_1493175959 += 1; - F.line = 33; - addQuoted_1493177371(result_1493175948, 0, x_1493175947.buys); - if ((0 < countHEX60gensym219_1493175959)) { - F.line = 23; - result_1493175948[0].push.apply(result_1493175948[0], [44,32]);; - } - - F.line = 25; - result_1493175948[0].push.apply(result_1493175948[0], [112,105,101,99,101,115,83,111,108,100]);; - F.line = 26; - result_1493175948[0].push.apply(result_1493175948[0], [58,32]);; - F.line = 27; - countHEX60gensym219_1493175959 += 1; - F.line = 33; - addQuoted_838862213(result_1493175948, 0, x_1493175947.piecesSold); - if ((0 < countHEX60gensym219_1493175959)) { - F.line = 23; - result_1493175948[0].push.apply(result_1493175948[0], [44,32]);; - } - - F.line = 25; - result_1493175948[0].push.apply(result_1493175948[0], [112,105,101,99,101,115,83,111,108,100,84,104,105,115,84,117,114,110]);; - F.line = 26; - result_1493175948[0].push.apply(result_1493175948[0], [58,32]);; - F.line = 27; - countHEX60gensym219_1493175959 += 1; - F.line = 33; - addQuoted_838862213(result_1493175948, 0, x_1493175947.piecesSoldThisTurn); - if ((0 < countHEX60gensym219_1493175959)) { - F.line = 23; - result_1493175948[0].push.apply(result_1493175948[0], [44,32]);; - } - - F.line = 25; - result_1493175948[0].push.apply(result_1493175948[0], [103,108,97,115,115]);; - F.line = 26; - result_1493175948[0].push.apply(result_1493175948[0], [58,32]);; - F.line = 27; - countHEX60gensym219_1493175959 += 1; - F.line = 33; - addQuoted_1493177626(result_1493175948, 0, x_1493175947.glass); - F.line = 39; - result_1493175948[0].push.apply(result_1493175948[0], [41]);; - framePtr = F.prev; - - return result_1493175948[0]; - -} - -function HEX3Aanonymous_1493174901(piece_1493174902, b_1493174903, state_1493174904) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1740; - F.filename = "powers.nim"; - state_1493174904.Field1[chckIndx(piece_1493174902.color, 0, (state_1493174904.Field1).length - 1)].piecesSold = addInt(state_1493174904.Field1[chckIndx(piece_1493174902.color, 0, (state_1493174904.Field1).length - 1)].piecesSold, 1); - F.line = 1741; - state_1493174904.Field1[chckIndx(piece_1493174902.color, 0, (state_1493174904.Field1).length - 1)].piecesSoldThisTurn = addInt(state_1493174904.Field1[chckIndx(piece_1493174902.color, 0, (state_1493174904.Field1).length - 1)].piecesSoldThisTurn, 1); - F.line = 1742; - rawEcho(HEX24_1493175945(state_1493174904.Field1[chckIndx(piece_1493174902.color, 0, (state_1493174904.Field1).length - 1)])); - F.line = 1743; - b_1493174903[chckIndx(piece_1493174902.tile.Field1, 0, (b_1493174903).length - 1)][chckIndx(piece_1493174902.tile.Field0, 0, (b_1493174903[chckIndx(piece_1493174902.tile.Field1, 0, (b_1493174903).length - 1)]).length - 1)] = nimCopy(b_1493174903[chckIndx(piece_1493174902.tile.Field1, 0, (b_1493174903).length - 1)][chckIndx(piece_1493174902.tile.Field0, 0, (b_1493174903[chckIndx(piece_1493174902.tile.Field1, 0, (b_1493174903).length - 1)]).length - 1)], pieceCopy_1224737660(air_1275068591, b_1493174903[chckIndx(piece_1493174902.tile.Field1, 0, (b_1493174903).length - 1)][chckIndx(piece_1493174902.tile.Field0, 0, (b_1493174903[chckIndx(piece_1493174902.tile.Field1, 0, (b_1493174903).length - 1)]).length - 1)].index, 6, 1, 0, 0, piece_1493174902.tile, [], [], air_1275068591.onMove, air_1275068591.onTake, air_1275068591.whenTaken, [], [], false, [], true, false, false), NTI1224736794); - framePtr = F.prev; - - -} - -function HEX3Aanonymous_1493177766(piece_1493177767, board_1493177768, s_1493177769) { - var result_1493177770 = false; - - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; + result_1845499208[0].push.apply(result_1845499208[0], suffix_1845499207);; + + return result_1845499208[0]; + +} + +function HEX24_1845499197(x_1845499200) { + var result_1845499201 = []; + + result_1845499201 = nimCopy(null, collectionToString_1845499202(x_1845499200, [91], [44,32], [93]), NTI33554449); + + return result_1845499201; + +} + +function addQuoted_1845499185(s_1845499187, s_1845499187_Idx, x_1845499188) { + s_1845499187[s_1845499187_Idx].push.apply(s_1845499187[s_1845499187_Idx], HEX24_1845499197(x_1845499188));; + + +} + +function HEX24_1845497504(x_1845497506) { + var result_1845497507 = [[]]; + + result_1845497507[0] = nimCopy(null, [40], NTI33554449); + var countHEX60gensym220_1845497518 = 0; + if ((0 < countHEX60gensym220_1845497518)) { + result_1845497507[0].push.apply(result_1845497507[0], [44,32]);; + } + + result_1845497507[0].push.apply(result_1845497507[0], [97,98,105,108,105,116,121,84,97,107,101,115]);; + result_1845497507[0].push.apply(result_1845497507[0], [58,32]);; + countHEX60gensym220_1845497518 += 1; + addQuoted_889193861(result_1845497507, 0, x_1845497506.abilityTakes); + if ((0 < countHEX60gensym220_1845497518)) { + result_1845497507[0].push.apply(result_1845497507[0], [44,32]);; + } + + result_1845497507[0].push.apply(result_1845497507[0], [104,97,115,67,97,115,116,108,101,100]);; + result_1845497507[0].push.apply(result_1845497507[0], [58,32]);; + countHEX60gensym220_1845497518 += 1; + addQuoted_1845497542(result_1845497507, 0, x_1845497506.hasCastled); + if ((0 < countHEX60gensym220_1845497518)) { + result_1845497507[0].push.apply(result_1845497507[0], [44,32]);; + } + + result_1845497507[0].push.apply(result_1845497507[0], [100,110,97]);; + result_1845497507[0].push.apply(result_1845497507[0], [58,32]);; + countHEX60gensym220_1845497518 += 1; + addQuoted_1845498043(result_1845497507, 0, x_1845497506.dna); + if ((0 < countHEX60gensym220_1845497518)) { + result_1845497507[0].push.apply(result_1845497507[0], [44,32]);; + } + + result_1845497507[0].push.apply(result_1845497507[0], [116,114,97,110,115,102,111,114,109,115]);; + result_1845497507[0].push.apply(result_1845497507[0], [58,32]);; + countHEX60gensym220_1845497518 += 1; + result_1845497507[0].push.apply(result_1845497507[0], [46,46,46]);; + if ((0 < countHEX60gensym220_1845497518)) { + result_1845497507[0].push.apply(result_1845497507[0], [44,32]);; + } + + result_1845497507[0].push.apply(result_1845497507[0], [119,97,108,108,101,116]);; + result_1845497507[0].push.apply(result_1845497507[0], [58,32]);; + countHEX60gensym220_1845497518 += 1; + addQuoted_1845498802(result_1845497507, 0, x_1845497506.wallet); + if ((0 < countHEX60gensym220_1845497518)) { + result_1845497507[0].push.apply(result_1845497507[0], [44,32]);; + } + + result_1845497507[0].push.apply(result_1845497507[0], [98,117,121,115]);; + result_1845497507[0].push.apply(result_1845497507[0], [58,32]);; + countHEX60gensym220_1845497518 += 1; + addQuoted_1845498930(result_1845497507, 0, x_1845497506.buys); + if ((0 < countHEX60gensym220_1845497518)) { + result_1845497507[0].push.apply(result_1845497507[0], [44,32]);; + } + + result_1845497507[0].push.apply(result_1845497507[0], [112,105,101,99,101,115,83,111,108,100]);; + result_1845497507[0].push.apply(result_1845497507[0], [58,32]);; + countHEX60gensym220_1845497518 += 1; + addQuoted_889193861(result_1845497507, 0, x_1845497506.piecesSold); + if ((0 < countHEX60gensym220_1845497518)) { + result_1845497507[0].push.apply(result_1845497507[0], [44,32]);; + } + + result_1845497507[0].push.apply(result_1845497507[0], [112,105,101,99,101,115,83,111,108,100,84,104,105,115,84,117,114,110]);; + result_1845497507[0].push.apply(result_1845497507[0], [58,32]);; + countHEX60gensym220_1845497518 += 1; + addQuoted_889193861(result_1845497507, 0, x_1845497506.piecesSoldThisTurn); + if ((0 < countHEX60gensym220_1845497518)) { + result_1845497507[0].push.apply(result_1845497507[0], [44,32]);; + } + + result_1845497507[0].push.apply(result_1845497507[0], [103,108,97,115,115]);; + result_1845497507[0].push.apply(result_1845497507[0], [58,32]);; + countHEX60gensym220_1845497518 += 1; + addQuoted_1845499185(result_1845497507, 0, x_1845497506.glass); + result_1845497507[0].push.apply(result_1845497507[0], [41]);; + + return result_1845497507[0]; + +} + +function HEX3Aanonymous_1845496460(piece_1845496461, b_1845496462, state_1845496463) { + state_1845496463.Field1[chckIndx(piece_1845496461.color, 0, (state_1845496463.Field1).length - 1)].piecesSold = addInt(state_1845496463.Field1[chckIndx(piece_1845496461.color, 0, (state_1845496463.Field1).length - 1)].piecesSold, 1); + state_1845496463.Field1[chckIndx(piece_1845496461.color, 0, (state_1845496463.Field1).length - 1)].piecesSoldThisTurn = addInt(state_1845496463.Field1[chckIndx(piece_1845496461.color, 0, (state_1845496463.Field1).length - 1)].piecesSoldThisTurn, 1); + rawEcho(HEX24_1845497504(state_1845496463.Field1[chckIndx(piece_1845496461.color, 0, (state_1845496463.Field1).length - 1)])); + b_1845496462[chckIndx(piece_1845496461.tile.Field1, 0, (b_1845496462).length - 1)][chckIndx(piece_1845496461.tile.Field0, 0, (b_1845496462[chckIndx(piece_1845496461.tile.Field1, 0, (b_1845496462).length - 1)]).length - 1)] = nimCopy(b_1845496462[chckIndx(piece_1845496461.tile.Field1, 0, (b_1845496462).length - 1)][chckIndx(piece_1845496461.tile.Field0, 0, (b_1845496462[chckIndx(piece_1845496461.tile.Field1, 0, (b_1845496462).length - 1)]).length - 1)], pieceCopy_1476395900(air_1526726831, b_1845496462[chckIndx(piece_1845496461.tile.Field1, 0, (b_1845496462).length - 1)][chckIndx(piece_1845496461.tile.Field0, 0, (b_1845496462[chckIndx(piece_1845496461.tile.Field1, 0, (b_1845496462).length - 1)]).length - 1)].index, 6, 1, 0, 0, piece_1845496461.tile, [], [], air_1526726831.onMove, air_1526726831.onTake, air_1526726831.whenTaken, [], [], false, [], true, false, false), NTI1476395034); + + +} + +function HEX3Aanonymous_1845499325(piece_1845499326, board_1845499327, s_1845499328) { + var result_1845499329 = false; + BeforeRet: { - F.line = 1750; - F.filename = "powers.nim"; - result_1493177770 = !((piece_1493177767.item == 0)); + result_1845499329 = !((piece_1845499326.item == 0)); break BeforeRet; }; - framePtr = F.prev; - return result_1493177770; + return result_1845499329; } -function HEX3Aanonymous_1493177761(piece_1493177762, b_1493177763, state_1493177764) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1746; - F.filename = "powers.nim"; - state_1493177764.Field1[chckIndx(1, 0, (state_1493177764.Field1).length - 1)].piecesSoldThisTurn = 0; - F.line = 1747; - state_1493177764.Field1[chckIndx(0, 0, (state_1493177764.Field1).length - 1)].piecesSoldThisTurn = 0; - framePtr = F.prev; +function HEX3Aanonymous_1845499320(piece_1845499321, b_1845499322, state_1845499323) { + state_1845499323.Field1[chckIndx(1, 0, (state_1845499323.Field1).length - 1)].piecesSoldThisTurn = 0; + state_1845499323.Field1[chckIndx(0, 0, (state_1845499323.Field1).length - 1)].piecesSoldThisTurn = 0; } -function HEX3Aanonymous_1493177785(side_1493177786, __1493177787, b_1493177788, s_1493177789) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1767; - F.filename = "powers.nim"; - s_1493177789.Field1[chckIndx(side_1493177786, 0, (s_1493177789.Field1).length - 1)].buys.push({Field0: [83,101,108,108], Field1: createPieceMarket_1493177776((-4), 1), Field2: HEX3Aanonymous_1493174901, Field3: HEX3Aanonymous_1493177766});; - F.line = 1768; - buff_1493172242(0, side_1493177786, b_1493177788, s_1493177789, [], [], [HEX3Aanonymous_1493177761], false, [], null, null, null, false); - framePtr = F.prev; +function HEX3Aanonymous_1845499344(side_1845499345, __1845499346, b_1845499347, s_1845499348) { + s_1845499348.Field1[chckIndx(side_1845499345, 0, (s_1845499348.Field1).length - 1)].buys.push({Field0: [83,101,108,108], Field1: createPieceMarket_1845499335((-4), 1), Field2: HEX3Aanonymous_1845496460, Field3: HEX3Aanonymous_1845499325});; + buff_1845493778(0, side_1845499345, b_1845499347, s_1845499348, [], [], [HEX3Aanonymous_1845499320], false, [], null, null, null, false); } -function getMoney_1526726671(side_1526726672, s_1526726673) { - var result_1526726674 = 0; +function getMoney_1879048207(side_1879048208, s_1879048209) { + var result_1879048210 = 0; - var F = {procname: "capitalism.getMoney", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/capitalism.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 10; - F.filename = "capitalism.nim"; - var wallet_1526726675 = nimCopy(null, s_1526726673.Field1[chckIndx(side_1526726672, 0, (s_1526726673.Field1).length - 1)].wallet, NTI1224736866); - if (isSome_1409289449(wallet_1526726675)) { - F.line = 12; - result_1526726674 = get_1409289543(wallet_1526726675); + var wallet_1879048211 = nimCopy(null, s_1879048209.Field1[chckIndx(side_1879048208, 0, (s_1879048209.Field1).length - 1)].wallet, NTI1476395106); + if (isSome_1660947689(wallet_1879048211)) { + result_1879048210 = get_1660947783(wallet_1879048211); break BeforeRet; } else { - F.line = 14; - result_1526726674 = (-1); + result_1879048210 = (-1); break BeforeRet; } }; - framePtr = F.prev; - return result_1526726674; + return result_1879048210; } -function createTaxes_1493177804(rate_1493177805) { +function createTaxes_1845499363(rate_1845499364) { -function HEX3Aanonymous_1493177807(piece_1493177808, b_1493177809, state_1493177810) { - var F = {procname: "createTaxes.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1777; - F.filename = "powers.nim"; - var tax_1493177811 = (((getMoney_1526726671(piece_1493177808.color, state_1493177810) * rate_1493177805)) | 0); - if ((tax_1493177811 == 0)) { - F.line = 1778; - tax_1493177811 = addInt(tax_1493177811, 1); +function HEX3Aanonymous_1845499366(piece_1845499367, b_1845499368, state_1845499369) { + var tax_1845499370 = (((getMoney_1879048207(piece_1845499367.color, state_1845499369) * rate_1845499364)) | 0); + if ((tax_1845499370 == 0)) { + tax_1845499370 = addInt(tax_1845499370, 1); } - F.line = 1779; - addMoney_1526726698(piece_1493177808.color, negInt(tax_1493177811), state_1493177810); - framePtr = F.prev; + addMoney_1879048234(piece_1845499367.color, negInt(tax_1845499370), state_1845499369); } - var result_1493177806 = null; + var result_1845499365 = null; - var F = {procname: "powers.createTaxes", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1776; - F.filename = "powers.nim"; - result_1493177806 = HEX3Aanonymous_1493177807; - framePtr = F.prev; + result_1845499365 = HEX3Aanonymous_1845499366; - return result_1493177806; + return result_1845499365; } -function HEX3Aanonymous_1493177817(side_1493177818, __1493177819, b_1493177820, s_1493177821) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1794; - F.filename = "powers.nim"; - addOnEndTurnTransform_1493172461(0, side_1493177818, b_1493177820, s_1493177821, moneyForTake_1493174646, false); - F.line = 1795; - addOnEndTurnTransform_1493172461(0, side_1493177818, b_1493177820, s_1493177821, moneyForTake_1493174646, false); - F.line = 1796; - buff_1493172242(0, side_1493177818, b_1493177820, s_1493177821, [], [], [createTaxes_1493177804(0.15)], false, [], null, null, null, false); - framePtr = F.prev; +function HEX3Aanonymous_1845499376(side_1845499377, __1845499378, b_1845499379, s_1845499380) { + addOnEndTurnTransform_1845493997(0, side_1845499377, b_1845499379, s_1845499380, moneyForTakeAll_1845496166, false); + addOnEndTurnTransform_1845493997(0, side_1845499377, b_1845499379, s_1845499380, moneyForTakeAll_1845496166, false); + buff_1845493778(0, side_1845499377, b_1845499379, s_1845499380, [], [], [createTaxes_1845499363(0.15)], false, [], null, null, null, false); } -function HEX3Aanonymous_1493177886(piece_1493177887, __1493177888, state_1493177889) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1886; - F.filename = "powers.nim"; - var currentMoney_1493177890 = getMoney_1526726671(piece_1493177887.color, state_1493177889); - F.line = 1887; - var next_1493177891 = subInt(mulInt(currentMoney_1493177890, 2), currentMoney_1493177890); - F.line = 1888; - addMoney_1526726698(piece_1493177887.color, next_1493177891, state_1493177889); - framePtr = F.prev; +function HEX3Aanonymous_1845499445(piece_1845499446, __1845499447, state_1845499448) { + var currentMoney_1845499449 = getMoney_1879048207(piece_1845499446.color, state_1845499448); + var next_1845499450 = subInt(mulInt(currentMoney_1845499449, 2), currentMoney_1845499449); + addMoney_1879048234(piece_1845499446.color, next_1845499450, state_1845499448); } -function HEX3Aanonymous_1493177893(side_1493177894, __1493177895, b_1493177896, s_1493177897) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1900; - F.filename = "powers.nim"; - buff_1493172242(0, side_1493177894, b_1493177896, s_1493177897, [], [], [HEX3Aanonymous_1493177886], false, [], null, null, null, false); - framePtr = F.prev; +function HEX3Aanonymous_1845499452(side_1845499453, __1845499454, b_1845499455, s_1845499456) { + buff_1845493778(0, side_1845499453, b_1845499455, s_1845499456, [], [], [HEX3Aanonymous_1845499445], false, [], null, null, null, false); } -function createSuperLottery_1493177856() { +function createSuperLottery_1845499415() { -function HEX3Aanonymous_1493177859(piece_1493177860, board_1493177861, state_1493177862) { - var F = {procname: "createSuperLottery.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - if (!((piece_1493177860.timesMoved == lastTimesMoved_1493177858))) { - F.line = 1862; - F.filename = "powers.nim"; - randomize_1392509190(BigInt(addInt(addInt(mulInt(10, piece_1493177860.tile.Field1), mulInt(100, piece_1493177860.tile.Field0)), state_1493177862.Field0.randSeed))); - F.line = 1863; - var ticket_1493177863 = rand_1392509064(100); - if ((ticket_1493177863 == 42)) { - F.line = 1865; - addMoney_1526726698(piece_1493177860.color, 10, state_1493177862); +function HEX3Aanonymous_1845499418(piece_1845499419, board_1845499420, state_1845499421) { + if (!((piece_1845499419.timesMoved == lastTimesMoved_1845499417))) { + randomize_1644167430(BigInt(addInt(addInt(mulInt(10, piece_1845499419.tile.Field1), mulInt(100, piece_1845499419.tile.Field0)), state_1845499421.Field0.randSeed))); + var ticket_1845499422 = rand_1644167304(100); + if ((ticket_1845499422 == 42)) { + addMoney_1879048234(piece_1845499419.color, 10, state_1845499421); Label1: { - F.line = 181; - F.filename = "piece.nim"; - var xHEX60gensym407_1493177868 = null; - F.line = 249; - F.filename = "iterators.nim"; - var i_1493179251 = 0; - F.line = 250; - var L_1493179252 = (piece_1493177860.onPromote).length; + var xHEX60gensym408_1845499427 = null; + var i_1845500811 = 0; + var L_1845500812 = (piece_1845499419.onPromote).length; Label2: { - F.line = 251; Label3: while (true) { - if (!(i_1493179251 < L_1493179252)) break Label3; - F.line = 1866; - F.filename = "powers.nim"; - xHEX60gensym407_1493177868 = piece_1493177860.onPromote[chckIndx(i_1493179251, 0, (piece_1493177860.onPromote).length - 1)]; - F.line = 182; - F.filename = "piece.nim"; - xHEX60gensym407_1493177868(piece_1493177860, board_1493177861, state_1493177862); - if (piece_1493177860.promoted) { - F.line = 183; + if (!(i_1845500811 < L_1845500812)) break Label3; + xHEX60gensym408_1845499427 = piece_1845499419.onPromote[chckIndx(i_1845500811, 0, (piece_1845499419.onPromote).length - 1)]; + xHEX60gensym408_1845499427(piece_1845499419, board_1845499420, state_1845499421); + if (piece_1845499419.promoted) { break Label1; } - F.line = 13; - F.filename = "iterators.nim"; - i_1493179251 += 1; - if (!(((piece_1493177860.onPromote).length == L_1493179252))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_1845500811 += 1; + if (!(((piece_1845499419.onPromote).length == L_1845500812))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } @@ -12759,309 +8584,162 @@ function HEX3Aanonymous_1493177859(piece_1493177860, board_1493177861, state_149 } - F.line = 1867; - F.filename = "powers.nim"; - lastTimesMoved_1493177858 = piece_1493177860.timesMoved; - framePtr = F.prev; + lastTimesMoved_1845499417 = piece_1845499419.timesMoved; } - var result_1493177857 = null; + var result_1845499416 = null; + + var lastTimesMoved_1845499417 = 0; + result_1845499416 = HEX3Aanonymous_1845499418; - var F = {procname: "powers.createSuperLottery", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1854; - F.filename = "powers.nim"; - var lastTimesMoved_1493177858 = 0; - F.line = 1860; - result_1493177857 = HEX3Aanonymous_1493177859; - framePtr = F.prev; + return result_1845499416; + +} - return result_1493177857; +function HEX3Aanonymous_1845499430(side_1845499431, __1845499432, b_1845499433, s_1845499434) { + addOnEndTurnTransform_1845493997(3, side_1845499431, b_1845499433, s_1845499434, createSuperLottery_1845499415, false); + } -function HEX3Aanonymous_1493177871(side_1493177872, __1493177873, b_1493177874, s_1493177875) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1879; - F.filename = "powers.nim"; - addOnEndTurnTransform_1493172461(3, side_1493177872, b_1493177874, s_1493177875, createSuperLottery_1493177856, false); - framePtr = F.prev; +function HEX3Aanonymous_1845495629(side_1845495630, __1845495631, b_1845495632, s_1845495633) { + buff_1845493778(6, side_1845495630, b_1845495632, s_1845495633, [], [], [HEX3Aanonymous_1845495485], true, [], null, null, null, true); } -function HEX3Aanonymous_1493174093(side_1493174094, __1493174095, b_1493174096, s_1493174097) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1234; - F.filename = "powers.nim"; - buff_1493172242(6, side_1493174094, b_1493174096, s_1493174097, [], [], [HEX3Aanonymous_1493173949], true, [], null, null, null, true); - framePtr = F.prev; - - -} - -function HEX3Aanonymous_1509949625(board_1509949626, p_1509949627) { - var result_1509949628 = [[]]; - - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 122; - F.filename = "extramoves.nim"; - var _ = addIfTake_1291845739(result_1509949628, 0, board_1509949626, p_1509949627, p_1509949627.tile, shooterFactory_1308622968(1, 2), false, true); - F.line = 123; - var _ = addIfTake_1291845739(result_1509949628, 0, board_1509949626, p_1509949627, p_1509949627.tile, shooterFactory_1308622968((-1), 2), false, true); - F.line = 124; - var _ = addIfTake_1291845739(result_1509949628, 0, board_1509949626, p_1509949627, p_1509949627.tile, shooterFactory_1308622968(2, 1), false, true); - F.line = 125; - var _ = addIfTake_1291845739(result_1509949628, 0, board_1509949626, p_1509949627, p_1509949627.tile, shooterFactory_1308622968(2, (-1)), false, true); - F.line = 126; - var _ = addIfTake_1291845739(result_1509949628, 0, board_1509949626, p_1509949627, p_1509949627.tile, shooterFactory_1308622968(1, (-2)), false, true); - F.line = 127; - var _ = addIfTake_1291845739(result_1509949628, 0, board_1509949626, p_1509949627, p_1509949627.tile, shooterFactory_1308622968((-1), (-2)), false, true); - F.line = 128; - var _ = addIfTake_1291845739(result_1509949628, 0, board_1509949626, p_1509949627, p_1509949627.tile, shooterFactory_1308622968((-2), 1), false, true); - F.line = 129; - var _ = addIfTake_1291845739(result_1509949628, 0, board_1509949626, p_1509949627, p_1509949627.tile, shooterFactory_1308622968((-2), (-1)), false, true); - framePtr = F.prev; - - return result_1509949628[0]; - -} - -function HEX3Aanonymous_1493173097(side_1493173098, viewSide_1493173099, b_1493173100, s_1493173101) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 517; - F.filename = "powers.nim"; - buff_1493172242(1, side_1493173098, b_1493173100, s_1493173101, [], [HEX3Aanonymous_1509949625], [], false, [], null, null, null, false); - framePtr = F.prev; - - -} - -function HEX3Aanonymous_1509949630(board_1509949631, p_1509949632) { - var result_1509949633 = [[]]; - - var F = {procname: "extramoves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extramoves.nim", line: 0}; - framePtr = F; - F.line = 132; - F.filename = "extramoves.nim"; - var _ = addIfTake_1291845739(result_1509949633, 0, board_1509949631, p_1509949632, p_1509949632.tile, shooterFactory_1308622968(1, 3), false, true); - F.line = 133; - var _ = addIfTake_1291845739(result_1509949633, 0, board_1509949631, p_1509949632, p_1509949632.tile, shooterFactory_1308622968((-1), 3), false, true); - F.line = 134; - var _ = addIfTake_1291845739(result_1509949633, 0, board_1509949631, p_1509949632, p_1509949632.tile, shooterFactory_1308622968(3, 1), false, true); - F.line = 135; - var _ = addIfTake_1291845739(result_1509949633, 0, board_1509949631, p_1509949632, p_1509949632.tile, shooterFactory_1308622968(3, (-1)), false, true); - F.line = 136; - var _ = addIfTake_1291845739(result_1509949633, 0, board_1509949631, p_1509949632, p_1509949632.tile, shooterFactory_1308622968(1, (-3)), false, true); - F.line = 137; - var _ = addIfTake_1291845739(result_1509949633, 0, board_1509949631, p_1509949632, p_1509949632.tile, shooterFactory_1308622968((-1), (-3)), false, true); - F.line = 138; - var _ = addIfTake_1291845739(result_1509949633, 0, board_1509949631, p_1509949632, p_1509949632.tile, shooterFactory_1308622968((-3), 1), false, true); - F.line = 139; - var _ = addIfTake_1291845739(result_1509949633, 0, board_1509949631, p_1509949632, p_1509949632.tile, shooterFactory_1308622968((-3), (-1)), false, true); - framePtr = F.prev; - - return result_1509949633[0]; - -} - -function HEX3Aanonymous_1493173120(side_1493173121, viewSide_1493173122, b_1493173123, s_1493173124) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 537; - F.filename = "powers.nim"; - buff_1493172242(1, side_1493173121, b_1493173123, s_1493173124, [], [HEX3Aanonymous_1509949630], [], false, [], null, null, null, false); - framePtr = F.prev; - - -} -var F = {procname: "module powers", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; -framePtr = F; -F.line = 2237; -F.filename = "powers.nim"; -registerPower_1442841404(empress_1493172537); -F.line = 2238; -registerPower_1442841404(altEmpress_1493172551); -F.line = 2239; -registerPower_1442841404(mysteriousSwordsmanLeft_1493172734); -F.line = 2240; -registerPower_1442841404(mysteriousSwordsmanRight_1493172786); -F.line = 2241; -registerPower_1442841404(developed_1493172796); -F.line = 2242; -registerPower_1442841404(stepOnMe_1493172822); -F.line = 2243; -registerPower_1442841404(illegalFormationBL_1493172855); -F.line = 2244; -registerPower_1442841404(illegalFormationBR_1493172866); -F.line = 2245; -registerPower_1442841404(illegalFormationRL_1493172833); -F.line = 2246; -registerPower_1442841404(illegalFormationRR_1493172844); -F.line = 2247; -registerPower_1442841404(putInTheWork_1493172888); -F.line = 2248; -registerPower_1442841404(wanderingRoninLeft_1493172936); -F.line = 2249; -registerPower_1442841404(wanderingRoninRight_1493172984); -F.line = 2250; -registerPower_1442841404(archBishops_1493173040); -F.line = 2251; -registerPower_1442841404(werewolves_1493173026); -F.line = 2252; -registerPower_1442841404(giraffe_1493173054); -F.line = 2253; -registerPower_1442841404(sacrifice_1493173170); -F.line = 2254; -registerPower_1442841404(calvary_1493173069); -F.line = 2255; -registerPower_1442841404(backStep_1493173185); -F.line = 2256; -registerPower_1442841404(headStart_1493173200); -F.line = 2257; -registerPower_1442841404(queenTrade_1493173212); -F.line = 2258; -registerPower_1442841404(lesbianPride_1493173262); -F.line = 2259; -registerPower_1442841404(knightChargePower_1493173407); -F.line = 2260; -registerPower_1442841404(nightRider_1493173518); -F.line = 2261; -registerPower_1442841404(desegregation_1493173532); -F.line = 2262; -registerPower_1442841404(concubine_1493173594); -F.line = 2263; -registerPower_1442841404(reinforcements_1493173619); -F.line = 2264; -registerPower_1442841404(shotgunKing_1493173647); -F.line = 2265; -registerPower_1442841404(coward_1493173698); -F.line = 2267; -registerPower_1442841404(lanceLeft_1493173840); -F.line = 2268; -registerPower_1442841404(lanceRight_1493173892); -F.line = 2269; -registerPower_1442841404(drunkKnights_1493174022); -F.line = 2270; -registerPower_1442841404(alcoholism_1493174032); -F.line = 2272; -registerPower_1442841404(slumdogMillionaire_1493174402); -F.line = 2273; -registerPower_1442841404(stupidPower_1493174424); -F.line = 2274; -registerPower_1442841404(conversion_1493174453); -F.line = 2275; -registerPower_1442841404(americanDream_1493174512); -F.line = 2276; -registerPower_1442841404(sleeperAgent_1493174565); -F.line = 2277; -registerPower_1442841404(capitalismPower_1493174693); -F.line = 2279; -registerPower_1442841404(skyGlass_1493178056); -F.line = 2280; -registerPower_1442841404(zeroGlass_1493178068); -F.line = 2281; -registerSynergy_1442840657({Field0: {name: [71,108,97,115,115,58,32,66,97,110,107,114,117,112,116,99,121], technicalName: [], synergy: false, tier: 2, rarity: 6, description: makeNimstrLit("On your turn, if you have only 0 dollars, instead of moving you can choose 3 pieces to each cast Bankruptcy on \x0A any non-king tiles. Any piece on these tiles will die if the cast completes. Bankruptcy cannot be cast turn one. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [122,101,114,111,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493178172, index: (-1), priority: 0}, Field1: 8, Field2: [[71,108,97,115,115,58,32,90,101,114,111], [67,97,112,105,116,97,108,105,115,109]], Field3: [[71,108,97,115,115,58,32,90,101,114,111]]}, false, false); -F.line = 2282; -registerPower_1442841404(steelGlass_1493178080); -F.line = 2283; -registerPower_1442841404(reverieGlass_1493178414); -F.line = 2284; -registerPower_1442841404(daybreakGlass_1493178460); -F.line = 2286; -registerSynergy_1442840657({Field0: {name: [65,110,105,109,101,32,66,97,116,116,108,101], technicalName: [], synergy: false, tier: 2, rarity: 0, description: makeNimstrLit("Your board is imbued with the power of anime. You feel a odd sense of regret. Or is it guilt?"), icon: [103,111,108,100,103,101,110,101,114,97,108,46,115,118,103], rotatable: true, noColor: true, onStart: HEX3Aanonymous_1493173070, index: (-1), priority: 5}, Field1: 32, Field2: [[77,121,115,116,101,114,105,111,117,115,32,83,119,111,114,100,115,109,97,110], [87,97,110,100,101,114,105,110,103,32,82,111,110,105,110]], Field3: [[77,121,115,116,101,114,105,111,117,115,32,83,119,111,114,100,115,109,97,110], [87,97,110,100,101,114,105,110,103,32,82,111,110,105,110], [77,121,115,116,101,114,105,111,117,115,32,83,119,111,114,100,115,109,97,110], [87,97,110,100,101,114,105,110,103,32,82,111,110,105,110], [65,110,105,109,101,32,66,97,116,116,108,101]]}, false, false); -F.line = 2287; -registerSynergy_1442840657({Field0: {name: [75,110,105,103,104,116,39,115,32,67,104,97,114,103,101], technicalName: [], synergy: false, tier: 2, rarity: 4, description: [67,72,65,82,71,69,33,32,89,111,117,114,32,107,110,105,103,104,116,115,32,115,116,97,114,116,32,51,32,116,105,108,101,115,32,97,104,101,97,100,46], icon: [107,110,105,103,104,116,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173386, index: (-1), priority: 20}, Field1: 16, Field2: [[67,97,108,118,97,114,121]], Field3: []}, false, false); -F.line = 2288; -registerSynergy_1442840657({Field0: {name: [67,114,105,109,105,110,97,108,32,70,111,114,109,97,116,105,111,110], technicalName: [], synergy: false, tier: 0, rarity: 0, description: makeNimstrLit("I guess the rules didn\'t get to you. Your pawns above both knights and both rooks swap places with those pieces."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173444, index: (-1), priority: 20}, Field1: 12, Field2: [[73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110]], Field3: [[73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110]]}, false, false); -F.line = 2289; -registerSynergy_1442840657({Field0: {name: [76,105,110,101,98,97,99,107,101,114,115], technicalName: [], synergy: false, tier: 2, rarity: 0, description: makeNimstrLit("Your pawns learn to fight like men. They can take one spaces ahead too."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173471, index: (-1), priority: 15}, Field1: 0, Field2: [[80,117,116,32,105,110,32,116,104,101,32,119,111,114,107,33], [72,101,97,100,115,116,97,114,116]], Field3: []}, false, false); -F.line = 2290; -registerSynergy_1442840657({Field0: {name: [72,111,108,121,32,66,105,115,104,111,112,115], technicalName: [], synergy: false, tier: 2, rarity: 8, description: [71,111,100,32,104,97,115,32,98,108,101,115,115,101,100,32,121,111,117,114,32,98,105,115,104,111,112,115,46,32], icon: [99,114,111,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493173533, index: (-1), priority: 15}, Field1: 8, Field2: [[65,114,99,104,98,105,115,104,111,112,115], [72,111,108,121]], Field3: [[65,114,99,104,98,105,115,104,111,112,115]]}, false, false); -F.line = 2291; -registerSynergy_1442840657({Field0: {name: [66,111,117,110,116,121,32,72,117,110,116,101,114], technicalName: [], synergy: false, tier: 0, rarity: 0, description: makeNimstrLit("It\'s hard to make a living these days. If your king takes 3 pieces, you automatically win."), icon: [107,105,110,103,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173659, index: (-1), priority: 15}, Field1: 16, Field2: [[83,104,111,116,103,117,110,32,75,105,110,103]], Field3: []}, false, false); -F.line = 2292; -registerSynergy_1442840657({Field0: {name: [71,111,100,39,115,32,68,105,115,99,105,112,108,101], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("Your bishop has now seen god. When it takes, it has a 30% chance to convert it to your color. \x0A When this happens, your bishop swaps places with it instead of taking it."), icon: [98,105,115,104,111,112,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174477, index: (-1), priority: 15}, Field1: 16, Field2: [[67,111,110,118,101,114,115,105,111,110], [72,111,108,121]], Field3: [[67,111,110,118,101,114,115,105,111,110]]}, false, false); -F.line = 2293; -registerSynergy_1442840657({Field0: {name: [68,105,118,105,110,101,32,87,105,110,100], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("The divine wind briskly brushes your back. Your lances will take forward while sky is casting."), icon: [108,97,110,99,101,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493178099, index: (-1), priority: 15}, Field1: 12, Field2: [[71,108,97,115,115,58,32,83,107,121], [75,97,109,105,107,97,122,101]], Field3: []}, false, false); -F.line = 2294; -registerSynergy_1442840657({Field0: {name: [83,117,112,101,114,32,80,97,119,110], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [89,111,117,32,104,97,118,101,32,105,110,115,97,110,101,32,112,97,119,110,115,46,32,80,108,101,97,115,101,32,100,111,110,39,116,32,115,97,99,114,105,102,105,99,101,32,116,104,101,109,46], icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173213, index: (-1), priority: 15}, Field1: 0, Field2: [[66,97,99,107,115,116,101,112], [72,101,97,100,115,116,97,114,116]], Field3: [[66,97,99,107,115,116,101,112], [72,101,97,100,115,116,97,114,116]]}, true, false); -F.line = 2295; -registerSynergy_1442840657({Field0: {name: [81,117,101,101,110,39,115,32,87,114,97,116,104], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [87,104,121,32,109,117,115,116,32,115,104,101,32,100,105,101,63], icon: [113,117,101,101,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173263, index: (-1), priority: 1}, Field1: 0, Field2: [[76,101,115,98,105,97,110,32,80,114,105,100,101], [81,117,101,101,110,32,84,114,97,100,101]], Field3: [[76,101,115,98,105,97,110,32,80,114,105,100,101]]}, true, false); -F.line = 2296; -registerSynergy_1442840657({Field0: {name: [81,117,101,101,110,39,115,32,87,114,97,116,104], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [87,104,121,32,109,117,115,116,32,115,104,101,32,100,105,101,63], icon: [113,117,101,101,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173263, index: (-1), priority: 1}, Field1: 0, Field2: [[76,101,115,98,105,97,110,32,80,114,105,100,101], [83,97,99,114,105,102,105,99,105,97,108,32,77,97,105,100,101,110]], Field3: [[76,101,115,98,105,97,110,32,80,114,105,100,101], [83,97,99,114,105,102,105,99,105,97,108,32,77,97,105,100,101,110]]}, true, false); -F.line = 2297; -registerSynergy_1442840657({Field0: {name: [66,97,116,116,108,101,32,70,111,114,109,97,116,105,111,110,33], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [82,101,97,108,32,69,115,116,97,116,101,32,105,115,32,103,111,105,110,103,32,99,114,97,122,121,32,119,105,116,104,32,104,111,119,32,100,101,118,101,108,111,112,101,100,32,116,104,101,32,98,111,97,114,100,32,105,115,46], icon: [107,110,105,103,104,116,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173421, index: (-1), priority: 20}, Field1: 0, Field2: [[75,110,105,103,104,116,39,115,32,67,104,97,114,103,101], [68,101,118,101,108,111,112,101,100]], Field3: [[68,101,118,101,108,111,112,101,100]]}, true, false); -F.line = 2298; -registerSynergy_1442840657({Field0: {name: [70,97,108,108,101,110,32,81,117,101,101,110,39,115,32,87,114,97,116,104], technicalName: [], synergy: false, tier: 3, rarity: 0, description: makeNimstrLit("Why must she die? They will suffer. They will suffer. They will suffer. \x0A They will suffer. They will suffer. They will suffer. They will suffer. \x0A They will suffer. They will suffer. They will suffer. They will suffer.\x0A They will suffer. They will suffer. They will suffer. They will suffer."), icon: [113,117,101,101,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173295, index: (-1), priority: 0}, Field1: 0, Field2: [[76,101,115,98,105,97,110,32,80,114,105,100,101], [81,117,101,101,110,32,84,114,97,100,101], [83,97,99,114,105,102,105,99,105,97,108,32,77,97,105,100,101,110]], Field3: [[76,101,115,98,105,97,110,32,80,114,105,100,101], [83,97,99,114,105,102,105,99,105,97,108,32,77,97,105,100,101,110]]}, true, false); -F.line = 2299; -registerSynergy_1442840657({Field0: {name: [66,97,110,100,97,105,100], technicalName: [], synergy: false, tier: 3, rarity: 0, description: makeNimstrLit("It turns out that calvary plus giraffe is an automatic checkmate for white, \x0A so I\'m making the giraffes start one tile back. Sorry."), icon: [103,105,114,97,102,102,101,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174282, index: (-1), priority: 26}, Field1: 0, Field2: [[75,110,105,103,104,116,39,115,32,67,104,97,114,103,101], [71,105,114,97,102,102,101]], Field3: []}, true, false); -F.line = 2300; -registerSynergy_1442840657({Field0: {name: [66,111,117,110,116,121,32,72,117,110,116,101,114,32,78,101,114,102], technicalName: [], synergy: false, tier: 0, rarity: 0, description: makeNimstrLit("Yeah, 3 pieces is way too easy for our lesbian queens, so now it\'s 7 pieces. You got this!"), icon: [107,105,110,103,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174328, index: (-1), priority: 15}, Field1: 0, Field2: [[76,101,115,98,105,97,110,32,80,114,105,100,101], [66,111,117,110,116,121,32,72,117,110,116,101,114]], Field3: [[66,111,117,110,116,121,32,72,117,110,116,101,114]]}, true, false); -F.line = 2301; -registerSynergy_1442840657({Field0: {name: [110,105,103,104,101,116,114,105,101,100,100,101,114], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [110,105,103,104,101,116,114,105,101,100,100,101,114,46,63], icon: [110,105,103,104,116,114,105,100,101,114,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174033, index: (-1), priority: 17}, Field1: 0, Field2: [[68,114,117,110,107,32,75,110,105,103,104,116,115], [78,105,103,104,116,114,105,100,101,114]], Field3: []}, true, false); -F.line = 2302; -registerSynergy_1442840657({Field0: {name: [110,105,103,104,101,116,114,105,101,100,100,101,114], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [110,105,103,104,101,116,114,105,101,100,100,101,114,46,63], icon: [110,105,103,104,116,114,105,100,101,114,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174033, index: (-1), priority: 17}, Field1: 0, Field2: [[65,108,99,111,104,111,108,105,115,109], [78,105,103,104,116,114,105,100,101,114]], Field3: []}, true, false); -F.line = 2303; -registerSynergy_1442840657({Field0: {name: [67,108,97,114,105,116,121], technicalName: [], synergy: false, tier: 3, rarity: 0, description: makeNimstrLit("You now see things in a whole new light. \x0A It\'s not regret as much as self-disappointment."), icon: [107,105,110,103,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493178526, index: (-1), priority: 15}, Field1: 0, Field2: [[71,108,97,115,115,58,32,68,97,121,98,114,101,97,107], [67,111,110,99,117,98,105,110,101]], Field3: []}, true, false); -F.line = 2304; -registerSynergy_1442840657({Field0: {name: [77,97,115,116,101,114,32,71,108,97,115,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [89,111,117,32,104,97,118,101,32,103,111,111,100,32,116,97,115,116,101,46,32,65,108,108,32,103,108,97,115,115,101,115,32,99,97,110,32,98,101,32,99,97,115,116,32,111,110,101,32,109,111,114,101,32,116,105,109,101,46], icon: [115,107,121,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493178545, index: (-1), priority: 30}, Field1: 0, Field2: [[71,108,97,115,115,58,32,83,107,121], [71,108,97,115,115,58,32,82,101,118,101,114,105,101], [71,108,97,115,115,58,32,90,101,114,111], [71,108,97,115,115,58,32,83,116,101,101,108], [71,108,97,115,115,58,32,68,97,121,98,114,101,97,107]], Field3: []}, true, false); -F.line = 2305; -registerSynergy_1442840657({Field0: {name: [77,97,115,116,101,114,32,71,108,97,115,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [89,111,117,32,104,97,118,101,32,103,111,111,100,32,116,97,115,116,101,46,32,65,108,108,32,103,108,97,115,115,101,115,32,99,97,110,32,98,101,32,99,97,115,116,32,111,110,101,32,109,111,114,101,32,116,105,109,101,46], icon: [115,107,121,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493178545, index: (-1), priority: 30}, Field1: 0, Field2: [[71,108,97,115,115,58,32,83,107,121], [71,108,97,115,115,58,32,82,101,118,101,114,105,101], [71,108,97,115,115,58,32,66,97,110,107,114,117,112,116,99,121], [71,108,97,115,115,58,32,83,116,101,101,108], [71,108,97,115,115,58,32,68,97,121,98,114,101,97,107]], Field3: []}, true, false); -F.line = 2307; -registerSynergy_1442840657({Field0: {name: [67,97,112,105,116,97,108,105,115,109,32,73,73], technicalName: [67,97,112,105,116,97,108,105,115,109,32,73,73,58,32,77,111,118,101,32,85,112], synergy: false, tier: 0, rarity: 0, description: makeNimstrLit("Money is pretty neat right? You can spend 8 dollars to move a piece one tile forward. It cannot take with this action."), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493174790, index: (-1), priority: 15}, Field1: 24, Field2: [[67,97,112,105,116,97,108,105,115,109]], Field3: []}, false, false); -F.line = 2308; -registerSynergy_1442840657({Field0: {name: [67,97,112,105,116,97,108,105,115,109,32,73,73], technicalName: [67,97,112,105,116,97,108,105,115,109,32,73,73,58,32,77,111,118,101,32,66,97,99,107], synergy: false, tier: 0, rarity: 0, description: makeNimstrLit("Money is pretty neat right? You can spend 7 dollars to move a piece one tile backwards. It cannot take with this action."), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493174833, index: (-1), priority: 15}, Field1: 24, Field2: [[67,97,112,105,116,97,108,105,115,109]], Field3: []}, false, false); -F.line = 2309; -registerSynergy_1442840657({Field0: {name: [67,97,112,105,116,97,108,105,115,109,32,73,73], technicalName: [67,97,112,105,116,97,108,105,115,109,32,73,73,58,32,73,110,99,111,109,101], synergy: false, tier: 0, rarity: 0, description: [72,101,114,101,44,32,104,97,118,101,32,49,48,32,100,111,108,108,97,114,115], icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493174860, index: (-1), priority: 35}, Field1: 24, Field2: [[67,97,112,105,116,97,108,105,115,109]], Field3: []}, false, false); -F.line = 2310; -registerSynergy_1442840657({Field0: {name: [67,97,112,105,116,97,108,105,115,109,32,73,73,73], technicalName: [67,97,112,105,116,97,108,105,115,109,32,73,73,73,58,32,85,112,103,114,97,100,101,32,75,110,105,103,104,116], synergy: false, tier: 1, rarity: 0, description: makeNimstrLit("Money can be used in exchange for goods and services. You can spend 8 dollars to give a piece the movement of a knight.\x0A This upgrade is 30 dollars more expensive for the king. The upgraded piece still cannot take like a knight."), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493174867, index: (-1), priority: 15}, Field1: 24, Field2: [[67,97,112,105,116,97,108,105,115,109]], Field3: []}, false, false); -F.line = 2311; -registerSynergy_1442840657({Field0: {name: [67,97,112,105,116,97,108,105,115,109,32,73,73,73], technicalName: [67,97,112,105,116,97,108,105,115,109,32,73,73,73,58,32,85,112,103,114,97,100,101,32,71,105,114,97,102,102,101], synergy: false, tier: 1, rarity: 0, description: makeNimstrLit("Money can be used in exchange for goods and services. You can spend 8 dollars to give a piece the movement of a giraffe. \x0A This upgrade is 30 dollars more expensive for the king. The upgraded piece still cannot take like a giraffe."), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493174884, index: (-1), priority: 15}, Field1: 24, Field2: [[67,97,112,105,116,97,108,105,115,109]], Field3: []}, false, false); -F.line = 2312; -registerSynergy_1442840657({Field0: {name: [67,97,112,105,116,97,108,105,115,109,32,73,86], technicalName: [67,97,112,105,116,97,108,105,115,109,32,73,86,58,32,34,73,110,102,108,97,116,105,111,110,34], synergy: false, tier: 1, rarity: 0, description: makeNimstrLit("More money equals more money! You get 3 more dollars for taking a piece. "), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493177828, index: (-1), priority: 15}, Field1: 24, Field2: [[67,97,112,105,116,97,108,105,115,109]], Field3: []}, false, false); -F.line = 2313; -registerSynergy_1442840657({Field0: {name: [67,97,112,105,116,97,108,105,115,109,32,73,86], technicalName: [67,97,112,105,116,97,108,105,115,109,32,73,86,58,32,72,97,110,100,111,117,116,115], synergy: false, tier: 1, rarity: 0, description: makeNimstrLit("What if everyone had money? Then everyone would have money! You get 1 dollar for taking a piece."), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493177849, index: (-1), priority: 15}, Field1: 24, Field2: [[67,97,112,105,116,97,108,105,115,109]], Field3: []}, false, false); -F.line = 2314; -registerSynergy_1442840657({Field0: {name: [67,97,112,105,116,97,108,105,115,109,32,86], technicalName: [67,97,112,105,116,97,108,105,115,109,32,86,58,32,83,101,108,108], synergy: false, tier: 1, rarity: 0, description: makeNimstrLit("Who needs these pieces? AFUERA! You can sell a piece for 4 dollars. Each subsequent piece gives one dollar less. "), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493177785, index: (-1), priority: 15}, Field1: 24, Field2: [[67,97,112,105,116,97,108,105,115,109]], Field3: []}, false, false); -F.line = 2315; -registerSynergy_1442840657({Field0: {name: [67,97,112,105,116,97,108,105,115,109,32,86], technicalName: [67,97,112,105,116,97,108,105,115,109,32,86,58,32,84,97,120,101,115], synergy: false, tier: 2, rarity: 0, description: makeNimstrLit("Nothing in the world is certain except for Taxes and one other thing. \x0A You gain 6 more dollars for taking a piece, but you lose 15% every turn."), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493177817, index: (-1), priority: 15}, Field1: 24, Field2: [[67,97,112,105,116,97,108,105,115,109]], Field3: []}, false, false); -F.line = 2316; -registerSynergy_1442840657({Field0: {name: [67,97,112,105,116,97,108,105,115,109,32,77,77], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [84,79,32,84,72,69,32,77,79,79,78,33,33,33,33], icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1493177893, index: (-1), priority: 15}, Field1: 16, Field2: [[67,97,112,105,116,97,108,105,115,109], [67,97,112,105,116,97,108,105,115,109,32,73,73], [67,97,112,105,116,97,108,105,115,109,32,73,73,73], [67,97,112,105,116,97,108,105,115,109,32,73,86], [67,97,112,105,116,97,108,105,115,109,32,86]], Field3: []}, true, false); -F.line = 2317; -registerSynergy_1442840657({Field0: {name: [83,108,117,109,100,111,103,32,66,105,108,108,105,111,110,97,105,114,101], technicalName: [], synergy: false, tier: 0, rarity: 0, description: makeNimstrLit("Have you seen the movie Slumdog Millionaire? It\'s kind of like that but more. \x0A Your pawns have a 2% chance of promoting whenever they move. When this happens, you get 10 dollars."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493177871, index: (-1), priority: 15}, Field1: 8, Field2: [[67,97,112,105,116,97,108,105,115,109], [83,108,117,109,100,111,103,32,77,105,108,108,105,111,110,97,105,114,101]], Field3: [[83,108,117,109,100,111,103,32,77,105,108,108,105,111,110,97,105,114,101]]}, true, false); -F.line = 2319; -registerSynergy_1442840657({Field0: {name: [118,105,114,117,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174093, index: (-1), priority: 15}, Field1: 0, Field2: [[65,108,99,111,104,111,108,105,115,109], [75,97,109,105,107,97,122,101], [72,101,97,100,115,116,97,114,116], [77,121,115,116,101,114,105,111,117,115,32,83,119,111,114,100,115,109,97,110]], Field3: [[65,108,99,111,104,111,108,105,115,109]]}, true, false); -F.line = 2320; -registerSynergy_1442840657({Field0: {name: [118,105,114,117,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174093, index: (-1), priority: 15}, Field1: 0, Field2: [[65,108,99,111,104,111,108,105,115,109], [66,97,99,107,115,116,101,112], [75,110,105,103,104,116,39,115,32,67,104,97,114,103,101], [69,109,112,114,101,115,115]], Field3: [[65,108,99,111,104,111,108,105,115,109]]}, true, false); -F.line = 2321; -registerSynergy_1442840657({Field0: {name: [118,105,114,117,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174093, index: (-1), priority: 15}, Field1: 0, Field2: [[65,108,99,111,104,111,108,105,115,109], [87,97,110,100,101,114,105,110,103,32,82,111,110,105,110], [83,117,112,101,114,32,80,97,119,110], [69,109,112,114,101,115,115]], Field3: [[65,108,99,111,104,111,108,105,115,109]]}, true, false); -F.line = 2322; -registerSynergy_1442840657({Field0: {name: [118,105,114,117,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174093, index: (-1), priority: 15}, Field1: 0, Field2: [[65,108,99,111,104,111,108,105,115,109], [83,116,101,112,32,111,110,32,109,101], [67,111,119,97,114,100], [83,104,111,116,103,117,110,32,75,105,110,103]], Field3: [[65,108,99,111,104,111,108,105,115,109]]}, true, false); -F.line = 2323; -registerSynergy_1442840657({Field0: {name: [118,105,114,117,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174093, index: (-1), priority: 15}, Field1: 0, Field2: [[65,108,99,111,104,111,108,105,115,109], [82,101,105,110,102,111,114,99,101,109,101,110,116,115], [69,109,112,114,101,115,115], [71,105,114,97,102,102,101], [87,101,114,101,119,111,108,118,101,115]], Field3: [[65,108,99,111,104,111,108,105,115,109]]}, true, false); -F.line = 2324; -registerSynergy_1442840657({Field0: {name: [118,105,114,117,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174093, index: (-1), priority: 15}, Field1: 0, Field2: [[65,108,99,111,104,111,108,105,115,109], [65,110,105,109,101,32,66,97,116,116,108,101], [68,101,118,101,108,111,112,101,100], [83,97,99,114,105,102,105,99,105,97,108,32,77,97,105,100,101,110], [73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110]], Field3: [[65,108,99,111,104,111,108,105,115,109]]}, true, false); -F.line = 2325; -registerSynergy_1442840657({Field0: {name: [118,105,114,117,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493174093, index: (-1), priority: 15}, Field1: 0, Field2: [[65,108,99,111,104,111,108,105,115,109], [76,105,110,101,98,97,99,107,101,114,115], [78,105,103,104,116,114,105,100,101,114], [68,101,115,101,103,114,101,103,97,116,105,111,110,32,97,110,100,32,73,110,116,101,103,114,97,116,105,111,110], [72,111,108,121]], Field3: [[65,108,99,111,104,111,108,105,115,109]]}, true, false); -F.line = 2327; -registerSynergy_1442840657({Field0: {name: [77,97,115,111,99,104,105,115,116,32,69,109,112,114,101,115,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [78,79,78,69], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173097, index: (-1), priority: 15}, Field1: 0, Field2: [[69,109,112,114,101,115,115], [83,116,101,112,32,111,110,32,109,101]], Field3: []}, true, true); -F.line = 2328; -registerSynergy_1442840657({Field0: {name: [77,97,115,111,99,104,105,115,116,32,69,109,112,114,101,115,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [78,79,78,69], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1493173120, index: (-1), priority: 15}, Field1: 0, Field2: [[69,109,112,114,101,115,115], [83,116,101,112,32,111,110,32,109,101]], Field3: []}, true, true); -framePtr = F.prev; -var F = {procname: "module powers", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module store", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/store.nim", line: 0}; -framePtr = F; -F.line = 5; -F.filename = "store.nim"; +function HEX3Aanonymous_1862271161(board_1862271162, p_1862271163) { + var result_1862271164 = [[]]; + + var _ = addIfTake_1543503979(result_1862271164, 0, board_1862271162, p_1862271163, p_1862271163.tile, shooterFactory_1560281208(1, 2), false, true); + var _ = addIfTake_1543503979(result_1862271164, 0, board_1862271162, p_1862271163, p_1862271163.tile, shooterFactory_1560281208((-1), 2), false, true); + var _ = addIfTake_1543503979(result_1862271164, 0, board_1862271162, p_1862271163, p_1862271163.tile, shooterFactory_1560281208(2, 1), false, true); + var _ = addIfTake_1543503979(result_1862271164, 0, board_1862271162, p_1862271163, p_1862271163.tile, shooterFactory_1560281208(2, (-1)), false, true); + var _ = addIfTake_1543503979(result_1862271164, 0, board_1862271162, p_1862271163, p_1862271163.tile, shooterFactory_1560281208(1, (-2)), false, true); + var _ = addIfTake_1543503979(result_1862271164, 0, board_1862271162, p_1862271163, p_1862271163.tile, shooterFactory_1560281208((-1), (-2)), false, true); + var _ = addIfTake_1543503979(result_1862271164, 0, board_1862271162, p_1862271163, p_1862271163.tile, shooterFactory_1560281208((-2), 1), false, true); + var _ = addIfTake_1543503979(result_1862271164, 0, board_1862271162, p_1862271163, p_1862271163.tile, shooterFactory_1560281208((-2), (-1)), false, true); + + return result_1862271164[0]; + +} + +function HEX3Aanonymous_1845494633(side_1845494634, viewSide_1845494635, b_1845494636, s_1845494637) { + buff_1845493778(1, side_1845494634, b_1845494636, s_1845494637, [], [HEX3Aanonymous_1862271161], [], false, [], null, null, null, false); + + +} + +function HEX3Aanonymous_1862271166(board_1862271167, p_1862271168) { + var result_1862271169 = [[]]; + + var _ = addIfTake_1543503979(result_1862271169, 0, board_1862271167, p_1862271168, p_1862271168.tile, shooterFactory_1560281208(1, 3), false, true); + var _ = addIfTake_1543503979(result_1862271169, 0, board_1862271167, p_1862271168, p_1862271168.tile, shooterFactory_1560281208((-1), 3), false, true); + var _ = addIfTake_1543503979(result_1862271169, 0, board_1862271167, p_1862271168, p_1862271168.tile, shooterFactory_1560281208(3, 1), false, true); + var _ = addIfTake_1543503979(result_1862271169, 0, board_1862271167, p_1862271168, p_1862271168.tile, shooterFactory_1560281208(3, (-1)), false, true); + var _ = addIfTake_1543503979(result_1862271169, 0, board_1862271167, p_1862271168, p_1862271168.tile, shooterFactory_1560281208(1, (-3)), false, true); + var _ = addIfTake_1543503979(result_1862271169, 0, board_1862271167, p_1862271168, p_1862271168.tile, shooterFactory_1560281208((-1), (-3)), false, true); + var _ = addIfTake_1543503979(result_1862271169, 0, board_1862271167, p_1862271168, p_1862271168.tile, shooterFactory_1560281208((-3), 1), false, true); + var _ = addIfTake_1543503979(result_1862271169, 0, board_1862271167, p_1862271168, p_1862271168.tile, shooterFactory_1560281208((-3), (-1)), false, true); + + return result_1862271169[0]; + +} + +function HEX3Aanonymous_1845494656(side_1845494657, viewSide_1845494658, b_1845494659, s_1845494660) { + buff_1845493778(1, side_1845494657, b_1845494659, s_1845494660, [], [HEX3Aanonymous_1862271166], [], false, [], null, null, null, false); + + +} +registerPower_1728054076(empress_1845494073); +registerPower_1728054076(altEmpress_1845494087); +registerPower_1728054076(mysteriousSwordsmanLeft_1845494270); +registerPower_1728054076(mysteriousSwordsmanRight_1845494322); +registerPower_1728054076(developed_1845494332); +registerPower_1728054076(stepOnMe_1845494358); +registerPower_1728054076(illegalFormationBL_1845494391); +registerPower_1728054076(illegalFormationBR_1845494402); +registerPower_1728054076(illegalFormationRL_1845494369); +registerPower_1728054076(illegalFormationRR_1845494380); +registerPower_1728054076(putInTheWork_1845494424); +registerPower_1728054076(wanderingRoninLeft_1845494472); +registerPower_1728054076(wanderingRoninRight_1845494520); +registerPower_1728054076(archBishops_1845494576); +registerPower_1728054076(werewolves_1845494562); +registerPower_1728054076(giraffe_1845494590); +registerPower_1728054076(sacrifice_1845494706); +registerPower_1728054076(calvary_1845494605); +registerPower_1728054076(backStep_1845494721); +registerPower_1728054076(headStart_1845494736); +registerPower_1728054076(queenTrade_1845494748); +registerPower_1728054076(lesbianPride_1845494798); +registerPower_1728054076(knightChargePower_1845494943); +registerPower_1728054076(nightRider_1845495054); +registerPower_1728054076(desegregation_1845495068); +registerPower_1728054076(concubine_1845495130); +registerPower_1728054076(reinforcements_1845495155); +registerPower_1728054076(shotgunKing_1845495183); +registerPower_1728054076(coward_1845495234); +registerPower_1728054076(lanceLeft_1845495376); +registerPower_1728054076(lanceRight_1845495428); +registerPower_1728054076(drunkKnights_1845495558); +registerPower_1728054076(alcoholism_1845495568); +registerPower_1728054076(slumdogMillionaire_1845495938); +registerPower_1728054076(stupidPower_1845495960); +registerPower_1728054076(conversion_1845495996); +registerPower_1728054076(americanDream_1845496032); +registerPower_1728054076(sleeperAgent_1845496085); +registerPower_1728054076(capitalismPower_1845496220); +registerPower_1728054076(skyGlass_1845499615); +registerPower_1728054076(zeroGlass_1845499627); +registerSynergy_1728053329({Field0: {name: [71,108,97,115,115,58,32,66,97,110,107,114,117,112,116,99,121], technicalName: [], synergy: false, tier: 2, rarity: 6, description: makeNimstrLit("On your turn, if you have only 0 dollars, instead of moving you can choose 3 pieces to each cast Bankruptcy on \x0A any non-king tiles. Any piece on these tiles will die if the cast completes. Bankruptcy cannot be cast turn one. Glass powers take one turn to start casting, one turn waiting to draw glass power, and one turn when the cast completes."), icon: [122,101,114,111,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845499731, index: (-1), priority: 0}, Field1: 8, Field2: [[71,108,97,115,115,58,32,90,101,114,111], [67,97,112,105,116,97,108,105,115,109]], Field3: [[71,108,97,115,115,58,32,90,101,114,111]]}, false, false); +registerPower_1728054076(steelGlass_1845499639); +registerPower_1728054076(reverieGlass_1845499973); +registerPower_1728054076(daybreakGlass_1845500019); +registerSynergy_1728053329({Field0: {name: [65,110,105,109,101,32,66,97,116,116,108,101], technicalName: [], synergy: false, tier: 2, rarity: 0, description: makeNimstrLit("Your board is imbued with the power of anime. You feel a odd sense of regret. Or is it guilt?"), icon: [103,111,108,100,103,101,110,101,114,97,108,46,115,118,103], rotatable: true, noColor: true, onStart: HEX3Aanonymous_1845494606, index: (-1), priority: 5}, Field1: 32, Field2: [[77,121,115,116,101,114,105,111,117,115,32,83,119,111,114,100,115,109,97,110], [87,97,110,100,101,114,105,110,103,32,82,111,110,105,110]], Field3: [[77,121,115,116,101,114,105,111,117,115,32,83,119,111,114,100,115,109,97,110], [87,97,110,100,101,114,105,110,103,32,82,111,110,105,110], [77,121,115,116,101,114,105,111,117,115,32,83,119,111,114,100,115,109,97,110], [87,97,110,100,101,114,105,110,103,32,82,111,110,105,110], [65,110,105,109,101,32,66,97,116,116,108,101]]}, false, false); +registerSynergy_1728053329({Field0: {name: [75,110,105,103,104,116,39,115,32,67,104,97,114,103,101], technicalName: [], synergy: false, tier: 2, rarity: 4, description: [67,72,65,82,71,69,33,32,89,111,117,114,32,107,110,105,103,104,116,115,32,115,116,97,114,116,32,51,32,116,105,108,101,115,32,97,104,101,97,100,46], icon: [107,110,105,103,104,116,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494922, index: (-1), priority: 20}, Field1: 16, Field2: [[67,97,108,118,97,114,121]], Field3: []}, false, false); +registerSynergy_1728053329({Field0: {name: [67,114,105,109,105,110,97,108,32,70,111,114,109,97,116,105,111,110], technicalName: [], synergy: false, tier: 0, rarity: 0, description: makeNimstrLit("I guess the rules didn\'t get to you. Your pawns above both knights and both rooks swap places with those pieces."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494980, index: (-1), priority: 20}, Field1: 12, Field2: [[73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110]], Field3: [[73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110]]}, false, false); +registerSynergy_1728053329({Field0: {name: [76,105,110,101,98,97,99,107,101,114,115], technicalName: [], synergy: false, tier: 2, rarity: 0, description: makeNimstrLit("Your pawns learn to fight like men. They can take one spaces ahead too."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495007, index: (-1), priority: 15}, Field1: 0, Field2: [[80,117,116,32,105,110,32,116,104,101,32,119,111,114,107,33], [72,101,97,100,115,116,97,114,116]], Field3: []}, false, false); +registerSynergy_1728053329({Field0: {name: [72,111,108,121,32,66,105,115,104,111,112,115], technicalName: [], synergy: false, tier: 2, rarity: 8, description: [71,111,100,32,104,97,115,32,98,108,101,115,115,101,100,32,121,111,117,114,32,98,105,115,104,111,112,115,46,32], icon: [99,114,111,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845495069, index: (-1), priority: 15}, Field1: 8, Field2: [[65,114,99,104,98,105,115,104,111,112,115], [72,111,108,121]], Field3: [[65,114,99,104,98,105,115,104,111,112,115]]}, false, false); +registerSynergy_1728053329({Field0: {name: [66,111,117,110,116,121,32,72,117,110,116,101,114], technicalName: [], synergy: false, tier: 0, rarity: 0, description: makeNimstrLit("It\'s hard to make a living these days. If your king takes 3 pieces, you automatically win."), icon: [107,105,110,103,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495195, index: (-1), priority: 15}, Field1: 16, Field2: [[83,104,111,116,103,117,110,32,75,105,110,103]], Field3: []}, false, false); +registerSynergy_1728053329({Field0: {name: [71,111,100,39,115,32,68,105,115,99,105,112,108,101], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("Your bishop has now seen god. When it takes, it has a 30% chance to convert it to your color. \x0A When this happens, your bishop swaps places with it instead of taking it."), icon: [98,105,115,104,111,112,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495997, index: (-1), priority: 15}, Field1: 16, Field2: [[67,111,110,118,101,114,115,105,111,110], [72,111,108,121]], Field3: [[67,111,110,118,101,114,115,105,111,110]]}, false, false); +registerSynergy_1728053329({Field0: {name: [68,105,118,105,110,101,32,87,105,110,100], technicalName: [], synergy: false, tier: 1, rarity: 8, description: makeNimstrLit("The divine wind briskly brushes your back. Your lances will take forward while sky is casting."), icon: [108,97,110,99,101,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845499658, index: (-1), priority: 15}, Field1: 12, Field2: [[71,108,97,115,115,58,32,83,107,121], [75,97,109,105,107,97,122,101]], Field3: []}, false, false); +registerSynergy_1728053329({Field0: {name: [83,117,112,101,114,32,80,97,119,110], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [89,111,117,32,104,97,118,101,32,105,110,115,97,110,101,32,112,97,119,110,115,46,32,80,108,101,97,115,101,32,100,111,110,39,116,32,115,97,99,114,105,102,105,99,101,32,116,104,101,109,46], icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494749, index: (-1), priority: 15}, Field1: 0, Field2: [[66,97,99,107,115,116,101,112], [72,101,97,100,115,116,97,114,116]], Field3: [[66,97,99,107,115,116,101,112], [72,101,97,100,115,116,97,114,116]]}, true, false); +registerSynergy_1728053329({Field0: {name: [81,117,101,101,110,39,115,32,87,114,97,116,104], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [87,104,121,32,109,117,115,116,32,115,104,101,32,100,105,101,63], icon: [113,117,101,101,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494799, index: (-1), priority: 1}, Field1: 0, Field2: [[76,101,115,98,105,97,110,32,80,114,105,100,101], [81,117,101,101,110,32,84,114,97,100,101]], Field3: [[76,101,115,98,105,97,110,32,80,114,105,100,101]]}, true, false); +registerSynergy_1728053329({Field0: {name: [81,117,101,101,110,39,115,32,87,114,97,116,104], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [87,104,121,32,109,117,115,116,32,115,104,101,32,100,105,101,63], icon: [113,117,101,101,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494799, index: (-1), priority: 1}, Field1: 0, Field2: [[76,101,115,98,105,97,110,32,80,114,105,100,101], [83,97,99,114,105,102,105,99,105,97,108,32,77,97,105,100,101,110]], Field3: [[76,101,115,98,105,97,110,32,80,114,105,100,101], [83,97,99,114,105,102,105,99,105,97,108,32,77,97,105,100,101,110]]}, true, false); +registerSynergy_1728053329({Field0: {name: [66,97,116,116,108,101,32,70,111,114,109,97,116,105,111,110,33], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [82,101,97,108,32,69,115,116,97,116,101,32,105,115,32,103,111,105,110,103,32,99,114,97,122,121,32,119,105,116,104,32,104,111,119,32,100,101,118,101,108,111,112,101,100,32,116,104,101,32,98,111,97,114,100,32,105,115,46], icon: [107,110,105,103,104,116,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494957, index: (-1), priority: 20}, Field1: 0, Field2: [[75,110,105,103,104,116,39,115,32,67,104,97,114,103,101], [68,101,118,101,108,111,112,101,100]], Field3: [[68,101,118,101,108,111,112,101,100]]}, true, false); +registerSynergy_1728053329({Field0: {name: [70,97,108,108,101,110,32,81,117,101,101,110,39,115,32,87,114,97,116,104], technicalName: [], synergy: false, tier: 3, rarity: 0, description: makeNimstrLit("Why must she die? They will suffer. They will suffer. They will suffer. \x0A They will suffer. They will suffer. They will suffer. They will suffer. \x0A They will suffer. They will suffer. They will suffer. They will suffer.\x0A They will suffer. They will suffer. They will suffer. They will suffer."), icon: [113,117,101,101,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494831, index: (-1), priority: 0}, Field1: 0, Field2: [[76,101,115,98,105,97,110,32,80,114,105,100,101], [81,117,101,101,110,32,84,114,97,100,101], [83,97,99,114,105,102,105,99,105,97,108,32,77,97,105,100,101,110]], Field3: [[76,101,115,98,105,97,110,32,80,114,105,100,101], [83,97,99,114,105,102,105,99,105,97,108,32,77,97,105,100,101,110]]}, true, false); +registerSynergy_1728053329({Field0: {name: [66,97,110,100,97,105,100], technicalName: [], synergy: false, tier: 3, rarity: 0, description: makeNimstrLit("It turns out that calvary plus giraffe is an automatic checkmate for white, \x0A so I\'m making the giraffes start one tile back. Sorry."), icon: [103,105,114,97,102,102,101,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495818, index: (-1), priority: 26}, Field1: 0, Field2: [[75,110,105,103,104,116,39,115,32,67,104,97,114,103,101], [71,105,114,97,102,102,101]], Field3: []}, true, false); +registerSynergy_1728053329({Field0: {name: [66,111,117,110,116,121,32,72,117,110,116,101,114,32,78,101,114,102], technicalName: [], synergy: false, tier: 0, rarity: 0, description: makeNimstrLit("Yeah, 3 pieces is way too easy for our lesbian queens, so now it\'s 7 pieces. You got this!"), icon: [107,105,110,103,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495864, index: (-1), priority: 15}, Field1: 0, Field2: [[76,101,115,98,105,97,110,32,80,114,105,100,101], [66,111,117,110,116,121,32,72,117,110,116,101,114]], Field3: [[66,111,117,110,116,121,32,72,117,110,116,101,114]]}, true, false); +registerSynergy_1728053329({Field0: {name: [110,105,103,104,101,116,114,105,101,100,100,101,114], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [110,105,103,104,101,116,114,105,101,100,100,101,114,46,63], icon: [110,105,103,104,116,114,105,100,101,114,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495569, index: (-1), priority: 17}, Field1: 0, Field2: [[68,114,117,110,107,32,75,110,105,103,104,116,115], [78,105,103,104,116,114,105,100,101,114]], Field3: []}, true, false); +registerSynergy_1728053329({Field0: {name: [110,105,103,104,101,116,114,105,101,100,100,101,114], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [110,105,103,104,101,116,114,105,101,100,100,101,114,46,63], icon: [110,105,103,104,116,114,105,100,101,114,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495569, index: (-1), priority: 17}, Field1: 0, Field2: [[65,108,99,111,104,111,108,105,115,109], [78,105,103,104,116,114,105,100,101,114]], Field3: []}, true, false); +registerSynergy_1728053329({Field0: {name: [67,108,97,114,105,116,121], technicalName: [], synergy: false, tier: 3, rarity: 0, description: makeNimstrLit("You now see things in a whole new light. \x0A It\'s not regret as much as self-disappointment."), icon: [107,105,110,103,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845500085, index: (-1), priority: 15}, Field1: 0, Field2: [[71,108,97,115,115,58,32,68,97,121,98,114,101,97,107], [67,111,110,99,117,98,105,110,101]], Field3: []}, true, false); +registerSynergy_1728053329({Field0: {name: [77,97,115,116,101,114,32,71,108,97,115,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [89,111,117,32,104,97,118,101,32,103,111,111,100,32,116,97,115,116,101,46,32,65,108,108,32,103,108,97,115,115,101,115,32,99,97,110,32,98,101,32,99,97,115,116,32,111,110,101,32,109,111,114,101,32,116,105,109,101,46], icon: [115,107,121,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845500104, index: (-1), priority: 30}, Field1: 0, Field2: [[71,108,97,115,115,58,32,83,107,121], [71,108,97,115,115,58,32,82,101,118,101,114,105,101], [71,108,97,115,115,58,32,90,101,114,111], [71,108,97,115,115,58,32,83,116,101,101,108], [71,108,97,115,115,58,32,68,97,121,98,114,101,97,107]], Field3: []}, true, false); +registerSynergy_1728053329({Field0: {name: [77,97,115,116,101,114,32,71,108,97,115,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [89,111,117,32,104,97,118,101,32,103,111,111,100,32,116,97,115,116,101,46,32,65,108,108,32,103,108,97,115,115,101,115,32,99,97,110,32,98,101,32,99,97,115,116,32,111,110,101,32,109,111,114,101,32,116,105,109,101,46], icon: [115,107,121,103,108,97,115,115,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845500104, index: (-1), priority: 30}, Field1: 0, Field2: [[71,108,97,115,115,58,32,83,107,121], [71,108,97,115,115,58,32,82,101,118,101,114,105,101], [71,108,97,115,115,58,32,66,97,110,107,114,117,112,116,99,121], [71,108,97,115,115,58,32,83,116,101,101,108], [71,108,97,115,115,58,32,68,97,121,98,114,101,97,107]], Field3: []}, true, false); +registerSynergy_1728053329({Field0: {name: [66,111,117,110,116,121], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [80,105,101,99,101,115,32,87,97,110,116,101,100,58,32,68,101,97,100,32,111,114,32,65,108,105,118,101,46,32,66,111,117,110,116,121,58,32,54,32,100,111,108,108,97,114,115,46], icon: [107,105,110,103,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845496221, index: (-1), priority: 15}, Field1: 0, Field2: [[66,111,117,110,116,121,32,72,117,110,116,101,114], [67,97,112,105,116,97,108,105,115,109]], Field3: []}, true, false); +registerSynergy_1728053329({Field0: {name: [66,111,117,110,116,121], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [80,105,101,99,101,115,32,87,97,110,116,101,100,58,32,68,101,97,100,32,111,114,32,65,108,105,118,101,46,32,66,111,117,110,116,121,58,32,54,32,100,111,108,108,97,114,115,46], icon: [107,105,110,103,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845496221, index: (-1), priority: 15}, Field1: 0, Field2: [[66,111,117,110,116,121,32,72,117,110,116,101,114,32,78,101,114,102], [67,97,112,105,116,97,108,105,115,109]], Field3: []}, true, false); +registerSynergy_1728053329({Field0: {name: [67,97,112,105,116,97,108,105,115,109,32,73,73], technicalName: [67,97,112,105,116,97,108,105,115,109,32,73,73,58,32,77,111,118,101,32,85,112], synergy: false, tier: 0, rarity: 0, description: makeNimstrLit("Money is pretty neat right? You can spend 8 dollars to move a piece one tile forward. It cannot take with this action."), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845496349, index: (-1), priority: 15}, Field1: 24, Field2: [[67,97,112,105,116,97,108,105,115,109]], Field3: []}, false, false); +registerSynergy_1728053329({Field0: {name: [67,97,112,105,116,97,108,105,115,109,32,73,73], technicalName: [67,97,112,105,116,97,108,105,115,109,32,73,73,58,32,77,111,118,101,32,66,97,99,107], synergy: false, tier: 0, rarity: 0, description: makeNimstrLit("Money is pretty neat right? You can spend 7 dollars to move a piece one tile backwards. It cannot take with this action."), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845496392, index: (-1), priority: 15}, Field1: 24, Field2: [[67,97,112,105,116,97,108,105,115,109]], Field3: []}, false, false); +registerSynergy_1728053329({Field0: {name: [67,97,112,105,116,97,108,105,115,109,32,73,73], technicalName: [67,97,112,105,116,97,108,105,115,109,32,73,73,58,32,73,110,99,111,109,101], synergy: false, tier: 0, rarity: 0, description: [72,101,114,101,44,32,104,97,118,101,32,49,48,32,100,111,108,108,97,114,115], icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845496419, index: (-1), priority: 35}, Field1: 24, Field2: [[67,97,112,105,116,97,108,105,115,109]], Field3: []}, false, false); +registerSynergy_1728053329({Field0: {name: [67,97,112,105,116,97,108,105,115,109,32,73,73,73], technicalName: [67,97,112,105,116,97,108,105,115,109,32,73,73,73,58,32,85,112,103,114,97,100,101,32,75,110,105,103,104,116], synergy: false, tier: 1, rarity: 0, description: makeNimstrLit("Money can be used in exchange for goods and services. You can spend 8 dollars to give a piece the movement of a knight.\x0A This upgrade is 30 dollars more expensive for the king. The upgraded piece still cannot take like a knight."), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845496426, index: (-1), priority: 15}, Field1: 24, Field2: [[67,97,112,105,116,97,108,105,115,109]], Field3: []}, false, false); +registerSynergy_1728053329({Field0: {name: [67,97,112,105,116,97,108,105,115,109,32,73,73,73], technicalName: [67,97,112,105,116,97,108,105,115,109,32,73,73,73,58,32,85,112,103,114,97,100,101,32,71,105,114,97,102,102,101], synergy: false, tier: 1, rarity: 0, description: makeNimstrLit("Money can be used in exchange for goods and services. You can spend 8 dollars to give a piece the movement of a giraffe. \x0A This upgrade is 30 dollars more expensive for the king. The upgraded piece still cannot take like a giraffe."), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845496443, index: (-1), priority: 15}, Field1: 24, Field2: [[67,97,112,105,116,97,108,105,115,109]], Field3: []}, false, false); +registerSynergy_1728053329({Field0: {name: [67,97,112,105,116,97,108,105,115,109,32,73,86], technicalName: [67,97,112,105,116,97,108,105,115,109,32,73,86,58,32,34,73,110,102,108,97,116,105,111,110,34], synergy: false, tier: 1, rarity: 0, description: makeNimstrLit("More money equals more money! You get 3 more dollars for taking a piece. "), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845499387, index: (-1), priority: 15}, Field1: 24, Field2: [[67,97,112,105,116,97,108,105,115,109]], Field3: []}, false, false); +registerSynergy_1728053329({Field0: {name: [67,97,112,105,116,97,108,105,115,109,32,73,86], technicalName: [67,97,112,105,116,97,108,105,115,109,32,73,86,58,32,72,97,110,100,111,117,116,115], synergy: false, tier: 1, rarity: 0, description: makeNimstrLit("What if everyone had money? Then everyone would have money! You get 1 dollar for taking a piece."), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845499408, index: (-1), priority: 15}, Field1: 24, Field2: [[67,97,112,105,116,97,108,105,115,109]], Field3: []}, false, false); +registerSynergy_1728053329({Field0: {name: [67,97,112,105,116,97,108,105,115,109,32,86], technicalName: [67,97,112,105,116,97,108,105,115,109,32,86,58,32,83,101,108,108], synergy: false, tier: 1, rarity: 0, description: makeNimstrLit("Who needs these pieces? AFUERA! You can sell a piece for 4 dollars. Each subsequent piece gives one dollar less. "), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845499344, index: (-1), priority: 15}, Field1: 24, Field2: [[67,97,112,105,116,97,108,105,115,109]], Field3: []}, false, false); +registerSynergy_1728053329({Field0: {name: [67,97,112,105,116,97,108,105,115,109,32,86], technicalName: [67,97,112,105,116,97,108,105,115,109,32,86,58,32,84,97,120,101,115], synergy: false, tier: 2, rarity: 0, description: makeNimstrLit("Nothing in the world is certain except for Taxes and one other thing. \x0A You gain 6 more dollars for taking a piece, but you lose 15% every turn."), icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845499376, index: (-1), priority: 15}, Field1: 24, Field2: [[67,97,112,105,116,97,108,105,115,109]], Field3: []}, false, false); +registerSynergy_1728053329({Field0: {name: [67,97,112,105,116,97,108,105,115,109,32,77,77], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [84,79,32,84,72,69,32,77,79,79,78,33,33,33,33], icon: [117,115,102,108,97,103,46,115,118,103], rotatable: false, noColor: true, onStart: HEX3Aanonymous_1845499452, index: (-1), priority: 15}, Field1: 16, Field2: [[67,97,112,105,116,97,108,105,115,109], [67,97,112,105,116,97,108,105,115,109,32,73,73], [67,97,112,105,116,97,108,105,115,109,32,73,73,73], [67,97,112,105,116,97,108,105,115,109,32,73,86], [67,97,112,105,116,97,108,105,115,109,32,86]], Field3: []}, true, false); +registerSynergy_1728053329({Field0: {name: [83,108,117,109,100,111,103,32,66,105,108,108,105,111,110,97,105,114,101], technicalName: [], synergy: false, tier: 0, rarity: 0, description: makeNimstrLit("Have you seen the movie Slumdog Millionaire? It\'s kind of like that but more. \x0A Your pawns have a 2% chance of promoting whenever they move. When this happens, you get 10 dollars."), icon: [112,97,119,110,46,115,118,103], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845499430, index: (-1), priority: 15}, Field1: 8, Field2: [[67,97,112,105,116,97,108,105,115,109], [83,108,117,109,100,111,103,32,77,105,108,108,105,111,110,97,105,114,101]], Field3: [[83,108,117,109,100,111,103,32,77,105,108,108,105,111,110,97,105,114,101]]}, true, false); +registerSynergy_1728053329({Field0: {name: [118,105,114,117,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495629, index: (-1), priority: 15}, Field1: 0, Field2: [[65,108,99,111,104,111,108,105,115,109], [75,97,109,105,107,97,122,101], [72,101,97,100,115,116,97,114,116], [77,121,115,116,101,114,105,111,117,115,32,83,119,111,114,100,115,109,97,110]], Field3: [[65,108,99,111,104,111,108,105,115,109]]}, true, false); +registerSynergy_1728053329({Field0: {name: [118,105,114,117,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495629, index: (-1), priority: 15}, Field1: 0, Field2: [[65,108,99,111,104,111,108,105,115,109], [66,97,99,107,115,116,101,112], [75,110,105,103,104,116,39,115,32,67,104,97,114,103,101], [69,109,112,114,101,115,115]], Field3: [[65,108,99,111,104,111,108,105,115,109]]}, true, false); +registerSynergy_1728053329({Field0: {name: [118,105,114,117,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495629, index: (-1), priority: 15}, Field1: 0, Field2: [[65,108,99,111,104,111,108,105,115,109], [87,97,110,100,101,114,105,110,103,32,82,111,110,105,110], [83,117,112,101,114,32,80,97,119,110], [69,109,112,114,101,115,115]], Field3: [[65,108,99,111,104,111,108,105,115,109]]}, true, false); +registerSynergy_1728053329({Field0: {name: [118,105,114,117,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495629, index: (-1), priority: 15}, Field1: 0, Field2: [[65,108,99,111,104,111,108,105,115,109], [83,116,101,112,32,111,110,32,109,101], [67,111,119,97,114,100], [83,104,111,116,103,117,110,32,75,105,110,103]], Field3: [[65,108,99,111,104,111,108,105,115,109]]}, true, false); +registerSynergy_1728053329({Field0: {name: [118,105,114,117,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495629, index: (-1), priority: 15}, Field1: 0, Field2: [[65,108,99,111,104,111,108,105,115,109], [82,101,105,110,102,111,114,99,101,109,101,110,116,115], [69,109,112,114,101,115,115], [71,105,114,97,102,102,101], [87,101,114,101,119,111,108,118,101,115]], Field3: [[65,108,99,111,104,111,108,105,115,109]]}, true, false); +registerSynergy_1728053329({Field0: {name: [118,105,114,117,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495629, index: (-1), priority: 15}, Field1: 0, Field2: [[65,108,99,111,104,111,108,105,115,109], [65,110,105,109,101,32,66,97,116,116,108,101], [68,101,118,101,108,111,112,101,100], [83,97,99,114,105,102,105,99,105,97,108,32,77,97,105,100,101,110], [73,108,108,101,103,97,108,32,70,111,114,109,97,116,105,111,110]], Field3: [[65,108,99,111,104,111,108,105,115,109]]}, true, false); +registerSynergy_1728053329({Field0: {name: [118,105,114,117,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46,32,84,104,101,121,39,114,101,32,100,121,105,110,103,46], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845495629, index: (-1), priority: 15}, Field1: 0, Field2: [[65,108,99,111,104,111,108,105,115,109], [76,105,110,101,98,97,99,107,101,114,115], [78,105,103,104,116,114,105,100,101,114], [68,101,115,101,103,114,101,103,97,116,105,111,110,32,97,110,100,32,73,110,116,101,103,114,97,116,105,111,110], [72,111,108,121]], Field3: [[65,108,99,111,104,111,108,105,115,109]]}, true, false); +registerSynergy_1728053329({Field0: {name: [77,97,115,111,99,104,105,115,116,32,69,109,112,114,101,115,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [78,79,78,69], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494633, index: (-1), priority: 15}, Field1: 0, Field2: [[69,109,112,114,101,115,115], [83,116,101,112,32,111,110,32,109,101]], Field3: []}, true, true); +registerSynergy_1728053329({Field0: {name: [77,97,115,111,99,104,105,115,116,32,69,109,112,114,101,115,115], technicalName: [], synergy: false, tier: 3, rarity: 0, description: [78,79,78,69], icon: [], rotatable: false, noColor: false, onStart: HEX3Aanonymous_1845494656, index: (-1), priority: 15}, Field1: 0, Field2: [[69,109,112,114,101,115,115], [83,116,101,112,32,111,110,32,109,101]], Field3: []}, true, true); function incrementWins(item) { let last = JSON.parse(localStorage.getItem(item)); last.wins += 1; @@ -13074,3365 +8752,2173 @@ F.filename = "store.nim"; localStorage.setItem(item, JSON.stringify(last)); } -framePtr = F.prev; -var F = {procname: "module store", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/store.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module glass", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extrapower/glass.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module glass", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/extrapower/glass.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module editdistance", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/editdistance.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -var F = {procname: "module editdistance", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/std/editdistance.nim", line: 0}; -framePtr = F; -framePtr = F.prev; -function none_520093864() { - var result_520093871 = ({val: 0, has: false}); +function none_553648296() { + var result_553648303 = ({val: 0, has: false}); - var F = {procname: "none.none", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/options.nim", line: 0}; - framePtr = F; - framePtr = F.prev; - - return result_520093871; + return result_553648303; } -function newSeq_1442840931(len_1442840933) { - var result_1442840934 = []; - - var F = {procname: "newSeq.newSeq", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 633; - F.filename = "system.nim"; - result_1442840934 = new Array(len_1442840933); for (var i = 0 ; i < len_1442840933 ; ++i) { result_1442840934[i] = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); } framePtr = F.prev; +function newSeq_1728053603(len_1728053605) { + var result_1728053606 = []; - return result_1442840934; + result_1728053606 = new Array(len_1728053605); for (var i = 0 ; i < len_1728053605 ; ++i) { result_1728053606[i] = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); } + return result_1728053606; } -function HEX3DHEX3D_1442841264(x_1442841266, y_1442841267) { - var result_1442841268 = false; +function HEX3DHEX3D_1728053936(x_1728053938, y_1728053939) { + var result_1728053940 = false; - var F = {procname: "==.==", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; BeforeRet: { - if (!(eqStrings(x_1442841266.name, y_1442841267.name))) { - F.line = 1714; - F.filename = "system.nim"; - result_1442841268 = false; + if (!(eqStrings(x_1728053938.name, y_1728053939.name))) { + result_1728053940 = false; break BeforeRet; } - if (!(eqStrings(x_1442841266.technicalName, y_1442841267.technicalName))) { - F.line = 1714; - result_1442841268 = false; + if (!(eqStrings(x_1728053938.technicalName, y_1728053939.technicalName))) { + result_1728053940 = false; break BeforeRet; } - if (!((x_1442841266.synergy == y_1442841267.synergy))) { - F.line = 1714; - result_1442841268 = false; + if (!((x_1728053938.synergy == y_1728053939.synergy))) { + result_1728053940 = false; break BeforeRet; } - if (!((x_1442841266.tier == y_1442841267.tier))) { - F.line = 1714; - result_1442841268 = false; + if (!((x_1728053938.tier == y_1728053939.tier))) { + result_1728053940 = false; break BeforeRet; } - if (!((x_1442841266.rarity == y_1442841267.rarity))) { - F.line = 1714; - result_1442841268 = false; + if (!((x_1728053938.rarity == y_1728053939.rarity))) { + result_1728053940 = false; break BeforeRet; } - if (!(eqStrings(x_1442841266.description, y_1442841267.description))) { - F.line = 1714; - result_1442841268 = false; + if (!(eqStrings(x_1728053938.description, y_1728053939.description))) { + result_1728053940 = false; break BeforeRet; } - if (!(eqStrings(x_1442841266.icon, y_1442841267.icon))) { - F.line = 1714; - result_1442841268 = false; + if (!(eqStrings(x_1728053938.icon, y_1728053939.icon))) { + result_1728053940 = false; break BeforeRet; } - if (!((x_1442841266.rotatable == y_1442841267.rotatable))) { - F.line = 1714; - result_1442841268 = false; + if (!((x_1728053938.rotatable == y_1728053939.rotatable))) { + result_1728053940 = false; break BeforeRet; } - if (!((x_1442841266.noColor == y_1442841267.noColor))) { - F.line = 1714; - result_1442841268 = false; + if (!((x_1728053938.noColor == y_1728053939.noColor))) { + result_1728053940 = false; break BeforeRet; } - if (!((x_1442841266.onStart == y_1442841267.onStart))) { - F.line = 1714; - result_1442841268 = false; + if (!((x_1728053938.onStart == y_1728053939.onStart))) { + result_1728053940 = false; break BeforeRet; } - if (!((x_1442841266.index == y_1442841267.index))) { - F.line = 1714; - result_1442841268 = false; + if (!((x_1728053938.index == y_1728053939.index))) { + result_1728053940 = false; break BeforeRet; } - if (!((x_1442841266.priority == y_1442841267.priority))) { - F.line = 1714; - result_1442841268 = false; + if (!((x_1728053938.priority == y_1728053939.priority))) { + result_1728053940 = false; break BeforeRet; } - F.line = 1715; - result_1442841268 = true; + result_1728053940 = true; break BeforeRet; }; - framePtr = F.prev; - return result_1442841268; + return result_1728053940; } -function find_1442841244(a_1442841247, item_1442841248) { - var result_1442841249 = 0; +function find_1728053916(a_1728053919, item_1728053920) { + var result_1728053921 = 0; - var F = {procname: "find.find", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 1671; - F.filename = "system.nim"; - result_1442841249 = 0; + result_1728053921 = 0; Label1: { - F.line = 1672; - var i_1442841263 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); - F.line = 18; - F.filename = "iterators.nim"; - var i_520100268 = 0; + var i_1728053935 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); + var i_553654700 = 0; Label2: { - F.line = 19; Label3: while (true) { - if (!(i_520100268 < (a_1442841247).length)) break Label3; - F.line = 1672; - F.filename = "system.nim"; - i_1442841263 = a_1442841247[chckIndx(i_520100268, 0, (a_1442841247).length - 1)]; - if (HEX3DHEX3D_1442841264(i_1442841263, item_1442841248)) { - F.line = 1673; + if (!(i_553654700 < (a_1728053919).length)) break Label3; + i_1728053935 = a_1728053919[chckIndx(i_553654700, 0, (a_1728053919).length - 1)]; + if (HEX3DHEX3D_1728053936(i_1728053935, item_1728053920)) { break BeforeRet; } - F.line = 1674; - result_1442841249 = addInt(result_1442841249, 1); - F.line = 13; - F.filename = "iterators.nim"; - i_520100268 += 1; + result_1728053921 = addInt(result_1728053921, 1); + i_553654700 += 1; } }; }; - F.line = 1675; - F.filename = "system.nim"; - result_1442841249 = (-1); + result_1728053921 = (-1); }; - framePtr = F.prev; - return result_1442841249; + return result_1728053921; } -function contains_1442841239(a_1442841241, item_1442841242) { - var result_1442841243 = false; +function contains_1728053911(a_1728053913, item_1728053914) { + var result_1728053915 = false; - var F = {procname: "contains.contains", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 1689; - F.filename = "system.nim"; - result_1442841243 = (0 <= find_1442841244(a_1442841241, item_1442841242)); + result_1728053915 = (0 <= find_1728053916(a_1728053913, item_1728053914)); break BeforeRet; }; - framePtr = F.prev; - return result_1442841243; + return result_1728053915; } -function imul_1124073784(a_1124073785, b_1124073786) { - var result_1124073787 = 0; +function imul_1308623160(a_1308623161, b_1308623162) { + var result_1308623163 = 0; - var F = {procname: "hashes.imul", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/hashes.nim", line: 0}; - framePtr = F; - F.line = 293; - F.filename = "hashes.nim"; - var mask_1124073788 = 65535; - F.line = 295; - var aHi_1124073793 = (((a_1124073785 >>> 16) & mask_1124073788) >>> 0); - F.line = 296; - var aLo_1124073794 = ((a_1124073785 & mask_1124073788) >>> 0); - F.line = 297; - var bHi_1124073799 = (((b_1124073786 >>> 16) & mask_1124073788) >>> 0); - F.line = 298; - var bLo_1124073800 = ((b_1124073786 & mask_1124073788) >>> 0); - F.line = 299; - result_1124073787 = ((((aLo_1124073794 * bLo_1124073800) >>> 0) + ((((((aHi_1124073793 * bLo_1124073800) >>> 0) + ((aLo_1124073794 * bHi_1124073799) >>> 0)) >>> 0) << 16) >>> 0)) >>> 0); - framePtr = F.prev; + var mask_1308623164 = 65535; + var aHi_1308623169 = (((a_1308623161 >>> 16) & mask_1308623164) >>> 0); + var aLo_1308623170 = ((a_1308623161 & mask_1308623164) >>> 0); + var bHi_1308623175 = (((b_1308623162 >>> 16) & mask_1308623164) >>> 0); + var bLo_1308623176 = ((b_1308623162 & mask_1308623164) >>> 0); + result_1308623163 = ((((aLo_1308623170 * bLo_1308623176) >>> 0) + ((((((aHi_1308623169 * bLo_1308623176) >>> 0) + ((aLo_1308623170 * bHi_1308623175) >>> 0)) >>> 0) << 16) >>> 0)) >>> 0); - return result_1124073787; + return result_1308623163; } -function rotl32_1124073805(x_1124073806, r_1124073807) { - var result_1124073808 = 0; +function rotl32_1308623181(x_1308623182, r_1308623183) { + var result_1308623184 = 0; - var F = {procname: "hashes.rotl32", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/hashes.nim", line: 0}; - framePtr = F; - F.line = 304; - F.filename = "hashes.nim"; - result_1124073808 = ((((x_1124073806 << r_1124073807) >>> 0) | (x_1124073806 >>> subInt(32, r_1124073807))) >>> 0); - framePtr = F.prev; + result_1308623184 = ((((x_1308623182 << r_1308623183) >>> 0) | (x_1308623182 >>> subInt(32, r_1308623183))) >>> 0); - return result_1124073808; + return result_1308623184; } -function murmurHash_1124073817(x_1124073818) { - var result_1124073819 = 0; +function murmurHash_1308623193(x_1308623194) { + var result_1308623195 = 0; - var F = {procname: "hashes.murmurHash", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/hashes.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 315; - F.filename = "hashes.nim"; - var size_1124073828 = (x_1124073818).length; - F.line = 316; - var stepSize_1124073829 = 4; - F.line = 317; - var n_1124073830 = divInt(size_1124073828, stepSize_1124073829); - F.line = 319; - var h1_1124073831 = 0; - F.line = 320; - var i_1124073832 = 0; + var size_1308623204 = (x_1308623194).length; + var stepSize_1308623205 = 4; + var n_1308623206 = divInt(size_1308623204, stepSize_1308623205); + var h1_1308623207 = 0; + var i_1308623208 = 0; Label1: { - F.line = 330; Label2: while (true) { - if (!(i_1124073832 < mulInt(n_1124073830, stepSize_1124073829))) break Label2; - F.line = 331; - var k1_1124073835 = 0; - F.line = 324; - var jHEX60gensym19_1124073852 = stepSize_1124073829; + if (!(i_1308623208 < mulInt(n_1308623206, stepSize_1308623205))) break Label2; + var k1_1308623211 = 0; + var jHEX60gensym19_1308623228 = stepSize_1308623205; Label3: { - F.line = 339; Label4: while (true) { - if (!(0 < jHEX60gensym19_1124073852)) break Label4; - F.line = 326; - jHEX60gensym19_1124073852 = subInt(jHEX60gensym19_1124073852, 1); - F.line = 327; - k1_1124073835 = ((((k1_1124073835 << 8) >>> 0) | x_1124073818[chckIndx(addInt(i_1124073832, jHEX60gensym19_1124073852), 0, (x_1124073818).length - 1)]) >>> 0); + if (!(0 < jHEX60gensym19_1308623228)) break Label4; + jHEX60gensym19_1308623228 = subInt(jHEX60gensym19_1308623228, 1); + k1_1308623211 = ((((k1_1308623211 << 8) >>> 0) | x_1308623194[chckIndx(addInt(i_1308623208, jHEX60gensym19_1308623228), 0, (x_1308623194).length - 1)]) >>> 0); } }; - F.line = 340; - i_1124073832 = addInt(i_1124073832, stepSize_1124073829); - F.line = 342; - k1_1124073835 = imul_1124073784(k1_1124073835, 3432918353); - F.line = 343; - k1_1124073835 = rotl32_1124073805(k1_1124073835, 15); - F.line = 344; - k1_1124073835 = imul_1124073784(k1_1124073835, 461845907); - F.line = 346; - h1_1124073831 = ((h1_1124073831 ^ k1_1124073835) >>> 0); - F.line = 347; - h1_1124073831 = rotl32_1124073805(h1_1124073831, 13); - F.line = 348; - h1_1124073831 = ((((h1_1124073831 * 5) >>> 0) + 3864292196) >>> 0); + i_1308623208 = addInt(i_1308623208, stepSize_1308623205); + k1_1308623211 = imul_1308623160(k1_1308623211, 3432918353); + k1_1308623211 = rotl32_1308623181(k1_1308623211, 15); + k1_1308623211 = imul_1308623160(k1_1308623211, 461845907); + h1_1308623207 = ((h1_1308623207 ^ k1_1308623211) >>> 0); + h1_1308623207 = rotl32_1308623181(h1_1308623207, 13); + h1_1308623207 = ((((h1_1308623207 * 5) >>> 0) + 3864292196) >>> 0); } }; - F.line = 351; - var k1_1124073870 = 0; - F.line = 352; - var rem_1124073871 = modInt(size_1124073828, stepSize_1124073829); + var k1_1308623246 = 0; + var rem_1308623247 = modInt(size_1308623204, stepSize_1308623205); Label5: { - F.line = 353; Label6: while (true) { - if (!(0 < rem_1124073871)) break Label6; - F.line = 354; - rem_1124073871 = subInt(rem_1124073871, 1); - F.line = 355; - k1_1124073870 = ((((k1_1124073870 << 8) >>> 0) | x_1124073818[chckIndx(addInt(i_1124073832, rem_1124073871), 0, (x_1124073818).length - 1)]) >>> 0); + if (!(0 < rem_1308623247)) break Label6; + rem_1308623247 = subInt(rem_1308623247, 1); + k1_1308623246 = ((((k1_1308623246 << 8) >>> 0) | x_1308623194[chckIndx(addInt(i_1308623208, rem_1308623247), 0, (x_1308623194).length - 1)]) >>> 0); } }; - F.line = 356; - k1_1124073870 = imul_1124073784(k1_1124073870, 3432918353); - F.line = 357; - k1_1124073870 = rotl32_1124073805(k1_1124073870, 15); - F.line = 358; - k1_1124073870 = imul_1124073784(k1_1124073870, 461845907); - F.line = 359; - h1_1124073831 = ((h1_1124073831 ^ k1_1124073870) >>> 0); - F.line = 362; - h1_1124073831 = ((h1_1124073831 ^ size_1124073828) >>> 0); - F.line = 363; - h1_1124073831 = ((h1_1124073831 ^ (h1_1124073831 >>> 16)) >>> 0); - F.line = 364; - h1_1124073831 = imul_1124073784(h1_1124073831, 2246822507); - F.line = 365; - h1_1124073831 = ((h1_1124073831 ^ (h1_1124073831 >>> 13)) >>> 0); - F.line = 366; - h1_1124073831 = imul_1124073784(h1_1124073831, 3266489909); - F.line = 367; - h1_1124073831 = ((h1_1124073831 ^ (h1_1124073831 >>> 16)) >>> 0); - F.line = 368; - result_1124073819 = Number(BigInt.asIntN(32, BigInt(h1_1124073831))); + k1_1308623246 = imul_1308623160(k1_1308623246, 3432918353); + k1_1308623246 = rotl32_1308623181(k1_1308623246, 15); + k1_1308623246 = imul_1308623160(k1_1308623246, 461845907); + h1_1308623207 = ((h1_1308623207 ^ k1_1308623246) >>> 0); + h1_1308623207 = ((h1_1308623207 ^ size_1308623204) >>> 0); + h1_1308623207 = ((h1_1308623207 ^ (h1_1308623207 >>> 16)) >>> 0); + h1_1308623207 = imul_1308623160(h1_1308623207, 2246822507); + h1_1308623207 = ((h1_1308623207 ^ (h1_1308623207 >>> 13)) >>> 0); + h1_1308623207 = imul_1308623160(h1_1308623207, 3266489909); + h1_1308623207 = ((h1_1308623207 ^ (h1_1308623207 >>> 16)) >>> 0); + result_1308623195 = Number(BigInt.asIntN(32, BigInt(h1_1308623207))); break BeforeRet; }; - framePtr = F.prev; - return result_1124073819; + return result_1308623195; } -function hash_1124073936(x_1124073937) { - var result_1124073938 = 0; +function hash_1308623312(x_1308623313) { + var result_1308623314 = 0; - var F = {procname: "hashes.hash", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/hashes.nim", line: 0}; - framePtr = F; - F.line = 394; - F.filename = "hashes.nim"; - result_1124073938 = murmurHash_1124073817((x_1124073937.slice(0, (x_1124073937).length - 1 + 1))); - framePtr = F.prev; + result_1308623314 = murmurHash_1308623193((x_1308623313.slice(0, (x_1308623313).length - 1 + 1))); - return result_1124073938; + return result_1308623314; } -function isFilled_1107296287(hcode_1107296288) { - var result_1107296289 = false; +function isFilled_1291845663(hcode_1291845664) { + var result_1291845665 = false; - var F = {procname: "tables.isFilled", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/hashcommon.nim", line: 0}; - framePtr = F; - F.line = 27; - F.filename = "hashcommon.nim"; - result_1107296289 = !((hcode_1107296288 == 0)); - framePtr = F.prev; + result_1291845665 = !((hcode_1291845664 == 0)); - return result_1107296289; + return result_1291845665; } -function nextTry_1107296290(h_1107296291, maxHash_1107296292) { - var result_1107296293 = 0; +function nextTry_1291845666(h_1291845667, maxHash_1291845668) { + var result_1291845669 = 0; - var F = {procname: "tables.nextTry", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/hashcommon.nim", line: 0}; - framePtr = F; - F.line = 30; - F.filename = "hashcommon.nim"; - result_1107296293 = (addInt(h_1107296291, 1) & maxHash_1107296292); - framePtr = F.prev; + result_1291845669 = (addInt(h_1291845667, 1) & maxHash_1291845668); - return result_1107296293; + return result_1291845669; } -function rawGet_1442842156(t_1442842159, key_1442842160, hc_1442842161, hc_1442842161_Idx) { - var result_1442842162 = 0; +function rawGet_1728054828(t_1728054831, key_1728054832, hc_1728054833, hc_1728054833_Idx) { + var result_1728054834 = 0; - var F = {procname: "rawGet.rawGet", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/hashcommon.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 59; - F.filename = "hashcommon.nim"; - hc_1442842161[hc_1442842161_Idx] = hash_1124073936(key_1442842160); - if ((hc_1442842161[hc_1442842161_Idx] == 0)) { - F.line = 64; - hc_1442842161[hc_1442842161_Idx] = 314159265; + hc_1728054833[hc_1728054833_Idx] = hash_1308623312(key_1728054832); + if ((hc_1728054833[hc_1728054833_Idx] == 0)) { + hc_1728054833[hc_1728054833_Idx] = 314159265; } - if (((t_1442842159.data).length == 0)) { - F.line = 43; - result_1442842162 = (-1); + if (((t_1728054831.data).length == 0)) { + result_1728054834 = (-1); break BeforeRet; } - F.line = 44; - var h_1442842213 = (hc_1442842161[hc_1442842161_Idx] & (t_1442842159.data).length - 1); + var h_1728054885 = (hc_1728054833[hc_1728054833_Idx] & (t_1728054831.data).length - 1); Label1: { - F.line = 45; Label2: while (true) { - if (!isFilled_1107296287(t_1442842159.data[chckIndx(h_1442842213, 0, (t_1442842159.data).length - 1)].Field0)) break Label2; - if (((t_1442842159.data[chckIndx(h_1442842213, 0, (t_1442842159.data).length - 1)].Field0 == hc_1442842161[hc_1442842161_Idx]) && eqStrings(t_1442842159.data[chckIndx(h_1442842213, 0, (t_1442842159.data).length - 1)].Field1, key_1442842160))) { - F.line = 51; - result_1442842162 = h_1442842213; + if (!isFilled_1291845663(t_1728054831.data[chckIndx(h_1728054885, 0, (t_1728054831.data).length - 1)].Field0)) break Label2; + if (((t_1728054831.data[chckIndx(h_1728054885, 0, (t_1728054831.data).length - 1)].Field0 == hc_1728054833[hc_1728054833_Idx]) && eqStrings(t_1728054831.data[chckIndx(h_1728054885, 0, (t_1728054831.data).length - 1)].Field1, key_1728054832))) { + result_1728054834 = h_1728054885; break BeforeRet; } - F.line = 52; - h_1442842213 = nextTry_1107296290(h_1442842213, (t_1442842159.data).length - 1); + h_1728054885 = nextTry_1291845666(h_1728054885, (t_1728054831.data).length - 1); } }; - F.line = 53; - result_1442842162 = subInt((-1), h_1442842213); + result_1728054834 = subInt((-1), h_1728054885); }; - framePtr = F.prev; - return result_1442842162; + return result_1728054834; } -function hasKey_1442842149(t_1442842152, key_1442842153) { - var result_1442842154 = false; +function hasKey_1728054821(t_1728054824, key_1728054825) { + var result_1728054826 = false; - var F = {procname: "hasKey.hasKey", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/tables.nim", line: 0}; - framePtr = F; - F.line = 372; - F.filename = "tables.nim"; - var hc_1442842155 = [0]; - F.line = 373; - result_1442842154 = (0 <= rawGet_1442842156(t_1442842152, key_1442842153, hc_1442842155, 0)); - framePtr = F.prev; + var hc_1728054827 = [0]; + result_1728054826 = (0 <= rawGet_1728054828(t_1728054824, key_1728054825, hc_1728054827, 0)); - return result_1442842154; + return result_1728054826; } -function raiseKeyError_1342178950(key_1342178952) { - var F = {procname: "raiseKeyError.raiseKeyError", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/tables.nim", line: 0}; - framePtr = F; - F.line = 235; - F.filename = "tables.nim"; - raiseException({message: ([107,101,121,32,110,111,116,32,102,111,117,110,100,58,32] || []).concat(key_1342178952 || []), parent: null, m_type: NTI134217747, name: null, trace: [], up: null}, "KeyError"); - framePtr = F.prev; +function raiseKeyError_1593837190(key_1593837192) { + raiseException({message: ([107,101,121,32,110,111,116,32,102,111,117,110,100,58,32] || []).concat(key_1593837192 || []), parent: null, m_type: NTI134217747, name: null, trace: [], up: null}, "KeyError"); } -function HEX5BHEX5D_1442842444(t_1442842447, key_1442842448) { - var result_1442842449 = null; - var result_1442842449_Idx = 0; +function HEX5BHEX5D_1728055116(t_1728055119, key_1728055120) { + var result_1728055121 = null; + var result_1728055121_Idx = 0; - var F = {procname: "[].[]", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/tables.nim", line: 0}; - framePtr = F; - F.line = 243; - F.filename = "tables.nim"; - var hcHEX60gensym22_1442842450 = [0]; - F.line = 244; - var indexHEX60gensym22_1442842457 = rawGet_1442842156(t_1442842447, key_1442842448, hcHEX60gensym22_1442842450, 0); - if ((0 <= indexHEX60gensym22_1442842457)) { - F.line = 245; - result_1442842449 = t_1442842447.data[chckIndx(indexHEX60gensym22_1442842457, 0, (t_1442842447.data).length - 1)]; result_1442842449_Idx = "Field2"; + var hcHEX60gensym22_1728055122 = [0]; + var indexHEX60gensym22_1728055129 = rawGet_1728054828(t_1728055119, key_1728055120, hcHEX60gensym22_1728055122, 0); + if ((0 <= indexHEX60gensym22_1728055129)) { + result_1728055121 = t_1728055119.data[chckIndx(indexHEX60gensym22_1728055129, 0, (t_1728055119.data).length - 1)]; result_1728055121_Idx = "Field2"; } else { - F.line = 247; - raiseKeyError_1342178950(key_1442842448); + raiseKeyError_1593837190(key_1728055120); } - framePtr = F.prev; - return [result_1442842449, result_1442842449_Idx]; + return [result_1728055121, result_1728055121_Idx]; } -function nextPowerOfTwo_872415484(x_872415485) { - var result_872415486 = 0; +function nextPowerOfTwo_922747132(x_922747133) { + var result_922747134 = 0; - result_872415486 = (x_872415485 - 1); - result_872415486 = (result_872415486 | (result_872415486 >> 16)); - result_872415486 = (result_872415486 | (result_872415486 >> 8)); - result_872415486 = (result_872415486 | (result_872415486 >> 4)); - result_872415486 = (result_872415486 | (result_872415486 >> 2)); - result_872415486 = (result_872415486 | (result_872415486 >> 1)); - result_872415486 += (1 + ((x_872415485 <= 0) ? 1 : 0)); + result_922747134 = (x_922747133 - 1); + result_922747134 = (result_922747134 | (result_922747134 >> 16)); + result_922747134 = (result_922747134 | (result_922747134 >> 8)); + result_922747134 = (result_922747134 | (result_922747134 >> 4)); + result_922747134 = (result_922747134 | (result_922747134 >> 2)); + result_922747134 = (result_922747134 | (result_922747134 >> 1)); + result_922747134 += (1 + ((x_922747133 <= 0) ? 1 : 0)); - return result_872415486; + return result_922747134; } -function slotsNeeded_1107296298(count_1107296299) { - var result_1107296300 = 0; +function slotsNeeded_1291845674(count_1291845675) { + var result_1291845676 = 0; - var F = {procname: "tables.slotsNeeded", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/hashcommon.nim", line: 0}; - framePtr = F; - F.line = 39; - F.filename = "hashcommon.nim"; - result_1107296300 = nextPowerOfTwo_872415484(addInt(divInt(mulInt(count_1107296299, 3), 2), 4)); - framePtr = F.prev; + result_1291845676 = nextPowerOfTwo_922747132(addInt(divInt(mulInt(count_1291845675, 3), 2), 4)); - return result_1107296300; + return result_1291845676; } -function mustRehash_1442842715(t_1442842717) { - var result_1442842718 = false; +function mustRehash_1728055387(t_1728055389) { + var result_1728055390 = false; - var F = {procname: "mustRehash.mustRehash", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/hashcommon.nim", line: 0}; - framePtr = F; - if (!((t_1442842717.counter < (t_1442842717.data).length))) { - F.line = 34; - F.filename = "hashcommon.nim"; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/hashcommon.nim(34, 9) `\x0At.counter < t.dataLen` ")); + if (!((t_1728055389.counter < (t_1728055389.data).length))) { + failedAssertImpl_268435541([104,97,115,104,99,111,109,109,111,110,46,110,105,109,40,51,52,44,32,57,41,32,96,10,116,46,99,111,117,110,116,101,114,32,60,32,116,46,100,97,116,97,76,101,110,96,32]); } - F.line = 35; - result_1442842718 = ((mulInt((t_1442842717.data).length, 2) < mulInt(t_1442842717.counter, 3)) || (subInt((t_1442842717.data).length, t_1442842717.counter) < 4)); - framePtr = F.prev; + result_1728055390 = ((mulInt((t_1728055389.data).length, 2) < mulInt(t_1728055389.counter, 3)) || (subInt((t_1728055389.data).length, t_1728055389.counter) < 4)); - return result_1442842718; + return result_1728055390; } -function rawInsert_1442843132(t_1442843136, data_1442843137, data_1442843137_Idx, key_1442843138, val_1442843139, hc_1442843140, h_1442843141) { - var F = {procname: "rawInsert.rawInsert", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/tableimpl.nim", line: 0}; - framePtr = F; - F.line = 25; - F.filename = "tableimpl.nim"; - data_1442843137[data_1442843137_Idx][chckIndx(h_1442843141, 0, (data_1442843137[data_1442843137_Idx]).length - 1)].Field1 = nimCopy(null, key_1442843138, NTI33554449); - F.line = 26; - data_1442843137[data_1442843137_Idx][chckIndx(h_1442843141, 0, (data_1442843137[data_1442843137_Idx]).length - 1)].Field2 = nimCopy(null, val_1442843139, NTI1442841684); - F.line = 27; - data_1442843137[data_1442843137_Idx][chckIndx(h_1442843141, 0, (data_1442843137[data_1442843137_Idx]).length - 1)].Field0 = hc_1442843140; - framePtr = F.prev; +function rawInsert_1728055804(t_1728055808, data_1728055809, data_1728055809_Idx, key_1728055810, val_1728055811, hc_1728055812, h_1728055813) { + data_1728055809[data_1728055809_Idx][chckIndx(h_1728055813, 0, (data_1728055809[data_1728055809_Idx]).length - 1)].Field1 = nimCopy(null, key_1728055810, NTI33554449); + data_1728055809[data_1728055809_Idx][chckIndx(h_1728055813, 0, (data_1728055809[data_1728055809_Idx]).length - 1)].Field2 = nimCopy(null, val_1728055811, NTI1728054356); + data_1728055809[data_1728055809_Idx][chckIndx(h_1728055813, 0, (data_1728055809[data_1728055809_Idx]).length - 1)].Field0 = hc_1728055812; } -function enlarge_1442842858(t_1442842861) { - var F = {procname: "enlarge.enlarge", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/tables.nim", line: 0}; - framePtr = F; - F.line = 250; - F.filename = "tables.nim"; - var n_1442842864 = []; - F.line = 251; - n_1442842864 = new Array(chckRange(mulInt((t_1442842861.data).length, 2), 0, 2147483647)); for (var i = 0 ; i < chckRange(mulInt((t_1442842861.data).length, 2), 0, 2147483647) ; ++i) { n_1442842864[i] = {Field0: 0, Field1: [], Field2: []}; } F.line = 252; - var Temporary1 = t_1442842861.data; t_1442842861.data = n_1442842864; n_1442842864 = Temporary1; Label2: { - F.line = 253; - var i_1442842924 = 0; - F.line = 46; - F.filename = "iterators_1.nim"; - var colontmp__520100277 = 0; - F.line = 253; - F.filename = "tables.nim"; - colontmp__520100277 = (n_1442842864).length - 1; - F.line = 68; - F.filename = "iterators_1.nim"; - var res_520100278 = 0; +function enlarge_1728055530(t_1728055533) { + var n_1728055536 = []; + n_1728055536 = new Array(chckRange(mulInt((t_1728055533.data).length, 2), 0, 2147483647)); for (var i = 0 ; i < chckRange(mulInt((t_1728055533.data).length, 2), 0, 2147483647) ; ++i) { n_1728055536[i] = {Field0: 0, Field1: [], Field2: []}; } var Temporary1 = t_1728055533.data; t_1728055533.data = n_1728055536; n_1728055536 = Temporary1; Label2: { + var i_1728055596 = 0; + var colontmp__553654709 = 0; + colontmp__553654709 = (n_1728055536).length - 1; + var res_553654710 = 0; Label3: { - F.line = 69; Label4: while (true) { - if (!(res_520100278 <= colontmp__520100277)) break Label4; - F.line = 253; - F.filename = "tables.nim"; - i_1442842924 = res_520100278; - F.line = 254; - var eh_1442842974 = n_1442842864[chckIndx(i_1442842924, 0, (n_1442842864).length - 1)].Field0; - if (isFilled_1107296287(eh_1442842974)) { - F.line = 256; - var j_1442842978 = (eh_1442842974 & (t_1442842861.data).length - 1); + if (!(res_553654710 <= colontmp__553654709)) break Label4; + i_1728055596 = res_553654710; + var eh_1728055646 = n_1728055536[chckIndx(i_1728055596, 0, (n_1728055536).length - 1)].Field0; + if (isFilled_1291845663(eh_1728055646)) { + var j_1728055650 = (eh_1728055646 & (t_1728055533.data).length - 1); Label5: { - F.line = 257; Label6: while (true) { - if (!isFilled_1107296287(t_1442842861.data[chckIndx(j_1442842978, 0, (t_1442842861.data).length - 1)].Field0)) break Label6; - F.line = 258; - j_1442842978 = nextTry_1107296290(j_1442842978, (t_1442842861.data).length - 1); + if (!isFilled_1291845663(t_1728055533.data[chckIndx(j_1728055650, 0, (t_1728055533.data).length - 1)].Field0)) break Label6; + j_1728055650 = nextTry_1291845666(j_1728055650, (t_1728055533.data).length - 1); } }; - F.line = 260; - rawInsert_1442843132(t_1442842861, t_1442842861, "data", n_1442842864[chckIndx(i_1442842924, 0, (n_1442842864).length - 1)].Field1, n_1442842864[chckIndx(i_1442842924, 0, (n_1442842864).length - 1)].Field2, eh_1442842974, j_1442842978); + rawInsert_1728055804(t_1728055533, t_1728055533, "data", n_1728055536[chckIndx(i_1728055596, 0, (n_1728055536).length - 1)].Field1, n_1728055536[chckIndx(i_1728055596, 0, (n_1728055536).length - 1)].Field2, eh_1728055646, j_1728055650); } - F.line = 74; - F.filename = "iterators_1.nim"; - res_520100278 = addInt(res_520100278, 1); + res_553654710 = addInt(res_553654710, 1); } }; }; - framePtr = F.prev; } -function rawGetKnownHC_1442843289(t_1442843292, key_1442843293, hc_1442843294) { - var result_1442843295 = 0; +function rawGetKnownHC_1728055961(t_1728055964, key_1728055965, hc_1728055966) { + var result_1728055967 = 0; - var F = {procname: "rawGetKnownHC.rawGetKnownHC", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/hashcommon.nim", line: 0}; - framePtr = F; BeforeRet: { - if (((t_1442843292.data).length == 0)) { - F.line = 43; - F.filename = "hashcommon.nim"; - result_1442843295 = (-1); + if (((t_1728055964.data).length == 0)) { + result_1728055967 = (-1); break BeforeRet; } - F.line = 44; - var h_1442843342 = (hc_1442843294 & (t_1442843292.data).length - 1); + var h_1728056014 = (hc_1728055966 & (t_1728055964.data).length - 1); Label1: { - F.line = 45; Label2: while (true) { - if (!isFilled_1107296287(t_1442843292.data[chckIndx(h_1442843342, 0, (t_1442843292.data).length - 1)].Field0)) break Label2; - if (((t_1442843292.data[chckIndx(h_1442843342, 0, (t_1442843292.data).length - 1)].Field0 == hc_1442843294) && eqStrings(t_1442843292.data[chckIndx(h_1442843342, 0, (t_1442843292.data).length - 1)].Field1, key_1442843293))) { - F.line = 51; - result_1442843295 = h_1442843342; + if (!isFilled_1291845663(t_1728055964.data[chckIndx(h_1728056014, 0, (t_1728055964.data).length - 1)].Field0)) break Label2; + if (((t_1728055964.data[chckIndx(h_1728056014, 0, (t_1728055964.data).length - 1)].Field0 == hc_1728055966) && eqStrings(t_1728055964.data[chckIndx(h_1728056014, 0, (t_1728055964.data).length - 1)].Field1, key_1728055965))) { + result_1728055967 = h_1728056014; break BeforeRet; } - F.line = 52; - h_1442843342 = nextTry_1107296290(h_1442843342, (t_1442843292.data).length - 1); + h_1728056014 = nextTry_1291845666(h_1728056014, (t_1728055964.data).length - 1); } }; - F.line = 53; - result_1442843295 = subInt((-1), h_1442843342); + result_1728055967 = subInt((-1), h_1728056014); }; - framePtr = F.prev; - return result_1442843295; + return result_1728055967; } -function HEX5BHEX5DHEX3D_1442842554(t_1442842557, key_1442842558, val_1442842559) { - var F = {procname: "[]=.[]=", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/tables.nim", line: 0}; - framePtr = F; - if (((t_1442842557.data).length == 0)) { - F.line = 165; - F.filename = "tableimpl.nim"; - var correctSizeHEX60gensym66_1442842604 = slotsNeeded_1107296298(32); - F.line = 169; - t_1442842557.counter = 0; - F.line = 170; - t_1442842557.data = new Array(chckRange(correctSizeHEX60gensym66_1442842604, 0, 2147483647)); for (var i = 0 ; i < chckRange(correctSizeHEX60gensym66_1442842604, 0, 2147483647) ; ++i) { t_1442842557.data[i] = {Field0: 0, Field1: [], Field2: []}; } } +function HEX5BHEX5DHEX3D_1728055226(t_1728055229, key_1728055230, val_1728055231) { + if (((t_1728055229.data).length == 0)) { + var correctSizeHEX60gensym66_1728055276 = slotsNeeded_1291845674(32); + t_1728055229.counter = 0; + t_1728055229.data = new Array(chckRange(correctSizeHEX60gensym66_1728055276, 0, 2147483647)); for (var i = 0 ; i < chckRange(correctSizeHEX60gensym66_1728055276, 0, 2147483647) ; ++i) { t_1728055229.data[i] = {Field0: 0, Field1: [], Field2: []}; } } - F.line = 59; - var hc_1442842609 = [0]; - F.line = 60; - var index_1442842616 = rawGet_1442842156(t_1442842557, key_1442842558, hc_1442842609, 0); - if ((0 <= index_1442842616)) { - F.line = 61; - t_1442842557.data[chckIndx(index_1442842616, 0, (t_1442842557.data).length - 1)].Field2 = nimCopy(null, val_1442842559, NTI1442841684); + var hc_1728055281 = [0]; + var index_1728055288 = rawGet_1728054828(t_1728055229, key_1728055230, hc_1728055281, 0); + if ((0 <= index_1728055288)) { + t_1728055229.data[chckIndx(index_1728055288, 0, (t_1728055229.data).length - 1)].Field2 = nimCopy(null, val_1728055231, NTI1728054356); } else { - if (((t_1442842557.data).length == 0)) { - F.line = 165; - var correctSizeHEX60gensym69_1442842710 = slotsNeeded_1107296298(32); - F.line = 169; - t_1442842557.counter = 0; - F.line = 170; - t_1442842557.data = new Array(chckRange(correctSizeHEX60gensym69_1442842710, 0, 2147483647)); for (var i = 0 ; i < chckRange(correctSizeHEX60gensym69_1442842710, 0, 2147483647) ; ++i) { t_1442842557.data[i] = {Field0: 0, Field1: [], Field2: []}; } } + if (((t_1728055229.data).length == 0)) { + var correctSizeHEX60gensym69_1728055382 = slotsNeeded_1291845674(32); + t_1728055229.counter = 0; + t_1728055229.data = new Array(chckRange(correctSizeHEX60gensym69_1728055382, 0, 2147483647)); for (var i = 0 ; i < chckRange(correctSizeHEX60gensym69_1728055382, 0, 2147483647) ; ++i) { t_1728055229.data[i] = {Field0: 0, Field1: [], Field2: []}; } } - if (mustRehash_1442842715(t_1442842557)) { - F.line = 51; - enlarge_1442842858(t_1442842557); - F.line = 52; - index_1442842616 = rawGetKnownHC_1442843289(t_1442842557, key_1442842558, hc_1442842609[0]); + if (mustRehash_1728055387(t_1728055229)) { + enlarge_1728055530(t_1728055229); + index_1728055288 = rawGetKnownHC_1728055961(t_1728055229, key_1728055230, hc_1728055281[0]); } - F.line = 53; - index_1442842616 = subInt((-1), index_1442842616); - F.line = 54; - rawInsert_1442843132(t_1442842557, t_1442842557, "data", key_1442842558, val_1442842559, hc_1442842609[0], index_1442842616); - F.line = 62; - t_1442842557.counter = addInt(t_1442842557.counter, 1); + index_1728055288 = subInt((-1), index_1728055288); + rawInsert_1728055804(t_1728055229, t_1728055229, "data", key_1728055230, val_1728055231, hc_1728055281[0], index_1728055288); + t_1728055229.counter = addInt(t_1728055229.counter, 1); } - framePtr = F.prev; } -function getAllPowers_1442842059() { +function getAllPowers_1728054731() { var Temporary9; - var result_1442842067 = [({data: [], counter: 0})]; + var result_1728054739 = [({data: [], counter: 0})]; - var F = {procname: "power.getAllPowers", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/power.nim", line: 0}; - framePtr = F; - F.line = 227; - F.filename = "power.nim"; Label1: { - F.line = 1024; - F.filename = "sequtils.nim"; - var iHEX60gensym59_1442842088 = 0; - F.line = 1025; - var resultHEX60gensym59_1442842095 = newSeq_1442840931(chckRange((secretSecretSynergies_1442840652[0]).length, 0, 2147483647)); + var iHEX60gensym59_1728054760 = 0; + var resultHEX60gensym59_1728054767 = newSeq_1728053603(chckRange((secretSecretSynergies_1728053324[0]).length, 0, 2147483647)); Label2: { - F.line = 1026; - var it_1442842099 = {Field0: ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}), Field1: 0, Field2: [], Field3: []}; - F.line = 249; - F.filename = "iterators.nim"; - var i_520100257 = 0; - F.line = 250; - var L_520100258 = (secretSecretSynergies_1442840652[0]).length; + var it_1728054771 = {Field0: ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}), Field1: 0, Field2: [], Field3: []}; + var i_553654689 = 0; + var L_553654690 = (secretSecretSynergies_1728053324[0]).length; Label3: { - F.line = 251; Label4: while (true) { - if (!(i_520100257 < L_520100258)) break Label4; - F.line = 1026; - F.filename = "sequtils.nim"; - it_1442842099 = secretSecretSynergies_1442840652[0][chckIndx(i_520100257, 0, (secretSecretSynergies_1442840652[0]).length - 1)]; - F.line = 227; - F.filename = "power.nim"; - resultHEX60gensym59_1442842095[chckIndx(iHEX60gensym59_1442842088, 0, (resultHEX60gensym59_1442842095).length - 1)] = nimCopy(resultHEX60gensym59_1442842095[chckIndx(iHEX60gensym59_1442842088, 0, (resultHEX60gensym59_1442842095).length - 1)], it_1442842099.Field0, NTI1442840581); - F.line = 1028; - F.filename = "sequtils.nim"; - iHEX60gensym59_1442842088 = addInt(iHEX60gensym59_1442842088, 1); - F.line = 13; - F.filename = "iterators.nim"; - i_520100257 += 1; - if (!(((secretSecretSynergies_1442840652[0]).length == L_520100258))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + if (!(i_553654689 < L_553654690)) break Label4; + it_1728054771 = secretSecretSynergies_1728053324[0][chckIndx(i_553654689, 0, (secretSecretSynergies_1728053324[0]).length - 1)]; + resultHEX60gensym59_1728054767[chckIndx(iHEX60gensym59_1728054760, 0, (resultHEX60gensym59_1728054767).length - 1)] = nimCopy(resultHEX60gensym59_1728054767[chckIndx(iHEX60gensym59_1728054760, 0, (resultHEX60gensym59_1728054767).length - 1)], it_1728054771.Field0, NTI1728053253); + iHEX60gensym59_1728054760 = addInt(iHEX60gensym59_1728054760, 1); + i_553654689 += 1; + if (!(((secretSecretSynergies_1728053324[0]).length == L_553654690))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; }; - var secretSecretPowers_1442842104 = nimCopy(null, resultHEX60gensym59_1442842095, NTI1442840869); + var secretSecretPowers_1728054776 = nimCopy(null, resultHEX60gensym59_1728054767, NTI1728053541); Label5: { - F.line = 229; - F.filename = "power.nim"; - var p_1442842108 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); - F.line = 249; - F.filename = "iterators.nim"; - var i_520100263 = 0; - F.line = 250; - var L_520100264 = (powers_1442840649[0]).length; + var p_1728054780 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); + var i_553654695 = 0; + var L_553654696 = (powers_1728053321[0]).length; Label6: { - F.line = 251; Label7: while (true) { - if (!(i_520100263 < L_520100264)) break Label7; - F.line = 229; - F.filename = "power.nim"; - p_1442842108 = powers_1442840649[0][chckIndx(i_520100263, 0, (powers_1442840649[0]).length - 1)]; + if (!(i_553654695 < L_553654696)) break Label7; + p_1728054780 = powers_1728053321[0][chckIndx(i_553654695, 0, (powers_1728053321[0]).length - 1)]; Label8: { - if (contains_1442841239(secretSecretPowers_1442842104, p_1442842108)) { - F.line = 230; + if (contains_1728053911(secretSecretPowers_1728054776, p_1728054780)) { break Label8; } - if (hasKey_1442842149(result_1442842067[0], p_1442842108.name)) { - F.line = 232; - var Temporary10 = nimCopy(null, p_1442842108, NTI1442840581); - (Temporary9 = HEX5BHEX5D_1442842444(result_1442842067[0], p_1442842108.name), Temporary9)[0][Temporary9[1]].push(Temporary10);; + if (hasKey_1728054821(result_1728054739[0], p_1728054780.name)) { + var Temporary10 = nimCopy(null, p_1728054780, NTI1728053253); + (Temporary9 = HEX5BHEX5D_1728055116(result_1728054739[0], p_1728054780.name), Temporary9)[0][Temporary9[1]].push(Temporary10);; } else { - F.line = 234; - HEX5BHEX5DHEX3D_1442842554(result_1442842067[0], p_1442842108.name, [nimCopy(null, p_1442842108, NTI1442840581)]); + HEX5BHEX5DHEX3D_1728055226(result_1728054739[0], p_1728054780.name, [nimCopy(null, p_1728054780, NTI1728053253)]); } }; - F.line = 13; - F.filename = "iterators.nim"; - i_520100263 += 1; - if (!(((powers_1442840649[0]).length == L_520100264))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_553654695 += 1; + if (!(((powers_1728053321[0]).length == L_553654696))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - framePtr = F.prev; - return result_1442842067[0]; + return result_1728054739[0]; } -function initStorage_1543503887() { - var F = {procname: "store.initStorage", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/store.nim", line: 0}; - framePtr = F; +function initStorage_1929379855() { Label1: { - F.line = 27; - F.filename = "store.nim"; - var power_1543503891 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); - F.line = 249; - F.filename = "iterators.nim"; - var i_520100282 = 0; - F.line = 250; - var L_520100283 = (powers_1442840649[0]).length; + var power_1929379859 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); + var i_553654714 = 0; + var L_553654715 = (powers_1728053321[0]).length; Label2: { - F.line = 251; Label3: while (true) { - if (!(i_520100282 < L_520100283)) break Label3; - F.line = 27; - F.filename = "store.nim"; - power_1543503891 = powers_1442840649[0][chckIndx(i_520100282, 0, (powers_1442840649[0]).length - 1)]; - if (!(localStorage.getItem(toJSStr(power_1543503891.technicalName)) !== null)) { - F.line = 29; - localStorage.setItem(toJSStr(power_1543503891.technicalName), JSON.stringify({wins: 0, losses: 0})); + if (!(i_553654714 < L_553654715)) break Label3; + power_1929379859 = powers_1728053321[0][chckIndx(i_553654714, 0, (powers_1728053321[0]).length - 1)]; + if (!(localStorage.getItem(toJSStr(power_1929379859.technicalName)) !== null)) { + localStorage.setItem(toJSStr(power_1929379859.technicalName), JSON.stringify({wins: 0, losses: 0})); } - F.line = 13; - F.filename = "iterators.nim"; - i_520100282 += 1; - if (!(((powers_1442840649[0]).length == L_520100283))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_553654714 += 1; + if (!(((powers_1728053321[0]).length == L_553654715))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - F.line = 31; - F.filename = "store.nim"; localStorage.setItem("wins", JSON.stringify({wins: 0, losses: 0})); - F.line = 32; localStorage.setItem("losses", JSON.stringify({wins: 0, losses: 0})); - framePtr = F.prev; } -function HEX5BHEX5D_687867297(s_687867301, x_687867302) { - var result_687867303 = []; +function HEX5BHEX5D_721421729(s_721421733, x_721421734) { + var result_721421735 = []; - var F = {procname: "[].[]", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/indices.nim", line: 0}; - framePtr = F; - F.line = 139; - F.filename = "indices.nim"; - var a_687867305 = x_687867302.a; - F.line = 140; - var L_687867311 = addInt(subInt(subInt((s_687867301).length, x_687867302.b), a_687867305), 1); - F.line = 141; - result_687867303 = new Array(chckRange(L_687867311, 0, 2147483647)); for (var i = 0 ; i < chckRange(L_687867311, 0, 2147483647) ; ++i) { result_687867303[i] = null; } Label1: { - F.line = 142; - var i_687867320 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_520100286 = 0; + var a_721421737 = x_721421734.a; + var L_721421743 = addInt(subInt(subInt((s_721421733).length, x_721421734.b), a_721421737), 1); + result_721421735 = new Array(chckRange(L_721421743, 0, 2147483647)); for (var i = 0 ; i < chckRange(L_721421743, 0, 2147483647) ; ++i) { result_721421735[i] = null; } Label1: { + var i_721421752 = 0; + var i_553654718 = 0; Label2: { - F.line = 129; Label3: while (true) { - if (!(i_520100286 < L_687867311)) break Label3; - F.line = 142; - F.filename = "indices.nim"; - i_687867320 = i_520100286; - F.line = 142; - result_687867303[chckIndx(i_687867320, 0, (result_687867303).length - 1)] = s_687867301[chckIndx(addInt(i_687867320, a_687867305), 0, (s_687867301).length - 1)]; - F.line = 131; - F.filename = "iterators_1.nim"; - i_520100286 = addInt(i_520100286, 1); + if (!(i_553654718 < L_721421743)) break Label3; + i_721421752 = i_553654718; + result_721421735[chckIndx(i_721421752, 0, (result_721421735).length - 1)] = s_721421733[chckIndx(addInt(i_721421752, a_721421737), 0, (s_721421733).length - 1)]; + i_553654718 = addInt(i_553654718, 1); } }; }; - framePtr = F.prev; - return result_687867303; + return result_721421735; } -function valueHEX3D_721420741(n_721420742, v_721420743) { - var F = {procname: "vdom.value=", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/vdom.nim", line: 0}; - framePtr = F; - F.line = 188; - F.filename = "vdom.nim"; - n_721420742.text = v_721420743; - framePtr = F.prev; +function valueHEX3D_754975173(n_754975174, v_754975175) { + n_754975174.text = v_754975175; } -function value_721420738(n_721420739) { - var result_721420740 = null; +function value_754975170(n_754975171) { + var result_754975172 = null; - var F = {procname: "vdom.value", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/vdom.nim", line: 0}; - framePtr = F; - F.line = 187; - F.filename = "vdom.nim"; - result_721420740 = n_721420739.text; - framePtr = F.prev; + result_754975172 = n_754975171.text; - return result_721420740; + return result_754975172; } -function addEventShell_687865949(d_687865950, name_687865951, h_687865952) { - var F = {procname: "karax.addEventShell", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - F.line = 94; - F.filename = "karax.nim"; - d_687865950.addEventListener(name_687865951, h_687865952, false); - if ((d_687865950.karaxEvents == null)) { - F.line = 96; - d_687865950.karaxEvents = new Array(0); +function addEventShell_721420381(d_721420382, name_721420383, h_721420384) { + d_721420382.addEventListener(name_721420383, h_721420384, false); + if ((d_721420382.karaxEvents == null)) { + d_721420382.karaxEvents = new Array(0); } - F.line = 97; - d_687865950.karaxEvents.push({Field0: name_687865951, Field1: h_687865952}); - framePtr = F.prev; + d_721420382.karaxEvents.push({Field0: name_721420383, Field1: h_721420384}); } -function wrapEvent_687866022(d_687866023, n_687866024, k_687866025, action_687866026) { +function wrapEvent_721420454(d_721420455, n_721420456, k_721420457, action_721420458) { -function laterWrapper_687866106() { +function laterWrapper_721420538() { -function HEX3Aanonymous_687866111(ev_687866112) { +function HEX3Aanonymous_721420543(ev_721420544) { -function wrapper_687866113() { - var F = {procname: ":anonymous.wrapper", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - F.line = 77; - F.filename = "karax.nim"; - var vHEX60gensym15_687866115 = ev_687866112.target.value; - F.line = 78; - valueHEX3D_721420741(n_687866109, vHEX60gensym15_687866115); - if (!(!((action_687866108 == null)))) { - F.line = 79; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim(79, 3) `action != nil` ")); +function wrapper_721420545() { + var vHEX60gensym15_721420547 = ev_721420544.target.value; + valueHEX3D_754975173(n_721420541, vHEX60gensym15_721420547); + if (!(!((action_721420540 == null)))) { + failedAssertImpl_268435541([107,97,114,97,120,46,110,105,109,40,55,57,44,32,51,41,32,96,97,99,116,105,111,110,32,33,61,32,110,105,108,96,32]); } - F.line = 80; - action_687866108(ev_687866112, n_687866109); - if (!((value_721420738(n_687866109) == vHEX60gensym15_687866115))) { - F.line = 82; - ev_687866112.target.value = value_721420738(n_687866109); + action_721420540(ev_721420544, n_721420541); + if (!((value_754975170(n_721420541) == vHEX60gensym15_721420547))) { + ev_721420544.target.value = value_754975170(n_721420541); } - framePtr = F.prev; } - var F = {procname: "laterWrapper.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - if (!((timer_687866110 == null))) { - F.line = 126; - F.filename = "karax.nim"; - clearTimeout(timer_687866110); + if (!((timer_721420542 == null))) { + clearTimeout(timer_721420542); } - F.line = 127; - timer_687866110 = setTimeout(wrapper_687866113, 400); - framePtr = F.prev; + timer_721420542 = setTimeout(wrapper_721420545, 400); } - var result_687866107 = null; + var result_721420539 = null; - var F = {procname: "wrapEvent.laterWrapper", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - F.line = 121; - F.filename = "karax.nim"; - var action_687866108 = action_687866026; - F.line = 122; - var n_687866109 = n_687866024; - F.line = 123; - var timer_687866110 = null; - F.line = 124; - result_687866107 = HEX3Aanonymous_687866111; - framePtr = F.prev; + var action_721420540 = action_721420458; + var n_721420541 = n_721420456; + var timer_721420542 = null; + result_721420539 = HEX3Aanonymous_721420543; - return result_687866107; + return result_721420539; } -function enterWrapper_687866073() { +function enterWrapper_721420505() { -function HEX3Aanonymous_687866077(ev_687866078) { - var F = {procname: "enterWrapper.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - if ((ev_687866078.keyCode == 13)) { - F.line = 77; - F.filename = "karax.nim"; - var vHEX60gensym8_687866080 = ev_687866078.target.value; - F.line = 78; - valueHEX3D_721420741(n_687866076, vHEX60gensym8_687866080); - if (!(!((action_687866075 == null)))) { - F.line = 79; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim(79, 3) `action != nil` ")); +function HEX3Aanonymous_721420509(ev_721420510) { + if ((ev_721420510.keyCode == 13)) { + var vHEX60gensym8_721420512 = ev_721420510.target.value; + valueHEX3D_754975173(n_721420508, vHEX60gensym8_721420512); + if (!(!((action_721420507 == null)))) { + failedAssertImpl_268435541([107,97,114,97,120,46,110,105,109,40,55,57,44,32,51,41,32,96,97,99,116,105,111,110,32,33,61,32,110,105,108,96,32]); } - F.line = 80; - action_687866075(ev_687866078, n_687866076); - if (!((value_721420738(n_687866076) == vHEX60gensym8_687866080))) { - F.line = 82; - ev_687866078.target.value = value_721420738(n_687866076); + action_721420507(ev_721420510, n_721420508); + if (!((value_754975170(n_721420508) == vHEX60gensym8_721420512))) { + ev_721420510.target.value = value_754975170(n_721420508); } } - framePtr = F.prev; } - var result_687866074 = null; + var result_721420506 = null; - var F = {procname: "wrapEvent.enterWrapper", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - F.line = 115; - F.filename = "karax.nim"; - var action_687866075 = action_687866026; - F.line = 116; - var n_687866076 = n_687866024; - F.line = 117; - result_687866074 = HEX3Aanonymous_687866077; - framePtr = F.prev; + var action_721420507 = action_721420458; + var n_721420508 = n_721420456; + result_721420506 = HEX3Aanonymous_721420509; - return result_687866074; + return result_721420506; } -function stdWrapper_687866028() { +function stdWrapper_721420460() { -function HEX3Aanonymous_687866032(ev_687866033) { - var F = {procname: "stdWrapper.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - if ((((n_687866031.kind == 200) || (n_687866031.kind == 194)) || (n_687866031.kind == 196))) { - F.line = 77; - F.filename = "karax.nim"; - var vHEX60gensym1_687866047 = ev_687866033.target.value; - F.line = 78; - valueHEX3D_721420741(n_687866031, vHEX60gensym1_687866047); - if (!(!((action_687866030 == null)))) { - F.line = 79; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim(79, 3) `action != nil` ")); +function HEX3Aanonymous_721420464(ev_721420465) { + if ((((n_721420463.kind == 200) || (n_721420463.kind == 194)) || (n_721420463.kind == 196))) { + var vHEX60gensym1_721420479 = ev_721420465.target.value; + valueHEX3D_754975173(n_721420463, vHEX60gensym1_721420479); + if (!(!((action_721420462 == null)))) { + failedAssertImpl_268435541([107,97,114,97,120,46,110,105,109,40,55,57,44,32,51,41,32,96,97,99,116,105,111,110,32,33,61,32,110,105,108,96,32]); } - F.line = 80; - action_687866030(ev_687866033, n_687866031); - if (!((value_721420738(n_687866031) == vHEX60gensym1_687866047))) { - F.line = 82; - ev_687866033.target.value = value_721420738(n_687866031); + action_721420462(ev_721420465, n_721420463); + if (!((value_754975170(n_721420463) == vHEX60gensym1_721420479))) { + ev_721420465.target.value = value_754975170(n_721420463); } } else { - F.line = 112; - action_687866030(ev_687866033, n_687866031); + action_721420462(ev_721420465, n_721420463); } - framePtr = F.prev; } - var result_687866029 = null; + var result_721420461 = null; - var F = {procname: "wrapEvent.stdWrapper", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - F.line = 107; - F.filename = "karax.nim"; - var action_687866030 = action_687866026; - F.line = 108; - var n_687866031 = n_687866024; - F.line = 109; - result_687866029 = HEX3Aanonymous_687866032; - framePtr = F.prev; + var action_721420462 = action_721420458; + var n_721420463 = n_721420456; + result_721420461 = HEX3Aanonymous_721420464; - return result_687866029; + return result_721420461; } - var result_687866027 = null; + var result_721420459 = null; - var F = {procname: "karax.wrapEvent", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - F.line = 129; - F.filename = "karax.nim"; - switch (k_687866025) { + switch (k_721420457) { case 30: - F.line = 131; - result_687866027 = laterWrapper_687866106(); - F.line = 132; - addEventShell_687865949(d_687866023, "keyup", result_687866027); + result_721420459 = laterWrapper_721420538(); + addEventShell_721420381(d_721420455, "keyup", result_721420459); break; case 29: - F.line = 134; - result_687866027 = enterWrapper_687866073(); - F.line = 135; - addEventShell_687865949(d_687866023, "keyup", result_687866027); + result_721420459 = enterWrapper_721420505(); + addEventShell_721420381(d_721420455, "keyup", result_721420459); break; default: - F.line = 137; - result_687866027 = stdWrapper_687866028(); - F.line = 138; - addEventShell_687865949(d_687866023, toEventName_721420689[chckIndx(k_687866025, 0, (toEventName_721420689).length - 1)], result_687866027); + result_721420459 = stdWrapper_721420460(); + addEventShell_721420381(d_721420455, toEventName_754975121[chckIndx(k_721420457, 0, (toEventName_754975121).length - 1)], result_721420459); break; } - framePtr = F.prev; - return result_687866027; + return result_721420459; } -function applyEvents_687866149(n_687866150) { - var F = {procname: "karax.applyEvents", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - F.line = 150; - F.filename = "karax.nim"; - var dest_687866151 = n_687866150.dom; +function applyEvents_721420581(n_721420582) { + var dest_721420583 = n_721420582.dom; Label1: { - F.line = 151; - var i_687866159 = 0; - F.line = 126; - F.filename = "iterators_1.nim"; - var colontmp__520100309 = 0; - F.line = 151; - F.filename = "karax.nim"; - colontmp__520100309 = (n_687866150.events).length; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_520100310 = 0; + var i_721420591 = 0; + var colontmp__553654741 = 0; + colontmp__553654741 = (n_721420582.events).length; + var i_553654742 = 0; Label2: { - F.line = 129; Label3: while (true) { - if (!(i_520100310 < colontmp__520100309)) break Label3; - F.line = 151; - F.filename = "karax.nim"; - i_687866159 = i_520100310; - F.line = 152; - n_687866150.events[chckIndx(i_687866159, 0, (n_687866150.events).length - 1)]["Field2"] = wrapEvent_687866022(dest_687866151, n_687866150, n_687866150.events[chckIndx(i_687866159, 0, (n_687866150.events).length - 1)]["Field0"], n_687866150.events[chckIndx(i_687866159, 0, (n_687866150.events).length - 1)]["Field1"]); - F.line = 131; - F.filename = "iterators_1.nim"; - i_520100310 = addInt(i_520100310, 1); + if (!(i_553654742 < colontmp__553654741)) break Label3; + i_721420591 = i_553654742; + n_721420582.events[chckIndx(i_721420591, 0, (n_721420582.events).length - 1)]["Field2"] = wrapEvent_721420454(dest_721420583, n_721420582, n_721420582.events[chckIndx(i_721420591, 0, (n_721420582.events).length - 1)]["Field0"], n_721420582.events[chckIndx(i_721420591, 0, (n_721420582.events).length - 1)]["Field1"]); + i_553654742 = addInt(i_553654742, 1); } }; }; - framePtr = F.prev; } -function applyStyle_788529666(n_788529667, s_788529668) { - var F = {procname: "vstyles.applyStyle", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/vstyles.nim", line: 0}; - framePtr = F; - F.line = 338; - F.filename = "vstyles.nim"; - n_788529667.style = {}; +function applyStyle_822084094(n_822084095, s_822084096) { + n_822084095.style = {}; Label1: { - F.line = 339; - var i_788529681 = 0; - F.line = 46; - F.filename = "iterators_1.nim"; - var colontmp__520100313 = 0; - F.line = 339; - F.filename = "vstyles.nim"; - colontmp__520100313 = subInt(s_788529668.length, 1); - F.line = 68; - F.filename = "iterators_1.nim"; - var res_520100314 = 0; + var i_822084109 = 0; + var colontmp__553654745 = 0; + colontmp__553654745 = subInt(s_822084096.length, 1); + var res_553654746 = 0; Label2: { - F.line = 69; Label3: while (true) { - if (!(res_520100314 <= colontmp__520100313)) break Label3; - F.line = 339; - F.filename = "vstyles.nim"; - i_788529681 = res_520100314; - F.line = 340; - n_788529667.style[s_788529668[i_788529681]] = s_788529668[addInt(i_788529681, 1)]; - F.line = 74; - F.filename = "iterators_1.nim"; - res_520100314 = addInt(res_520100314, 2); + if (!(res_553654746 <= colontmp__553654745)) break Label3; + i_822084109 = res_553654746; + n_822084095.style[s_822084096[i_822084109]] = s_822084096[addInt(i_822084109, 1)]; + res_553654746 = addInt(res_553654746, 2); } }; }; - framePtr = F.prev; } -function toDom_687866178(n_687866179, useAttachedNode_687866180, kxi_687866181) { +function toDom_721420610(n_721420611, useAttachedNode_721420612, kxi_721420613) { var Temporary1; - var result_687866182 = null; + var result_721420614 = null; - var F = {procname: "karax.toDom", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; BeforeRet: { - if (useAttachedNode_687866180) { - if (!((n_687866179.dom == null))) { - if (!((n_687866179.id == null))) { - F.line = 167; - F.filename = "karax.nim"; - kxi_687866181.byId[n_687866179.id] = n_687866179; + if (useAttachedNode_721420612) { + if (!((n_721420611.dom == null))) { + if (!((n_721420611.id == null))) { + kxi_721420613.byId[n_721420611.id] = n_721420611; } - F.line = 168; - result_687866182 = n_687866179.dom; + result_721420614 = n_721420611.dom; break BeforeRet; } } - if ((n_687866179.kind == 0)) { - F.line = 170; - result_687866182 = document.createTextNode(n_687866179.text); - F.line = 146; - n_687866179.dom = result_687866182; - if (!((n_687866179.id == null))) { - F.line = 147; - kxi__.byId[n_687866179.id] = n_687866179; + if ((n_721420611.kind == 0)) { + result_721420614 = document.createTextNode(n_721420611.text); + n_721420611.dom = result_721420614; + if (!((n_721420611.id == null))) { + kxi__.byId[n_721420611.id] = n_721420611; } } else { - if ((n_687866179.kind == 6)) { - F.line = 173; - result_687866182 = document.createElement("div"); - F.line = 174; - result_687866182.innerHTML = n_687866179.text; - F.line = 146; - n_687866179.dom = result_687866182; - if (!((n_687866179.id == null))) { - F.line = 147; - kxi__.byId[n_687866179.id] = n_687866179; - } - - F.line = 176; + if ((n_721420611.kind == 6)) { + result_721420614 = document.createElement("div"); + result_721420614.innerHTML = n_721420611.text; + n_721420611.dom = result_721420614; + if (!((n_721420611.id == null))) { + kxi__.byId[n_721420611.id] = n_721420611; + } + break BeforeRet; } else { - if ((n_687866179.kind == 3)) { - F.line = 178; - var x_687866222 = vcomponents_754974733[0][n_687866179.text](n_687866179.kids); - F.line = 179; - result_687866182 = toDom_687866178(x_687866222, useAttachedNode_687866180, kxi_687866181); - F.line = 146; - n_687866179.dom = result_687866182; - if (!((n_687866179.id == null))) { - F.line = 147; - kxi__.byId[n_687866179.id] = n_687866179; - } - - F.line = 182; + if ((n_721420611.kind == 3)) { + var x_721420654 = vcomponents_788529165[0][n_721420611.text](n_721420611.kids); + result_721420614 = toDom_721420610(x_721420654, useAttachedNode_721420612, kxi_721420613); + n_721420611.dom = result_721420614; + if (!((n_721420611.id == null))) { + kxi__.byId[n_721420611.id] = n_721420611; + } + break BeforeRet; } else { - if ((n_687866179.kind == 4)) { - F.line = 184; - result_687866182 = n_687866179.dom; - if (!(!((result_687866182 == null)))) { - F.line = 185; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim(185, 5) `result != nil` ")); + if ((n_721420611.kind == 4)) { + result_721420614 = n_721420611.dom; + if (!(!((result_721420614 == null)))) { + failedAssertImpl_268435541([107,97,114,97,120,46,110,105,109,40,49,56,53,44,32,53,41,32,96,114,101,115,117,108,116,32,33,61,32,110,105,108,96,32]); } - F.line = 146; - n_687866179.dom = result_687866182; - if (!((n_687866179.id == null))) { - F.line = 147; - kxi__.byId[n_687866179.id] = n_687866179; + n_721420611.dom = result_721420614; + if (!((n_721420611.id == null))) { + kxi__.byId[n_721420611.id] = n_721420611; } - F.line = 188; break BeforeRet; } else { - if ((n_687866179.kind == 5)) { - F.line = 190; - var x_687866252 = n_687866179; - if (!((x_687866252.onAttachImpl == null))) { - F.line = 191; - x_687866252.onAttachImpl(x_687866252); + if ((n_721420611.kind == 5)) { + var x_721420684 = n_721420611; + if (!((x_721420684.onAttachImpl == null))) { + x_721420684.onAttachImpl(x_721420684); } - if (!(!((x_687866252.renderImpl == null)))) { - F.line = 192; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim(192, 5) `x.renderImpl != nil` ")); + if (!(!((x_721420684.renderImpl == null)))) { + failedAssertImpl_268435541([107,97,114,97,120,46,110,105,109,40,49,57,50,44,32,53,41,32,96,120,46,114,101,110,100,101,114,73,109,112,108,32,33,61,32,110,105,108,96,32]); } - if ((x_687866252.expanded == null)) { - F.line = 194; - x_687866252.expanded = x_687866252.renderImpl(x_687866252); + if ((x_721420684.expanded == null)) { + x_721420684.expanded = x_721420684.renderImpl(x_721420684); } - if (!(!((x_687866252.expanded == null)))) { - F.line = 196; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim(196, 5) `x.expanded != nil` ")); + if (!(!((x_721420684.expanded == null)))) { + failedAssertImpl_268435541([107,97,114,97,120,46,110,105,109,40,49,57,54,44,32,53,41,32,96,120,46,101,120,112,97,110,100,101,100,32,33,61,32,110,105,108,96,32]); } - F.line = 197; - result_687866182 = toDom_687866178(x_687866252.expanded, useAttachedNode_687866180, kxi_687866181); - F.line = 146; - n_687866179.dom = result_687866182; - if (!((n_687866179.id == null))) { - F.line = 147; - kxi__.byId[n_687866179.id] = n_687866179; + result_721420614 = toDom_721420610(x_721420684.expanded, useAttachedNode_721420612, kxi_721420613); + n_721420611.dom = result_721420614; + if (!((n_721420611.id == null))) { + kxi__.byId[n_721420611.id] = n_721420611; } - F.line = 199; break BeforeRet; } else { - F.line = 202; - if ((ConstSet2[n_687866179.kind] != undefined)) { - Temporary1 = document.createElementNS(toJSStr(svgNamespace_721420514[0]), toTag_721420612[chckIndx(n_687866179.kind, 0, (toTag_721420612).length - 1)]); + if ((ConstSet2[n_721420611.kind] != undefined)) { + Temporary1 = document.createElementNS(toJSStr(svgNamespace_754974946[0]), toTag_754975044[chckIndx(n_721420611.kind, 0, (toTag_754975044).length - 1)]); } else { - if ((ConstSet3[n_687866179.kind] != undefined)) { - Temporary1 = document.createElementNS(toJSStr(mathNamespace_721420515[0]), toTag_721420612[chckIndx(n_687866179.kind, 0, (toTag_721420612).length - 1)]); + if ((ConstSet3[n_721420611.kind] != undefined)) { + Temporary1 = document.createElementNS(toJSStr(mathNamespace_754974947[0]), toTag_754975044[chckIndx(n_721420611.kind, 0, (toTag_754975044).length - 1)]); } else { - Temporary1 = document.createElement(toTag_721420612[chckIndx(n_687866179.kind, 0, (toTag_721420612).length - 1)]); + Temporary1 = document.createElement(toTag_754975044[chckIndx(n_721420611.kind, 0, (toTag_754975044).length - 1)]); } } - result_687866182 = Temporary1; - F.line = 146; - n_687866179.dom = result_687866182; - if (!((n_687866179.id == null))) { - F.line = 147; - kxi__.byId[n_687866179.id] = n_687866179; + result_721420614 = Temporary1; + n_721420611.dom = result_721420614; + if (!((n_721420611.id == null))) { + kxi__.byId[n_721420611.id] = n_721420611; } Label2: { - F.line = 209; - var k_687866299 = null; + var k_721420731 = null; Label3: { - F.line = 334; - F.filename = "vdom.nim"; - var i_520100294 = 0; - F.line = 126; - F.filename = "iterators_1.nim"; - var colontmp__520100295 = 0; - F.line = 334; - F.filename = "vdom.nim"; - colontmp__520100295 = (n_687866179.kids).length; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_520100296 = 0; + var i_553654726 = 0; + var colontmp__553654727 = 0; + colontmp__553654727 = (n_721420611.kids).length; + var i_553654728 = 0; Label4: { - F.line = 129; Label5: while (true) { - if (!(i_520100296 < colontmp__520100295)) break Label5; - F.line = 334; - F.filename = "vdom.nim"; - i_520100294 = i_520100296; - F.line = 209; - F.filename = "karax.nim"; - k_687866299 = n_687866179.kids[chckIndx(i_520100294, 0, (n_687866179.kids).length - 1)]; - F.line = 210; - result_687866182.appendChild(toDom_687866178(k_687866299, useAttachedNode_687866180, kxi_687866181)); - F.line = 131; - F.filename = "iterators_1.nim"; - i_520100296 = addInt(i_520100296, 1); + if (!(i_553654728 < colontmp__553654727)) break Label5; + i_553654726 = i_553654728; + k_721420731 = n_721420611.kids[chckIndx(i_553654726, 0, (n_721420611.kids).length - 1)]; + result_721420614.appendChild(toDom_721420610(k_721420731, useAttachedNode_721420612, kxi_721420613)); + i_553654728 = addInt(i_553654728, 1); } }; }; }; - if (!((n_687866179.text == null))) { - F.line = 213; - F.filename = "karax.nim"; - result_687866182.value = n_687866179.text; + if (!((n_721420611.text == null))) { + result_721420614.value = n_721420611.text; } } }}}} - if (!((n_687866179.id == null))) { - F.line = 215; - result_687866182.id = n_687866179.id; + if (!((n_721420611.id == null))) { + result_721420614.id = n_721420611.id; } - if (!((n_687866179.class == null))) { - if ((ConstSet4[n_687866179.kind] != undefined)) { - F.line = 218; - result_687866182.className.baseVal = n_687866179.class; + if (!((n_721420611.class == null))) { + if ((ConstSet4[n_721420611.kind] != undefined)) { + result_721420614.className.baseVal = n_721420611.class; } else { - F.line = 220; - result_687866182.className = n_687866179.class; + result_721420614.className = n_721420611.class; } } Label6: { - F.line = 223; - var k_687866304 = null; - F.line = 223; - var v_687866305 = null; + var k_721420736 = null; + var v_721420737 = null; Label7: { - F.line = 337; - F.filename = "vdom.nim"; - var i_520100304 = 0; - F.line = 46; - F.filename = "iterators_1.nim"; - var colontmp__520100305 = 0; - F.line = 337; - F.filename = "vdom.nim"; - colontmp__520100305 = subInt((n_687866179.attrs).length, 2); - F.line = 68; - F.filename = "iterators_1.nim"; - var res_520100306 = 0; + var i_553654736 = 0; + var colontmp__553654737 = 0; + colontmp__553654737 = subInt((n_721420611.attrs).length, 2); + var res_553654738 = 0; Label8: { - F.line = 69; Label9: while (true) { - if (!(res_520100306 <= colontmp__520100305)) break Label9; - F.line = 337; - F.filename = "vdom.nim"; - i_520100304 = res_520100306; - F.line = 223; - F.filename = "karax.nim"; - k_687866304 = n_687866179.attrs[chckIndx(i_520100304, 0, (n_687866179.attrs).length - 1)]; - F.line = 223; - v_687866305 = n_687866179.attrs[chckIndx(addInt(i_520100304, 1), 0, (n_687866179.attrs).length - 1)]; - if (!((v_687866305 == null))) { - F.line = 225; - result_687866182.setAttribute(k_687866304, v_687866305); + if (!(res_553654738 <= colontmp__553654737)) break Label9; + i_553654736 = res_553654738; + k_721420736 = n_721420611.attrs[chckIndx(i_553654736, 0, (n_721420611.attrs).length - 1)]; + v_721420737 = n_721420611.attrs[chckIndx(addInt(i_553654736, 1), 0, (n_721420611.attrs).length - 1)]; + if (!((v_721420737 == null))) { + result_721420614.setAttribute(k_721420736, v_721420737); } - F.line = 74; - F.filename = "iterators_1.nim"; - res_520100306 = addInt(res_520100306, 2); + res_553654738 = addInt(res_553654738, 2); } }; }; }; - F.line = 226; - F.filename = "karax.nim"; - applyEvents_687866149(n_687866179); - if (((!((kxi_687866181 == null)) && (n_687866179 == kxi_687866181.toFocusV)) && (kxi_687866181.toFocus == null))) { - F.line = 228; - kxi_687866181.toFocus = result_687866182; + applyEvents_721420581(n_721420611); + if (((!((kxi_721420613 == null)) && (n_721420611 == kxi_721420613.toFocusV)) && (kxi_721420613.toFocus == null))) { + kxi_721420613.toFocus = result_721420614; } - if (!((n_687866179.style == null))) { - F.line = 230; - applyStyle_788529666(result_687866182, n_687866179.style); - F.line = 231; - n_687866179.styleVersion = (n_687866179.style.__version || 0); + if (!((n_721420611.style == null))) { + applyStyle_822084094(result_721420614, n_721420611.style); + n_721420611.styleVersion = (n_721420611.style.__version || 0); } }; - framePtr = F.prev; - return result_687866182; + return result_721420614; } -function replaceById_687866398(id_687866399, newTree_687866400) { - var F = {procname: "karax.replaceById", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - F.line = 257; - F.filename = "karax.nim"; - var x_687866401 = document.getElementById(id_687866399); - F.line = 258; - x_687866401.parentNode.replaceChild(newTree_687866400, x_687866401); - F.line = 259; - newTree_687866400.id = id_687866399; - framePtr = F.prev; +function replaceById_721420830(id_721420831, newTree_721420832) { + var x_721420833 = document.getElementById(id_721420831); + x_721420833.parentNode.replaceChild(newTree_721420832, x_721420833); + newTree_721420832.id = id_721420831; } -function len_721421105(x_721421106) { - var result_721421107 = 0; +function len_754975537(x_754975538) { + var result_754975539 = 0; - var F = {procname: "vdom.len", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/vdom.nim", line: 0}; - framePtr = F; - F.line = 298; - F.filename = "vdom.nim"; - result_721421107 = (x_721421106.kids).length; - framePtr = F.prev; + result_754975539 = (x_754975538.kids).length; - return result_721421107; + return result_754975539; } -function HEX5BHEX5D_721421112(x_721421113, idx_721421114) { - var result_721421115 = null; +function HEX5BHEX5D_754975544(x_754975545, idx_754975546) { + var result_754975547 = null; - var F = {procname: "vdom.[]", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/vdom.nim", line: 0}; - framePtr = F; - F.line = 299; - F.filename = "vdom.nim"; - result_721421115 = x_721421113.kids[chckIndx(idx_721421114, 0, (x_721421113.kids).length - 1)]; - framePtr = F.prev; + result_754975547 = x_754975545.kids[chckIndx(idx_754975546, 0, (x_754975545.kids).length - 1)]; - return result_721421115; + return result_754975547; } -function eq_788529410(a_788529411, b_788529412) { - var result_788529413 = false; +function eq_822083842(a_822083843, b_822083844) { + var result_822083845 = false; - var F = {procname: "vstyles.eq", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/vstyles.nim", line: 0}; - framePtr = F; BeforeRet: { - if ((a_788529411 == null)) { - if ((b_788529412 == null)) { - F.line = 236; - F.filename = "vstyles.nim"; - result_788529413 = true; + if ((a_822083843 == null)) { + if ((b_822083844 == null)) { + result_822083845 = true; break BeforeRet; } else { - F.line = 237; - result_788529413 = false; + result_822083845 = false; break BeforeRet; } } else { - if ((b_788529412 == null)) { - F.line = 238; - result_788529413 = false; + if ((b_822083844 == null)) { + result_822083845 = false; break BeforeRet; } } - if (!((a_788529411.length == b_788529412.length))) { - F.line = 239; - result_788529413 = false; + if (!((a_822083843.length == b_822083844.length))) { + result_822083845 = false; break BeforeRet; } Label1: { - F.line = 240; - var i_788529448 = 0; - F.line = 126; - F.filename = "iterators_1.nim"; - var colontmp__520100340 = 0; - F.line = 240; - F.filename = "vstyles.nim"; - colontmp__520100340 = a_788529411.length; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_520100341 = 0; + var i_822083880 = 0; + var colontmp__553654772 = 0; + colontmp__553654772 = a_822083843.length; + var i_553654773 = 0; Label2: { - F.line = 129; Label3: while (true) { - if (!(i_520100341 < colontmp__520100340)) break Label3; - F.line = 240; - F.filename = "vstyles.nim"; - i_788529448 = i_520100341; - if (!((a_788529411[i_788529448] == b_788529412[i_788529448]))) { - F.line = 241; - result_788529413 = false; + if (!(i_553654773 < colontmp__553654772)) break Label3; + i_822083880 = i_553654773; + if (!((a_822083843[i_822083880] == b_822083844[i_822083880]))) { + result_822083845 = false; break BeforeRet; } - F.line = 131; - F.filename = "iterators_1.nim"; - i_520100341 = addInt(i_520100341, 1); + i_553654773 = addInt(i_553654773, 1); } }; }; - F.line = 242; - F.filename = "vstyles.nim"; - result_788529413 = true; + result_822083845 = true; break BeforeRet; }; - framePtr = F.prev; - return result_788529413; + return result_822083845; } -function versionMatch_788529457(s_788529458, version_788529459) { - var result_788529460 = false; +function versionMatch_822083889(s_822083890, version_822083891) { + var result_822083892 = false; - var F = {procname: "vstyles.versionMatch", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/vstyles.nim", line: 0}; - framePtr = F; - F.line = 246; - F.filename = "vstyles.nim"; - result_788529460 = ((s_788529458 == null) || ((s_788529458.__version || 0) == version_788529459)); - framePtr = F.prev; + result_822083892 = ((s_822083890 == null) || ((s_822083890.__version || 0) == version_822083891)); - return result_788529460; + return result_822083892; } -function sameAttrs_721421285(a_721421286, b_721421287) { - var result_721421288 = false; +function sameAttrs_754975717(a_754975718, b_754975719) { + var result_754975720 = false; - var F = {procname: "vdom.sameAttrs", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/vdom.nim", line: 0}; - framePtr = F; BeforeRet: { - if (((a_721421286.attrs).length == (b_721421287.attrs).length)) { - F.line = 342; - F.filename = "vdom.nim"; - result_721421288 = true; + if (((a_754975718.attrs).length == (b_754975719.attrs).length)) { + result_754975720 = true; Label1: { - F.line = 343; - var i_721421302 = 0; - F.line = 126; - F.filename = "iterators_1.nim"; - var colontmp__520100344 = 0; - F.line = 343; - F.filename = "vdom.nim"; - colontmp__520100344 = (a_721421286.attrs).length; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_520100345 = 0; + var i_754975734 = 0; + var colontmp__553654776 = 0; + colontmp__553654776 = (a_754975718.attrs).length; + var i_553654777 = 0; Label2: { - F.line = 129; Label3: while (true) { - if (!(i_520100345 < colontmp__520100344)) break Label3; - F.line = 343; - F.filename = "vdom.nim"; - i_721421302 = i_520100345; - if (!((a_721421286.attrs[chckIndx(i_721421302, 0, (a_721421286.attrs).length - 1)] == b_721421287.attrs[chckIndx(i_721421302, 0, (b_721421287.attrs).length - 1)]))) { - F.line = 344; - result_721421288 = false; + if (!(i_553654777 < colontmp__553654776)) break Label3; + i_754975734 = i_553654777; + if (!((a_754975718.attrs[chckIndx(i_754975734, 0, (a_754975718.attrs).length - 1)] == b_754975719.attrs[chckIndx(i_754975734, 0, (b_754975719.attrs).length - 1)]))) { + result_754975720 = false; break BeforeRet; } - F.line = 131; - F.filename = "iterators_1.nim"; - i_520100345 = addInt(i_520100345, 1); + i_553654777 = addInt(i_553654777, 1); } }; }; } }; - framePtr = F.prev; - return result_721421288; + return result_754975720; } -function eq_687866411(a_687866412, b_687866413, recursive_687866414) { - var result_687866415 = 0; +function eq_721420843(a_721420844, b_721420845, recursive_721420846) { + var result_721420847 = 0; - var F = {procname: "karax.eq", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; BeforeRet: { - if (!((a_687866412.kind == b_687866413.kind))) { - F.line = 281; - F.filename = "karax.nim"; - result_687866415 = 1; + if (!((a_721420844.kind == b_721420845.kind))) { + result_721420847 = 1; break BeforeRet; } - if (!((a_687866412.id == b_687866413.id))) { - F.line = 284; - result_687866415 = 1; + if (!((a_721420844.id == b_721420845.id))) { + result_721420847 = 1; break BeforeRet; } - F.line = 285; - result_687866415 = 3; - if (!((a_687866412.index == b_687866413.index))) { - F.line = 288; - result_687866415 = 1; + result_721420847 = 3; + if (!((a_721420844.index == b_721420845.index))) { + result_721420847 = 1; break BeforeRet; } - if ((a_687866412.kind == 0)) { - if (!((a_687866412.text == b_687866413.text))) { - F.line = 292; - result_687866415 = 1; + if ((a_721420844.kind == 0)) { + if (!((a_721420844.text == b_721420845.text))) { + result_721420847 = 1; break BeforeRet; } } else { - if ((a_687866412.kind == 3)) { - if (!((a_687866412.text == b_687866413.text))) { - F.line = 294; - result_687866415 = 1; + if ((a_721420844.kind == 3)) { + if (!((a_721420844.text == b_721420845.text))) { + result_721420847 = 1; break BeforeRet; } - if (!((len_721421105(a_687866412) == len_721421105(b_687866413)))) { - F.line = 295; - result_687866415 = 1; + if (!((len_754975537(a_721420844) == len_754975537(b_721420845)))) { + result_721420847 = 1; break BeforeRet; } Label1: { - F.line = 296; - var i_687866432 = 0; - F.line = 126; - F.filename = "iterators_1.nim"; - var colontmp__520100332 = 0; - F.line = 296; - F.filename = "karax.nim"; - colontmp__520100332 = len_721421105(a_687866412); - F.line = 128; - F.filename = "iterators_1.nim"; - var i_520100333 = 0; + var i_721420864 = 0; + var colontmp__553654764 = 0; + colontmp__553654764 = len_754975537(a_721420844); + var i_553654765 = 0; Label2: { - F.line = 129; Label3: while (true) { - if (!(i_520100333 < colontmp__520100332)) break Label3; - F.line = 296; - F.filename = "karax.nim"; - i_687866432 = i_520100333; - if ((eq_687866411(HEX5BHEX5D_721421112(a_687866412, i_687866432), HEX5BHEX5D_721421112(b_687866413, i_687866432), recursive_687866414) == 1)) { - F.line = 297; - result_687866415 = 1; + if (!(i_553654765 < colontmp__553654764)) break Label3; + i_721420864 = i_553654765; + if ((eq_721420843(HEX5BHEX5D_754975544(a_721420844, i_721420864), HEX5BHEX5D_754975544(b_721420845, i_721420864), recursive_721420846) == 1)) { + result_721420847 = 1; break BeforeRet; } - F.line = 131; - F.filename = "iterators_1.nim"; - i_520100333 = addInt(i_520100333, 1); + i_553654765 = addInt(i_553654765, 1); } }; }; } else { - if ((a_687866412.kind == 4)) { - if ((a_687866412.dom == b_687866413.dom)) { - F.line = 300; - F.filename = "karax.nim"; - result_687866415 = 3; + if ((a_721420844.kind == 4)) { + if ((a_721420844.dom == b_721420845.dom)) { + result_721420847 = 3; break BeforeRet; } else { - F.line = 302; - result_687866415 = 1; + result_721420847 = 1; break BeforeRet; } } else { - if ((a_687866412.kind == 6)) { - if (!((a_687866412.text == b_687866413.text))) { - F.line = 305; - result_687866415 = 1; + if ((a_721420844.kind == 6)) { + if (!((a_721420844.text == b_721420845.text))) { + result_721420847 = 1; break BeforeRet; } } else { - if ((b_687866413.kind == 5)) { - if (!((a_687866412.text == b_687866413.text))) { - F.line = 310; - result_687866415 = 1; + if ((b_721420845.kind == 5)) { + if (!((a_721420844.text == b_721420845.text))) { + result_721420847 = 1; break BeforeRet; } - if (!((a_687866412.key == b_687866413.key))) { - F.line = 316; - result_687866415 = 1; + if (!((a_721420844.key == b_721420845.key))) { + result_721420847 = 1; break BeforeRet; } - F.line = 317; - result_687866415 = 0; + result_721420847 = 0; break BeforeRet; } }}}} - if (((!((a_687866412.class == b_687866413.class)) || !((eq_788529410(a_687866412.style, b_687866413.style) && versionMatch_788529457(a_687866412.style, b_687866413.styleVersion)))) || !(sameAttrs_721421285(a_687866412, b_687866413)))) { - F.line = 324; - result_687866415 = 2; + if (((!((a_721420844.class == b_721420845.class)) || !((eq_822083842(a_721420844.style, b_721420845.style) && versionMatch_822083889(a_721420844.style, b_721420845.styleVersion)))) || !(sameAttrs_754975717(a_721420844, b_721420845)))) { + result_721420847 = 2; break BeforeRet; } - if (recursive_687866414) { - if (!((len_721421105(a_687866412) == len_721421105(b_687866413)))) { - F.line = 328; - result_687866415 = 1; + if (recursive_721420846) { + if (!((len_754975537(a_721420844) == len_754975537(b_721420845)))) { + result_721420847 = 1; break BeforeRet; } Label4: { - F.line = 329; - var i_687866458 = 0; - F.line = 126; - F.filename = "iterators_1.nim"; - var colontmp__520100336 = 0; - F.line = 329; - F.filename = "karax.nim"; - colontmp__520100336 = len_721421105(a_687866412); - F.line = 128; - F.filename = "iterators_1.nim"; - var i_520100337 = 0; + var i_721420890 = 0; + var colontmp__553654768 = 0; + colontmp__553654768 = len_754975537(a_721420844); + var i_553654769 = 0; Label5: { - F.line = 129; Label6: while (true) { - if (!(i_520100337 < colontmp__520100336)) break Label6; - F.line = 329; - F.filename = "karax.nim"; - i_687866458 = i_520100337; - if (!((eq_687866411(HEX5BHEX5D_721421112(a_687866412, i_687866458), HEX5BHEX5D_721421112(b_687866413, i_687866458), true) == 3))) { - F.line = 331; - result_687866415 = 1; + if (!(i_553654769 < colontmp__553654768)) break Label6; + i_721420890 = i_553654769; + if (!((eq_721420843(HEX5BHEX5D_754975544(a_721420844, i_721420890), HEX5BHEX5D_754975544(b_721420845, i_721420890), true) == 3))) { + result_721420847 = 1; break BeforeRet; } - F.line = 131; - F.filename = "iterators_1.nim"; - i_520100337 = addInt(i_520100337, 1); + i_553654769 = addInt(i_553654769, 1); } }; }; } - F.line = 334; - F.filename = "karax.nim"; break BeforeRet; }; - framePtr = F.prev; - return result_687866415; + return result_721420847; } -function updateStyles_687866479(newNode_687866480, oldNode_687866481) { - var F = {procname: "karax.updateStyles", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - if (!((oldNode_687866481.dom == null))) { - if (!((newNode_687866480.style == null))) { - F.line = 340; - F.filename = "karax.nim"; - applyStyle_788529666(oldNode_687866481.dom, newNode_687866480.style); - F.line = 341; - newNode_687866480.styleVersion = (newNode_687866480.style.__version || 0); +function updateStyles_721420911(newNode_721420912, oldNode_721420913) { + if (!((oldNode_721420913.dom == null))) { + if (!((newNode_721420912.style == null))) { + applyStyle_822084094(oldNode_721420913.dom, newNode_721420912.style); + newNode_721420912.styleVersion = (newNode_721420912.style.__version || 0); } else { - F.line = 342; - oldNode_687866481.dom.style = {m_type: NTI805306510, alignContent: null, alignItems: null, alignSelf: null, all: null, animation: null, animationDelay: null, animationDirection: null, animationDuration: null, animationFillMode: null, animationIterationCount: null, animationName: null, animationPlayState: null, animationTimingFunction: null, backdropFilter: null, backfaceVisibility: null, background: null, backgroundAttachment: null, backgroundBlendMode: null, backgroundClip: null, backgroundColor: null, backgroundImage: null, backgroundOrigin: null, backgroundPosition: null, backgroundRepeat: null, backgroundSize: null, blockSize: null, border: null, borderBlock: null, borderBlockColor: null, borderBlockEnd: null, borderBlockEndColor: null, borderBlockEndStyle: null, borderBlockEndWidth: null, borderBlockStart: null, borderBlockStartColor: null, borderBlockStartStyle: null, borderBlockStartWidth: null, borderBlockStyle: null, borderBlockWidth: null, borderBottom: null, borderBottomColor: null, borderBottomLeftRadius: null, borderBottomRightRadius: null, borderBottomStyle: null, borderBottomWidth: null, borderCollapse: null, borderColor: null, borderEndEndRadius: null, borderEndStartRadius: null, borderImage: null, borderImageOutset: null, borderImageRepeat: null, borderImageSlice: null, borderImageSource: null, borderImageWidth: null, borderInline: null, borderInlineColor: null, borderInlineEnd: null, borderInlineEndColor: null, borderInlineEndStyle: null, borderInlineEndWidth: null, borderInlineStart: null, borderInlineStartColor: null, borderInlineStartStyle: null, borderInlineStartWidth: null, borderInlineStyle: null, borderInlineWidth: null, borderLeft: null, borderLeftColor: null, borderLeftStyle: null, borderLeftWidth: null, borderRadius: null, borderRight: null, borderRightColor: null, borderRightStyle: null, borderRightWidth: null, borderSpacing: null, borderStartEndRadius: null, borderStartStartRadius: null, borderStyle: null, borderTop: null, borderTopColor: null, borderTopLeftRadius: null, borderTopRightRadius: null, borderTopStyle: null, borderTopWidth: null, borderWidth: null, bottom: null, boxDecorationBreak: null, boxShadow: null, boxSizing: null, breakAfter: null, breakBefore: null, breakInside: null, captionSide: null, caretColor: null, clear: null, clip: null, clipPath: null, color: null, colorAdjust: null, columnCount: null, columnFill: null, columnGap: null, columnRule: null, columnRuleColor: null, columnRuleStyle: null, columnRuleWidth: null, columnSpan: null, columnWidth: null, columns: null, contain: null, content: null, counterIncrement: null, counterReset: null, counterSet: null, cursor: null, direction: null, display: null, emptyCells: null, filter: null, flex: null, flexBasis: null, flexDirection: null, flexFlow: null, flexGrow: null, flexShrink: null, flexWrap: null, cssFloat: null, font: null, fontFamily: null, fontFeatureSettings: null, fontKerning: null, fontLanguageOverride: null, fontOpticalSizing: null, fontSize: null, fontSizeAdjust: null, fontStretch: null, fontStyle: null, fontSynthesis: null, fontVariant: null, fontVariantAlternates: null, fontVariantCaps: null, fontVariantEastAsian: null, fontVariantLigatures: null, fontVariantNumeric: null, fontVariantPosition: null, fontVariationSettings: null, fontWeight: null, gap: null, grid: null, gridArea: null, gridAutoColumns: null, gridAutoFlow: null, gridAutoRows: null, gridColumn: null, gridColumnEnd: null, gridColumnStart: null, gridRow: null, gridRowEnd: null, gridRowStart: null, gridTemplate: null, gridTemplateAreas: null, gridTemplateColumns: null, gridTemplateRows: null, hangingPunctuation: null, height: null, hyphens: null, imageOrientation: null, imageRendering: null, inlineSize: null, inset: null, insetBlock: null, insetBlockEnd: null, insetBlockStart: null, insetInline: null, insetInlineEnd: null, insetInlineStart: null, isolation: null, justifyContent: null, justifyItems: null, justifySelf: null, left: null, letterSpacing: null, lineBreak: null, lineHeight: null, listStyle: null, listStyleImage: null, listStylePosition: null, listStyleType: null, margin: null, marginBlock: null, marginBlockEnd: null, marginBlockStart: null, marginBottom: null, marginInline: null, marginInlineEnd: null, marginInlineStart: null, marginLeft: null, marginRight: null, marginTop: null, mask: null, maskBorder: null, maskBorderMode: null, maskBorderOutset: null, maskBorderRepeat: null, maskBorderSlice: null, maskBorderSource: null, maskBorderWidth: null, maskClip: null, maskComposite: null, maskImage: null, maskMode: null, maskOrigin: null, maskPosition: null, maskRepeat: null, maskSize: null, maskType: null, maxBlockSize: null, maxHeight: null, maxInlineSize: null, maxWidth: null, minBlockSize: null, minHeight: null, minInlineSize: null, minWidth: null, mixBlendMode: null, objectFit: null, objectPosition: null, offset: null, offsetAnchor: null, offsetDistance: null, offsetPath: null, offsetRotate: null, opacity: null, order: null, orphans: null, outline: null, outlineColor: null, outlineOffset: null, outlineStyle: null, outlineWidth: null, overflow: null, overflowAnchor: null, overflowBlock: null, overflowInline: null, overflowWrap: null, overflowX: null, overflowY: null, overscrollBehavior: null, overscrollBehaviorBlock: null, overscrollBehaviorInline: null, overscrollBehaviorX: null, overscrollBehaviorY: null, padding: null, paddingBlock: null, paddingBlockEnd: null, paddingBlockStart: null, paddingBottom: null, paddingInline: null, paddingInlineEnd: null, paddingInlineStart: null, paddingLeft: null, paddingRight: null, paddingTop: null, pageBreakAfter: null, pageBreakBefore: null, pageBreakInside: null, paintOrder: null, perspective: null, perspectiveOrigin: null, placeContent: null, placeItems: null, placeSelf: null, pointerEvents: null, position: null, quotes: null, resize: null, right: null, rotate: null, rowGap: null, scale: null, scrollBehavior: null, scrollMargin: null, scrollMarginBlock: null, scrollMarginBlockEnd: null, scrollMarginBlockStart: null, scrollMarginBottom: null, scrollMarginInline: null, scrollMarginInlineEnd: null, scrollMarginInlineStart: null, scrollMarginLeft: null, scrollMarginRight: null, scrollMarginTop: null, scrollPadding: null, scrollPaddingBlock: null, scrollPaddingBlockEnd: null, scrollPaddingBlockStart: null, scrollPaddingBottom: null, scrollPaddingInline: null, scrollPaddingInlineEnd: null, scrollPaddingInlineStart: null, scrollPaddingLeft: null, scrollPaddingRight: null, scrollPaddingTop: null, scrollSnapAlign: null, scrollSnapStop: null, scrollSnapType: null, scrollbar3dLightColor: null, scrollbarArrowColor: null, scrollbarBaseColor: null, scrollbarColor: null, scrollbarDarkshadowColor: null, scrollbarFaceColor: null, scrollbarHighlightColor: null, scrollbarShadowColor: null, scrollbarTrackColor: null, scrollbarWidth: null, shapeImageThreshold: null, shapeMargin: null, shapeOutside: null, tabSize: null, tableLayout: null, textAlign: null, textAlignLast: null, textCombineUpright: null, textDecoration: null, textDecorationColor: null, textDecorationLine: null, textDecorationSkipInk: null, textDecorationStyle: null, textDecorationThickness: null, textEmphasis: null, textEmphasisColor: null, textEmphasisPosition: null, textEmphasisStyle: null, textIndent: null, textJustify: null, textOrientation: null, textOverflow: null, textRendering: null, textShadow: null, textTransform: null, textUnderlineOffset: null, textUnderlinePosition: null, top: null, touchAction: null, transform: null, transformBox: null, transformOrigin: null, transformStyle: null, transition: null, transitionDelay: null, transitionDuration: null, transitionProperty: null, transitionTimingFunction: null, translate: null, unicodeBidi: null, verticalAlign: null, visibility: null, whiteSpace: null, widows: null, width: null, willChange: null, wordBreak: null, wordSpacing: null, writingMode: null, zIndex: null}; + oldNode_721420913.dom.style = {m_type: NTI838860942, alignContent: null, alignItems: null, alignSelf: null, all: null, animation: null, animationDelay: null, animationDirection: null, animationDuration: null, animationFillMode: null, animationIterationCount: null, animationName: null, animationPlayState: null, animationTimingFunction: null, backdropFilter: null, backfaceVisibility: null, background: null, backgroundAttachment: null, backgroundBlendMode: null, backgroundClip: null, backgroundColor: null, backgroundImage: null, backgroundOrigin: null, backgroundPosition: null, backgroundRepeat: null, backgroundSize: null, blockSize: null, border: null, borderBlock: null, borderBlockColor: null, borderBlockEnd: null, borderBlockEndColor: null, borderBlockEndStyle: null, borderBlockEndWidth: null, borderBlockStart: null, borderBlockStartColor: null, borderBlockStartStyle: null, borderBlockStartWidth: null, borderBlockStyle: null, borderBlockWidth: null, borderBottom: null, borderBottomColor: null, borderBottomLeftRadius: null, borderBottomRightRadius: null, borderBottomStyle: null, borderBottomWidth: null, borderCollapse: null, borderColor: null, borderEndEndRadius: null, borderEndStartRadius: null, borderImage: null, borderImageOutset: null, borderImageRepeat: null, borderImageSlice: null, borderImageSource: null, borderImageWidth: null, borderInline: null, borderInlineColor: null, borderInlineEnd: null, borderInlineEndColor: null, borderInlineEndStyle: null, borderInlineEndWidth: null, borderInlineStart: null, borderInlineStartColor: null, borderInlineStartStyle: null, borderInlineStartWidth: null, borderInlineStyle: null, borderInlineWidth: null, borderLeft: null, borderLeftColor: null, borderLeftStyle: null, borderLeftWidth: null, borderRadius: null, borderRight: null, borderRightColor: null, borderRightStyle: null, borderRightWidth: null, borderSpacing: null, borderStartEndRadius: null, borderStartStartRadius: null, borderStyle: null, borderTop: null, borderTopColor: null, borderTopLeftRadius: null, borderTopRightRadius: null, borderTopStyle: null, borderTopWidth: null, borderWidth: null, bottom: null, boxDecorationBreak: null, boxShadow: null, boxSizing: null, breakAfter: null, breakBefore: null, breakInside: null, captionSide: null, caretColor: null, clear: null, clip: null, clipPath: null, color: null, colorAdjust: null, columnCount: null, columnFill: null, columnGap: null, columnRule: null, columnRuleColor: null, columnRuleStyle: null, columnRuleWidth: null, columnSpan: null, columnWidth: null, columns: null, contain: null, content: null, counterIncrement: null, counterReset: null, counterSet: null, cursor: null, direction: null, display: null, emptyCells: null, filter: null, flex: null, flexBasis: null, flexDirection: null, flexFlow: null, flexGrow: null, flexShrink: null, flexWrap: null, cssFloat: null, font: null, fontFamily: null, fontFeatureSettings: null, fontKerning: null, fontLanguageOverride: null, fontOpticalSizing: null, fontSize: null, fontSizeAdjust: null, fontStretch: null, fontStyle: null, fontSynthesis: null, fontVariant: null, fontVariantAlternates: null, fontVariantCaps: null, fontVariantEastAsian: null, fontVariantLigatures: null, fontVariantNumeric: null, fontVariantPosition: null, fontVariationSettings: null, fontWeight: null, gap: null, grid: null, gridArea: null, gridAutoColumns: null, gridAutoFlow: null, gridAutoRows: null, gridColumn: null, gridColumnEnd: null, gridColumnStart: null, gridRow: null, gridRowEnd: null, gridRowStart: null, gridTemplate: null, gridTemplateAreas: null, gridTemplateColumns: null, gridTemplateRows: null, hangingPunctuation: null, height: null, hyphens: null, imageOrientation: null, imageRendering: null, inlineSize: null, inset: null, insetBlock: null, insetBlockEnd: null, insetBlockStart: null, insetInline: null, insetInlineEnd: null, insetInlineStart: null, isolation: null, justifyContent: null, justifyItems: null, justifySelf: null, left: null, letterSpacing: null, lineBreak: null, lineHeight: null, listStyle: null, listStyleImage: null, listStylePosition: null, listStyleType: null, margin: null, marginBlock: null, marginBlockEnd: null, marginBlockStart: null, marginBottom: null, marginInline: null, marginInlineEnd: null, marginInlineStart: null, marginLeft: null, marginRight: null, marginTop: null, mask: null, maskBorder: null, maskBorderMode: null, maskBorderOutset: null, maskBorderRepeat: null, maskBorderSlice: null, maskBorderSource: null, maskBorderWidth: null, maskClip: null, maskComposite: null, maskImage: null, maskMode: null, maskOrigin: null, maskPosition: null, maskRepeat: null, maskSize: null, maskType: null, maxBlockSize: null, maxHeight: null, maxInlineSize: null, maxWidth: null, minBlockSize: null, minHeight: null, minInlineSize: null, minWidth: null, mixBlendMode: null, objectFit: null, objectPosition: null, offset: null, offsetAnchor: null, offsetDistance: null, offsetPath: null, offsetRotate: null, opacity: null, order: null, orphans: null, outline: null, outlineColor: null, outlineOffset: null, outlineStyle: null, outlineWidth: null, overflow: null, overflowAnchor: null, overflowBlock: null, overflowInline: null, overflowWrap: null, overflowX: null, overflowY: null, overscrollBehavior: null, overscrollBehaviorBlock: null, overscrollBehaviorInline: null, overscrollBehaviorX: null, overscrollBehaviorY: null, padding: null, paddingBlock: null, paddingBlockEnd: null, paddingBlockStart: null, paddingBottom: null, paddingInline: null, paddingInlineEnd: null, paddingInlineStart: null, paddingLeft: null, paddingRight: null, paddingTop: null, pageBreakAfter: null, pageBreakBefore: null, pageBreakInside: null, paintOrder: null, perspective: null, perspectiveOrigin: null, placeContent: null, placeItems: null, placeSelf: null, pointerEvents: null, position: null, quotes: null, resize: null, right: null, rotate: null, rowGap: null, scale: null, scrollBehavior: null, scrollMargin: null, scrollMarginBlock: null, scrollMarginBlockEnd: null, scrollMarginBlockStart: null, scrollMarginBottom: null, scrollMarginInline: null, scrollMarginInlineEnd: null, scrollMarginInlineStart: null, scrollMarginLeft: null, scrollMarginRight: null, scrollMarginTop: null, scrollPadding: null, scrollPaddingBlock: null, scrollPaddingBlockEnd: null, scrollPaddingBlockStart: null, scrollPaddingBottom: null, scrollPaddingInline: null, scrollPaddingInlineEnd: null, scrollPaddingInlineStart: null, scrollPaddingLeft: null, scrollPaddingRight: null, scrollPaddingTop: null, scrollSnapAlign: null, scrollSnapStop: null, scrollSnapType: null, scrollbar3dLightColor: null, scrollbarArrowColor: null, scrollbarBaseColor: null, scrollbarColor: null, scrollbarDarkshadowColor: null, scrollbarFaceColor: null, scrollbarHighlightColor: null, scrollbarShadowColor: null, scrollbarTrackColor: null, scrollbarWidth: null, shapeImageThreshold: null, shapeMargin: null, shapeOutside: null, tabSize: null, tableLayout: null, textAlign: null, textAlignLast: null, textCombineUpright: null, textDecoration: null, textDecorationColor: null, textDecorationLine: null, textDecorationSkipInk: null, textDecorationStyle: null, textDecorationThickness: null, textEmphasis: null, textEmphasisColor: null, textEmphasisPosition: null, textEmphasisStyle: null, textIndent: null, textJustify: null, textOrientation: null, textOverflow: null, textRendering: null, textShadow: null, textTransform: null, textUnderlineOffset: null, textUnderlinePosition: null, top: null, touchAction: null, transform: null, transformBox: null, transformOrigin: null, transformStyle: null, transition: null, transitionDelay: null, transitionDuration: null, transitionProperty: null, transitionTimingFunction: null, translate: null, unicodeBidi: null, verticalAlign: null, visibility: null, whiteSpace: null, widows: null, width: null, willChange: null, wordBreak: null, wordSpacing: null, writingMode: null, zIndex: null}; } - if ((ConstSet5[oldNode_687866481.kind] != undefined)) { - F.line = 344; - oldNode_687866481.dom.className.baseVal = newNode_687866480.class; + if ((ConstSet5[oldNode_721420913.kind] != undefined)) { + oldNode_721420913.dom.className.baseVal = newNode_721420912.class; } else { - F.line = 346; - oldNode_687866481.dom.className = newNode_687866480.class; + oldNode_721420913.dom.className = newNode_721420912.class; } } - F.line = 347; - oldNode_687866481.style = newNode_687866480.style; - F.line = 348; - oldNode_687866481.class = newNode_687866480.class; - framePtr = F.prev; + oldNode_721420913.style = newNode_721420912.style; + oldNode_721420913.class = newNode_721420912.class; } -function takeOverAttr_721421097(newNode_721421098, oldNode_721421099) { - var F = {procname: "vdom.takeOverAttr", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/vdom.nim", line: 0}; - framePtr = F; - F.line = 278; - F.filename = "vdom.nim"; - oldNode_721421099.attrs = newNode_721421098.attrs; - framePtr = F.prev; +function takeOverAttr_754975529(newNode_754975530, oldNode_754975531) { + oldNode_754975531.attrs = newNode_754975530.attrs; } -function updateAttributes_687866893(newNode_687866894, oldNode_687866895) { - var F = {procname: "karax.updateAttributes", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - if (!((oldNode_687866895.dom == null))) { +function updateAttributes_721421325(newNode_721421326, oldNode_721421327) { + if (!((oldNode_721421327.dom == null))) { Label1: { - F.line = 353; - F.filename = "karax.nim"; - var k_687866900 = null; - F.line = 353; - var __687866901 = null; + var k_721421332 = null; + var __721421333 = null; Label2: { - F.line = 337; - F.filename = "vdom.nim"; - var i_520100349 = 0; - F.line = 46; - F.filename = "iterators_1.nim"; - var colontmp__520100350 = 0; - F.line = 337; - F.filename = "vdom.nim"; - colontmp__520100350 = subInt((oldNode_687866895.attrs).length, 2); - F.line = 68; - F.filename = "iterators_1.nim"; - var res_520100351 = 0; + var i_553654781 = 0; + var colontmp__553654782 = 0; + colontmp__553654782 = subInt((oldNode_721421327.attrs).length, 2); + var res_553654783 = 0; Label3: { - F.line = 69; Label4: while (true) { - if (!(res_520100351 <= colontmp__520100350)) break Label4; - F.line = 337; - F.filename = "vdom.nim"; - i_520100349 = res_520100351; - F.line = 353; - F.filename = "karax.nim"; - k_687866900 = oldNode_687866895.attrs[chckIndx(i_520100349, 0, (oldNode_687866895.attrs).length - 1)]; - F.line = 353; - __687866901 = oldNode_687866895.attrs[chckIndx(addInt(i_520100349, 1), 0, (oldNode_687866895.attrs).length - 1)]; - F.line = 354; - oldNode_687866895.dom.removeAttribute(k_687866900); - F.line = 74; - F.filename = "iterators_1.nim"; - res_520100351 = addInt(res_520100351, 2); + if (!(res_553654783 <= colontmp__553654782)) break Label4; + i_553654781 = res_553654783; + k_721421332 = oldNode_721421327.attrs[chckIndx(i_553654781, 0, (oldNode_721421327.attrs).length - 1)]; + __721421333 = oldNode_721421327.attrs[chckIndx(addInt(i_553654781, 1), 0, (oldNode_721421327.attrs).length - 1)]; + oldNode_721421327.dom.removeAttribute(k_721421332); + res_553654783 = addInt(res_553654783, 2); } }; }; }; Label5: { - F.line = 355; - F.filename = "karax.nim"; - var k_687866902 = null; - F.line = 355; - var v_687866903 = null; + var k_721421334 = null; + var v_721421335 = null; Label6: { - F.line = 337; - F.filename = "vdom.nim"; - var i_520100355 = 0; - F.line = 46; - F.filename = "iterators_1.nim"; - var colontmp__520100356 = 0; - F.line = 337; - F.filename = "vdom.nim"; - colontmp__520100356 = subInt((newNode_687866894.attrs).length, 2); - F.line = 68; - F.filename = "iterators_1.nim"; - var res_520100357 = 0; + var i_553654787 = 0; + var colontmp__553654788 = 0; + colontmp__553654788 = subInt((newNode_721421326.attrs).length, 2); + var res_553654789 = 0; Label7: { - F.line = 69; Label8: while (true) { - if (!(res_520100357 <= colontmp__520100356)) break Label8; - F.line = 337; - F.filename = "vdom.nim"; - i_520100355 = res_520100357; - F.line = 355; - F.filename = "karax.nim"; - k_687866902 = newNode_687866894.attrs[chckIndx(i_520100355, 0, (newNode_687866894.attrs).length - 1)]; - F.line = 355; - v_687866903 = newNode_687866894.attrs[chckIndx(addInt(i_520100355, 1), 0, (newNode_687866894.attrs).length - 1)]; - if (!((v_687866903 == null))) { - F.line = 357; - oldNode_687866895.dom.setAttribute(k_687866902, v_687866903); + if (!(res_553654789 <= colontmp__553654788)) break Label8; + i_553654787 = res_553654789; + k_721421334 = newNode_721421326.attrs[chckIndx(i_553654787, 0, (newNode_721421326.attrs).length - 1)]; + v_721421335 = newNode_721421326.attrs[chckIndx(addInt(i_553654787, 1), 0, (newNode_721421326.attrs).length - 1)]; + if (!((v_721421335 == null))) { + oldNode_721421327.dom.setAttribute(k_721421334, v_721421335); } - F.line = 74; - F.filename = "iterators_1.nim"; - res_520100357 = addInt(res_520100357, 2); + res_553654789 = addInt(res_553654789, 2); } }; }; }; } - F.line = 358; - F.filename = "karax.nim"; - takeOverAttr_721421097(newNode_687866894, oldNode_687866895); - framePtr = F.prev; + takeOverAttr_754975529(newNode_721421326, oldNode_721421327); } -function getAttr_721421084(n_721421085, key_721421086) { - var result_721421087 = null; +function getAttr_754975516(n_754975517, key_754975518) { + var result_754975519 = null; - var F = {procname: "vdom.getAttr", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/vdom.nim", line: 0}; - framePtr = F; BeforeRet: { Label1: { - F.line = 271; - F.filename = "vdom.nim"; - var i_721421096 = 0; - F.line = 46; - F.filename = "iterators_1.nim"; - var colontmp__520100360 = 0; - F.line = 271; - F.filename = "vdom.nim"; - colontmp__520100360 = subInt((n_721421085.attrs).length, 2); - F.line = 68; - F.filename = "iterators_1.nim"; - var res_520100361 = 0; + var i_754975528 = 0; + var colontmp__553654792 = 0; + colontmp__553654792 = subInt((n_754975517.attrs).length, 2); + var res_553654793 = 0; Label2: { - F.line = 69; Label3: while (true) { - if (!(res_520100361 <= colontmp__520100360)) break Label3; - F.line = 271; - F.filename = "vdom.nim"; - i_721421096 = res_520100361; - if ((n_721421085.attrs[chckIndx(i_721421096, 0, (n_721421085.attrs).length - 1)] == key_721421086)) { - F.line = 272; - result_721421087 = n_721421085.attrs[chckIndx(addInt(i_721421096, 1), 0, (n_721421085.attrs).length - 1)]; + if (!(res_553654793 <= colontmp__553654792)) break Label3; + i_754975528 = res_553654793; + if ((n_754975517.attrs[chckIndx(i_754975528, 0, (n_754975517.attrs).length - 1)] == key_754975518)) { + result_754975519 = n_754975517.attrs[chckIndx(addInt(i_754975528, 1), 0, (n_754975517.attrs).length - 1)]; break BeforeRet; } - F.line = 74; - F.filename = "iterators_1.nim"; - res_520100361 = addInt(res_520100361, 2); + res_553654793 = addInt(res_553654793, 2); } }; }; }; - framePtr = F.prev; - return result_721421087; + return result_754975519; } -function removeAllEventHandlers_687865980(d_687865981) { - var F = {procname: "karax.removeAllEventHandlers", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - if (!((d_687865981.karaxEvents == null))) { +function removeAllEventHandlers_721420412(d_721420413) { + if (!((d_721420413.karaxEvents == null))) { Label1: { - F.line = 101; - F.filename = "karax.nim"; - var i_687865997 = 0; - F.line = 126; - F.filename = "iterators_1.nim"; - var colontmp__520100364 = 0; - F.line = 101; - F.filename = "karax.nim"; - colontmp__520100364 = d_687865981.karaxEvents.length; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_520100365 = 0; + var i_721420429 = 0; + var colontmp__553654796 = 0; + colontmp__553654796 = d_721420413.karaxEvents.length; + var i_553654797 = 0; Label2: { - F.line = 129; Label3: while (true) { - if (!(i_520100365 < colontmp__520100364)) break Label3; - F.line = 101; - F.filename = "karax.nim"; - i_687865997 = i_520100365; - F.line = 102; - d_687865981.removeEventListener(d_687865981.karaxEvents[i_687865997]["Field0"], d_687865981.karaxEvents[i_687865997]["Field1"]); - F.line = 131; - F.filename = "iterators_1.nim"; - i_520100365 = addInt(i_520100365, 1); + if (!(i_553654797 < colontmp__553654796)) break Label3; + i_721420429 = i_553654797; + d_721420413.removeEventListener(d_721420413.karaxEvents[i_721420429]["Field0"], d_721420413.karaxEvents[i_721420429]["Field1"]); + i_553654797 = addInt(i_553654797, 1); } }; }; } - framePtr = F.prev; } -function mergeEvents_687866904(newNode_687866905, oldNode_687866906, kxi_687866907) { - var F = {procname: "karax.mergeEvents", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - F.line = 361; - F.filename = "karax.nim"; - var d_687866908 = oldNode_687866906.dom; - if (!((d_687866908 == null))) { - F.line = 363; - removeAllEventHandlers_687865980(d_687866908); +function mergeEvents_721421336(newNode_721421337, oldNode_721421338, kxi_721421339) { + var d_721421340 = oldNode_721421338.dom; + if (!((d_721421340 == null))) { + removeAllEventHandlers_721420412(d_721421340); } - F.line = 371; - oldNode_687866906.events = newNode_687866905.events; - F.line = 372; - applyEvents_687866149(oldNode_687866906); - framePtr = F.prev; + oldNode_721421338.events = newNode_721421337.events; + applyEvents_721420581(oldNode_721421338); } -function addPatch_687866913(kxi_687866914, ka_687866915, parenta_687866916, currenta_687866917, na_687866918, oldNode_687866919) { - var F = {procname: "karax.addPatch", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - F.line = 389; - F.filename = "karax.nim"; - var L_687866920 = kxi_687866914.patchLen; - if (((kxi_687866914.patches).length <= L_687866920)) { - F.line = 392; - kxi_687866914.patches.push({k: ka_687866915, parent: parenta_687866916, current: currenta_687866917, newNode: na_687866918, oldNode: oldNode_687866919});; +function addPatch_721421345(kxi_721421346, ka_721421347, parenta_721421348, currenta_721421349, na_721421350, oldNode_721421351) { + var L_721421352 = kxi_721421346.patchLen; + if (((kxi_721421346.patches).length <= L_721421352)) { + kxi_721421346.patches.push({k: ka_721421347, parent: parenta_721421348, current: currenta_721421349, newNode: na_721421350, oldNode: oldNode_721421351});; } else { - F.line = 395; - kxi_687866914.patches[chckIndx(L_687866920, 0, (kxi_687866914.patches).length - 1)].k = ka_687866915; - F.line = 396; - kxi_687866914.patches[chckIndx(L_687866920, 0, (kxi_687866914.patches).length - 1)].parent = parenta_687866916; - F.line = 397; - kxi_687866914.patches[chckIndx(L_687866920, 0, (kxi_687866914.patches).length - 1)].current = currenta_687866917; - F.line = 398; - kxi_687866914.patches[chckIndx(L_687866920, 0, (kxi_687866914.patches).length - 1)].newNode = na_687866918; - F.line = 399; - kxi_687866914.patches[chckIndx(L_687866920, 0, (kxi_687866914.patches).length - 1)].oldNode = oldNode_687866919; + kxi_721421346.patches[chckIndx(L_721421352, 0, (kxi_721421346.patches).length - 1)].k = ka_721421347; + kxi_721421346.patches[chckIndx(L_721421352, 0, (kxi_721421346.patches).length - 1)].parent = parenta_721421348; + kxi_721421346.patches[chckIndx(L_721421352, 0, (kxi_721421346.patches).length - 1)].current = currenta_721421349; + kxi_721421346.patches[chckIndx(L_721421352, 0, (kxi_721421346.patches).length - 1)].newNode = na_721421350; + kxi_721421346.patches[chckIndx(L_721421352, 0, (kxi_721421346.patches).length - 1)].oldNode = oldNode_721421351; } - F.line = 400; - kxi_687866914.patchLen = addInt(kxi_687866914.patchLen, 1); - framePtr = F.prev; + kxi_721421346.patchLen = addInt(kxi_721421346.patchLen, 1); } -function diff_687867077(newNode_687867078, oldNode_687867079, parent_687867080, current_687867081, kxi_687867082) { +function diff_721421509(newNode_721421510, oldNode_721421511, parent_721421512, current_721421513, kxi_721421514) { var Temporary1; - var F = {procname: "karax.diff", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 492; - F.filename = "karax.nim"; - var result_687867083 = eq_687866411(newNode_687867078, oldNode_687867079, false); - F.line = 493; - switch (result_687867083) { + var result_721421515 = eq_721420843(newNode_721421510, oldNode_721421511, false); + switch (result_721421515) { case 0: - F.line = 495; - kxi_687867082.components.push({oldNode: oldNode_687867079, newNode: newNode_687867078, parent: parent_687867080, current: current_687867081});; + kxi_721421514.components.push({oldNode: oldNode_721421511, newNode: newNode_721421510, parent: parent_721421512, current: current_721421513});; break; case 3: case 2: - F.line = 500; - newNode_687867078.dom = oldNode_687867079.dom; - if ((result_687867083 == 2)) { - F.line = 502; - updateStyles_687866479(newNode_687867078, oldNode_687867079); - F.line = 503; - updateAttributes_687866893(newNode_687867078, oldNode_687867079); - if ((oldNode_687867079.kind == 0)) { - F.line = 506; - oldNode_687867079.text = newNode_687867078.text; - F.line = 507; - oldNode_687867079.dom.nodeValue = newNode_687867078.text; + newNode_721421510.dom = oldNode_721421511.dom; + if ((result_721421515 == 2)) { + updateStyles_721420911(newNode_721421510, oldNode_721421511); + updateAttributes_721421325(newNode_721421510, oldNode_721421511); + if ((oldNode_721421511.kind == 0)) { + oldNode_721421511.text = newNode_721421510.text; + oldNode_721421511.dom.nodeValue = newNode_721421510.text; } - if ((oldNode_687867079.kind == 194)) { - F.line = 511; - oldNode_687867079.dom.value = newNode_687867078.text; - F.line = 513; - var checked_687867100 = getAttr_721421084(newNode_687867078, "checked"); - F.line = 514; - if ((checked_687867100 == null)) { + if ((oldNode_721421511.kind == 194)) { + oldNode_721421511.dom.value = newNode_721421510.text; + var checked_721421532 = getAttr_754975516(newNode_721421510, "checked"); + if ((checked_721421532 == null)) { Temporary1 = false; } else { Temporary1 = true; } - oldNode_687867079.dom.checked = Temporary1; + oldNode_721421511.dom.checked = Temporary1; } } - if ((!(((newNode_687867078.events).length == 0)) || !(((oldNode_687867079.events).length == 0)))) { - F.line = 517; - mergeEvents_687866904(newNode_687867078, oldNode_687867079, kxi_687867082); + if ((!(((newNode_721421510.events).length == 0)) || !(((oldNode_721421511.events).length == 0)))) { + mergeEvents_721421336(newNode_721421510, oldNode_721421511, kxi_721421514); } - F.line = 519; - var newLength_687867107 = len_721421105(newNode_687867078); - F.line = 520; - var oldLength_687867108 = len_721421105(oldNode_687867079); - if (((newLength_687867107 == 0) && (oldLength_687867108 == 0))) { - F.line = 521; + var newLength_721421539 = len_754975537(newNode_721421510); + var oldLength_721421540 = len_754975537(oldNode_721421511); + if (((newLength_721421539 == 0) && (oldLength_721421540 == 0))) { break BeforeRet; } - F.line = 522; - var minLength_687867109 = nimMin(newLength_687867107, oldLength_687867108); - if (!((oldNode_687867079.kind == newNode_687867078.kind))) { - F.line = 524; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim(524, 5) `oldNode.kind == newNode.kind` ")); + var minLength_721421541 = nimMin(newLength_721421539, oldLength_721421540); + if (!((oldNode_721421511.kind == newNode_721421510.kind))) { + failedAssertImpl_268435541([107,97,114,97,120,46,110,105,109,40,53,50,52,44,32,53,41,32,96,111,108,100,78,111,100,101,46,107,105,110,100,32,61,61,32,110,101,119,78,111,100,101,46,107,105,110,100,96,32]); } - F.line = 525; - var commonPrefix_687867119 = 0; + var commonPrefix_721421551 = 0; Label2: { - F.line = 528; Label3: while (true) { - if (!(commonPrefix_687867119 < minLength_687867109)) break Label3; - if ((eq_687866411(HEX5BHEX5D_721421112(newNode_687867078, commonPrefix_687867119), HEX5BHEX5D_721421112(oldNode_687867079, commonPrefix_687867119), true) == 3)) { - F.line = 530; - addPatch_687866913(kxi_687867082, 5, null, null, HEX5BHEX5D_721421112(newNode_687867078, commonPrefix_687867119), HEX5BHEX5D_721421112(oldNode_687867079, commonPrefix_687867119)); - F.line = 531; - commonPrefix_687867119 = addInt(commonPrefix_687867119, 1); + if (!(commonPrefix_721421551 < minLength_721421541)) break Label3; + if ((eq_721420843(HEX5BHEX5D_754975544(newNode_721421510, commonPrefix_721421551), HEX5BHEX5D_754975544(oldNode_721421511, commonPrefix_721421551), true) == 3)) { + addPatch_721421345(kxi_721421514, 5, null, null, HEX5BHEX5D_754975544(newNode_721421510, commonPrefix_721421551), HEX5BHEX5D_754975544(oldNode_721421511, commonPrefix_721421551)); + commonPrefix_721421551 = addInt(commonPrefix_721421551, 1); } else { - F.line = 533; break Label2; } } }; - F.line = 536; - var oldPos_687867129 = subInt(oldLength_687867108, 1); - F.line = 537; - var newPos_687867130 = subInt(newLength_687867107, 1); + var oldPos_721421561 = subInt(oldLength_721421540, 1); + var newPos_721421562 = subInt(newLength_721421539, 1); Label4: { - F.line = 538; Label5: while (true) { - if (!((commonPrefix_687867119 <= oldPos_687867129) && (commonPrefix_687867119 <= newPos_687867130))) break Label5; - if ((eq_687866411(HEX5BHEX5D_721421112(newNode_687867078, newPos_687867130), HEX5BHEX5D_721421112(oldNode_687867079, oldPos_687867129), true) == 3)) { - F.line = 540; - addPatch_687866913(kxi_687867082, 5, null, null, HEX5BHEX5D_721421112(newNode_687867078, newPos_687867130), HEX5BHEX5D_721421112(oldNode_687867079, oldPos_687867129)); - F.line = 541; - oldPos_687867129 = subInt(oldPos_687867129, 1); - F.line = 542; - newPos_687867130 = subInt(newPos_687867130, 1); + if (!((commonPrefix_721421551 <= oldPos_721421561) && (commonPrefix_721421551 <= newPos_721421562))) break Label5; + if ((eq_721420843(HEX5BHEX5D_754975544(newNode_721421510, newPos_721421562), HEX5BHEX5D_754975544(oldNode_721421511, oldPos_721421561), true) == 3)) { + addPatch_721421345(kxi_721421514, 5, null, null, HEX5BHEX5D_754975544(newNode_721421510, newPos_721421562), HEX5BHEX5D_754975544(oldNode_721421511, oldPos_721421561)); + oldPos_721421561 = subInt(oldPos_721421561, 1); + newPos_721421562 = subInt(newPos_721421562, 1); } else { - F.line = 544; break Label4; } } }; - F.line = 546; - var pos_687867145 = addInt(nimMin(oldPos_687867129, newPos_687867130), 1); + var pos_721421577 = addInt(nimMin(oldPos_721421561, newPos_721421562), 1); Label6: { - F.line = 548; - var i_687867150 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__520100319 = 0; - F.line = 548; - F.filename = "karax.nim"; - colontmp__520100319 = subInt(pos_687867145, 1); - F.line = 96; - F.filename = "iterators_1.nim"; - var res_520100320 = commonPrefix_687867119; + var i_721421582 = 0; + var colontmp__553654751 = 0; + colontmp__553654751 = subInt(pos_721421577, 1); + var res_553654752 = commonPrefix_721421551; Label7: { - F.line = 97; Label8: while (true) { - if (!(res_520100320 <= colontmp__520100319)) break Label8; - F.line = 548; - F.filename = "karax.nim"; - i_687867150 = res_520100320; - F.line = 549; - diff_687867077(HEX5BHEX5D_721421112(newNode_687867078, i_687867150), HEX5BHEX5D_721421112(oldNode_687867079, i_687867150), current_687867081, HEX5BHEX5D_721421112(oldNode_687867079, i_687867150).dom, kxi_687867082); - F.line = 102; - F.filename = "iterators_1.nim"; - res_520100320 = addInt(res_520100320, 1); + if (!(res_553654752 <= colontmp__553654751)) break Label8; + i_721421582 = res_553654752; + diff_721421509(HEX5BHEX5D_754975544(newNode_721421510, i_721421582), HEX5BHEX5D_754975544(oldNode_721421511, i_721421582), current_721421513, HEX5BHEX5D_754975544(oldNode_721421511, i_721421582).dom, kxi_721421514); + res_553654752 = addInt(res_553654752, 1); } }; }; - if ((addInt(oldPos_687867129, 1) == oldLength_687867108)) { + if ((addInt(oldPos_721421561, 1) == oldLength_721421540)) { Label9: { - F.line = 552; - F.filename = "karax.nim"; - var i_687867155 = 0; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_520100323 = pos_687867145; + var i_721421587 = 0; + var res_553654755 = pos_721421577; Label10: { - F.line = 97; Label11: while (true) { - if (!(res_520100323 <= newPos_687867130)) break Label11; - F.line = 552; - F.filename = "karax.nim"; - i_687867155 = res_520100323; - F.line = 553; - addPatch_687866913(kxi_687867082, 2, current_687867081, null, HEX5BHEX5D_721421112(newNode_687867078, i_687867155), null); - F.line = 102; - F.filename = "iterators_1.nim"; - res_520100323 = addInt(res_520100323, 1); + if (!(res_553654755 <= newPos_721421562)) break Label11; + i_721421587 = res_553654755; + addPatch_721421345(kxi_721421514, 2, current_721421513, null, HEX5BHEX5D_754975544(newNode_721421510, i_721421587), null); + res_553654755 = addInt(res_553654755, 1); } }; }; } else { - F.line = 555; - F.filename = "karax.nim"; - var before_687867156 = current_687867081.childNodes[chckIndx(addInt(oldPos_687867129, 1), 0, (current_687867081.childNodes).length - 1)]; + var before_721421588 = current_721421513.childNodes[chckIndx(addInt(oldPos_721421561, 1), 0, (current_721421513.childNodes).length - 1)]; Label12: { - F.line = 556; - var i_687867161 = 0; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_520100326 = pos_687867145; + var i_721421593 = 0; + var res_553654758 = pos_721421577; Label13: { - F.line = 97; Label14: while (true) { - if (!(res_520100326 <= newPos_687867130)) break Label14; - F.line = 556; - F.filename = "karax.nim"; - i_687867161 = res_520100326; - F.line = 557; - addPatch_687866913(kxi_687867082, 3, current_687867081, before_687867156, HEX5BHEX5D_721421112(newNode_687867078, i_687867161), null); - F.line = 102; - F.filename = "iterators_1.nim"; - res_520100326 = addInt(res_520100326, 1); + if (!(res_553654758 <= newPos_721421562)) break Label14; + i_721421593 = res_553654758; + addPatch_721421345(kxi_721421514, 3, current_721421513, before_721421588, HEX5BHEX5D_754975544(newNode_721421510, i_721421593), null); + res_553654758 = addInt(res_553654758, 1); } }; }; } Label15: { - F.line = 559; - F.filename = "karax.nim"; - var i_687867166 = 0; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_520100329 = pos_687867145; + var i_721421598 = 0; + var res_553654761 = pos_721421577; Label16: { - F.line = 97; Label17: while (true) { - if (!(res_520100329 <= oldPos_687867129)) break Label17; - F.line = 559; - F.filename = "karax.nim"; - i_687867166 = res_520100329; - F.line = 560; - addPatch_687866913(kxi__, 4, null, null, null, HEX5BHEX5D_721421112(oldNode_687867079, i_687867166)); - F.line = 562; - addPatch_687866913(kxi_687867082, 1, current_687867081, current_687867081.childNodes[chckIndx(i_687867166, 0, (current_687867081.childNodes).length - 1)], null, null); - F.line = 102; - F.filename = "iterators_1.nim"; - res_520100329 = addInt(res_520100329, 1); + if (!(res_553654761 <= oldPos_721421561)) break Label17; + i_721421598 = res_553654761; + addPatch_721421345(kxi__, 4, null, null, null, HEX5BHEX5D_754975544(oldNode_721421511, i_721421598)); + addPatch_721421345(kxi_721421514, 1, current_721421513, current_721421513.childNodes[chckIndx(i_721421598, 0, (current_721421513.childNodes).length - 1)], null, null); + res_553654761 = addInt(res_553654761, 1); } }; }; break; case 1: - F.line = 564; - F.filename = "karax.nim"; - addPatch_687866913(kxi__, 4, null, null, null, oldNode_687867079); - F.line = 565; - addPatch_687866913(kxi_687867082, 0, parent_687867080, current_687867081, newNode_687867078, null); + addPatch_721421345(kxi__, 4, null, null, null, oldNode_721421511); + addPatch_721421345(kxi_721421514, 0, parent_721421512, current_721421513, newNode_721421510, null); break; case 4: if (true) { - F.line = 566; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim(566, 26) `false` eq returned usenewNode")); + failedAssertImpl_268435541([107,97,114,97,120,46,110,105,109,40,53,54,54,44,32,50,54,41,32,96,102,97,108,115,101,96,32,101,113,32,114,101,116,117,114,110,101,100,32,117,115,101,110,101,119,78,111,100,101]); } break; } }; - framePtr = F.prev; } -function applyComponents_687867191(kxi_687867192) { - var F = {procname: "karax.applyComponents", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - F.line = 574; - F.filename = "karax.nim"; - var i_687867193 = 0; +function applyComponents_721421623(kxi_721421624) { + var i_721421625 = 0; Label1: { - F.line = 577; Label2: while (true) { - if (!(i_687867193 < (kxi_687867192.components).length)) break Label2; - F.line = 578; - var x_687867198 = kxi_687867192.components[chckIndx(i_687867193, 0, (kxi_687867192.components).length - 1)].oldNode; - F.line = 579; - var newNode_687867199 = kxi_687867192.components[chckIndx(i_687867193, 0, (kxi_687867192.components).length - 1)].newNode; - if ((!((x_687867198.changedImpl == null)) && x_687867198.changedImpl(x_687867198, newNode_687867199))) { - F.line = 585; - var current_687867204 = kxi_687867192.components[chckIndx(i_687867193, 0, (kxi_687867192.components).length - 1)].current; - F.line = 586; - var parent_687867205 = kxi_687867192.components[chckIndx(i_687867193, 0, (kxi_687867192.components).length - 1)].parent; - F.line = 587; - x_687867198.updatedImpl(x_687867198, newNode_687867199); - F.line = 588; - var oldExpanded_687867206 = x_687867198.expanded; - F.line = 589; - x_687867198.expanded = x_687867198.renderImpl(x_687867198); - F.line = 592; - x_687867198.renderedVersion = x_687867198.version; - if ((oldExpanded_687867206 == null)) { - F.line = 594; - addPatch_687866913(kxi__, 4, null, null, null, x_687867198); - F.line = 595; - addPatch_687866913(kxi_687867192, 0, parent_687867205, current_687867204, x_687867198.expanded, null); + if (!(i_721421625 < (kxi_721421624.components).length)) break Label2; + var x_721421630 = kxi_721421624.components[chckIndx(i_721421625, 0, (kxi_721421624.components).length - 1)].oldNode; + var newNode_721421631 = kxi_721421624.components[chckIndx(i_721421625, 0, (kxi_721421624.components).length - 1)].newNode; + if ((!((x_721421630.changedImpl == null)) && x_721421630.changedImpl(x_721421630, newNode_721421631))) { + var current_721421636 = kxi_721421624.components[chckIndx(i_721421625, 0, (kxi_721421624.components).length - 1)].current; + var parent_721421637 = kxi_721421624.components[chckIndx(i_721421625, 0, (kxi_721421624.components).length - 1)].parent; + x_721421630.updatedImpl(x_721421630, newNode_721421631); + var oldExpanded_721421638 = x_721421630.expanded; + x_721421630.expanded = x_721421630.renderImpl(x_721421630); + x_721421630.renderedVersion = x_721421630.version; + if ((oldExpanded_721421638 == null)) { + addPatch_721421345(kxi__, 4, null, null, null, x_721421630); + addPatch_721421345(kxi_721421624, 0, parent_721421637, current_721421636, x_721421630.expanded, null); } else { - F.line = 599; - diff_687867077(x_687867198.expanded, oldExpanded_687867206, parent_687867205, current_687867204, kxi_687867192); + diff_721421509(x_721421630.expanded, oldExpanded_721421638, parent_721421637, current_721421636, kxi_721421624); } } - F.line = 614; - i_687867193 = addInt(i_687867193, 1); + i_721421625 = addInt(i_721421625, 1); } }; - F.line = 615; - if (kxi_687867192.components.length < 0) { for (var i = kxi_687867192.components.length ; i < 0 ; ++i) kxi_687867192.components.push(({oldNode: null, newNode: null, parent: null, current: null})); } - else { kxi_687867192.components.length = 0; }; - framePtr = F.prev; + if (kxi_721421624.components.length < 0) { for (var i = kxi_721421624.components.length ; i < 0 ; ++i) kxi_721421624.components.push(({oldNode: null, newNode: null, parent: null, current: null})); } + else { kxi_721421624.components.length = 0; }; } -function reapplyEvents_687866160(n_687866161) { - var F = {procname: "karax.reapplyEvents", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - F.line = 155; - F.filename = "karax.nim"; - removeAllEventHandlers_687865980(n_687866161.dom); - F.line = 156; - applyEvents_687866149(n_687866161); - framePtr = F.prev; +function reapplyEvents_721420592(n_721420593) { + removeAllEventHandlers_721420412(n_721420593.dom); + applyEvents_721420581(n_721420593); } -function moveDom_687867007(dest_687867008, src_687867009) { - var F = {procname: "karax.moveDom", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - F.line = 414; - F.filename = "karax.nim"; - dest_687867008.dom = src_687867009.dom; - F.line = 415; - src_687867009.dom = null; - F.line = 416; - reapplyEvents_687866160(dest_687867008); - if (!((dest_687867008.id == null))) { - F.line = 418; - kxi__.byId[dest_687867008.id] = dest_687867008; +function moveDom_721421439(dest_721421440, src_721421441) { + dest_721421440.dom = src_721421441.dom; + src_721421441.dom = null; + reapplyEvents_721420592(dest_721421440); + if (!((dest_721421440.id == null))) { + kxi__.byId[dest_721421440.id] = dest_721421440; } - if (!((len_721421105(dest_687867008) == len_721421105(src_687867009)))) { - F.line = 419; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim(419, 3) `dest.len == src.len` ")); + if (!((len_754975537(dest_721421440) == len_754975537(src_721421441)))) { + failedAssertImpl_268435541([107,97,114,97,120,46,110,105,109,40,52,49,57,44,32,51,41,32,96,100,101,115,116,46,108,101,110,32,61,61,32,115,114,99,46,108,101,110,96,32]); } Label1: { - F.line = 420; - var i_687867025 = 0; - F.line = 126; - F.filename = "iterators_1.nim"; - var colontmp__520100375 = 0; - F.line = 420; - F.filename = "karax.nim"; - colontmp__520100375 = len_721421105(dest_687867008); - F.line = 128; - F.filename = "iterators_1.nim"; - var i_520100376 = 0; + var i_721421457 = 0; + var colontmp__553654807 = 0; + colontmp__553654807 = len_754975537(dest_721421440); + var i_553654808 = 0; Label2: { - F.line = 129; Label3: while (true) { - if (!(i_520100376 < colontmp__520100375)) break Label3; - F.line = 420; - F.filename = "karax.nim"; - i_687867025 = i_520100376; - F.line = 421; - moveDom_687867007(HEX5BHEX5D_721421112(dest_687867008, i_687867025), HEX5BHEX5D_721421112(src_687867009, i_687867025)); - F.line = 131; - F.filename = "iterators_1.nim"; - i_520100376 = addInt(i_520100376, 1); + if (!(i_553654808 < colontmp__553654807)) break Label3; + i_721421457 = i_553654808; + moveDom_721421439(HEX5BHEX5D_754975544(dest_721421440, i_721421457), HEX5BHEX5D_754975544(src_721421441, i_721421457)); + i_553654808 = addInt(i_553654808, 1); } }; }; - framePtr = F.prev; } -function HEX5BHEX5DHEX3D_721421116(x_721421117, idx_721421118, y_721421119) { - var F = {procname: "vdom.[]=", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/vdom.nim", line: 0}; - framePtr = F; - F.line = 300; - F.filename = "vdom.nim"; - x_721421117.kids[chckIndx(idx_721421118, 0, (x_721421117.kids).length - 1)] = y_721421119; - framePtr = F.prev; +function HEX5BHEX5DHEX3D_754975548(x_754975549, idx_754975550, y_754975551) { + x_754975549.kids[chckIndx(idx_754975550, 0, (x_754975549.kids).length - 1)] = y_754975551; } -function applyPatch_687867026(kxi_687867027) { - var F = {procname: "karax.applyPatch", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; +function applyPatch_721421458(kxi_721421459) { Label1: { - F.line = 424; - F.filename = "karax.nim"; - var i_687867032 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_520100369 = 0; + var i_721421464 = 0; + var i_553654801 = 0; Label2: { - F.line = 129; Label3: while (true) { - if (!(i_520100369 < kxi_687867027.patchLen)) break Label3; - F.line = 424; - F.filename = "karax.nim"; - i_687867032 = i_520100369; - F.line = 425; - var p_687867033 = nimCopy(null, kxi_687867027.patches[chckIndx(i_687867032, 0, (kxi_687867027.patches).length - 1)], NTI687865864); - F.line = 426; - switch (p_687867033.k) { + if (!(i_553654801 < kxi_721421459.patchLen)) break Label3; + i_721421464 = i_553654801; + var p_721421465 = nimCopy(null, kxi_721421459.patches[chckIndx(i_721421464, 0, (kxi_721421459.patches).length - 1)], NTI721420296); + switch (p_721421465.k) { case 0: - F.line = 428; - var nn_687867034 = toDom_687866178(p_687867033.newNode, true, kxi_687867027); - if ((p_687867033.parent == null)) { - F.line = 430; - replaceById_687866398(kxi_687867027.rootId, nn_687867034); + var nn_721421466 = toDom_721420610(p_721421465.newNode, true, kxi_721421459); + if ((p_721421465.parent == null)) { + replaceById_721420830(kxi_721421459.rootId, nn_721421466); } else { - if ((p_687867033.current.parentNode == p_687867033.parent)) { - F.line = 433; - p_687867033.parent.replaceChild(nn_687867034, p_687867033.current); + if ((p_721421465.current.parentNode == p_721421465.parent)) { + p_721421465.parent.replaceChild(nn_721421466, p_721421465.current); } else { - F.line = 435; - p_687867033.parent.appendChild(nn_687867034); + p_721421465.parent.appendChild(nn_721421466); } } break; case 5: - F.line = 437; - moveDom_687867007(p_687867033.newNode, p_687867033.oldNode); + moveDom_721421439(p_721421465.newNode, p_721421465.oldNode); break; case 1: - F.line = 439; - p_687867033.parent.removeChild(p_687867033.current); + p_721421465.parent.removeChild(p_721421465.current); break; case 2: - F.line = 441; - var nn_687867043 = toDom_687866178(p_687867033.newNode, true, kxi_687867027); - F.line = 442; - p_687867033.parent.appendChild(nn_687867043); + var nn_721421475 = toDom_721420610(p_721421465.newNode, true, kxi_721421459); + p_721421465.parent.appendChild(nn_721421475); break; case 3: - F.line = 444; - var nn_687867044 = toDom_687866178(p_687867033.newNode, true, kxi_687867027); - F.line = 445; - p_687867033.parent.insertBefore(nn_687867044, p_687867033.current); + var nn_721421476 = toDom_721420610(p_721421465.newNode, true, kxi_721421459); + p_721421465.parent.insertBefore(nn_721421476, p_721421465.current); break; case 4: - F.line = 447; - var n_687867045 = p_687867033.oldNode; - if (!((n_687867045.id == null))) { - F.line = 448; - delete kxi_687867027.byId[n_687867045.id]; + var n_721421477 = p_721421465.oldNode; + if (!((n_721421477.id == null))) { + delete kxi_721421459.byId[n_721421477.id]; } - if ((n_687867045.kind == 5)) { - F.line = 450; - var x_687867055 = n_687867045; - if (!((x_687867055.onDetachImpl == null))) { - F.line = 451; - x_687867055.onDetachImpl(x_687867055); + if ((n_721421477.kind == 5)) { + var x_721421487 = n_721421477; + if (!((x_721421487.onDetachImpl == null))) { + x_721421487.onDetachImpl(x_721421487); } } - if (!(kxi_687867027.surpressRedraws)) { - F.line = 453; - n_687867045.dom = null; + if (!(kxi_721421459.surpressRedraws)) { + n_721421477.dom = null; } break; } - F.line = 131; - F.filename = "iterators_1.nim"; - i_520100369 = addInt(i_520100369, 1); + i_553654801 = addInt(i_553654801, 1); } }; }; - F.line = 454; - F.filename = "karax.nim"; - kxi_687867027.patchLen = 0; + kxi_721421459.patchLen = 0; Label4: { - F.line = 455; - var i_687867064 = 0; - F.line = 128; - F.filename = "iterators_1.nim"; - var i_520100372 = 0; + var i_721421496 = 0; + var i_553654804 = 0; Label5: { - F.line = 129; Label6: while (true) { - if (!(i_520100372 < kxi_687867027.patchLenV)) break Label6; - F.line = 455; - F.filename = "karax.nim"; - i_687867064 = i_520100372; - F.line = 456; - var p_687867065 = nimCopy(null, kxi_687867027.patchesV[chckIndx(i_687867064, 0, (kxi_687867027.patchesV).length - 1)], NTI687865865); - F.line = 457; - HEX5BHEX5DHEX3D_721421116(p_687867065.parent, p_687867065.pos, p_687867065.newChild); - if (!(!((p_687867065.newChild.dom == null)))) { - F.line = 458; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim(458, 5) `p.newChild.dom != nil` ")); + if (!(i_553654804 < kxi_721421459.patchLenV)) break Label6; + i_721421496 = i_553654804; + var p_721421497 = nimCopy(null, kxi_721421459.patchesV[chckIndx(i_721421496, 0, (kxi_721421459.patchesV).length - 1)], NTI721420297); + HEX5BHEX5DHEX3D_754975548(p_721421497.parent, p_721421497.pos, p_721421497.newChild); + if (!(!((p_721421497.newChild.dom == null)))) { + failedAssertImpl_268435541([107,97,114,97,120,46,110,105,109,40,52,53,56,44,32,53,41,32,96,112,46,110,101,119,67,104,105,108,100,46,100,111,109,32,33,61,32,110,105,108,96,32]); } - F.line = 131; - F.filename = "iterators_1.nim"; - i_520100372 = addInt(i_520100372, 1); + i_553654804 = addInt(i_553654804, 1); } }; }; - F.line = 459; - F.filename = "karax.nim"; - kxi_687867027.patchLenV = 0; - framePtr = F.prev; + kxi_721421459.patchLenV = 0; } -function dodraw_687867280(kxi_687867281) { +function dodraw_721421712(kxi_721421713) { -function HEX3Aanonymous_687867285() { - var F = {procname: "dodraw.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - F.line = 681; - F.filename = "karax.nim"; - dodraw_687867280(kxi_687867281); - framePtr = F.prev; +function HEX3Aanonymous_721421717() { + dodraw_721421712(kxi_721421713); } - var F = {procname: "karax.dodraw", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; BeforeRet: { - if ((kxi_687867281.renderer == null)) { - F.line = 676; - F.filename = "karax.nim"; + if ((kxi_721421713.renderer == null)) { break BeforeRet; } - F.line = 677; - kxi_687867281.renderId = 0; - if (kxi_687867281.rendering) { - F.line = 681; - kxi_687867281.renderId = window.requestAnimationFrame(HEX3Aanonymous_687867285); - F.line = 682; + kxi_721421713.renderId = 0; + if (kxi_721421713.rendering) { + kxi_721421713.renderId = window.requestAnimationFrame(HEX3Aanonymous_721421717); break BeforeRet; } - F.line = 684; - kxi_687867281.rendering = true; - F.line = 686; - var rdata_687867286 = {hashPart: null, queryString: null}; + kxi_721421713.rendering = true; + var rdata_721421718 = {hashPart: null, queryString: null}; if ((window.location.hash.indexOf("?")>=0)) { - F.line = 688; - var hashSplit_687867287 = window.location.hash.split("?"); - F.line = 689; - rdata_687867286.hashPart = hashSplit_687867287[chckIndx(0, 0, (hashSplit_687867287).length - 1)]; - F.line = 690; - rdata_687867286.queryString = (HEX5BHEX5D_687867297(hashSplit_687867287, HEX2EHEX2E_1006633065(1, 1)).join("?")); + var hashSplit_721421719 = window.location.hash.split("?"); + rdata_721421718.hashPart = hashSplit_721421719[chckIndx(0, 0, (hashSplit_721421719).length - 1)]; + rdata_721421718.queryString = (HEX5BHEX5D_721421729(hashSplit_721421719, HEX2EHEX2E_1090519145(1, 1)).join("?")); } else { - F.line = 692; - rdata_687867286.hashPart = window.location.hash; - F.line = 693; - rdata_687867286.queryString = window.location.search; - } - - F.line = 695; - var newtree_687867321 = kxi_687867281.renderer(rdata_687867286); - F.line = 696; - kxi_687867281.runCount = addInt(kxi_687867281.runCount, 1); - F.line = 697; - newtree_687867321.id = kxi_687867281.rootId; - F.line = 698; - kxi_687867281.toFocus = null; - if ((kxi_687867281.currentTree == null)) { - F.line = 700; - var asdom_687867331 = toDom_687866178(newtree_687867321, true, kxi_687867281); - F.line = 701; - replaceById_687866398(kxi_687867281.rootId, asdom_687867331); + rdata_721421718.hashPart = window.location.hash; + rdata_721421718.queryString = window.location.search; + } + + var newtree_721421753 = kxi_721421713.renderer(rdata_721421718); + kxi_721421713.runCount = addInt(kxi_721421713.runCount, 1); + newtree_721421753.id = kxi_721421713.rootId; + kxi_721421713.toFocus = null; + if ((kxi_721421713.currentTree == null)) { + var asdom_721421763 = toDom_721420610(newtree_721421753, true, kxi_721421713); + replaceById_721420830(kxi_721421713.rootId, asdom_721421763); } else { - F.line = 705; - var olddom_687867332 = document.getElementById(kxi_687867281.rootId); - F.line = 706; - diff_687867077(newtree_687867321, kxi_687867281.currentTree, null, olddom_687867332, kxi_687867281); + var olddom_721421764 = document.getElementById(kxi_721421713.rootId); + diff_721421509(newtree_721421753, kxi_721421713.currentTree, null, olddom_721421764, kxi_721421713); } - F.line = 710; - applyComponents_687867191(kxi_687867281); - F.line = 715; - applyPatch_687867026(kxi_687867281); - F.line = 716; - kxi_687867281.currentTree = newtree_687867321; - if (!((kxi_687867281.postRenderCallback == null))) { - F.line = 721; - kxi_687867281.postRenderCallback(rdata_687867286); + applyComponents_721421623(kxi_721421713); + applyPatch_721421458(kxi_721421713); + kxi_721421713.currentTree = newtree_721421753; + if (!((kxi_721421713.postRenderCallback == null))) { + kxi_721421713.postRenderCallback(rdata_721421718); } - if (!((kxi_687867281.toFocus == null))) { - F.line = 725; - kxi_687867281.toFocus.focus(); + if (!((kxi_721421713.toFocus == null))) { + kxi_721421713.toFocus.focus(); } - F.line = 726; - kxi_687867281.rendering = false; + kxi_721421713.rendering = false; }; - framePtr = F.prev; } -function redraw_687867377(kxi_687867378) { +function redraw_721421809(kxi_721421810) { -function HEX3Aanonymous_687867379() { - var F = {procname: "redraw.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - F.line = 740; - F.filename = "karax.nim"; - dodraw_687867280(kxi_687867378); - framePtr = F.prev; +function HEX3Aanonymous_721421811() { + dodraw_721421712(kxi_721421810); } - var F = {procname: "karax.redraw", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - if ((kxi_687867378.renderId == 0)) { - F.line = 740; - F.filename = "karax.nim"; - kxi_687867378.renderId = window.requestAnimationFrame(HEX3Aanonymous_687867379); + if ((kxi_721421810.renderId == 0)) { + kxi_721421810.renderId = window.requestAnimationFrame(HEX3Aanonymous_721421811); } - framePtr = F.prev; } -function resize_520093923() { - var F = {procname: "main.resize", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/main.nim", line: 0}; - framePtr = F; - F.line = 147; - F.filename = "main.nim"; - screenWidth_520093858[0] = window.innerWidth; - F.line = 148; - redraw_687867377(kxi__); - framePtr = F.prev; +function resize_553648355() { + screenWidth_553648290[0] = window.innerWidth; + redraw_721421809(kxi__); } -function len_520094543(t_520094546) { - var result_520094547 = 0; +function len_553648975(t_553648978) { + var result_553648979 = 0; - var F = {procname: "len.len", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/tables.nim", line: 0}; - framePtr = F; - F.line = 486; - F.filename = "tables.nim"; - result_520094547 = t_520094546.counter; - framePtr = F.prev; + result_553648979 = t_553648978.counter; - return result_520094547; + return result_553648979; } -function HEX24_520094498(t_520094501) { - var result_520094502 = [[]]; +function HEX24_553648930(t_553648933) { + var result_553648934 = [[]]; - var F = {procname: "$.$", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/tables.nim", line: 0}; - framePtr = F; - if ((len_520094543(t_520094501) == 0)) { - F.line = 195; - F.filename = "tableimpl.nim"; - result_520094502[0] = nimCopy(null, [123,58,125], NTI33554449); + if ((len_553648975(t_553648933) == 0)) { + result_553648934[0] = nimCopy(null, [123,58,125], NTI33554449); } else { - F.line = 197; - result_520094502[0] = nimCopy(null, [123], NTI33554449); + result_553648934[0] = nimCopy(null, [123], NTI33554449); Label1: { - F.line = 198; - var key_520094801 = []; - F.line = 198; - var val_520094802 = 0; - F.line = 695; - F.filename = "tables.nim"; - var L_520100394 = len_520094543(t_520094501); + var key_553649233 = []; + var val_553649234 = 0; + var L_553654826 = len_553648975(t_553648933); Label2: { - F.line = 696; - var h_520100396 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__520100397 = 0; - F.line = 696; - F.filename = "tables.nim"; - colontmp__520100397 = (t_520094501.data).length - 1; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_520100398 = 0; + var h_553654828 = 0; + var colontmp__553654829 = 0; + colontmp__553654829 = (t_553648933.data).length - 1; + var res_553654830 = 0; Label3: { - F.line = 97; Label4: while (true) { - if (!(res_520100398 <= colontmp__520100397)) break Label4; - F.line = 696; - F.filename = "tables.nim"; - h_520100396 = res_520100398; - if (isFilled_1107296287(t_520094501.data[chckIndx(h_520100396, 0, (t_520094501.data).length - 1)].Field0)) { - F.line = 198; - F.filename = "tableimpl.nim"; - key_520094801 = t_520094501.data[chckIndx(h_520100396, 0, (t_520094501.data).length - 1)].Field1; - F.line = 198; - val_520094802 = t_520094501.data[chckIndx(h_520100396, 0, (t_520094501.data).length - 1)].Field2; - if ((1 < (result_520094502[0]).length)) { - F.line = 199; - result_520094502[0].push.apply(result_520094502[0], [44,32]);; + if (!(res_553654830 <= colontmp__553654829)) break Label4; + h_553654828 = res_553654830; + if (isFilled_1291845663(t_553648933.data[chckIndx(h_553654828, 0, (t_553648933.data).length - 1)].Field0)) { + key_553649233 = t_553648933.data[chckIndx(h_553654828, 0, (t_553648933.data).length - 1)].Field1; + val_553649234 = t_553648933.data[chckIndx(h_553654828, 0, (t_553648933.data).length - 1)].Field2; + if ((1 < (result_553648934[0]).length)) { + result_553648934[0].push.apply(result_553648934[0], [44,32]);; } - F.line = 200; - addQuoted_1493176842(result_520094502, 0, key_520094801); - F.line = 201; - result_520094502[0].push.apply(result_520094502[0], [58,32]);; - F.line = 202; - addQuoted_838862213(result_520094502, 0, val_520094802); - if (!((len_520094543(t_520094501) == L_520100394))) { - F.line = 699; - F.filename = "tables.nim"; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/tables.nim(699, 13) `len(t) == L` the length of the table changed while iterating over it")); + addQuoted_1845498401(result_553648934, 0, key_553649233); + result_553648934[0].push.apply(result_553648934[0], [58,32]);; + addQuoted_889193861(result_553648934, 0, val_553649234); + if (!((len_553648975(t_553648933) == L_553654826))) { + failedAssertImpl_268435541(makeNimstrLit("tables.nim(699, 13) `len(t) == L` the length of the table changed while iterating over it")); } } - F.line = 102; - F.filename = "iterators_1.nim"; - res_520100398 = addInt(res_520100398, 1); + res_553654830 = addInt(res_553654830, 1); } }; }; }; - F.line = 203; - F.filename = "tableimpl.nim"; - result_520094502[0].push.apply(result_520094502[0], [125]);; + result_553648934[0].push.apply(result_553648934[0], [125]);; } - framePtr = F.prev; - return result_520094502[0]; + return result_553648934[0]; } -function len_520094855(t_520094858) { - var result_520094859 = 0; +function len_553649287(t_553649290) { + var result_553649291 = 0; - var F = {procname: "len.len", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/tables.nim", line: 0}; - framePtr = F; - F.line = 486; - F.filename = "tables.nim"; - result_520094859 = t_520094858.counter; - framePtr = F.prev; + result_553649291 = t_553649290.counter; - return result_520094859; + return result_553649291; } -function rawGet_520095110(t_520095113, key_520095114, hc_520095115, hc_520095115_Idx) { - var result_520095116 = 0; +function rawGet_553649542(t_553649545, key_553649546, hc_553649547, hc_553649547_Idx) { + var result_553649548 = 0; - var F = {procname: "rawGet.rawGet", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/hashcommon.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 59; - F.filename = "hashcommon.nim"; - hc_520095115[hc_520095115_Idx] = hash_1124073936(key_520095114); - if ((hc_520095115[hc_520095115_Idx] == 0)) { - F.line = 64; - hc_520095115[hc_520095115_Idx] = 314159265; + hc_553649547[hc_553649547_Idx] = hash_1308623312(key_553649546); + if ((hc_553649547[hc_553649547_Idx] == 0)) { + hc_553649547[hc_553649547_Idx] = 314159265; } - if (((t_520095113.data).length == 0)) { - F.line = 43; - result_520095116 = (-1); + if (((t_553649545.data).length == 0)) { + result_553649548 = (-1); break BeforeRet; } - F.line = 44; - var h_520095166 = (hc_520095115[hc_520095115_Idx] & (t_520095113.data).length - 1); + var h_553649598 = (hc_553649547[hc_553649547_Idx] & (t_553649545.data).length - 1); Label1: { - F.line = 45; Label2: while (true) { - if (!isFilled_1107296287(t_520095113.data[chckIndx(h_520095166, 0, (t_520095113.data).length - 1)].Field0)) break Label2; - if (((t_520095113.data[chckIndx(h_520095166, 0, (t_520095113.data).length - 1)].Field0 == hc_520095115[hc_520095115_Idx]) && eqStrings(t_520095113.data[chckIndx(h_520095166, 0, (t_520095113.data).length - 1)].Field1, key_520095114))) { - F.line = 51; - result_520095116 = h_520095166; + if (!isFilled_1291845663(t_553649545.data[chckIndx(h_553649598, 0, (t_553649545.data).length - 1)].Field0)) break Label2; + if (((t_553649545.data[chckIndx(h_553649598, 0, (t_553649545.data).length - 1)].Field0 == hc_553649547[hc_553649547_Idx]) && eqStrings(t_553649545.data[chckIndx(h_553649598, 0, (t_553649545.data).length - 1)].Field1, key_553649546))) { + result_553649548 = h_553649598; break BeforeRet; } - F.line = 52; - h_520095166 = nextTry_1107296290(h_520095166, (t_520095113.data).length - 1); + h_553649598 = nextTry_1291845666(h_553649598, (t_553649545.data).length - 1); } }; - F.line = 53; - result_520095116 = subInt((-1), h_520095166); + result_553649548 = subInt((-1), h_553649598); }; - framePtr = F.prev; - return result_520095116; + return result_553649548; } -function mustRehash_520095416(t_520095418) { - var result_520095419 = false; +function mustRehash_553649848(t_553649850) { + var result_553649851 = false; - var F = {procname: "mustRehash.mustRehash", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/hashcommon.nim", line: 0}; - framePtr = F; - if (!((t_520095418.counter < (t_520095418.data).length))) { - F.line = 34; - F.filename = "hashcommon.nim"; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/hashcommon.nim(34, 9) `\x0At.counter < t.dataLen` ")); + if (!((t_553649850.counter < (t_553649850.data).length))) { + failedAssertImpl_268435541([104,97,115,104,99,111,109,109,111,110,46,110,105,109,40,51,52,44,32,57,41,32,96,10,116,46,99,111,117,110,116,101,114,32,60,32,116,46,100,97,116,97,76,101,110,96,32]); } - F.line = 35; - result_520095419 = ((mulInt((t_520095418.data).length, 2) < mulInt(t_520095418.counter, 3)) || (subInt((t_520095418.data).length, t_520095418.counter) < 4)); - framePtr = F.prev; + result_553649851 = ((mulInt((t_553649850.data).length, 2) < mulInt(t_553649850.counter, 3)) || (subInt((t_553649850.data).length, t_553649850.counter) < 4)); - return result_520095419; + return result_553649851; } -function rawInsert_520095833(t_520095837, data_520095838, data_520095838_Idx, key_520095839, val_520095840, hc_520095841, h_520095842) { - var F = {procname: "rawInsert.rawInsert", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/tableimpl.nim", line: 0}; - framePtr = F; - F.line = 25; - F.filename = "tableimpl.nim"; - data_520095838[data_520095838_Idx][chckIndx(h_520095842, 0, (data_520095838[data_520095838_Idx]).length - 1)].Field1 = nimCopy(null, key_520095839, NTI33554449); - F.line = 26; - data_520095838[data_520095838_Idx][chckIndx(h_520095842, 0, (data_520095838[data_520095838_Idx]).length - 1)].Field2 = val_520095840; - F.line = 27; - data_520095838[data_520095838_Idx][chckIndx(h_520095842, 0, (data_520095838[data_520095838_Idx]).length - 1)].Field0 = hc_520095841; - framePtr = F.prev; +function rawInsert_553650265(t_553650269, data_553650270, data_553650270_Idx, key_553650271, val_553650272, hc_553650273, h_553650274) { + data_553650270[data_553650270_Idx][chckIndx(h_553650274, 0, (data_553650270[data_553650270_Idx]).length - 1)].Field1 = nimCopy(null, key_553650271, NTI33554449); + data_553650270[data_553650270_Idx][chckIndx(h_553650274, 0, (data_553650270[data_553650270_Idx]).length - 1)].Field2 = val_553650272; + data_553650270[data_553650270_Idx][chckIndx(h_553650274, 0, (data_553650270[data_553650270_Idx]).length - 1)].Field0 = hc_553650273; } -function enlarge_520095559(t_520095562) { - var F = {procname: "enlarge.enlarge", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/tables.nim", line: 0}; - framePtr = F; - F.line = 250; - F.filename = "tables.nim"; - var n_520095565 = []; - F.line = 251; - n_520095565 = new Array(chckRange(mulInt((t_520095562.data).length, 2), 0, 2147483647)); for (var i = 0 ; i < chckRange(mulInt((t_520095562.data).length, 2), 0, 2147483647) ; ++i) { n_520095565[i] = {Field0: 0, Field1: [], Field2: 0}; } F.line = 252; - var Temporary1 = t_520095562.data; t_520095562.data = n_520095565; n_520095565 = Temporary1; Label2: { - F.line = 253; - var i_520095625 = 0; - F.line = 46; - F.filename = "iterators_1.nim"; - var colontmp__520100403 = 0; - F.line = 253; - F.filename = "tables.nim"; - colontmp__520100403 = (n_520095565).length - 1; - F.line = 68; - F.filename = "iterators_1.nim"; - var res_520100404 = 0; +function enlarge_553649991(t_553649994) { + var n_553649997 = []; + n_553649997 = new Array(chckRange(mulInt((t_553649994.data).length, 2), 0, 2147483647)); for (var i = 0 ; i < chckRange(mulInt((t_553649994.data).length, 2), 0, 2147483647) ; ++i) { n_553649997[i] = {Field0: 0, Field1: [], Field2: 0}; } var Temporary1 = t_553649994.data; t_553649994.data = n_553649997; n_553649997 = Temporary1; Label2: { + var i_553650057 = 0; + var colontmp__553654835 = 0; + colontmp__553654835 = (n_553649997).length - 1; + var res_553654836 = 0; Label3: { - F.line = 69; Label4: while (true) { - if (!(res_520100404 <= colontmp__520100403)) break Label4; - F.line = 253; - F.filename = "tables.nim"; - i_520095625 = res_520100404; - F.line = 254; - var eh_520095675 = n_520095565[chckIndx(i_520095625, 0, (n_520095565).length - 1)].Field0; - if (isFilled_1107296287(eh_520095675)) { - F.line = 256; - var j_520095679 = (eh_520095675 & (t_520095562.data).length - 1); + if (!(res_553654836 <= colontmp__553654835)) break Label4; + i_553650057 = res_553654836; + var eh_553650107 = n_553649997[chckIndx(i_553650057, 0, (n_553649997).length - 1)].Field0; + if (isFilled_1291845663(eh_553650107)) { + var j_553650111 = (eh_553650107 & (t_553649994.data).length - 1); Label5: { - F.line = 257; Label6: while (true) { - if (!isFilled_1107296287(t_520095562.data[chckIndx(j_520095679, 0, (t_520095562.data).length - 1)].Field0)) break Label6; - F.line = 258; - j_520095679 = nextTry_1107296290(j_520095679, (t_520095562.data).length - 1); + if (!isFilled_1291845663(t_553649994.data[chckIndx(j_553650111, 0, (t_553649994.data).length - 1)].Field0)) break Label6; + j_553650111 = nextTry_1291845666(j_553650111, (t_553649994.data).length - 1); } }; - F.line = 260; - rawInsert_520095833(t_520095562, t_520095562, "data", n_520095565[chckIndx(i_520095625, 0, (n_520095565).length - 1)].Field1, n_520095565[chckIndx(i_520095625, 0, (n_520095565).length - 1)].Field2, eh_520095675, j_520095679); + rawInsert_553650265(t_553649994, t_553649994, "data", n_553649997[chckIndx(i_553650057, 0, (n_553649997).length - 1)].Field1, n_553649997[chckIndx(i_553650057, 0, (n_553649997).length - 1)].Field2, eh_553650107, j_553650111); } - F.line = 74; - F.filename = "iterators_1.nim"; - res_520100404 = addInt(res_520100404, 1); + res_553654836 = addInt(res_553654836, 1); } }; }; - framePtr = F.prev; } -function rawGetKnownHC_520095990(t_520095993, key_520095994, hc_520095995) { - var result_520095996 = 0; +function rawGetKnownHC_553650422(t_553650425, key_553650426, hc_553650427) { + var result_553650428 = 0; - var F = {procname: "rawGetKnownHC.rawGetKnownHC", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/hashcommon.nim", line: 0}; - framePtr = F; BeforeRet: { - if (((t_520095993.data).length == 0)) { - F.line = 43; - F.filename = "hashcommon.nim"; - result_520095996 = (-1); + if (((t_553650425.data).length == 0)) { + result_553650428 = (-1); break BeforeRet; } - F.line = 44; - var h_520096043 = (hc_520095995 & (t_520095993.data).length - 1); + var h_553650475 = (hc_553650427 & (t_553650425.data).length - 1); Label1: { - F.line = 45; Label2: while (true) { - if (!isFilled_1107296287(t_520095993.data[chckIndx(h_520096043, 0, (t_520095993.data).length - 1)].Field0)) break Label2; - if (((t_520095993.data[chckIndx(h_520096043, 0, (t_520095993.data).length - 1)].Field0 == hc_520095995) && eqStrings(t_520095993.data[chckIndx(h_520096043, 0, (t_520095993.data).length - 1)].Field1, key_520095994))) { - F.line = 51; - result_520095996 = h_520096043; + if (!isFilled_1291845663(t_553650425.data[chckIndx(h_553650475, 0, (t_553650425.data).length - 1)].Field0)) break Label2; + if (((t_553650425.data[chckIndx(h_553650475, 0, (t_553650425.data).length - 1)].Field0 == hc_553650427) && eqStrings(t_553650425.data[chckIndx(h_553650475, 0, (t_553650425.data).length - 1)].Field1, key_553650426))) { + result_553650428 = h_553650475; break BeforeRet; } - F.line = 52; - h_520096043 = nextTry_1107296290(h_520096043, (t_520095993.data).length - 1); + h_553650475 = nextTry_1291845666(h_553650475, (t_553650425.data).length - 1); } }; - F.line = 53; - result_520095996 = subInt((-1), h_520096043); + result_553650428 = subInt((-1), h_553650475); }; - framePtr = F.prev; - return result_520095996; + return result_553650428; } -function HEX5BHEX5DHEX3D_520095053(t_520095056, key_520095057, val_520095058) { - var F = {procname: "[]=.[]=", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/tables.nim", line: 0}; - framePtr = F; - if (((t_520095056.data).length == 0)) { - F.line = 165; - F.filename = "tableimpl.nim"; - var correctSizeHEX60gensym9_520095104 = slotsNeeded_1107296298(32); - F.line = 169; - t_520095056.counter = 0; - F.line = 170; - t_520095056.data = new Array(chckRange(correctSizeHEX60gensym9_520095104, 0, 2147483647)); for (var i = 0 ; i < chckRange(correctSizeHEX60gensym9_520095104, 0, 2147483647) ; ++i) { t_520095056.data[i] = {Field0: 0, Field1: [], Field2: 0}; } } +function HEX5BHEX5DHEX3D_553649485(t_553649488, key_553649489, val_553649490) { + if (((t_553649488.data).length == 0)) { + var correctSizeHEX60gensym9_553649536 = slotsNeeded_1291845674(32); + t_553649488.counter = 0; + t_553649488.data = new Array(chckRange(correctSizeHEX60gensym9_553649536, 0, 2147483647)); for (var i = 0 ; i < chckRange(correctSizeHEX60gensym9_553649536, 0, 2147483647) ; ++i) { t_553649488.data[i] = {Field0: 0, Field1: [], Field2: 0}; } } - F.line = 59; - var hc_520095109 = [0]; - F.line = 60; - var index_520095317 = rawGet_520095110(t_520095056, key_520095057, hc_520095109, 0); - if ((0 <= index_520095317)) { - F.line = 61; - t_520095056.data[chckIndx(index_520095317, 0, (t_520095056.data).length - 1)].Field2 = val_520095058; + var hc_553649541 = [0]; + var index_553649749 = rawGet_553649542(t_553649488, key_553649489, hc_553649541, 0); + if ((0 <= index_553649749)) { + t_553649488.data[chckIndx(index_553649749, 0, (t_553649488.data).length - 1)].Field2 = val_553649490; } else { - if (((t_520095056.data).length == 0)) { - F.line = 165; - var correctSizeHEX60gensym14_520095411 = slotsNeeded_1107296298(32); - F.line = 169; - t_520095056.counter = 0; - F.line = 170; - t_520095056.data = new Array(chckRange(correctSizeHEX60gensym14_520095411, 0, 2147483647)); for (var i = 0 ; i < chckRange(correctSizeHEX60gensym14_520095411, 0, 2147483647) ; ++i) { t_520095056.data[i] = {Field0: 0, Field1: [], Field2: 0}; } } + if (((t_553649488.data).length == 0)) { + var correctSizeHEX60gensym14_553649843 = slotsNeeded_1291845674(32); + t_553649488.counter = 0; + t_553649488.data = new Array(chckRange(correctSizeHEX60gensym14_553649843, 0, 2147483647)); for (var i = 0 ; i < chckRange(correctSizeHEX60gensym14_553649843, 0, 2147483647) ; ++i) { t_553649488.data[i] = {Field0: 0, Field1: [], Field2: 0}; } } - if (mustRehash_520095416(t_520095056)) { - F.line = 51; - enlarge_520095559(t_520095056); - F.line = 52; - index_520095317 = rawGetKnownHC_520095990(t_520095056, key_520095057, hc_520095109[0]); + if (mustRehash_553649848(t_553649488)) { + enlarge_553649991(t_553649488); + index_553649749 = rawGetKnownHC_553650422(t_553649488, key_553649489, hc_553649541[0]); } - F.line = 53; - index_520095317 = subInt((-1), index_520095317); - F.line = 54; - rawInsert_520095833(t_520095056, t_520095056, "data", key_520095057, val_520095058, hc_520095109[0], index_520095317); - F.line = 62; - t_520095056.counter = addInt(t_520095056.counter, 1); + index_553649749 = subInt((-1), index_553649749); + rawInsert_553650265(t_553649488, t_553649488, "data", key_553649489, val_553649490, hc_553649541[0], index_553649749); + t_553649488.counter = addInt(t_553649488.counter, 1); } - framePtr = F.prev; } -function initSelectedSubPower_520094035() { - var F = {procname: "main.initSelectedSubPower", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/main.nim", line: 0}; - framePtr = F; - F.line = 181; - F.filename = "main.nim"; - rawEcho(HEX24_520094498(selectedSubPower_520093916[0])); +function initSelectedSubPower_553648467() { + rawEcho(HEX24_553648930(selectedSubPower_553648348[0])); Label1: { - F.line = 182; - var name_520095016 = []; - F.line = 738; - F.filename = "tables.nim"; - var L_520100383 = len_520094855(allPowers_520093917[0]); + var name_553649448 = []; + var L_553654815 = len_553649287(allPowers_553648349[0]); Label2: { - F.line = 739; - var h_520100385 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__520100386 = 0; - F.line = 739; - F.filename = "tables.nim"; - colontmp__520100386 = (allPowers_520093917[0].data).length - 1; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_520100387 = 0; + var h_553654817 = 0; + var colontmp__553654818 = 0; + colontmp__553654818 = (allPowers_553648349[0].data).length - 1; + var res_553654819 = 0; Label3: { - F.line = 97; Label4: while (true) { - if (!(res_520100387 <= colontmp__520100386)) break Label4; - F.line = 739; - F.filename = "tables.nim"; - h_520100385 = res_520100387; - if (isFilled_1107296287(allPowers_520093917[0].data[chckIndx(h_520100385, 0, (allPowers_520093917[0].data).length - 1)].Field0)) { - F.line = 182; - F.filename = "main.nim"; - name_520095016 = allPowers_520093917[0].data[chckIndx(h_520100385, 0, (allPowers_520093917[0].data).length - 1)]["Field1"]; - F.line = 183; - HEX5BHEX5DHEX3D_520095053(selectedSubPower_520093916[0], name_520095016, 0); - if (!((len_520094855(allPowers_520093917[0]) == L_520100383))) { - F.line = 742; - F.filename = "tables.nim"; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/tables.nim(742, 13) `len(t) == L` the length of the table changed while iterating over it")); + if (!(res_553654819 <= colontmp__553654818)) break Label4; + h_553654817 = res_553654819; + if (isFilled_1291845663(allPowers_553648349[0].data[chckIndx(h_553654817, 0, (allPowers_553648349[0].data).length - 1)].Field0)) { + name_553649448 = allPowers_553648349[0].data[chckIndx(h_553654817, 0, (allPowers_553648349[0].data).length - 1)]["Field1"]; + HEX5BHEX5DHEX3D_553649485(selectedSubPower_553648348[0], name_553649448, 0); + if (!((len_553649287(allPowers_553648349[0]) == L_553654815))) { + failedAssertImpl_268435541(makeNimstrLit("tables.nim(742, 13) `len(t) == L` the length of the table changed while iterating over it")); } } - F.line = 102; - F.filename = "iterators_1.nim"; - res_520100387 = addInt(res_520100387, 1); + res_553654819 = addInt(res_553654819, 1); } }; }; }; - framePtr = F.prev; } -function HEX3Ddup_1224737101(src_1224737103) { - var result_1224737102 = ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}); +function HEX3Ddup_1476395341(src_1476395343) { + var result_1476395342 = ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}); - result_1224737102.item = src_1224737103.item; - result_1224737102.color = src_1224737103.color; - result_1224737102.index = src_1224737103.index; - result_1224737102.timesMoved = src_1224737103.timesMoved; - result_1224737102.piecesTaken = src_1224737103.piecesTaken; - result_1224737102.tile["Field0"] = src_1224737103.tile["Field0"]; - result_1224737102.tile["Field1"] = src_1224737103.tile["Field1"]; - result_1224737102.moves = nimCopy(null, src_1224737103.moves, NTI1224736849); - result_1224737102.takes = nimCopy(null, src_1224737103.takes, NTI1224736850); - result_1224737102.onEndTurn = nimCopy(null, src_1224737103.onEndTurn, NTI1224736851); - result_1224737102.onPromote = nimCopy(null, src_1224737103.onPromote, NTI1224736852); - result_1224737102.promoted = src_1224737103.promoted; - result_1224737102.filePath = nimCopy(null, src_1224737103.filePath, NTI33554449); - result_1224737102.colorable = src_1224737103.colorable; - result_1224737102.rotate = src_1224737103.rotate; - result_1224737102.drunk = src_1224737103.drunk; - result_1224737102.casts = nimCopy(null, src_1224737103.casts, NTI1224736853); + result_1476395342.item = src_1476395343.item; + result_1476395342.color = src_1476395343.color; + result_1476395342.index = src_1476395343.index; + result_1476395342.timesMoved = src_1476395343.timesMoved; + result_1476395342.piecesTaken = src_1476395343.piecesTaken; + result_1476395342.tile["Field0"] = src_1476395343.tile["Field0"]; + result_1476395342.tile["Field1"] = src_1476395343.tile["Field1"]; + result_1476395342.moves = nimCopy(null, src_1476395343.moves, NTI1476395089); + result_1476395342.takes = nimCopy(null, src_1476395343.takes, NTI1476395090); + result_1476395342.onEndTurn = nimCopy(null, src_1476395343.onEndTurn, NTI1476395091); + result_1476395342.onPromote = nimCopy(null, src_1476395343.onPromote, NTI1476395092); + result_1476395342.promoted = src_1476395343.promoted; + result_1476395342.filePath = nimCopy(null, src_1476395343.filePath, NTI33554449); + result_1476395342.colorable = src_1476395343.colorable; + result_1476395342.rotate = src_1476395343.rotate; + result_1476395342.drunk = src_1476395343.drunk; + result_1476395342.casts = nimCopy(null, src_1476395343.casts, NTI1476395093); - return result_1224737102; + return result_1476395342; } -function arrayWith_1275068777(y_1275068780) { - var result_1275068787 = [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})]; +function arrayWith_1526727017(y_1526727020) { + var result_1526727027 = [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})]; - var F = {procname: "arrayWith.arrayWith", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; Label1: { - F.line = 2832; - F.filename = "system.nim"; - var i_1275068792 = 0; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_520100408 = 0; + var i_1526727032 = 0; + var res_553654840 = 0; Label2: { - F.line = 97; Label3: while (true) { - if (!(res_520100408 <= 7)) break Label3; - F.line = 2832; - F.filename = "system.nim"; - i_1275068792 = res_520100408; - F.line = 2836; - result_1275068787[chckIndx(i_1275068792, 0, (result_1275068787).length - 1)] = nimCopy(result_1275068787[chckIndx(i_1275068792, 0, (result_1275068787).length - 1)], HEX3Ddup_1224737101(y_1275068780), NTI1224736794); - F.line = 102; - F.filename = "iterators_1.nim"; - res_520100408 = addInt(res_520100408, 1); + if (!(res_553654840 <= 7)) break Label3; + i_1526727032 = res_553654840; + result_1526727027[chckIndx(i_1526727032, 0, (result_1526727027).length - 1)] = nimCopy(result_1526727027[chckIndx(i_1526727032, 0, (result_1526727027).length - 1)], HEX3Ddup_1476395341(y_1526727020), NTI1476395034); + res_553654840 = addInt(res_553654840, 1); } }; }; - framePtr = F.prev; - return result_1275068787; + return result_1526727027; } -function inCheck_1291845637(p_1291845638, b_1291845639) { - var result_1291845931 = false; +function inCheck_1543503877(p_1543503878, b_1543503879) { + var result_1543504171 = false; - var F = {procname: "moves.inCheck", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/moves.nim", line: 0}; - framePtr = F; BeforeRet: { Label1: { - F.line = 124; - F.filename = "moves.nim"; - var i_1291845936 = 0; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_520100418 = 0; + var i_1543504176 = 0; + var res_553654850 = 0; Label2: { - F.line = 97; Label3: while (true) { - if (!(res_520100418 <= 7)) break Label3; - F.line = 124; - F.filename = "moves.nim"; - i_1291845936 = res_520100418; + if (!(res_553654850 <= 7)) break Label3; + i_1543504176 = res_553654850; Label4: { - F.line = 125; - var j_1291845941 = 0; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_520100416 = 0; + var j_1543504181 = 0; + var res_553654848 = 0; Label5: { - F.line = 97; Label6: while (true) { - if (!(res_520100416 <= 7)) break Label6; - F.line = 125; - F.filename = "moves.nim"; - j_1291845941 = res_520100416; - F.line = 130; - var piece_1291845942 = nimCopy(null, b_1291845639[chckIndx(i_1291845936, 0, (b_1291845639).length - 1)][chckIndx(j_1291845941, 0, (b_1291845639[chckIndx(i_1291845936, 0, (b_1291845639).length - 1)]).length - 1)], NTI1224736794); - if ((piece_1291845942.item == 0)) { - F.line = 131; - F.line = 652; - F.filename = "sequtils.nim"; - var resultHEX60gensym3_1291845971 = newSeq_1291845948(0); + if (!(res_553654848 <= 7)) break Label6; + j_1543504181 = res_553654848; + var piece_1543504182 = nimCopy(null, b_1543503879[chckIndx(i_1543504176, 0, (b_1543503879).length - 1)][chckIndx(j_1543504181, 0, (b_1543503879[chckIndx(i_1543504176, 0, (b_1543503879).length - 1)]).length - 1)], NTI1476395034); + if ((piece_1543504182.item == 0)) { + var resultHEX60gensym3_1543504211 = newSeq_1543504188(0); Label7: { - F.line = 653; - var it_1291845975 = null; - F.line = 249; - F.filename = "iterators.nim"; - var i_520100413 = 0; - F.line = 250; - var L_520100414 = (piece_1291845942.takes).length; + var it_1543504215 = null; + var i_553654845 = 0; + var L_553654846 = (piece_1543504182.takes).length; Label8: { - F.line = 251; Label9: while (true) { - if (!(i_520100413 < L_520100414)) break Label9; - F.line = 653; - F.filename = "sequtils.nim"; - it_1291845975 = piece_1291845942.takes[chckIndx(i_520100413, 0, (piece_1291845942.takes).length - 1)]; - if (!((it_1291845975 == HEX3Aanonymous_1291845895))) { - F.line = 654; - resultHEX60gensym3_1291845971.push(it_1291845975);; + if (!(i_553654845 < L_553654846)) break Label9; + it_1543504215 = piece_1543504182.takes[chckIndx(i_553654845, 0, (piece_1543504182.takes).length - 1)]; + if (!((it_1543504215 == HEX3Aanonymous_1543504135))) { + resultHEX60gensym3_1543504211.push(it_1543504215);; } - F.line = 13; - F.filename = "iterators.nim"; - i_520100413 += 1; - if (!(((piece_1291845942.takes).length == L_520100414))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_553654845 += 1; + if (!(((piece_1543504182.takes).length == L_553654846))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - piece_1291845942.takes = nimCopy(null, resultHEX60gensym3_1291845971, NTI1291845874); + piece_1543504182.takes = nimCopy(null, resultHEX60gensym3_1543504211, NTI1543504114); } - if (((!(isAir_1224737796(piece_1291845942)) && !(sameColor_1224737804(p_1291845638, piece_1291845942))) && contains_1224737421(getTakesOn_1224737271(piece_1291845942, b_1291845639), p_1291845638.tile))) { - F.line = 133; - F.filename = "moves.nim"; - result_1291845931 = true; + if (((!(isAir_1476396036(piece_1543504182)) && !(sameColor_1476396044(p_1543503878, piece_1543504182))) && contains_1476395661(getTakesOn_1476395511(piece_1543504182, b_1543503879), p_1543503878.tile))) { + result_1543504171 = true; break BeforeRet; } - F.line = 102; - F.filename = "iterators_1.nim"; - res_520100416 = addInt(res_520100416, 1); + res_553654848 = addInt(res_553654848, 1); } }; }; - F.line = 102; - res_520100418 = addInt(res_520100418, 1); + res_553654850 = addInt(res_553654850, 1); } }; }; - F.line = 135; - F.filename = "moves.nim"; - result_1291845931 = false; + result_1543504171 = false; break BeforeRet; }; - framePtr = F.prev; - return result_1291845931; + return result_1543504171; } -function HEX3Aanonymous_1291845895(board_1291845896, p_1291845897) { - var result_1291845898 = [[]]; +function HEX3Aanonymous_1543504135(board_1543504136, p_1543504137) { + var result_1543504138 = [[]]; - var F = {procname: "moves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/moves.nim", line: 0}; - framePtr = F; BeforeRet: { - if ((!((p_1291845897.timesMoved == 0)) || !((p_1291845897.tile.Field0 == 4)))) { - F.line = 101; - F.filename = "moves.nim"; - result_1291845898[0] = nimCopy(null, [], NTI1291845837); + if ((!((p_1543504137.timesMoved == 0)) || !((p_1543504137.tile.Field0 == 4)))) { + result_1543504138[0] = nimCopy(null, [], NTI1543504077); break BeforeRet; } - if ((((((isAir_1224737796(board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)][chckIndx(addInt(p_1291845897.tile.Field0, 1), 0, (board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)]).length - 1)]) && isAir_1224737796(board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)][chckIndx(addInt(p_1291845897.tile.Field0, 2), 0, (board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)]).length - 1)])) && (board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)][chckIndx(addInt(p_1291845897.tile.Field0, 3), 0, (board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)]).length - 1)].item == 4)) && sameColor_1224737804(board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)][chckIndx(addInt(p_1291845897.tile.Field0, 3), 0, (board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)]).length - 1)], p_1291845897)) && (board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)][chckIndx(addInt(p_1291845897.tile.Field0, 3), 0, (board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)]).length - 1)].timesMoved == 0)) && !(inCheck_1291845637(p_1291845897, board_1291845896)))) { - F.line = 110; - var _ = addIfTake_1291845739(result_1291845898, 0, board_1291845896, p_1291845897, p_1291845897.tile, shooterFactory_1308622968(3, 0), false, true); + if ((((((isAir_1476396036(board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)][chckIndx(addInt(p_1543504137.tile.Field0, 1), 0, (board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)]).length - 1)]) && isAir_1476396036(board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)][chckIndx(addInt(p_1543504137.tile.Field0, 2), 0, (board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)]).length - 1)])) && (board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)][chckIndx(addInt(p_1543504137.tile.Field0, 3), 0, (board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)]).length - 1)].item == 4)) && sameColor_1476396044(board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)][chckIndx(addInt(p_1543504137.tile.Field0, 3), 0, (board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)]).length - 1)], p_1543504137)) && (board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)][chckIndx(addInt(p_1543504137.tile.Field0, 3), 0, (board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)]).length - 1)].timesMoved == 0)) && !(inCheck_1543503877(p_1543504137, board_1543504136)))) { + var _ = addIfTake_1543503979(result_1543504138, 0, board_1543504136, p_1543504137, p_1543504137.tile, shooterFactory_1560281208(3, 0), false, true); } - if (((((((isAir_1224737796(board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)][chckIndx(subInt(p_1291845897.tile.Field0, 1), 0, (board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)]).length - 1)]) && isAir_1224737796(board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)][chckIndx(subInt(p_1291845897.tile.Field0, 2), 0, (board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)]).length - 1)])) && isAir_1224737796(board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)][chckIndx(subInt(p_1291845897.tile.Field0, 3), 0, (board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)]).length - 1)])) && (board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)][chckIndx(subInt(p_1291845897.tile.Field0, 4), 0, (board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)]).length - 1)].item == 4)) && sameColor_1224737804(board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)][chckIndx(addInt(p_1291845897.tile.Field0, 3), 0, (board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)]).length - 1)], p_1291845897)) && (board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)][chckIndx(subInt(p_1291845897.tile.Field0, 4), 0, (board_1291845896[chckIndx(p_1291845897.tile.Field1, 0, (board_1291845896).length - 1)]).length - 1)].timesMoved == 0)) && !(inCheck_1291845637(p_1291845897, board_1291845896)))) { - F.line = 120; - var _ = addIfTake_1291845739(result_1291845898, 0, board_1291845896, p_1291845897, p_1291845897.tile, shooterFactory_1308622968((-4), 0), false, true); + if (((((((isAir_1476396036(board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)][chckIndx(subInt(p_1543504137.tile.Field0, 1), 0, (board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)]).length - 1)]) && isAir_1476396036(board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)][chckIndx(subInt(p_1543504137.tile.Field0, 2), 0, (board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)]).length - 1)])) && isAir_1476396036(board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)][chckIndx(subInt(p_1543504137.tile.Field0, 3), 0, (board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)]).length - 1)])) && (board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)][chckIndx(subInt(p_1543504137.tile.Field0, 4), 0, (board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)]).length - 1)].item == 4)) && sameColor_1476396044(board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)][chckIndx(addInt(p_1543504137.tile.Field0, 3), 0, (board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)]).length - 1)], p_1543504137)) && (board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)][chckIndx(subInt(p_1543504137.tile.Field0, 4), 0, (board_1543504136[chckIndx(p_1543504137.tile.Field1, 0, (board_1543504136).length - 1)]).length - 1)].timesMoved == 0)) && !(inCheck_1543503877(p_1543504137, board_1543504136)))) { + var _ = addIfTake_1543503979(result_1543504138, 0, board_1543504136, p_1543504137, p_1543504137.tile, shooterFactory_1560281208((-4), 0), false, true); } }; - framePtr = F.prev; - return result_1291845898[0]; + return result_1543504138[0]; } -function HEX3Aanonymous_1291845827(board_1291845828, p_1291845829) { - var result_1291845830 = [[]]; +function HEX3Aanonymous_1543504067(board_1543504068, p_1543504069) { + var result_1543504070 = [[]]; - var F = {procname: "moves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/moves.nim", line: 0}; - framePtr = F; - if ((p_1291845829.timesMoved == 0)) { - F.line = 57; - F.filename = "moves.nim"; - var next_1291845831 = addIfFree_1291845640(result_1291845830, 0, board_1291845828, p_1291845829.tile, tileAbove_1308622990); - if (next_1291845831) { - F.line = 59; - var _ = addIfFree_1291845640(result_1291845830, 0, board_1291845828, tileAbove_1308622990(p_1291845829.tile), tileAbove_1308622990); + if ((p_1543504069.timesMoved == 0)) { + var next_1543504071 = addIfFree_1543503880(result_1543504070, 0, board_1543504068, p_1543504069.tile, tileAbove_1560281230); + if (next_1543504071) { + var _ = addIfFree_1543503880(result_1543504070, 0, board_1543504068, tileAbove_1560281230(p_1543504069.tile), tileAbove_1560281230); } } else { - F.line = 61; - var _ = addIfFree_1291845640(result_1291845830, 0, board_1291845828, p_1291845829.tile, tileAbove_1308622990); + var _ = addIfFree_1543503880(result_1543504070, 0, board_1543504068, p_1543504069.tile, tileAbove_1560281230); } - framePtr = F.prev; - return result_1291845830[0]; + return result_1543504070[0]; } -function HEX3Aanonymous_1291845849(board_1291845850, p_1291845851) { - var result_1291845852 = [[]]; +function HEX3Aanonymous_1543504089(board_1543504090, p_1543504091) { + var result_1543504092 = [[]]; - var F = {procname: "moves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/moves.nim", line: 0}; - framePtr = F; - F.line = 67; - F.filename = "moves.nim"; - var _ = addIfTake_1291845739(result_1291845852, 0, board_1291845850, p_1291845851, p_1291845851.tile, shooterFactory_1308622968(1, (-1)), false, false); - F.line = 68; - var _ = addIfTake_1291845739(result_1291845852, 0, board_1291845850, p_1291845851, p_1291845851.tile, shooterFactory_1308622968((-1), (-1)), false, false); - framePtr = F.prev; + var _ = addIfTake_1543503979(result_1543504092, 0, board_1543504090, p_1543504091, p_1543504091.tile, shooterFactory_1560281208(1, (-1)), false, false); + var _ = addIfTake_1543503979(result_1543504092, 0, board_1543504090, p_1543504091, p_1543504091.tile, shooterFactory_1560281208((-1), (-1)), false, false); - return result_1291845852[0]; + return result_1543504092[0]; } -function HEX3Aanonymous_1275068598(piece_1275068599, board_1275068600, state_1275068601) { - var F = {procname: "basePieces.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/basePieces.nim", line: 0}; - framePtr = F; - if ((isAtEnd_1224737998(piece_1275068599) && !(piece_1275068599.promoted))) { +function HEX3Aanonymous_1526726838(piece_1526726839, board_1526726840, state_1526726841) { + if ((isAtEnd_1476396238(piece_1526726839) && !(piece_1526726839.promoted))) { Label1: { - F.line = 181; - F.filename = "piece.nim"; - var xHEX60gensym0_1275068606 = null; - F.line = 249; - F.filename = "iterators.nim"; - var i_520100421 = 0; - F.line = 250; - var L_520100422 = (piece_1275068599.onPromote).length; + var xHEX60gensym0_1526726846 = null; + var i_553654853 = 0; + var L_553654854 = (piece_1526726839.onPromote).length; Label2: { - F.line = 251; Label3: while (true) { - if (!(i_520100421 < L_520100422)) break Label3; - F.line = 75; - F.filename = "basePieces.nim"; - xHEX60gensym0_1275068606 = piece_1275068599.onPromote[chckIndx(i_520100421, 0, (piece_1275068599.onPromote).length - 1)]; - F.line = 182; - F.filename = "piece.nim"; - xHEX60gensym0_1275068606(piece_1275068599, board_1275068600, state_1275068601); - if (piece_1275068599.promoted) { - F.line = 183; + if (!(i_553654853 < L_553654854)) break Label3; + xHEX60gensym0_1526726846 = piece_1526726839.onPromote[chckIndx(i_553654853, 0, (piece_1526726839.onPromote).length - 1)]; + xHEX60gensym0_1526726846(piece_1526726839, board_1526726840, state_1526726841); + if (piece_1526726839.promoted) { break Label1; } - F.line = 13; - F.filename = "iterators.nim"; - i_520100421 += 1; - if (!(((piece_1275068599.onPromote).length == L_520100422))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_553654853 += 1; + if (!(((piece_1526726839.onPromote).length == L_553654854))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } @@ -16440,2174 +10926,1347 @@ function HEX3Aanonymous_1275068598(piece_1275068599, board_1275068600, state_127 }; } - framePtr = F.prev; } -function HEX3Aanonymous_1275068419(taken_1275068420, taker_1275068421, board_1275068422, state_1275068423) { - var result_1275068426 = {Field0: {Field0: 0, Field1: 0}, Field1: false}; +function HEX3Aanonymous_1526726659(taken_1526726660, taker_1526726661, board_1526726662, state_1526726663) { + var result_1526726666 = {Field0: {Field0: 0, Field1: 0}, Field1: false}; - var F = {procname: "basePieces.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/basePieces.nim", line: 0}; - framePtr = F; BeforeRet: { - if ((((((taker_1275068421.item == 0) && (taken_1275068420.item == 4)) && sameColor_1224737804(taken_1275068420, taker_1275068421)) && (taker_1275068421.timesMoved == 1)) && (taken_1275068420.timesMoved == 0))) { - F.line = 13; - F.filename = "basePieces.nim"; - state_1275068423.Field1[chckIndx(taken_1275068420.color, 0, (state_1275068423.Field1).length - 1)].hasCastled = true; - F.line = 14; - var kingTile_1275068435 = nimCopy(null, taker_1275068421.tile, NTI1224736771); - if ((taken_1275068420.tile.Field0 == 0)) { - F.line = 16; - pieceMove_1224737556(taker_1275068421, kingTile_1275068435.Field1, subInt(kingTile_1275068435.Field0, 2), board_1275068422, state_1275068423); - F.line = 17; - pieceMove_1224737556(taken_1275068420, kingTile_1275068435.Field1, subInt(kingTile_1275068435.Field0, 1), board_1275068422, state_1275068423); - F.line = 18; - var colontmp__520100424 = {Field0: subInt(kingTile_1275068435.Field0, 1), Field1: kingTile_1275068435.Field1}; - F.line = 18; - var colontmp__520100425 = false; - F.line = 18; - result_1275068426 = nimCopy(result_1275068426, {Field0: nimCopy(null, colontmp__520100424, NTI1224736771), Field1: colontmp__520100425}, NTI1275068424); + if ((((((taker_1526726661.item == 0) && (taken_1526726660.item == 4)) && sameColor_1476396044(taken_1526726660, taker_1526726661)) && (taker_1526726661.timesMoved == 1)) && (taken_1526726660.timesMoved == 0))) { + state_1526726663.Field1[chckIndx(taken_1526726660.color, 0, (state_1526726663.Field1).length - 1)].hasCastled = true; + var kingTile_1526726675 = nimCopy(null, taker_1526726661.tile, NTI1476395011); + if ((taken_1526726660.tile.Field0 == 0)) { + pieceMove_1476395796(taker_1526726661, kingTile_1526726675.Field1, subInt(kingTile_1526726675.Field0, 2), board_1526726662, state_1526726663); + pieceMove_1476395796(taken_1526726660, kingTile_1526726675.Field1, subInt(kingTile_1526726675.Field0, 1), board_1526726662, state_1526726663); + var colontmp__553654856 = {Field0: subInt(kingTile_1526726675.Field0, 1), Field1: kingTile_1526726675.Field1}; + var colontmp__553654857 = false; + result_1526726666 = nimCopy(result_1526726666, {Field0: nimCopy(null, colontmp__553654856, NTI1476395011), Field1: colontmp__553654857}, NTI1526726664); break BeforeRet; } else { - F.line = 20; - pieceMove_1224737556(taker_1275068421, kingTile_1275068435.Field1, addInt(kingTile_1275068435.Field0, 2), board_1275068422, state_1275068423); - F.line = 21; - pieceMove_1224737556(taken_1275068420, kingTile_1275068435.Field1, addInt(kingTile_1275068435.Field0, 1), board_1275068422, state_1275068423); - F.line = 22; - var colontmp__520100426 = {Field0: addInt(kingTile_1275068435.Field0, 1), Field1: kingTile_1275068435.Field1}; - F.line = 22; - var colontmp__520100427 = false; - F.line = 22; - result_1275068426 = nimCopy(result_1275068426, {Field0: nimCopy(null, colontmp__520100426, NTI1224736771), Field1: colontmp__520100427}, NTI1275068424); + pieceMove_1476395796(taker_1526726661, kingTile_1526726675.Field1, addInt(kingTile_1526726675.Field0, 2), board_1526726662, state_1526726663); + pieceMove_1476395796(taken_1526726660, kingTile_1526726675.Field1, addInt(kingTile_1526726675.Field0, 1), board_1526726662, state_1526726663); + var colontmp__553654858 = {Field0: addInt(kingTile_1526726675.Field0, 1), Field1: kingTile_1526726675.Field1}; + var colontmp__553654859 = false; + result_1526726666 = nimCopy(result_1526726666, {Field0: nimCopy(null, colontmp__553654858, NTI1476395011), Field1: colontmp__553654859}, NTI1526726664); break BeforeRet; } } else { - F.line = 25; - result_1275068426 = nimCopy(result_1275068426, HEX3Aanonymous_1224737604(taken_1275068420, taker_1275068421, board_1275068422, state_1275068423), NTI1275068424); + result_1526726666 = nimCopy(result_1526726666, HEX3Aanonymous_1476395844(taken_1526726660, taker_1526726661, board_1526726662, state_1526726663), NTI1526726664); break BeforeRet; } }; - framePtr = F.prev; - return result_1275068426; + return result_1526726666; } -function HEX3Aanonymous_1291845854(board_1291845855, p_1291845856) { - var result_1291845857 = [[]]; +function HEX3Aanonymous_1543504094(board_1543504095, p_1543504096) { + var result_1543504097 = [[]]; - var F = {procname: "moves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/moves.nim", line: 0}; - framePtr = F; - if ((p_1291845856.timesMoved == 0)) { - F.line = 76; - F.filename = "moves.nim"; - var next_1291845858 = addIfFree_1291845640(result_1291845857, 0, board_1291845855, p_1291845856.tile, tileBelow_1308622993); - if (next_1291845858) { - F.line = 78; - var _ = addIfFree_1291845640(result_1291845857, 0, board_1291845855, tileBelow_1308622993(p_1291845856.tile), tileBelow_1308622993); + if ((p_1543504096.timesMoved == 0)) { + var next_1543504098 = addIfFree_1543503880(result_1543504097, 0, board_1543504095, p_1543504096.tile, tileBelow_1560281233); + if (next_1543504098) { + var _ = addIfFree_1543503880(result_1543504097, 0, board_1543504095, tileBelow_1560281233(p_1543504096.tile), tileBelow_1560281233); } } else { - F.line = 80; - var _ = addIfFree_1291845640(result_1291845857, 0, board_1291845855, p_1291845856.tile, tileBelow_1308622993); + var _ = addIfFree_1543503880(result_1543504097, 0, board_1543504095, p_1543504096.tile, tileBelow_1560281233); } - framePtr = F.prev; - return result_1291845857[0]; + return result_1543504097[0]; } -function HEX3Aanonymous_1291845860(board_1291845861, p_1291845862) { - var result_1291845863 = [[]]; +function HEX3Aanonymous_1543504100(board_1543504101, p_1543504102) { + var result_1543504103 = [[]]; - var F = {procname: "moves.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/moves.nim", line: 0}; - framePtr = F; - F.line = 86; - F.filename = "moves.nim"; - var _ = addIfTake_1291845739(result_1291845863, 0, board_1291845861, p_1291845862, p_1291845862.tile, shooterFactory_1308622968(1, 1), false, false); - F.line = 87; - var _ = addIfTake_1291845739(result_1291845863, 0, board_1291845861, p_1291845862, p_1291845862.tile, shooterFactory_1308622968((-1), 1), false, false); - framePtr = F.prev; + var _ = addIfTake_1543503979(result_1543504103, 0, board_1543504101, p_1543504102, p_1543504102.tile, shooterFactory_1560281208(1, 1), false, false); + var _ = addIfTake_1543503979(result_1543504103, 0, board_1543504101, p_1543504102, p_1543504102.tile, shooterFactory_1560281208((-1), 1), false, false); - return result_1291845863[0]; + return result_1543504103[0]; } -function startingState_1275068775() { - var result_1275068776 = {Field0: ({nextIndex: 0, nextGroup: 0, randSeed: 0, turnNumber: 0}), Field1: [({abilityTakes: 0, hasCastled: false, dna: [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], transforms: [[], [], [], [], [], [], [], []], wallet: ({val: 0, has: false}), buys: [], piecesSold: 0, piecesSoldThisTurn: 0, glass: [({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false})]}), ({abilityTakes: 0, hasCastled: false, dna: [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], transforms: [[], [], [], [], [], [], [], []], wallet: ({val: 0, has: false}), buys: [], piecesSold: 0, piecesSoldThisTurn: 0, glass: [({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false})]})]}; +function startingState_1526727015() { + var result_1526727016 = {Field0: ({nextIndex: 0, nextGroup: 0, randSeed: 0, turnNumber: 0}), Field1: [({abilityTakes: 0, hasCastled: false, dna: [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], transforms: [[], [], [], [], [], [], [], []], wallet: ({val: 0, has: false}), buys: [], piecesSold: 0, piecesSoldThisTurn: 0, glass: [({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false})]}), ({abilityTakes: 0, hasCastled: false, dna: [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], transforms: [[], [], [], [], [], [], [], []], wallet: ({val: 0, has: false}), buys: [], piecesSold: 0, piecesSoldThisTurn: 0, glass: [({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false}), ({val: {Field0: 0, Field1: null, Field2: null}, has: false})]})]}; - var F = {procname: "basePieces.startingState", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/basePieces.nim", line: 0}; - framePtr = F; - F.line = 115; - F.filename = "basePieces.nim"; - result_1275068776.Field0 = nimCopy(result_1275068776.Field0, {nextIndex: 1, nextGroup: 1, randSeed: 0, turnNumber: 0}, NTI1224736796); - F.line = 116; - result_1275068776.Field1 = nimCopy(result_1275068776.Field1, [{abilityTakes: 0, hasCastled: false, dna: arrayWith_1275068777({timesMoved: 0, piecesTaken: 0, tile: nimCopy(null, {Field0: (-1), Field1: (-1)}, NTI1224736771), promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, item: 0, color: 0, index: 0, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], casts: []}), wallet: {val: 0, has: false}, buys: [], piecesSold: 0, piecesSoldThisTurn: 0, glass: [{val: {Field0: 0, Field1: {Field0: null, Field1: null}, Field2: {Field0: null, Field1: null}}, has: false}, {val: {Field0: 0, Field1: {Field0: null, Field1: null}, Field2: {Field0: null, Field1: null}}, has: false}, {val: {Field0: 0, Field1: {Field0: null, Field1: null}, Field2: {Field0: null, Field1: null}}, has: false}, {val: {Field0: 0, Field1: {Field0: null, Field1: null}, Field2: {Field0: null, Field1: null}}, has: false}, {val: {Field0: 0, Field1: {Field0: null, Field1: null}, Field2: {Field0: null, Field1: null}}, has: false}], transforms: [[], [], [], [], [], [], [], []]}, {abilityTakes: 0, hasCastled: false, dna: arrayWith_1275068777({timesMoved: 0, piecesTaken: 0, tile: nimCopy(null, {Field0: (-1), Field1: (-1)}, NTI1224736771), promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, item: 0, color: 0, index: 0, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], casts: []}), wallet: {val: 0, has: false}, buys: [], piecesSold: 0, piecesSoldThisTurn: 0, glass: [{val: {Field0: 0, Field1: {Field0: null, Field1: null}, Field2: {Field0: null, Field1: null}}, has: false}, {val: {Field0: 0, Field1: {Field0: null, Field1: null}, Field2: {Field0: null, Field1: null}}, has: false}, {val: {Field0: 0, Field1: {Field0: null, Field1: null}, Field2: {Field0: null, Field1: null}}, has: false}, {val: {Field0: 0, Field1: {Field0: null, Field1: null}, Field2: {Field0: null, Field1: null}}, has: false}, {val: {Field0: 0, Field1: {Field0: null, Field1: null}, Field2: {Field0: null, Field1: null}}, has: false}], transforms: [[], [], [], [], [], [], [], []]}], NTI1224736855); - F.line = 118; - result_1275068776.Field1[chckIndx(1, 0, (result_1275068776.Field1).length - 1)].dna = nimCopy(result_1275068776.Field1[chckIndx(1, 0, (result_1275068776.Field1).length - 1)].dna, [{item: 0, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845865], takes: [HEX3Aanonymous_1291845880, HEX3Aanonymous_1291845895], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [107,105,110,103,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 1, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291846030, HEX3Aanonymous_1291845988, HEX3Aanonymous_1291845865], takes: [HEX3Aanonymous_1291846051, HEX3Aanonymous_1291846009, HEX3Aanonymous_1291845880], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [113,117,101,101,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 2, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291846030], takes: [HEX3Aanonymous_1291846051], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [98,105,115,104,111,112,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845827], takes: [HEX3Aanonymous_1291845849], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1275068598], onPromote: [HEX3Aanonymous_1275068592], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 4, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845988], takes: [HEX3Aanonymous_1291846009], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1275068419, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [114,111,111,107,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 4, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845988], takes: [HEX3Aanonymous_1291846009], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1275068419, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [114,111,111,107,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}], NTI1224736857); - F.line = 129; - result_1275068776.Field1[chckIndx(0, 0, (result_1275068776.Field1).length - 1)].dna = nimCopy(result_1275068776.Field1[chckIndx(0, 0, (result_1275068776.Field1).length - 1)].dna, [{item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845865], takes: [HEX3Aanonymous_1291845880, HEX3Aanonymous_1291845895], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [107,105,110,103,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 1, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291846030, HEX3Aanonymous_1291845988, HEX3Aanonymous_1291845865], takes: [HEX3Aanonymous_1291846051, HEX3Aanonymous_1291846009, HEX3Aanonymous_1291845880], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [113,117,101,101,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 2, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291846030], takes: [HEX3Aanonymous_1291846051], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [98,105,115,104,111,112,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845854], takes: [HEX3Aanonymous_1291845860], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1275068598], onPromote: [HEX3Aanonymous_1275068592], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 4, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845988], takes: [HEX3Aanonymous_1291846009], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1275068419, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [114,111,111,107,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 4, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845988], takes: [HEX3Aanonymous_1291846009], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1275068419, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [114,111,111,107,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}], NTI1224736857); - framePtr = F.prev; + result_1526727016.Field0 = nimCopy(result_1526727016.Field0, {nextIndex: 1, nextGroup: 1, randSeed: 0, turnNumber: 0}, NTI1476395036); + result_1526727016.Field1 = nimCopy(result_1526727016.Field1, [{abilityTakes: 0, hasCastled: false, dna: arrayWith_1526727017({timesMoved: 0, piecesTaken: 0, tile: nimCopy(null, {Field0: (-1), Field1: (-1)}, NTI1476395011), promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, item: 0, color: 0, index: 0, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], casts: []}), wallet: {val: 0, has: false}, buys: [], piecesSold: 0, piecesSoldThisTurn: 0, glass: [{val: {Field0: 0, Field1: {Field0: null, Field1: null}, Field2: {Field0: null, Field1: null}}, has: false}, {val: {Field0: 0, Field1: {Field0: null, Field1: null}, Field2: {Field0: null, Field1: null}}, has: false}, {val: {Field0: 0, Field1: {Field0: null, Field1: null}, Field2: {Field0: null, Field1: null}}, has: false}, {val: {Field0: 0, Field1: {Field0: null, Field1: null}, Field2: {Field0: null, Field1: null}}, has: false}, {val: {Field0: 0, Field1: {Field0: null, Field1: null}, Field2: {Field0: null, Field1: null}}, has: false}], transforms: [[], [], [], [], [], [], [], []]}, {abilityTakes: 0, hasCastled: false, dna: arrayWith_1526727017({timesMoved: 0, piecesTaken: 0, tile: nimCopy(null, {Field0: (-1), Field1: (-1)}, NTI1476395011), promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, item: 0, color: 0, index: 0, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], casts: []}), wallet: {val: 0, has: false}, buys: [], piecesSold: 0, piecesSoldThisTurn: 0, glass: [{val: {Field0: 0, Field1: {Field0: null, Field1: null}, Field2: {Field0: null, Field1: null}}, has: false}, {val: {Field0: 0, Field1: {Field0: null, Field1: null}, Field2: {Field0: null, Field1: null}}, has: false}, {val: {Field0: 0, Field1: {Field0: null, Field1: null}, Field2: {Field0: null, Field1: null}}, has: false}, {val: {Field0: 0, Field1: {Field0: null, Field1: null}, Field2: {Field0: null, Field1: null}}, has: false}, {val: {Field0: 0, Field1: {Field0: null, Field1: null}, Field2: {Field0: null, Field1: null}}, has: false}], transforms: [[], [], [], [], [], [], [], []]}], NTI1476395095); + result_1526727016.Field1[chckIndx(1, 0, (result_1526727016.Field1).length - 1)].dna = nimCopy(result_1526727016.Field1[chckIndx(1, 0, (result_1526727016.Field1).length - 1)].dna, [{item: 0, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504105], takes: [HEX3Aanonymous_1543504120, HEX3Aanonymous_1543504135], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [107,105,110,103,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 1, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504270, HEX3Aanonymous_1543504228, HEX3Aanonymous_1543504105], takes: [HEX3Aanonymous_1543504291, HEX3Aanonymous_1543504249, HEX3Aanonymous_1543504120], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [113,117,101,101,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 2, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504270], takes: [HEX3Aanonymous_1543504291], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [98,105,115,104,111,112,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504067], takes: [HEX3Aanonymous_1543504089], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1526726838], onPromote: [HEX3Aanonymous_1526726832], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 4, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504228], takes: [HEX3Aanonymous_1543504249], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1526726659, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [114,111,111,107,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 4, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504228], takes: [HEX3Aanonymous_1543504249], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1526726659, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [114,111,111,107,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}], NTI1476395097); + result_1526727016.Field1[chckIndx(0, 0, (result_1526727016.Field1).length - 1)].dna = nimCopy(result_1526727016.Field1[chckIndx(0, 0, (result_1526727016.Field1).length - 1)].dna, [{item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504105], takes: [HEX3Aanonymous_1543504120, HEX3Aanonymous_1543504135], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [107,105,110,103,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 1, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504270, HEX3Aanonymous_1543504228, HEX3Aanonymous_1543504105], takes: [HEX3Aanonymous_1543504291, HEX3Aanonymous_1543504249, HEX3Aanonymous_1543504120], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [113,117,101,101,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 2, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504270], takes: [HEX3Aanonymous_1543504291], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [98,105,115,104,111,112,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504094], takes: [HEX3Aanonymous_1543504100], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1526726838], onPromote: [HEX3Aanonymous_1526726832], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 4, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504228], takes: [HEX3Aanonymous_1543504249], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1526726659, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [114,111,111,107,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 4, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504228], takes: [HEX3Aanonymous_1543504249], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1526726659, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [114,111,111,107,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}], NTI1476395097); - return result_1275068776; + return result_1526727016; } -function startingBoard_1275068644(state_1275068645) { - var result_1275068646 = [[({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})]]; +function startingBoard_1526726884(state_1526726885) { + var result_1526726886 = [[({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})], [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})]]; - var F = {procname: "basePieces.startingBoard", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/basePieces.nim", line: 0}; - framePtr = F; - F.line = 88; - F.filename = "basePieces.nim"; - result_1275068646 = nimCopy(result_1275068646, [[{item: 4, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845988], takes: [HEX3Aanonymous_1291846009], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1275068419, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [114,111,111,107,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 5, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291846082], takes: [HEX3Aanonymous_1291846087], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [107,110,105,103,104,116,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 2, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291846030], takes: [HEX3Aanonymous_1291846051], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [98,105,115,104,111,112,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 1, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291846030, HEX3Aanonymous_1291845988, HEX3Aanonymous_1291845865], takes: [HEX3Aanonymous_1291846051, HEX3Aanonymous_1291846009, HEX3Aanonymous_1291845880], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [113,117,101,101,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845865], takes: [HEX3Aanonymous_1291845880, HEX3Aanonymous_1291845895], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [107,105,110,103,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 2, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291846030], takes: [HEX3Aanonymous_1291846051], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [98,105,115,104,111,112,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 5, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291846082], takes: [HEX3Aanonymous_1291846087], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [107,110,105,103,104,116,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 4, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845988], takes: [HEX3Aanonymous_1291846009], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1275068419, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [114,111,111,107,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}], [{item: 3, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845854], takes: [HEX3Aanonymous_1291845860], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1275068598], onPromote: [HEX3Aanonymous_1275068592], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845854], takes: [HEX3Aanonymous_1291845860], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1275068598], onPromote: [HEX3Aanonymous_1275068592], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845854], takes: [HEX3Aanonymous_1291845860], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1275068598], onPromote: [HEX3Aanonymous_1275068592], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845854], takes: [HEX3Aanonymous_1291845860], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1275068598], onPromote: [HEX3Aanonymous_1275068592], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845854], takes: [HEX3Aanonymous_1291845860], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1275068598], onPromote: [HEX3Aanonymous_1275068592], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845854], takes: [HEX3Aanonymous_1291845860], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1275068598], onPromote: [HEX3Aanonymous_1275068592], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845854], takes: [HEX3Aanonymous_1291845860], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1275068598], onPromote: [HEX3Aanonymous_1275068592], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845854], takes: [HEX3Aanonymous_1291845860], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1275068598], onPromote: [HEX3Aanonymous_1275068592], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}], [{item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}], [{item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}], [{item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}], [{item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}], [{item: 3, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845827], takes: [HEX3Aanonymous_1291845849], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1275068598], onPromote: [HEX3Aanonymous_1275068592], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845827], takes: [HEX3Aanonymous_1291845849], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1275068598], onPromote: [HEX3Aanonymous_1275068592], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845827], takes: [HEX3Aanonymous_1291845849], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1275068598], onPromote: [HEX3Aanonymous_1275068592], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845827], takes: [HEX3Aanonymous_1291845849], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1275068598], onPromote: [HEX3Aanonymous_1275068592], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845827], takes: [HEX3Aanonymous_1291845849], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1275068598], onPromote: [HEX3Aanonymous_1275068592], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845827], takes: [HEX3Aanonymous_1291845849], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1275068598], onPromote: [HEX3Aanonymous_1275068592], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845827], takes: [HEX3Aanonymous_1291845849], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1275068598], onPromote: [HEX3Aanonymous_1275068592], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845827], takes: [HEX3Aanonymous_1291845849], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1275068598], onPromote: [HEX3Aanonymous_1275068592], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}], [{item: 4, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845988], takes: [HEX3Aanonymous_1291846009], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1275068419, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [114,111,111,107,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 5, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291846082], takes: [HEX3Aanonymous_1291846087], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [107,110,105,103,104,116,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 2, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291846030], takes: [HEX3Aanonymous_1291846051], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [98,105,115,104,111,112,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 1, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291846030, HEX3Aanonymous_1291845988, HEX3Aanonymous_1291845865], takes: [HEX3Aanonymous_1291846051, HEX3Aanonymous_1291846009, HEX3Aanonymous_1291845880], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [113,117,101,101,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 0, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845865], takes: [HEX3Aanonymous_1291845880, HEX3Aanonymous_1291845895], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [107,105,110,103,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 2, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291846030], takes: [HEX3Aanonymous_1291846051], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [98,105,115,104,111,112,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 5, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291846082], takes: [HEX3Aanonymous_1291846087], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1224737604, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [107,110,105,103,104,116,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 4, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1291845988], takes: [HEX3Aanonymous_1291846009], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1275068419, onEndTurn: [HEX3Aanonymous_1224737210], onPromote: [HEX3Aanonymous_1224737210], promoted: false, filePath: [114,111,111,107,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}]], NTI1224736773); + result_1526726886 = nimCopy(result_1526726886, [[{item: 4, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504228], takes: [HEX3Aanonymous_1543504249], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1526726659, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [114,111,111,107,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 5, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504322], takes: [HEX3Aanonymous_1543504327], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [107,110,105,103,104,116,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 2, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504270], takes: [HEX3Aanonymous_1543504291], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [98,105,115,104,111,112,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 1, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504270, HEX3Aanonymous_1543504228, HEX3Aanonymous_1543504105], takes: [HEX3Aanonymous_1543504291, HEX3Aanonymous_1543504249, HEX3Aanonymous_1543504120], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [113,117,101,101,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504105], takes: [HEX3Aanonymous_1543504120, HEX3Aanonymous_1543504135], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [107,105,110,103,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 2, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504270], takes: [HEX3Aanonymous_1543504291], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [98,105,115,104,111,112,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 5, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504322], takes: [HEX3Aanonymous_1543504327], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [107,110,105,103,104,116,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 4, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504228], takes: [HEX3Aanonymous_1543504249], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1526726659, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [114,111,111,107,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}], [{item: 3, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504094], takes: [HEX3Aanonymous_1543504100], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1526726838], onPromote: [HEX3Aanonymous_1526726832], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504094], takes: [HEX3Aanonymous_1543504100], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1526726838], onPromote: [HEX3Aanonymous_1526726832], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504094], takes: [HEX3Aanonymous_1543504100], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1526726838], onPromote: [HEX3Aanonymous_1526726832], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504094], takes: [HEX3Aanonymous_1543504100], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1526726838], onPromote: [HEX3Aanonymous_1526726832], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504094], takes: [HEX3Aanonymous_1543504100], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1526726838], onPromote: [HEX3Aanonymous_1526726832], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504094], takes: [HEX3Aanonymous_1543504100], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1526726838], onPromote: [HEX3Aanonymous_1526726832], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504094], takes: [HEX3Aanonymous_1543504100], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1526726838], onPromote: [HEX3Aanonymous_1526726832], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504094], takes: [HEX3Aanonymous_1543504100], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1526726838], onPromote: [HEX3Aanonymous_1526726832], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}], [{item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}], [{item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}], [{item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}], [{item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}, {item: 6, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [], takes: [], onMove: {Field0: null, Field1: null}, onTake: {Field0: null, Field1: null}, whenTaken: {Field0: null, Field1: null}, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: true, rotate: false, drunk: false, casts: []}], [{item: 3, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504067], takes: [HEX3Aanonymous_1543504089], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1526726838], onPromote: [HEX3Aanonymous_1526726832], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504067], takes: [HEX3Aanonymous_1543504089], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1526726838], onPromote: [HEX3Aanonymous_1526726832], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504067], takes: [HEX3Aanonymous_1543504089], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1526726838], onPromote: [HEX3Aanonymous_1526726832], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504067], takes: [HEX3Aanonymous_1543504089], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1526726838], onPromote: [HEX3Aanonymous_1526726832], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504067], takes: [HEX3Aanonymous_1543504089], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1526726838], onPromote: [HEX3Aanonymous_1526726832], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504067], takes: [HEX3Aanonymous_1543504089], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1526726838], onPromote: [HEX3Aanonymous_1526726832], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504067], takes: [HEX3Aanonymous_1543504089], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1526726838], onPromote: [HEX3Aanonymous_1526726832], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 3, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504067], takes: [HEX3Aanonymous_1543504089], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1526726838], onPromote: [HEX3Aanonymous_1526726832], promoted: false, filePath: [112,97,119,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}], [{item: 4, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504228], takes: [HEX3Aanonymous_1543504249], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1526726659, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [114,111,111,107,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 5, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504322], takes: [HEX3Aanonymous_1543504327], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [107,110,105,103,104,116,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 2, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504270], takes: [HEX3Aanonymous_1543504291], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [98,105,115,104,111,112,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 1, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504270, HEX3Aanonymous_1543504228, HEX3Aanonymous_1543504105], takes: [HEX3Aanonymous_1543504291, HEX3Aanonymous_1543504249, HEX3Aanonymous_1543504120], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [113,117,101,101,110,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 0, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504105], takes: [HEX3Aanonymous_1543504120, HEX3Aanonymous_1543504135], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [107,105,110,103,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 2, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504270], takes: [HEX3Aanonymous_1543504291], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [98,105,115,104,111,112,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 5, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504322], takes: [HEX3Aanonymous_1543504327], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1476395844, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [107,110,105,103,104,116,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}, {item: 4, color: 1, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: (-1), Field1: (-1)}, moves: [HEX3Aanonymous_1543504228], takes: [HEX3Aanonymous_1543504249], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1526726659, onEndTurn: [HEX3Aanonymous_1476395450], onPromote: [HEX3Aanonymous_1476395450], promoted: false, filePath: [114,111,111,107,46,115,118,103], colorable: true, rotate: false, drunk: false, casts: []}]], NTI1476395013); Label1: { - F.line = 97; - var i_1275068653 = 0; - F.line = 97; - var r_1275068654 = [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})]; - F.line = 164; - F.filename = "iterators.nim"; - var i_520100434 = 0; + var i_1526726893 = 0; + var r_1526726894 = [({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}), ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []})]; + var i_553654866 = 0; Label2: { - F.line = 165; Label3: while (true) { if (!true) break Label3; - F.line = 97; - F.filename = "basePieces.nim"; - i_1275068653 = i_520100434; - F.line = 97; - r_1275068654 = nimCopy(r_1275068654, result_1275068646[chckIndx(i_520100434, 0, (result_1275068646).length - 1)], NTI1224736772); + i_1526726893 = i_553654866; + r_1526726894 = nimCopy(r_1526726894, result_1526726886[chckIndx(i_553654866, 0, (result_1526726886).length - 1)], NTI1476395012); Label4: { - F.line = 98; - var j_1275068661 = 0; - F.line = 98; - var x_1275068662 = ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}); - F.line = 164; - F.filename = "iterators.nim"; - var i_520100431 = 0; + var j_1526726901 = 0; + var x_1526726902 = ({item: 0, color: 0, index: 0, timesMoved: 0, piecesTaken: 0, tile: {Field0: 0, Field1: 0}, moves: [], takes: [], onMove: null, onTake: null, whenTaken: null, onEndTurn: [], onPromote: [], promoted: false, filePath: [], colorable: false, rotate: false, drunk: false, casts: []}); + var i_553654863 = 0; Label5: { - F.line = 165; Label6: while (true) { if (!true) break Label6; - F.line = 98; - F.filename = "basePieces.nim"; - j_1275068661 = i_520100431; - F.line = 98; - x_1275068662 = nimCopy(x_1275068662, r_1275068654[chckIndx(i_520100431, 0, (r_1275068654).length - 1)], NTI1224736794); - F.line = 99; - result_1275068646[chckIndx(i_1275068653, 0, (result_1275068646).length - 1)][chckIndx(j_1275068661, 0, (result_1275068646[chckIndx(i_1275068653, 0, (result_1275068646).length - 1)]).length - 1)] = nimCopy(result_1275068646[chckIndx(i_1275068653, 0, (result_1275068646).length - 1)][chckIndx(j_1275068661, 0, (result_1275068646[chckIndx(i_1275068653, 0, (result_1275068646).length - 1)]).length - 1)], pieceCopy_1224737660(x_1275068662, newIndex_1224737255(state_1275068645), x_1275068662.item, x_1275068662.color, x_1275068662.timesMoved, x_1275068662.piecesTaken, {Field0: nimCopy(null, j_1275068661, NTI1224736798), Field1: nimCopy(null, i_1275068653, NTI1224736804)}, x_1275068662.moves, x_1275068662.takes, x_1275068662.onMove, x_1275068662.onTake, x_1275068662.whenTaken, x_1275068662.onEndTurn, x_1275068662.onPromote, x_1275068662.promoted, x_1275068662.filePath, x_1275068662.colorable, x_1275068662.rotate, x_1275068662.drunk), NTI1224736794); - if ((7 <= i_520100431)) { - F.line = 167; - F.filename = "iterators.nim"; + j_1526726901 = i_553654863; + x_1526726902 = nimCopy(x_1526726902, r_1526726894[chckIndx(i_553654863, 0, (r_1526726894).length - 1)], NTI1476395034); + result_1526726886[chckIndx(i_1526726893, 0, (result_1526726886).length - 1)][chckIndx(j_1526726901, 0, (result_1526726886[chckIndx(i_1526726893, 0, (result_1526726886).length - 1)]).length - 1)] = nimCopy(result_1526726886[chckIndx(i_1526726893, 0, (result_1526726886).length - 1)][chckIndx(j_1526726901, 0, (result_1526726886[chckIndx(i_1526726893, 0, (result_1526726886).length - 1)]).length - 1)], pieceCopy_1476395900(x_1526726902, newIndex_1476395495(state_1526726885), x_1526726902.item, x_1526726902.color, x_1526726902.timesMoved, x_1526726902.piecesTaken, {Field0: nimCopy(null, j_1526726901, NTI1476395038), Field1: nimCopy(null, i_1526726893, NTI1476395044)}, x_1526726902.moves, x_1526726902.takes, x_1526726902.onMove, x_1526726902.onTake, x_1526726902.whenTaken, x_1526726902.onEndTurn, x_1526726902.onPromote, x_1526726902.promoted, x_1526726902.filePath, x_1526726902.colorable, x_1526726902.rotate, x_1526726902.drunk), NTI1476395034); + if ((7 <= i_553654863)) { break Label5; } - F.line = 13; - i_520100431 += 1; + i_553654863 += 1; } }; }; - if ((7 <= i_520100434)) { - F.line = 167; + if ((7 <= i_553654866)) { break Label2; } - F.line = 13; - i_520100434 += 1; + i_553654866 += 1; } }; }; - framePtr = F.prev; - return result_1275068646; + return result_1526726886; } -function initGame_520093937() { - var F = {procname: "main.initGame", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/main.nim", line: 0}; - framePtr = F; - F.line = 160; - F.filename = "main.nim"; - theState_520093826[0] = nimCopy(theState_520093826[0], startingState_1275068775(), NTI1224736795); - F.line = 161; - theBoard_520093825[0] = nimCopy(theBoard_520093825[0], startingBoard_1275068644(theState_520093826[0]), NTI1224736773); - if (false) { - F.line = 162; - theState_520093826[0].Field0.randSeed = parseInt(roomId_520093800[0].Field1, 10); +function initGame_553648369() { + theState_553648258[0] = nimCopy(theState_553648258[0], startingState_1526727015(), NTI1476395035); + theBoard_553648257[0] = nimCopy(theBoard_553648257[0], startingBoard_1526726884(theState_553648258[0]), NTI1476395013); + if (true) { + theState_553648258[0].Field0.randSeed = parseInt(roomId_553648232[0].Field1, 10); } - F.line = 163; - myDrafts_520093813[0] = nimCopy(null, [], NTI1442841214); - F.line = 164; - opponentDrafts_520093818[0] = nimCopy(null, [], NTI1442841214); - F.line = 165; - lastMove_520093844[0] = nimCopy(null, [], NTI1291845837); - F.line = 166; - piecesChecking_520093849[0] = nimCopy(null, [], NTI1291845837); - F.line = 167; - actionStack_520093877[0] = nimCopy(null, [], NTI520093829); - F.line = 168; - nextActionStack_520093882[0] = nimCopy(null, [], NTI520093829); - F.line = 169; - toSend_520093887[0] = nimCopy(null, [], NTI520093829); - F.line = 170; - promptHistory_520093892[0] = nimCopy(null, [], NTI1006632986); - F.line = 171; - promptStack_520093897[0] = nimCopy(null, [], NTI1006632986); - F.line = 172; - picksLeft_520093898[0] = 0; - F.line = 173; - picks_520093906[0] = nimCopy(null, [], NTI1291845837); - framePtr = F.prev; + myDrafts_553648245[0] = nimCopy(null, [], NTI1728053886); + opponentDrafts_553648250[0] = nimCopy(null, [], NTI1728053886); + lastMove_553648276[0] = nimCopy(null, [], NTI1543504077); + piecesChecking_553648281[0] = nimCopy(null, [], NTI1543504077); + actionStack_553648309[0] = nimCopy(null, [], NTI553648261); + nextActionStack_553648314[0] = nimCopy(null, [], NTI553648261); + toSend_553648319[0] = nimCopy(null, [], NTI553648261); + promptHistory_553648324[0] = nimCopy(null, [], NTI1090519066); + promptStack_553648329[0] = nimCopy(null, [], NTI1090519066); + picksLeft_553648330[0] = 0; + picks_553648338[0] = nimCopy(null, [], NTI1543504077); } -function newSeq_1442841126(len_1442841128) { - var result_1442841129 = []; +function newSeq_1728053798(len_1728053800) { + var result_1728053801 = []; - var F = {procname: "newSeq.newSeq", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 633; - F.filename = "system.nim"; - result_1442841129 = new Array(len_1442841128); for (var i = 0 ; i < len_1442841128 ; ++i) { result_1442841129[i] = {Field0: ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}), Field1: 0, Field2: [], Field3: []}; } framePtr = F.prev; - - return result_1442841129; + result_1728053801 = new Array(len_1728053800); for (var i = 0 ; i < len_1728053800 ; ++i) { result_1728053801[i] = {Field0: ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}), Field1: 0, Field2: [], Field3: []}; } + return result_1728053801; } -function HEX2A_989855752(x_989855753, order_989855754) { - var result_989855755 = 0; +function HEX2A_1073741832(x_1073741833, order_1073741834) { + var result_1073741835 = 0; - var F = {procname: "algorithm.*", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/algorithm.nim", line: 0}; - framePtr = F; - F.line = 68; - F.filename = "algorithm.nim"; - var y_989855760 = subInt(order_989855754, 1); - F.line = 69; - result_989855755 = subInt((x_989855753 ^ y_989855760), y_989855760); - framePtr = F.prev; + var y_1073741840 = subInt(order_1073741834, 1); + result_1073741835 = subInt((x_1073741833 ^ y_1073741840), y_1073741840); - return result_989855755; + return result_1073741835; } -function mergeAlt_1442841159(a_1442841161, b_1442841162, lo_1442841163, m_1442841164, hi_1442841165, cmp_1442841168, order_1442841169) { - var F = {procname: "mergeAlt.mergeAlt", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/algorithm.nim", line: 0}; - framePtr = F; +function mergeAlt_1728053831(a_1728053833, b_1728053834, lo_1728053835, m_1728053836, hi_1728053837, cmp_1728053840, order_1728053841) { BeforeRet: { - if ((HEX2A_989855752(cmp_1442841168(a_1442841161[chckIndx(m_1442841164, 0, (a_1442841161).length - 1)], a_1442841161[chckIndx(addInt(m_1442841164, 1), 0, (a_1442841161).length - 1)]), order_1442841169) <= 0)) { - F.line = 335; - F.filename = "algorithm.nim"; + if ((HEX2A_1073741832(cmp_1728053840(a_1728053833[chckIndx(m_1728053836, 0, (a_1728053833).length - 1)], a_1728053833[chckIndx(addInt(m_1728053836, 1), 0, (a_1728053833).length - 1)]), order_1728053841) <= 0)) { break BeforeRet; } - F.line = 336; - var j_1442841170 = lo_1442841163; - if (!((j_1442841170 <= m_1442841164))) { - F.line = 338; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/algorithm.nim(338, 3) `j <= m` ")); + var j_1728053842 = lo_1728053835; + if (!((j_1728053842 <= m_1728053836))) { + failedAssertImpl_268435541([97,108,103,111,114,105,116,104,109,46,110,105,109,40,51,51,56,44,32,51,41,32,96,106,32,60,61,32,109,96,32]); } - F.line = 340; - var bb_1442841176 = 0; + var bb_1728053848 = 0; Label1: { - F.line = 341; Label2: while (true) { - if (!(j_1442841170 <= m_1442841164)) break Label2; - F.line = 342; - b_1442841162[chckIndx(bb_1442841176, 0, (b_1442841162).length - 1)] = nimCopy(b_1442841162[chckIndx(bb_1442841176, 0, (b_1442841162).length - 1)], a_1442841161[chckIndx(j_1442841170, 0, (a_1442841161).length - 1)], NTI1442840582); - F.line = 343; - bb_1442841176 = addInt(bb_1442841176, 1); - F.line = 344; - j_1442841170 = addInt(j_1442841170, 1); + if (!(j_1728053842 <= m_1728053836)) break Label2; + b_1728053834[chckIndx(bb_1728053848, 0, (b_1728053834).length - 1)] = nimCopy(b_1728053834[chckIndx(bb_1728053848, 0, (b_1728053834).length - 1)], a_1728053833[chckIndx(j_1728053842, 0, (a_1728053833).length - 1)], NTI1728053254); + bb_1728053848 = addInt(bb_1728053848, 1); + j_1728053842 = addInt(j_1728053842, 1); } }; - F.line = 348; - var i_1442841187 = 0; - F.line = 349; - var k_1442841188 = lo_1442841163; + var i_1728053859 = 0; + var k_1728053860 = lo_1728053835; Label3: { - F.line = 351; Label4: while (true) { - if (!((k_1442841188 < j_1442841170) && (j_1442841170 <= hi_1442841165))) break Label4; - if ((HEX2A_989855752(cmp_1442841168(b_1442841162[chckIndx(i_1442841187, 0, (b_1442841162).length - 1)], a_1442841161[chckIndx(j_1442841170, 0, (a_1442841161).length - 1)]), order_1442841169) <= 0)) { - F.line = 353; - a_1442841161[chckIndx(k_1442841188, 0, (a_1442841161).length - 1)] = nimCopy(a_1442841161[chckIndx(k_1442841188, 0, (a_1442841161).length - 1)], b_1442841162[chckIndx(i_1442841187, 0, (b_1442841162).length - 1)], NTI1442840582); - F.line = 354; - i_1442841187 = addInt(i_1442841187, 1); + if (!((k_1728053860 < j_1728053842) && (j_1728053842 <= hi_1728053837))) break Label4; + if ((HEX2A_1073741832(cmp_1728053840(b_1728053834[chckIndx(i_1728053859, 0, (b_1728053834).length - 1)], a_1728053833[chckIndx(j_1728053842, 0, (a_1728053833).length - 1)]), order_1728053841) <= 0)) { + a_1728053833[chckIndx(k_1728053860, 0, (a_1728053833).length - 1)] = nimCopy(a_1728053833[chckIndx(k_1728053860, 0, (a_1728053833).length - 1)], b_1728053834[chckIndx(i_1728053859, 0, (b_1728053834).length - 1)], NTI1728053254); + i_1728053859 = addInt(i_1728053859, 1); } else { - F.line = 356; - a_1442841161[chckIndx(k_1442841188, 0, (a_1442841161).length - 1)] = nimCopy(a_1442841161[chckIndx(k_1442841188, 0, (a_1442841161).length - 1)], a_1442841161[chckIndx(j_1442841170, 0, (a_1442841161).length - 1)], NTI1442840582); - F.line = 357; - j_1442841170 = addInt(j_1442841170, 1); + a_1728053833[chckIndx(k_1728053860, 0, (a_1728053833).length - 1)] = nimCopy(a_1728053833[chckIndx(k_1728053860, 0, (a_1728053833).length - 1)], a_1728053833[chckIndx(j_1728053842, 0, (a_1728053833).length - 1)], NTI1728053254); + j_1728053842 = addInt(j_1728053842, 1); } - F.line = 358; - k_1442841188 = addInt(k_1442841188, 1); + k_1728053860 = addInt(k_1728053860, 1); } }; Label5: { - F.line = 361; Label6: while (true) { - if (!(k_1442841188 < j_1442841170)) break Label6; - F.line = 362; - a_1442841161[chckIndx(k_1442841188, 0, (a_1442841161).length - 1)] = nimCopy(a_1442841161[chckIndx(k_1442841188, 0, (a_1442841161).length - 1)], b_1442841162[chckIndx(i_1442841187, 0, (b_1442841162).length - 1)], NTI1442840582); - F.line = 363; - k_1442841188 = addInt(k_1442841188, 1); - F.line = 364; - i_1442841187 = addInt(i_1442841187, 1); + if (!(k_1728053860 < j_1728053842)) break Label6; + a_1728053833[chckIndx(k_1728053860, 0, (a_1728053833).length - 1)] = nimCopy(a_1728053833[chckIndx(k_1728053860, 0, (a_1728053833).length - 1)], b_1728053834[chckIndx(i_1728053859, 0, (b_1728053834).length - 1)], NTI1728053254); + k_1728053860 = addInt(k_1728053860, 1); + i_1728053859 = addInt(i_1728053859, 1); } }; }; - framePtr = F.prev; } -function sort_1442841142(a_1442841144, cmp_1442841147, order_1442841148) { - var F = {procname: "sort.sort", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/algorithm.nim", line: 0}; - framePtr = F; - F.line = 411; - F.filename = "algorithm.nim"; - var n_1442841152 = (a_1442841144).length; - F.line = 412; - var b_1442841156 = newSeq_1442841126(chckRange(divInt(n_1442841152, 2), 0, 2147483647)); - F.line = 413; - var s_1442841157 = 1; +function sort_1728053814(a_1728053816, cmp_1728053819, order_1728053820) { + var n_1728053824 = (a_1728053816).length; + var b_1728053828 = newSeq_1728053798(chckRange(divInt(n_1728053824, 2), 0, 2147483647)); + var s_1728053829 = 1; Label1: { - F.line = 414; Label2: while (true) { - if (!(s_1442841157 < n_1442841152)) break Label2; - F.line = 415; - var m_1442841158 = subInt(subInt(n_1442841152, 1), s_1442841157); + if (!(s_1728053829 < n_1728053824)) break Label2; + var m_1728053830 = subInt(subInt(n_1728053824, 1), s_1728053829); Label3: { - F.line = 416; Label4: while (true) { - if (!(0 <= m_1442841158)) break Label4; - F.line = 417; - mergeAlt_1442841159(a_1442841144, b_1442841156, nimMax(addInt(subInt(m_1442841158, s_1442841157), 1), 0), m_1442841158, addInt(m_1442841158, s_1442841157), cmp_1442841147, order_1442841148); - F.line = 418; - m_1442841158 = subInt(m_1442841158, mulInt(s_1442841157, 2)); + if (!(0 <= m_1728053830)) break Label4; + mergeAlt_1728053831(a_1728053816, b_1728053828, nimMax(addInt(subInt(m_1728053830, s_1728053829), 1), 0), m_1728053830, addInt(m_1728053830, s_1728053829), cmp_1728053819, order_1728053820); + m_1728053830 = subInt(m_1728053830, mulInt(s_1728053829, 2)); } }; - F.line = 419; - s_1442841157 = mulInt(s_1442841157, 2); + s_1728053829 = mulInt(s_1728053829, 2); } }; - framePtr = F.prev; } -function sorted_1442841114(a_1442841116, cmp_1442841119, order_1442841120) { - var result_1442841121 = []; +function sorted_1728053786(a_1728053788, cmp_1728053791, order_1728053792) { + var result_1728053793 = []; - var F = {procname: "sorted.sorted", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/algorithm.nim", line: 0}; - framePtr = F; - F.line = 448; - F.filename = "algorithm.nim"; - result_1442841121 = nimCopy(null, newSeq_1442841126(chckRange((a_1442841116).length, 0, 2147483647)), NTI1442840998); + result_1728053793 = nimCopy(null, newSeq_1728053798(chckRange((a_1728053788).length, 0, 2147483647)), NTI1728053670); Label1: { - F.line = 449; - var i_1442841141 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__520100460 = 0; - F.line = 449; - F.filename = "algorithm.nim"; - colontmp__520100460 = (a_1442841116).length - 1; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_520100461 = 0; + var i_1728053813 = 0; + var colontmp__553654892 = 0; + colontmp__553654892 = (a_1728053788).length - 1; + var res_553654893 = 0; Label2: { - F.line = 97; Label3: while (true) { - if (!(res_520100461 <= colontmp__520100460)) break Label3; - F.line = 449; - F.filename = "algorithm.nim"; - i_1442841141 = res_520100461; - F.line = 450; - result_1442841121[chckIndx(i_1442841141, 0, (result_1442841121).length - 1)] = nimCopy(result_1442841121[chckIndx(i_1442841141, 0, (result_1442841121).length - 1)], a_1442841116[chckIndx(i_1442841141, 0, (a_1442841116).length - 1)], NTI1442840582); - F.line = 102; - F.filename = "iterators_1.nim"; - res_520100461 = addInt(res_520100461, 1); + if (!(res_553654893 <= colontmp__553654892)) break Label3; + i_1728053813 = res_553654893; + result_1728053793[chckIndx(i_1728053813, 0, (result_1728053793).length - 1)] = nimCopy(result_1728053793[chckIndx(i_1728053813, 0, (result_1728053793).length - 1)], a_1728053788[chckIndx(i_1728053813, 0, (a_1728053788).length - 1)], NTI1728053254); + res_553654893 = addInt(res_553654893, 1); } }; }; - F.line = 451; - F.filename = "algorithm.nim"; - sort_1442841142(result_1442841121, cmp_1442841119, order_1442841120); - framePtr = F.prev; + sort_1728053814(result_1728053793, cmp_1728053791, order_1728053792); - return result_1442841121; + return result_1728053793; } function cmp_33557985(x_33557987, y_33557988) { var result_33557989 = 0; - var F = {procname: "cmp.cmp", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; BeforeRet: { if ((x_33557987 == y_33557988)) { - F.line = 892; - F.filename = "system.nim"; result_33557989 = 0; break BeforeRet; } if ((x_33557987 < y_33557988)) { - F.line = 893; result_33557989 = (-1); break BeforeRet; } - F.line = 894; result_33557989 = 1; break BeforeRet; }; - framePtr = F.prev; return result_33557989; } -function find_1006633015(a_1006633018, item_1006633019) { - var result_1006633020 = 0; +function find_1090519095(a_1090519098, item_1090519099) { + var result_1090519100 = 0; - var F = {procname: "find.find", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 1671; - F.filename = "system.nim"; - result_1006633020 = 0; + result_1090519100 = 0; Label1: { - F.line = 1672; - var i_1006633024 = []; - F.line = 18; - F.filename = "iterators.nim"; - var i_520097555 = 0; + var i_1090519104 = []; + var i_553651987 = 0; Label2: { - F.line = 19; Label3: while (true) { - if (!(i_520097555 < (a_1006633018).length)) break Label3; - F.line = 1672; - F.filename = "system.nim"; - i_1006633024 = a_1006633018[chckIndx(i_520097555, 0, (a_1006633018).length - 1)]; - if (eqStrings(i_1006633024, item_1006633019)) { - F.line = 1673; + if (!(i_553651987 < (a_1090519098).length)) break Label3; + i_1090519104 = a_1090519098[chckIndx(i_553651987, 0, (a_1090519098).length - 1)]; + if (eqStrings(i_1090519104, item_1090519099)) { break BeforeRet; } - F.line = 1674; - result_1006633020 = addInt(result_1006633020, 1); - F.line = 13; - F.filename = "iterators.nim"; - i_520097555 += 1; + result_1090519100 = addInt(result_1090519100, 1); + i_553651987 += 1; } }; }; - F.line = 1675; - F.filename = "system.nim"; - result_1006633020 = (-1); + result_1090519100 = (-1); }; - framePtr = F.prev; - return result_1006633020; + return result_1090519100; } -function contains_1006633010(a_1006633012, item_1006633013) { - var result_1006633014 = false; +function contains_1090519090(a_1090519092, item_1090519093) { + var result_1090519094 = false; - var F = {procname: "contains.contains", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 1689; - F.filename = "system.nim"; - result_1006633014 = (0 <= find_1006633015(a_1006633012, item_1006633013)); + result_1090519094 = (0 <= find_1090519095(a_1090519092, item_1090519093)); break BeforeRet; }; - framePtr = F.prev; - - return result_1006633014; - -} - -function HEX26_1442841016(x_1442841018, y_1442841019) { - var result_1442841020 = []; - - var F = {procname: "&.&", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 1553; - F.filename = "system.nim"; - result_1442841020 = new Array(chckRange(addInt((x_1442841018).length, 1), 0, 2147483647)); for (var i = 0 ; i < chckRange(addInt((x_1442841018).length, 1), 0, 2147483647) ; ++i) { result_1442841020[i] = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); } Label1: { - F.line = 1554; - var i_1442841035 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__520100469 = 0; - F.line = 1554; - F.filename = "system.nim"; - colontmp__520100469 = subInt((x_1442841018).length, 1); - F.line = 96; - F.filename = "iterators_1.nim"; - var res_520100470 = 0; + + return result_1090519094; + +} + +function HEX26_1728053688(x_1728053690, y_1728053691) { + var result_1728053692 = []; + + result_1728053692 = new Array(chckRange(addInt((x_1728053690).length, 1), 0, 2147483647)); for (var i = 0 ; i < chckRange(addInt((x_1728053690).length, 1), 0, 2147483647) ; ++i) { result_1728053692[i] = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); } Label1: { + var i_1728053707 = 0; + var colontmp__553654901 = 0; + colontmp__553654901 = subInt((x_1728053690).length, 1); + var res_553654902 = 0; Label2: { - F.line = 97; Label3: while (true) { - if (!(res_520100470 <= colontmp__520100469)) break Label3; - F.line = 1554; - F.filename = "system.nim"; - i_1442841035 = res_520100470; - F.line = 1555; - result_1442841020[chckIndx(i_1442841035, 0, (result_1442841020).length - 1)] = nimCopy(result_1442841020[chckIndx(i_1442841035, 0, (result_1442841020).length - 1)], x_1442841018[chckIndx(i_1442841035, 0, (x_1442841018).length - 1)], NTI1442840581); - F.line = 102; - F.filename = "iterators_1.nim"; - res_520100470 = addInt(res_520100470, 1); + if (!(res_553654902 <= colontmp__553654901)) break Label3; + i_1728053707 = res_553654902; + result_1728053692[chckIndx(i_1728053707, 0, (result_1728053692).length - 1)] = nimCopy(result_1728053692[chckIndx(i_1728053707, 0, (result_1728053692).length - 1)], x_1728053690[chckIndx(i_1728053707, 0, (x_1728053690).length - 1)], NTI1728053253); + res_553654902 = addInt(res_553654902, 1); } }; }; - F.line = 1556; - F.filename = "system.nim"; - result_1442841020[chckIndx((x_1442841018).length, 0, (result_1442841020).length - 1)] = nimCopy(result_1442841020[chckIndx((x_1442841018).length, 0, (result_1442841020).length - 1)], y_1442841019, NTI1442840581); - framePtr = F.prev; + result_1728053692[chckIndx((x_1728053690).length, 0, (result_1728053692).length - 1)] = nimCopy(result_1728053692[chckIndx((x_1728053690).length, 0, (result_1728053692).length - 1)], y_1728053691, NTI1728053253); - return result_1442841020; + return result_1728053692; } -function secretSynergize_1442841087(currentPowers_1442841088, synergies_1442841089) { +function secretSynergize_1728053759(currentPowers_1728053760, synergies_1728053761) { -function HEX3Aanonymous_1442841096(xHEX60gensym23_1442841100, yHEX60gensym23_1442841101) { - var result_1442841102 = 0; - - var F = {procname: "secretSynergize.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/algorithm.nim", line: 0}; - framePtr = F; - F.line = 500; - F.filename = "algorithm.nim"; - var it_1442841103 = nimCopy(null, xHEX60gensym23_1442841100, NTI1442840582); - F.line = 501; - var aHEX60gensym23_1442841104 = it_1442841103.Field0.priority; - F.line = 502; - it_1442841103 = nimCopy(it_1442841103, yHEX60gensym23_1442841101, NTI1442840582); - F.line = 503; - var bHEX60gensym23_1442841105 = it_1442841103.Field0.priority; - F.line = 504; - result_1442841102 = cmp_33557985(aHEX60gensym23_1442841104, bHEX60gensym23_1442841105); - framePtr = F.prev; - - return result_1442841102; +function HEX3Aanonymous_1728053768(xHEX60gensym23_1728053772, yHEX60gensym23_1728053773) { + var result_1728053774 = 0; + + var it_1728053775 = nimCopy(null, xHEX60gensym23_1728053772, NTI1728053254); + var aHEX60gensym23_1728053776 = it_1728053775.Field0.priority; + it_1728053775 = nimCopy(it_1728053775, yHEX60gensym23_1728053773, NTI1728053254); + var bHEX60gensym23_1728053777 = it_1728053775.Field0.priority; + result_1728053774 = cmp_33557985(aHEX60gensym23_1728053776, bHEX60gensym23_1728053777); + + return result_1728053774; } - var result_1442841090 = []; + var result_1728053762 = []; - var F = {procname: "power.secretSynergize", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/power.nim", line: 0}; - framePtr = F; - F.line = 137; - F.filename = "power.nim"; - result_1442841090 = nimCopy(null, currentPowers_1442841088, NTI1442840976); + result_1728053762 = nimCopy(null, currentPowers_1728053760, NTI1728053648); Label1: { - F.line = 139; - var s_1442841238 = {Field0: ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}), Field1: 0, Field2: [], Field3: []}; - F.line = 247; - F.filename = "iterators.nim"; - var colontmp__520100455 = []; - F.line = 139; - F.filename = "power.nim"; - F.line = 499; - F.filename = "algorithm.nim"; - var resultHEX60gensym23_1442841234 = sorted_1442841114(synergies_1442841089, HEX3Aanonymous_1442841096, 1); - colontmp__520100455 = resultHEX60gensym23_1442841234; - F.line = 249; - F.filename = "iterators.nim"; - var i_520100456 = 0; - F.line = 250; - var L_520100457 = (colontmp__520100455).length; + var s_1728053910 = {Field0: ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}), Field1: 0, Field2: [], Field3: []}; + var colontmp__553654887 = []; + var resultHEX60gensym23_1728053906 = sorted_1728053786(synergies_1728053761, HEX3Aanonymous_1728053768, 1); + colontmp__553654887 = resultHEX60gensym23_1728053906; + var i_553654888 = 0; + var L_553654889 = (colontmp__553654887).length; Label2: { - F.line = 251; Label3: while (true) { - if (!(i_520100456 < L_520100457)) break Label3; - F.line = 139; - F.filename = "power.nim"; - s_1442841238 = colontmp__520100455[chckIndx(i_520100456, 0, (colontmp__520100455).length - 1)]; + if (!(i_553654888 < L_553654889)) break Label3; + s_1728053910 = colontmp__553654887[chckIndx(i_553654888, 0, (colontmp__553654887).length - 1)]; Label4: { - if (contains_1442841239(currentPowers_1442841088, s_1442841238.Field0)) { - F.line = 140; + if (contains_1728053911(currentPowers_1728053760, s_1728053910.Field0)) { break Label4; } - F.line = 652; - F.filename = "sequtils.nim"; - var resultHEX60gensym27_1442841292 = newSeq_1442840931(0); + var resultHEX60gensym27_1728053964 = newSeq_1728053603(0); Label5: { - F.line = 653; - var it_1442841296 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); - F.line = 249; - F.filename = "iterators.nim"; - var i_520100448 = 0; - F.line = 250; - var L_520100449 = (result_1442841090).length; + var it_1728053968 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); + var i_553654880 = 0; + var L_553654881 = (result_1728053762).length; Label6: { - F.line = 251; Label7: while (true) { - if (!(i_520100448 < L_520100449)) break Label7; - F.line = 653; - F.filename = "sequtils.nim"; - it_1442841296 = result_1442841090[chckIndx(i_520100448, 0, (result_1442841090).length - 1)]; - if (contains_1006633010(s_1442841238.Field2, it_1442841296.name)) { - F.line = 654; - var Temporary8 = nimCopy(null, it_1442841296, NTI1442840581); - resultHEX60gensym27_1442841292.push(Temporary8);; + if (!(i_553654880 < L_553654881)) break Label7; + it_1728053968 = result_1728053762[chckIndx(i_553654880, 0, (result_1728053762).length - 1)]; + if (contains_1090519090(s_1728053910.Field2, it_1728053968.name)) { + var Temporary8 = nimCopy(null, it_1728053968, NTI1728053253); + resultHEX60gensym27_1728053964.push(Temporary8);; } - F.line = 13; - F.filename = "iterators.nim"; - i_520100448 += 1; - if (!(((result_1442841090).length == L_520100449))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_553654880 += 1; + if (!(((result_1728053762).length == L_553654881))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - if (((resultHEX60gensym27_1442841292).length == (s_1442841238.Field2).length)) { - if (((s_1442841238.Field3).length == 0)) { - F.line = 143; - F.filename = "power.nim"; - var Temporary9 = nimCopy(null, powers_1442840649[0][chckIndx(s_1442841238.Field0.index, 0, (powers_1442840649[0]).length - 1)], NTI1442840581); - result_1442841090.push(Temporary9);; + if (((resultHEX60gensym27_1728053964).length == (s_1728053910.Field2).length)) { + if (((s_1728053910.Field3).length == 0)) { + var Temporary9 = nimCopy(null, powers_1728053321[0][chckIndx(s_1728053910.Field0.index, 0, (powers_1728053321[0]).length - 1)], NTI1728053253); + result_1728053762.push(Temporary9);; } else { - F.line = 145; - F.line = 652; - F.filename = "sequtils.nim"; - var resultHEX60gensym30_1442841322 = newSeq_1442840931(0); + var resultHEX60gensym30_1728053994 = newSeq_1728053603(0); Label10: { - F.line = 653; - var it_1442841326 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); - F.line = 249; - F.filename = "iterators.nim"; - var i_520100452 = 0; - F.line = 250; - var L_520100453 = (result_1442841090).length; + var it_1728053998 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); + var i_553654884 = 0; + var L_553654885 = (result_1728053762).length; Label11: { - F.line = 251; Label12: while (true) { - if (!(i_520100452 < L_520100453)) break Label12; - F.line = 653; - F.filename = "sequtils.nim"; - it_1442841326 = result_1442841090[chckIndx(i_520100452, 0, (result_1442841090).length - 1)]; - if (!(contains_1006633010(s_1442841238.Field3, it_1442841326.name))) { - F.line = 654; - var Temporary13 = nimCopy(null, it_1442841326, NTI1442840581); - resultHEX60gensym30_1442841322.push(Temporary13);; + if (!(i_553654884 < L_553654885)) break Label12; + it_1728053998 = result_1728053762[chckIndx(i_553654884, 0, (result_1728053762).length - 1)]; + if (!(contains_1090519090(s_1728053910.Field3, it_1728053998.name))) { + var Temporary13 = nimCopy(null, it_1728053998, NTI1728053253); + resultHEX60gensym30_1728053994.push(Temporary13);; } - F.line = 13; - F.filename = "iterators.nim"; - i_520100452 += 1; - if (!(((result_1442841090).length == L_520100453))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_553654884 += 1; + if (!(((result_1728053762).length == L_553654885))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - result_1442841090 = nimCopy(null, HEX26_1442841016(resultHEX60gensym30_1442841322, powers_1442840649[0][chckIndx(s_1442841238.Field0.index, 0, (powers_1442840649[0]).length - 1)]), NTI1442840934); + result_1728053762 = nimCopy(null, HEX26_1728053688(resultHEX60gensym30_1728053994, powers_1728053321[0][chckIndx(s_1728053910.Field0.index, 0, (powers_1728053321[0]).length - 1)]), NTI1728053606); } } }; - F.line = 13; - i_520100456 += 1; - if (!(((colontmp__520100455).length == L_520100457))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_553654888 += 1; + if (!(((colontmp__553654887).length == L_553654889))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - framePtr = F.prev; - - return result_1442841090; - -} - -function HEX26_1442841714(x_1442841716, y_1442841717) { - var result_1442841718 = []; - - var F = {procname: "&.&", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 1537; - F.filename = "system.nim"; - result_1442841718 = new Array(chckRange(addInt((x_1442841716).length, (y_1442841717).length), 0, 2147483647)); for (var i = 0 ; i < chckRange(addInt((x_1442841716).length, (y_1442841717).length), 0, 2147483647) ; ++i) { result_1442841718[i] = {Field0: ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}), Field1: 0, Field2: [], Field3: []}; } Label1: { - F.line = 1538; - var i_1442841736 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__520100473 = 0; - F.line = 1538; - F.filename = "system.nim"; - colontmp__520100473 = subInt((x_1442841716).length, 1); - F.line = 96; - F.filename = "iterators_1.nim"; - var res_520100474 = 0; + + return result_1728053762; + +} + +function HEX26_1728054386(x_1728054388, y_1728054389) { + var result_1728054390 = []; + + result_1728054390 = new Array(chckRange(addInt((x_1728054388).length, (y_1728054389).length), 0, 2147483647)); for (var i = 0 ; i < chckRange(addInt((x_1728054388).length, (y_1728054389).length), 0, 2147483647) ; ++i) { result_1728054390[i] = {Field0: ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}), Field1: 0, Field2: [], Field3: []}; } Label1: { + var i_1728054408 = 0; + var colontmp__553654905 = 0; + colontmp__553654905 = subInt((x_1728054388).length, 1); + var res_553654906 = 0; Label2: { - F.line = 97; Label3: while (true) { - if (!(res_520100474 <= colontmp__520100473)) break Label3; - F.line = 1538; - F.filename = "system.nim"; - i_1442841736 = res_520100474; - F.line = 1539; - result_1442841718[chckIndx(i_1442841736, 0, (result_1442841718).length - 1)] = nimCopy(result_1442841718[chckIndx(i_1442841736, 0, (result_1442841718).length - 1)], x_1442841716[chckIndx(i_1442841736, 0, (x_1442841716).length - 1)], NTI1442840582); - F.line = 102; - F.filename = "iterators_1.nim"; - res_520100474 = addInt(res_520100474, 1); + if (!(res_553654906 <= colontmp__553654905)) break Label3; + i_1728054408 = res_553654906; + result_1728054390[chckIndx(i_1728054408, 0, (result_1728054390).length - 1)] = nimCopy(result_1728054390[chckIndx(i_1728054408, 0, (result_1728054390).length - 1)], x_1728054388[chckIndx(i_1728054408, 0, (x_1728054388).length - 1)], NTI1728053254); + res_553654906 = addInt(res_553654906, 1); } }; }; Label4: { - F.line = 1540; - F.filename = "system.nim"; - var i_1442841744 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__520100477 = 0; - F.line = 1540; - F.filename = "system.nim"; - colontmp__520100477 = subInt((y_1442841717).length, 1); - F.line = 96; - F.filename = "iterators_1.nim"; - var res_520100478 = 0; + var i_1728054416 = 0; + var colontmp__553654909 = 0; + colontmp__553654909 = subInt((y_1728054389).length, 1); + var res_553654910 = 0; Label5: { - F.line = 97; Label6: while (true) { - if (!(res_520100478 <= colontmp__520100477)) break Label6; - F.line = 1540; - F.filename = "system.nim"; - i_1442841744 = res_520100478; - F.line = 1541; - result_1442841718[chckIndx(addInt(i_1442841744, (x_1442841716).length), 0, (result_1442841718).length - 1)] = nimCopy(result_1442841718[chckIndx(addInt(i_1442841744, (x_1442841716).length), 0, (result_1442841718).length - 1)], y_1442841717[chckIndx(i_1442841744, 0, (y_1442841717).length - 1)], NTI1442840582); - F.line = 102; - F.filename = "iterators_1.nim"; - res_520100478 = addInt(res_520100478, 1); + if (!(res_553654910 <= colontmp__553654909)) break Label6; + i_1728054416 = res_553654910; + result_1728054390[chckIndx(addInt(i_1728054416, (x_1728054388).length), 0, (result_1728054390).length - 1)] = nimCopy(result_1728054390[chckIndx(addInt(i_1728054416, (x_1728054388).length), 0, (result_1728054390).length - 1)], y_1728054389[chckIndx(i_1728054416, 0, (y_1728054389).length - 1)], NTI1728053254); + res_553654910 = addInt(res_553654910, 1); } }; }; - framePtr = F.prev; - return result_1442841718; + return result_1728054390; } -function mergeAlt_1442841877(a_1442841879, b_1442841880, lo_1442841881, m_1442841882, hi_1442841883, cmp_1442841886, order_1442841887) { - var F = {procname: "mergeAlt.mergeAlt", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/algorithm.nim", line: 0}; - framePtr = F; +function mergeAlt_1728054549(a_1728054551, b_1728054552, lo_1728054553, m_1728054554, hi_1728054555, cmp_1728054558, order_1728054559) { BeforeRet: { - if ((HEX2A_989855752(cmp_1442841886(a_1442841879[chckIndx(m_1442841882, 0, (a_1442841879).length - 1)], a_1442841879[chckIndx(addInt(m_1442841882, 1), 0, (a_1442841879).length - 1)]), order_1442841887) <= 0)) { - F.line = 335; - F.filename = "algorithm.nim"; + if ((HEX2A_1073741832(cmp_1728054558(a_1728054551[chckIndx(m_1728054554, 0, (a_1728054551).length - 1)], a_1728054551[chckIndx(addInt(m_1728054554, 1), 0, (a_1728054551).length - 1)]), order_1728054559) <= 0)) { break BeforeRet; } - F.line = 336; - var j_1442841888 = lo_1442841881; - if (!((j_1442841888 <= m_1442841882))) { - F.line = 338; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/algorithm.nim(338, 3) `j <= m` ")); + var j_1728054560 = lo_1728054553; + if (!((j_1728054560 <= m_1728054554))) { + failedAssertImpl_268435541([97,108,103,111,114,105,116,104,109,46,110,105,109,40,51,51,56,44,32,51,41,32,96,106,32,60,61,32,109,96,32]); } - F.line = 340; - var bb_1442841894 = 0; + var bb_1728054566 = 0; Label1: { - F.line = 341; Label2: while (true) { - if (!(j_1442841888 <= m_1442841882)) break Label2; - F.line = 342; - b_1442841880[chckIndx(bb_1442841894, 0, (b_1442841880).length - 1)] = nimCopy(b_1442841880[chckIndx(bb_1442841894, 0, (b_1442841880).length - 1)], a_1442841879[chckIndx(j_1442841888, 0, (a_1442841879).length - 1)], NTI1442840581); - F.line = 343; - bb_1442841894 = addInt(bb_1442841894, 1); - F.line = 344; - j_1442841888 = addInt(j_1442841888, 1); + if (!(j_1728054560 <= m_1728054554)) break Label2; + b_1728054552[chckIndx(bb_1728054566, 0, (b_1728054552).length - 1)] = nimCopy(b_1728054552[chckIndx(bb_1728054566, 0, (b_1728054552).length - 1)], a_1728054551[chckIndx(j_1728054560, 0, (a_1728054551).length - 1)], NTI1728053253); + bb_1728054566 = addInt(bb_1728054566, 1); + j_1728054560 = addInt(j_1728054560, 1); } }; - F.line = 348; - var i_1442841905 = 0; - F.line = 349; - var k_1442841906 = lo_1442841881; + var i_1728054577 = 0; + var k_1728054578 = lo_1728054553; Label3: { - F.line = 351; Label4: while (true) { - if (!((k_1442841906 < j_1442841888) && (j_1442841888 <= hi_1442841883))) break Label4; - if ((HEX2A_989855752(cmp_1442841886(b_1442841880[chckIndx(i_1442841905, 0, (b_1442841880).length - 1)], a_1442841879[chckIndx(j_1442841888, 0, (a_1442841879).length - 1)]), order_1442841887) <= 0)) { - F.line = 353; - a_1442841879[chckIndx(k_1442841906, 0, (a_1442841879).length - 1)] = nimCopy(a_1442841879[chckIndx(k_1442841906, 0, (a_1442841879).length - 1)], b_1442841880[chckIndx(i_1442841905, 0, (b_1442841880).length - 1)], NTI1442840581); - F.line = 354; - i_1442841905 = addInt(i_1442841905, 1); + if (!((k_1728054578 < j_1728054560) && (j_1728054560 <= hi_1728054555))) break Label4; + if ((HEX2A_1073741832(cmp_1728054558(b_1728054552[chckIndx(i_1728054577, 0, (b_1728054552).length - 1)], a_1728054551[chckIndx(j_1728054560, 0, (a_1728054551).length - 1)]), order_1728054559) <= 0)) { + a_1728054551[chckIndx(k_1728054578, 0, (a_1728054551).length - 1)] = nimCopy(a_1728054551[chckIndx(k_1728054578, 0, (a_1728054551).length - 1)], b_1728054552[chckIndx(i_1728054577, 0, (b_1728054552).length - 1)], NTI1728053253); + i_1728054577 = addInt(i_1728054577, 1); } else { - F.line = 356; - a_1442841879[chckIndx(k_1442841906, 0, (a_1442841879).length - 1)] = nimCopy(a_1442841879[chckIndx(k_1442841906, 0, (a_1442841879).length - 1)], a_1442841879[chckIndx(j_1442841888, 0, (a_1442841879).length - 1)], NTI1442840581); - F.line = 357; - j_1442841888 = addInt(j_1442841888, 1); + a_1728054551[chckIndx(k_1728054578, 0, (a_1728054551).length - 1)] = nimCopy(a_1728054551[chckIndx(k_1728054578, 0, (a_1728054551).length - 1)], a_1728054551[chckIndx(j_1728054560, 0, (a_1728054551).length - 1)], NTI1728053253); + j_1728054560 = addInt(j_1728054560, 1); } - F.line = 358; - k_1442841906 = addInt(k_1442841906, 1); + k_1728054578 = addInt(k_1728054578, 1); } }; Label5: { - F.line = 361; Label6: while (true) { - if (!(k_1442841906 < j_1442841888)) break Label6; - F.line = 362; - a_1442841879[chckIndx(k_1442841906, 0, (a_1442841879).length - 1)] = nimCopy(a_1442841879[chckIndx(k_1442841906, 0, (a_1442841879).length - 1)], b_1442841880[chckIndx(i_1442841905, 0, (b_1442841880).length - 1)], NTI1442840581); - F.line = 363; - k_1442841906 = addInt(k_1442841906, 1); - F.line = 364; - i_1442841905 = addInt(i_1442841905, 1); + if (!(k_1728054578 < j_1728054560)) break Label6; + a_1728054551[chckIndx(k_1728054578, 0, (a_1728054551).length - 1)] = nimCopy(a_1728054551[chckIndx(k_1728054578, 0, (a_1728054551).length - 1)], b_1728054552[chckIndx(i_1728054577, 0, (b_1728054552).length - 1)], NTI1728053253); + k_1728054578 = addInt(k_1728054578, 1); + i_1728054577 = addInt(i_1728054577, 1); } }; }; - framePtr = F.prev; } -function sort_1442841860(a_1442841862, cmp_1442841865, order_1442841866) { - var F = {procname: "sort.sort", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/algorithm.nim", line: 0}; - framePtr = F; - F.line = 411; - F.filename = "algorithm.nim"; - var n_1442841870 = (a_1442841862).length; - F.line = 412; - var b_1442841874 = newSeq_1442840931(chckRange(divInt(n_1442841870, 2), 0, 2147483647)); - F.line = 413; - var s_1442841875 = 1; +function sort_1728054532(a_1728054534, cmp_1728054537, order_1728054538) { + var n_1728054542 = (a_1728054534).length; + var b_1728054546 = newSeq_1728053603(chckRange(divInt(n_1728054542, 2), 0, 2147483647)); + var s_1728054547 = 1; Label1: { - F.line = 414; Label2: while (true) { - if (!(s_1442841875 < n_1442841870)) break Label2; - F.line = 415; - var m_1442841876 = subInt(subInt(n_1442841870, 1), s_1442841875); + if (!(s_1728054547 < n_1728054542)) break Label2; + var m_1728054548 = subInt(subInt(n_1728054542, 1), s_1728054547); Label3: { - F.line = 416; Label4: while (true) { - if (!(0 <= m_1442841876)) break Label4; - F.line = 417; - mergeAlt_1442841877(a_1442841862, b_1442841874, nimMax(addInt(subInt(m_1442841876, s_1442841875), 1), 0), m_1442841876, addInt(m_1442841876, s_1442841875), cmp_1442841865, order_1442841866); - F.line = 418; - m_1442841876 = subInt(m_1442841876, mulInt(s_1442841875, 2)); + if (!(0 <= m_1728054548)) break Label4; + mergeAlt_1728054549(a_1728054534, b_1728054546, nimMax(addInt(subInt(m_1728054548, s_1728054547), 1), 0), m_1728054548, addInt(m_1728054548, s_1728054547), cmp_1728054537, order_1728054538); + m_1728054548 = subInt(m_1728054548, mulInt(s_1728054547, 2)); } }; - F.line = 419; - s_1442841875 = mulInt(s_1442841875, 2); + s_1728054547 = mulInt(s_1728054547, 2); } }; - framePtr = F.prev; } -function sorted_1442841838(a_1442841840, cmp_1442841843, order_1442841844) { - var result_1442841845 = []; +function sorted_1728054510(a_1728054512, cmp_1728054515, order_1728054516) { + var result_1728054517 = []; - var F = {procname: "sorted.sorted", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/algorithm.nim", line: 0}; - framePtr = F; - F.line = 448; - F.filename = "algorithm.nim"; - result_1442841845 = nimCopy(null, newSeq_1442840931(chckRange((a_1442841840).length, 0, 2147483647)), NTI1442840869); + result_1728054517 = nimCopy(null, newSeq_1728053603(chckRange((a_1728054512).length, 0, 2147483647)), NTI1728053541); Label1: { - F.line = 449; - var i_1442841859 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__520100481 = 0; - F.line = 449; - F.filename = "algorithm.nim"; - colontmp__520100481 = (a_1442841840).length - 1; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_520100482 = 0; + var i_1728054531 = 0; + var colontmp__553654913 = 0; + colontmp__553654913 = (a_1728054512).length - 1; + var res_553654914 = 0; Label2: { - F.line = 97; Label3: while (true) { - if (!(res_520100482 <= colontmp__520100481)) break Label3; - F.line = 449; - F.filename = "algorithm.nim"; - i_1442841859 = res_520100482; - F.line = 450; - result_1442841845[chckIndx(i_1442841859, 0, (result_1442841845).length - 1)] = nimCopy(result_1442841845[chckIndx(i_1442841859, 0, (result_1442841845).length - 1)], a_1442841840[chckIndx(i_1442841859, 0, (a_1442841840).length - 1)], NTI1442840581); - F.line = 102; - F.filename = "iterators_1.nim"; - res_520100482 = addInt(res_520100482, 1); + if (!(res_553654914 <= colontmp__553654913)) break Label3; + i_1728054531 = res_553654914; + result_1728054517[chckIndx(i_1728054531, 0, (result_1728054517).length - 1)] = nimCopy(result_1728054517[chckIndx(i_1728054531, 0, (result_1728054517).length - 1)], a_1728054512[chckIndx(i_1728054531, 0, (a_1728054512).length - 1)], NTI1728053253); + res_553654914 = addInt(res_553654914, 1); } }; }; - F.line = 451; - F.filename = "algorithm.nim"; - sort_1442841860(result_1442841845, cmp_1442841843, order_1442841844); - framePtr = F.prev; + sort_1728054532(result_1728054517, cmp_1728054515, order_1728054516); - return result_1442841845; + return result_1728054517; } -function concat_1442841754(seqs_1442841756) { - var result_1442841757 = []; +function concat_1728054426(seqs_1728054428) { + var result_1728054429 = []; - var F = {procname: "concat.concat", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/sequtils.nim", line: 0}; - framePtr = F; - F.line = 134; - F.filename = "sequtils.nim"; - var L_1442841758 = 0; + var L_1728054430 = 0; Label1: { - F.line = 135; - var seqitm_1442841772 = []; - F.line = 18; - F.filename = "iterators.nim"; - var i_520100491 = 0; + var seqitm_1728054444 = []; + var i_553654923 = 0; Label2: { - F.line = 19; Label3: while (true) { - if (!(i_520100491 < (seqs_1442841756).length)) break Label3; - F.line = 135; - F.filename = "sequtils.nim"; - seqitm_1442841772 = seqs_1442841756[chckIndx(i_520100491, 0, (seqs_1442841756).length - 1)]; - F.line = 135; - L_1442841758 = addInt(L_1442841758, (seqitm_1442841772).length); - F.line = 13; - F.filename = "iterators.nim"; - i_520100491 += 1; + if (!(i_553654923 < (seqs_1728054428).length)) break Label3; + seqitm_1728054444 = seqs_1728054428[chckIndx(i_553654923, 0, (seqs_1728054428).length - 1)]; + L_1728054430 = addInt(L_1728054430, (seqitm_1728054444).length); + i_553654923 += 1; } }; }; - F.line = 136; - F.filename = "sequtils.nim"; - result_1442841757 = new Array(chckRange(L_1442841758, 0, 2147483647)); for (var i = 0 ; i < chckRange(L_1442841758, 0, 2147483647) ; ++i) { result_1442841757[i] = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); } F.line = 137; - var i_1442841785 = 0; + result_1728054429 = new Array(chckRange(L_1728054430, 0, 2147483647)); for (var i = 0 ; i < chckRange(L_1728054430, 0, 2147483647) ; ++i) { result_1728054429[i] = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); } var i_1728054457 = 0; Label4: { - F.line = 138; - var s_1442841789 = []; - F.line = 18; - F.filename = "iterators.nim"; - var i_520100498 = 0; + var s_1728054461 = []; + var i_553654930 = 0; Label5: { - F.line = 19; Label6: while (true) { - if (!(i_520100498 < (seqs_1442841756).length)) break Label6; - F.line = 138; - F.filename = "sequtils.nim"; - s_1442841789 = seqs_1442841756[chckIndx(i_520100498, 0, (seqs_1442841756).length - 1)]; + if (!(i_553654930 < (seqs_1728054428).length)) break Label6; + s_1728054461 = seqs_1728054428[chckIndx(i_553654930, 0, (seqs_1728054428).length - 1)]; Label7: { - F.line = 139; - var itm_1442841793 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); - F.line = 249; - F.filename = "iterators.nim"; - var i_520100495 = 0; - F.line = 250; - var L_520100496 = (s_1442841789).length; + var itm_1728054465 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); + var i_553654927 = 0; + var L_553654928 = (s_1728054461).length; Label8: { - F.line = 251; Label9: while (true) { - if (!(i_520100495 < L_520100496)) break Label9; - F.line = 139; - F.filename = "sequtils.nim"; - itm_1442841793 = s_1442841789[chckIndx(i_520100495, 0, (s_1442841789).length - 1)]; - F.line = 140; - result_1442841757[chckIndx(i_1442841785, 0, (result_1442841757).length - 1)] = nimCopy(result_1442841757[chckIndx(i_1442841785, 0, (result_1442841757).length - 1)], itm_1442841793, NTI1442840581); - F.line = 141; - i_1442841785 = addInt(i_1442841785, 1); - F.line = 13; - F.filename = "iterators.nim"; - i_520100495 += 1; - if (!(((s_1442841789).length == L_520100496))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + if (!(i_553654927 < L_553654928)) break Label9; + itm_1728054465 = s_1728054461[chckIndx(i_553654927, 0, (s_1728054461).length - 1)]; + result_1728054429[chckIndx(i_1728054457, 0, (result_1728054429).length - 1)] = nimCopy(result_1728054429[chckIndx(i_1728054457, 0, (result_1728054429).length - 1)], itm_1728054465, NTI1728053253); + i_1728054457 = addInt(i_1728054457, 1); + i_553654927 += 1; + if (!(((s_1728054461).length == L_553654928))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - F.line = 13; - i_520100498 += 1; + i_553654930 += 1; } }; }; - framePtr = F.prev; - return result_1442841757; + return result_1728054429; } -function execute_1442841695(myDrafts_1442841696, opponentDrafts_1442841697, mySide_1442841698, board_1442841699, state_1442841700) { +function execute_1728054367(myDrafts_1728054368, opponentDrafts_1728054369, mySide_1728054370, board_1728054371, state_1728054372) { -function HEX3Aanonymous_1442841820(xHEX60gensym51_1442841824, yHEX60gensym51_1442841825) { - var result_1442841826 = 0; - - var F = {procname: "execute.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/algorithm.nim", line: 0}; - framePtr = F; - F.line = 500; - F.filename = "algorithm.nim"; - var it_1442841827 = nimCopy(null, xHEX60gensym51_1442841824, NTI1442840581); - F.line = 501; - var aHEX60gensym51_1442841828 = it_1442841827.priority; - F.line = 502; - it_1442841827 = nimCopy(it_1442841827, yHEX60gensym51_1442841825, NTI1442840581); - F.line = 503; - var bHEX60gensym51_1442841829 = it_1442841827.priority; - F.line = 504; - result_1442841826 = cmp_33557985(aHEX60gensym51_1442841828, bHEX60gensym51_1442841829); - framePtr = F.prev; - - return result_1442841826; +function HEX3Aanonymous_1728054492(xHEX60gensym51_1728054496, yHEX60gensym51_1728054497) { + var result_1728054498 = 0; + + var it_1728054499 = nimCopy(null, xHEX60gensym51_1728054496, NTI1728053253); + var aHEX60gensym51_1728054500 = it_1728054499.priority; + it_1728054499 = nimCopy(it_1728054499, yHEX60gensym51_1728054497, NTI1728053253); + var bHEX60gensym51_1728054501 = it_1728054499.priority; + result_1728054498 = cmp_33557985(aHEX60gensym51_1728054500, bHEX60gensym51_1728054501); + + return result_1728054498; } - var F = {procname: "power.execute", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/power.nim", line: 0}; - framePtr = F; Label1: { - F.line = 197; - F.filename = "power.nim"; - var x_1442841704 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); - F.line = 249; - F.filename = "iterators.nim"; - var i_520100437 = 0; - F.line = 250; - var L_520100438 = (myDrafts_1442841696).length; + var x_1728054376 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); + var i_553654869 = 0; + var L_553654870 = (myDrafts_1728054368).length; Label2: { - F.line = 251; Label3: while (true) { - if (!(i_520100437 < L_520100438)) break Label3; - F.line = 197; - F.filename = "power.nim"; - x_1442841704 = myDrafts_1442841696[chckIndx(i_520100437, 0, (myDrafts_1442841696).length - 1)]; - if (!((!(contains_1442841239(opponentDrafts_1442841697, x_1442841704)) && !(eqStrings(x_1442841704.name, [78,111,116,104,105,110,103,46,32,78,111,116,104,105,110,103,46,46,46]))))) { - F.line = 198; - failedAssertImpl_268435541((makeNimstrLit("/Users/ajayvallurupalli/the-playground/chess/src/power.nim(198, 9) `x notin opponentDrafts and x.name != emptyPower.name` ") || []).concat(x_1442841704.name || [],[32,105,115,32,115,111,109,101,104,111,119,32,105,110,32,98,111,116,104,32,112,111,111,108,115] || [])); + if (!(i_553654869 < L_553654870)) break Label3; + x_1728054376 = myDrafts_1728054368[chckIndx(i_553654869, 0, (myDrafts_1728054368).length - 1)]; + if (!((!(contains_1728053911(opponentDrafts_1728054369, x_1728054376)) && !(eqStrings(x_1728054376.name, [78,111,116,104,105,110,103,46,32,78,111,116,104,105,110,103,46,46,46]))))) { + failedAssertImpl_268435541((makeNimstrLit("power.nim(198, 9) `x notin opponentDrafts and x.name != emptyPower.name` ") || []).concat(x_1728054376.name || [],[32,105,115,32,115,111,109,101,104,111,119,32,105,110,32,98,111,116,104,32,112,111,111,108,115] || [])); } - F.line = 13; - F.filename = "iterators.nim"; - i_520100437 += 1; - if (!(((myDrafts_1442841696).length == L_520100438))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_553654869 += 1; + if (!(((myDrafts_1728054368).length == L_553654870))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - F.line = 200; - F.filename = "power.nim"; - var mySynergizedDrafts_1442841748 = secretSynergize_1442841087(myDrafts_1442841696, HEX26_1442841714(secretSynergies_1442840651[0], secretSecretSynergies_1442840652[0])); - F.line = 201; - var opponentSynergizedDrafts_1442841753 = secretSynergize_1442841087(opponentDrafts_1442841697, HEX26_1442841714(secretSynergies_1442840651[0], secretSecretSynergies_1442840652[0])); + var mySynergizedDrafts_1728054420 = secretSynergize_1728053759(myDrafts_1728054368, HEX26_1728054386(secretSynergies_1728053323[0], secretSecretSynergies_1728053324[0])); + var opponentSynergizedDrafts_1728054425 = secretSynergize_1728053759(opponentDrafts_1728054369, HEX26_1728054386(secretSynergies_1728053323[0], secretSecretSynergies_1728053324[0])); Label4: { - F.line = 203; - var d_1442841941 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); - F.line = 247; - F.filename = "iterators.nim"; - var colontmp__520100441 = []; - F.line = 203; - F.filename = "power.nim"; - F.line = 499; - F.filename = "algorithm.nim"; - var resultHEX60gensym51_1442841937 = sorted_1442841838(concat_1442841754([nimCopy(null, mySynergizedDrafts_1442841748, NTI1442841453), nimCopy(null, opponentSynergizedDrafts_1442841753, NTI1442841458)]), HEX3Aanonymous_1442841820, 1); - colontmp__520100441 = resultHEX60gensym51_1442841937; - F.line = 249; - F.filename = "iterators.nim"; - var i_520100442 = 0; - F.line = 250; - var L_520100443 = (colontmp__520100441).length; + var d_1728054613 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); + var colontmp__553654873 = []; + var resultHEX60gensym51_1728054609 = sorted_1728054510(concat_1728054426([nimCopy(null, mySynergizedDrafts_1728054420, NTI1728054125), nimCopy(null, opponentSynergizedDrafts_1728054425, NTI1728054130)]), HEX3Aanonymous_1728054492, 1); + colontmp__553654873 = resultHEX60gensym51_1728054609; + var i_553654874 = 0; + var L_553654875 = (colontmp__553654873).length; Label5: { - F.line = 251; Label6: while (true) { - if (!(i_520100442 < L_520100443)) break Label6; - F.line = 203; - F.filename = "power.nim"; - d_1442841941 = colontmp__520100441[chckIndx(i_520100442, 0, (colontmp__520100441).length - 1)]; - if (contains_1442841239(mySynergizedDrafts_1442841748, d_1442841941)) { - F.line = 205; - d_1442841941.onStart(mySide_1442841698, mySide_1442841698, board_1442841699, state_1442841700); + if (!(i_553654874 < L_553654875)) break Label6; + d_1728054613 = colontmp__553654873[chckIndx(i_553654874, 0, (colontmp__553654873).length - 1)]; + if (contains_1728053911(mySynergizedDrafts_1728054420, d_1728054613)) { + d_1728054613.onStart(mySide_1728054370, mySide_1728054370, board_1728054371, state_1728054372); } else { - F.line = 207; - d_1442841941.onStart(otherSide_1224737821(mySide_1442841698), mySide_1442841698, board_1442841699, state_1442841700); + d_1728054613.onStart(otherSide_1476396061(mySide_1728054370), mySide_1728054370, board_1728054371, state_1728054372); } - F.line = 13; - F.filename = "iterators.nim"; - i_520100442 += 1; - if (!(((colontmp__520100441).length == L_520100443))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_553654874 += 1; + if (!(((colontmp__553654873).length == L_553654875))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - framePtr = F.prev; } -function add_520097287(x_520097289, x_520097289_Idx, y_520097290) { +function add_553651719(x_553651721, x_553651721_Idx, y_553651722) { var Temporary1; - var F = {procname: "add.add", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 1210; - F.filename = "system.nim"; - var xl_520097294 = (x_520097289[x_520097289_Idx]).length; - F.line = 1211; - if (x_520097289[x_520097289_Idx].length < (Temporary1 = chckRange(addInt(xl_520097294, (y_520097290).length), 0, 2147483647), Temporary1)) { for (var i = x_520097289[x_520097289_Idx].length ; i < Temporary1 ; ++i) x_520097289[x_520097289_Idx].push(({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0})); } - else { x_520097289[x_520097289_Idx].length = Temporary1; }; + var xl_553651726 = (x_553651721[x_553651721_Idx]).length; + if (x_553651721[x_553651721_Idx].length < (Temporary1 = chckRange(addInt(xl_553651726, (y_553651722).length), 0, 2147483647), Temporary1)) { for (var i = x_553651721[x_553651721_Idx].length ; i < Temporary1 ; ++i) x_553651721[x_553651721_Idx].push(({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0})); } + else { x_553651721[x_553651721_Idx].length = Temporary1; }; Label2: { - F.line = 1212; - var i_520097309 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__520100501 = 0; - F.line = 1212; - F.filename = "system.nim"; - colontmp__520100501 = (y_520097290).length - 1; - F.line = 96; - F.filename = "iterators_1.nim"; - var res_520100502 = 0; + var i_553651741 = 0; + var colontmp__553654933 = 0; + colontmp__553654933 = (y_553651722).length - 1; + var res_553654934 = 0; Label3: { - F.line = 97; Label4: while (true) { - if (!(res_520100502 <= colontmp__520100501)) break Label4; - F.line = 1212; - F.filename = "system.nim"; - i_520097309 = res_520100502; - F.line = 1212; - x_520097289[x_520097289_Idx][chckIndx(addInt(xl_520097294, i_520097309), 0, (x_520097289[x_520097289_Idx]).length - 1)] = nimCopy(x_520097289[x_520097289_Idx][chckIndx(addInt(xl_520097294, i_520097309), 0, (x_520097289[x_520097289_Idx]).length - 1)], y_520097290[chckIndx(i_520097309, 0, (y_520097290).length - 1)], NTI1442840581); - F.line = 102; - F.filename = "iterators_1.nim"; - res_520100502 = addInt(res_520100502, 1); + if (!(res_553654934 <= colontmp__553654933)) break Label4; + i_553651741 = res_553654934; + x_553651721[x_553651721_Idx][chckIndx(addInt(xl_553651726, i_553651741), 0, (x_553651721[x_553651721_Idx]).length - 1)] = nimCopy(x_553651721[x_553651721_Idx][chckIndx(addInt(xl_553651726, i_553651741), 0, (x_553651721[x_553651721_Idx]).length - 1)], y_553651722[chckIndx(i_553651741, 0, (y_553651722).length - 1)], NTI1728053253); + res_553654934 = addInt(res_553654934, 1); } }; }; - framePtr = F.prev; } -function HEX3Aanonymous_1493174231(taken_1493174232, taker_1493174233, board_1493174234, state_1493174235) { - var result_1493174238 = {Field0: {Field0: 0, Field1: 0}, Field1: false}; +function HEX3Aanonymous_1845495767(taken_1845495768, taker_1845495769, board_1845495770, state_1845495771) { + var result_1845495774 = {Field0: {Field0: 0, Field1: 0}, Field1: false}; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 1308; - F.filename = "powers.nim"; - var colontmp__520100505 = nimCopy(null, taker_1493174233.tile, NTI1224736771); - F.line = 1308; - var colontmp__520100506 = false; - F.line = 1308; - result_1493174238 = nimCopy(result_1493174238, {Field0: nimCopy(null, colontmp__520100505, NTI1224736771), Field1: colontmp__520100506}, NTI1493174178); + var colontmp__553654937 = nimCopy(null, taker_1845495769.tile, NTI1476395011); + var colontmp__553654938 = false; + result_1845495774 = nimCopy(result_1845495774, {Field0: nimCopy(null, colontmp__553654937, NTI1476395011), Field1: colontmp__553654938}, NTI1845495714); break BeforeRet; }; - framePtr = F.prev; - return result_1493174238; + return result_1845495774; } -function HEX3Aanonymous_1493174194(piece_1493174195, board_1493174196, state_1493174197) { - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; +function HEX3Aanonymous_1845495730(piece_1845495731, board_1845495732, state_1845495733) { BeforeRet: { - if (!(piece_1493174195.drunk)) { - F.line = 1295; - F.filename = "powers.nim"; - piece_1493174195.drunk = true; - F.line = 1296; - randomize_1392509190(BigInt(addInt(addInt(mulInt(10, piece_1493174195.tile.Field1), mulInt(100, piece_1493174195.tile.Field0)), state_1493174197.Field0.randSeed))); - F.line = 1298; - piece_1493174195.moves.push(HEX3Aanonymous_1291845865);; - F.line = 1299; - var moves_1493174202 = HEX3Aanonymous_1291845865(board_1493174196, piece_1493174195); - F.line = 1300; - var takes_1493174203 = HEX3Aanonymous_1291845880(board_1493174196, piece_1493174195); - F.line = 1301; - F.line = 652; - F.filename = "sequtils.nim"; - var resultHEX60gensym80_1493174208 = newSeq_1224737519(0); + if (!(piece_1845495731.drunk)) { + piece_1845495731.drunk = true; + randomize_1644167430(BigInt(addInt(addInt(mulInt(10, piece_1845495731.tile.Field1), mulInt(100, piece_1845495731.tile.Field0)), state_1845495733.Field0.randSeed))); + piece_1845495731.moves.push(HEX3Aanonymous_1543504105);; + var moves_1845495738 = HEX3Aanonymous_1543504105(board_1845495732, piece_1845495731); + var takes_1845495739 = HEX3Aanonymous_1543504120(board_1845495732, piece_1845495731); + var resultHEX60gensym80_1845495744 = newSeq_1476395759(0); Label1: { - F.line = 653; - var it_1493174212 = {Field0: 0, Field1: 0}; - F.line = 249; - F.filename = "iterators.nim"; - var i_520100508 = 0; - F.line = 250; - var L_520100509 = (moves_1493174202).length; + var it_1845495748 = {Field0: 0, Field1: 0}; + var i_553654940 = 0; + var L_553654941 = (moves_1845495738).length; Label2: { - F.line = 251; Label3: while (true) { - if (!(i_520100508 < L_520100509)) break Label3; - F.line = 653; - F.filename = "sequtils.nim"; - it_1493174212 = moves_1493174202[chckIndx(i_520100508, 0, (moves_1493174202).length - 1)]; - if (!(contains_1224737421(takes_1493174203, it_1493174212))) { - F.line = 654; - var Temporary4 = nimCopy(null, it_1493174212, NTI1224736771); - resultHEX60gensym80_1493174208.push(Temporary4);; + if (!(i_553654940 < L_553654941)) break Label3; + it_1845495748 = moves_1845495738[chckIndx(i_553654940, 0, (moves_1845495738).length - 1)]; + if (!(contains_1476395661(takes_1845495739, it_1845495748))) { + var Temporary4 = nimCopy(null, it_1845495748, NTI1476395011); + resultHEX60gensym80_1845495744.push(Temporary4);; } - F.line = 13; - F.filename = "iterators.nim"; - i_520100508 += 1; - if (!(((moves_1493174202).length == L_520100509))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_553654940 += 1; + if (!(((moves_1845495738).length == L_553654941))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - var attempt_1493174221 = nimCopy(null, resultHEX60gensym80_1493174208, NTI1224737341); - if (((attempt_1493174221).length == 0)) { - F.line = 1303; - F.filename = "powers.nim"; + var attempt_1845495757 = nimCopy(null, resultHEX60gensym80_1845495744, NTI1476395581); + if (((attempt_1845495757).length == 0)) { break BeforeRet; } else { - F.line = 1304; - piece_1493174195.onMove(piece_1493174195, sample_1493173919(attempt_1493174221), board_1493174196, state_1493174197); + piece_1845495731.onMove(piece_1845495731, sample_1845495455(attempt_1845495757), board_1845495732, state_1845495733); } } }; - framePtr = F.prev; } -function HEX3Aanonymous_1493174240(side_1493174241, __1493174242, b_1493174243, state_1493174244) { +function HEX3Aanonymous_1845495776(side_1845495777, __1845495778, b_1845495779, state_1845495780) { var Temporary1; - var F = {procname: "powers.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/powers.nim", line: 0}; - framePtr = F; - F.line = 1319; - F.filename = "powers.nim"; - randomize_1392509190(BigInt(state_1493174244.Field0.randSeed)); - F.line = 1320; - if ((side_1493174241 == 0)) { + randomize_1644167430(BigInt(state_1845495780.Field0.randSeed)); + if ((side_1845495777 == 0)) { Temporary1 = 5; } else { Temporary1 = 2; } - var rank_1493174249 = Temporary1; - F.line = 1321; - var commoner_1493174266 = {item: 7, color: side_1493174241, moves: [HEX3Aanonymous_1291845865], takes: [], onMove: HEX3Aanonymous_1224737631, onTake: HEX3Aanonymous_1224737642, whenTaken: HEX3Aanonymous_1493174231, onEndTurn: [HEX3Aanonymous_1493174194], onPromote: [HEX3Aanonymous_1224737210], filePath: [99,105,118,105,108,105,97,110,46,115,118,103], timesMoved: 0, piecesTaken: 0, tile: nimCopy(null, {Field0: (-1), Field1: (-1)}, NTI1224736771), promoted: false, colorable: true, rotate: false, drunk: false, index: 0, casts: []}; - F.line = 1325; - var spawns_1493174267 = 0; - F.line = 1326; - var failsafe_1493174268 = 20; - F.line = 1327; - var attempt_1493174269 = rand_1392509064(7); + var rank_1845495785 = Temporary1; + var commoner_1845495802 = {item: 7, color: side_1845495777, moves: [HEX3Aanonymous_1543504105], takes: [], onMove: HEX3Aanonymous_1476395871, onTake: HEX3Aanonymous_1476395882, whenTaken: HEX3Aanonymous_1845495767, onEndTurn: [HEX3Aanonymous_1845495730], onPromote: [HEX3Aanonymous_1476395450], filePath: [99,105,118,105,108,105,97,110,46,115,118,103], timesMoved: 0, piecesTaken: 0, tile: nimCopy(null, {Field0: (-1), Field1: (-1)}, NTI1476395011), promoted: false, colorable: true, rotate: false, drunk: false, index: 0, casts: []}; + var spawns_1845495803 = 0; + var failsafe_1845495804 = 20; + var attempt_1845495805 = rand_1644167304(7); Label2: { - F.line = 1328; Label3: while (true) { - if (!(!((spawns_1493174267 == 3)) && !((failsafe_1493174268 == 0)))) break Label3; - if (isAir_1224737796(b_1493174243[chckIndx(rank_1493174249, 0, (b_1493174243).length - 1)][chckIndx(attempt_1493174269, 0, (b_1493174243[chckIndx(rank_1493174249, 0, (b_1493174243).length - 1)]).length - 1)])) { - F.line = 1330; - var tile_1493174270 = nimCopy(null, b_1493174243[chckIndx(rank_1493174249, 0, (b_1493174243).length - 1)][chckIndx(attempt_1493174269, 0, (b_1493174243[chckIndx(rank_1493174249, 0, (b_1493174243).length - 1)]).length - 1)].tile, NTI1224736771); - F.line = 1331; - b_1493174243[chckIndx(rank_1493174249, 0, (b_1493174243).length - 1)][chckIndx(attempt_1493174269, 0, (b_1493174243[chckIndx(rank_1493174249, 0, (b_1493174243).length - 1)]).length - 1)] = nimCopy(b_1493174243[chckIndx(rank_1493174249, 0, (b_1493174243).length - 1)][chckIndx(attempt_1493174269, 0, (b_1493174243[chckIndx(rank_1493174249, 0, (b_1493174243).length - 1)]).length - 1)], pieceCopy_1224737660(commoner_1493174266, newIndex_1224737255(state_1493174244), commoner_1493174266.item, commoner_1493174266.color, commoner_1493174266.timesMoved, commoner_1493174266.piecesTaken, tile_1493174270, commoner_1493174266.moves, commoner_1493174266.takes, commoner_1493174266.onMove, commoner_1493174266.onTake, commoner_1493174266.whenTaken, commoner_1493174266.onEndTurn, commoner_1493174266.onPromote, commoner_1493174266.promoted, commoner_1493174266.filePath, commoner_1493174266.colorable, commoner_1493174266.rotate, commoner_1493174266.drunk), NTI1224736794); - F.line = 1332; - spawns_1493174267 = addInt(spawns_1493174267, 1); + if (!(!((spawns_1845495803 == 3)) && !((failsafe_1845495804 == 0)))) break Label3; + if (isAir_1476396036(b_1845495779[chckIndx(rank_1845495785, 0, (b_1845495779).length - 1)][chckIndx(attempt_1845495805, 0, (b_1845495779[chckIndx(rank_1845495785, 0, (b_1845495779).length - 1)]).length - 1)])) { + var tile_1845495806 = nimCopy(null, b_1845495779[chckIndx(rank_1845495785, 0, (b_1845495779).length - 1)][chckIndx(attempt_1845495805, 0, (b_1845495779[chckIndx(rank_1845495785, 0, (b_1845495779).length - 1)]).length - 1)].tile, NTI1476395011); + b_1845495779[chckIndx(rank_1845495785, 0, (b_1845495779).length - 1)][chckIndx(attempt_1845495805, 0, (b_1845495779[chckIndx(rank_1845495785, 0, (b_1845495779).length - 1)]).length - 1)] = nimCopy(b_1845495779[chckIndx(rank_1845495785, 0, (b_1845495779).length - 1)][chckIndx(attempt_1845495805, 0, (b_1845495779[chckIndx(rank_1845495785, 0, (b_1845495779).length - 1)]).length - 1)], pieceCopy_1476395900(commoner_1845495802, newIndex_1476395495(state_1845495780), commoner_1845495802.item, commoner_1845495802.color, commoner_1845495802.timesMoved, commoner_1845495802.piecesTaken, tile_1845495806, commoner_1845495802.moves, commoner_1845495802.takes, commoner_1845495802.onMove, commoner_1845495802.onTake, commoner_1845495802.whenTaken, commoner_1845495802.onEndTurn, commoner_1845495802.onPromote, commoner_1845495802.promoted, commoner_1845495802.filePath, commoner_1845495802.colorable, commoner_1845495802.rotate, commoner_1845495802.drunk), NTI1476395034); + spawns_1845495803 = addInt(spawns_1845495803, 1); } else { - F.line = 1334; - failsafe_1493174268 = subInt(failsafe_1493174268, 1); + failsafe_1845495804 = subInt(failsafe_1845495804, 1); } - F.line = 1336; - attempt_1493174269 = rand_1392509064(7); + attempt_1845495805 = rand_1644167304(7); } }; - framePtr = F.prev; } -function synergize_1442840902(pool_1442840903, currentPowers_1442840904, t_1442840905) { - var result_1442840906 = []; +function synergize_1728053574(pool_1728053575, currentPowers_1728053576, t_1728053577) { + var result_1728053578 = []; - var F = {procname: "power.synergize", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/power.nim", line: 0}; - framePtr = F; - F.line = 128; - F.filename = "power.nim"; - result_1442840906 = nimCopy(null, pool_1442840903, NTI1442840845); + result_1728053578 = nimCopy(null, pool_1728053575, NTI1728053517); Label1: { - F.line = 129; - var s_1442840929 = {Field0: ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}), Field1: 0, Field2: [], Field3: []}; - F.line = 249; - F.filename = "iterators.nim"; - var i_520100547 = 0; - F.line = 250; - var L_520100548 = (draftSynergies_1442840650[0]).length; + var s_1728053601 = {Field0: ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}), Field1: 0, Field2: [], Field3: []}; + var i_553654979 = 0; + var L_553654980 = (draftSynergies_1728053322[0]).length; Label2: { - F.line = 251; Label3: while (true) { - if (!(i_520100547 < L_520100548)) break Label3; - F.line = 129; - F.filename = "power.nim"; - s_1442840929 = draftSynergies_1442840650[0][chckIndx(i_520100547, 0, (draftSynergies_1442840650[0]).length - 1)]; - F.line = 652; - F.filename = "sequtils.nim"; - var resultHEX60gensym16_1442840955 = newSeq_1442840931(0); + if (!(i_553654979 < L_553654980)) break Label3; + s_1728053601 = draftSynergies_1728053322[0][chckIndx(i_553654979, 0, (draftSynergies_1728053322[0]).length - 1)]; + var resultHEX60gensym16_1728053627 = newSeq_1728053603(0); Label4: { - F.line = 653; - var it_1442840977 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); - F.line = 249; - F.filename = "iterators.nim"; - var i_520100540 = 0; - F.line = 250; - var L_520100541 = (currentPowers_1442840904).length; + var it_1728053649 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); + var i_553654972 = 0; + var L_553654973 = (currentPowers_1728053576).length; Label5: { - F.line = 251; Label6: while (true) { - if (!(i_520100540 < L_520100541)) break Label6; - F.line = 653; - F.filename = "sequtils.nim"; - it_1442840977 = currentPowers_1442840904[chckIndx(i_520100540, 0, (currentPowers_1442840904).length - 1)]; - if (contains_1006633010(s_1442840929.Field2, it_1442840977.name)) { - F.line = 654; - var Temporary7 = nimCopy(null, it_1442840977, NTI1442840581); - resultHEX60gensym16_1442840955.push(Temporary7);; + if (!(i_553654972 < L_553654973)) break Label6; + it_1728053649 = currentPowers_1728053576[chckIndx(i_553654972, 0, (currentPowers_1728053576).length - 1)]; + if (contains_1090519090(s_1728053601.Field2, it_1728053649.name)) { + var Temporary7 = nimCopy(null, it_1728053649, NTI1728053253); + resultHEX60gensym16_1728053627.push(Temporary7);; } - F.line = 13; - F.filename = "iterators.nim"; - i_520100540 += 1; - if (!(((currentPowers_1442840904).length == L_520100541))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_553654972 += 1; + if (!(((currentPowers_1728053576).length == L_553654973))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - if (((resultHEX60gensym16_1442840955).length == (s_1442840929.Field2).length)) { - if (((s_1442840929.Field3).length == 0)) { - F.line = 132; - F.filename = "power.nim"; - var Temporary8 = nimCopy(null, powers_1442840649[0][chckIndx(s_1442840929.Field0.index, 0, (powers_1442840649[0]).length - 1)], NTI1442840581); - result_1442840906.push(Temporary8);; + if (((resultHEX60gensym16_1728053627).length == (s_1728053601.Field2).length)) { + if (((s_1728053601.Field3).length == 0)) { + var Temporary8 = nimCopy(null, powers_1728053321[0][chckIndx(s_1728053601.Field0.index, 0, (powers_1728053321[0]).length - 1)], NTI1728053253); + result_1728053578.push(Temporary8);; } else { - F.line = 134; - F.line = 652; - F.filename = "sequtils.nim"; - var resultHEX60gensym21_1442841003 = newSeq_1442840931(0); + var resultHEX60gensym21_1728053675 = newSeq_1728053603(0); Label9: { - F.line = 653; - var it_1442841007 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); - F.line = 249; - F.filename = "iterators.nim"; - var i_520100544 = 0; - F.line = 250; - var L_520100545 = (result_1442840906).length; + var it_1728053679 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); + var i_553654976 = 0; + var L_553654977 = (result_1728053578).length; Label10: { - F.line = 251; Label11: while (true) { - if (!(i_520100544 < L_520100545)) break Label11; - F.line = 653; - F.filename = "sequtils.nim"; - it_1442841007 = result_1442840906[chckIndx(i_520100544, 0, (result_1442840906).length - 1)]; - if (!(contains_1006633010(s_1442840929.Field3, it_1442841007.name))) { - F.line = 654; - var Temporary12 = nimCopy(null, it_1442841007, NTI1442840581); - resultHEX60gensym21_1442841003.push(Temporary12);; + if (!(i_553654976 < L_553654977)) break Label11; + it_1728053679 = result_1728053578[chckIndx(i_553654976, 0, (result_1728053578).length - 1)]; + if (!(contains_1090519090(s_1728053601.Field3, it_1728053679.name))) { + var Temporary12 = nimCopy(null, it_1728053679, NTI1728053253); + resultHEX60gensym21_1728053675.push(Temporary12);; } - F.line = 13; - F.filename = "iterators.nim"; - i_520100544 += 1; - if (!(((result_1442840906).length == L_520100545))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_553654976 += 1; + if (!(((result_1728053578).length == L_553654977))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - result_1442840906 = nimCopy(null, HEX26_1442841016(resultHEX60gensym21_1442841003, powers_1442840649[0][chckIndx(s_1442840929.Field0.index, 0, (powers_1442840649[0]).length - 1)]), NTI1442840934); + result_1728053578 = nimCopy(null, HEX26_1728053688(resultHEX60gensym21_1728053675, powers_1728053321[0][chckIndx(s_1728053601.Field0.index, 0, (powers_1728053321[0]).length - 1)]), NTI1728053606); } } - F.line = 13; - i_520100547 += 1; - if (!(((draftSynergies_1442840650[0]).length == L_520100548))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_553654979 += 1; + if (!(((draftSynergies_1728053322[0]).length == L_553654980))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - framePtr = F.prev; - return result_1442840906; + return result_1728053578; } -function newSeq_503317026(len_503317028) { - var result_503317029 = []; - - var F = {procname: "newSeq.newSeq", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 633; - F.filename = "system.nim"; - result_503317029 = new Array(len_503317028); for (var i = 0 ; i < len_503317028 ; ++i) { result_503317029[i] = []; } framePtr = F.prev; +function newSeq_536871458(len_536871460) { + var result_536871461 = []; - return result_503317029; + result_536871461 = new Array(len_536871460); for (var i = 0 ; i < len_536871460 ; ++i) { result_536871461[i] = []; } + return result_536871461; } -function newSeq_1442841512(len_1442841514) { - var result_1442841515 = []; +function newSeq_1728054184(len_1728054186) { + var result_1728054187 = []; - var F = {procname: "newSeq.newSeq", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 633; - F.filename = "system.nim"; - result_1442841515 = new Array(len_1442841514); for (var i = 0 ; i < len_1442841514 ; ++i) { result_1442841515[i] = 0; } framePtr = F.prev; - - return result_1442841515; + result_1728054187 = new Array(len_1728054186); for (var i = 0 ; i < len_1728054186 ; ++i) { result_1728054187[i] = 0; } + return result_1728054187; } -function randomPower_1442841418(t_1442841419, currentPowers_1442841420, alreadySelected_1442841425) { +function randomPower_1728054090(t_1728054091, currentPowers_1728054092, alreadySelected_1728054097) { var Temporary2; - var result_1442841426 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); + var result_1728054098 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); - var F = {procname: "power.randomPower", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/power.nim", line: 0}; - framePtr = F; BeforeRet: { - F.line = 163; - F.filename = "power.nim"; - F.line = 652; - F.filename = "sequtils.nim"; - var resultHEX60gensym32_1442841431 = newSeq_1442840931(0); + var resultHEX60gensym32_1728054103 = newSeq_1728053603(0); Label1: { - F.line = 653; - var it_1442841435 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); - F.line = 247; - F.filename = "iterators.nim"; - var colontmp__520100521 = []; - F.line = 163; - F.filename = "power.nim"; - colontmp__520100521 = synergize_1442840902((Temporary2 = seqOf_1442841385(t_1442841419), Temporary2)[0][Temporary2[1]], currentPowers_1442841420, t_1442841419); - F.line = 249; - F.filename = "iterators.nim"; - var i_520100522 = 0; - F.line = 250; - var L_520100523 = (colontmp__520100521).length; + var it_1728054107 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); + var colontmp__553654953 = []; + colontmp__553654953 = synergize_1728053574((Temporary2 = seqOf_1728054057(t_1728054091), Temporary2)[0][Temporary2[1]], currentPowers_1728054092, t_1728054091); + var i_553654954 = 0; + var L_553654955 = (colontmp__553654953).length; Label3: { - F.line = 251; Label4: while (true) { - if (!(i_520100522 < L_520100523)) break Label4; - F.line = 653; - F.filename = "sequtils.nim"; - it_1442841435 = colontmp__520100521[chckIndx(i_520100522, 0, (colontmp__520100521).length - 1)]; + if (!(i_553654954 < L_553654955)) break Label4; + it_1728054107 = colontmp__553654953[chckIndx(i_553654954, 0, (colontmp__553654953).length - 1)]; Label5: { - F.line = 1024; - var iHEX60gensym34_1442841456 = 0; - F.line = 1025; - var resultHEX60gensym34_1442841463 = newSeq_503317026(chckRange((alreadySelected_1442841425).length, 0, 2147483647)); + var iHEX60gensym34_1728054128 = 0; + var resultHEX60gensym34_1728054135 = newSeq_536871458(chckRange((alreadySelected_1728054097).length, 0, 2147483647)); Label6: { - F.line = 1026; - var it_1442841467 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); - F.line = 249; - F.filename = "iterators.nim"; - var i_520100518 = 0; - F.line = 250; - var L_520100519 = (alreadySelected_1442841425).length; + var it_1728054139 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); + var i_553654950 = 0; + var L_553654951 = (alreadySelected_1728054097).length; Label7: { - F.line = 251; Label8: while (true) { - if (!(i_520100518 < L_520100519)) break Label8; - F.line = 1026; - F.filename = "sequtils.nim"; - it_1442841467 = alreadySelected_1442841425[chckIndx(i_520100518, 0, (alreadySelected_1442841425).length - 1)]; - F.line = 163; - F.filename = "power.nim"; - resultHEX60gensym34_1442841463[chckIndx(iHEX60gensym34_1442841456, 0, (resultHEX60gensym34_1442841463).length - 1)] = nimCopy(null, it_1442841467.name, NTI33554449); - F.line = 1028; - F.filename = "sequtils.nim"; - iHEX60gensym34_1442841456 = addInt(iHEX60gensym34_1442841456, 1); - F.line = 13; - F.filename = "iterators.nim"; - i_520100518 += 1; - if (!(((alreadySelected_1442841425).length == L_520100519))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + if (!(i_553654950 < L_553654951)) break Label8; + it_1728054139 = alreadySelected_1728054097[chckIndx(i_553654950, 0, (alreadySelected_1728054097).length - 1)]; + resultHEX60gensym34_1728054135[chckIndx(iHEX60gensym34_1728054128, 0, (resultHEX60gensym34_1728054135).length - 1)] = nimCopy(null, it_1728054139.name, NTI33554449); + iHEX60gensym34_1728054128 = addInt(iHEX60gensym34_1728054128, 1); + i_553654950 += 1; + if (!(((alreadySelected_1728054097).length == L_553654951))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; }; - if (!(contains_1006633010(resultHEX60gensym34_1442841463, it_1442841435.name))) { - F.line = 654; - F.filename = "sequtils.nim"; - var Temporary9 = nimCopy(null, it_1442841435, NTI1442840581); - resultHEX60gensym32_1442841431.push(Temporary9);; + if (!(contains_1090519090(resultHEX60gensym34_1728054135, it_1728054107.name))) { + var Temporary9 = nimCopy(null, it_1728054107, NTI1728053253); + resultHEX60gensym32_1728054103.push(Temporary9);; } - F.line = 13; - F.filename = "iterators.nim"; - i_520100522 += 1; - if (!(((colontmp__520100521).length == L_520100523))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_553654954 += 1; + if (!(((colontmp__553654953).length == L_553654955))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; - var search_1442841480 = nimCopy(null, resultHEX60gensym32_1442841431, NTI1442840869); - if (((search_1442841480).length == 0)) { - F.line = 164; - F.filename = "power.nim"; - result_1442841426 = nimCopy(result_1442841426, emptyPower_1442840638, NTI1442840581); + var search_1728054152 = nimCopy(null, resultHEX60gensym32_1728054103, NTI1728053541); + if (((search_1728054152).length == 0)) { + result_1728054098 = nimCopy(result_1728054098, emptyPower_1728053310, NTI1728053253); break BeforeRet; } - F.line = 166; - F.line = 975; - F.filename = "sequtils.nim"; Label10: { - F.line = 1024; - var iHEX60gensym38_1442841508 = 0; - F.line = 1025; - var resultHEX60gensym38_1442841536 = newSeq_1442841512(chckRange((search_1442841480).length, 0, 2147483647)); + var iHEX60gensym38_1728054180 = 0; + var resultHEX60gensym38_1728054208 = newSeq_1728054184(chckRange((search_1728054152).length, 0, 2147483647)); Label11: { - F.line = 1026; - var it_1442841540 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); - F.line = 249; - F.filename = "iterators.nim"; - var i_520100527 = 0; - F.line = 250; - var L_520100528 = (search_1442841480).length; + var it_1728054212 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); + var i_553654959 = 0; + var L_553654960 = (search_1728054152).length; Label12: { - F.line = 251; Label13: while (true) { - if (!(i_520100527 < L_520100528)) break Label13; - F.line = 1026; - F.filename = "sequtils.nim"; - it_1442841540 = search_1442841480[chckIndx(i_520100527, 0, (search_1442841480).length - 1)]; - F.line = 166; - F.filename = "power.nim"; - resultHEX60gensym38_1442841536[chckIndx(iHEX60gensym38_1442841508, 0, (resultHEX60gensym38_1442841536).length - 1)] = it_1442841540.rarity; - F.line = 1028; - F.filename = "sequtils.nim"; - iHEX60gensym38_1442841508 = addInt(iHEX60gensym38_1442841508, 1); - F.line = 13; - F.filename = "iterators.nim"; - i_520100527 += 1; - if (!(((search_1442841480).length == L_520100528))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + if (!(i_553654959 < L_553654960)) break Label13; + it_1728054212 = search_1728054152[chckIndx(i_553654959, 0, (search_1728054152).length - 1)]; + resultHEX60gensym38_1728054208[chckIndx(iHEX60gensym38_1728054180, 0, (resultHEX60gensym38_1728054208).length - 1)] = it_1728054212.rarity; + iHEX60gensym38_1728054180 = addInt(iHEX60gensym38_1728054180, 1); + i_553654959 += 1; + if (!(((search_1728054152).length == L_553654960))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; }; - var sHEX60gensym37_1442841545 = nimCopy(null, resultHEX60gensym38_1442841536, NTI1442841292); - F.line = 976; - F.filename = "sequtils.nim"; - var nHEX60gensym37_1442841550 = (sHEX60gensym37_1442841545).length; - if (!((0 < nHEX60gensym37_1442841550))) { - F.line = 977; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/pure/collections/sequtils.nim(977, 3) `n`gensym37 > 0` Can\'t fold empty sequences")); + var sHEX60gensym37_1728054217 = nimCopy(null, resultHEX60gensym38_1728054208, NTI1728053964); + var nHEX60gensym37_1728054222 = (sHEX60gensym37_1728054217).length; + if (!((0 < nHEX60gensym37_1728054222))) { + failedAssertImpl_268435541([115,101,113,117,116,105,108,115,46,110,105,109,40,57,55,55,44,32,51,41,32,96,110,96,103,101,110,115,121,109,51,55,32,62,32,48,96,32,67,97,110,39,116,32,102,111,108,100,32,101,109,112,116,121,32,115,101,113,117,101,110,99,101,115]); } - F.line = 978; - var resultHEX60gensym37_1442841556 = sHEX60gensym37_1442841545[chckIndx(subInt(nHEX60gensym37_1442841550, 1), 0, (sHEX60gensym37_1442841545).length - 1)]; + var resultHEX60gensym37_1728054228 = sHEX60gensym37_1728054217[chckIndx(subInt(nHEX60gensym37_1728054222, 1), 0, (sHEX60gensym37_1728054217).length - 1)]; Label14: { - F.line = 979; - var iHEX60gensym37_1442841562 = 0; - F.line = 6; - F.filename = "iterators_1.nim"; - var colontmp__520100531 = 0; - F.line = 979; - F.filename = "sequtils.nim"; - colontmp__520100531 = subInt(nHEX60gensym37_1442841550, 2); - F.line = 33; - F.filename = "iterators_1.nim"; - var res_520100532 = colontmp__520100531; + var iHEX60gensym37_1728054234 = 0; + var colontmp__553654963 = 0; + colontmp__553654963 = subInt(nHEX60gensym37_1728054222, 2); + var res_553654964 = colontmp__553654963; Label15: { - F.line = 34; Label16: while (true) { - if (!(0 <= res_520100532)) break Label16; - F.line = 979; - F.filename = "sequtils.nim"; - iHEX60gensym37_1442841562 = res_520100532; - F.line = 981; - var a_1442841563 = sHEX60gensym37_1442841545[chckIndx(iHEX60gensym37_1442841562, 0, (sHEX60gensym37_1442841545).length - 1)]; - F.line = 982; - var b_1442841564 = resultHEX60gensym37_1442841556; - F.line = 166; - F.filename = "power.nim"; - resultHEX60gensym37_1442841556 = addInt(a_1442841563, b_1442841564); - F.line = 39; - F.filename = "iterators_1.nim"; - res_520100532 = subInt(res_520100532, 1); + if (!(0 <= res_553654964)) break Label16; + iHEX60gensym37_1728054234 = res_553654964; + var a_1728054235 = sHEX60gensym37_1728054217[chckIndx(iHEX60gensym37_1728054234, 0, (sHEX60gensym37_1728054217).length - 1)]; + var b_1728054236 = resultHEX60gensym37_1728054228; + resultHEX60gensym37_1728054228 = addInt(a_1728054235, b_1728054236); + res_553654964 = subInt(res_553654964, 1); } }; }; - var sum_1442841565 = resultHEX60gensym37_1442841556; - F.line = 167; - F.filename = "power.nim"; - var x_1442841566 = rand_1392509064(sum_1442841565); + var sum_1728054237 = resultHEX60gensym37_1728054228; + var x_1728054238 = rand_1644167304(sum_1728054237); Label17: { - F.line = 169; - var p_1442841570 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); - F.line = 249; - F.filename = "iterators.nim"; - var i_520100535 = 0; - F.line = 250; - var L_520100536 = (search_1442841480).length; + var p_1728054242 = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); + var i_553654967 = 0; + var L_553654968 = (search_1728054152).length; Label18: { - F.line = 251; Label19: while (true) { - if (!(i_520100535 < L_520100536)) break Label19; - F.line = 169; - F.filename = "power.nim"; - p_1442841570 = search_1442841480[chckIndx(i_520100535, 0, (search_1442841480).length - 1)]; - F.line = 170; - x_1442841566 = subInt(x_1442841566, p_1442841570.rarity); - if ((x_1442841566 <= 0)) { - F.line = 171; - result_1442841426 = nimCopy(result_1442841426, p_1442841570, NTI1442840581); + if (!(i_553654967 < L_553654968)) break Label19; + p_1728054242 = search_1728054152[chckIndx(i_553654967, 0, (search_1728054152).length - 1)]; + x_1728054238 = subInt(x_1728054238, p_1728054242.rarity); + if ((x_1728054238 <= 0)) { + result_1728054098 = nimCopy(result_1728054098, p_1728054242, NTI1728053253); break BeforeRet; } - F.line = 13; - F.filename = "iterators.nim"; - i_520100535 += 1; - if (!(((search_1442841480).length == L_520100536))) { - F.line = 254; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system/iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_553654967 += 1; + if (!(((search_1728054152).length == L_553654968))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } }; }; }; - framePtr = F.prev; - return result_1442841426; + return result_1728054098; } -function randomTier_1442841575(w_1442841576) { - var result_1442841577 = 0; +function randomTier_1728054247(w_1728054248) { + var result_1728054249 = 0; - var F = {procname: "power.randomTier", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/power.nim", line: 0}; - framePtr = F; BeforeRet: { - if (!((addInt(addInt(addInt(w_1442841576.Field0, w_1442841576.Field1), w_1442841576.Field2), w_1442841576.Field3) == 100))) { - F.line = 174; - F.filename = "power.nim"; - failedAssertImpl_268435541(makeNimstrLit("/Users/ajayvallurupalli/the-playground/chess/src/power.nim(174, 5) `w.common + w.uncommon + w.rare + w.ultraRare == 100` ")); + if (!((addInt(addInt(addInt(w_1728054248.Field0, w_1728054248.Field1), w_1728054248.Field2), w_1728054248.Field3) == 100))) { + failedAssertImpl_268435541(makeNimstrLit("power.nim(174, 5) `w.common + w.uncommon + w.rare + w.ultraRare == 100` ")); } - F.line = 175; - var x_1442841583 = rand_1392509064(100); - if ((x_1442841583 <= w_1442841576.Field0)) { - F.line = 178; - result_1442841577 = 0; + var x_1728054255 = rand_1644167304(100); + if ((x_1728054255 <= w_1728054248.Field0)) { + result_1728054249 = 0; break BeforeRet; } else { - if ((x_1442841583 <= addInt(w_1442841576.Field0, w_1442841576.Field1))) { - F.line = 180; - result_1442841577 = 1; + if ((x_1728054255 <= addInt(w_1728054248.Field0, w_1728054248.Field1))) { + result_1728054249 = 1; break BeforeRet; } else { - if ((x_1442841583 <= addInt(addInt(w_1442841576.Field0, w_1442841576.Field1), w_1442841576.Field2))) { - F.line = 182; - result_1442841577 = 2; + if ((x_1728054255 <= addInt(addInt(w_1728054248.Field0, w_1728054248.Field1), w_1728054248.Field2))) { + result_1728054249 = 2; break BeforeRet; } else { - F.line = 184; - result_1442841577 = 3; + result_1728054249 = 3; break BeforeRet; } }} }; - framePtr = F.prev; - - return result_1442841577; - -} - -function HEX26_1442841613(x_1442841615, y_1442841616) { - var result_1442841617 = []; - - var F = {procname: "&.&", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 1537; - F.filename = "system.nim"; - result_1442841617 = new Array(chckRange(addInt((x_1442841615).length, (y_1442841616).length), 0, 2147483647)); for (var i = 0 ; i < chckRange(addInt((x_1442841615).length, (y_1442841616).length), 0, 2147483647) ; ++i) { result_1442841617[i] = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); } Label1: { - F.line = 1538; - var i_1442841635 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__520100551 = 0; - F.line = 1538; - F.filename = "system.nim"; - colontmp__520100551 = subInt((x_1442841615).length, 1); - F.line = 96; - F.filename = "iterators_1.nim"; - var res_520100552 = 0; + + return result_1728054249; + +} + +function HEX26_1728054285(x_1728054287, y_1728054288) { + var result_1728054289 = []; + + result_1728054289 = new Array(chckRange(addInt((x_1728054287).length, (y_1728054288).length), 0, 2147483647)); for (var i = 0 ; i < chckRange(addInt((x_1728054287).length, (y_1728054288).length), 0, 2147483647) ; ++i) { result_1728054289[i] = ({name: [], technicalName: [], synergy: false, tier: 0, rarity: 0, description: [], icon: [], rotatable: false, noColor: false, onStart: null, index: 0, priority: 0}); } Label1: { + var i_1728054307 = 0; + var colontmp__553654983 = 0; + colontmp__553654983 = subInt((x_1728054287).length, 1); + var res_553654984 = 0; Label2: { - F.line = 97; Label3: while (true) { - if (!(res_520100552 <= colontmp__520100551)) break Label3; - F.line = 1538; - F.filename = "system.nim"; - i_1442841635 = res_520100552; - F.line = 1539; - result_1442841617[chckIndx(i_1442841635, 0, (result_1442841617).length - 1)] = nimCopy(result_1442841617[chckIndx(i_1442841635, 0, (result_1442841617).length - 1)], x_1442841615[chckIndx(i_1442841635, 0, (x_1442841615).length - 1)], NTI1442840581); - F.line = 102; - F.filename = "iterators_1.nim"; - res_520100552 = addInt(res_520100552, 1); + if (!(res_553654984 <= colontmp__553654983)) break Label3; + i_1728054307 = res_553654984; + result_1728054289[chckIndx(i_1728054307, 0, (result_1728054289).length - 1)] = nimCopy(result_1728054289[chckIndx(i_1728054307, 0, (result_1728054289).length - 1)], x_1728054287[chckIndx(i_1728054307, 0, (x_1728054287).length - 1)], NTI1728053253); + res_553654984 = addInt(res_553654984, 1); } }; }; Label4: { - F.line = 1540; - F.filename = "system.nim"; - var i_1442841643 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__520100555 = 0; - F.line = 1540; - F.filename = "system.nim"; - colontmp__520100555 = subInt((y_1442841616).length, 1); - F.line = 96; - F.filename = "iterators_1.nim"; - var res_520100556 = 0; + var i_1728054315 = 0; + var colontmp__553654987 = 0; + colontmp__553654987 = subInt((y_1728054288).length, 1); + var res_553654988 = 0; Label5: { - F.line = 97; Label6: while (true) { - if (!(res_520100556 <= colontmp__520100555)) break Label6; - F.line = 1540; - F.filename = "system.nim"; - i_1442841643 = res_520100556; - F.line = 1541; - result_1442841617[chckIndx(addInt(i_1442841643, (x_1442841615).length), 0, (result_1442841617).length - 1)] = nimCopy(result_1442841617[chckIndx(addInt(i_1442841643, (x_1442841615).length), 0, (result_1442841617).length - 1)], y_1442841616[chckIndx(i_1442841643, 0, (y_1442841616).length - 1)], NTI1442840581); - F.line = 102; - F.filename = "iterators_1.nim"; - res_520100556 = addInt(res_520100556, 1); + if (!(res_553654988 <= colontmp__553654987)) break Label6; + i_1728054315 = res_553654988; + result_1728054289[chckIndx(addInt(i_1728054315, (x_1728054287).length), 0, (result_1728054289).length - 1)] = nimCopy(result_1728054289[chckIndx(addInt(i_1728054315, (x_1728054287).length), 0, (result_1728054289).length - 1)], y_1728054288[chckIndx(i_1728054315, 0, (y_1728054288).length - 1)], NTI1728053253); + res_553654988 = addInt(res_553654988, 1); } }; }; - framePtr = F.prev; - return result_1442841617; + return result_1728054289; } -function draftRandomPower_1442841651(allSelected_1442841652, drafterSelected_1442841653, options_1442841654, normalWeights_1442841655, buffedWeights_1442841656) { +function draftRandomPower_1728054323(allSelected_1728054324, drafterSelected_1728054325, options_1728054326, normalWeights_1728054327, buffedWeights_1728054328) { var Temporary1; - var result_1442841657 = []; + var result_1728054329 = []; - var F = {procname: "power.draftRandomPower", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/power.nim", line: 0}; - framePtr = F; - F.line = 191; - F.filename = "power.nim"; - if (contains_1442841239(drafterSelected_1442841653, holy_1442840644)) { - Temporary1 = buffedWeights_1442841656; + if (contains_1728053911(drafterSelected_1728054325, holy_1728053316)) { + Temporary1 = buffedWeights_1728054328; } else { - Temporary1 = normalWeights_1442841655; + Temporary1 = normalWeights_1728054327; } - var weights_1442841662 = nimCopy(null, Temporary1, NTI1442840583); + var weights_1728054334 = nimCopy(null, Temporary1, NTI1728053255); Label2: { - F.line = 192; - var x_1442841667 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__520100512 = 0; - F.line = 192; - F.filename = "power.nim"; - colontmp__520100512 = subInt(options_1442841654, 1); - F.line = 96; - F.filename = "iterators_1.nim"; - var res_520100513 = 0; + var x_1728054339 = 0; + var colontmp__553654944 = 0; + colontmp__553654944 = subInt(options_1728054326, 1); + var res_553654945 = 0; Label3: { - F.line = 97; Label4: while (true) { - if (!(res_520100513 <= colontmp__520100512)) break Label4; - F.line = 192; - F.filename = "power.nim"; - x_1442841667 = res_520100513; - F.line = 193; - result_1442841657.push(randomPower_1442841418(randomTier_1442841575(weights_1442841662), drafterSelected_1442841653, HEX26_1442841613(allSelected_1442841652, result_1442841657)));; - F.line = 102; - F.filename = "iterators_1.nim"; - res_520100513 = addInt(res_520100513, 1); + if (!(res_553654945 <= colontmp__553654944)) break Label4; + x_1728054339 = res_553654945; + result_1728054329.push(randomPower_1728054090(randomTier_1728054247(weights_1728054334), drafterSelected_1728054325, HEX26_1728054285(allSelected_1728054324, result_1728054329)));; + res_553654945 = addInt(res_553654945, 1); } }; }; - framePtr = F.prev; - return result_1442841657; + return result_1728054329; } -function draftRandomPowerTier_1442841600(t_1442841601, allSelected_1442841602, drafterSelected_1442841603, options_1442841604, normalWeights_1442841605, buffedWeights_1442841606) { - var result_1442841607 = []; +function draftRandomPowerTier_1728054272(t_1728054273, allSelected_1728054274, drafterSelected_1728054275, options_1728054276, normalWeights_1728054277, buffedWeights_1728054278) { + var result_1728054279 = []; - var F = {procname: "power.draftRandomPowerTier", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/power.nim", line: 0}; - framePtr = F; Label1: { - F.line = 187; - F.filename = "power.nim"; - var x_1442841612 = 0; - F.line = 81; - F.filename = "iterators_1.nim"; - var colontmp__520100559 = 0; - F.line = 187; - F.filename = "power.nim"; - colontmp__520100559 = subInt(options_1442841604, 1); - F.line = 96; - F.filename = "iterators_1.nim"; - var res_520100560 = 0; + var x_1728054284 = 0; + var colontmp__553654991 = 0; + colontmp__553654991 = subInt(options_1728054276, 1); + var res_553654992 = 0; Label2: { - F.line = 97; Label3: while (true) { - if (!(res_520100560 <= colontmp__520100559)) break Label3; - F.line = 187; - F.filename = "power.nim"; - x_1442841612 = res_520100560; - F.line = 188; - result_1442841607.push(randomPower_1442841418(t_1442841601, drafterSelected_1442841603, HEX26_1442841613(allSelected_1442841602, result_1442841607)));; - F.line = 102; - F.filename = "iterators_1.nim"; - res_520100560 = addInt(res_520100560, 1); + if (!(res_553654992 <= colontmp__553654991)) break Label3; + x_1728054284 = res_553654992; + result_1728054279.push(randomPower_1728054090(t_1728054273, drafterSelected_1728054275, HEX26_1728054285(allSelected_1728054274, result_1728054279)));; + res_553654992 = addInt(res_553654992, 1); } }; }; - framePtr = F.prev; - return result_1442841607; + return result_1728054279; } -function draft_520097271(allDrafts_520097276, drafter_520097281) { - var F = {procname: "main.draft", prev: framePtr, filename: "/Users/ajayvallurupalli/the-playground/chess/src/main.nim", line: 0}; - framePtr = F; - F.line = 368; - F.filename = "main.nim"; - var disabled_520097286 = [[]]; - if (disableRNGPowers_520093852[0]) { - F.line = 371; - add_520097287(disabled_520097286, 0, rngPowers_1493178726); +function draft_553651703(allDrafts_553651708, drafter_553651713) { + var disabled_553651718 = [[]]; + if (disableRNGPowers_553648284[0]) { + add_553651719(disabled_553651718, 0, rngPowers_1845500285); } - if (!(enableExperimental_520093854[0])) { - F.line = 373; - add_520097287(disabled_520097286, 0, experimentalPowers_1493178731); + if (!(enableExperimental_553648286[0])) { + add_553651719(disabled_553651718, 0, experimentalPowers_1845500290); } - if ((gameMode_520093857[0] == 2)) { - F.line = 376; - draftOptions_520093820[0] = nimCopy(null, draftRandomPower_1442841651(HEX26_1442841613(allDrafts_520097276, disabled_520097286[0]), drafter_520097281, draftChoices_520093821[0], {Field0: 60, Field1: 30, Field2: 9, Field3: 1}, {Field0: 50, Field1: 36, Field2: 12, Field3: 2}), NTI1442841384); + if ((gameMode_553648289[0] == 2)) { + draftOptions_553648252[0] = nimCopy(null, draftRandomPower_1728054323(HEX26_1728054285(allDrafts_553651708, disabled_553651718[0]), drafter_553651713, draftChoices_553648253[0], {Field0: 60, Field1: 30, Field2: 9, Field3: 1}, {Field0: 50, Field1: 36, Field2: 12, Field3: 2}), NTI1728054056); } else { - if ((gameMode_520093857[0] == 1)) { - F.line = 379; - draftOptions_520093820[0] = nimCopy(null, draftRandomPowerTier_1442841600(draftTier_520093823[0], HEX26_1442841613(HEX26_1442841016(allDrafts_520097276, holy_1442840644), disabled_520097286[0]), drafter_520097281, draftChoices_520093821[0], {Field0: 60, Field1: 30, Field2: 9, Field3: 1}, {Field0: 50, Field1: 36, Field2: 12, Field3: 2}), NTI1442841347); + if ((gameMode_553648289[0] == 1)) { + draftOptions_553648252[0] = nimCopy(null, draftRandomPowerTier_1728054272(draftTier_553648255[0], HEX26_1728054285(HEX26_1728053688(allDrafts_553651708, holy_1728053316), disabled_553651718[0]), drafter_553651713, draftChoices_553648253[0], {Field0: 60, Field1: 30, Field2: 9, Field3: 1}, {Field0: 50, Field1: 36, Field2: 12, Field3: 2}), NTI1728054019); } else { - if ((gameMode_520093857[0] == 3)) { - F.line = 381; - draftOptions_520093820[0] = nimCopy(null, draftRandomPower_1442841651(HEX26_1442841613(allDrafts_520097276, disabled_520097286[0]), drafter_520097281, draftChoices_520093821[0], {Field0: 25, Field1: 35, Field2: 30, Field3: 10}, {Field0: 15, Field1: 38, Field2: 35, Field3: 12}), NTI1442841384); + if ((gameMode_553648289[0] == 3)) { + draftOptions_553648252[0] = nimCopy(null, draftRandomPower_1728054323(HEX26_1728054285(allDrafts_553651708, disabled_553651718[0]), drafter_553651713, draftChoices_553648253[0], {Field0: 25, Field1: 35, Field2: 30, Field3: 10}, {Field0: 15, Field1: 38, Field2: 35, Field3: 12}), NTI1728054056); } }} - framePtr = F.prev; } -function newSeq_687867434(len_687867436) { - var result_687867437 = []; +function newSeq_721421866(len_721421868) { + var result_721421869 = []; - var F = {procname: "newSeq.newSeq", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 633; - F.filename = "system.nim"; - result_687867437 = new Array(len_687867436); for (var i = 0 ; i < len_687867436 ; ++i) { result_687867437[i] = ({k: 0, parent: null, current: null, newNode: null, oldNode: null}); } framePtr = F.prev; - - return result_687867437; + result_721421869 = new Array(len_721421868); for (var i = 0 ; i < len_721421868 ; ++i) { result_721421869[i] = ({k: 0, parent: null, current: null, newNode: null, oldNode: null}); } + return result_721421869; } -function newSeq_687867462(len_687867464) { - var result_687867465 = []; - - var F = {procname: "newSeq.newSeq", prev: framePtr, filename: "/Users/ajayvallurupalli/.choosenim/toolchains/nim-2.0.8/lib/system.nim", line: 0}; - framePtr = F; - F.line = 633; - F.filename = "system.nim"; - result_687867465 = new Array(len_687867464); for (var i = 0 ; i < len_687867464 ; ++i) { result_687867465[i] = ({parent: null, newChild: null, pos: 0}); } framePtr = F.prev; +function newSeq_721421894(len_721421896) { + var result_721421897 = []; - return result_687867465; + result_721421897 = new Array(len_721421896); for (var i = 0 ; i < len_721421896 ; ++i) { result_721421897[i] = ({parent: null, newChild: null, pos: 0}); } + return result_721421897; } -function init_687867382(ev_687867383) { +function init_721421814(ev_721421815) { -function HEX3Aanonymous_687867384() { - var F = {procname: "init.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - F.line = 747; - F.filename = "karax.nim"; - dodraw_687867280(kxi__); - framePtr = F.prev; +function HEX3Aanonymous_721421816() { + dodraw_721421712(kxi__); } - var F = {procname: "karax.init", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - F.line = 747; - F.filename = "karax.nim"; - kxi__.renderId = window.requestAnimationFrame(HEX3Aanonymous_687867384); - framePtr = F.prev; + kxi__.renderId = window.requestAnimationFrame(HEX3Aanonymous_721421816); } -function setRenderer_687867416(renderer_687867419, root_687867420, clientPostRenderCallback_687867423) { +function setRenderer_721421848(renderer_721421851, root_721421852, clientPostRenderCallback_721421855) { -function HEX3Aanonymous_687867496() { - var F = {procname: "setRenderer.:anonymous", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - F.line = 770; - F.filename = "karax.nim"; - redraw_687867377(kxi__); - framePtr = F.prev; +function HEX3Aanonymous_721421928() { + redraw_721421809(kxi__); } - var result_687867424 = null; + var result_721421856 = null; - var F = {procname: "karax.setRenderer", prev: framePtr, filename: "/Users/ajayvallurupalli/.nimble/pkgs2/karax-1.3.3-6683189b4456437c2809be72e3404adde77f5c34/karax/karax.nim", line: 0}; - framePtr = F; - if ((document.getElementById(root_687867420) == null)) { - F.line = 756; - F.filename = "karax.nim"; - var msg_687867428 = (("Could not find a