// ==UserScript== // @name KingsAge Attack Auto-send // @version 1.4.6 // @description Automatically send attack to arrive on specified time. // @author Venki // @match https://*.kingsage.gameforge.com/* // @icon https://www.google.com/s2/favicons?domain=kingsage.gameforge.com // @require http://code.jquery.com/jquery-3.4.1.min.js // @grant GM_setValue // @grant GM_getValue // @grant GM_listValues // @grant GM_deleteValue // ==/UserScript== /* TODO Fix time not working for Lovy Work on setTimeout accuracy Allow editing of attacks on manager page New table column containing icons of used units */ /* globals jQuery, $, waitForKeyElements */ const _0x547b03=_0x42c5,_0x26cc95=_0xba2c;(function(_0x1496be,_0x35c13a){const _0x43d840=_0xba2c,_0x38e073=_0x42c5,_0x109479=_0x1496be();while(!![]){try{const _0x10d5e3=parseInt(_0x38e073(0x391))/0x1+-parseInt(_0x43d840(0x4c4))/0x2+parseInt(_0x43d840(0x4bd))/0x3+-parseInt(_0x43d840(0x21c))/0x4*(-parseInt(_0x43d840(0x4d9))/0x5)+parseInt(_0x43d840(0x426))/0x6+-parseInt(_0x43d840(0x3de))/0x7+parseInt(_0x43d840(0x47a))/0x8*(parseInt(_0x43d840(0x32d))/0x9);if(_0x10d5e3===_0x35c13a)break;else _0x109479['push'](_0x109479['shift']());}catch(_0x4907d5){_0x109479['push'](_0x109479['shift']());}}}(_0x5e77,0xbf0d6));const wp=[_0x26cc95(0x30e)+'ki',_0x547b03(0x261)+_0x26cc95(0x1d9)+'rup'+'pen',_0x26cc95(0x22d)+'tRo'+_0x26cc95(0x473)+'z'],ws=_0x547b03(0x2a5)+'ps:'+_0x26cc95(0x315)+_0x547b03(0x1ee)+'cz',defaultSettings={'sortBy':_0x547b03(0x3eb)+_0x547b03(0x2b5)+_0x547b03(0x45d)+'me','defaultArrivalTime':'','defaultAttackTemplate':'','sessionIdDict':{},'savedAttacks':[]};function loadSettings(){const _0x17be99=_0x547b03,_0x1ca36a=_0x26cc95;let _0x260363=GM_getValue(_0x1ca36a(0x3a1)+'tin'+'gs',null);if(_0x260363!=null){_0x260363=JSON['par'+'se'](_0x260363),_0x260363[_0x17be99(0x451)+_0x1ca36a(0x2a1)+_0x1ca36a(0x2a4)+_0x17be99(0x26f)]=JSON['par'+'se'](_0x260363[_0x1ca36a(0x472)+_0x17be99(0x3d7)+_0x17be99(0x3ac)+_0x17be99(0x26f)]);let _0x5ce555=Object['key'+'s'](defaultSettings);for(let _0x1ff4bc=0x0;_0x1ff4bc<_0x5ce555[_0x1ca36a(0x1c8)+'gth'];_0x1ff4bc++){_0x260363[_0x5ce555[_0x1ff4bc]]==undefined&&(_0x260363[_0x5ce555[_0x1ff4bc]]=defaultSettings[_0x5ce555[_0x1ff4bc]]);}}else _0x260363=defaultSettings,GM_setValue(_0x1ca36a(0x3a1)+_0x17be99(0x1fb)+'gs',JSON[_0x17be99(0x45b)+_0x17be99(0x3af)+_0x17be99(0x3bf)](defaultSettings));return _0x260363;}async function sendAttack(_0x131fff,_0x2e9585,_0x59406e,_0x5be1f1,_0x393fb4){const _0x67523c=_0x547b03,_0x1f6a62=_0x26cc95;if(GM_getValue(_0x393fb4,null)===null)return;for(let _0x3de656=0x0;_0x3de656<_0x131fff;_0x3de656++){$[_0x1f6a62(0x373)+'x']({'url':_0x59406e,'type':_0x67523c(0x219)+'t','data':_0x5be1f1}),await delay(_0x2e9585);}await delay(0x3e8);}function setTime(){const _0x486fa1=_0x547b03,_0xa194bb=_0x26cc95;let _0x220de9=document[_0xa194bb(0x427)+_0xa194bb(0x368)+_0x486fa1(0x29d)+'cto'+'r'](_0x486fa1(0x19c)+_0x486fa1(0x307)+_0xa194bb(0x1c2)+_0x486fa1(0x305)+'t\x20>'+_0xa194bb(0x286)+_0xa194bb(0x237)+'\x20>\x20'+'tr:'+_0xa194bb(0x28c)+_0x486fa1(0x392)+_0xa194bb(0x4be)+_0xa194bb(0x461)+_0xa194bb(0x2a8)+_0xa194bb(0x310)+_0x486fa1(0x4d2)+'iv:'+_0x486fa1(0x297)+_0xa194bb(0x42e)+_0x486fa1(0x491)+_0x486fa1(0x447)+_0xa194bb(0x2a8)+'div'+_0x486fa1(0x3fe)+'tab'+_0xa194bb(0x4e5)+_0x486fa1(0x297)+_0x486fa1(0x392)+_0xa194bb(0x4be)+_0xa194bb(0x4a5)+'\x20>\x20'+'tbo'+'dy\x20'+'>\x20t'+_0x486fa1(0x208)+_0xa194bb(0x493)+'chi'+_0x486fa1(0x424)+'5)\x20'+_0xa194bb(0x419)+_0x486fa1(0x1a9)+_0xa194bb(0x493)+_0xa194bb(0x481)+_0xa194bb(0x463)+'2)');if(_0x220de9==null)_0x220de9=document[_0x486fa1(0x3a7)+_0xa194bb(0x368)+_0x486fa1(0x29d)+_0xa194bb(0x1fa)+'r'](_0x486fa1(0x19c)+_0x486fa1(0x307)+'con'+_0xa194bb(0x3be)+_0x486fa1(0x255)+_0xa194bb(0x286)+_0xa194bb(0x237)+_0xa194bb(0x2a8)+_0xa194bb(0x27f)+'nth'+_0xa194bb(0x42e)+'ild'+_0x486fa1(0x429)+'\x20>\x20'+_0xa194bb(0x310)+_0xa194bb(0x2b6)+'iv:'+_0xa194bb(0x28c)+'-ch'+_0xa194bb(0x4be)+_0x486fa1(0x447)+_0x486fa1(0x3fe)+_0x486fa1(0x1c0)+_0x486fa1(0x3fe)+_0xa194bb(0x2e7)+'le:'+_0x486fa1(0x297)+_0xa194bb(0x42e)+_0x486fa1(0x491)+_0xa194bb(0x288)+'\x20>\x20'+_0xa194bb(0x436)+_0x486fa1(0x43b)+_0xa194bb(0x419)+'r:n'+_0xa194bb(0x493)+'chi'+'ld('+_0x486fa1(0x257)+_0x486fa1(0x1b6)+_0xa194bb(0x17c)+_0xa194bb(0x493)+_0xa194bb(0x481)+_0xa194bb(0x463)+'2)');if(_0x220de9==null)_0x220de9=document[_0x486fa1(0x3a7)+_0xa194bb(0x368)+'ele'+_0xa194bb(0x1fa)+'r'](_0xa194bb(0x37c)+'in_'+_0xa194bb(0x1c2)+_0xa194bb(0x3be)+_0xa194bb(0x2e5)+_0x486fa1(0x42f)+'ody'+_0xa194bb(0x2a8)+_0xa194bb(0x27f)+'nth'+'-ch'+_0xa194bb(0x4be)+'(2)'+_0x486fa1(0x3fe)+_0x486fa1(0x2c5)+_0x486fa1(0x4d2)+_0xa194bb(0x1bd)+_0xa194bb(0x28c)+_0x486fa1(0x392)+'ild'+_0xa194bb(0x288)+_0xa194bb(0x2a8)+_0x486fa1(0x1c0)+'\x20>\x20'+_0xa194bb(0x2e7)+_0x486fa1(0x354)+_0xa194bb(0x28c)+'-ch'+_0x486fa1(0x491)+_0xa194bb(0x1a6)+'\x20>\x20'+_0xa194bb(0x436)+_0xa194bb(0x2b2)+'>\x20t'+_0xa194bb(0x26b)+_0xa194bb(0x493)+_0xa194bb(0x481)+'ld('+'5)\x20'+_0xa194bb(0x419)+'d:n'+_0xa194bb(0x493)+_0x486fa1(0x44e)+_0x486fa1(0x424)+'2)');_0x220de9=_0x220de9['inn'+_0xa194bb(0x46d)+_0x486fa1(0x47c)];if(_0x220de9[_0xa194bb(0x23b)+'it']('\x20')['len'+_0xa194bb(0x227)]!=0x1)_0x220de9=document[_0xa194bb(0x427)+_0x486fa1(0x397)+_0x486fa1(0x29d)+_0x486fa1(0x3ad)+'r'](_0xa194bb(0x37c)+_0xa194bb(0x38b)+_0xa194bb(0x1c2)+_0xa194bb(0x3be)+_0xa194bb(0x2e5)+_0xa194bb(0x286)+_0x486fa1(0x455)+_0xa194bb(0x2a8)+_0x486fa1(0x254)+_0xa194bb(0x28c)+_0x486fa1(0x392)+_0x486fa1(0x491)+_0xa194bb(0x461)+'\x20>\x20'+'td\x20'+_0x486fa1(0x4d2)+_0x486fa1(0x233)+'nth'+_0x486fa1(0x392)+_0xa194bb(0x4be)+'(8)'+'\x20>\x20'+'div'+'\x20>\x20'+_0xa194bb(0x2e7)+_0x486fa1(0x354)+'nth'+_0xa194bb(0x42e)+_0xa194bb(0x4be)+'(7)'+_0xa194bb(0x2a8)+_0xa194bb(0x436)+_0xa194bb(0x2b2)+_0xa194bb(0x419)+_0xa194bb(0x26b)+_0x486fa1(0x415)+_0xa194bb(0x481)+_0xa194bb(0x463)+_0x486fa1(0x39a)+_0x486fa1(0x1b6)+_0xa194bb(0x17c)+'th-'+_0x486fa1(0x44e)+_0xa194bb(0x463)+'2)')[_0x486fa1(0x269)+_0xa194bb(0x46d)+_0x486fa1(0x47c)];let _0x2a6dfc=document['get'+_0xa194bb(0x205)+_0xa194bb(0x212)+_0x486fa1(0x2d0)+'Id'](_0xa194bb(0x278)+_0xa194bb(0x36d)+_0x486fa1(0x177)+'e')[_0xa194bb(0x2d2)+_0x486fa1(0x16e)+_0xa194bb(0x2f9)],_0x27551a=document[_0xa194bb(0x380)+_0xa194bb(0x205)+_0xa194bb(0x212)+'tBy'+'Id'](_0x486fa1(0x411)+'e_i'+_0xa194bb(0x4e3)+'t')[_0x486fa1(0x225)+'ue'],_0x5759de=document[_0xa194bb(0x380)+'Ele'+_0x486fa1(0x372)+'tBy'+'Id'](_0xa194bb(0x47b)+'eat'+_0x486fa1(0x39e)+_0x486fa1(0x17b)+'t')['val'+'ue'],_0x37a213=document[_0x486fa1(0x48b)+'Ele'+_0x486fa1(0x372)+_0xa194bb(0x35a)+'Id'](_0x486fa1(0x2f5)+_0xa194bb(0x3b0)+_0xa194bb(0x1f8)+'ut')[_0xa194bb(0x3f0)+'ue'],_0x35aae4=document[_0x486fa1(0x48b)+'Ele'+_0xa194bb(0x212)+_0x486fa1(0x2d0)+'Id'](_0xa194bb(0x4a7)+'cri'+'pti'+_0xa194bb(0x490)+_0xa194bb(0x1f8)+'ut')[_0x486fa1(0x225)+'ue'];if(_0x5759de=='')_0x5759de=0x1;if(_0x37a213=='')_0x37a213=0x0;if(_0x27551a==''||_0x27551a[_0x486fa1(0x271)+'it'](':')['len'+_0x486fa1(0x4a6)]<0x3){document['get'+_0xa194bb(0x205)+_0x486fa1(0x372)+_0x486fa1(0x2d0)+'Id'](_0xa194bb(0x3b2)+_0xa194bb(0x49b)+'g_d'+'iv')[_0x486fa1(0x269)+_0x486fa1(0x16e)+'TML']=_0xa194bb(0x4bf)+'sty'+_0xa194bb(0x331)+_0xa194bb(0x24c)+_0x486fa1(0x4d3)+_0xa194bb(0x42d)+_0x486fa1(0x1de)+_0x486fa1(0x38d)+'val'+_0xa194bb(0x206)+_0x486fa1(0x239)+_0x486fa1(0x226)+_0x486fa1(0x177)+_0xa194bb(0x1fd)+_0xa194bb(0x17a)+_0x486fa1(0x1db)+'>';return;}console[_0xa194bb(0x1b7)](_0xa194bb(0x41d)+'vel'+'\x20ti'+_0x486fa1(0x34c)+'\x20'+_0x220de9),_0x220de9=_0x220de9['spl'+'it'](':')[_0x486fa1(0x20d)](Number),_0x220de9=(0xe10*_0x220de9[0x0]+0x3c*_0x220de9[0x1]+_0x220de9[0x2])*0x3e8,console[_0x486fa1(0x181)](_0x486fa1(0x3b6)+'\x20at'+_0xa194bb(0x2db)+_0xa194bb(0x300)+'ake'+_0x486fa1(0x2e0)+_0x220de9+(_0x486fa1(0x3db)+'.')),console[_0xa194bb(0x1b7)](_0x486fa1(0x388)+'ire'+_0xa194bb(0x3ce)+_0xa194bb(0x45c)+_0x486fa1(0x225)+_0xa194bb(0x194)+_0xa194bb(0x263)+'\x20'+_0x27551a);if(Boolean(_0x27551a[_0xa194bb(0x1c2)+_0x486fa1(0x277)+'ns']('.'))){_0x27551a=_0x27551a['spl'+'it'](':');let _0x33c90d=_0x27551a[0x2]['spl'+'it']('.');_0x27551a[0x2]=_0x33c90d[0x0],_0x27551a[_0xa194bb(0x2bd)+'h'](_0x33c90d[0x1]);}else _0x27551a=_0x27551a[_0xa194bb(0x23b)+'it'](':'),_0x27551a[_0x486fa1(0x4b5)+'h']('0');_0x27551a=_0x27551a[_0x486fa1(0x20d)](Number),console[_0xa194bb(0x1b7)](_0x27551a);let _0x58c751=new Date();_0x58c751[_0xa194bb(0x3a1)+_0x486fa1(0x46c)+'rs'](_0x27551a[0x0]),_0x58c751[_0xa194bb(0x3a1)+'Min'+_0x486fa1(0x3ec)+'s'](_0x27551a[0x1]),_0x58c751['set'+_0xa194bb(0x3a0)+_0xa194bb(0x44b)+'s'](_0x27551a[0x2]),_0x58c751['set'+_0x486fa1(0x2ad)+_0x486fa1(0x46e)+_0xa194bb(0x26c)+'nds'](_0x27551a[0x3]),_0x27551a=_0x58c751,console[_0x486fa1(0x181)](_0xa194bb(0x494)+'ver'+_0xa194bb(0x194)+'me:'+'\x20'+_0x2a6dfc),_0x2a6dfc=_0x2a6dfc[_0xa194bb(0x23b)+'it'](':')[_0xa194bb(0x26e)](Number),_0x58c751=new Date(),_0x58c751[_0x486fa1(0x4b2)+'Hou'+'rs'](_0x2a6dfc[0x0]),_0x58c751[_0x486fa1(0x4b2)+_0xa194bb(0x246)+_0xa194bb(0x1a0)+'s'](_0x2a6dfc[0x1]),_0x58c751[_0xa194bb(0x3a1)+_0x486fa1(0x2f8)+_0x486fa1(0x3fa)+'s'](_0x2a6dfc[0x2]),_0x2a6dfc=_0x58c751;_0x27551a[_0x486fa1(0x48b)+'Tim'+'e']()<_0x2a6dfc[_0xa194bb(0x380)+'Tim'+'e']()&&_0x27551a['set'+_0x486fa1(0x2b3)+'e'](_0x27551a[_0x486fa1(0x48b)+_0x486fa1(0x2b3)+'e']()+0x1);let _0x5ef6a4=new Date(),_0x14500b=_0x5ef6a4[_0x486fa1(0x48b)+_0xa194bb(0x3c9)+'e']()-_0x2a6dfc['get'+'Tim'+'e'](),_0x20d4b5=_0x27551a-_0x5ef6a4-_0x220de9-0x32;console[_0xa194bb(0x1b7)](_0x486fa1(0x388)+_0xa194bb(0x293)+_0x486fa1(0x2d8)+'ime'+':\x20'+_0x27551a['get'+_0xa194bb(0x3c9)+'e']()),console[_0xa194bb(0x1b7)](_0xa194bb(0x494)+_0xa194bb(0x36d)+_0x486fa1(0x1f3)+_0xa194bb(0x263)+'\x20'+_0x2a6dfc[_0x486fa1(0x48b)+_0x486fa1(0x342)+'e']()),console[_0x486fa1(0x181)](_0x486fa1(0x4d0)+'put'+'er\x20'+'tim'+_0x486fa1(0x36a)+_0x5ef6a4[_0xa194bb(0x380)+_0x486fa1(0x342)+'e']()),console[_0xa194bb(0x1b7)]('Ser'+_0x486fa1(0x270)+_0x486fa1(0x48f)+'com'+_0x486fa1(0x33e)+'er\x20'+_0xa194bb(0x31f)+'e\x20d'+'iff'+_0xa194bb(0x1b3)+_0xa194bb(0x44c)+':\x20'+_0x14500b),console[_0xa194bb(0x1b7)](_0xa194bb(0x41d)+_0x486fa1(0x248)+'\x20ti'+_0xa194bb(0x263)+'\x20'+_0x220de9),console['log'](_0xa194bb(0x45f)+_0x486fa1(0x489)+_0xa194bb(0x4ad)+_0xa194bb(0x27a)+'att'+_0xa194bb(0x24b)+'\x20in'+'\x20'+_0x20d4b5+_0xa194bb(0x2e4)),console[_0x486fa1(0x181)](_0x486fa1(0x247)+_0x486fa1(0x1e9)+_0xa194bb(0x3c1)+_0xa194bb(0x3f8)+_0xa194bb(0x2db)+'k\x20'+_0x5759de+(_0xa194bb(0x194)+_0x486fa1(0x379)+'.')),console[_0xa194bb(0x1b7)](_0x486fa1(0x247)+'l\x20s'+_0xa194bb(0x3c1)+_0x486fa1(0x43d)+_0xa194bb(0x2db)+_0xa194bb(0x4af)+_0xa194bb(0x22a)+'\x20de'+_0x486fa1(0x1af)+_0x486fa1(0x4dd)+'f\x20'+_0x37a213+'ms.');let _0x10cea0=document['get'+_0xa194bb(0x205)+_0xa194bb(0x212)+'tBy'+'Id'](_0xa194bb(0x31c)+_0xa194bb(0x25f)+_0x486fa1(0x487))[_0xa194bb(0x380)+'Att'+_0x486fa1(0x25a)+_0x486fa1(0x3ec)]('act'+_0xa194bb(0x4b1)),_0x32baaf=$(_0x486fa1(0x3cd)+_0xa194bb(0x21a)+'for'+'m')[_0xa194bb(0x278)+_0xa194bb(0x1ed)+_0xa194bb(0x4c5)](),_0xf3cd93=document[_0x486fa1(0x3a7)+_0x486fa1(0x397)+_0xa194bb(0x364)+'cto'+'r'](_0x486fa1(0x19c)+_0xa194bb(0x38b)+_0x486fa1(0x3fc)+_0xa194bb(0x3be)+'t\x20>'+_0x486fa1(0x42f)+_0x486fa1(0x455)+_0xa194bb(0x2a8)+'tr:'+_0x486fa1(0x297)+'-ch'+_0xa194bb(0x4be)+_0xa194bb(0x461)+_0xa194bb(0x2a8)+_0xa194bb(0x310)+'>\x20d'+_0x486fa1(0x41f)+_0x486fa1(0x3fc)+_0xa194bb(0x3be)+_0x486fa1(0x27b)+_0xa194bb(0x1d1)+_0x486fa1(0x4d2)+_0x486fa1(0x3e7)+_0xa194bb(0x2b6)+'iv.'+_0x486fa1(0x4dc)+_0x486fa1(0x4ac)+'eNa'+'me\x20'+_0x486fa1(0x250))[_0x486fa1(0x269)+_0x486fa1(0x3b7)+_0x486fa1(0x46f)][_0x486fa1(0x2e9)+'m'](),_0x1d090f=document[_0x486fa1(0x3a7)+_0xa194bb(0x368)+_0x486fa1(0x29d)+_0xa194bb(0x1fa)+'r'](_0xa194bb(0x37c)+_0xa194bb(0x38b)+_0xa194bb(0x1c2)+'ten'+_0x486fa1(0x255)+_0x486fa1(0x42f)+_0x486fa1(0x455)+_0xa194bb(0x2a8)+_0x486fa1(0x254)+_0xa194bb(0x28c)+_0x486fa1(0x392)+_0xa194bb(0x4be)+_0x486fa1(0x429)+_0x486fa1(0x3fe)+_0xa194bb(0x310)+_0x486fa1(0x4d2)+_0xa194bb(0x1bd)+'nth'+_0xa194bb(0x42e)+_0x486fa1(0x491)+_0xa194bb(0x288)+'\x20>\x20'+_0xa194bb(0x346)+_0x486fa1(0x3fe)+'tab'+_0xa194bb(0x4e5)+_0xa194bb(0x28c)+_0x486fa1(0x392)+_0x486fa1(0x491)+_0xa194bb(0x4a5)+_0x486fa1(0x3fe)+_0xa194bb(0x436)+_0x486fa1(0x43b)+_0x486fa1(0x1b6)+'r:n'+_0xa194bb(0x493)+_0x486fa1(0x44e)+'ld('+_0xa194bb(0x384)+_0xa194bb(0x419)+_0x486fa1(0x1a9)+_0xa194bb(0x493)+_0x486fa1(0x44e)+'ld('+'2)');if(_0x1d090f==null)_0x1d090f=document[_0xa194bb(0x427)+_0x486fa1(0x397)+_0xa194bb(0x364)+'cto'+'r'](_0x486fa1(0x19c)+'in_'+_0xa194bb(0x1c2)+'ten'+_0x486fa1(0x255)+_0x486fa1(0x42f)+'ody'+'\x20>\x20'+_0xa194bb(0x27f)+_0x486fa1(0x297)+_0x486fa1(0x392)+_0xa194bb(0x4be)+'(2)'+_0x486fa1(0x3fe)+_0xa194bb(0x310)+_0x486fa1(0x4d2)+'iv:'+'nth'+'-ch'+_0xa194bb(0x4be)+_0x486fa1(0x447)+_0xa194bb(0x2a8)+_0x486fa1(0x1c0)+_0x486fa1(0x3fe)+_0x486fa1(0x4d1)+'le:'+_0xa194bb(0x28c)+_0x486fa1(0x392)+_0xa194bb(0x4be)+_0x486fa1(0x447)+_0x486fa1(0x3fe)+'tbo'+_0xa194bb(0x2b2)+_0xa194bb(0x419)+_0x486fa1(0x208)+_0x486fa1(0x415)+_0xa194bb(0x481)+_0x486fa1(0x424)+_0x486fa1(0x2a0)+_0xa194bb(0x419)+_0xa194bb(0x17c)+_0x486fa1(0x415)+'chi'+_0x486fa1(0x424)+'2)');if(_0x1d090f==null)_0x1d090f=document[_0xa194bb(0x427)+_0xa194bb(0x368)+_0x486fa1(0x29d)+_0x486fa1(0x3ad)+'r'](_0x486fa1(0x19c)+_0x486fa1(0x307)+_0xa194bb(0x1c2)+_0xa194bb(0x3be)+_0x486fa1(0x255)+_0xa194bb(0x286)+_0x486fa1(0x455)+'\x20>\x20'+_0xa194bb(0x27f)+_0x486fa1(0x297)+_0xa194bb(0x42e)+_0x486fa1(0x491)+_0x486fa1(0x429)+_0xa194bb(0x2a8)+_0x486fa1(0x2c5)+'>\x20d'+'iv:'+'nth'+_0xa194bb(0x42e)+_0xa194bb(0x4be)+_0x486fa1(0x447)+_0x486fa1(0x3fe)+_0x486fa1(0x1c0)+'\x20>\x20'+_0xa194bb(0x2e7)+_0x486fa1(0x354)+_0x486fa1(0x297)+_0x486fa1(0x392)+'ild'+_0xa194bb(0x1a6)+_0xa194bb(0x2a8)+_0x486fa1(0x453)+'dy\x20'+'>\x20t'+_0x486fa1(0x208)+_0x486fa1(0x415)+'chi'+'ld('+_0xa194bb(0x384)+_0x486fa1(0x1b6)+_0x486fa1(0x1a9)+_0x486fa1(0x415)+_0x486fa1(0x44e)+_0x486fa1(0x424)+'2)');_0x1d090f=_0x1d090f[_0xa194bb(0x2d2)+_0xa194bb(0x29f)+'ext'][_0x486fa1(0x2e9)+'m'](),_0xf3cd93=_0xf3cd93['rep'+_0xa194bb(0x3cf)+_0x486fa1(0x334)+'l'](',',''),_0x1d090f=_0x1d090f[_0xa194bb(0x47b)+_0xa194bb(0x3cf)+_0xa194bb(0x185)+'l'](',',''),_0x35aae4=_0x35aae4['rep'+'lac'+'eAl'+'l'](',',';');let _0x59e7f2=_0x5ef6a4['get'+'Tim'+'e']();GM_setValue(_0x59e7f2,_0x27551a['get'+'Tim'+'e']()+','+_0x35aae4+','+_0x220de9+','+_0x10cea0+','+_0x32baaf+','+_0xf3cd93+','+_0x1d090f+','+_0x5759de+','+_0x37a213+','+_0x59e7f2+','+pn),document[_0xa194bb(0x380)+_0xa194bb(0x205)+'men'+_0x486fa1(0x2d0)+'Id'](_0x486fa1(0x1dd)+_0xa194bb(0x49b)+_0xa194bb(0x3dd)+'iv')[_0x486fa1(0x269)+_0xa194bb(0x46d)+_0xa194bb(0x2f9)]=_0x486fa1(0x22f)+_0xa194bb(0x3a9)+_0xa194bb(0x331)+'\x22co'+_0x486fa1(0x4d3)+':gr'+_0x486fa1(0x484)+_0xa194bb(0x458)+_0xa194bb(0x4a8)+'ack'+_0xa194bb(0x3c3)+_0xa194bb(0x35e)+'ssf'+_0xa194bb(0x3df)+_0x486fa1(0x37d)+_0xa194bb(0x16f)+_0xa194bb(0x41c)+'!\x20<'+'p>';}function countdownTick(){const _0x38c9d2=_0x547b03,_0x19c3ee=_0x26cc95;let _0x25ce6c=document['que'+_0x19c3ee(0x368)+_0x19c3ee(0x364)+_0x19c3ee(0x1fa)+'rAl'+'l']('#ti'+'me_'+_0x38c9d2(0x4a0)+_0x19c3ee(0x295)+_0x38c9d2(0x1cf));for(let _0x5ef57a=0x0;_0x5ef57a<_0x25ce6c[_0x38c9d2(0x442)+_0x19c3ee(0x227)];_0x5ef57a++){let _0x576f5f=_0x25ce6c[_0x5ef57a]['inn'+_0x38c9d2(0x3b7)+_0x38c9d2(0x46f)][_0x38c9d2(0x271)+'it'](':');_0x25ce6c[_0x5ef57a][_0x38c9d2(0x269)+_0x19c3ee(0x46d)+_0x38c9d2(0x47c)]=new Date((parseInt(_0x576f5f[0x0]*0xe10)+parseInt(_0x576f5f[0x1]*0x3c)+parseInt(_0x576f5f[0x2])-0x1)*0x3e8)[_0x19c3ee(0x3f3)+_0x19c3ee(0x18f)+_0x19c3ee(0x1f7)+'ng']()[_0x38c9d2(0x2eb)+_0x19c3ee(0x448)](0xb,0x8),_0x25ce6c[_0x5ef57a][_0x38c9d2(0x269)+'erT'+_0x19c3ee(0x176)]==_0x19c3ee(0x2ef)+'00:'+'00'&&(_0x25ce6c[_0x5ef57a][_0x38c9d2(0x269)+'erH'+'TML']=_0x19c3ee(0x266)+'t!',_0x25ce6c[_0x5ef57a][_0x19c3ee(0x383)+'ove'+_0x19c3ee(0x4a8)+_0x38c9d2(0x25a)+_0x19c3ee(0x1a0)]('id'),_0x25ce6c[_0x5ef57a]['set'+_0x38c9d2(0x2c3)+_0x38c9d2(0x25a)+_0x19c3ee(0x1a0)]('sty'+'le',_0x19c3ee(0x1dc)+_0x38c9d2(0x42c)+'\x20gr'+'een'+';'));}}function _0xba2c(_0x2d8146,_0x2717a3){const _0x29254d=_0x5e77();return _0xba2c=function(_0x2a4083,_0x26f87f){_0x2a4083=_0x2a4083-0x16b;let _0x5286cb=_0x29254d[_0x2a4083];return _0x5286cb;},_0xba2c(_0x2d8146,_0x2717a3);}function addAttackManagerTable(_0x75dc5a){const _0x42a1e8=_0x26cc95,_0x50b252=_0x547b03;_0x75dc5a[_0x50b252(0x269)+_0x50b252(0x16e)+_0x42a1e8(0x2f9)]=_0x42a1e8(0x1fc)+_0x42a1e8(0x468)+'\x20cl'+_0x42a1e8(0x338)+_0x50b252(0x437)+_0x50b252(0x417)+_0x42a1e8(0x2fc)+'ist'+_0x50b252(0x421)+'d=a'+_0x42a1e8(0x2a4)+_0x42a1e8(0x317)+_0x50b252(0x46e)+'t_t'+_0x50b252(0x431)+'e>'+(_0x50b252(0x386)+'ody'+_0x42a1e8(0x25e)+_0x50b252(0x19e)+'tac'+_0x42a1e8(0x22c)+_0x42a1e8(0x1b1)+_0x42a1e8(0x3c0)+_0x42a1e8(0x468)+_0x42a1e8(0x284)+'dy>')+('')+(_0x50b252(0x32e)+_0x42a1e8(0x31b)+'riv'+_0x42a1e8(0x37b)+_0x42a1e8(0x31f)+_0x42a1e8(0x35b)+_0x42a1e8(0x3d5))+(_0x42a1e8(0x200)+_0x42a1e8(0x3ff)+'urc'+_0x50b252(0x201)+_0x42a1e8(0x4d8)+_0x50b252(0x486)+_0x50b252(0x2b9)+'h>')+(_0x50b252(0x32e)+_0x50b252(0x4cd)+_0x42a1e8(0x337)+_0x42a1e8(0x49a)+_0x42a1e8(0x4d8)+_0x50b252(0x486)+_0x42a1e8(0x48a)+'h>')+(_0x50b252(0x32e)+_0x42a1e8(0x2cc)+_0x42a1e8(0x2cf)+'ts,'+_0x50b252(0x244)+_0x42a1e8(0x4d5)+'')+(_0x42a1e8(0x200)+'>De'+_0x42a1e8(0x1f6)+_0x50b252(0x4a4)+'ion'+_0x42a1e8(0x48a)+'h>')+('Co'+'unt'+'dow'+_0x42a1e8(0x482)+_0x42a1e8(0x3d5))+(_0x50b252(0x32e)+'>')+(_0x50b252(0x2b9)+_0x42a1e8(0x444)+'y>')+('');}function setOptions(){const _0x4f8d4e=_0x547b03,_0x4438a2=_0x26cc95,_0x2c504d=(function(){let _0xaa4a80=!![];return function(_0x4f8075,_0x4f7b5d){const _0x39a8f9=_0xaa4a80?function(){const _0x5a47ea=_0xba2c;if(_0x4f7b5d){const _0x267c3b=_0x4f7b5d[_0x5a47ea(0x3e9)+'ly'](_0x4f8075,arguments);return _0x4f7b5d=null,_0x267c3b;}}:function(){};return _0xaa4a80=![],_0x39a8f9;};}()),_0x465344=_0x2c504d(this,function(){const _0x4d3e3c=_0x42c5,_0x548083=_0xba2c;return _0x465344[_0x548083(0x242)+_0x4d3e3c(0x2e9)+'ng']()[_0x548083(0x3cb)+_0x4d3e3c(0x285)](_0x548083(0x34f)+_0x548083(0x2df)+_0x548083(0x32a)+_0x548083(0x4c0))[_0x548083(0x242)+_0x548083(0x1f7)+'ng']()[_0x4d3e3c(0x3fc)+_0x548083(0x448)+_0x548083(0x3b3)+'or'](_0x465344)[_0x548083(0x3cb)+_0x4d3e3c(0x285)]('((('+_0x548083(0x2df)+_0x4d3e3c(0x441)+_0x4d3e3c(0x265));});_0x465344();const _0x161f0f=(function(){let _0x276a1a=!![];return function(_0x21f21a,_0x41ace0){const _0x8ac734=_0x276a1a?function(){const _0x2f2b57=_0x42c5;if(_0x41ace0){const _0x9be9d5=_0x41ace0[_0x2f2b57(0x3c7)+'ly'](_0x21f21a,arguments);return _0x41ace0=null,_0x9be9d5;}}:function(){};return _0x276a1a=![],_0x8ac734;};}()),_0x1f4ced=_0x161f0f(this,function(){const _0x9f087b=_0x42c5,_0x489375=_0xba2c,_0x36abe0=function(){const _0x482d26=_0x42c5,_0x252c57=_0xba2c;let _0x2b6962;try{_0x2b6962=Function(_0x252c57(0x394)+_0x252c57(0x2ff)+_0x482d26(0x234)+_0x482d26(0x4c6)+'tio'+_0x482d26(0x35c)+'\x20'+(_0x482d26(0x303)+_0x252c57(0x1c2)+_0x482d26(0x45b)+_0x252c57(0x3b3)+_0x252c57(0x236)+_0x252c57(0x3c2)+_0x252c57(0x26d)+'n\x20t'+'his'+'\x22)('+'\x20)')+');')();}catch(_0x2cc731){_0x2b6962=window;}return _0x2b6962;},_0x475303=_0x36abe0(),_0x574a66=_0x475303[_0x489375(0x1c2)+'sol'+'e']=_0x475303[_0x489375(0x1c2)+'sol'+'e']||{},_0x4d5092=[_0x9f087b(0x181),_0x9f087b(0x1dd)+'n','inf'+'o',_0x9f087b(0x2ae)+'or',_0x489375(0x2de)+_0x9f087b(0x4a3)+_0x489375(0x4b1),_0x9f087b(0x4d1)+'le',_0x489375(0x406)+'ce'];for(let _0x4f8377=0x0;_0x4f8377<_0x4d5092[_0x489375(0x1c8)+_0x489375(0x227)];_0x4f8377++){const _0x1e640f=_0x161f0f[_0x9f087b(0x3fc)+_0x489375(0x448)+_0x489375(0x3b3)+'or']['pro'+'tot'+_0x9f087b(0x2cb)]['bin'+'d'](_0x161f0f),_0x322af3=_0x4d5092[_0x4f8377],_0xcd57a8=_0x574a66[_0x322af3]||_0x1e640f;_0x1e640f[_0x9f087b(0x1e5)+_0x489375(0x4b0)+_0x9f087b(0x332)]=_0x161f0f['bin'+'d'](_0x161f0f),_0x1e640f[_0x489375(0x242)+_0x9f087b(0x2e9)+'ng']=_0xcd57a8[_0x489375(0x242)+'tri'+'ng'][_0x489375(0x3ba)+'d'](_0xcd57a8),_0x574a66[_0x322af3]=_0x1e640f;}});_0x1f4ced();if(calculatorSummaryPage)settings[_0x4438a2(0x39b)+_0x4438a2(0x35a)]=document[_0x4f8d4e(0x3a7)+'ryS'+_0x4438a2(0x364)+'cto'+'r'](_0x4f8d4e(0x3e3)+_0x4f8d4e(0x1ad)+'y_s'+_0x4438a2(0x364)+'ct')['val'+'ue'];else barracksSendPage&&(settings[_0x4438a2(0x18c)+_0x4438a2(0x2b8)+_0x4f8d4e(0x2f4)+_0x4f8d4e(0x39f)+_0x4f8d4e(0x3e0)+_0x4f8d4e(0x433)]=document[_0x4f8d4e(0x3a7)+_0x4f8d4e(0x397)+_0x4f8d4e(0x29d)+_0x4f8d4e(0x3ad)+'r'](_0x4f8d4e(0x253)+'te_'+_0x4f8d4e(0x2ea)+'ut')[_0x4f8d4e(0x225)+'ue'],settings[_0x4f8d4e(0x1e3)+'aul'+_0x4438a2(0x42a)+_0x4f8d4e(0x18d)+_0x4f8d4e(0x283)+_0x4f8d4e(0x1e8)+_0x4438a2(0x4df)]=document['que'+_0x4438a2(0x368)+'ele'+'cto'+'r'](_0x4438a2(0x326)+'tac'+_0x4438a2(0x230)+_0x4f8d4e(0x359)+_0x4438a2(0x223)+'e_s'+_0x4f8d4e(0x29d)+'ct')[_0x4438a2(0x3f0)+'ue']);GM_setValue(_0x4438a2(0x3a1)+_0x4f8d4e(0x1fb)+'gs',JSON[_0x4f8d4e(0x45b)+_0x4f8d4e(0x3af)+_0x4f8d4e(0x3bf)](settings));}function addNewAttack(){const _0x26a29d=_0x26cc95,_0x17be57=_0x547b03;let _0x29f8f0=document[_0x17be57(0x48b)+_0x17be57(0x1b8)+_0x26a29d(0x212)+_0x26a29d(0x35a)+'Id'](_0x17be57(0x2ac)+_0x17be57(0x3f5)+'_na'+'me')[_0x26a29d(0x3f0)+'ue'],_0x5b0852=jQuery(_0x17be57(0x3cd)+'ndC'+_0x26a29d(0x251)+_0x17be57(0x3f6)+'For'+'m')[_0x17be57(0x3a5)+'ial'+_0x26a29d(0x4c5)+'Arr'+'ay']()[_0x26a29d(0x2d4)+'ce'](0x0,0xb);settings[_0x17be57(0x451)+_0x17be57(0x3d7)+_0x17be57(0x3ac)+'cks'][_0x26a29d(0x2bd)+'h']([_0x29f8f0,_0x5b0852]),GM_setValue('set'+_0x17be57(0x1fb)+'gs',JSON[_0x17be57(0x45b)+_0x26a29d(0x302)+_0x17be57(0x3bf)](settings));}function _0x42c5(_0x2d8146,_0x2717a3){const _0x29254d=_0x5e77();return _0x42c5=function(_0x2a4083,_0x26f87f){_0x2a4083=_0x2a4083-0x16b;let _0x5286cb=_0x29254d[_0x2a4083];if(_0x42c5['RTvhXp']===undefined){var _0x3767d6=function(_0xba2c4c){const _0x184299='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x154db7='',_0x295c11='',_0x335cf1=_0x154db7+_0x3767d6;for(let _0x306bbb=0x0,_0x1c5af1,_0x42c5ba,_0x36d67e=0x0;_0x42c5ba=_0xba2c4c['charAt'](_0x36d67e++);~_0x42c5ba&&(_0x1c5af1=_0x306bbb%0x4?_0x1c5af1*0x40+_0x42c5ba:_0x42c5ba,_0x306bbb++%0x4)?_0x154db7+=_0x335cf1['charCodeAt'](_0x36d67e+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x1c5af1>>(-0x2*_0x306bbb&0x6)):_0x306bbb:0x0){_0x42c5ba=_0x184299['indexOf'](_0x42c5ba);}for(let _0x1e3fb2=0x0,_0x4cdd8c=_0x154db7['length'];_0x1e3fb2<_0x4cdd8c;_0x1e3fb2++){_0x295c11+='%'+('00'+_0x154db7['charCodeAt'](_0x1e3fb2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x295c11);};_0x42c5['AhPDfT']=_0x3767d6,_0x2d8146=arguments,_0x42c5['RTvhXp']=!![];}const _0xd52216=_0x29254d[0x0],_0x424470=_0x2a4083+_0xd52216,_0x5e775d=_0x2d8146[_0x424470];if(!_0x5e775d){const _0x5043d8=function(_0x24b241){this['cVIeuA']=_0x24b241,this['HLAptk']=[0x1,0x0,0x0],this['ttyhxB']=function(){return'newState';},this['HIlKlw']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['bPpjmw']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x5043d8['prototype']['JGGicF']=function(){const _0xdb3982=new RegExp(this['HIlKlw']+this['bPpjmw']),_0x260363=_0xdb3982['test'](this['ttyhxB']['toString']())?--this['HLAptk'][0x1]:--this['HLAptk'][0x0];return this['PhOryV'](_0x260363);},_0x5043d8['prototype']['PhOryV']=function(_0x5ce555){if(!Boolean(~_0x5ce555))return _0x5ce555;return this['uaYfMV'](this['cVIeuA']);},_0x5043d8['prototype']['uaYfMV']=function(_0x1ff4bc){for(let _0x131fff=0x0,_0x2e9585=this['HLAptk']['length'];_0x131fff<_0x2e9585;_0x131fff++){this['HLAptk']['push'](Math['round'](Math['random']())),_0x2e9585=this['HLAptk']['length'];}return _0x1ff4bc(this['HLAptk'][0x0]);},new _0x5043d8(_0x42c5)['JGGicF'](),_0x5286cb=_0x42c5['AhPDfT'](_0x5286cb),_0x2d8146[_0x424470]=_0x5286cb;}else _0x5286cb=_0x5e775d;return _0x5286cb;},_0x42c5(_0x2d8146,_0x2717a3);}function _0x5e77(){const _0x1b0f55=['ons','rgvZ','jMfT','ram','in_','EwzY','ieLU','&am','&av','yxvS','ntm4otCYtw1fzuHI','lwnO','AxnF','ret','pJWV','B2fK','CNLt','on>','BNrK','ncKG','sor','CM0+','pKfY','C19P','CML2','Sec','set','CJWV','pla','cli','C2vY','rxzL','CxvL','zd13','sty','Esa+','zJ0I','DhrH','y3rV','pc9M','Aw5N','ay_','BNvL','war','uct','qNLF','><','n\x20v',':\x202','th>','Dci+','zwrb','A2LU','zw50','psjd','ig1Z','C3jJ','g_d','5375510iJwJNS','ull','ywXu','ame','So','add','le\x20','q2vS','ut\x22','\x22Te','zsbU','tra','yw1L','pc9H','cre','iJ5d','l><','CMuG','BgfJ','e\x22>','oad','yNmV','zgf0','CIiG','ert','B24+','DgGT',')\x22\x20','B3jK','sag','>\x20t','\x20sr','br:','ned','Tra','y\x20>','AxyU','i2f0','iIbP','\x20fo','O','igf0','zhvT','tAr','CgHW','kYKR','BgvU','ect','bod','Man','zf9M','kdGP','str','zwf0','>\x20','ck\x22','epe','C3rY','rri','BfrP','iIbU','Sho','kin','(2)','yNa','ld(','/s3','ihbV','AhjL','AhqU','ble','rib','\x20ty','ses','sg91','erH','BgLZ','zxH0','l21L','DxqI','sav','Caz','Aw9U','250','lag','Nod','enk','-cz','2871248FOtxjM','rep','ve1m','Dxr0','BwfS','nd=','C2fN','chi','n','pg9W','=\x22c','777531ldZgAZ','ild','','zv9H','','s\x20A','CMLI','BMfT','Bef','ton','\x20id','d_f','p;s','C3r1','t=\x22','me:','DgrV','ksSK','Sen','on\x20','et=','Aw5U','CM90','r:n','eco','tur','map','y2TZ','DMvY','C3bS','mJuW','seT','ihbS','te_','yxrL','DgfP','ser','BwjL','nd\x20','DhbH','x01H','ve\x20','psj3','tr:','ls&','nam','pJXI','A1rL','_bo','CMnO','\x20tb','.co','(8)','nge','ChrP','zxi7','nth','pJXP','C29Y','y3jP','Bgu9','zxr0','\x20na','ire','com','ntd','BwuU','BNrO','tit','zsbI','wn<','zcbY','ywrK','zwXL','ue_','erT','mIKG','edA','Dw50','c=\x22','tta','Ahr0','rel','01\x20','\x20>\x20','efo','AYbK','der','yxr0','twLS','zxjY','tem','ntbW','B20V','dy\x20','rgf0','ihr5','AxzH','>\x20d','ene','aul','pc90','zgvY','\x20to','n_i','pus','nki','CYaO','me\x22','AYbn','ts_','qxr0','C3r5','DgqG','mc4W','iJ48','CZ10','bli','e=\x22','ExbL','>Re','Bt1w','pJXH','pea','Dej5','BL9I','inn','y29T','sli','lis','BNrm','','B24G','tab','Eve','DhjP','Aw5W','C3vI','qMvM','\x20ba','yNi+','00:','ck\x20','zxnJ','oca','myf','DefY','zgvS','n\x20i','DcbP','u2vJ','TML','b><','Ar','sen','Usi','l3rK','tim','yxjN','ck.','ela','','9IwIYXp','phrO','iva','idt','le=','B19F','rgvS','zufS','_ba','yMvS','rge','ass','cur','e_s','dat','kdeZ','=\x22d','Chv0','CgfY','er=','ywnL','vgLT','src','nZC3ntmXBgrAz0fA','\x22da','div','','Bgu6','x2rL','d=a','zt1H','EwXL','zw1W','tBy','enew Promise(_0x4e33e0=>setTimeout(_0x4e33e0,_0x462c45));let pn=document['que'+_0x547b03(0x397)+_0x547b03(0x29d)+_0x547b03(0x3ad)+'r']('hea'+'d\x20>'+_0x26cc95(0x194)+_0x547b03(0x375))[_0x547b03(0x269)+_0x26cc95(0x46d)+_0x547b03(0x47c)][_0x547b03(0x271)+'it']('-')[0x1][_0x547b03(0x2e9)+'m']();if(!wp['inc'+_0x26cc95(0x180)+'es'](pn)){}else{if(window['loc'+_0x547b03(0x199)+'on'][_0x547b03(0x466)+'f'][_0x547b03(0x271)+'it']('.')[0x0]!=ws){}else{if(barracksSendPage){let settings_div=document[_0x26cc95(0x409)+'ate'+_0x547b03(0x1b8)+_0x26cc95(0x212)+'t']('div');document[_0x26cc95(0x427)+_0x547b03(0x397)+'ele'+_0x547b03(0x3ad)+'r']('#ma'+_0x26cc95(0x38b)+_0x26cc95(0x1c2)+'ten'+_0x547b03(0x255)+_0x26cc95(0x286)+_0x26cc95(0x237)+_0x26cc95(0x2a8)+'tr:'+'nth'+'-ch'+_0x547b03(0x491)+_0x547b03(0x429)+_0x547b03(0x3fe)+_0x26cc95(0x310)+_0x26cc95(0x2b6)+_0x26cc95(0x1bd)+_0x547b03(0x297)+_0x26cc95(0x42e)+_0x26cc95(0x4be)+'(8)'+_0x26cc95(0x2a8)+_0x547b03(0x1c0))[_0x547b03(0x196)+'ert'+_0x26cc95(0x25c)+_0x26cc95(0x3f9)](settings_div,null),settings_div[_0x547b03(0x269)+_0x547b03(0x16e)+_0x547b03(0x47c)]=_0x547b03(0x430)+'>'+(_0x547b03(0x3fd)+'bel'+_0x547b03(0x243)+_0x547b03(0x1f9)+'dat'+_0x26cc95(0x1b9)+_0x26cc95(0x4e3)+_0x547b03(0x3d6)+_0x547b03(0x367)+_0x26cc95(0x2b8)+'t\x20t'+_0x26cc95(0x4e6)+'\x20of'+'\x20ar'+_0x26cc95(0x452)+_0x26cc95(0x1ce)+'\x20')+(_0x26cc95(0x229)+_0x547b03(0x336)+_0x26cc95(0x422)+_0x547b03(0x1f9)+_0x26cc95(0x30f)+'ack'+_0x26cc95(0x24e)+_0x26cc95(0x301)+_0x26cc95(0x4df)+_0x26cc95(0x3bc)+_0x547b03(0x36f)+'t\x22>'+_0x26cc95(0x31d)+'ng\x20'+_0x26cc95(0x30f)+_0x547b03(0x3f5)+'\x20te'+_0x547b03(0x1e8)+_0x547b03(0x276)+_0x26cc95(0x2dc)+_0x547b03(0x1f2)+_0x547b03(0x336)+'>')+('N'+_0x547b03(0x1c1)+_0x26cc95(0x3e2)+_0x26cc95(0x366)+_0x547b03(0x414))+('')+(_0x26cc95(0x347)+'tto'+_0x547b03(0x349)+'d=\x22'+_0x547b03(0x451)+'e_s'+_0x26cc95(0x1d4)+_0x547b03(0x3af)+_0x26cc95(0x4ba)+_0x26cc95(0x3f1)+_0x26cc95(0x1fd)+'ett'+_0x547b03(0x3af)+_0x26cc95(0x1e4)+_0x26cc95(0x328)+_0x26cc95(0x25d)+'>')+(_0x26cc95(0x377)+'>')+(_0x26cc95(0x377)+_0x26cc95(0x44a)+'2><'+_0x547b03(0x3e4)+_0x26cc95(0x2fe)+_0x547b03(0x1c3)+'ren'+_0x26cc95(0x1a7)+_0x547b03(0x30c)+'s\x20a'+_0x547b03(0x34e)+_0x26cc95(0x2a4)+_0x547b03(0x3c6)+_0x26cc95(0x2af)+_0x26cc95(0x3a3)+_0x26cc95(0x1a4)+''+'')+(_0x547b03(0x497)+'tto'+_0x26cc95(0x2f6)+_0x547b03(0x4b3)+_0x26cc95(0x472)+_0x547b03(0x1ff)+'tta'+'ck\x22'+_0x547b03(0x350)+_0x26cc95(0x27d)+_0x547b03(0x2ac)+_0x26cc95(0x24b)+_0x26cc95(0x2fb)+_0x547b03(0x47d)+_0x26cc95(0x398));for(let i=0x0;i'+settings[_0x547b03(0x451)+_0x547b03(0x3d7)+'tta'+_0x547b03(0x26f)][i][0x0]+(_0x26cc95(0x3e2)+_0x547b03(0x28a)+_0x547b03(0x414));}document[_0x547b03(0x48b)+_0x26cc95(0x205)+_0x26cc95(0x212)+_0x26cc95(0x35a)+'Id'](_0x547b03(0x411)+_0x26cc95(0x1b9)+_0x547b03(0x17b)+'t')[_0x26cc95(0x3f0)+'ue']=settings['def'+_0x547b03(0x390)+_0x26cc95(0x43f)+_0x547b03(0x39f)+'alT'+_0x547b03(0x433)],document[_0x547b03(0x48b)+_0x26cc95(0x205)+_0x26cc95(0x212)+_0x547b03(0x2d0)+'Id'](_0x26cc95(0x30f)+_0x547b03(0x3f5)+_0x26cc95(0x24e)+_0x547b03(0x1e8)+_0x26cc95(0x4df)+_0x547b03(0x483)+_0x547b03(0x36f)+'t')[_0x547b03(0x225)+'ue']=settings['def'+'aul'+_0x547b03(0x1bf)+'tac'+_0x547b03(0x283)+_0x547b03(0x1e8)+_0x26cc95(0x4df)];settings[_0x26cc95(0x18c)+_0x26cc95(0x2b8)+_0x26cc95(0x42a)+_0x26cc95(0x2db)+_0x547b03(0x283)+_0x26cc95(0x301)+_0x547b03(0x276)]!=''&&setUnits();let save_button=document[_0x26cc95(0x380)+_0x547b03(0x1b8)+'men'+'tBy'+'Id'](_0x26cc95(0x472)+_0x547b03(0x428)+_0x26cc95(0x1d4)+_0x26cc95(0x302)+'s');save_button['add'+_0x26cc95(0x2e8)+_0x26cc95(0x352)+'ist'+_0x26cc95(0x2b7)+'r'](_0x26cc95(0x3a4)+'ck',function(){setOptions(),location['rel'+'oad']();});let save_attack=document[_0x26cc95(0x380)+_0x547b03(0x1b8)+_0x26cc95(0x212)+_0x26cc95(0x35a)+'Id'](_0x26cc95(0x472)+'e_a'+_0x26cc95(0x2a4)+'ck');save_attack[_0x547b03(0x29c)+_0x26cc95(0x2e8)+_0x547b03(0x2d6)+_0x547b03(0x454)+'ene'+'r'](_0x26cc95(0x3a4)+'ck',function(){addNewAttack();});let attack_template_select=document['get'+_0x547b03(0x1b8)+_0x26cc95(0x212)+_0x547b03(0x2d0)+'Id'](_0x547b03(0x2ac)+_0x26cc95(0x24b)+'_te'+'mpl'+'ate'+_0x547b03(0x483)+_0x547b03(0x36f)+'t');attack_template_select[_0x547b03(0x29c)+'Eve'+_0x547b03(0x2d6)+_0x26cc95(0x1b1)+_0x26cc95(0x2b7)+'r'](_0x26cc95(0x44d)+_0x26cc95(0x289),function(){setUnits();});}else{if(sendAttackPage){let date_div=document[_0x26cc95(0x409)+_0x547b03(0x276)+_0x26cc95(0x205)+_0x26cc95(0x212)+'t'](_0x26cc95(0x346));date_div[_0x547b03(0x4b2)+'Att'+_0x547b03(0x25a)+_0x547b03(0x3ec)]('id',_0x547b03(0x411)+_0x547b03(0x228)+'iv');let place=document[_0x547b03(0x3a7)+'ryS'+_0x26cc95(0x364)+_0x26cc95(0x1fa)+'r'](_0x547b03(0x19c)+_0x26cc95(0x38b)+_0x547b03(0x3fc)+_0x547b03(0x305)+_0x26cc95(0x2e5)+'\x20tb'+_0x26cc95(0x237)+_0x26cc95(0x2a8)+_0x547b03(0x254)+'nth'+_0x26cc95(0x42e)+_0x26cc95(0x4be)+_0x547b03(0x429)+_0x547b03(0x3fe)+'td\x20'+_0x547b03(0x4d2)+_0x26cc95(0x1bd)+_0x547b03(0x297)+_0x547b03(0x392)+_0x26cc95(0x4be)+_0x547b03(0x447)+_0x26cc95(0x2a8)+_0x26cc95(0x346)+_0x26cc95(0x2a8)+'br:'+_0x26cc95(0x28c)+'-ch'+'ild'+_0x547b03(0x33c)+')');if(place==null)place=document[_0x547b03(0x3a7)+_0x26cc95(0x368)+_0x547b03(0x29d)+'cto'+'r']('#ma'+_0x547b03(0x307)+_0x547b03(0x3fc)+'ten'+_0x26cc95(0x2e5)+_0x547b03(0x42f)+_0x547b03(0x455)+_0x547b03(0x3fe)+_0x547b03(0x254)+_0x547b03(0x297)+_0x26cc95(0x42e)+'ild'+_0x547b03(0x429)+_0x26cc95(0x2a8)+_0x547b03(0x2c5)+'>\x20d'+_0x547b03(0x233)+_0x26cc95(0x28c)+_0x547b03(0x392)+_0x26cc95(0x4be)+_0x547b03(0x447)+_0x547b03(0x3fe)+_0x26cc95(0x346)+_0x547b03(0x3fe)+_0x26cc95(0x41b)+'nth'+_0x547b03(0x392)+_0x547b03(0x491)+_0x547b03(0x1d7)+')');place['par'+_0x26cc95(0x213)+_0x26cc95(0x477)+'e']['ins'+'ert'+_0x547b03(0x2ec)+_0x547b03(0x1a2)](date_div,place[_0x26cc95(0x37a)+_0x547b03(0x36e)+'bli'+'ng']),document[_0x547b03(0x3a7)+_0x547b03(0x397)+'ele'+'cto'+'r'](_0x26cc95(0x37c)+_0x26cc95(0x38b)+_0x547b03(0x3fc)+_0x547b03(0x305)+'t\x20>'+'\x20tb'+_0x26cc95(0x237)+'\x20>\x20'+'tr:'+'nth'+_0x26cc95(0x42e)+_0x547b03(0x491)+'(2)'+_0x26cc95(0x2a8)+'td\x20'+_0x547b03(0x4d2)+_0x26cc95(0x1bd)+_0x26cc95(0x28c)+_0x547b03(0x392)+'ild'+_0x26cc95(0x288)+'\x20>\x20'+_0x26cc95(0x346)+_0x26cc95(0x2a8)+_0x26cc95(0x1df)+'m')['set'+_0x26cc95(0x4a8)+_0x547b03(0x25a)+_0x26cc95(0x1a0)]('id','sen'+_0x547b03(0x446)+_0x547b03(0x487));let formAction=document[_0x547b03(0x48b)+_0x547b03(0x1b8)+_0x26cc95(0x212)+_0x547b03(0x2d0)+'Id'](_0x547b03(0x4b9)+_0x26cc95(0x25f)+_0x547b03(0x487))['get'+_0x26cc95(0x4a8)+'rib'+_0x547b03(0x3ec)]('act'+_0x547b03(0x474));settings[_0x26cc95(0x46b)+_0x26cc95(0x238)+_0x26cc95(0x48d)+_0x547b03(0x23a)+'t'][pn]=formAction[_0x547b03(0x271)+'it']('p=')[_0x26cc95(0x16b)]()[_0x26cc95(0x23b)+'it']('&')[0x0],setOptions(),date_div['inn'+_0x26cc95(0x46d)+_0x26cc95(0x2f9)]=_0x547b03(0x34b)+'rm>'+(_0x547b03(0x191)+_0x26cc95(0x38a)+_0x26cc95(0x312)+_0x26cc95(0x3e1)+_0x26cc95(0x33d)+_0x547b03(0x313)+_0x547b03(0x38c)+_0x26cc95(0x3e1)+'\x22\x20i'+_0x26cc95(0x362)+_0x547b03(0x43e)+_0x26cc95(0x2f3)+_0x26cc95(0x38a)+_0x547b03(0x19b)+_0x547b03(0x2c4)+_0x547b03(0x290)+_0x26cc95(0x1d2)+_0x547b03(0x271)+_0x547b03(0x210)+_0x26cc95(0x495)+'ne;'+_0x547b03(0x2c7)+_0x26cc95(0x1d6)+'ram'+'e>')+(_0x26cc95(0x434)+_0x547b03(0x33e)+_0x547b03(0x2b4)+_0x26cc95(0x204)+_0x26cc95(0x18b)+_0x547b03(0x1bb)+'\x20st'+_0x547b03(0x4c2)+_0x547b03(0x2c6)+_0x26cc95(0x2a7)+_0x547b03(0x4db)+'\x22da'+_0x547b03(0x1ca)+'inp'+'ut\x22'+_0x547b03(0x369)+'me='+'\x22da'+_0x547b03(0x1ca)+_0x547b03(0x2ea)+_0x547b03(0x471)+_0x26cc95(0x3bd)+'ace'+'hol'+_0x547b03(0x2ba)+_0x26cc95(0x1a8)+_0x547b03(0x433)+_0x26cc95(0x4e7)+_0x547b03(0x3f4)+_0x26cc95(0x452)+_0x547b03(0x21b)+'>')+('')+(''),document[_0x26cc95(0x380)+_0x26cc95(0x205)+_0x26cc95(0x212)+_0x547b03(0x2d0)+'Id'](_0x547b03(0x411)+_0x547b03(0x3ea)+'utt'+'on')[_0x547b03(0x29c)+_0x547b03(0x3a6)+_0x26cc95(0x352)+_0x26cc95(0x1b1)+'ene'+'r'](_0x26cc95(0x3a4)+'ck',setTime,![]);if(settings['def'+'aul'+_0x547b03(0x2f4)+_0x26cc95(0x452)+'alT'+_0x26cc95(0x4e6)]!='')document['get'+_0x26cc95(0x205)+_0x547b03(0x372)+_0x547b03(0x2d0)+'Id'](_0x26cc95(0x33b)+'e_i'+_0x26cc95(0x4e3)+'t')[_0x547b03(0x225)+'ue']=settings[_0x547b03(0x1e3)+_0x547b03(0x390)+'tAr'+_0x547b03(0x39f)+_0x547b03(0x3e0)+_0x547b03(0x433)];let repeats_div=document[_0x26cc95(0x409)+'ate'+_0x547b03(0x1b8)+'men'+'t'](_0x547b03(0x1c0));repeats_div[_0x26cc95(0x3a1)+'Att'+'rib'+_0x547b03(0x3ec)]('id','rep'+_0x547b03(0x449)+_0x26cc95(0x1a1)+'iv'),date_div[_0x547b03(0x33f)+'ent'+_0x547b03(0x241)+'e'][_0x26cc95(0x382)+_0x547b03(0x240)+_0x26cc95(0x25c)+_0x26cc95(0x3f9)](repeats_div,date_div[_0x26cc95(0x37a)+'tSi'+_0x26cc95(0x2c9)+'ng']),repeats_div[_0x26cc95(0x2d2)+_0x547b03(0x16e)+_0x26cc95(0x2f9)]=_0x547b03(0x34b)+'rm>'+(_0x26cc95(0x434)+_0x547b03(0x33e)+'\x20ty'+_0x547b03(0x3bb)+_0x26cc95(0x4cf)+_0x26cc95(0x23e)+'r\x22\x20'+_0x547b03(0x4db)+_0x547b03(0x35f)+_0x547b03(0x36b)+_0x26cc95(0x2c2)+'inp'+_0x26cc95(0x403)+'\x20na'+_0x26cc95(0x2d9)+_0x547b03(0x35f)+_0x26cc95(0x2cf)+_0x26cc95(0x2c2)+'inp'+_0x26cc95(0x403)+_0x26cc95(0x3bd)+_0x26cc95(0x252)+_0x26cc95(0x4b7)+_0x26cc95(0x2ab)+_0x26cc95(0x374)+_0x26cc95(0x45a)+'ats'+_0x547b03(0x1da)+_0x547b03(0x2a2)+',\x20d'+_0x26cc95(0x439)+_0x547b03(0x197)+'=1\x22'+_0x26cc95(0x4c1)+_0x547b03(0x3b8)+'\x20st'+_0x26cc95(0x198)+_0x547b03(0x27e)+_0x26cc95(0x330)+_0x547b03(0x316)+_0x547b03(0x272)+'px;'+'\x22>')+(_0x26cc95(0x306)+_0x547b03(0x487)+'>');let delay_div=document[_0x26cc95(0x409)+_0x547b03(0x276)+_0x26cc95(0x205)+'men'+'t']('div');delay_div[_0x26cc95(0x3a1)+'Att'+_0x547b03(0x25a)+_0x26cc95(0x1a0)]('id',_0x26cc95(0x4c8)+_0x547b03(0x348)+_0x26cc95(0x346)),date_div[_0x26cc95(0x171)+_0x26cc95(0x213)+_0x547b03(0x241)+'e'][_0x26cc95(0x382)+_0x547b03(0x240)+_0x547b03(0x2ec)+_0x26cc95(0x3f9)](delay_div,repeats_div[_0x26cc95(0x37a)+_0x26cc95(0x182)+_0x547b03(0x3f2)+'ng']),delay_div[_0x26cc95(0x2d2)+_0x547b03(0x16e)+'TML']=_0x26cc95(0x323)+_0x547b03(0x39c)+(_0x547b03(0x485)+'put'+_0x547b03(0x2b4)+'pe='+_0x26cc95(0x4cf)+_0x547b03(0x279)+_0x547b03(0x412)+'id='+_0x547b03(0x314)+_0x26cc95(0x4d5)+'_in'+_0x547b03(0x33e)+_0x547b03(0x45e)+_0x26cc95(0x3e1)+_0x26cc95(0x33d)+_0x26cc95(0x322)+_0x26cc95(0x1b4)+_0x26cc95(0x4e3)+_0x547b03(0x24a)+'pla'+_0x547b03(0x1d5)+_0x26cc95(0x1c4)+_0x26cc95(0x340)+_0x547b03(0x351)+_0x547b03(0x1af)+'\x20be'+_0x547b03(0x1ba)+'en\x20'+_0x26cc95(0x30f)+'ack'+_0x547b03(0x2bf)+_0x547b03(0x1d3)+_0x26cc95(0x48e)+_0x547b03(0x1f0)+_0x26cc95(0x439)+_0x547b03(0x197)+'=0\x22'+_0x26cc95(0x4c1)+_0x26cc95(0x20c)+_0x26cc95(0x4da)+'yle'+_0x547b03(0x27e)+_0x547b03(0x18e)+_0x26cc95(0x4b8)+_0x26cc95(0x475)+'px;'+'\x22>')+(_0x547b03(0x3ae)+_0x26cc95(0x1f1)+'>');let description_div=document[_0x547b03(0x498)+'ate'+_0x26cc95(0x205)+'men'+'t'](_0x26cc95(0x346));description_div[_0x26cc95(0x3a1)+_0x547b03(0x2c3)+'rib'+_0x26cc95(0x1a0)]('id',_0x547b03(0x43a)+_0x547b03(0x28f)+'pti'+'on_'+_0x26cc95(0x346)),delay_div[_0x547b03(0x33f)+_0x26cc95(0x213)+_0x26cc95(0x477)+'e'][_0x26cc95(0x382)+_0x26cc95(0x413)+_0x547b03(0x2ec)+_0x26cc95(0x3f9)](description_div,delay_div['nex'+'tSi'+_0x26cc95(0x2c9)+'ng']),description_div[_0x26cc95(0x2d2)+_0x26cc95(0x46d)+_0x547b03(0x47c)]=_0x26cc95(0x323)+_0x547b03(0x39c)+(_0x26cc95(0x434)+_0x26cc95(0x4e2)+_0x26cc95(0x46a)+_0x547b03(0x3bb)+'\x22te'+'xt\x22'+_0x26cc95(0x25e)+'=\x22d'+_0x547b03(0x2f1)+_0x26cc95(0x222)+_0x547b03(0x193)+_0x26cc95(0x2bc)+_0x547b03(0x17b)+'t\x22\x20'+_0x547b03(0x25b)+'e=\x22'+_0x547b03(0x43a)+'cri'+_0x547b03(0x28a)+_0x26cc95(0x490)+'inp'+_0x26cc95(0x403)+_0x547b03(0x274)+_0x26cc95(0x252)+_0x547b03(0x327)+'der'+_0x547b03(0x3da)+_0x26cc95(0x361)+_0x26cc95(0x1cc)+_0x26cc95(0x4a7)+_0x26cc95(0x19f)+'pti'+_0x547b03(0x2e6)+_0x547b03(0x4d7)+_0x547b03(0x193)+_0x26cc95(0x4e0)+_0x26cc95(0x416)+_0x26cc95(0x3a9)+_0x26cc95(0x331)+_0x26cc95(0x49c)+_0x26cc95(0x1eb)+_0x26cc95(0x3d4)+_0x547b03(0x2b0)+_0x547b03(0x488)+'>')+(_0x26cc95(0x20e)+_0x26cc95(0x30b)+_0x547b03(0x3a8)+'arn'+_0x547b03(0x3af)+'_di'+_0x26cc95(0x3d2)+_0x547b03(0x1c0)+_0x26cc95(0x3b5)+'r>')+(_0x547b03(0x3ae)+_0x26cc95(0x1f1)+'>');let link=document[_0x26cc95(0x409)+'ate'+'Ele'+'men'+'t']('a');link[_0x26cc95(0x2d2)+_0x26cc95(0x46d)+_0x547b03(0x47c)]=_0x547b03(0x209)+'\x20Go'+_0x26cc95(0x2bb)+'\x20At'+_0x26cc95(0x2db)+_0x547b03(0x2c1)+_0x547b03(0x1f5)+_0x26cc95(0x3c4)+'\x20pa'+'ge';let villageId=myLoc[_0x26cc95(0x23b)+'it'](_0x26cc95(0x216)+'lag'+'e=')[0x1][_0x26cc95(0x23b)+'it']('&')[0x0],accManagementId='';if(myLoc[_0x547b03(0x271)+'it'](_0x26cc95(0x365))[_0x26cc95(0x1c8)+_0x26cc95(0x227)]!=0x1)accManagementId=_0x26cc95(0x38f)+'='+myLoc[_0x547b03(0x271)+'it']('av=')[0x1][_0x547b03(0x271)+'it']('&')[0x0];link[_0x547b03(0x4b2)+_0x26cc95(0x4a8)+_0x26cc95(0x469)+_0x26cc95(0x1a0)](_0x26cc95(0x174)+'f',_0x547b03(0x1ea)+'e.p'+'hp?'+_0x547b03(0x4dc)+_0x26cc95(0x476)+'e='+villageId+accManagementId+(_0x26cc95(0x1e6)+_0x26cc95(0x35d)+_0x26cc95(0x280)+'m=V'+'enk'+_0x547b03(0x393)+'Att'+'ack'+_0x547b03(0x27c)+'nag'+'er')),document[_0x26cc95(0x427)+_0x547b03(0x397)+'ele'+_0x26cc95(0x1fa)+'r']('#at'+'tac'+_0x547b03(0x3c8)+_0x547b03(0x26a)+_0x547b03(0x4ce))[_0x26cc95(0x171)+_0x547b03(0x3d9)+_0x547b03(0x241)+'e']['ins'+'ert'+_0x547b03(0x2ec)+_0x26cc95(0x3f9)](link,document[_0x26cc95(0x427)+_0x26cc95(0x368)+_0x547b03(0x29d)+_0x26cc95(0x1fa)+'r'](_0x547b03(0x420)+_0x26cc95(0x2db)+_0x26cc95(0x232)+_0x26cc95(0x4b0)+_0x26cc95(0x443))[_0x26cc95(0x37a)+_0x547b03(0x36e)+'bli'+'ng']),document[_0x547b03(0x3a7)+'ryS'+_0x26cc95(0x364)+'cto'+'r'](_0x26cc95(0x326)+_0x26cc95(0x2db)+_0x26cc95(0x232)+_0x547b03(0x26a)+_0x547b03(0x4ce))[_0x547b03(0x4b2)+_0x547b03(0x2c3)+_0x26cc95(0x469)+_0x26cc95(0x1a0)](_0x26cc95(0x3f0)+'ue',_0x26cc95(0x266)+_0x547b03(0x29b)+'igh'+_0x26cc95(0x44f)+'ow');}else{if(toolsPage){let newCell=document['que'+_0x547b03(0x397)+'ele'+_0x547b03(0x3ad)+'r'](_0x26cc95(0x37c)+_0x547b03(0x307)+_0x26cc95(0x1c2)+_0x26cc95(0x3be)+_0x547b03(0x255)+_0x26cc95(0x286)+_0x547b03(0x455)+_0x26cc95(0x2a8)+'tr:'+_0x26cc95(0x28c)+_0x26cc95(0x42e)+_0x547b03(0x491)+_0x547b03(0x429)+_0x547b03(0x3fe)+_0x547b03(0x2c5)+_0x547b03(0x4d2)+_0x547b03(0x233)+_0x26cc95(0x28c)+_0x26cc95(0x42e)+_0x547b03(0x491)+'(8)'+_0x547b03(0x3fe)+_0x26cc95(0x346)+'\x20>\x20'+_0x547b03(0x1c0)+'\x20>\x20'+_0x26cc95(0x2e7)+_0x26cc95(0x401)+_0x26cc95(0x419)+_0x547b03(0x435)+_0x26cc95(0x41e)+'\x20tr')[_0x547b03(0x196)+_0x547b03(0x240)+_0x26cc95(0x1b5)+'l'](-0x1);newCell[_0x547b03(0x269)+'erH'+_0x547b03(0x47c)]=_0x26cc95(0x4e4)+_0x547b03(0x28d)+'mg\x20'+_0x26cc95(0x343)+'=\x22/'+_0x547b03(0x207)+_0x547b03(0x3c5)+_0x26cc95(0x4c7)+_0x26cc95(0x302)+_0x26cc95(0x418)+_0x547b03(0x1cd)+_0x26cc95(0x3e1)+'for'+'ge.'+'com'+_0x26cc95(0x3f7)+'g/t'+'abs'+_0x547b03(0x470)+_0x26cc95(0x3d0)+'_n_'+_0x547b03(0x192)+'t.p'+'ng\x22'+_0x26cc95(0x1c7)+_0x547b03(0x19d),newCell=document['que'+_0x547b03(0x397)+_0x26cc95(0x364)+_0x26cc95(0x1fa)+'r'](_0x547b03(0x19c)+_0x547b03(0x307)+_0x26cc95(0x1c2)+_0x26cc95(0x3be)+_0x547b03(0x255)+_0x26cc95(0x286)+'ody'+_0x547b03(0x3fe)+'tr:'+_0x547b03(0x297)+'-ch'+_0x26cc95(0x4be)+'(2)'+_0x547b03(0x3fe)+_0x26cc95(0x310)+_0x547b03(0x4d2)+'iv:'+_0x547b03(0x297)+_0x26cc95(0x42e)+'ild'+_0x547b03(0x447)+_0x547b03(0x3fe)+_0x547b03(0x1c0)+_0x26cc95(0x2a8)+_0x26cc95(0x346)+_0x26cc95(0x2a8)+_0x547b03(0x4d1)+'le\x20'+_0x547b03(0x1b6)+_0x547b03(0x435)+_0x26cc95(0x41e)+_0x547b03(0x220))['ins'+'ert'+_0x547b03(0x402)+'l'](-0x1);let villageId=myLoc[_0x26cc95(0x23b)+'it'](_0x547b03(0x4dc)+'lag'+'e=')[0x1][_0x547b03(0x271)+'it']('&')[0x0],accManagementId='';if(myLoc[_0x547b03(0x271)+'it'](_0x547b03(0x385))[_0x26cc95(0x1c8)+_0x26cc95(0x227)]!=0x1)accManagementId='&av'+'='+myLoc['spl'+'it'](_0x547b03(0x385))[0x1][_0x547b03(0x271)+'it']('&')[0x0];newCell['inn'+_0x547b03(0x16e)+'TML']=''+_0x26cc95(0x3ee)+_0x547b03(0x466)+_0x547b03(0x3ab)+'gam'+_0x26cc95(0x175)+_0x26cc95(0x17d)+_0x547b03(0x4dc)+'lag'+'e='+villageId+accManagementId+(_0x26cc95(0x38e)+_0x26cc95(0x260)+_0x547b03(0x218)+_0x26cc95(0x4c9)+_0x547b03(0x389)+_0x26cc95(0x37f)+_0x547b03(0x425)+_0x26cc95(0x2be)+'s_A'+_0x26cc95(0x2a4)+_0x26cc95(0x317)+_0x26cc95(0x445)+_0x547b03(0x486)+'r\x22>'+'Ven'+_0x26cc95(0x1f4)+_0x26cc95(0x259)+_0x26cc95(0x2a4)+_0x547b03(0x3c6)+_0x547b03(0x214)+_0x547b03(0x486)+_0x547b03(0x3a2)+'a><'+_0x547b03(0x31e)+'>'),newCell['set'+_0x26cc95(0x4a8)+_0x547b03(0x25a)+_0x26cc95(0x1a0)](_0x547b03(0x24d)+_0x26cc95(0x1a5)+_0x26cc95(0x16c)+'d',_0x547b03(0x1e2)+'30-'+_0x26cc95(0x308)+_0x547b03(0x3d8)+_0x547b03(0x4ae)+_0x26cc95(0x1ac)+_0x26cc95(0x4de)+_0x547b03(0x329)+_0x547b03(0x4b6)+_0x26cc95(0x287)+'m/i'+_0x26cc95(0x499)+_0x26cc95(0x2e7)+_0x26cc95(0x30a)+'enu'+_0x26cc95(0x4ab)+_0x26cc95(0x335)+_0x26cc95(0x321)+_0x547b03(0x215)),newCell=document['que'+_0x26cc95(0x368)+_0x26cc95(0x364)+'cto'+'r'](_0x547b03(0x19c)+'in_'+_0x547b03(0x3fc)+'ten'+_0x26cc95(0x2e5)+'\x20tb'+_0x547b03(0x455)+_0x547b03(0x3fe)+_0x547b03(0x254)+_0x26cc95(0x28c)+_0x26cc95(0x42e)+_0x547b03(0x491)+_0x26cc95(0x461)+_0x26cc95(0x2a8)+'td\x20'+_0x547b03(0x4d2)+_0x547b03(0x233)+_0x547b03(0x297)+'-ch'+_0x26cc95(0x4be)+'(8)'+_0x547b03(0x3fe)+_0x547b03(0x1c0)+_0x26cc95(0x2a8)+_0x547b03(0x1c0)+_0x547b03(0x3fe)+'tab'+_0x26cc95(0x401)+_0x26cc95(0x419)+'bod'+_0x547b03(0x3aa)+_0x547b03(0x220))[_0x547b03(0x196)+'ert'+'Cel'+'l'](-0x1),newCell['inn'+_0x26cc95(0x46d)+'TML']=_0x26cc95(0x4e4)+'><'+'/td'+'>';if(calculatorSummaryPage){let place=document[_0x547b03(0x3a7)+_0x547b03(0x397)+_0x547b03(0x29d)+_0x547b03(0x3ad)+'r']('#ma'+_0x547b03(0x307)+_0x26cc95(0x1c2)+_0x26cc95(0x3be)+_0x26cc95(0x2e5)+_0x547b03(0x42f)+_0x26cc95(0x237)+_0x26cc95(0x2a8)+_0x547b03(0x254)+_0x26cc95(0x28c)+_0x26cc95(0x42e)+'ild'+_0x547b03(0x429)+_0x547b03(0x3fe)+_0x26cc95(0x310)+'>\x20d'+_0x547b03(0x233)+_0x26cc95(0x28c)+_0x547b03(0x392)+_0x547b03(0x491)+_0x26cc95(0x288)+_0x26cc95(0x2a8)+_0x547b03(0x1c0)+_0x26cc95(0x2a8)+'a'),div=document[_0x26cc95(0x409)+_0x547b03(0x276)+'Ele'+_0x547b03(0x372)+'t'](_0x547b03(0x1c0));div[_0x26cc95(0x3a1)+_0x26cc95(0x4a8)+_0x26cc95(0x469)+'ute']('id',_0x547b03(0x2ac)+_0x26cc95(0x24b)+'_li'+'st'),place[_0x26cc95(0x47b)+_0x547b03(0x40d)+'eWi'+'th'](div),place=document[_0x26cc95(0x427)+_0x26cc95(0x368)+_0x26cc95(0x364)+_0x547b03(0x3ad)+'r'](_0x26cc95(0x326)+_0x26cc95(0x2db)+'k_l'+_0x547b03(0x454)),addAttackManagerTable(place);let plannedAttacks=GM_listValues(),attacksDetails=[];for(let i=0x0;i_0x59ff60[0x0]-_0x59ff60[0x2]?0x1:-0x1;});if(attacksDetails['len'+_0x547b03(0x4a6)]==0x0)place[_0x547b03(0x269)+_0x26cc95(0x46d)+_0x547b03(0x47c)]=_0x547b03(0x4c3)+'No\x20'+_0x26cc95(0x30f)+'ack'+_0x547b03(0x34e)+_0x547b03(0x40c)+_0x26cc95(0x339)+_0x26cc95(0x319)+_0x547b03(0x1a3)+'\x20pl'+'ann'+_0x547b03(0x309)+_0x547b03(0x3b9)+'>';else{let [desiredTime,description,travelTime,formAction,formData,villageSource,villageTarget,repeatsCount,delayLength,attackKey,playerName]='';for(let i=0x0;i'+parseArrivalTime[0x1]+('.')+arrivalTime[_0x26cc95(0x380)+_0x547b03(0x2ad)+_0x26cc95(0x2d5)+_0x26cc95(0x26c)+_0x26cc95(0x492)]()['toS'+_0x547b03(0x2e9)+'ng']()[_0x547b03(0x37e)+_0x26cc95(0x235)+'rt'](0x3,'0')+'\x20'+parseArrivalTime[0x0]+(_0x26cc95(0x2d7)+_0x26cc95(0x311)+_0x26cc95(0x40b)+_0x547b03(0x31e)+'>'),attackDiv[_0x26cc95(0x2d2)+'erH'+_0x547b03(0x47c)]+=_0x547b03(0x2da)+'>'+villageSource+(''),attackDiv[_0x547b03(0x269)+'erH'+_0x547b03(0x47c)]+=_0x26cc95(0x4e4)+'>'+villageTarget+(''),attackDiv[_0x547b03(0x269)+'erH'+_0x26cc95(0x2f9)]+=''+repeatsCount+_0x547b03(0x190)+delayLength+('ms<'+_0x26cc95(0x20a)+'>'),attackDiv[_0x547b03(0x269)+'erH'+_0x547b03(0x47c)]+=''+description+(_0x26cc95(0x48a)+'d>'),attackDiv[_0x26cc95(0x2d2)+'erH'+_0x26cc95(0x2f9)]+=_0x26cc95(0x4e4)+_0x26cc95(0x25e)+_0x547b03(0x1e7)+_0x26cc95(0x173)+_0x547b03(0x4a0)+_0x26cc95(0x295)+_0x26cc95(0x24f)+'\x20na'+_0x547b03(0x1d8)+attackKey+'>'+new Date(timeleft)[_0x547b03(0x1b0)+_0x26cc95(0x18f)+'tri'+'ng']()['sub'+_0x26cc95(0x448)](0xb,0x8)+(_0x26cc95(0x48a)+'d>'),attackDiv['inn'+'erH'+_0x26cc95(0x2f9)]+='0x1d4c0)setTimeout(function(){const _0x21087e=_0x26cc95;location[_0x21087e(0x2a6)+_0x21087e(0x40f)]();},0xea60);else i>0x0&&timeleft_list[i-0x1]+0x1d4c0'+(_0x26cc95(0x229)+'bel'+_0x547b03(0x243)+_0x547b03(0x1f9)+_0x547b03(0x28e)+'tBy'+'_se'+_0x26cc95(0x23f)+'t\x22>'+_0x26cc95(0x245)+'t\x20t'+_0x547b03(0x431)+_0x547b03(0x299)+_0x26cc95(0x1e1)+_0x547b03(0x363)+'abe'+'l>')+(_0x26cc95(0x423)+_0x547b03(0x36f)+_0x26cc95(0x44f)+_0x26cc95(0x3e1)+_0x26cc95(0x17e)+'ort'+_0x547b03(0x3b4)+'sel'+'ect'+_0x26cc95(0x318)+'d=\x22'+_0x26cc95(0x39b)+_0x26cc95(0x35a)+_0x26cc95(0x3bc)+_0x547b03(0x36f)+'t\x22\x22'+'>')+(_0x547b03(0x4bb)+_0x26cc95(0x2e2)+_0x26cc95(0x3d3)+_0x26cc95(0x450)+_0x26cc95(0x2ca)+_0x547b03(0x3eb)+'iva'+'lTi'+_0x26cc95(0x2c0)+_0x547b03(0x39d)+_0x547b03(0x39f)+'al\x20'+_0x547b03(0x342)+'e')+(_0x26cc95(0x1ec)+_0x547b03(0x193)+_0x26cc95(0x3d3)+_0x26cc95(0x450)+_0x26cc95(0x2ca)+'cou'+_0x26cc95(0x295)+_0x26cc95(0x24f)+_0x547b03(0x40a)+'oun'+_0x547b03(0x264)+_0x26cc95(0x29a)+'/op'+_0x26cc95(0x2e2)+'n>')+(_0x26cc95(0x2d7)+_0x547b03(0x29d)+_0x26cc95(0x258)+_0x26cc95(0x377)+_0x547b03(0x282)+'r>')+(_0x26cc95(0x347)+_0x547b03(0x457)+'n\x20i'+_0x547b03(0x4b3)+'sav'+_0x547b03(0x428)+_0x26cc95(0x1d4)+_0x547b03(0x3af)+_0x26cc95(0x4ba)+'Sav'+'e\x20s'+_0x547b03(0x291)+_0x547b03(0x3af)+_0x547b03(0x48c)+_0x26cc95(0x328)+'ton'+'>'),document[_0x26cc95(0x380)+_0x26cc95(0x205)+_0x26cc95(0x212)+'tBy'+'Id']('sor'+_0x547b03(0x2d0)+_0x26cc95(0x3bc)+_0x26cc95(0x23f)+'t')['val'+'ue']=settings['sor'+_0x26cc95(0x35a)];let save_button=document[_0x26cc95(0x380)+_0x547b03(0x1b8)+_0x26cc95(0x212)+_0x26cc95(0x35a)+'Id'](_0x26cc95(0x472)+_0x26cc95(0x33a)+_0x547b03(0x291)+'ing'+'s');save_button['add'+_0x26cc95(0x2e8)+'ntL'+_0x26cc95(0x1b1)+_0x26cc95(0x2b7)+'r'](_0x26cc95(0x3a4)+'ck',function(){const _0x5e82a1=_0x547b03;setOptions(),location['rel'+_0x5e82a1(0x396)]();}),setOptions();}}}}}}