-
Notifications
You must be signed in to change notification settings - Fork 484
/
jd_daily_bean.js
13 lines (9 loc) · 38.3 KB
/
jd_daily_bean.js
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
轻松赚豆
jd_daily_bean_wait 任务间隔,默认 5 秒
cron "31 5,18 * * *" script-path=jd_daily_bean.js, tag=轻松赚豆
*/
const $ = new Env('轻松赚豆')
var iil='jsjiami.com.v7';const ii1ill=iii1II;(function(l1iIII,llI1I1,IlIlil,lIli1I,II1il,lllI11,I1lIll){return l1iIII=l1iIII>>0x2,lllI11='hs',I1lIll='hs',function(I1lIli,II1ii,IIIIII,lillII,ii1ilI){const I1lIlI=iii1II;lillII='tfi',lllI11=lillII+lllI11,ii1ilI='up',I1lIll+=ii1ilI,lllI11=IIIIII(lllI11),I1lIll=IIIIII(I1lIll),IIIIII=0x0;const lI1ll1=I1lIli();while(!![]&&--lIli1I+II1ii){try{lillII=-parseInt(I1lIlI(0x206,'KRhk'))/0x1+parseInt(I1lIlI(0x1ea,'Wx&K'))/0x2+-parseInt(I1lIlI(0x24d,'GuVp'))/0x3*(parseInt(I1lIlI(0x1c5,'zl0X'))/0x4)+-parseInt(I1lIlI(0x246,'yKAC'))/0x5+parseInt(I1lIlI(0x2f2,'8!ET'))/0x6*(parseInt(I1lIlI(0x2c3,'e)YD'))/0x7)+parseInt(I1lIlI(0x1bf,'yKAC'))/0x8*(-parseInt(I1lIlI(0x285,'D1J6'))/0x9)+parseInt(I1lIlI(0x2a8,'kewp'))/0xa;}catch(iIiI1){lillII=IIIIII;}finally{ii1ilI=lI1ll1[lllI11]();if(l1iIII<=lIli1I)IIIIII?II1il?lillII=ii1ilI:II1il=ii1ilI:IIIIII=ii1ilI;else{if(IIIIII==II1il['replace'](/[IBftGkgueCUYDJbqwTyQO=]/g,'')){if(lillII===II1ii){lI1ll1['un'+lllI11](ii1ilI);break;}lI1ll1[I1lIll](ii1ilI);}}}}}(IlIlil,llI1I1,function(liil1I,i11ii1,IlIliI,l1iII1,iiill1,lIli1i,IIIII1){return i11ii1='\x73\x70\x6c\x69\x74',liil1I=arguments[0x0],liil1I=liil1I[i11ii1](''),IlIliI=`\x72\x65\x76\x65\x72\x73\x65`,liil1I=liil1I[IlIliI]('\x76'),l1iII1=`\x6a\x6f\x69\x6e`,(0x16c427,liil1I[l1iII1](''));});}(0x2fc,0x1a76a,Iii11l,0xc1),Iii11l)&&(iil=ii1ill(0x300,'aJtd'));const jdCookie=require(ii1ill(0x2b2,'[AqK')),notify=require(ii1ill(0x1ca,'L07R')),common=require('./utils/Rebels_jdCommon'),{H5st,jsTk}=require(ii1ill(0x1e4,'Bbwh')),isNotify=![],floorToken=ii1ill(0x295,'&1^L'),task_map={'taskReceive':'领取任务','taskFinish':ii1ill(0x21d,'0B)g'),'taskReward':ii1ill(0x2ca,'5$!#')},qszdwait=process[ii1ill(0x1de,'&1^L')]['jd_daily_bean_wait']||'5';function iii1II(_0x276931,_0x4978c1){const _0x2496bb=Iii11l();return iii1II=function(_0x4af85d,_0x5d59da){_0x4af85d=_0x4af85d-0x1a9;let _0x153a5f=_0x2496bb[_0x4af85d];if(iii1II['CPVLmE']===undefined){var _0x2bbf43=function(_0x3f4791){const _0x439c8a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x7a8487='',_0x40d871='';for(let _0x48b251=0x0,_0x2f663f,_0x2b3840,_0xffa5fb=0x0;_0x2b3840=_0x3f4791['charAt'](_0xffa5fb++);~_0x2b3840&&(_0x2f663f=_0x48b251%0x4?_0x2f663f*0x40+_0x2b3840:_0x2b3840,_0x48b251++%0x4)?_0x7a8487+=String['fromCharCode'](0xff&_0x2f663f>>(-0x2*_0x48b251&0x6)):0x0){_0x2b3840=_0x439c8a['indexOf'](_0x2b3840);}for(let _0x5be0f2=0x0,_0x3168a6=_0x7a8487['length'];_0x5be0f2<_0x3168a6;_0x5be0f2++){_0x40d871+='%'+('00'+_0x7a8487['charCodeAt'](_0x5be0f2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x40d871);};const _0x34ec72=function(_0x536496,_0xfc8576){let _0x45b133=[],_0x40c0da=0x0,_0x1d6767,_0x4cedd8='';_0x536496=_0x2bbf43(_0x536496);let _0x441ded;for(_0x441ded=0x0;_0x441ded<0x100;_0x441ded++){_0x45b133[_0x441ded]=_0x441ded;}for(_0x441ded=0x0;_0x441ded<0x100;_0x441ded++){_0x40c0da=(_0x40c0da+_0x45b133[_0x441ded]+_0xfc8576['charCodeAt'](_0x441ded%_0xfc8576['length']))%0x100,_0x1d6767=_0x45b133[_0x441ded],_0x45b133[_0x441ded]=_0x45b133[_0x40c0da],_0x45b133[_0x40c0da]=_0x1d6767;}_0x441ded=0x0,_0x40c0da=0x0;for(let _0x7005b6=0x0;_0x7005b6<_0x536496['length'];_0x7005b6++){_0x441ded=(_0x441ded+0x1)%0x100,_0x40c0da=(_0x40c0da+_0x45b133[_0x441ded])%0x100,_0x1d6767=_0x45b133[_0x441ded],_0x45b133[_0x441ded]=_0x45b133[_0x40c0da],_0x45b133[_0x40c0da]=_0x1d6767,_0x4cedd8+=String['fromCharCode'](_0x536496['charCodeAt'](_0x7005b6)^_0x45b133[(_0x45b133[_0x441ded]+_0x45b133[_0x40c0da])%0x100]);}return _0x4cedd8;};iii1II['jEFtmo']=_0x34ec72,_0x276931=arguments,iii1II['CPVLmE']=!![];}const _0x19cb41=_0x2496bb[0x0],_0x14ac09=_0x4af85d+_0x19cb41,_0x530734=_0x276931[_0x14ac09];return!_0x530734?(iii1II['TdbPSc']===undefined&&(iii1II['TdbPSc']=!![]),_0x153a5f=iii1II['jEFtmo'](_0x153a5f,_0x5d59da),_0x276931[_0x14ac09]=_0x153a5f):_0x153a5f=_0x530734,_0x153a5f;},iii1II(_0x276931,_0x4978c1);}let waitTimes=parseInt(qszdwait)*0x3e8,cookie='';function Iii11l(){const ii1ili=(function(){return[...[iil,'YetjsjIUigIaJImbi.TCcDQoBUm.DGvf7wqugOyk==','WOmejatcO8knW7q','oCkTpmobqCo7W5b5ra','AH8zD0StoG','W5nEtCk5WQNcNKqRW6S/tKDq','WQCkW6hdMrFdO8ox','tCorW6qiWQz1WR0wW7ur','ACkax8oj','WQfHWRPhfW','WRtORRNMS4hLKPVLUlrB','WPtdGWZcPce','m8kUna','W5bqDCk0WOdcNf4gW7CWFvjcWRFdUwjdEmopeq','W4jytSkU','W5nEtCk5WQNcNKqHW7W6tq','W4CqgvXwW50','k2pdLmkpW6v/a8kLjZO','W5yCh1XwW53cUSoH','tCkut2NcVa','yLRdQtpdR8o+jfDGW63cT8op','WPBdMhuMWOCXWO8','WRT4a0ldHwpdNSo6bmktFCkiWPddMmoleSoKW5vMha','WR0kW7hdIbFdOSoq','WONdTCkGW6NdOSkQWQ4/WOSHWQe','WP4UlrZcVG','tfddTdtdQ8o3nq','WRf3WOv5zNddOG','CmoeFSoFFYpdPSouWPbkbqRdTa','nCkUW6qRWPW','hSk8DvFcIv3cQmkEpmo9W5dcU8o+vq','6Aco5y2F5AEj5yUY','D8kRpgi','rbDmW4lcJ8kSmGDFcaFcISkrW58','p8oCEsDp','44oB5O+p56wM44cW6k2A5ywk6iYh5y2ciSkqtCktWPJdMG','WPpdVZOokG','CGjVnqW','WRZcJCo+W45r','W4tcPCoJWRxcL8kSWPu4WOK','lmkdm8kTj3xcSq','Fs9mW4bk','tbWusfy','W6e/dwfL','W7GRW60XW5qt','WPfwvX4','EmkLWQi','WPHz6i+j5B6L','CSkTWQZcQSkHuY7cOGG','WOXEua3cUSkAWQFdGYH+','BtTKW5DOfa','rmk0qCoaeW','cmkzmSoera','WP3dIgyWWReQWPVdOCoUW7hdGeGyba','WPvNsIxcMq','W4OZWPm2smoByhpcLw8','l8kMdmohxColW5r/rmkcqKBdSmoDWQRdOCkLW4RdMSoPx2rNWQxcGSopagu','WQOJWP3cG20','WRWelGpcNSkg','oCkOkW','sSk1WRtdPq','5lQs5yMFiUEVMEwiVSod5As36lsYWQhcGG','DGnJn1aBwG','zmkPWQfgWRS','o8kGj8op','ymolW7O9W77dSCocpSoXDmkDWR7cLYe','W4K7WOy5zmolufVcHq','W4O1WR40tCojsNZcHgldTCoLEcPFfmk5WPRdISkz','DmolW7W9W4ddRCoZlCoMCa','rSkMBW','hSkCyKhcQa','wSoic8oDtmozyLa','W6tdGSoiemkG','pSk/WOPxxvD+','cmkOB3pcTfy','W7SVpxmO','AcH3W7S','WP3dKNaN','BCkVWPDZWOe','h8kVC1NcQa','WQhdValcNdxdH8kaeKC','WOW0WPhcPw8','W5JcSmoKWQ7cOCo4W5LEWOWwWPb4DmkKCtZdVxFcUmoCWQy','W4Cmhvf6W4dcRW','nSouxXrF','nSkPWOfqCK96W65YcmkGWPZcGCkH','m2FdICkdW4nY','6z205BMg5A6n5PIzhSkQko+8VUITPos8P+ExN+ADG+wENUwTHowSN+AiGUs6HUEqIui','r8k4WQlcNCkj','owVdI8kqW5jO','ESkaqSoC','m8olWRtcMSkf','W77dN8ognCkB','z8kMBSopmW','g8kFW6ekWRu','yCoRWPBcNq','W7BdMwX5c8oBnHVdTG','4P2TfEAEREIcUUAVQEEJVUwLLoErVbq','amoPWRtcJCkK','Dmk7ELBcVG','qbeHEq','W75yWRhcJ0lcPSoWW7ZcO8kuvZ8','A8knrmohmCkfWPG7xG','cSkRy1dcPa','W7WIW4igW5O','tHDvW4y','oCoXFXa','W6qZfxX7','W40bxvpdQexcOSopCWy8rvNdNsJdVfGHpKpcGmoYlSo4W7FdV8o+W7xcTmoNn25n','W74PhvpdPe7dISoA','WOj5h1JdUa','emk5lftcV1pcS8obk8o5W6dcVW','hSk8DvC','d8kOWOxdIJ0jWPNcJG93WOOf','WOfssIBcL8kyWQ/dGY1LW55AD3K','kmkGoSoA','W5yCtK3dMHZdUCkPFq','WRT3WOjcmMtdSW','W4HzzCkFWP0','WPnYxqhcOa','W53cOCoJWQ3cS8kLWPm','EYHQW64'],...(function(){return[...['W5ryqCkYWOy','qmk1WQ3dOCk3W5hdLc3cQgFdLmorECkH','DmkHWONdMCkW','W7lcPIZcGq7dJ8kBka','cSkrmmoBra','WO83WO3cTxJcSmkd','WO7cL8oFWQyL','BtTG','tSkyWQH9WQa','fCoTW6dcTCoxWOZdPG7cNgJdJCo7','BSo4ASkBamknW7zCCSklBfW','W6NdRWddPW','joITNEAZJowLREI2Imk+4PYRBa','ogFdK8kPW5jPb8kLmJS','h8klWRdcVuhcOLDuDvL7W40lW4FcPSovW7SQWPyWEx8/W6icW4C/','W6xdUSo4','DmonW5e/W4xdV8oziSo3FCkbWQhcKImfW5JcRCkHW5/cPG','W6RdQX7dSsVcT8oT','WQKdW6/dKGa','chJdLCkvW7a','kSocWO/cNmkvWORcLSkMW5/dTSoyWPNcGmoMW4hcHgz5rw0','WQz1WQ5ypxFdS8ort8oaW6SWFujrWOddI8o1WRJcVCoZW73cVfNdJYf8WOG','vSkpWQ3cRCk/','r8k7WRFdPSknW5K','4P6Qf+IePoADHUI8QoIIS+McGEwkNEs7UoMuIoITKcq','hCkCrJVdVxepWOSKWQqekbrI','WPvCvXRcQSkkWQG','eCkjrIRdNsrvW5yTWQuLiHfPwmk4WQP2W77cMYiGW4NcRCkSW4jsoJNdOJbQ','BSk8WP7dLCk8','DqvDW5hcKSkIkHa','m23dGa','zCoUW4m9W4O','WQFcVmoo','WO/dVba7pG','WRn8WOC','W6a3CuNdTW','W6RcImo0WQZcIW','cmkOB1dcTLpcUG','W6BdQmoYjG','cmkTW5G','WPr9WPqJtmoevZ3cS2VdImoWDt5LaW','l8kXWOjjqvD9','jSo6W7aaW4qJW6hcNJ/cR8oaW7S','tbjBzvJdNNPgW7i','WQ1Zm07dN0BdKCoGaa','WQddTrNcU3ldSmkv','iLaLs1byymksW611gNC','nSkZWOvEuuDYWQ5hca','WPddLxyQWQq','ubeMCW','nCo1CXTRB0RcJe8hihbgWOO','DSkKWQlcQ8kDyIi','5lUk5yIfWP7NRRFLIjJcK+AiTowlPaSC6i6U5BY/','W5SIWPe7tmolrwBcIghdHmk6CZ5vjCoXW5VdISkDW6lcJ8kBd8oOWO13vCkrrHbaWOS','zqDKfdCnwCkBW55t','iCkWW6aeWOK','rHftt1JdQa','q8klWR9fWOe','W6FdLgPI','W67dOmoN','W7VdOSo2m8kgEvK','WPhdPJtcMt0','z8k/WQzwWPrIW6q','cCkPWO5lxun+WQu','W5CmdebmW5RcU8oGAwDPWRzHlG','WRpdVWBcLIK','C8kxtg4','WPJcSCodW5PeWOqG','xmkTWOVcLSkk','WQZcTSoDWPC4WPb/WP8JwCoAWOZcO8onWR0','W6tdLhb9p8o2oqBdPmk+','sSk9WRRdQ8kQW5/dJdO','ySoRWPqopG','hSkyrHldGxmFWQ0MWRiSdH5HqW','smoTnapdRWdcQ8kQemoTW7VcSG','WRH0nvhdV3FdNG','fCksvq','W5hcGmoDWR/cTq','iCktjSkfaNRcSmob','WOZdMgmJWPaNWQ/dU8omW7ddH0G','zSkrDgBcOq','lCk4d8oJsW','zSopW68YW6tdSmoriW','f8kFW70h','ESkdtCoJeG','j8oXybrvDa','WO58W5y','ACkax8ojemkUWOW9xmk2WPeXWR3dMG','zSkYCMtcJa','b8kKC1tcJ8kgFuFcJ8kcueldOCkX','WQWfkb/cLSkC','A8o/W6O+W64','C8kVWRf9WP58W7lcJbhcQCodW5rQwHO','W4tcPCoJWRu','dSkGDeBcVCkoBq','tbjBzvJdK3vuW7WuWP4CW5O','aCkGzLVcKSkCzq','5AY05OMp5lQR5yQ9','4PYBWRdMNlJOGOJMRzVNOANLPkhNK7GB','j8o8W7CbW4qHW5NcSdhcMmoKW5S','W4ira08s','WPe5WPFcTKVcOSki','W6C7W6a1W4uiza','pCkEWQzyDa','ubfNW4RcSSk3iGDDdJdcUSkCW5tdRvRdPCkhjbOhvCk4WQayW64DWRO','WONdTGW/iMJdL8ksW4i','wSogWPmzgW','lmkOnmoaymolW5b5umks','WOPywq','uWjkW4RcSSkKlHnf','WOVdTcq3pNJdPmkpW5dcI3yhW7HNW71QvmkfWRjFm8osWOyjWRRdULdcGG','5AEL5y+K5A+65lUR77+B5lII5Pw15OM55P+h5lMw5yU36yoJ5Bwl57QO5AYV5OUT772y','WO7dMKSRWOW3WPNdVComW6FdHMqEgeRcKmoFACkuWOFcGtGOgmkOWRlcGdO','WPBdIwaYWPf5W5pcOmohW6ddKf4wgeRcLmoEzmoyWPtcLGHVbSk4W7pcGtVdUCovWRRdOG8','WQ5yW6pcJuy','DSkVWQrBWR9KW7O','W7WTfMjY','W4rcsHpcRW','d8kZCLpcRNhcSSkdnmoXW7y','a8kAvmofA8o/AdRdR8odWQNdMW','8jw7Lrq','ECkVWRzgWPb2W7i'],...(function(){return['W4awfvDX','gSkvemoxxmoRAa','W7ZdQmoSkmkszvLxu8op','W5hdPSotcSkg','FYTzccW','bCoDqt9Y','WO49WPK','WQvMWOnypwtdV8ofvW','ASkex8oGlmkSWPWBxSkGWRKxWRFdMCkR','tH9aA3NdTw5aW7a9WRqaW4RcLW','WR/cHCohWOCo','W5hcLSo0WRpcIW','W5/cOmo4WONcNG','ubfNW4dcTmkIkrTzarVcLCkuW53dVgddS8kamrG','EWb/dGO','D8oaC8oDka','W7xcOftdGx7cTSkgiLFcMCochG','W68wWQaGAa','WO3dLhmSWQST','5lUQ5yUhta','imoKW7i','FYzUW78','zmkRixC','vCkWCwpcTmk+wq','WPVdP8oGW4hdJ8obWQXlWRlcOCkpmG','kSkylSk+ja','Amk9WRtdQCkqW5VdHq','WP3dNgaHWOO','lhBdLCknW5L9hCkIla','r8kzWR9JWOe','pCo5Fbj6yKtcKg08','CmkRWRfu','WQv5WPHbaxBdUa','W7JdGxDMcSkLEeddTSkMnmk5v8kdgG5NeuO+WPO','f8k5W4BdJJqjWPa','W4zErSkJWO3cJW','W7/cLSouWPVcGmkDWQiWWR4TWQyAumoztW','jCk/WRL/yW','d8krW6K','WOyZWORcP0RcUmktjCo1pColg3vt','aCkTW5ZdIqShWOldKrHZWRObWPDX','WO7cOSoEW7P3WOmVWQtdUdz3Bq','dCkFdCog','e8kLhSo8xG','CKBdSqJdGa','aSkj6i2p5B+R','W6ldUSo1kSk1yv4qq8oihbxcTb4','W5Gwgq','sa91W55m','W6emFLBdGG','sZP5A00','WQnACZlcVG','e8kkW5eCWOX0','W7RcH8oDWRhcHa','emkXAGddMG','W4HowSkZWQhcNL8g','WQtdKSoWW6xdRSo1WRrJWPlcNSkgmt8zWOS','44cW5O6M56sc44kY6kYR5yAl6i+W5y6JFWiRWO7cNmoF','W4S4z1tdKG','WOJdR8oqW4u','WQpdSrNcKHtdRmkufexcU8oUiSkoga','W6BdSmoVbCkZ','u8kftwpcOq','vb0tD1y','o8o/Dq','yCoqW5ysW6m','6lwL5yYb5PAN5PAJ','WQNcOCogWQGKWPHkWQOLt8oNWORcNG','dmkVWRTGrW','W4PCxSkTWQm','WPOmiZxcGG','t8oiWRW7aq','WPJcRSoyW4n4WPyNWQ/dSG','W6ZdPSoXjG','wSoiWOSxj8okdCoHW5D6oW','WQ5BDJNcOq','amk0W5ZdUdKAWPBdJGHfWO0C','W6y7W60WW4WACa','W6ddQXNdIN/cO8o8','WQhcGJiKsCkOaX3dKSkZoCoX','xCk6of8slq/LV77LP7dJGypKU63KUj/OTiVLJi4','kSocWO/cLSktWP/cNCk6W5VdUCoZWRBcImoVW5dcVNb+ug9hW70gySkycdW3','WPVcU8oyW4T7WOikWQJdVWq','b8kPW4NdHHyDWPO','qmoZWQijpa','pSkOWOroyeDAWQ53cmkBW70','W6tdPSo4','rLddQrldIW','W57cPCo9WRS','ymkRWRzE','WRjbAsxcUq','o8oIWPpcNCkl','W4FcPCo5WQO','WQJORB7MS53LKO7LUyaS','rCkKWQNdRmknW53dGcVcOM3dUCkrzCoPxrqZp1SEuK3cHCoeW7Xyjw7dHr0IsqO','W6qLW4qdntdcOCkta8ofWQTwlqerW5hdMSo3W7tcVmkMWPddOrRcJI0VWOJcTYJcPYiwBSoyWQK','C8kWWQXfW50XW7pcVrBcTSojW6LHefxdLf4','WRCHWPVcTfFcTSklmG','WOG7WPdcOvVcSSkhoCoanW','zCktxMVcUcOgWRqnWRpdL8ohW7hcHG','CCkmWQ/cVmkE','W589qa','s8otWQaYoW','sSoiWOWD','nSk4W70/WP8','WP7dGItcMaG','B8k3WPBdRSkv','qSogWP8','vbDlW4JcMCkTjdXy','o8oxCtjR','CWL4eWajqa','xmkIWRldQmk+','zmkNWOnAWOS','i8kuE1VcSq','W7XDWRNcIuBcPSkuW7tcISkGyddcPq','5lIT5yQZWQO','W7aZge8y','W6aVW7a9W6uvDdeh','tH9aAW'];}())];}())];}());Iii11l=function(){return ii1ili;};return Iii11l();};const cookiesArr=Object['keys'](jdCookie)[ii1ill(0x1e3,'F#RQ')](IllI1I=>jdCookie[IllI1I])[ii1ill(0x304,'HoRz')](liIii=>liIii);!cookiesArr[0x0]&&($['msg']($[ii1ill(0x1c7,'AFAl')],ii1ill(0x2ce,'Y4nH')),process['exit'](0x1));!(async()=>{const II1iI=ii1ill,II1ll1={'YRIkO':function(IlI1Ii,i11I1I){return IlI1Ii<i11I1I;},'TvWOA':function(l1il1i,ll1){return l1il1i===ll1;},'sMESU':II1iI(0x2df,'8!ET'),'jGEgp':II1iI(0x26a,'[AqK'),'RVjjh':function(iI1llI,llliii,IllI11){return iI1llI(llliii,IllI11);}};console[II1iI(0x1dc,'jZtq')](II1iI(0x302,'Po$5')),notify[II1iI(0x1d3,'zl0X')]({'title':$[II1iI(0x1ac,'vO^&')]});for(let l1llIi=0x0;II1ll1[II1iI(0x29f,'yKAC')](l1llIi,cookiesArr[II1iI(0x301,'HoRz')]);l1llIi++){if(II1ll1[II1iI(0x290,'dd#w')](II1iI(0x20c,'eva('),II1ll1[II1iI(0x30e,'eva(')])){$[II1iI(0x1a9,'GuVp')]=l1llIi+0x1,cookie=cookiesArr[l1llIi],common['setCookie'](cookie),$[II1iI(0x1d9,'6mT[')]=decodeURIComponent(common['getCookieValue'](cookie,II1ll1[II1iI(0x308,'lJ72')])),$['UA']=common[II1iI(0x28d,'RUco')]($[II1iI(0x297,'2ylv')]),$[II1iI(0x235,'%%Oz')]=notify['create']($[II1iI(0x306,'GNF6')],$[II1iI(0x1fb,'aJtd')]),$[II1iI(0x203,'zl0X')]='',console[II1iI(0x208,'@C[M')](II1iI(0x286,'vO^&')+$['index']+'】'+($['nickName']||$['UserName'])+'******\x0a'),await Main(),common[II1iI(0x232,'KRhk')]();if($[II1iI(0x2f5,'KRhk')])break;await $[II1iI(0x292,'e)YD')](II1ll1['RVjjh'](parseInt,0x7d0+0x64,0xa));}else{let i11I11=II1iI(0x2a9,'&1^L')+(IiilIi[II1iI(0x219,'e)YD')]?.[II1iI(0x28e,'e)YD')]||'')+']'+IiilIl[iii1Ii[II1iI(0x272,'yKAC')]]+'成功';iii1Il?.[II1iI(0x2b3,'lJ72')]?.['beanInfo']?.[II1iI(0x289,'F#RQ')]&&(i11I11+=II1iI(0x2da,'qJu5')+IlI1l?.[II1iI(0x2cb,'$tE*')]?.['beanInfo']?.[II1iI(0x1ef,'H9I2')]+'京豆'),i1lI[II1iI(0x265,'qJu5')](i11I11);}}isNotify&¬ify[II1iI(0x1c9,'HoRz')]()&&(II1iI(0x29a,'H9I2')!==II1iI(0x2d4,'E$I(')?(notify['appendContent']('\x0a'),await notify['push']()):(delete I1l1Il[II1iI(0x2f7,'E$I(')],delete llIll1[II1iI(0x2b1,'kewp')]['Content-Type']));})()[ii1ill(0x251,'tLYz')](ii1I1l=>$[ii1ill(0x1f4,'Po$5')](ii1I1l))['finally'](()=>$[ii1ill(0x27f,'5$!#')]());async function Main(){const llI1II=ii1ill,ii1I1i={'nypFg':function(llliI,iI1li1){return llliI!==iI1li1;},'ESRIy':llI1II(0x266,'E$I('),'PJkNd':function(lllii1,liIli){return lllii1===liIli;},'BNnhl':llI1II(0x1ec,'tLYz'),'UFsSz':function(liIll,IilIi1){return liIll===IilIi1;},'wUwmB':function(iI1liI,l1lIiI){return iI1liI!=l1lIiI;},'HThPm':function(llliiI,IilIiI){return llliiI(IilIiI);},'aaDGt':llI1II(0x2e5,'sJ4e'),'aDMag':function(i1i1I1,IlII1,IiI11){return i1i1I1(IlII1,IiI11);},'ddsPq':function(lli,liIlI){return lli*liIlI;},'xvkhZ':function(lll,llli1){return lll(llli1);},'SSzVp':function(iIli1i,iI1lii){return iIli1i*iI1lii;},'RMSJJ':llI1II(0x1f2,'Wx&K'),'hlAPz':'pg_interact_interface_invoke','jktzK':'hLkRw','pmFoz':function(IilIii,iI1lil){return IilIii(iI1lil);},'wbfKQ':function(l1lIi1,iIli1l){return l1lIi1+iIli1l;},'UPcuw':function(i1i1II,liiIIl){return i1i1II*liiIIl;},'IfCyU':'SeVJD','sqIJW':'信用卡','xaofP':llI1II(0x1e0,'e)YD'),'NmJVi':function(iil1iI,IlIllI){return iil1iI(IlIllI);},'JhGUX':function(il1i1I,lI1li1,iI11II){return il1i1I(lI1li1,iI11II);},'WukfN':function(iIII1I,ilil1i){return iIII1I*ilil1i;},'SsvOJ':function(IlIIi,IiI1l){return IlIIi*IiI1l;},'aGCbv':function(illlII,iIII11){return illlII!=iIII11;},'pcdsJ':llI1II(0x26e,'(f9x'),'YIzmk':function(IiI1i,llll1){return IiI1i==llll1;},'uoKXz':'taskReceive','lGcGS':function(lil11l,i1i1Il,I1lIl1){return lil11l(i1i1Il,I1lIl1);},'aRdmY':function(lil11i,IlIIl){return lil11i+IlIIl;},'WAzpp':function(lI1liI,i1i1Ii){return lI1liI*i1i1Ii;},'VndtE':function(lllii,iI11Ii){return lllii===iI11Ii;},'sPtOa':function(iIII1l,lllil){return iIII1l+lllil;},'EmMXF':function(iI11Il,iIII1i){return iI11Il*iIII1i;},'Cpmoi':function(iil1i1,il1i11){return iil1i1+il1i11;},'uEckX':function(IlIll1,IlIII){return IlIll1*IlIII;},'SyaXZ':function(ilil1l,illlIi){return ilil1l!==illlIi;},'TsrfJ':llI1II(0x1c2,'jZtq')},llI=await common[llI1II(0x1b4,'dd#w')](cookie);if(!llI&&typeof llI===llI1II(0x2a4,'Wx&K')){if(llI1II(0x217,')7*A')!==llI1II(0x2c8,'[AqK')){console[llI1II(0x1da,'HoRz')]('账号无效');return;}else i1ilii+=',\x20获得'+iIIII1?.[llI1II(0x2eb,'#OK2')]?.['beanInfo']?.['beanNum']+'京豆';}try{$[llI1II(0x1d6,'dd#w')]=![],$[llI1II(0x2c1,'Y4nH')]='',await sendRequest('pg_channel_page_data');if($[llI1II(0x2f5,'KRhk')]||$[llI1II(0x237,'8!ET')])return;if($[llI1II(0x2b8,'Jkhc')]){if(ii1I1i[llI1II(0x273,'5$!#')](ii1I1i['ESRIy'],llI1II(0x20d,'8!ET'))){const illlIl=i1IIi[llI1II(0x298,'2ylv')]?IIII1I[llI1II(0x1eb,'aJtd')][llI1II(0x21c,'GuVp')]:null;illlIl&&(l1l1II+='任务[签到]成功,\x20获得'+illlIl+'京豆');}else{let i11ill=![];for(let IIIIIi of $[llI1II(0x2c1,'Y4nH')]?.[llI1II(0x21b,'Po$5')]||[]){if($[llI1II(0x1ff,'J)zx')])break;$[llI1II(0x1e1,'KRhk')]=![],$[llI1II(0x1dd,'Zw#Z')]=IIIIIi?.[llI1II(0x236,'qJu5')];if(IIIIIi?.['code']==='SIGN_ACT_INFO'){$[llI1II(0x2e0,'tLYz')]=IIIIIi[llI1II(0x311,'lJ72')]['signActInfo']['currSignCursor'],$[llI1II(0x2ed,'Bbwh')]=IIIIIi?.['id'],$[llI1II(0x25d,'2ylv')]=llI1II(0x248,'tLYz');for(let I1lIil of IIIIIi[llI1II(0x2db,'H9I2')][llI1II(0x2ba,'Jkhc')][llI1II(0x2b0,'Jkhc')]){ii1I1i['PJkNd'](ii1I1i[llI1II(0x1d2,'H9I2')],ii1I1i[llI1II(0x1f3,'[AqK')])?ii1I1i[llI1II(0x29e,'[AqK')](I1lIil['signCursor'],$[llI1II(0x1fc,'qJu5')])&&(ii1I1i['wUwmB'](I1lIil[llI1II(0x227,'#OK2')],0x0)&&(llI1II(0x240,'jZtq')==='tVnXY'?(i11ill=!![],await ii1I1i['HThPm'](sendRequest,ii1I1i[llI1II(0x27d,'r5Ve')]),await $[llI1II(0x305,'lJ72')](ii1I1i[llI1II(0x223,'aJtd')](parseInt,ii1I1i['ddsPq'](waitTimes,0x1)+0x1f4,0xa))):delete Illl1i['params'])):iIIl1I['log'](llI1II(0x30c,'RUco')+I1iIli+llI1II(0x2b5,'vXOY')+(lI1Ill['message']||lI1Ili));}}if(ii1I1i[llI1II(0x2d6,'qJu5')](IIIIIi?.[llI1II(0x2f8,'tLYz')],'LIMIT_TASK_LIST')&&IIIIIi[llI1II(0x30b,'D1J6')]&&IIIIIi['floorData'][llI1II(0x205,'@C[M')]&&IIIIIi[llI1II(0x2ae,'#OK2')][llI1II(0x201,'jZtq')][llI1II(0x1ee,'vO^&')]){$[llI1II(0x2a2,'6mT[')]=IIIIIi[llI1II(0x1e8,'Y4nH')][llI1II(0x218,'%%Oz')]['beanShortTasks'][0x0]['taskEncId'];let IIIl1l=IIIIIi[llI1II(0x1e7,'Po$5')][llI1II(0x23e,'lJ72')][llI1II(0x299,'eva(')][0x0]['taskStatus'];if(IIIl1l==0x0)i11ill=!![],$[llI1II(0x1d5,'@C[M')]=llI1II(0x280,'r5Ve'),await ii1I1i[llI1II(0x2a5,'zl0X')](sendRequest,llI1II(0x250,'zl0X')),await $[llI1II(0x2d8,'dd#w')](ii1I1i[llI1II(0x209,'e)YD')](parseInt,ii1I1i[llI1II(0x253,'%%Oz')](waitTimes,0x1)+0x1f4,0xa)),$[llI1II(0x1bd,'zl0X')]=ii1I1i[llI1II(0x23b,'vO^&')],await sendRequest(ii1I1i[llI1II(0x2cf,'Zw#Z')]),await $[llI1II(0x1f6,'D1J6')](ii1I1i[llI1II(0x214,'eva(')](parseInt,waitTimes*0x1+0x1f4,0xa));else{if(IIIl1l==0x1){if(ii1I1i[llI1II(0x1ad,'qJu5')](ii1I1i[llI1II(0x27b,'Jkhc')],llI1II(0x2cd,'vO^&')))$[llI1II(0x213,'lJ72')]='taskReward',await ii1I1i[llI1II(0x2a6,'%%Oz')](sendRequest,llI1II(0x287,'GNF6')),await $['wait'](ii1I1i['aDMag'](parseInt,ii1I1i[llI1II(0x210,'lJ72')](ii1I1i[llI1II(0x1c0,'#OK2')](waitTimes,0x1),0x1f4),0xa));else{IiilI1[llI1II(0x25c,'[AqK')](llI1II(0x278,'hUYq'));return;}}}}let IIIIIl=IIIIIi?.[llI1II(0x2fb,'yKAC')]?.[llI1II(0x24e,'(f9x')]?.['taskInfoList']?.[llI1II(0x259,'Jkhc')](i11ili=>i11ili?.[llI1II(0x2bd,'qJu5')]?.['beanNum'])||[];for(let iil1l1 of IIIIIl){if(llI1II(0x1df,'8Sgq')===ii1I1i[llI1II(0x1b0,'Y4nH')]){$[llI1II(0x1fe,'eva(')]=iil1l1;let lllli=iil1l1?.[llI1II(0x20b,'tLYz')],iiili1=$[llI1II(0x28f,'%%Oz')]?.[llI1II(0x28b,'aJtd')]?.['browseTime']||0x0;if([ii1I1i['sqIJW']]['some'](ill11i=>iil1l1[llI1II(0x2e7,'zl0X')]['includes'](ill11i))){if(llI1II(0x30d,'GNF6')===ii1I1i[llI1II(0x309,'[AqK')])for(let lllill=0x0;lllill<0x5;lllill++){$[llI1II(0x2c9,'KRhk')]='taskReceive',await ii1I1i['NmJVi'](sendRequest,llI1II(0x22a,'Zw#Z'));if($[llI1II(0x258,'F#RQ')])break;await $[llI1II(0x24c,'$tE*')](ii1I1i[llI1II(0x1d8,'zl0X')](parseInt,waitTimes*0x1+0x1f4,0xa)),$[llI1II(0x272,'yKAC')]='taskFinish',await ii1I1i[llI1II(0x230,'qJu5')](sendRequest,ii1I1i['hlAPz']),await $['wait'](ii1I1i[llI1II(0x2ff,'vO^&')](parseInt,ii1I1i['WukfN'](waitTimes,0x1)+0x1f4,0xa)),$['dataSourceCode']=ii1I1i['RMSJJ'],await sendRequest(llI1II(0x1d1,'&1^L')),await $[llI1II(0x1bb,'E$I(')](ii1I1i[llI1II(0x1db,')7*A')](parseInt,ii1I1i[llI1II(0x262,'RUco')](waitTimes,0x1)+0x1f4,0xa));}else ilI1ll['outFlag']=!![],Iillii[llI1II(0x1cd,'AFAl')]&&l1lIli['message']['fix'](lIIiiI);}switch(lllli){case 0x0:if(ii1I1i[llI1II(0x291,'GNF6')](iiili1,0x0)||IIIIIi?.[llI1II(0x271,'(f9x')]===ii1I1i[llI1II(0x2ea,'%%Oz')]||ii1I1i[llI1II(0x2a7,'KRhk')](iil1l1?.['finishTerm'],0xb)||$[llI1II(0x221,'2ylv')])break;i11ill=!![],$[llI1II(0x215,'GuVp')]=ii1I1i['uoKXz'],await sendRequest(ii1I1i[llI1II(0x1aa,'vXOY')]),await $['wait'](ii1I1i[llI1II(0x2a3,'vO^&')](parseInt,ii1I1i[llI1II(0x241,'e)YD')](ii1I1i[llI1II(0x1f5,'%%Oz')](waitTimes,0x1),0x1f4),0xa));case 0x1:if(iiili1!=0x0||ii1I1i['VndtE'](IIIIIi?.[llI1II(0x2f8,'tLYz')],llI1II(0x25a,'e)YD'))||iil1l1?.['finishTerm']==0xb||$[llI1II(0x207,'Y4nH')])break;i11ill=!![],$[llI1II(0x2ec,')7*A')]=llI1II(0x202,'D1J6'),await ii1I1i['NmJVi'](sendRequest,ii1I1i[llI1II(0x2d5,'Z@hH')]),await $[llI1II(0x292,'e)YD')](ii1I1i[llI1II(0x268,'Po$5')](parseInt,ii1I1i[llI1II(0x2e1,'dd#w')](ii1I1i[llI1II(0x269,'dd#w')](waitTimes,0x1),0x1f4),0xa));case 0x2:if($[llI1II(0x1f8,'5$!#')])break;i11ill=!![],$[llI1II(0x23f,'Po$5')]=llI1II(0x2bc,'HoRz'),await ii1I1i[llI1II(0x275,'Z@hH')](sendRequest,llI1II(0x1d1,'&1^L')),await $[llI1II(0x292,'e)YD')](ii1I1i['lGcGS'](parseInt,ii1I1i[llI1II(0x2f6,'0B)g')](ii1I1i[llI1II(0x1b9,'dd#w')](waitTimes,0x1),0x1f4),0xa));break;}}else II11II+='任务[签到]成功,\x20获得'+Ii1iI1+'京豆';}}!i11ill&&(ii1I1i[llI1II(0x303,'H9I2')](ii1I1i[llI1II(0x274,'eva(')],llI1II(0x267,'VGRI'))?console[llI1II(0x2b7,'#OK2')](llI1II(0x22b,'sJ4e')):Iliil1[llI1II(0x1dc,'jZtq')](''+i1III[llI1II(0x23d,'&1^L')](Ii1iIi)));}}}catch(IliiiI){console[llI1II(0x28c,'5$!#')](llI1II(0x1d4,'dd#w')+IliiiI);}}async function handleResponse(Ill11,liiIII){const lIli1l=ii1ill,li1i11={'hSOWh':function(iI11I1,il1i1l){return iI11I1==il1i1l;},'CnsVV':lIli1l(0x22c,'tLYz'),'QCdqi':function(IlIlll,IIIl1I){return IlIlll===IIIl1I;},'jfhqo':'odkBq','JCMoV':lIli1l(0x1cf,'HoRz'),'XzDWR':lIli1l(0x220,'0B)g'),'NgsAj':function(iil1ii,IlIlli){return iil1ii===IlIlli;},'LdMRm':lIli1l(0x239,'5$!#'),'XjaLx':lIli1l(0x204,'r5Ve'),'JbplW':'Limited'};try{switch(Ill11){case lIli1l(0x1cc,')7*A'):if(liiIII['success']===!![]&&liiIII[lIli1l(0x260,'8!ET')])$['pg_channel_page_data']=liiIII[lIli1l(0x255,'%%Oz')];else liiIII['message']?lIli1l(0x2f9,'%%Oz')!==lIli1l(0x25b,'aJtd')?l1l1I1[lIli1l(0x2b9,'Jkhc')]['argMap'][lIli1l(0x282,'F#RQ')]={'browseTrxId':I1iIll(I1lliI[lIli1l(0x28f,'%%Oz')]?.['browseInfoVO']?.['browsePageVOS']?.[0x0]?.['id']||0x0)}:(console[lIli1l(0x1dc,'jZtq')](liiIII['message']),li1i11['hSOWh'](liiIII[lIli1l(0x2c5,'RUco')],'未登录')&&($[lIli1l(0x2af,'Z@hH')]=!![])):console['log'](''+JSON[lIli1l(0x27e,'J)zx')](liiIII));break;case li1i11['CnsVV']:if(li1i11['QCdqi'](liiIII[lIli1l(0x2fe,'qJu5')],!![])&&liiIII[lIli1l(0x29d,'r5Ve')]){if(lIli1l(0x2f1,'KRhk')===li1i11[lIli1l(0x244,'Wx&K')])I1llii['log'](''+lilIll[lIli1l(0x229,'6mT[')](l1i111));else{let i11ilI=lIli1l(0x249,'Wx&K')+($['task']?.[lIli1l(0x1e2,'5$!#')]||'')+']'+task_map[$['dataSourceCode']]+'成功';liiIII?.['data']?.[lIli1l(0x20e,')7*A')]?.[lIli1l(0x22f,'%%Oz')]&&(lIli1l(0x2b6,'yKAC')===li1i11[lIli1l(0x26b,'e)YD')]?(llIlii===0x193&&(lIIiii[lIli1l(0x1e5,'aJtd')]=!![]),IIlil[lIli1l(0x23c,'2ylv')](ilI1lI),IiiIll&&(iI1lli['outFlag']=!![],ll1iI[lIli1l(0x21a,'GuVp')]&&I1l1II[lIli1l(0x1ba,'e)YD')][lIli1l(0x2e6,'#OK2')](IIli1I))):i11ilI+=lIli1l(0x263,'r5Ve')+liiIII?.[lIli1l(0x30f,'Z@hH')]?.[lIli1l(0x20a,'hUYq')]?.[lIli1l(0x289,'F#RQ')]+'京豆'),console['log'](i11ilI);}}else liiIII['message']?['不足'][lIli1l(0x24b,'E$I(')](llllI=>liiIII[lIli1l(0x1b7,'&1^L')]['includes'](llllI))&&(li1i11[lIli1l(0x2c4,'sJ4e')](li1i11['XzDWR'],lIli1l(0x2d1,'J)zx'))?Iliill[lIli1l(0x228,'dd#w')]('任务[签到]失败:\x20'+IIII11[lIli1l(0x1c1,'2ylv')]):$[lIli1l(0x283,'vXOY')]=!![]):console['log'](''+JSON[lIli1l(0x229,'6mT[')](liiIII));break;case'signIn':if(li1i11['NgsAj'](liiIII[lIli1l(0x1fa,'%%Oz')],!![])&&liiIII[lIli1l(0x2ac,'Po$5')]){const iil1il=liiIII?.[lIli1l(0x1b2,'KRhk')][lIli1l(0x225,'Zw#Z')];let ilil1I='';for(let i11il1 of iil1il){const ii1iiI=i11il1[lIli1l(0x254,'vO^&')]?i11il1[lIli1l(0x2dc,'dd#w')][lIli1l(0x2f4,'aJtd')]:null;ii1iiI&&(li1i11[lIli1l(0x261,'#OK2')]!==li1i11['XjaLx']?ilil1I+=lIli1l(0x1f0,'L07R')+ii1iiI+'京豆':II1liI={...IlI1i1,...l1lIl1});}console['log'](ilil1I);}else liiIII['message']?console[lIli1l(0x2a1,'r5Ve')](lIli1l(0x2e8,'8!ET')+liiIII['message']):console[lIli1l(0x29b,'8Sgq')](''+JSON[lIli1l(0x252,'HoRz')](liiIII));break;case li1i11[lIli1l(0x2be,'eva(')]:break;}}catch(ilil11){console[lIli1l(0x276,'vO^&')](lIli1l(0x21e,'vO^&')+Ill11+lIli1l(0x293,'5$!#')+(ilil11['message']||ilil11));}}async function sendRequest(illlI1){const lillIi=ii1ill,IIIl11={'cdxJi':lillIi(0x245,'hUYq'),'HlHSY':lillIi(0x224,'6mT['),'ZRmHQ':lillIi(0x2f0,'eva('),'IUjhP':function(illIiI,lI1lli){return illIiI===lI1lli;},'woFTo':function(Ill1l,llI1Il){return Ill1l(llI1Il);},'ezXNN':lillIi(0x257,'D1J6'),'iLXZt':lillIi(0x2bb,'qJu5'),'PuPYT':lillIi(0x212,'Bbwh'),'UDAwM':lillIi(0x242,'e)YD'),'lKWSt':lillIi(0x24f,'hUYq'),'nfocv':lillIi(0x294,'zl0X'),'KcOnq':lillIi(0x1ae,'VGRI'),'FRbMf':function(ii1iii,i11iil){return ii1iii===i11iil;},'bEAGF':lillIi(0x1c3,'Po$5'),'vVYvO':function(Ill1i,ii1iil){return Ill1i<ii1iil;},'wsKvD':function(lllI1l,i11iii){return lllI1l!==i11iii;},'UajXU':lillIi(0x2e4,'2ylv'),'hnOHu':function(llI1Ii,lllI1i){return llI1Ii!==lllI1i;},'nZZuI':'qLdpf'};if($['runEnd'])return;let I1lIi1='',liiIIi=null,lil11I=null,Iliii1=lillIi(0x30a,'L07R'),iIiIi={},iil1ll={};switch(illlI1){case lillIi(0x1d0,'GNF6'):iil1ll={'appId':IIIl11[lillIi(0x2d0,'Wx&K')],'functionId':lillIi(0x2ee,'Bbwh'),'appid':lillIi(0x1b1,'KRhk'),'body':{'paramData':{'token':floorToken,'channel':'','upstreamChannel':'','upstreamChannel':'APP'},'argMap':{'source':lillIi(0x26d,'Jkhc'),'ubb_loc':'app.hy-page.hy-bbx.yz-hy-bbx','ubb_info':'eyJwIjoiYnRwIn0%3D'},'riskInformation':{}},'version':lillIi(0x24a,'%%Oz'),'t':!![]},iIiIi=await H5st[lillIi(0x1e9,'yKAC')](iil1ll),I1lIi1=lillIi(0x2fd,'e)YD'),liiIIi=iIiIi[lillIi(0x2e2,'Bbwh')];break;case IIIl11[lillIi(0x200,'H9I2')]:let li1i1l=$[lillIi(0x1ed,'Z@hH')]?.[lillIi(0x2d2,'e)YD')]||$[lillIi(0x2ab,'vXOY')];iil1ll={'appId':'a7c04','functionId':IIIl11[lillIi(0x281,'dd#w')],'appid':lillIi(0x233,'8!ET'),'body':{'floorToken':$[lillIi(0x1bc,'Jkhc')],'dataSourceCode':$[lillIi(0x2cc,'6mT[')],'argMap':{'launchChannel':IIIl11['ZRmHQ'],'channel':'','taskEncId':li1i1l}},'riskInformation':{},'version':'4.7'};IIIl11[lillIi(0x2de,'lJ72')]($['dataSourceCode'],lillIi(0x238,'5$!#'))&&(lillIi(0x1f9,'yKAC')==='VvYjz'?iil1ll['body'][lillIi(0x2dd,'E$I(')][lillIi(0x25f,'J)zx')]={'browseTrxId':IIIl11['woFTo'](Number,$[lillIi(0x20f,'[AqK')]?.[lillIi(0x28b,'aJtd')]?.[lillIi(0x279,'jZtq')]?.[0x0]?.['id']||0x0)}:lIIilI={...II1li1,...l1lIlI});iIiIi=await H5st[lillIi(0x284,'AFAl')](iil1ll),I1lIi1=IIIl11['ezXNN'],liiIIi=iIiIi[lillIi(0x288,'J)zx')];break;case IIIl11[lillIi(0x26c,'@C[M')]:iil1ll={'appId':lillIi(0x231,'VGRI'),'functionId':IIIl11[lillIi(0x2aa,'0B)g')],'appid':'jd-bean-task','body':{'floorToken':$[lillIi(0x226,'r5Ve')],'dataSourceCode':$[lillIi(0x25e,'F#RQ')],'argMap':{'currSignCursor':$['currSignCursor'],'signActId':$[lillIi(0x1b6,'VGRI')]}},'riskInformation':{},'version':IIIl11[lillIi(0x27a,'aJtd')]},iIiIi=await H5st[lillIi(0x2e9,'Wx&K')](iil1ll),I1lIi1=IIIl11[lillIi(0x277,')7*A')],liiIIi=iIiIi['paramsData'];break;case lillIi(0x2ad,'sJ4e'):iil1ll={'appId':lillIi(0x22e,'kewp'),'functionId':lillIi(0x2e3,'#OK2'),'appid':lillIi(0x1b3,'F#RQ'),'body':{'floorToken':$[lillIi(0x1fd,'yKAC')],'dataSourceCode':$[lillIi(0x213,'lJ72')],'argMap':{'launchChannel':IIIl11[lillIi(0x1c4,'%%Oz')],'channel':'','taskEncId':$['taskEncId']}},'riskInformation':{},'version':IIIl11[lillIi(0x1be,'zl0X')]},iIiIi=await H5st[lillIi(0x2c6,'&1^L')](iil1ll),I1lIi1=IIIl11[lillIi(0x29c,'r5Ve')],liiIIi=iIiIi[lillIi(0x2ef,')7*A')];break;default:console['log']('❌\x20未知请求\x20'+illlI1);return;}const iiilil={'eid':'','x-api-eid-token':''};liiIIi&&(liiIIi={...liiIIi,...iiilil});lil11I&&(IIIl11[lillIi(0x247,'Bbwh')]!==IIIl11[lillIi(0x2f3,'5$!#')]?lil11I={...lil11I,...iiilil}:II1Il[lillIi(0x243,'6mT[')]=lilIlI[lillIi(0x2cb,'$tE*')]);const iil1li={'url':I1lIi1,'method':Iliii1,'headers':{'accept':lillIi(0x1f1,'Bbwh'),'content-type':IIIl11[lillIi(0x2fc,'2ylv')],'Referer':lillIi(0x22d,'tLYz'),'x-referer-page':IIIl11[lillIi(0x2a0,'zl0X')],'origin':lillIi(0x1d7,'@C[M'),'X-Requested-With':'com.jingdong.app.mall','x-rp-client':'h5_1.0.0','User-Agent':$['UA'],'accept-language':'zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7','Accept-Encoding':lillIi(0x296,'%%Oz'),'Cookie':cookie},'params':lil11I,'data':liiIIi,'timeout':0x7530};IIIl11['FRbMf'](Iliii1,IIIl11['bEAGF'])&&(delete iil1li[lillIi(0x255,'%%Oz')],delete iil1li[lillIi(0x2c0,'tLYz')][lillIi(0x2bf,'RUco')]);!lil11I&&delete iil1li[lillIi(0x211,'vO^&')];const lillIl=0x1;let iIiIl=0x0,iiilii=null,li1i1i=![],IlIli1=null;while(IIIl11[lillIi(0x307,'5$!#')](iIiIl,lillIl)){iIiIl>0x0&&await $[lillIi(0x1b5,'#OK2')](0x3e8);const iIiII=await common[lillIi(0x2c2,'kewp')](iil1li);if(!iIiII[lillIi(0x222,'vXOY')]){IlIli1=iIiII['status'],iiilii='🚫\x20'+illlI1+lillIi(0x1c8,')7*A')+iIiII[lillIi(0x2fa,'KRhk')],iIiIl++;continue;}if(!iIiII?.[lillIi(0x29d,'r5Ve')]){iiilii=lillIi(0x234,'Po$5')+illlI1+'\x20请求失败\x20➜\x20无响应数据',iIiIl++;continue;}await handleResponse(illlI1,iIiII[lillIi(0x2f7,'E$I(')]),li1i1i=![];break;}iIiIl>=lillIl&&(IIIl11[lillIi(0x2b4,'&1^L')]('hbDZD',IIIl11[lillIi(0x27c,'sJ4e')])?(IIIl11['FRbMf'](IlIli1,0x193)&&(IIIl11[lillIi(0x1b8,'Jkhc')](IIIl11[lillIi(0x28a,'r5Ve')],'oxBPC')?$['skipRun']=!![]:II1lii['message'][lillIi(0x1f7,'5$!#')](lIIii1)),console[lillIi(0x2d9,'%%Oz')](iiilii),li1i1i&&(lillIi(0x23a,'Wx&K')!==lillIi(0x270,'VGRI')?llIliI[lillIi(0x256,'&1^L')]=!![]:($[lillIi(0x2d3,'hUYq')]=!![],$['message']&&$[lillIi(0x1c1,'2ylv')]['fix'](iiilii)))):(lilIl1[lillIi(0x1cb,'5$!#')](i1l1ii[lillIi(0x1ab,'6mT[')],lillIi(0x26f,'6mT[')),i1l1['exit'](0x1)));}function randomString(illIii){const illIi1=ii1ill;illIii=illIii||0x20;let ii1il1='0123456789',lI1llI=ii1il1[illIi1(0x2d7,'vXOY')],illIil='';for(i=0x0;i<illIii;i++)illIil+=ii1il1[illIi1(0x216,'sJ4e')](Math[illIi1(0x1ce,'kewp')](Math['random']()*lI1llI));return illIil;}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) }