1 Star 0 Fork 0

Enzo/jd_Scripts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jd_clothing_draw.js 41.75 KB
一键复制 编辑 原始数据 按行查看 历史
2024 提交于 2024-04-26 12:31 . 1
/*
服装抽奖
cron "1 1 1 1 *" script-path=jd_clothing_draw.js, tag=服装抽奖
*/
const $ = new Env('服装抽奖')
var iil='jsjiami.com.v7';function Iii11l(){const ililI1=(function(){return[...[iil,'VKjFNsJjeRRiLMEafnmTnirlh.ncKoDmt.Wvq7ED==','W5FdHW7dI8ogpmkfW7/cT8ky','WOJdR8oEW6ZdLcHhW4zUAmo4WPS','iCo8WOO','W4ldHXxdVmoqeG','W5HiW79rWQRcIwb7oINcICo5','jxqjDCkJ','gmkxDIer','nXag','W6rRb8oLuG','W4hcPMBdL8kC','W4RMNPBLIzlNIklMGk7LVlVLUjtVV6pORRBMOzdMN5hNV57NU7hMMzRLK7RMRQZLUQxdJG','zUAiTowMI+IpV+w/It7cUSoK','FUIVQoAXMUwNU+I1UGFIN6JdOq','W7iLlmoz','u8kRWRFcJvhcNCkD','vSk/W5hcUNxdVW','6lAS5y2D5PwQ5PsK','WQKnb1/cNWSPFuG','BSktuIxdUCkIW4G','dsGO','W6fwBSkWz37dLSoItCktW5yMWPC','C8oXpHO/W4K1W4tcRG','44cf5OYc56Ad44cy6k6P5yAm6i645yYmxa7cVxTotW','oaGBW4fw','nsNcNhP0i1hdGCoDseH5WQ5ZtSo2WP/cSb8','6l2I5ywD6As96Agf5AEO6lEhaa','iSo9WOCmpW','B1ODDa','5AYx5OMv5lQ15yMg5AsM6lAfvG','W4xcH1rorCoUW75Nxq8','5y+R5ycDxG','W4fDWPKIWPlcI8k9WOTRdHtcOW','5P6n6k6w5lMx5yQ15Ast6lAUWO0','etVcV3ju','W7NcGupdH8kCW6q','cCoOW6K','iSkIWR3dIsGFbCoMW6v/WR9rW4FcOsPGW4qZ','W7JdH8oSd1a','jSocW4C','cSorW4n1dG','W43cN0NdGmk8W7hcNNa','W4xdUSk0duy','FvKry8km','bZuPW5xcRq','W6jgWPObWP9OmfCDvG','WPRdVCoGW7RdLG','5PYL6k255lIi5yI15AsE6lsCaa','lciYW4G','W4lcL2ryqa','W4JdQ8oZd04','WQ0ekmkEtgtdPSofEG','W6VdMSo6aeKfW5NdGhDZW73cVG4TAIlcLCoRpmo0mYNcGSkIW6qmWPHoW4jiqcW4','W44ramoWd8oMsmoJWPO','mSkntIaC','5AYK5OIS5lQZ5yI1nUAkT+wLLoAULUAuO++8Gq','WRJcJhtdISkDW5isW6OmFrpdRG7cTW','W4pdVb3dQ8o0','W63dNmkZWQ7cRr06WQ/dS0i','bCoNWRKTjG','W6jwDmkV','qSkBW7eYWOu','zmkMW60BWRum','W7zyECk+','oZmyW7pcHG','ffvd','bsy7W6e','mtCQW7hcRYhdShFcIMG','lmkymCowCa','oSoyW5mD','ASkEvZxdKq','5lU15yUF5AEs6lsR77Yl5Rkd5P2i6i+O5y6c5yU35lQJ5yMxW67cLq','k8kmimoTC8ojvfJdSCkr','W55DW598WRJcLKLHprZcKmoTiCo7W7LUW6/dRSkm','ha/cSgnN','pW8HAmoSymorn8o4rtid','cIxcG3X3','WQyCgx4','iXCAW5hcUG','W4hcJKhdNSkv','W5KimSkZgSklfSky','4PY0gUACJUIbNEAUJoEIREwKNUEsS8oG','W6BdLZFcImolWPrzW4ugrrBdGaK','omkjgSojBSog','ECkdW4S/WQu','WQZdTmkuW5fDsW','EtVcRMj3','W6vwB8k6wwldP8oXwSkx','W59orSkJW5O','mwCuBG','W6pMNPlLIkVNIlVMGQBMRkdLUlVVVQ/MTkhLIQhOJkBLJkhMIQlLI7m','WPVcUZG','lM1XWRa6','5A+E5OUA5lQa5yUt5AA+6lAvqG','pwmbA8kJnf0','W6dcIwNdN8kf','W7nxWPGfWPX/n1Khq8kvW5NdLW','WP7cUZ/dKCkqWPbLW5tcR3zlWOLIhYXvW5uw','p8kHWOJcI3q','5P2P6k2o5lIC5yMU5AEV6lwtwG','W7pcQmoaWQqDdwFcGcddGxVdIa','oSkSWRRdLGqdd8ooW7zO','W48kn8kBaa','W5Wxdmk1uW','iduxW6RcUq','W5miiSkLuW','W73cNL7dV8kbW7C','dmkUCI8YW4unW6q','W51xW4vv','WOFORylMSkxLKBZLUlDv','amkCWRhcQve','fqJcPSodW54','gmkpWQhdJqq','W4mSjCkTDq','W7dcGebLwW','WQxcO2BdUmo1W64qFu9KWQpcRa','WQRdSmoKW7NdGI13WO5oCmoHWPi','5PIZ5P6B6i275y6o5OIs5yUh','WOtORklMSkBLKBJLUQ7cTW','WRpdVSkhW5DavKFcHIq','ymkKW6WsWQK/WOJcSCkb','ctm7W7dcVx/dHI8gjGtcGuJcKhJcMbOFW4TLjZVdISodfCoAWRRdTCk7D8kWaCkUW7zuW44AW7hcSSkQiCkWvsBdIGr9BmkkeqRcRSoSFSoMyaTJp8k0j3RdLxuilSoRz8k9W5DLWRfzW4VdKq','W5GGWR8dBcq','W4LnW5Hy','WRddQCkAW65kFuNcNci','W7Siiq','WPZcVsJdJSk7WOnXW7W','etu/W7RcHa','iYiIW5Ldhcq2DLHhW5pdV8oVWO3dLSkRxq','4P+KhoADOUEDSEIVREAXIci','ktyDA8o5','o8oLWQOGhW','WOtdUmkKW5zH','kspcVCoIW7e','W41QiSoIFW','ECkxW6tcK14','lSkUCHC4W5aDW4NcJNPek8oJW5m','WQqygNZcHdC','nWRcS8o1','W7RdI8o4du0vW7ZdLwP9','matcO8oX','BCk7W6SIWQmzWPdcGCkcW5Oux2xcIW'],...(function(){return[...['W57MN67LIQhNIiJMG7NLVQlLUzpVVQxORPpMO5ZMNPJNV5ZNURFMM6VLKz/MRiZLUkNdJa','WQZdLrNcGmofW5hcPwDlyH4','hLhcQCkL','W47dKr3dNmoL','W5ZcKKncyCo5','pxiuF8k1Faf8W7uMumoXWQpcVb90pmklW6VcKSkGDmoWW4q','W6mgnCkum8kfeCkFW6tcNmo4WQC','BCk7W7G','W4pcTCkGWQFcJwKj','mmklWPZcTvFcLCkBrW','W6zgWPSlWRT1b1mBqW','cmocW6fekG','bbVdIW','WQJcVfu','lfxcOmk5WRK','W7NcGvn2FW','h19qW6JdMSkWBG','b8kGWQxdKa8','n8kVDqyPW6elW6xcJxjp','W48ZWQmQCc4','Amk7W6W','cYiMW4Xp','W4BdHmk2oMS','ECk9W54','W6qsjCkCemkFda','r8kSW5dcNe/dRfRcTMVcIH8m','nJqTW7NcLW','dmkwWP3cOMe','W5XDo8o/tNnYW5i','cXxdMhDk','WRldVSkEW7vgv3JcHIZdTuC','W5eTimoima','W55Esmk+W68KCSklzt7dQX5jW6hdSJ53pXP5W5dcUXhdTq','WQxcPb/dQ8k+','u8kIW5XSlG','hCoIW5BcG2/dTeZdThxcHG4DF8kUW45Nm2/cQfjwiSoQ','oWddG2r9W4FdJSkNwSk8CCk6','WP7dVSoJW7K','mmkotrex','A17dSSkSWP3cN0ZcIxtdMsrq','ohuh','kCkOWR3dScGEd8okW6n5','W5a3WR49FItdKa','nrS5o8kvbCodWQm','5P+R6k6C5lIy5yQV5As26lshBq','W4hdG8kLiMC','WQ3cN03cM8kjx8oB5B6A5Asr44o75lUG5lIS6lsb5yYM','mZZcVfDMphddL8oDAffL','pIpcJW','imoMW5XTAq','s1Khemkv','WRFcS1RdMmkR','WPPnuG','W7aodCkRja','W483WRW7EJddGq','W7JdJCkuWQtcMHKIWQ/dRvmF','deFcUCksWOm','W5XsWO4SWQW','W5RcK1jPrmo8W50','jW0iW4BcVW','W5lcG1jSr8oYW5fVtdGCW748WQ0','WRdcIfNdN8kl','W4BdHrFdNCokfSkqW67cS8keiH9nWQldKmoImmoToGiRWQL6W7pcVmkTgmkPW6H0WPKHW7O','W67dRSohgfm','C1CRbmksgG','qSk7W7eIWQmfWP3dR8k+W4ikwq','W7dcTX3dUMK','dfDqWQWj','jmkDgCoP','sCkoW40EWP8','W44MWQW6AJa','pSkLha','WQdcGNpdLCkXW44yW4WwAa','f1CIxCkN','lhz3W5dcJG','5AY55OIS5lIr5yUOW7JMIz/LPOxMR4pMLAJVVBW','W4xcPtddLeNdVeNdUmkLW7/cSSoZ','WQJcTLZdVSoYW60','WOWkWPOjW67cJ35XpINcHq','xhGdy8kK','zCkDW6umWPe','WQpdTmkxW7e','hCkbWP3cK1C','oSkDbSoTBCorxfddTSke','WOtdUSo5W77dHIrM','W5ddGCkyoxeZhhldHYFdQwO','WOZdP8oJW7K','WQzSC8kDeaBcLWP+qG','W7zgWPWb','W5mEeCovdW','W7WmcSoDlW','6l2d5yAj6AA66Aoh5AEd6lA1W58','hCoIW5BcG2/dTeZdThxcHG4DF8kUW45f','pSk/WQddHYG5bCoBW6e','lhPPWR86vaa','4P6mWRVOH6NMNRJOV7/OOBxPGAVLI5/KU4FPLONOR5VcHq','W7LyEG','p2Kjyq','WPdcIvRdT8kl','EH/cKgvtsZuZmq','aCoSWQ47p2pdVW','5P2V6k2i5lMX5yUn5Asr6lwdWPq','dfTxW4VcVmkRDCocWPtcMSkoWRbz','W6FdI8o6','WRhcPYRdHmk4','aSoUW4vBcq','W6xdP8oYd2q','W7/dOCk4mLa','jmkYfGBdMG','E8kprqldLG','W546mCo4ca','odmkW6ddPMxcK33cLNG6qCktuCk8WO55ch/dPbNcGmkhWOCZW5JdRfmMhLTPWO9iF8onpSoBp8k8t8kSW5zu','jSkRcbNdM8ojhSoF','iSkZnt/dUa','WQCiaf3cNd4V','W7S4k8okncC','pSk4WRRdLq','W5FdMmkImxeWfNldLIi','C8k7W4e','eeTJW4NcVW','r2aGdmk0','WOxcTsldKq','yUAlIEwNUUIoO+w+TCkXWOhcIa','A8krtr/dUq','W7ntAmk9Fq','gmoOWQ4JdwVdR8onW6pdJCkTde4','5lMn5yQl5Asn6lER776q5Rk/5P2u6iYt5y+s5yM+5lM55yQrBCkl','6lYT5ywh6AAJ6Aoa5Awg6lA2iq','W5jlsmkV','W7eciCkXdq','nZ7cMNTMma','B8kzrG','W5PxW49v','cXVcHfL+','4P+zf+ACT+IaPUATL+EHV+wMP+EsLG4','WR3cRNFdNmk8','mmkfarVdPq','W6jLE8k4qa','hvFcVCk/','W7RdMmoJfKuOW5NdMxS','WQtcLWBdNmkX','W5tcLNjow8o2W75Jxq8uW74','5y+X5ykMva'],...(function(){return['WOXJW7P7khxcJciYW7GbW71S','vItcTMPO','DfqaDmkkW4xcUSoIe8kRW5f0W6q8','j0JcJCk2WRS','D0aXa8kF','adRcOgf+','fmokW6nygW','WQFcS2tdV8kE','kSkSWR3dNa','dH3dGNvoW6FdMa','bZqPW5pcVq','W7nBCSk0rG','W4TtlmoX','W7tcG0S','Aue7hSkH','WQtdUSkhW7u','W7roWOquWPDP','eCoMW71KdbfFW5yO','W6m1dSobfq','yCkZW4PIcSkTE8k2EG','WOxcImo5AJuzdMxdGXxdHa','ySkgDtFdQ8kUW6emWQRcSW','c8oSWQKep3ddV8omW7tdQCkidNqrWRxdL8kUW7VdUW','W6BdHCoT','kN5RWQemsahcS0SEc8kPza','jGVcR2nX','W73dI8oJga','W6JdHCoLaeuhW5y','qSk9W4RcMMS','WQqseW','ncykW7e','mSkZBXK4','W6ZcJv/dMCk0W7NcNxXiwt8B','WPpcPLq','dsG7W7tcQZFcKemEnqxcHKJcLq','W6RcHrddN2G','kmkfWP3dRdG','k8kYWP/cN14','huHwW63cNmkK','cCo7WQ8flwm','W6dcLJddJxu','W5/dKmkHpq','iNhcNq','W7XzECk+ta','arRdJ3HxW6/dHmkG','kCkBWRZdUaS','kSkaCtyU','W7NdUSoUluy','WPpcPb/dHmkgWOLyW7ZcUNrkWOW','idyKW5NcSG','oN/cICkAWQu7hapdIGFcQXK','pSomW5mEW4nxWQaK','nrOmEG','l8kxWRRcJua','W5hcH1jo','WOxdSmo+W7NdGJf6W657ASo5WP7dNaNcVuxcNNO','W4LkW4jkWRZcQ1H3jc4','FuKgtCkCW5a','WP7cUYW','5OQO5AAe5AAi6lsSCG','W4dcTbddLa','W7/cIvJdVSkDW7FcMNTOrtSlkbu','WRtcN3RdMSoh','W77cJrtdLhy','W59ncSoJCG','W6ZcVsJdGLe','5lU65yM15AAU6lwZ77+k5Rok5P+G6i215yY85yQl5lQb5yQDsCk8','jSkteW','W4voWOmZWRhcQ8kNWOD1fq','W6dcLunDzSo8W5DJ','ba7cGezC','WOddQ8oVW6ddRIC','W6DwC8k/w3W','BW7cT290sq02j8kZ','WPZdOfhcJqpcOxtdMSk3W5VcUCo2','lG0CC8o6qSoHn8oHvW','W5ZdUmkdWQhcQG','W75fovtcNI4LFa','W4xcLe9vtq','C8k6ArxdMq','c8oMW6nQ','yLmhmmkuimopWQlcTa','W7xdOaBcOCkYW6Cbs0PGWRS','W5beWPKMWQC','pZ8/W5Dd','W7qYiCoi','cCk4WP/dIsm','W7JdJCkuWQtcLXGfWQpdSKi','WRGAh3dcIG','z8ksW5uvWPq','WPhcUY/dGa','WOZdVCoAW6xdVq','W5XqACkoFa','W4hcRrFdMKK','nZCrW71s','yhmUeSkO','cLTkW4tcGmkU','j3dcMCkDWPKRhb0','8kY5PSoP','W7yTeCommYtcVXv9txX/','F8kWW7zJba','uSk9W5dcS2NdJf7cQeW','eIG6Emox','W4Lmo8oqDv5JW4q4','yCkzzspdQa','W49guSkUFG','y3rnWQddRN7dT3hcMe0qka','kqtdGKjU','ltZdRunq','WPn9WQCQxcZdMJ0xW7O','hSoRWPaeeq','WReVigZcLW','WPpcM1q','fwzlWQWf','bmkiWQ3cPMRcN8k6sZz1o8ox','y3ZdKe93pgxdVmoH','hmo7WRqYoW','j8kiWPpdTGK','DCk1W6W9WPueWPZcSmkjW54VtMW','W4KZWR4LwYZdOt8tW7O4','WPVcVd3dHSk8','amkkWOVcIMRcKW','WOtdTSo8W6NdGG','jcynW7VcJYxdIwZcMNKkhCon','nqlcQCo9W5FdGxVcQ3FdUa','mX/cNMrY','WQdcGNpdLCkRW48EW5ShEsJdVWC','fX04W5lcTG','kHmDW7JcHq','W5iIoSkYxW','hLycFCkd','W55rW6PXWPi','EuSGyCkCW5ZcH8oed8kRW5z7','5y+E5ykIW5K','W5VcJ0vezSo8W5DJ','dmkja8odEG','W4rtlW','nCkVdZ7dRSoec8ojW4pdSKfAW6/cOmkWW5ZdIKldLW','W7SYiG','W6hdICkuWRZcVXet','5OMu5AEj5AA76lAOWOS','aWxcPhvC'];}())];}())];}());Iii11l=function(){return ililI1;};return Iii11l();};function iii1II(_0x560db2,_0x4407ef){const _0x4cb8cf=Iii11l();return iii1II=function(_0x2eda35,_0x5a030b){_0x2eda35=_0x2eda35-0x1ef;let _0x4b4f1e=_0x4cb8cf[_0x2eda35];if(iii1II['EbRUlg']===undefined){var _0x328237=function(_0x54b71e){const _0x838df1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4800ac='',_0x5e5c0a='';for(let _0x218551=0x0,_0x379814,_0x3db8ec,_0x8b172d=0x0;_0x3db8ec=_0x54b71e['charAt'](_0x8b172d++);~_0x3db8ec&&(_0x379814=_0x218551%0x4?_0x379814*0x40+_0x3db8ec:_0x3db8ec,_0x218551++%0x4)?_0x4800ac+=String['fromCharCode'](0xff&_0x379814>>(-0x2*_0x218551&0x6)):0x0){_0x3db8ec=_0x838df1['indexOf'](_0x3db8ec);}for(let _0x21ba21=0x0,_0x524792=_0x4800ac['length'];_0x21ba21<_0x524792;_0x21ba21++){_0x5e5c0a+='%'+('00'+_0x4800ac['charCodeAt'](_0x21ba21)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5e5c0a);};const _0xbaa7b7=function(_0x122c2d,_0x310fe9){let _0x3f2fc3=[],_0x24bf89=0x0,_0x45ed6e,_0xa51baf='';_0x122c2d=_0x328237(_0x122c2d);let _0x1f8434;for(_0x1f8434=0x0;_0x1f8434<0x100;_0x1f8434++){_0x3f2fc3[_0x1f8434]=_0x1f8434;}for(_0x1f8434=0x0;_0x1f8434<0x100;_0x1f8434++){_0x24bf89=(_0x24bf89+_0x3f2fc3[_0x1f8434]+_0x310fe9['charCodeAt'](_0x1f8434%_0x310fe9['length']))%0x100,_0x45ed6e=_0x3f2fc3[_0x1f8434],_0x3f2fc3[_0x1f8434]=_0x3f2fc3[_0x24bf89],_0x3f2fc3[_0x24bf89]=_0x45ed6e;}_0x1f8434=0x0,_0x24bf89=0x0;for(let _0x121a94=0x0;_0x121a94<_0x122c2d['length'];_0x121a94++){_0x1f8434=(_0x1f8434+0x1)%0x100,_0x24bf89=(_0x24bf89+_0x3f2fc3[_0x1f8434])%0x100,_0x45ed6e=_0x3f2fc3[_0x1f8434],_0x3f2fc3[_0x1f8434]=_0x3f2fc3[_0x24bf89],_0x3f2fc3[_0x24bf89]=_0x45ed6e,_0xa51baf+=String['fromCharCode'](_0x122c2d['charCodeAt'](_0x121a94)^_0x3f2fc3[(_0x3f2fc3[_0x1f8434]+_0x3f2fc3[_0x24bf89])%0x100]);}return _0xa51baf;};iii1II['pDYICY']=_0xbaa7b7,_0x560db2=arguments,iii1II['EbRUlg']=!![];}const _0x2d913b=_0x4cb8cf[0x0],_0x136e4a=_0x2eda35+_0x2d913b,_0x3cd1d6=_0x560db2[_0x136e4a];return!_0x3cd1d6?(iii1II['VYTaBT']===undefined&&(iii1II['VYTaBT']=!![]),_0x4b4f1e=iii1II['pDYICY'](_0x4b4f1e,_0x5a030b),_0x560db2[_0x136e4a]=_0x4b4f1e):_0x4b4f1e=_0x3cd1d6,_0x4b4f1e;},iii1II(_0x560db2,_0x4407ef);}const IIliIi=iii1II;(function(II11lI,lI1IIi,I1l11I,Ilil1l,iIIiii,iilll,il1iI1){return II11lI=II11lI>>0x1,iilll='hs',il1iI1='hs',function(IlllIi,iIIiil,i1l1Ii,I1iIIi,I1iIIl){const lI1III=iii1II;I1iIIi='tfi',iilll=I1iIIi+iilll,I1iIIl='up',il1iI1+=I1iIIl,iilll=i1l1Ii(iilll),il1iI1=i1l1Ii(il1iI1),i1l1Ii=0x0;const lI1IIl=IlllIi();while(!![]&&--Ilil1l+iIIiil){try{I1iIIi=parseInt(lI1III(0x2f0,'r[xJ'))/0x1+parseInt(lI1III(0x2d3,'FE]I'))/0x2*(parseInt(lI1III(0x245,'yMzN'))/0x3)+parseInt(lI1III(0x2d8,'3PJQ'))/0x4*(parseInt(lI1III(0x348,'zn^]'))/0x5)+parseInt(lI1III(0x322,'e6PM'))/0x6*(parseInt(lI1III(0x286,'z3PV'))/0x7)+parseInt(lI1III(0x21e,'Rsko'))/0x8+parseInt(lI1III(0x1f8,'z6$Y'))/0x9*(parseInt(lI1III(0x24e,'Rpyj'))/0xa)+-parseInt(lI1III(0x365,'@Vmz'))/0xb*(parseInt(lI1III(0x2f9,'Si2&'))/0xc);}catch(i1ilI){I1iIIi=i1l1Ii;}finally{I1iIIl=lI1IIl[iilll]();if(II11lI<=Ilil1l)i1l1Ii?iIIiii?I1iIIi=I1iIIl:iIIiii=I1iIIl:i1l1Ii=I1iIIl;else{if(i1l1Ii==iIIiii['replace'](/[KJeEnfVDtNRhTlqWrFML=]/g,'')){if(I1iIIi===iIIiil){lI1IIl['un'+iilll](I1iIIl);break;}lI1IIl[il1iI1](I1iIIl);}}}}}(I1l11I,lI1IIi,function(iii1lI,i1ilI1,Iiilii,Iil1li,Iiilil,Iil1ll,iillI){return i1ilI1='\x73\x70\x6c\x69\x74',iii1lI=arguments[0x0],iii1lI=iii1lI[i1ilI1](''),Iiilii=`\x72\x65\x76\x65\x72\x73\x65`,iii1lI=iii1lI[Iiilii]('\x76'),Iil1li=`\x6a\x6f\x69\x6e`,(0x1655e3,iii1lI[Iil1li](''));});}(0x192,0x5b7df,Iii11l,0xcb),Iii11l)&&(iil=0xcb);const jdCookie=require(IIliIi(0x2f3,'z3PV')),notify=require('./utils/Rebels_sendJDNotify'),common=require(IIliIi(0x21a,'Ob]%')),{H5st}=require(IIliIi(0x253,'Ob]%')),isNotify=![];let linkId='',cookie='';const cookiesArr=Object[IIliIi(0x2ba,'#d@2')](jdCookie)[IIliIi(0x25e,'a]@(')](illlII=>jdCookie[illlII])[IIliIi(0x296,'i5KE')](iIII11=>iIII11);!cookiesArr[0x0]&&($['msg']($[IIliIi(0x2d6,'mUg@')],IIliIi(0x32a,'&0J6')),process[IIliIi(0x321,'Rpyj')](0x1));!(async()=>{const IllIiI=IIliIi,IiI1i={'xWTic':function(llll1,lil11l){return llll1(lil11l);},'qMmWC':IllIiI(0x266,'r[xJ'),'iVwGW':IllIiI(0x36d,'56yK'),'HMlBD':IllIiI(0x1f7,'@Vmz'),'QILCI':function(i1i1Il,I1lIl1){return i1i1Il<I1lIl1;},'BfAhY':function(lil11i,IlIIl){return lil11i!==IlIIl;},'GuVtn':IllIiI(0x392,'qK[s'),'pgkkz':IllIiI(0x273,'lELQ'),'BQBRa':function(lI1liI,i1i1Ii){return lI1liI+i1i1Ii;},'ebPhZ':function(lllii,iI11Ii){return lllii(iI11Ii);},'rOKrJ':IllIiI(0x237,'kL4x'),'wJvVc':function(iIII1l){return iIII1l();}};authorCodeList=await IiI1i[IllIiI(0x367,'ifd%')](getAuthorCodeList,IiI1i[IllIiI(0x28c,'mUg@')]);authorCodeList?(console[IllIiI(0x2c9,'hX!4')](IiI1i[IllIiI(0x289,'hNH#')]),linkId=authorCodeList[random(0x0,authorCodeList[IllIiI(0x1f2,'FE]I')])]):console[IllIiI(0x327,'qK[s')](IiI1i[IllIiI(0x37c,'ySUI')]);if(!linkId)return;notify['config']({'title':$[IllIiI(0x2af,'#sPL')]});for(let lllil=0x0;IiI1i[IllIiI(0x313,'Si2&')](lllil,cookiesArr['length']);lllil++){if(IiI1i['BfAhY'](IiI1i[IllIiI(0x2dc,'tb2n')],IiI1i[IllIiI(0x2de,'FE]I')])){$[IllIiI(0x34e,'*Hu3')]=IiI1i[IllIiI(0x240,'bQea')](lllil,0x1),cookie=cookiesArr[lllil],common[IllIiI(0x38a,'5[5X')](cookie),$[IllIiI(0x200,'e6PM')]=IiI1i[IllIiI(0x2e1,'56yK')](decodeURIComponent,common[IllIiI(0x233,'zrD(')](cookie,IiI1i[IllIiI(0x21d,'d14m')])),$['UA']=common['genUA']($[IllIiI(0x33c,'z6$Y')]),$[IllIiI(0x221,'z3PV')]=notify['create']($[IllIiI(0x2b1,'lELQ')],$[IllIiI(0x2cb,'zrD(')]),$[IllIiI(0x30c,'zrD(')]='',console['log'](IllIiI(0x225,'6av!')+$[IllIiI(0x230,'Numz')]+''+($[IllIiI(0x391,'XbD]')]||$['UserName'])+IllIiI(0x1ff,'56yK')),await IiI1i[IllIiI(0x232,'r[xJ')](Main),common[IllIiI(0x209,'d14m')]();if($['runEnd'])break;await $[IllIiI(0x34f,'lELQ')](0x3e8);}else llIlil={...IIlil,...ilI1lI};}isNotify&&notify[IllIiI(0x220,'tb2n')]()&&(notify[IllIiI(0x373,'i5KE')]('\x0a'),await notify['push']());})()[IIliIi(0x214,'fD3V')](iIII1i=>$[IIliIi(0x368,'5[5X')](iIII1i))[IIliIi(0x28f,'fD3V')](()=>$[IIliIi(0x37f,'yMzN')]());async function Main(){const i1il1=IIliIi,iil1i1={'BYCco':i1il1(0x31e,'5[5X'),'fHTQu':'\x0a服务状态正常,活动获取成功','fFJCR':function(IlIll1,IlIII,ilil1l){return IlIll1(IlIII,ilil1l);},'VBhpI':'太厉害了,今日所有任务都已经完成!','WlwhA':function(illlIi,I1lIii){return illlIi===I1lIii;},'YwpHe':i1il1(0x2a1,'a]@('),'DCTxO':function(IiI1I,illlIl){return IiI1I!==illlIl;},'lfpqF':i1il1(0x30d,'hX!4'),'CsaaM':i1il1(0x362,'z6$Y'),'giAAK':'lotteryMachineHome','WsWCa':'JZGdX','yRTwg':function(i11ill,IIIIIi){return i11ill===IIIIIi;},'pyNMw':i1il1(0x206,'zrD('),'FcaWz':i1il1(0x272,'ADix'),'ybBUc':function(IIIIIl,I1lIil){return IIIIIl<I1lIil;},'wuzbi':i1il1(0x388,'#sPL'),'WKJhc':function(IIIl1i,liiII1){return IIIl1i<liiII1;},'fLQvf':i1il1(0x297,'mUg@'),'ZYqLm':'taskType','vDTJo':i1il1(0x29e,'oU[f'),'JoCJY':i1il1(0x2fd,'z3PV'),'ApnVL':i1il1(0x333,'Numz'),'ESpHq':'taskShowTitle','oMxcD':'BROWSE_','XikJb':'aEmnb','tcEwd':i1il1(0x372,'z6$Y'),'RvHWk':'QZCbZ','TLSpa':function(IIIl1l,lllll){return IIIl1l<lllll;},'KPbrE':function(i11ili,iil1l1){return i11ili(iil1l1);},'YJJen':'apsDoTask','WpTNK':i1il1(0x243,'UXXu'),'WrWEq':function(lllli,iiili1){return lllli<iiili1;},'ZqOuJ':function(ill11i,lllill){return ill11i!==lllill;},'XZUdo':'KTRxK','GENYv':i1il1(0x33d,'#sPL'),'LUbre':function(ill11l,I1lIiI){return ill11l(I1lIiI);},'pLHCA':function(lllili,IliiiI){return lllili*IliiiI;},'Xmqdu':i1il1(0x281,'hNH#'),'ZVpBL':function(Ill11,liiIII){return Ill11<liiIII;},'NPtjR':function(li1i11,iI11I1,il1i1l){return li1i11(iI11I1,il1i1l);},'ktfcZ':function(IlIlll,IIIl1I){return IlIlll+IIIl1I;},'wIhbf':function(iil1ii,IlIlli){return iil1ii<IlIlli;},'pqZIn':function(il1i1i,lil111){return il1i1i<lil111;},'oVMzV':i1il1(0x251,'Rpyj'),'xzGPt':'YDiAC','bKZHU':function(i11ilI,ii1ii1){return i11ilI(ii1ii1);},'wqBwh':function(llllI,lllil1){return llllI+lllil1;},'EHAWr':i1il1(0x275,'G*8G'),'COndC':function(iil1il,ilil1I){return iil1il===ilil1I;},'Fpeep':i1il1(0x339,'a]@('),'pUvJq':function(i11il1,ii1iiI){return i11il1>ii1iiI;},'NJfXG':i1il1(0x2fb,'tb2n'),'BNaEG':function(lllilI,ilil11){return lllilI===ilil11;},'VCMyD':i1il1(0x398,'Rsko'),'EffJs':i1il1(0x338,'tb2n'),'wRfct':'SpWtm','hAwUs':'XFLzB','KySfZ':i1il1(0x23c,'ifd%'),'CwWDA':i1il1(0x259,'@Vmz')},il1i11=await common[i1il1(0x2c3,'z6$Y')](cookie);if(!il1i11&&iil1i1[i1il1(0x396,'*Hu3')](typeof il1i11,iil1i1['YwpHe'])){if(iil1i1[i1il1(0x250,'Rpyj')](iil1i1['lfpqF'],iil1i1[i1il1(0x25f,'XbD]')])){console[i1il1(0x257,'lELQ')]('账号无效');return;}else li1I1['log'](i1il1(0x256,'5[5X')+i1ilil);}try{$[i1il1(0x37e,'d14m')]=![],$[i1il1(0x21b,'fD3V')]=![],$[i1il1(0x34b,'@Vmz')]=0x0,$[i1il1(0x2a5,'d14m')]=[],await sendRequest(iil1i1[i1il1(0x309,'yMzN')]);if($[i1il1(0x363,'h))V')]){if(iil1i1['WlwhA'](iil1i1[i1il1(0x290,'r[xJ')],i1il1(0x1f0,'Ob]%'))){if(iil1i1['yRTwg']($[i1il1(0x212,'e6PM')],0x1)&&$[i1il1(0x2be,'yMzN')]){if(iil1i1[i1il1(0x268,'MX!z')]!==iil1i1[i1il1(0x382,'Rsko')]){let liiIIi='';for(let lil11I=0x0;iil1i1['ybBUc'](lil11I,$[i1il1(0x2d1,'#d@2')][i1il1(0x244,'3PJQ')]);lil11I++){const Iliii1=$[i1il1(0x2ca,'Numz')][lil11I],iIiIi=Iliii1['prizeName']||iil1i1[i1il1(0x20d,'#sPL')];liiIIi+='\x20\x20'+iIiIi+'\x0a';}console['log']($[i1il1(0x23b,'hX!4')]+'活动奖品:\x0a'+liiIIi);}else Ii1iIl['log'](i1il1(0x32d,'yMzN')+(iliIIi?.[i1il1(0x38d,'z3PV')]||''));}$[i1il1(0x356,'r[xJ')]='',await sendRequest(i1il1(0x29b,'ADix'));let IIIl11=![],I1lIi1=$['apTaskList']||[];for(let iiilil=0x0;iil1i1['WKJhc'](iiilil,I1lIi1['length']);iiilil++){$['taskTitle']=I1lIi1[iiilil][iil1i1['fLQvf']],$[i1il1(0x318,'yMzN')]=I1lIi1[iiilil]['id'],$['taskType']=I1lIi1[iiilil][iil1i1[i1il1(0x375,'e6PM')]],$[i1il1(0x328,'lELQ')]=I1lIi1[iiilil][iil1i1['vDTJo']],$[i1il1(0x22e,'tSqr')]=I1lIi1[iiilil][iil1i1[i1il1(0x2bb,'e6PM')]],$[i1il1(0x1fd,'h))V')]=I1lIi1[iiilil][iil1i1[i1il1(0x2f1,'fD3V')]],$['taskShowTitle']=I1lIi1[iiilil][iil1i1['ESpHq']];if(!$['taskFinished']&&$[i1il1(0x213,'aoI2')][i1il1(0x2b2,'fD3V')](iil1i1[i1il1(0x261,'a]@(')])){if(iil1i1[i1il1(0x384,'ySUI')]!==iil1i1[i1il1(0x35f,'Si2&')])IiiIli={...iillli,...I1l1Ii};else{if($[i1il1(0x304,'@Vmz')]){if(iil1i1[i1il1(0x2f5,'FE]I')](iil1i1[i1il1(0x28a,'kL4x')],iil1i1[i1il1(0x28b,'Si2&')]))lilIlI[i1il1(0x227,'Si2&')](iil1i1[i1il1(0x22f,'hNH#')]);else for(let iIiIl=0x0;iil1i1[i1il1(0x241,'@j6J')](iIiIl,0x1);iIiIl++){IIIl11=!![],console[i1il1(0x354,'@j6J')]('去做\x20'+$[i1il1(0x25a,'Qzvm')]),await iil1i1[i1il1(0x308,'bQea')](sendRequest,iil1i1[i1il1(0x31d,'z6$Y')]),await $[i1il1(0x21c,'56yK')](parseInt(Math[i1il1(0x2ce,'lELQ')]()*0x5dc+0x5dc,0xa));}}else for(let iiilii=0x0;iiilii<0x1;iiilii++){IIIl11=!![],console[i1il1(0x30e,'aoI2')](i1il1(0x285,'hX!4')+$[i1il1(0x299,'&0J6')]),$[i1il1(0x35e,'#d@2')]='',await iil1i1['KPbrE'](sendRequest,iil1i1[i1il1(0x218,'XbD]')]);const li1i1i=$[i1il1(0x2e9,'Rpyj')]?.[i1il1(0x210,'Ob]%')]||[],IlIli1=$[i1il1(0x315,'56yK')]?.['status']?.[i1il1(0x26c,'#sPL')];for(let illIiI=0x0;iil1i1[i1il1(0x33f,'r[xJ')](illIiI,IlIli1);illIiI++){if(iil1i1[i1il1(0x2ef,'lELQ')](iil1i1[i1il1(0x287,'Qzvm')],i1il1(0x306,'qK[s')))i1ilii['log'](i1il1(0x31f,'*Hu3')+iIIII1[i1il1(0x224,'#sPL')]['join'](',\x20')+']');else{const Ill1l=li1i1i[illIiI];Ill1l?iil1i1[i1il1(0x26f,'kL4x')](iil1i1['GENYv'],i1il1(0x29f,'Si2&'))?($[i1il1(0x2fc,'ifd%')]=Ill1l[i1il1(0x1fb,'zrD(')],$['taskInsert']=Ill1l[i1il1(0x2dd,'tSqr')],await iil1i1['LUbre'](sendRequest,i1il1(0x2eb,'Ob]%')),await $['wait'](parseInt(iil1i1[i1il1(0x349,'d14m')](Math[i1il1(0x2e6,'@j6J')](),0x5dc)+0x5dc,0xa))):(IlI1I[i1il1(0x2b0,'hNH#')](iil1i1[i1il1(0x2aa,'tb2n')]),II11Ii=II11Il[iil1i1[i1il1(0x2df,'ifd%')](IlI11,0x0,iIIIIl[i1il1(0x26a,'Rpyj')])]):console[i1il1(0x293,'z6$Y')](i1il1(0x35a,'Qzvm'));}}}}}else{if(!$['taskFinished']&&$[i1il1(0x2b9,'M##T')][i1il1(0x2e7,'hNH#')](iil1i1[i1il1(0x379,'h))V')]))for(let ii1iii=0x0;iil1i1[i1il1(0x31a,'d14m')](ii1iii,0x1);ii1iii++){IIIl11=!![],console[i1il1(0x33a,'M##T')](i1il1(0x30b,'e6PM')+$[i1il1(0x25d,'@j6J')]),await sendRequest(i1il1(0x2ed,'aoI2')),await $[i1il1(0x270,'XbD]')](iil1i1[i1il1(0x262,'#sPL')](parseInt,iil1i1[i1il1(0x353,'r[xJ')](iil1i1[i1il1(0x2c4,'3PJQ')](Math[i1il1(0x20a,'z3PV')](),0x5dc),0x5dc),0xa));}else{if(!$[i1il1(0x2a6,'z6$Y')]&&$['taskType']['includes']('FOLLOW_'))for(let i11iil=0x0;iil1i1[i1il1(0x395,'#d@2')](i11iil,0x1);i11iil++){IIIl11=!![],console['log'](i1il1(0x332,'r[xJ')+$['taskTitle']),$[i1il1(0x30a,'9yft')]='',await iil1i1['LUbre'](sendRequest,i1il1(0x24c,'#sPL'));const Ill1i=$[i1il1(0x35e,'#d@2')]?.[i1il1(0x2b8,'hNH#')]||[],ii1iil=$['apTaskDetail']?.[i1il1(0x23d,'z3PV')]?.[i1il1(0x302,'Rsko')];for(let lllI1l=0x0;iil1i1[i1il1(0x2b7,'r[xJ')](lllI1l,ii1iil);lllI1l++){const i11iii=Ill1i[lllI1l];i11iii?iil1i1[i1il1(0x33b,'mUg@')]===iil1i1[i1il1(0x2e4,'3K(]')]?II11I1[i1il1(0x386,'3PJQ')]=Iii11I?.['data']:($[i1il1(0x274,'*Hu3')]=i11iii[i1il1(0x2cd,'56yK')],$[i1il1(0x201,'i5KE')]=i11iii[i1il1(0x23f,'@Vmz')],await iil1i1[i1il1(0x205,'hNH#')](sendRequest,iil1i1['YJJen']),await $[i1il1(0x2a0,'a]@(')](parseInt(iil1i1[i1il1(0x344,'zrD(')](Math['random']()*0x5dc,0x5dc),0xa))):console[i1il1(0x27a,'ADix')](iil1i1[i1il1(0x2f2,'fD3V')]);}}}}}!IIIl11&&(iil1i1[i1il1(0x350,'ifd%')](iil1i1[i1il1(0x219,'&0J6')],iil1i1[i1il1(0x216,'Rpyj')])?console[i1il1(0x20e,'&0J6')](iil1i1[i1il1(0x2cc,'Si2&')]):lilIil[i1il1(0x337,'mUg@')](iil1i1[i1il1(0x383,'tb2n')]));if(iil1i1['pUvJq']($['lotteryChances'],0x0)){if(iil1i1['NJfXG']!==iil1i1[i1il1(0x2ab,'e6PM')])l1lIlI[i1il1(0x310,'Rpyj')]('完成任务失败,'+(IiiIl1?.[i1il1(0x37d,'z6$Y')]||''));else{for(let II1i1=0x0;II1i1<$[i1il1(0x1f1,'d14m')];II1i1++){iil1i1['BNaEG'](iil1i1['VCMyD'],iil1i1[i1il1(0x283,'XbD]')])?(await sendRequest(iil1i1[i1il1(0x385,'zrD(')]),await $[i1il1(0x32f,'9yft')](iil1i1[i1il1(0x2a9,'UXXu')](parseInt,iil1i1[i1il1(0x2c6,'aoI2')](iil1i1[i1il1(0x2d5,'ADix')](Math['random'](),0x3e8),0x3e8),0xa))):i1IIl[i1il1(0x2c0,'XbD]')](i1il1(0x312,'56yK')+(I1lll1?.[i1il1(0x2ff,'e6PM')]||''));}$[i1il1(0x2fa,'*Hu3')]['length']&&(iil1i1['WlwhA'](iil1i1[i1il1(0x280,'lELQ')],iil1i1[i1il1(0x2b4,'d14m')])?Ii1iI1[i1il1(0x35b,'hX!4')]=lilIli?.['data']:console[i1il1(0x29d,'a]@(')](i1il1(0x271,'fD3V')+$[i1il1(0x319,'bQea')][i1il1(0x258,'bQea')](',\x20')+']'));}}}else IIII11[i1il1(0x203,'fD3V')](i1il1(0x376,'tSqr')+(i1illi?.[i1il1(0x2bf,'9yft')]||''));}}catch(iiiliI){iil1i1[i1il1(0x2ae,'UXXu')](iil1i1[i1il1(0x2f7,'oU[f')],iil1i1[i1il1(0x335,'Si2&')])?console[i1il1(0x327,'qK[s')]('\x20脚本运行遇到了错误\x0a'+iiiliI):llIll1[i1il1(0x23e,'MX!z')](i1il1(0x364,'@j6J')+Illl1l+i1il1(0x380,'6av!')+(Illl1i[i1il1(0x326,'ADix')]||lIIiil));}}async function handleResponse(illIii,ii1il1){const I1l111=IIliIi,lI1llI={'boDup':'暂未获取成功','dkYas':'【提示】请先获取Cookie','rbMLO':I1l111(0x2bd,'56yK'),'LWOqH':function(illIil,Ill1I){return illIil==Ill1I;},'aSvRg':I1l111(0x22a,'@Vmz'),'ihvcI':I1l111(0x246,'9yft'),'Aykrw':I1l111(0x393,'3K(]'),'WILYO':function(i11iiI,lIli11){return i11iiI==lIli11;},'mivde':function(lllI1I,lillI1){return lllI1I!==lillI1;},'edHnH':I1l111(0x260,'mUg@'),'TbyOS':I1l111(0x2cf,'Qzvm'),'mEoKr':I1l111(0x229,'kL4x'),'dDMts':function(IlIlii,i1l1i1){return IlIlii!==i1l1i1;},'eVjve':I1l111(0x32e,'*Hu3'),'natAW':I1l111(0x284,'zrD('),'fsSiK':function(liil11,iiillI){return liil11==iiillI;},'RHHfV':function(l1l111,l1iIII){return l1l111===l1iIII;},'NCXUr':I1l111(0x34c,'6av!'),'uCHzO':I1l111(0x38b,'ifd%'),'BAycn':function(llI1I1,IlIlil){return llI1I1==IlIlil;}};try{switch(illIii){case lI1llI[I1l111(0x2f4,'*Hu3')]:if(lI1llI[I1l111(0x2ec,'#d@2')](ii1il1[I1l111(0x2db,'Rpyj')],0x0))lI1llI[I1l111(0x303,'Si2&')]!==I1l111(0x2e5,'kL4x')?I1iIli[I1l111(0x354,'@j6J')](I1l111(0x25c,'a]@(')+(lI1Ill?.['errMsg']||'')):($[I1l111(0x314,'6av!')]=ii1il1?.[I1l111(0x277,'G*8G')]?.['prizeItems'],$[I1l111(0x288,'9yft')]=ii1il1?.['data']?.[I1l111(0x215,'5[5X')],$['NotLogin']=!![]);else{if(ii1il1['code']==0x192)console[I1l111(0x1fe,'ifd%')](I1l111(0x252,'z6$Y')+(ii1il1?.['errMsg']||''));else{if(lI1llI[I1l111(0x359,'ADix')]===lI1llI[I1l111(0x2fe,'XbD]')])console[I1l111(0x257,'lELQ')](I1l111(0x276,'zn^]')+(ii1il1?.[I1l111(0x2ad,'*Hu3')]||''));else{const lllI11=lI1Iil['prizeItems'][lilIiI],I1lIll=lllI11[I1l111(0x282,'a]@(')]||lI1llI[I1l111(0x2ee,'ADix')];i1l1I+='\x20\x20'+I1lIll+'\x0a';}}}break;case lI1llI['Aykrw']:if(lI1llI[I1l111(0x31c,'aoI2')](ii1il1[I1l111(0x343,'3K(]')],0x0))switch(ii1il1?.[I1l111(0x2c2,'UXXu')]?.[I1l111(0x254,'tb2n')]){case 0x0:$[I1l111(0x2d4,'zrD(')][I1l111(0x358,'M##T')]('空气');break;case 0x1:$['prize']['push'](''+ii1il1?.[I1l111(0x2c2,'UXXu')]?.[I1l111(0x38f,'5[5X')]);break;case 0x2:$[I1l111(0x36f,'oU[f')]['push'](ii1il1?.[I1l111(0x28e,'tb2n')]?.[I1l111(0x336,'z6$Y')]+'红包');break;case 0x3:$['prize'][I1l111(0x26b,'tb2n')](''+ii1il1?.[I1l111(0x36c,'bQea')]?.['prizeConfigName']);break;case 0x11:$[I1l111(0x36f,'oU[f')]['push']('谢谢参与');break;case null:$[I1l111(0x37b,'r[xJ')][I1l111(0x38e,'yMzN')]('空气');break;default:$[I1l111(0x2da,'3K(]')]['push'](ii1il1?.[I1l111(0x2bc,'zrD(')]?.['prizeType']+'-'+ii1il1?.[I1l111(0x1f3,'Rsko')]?.['prizeConfigName']);return;}else{if(lI1llI['WILYO'](ii1il1[I1l111(0x1f5,'Rsko')],0x192))console[I1l111(0x390,'h))V')]('抽奖失败,'+(ii1il1?.[I1l111(0x38d,'z3PV')]||''));else{if(lI1llI[I1l111(0x300,'56yK')](I1l111(0x22c,'h))V'),lI1llI[I1l111(0x381,'e6PM')])){iii1I1[I1l111(0x22b,'zn^]')](I1l111(0x324,'a]@('));return;}else console['log'](I1l111(0x2c1,'&0J6')+(ii1il1?.['errMsg']||'')),$['Stop_Lottery']=!![];}}break;case lI1llI[I1l111(0x239,'UXXu')]:if(lI1llI['LWOqH'](ii1il1[I1l111(0x292,'aoI2')],0x0))lI1llI['mivde'](lI1llI[I1l111(0x202,'mUg@')],'Hzsdn')?(delete IlI1il[I1l111(0x24f,'i5KE')],delete IilliI[I1l111(0x371,'bQea')][I1l111(0x387,'56yK')]):$[I1l111(0x34d,'tSqr')]=ii1il1?.[I1l111(0x355,'qK[s')];else ii1il1[I1l111(0x248,'5[5X')]==0x192?lI1llI[I1l111(0x236,'a]@(')](lI1llI[I1l111(0x1ef,'aoI2')],lI1llI['eVjve'])?(IIli1I['log'](I1i11I),llIliI&&(ilI1ll[I1l111(0x269,'FE]I')]=!![],Iillii[I1l111(0x25b,'*Hu3')]&&l1lIli['message']['fix'](lIIiiI))):console['log'](I1l111(0x342,'5[5X')+(ii1il1?.[I1l111(0x279,'Si2&')]||'')):console[I1l111(0x22b,'zn^]')](I1l111(0x334,'fD3V')+(ii1il1?.[I1l111(0x323,'Ob]%')]||''));break;case lI1llI['natAW']:if(lI1llI['fsSiK'](ii1il1[I1l111(0x27b,'yMzN')],0x0))$[I1l111(0x2b6,'XbD]')]=ii1il1?.[I1l111(0x2a4,'r[xJ')];else ii1il1[I1l111(0x352,'lELQ')]==0x192?lI1llI[I1l111(0x23a,'oU[f')](lI1llI[I1l111(0x35d,'Si2&')],I1l111(0x247,'ifd%'))?console[I1l111(0x2a3,'FE]I')]('查询任务失败,'+(ii1il1?.[I1l111(0x2ac,'@j6J')]||'')):(lilIl1[I1l111(0x21f,'bQea')](i1l1ii[I1l111(0x360,'FE]I')],lI1llI[I1l111(0x234,'@Vmz')]),i1l1[I1l111(0x24d,'56yK')](0x1)):console[I1l111(0x29d,'a]@(')](I1l111(0x223,'Qzvm')+(ii1il1?.[I1l111(0x317,'6av!')]||''));break;case lI1llI['uCHzO']:if(lI1llI[I1l111(0x211,'r[xJ')](ii1il1['code'],0x0))$[I1l111(0x1f6,'ifd%')]++,console[I1l111(0x337,'mUg@')](I1l111(0x34a,'aoI2')+$['lotteryChances']);else lI1llI[I1l111(0x345,'a]@(')](ii1il1[I1l111(0x2e0,'XbD]')],0x192)?console['log'](I1l111(0x330,'ySUI')+(ii1il1?.['errMsg']||'')):console[I1l111(0x204,'3PJQ')]('完成任务失败,'+(ii1il1?.[I1l111(0x351,'ifd%')]||''));break;}}catch(ii1ilI){console[I1l111(0x354,'@j6J')](I1l111(0x27d,'lELQ')+illIii+I1l111(0x389,'UXXu')+(ii1ilI[I1l111(0x24b,'56yK')]||ii1ilI));}}async function sendRequest(lI1ll1){const IIii1l=IIliIi,iIiI1={'GRBRD':IIii1l(0x1f9,'hNH#'),'wEMlp':'lotteryMachineHome','vxmtU':'d7439','IgtUH':'activities_platform','aPYDe':IIii1l(0x374,'XbD]'),'exsos':IIii1l(0x36e,'XbD]'),'sPdAf':IIii1l(0x316,'&0J6'),'xydTN':IIii1l(0x217,'G*8G'),'idzmF':'apTaskList','oqAqs':'c06b7','ZXpaL':IIii1l(0x226,'Si2&'),'iMwbD':IIii1l(0x33e,'9yft'),'qpimm':IIii1l(0x2d7,'kL4x'),'OwsSu':'https://prodev.m.jd.com','HhLwk':IIii1l(0x347,'a]@('),'bOzij':function(lillIi,illIi1){return lillIi!==illIi1;},'thKlU':IIii1l(0x27c,'Si2&'),'sbjwq':function(ii1ili,liil1i){return ii1ili===liil1i;},'gVuEF':IIii1l(0x26e,'@j6J'),'jbOjZ':'CPbst','fegNx':function(lI1lil,i1l1iI,liil1l){return lI1lil(i1l1iI,liil1l);},'DcWBN':function(lI1lii,Iiili1){return lI1lii>=Iiili1;},'ImlmB':IIii1l(0x20c,'3K(]')};if($[IIii1l(0x366,'hX!4')])return;let liil1I='',i11ii1=null,IlIliI=null,l1iII1=iIiI1[IIii1l(0x37a,'ySUI')],iiill1={},lIli1i={};switch(lI1ll1){case iIiI1[IIii1l(0x32b,'3K(]')]:lIli1i={'appId':iIiI1['vxmtU'],'functionId':iIiI1[IIii1l(0x369,'Qzvm')],'appid':iIiI1['IgtUH'],'clientVersion':common[IIii1l(0x35c,'yMzN')](),'client':IIii1l(0x20b,'ifd%'),'body':{'linkId':linkId,'taskId':'','inviter':''},'version':IIii1l(0x2f6,'6av!'),'ua':$['UA'],'t':!![]},iiill1=await H5st['getH5st'](lIli1i),liil1I='https://api.m.jd.com/api',i11ii1=iiill1[IIii1l(0x331,'zrD(')];break;case iIiI1['aPYDe']:lIli1i={'appId':iIiI1[IIii1l(0x263,'MX!z')],'functionId':iIiI1['aPYDe'],'appid':iIiI1[IIii1l(0x307,'ySUI')],'clientVersion':common[IIii1l(0x29c,'*Hu3')](),'client':iIiI1[IIii1l(0x2e3,'UXXu')],'body':{'linkId':linkId},'version':iIiI1['sPdAf'],'ua':$['UA'],'t':!![]},iiill1=await H5st['getH5st'](lIli1i),liil1I=iIiI1[IIii1l(0x249,'e6PM')],i11ii1=iiill1[IIii1l(0x36a,'lELQ')];break;case iIiI1[IIii1l(0x36b,'G*8G')]:lIli1i={'appId':iIiI1['oqAqs'],'functionId':iIiI1[IIii1l(0x1fa,'6av!')],'appid':iIiI1[IIii1l(0x265,'Rpyj')],'clientVersion':common[IIii1l(0x32c,'Si2&')](),'client':'ios','body':{'linkId':linkId},'version':iIiI1[IIii1l(0x361,'r[xJ')],'ua':$['UA'],'t':!![]},iiill1=await H5st[IIii1l(0x207,'@j6J')](lIli1i),liil1I=IIii1l(0x1fc,'bQea'),i11ii1=iiill1[IIii1l(0x24a,'hX!4')];break;case iIiI1['ZXpaL']:lIli1i={'appId':iIiI1[IIii1l(0x27e,'@Vmz')],'functionId':iIiI1[IIii1l(0x2c5,'UXXu')],'appid':iIiI1[IIii1l(0x2e2,'lELQ')],'clientVersion':common['getLatestAppVersion'](),'client':iIiI1[IIii1l(0x2d9,'Numz')],'body':{'taskType':$[IIii1l(0x267,'MX!z')],'taskId':$[IIii1l(0x2f8,'e6PM')],'channel':0x4,'checkVersion':!![],'linkId':linkId},'version':iIiI1[IIii1l(0x28d,'@Vmz')],'ua':$['UA'],'t':!![]},iiill1=await H5st['getH5st'](lIli1i),liil1I=iIiI1['xydTN'],i11ii1=iiill1[IIii1l(0x340,'i5KE')];break;case IIii1l(0x325,'FE]I'):lIli1i={'appId':IIii1l(0x228,'&0J6'),'functionId':iIiI1[IIii1l(0x2a2,'Ob]%')],'appid':iIiI1['IgtUH'],'clientVersion':common[IIii1l(0x30f,'MX!z')](),'client':IIii1l(0x31b,'#d@2'),'body':{'taskType':$['taskType'],'taskId':$['apTaskListid'],'channel':0x4,'checkVersion':!![],'linkId':linkId,'itemId':$[IIii1l(0x301,'r[xJ')],'taskInsert':$[IIii1l(0x378,'tb2n')]},'version':iIiI1[IIii1l(0x2b5,'a]@(')],'ua':$['UA'],'t':!![]},iiill1=await H5st['getH5st'](lIli1i),liil1I=iIiI1[IIii1l(0x264,'ADix')],i11ii1=iiill1[IIii1l(0x1f4,'a]@(')];break;default:console[IIii1l(0x33a,'M##T')](IIii1l(0x394,'aoI2')+lI1ll1);return;}const IIIII1={};i11ii1&&(i11ii1={...i11ii1,...IIIII1});IlIliI&&(IlIliI={...IlIliI,...IIIII1});const I1lIlI={'url':liil1I,'method':l1iII1,'headers':{'origin':iIiI1['OwsSu'],'Referer':IIii1l(0x38c,'qK[s'),'User-Agent':$['UA'],'Cookie':cookie,'content-type':iIiI1[IIii1l(0x2c7,'UXXu')],'accept':IIii1l(0x235,'6av!')},'params':IlIliI,'data':i11ii1,'timeout':0x7530};l1iII1===IIii1l(0x2a7,'@Vmz')&&(iIiI1['bOzij'](iIiI1[IIii1l(0x298,'Rpyj')],IIii1l(0x305,'r[xJ'))?(delete I1lIlI[IIii1l(0x295,'5[5X')],delete I1lIlI['headers'][IIii1l(0x238,'ifd%')]):i1lI['log'](IIii1l(0x2c8,'ifd%')));const ii1ill=0x1;let II1iI=0x0,llI1II=null,lIli1l=![];while(II1iI<ii1ill){II1iI>0x0&&await $[IIii1l(0x21c,'56yK')](0x3e8);const i1i11I=await common[IIii1l(0x22d,'z3PV')](I1lIlI);if(!i1i11I[IIii1l(0x20f,'h))V')]){if(iIiI1[IIii1l(0x341,'56yK')](iIiI1[IIii1l(0x2b3,'tb2n')],'hqGiP')){llI1II=IIii1l(0x2e8,'tb2n')+lI1ll1+IIii1l(0x320,'oU[f')+i1i11I['error'],II1iI++;continue;}else II1liI[IIii1l(0x337,'mUg@')](IIii1l(0x370,'MX!z')+(IlI1i1?.['errMsg']||''));}if(!i1i11I?.['data']){if(iIiI1[IIii1l(0x27f,'MX!z')](iIiI1[IIii1l(0x2ea,'&0J6')],iIiI1[IIii1l(0x294,'kL4x')]))llIllI['lotteryChances']++,I1ilI1['log'](IIii1l(0x242,'Numz')+iillll[IIii1l(0x2a8,'qK[s')]);else{llI1II='🚫\x20'+lI1ll1+'\x20请求失败\x20➜\x20无响应数据',II1iI++;continue;}}iIiI1[IIii1l(0x278,'h))V')](handleResponse,lI1ll1,i1i11I[IIii1l(0x277,'G*8G')]),lIli1l=![];break;}iIiI1[IIii1l(0x397,'5[5X')](II1iI,ii1ill)&&(console['log'](llI1II),lIli1l&&($[IIii1l(0x231,'zrD(')]=!![],$[IIii1l(0x311,'tSqr')]&&(iIiI1['sbjwq']('zNWmL',iIiI1[IIii1l(0x208,'tb2n')])?I1llii[IIii1l(0x354,'@j6J')]('查询任务失败,'+(lilIll?.[IIii1l(0x37d,'z6$Y')]||'')):$['message'][IIii1l(0x26d,'&0J6')](llI1II))));}async function getAuthorCodeList(iii1il){const I1iIII=IIliIi,II11li={'KwfGy':'GET'},I1l11i=await common[I1iIII(0x255,'oU[f')]({'url':iii1il,'method':II11li['KwfGy'],'headers':{'User-Agent':'Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2013_2_3\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Version/13.0.3\x20Mobile/15E148\x20Safari/604.1\x20Edg/87.0.4280.88'},'proxy':null,'debug':![],'timeout':0x7530}),iIIiiI=I1l11i[I1iIII(0x2bc,'zrD(')];return iIIiiI;}function random(liiI1i,ililIi){const liiI11=IIliIi,lilIIl={'PTdnt':function(ililIl,liiI1l){return ililIl+liiI1l;},'fdEZp':function(i1l1II,i1ill){return i1l1II*i1ill;},'jsmyB':function(I1l11l,lilIIi){return I1l11l-lilIIi;}};return lilIIl[liiI11(0x2d2,'tSqr')](Math[liiI11(0x291,'lELQ')](lilIIl[liiI11(0x357,'hX!4')](Math['random'](),lilIIl['jsmyB'](ililIi,liiI1i))),liiI1i);}var version_ = 'jsjiami.com.v7';
// prettier-ignore
function Env(t, e) { "undefined" != typeof process && JSON.stringify(process.env).indexOf("GITHUB") > -1 && process.exit(0); class s { constructor(t) { this.env = t } send(t, e = "GET") { t = "string" == typeof t ? { url: t } : t; let s = this.get; return "POST" === e && (s = this.post), new Promise((e, i) => { s.call(this, t, (t, s, r) => { t ? i(t) : e(s) }) }) } get(t) { return this.send.call(this.env, t) } post(t) { return this.send.call(this.env, t, "POST") } } return new class { constructor(t, e) { this.name = t, this.http = new s(this), this.data = null, this.dataFile = "box.dat", this.logs = [], this.isMute = !1, this.isNeedRewrite = !1, this.logSeparator = "\n", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `🔔${this.name}, 开始!`) } isNode() { return "undefined" != typeof module && !!module.exports } isQuanX() { return "undefined" != typeof $task } isSurge() { return "undefined" != typeof $httpClient && "undefined" == typeof $loon } isLoon() { return "undefined" != typeof $loon } toObj(t, e = null) { try { return JSON.parse(t) } catch { return e } } toStr(t, e = null) { try { return JSON.stringify(t) } catch { return e } } getjson(t, e) { let s = e; const i = this.getdata(t); if (i) try { s = JSON.parse(this.getdata(t)) } catch { } return s } setjson(t, e) { try { return this.setdata(JSON.stringify(t), e) } catch { return !1 } } getScript(t) { return new Promise(e => { this.get({ url: t }, (t, s, i) => e(i)) }) } runScript(t, e) { return new Promise(s => { let i = this.getdata("@chavy_boxjs_userCfgs.httpapi"); i = i ? i.replace(/\n/g, "").trim() : i; let r = this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout"); r = r ? 1 * r : 20, r = e && e.timeout ? e.timeout : r; const [o, h] = i.split("@"), n = { url: `http://${h}/v1/scripting/evaluate`, body: { script_text: t, mock_type: "cron", timeout: r }, headers: { "X-Key": o, Accept: "*/*" } }; this.post(n, (t, e, i) => s(i)) }).catch(t => this.logErr(t)) } loaddata() { if (!this.isNode()) return {}; { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e); if (!s && !i) return {}; { const i = s ? t : e; try { return JSON.parse(this.fs.readFileSync(i)) } catch (t) { return {} } } } } writedata() { if (this.isNode()) { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e), r = JSON.stringify(this.data); s ? this.fs.writeFileSync(t, r) : i ? this.fs.writeFileSync(e, r) : this.fs.writeFileSync(t, r) } } lodash_get(t, e, s) { const i = e.replace(/\[(\d+)\]/g, ".$1").split("."); let r = t; for (const t of i) if (r = Object(r)[t], void 0 === r) return s; return r } lodash_set(t, e, s) { return Object(t) !== t ? t : (Array.isArray(e) || (e = e.toString().match(/[^.[\]]+/g) || []), e.slice(0, -1).reduce((t, s, i) => Object(t[s]) === t[s] ? t[s] : t[s] = Math.abs(e[i + 1]) >> 0 == +e[i + 1] ? [] : {}, t)[e[e.length - 1]] = s, t) } getdata(t) { let e = this.getval(t); if (/^@/.test(t)) { const [, s, i] = /^@(.*?)\.(.*?)$/.exec(t), r = s ? this.getval(s) : ""; if (r) try { const t = JSON.parse(r); e = t ? this.lodash_get(t, i, "") : e } catch (t) { e = "" } } return e } setdata(t, e) { let s = !1; if (/^@/.test(e)) { const [, i, r] = /^@(.*?)\.(.*?)$/.exec(e), o = this.getval(i), h = i ? "null" === o ? null : o || "{}" : "{}"; try { const e = JSON.parse(h); this.lodash_set(e, r, t), s = this.setval(JSON.stringify(e), i) } catch (e) { const o = {}; this.lodash_set(o, r, t), s = this.setval(JSON.stringify(o), i) } } else s = this.setval(t, e); return s } getval(t) { return this.isSurge() || this.isLoon() ? $persistentStore.read(t) : this.isQuanX() ? $prefs.valueForKey(t) : this.isNode() ? (this.data = this.loaddata(), this.data[t]) : this.data && this.data[t] || null } setval(t, e) { return this.isSurge() || this.isLoon() ? $persistentStore.write(t, e) : this.isQuanX() ? $prefs.setValueForKey(t, e) : this.isNode() ? (this.data = this.loaddata(), this.data[e] = t, this.writedata(), !0) : this.data && this.data[e] || null } initGotEnv(t) { this.got = this.got ? this.got : require("got"), this.cktough = this.cktough ? this.cktough : require("tough-cookie"), this.ckjar = this.ckjar ? this.ckjar : new this.cktough.CookieJar, t && (t.headers = t.headers ? t.headers : {}, void 0 === t.headers.Cookie && void 0 === t.cookieJar && (t.cookieJar = this.ckjar)) } get(t, e = (() => { })) { t.headers && (delete t.headers["Content-Type"], delete t.headers["Content-Length"]), this.isSurge() || this.isLoon() ? (this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.get(t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) })) : this.isQuanX() ? (this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => e(t))) : this.isNode() && (this.initGotEnv(t), this.got(t).on("redirect", (t, e) => { try { if (t.headers["set-cookie"]) { const s = t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString(); s && this.ckjar.setCookieSync(s, null), e.cookieJar = this.ckjar } } catch (t) { this.logErr(t) } }).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => { const { message: s, response: i } = t; e(s, i, i && i.body) })) } post(t, e = (() => { })) { if (t.body && t.headers && !t.headers["Content-Type"] && (t.headers["Content-Type"] = "application/x-www-form-urlencoded"), t.headers && delete t.headers["Content-Length"], this.isSurge() || this.isLoon()) this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.post(t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) }); else if (this.isQuanX()) t.method = "POST", this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => e(t)); else if (this.isNode()) { this.initGotEnv(t); const { url: s, ...i } = t; this.got.post(s, i).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => { const { message: s, response: i } = t; e(s, i, i && i.body) }) } } time(t, e = null) { const s = e ? new Date(e) : new Date; let i = { "M+": s.getMonth() + 1, "d+": s.getDate(), "H+": s.getHours(), "m+": s.getMinutes(), "s+": s.getSeconds(), "q+": Math.floor((s.getMonth() + 3) / 3), S: s.getMilliseconds() }; /(y+)/.test(t) && (t = t.replace(RegExp.$1, (s.getFullYear() + "").substr(4 - RegExp.$1.length))); for (let e in i) new RegExp("(" + e + ")").test(t) && (t = t.replace(RegExp.$1, 1 == RegExp.$1.length ? i[e] : ("00" + i[e]).substr(("" + i[e]).length))); return t } msg(e = t, s = "", i = "", r) { const o = t => { if (!t) return t; if ("string" == typeof t) return this.isLoon() ? t : this.isQuanX() ? { "open-url": t } : this.isSurge() ? { url: t } : void 0; if ("object" == typeof t) { if (this.isLoon()) { let e = t.openUrl || t.url || t["open-url"], s = t.mediaUrl || t["media-url"]; return { openUrl: e, mediaUrl: s } } if (this.isQuanX()) { let e = t["open-url"] || t.url || t.openUrl, s = t["media-url"] || t.mediaUrl; return { "open-url": e, "media-url": s } } if (this.isSurge()) { let e = t.url || t.openUrl || t["open-url"]; return { url: e } } } }; if (this.isMute || (this.isSurge() || this.isLoon() ? $notification.post(e, s, i, o(r)) : this.isQuanX() && $notify(e, s, i, o(r))), !this.isMuteLog) { let t = ["", "==============📣系统通知📣=============="]; t.push(e), s && t.push(s), i && t.push(i), console.log(t.join("\n")), this.logs = this.logs.concat(t) } } log(...t) { t.length > 0 && (this.logs = [...this.logs, ...t]), console.log(t.join(this.logSeparator)) } logErr(t, e) { const s = !this.isSurge() && !this.isQuanX() && !this.isLoon(); s ? this.log("", `❗️${this.name}, 错误!`, t.stack) : this.log("", `❗️${this.name}, 错误!`, t) } wait(t) { return new Promise(e => setTimeout(e, t)) } done(t = {}) { const e = (new Date).getTime(), s = (e - this.startTime) / 1e3; this.log("", `🔔${this.name}, 结束! 🕛 ${s} 秒`), this.log(), (this.isSurge() || this.isQuanX() || this.isLoon()) && $done(t) } }(t, e) }
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/enzospace/jd_Scripts.git
git@gitee.com:enzospace/jd_Scripts.git
enzospace
jd_Scripts
jd_Scripts
main

搜索帮助