mirror of https://github.com/6dylan6/jdpro.git
26 lines
58 KiB
JavaScript
26 lines
58 KiB
JavaScript
/*
|
||
活动名称:店铺签到
|
||
活动链接:https://h5.m.jd.com/babelDiy/Zeus/2PAAf74aG3D61qvfKUM5dxUssJQ9/index.html?token=<token>
|
||
环境变量:jd_dpqd_token // 活动令牌,不支持多个
|
||
jd_dpqd_account_threads // 控制账号并发线程数(正整数),默认1
|
||
jd_dpqd_account_interval // 自定义运行间隔时长(整数,单位毫秒),默认0
|
||
jd_dpqd_max_retry // 签到火爆时的最大重试次数(整数),默认0
|
||
jd_dpqd_notify // 是否推送通知信息(true/false),默认不推送
|
||
|
||
此脚本为高并发单一签到本,自动过滤垃圾活动,与另外3个本无任何关联可单独运行
|
||
|
||
7 7 29 2 * jd_dpqd_single.js
|
||
|
||
*/
|
||
|
||
const $ = new Env('单个店铺签到')
|
||
const jdCookie = require('./jdCookie')
|
||
const notify = require('./function/sendJDNotify')
|
||
const common = require('./function/jdCommon')
|
||
const { H5st, jsTk } = require('./function/jdCrypto')
|
||
|
||
var iil='jsjiami.com.v7';const I1Ii111l=l1IIIiIl;(function(l1i1lIi,iI11IlI1,Il1Ii1li,li111111,IlI1Ii1I,I1illl1I,iiii11lI){return l1i1lIi=l1i1lIi>>0x5,I1illl1I='hs',iiii11lI='hs',function(I1Iiii1,Ilill1li,i1li1I1l,I11IiII1,I1lIIII){const iiI1i1il=l1IIIiIl;I11IiII1='tfi',I1illl1I=I11IiII1+I1illl1I,I1lIIII='up',iiii11lI+=I1lIIII,I1illl1I=i1li1I1l(I1illl1I),iiii11lI=i1li1I1l(iiii11lI),i1li1I1l=0x0;const lilIll1l=I1Iiii1();while(!![]&&--li111111+Ilill1li){try{I11IiII1=-parseInt(iiI1i1il(0x195,'Uyh7'))/0x1*(-parseInt(iiI1i1il(0x39f,'&7wW'))/0x2)+parseInt(iiI1i1il(0x180,'Czze'))/0x3+parseInt(iiI1i1il(0x3cb,'&7wW'))/0x4+parseInt(iiI1i1il(0x33e,'^Uyj'))/0x5*(-parseInt(iiI1i1il(0x35c,'(lwu'))/0x6)+-parseInt(iiI1i1il(0x23f,'VVBt'))/0x7+-parseInt(iiI1i1il(0x2b8,'Czze'))/0x8+parseInt(iiI1i1il(0x216,'kR(!'))/0x9*(parseInt(iiI1i1il(0x1b8,'IkW%'))/0xa);}catch(Iiilil1l){I11IiII1=i1li1I1l;}finally{I1lIIII=lilIll1l[I1illl1I]();if(l1i1lIi<=li111111)i1li1I1l?IlI1Ii1I?I11IiII1=I1lIIII:IlI1Ii1I=I1lIIII:i1li1I1l=I1lIIII;else{if(i1li1I1l==IlI1Ii1I['replace'](/[ufQSOBDGndFAXYHeLMRNV=]/g,'')){if(I11IiII1===Ilill1li){lilIll1l['un'+I1illl1I](I1lIIII);break;}lilIll1l[iiii11lI](I1lIIII);}}}}}(Il1Ii1li,iI11IlI1,function(l11i1iI,IIllli1i,li1iIili,IllIi1Il,llIllI11,ilI1111I,III1iIll){return IIllli1i='\x73\x70\x6c\x69\x74',l11i1iI=arguments[0x0],l11i1iI=l11i1iI[IIllli1i](''),li1iIili=`\x72\x65\x76\x65\x72\x73\x65`,l11i1iI=l11i1iI[li1iIili]('\x76'),IllIi1Il=`\x6a\x6f\x69\x6e`,(0x1625ae,l11i1iI[IllIi1Il](''));});}(0x1920,0x53ad8,iiiliill,0xcb),iiiliill)&&(iil=`\xe22`);let token=process[I1Ii111l(0x283,'T9@E')][I1Ii111l(0x35a,'3T[h')]||'',accountThreads=process[I1Ii111l(0x278,'TXqj')][I1Ii111l(0x38c,'elgH')]||'1';const runInterval=process[I1Ii111l(0x1eb,'kR(!')][I1Ii111l(0x35b,')2&@')]||'';let signHotMaxRetryTimes=process[I1Ii111l(0x278,'TXqj')][I1Ii111l(0x249,'L7xV')]||'0';function l1IIIiIl(_0x4658db,_0x3d6b14){const _0x3d1727=iiiliill();return l1IIIiIl=function(_0x150475,_0x309ca3){_0x150475=_0x150475-0x147;let _0x4de084=_0x3d1727[_0x150475];if(l1IIIiIl['BFNpqG']===undefined){var _0x22063e=function(_0x56b6f1){const _0x3810e6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x9a0803='',_0x3124e4='';for(let _0x2b8966=0x0,_0x256d81,_0x4f56e0,_0x3aae96=0x0;_0x4f56e0=_0x56b6f1['charAt'](_0x3aae96++);~_0x4f56e0&&(_0x256d81=_0x2b8966%0x4?_0x256d81*0x40+_0x4f56e0:_0x4f56e0,_0x2b8966++%0x4)?_0x9a0803+=String['fromCharCode'](0xff&_0x256d81>>(-0x2*_0x2b8966&0x6)):0x0){_0x4f56e0=_0x3810e6['indexOf'](_0x4f56e0);}for(let _0x1ad166=0x0,_0x47df32=_0x9a0803['length'];_0x1ad166<_0x47df32;_0x1ad166++){_0x3124e4+='%'+('00'+_0x9a0803['charCodeAt'](_0x1ad166)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3124e4);};const _0x4ef75b=function(_0x110ccf,_0x4813b1){let _0x44d1b4=[],_0x228258=0x0,_0x393e7c,_0x4c2d6e='';_0x110ccf=_0x22063e(_0x110ccf);let _0x9eab6c;for(_0x9eab6c=0x0;_0x9eab6c<0x100;_0x9eab6c++){_0x44d1b4[_0x9eab6c]=_0x9eab6c;}for(_0x9eab6c=0x0;_0x9eab6c<0x100;_0x9eab6c++){_0x228258=(_0x228258+_0x44d1b4[_0x9eab6c]+_0x4813b1['charCodeAt'](_0x9eab6c%_0x4813b1['length']))%0x100,_0x393e7c=_0x44d1b4[_0x9eab6c],_0x44d1b4[_0x9eab6c]=_0x44d1b4[_0x228258],_0x44d1b4[_0x228258]=_0x393e7c;}_0x9eab6c=0x0,_0x228258=0x0;for(let _0x46005b=0x0;_0x46005b<_0x110ccf['length'];_0x46005b++){_0x9eab6c=(_0x9eab6c+0x1)%0x100,_0x228258=(_0x228258+_0x44d1b4[_0x9eab6c])%0x100,_0x393e7c=_0x44d1b4[_0x9eab6c],_0x44d1b4[_0x9eab6c]=_0x44d1b4[_0x228258],_0x44d1b4[_0x228258]=_0x393e7c,_0x4c2d6e+=String['fromCharCode'](_0x110ccf['charCodeAt'](_0x46005b)^_0x44d1b4[(_0x44d1b4[_0x9eab6c]+_0x44d1b4[_0x228258])%0x100]);}return _0x4c2d6e;};l1IIIiIl['jhmiqo']=_0x4ef75b,_0x4658db=arguments,l1IIIiIl['BFNpqG']=!![];}const _0x19d5c6=_0x3d1727[0x0],_0x50f825=_0x150475+_0x19d5c6,_0x5245b1=_0x4658db[_0x50f825];return!_0x5245b1?(l1IIIiIl['jdnzli']===undefined&&(l1IIIiIl['jdnzli']=!![]),_0x4de084=l1IIIiIl['jhmiqo'](_0x4de084,_0x309ca3),_0x4658db[_0x50f825]=_0x4de084):_0x4de084=_0x5245b1,_0x4de084;},l1IIIiIl(_0x4658db,_0x3d6b14);}function iiiliill(){const l1iIIlIl=(function(){return[...[iil,'fLjusYjLXianmeGiOAB.FMcfdoOHm.v7nNVDQSQR==','c8kaWQVdG8oWsmoBba','A8kUnt7cRWJdQNLh','WQVdLHDbWO/cMmkZFa','5yUB5B2n5lMl','5BET6l+N5RwT5yMa5lI+6zUG','FH1gxqe','ACoLWRrxcW','WQu7lqXF','s1OMWQ0','F1/cPmkZWOe','zM3dMgtdV8k1xxRdJH3cMG','umosWRvPrtj1nsa','WRuazZBcJW','WQqsi8k3evldReXPW7ddPSkrW6pcS8kn','5QYG5PAg56YP5yIW','W7vAcMZcQmkRnmobqa','we7cKCkKWOm','W5FcTHlcGSkJW4NcJd51','emkiWR7dGSoZ','W45BE8kbnCkgwG','headW5a','zKjQWP7cOa','hCknWRZcM8o3','5yAf57Iv5y2Q8jY0Jq','5REu5yUl5PA35Pwi','EZGIWOK','xSk8pSo5W6K','W6CHxXtcVG','sCoeWPPrjG','eNddKtNcKmkbWQJcKSoocfdcRmou','vmoyWOXahGbpWRCgAv9pAf9dyvWmvHFcHSoxjaq','WRiyqdxcPmkFkmo9tSkW','a8koWOdcTCkkghBdKrVdH1a','WQldQCkcW4jG','fSktWRRdTCoW','4PYfWP/OJzpLJjdMT6NLIA3KVQdMGk3LP4JOTPu','W6hdMg/cUmo1','WQyfjCk7aue','WQ3dOvPh','m8k0pZtcGW','W5ZdKSobo0i','xNOkWRG6','8j2kPdpOTlhLJOBML6xMLRG','aM5rWOa7W5yVga','prhcLSo1W5y','WQFdHbXKWO3cGa','5B6K5Asj5PAw6zsF77+x','BsW4WQ1AW5q','zKHQWRBcGW','4P+5WQdOHPBMNzNOV6lOO57PG5VLIipKUQRPL4tORl/dHG','lmoGW69WeW','4P+NWQdKUy7NIQZMORZLViZPL7xOR4y','mr/dPmk1','WPGcpNq','W4ldOCoLawBdU8oXvG','4P6vW6FNR5ZLIPlMIOZLIlW','wmovWQS','6lEC5y2P5PsS5PEB','5Q+V5PE156675yIc','4P6pv+ESQEwlHUwLG+I0GW','pCkTWQBcRCockKpdRa','aSkXbthcPW','amobW69HhsaWleldNsFcJu9Ey1zHW7NdUuac','776F5BAc5y6o5A2N','WOeTxcZcTW','WQijbGDEfW','bGlcNCouW4K','W6TitCkZoG','W4fRla','W5hdOCo1bG','WR8cEYBcPCoUW5pcI8otW5hcKmoHWOi5WOa','WOJdPHvAWR8','c8ovWRtcSCkE','WRKPjqrC','tuJcNCkFWQG','W5dcRqVcJSkJ','w8o+WPzQoa','uuBdPfe','WO4qjgNcNmoG','bwT2WQGUW5eUk8koWOS7W7ldSSkqWRJdPmoBumonW6/cOCkbW74','ob/dVSkrWRm','W58ABmo1W7O','FqzSuqa','WQKNW5OTW6m','W5KICW','agilW4NdNrvxW7i','CxHDEX4','F2P9CXr3WRKN','4P2SmoIhN+ACNUI+TEIITEMaNEwkRUs4JEMvIEIUNSkT','W6OjjSksW6r3bmkpgCkKWOBdLCoNr38u','c2ddVdtcJSkxWQxcQ8od','W4ddO8oiWQxdLW','W4emEYpcUG','sx7cSvCxWPG5W6RdLdmuW4K/W4pcGdSUymklEJTvc2/dSmkKWPeAWR7dLqKbp8oGbv4jW43cQSk4','EISKWQvhW5C','h8kAlZG','bMfDWQKSW4ePamkWWOS9W7pdS8kBWR7dPmoCumoqW7RcK8kmW6RdGSooB8kBDXDzaCkqiCo8W55ME8oMW7ldJG','bCkhlYZcHelcOmkmW68','zCoXW7JdMmkqzgldPcJdNGiE','drbKFH0','nKBdOrVdUW','DdhcUSkMW6BcMqS','q1q1','77Ya8jYQUa','CeBcJW','W5FdP8oBgwS','fCk0WQpdVmoD','AmkKdSos','iLmPW63dHa','WOiMfSkSpa','W4zEsCkmaq','d8o3WOZcSmkc','cSk2WRJdJmoK','DsO5WOzeWOfyWPS2','uf/dUuq','uK15WOFcMa','wSoDWQPx','WO3dV8kLW6C','iCkxba7cRa','j8ogWRlcSSkO','W7ldIxVcU8o8','nqxdVmk4WOu','w8ooWQfPhry','F8k0cCo7W6FdHCoijW1Nl08/WRxdIG','W4/dUmo/oxe','4P6kWPFOJ5JLJ5VMT5hLIyBKVlFMGB/LP7tOTyi','b8ouWOhcHmk7','EK/cUCkRWRu','kmosWOFcLCkq','WPZdT8kIW7jvD8kv','W6fldetcPCk4nmorumkMWONdQmkFWPBdTW','bJdcO8onW6pdQa','W6tcV8oVamkg','WQatda','5RE95yIF5BgP5zYLW4O','WO7dRHToWOi','WR8cEZtcR8o9W5tcR8oFW4BcHSoAWOG','WQa6W48','WQ/dJSkhW4n0','AZWUWPWBW4aeW4PUW4W','hCoMWQdcObtcHq','F0BcJmka','zCoWW7hdK8kFe03dJaZdIrm','W4vmFq','g2zeWQK','vKJdVLBcU8kw','js3cVmkc','nmkLWRhcKG','DK3cT8kbWQVdTSkEAmoGaSoRW6VcSxC','W53dTmo4buhcQmkZhetdQmo+WQhcLWLCz8kSW5BdSCoQW5lcLCkzW6GVWOBcVd7dUx0wWOf7WOFcRxBdNf3cUmkulNyPW5tcMsRdSKLkaSoVWRlcNSkXW6CQhtxdRd5sW68PWRNdLtlcLSoGz0VdQ8o2cq','WPGlBSkLWQWnxG','bgGxW7pdQbfF','4P6cWQ7NRydLIjlLP63OTQW','kMmyW6JcPW','W6bhfhhcO8k+','x1ZcP8kSWOK','zLVcJCkoWRm','yEIUNEAZLEwqKow5V8kc','W7BdS8onafq','gSkqdHdcPa','WQ4wjW','lSoAWPdcLCk6WQOXdmkyW51O','lrPzucZdQ1yi','mSoeW4FcUCkt','we8tWQux','lMbLW5SeW74rW4nqW6yU','lmovBG/cUa','sCkscCoGW6G','W4BcICo0W43dMq','Ef46WQSX','wow8OEwMSE++R+AAREEaOUwhGEACP+wsPL4T','WQuuEmkpWOm','mCk3WRVcImoamG','WPKtFqtcQW','sx7cS1mjWPa+W5/dQcq','W4vbfNhcO8kIkCkkBCkRWOddHa','W5nByCkcn8kd','8lUzRmkc','g04EW4y','p2n7WRuT','WQ/dVu1lWRVdPW','aNXo','fmkJWRhcOmo/','z3hdQKRcSW','W5tcTXpcGW','B2dcGui3','WRWgDHq','lgbhWRG7W44+wCk7WPeOW7G','WQqebqT5','bCkgWRJcHCoO','sf48WPK5','W4BdSmoGhey','WPSmpgxcLCkZ','WOabDIZcKq','isFcRmkMW47cPY/cRmo8zZZdNmkSWOtcSW','W6/cVCoghSkGW7hdSrG','WQaym8kt','msVcNmoaW6u','sSowWPbliW','oCoEWPBcP8k/WRyfi8knW5e','aqXWuG8','cWVcRmkDW70','WQqsi8k+r1xdSq','D8khW5JcNrddQW','W4xcSHdcJSkJW4RcPJDIWQzZcs0','6lEj5y6u5PA35Pwi','bSkbjYlcLh0','44gm6lA95y+3','hxanW5pdUu0kWQFdGG','WOHwkSkG','WRiuwWJcRCo/W5q','F8kdW4/cIq','4P2xW4lNR4JLI4RLPzxOTQzIBmoM','4PILWP7OH4NLRyVKU5JOV7VOO4xPLPlPMl3ML4NPL4tORQJNVy3PLkZOR58','WR8jcazEfSkh','WRNdTCkgW5fT','bXpdHmkzWOy','5yAamUwmTG','BfJcVhyO','F8kdW4lcMW','pmo8WOZcI8kg','WQy6W4eS','W5pdI0lcMCoF','CZyX','WPjmmmkM','WORcTmkMWOHr','EM5+CLXQWOiQAefn','qwdcTvClWP0zW7hdPsquW4K/','m37dQW','ye16WQNcOsrU','BKpcRmknWPy','l8osW5VcSSk9','WRabeCkAoq','cSoRWQFcKq','wCozWQDLdqvcWP4oFKvPC1Dy'],...(function(){return[...['5RsY5yQN5Bcj5PY95B2X5AEo','fmopW6HHicCOla','tfq2WQK','ihyiW43dVq','WRWjga0','W5eSBse','W5VdOCoyWOhdRxdcQeGcCG','W5SgyIpcUa','WQysW4mwW6G','WOK0eCkNha','WQNdQ0PJWR/dVslcG8kfCdCFk8ktW7W','vmotWRPk','D0zUWPhcQsPU','tCoiWRjqgWi','W4ZdPCoEWQ3dPxdcN0GrDG','W4xdTmotbvVdVa','WRiAASkiWQa','W7pcQmogW4C','WO5gn8kSWRWyl8kb','omo6DaW','W7tcPSoBW5e','h8kVWQZcKCoO','lIFcUCkdW4JcOtu','mYBdR8kRWQy','fSk8abhcIa','t0pcPSklWRW','W4VIN6iT6kYX5Rkl5Awp6lsi772e','W4KwBCo+W65BumkTk8oJW4ZdQSkP','5Q265PAO562Q5yMI','FCkJW57cLW0','W7eKxHtcSq','jt/cG8oDW6a','feqmW4BcMW','W78Ig8kzWPK','iIpcOCku','naPdCIxdUhG','WOKVs8kSWRG','W4xcUcVcPSk7','sxNcO8k1WPy','mCo6EchcNa3dLMe','4P+FuoADTEIaLUAUQUEHLowLJEEsPf0','hmoQWRBcJc4','4PYfWP/MN47NNkpORkxMSODH','eSoRW4VcOCkg','ihJdMXRcLW','amokW6dcJmkn','cCobW6H7','aSkaWONcSSoq','WQedpCkQWOjWba','AhXGFHzR','W67cUCoqnCkXW68','W4hdR8oNefW','owJdUdhdLCovWQNdTCoPs8onW5WudSol','xCkHgmoIW6K','CKj3WONcNcbMWQq','zg5J','WP0By8kIWQWmzcG','W5dcSCoM','W6aDpmkIWQm','WOOrju3cImoP','dmojW6BcJq','fCknWQhcQ8oR','fgWmW57dNr1jW7W','W67NUz3MNAhVVk7KU5FMRQJMLQlNGyZMNONLKkmWxa','rhVcLeCY','WQKhnCkcgW','aqzduHK','W4WnBq','W5WJyJpcKvbLlXddUq','WOqglNm','lmkadrpcSW','W7ddN0VcPmoD','WQKJW4ahW4u','lLadW7BcMW','nXbq','W4pdKmoRoLq','W6hdN1FcSa','5P2R5yIh5zUN57QI5BYM','lSoAWPdcISk9WQiOlmkQW4rSWRLVcG','6lAJ5y2j5PEd5PAz','ufhcGCkUWRK','cM7dRZhcRG','W5a/bSkaWRO','hGjHW79iDCkHW6/dJCkbW6K','DMJdIvVcOq','W6NdKutcLmoJwq','W5iOEGFcVa','W5FcTcBcH8kg','Cmk0hmoEW6hdG8os','E+E6RoADQo+8Uos5GUAUUoAxTUEdLEAETEwrQMOY','mmousW/cLq','W4bwvCkbeW','5BUI6zcp5zgl56AM77+7lq','5BII6zk356E75yMu8ycEPU+4JG','WRZdUqjSWO8','aSkaWQRdVa','W4hdICoCafq','adRcOCoGW7a','oMZdUbe','FaPMAdW','W7jxcga','wuJdTW','muD/W47dUW','A3L8Ftu','W4/dOCoEWOe','8j6kId7OT5VLJl/MLQNMLym','W54OCsldKfHTbWxdQa','W4FcSCopo8k9','WO3cR8kSWP9lW5SLDSk0','5REJ5yUp5BE957QO57Iv5P+f','A13cQCkmWRq','W7XGfwtcOW','WPpcUSk9','WResjSkdf1xdSq','W41lyCkGlCkp','eIBdSSkWWQu','WRyiiGtcQCoOW4K','bJlcVmobWR7dS8ojWPVcG8oMWQC','xCotWRDb','WPGiBSk1WRO','oWxdP8kUWQ4','xfi1WQi7vmk0W6VdV8kMW4uJamoMW68','cwBdNb/dNq','r3xcSxmgWO0ZW6JdOIqiW64LW4dcNq','W4y9EdVcIq','W5lJGBFLVi/LPQZMLldPLA7JGQS','a3exW5G','WOhOR5NMSy3LP7BOTBZdH+kEOxm','W5NdR8oR','n8okWOBcHW8','qhXLEIG','WRxdLb1KWPRcMG','5RAo5yIO5Bw+5lU7eG','W6RcQqxcQCkK','W6ddKfu','W4i5vtVcKG','W7JcKSotm8kG','d8obW6y','F1euWQim','nSoQtSkkWOW','eSkqmHFcGNRcOmkjW7ldGKtdSrJdGCoy','5Rwk5yIp5BEB57Ik5P6lpW','gNaf','rhhcVee','owldNcJdJa','WRyiEa','nMulW4tcGW','W4CEDGRcLW','q0ldVLtcT8kdre8','ngldPr4','WRrXe8kKWQe','gNxdGrtdGa','hmorxmkBWOC','W4Dcmw/cPa','W6Hpfwa','WPBdSCkR','W77dRmoTWQRdTq','wwnbBGi','W4ZdUSodWPdcRcpcIeWqF8kiW7j6we9PtG','WR7dUCk1W5jH','W6BcVCohiq','8l+5T8kE5P636kYN5RA85yI85l6v5OoM5AwW6lwRW5VINO4k','mspcSCkt','8kUzR8oO','n2fhWRym','Be1QWPJcUGPUWQ8gDmkhuCkXvSosqCo+iCkABa','W6DEesVcQ8oIn8odf8kXWP/dJa','5yEb57M+5y67','uwdcNmkFWOS','uL/cNmkHWRa','oConWO3cVmk3','eSojW6tcHSkrhW','oSouWPhcImkZWQGK','W5hdSSopWOVdQa','bmktWRNdImoH','WRxdRSk4W7Xo','WPewimkfWODsvYqeWRanW7OHEmohBmkao8kl','WRFcJrxdPSoKtCoQamoNtG','od3dSCkxWPi','FCoKWRzHoW','dYVcOSoOW5a','5BAf6l695Rwz5yIv5lQd6zIS','ANi7WOy0','W4JcImoWo8kM','W7RcQmolW4W','oSojW7rymG','imk8dIpcHG','jCoqWOm','WRmfpSkmfW','fCkvWQhdPSo7wCoxdSo0','c8owW697nG','rSofWPf9pG','hSkhWQBcUmoY','5BE36l6D5RsL5yMv5lUc6zIz','WQiprbFcVG','vhFcT3yg','qMDAWRFcUq','W7zBc20','nmosq8kXWRy','DZ47WOjT','dZVcOSk2W6q','4PYnsUAEVEIaOoAUIoEJJowMM+EqSSoF','FmkWcCoB','uZPJDr4','5BIr6zou56Ax5yId','WOemia','EYKtWRLN','WQFcRSkgWQHT','jCohWOdcJbK','eM0u','W5JOR5tMSjVLP7NOT7Xk4P+6W4xMLPlLKztLUiNML5/MJQe','WPVdVCk4W7PpCSkycCk4WPu','WOerqmk0WQC','p3mUW7tdHW','Aenvrdm','gmojxCk8WQz2fr3dQ2T3oCozz3DPiCo/WRaq','W5ZdRSo4eeddS8o/r3pcVSk1WQldJqzkfSk8W5hdS8k1W6pcNCkCW6mCWQxcSdpcHu4uWPPAW43dVeNdR3G','WOxcSmk8','WRBdRmkny8oYWR7cOX7dPcK8WRLq','cSkoWRq','W7ZdICoEWOZdLG','WPNcVSk5WQXCW7SLBCk4y2ejuGRcNG','DuFcNmkaWQNdPSkzq8oEh8o2W7JcSL0rWQxcVbtdICow','WRldISkFW4vq','kIFcTSkaW5NcUW','e3hdQY3dJCkrWQdcPmomaG','WO4BlCktgG','WOenySkOWRLphxWA','cCokW55Xbd8HfN/dJJBcQfHPyKH9','rh/cJ8kgWPC','dCopW6XW','nXPzuZ3dSq','WOqrmfhcJG','l8onW4TafW','WORdRmkLW6LC','W7FcGLS7W53dN8oGwmkChCoRENW','WOBdPNjsWPe'],...(function(){return['fCo7W6pcPJtdJuhcUCkXaHbLo8oDivdcPtnf','q+ITMEAZG+wtMow7Og4','4PUgWOBORBJLHQVLRAxKUAVLVBtOPANNMlFNJ6RLOiVLJkxPHQ3LKPxLHRROVO/OOiVOHBhMNk7VVQO','e0tdUaRdPG','vmkdW7NcIWu','AEE5VEAFNUAxO+MwGo+9La','nMJdRrtdK8otWRm','g2fdWPWw','WQldOvK','WQNdGHTlWOBcJ8kX','WOXknmkT','CuJcKmkPWR7dSCkFwW','lutdHq3cRq','W5JINR956kY/5RkB5AwB6lwd77+T5PAs5zgu5BIj5PEF5O6H776z8j27Ra','WRyEsa','5l+Z5OkE5yI18y60Mo+5Sq','W5fah3/cLG','eZH4wGy','zHDdxXTI','W7OEkCkkWQvtlCoJhSk0','lmoxWOpcQtldSbS1WOm','sLBcP0eM','WRSEwqpcSG','WQ/dVK5hWRldRqJcMSkcCcS4mq','WR0QbgpcRG','WPlcTmkQ','W51qytFcJSoOWRalWRed','W6BdJeBcSmoLtG','WRxdGX1KWOtcICk/DSk8','tsdcT2/dMmk/WQFcGCoPiu0','jsdcUCosW7O','WRhdHZ9BWPm','b8ohW7j2gZSRpq','5PYX55Yh5AEG5zc7772S','W73dSCotWRxdRa','W7aFo8ko','5lYs5Oks5yIv','i8omWRdcQCk5WQaV','jatdOq','W4/dUNpcG8oy','e2iwW5W','cSojW6G','5lIi6lke8kEtNq','tKGHWQuFvq','p8oasSklWPO','amkxaZ/cLG','utqsWRPt','W7/dLmochfe','b3elW4FdRdbtW6tcHq','WOOniq','vfFdUr7cV8oFz0/cPdBdGdK','m8oqWPtcTCkx','WRmfpSkmf3tdSfzLW4JdTSkRW7K','E1igWOy5','F+odPEw7KEMsRowtRoENVUodMmoC','W4BdSmozmvq','W7eFmmkhWQXBjW','hhxdUJW','D2ZdG3hcOq','nmkQWQRcQ8oY','W7eYmCkZWPK','abtcL8kDW6C','wfO7WRGSuSk1W6i','hmkBjtRcLgRcRmkm','WONcUSkKWPLRW6yHFG','j1aaW7ddRG','WPSKW6u2W5S','euyuW7VdRa','dNylW7hdKq','WO7dRmkLW74','aSossSk6WRfgaW','cCoAW5f0pa','EvVcMSkOWQJdOa','WRtdGfndWRK','heaoW4i','WOSkjgpcLmo7WR0z','WPWFzmkYWP0xqcK','C8kwW4lcIHFcUw1UWQ4HF8kDW4RdVmkblSoGW5mlW4TaWRqKW65UW6Lcg1rnW6P7weebWO/cS8ohW7NdGtRcPJWDW5JcJCoiWOVcHdb8W6BcUCkXyXFcMSoskWzuWPqvWRJdG3pdPrnebSkYWOHUn8ogWQVcI8kiwuC','pmkRWQ8','WPzmlG','b8opW7v0','W6xcUCoke8kMW7pdVqldOdu3WRj8tby','Df3cNmkvWQJcVCovgmoMwmkXW6/dUwqEW77cKXldL8knW6OKcSk9yCoiWQvxW6bYW5C6svecAJueWRHhkZDWphX3WOyAtxpdSSoAvaaWWPfUWR/cVXfUyCkiW7pdKb9pW4FcSYldMWpdUq','lKaIW4BcKW','qf8yWQSq','W4NcSqC','egywW7ZdQGHtW6hcMeb3WOpcOadcHa','txxcTKeeWP4/','WOTXhmkNWQ8','CSkmW4dcMWJdQIyaWQvG','WRacBGpcO8oOW4K','WO0CpSkznW','WRuuAa','qvZcG2eN','mcFcTSkdW4JcOq/cVG','ndFcTSkIW4pcTW','sf4MWO8xvmkZW67dV8ktW5aihmoL','vmorWQPddW','gtZcTG','g2xdGtFcKW','W47cPmoxgCkN','px/dNJxdGq','W4WxAmo/W6PyxSkXhCo+W7VdImkb','nv3dUIFcSa','BYWLWOa','ECkIdSotW6pdNW','fSotW7ZcIW','WP9glCkjWROEd8ktg8oTW6tdPSkHW7zL','s8opWRzLhGf/WOqu','hmoOW6lcGSkA','4PYCW6tNRRBLI5hLPPBOTBK','W4vpDSk0','WRejBaVcS8o+W5/cJG','l8owWPW','q0JcRMCs','5P2R556p5AEb5zcC77+J','nCo1DGZcLrldL0XHWQi','DSkdW4y','5RAo5yUL5BEM5lUCW50','hZZcUmok','WO7dNY1+WRK','W6DEcgdcQmkOhSoiv8kMWPxdJ8kf','emoexCkWWQjCbaRdLMO','WO8AW7ePW6i','W7HHWPL1WQlcVmoWvCo4bCkYWQ/cRG','d1a0W7FdPq','fSk5WOtdVSoF','W6pcSSobW4hdUCoqDa','u8koW77cTa8','AMb3CG','ECoPWP5jhG','W4ldUMFcM8oG','W78Foa','DuFcI8kjWQ7dO8kFra','W6xcUCokgSoWW7tdOa','hmkoWQpdVmoq','WRmBsdZdSCo0gCodtSkdWPFdKW','W7tdRmofh1a','gNpdMthcUq','wSotWR1b','eSkyWQpdQG','c1qzW4dcKSoOpW','44o/5O6Z56wT44cr6kYm5yEg6i2K5y67WRWDcKzdfq','jqVdO8k8','WOFcLSkVWPT1','WROnaa1i','WOiqE8kNWQuxsq1kWOW','hwxdMa7cJG','oIpcLCouW4e','twpcOG','W6JdJuBcGCo3','cSoaW7D0gcCHchhdMW','gvijW4RcKmo1','WQRdMaG','yKzQWRZcQZ1IWRCBzCkmr8kSwmos','iSkXWQBcPmojoa','W4LAE8k3kSoDeNZcQMDHvxvaimk0WPRcOHdcUSkZWOZcImoT','eColW7bGet0X','kZhcVW','W7fpexe','W45Sp1tcGW','hbvGW6jjfCoO','ifOfW47dRa','BWbFvX0','W4VdVu3cImoe','WRKeEW7cSmoZW47cHmoZW4e','eSkSWPFdJCoS','W7HmwfqmxmodnH3cJCkpWRNcTa','laVdPW','lxddHJ7cTW','BCooWPbcpq','WQLGlCksWRu','fmkeWQpdO8o0xCoB','W6ddVgBcN8oh','AezTWO7cQs5U','uSknW6BcVWm','W7lcLSoKW4JdRq','W6qOztpcMG','FJOIWOfcW5KCW5joW4y','iXVdKCkmWQ4','wSoDWQDf','uMRdMKxcNa','kmoSW7nudG','WOSci2e','egFdUJlcMG','5ys7zowmM/c3VBy','WO9cmmk8','WQSWW5WdW7ldUSkHD8o+fSkTWOhcJL3dSW','WP5kiq','W4RdRCo1W51DW5W5qCkMDq','ECo5WOC','W6pdG8oypem','WPNcOCkKWP0tWQ8OFSk3E3K0wuddKCkyBa','FM56yYvSWP0M','WOXgkSk8','r0ldOfZcS8ksAa','5lUL5PEE5BAG566Y','DJCIWO1gW5elW59xW5aFzSoGWOL+WQpdV05WwW','WR7dJCk/W5Hs','tComWR9ngG','s15WzGS','ydDlsIC','W5pcLSo0gCkJ','BoocTUE5NoAEVoAuIEMxLUocOa','WQpdR0zUWRNdVY7cMq','WPtdSCoHW7bwACkF','ewVdOJBdSa','W4bnE8kUl8kossRcMgnPd20D','lXbCusC','w14QWRHxs8k0W6BdS8kR','WR/dJ2XoWPy','W5lcLaRcOCk8','k3DI','W6tcISoMW6ddPq','W6NdM03cTSoLqW','W6mBBt7cVW','WOOvp0xcRW','WPddStP1WOC','W7fEtSkoiq','puWlW4RcJW','4PYnsUEVQEwlREwNMUI2H8k/gCoF','WQxdGLDGWQG','fKaxW4y','ExPGFW','k8o6ArNcRrldNMG','DY0IWPHhWOPhWOrMW5iFmSoOW7r/WRlcNurSqMBcL04b','44g25O2256A144oY6kYi5ywQ6iYg5yY+W7aQW6FcLGVdVG','WOhdJ29GWRy','adRcK8ovW4i','o2faWOeq','oSo3BWlcIW','xceBW6jVWO56','pEA1KEwiV+wNT+EcGoEkPa','oNXqWQyo','5Q6t5Pw+562+5yMD'];}())];}())];}());iiiliill=function(){return l1iIIlIl;};return iiiliill();};const isNotify=process[I1Ii111l(0x236,'Tk@v')][I1Ii111l(0x3d1,'E[%u')]===I1Ii111l(0x1e3,'Tk@v'),activityUrl=I1Ii111l(0x29f,'[8&D')+token,signStatusMessages={0x1805c007:I1Ii111l(0x316,'IkW%'),0x1843da61:I1Ii111l(0x165,'yN&!'),0x1843da62:I1Ii111l(0x1d2,'[d)$'),0x184253c7:I1Ii111l(0x1b4,'kR(!'),0x192:I1Ii111l(0x355,'T9@E'),'-1':I1Ii111l(0x1b2,'bfO#')},cookiesArr=Object[I1Ii111l(0x1aa,'T9@E')](jdCookie)[I1Ii111l(0x19c,'yN&!')](iilII1Il=>jdCookie[iilII1Il])[I1Ii111l(0x3d7,'(lwu')](I1IiiIll=>I1IiiIll);!cookiesArr[0x0]&&($[I1Ii111l(0x1f3,'Tk@v')]($[I1Ii111l(0x1ff,'(lwu')],I1Ii111l(0x2e0,'T9@E')),process[I1Ii111l(0x3af,'BLj[')](0x1));!(async()=>{const I1III1ii=I1Ii111l,I11II11={'uipDc':I1III1ii(0x378,'28fd'),'UBpdO':function(ll1III1,li11I11l){return ll1III1+li11I11l;},'krgQu':I1III1ii(0x254,'bfO#'),'VqyUl':function(ilIiIii,Iliiii1l){return ilIiIii(Iliiii1l);},'XwNQY':function(Ili1Iili,iliiiiIl){return Ili1Iili>=iliiiiIl;},'jmyga':function(liIlllII,i1ll1Iil){return liIlllII===i1ll1Iil;},'gMJuN':I1III1ii(0x31b,'(N[a'),'dnbJU':I1III1ii(0x364,'YI]x'),'zrekh':function(i1ll,iIlIIlii){return i1ll===iIlIIlii;},'FySDm':I1III1ii(0x295,'Tk@v'),'hKmkM':I1III1ii(0x2aa,'Czze'),'spUDf':I1III1ii(0x14f,'kR(!'),'BjPwL':function(IlIi11II,I1ll1l){return IlIi11II>I1ll1l;},'NvtDk':function(IIll1l1i,IlI1l1ii){return IIll1l1i===IlI1l1ii;},'PSbMg':I1III1ii(0x37a,'YI]x'),'UlGJu':I1III1ii(0x335,'MG@5'),'vimMf':function(IIi1ili,IIIii){return IIi1ili(IIIii);},'Atrcm':function(lIlllIi,l11lli1I){return lIlllIi>l11lli1I;},'HlHNk':function(Iiil1l1i,il1IllII){return Iiil1l1i!==il1IllII;},'zxsLC':I1III1ii(0x1cc,'yN&!'),'VFUxm':function(Ilili1ll){return Ilili1ll();}};try{notify[I1III1ii(0x3ce,'BLj[')]({'title':$[I1III1ii(0x330,'DPt8')]});if(!token){console[I1III1ii(0x1ee,'L7xV')](I11II11[I1III1ii(0x24d,'T9@E')]);return;}$[I1III1ii(0x373,'6n)c')]=null;if(runInterval)try{const iiiIii1i=I11II11[I1III1ii(0x274,'8zew')](parseInt,runInterval);if(I11II11[I1III1ii(0x35e,'4lIj')](iiiIii1i,0x0)){if(I11II11[I1III1ii(0x2b3,')2&@')](I11II11[I1III1ii(0x307,'BLj[')],I11II11[I1III1ii(0x28d,'&7wW')])){II1IlIli=I11II11[I1III1ii(0x1c6,'eaW5')],Ili11ll=[iIII1IIi[I1III1ii(0x2ae,'[d)$')]];if(!ilil1ilI[iil1Iii[I1III1ii(0x2d3,'yN&!')]])iIIii1ii=!![];}else $[I1III1ii(0x392,'Tk@v')]=iiiIii1i;}}catch{I11II11[I1III1ii(0x212,'8zew')](I11II11[I1III1ii(0x152,'TXqj')],I11II11[I1III1ii(0x3a1,')2lA')])?(i1llil1i[I1III1ii(0x1e5,'6n)c')](I1III1ii(0x206,'VVBt')+iiii11Il[I1III1ii(0x2a7,'lww4')]),lillli[I1III1ii(0x1a9,'%WYZ')]=!![]):console[I1III1ii(0x200,'4lIj')](I11II11[I1III1ii(0x289,'6n)c')]);}try{const iIiI1iI=I11II11[I1III1ii(0x1ae,'DPt8')](parseInt,signHotMaxRetryTimes);signHotMaxRetryTimes=I11II11[I1III1ii(0x385,'0C!G')](iIiI1iI,0x0)?iIiI1iI:0x0;}catch{signHotMaxRetryTimes=0x3;}try{if(I11II11[I1III1ii(0x20e,'E[%u')](I11II11[I1III1ii(0x293,'Tk@v')],I11II11[I1III1ii(0x201,'8zew')]))i11lii1l[I1III1ii(0x25a,'MG@5')](lil1i1I1[I1III1ii(0x2fa,'TXqj')](I1i1i1l=>(I1i1i1l[I1III1ii(0x1f4,'e05e')]===0x0?I1III1ii(0x181,'%WYZ'):'连续'+(I1i1i1l[I1III1ii(0x187,'0cIa')]<0xa?'\x20':'')+I1i1i1l[I1III1ii(0x14d,'[8&D')]+'天')+':'+I1i1i1l[I1III1ii(0x20f,'0C!G')][I1III1ii(0x1a1,'bfO#')](','))[I1III1ii(0x193,'L7xV')]('\x0a')),I1II1IIi[I1III1ii(0x409,'lww4')](I11II11[I1III1ii(0x3fa,'&7wW')]('\x0a',i1ii1lii[I1III1ii(0x2c7,'[8&D')](lllI111l=>'【'+(lllI111l[I1III1ii(0x351,'DPt8')]===0x0?I1III1ii(0x34b,'T9@E'):'连续'+(lllI111l[I1III1ii(0x2c1,'s2#N')]<0xa?'\x20':'')+lllI111l[I1III1ii(0x3f7,'[d)$')]+'天')+'】'+lllI111l[I1III1ii(0x35f,'1CHN')][I1III1ii(0x1fa,')2lA')](','))[I1III1ii(0x39c,'YI]x')]('\x0a')));else{const iiII111i=I11II11[I1III1ii(0x34f,'1CHN')](parseInt,accountThreads);I11II11[I1III1ii(0x3ea,'[d)$')](iiII111i,0x0)&&I11II11[I1III1ii(0x2d2,'[8&D')](iiII111i,0x1)&&(I11II11[I1III1ii(0x3d9,'E[%u')](I11II11[I1III1ii(0x3b9,'6n)c')],I11II11[I1III1ii(0x219,'eaW5')])?accountThreads=iiII111i:IiIil11I[I1III1ii(0x2bb,'i^OM')](lIil1IIl,ilIIl1));}}catch{accountThreads=0x1;}await I11II11[I1III1ii(0x32b,'Vink')](Main),isNotify&¬ify[I1III1ii(0x173,'8zew')]()&&await notify[I1III1ii(0x3a8,'i^OM')]();}catch(iillII1i){console[I1III1ii(0x3a5,'E[%u')](I1III1ii(0x36e,'6n)c')+iillII1i);}})()[I1Ii111l(0x352,'Ycmy')](liiil1li=>$[I1Ii111l(0x1ba,'kR(!')](liiil1li))[I1Ii111l(0x3be,'4lIj')](()=>$[I1Ii111l(0x2dd,')2&@')]());async function Main(){const l1llIIIl=I1Ii111l,Iiil11l1={'oeHFE':l1llIIIl(0x334,'bfO#'),'Eujhb':function(il1iil,il1lilI1){return il1iil(il1lilI1);},'rLxvM':function(lliiIii1,liIiIi1I){return lliiIii1>liIiIi1I;},'tMDBy':function(I11i111l,ll1il){return I11i111l!==ll1il;},'WkPok':function(II1IIII,lIiiI1iI,IIli1iii){return II1IIII(lIiiI1iI,IIli1iii);},'WItlV':function(iliIlIi1,i1l11Ii){return iliIlIi1===i1l11Ii;},'COYks':function(iii1IIli,ilIIili){return iii1IIli===ilIIili;},'Pshvi':l1llIIIl(0x19a,'i^OM'),'jGkTy':l1llIIIl(0x399,'%WYZ'),'UsyjP':l1llIIIl(0x340,'28fd'),'LRJlx':function(iIl1Iil,i11iii1i,liIIIiIl,I1Iil1i1){return iIl1Iil(i11iii1i,liIIIiIl,I1Iil1i1);},'svcss':l1llIIIl(0x3d2,'6n)c'),'SLemN':l1llIIIl(0x35d,'&7wW'),'HGOnO':l1llIIIl(0x339,'elgH'),'GDDJq':function(iil1Iiil,IiIllIi){return iil1Iiil<IiIllIi;},'fcQRC':l1llIIIl(0x348,'L7xV'),'PpAIx':l1llIIIl(0x360,'0C!G'),'Qauzs':function(l1iIili1,iiii1i11){return l1iIili1(iiii1i11);},'wwXjm':l1llIIIl(0x34a,'28fd'),'AlIjb':l1llIIIl(0x21f,'YI]x'),'WYgse':l1llIIIl(0x396,'Uyh7'),'svFlK':l1llIIIl(0x1c8,'(N[a'),'eqVSn':function(iIlIII,lili111){return iIlIII===lili111;},'XnnzR':l1llIIIl(0x276,'(N[a'),'qAXtB':function(liI1i1Ii,lliI1l){return liI1i1Ii/lliI1l;},'VaXed':l1llIIIl(0x37c,'Uyh7'),'msePf':function(I1lllI,iI1IiIll){return I1lllI>iI1IiIll;},'XlUGw':function(Iili1lIi,II1l1iiI){return Iili1lIi+II1l1iiI;},'LxiKb':function(IIill11,IIl1Ii11){return IIill11===IIl1Ii11;},'Mlzeh':l1llIIIl(0x37d,'[d)$'),'SjNng':l1llIIIl(0x405,'dj0d'),'uiBqQ':function(iIIi111I,iIlliil1){return iIIi111I>iIlliil1;},'YdgNi':l1llIIIl(0x213,'1CHN'),'Optow':l1llIIIl(0x182,'[8&D'),'uUNag':function(I11IiIll,iliI1il){return I11IiIll===iliI1il;},'lRDrP':l1llIIIl(0x1f2,'BDOF'),'IsvmY':function(I11ili1I,llIiIl1i){return I11ili1I>llIiIl1i;},'xyBYP':function(lili11l,l1Iilll1){return lili11l-l1Iilll1;}};let i11illII=!![];token[l1llIIIl(0x291,'YI]x')](':')&&Iiil11l1[l1llIIIl(0x241,'8zew')](token[l1llIIIl(0x319,')2&@')](':')[l1llIIIl(0x1d7,'s2#N')],0x3)&&(Iiil11l1[l1llIIIl(0x2cd,'0C%t')](Iiil11l1[l1llIIIl(0x270,'eaW5')],Iiil11l1[l1llIIIl(0x16d,'0C%t')])?i1l11lll[l1llIIIl(0x27b,'bfO#')](l1llIIIl(0x395,'e05e')+iIIillll):token=token[l1llIIIl(0x1e1,'%WYZ')](':')[0x0]);if(Iiil11l1[l1llIIIl(0x327,'j1AA')](token[l1llIIIl(0x408,'[8&D')],0x20)||!/^[A-Z0-9]*$/[l1llIIIl(0x314,'Czze')](token)){console[l1llIIIl(0x220,'0C!G')](l1llIIIl(0x370,'8zew'));return;}$[l1llIIIl(0x342,'(N[a')]=token,$['UA']=common[l1llIIIl(0x1bb,'%WYZ')](Iiil11l1[l1llIIIl(0x33b,'elgH')]),{jsToken:$[l1llIIIl(0x277,'0C!G')]}=await Iiil11l1[l1llIIIl(0x1fb,'Czze')](jsTk,$['UA'],Iiil11l1[l1llIIIl(0x1dc,'CsB(')],{'bizId':Iiil11l1[l1llIIIl(0x1d8,'TXqj')],'v':Iiil11l1[l1llIIIl(0x263,'dj0d')],'qs':l1llIIIl(0x210,'bfO#')+$[l1llIIIl(0x3b6,'TXqj')]});let IiIli1II=0x0;$[l1llIIIl(0x1f1,'YI]x')]='',$[l1llIIIl(0x3eb,'e05e')]=![];const l11lIIiI=0xa;while(!$[l1llIIIl(0x2a3,'VVBt')]&&Iiil11l1[l1llIIIl(0x2d5,'kR(!')](IiIli1II,l11lIIiI)&&!$[l1llIIIl(0x2ab,'[8&D')]){const Il1li1I=Iiil11l1[l1llIIIl(0x3c1,'VVBt')][l1llIIIl(0x3fc,'6n)c')]('|');let l1i1ilIl=0x0;while(!![]){switch(Il1li1I[l1i1ilIl++]){case'0':IiIli1II++;continue;case'1':await $[l1llIIIl(0x3b2,'4lIj')](0x3e8);continue;case'2':Iiil11l1[l1llIIIl(0x1b9,'BLj[')](IiIli1II,l11lIIiI)&&(console[l1llIIIl(0x3c6,'0C%t')]($[l1llIIIl(0x3b7,')2&@')]||Iiil11l1[l1llIIIl(0x32c,'s2#N')]),$[l1llIIIl(0x29a,'E[%u')]='');continue;case'3':$[l1llIIIl(0x199,')2lA')]='';continue;case'4':await Iiil11l1[l1llIIIl(0x387,'E[%u')](sendRequest,Iiil11l1[l1llIIIl(0x3b5,'kR(!')]);continue;}break;}}if(!$[l1llIIIl(0x383,'[d)$')])return;$[l1llIIIl(0x3df,'dj0d')]=$[l1llIIIl(0x2ec,'Ycmy')][l1llIIIl(0x1f9,'BLj[')],$[l1llIIIl(0x2f7,'[d)$')]=$[l1llIIIl(0x1e0,'e05e')]['id'];if(!$[l1llIIIl(0x394,'yN&!')]||!$[l1llIIIl(0x238,'4lIj')]||$[l1llIIIl(0x2e4,'CsB(')]){if(Iiil11l1[l1llIIIl(0x190,'bfO#')](Iiil11l1[l1llIIIl(0x1fe,'(lwu')],Iiil11l1[l1llIIIl(0x2db,'6n)c')]))il1ililI[l1llIIIl(0x3f1,'MG@5')](II1iIi1i,ill1l1l1);else return;}const liiIlI1I=$[l1llIIIl(0x3bf,'(lwu')][l1llIIIl(0x321,'s2#N')],ii11lI=$[l1llIIIl(0x242,'W^Hz')][l1llIIIl(0x37b,'L7xV')]||[],I111lll1=$[l1llIIIl(0x2bd,'Czze')][l1llIIIl(0x286,'28fd')]||[],II11Iiil=$[l1llIIIl(0x2a8,'Tk@v')][l1llIIIl(0x1d1,'W^Hz')],i11IlII1=$[l1llIIIl(0x30d,'0C%t')][l1llIIIl(0x15f,'Ycmy')],I1111lil=$[l1llIIIl(0x3cd,'elgH')](Iiil11l1[l1llIIIl(0x343,')2&@')],II11Iiil),IiIiilIl=$[l1llIIIl(0x25c,'Czze')](Iiil11l1[l1llIIIl(0x2f4,'Tk@v')],i11IlII1);let IiIill1=![];const I1iII1iI=[],lIIl1II=[...I111lll1,...ii11lI];for(const l1Iill of lIIl1II){const IiiilIi1=l1Iill[l1llIIIl(0x185,'DPt8')],Ii1illii=l1Iill[l1llIIIl(0x39e,'YI]x')]||[],iilI1iI1=[];for(const IiI1II1l of Ii1illii){if(Iiil11l1[l1llIIIl(0x1b7,'Uyh7')](Iiil11l1[l1llIIIl(0x162,'28fd')],Iiil11l1[l1llIIIl(0x1bc,'lww4')])){let Ili1lliI='';const iI111III=IiI1II1l[l1llIIIl(0x29d,'T9@E')],llllliii=IiI1II1l[l1llIIIl(0x2de,'1CHN')],iiI11Iii=IiI1II1l[l1llIIIl(0x37e,'Lhk^')],liiil1I=IiI1II1l[l1llIIIl(0x172,')2&@')],iI1li1i=Iiil11l1[l1llIIIl(0x2e5,'3T[h')](liiil1I,0x5);switch(llllliii){case 0x1:Ili1lliI=Iiil11l1[l1llIIIl(0x209,'elgH')];break;case 0x4:Ili1lliI=iI111III+'京豆';break;case 0x6:Ili1lliI=iI111III+l1llIIIl(0x231,'(lwu');break;case 0x9:Ili1lliI=''+IiI1II1l?.[l1llIIIl(0x243,'E[%u')][0x0]?.[l1llIIIl(0x3d4,'Tk@v')];break;case 0xa:Ili1lliI=iI111III+l1llIIIl(0x153,'28fd');break;case 0xe:Ili1lliI=Iiil11l1[l1llIIIl(0x366,'IkW%')](iI111III,0x64)+l1llIIIl(0x20c,'VVBt');break;default:Ili1lliI=l1llIIIl(0x2c5,'TXqj')+llllliii+')';}if(![0x1,0x6][l1llIIIl(0x2d7,'E[%u')](llllliii)&&!iI1li1i)IiIill1=!![];iilI1iI1[l1llIIIl(0x3f5,'lww4')](Ili1lliI+'(共'+iiI11Iii+'份'+(iI1li1i?Iiil11l1[l1llIIIl(0x2a5,'DPt8')]:'')+')');}else l1I11Il[l1llIIIl(0x2f0,'0cIa')](ili1IIii[l1llIIIl(0x24b,'L7xV')],Iiil11l1[l1llIIIl(0x3dc,'YI]x')]),lliI1i1I[l1llIIIl(0x163,'(Z8e')](0x1);}I1iII1iI[l1llIIIl(0x331,'yN&!')]({'days':IiiilIi1,'prize':iilI1iI1,'havePrize':IiIill1});}const ll1Ii1=await common[l1llIIIl(0x3de,'0C!G')]({'venderId':$[l1llIIIl(0x19d,'CsB(')]});console[l1llIIIl(0x26b,'W^Hz')]((ll1Ii1?l1llIIIl(0x1c1,'YI]x')+ll1Ii1+'\x0a':'')+l1llIIIl(0x36b,'lww4')+I1111lil+l1llIIIl(0x257,'L7xV')+IiIiilIl),notify[l1llIIIl(0x2cb,'(lwu')]((ll1Ii1?l1llIIIl(0x288,'YI]x')+ll1Ii1:'')+l1llIIIl(0x1e2,'[d)$')+I1111lil+l1llIIIl(0x31d,'bfO#')+IiIiilIl);Iiil11l1[l1llIIIl(0x2e8,'kR(!')](I1iII1iI[l1llIIIl(0x24c,'dj0d')],0x0)&&(console[l1llIIIl(0x220,'0C!G')](I1iII1iI[l1llIIIl(0x3dd,'28fd')](I1i1lI1=>(I1i1lI1[l1llIIIl(0x16a,'%WYZ')]===0x0?l1llIIIl(0x377,'e05e'):'连续'+(I1i1lI1[l1llIIIl(0x179,'j1AA')]<0xa?'\x20':'')+I1i1lI1[l1llIIIl(0x1f4,'e05e')]+'天')+':'+I1i1lI1[l1llIIIl(0x221,'28fd')][l1llIIIl(0x15a,'Czze')](','))[l1llIIIl(0x170,')2&@')]('\x0a')),notify[l1llIIIl(0x15d,'e05e')](Iiil11l1[l1llIIIl(0x191,'3T[h')]('\x0a',I1iII1iI[l1llIIIl(0x1d5,'W^Hz')](IlIIIll1=>'【'+(IlIIIll1[l1llIIIl(0x382,'6n)c')]===0x0?l1llIIIl(0x33c,'^Uyj'):'连续'+(IlIIIll1[l1llIIIl(0x1c4,'1CHN')]<0xa?'\x20':'')+IlIIIll1[l1llIIIl(0x1f4,'e05e')]+'天')+'】'+IlIIIll1[l1llIIIl(0x24f,'4lIj')][l1llIIIl(0x157,'0C%t')](','))[l1llIIIl(0x2c9,'eaW5')]('\x0a'))));console[l1llIIIl(0x3c2,'Lhk^')](''),notify[l1llIIIl(0x269,'MG@5')]('\x0a\x0a'+activityUrl);const I1IIlI1=Date[l1llIIIl(0x1f6,'[d)$')]();if(II11Iiil&&Iiil11l1[l1llIIIl(0x229,'Ycmy')](I1IIlI1,II11Iiil)){if(Iiil11l1[l1llIIIl(0x2b6,'VVBt')](Iiil11l1[l1llIIIl(0x247,'28fd')],Iiil11l1[l1llIIIl(0x17e,'E[%u')])){const IliIl1ll=Iiil11l1[l1llIIIl(0x22b,'BDOF')](i11l1II,illI1lli);Iiil11l1[l1llIIIl(0x17c,'TXqj')](IliIl1ll,0x0)&&Iiil11l1[l1llIIIl(0x2f8,'1CHN')](IliIl1ll,0x1)&&(III11llI=IliIl1ll);}else console[l1llIIIl(0x220,'0C!G')](l1llIIIl(0x3c3,'Vink')+I1111lil+l1llIIIl(0x3e7,'DPt8')),i11illII=![];}if(i11IlII1&&Iiil11l1[l1llIIIl(0x336,'eaW5')](I1IIlI1,i11IlII1))Iiil11l1[l1llIIIl(0x1b5,'E[%u')](Iiil11l1[l1llIIIl(0x175,'CsB(')],Iiil11l1[l1llIIIl(0x214,'4lIj')])?(IiiIi1Ii[l1llIIIl(0x1e5,'6n)c')](il11i1Ii),I1l11I1l&&(lIi1ill1[l1llIIIl(0x25b,'Vink')]=!![])):(console[l1llIIIl(0x26b,'W^Hz')](l1llIIIl(0x1e9,'6n)c')+IiIiilIl+l1llIIIl(0x1a4,'MG@5')),i11illII=![]);else Iiil11l1[l1llIIIl(0x386,'Lhk^')](liiIlI1I,0x3)&&(console[l1llIIIl(0x2d6,'Uyh7')](Iiil11l1[l1llIIIl(0x186,'Uyh7')]),i11illII=![]);!IiIill1&&(i11illII=![]);Iiil11l1[l1llIIIl(0x1e7,'yN&!')](I1iII1iI[l1llIIIl(0x328,'kR(!')],0x0)&&($[l1llIIIl(0x379,'&7wW')]=I1iII1iI[0x0][l1llIIIl(0x3b1,')2&@')],$[l1llIIIl(0x31e,'MG@5')]=I1iII1iI[Iiil11l1[l1llIIIl(0x224,')2&@')](I1iII1iI[l1llIIIl(0x245,'0cIa')],0x1)][l1llIIIl(0x205,'VVBt')]);if(!i11illII)return;await common[l1llIIIl(0x1a3,'Tk@v')](accountThreads,cookiesArr,async(ll1liill,Il1iIIii)=>{const l1ilIl1=l1llIIIl;await Iiil11l1[l1ilIl1(0x1df,')2lA')](concMain,ll1liill,Il1iIIii);if($[l1ilIl1(0x292,'W^Hz')])await $[l1ilIl1(0x372,'T9@E')]($[l1ilIl1(0x166,'L7xV')]);});}async function concMain(iI1i1IiI,l1iIIl1){const i11IIlli=I1Ii111l,i1iii1lI={'JTNic':i11IIlli(0x3ec,'(lwu'),'pXWqJ':i11IIlli(0x3ba,'Vink'),'zNmae':function(IlIIlI11,liiIli11){return IlIIlI11!==liiIli11;},'cXkUw':i11IIlli(0x36d,'Ycmy'),'HpLIN':i11IIlli(0x1ac,'kR(!'),'UPKPM':i11IIlli(0x1de,'IkW%'),'wtAio':function(Il1lilIl,iII1I1Ii){return Il1lilIl===iII1I1Ii;},'eBENV':function(l1lliII,iII11iIl){return l1lliII>iII11iIl;},'zopsE':function(i1ii1Iii,I11lil1i){return i1ii1Iii!==I11lil1i;},'evhET':i11IIlli(0x1f8,'%WYZ'),'dkQuW':i11IIlli(0x3ab,'s2#N'),'jFbsC':i11IIlli(0x31c,'VVBt'),'RDASw':i11IIlli(0x261,'CsB('),'VuaHN':function(iii1I1il,I1lII1li){return iii1I1il/I1lII1li;},'iGFid':i11IIlli(0x374,'j1AA'),'WqMtJ':function(iIIilliI,i11i1Ii1){return iIIilliI>i11i1Ii1;},'NkeBi':function(liiIl,ll1ii1lI){return liiIl!==ll1ii1lI;},'YguMF':i11IIlli(0x17d,'YI]x'),'qARlJ':i11IIlli(0x2d4,')2&@'),'YHNMq':i11IIlli(0x24e,'L7xV'),'nKvqE':i11IIlli(0x398,'8zew'),'cvLVZ':i11IIlli(0x3d5,'MG@5'),'YuKER':function(il1l1ill,illi1Il){return il1l1ill===illi1Il;},'nyVtz':i11IIlli(0x28c,'BLj['),'tIPuf':i11IIlli(0x27e,'BDOF'),'PlRys':i11IIlli(0x3c5,'[d)$'),'DgyAX':function(l1IlIil1,illiIiiI){return l1IlIil1===illiIiiI;},'sQLpZ':i11IIlli(0x305,'TXqj'),'dfLid':i11IIlli(0x329,'%WYZ'),'NmDRg':function(l1IIilll,lIiiII1i){return l1IIilll>lIiiII1i;},'DSsKk':function(illIii1,iiiIil1i){return illIii1>=iiiIil1i;},'bQFjq':i11IIlli(0x403,')2&@'),'syxiT':i11IIlli(0x341,'4^74'),'QCtZl':i11IIlli(0x311,'6n)c'),'OpDpR':i11IIlli(0x310,')2&@'),'XYHbu':i11IIlli(0x38e,'CsB('),'jpbti':i11IIlli(0x39d,'elgH'),'Emqix':i11IIlli(0x20a,'Ycmy'),'MItzP':function(IlIiili,iI1i1iI1){return IlIiili(iI1i1iI1);},'HTSVi':i11IIlli(0x326,'4^74'),'bgWlY':i11IIlli(0x2ee,'s2#N'),'GMgSX':i11IIlli(0x14a,'Tk@v'),'iRMNp':i11IIlli(0x23d,'6n)c'),'UdHcW':function(iIlIiIli,I1iiiII){return iIlIiIli(I1iiiII);},'azKMv':i11IIlli(0x3ae,'4^74'),'tgrDc':function(l1l1l11,li1ll1I){return l1l1l11/li1ll1I;},'IyzQI':i11IIlli(0x24a,'E[%u'),'jtPaH':i11IIlli(0x36f,'L7xV'),'FVOzJ':i11IIlli(0x19e,'4lIj'),'OfnFF':i11IIlli(0x203,'8zew'),'TbBXM':i11IIlli(0x252,'(Z8e'),'hstoz':i11IIlli(0x246,'3T[h'),'FHhvP':i11IIlli(0x323,'IkW%'),'ZytfP':i11IIlli(0x20b,'(lwu'),'RIScU':i11IIlli(0x3c0,'eaW5'),'RVzza':i11IIlli(0x31f,'4lIj'),'ubEiw':i11IIlli(0x15c,'yN&!'),'hxnnB':function(IIiI1l1i,l1i1liIi){return IIiI1l1i<l1i1liIi;},'vVjJq':i11IIlli(0x3d6,'DPt8'),'WehgI':i11IIlli(0x337,'elgH'),'SrCfS':function(I1iI1lIi,lIiIlII1,ill11lii){return I1iI1lIi(lIiIlII1,ill11lii);},'uChMT':function(i1Iiiii,IIlIi11i){return i1Iiiii>=IIlIi11i;},'HhBsS':i11IIlli(0x174,'6n)c'),'PjFnt':function(ill11ii1,ilIliiIl){return ill11ii1===ilIliiIl;},'crREw':i11IIlli(0x28a,'Uyh7'),'JCFQn':i11IIlli(0x359,')2&@'),'hgmjY':i11IIlli(0x168,'Tk@v'),'ItTQB':i11IIlli(0x376,'4lIj'),'tnjPH':function(iIli1l11,I1IlIl1l,ll11liI,I1li11i1){return iIli1l11(I1IlIl1l,ll11liI,I1li11i1);},'amcSB':i11IIlli(0x2a4,'E[%u'),'OaOqa':i11IIlli(0x347,'BLj['),'NkioE':i11IIlli(0x2f3,'IkW%'),'joMrn':function(iliiIII1,ii1iII1l){return iliiIII1>ii1iII1l;},'bBnXP':function(II1iIil,I1l11l){return II1iIil(I1l11l);},'yMbvJ':function(ilIiIi1i,lllIl111){return ilIiIi1i(lllIl111);}};if($[i11IIlli(0x3c9,'(Z8e')])return{'runEnd':!![]};const iIili1l=i1iii1lI[i11IIlli(0x255,')2lA')](decodeURIComponent,common[i11IIlli(0x2b2,'IkW%')](iI1i1IiI,i1iii1lI[i11IIlli(0x2ca,'Vink')])),i1ii1l1=i11IIlli(0x149,'^Uyj')+l1iIIl1+'】'+iIili1l+':',lI1lili=notify[i11IIlli(0x26d,'kR(!')](l1iIIl1,iIili1l),ll1i1il1=await common[i11IIlli(0x1b3,'0C!G')](iI1i1IiI);if(!ll1i1il1&&i1iii1lI[i11IIlli(0x1ef,'IkW%')](typeof ll1i1il1,i1iii1lI[i11IIlli(0x2b7,')2lA')])){if(i1iii1lI[i11IIlli(0x1c3,'Vink')](i1iii1lI[i11IIlli(0x16e,'28fd')],i1iii1lI[i11IIlli(0x22c,'4^74')])){console[i11IIlli(0x1ca,'BLj[')](i1ii1l1+i11IIlli(0x1ce,'Ycmy')),lI1lili[i11IIlli(0x2c3,'0C!G')](i1iii1lI[i11IIlli(0x161,'bfO#')]);return;}else delete llliilii[i11IIlli(0x1b1,'kR(!')],delete l1IIiI11[i11IIlli(0x2ac,'[d)$')][i1iii1lI[i11IIlli(0x21c,'VVBt')]];}const iillliI1=common[i11IIlli(0x3fb,'IkW%')](iIili1l),{jsToken:Il1iIiIl}=await i1iii1lI[i11IIlli(0x259,'elgH')](jsTk,iillliI1,i1iii1lI[i11IIlli(0x3bd,'0C!G')],{'bizId':i1iii1lI[i11IIlli(0x256,'[8&D')],'v':i1iii1lI[i11IIlli(0x2ad,'28fd')],'qs':i11IIlli(0x3fd,'T9@E')+$[i11IIlli(0x198,'6n)c')]});if($[i11IIlli(0x2ed,'&7wW')])return{'runEnd':!![]};let iIIl1lI='',ll1ii1i=[],Ill1iII1=![];await i1iii1lI[i11IIlli(0x406,'0cIa')](iiili1Il,i1iii1lI[i11IIlli(0x25e,'3T[h')]);if($[i11IIlli(0x290,'IkW%')])await $[i11IIlli(0x2f1,'(lwu')]($[i11IIlli(0x332,'^Uyj')]);if(Ill1iII1&&i1iii1lI[i11IIlli(0x239,'CsB(')](signHotMaxRetryTimes,0x0)){let I1ili1l1=0x0;while(i1iii1lI[i11IIlli(0x3f9,'Lhk^')](I1ili1l1,signHotMaxRetryTimes)){if($[i11IIlli(0x3ed,'s2#N')])return{'runEnd':!![]};await i1iii1lI[i11IIlli(0x28e,'Uyh7')](iiili1Il,i1iii1lI[i11IIlli(0x3a9,'Tk@v')]);if(!Ill1iII1)break;if($[i11IIlli(0x332,'^Uyj')])await $[i11IIlli(0x30c,'Czze')]($[i11IIlli(0x19b,'Ycmy')]);I1ili1l1++;}}if(iIIl1lI){await i1iii1lI[i11IIlli(0x2e2,'W^Hz')](iiili1Il,i1iii1lI[i11IIlli(0x3f0,'elgH')]);const i1IIIl=''+iIIl1lI+(i1iii1lI[i11IIlli(0x389,')2&@')](ll1ii1i[i11IIlli(0x264,'(N[a')],0x0)?'('+ll1ii1i[i11IIlli(0x21d,'j1AA')](',')+')':'');console[i11IIlli(0x1ca,'BLj[')](''+i1ii1l1+i1IIIl),lI1lili[i11IIlli(0x375,')2&@')](i1IIIl[i11IIlli(0x171,'Ycmy')]('✅','')[i11IIlli(0x315,'BLj[')]('❌','')[i11IIlli(0x2fe,'1CHN')]('🚫','')[i11IIlli(0x297,'4lIj')]());}function iIIilIIl(lIliIi1,I1i1i1II){const llI11ii=i11IIlli,IllIli1I={'rzalN':i1iii1lI[llI11ii(0x2d0,'1CHN')],'zhKpx':i1iii1lI[llI11ii(0x281,'6n)c')]};try{if(i1iii1lI[llI11ii(0x1ed,'VVBt')](i1iii1lI[llI11ii(0x2c4,'e05e')],i1iii1lI[llI11ii(0x23a,'Tk@v')]))switch(lIliIi1){case i1iii1lI[llI11ii(0x3c7,'4lIj')]:if(i1iii1lI[llI11ii(0x38f,'(N[a')](I1i1i1II[llI11ii(0x176,'j1AA')],0xc8)&&i1iii1lI[llI11ii(0x1d3,'E[%u')](I1i1i1II[llI11ii(0x150,'Lhk^')],!![])){const I1I1i1li=[];if(I1i1i1II[llI11ii(0x1c7,')2lA')]&&i1iii1lI[llI11ii(0x2ff,'kR(!')](I1i1i1II[llI11ii(0x1cd,'8zew')][llI11ii(0x197,'VVBt')],0x0)){if(i1iii1lI[llI11ii(0x285,'0C!G')](i1iii1lI[llI11ii(0x32a,'T9@E')],i1iii1lI[llI11ii(0x1ad,'0C%t')]))illIIiIl[llI11ii(0x27b,'bfO#')]('❓'+iIII1Il+'\x20'+IilllllI[llI11ii(0x26e,'Vink')](ii1iiiI1));else for(const iili1iIl of I1i1i1II[llI11ii(0x1cd,'8zew')]){if(i1iii1lI[llI11ii(0x2d9,'1CHN')](i1iii1lI[llI11ii(0x1a5,'e05e')],i1iii1lI[llI11ii(0x267,'e05e')])){const lI1lIll1=iili1iIl?.[llI11ii(0x282,'Tk@v')]||[];for(const l11iII1I of lI1lIll1){const I1i1iii1=l11iII1I?.[llI11ii(0x1c9,'(lwu')],IiiiiIIl=l11iII1I?.[llI11ii(0x272,'L7xV')];let i1lilIl='';switch(I1i1iii1){case 0x1:i1lilIl=i1iii1lI[llI11ii(0x194,'&7wW')];break;case 0x4:i1lilIl=IiiiiIIl+llI11ii(0x27c,'lww4');break;case 0x6:i1lilIl=IiiiiIIl+llI11ii(0x1c2,'%WYZ');break;case 0x9:i1lilIl=l11iII1I?.[llI11ii(0x317,'4^74')][0x0]?.[llI11ii(0x211,'0C!G')]+'🎁';break;case 0xa:i1lilIl=IiiiiIIl+llI11ii(0x30b,'DPt8');break;case 0xe:i1lilIl=i1iii1lI[llI11ii(0x158,'kR(!')](IiiiiIIl,0x64)+llI11ii(0x354,'Vink');break;default:i1lilIl=llI11ii(0x273,'[8&D')+I1i1iii1+')';}I1I1i1li[llI11ii(0x2ba,'4^74')](i1lilIl);}}else lIill1ll=llI11ii(0x32e,'TXqj')+iI11IlII[llI11ii(0x34e,'lww4')](illIlii1);}}iIIl1lI=i1iii1lI[llI11ii(0x344,'Lhk^')],i1iii1lI[llI11ii(0x294,'0C%t')](I1I1i1li[llI11ii(0x328,'kR(!')],0x0)&&(ll1ii1i=I1I1i1li),Ill1iII1=![];}else{if(i1iii1lI[llI11ii(0x29b,'MG@5')](I1i1i1II[llI11ii(0x3ef,'DPt8')],0xc8)){const llli11iI=signStatusMessages[I1i1i1II[llI11ii(0x275,'Uyh7')]]||I1i1i1II[llI11ii(0x363,'MG@5')]+llI11ii(0x33a,'TXqj');[0x1843da61,0x1843da62,0x192][llI11ii(0x2c2,'[d)$')](I1i1i1II[llI11ii(0x3ca,'E[%u')])&&($[llI11ii(0x36c,'4^74')]=!![]),ll1ii1i=[llli11iI],iIIl1lI=llI11ii(0x2c0,'&7wW'),(i1iii1lI[llI11ii(0x1d3,'E[%u')](I1i1i1II[llI11ii(0x3cf,'0cIa')],'-1')||i1iii1lI[llI11ii(0x3e1,'IkW%')](I1i1i1II[llI11ii(0x275,'Uyh7')],-0x1))&&(i1iii1lI[llI11ii(0x3bb,'0C!G')](i1iii1lI[llI11ii(0x21e,'L7xV')],i1iii1lI[llI11ii(0x324,'MG@5')])?Ill1iII1=!![]:I1Il1lI1[llI11ii(0x350,'s2#N')]=!![]);}else{if(I1i1i1II[llI11ii(0x15e,')2lA')]){if(i1iii1lI[llI11ii(0x1ec,'%WYZ')](i1iii1lI[llI11ii(0x230,'(N[a')],i1iii1lI[llI11ii(0x16c,'%WYZ')]))ll1i11Ii[llI11ii(0x240,'1CHN')](llI11ii(0x2c8,'%WYZ')+lIi11llI+llI11ii(0x1be,'dj0d')),IlI1IIIi=![];else{iIIl1lI=i1iii1lI[llI11ii(0x346,'E[%u')],ll1ii1i=[I1i1i1II[llI11ii(0x3f2,'elgH')]];if(!signStatusMessages[I1i1i1II[llI11ii(0x167,'IkW%')]])Ill1iII1=!![];}}else i1iii1lI[llI11ii(0x234,'W^Hz')](i1iii1lI[llI11ii(0x3b4,'0C!G')],i1iii1lI[llI11ii(0x1c5,'6n)c')])?(lI1I111i[llI11ii(0x159,'4^74')]('❓'+ll1iIlii+'\x20'+liiIi1[llI11ii(0x222,'1CHN')](ii1iII1i)),Il1I1I1i[llI11ii(0x2c6,'^Uyj')]=!![]):iIIl1lI=llI11ii(0x14e,'[8&D')+JSON[llI11ii(0x34e,'lww4')](I1i1i1II);}}break;case i1iii1lI[llI11ii(0x202,'yN&!')]:if(i1iii1lI[llI11ii(0x34d,'E[%u')](I1i1i1II[llI11ii(0x1db,')2&@')],0xc8)&&i1iii1lI[llI11ii(0x1ab,'YI]x')](I1i1i1II[llI11ii(0x2d1,'j1AA')],!![])&&I1i1i1II[llI11ii(0x28b,'3T[h')]){if(i1iii1lI[llI11ii(0x1d4,'(lwu')](i1iii1lI[llI11ii(0x37f,'eaW5')],i1iii1lI[llI11ii(0x361,'kR(!')])){const liil1lli=I1i1i1II[llI11ii(0x356,'4^74')][llI11ii(0x3d0,'&7wW')];i1iii1lI[llI11ii(0x280,'4^74')](liil1lli,0x0)&&$[llI11ii(0x25d,'E[%u')]&&(ll1ii1i[llI11ii(0x371,'TXqj')]('连签'+liil1lli+'天'),$[llI11ii(0x33f,'Vink')]&&i1iii1lI[llI11ii(0x318,'4lIj')](liil1lli,$[llI11ii(0x400,'VVBt')])&&(i1iii1lI[llI11ii(0x3f3,'&7wW')](i1iii1lI[llI11ii(0x189,'CsB(')],i1iii1lI[llI11ii(0x302,'j1AA')])?ll1ii1i[llI11ii(0x22a,'(lwu')](i1iii1lI[llI11ii(0x18e,'(Z8e')]):iil1iIii=0x1));}else Ilii111=i1iliII;}else{if(I1i1i1II[llI11ii(0x3f2,'elgH')]){}else console[llI11ii(0x2b4,'eaW5')]('❓'+lIliIi1+'\x20'+JSON[llI11ii(0x397,'3T[h')](I1i1i1II));}break;}else iiiiliil[llI11ii(0x2eb,'Vink')](i1llIil[llI11ii(0x1a0,'T9@E')]||IllIli1I[llI11ii(0x1b6,'3T[h')]),I1IIiI1i[llI11ii(0x39b,'4^74')]='';}catch(lIi1iIi){i1iii1lI[llI11ii(0x2bf,'bfO#')](i1iii1lI[llI11ii(0x3e4,'i^OM')],i1iii1lI[llI11ii(0x2fd,'Czze')])?(delete Il1IliIi[llI11ii(0x38a,'BLj[')],delete liiIlii[llI11ii(0x1bd,'i^OM')][IllIli1I[llI11ii(0x227,'[d)$')]]):console[llI11ii(0x1ca,'BLj[')](llI11ii(0x22e,'TXqj')+lIliIi1+llI11ii(0x253,'L7xV')+(lIi1iIi[llI11ii(0x300,'Ycmy')]||lIi1iIi));}}async function iiili1Il(I1lli1i1){const Iil1llli=i11IIlli;let lli11II1='',i1i1i1il=null,IlliIiI=null,IlIlIli=i1iii1lI[Iil1llli(0x3f6,'e05e')],ll1l1iIi={},Iiliili1={};switch(I1lli1i1){case i1iii1lI[Iil1llli(0x18b,'E[%u')]:Iiliili1={'appId':i1iii1lI[Iil1llli(0x1e6,'(Z8e')],'functionId':i1iii1lI[Iil1llli(0x1a6,'28fd')],'appid':i1iii1lI[Iil1llli(0x1d0,'VVBt')],'body':{'token':$[Iil1llli(0x388,'lww4')],'venderId':i1iii1lI[Iil1llli(0x353,'&7wW')](parseInt,$[Iil1llli(0x177,'Czze')])||'','activityId':i1iii1lI[Iil1llli(0x20d,'E[%u')](parseInt,$[Iil1llli(0x2cc,'BDOF')])||'','type':0x38,'actionType':0x7},'version':i1iii1lI[Iil1llli(0x244,'4lIj')],'ua':iillliI1},ll1l1iIi=await H5st[Iil1llli(0x407,'28fd')](Iiliili1),lli11II1=i1iii1lI[Iil1llli(0x2dc,'3T[h')],IlliIiI=Object[Iil1llli(0x196,'yN&!')]({},ll1l1iIi[Iil1llli(0x16b,'8zew')],{'jsonp':i1iii1lI[Iil1llli(0x1f0,'BDOF')]});break;case i1iii1lI[Iil1llli(0x184,'eaW5')]:lli11II1=i1iii1lI[Iil1llli(0x3a6,'6n)c')],IlliIiI={'appid':i1iii1lI[Iil1llli(0x32d,'DPt8')],'functionId':i1iii1lI[Iil1llli(0x365,'6n)c')],'body':JSON[Iil1llli(0x34e,'lww4')]({'token':$[Iil1llli(0x322,'dj0d')],'venderId':i1iii1lI[Iil1llli(0x2b9,'3T[h')](parseInt,$[Iil1llli(0x2b0,'0cIa')])||'','activityId':i1iii1lI[Iil1llli(0x2fb,'3T[h')](parseInt,$[Iil1llli(0x304,'4^74')])||'','type':0x38}),'jsonp':i1iii1lI[Iil1llli(0x18a,'lww4')]};break;}const lli1l1Ii={'t':Math[Iil1llli(0x338,'^Uyj')](i1iii1lI[Iil1llli(0x228,'e05e')](Date[Iil1llli(0x232,'T9@E')](),0x3e8))+Iil1llli(0x260,'(lwu'),'loginType':'2','x-api-eid-token':Il1iIiIl};i1i1i1il&&Object[Iil1llli(0x38b,'T9@E')](i1i1i1il,lli1l1Ii);IlliIiI&&(i1iii1lI[Iil1llli(0x1ea,'lww4')](i1iii1lI[Iil1llli(0x22d,'0cIa')],i1iii1lI[Iil1llli(0x299,'L7xV')])?Object[Iil1llli(0x27d,'IkW%')](IlliIiI,lli1l1Ii):iiIIi1i1[Iil1llli(0x3b8,'i^OM')]=li1111i[Iil1llli(0x29c,'DPt8')]);const i1I1llil={'url':lli11II1,'method':IlIlIli,'headers':{'Accept':i1iii1lI[Iil1llli(0x28f,'0cIa')],'Accept-Encoding':i1iii1lI[Iil1llli(0x320,')2lA')],'Accept-Language':i1iii1lI[Iil1llli(0x3b3,'YI]x')],'Connection':i1iii1lI[Iil1llli(0x30a,'3T[h')],'Content-Type':i1iii1lI[Iil1llli(0x3ac,'0C!G')],'Host':i1iii1lI[Iil1llli(0x1a7,'dj0d')],'Referer':activityUrl,'Sec-Fetch-Dest':i1iii1lI[Iil1llli(0x26a,'T9@E')],'Sec-Fetch-Mode':i1iii1lI[Iil1llli(0x3f4,'BLj[')],'Sec-Fetch-Site':i1iii1lI[Iil1llli(0x27f,'YI]x')],'User-Agent':iillliI1,'Cookie':iI1i1IiI},'params':IlliIiI,'data':i1i1i1il,'timeout':0x7530};i1iii1lI[Iil1llli(0x204,'4lIj')](IlIlIli,i1iii1lI[Iil1llli(0x2e6,'eaW5')])&&(delete i1I1llil[Iil1llli(0x178,'^Uyj')],delete i1I1llil[Iil1llli(0x17b,'0cIa')][i1iii1lI[Iil1llli(0x235,'(Z8e')]]);const lllIiI1i=0x3;let lili1111=0x0,I1llll11=null,l11I11ii=![];while(i1iii1lI[Iil1llli(0x223,'L7xV')](lili1111,lllIiI1i)){const IIlIlllI=await common[Iil1llli(0x1d6,'28fd')](i1I1llil);if(!IIlIlllI[Iil1llli(0x3d3,'CsB(')]){if(i1iii1lI[Iil1llli(0x1dd,'TXqj')](i1iii1lI[Iil1llli(0x325,'lww4')],i1iii1lI[Iil1llli(0x3e6,'IkW%')])){I1llll11=I1lli1i1+Iil1llli(0x17f,'CsB(')+IIlIlllI[Iil1llli(0x390,'0C%t')]+Iil1llli(0x3a4,'yN&!'),lili1111++;continue;}else I1i11III[Iil1llli(0x29e,'CsB(')]=lI1111l;}if(!IIlIlllI[Iil1llli(0x27a,'Tk@v')]){I1llll11=I1lli1i1+Iil1llli(0x25f,'Czze'),lili1111++;continue;}i1iii1lI[Iil1llli(0x2fc,')2&@')](iIIilIIl,I1lli1i1,IIlIlllI[Iil1llli(0x22f,'i^OM')]),l11I11ii=![];break;}i1iii1lI[Iil1llli(0x156,'0C!G')](lili1111,lllIiI1i)&&(console[Iil1llli(0x220,'0C!G')](I1llll11),l11I11ii&&($[Iil1llli(0x188,'dj0d')]=!![]));}}async function handleResponse(iI11IliI,i11Il1I1){const iIl1I1li=I1Ii111l,lliliiil={'CuOIR':iIl1I1li(0x147,'T9@E'),'pNnbA':iIl1I1li(0x226,'Ycmy'),'vqkhs':function(i11i1iIi,I11iIlI){return i11i1iIi!==I11iIlI;},'CkJBT':iIl1I1li(0x2cf,'Tk@v'),'HhLpM':iIl1I1li(0x1fd,'BDOF'),'VoSJT':iIl1I1li(0x3ff,'0cIa'),'aLFSB':function(I1IlIIlI,l11l111i){return I1IlIIlI===l11l111i;},'lWkCq':function(l11IiIli,l1liiii){return l11IiIli===l1liiii;},'vPgOf':iIl1I1li(0x1f7,'DPt8'),'JfBtc':iIl1I1li(0x3fe,'[d)$')};try{if(lliliiil[iIl1I1li(0x2e3,'Lhk^')](lliliiil[iIl1I1li(0x151,'4lIj')],lliliiil[iIl1I1li(0x251,'MG@5')]))switch(iI11IliI){case lliliiil[iIl1I1li(0x3a0,'dj0d')]:if(lliliiil[iIl1I1li(0x2af,'e05e')](i11Il1I1[iIl1I1li(0x401,'28fd')],0xc8)&&lliliiil[iIl1I1li(0x3ad,'1CHN')](i11Il1I1[iIl1I1li(0x298,'BDOF')],!![])&&i11Il1I1[iIl1I1li(0x2e1,'TXqj')]){if(lliliiil[iIl1I1li(0x23b,'yN&!')](lliliiil[iIl1I1li(0x1b0,'6n)c')],lliliiil[iIl1I1li(0x380,'s2#N')])){li1Illli[iIl1I1li(0x2a0,'&7wW')](lI11IIIi+iIl1I1li(0x367,'yN&!')),liIi1i1I[iIl1I1li(0x30e,'Czze')](lliliiil[iIl1I1li(0x3d8,'E[%u')]);return;}else $[iIl1I1li(0x16f,'MG@5')]=i11Il1I1[iIl1I1li(0x345,'IkW%')];}else i11Il1I1[iIl1I1li(0x2e7,'e05e')]?(console[iIl1I1li(0x27b,'bfO#')](iIl1I1li(0x206,'VVBt')+i11Il1I1[iIl1I1li(0x2f0,'0cIa')]),$[iIl1I1li(0x2e9,'L7xV')]=!![]):(console[iIl1I1li(0x391,'%WYZ')]('❓'+iI11IliI+'\x20'+JSON[iIl1I1li(0x34c,'(lwu')](i11Il1I1)),$[iIl1I1li(0x265,'Uyh7')]=!![]);break;}else iil1l11[iIl1I1li(0x169,'Lhk^')](lliliiil[iIl1I1li(0x3e3,'^Uyj')]);}catch(iI1iIlI){console[iIl1I1li(0x1e5,'6n)c')](iIl1I1li(0x18d,'Uyh7')+iI11IliI+iIl1I1li(0x3da,'TXqj')+(iI1iIlI[iIl1I1li(0x2a9,'e05e')]||iI1iIlI));}}async function sendRequest(i1IIiii1){const Il111il1=I1Ii111l,IiII11lI={'HBGQE':function(i1IIii1I,iIiIliII){return i1IIii1I(iIiIliII);},'EIiJL':function(IilIlIIl,IiiilIil){return IilIlIIl>IiiilIil;},'LHyDM':function(lIii1llI,liliIiI){return lIii1llI>liliIiI;},'WngzP':function(lI1ll1l,lI1iI1Il){return lI1ll1l>=lI1iI1Il;},'NQzWU':Il111il1(0x21a,'Tk@v'),'cqOjs':function(lii1lIIl,ili11I11){return lii1lIIl>=ili11I11;},'NCnYU':Il111il1(0x381,'(lwu'),'DiJFL':Il111il1(0x164,')2&@'),'rjDhM':Il111il1(0x1cb,'Ycmy'),'yWfJy':Il111il1(0x39a,'e05e'),'cyVdt':Il111il1(0x23c,'BDOF'),'Qeqag':Il111il1(0x1a8,'Czze'),'axZFJ':Il111il1(0x333,'4^74'),'AQAZN':Il111il1(0x248,'CsB('),'NjuIJ':function(IlIIl11i,iIlI1lII){return IlIIl11i/ iIlI1lII;},'CXeEU':Il111il1(0x3cc,'T9@E'),'KBrAz':Il111il1(0x312,'W^Hz'),'mghQI':Il111il1(0x215,'CsB('),'RlKFC':Il111il1(0x1cf,'%WYZ'),'sUpsH':Il111il1(0x3c8,'4^74'),'OkdpO':Il111il1(0x284,'BLj['),'xwNlo':Il111il1(0x1e8,'Vink'),'IoPEg':Il111il1(0x1d9,'[d)$'),'wpPVy':Il111il1(0x1da,'eaW5'),'kLiBt':function(I1Ii111I,l1l1iII1){return I1Ii111I===l1l1iII1;},'HYtCh':Il111il1(0x3f8,'elgH'),'BQcqz':function(i1IiIIi1,Ii111IIi){return i1IiIIi1<Ii111IIi;},'odJgh':function(i1l1llll,lI1llil1){return i1l1llll!==lI1llil1;},'smcIj':Il111il1(0x3e0,'bfO#'),'ffQNn':Il111il1(0x1f5,')2lA'),'lOKbl':function(iIlIlIli,illIill){return iIlIlIli===illIill;},'yuiLX':Il111il1(0x357,'i^OM'),'DxMdv':function(liillii,illIIIiI){return liillii!==illIIIiI;},'dpEQS':Il111il1(0x3e5,'j1AA'),'JDPRI':Il111il1(0x3db,'6n)c'),'TiTJA':function(iii111il,iillil1l,i1IilIl){return iii111il(iillil1l,i1IilIl);}};if($[Il111il1(0x2b1,'0cIa')])return;let l1i1li1I='',illll=null,illI1i1=null,I11ill1i=IiII11lI[Il111il1(0x2f6,'kR(!')],l11ilIIl={},iIlIil1I={};switch(i1IIiii1){case IiII11lI[Il111il1(0x183,'%WYZ')]:iIlIil1I={'appId':IiII11lI[Il111il1(0x160,'E[%u')],'functionId':IiII11lI[Il111il1(0x217,'TXqj')],'appid':IiII11lI[Il111il1(0x268,'[d)$')],'body':{'token':$[Il111il1(0x15b,'W^Hz')],'venderId':''},'version':IiII11lI[Il111il1(0x303,'%WYZ')],'ua':$['UA']},l11ilIIl=await H5st[Il111il1(0x2d8,'VVBt')](iIlIil1I),l1i1li1I=IiII11lI[Il111il1(0x1c0,'s2#N')],illI1i1=Object[Il111il1(0x2ea,'DPt8')]({},l11ilIIl[Il111il1(0x404,'0C!G')],{'jsonp':IiII11lI[Il111il1(0x3aa,'28fd')]});break;default:console[Il111il1(0x3a3,'IkW%')](Il111il1(0x18f,'0C!G')+i1IIiii1);return;}const lliIlii={'t':Math[Il111il1(0x192,'bfO#')](IiII11lI[Il111il1(0x3e8,'CsB(')](Date[Il111il1(0x2a1,'Czze')](),0x3e8))+Il111il1(0x23e,'6n)c'),'loginType':'2','x-api-eid-token':$[Il111il1(0x14c,'[d)$')]};illll&&Object[Il111il1(0x36a,'Vink')](illll,lliIlii);illI1i1&&Object[Il111il1(0x3e9,'&7wW')](illI1i1,lliIlii);const IlIiil1l={'url':l1i1li1I,'method':I11ill1i,'headers':{'Accept':IiII11lI[Il111il1(0x218,')2&@')],'Accept-Encoding':IiII11lI[Il111il1(0x308,'L7xV')],'Accept-Language':IiII11lI[Il111il1(0x349,'[d)$')],'Connection':IiII11lI[Il111il1(0x358,'%WYZ')],'Content-Type':IiII11lI[Il111il1(0x3a7,'1CHN')],'Host':IiII11lI[Il111il1(0x17a,'&7wW')],'Referer':activityUrl,'Sec-Fetch-Dest':IiII11lI[Il111il1(0x393,'yN&!')],'Sec-Fetch-Mode':IiII11lI[Il111il1(0x301,'[8&D')],'Sec-Fetch-Site':IiII11lI[Il111il1(0x271,'Vink')],'User-Agent':$['UA']},'params':illI1i1,'data':illll,'timeout':0x7530,'httpsTlsOptions':common[Il111il1(0x2be,')2&@')]()};IiII11lI[Il111il1(0x32f,'MG@5')](I11ill1i,IiII11lI[Il111il1(0x225,'&7wW')])&&(delete IlIiil1l[Il111il1(0x2a2,'L7xV')],delete IlIiil1l[Il111il1(0x258,')2lA')][IiII11lI[Il111il1(0x3c4,'Vink')]]);const llil1i1l=0x1;let I1IliiI=0x0,ii11Il11=null,i11llIii=null;while(IiII11lI[Il111il1(0x31a,'yN&!')](I1IliiI,llil1i1l)){if(IiII11lI[Il111il1(0x2a6,'IkW%')](IiII11lI[Il111il1(0x19f,'Uyh7')],IiII11lI[Il111il1(0x3bc,'E[%u')])){IiII11lI[Il111il1(0x1a2,'&7wW')](I1IliiI,0x0)&&await $[Il111il1(0x207,'0cIa')](0x7d0);const l1ii1ii1=await common[Il111il1(0x2ef,'L7xV')](IlIiil1l);if(!l1ii1ii1[Il111il1(0x2df,'DPt8')]){if(IiII11lI[Il111il1(0x1bf,'^Uyj')](IiII11lI[Il111il1(0x38d,'TXqj')],IiII11lI[Il111il1(0x296,'Tk@v')])){i11llIii=l1ii1ii1[Il111il1(0x148,'YI]x')],ii11Il11=Il111il1(0x3ee,'j1AA')+i1IIiii1+Il111il1(0x1e4,'s2#N')+l1ii1ii1[Il111il1(0x2f5,'(N[a')],I1IliiI++;continue;}else{const iIiiiIii=IiII11lI[Il111il1(0x2f2,'(lwu')](liIIii1l,l1IIllI);iil1iI1i=IiII11lI[Il111il1(0x21b,'IkW%')](iIiiiIii,0x0)?iIiiiIii:0x0;}}if(!l1ii1ii1[Il111il1(0x309,'T9@E')]){if(IiII11lI[Il111il1(0x1fc,')2lA')](IiII11lI[Il111il1(0x233,'4^74')],IiII11lI[Il111il1(0x279,'kR(!')])){ii11Il11=Il111il1(0x208,'&7wW')+i1IIiii1+Il111il1(0x237,'Czze'),I1IliiI++;continue;}else{const i11i11l=Iil1Il1I[Il111il1(0x155,'[8&D')][Il111il1(0x187,'0cIa')];IiII11lI[Il111il1(0x154,'e05e')](i11i11l,0x0)&&lIiIilI[Il111il1(0x18c,'^Uyj')]&&(IIlIl1il[Il111il1(0x14b,'Czze')]('连签'+i11i11l+'天'),IIi11il1[Il111il1(0x33d,'1CHN')]&&IiII11lI[Il111il1(0x3b0,'Ycmy')](i11i11l,IIil1Il[Il111il1(0x368,'elgH')])&&llI1Iili[Il111il1(0x2bc,'bfO#')](IiII11lI[Il111il1(0x384,'Vink')]));}}await IiII11lI[Il111il1(0x287,'IkW%')](handleResponse,i1IIiii1,l1ii1ii1[Il111il1(0x306,')2&@')]),ipBlack=![];break;}else{const iI11llll=IiII11lI[Il111il1(0x369,'eaW5')](IillIl1l,iI1lilIi);IiII11lI[Il111il1(0x2b5,'3T[h')](iI11llll,0x0)&&(Iili1Ii1[Il111il1(0x313,'yN&!')]=iI11llll);}}IiII11lI[Il111il1(0x262,'(lwu')](I1IliiI,llil1i1l)&&($[Il111il1(0x362,'28fd')]=ii11Il11,IiII11lI[Il111il1(0x402,'eaW5')](i11llIii,0x193)&&console[Il111il1(0x1af,'dj0d')](ii11Il11));}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)}
|