-
Notifications
You must be signed in to change notification settings - Fork 1
/
jd_hcredrain.js
13 lines (12 loc) · 37 KB
/
jd_hcredrain.js
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
远程获取,自行运行
cron:1 1 1 1 *
============Quantumultx===============
[task_local]
#会场红包雨
1 1 1 1 * jd_hcredrain.js, tag=会场红包雨, enabled=true
*/
const $ = new Env('会场红包雨');
var version_='jsjiami.com.v7';const lIiliIli=I1iiili1;(function(Il1liII,Ii11lI11,il11iiiI,i1II1ll1,I1I1l1i1,Il1i1lil,Iil1llll){return Il1liII=Il1liII>>0x6,Il1i1lil='hs',Iil1llll='hs',function(lll1llll,llIli1ll,Iilll1,IIl11lIl,iI1I11il){const lIliiII1=I1iiili1;IIl11lIl='tfi',Il1i1lil=IIl11lIl+Il1i1lil,iI1I11il='up',Iil1llll+=iI1I11il,Il1i1lil=Iilll1(Il1i1lil),Iil1llll=Iilll1(Iil1llll),Iilll1=0x0;const IlI1iiIi=lll1llll();while(!![]&&--i1II1ll1+llIli1ll){try{IIl11lIl=-parseInt(lIliiII1(0x123,'H%&U'))/0x1+parseInt(lIliiII1(0x8d,'1h8p'))/0x2+-parseInt(lIliiII1(0xf4,'z1QB'))/0x3*(-parseInt(lIliiII1(0xc8,'xNX^'))/0x4)+parseInt(lIliiII1(0xc4,'cyc&'))/0x5+parseInt(lIliiII1(0x129,'O2wd'))/0x6+parseInt(lIliiII1(0x13a,'8Kuf'))/0x7*(-parseInt(lIliiII1(0x18a,'3zY8'))/0x8)+-parseInt(lIliiII1(0x12a,'XgGO'))/0x9;}catch(lill11li){IIl11lIl=Iilll1;}finally{iI1I11il=IlI1iiIi[Il1i1lil]();if(Il1liII<=i1II1ll1)Iilll1?I1I1l1i1?IIl11lIl=iI1I11il:I1I1l1i1=iI1I11il:Iilll1=iI1I11il;else{if(Iilll1==I1I1l1i1['replace'](/[CqOwlbQSPfpDVTBGrdULku=]/g,'')){if(IIl11lIl===llIli1ll){IlI1iiIi['un'+Il1i1lil](iI1I11il);break;}IlI1iiIi[Iil1llll](iI1I11il);}}}}}(il11iiiI,Ii11lI11,function(Iil1liiI,Ililllil,l1ll11i1,IlliI1I,lil1illl,iill1iii,iI1IiIIi){return Ililllil='\x73\x70\x6c\x69\x74',Iil1liiI=arguments[0x0],Iil1liiI=Iil1liiI[Ililllil](''),l1ll11i1='\x72\x65\x76\x65\x72\x73\x65',Iil1liiI=Iil1liiI[l1ll11i1]('\x76'),IlliI1I='\x6a\x6f\x69\x6e',(0x130db6,Iil1liiI[IlliI1I](''));});}(0x3180,0x615ae,iilIiiii,0xc8),iilIiiii)&&(version_=iilIiiii);const iIiI1ii=$[lIiliIli(0x14d,'H%&U')]()?require('./sendNotify'):'',illliIiI=$[lIiliIli(0x110,'C1sT')]()?require(lIiliIli(0x160,'q]#(')):'',l11lill=require(lIiliIli(0x12b,'5Uaw'));function I1iiili1(_0xd65108,_0x1ec6a2){const _0x928b0a=iilIiiii();return I1iiili1=function(_0xe27944,_0x10cfe2){_0xe27944=_0xe27944-0x87;let _0x11cda2=_0x928b0a[_0xe27944];if(I1iiili1['WPcxgR']===undefined){var _0x1d8d03=function(_0xe620c5){const _0x17479e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x220e49='',_0xe8297d='';for(let _0x5a191a=0x0,_0x225fc8,_0x470c94,_0x250a2a=0x0;_0x470c94=_0xe620c5['charAt'](_0x250a2a++);~_0x470c94&&(_0x225fc8=_0x5a191a%0x4?_0x225fc8*0x40+_0x470c94:_0x470c94,_0x5a191a++%0x4)?_0x220e49+=String['fromCharCode'](0xff&_0x225fc8>>(-0x2*_0x5a191a&0x6)):0x0){_0x470c94=_0x17479e['indexOf'](_0x470c94);}for(let _0x578ec0=0x0,_0x5a1284=_0x220e49['length'];_0x578ec0<_0x5a1284;_0x578ec0++){_0xe8297d+='%'+('00'+_0x220e49['charCodeAt'](_0x578ec0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xe8297d);};const _0x3f6e09=function(_0x22d2b0,_0x5d8bd7){let _0x244bbd=[],_0x5eea74=0x0,_0x271c69,_0x5229dc='';_0x22d2b0=_0x1d8d03(_0x22d2b0);let _0x1c30de;for(_0x1c30de=0x0;_0x1c30de<0x100;_0x1c30de++){_0x244bbd[_0x1c30de]=_0x1c30de;}for(_0x1c30de=0x0;_0x1c30de<0x100;_0x1c30de++){_0x5eea74=(_0x5eea74+_0x244bbd[_0x1c30de]+_0x5d8bd7['charCodeAt'](_0x1c30de%_0x5d8bd7['length']))%0x100,_0x271c69=_0x244bbd[_0x1c30de],_0x244bbd[_0x1c30de]=_0x244bbd[_0x5eea74],_0x244bbd[_0x5eea74]=_0x271c69;}_0x1c30de=0x0,_0x5eea74=0x0;for(let _0x53c4b5=0x0;_0x53c4b5<_0x22d2b0['length'];_0x53c4b5++){_0x1c30de=(_0x1c30de+0x1)%0x100,_0x5eea74=(_0x5eea74+_0x244bbd[_0x1c30de])%0x100,_0x271c69=_0x244bbd[_0x1c30de],_0x244bbd[_0x1c30de]=_0x244bbd[_0x5eea74],_0x244bbd[_0x5eea74]=_0x271c69,_0x5229dc+=String['fromCharCode'](_0x22d2b0['charCodeAt'](_0x53c4b5)^_0x244bbd[(_0x244bbd[_0x1c30de]+_0x244bbd[_0x5eea74])%0x100]);}return _0x5229dc;};I1iiili1['FStuoR']=_0x3f6e09,_0xd65108=arguments,I1iiili1['WPcxgR']=!![];}const _0x4d0f8e=_0x928b0a[0x0],_0x15bb2c=_0xe27944+_0x4d0f8e,_0x387c2f=_0xd65108[_0x15bb2c];return!_0x387c2f?(I1iiili1['mmUKst']===undefined&&(I1iiili1['mmUKst']=!![]),_0x11cda2=I1iiili1['FStuoR'](_0x11cda2,_0x10cfe2),_0xd65108[_0x15bb2c]=_0x11cda2):_0x11cda2=_0x387c2f,_0x11cda2;},I1iiili1(_0xd65108,_0x1ec6a2);}function iilIiiii(){const lIIlill=(function(){return[version_,'qCjSksluVjGuiPOaCLmUiQDB.pfcTdowmb.vQr7k==','vCk0W71nW5FcSSkyva7cVN5DfapcI8kvms3dGCoSWP8','W5XKW7e','gcJcNd17','tSk1nW','q2ieeSol','WR9pq8oFya','rmogCaVcQG','wSk0W7C','wCkMWPtcGG','z0un','W6vzsSo3nG','etXgW4ldVNy4W6hcGSkwv8kyW5ddHSomW7hdKh0Xx8orvuT0c8ojWOldQSk+W74+WROHcmoAWRD8FmkyDZ3cTmo+fNtdNhm','W5jQW6xcTghcMG','smkcl0dcPgbDW5C','oCkQjXVcIW','qmoQzSkkWOFcQq','WOe5WQxcGIpdUWKQWRe','W5Kziabuvq','rIGbWQOZ','WRauW4JdNmkZW7OeW63dTCo5yqKfhCoWW49YWOXQzHT1WQbcD8oSW41aWQyKW6u0W79F','CSodW5NcH3PsWPP8hqVcHdRcGCksWO96zt7cPCow','WQNcSSklW4pcRSoA','5lMx5lUC5P2L5yIo5zQr6k+T6zAV5PEA5O2o5lIG56Mp776T6kYq5QoS5P6x6isA6lMN6k++5Ast57YV57Ie5Ok95ywJ','ySoRFbBcUW','E8ohW4dcOW','W6zzCrfo','W7dcNSkFW7VdISo2CmoyWQ0','jKldUmk/xG','WQCjW5tdTSktASkPqbCOWQ1DW5tdMw3cLIZdJmoTWP7dNmo8W403bCofW4hcVGTbbG','E0uzjq','WRpcKsVdG8kY','v8olixGG','WOT2pwXW','C8kAbuxcPa','W63cG8knig0','W6CzW5tdMmk6','5RE25yIY5AEu54k454Q95zw2776t6kYT56Il5zgq5Bod6k2nuG','W4rIxCoNcW','nSkyW6JdQNxdNqxcGhaAWPO7sCkVW5ytWP3cHSo+W5yYWOxcOG','WRFcOmkSW5G','hKTN','W7RcOmkbp0G','hCkinrdcGa','jgzPWPTJ','W6GzW7BdSmksyq','A8oBoKKeW5GKuSo9W4mYWQChW7BcPmowjxmmWOZcLCkhyIhdMCoPW7aCW7/dLfddH2RcRe9dWO5gW6BdGmkwW5KhfW','W4tcUdPa','tvLeWQPJ','uSoJyxXbW5m6ACok','WRPgghDv','ESkupNpcN3vyW53dVctdMSkZWP/cU34Fg085BG','W7VcJmkQW5BcO8otWPPRtJJdO8o4WRRcLWT7a8kYWQddPYlcKeJcT8kvz2NcN8kdxmkpWPZcQSk7wtxdMc1wyraUgg0JxqhcKY1xz2CgWP7cObhdUCk3k8k+A8owW6BcNcpcJSklj8k0WQeMmsOVW4mVW63cTSo0W6FdP3/dM2ddHSkRtmkZW4/cIqW7qCkgW7FdNwBdV8kikrr5WPC8WRtcO8kxmf1hmmozFSopWRmzb8oBWQCnkCksWRNdJcbnhrpdVNxdGmoOWQhdMmormhddMNpdQmkBaJ4jf3JdVwKwtcxdJYPvWQZdLCkxqCk9wSkTWPFcQSoZW77cVYaLW47cHCkeWR5fp0NdTdZdISkfCgZdK8oACmku','WRvcpeTZ','W73dUSksW4lcJNq','kSkIn8oThmkr','xCoRCXhcS2H2WQuZtW7dPmkxz8ohhSkAWPxdLK/dGIuJihddGWzNWQjUW6rlW6PsubeHWOvUASoIWRZcTsOkpvSNW4JcHeH9WRddO8ocW7vAlSkFWQpcT8oUWOyACxTclhVdPrmYWRXuW6xdMe8fea1ZzIq4wmkHW5adySoIuSopWOtdRZBcUCoHsKhcUYGSebOQuIOAWPNcN395mSkJsmo/W6pdS8kKjhGvWOLpWPO6dSoTEspdGCkHWRGiWQRdVmk2W7zrnwddH3JcTGP1WRCWsteFfJCbWQSF','bSkNvmonfmkkWOdcGa','WRBcUrZdNSk6','hmkslCkB','qCoPyCkk','W6hcG8kxW5hdI8o1Fa','W4D/DG1T','WO/cMmkwW4RcIa','W7VcQ8omW6FcJYtdJmkxtHFcJ8oA','mmkojqtcIq','WRxcQ2vyECk9','WOWRW7VdHCku','D8oaW7NcVLC','hvD3','bCoOWQrvWO/dQmoavqNcTN5cBW','rSoZfa9Ylmk8zI/cI8ojrCkd','W70ztmoRFGhdJbbIr8k9W4XhWQjEW6tcL8ozWPqUW6S','W5lcOfddR8ov','WQhdTCkz','bCkis3en','W4tcMSkUW7hdPq','BdVdT8oGW5G','wmk2DW8','6k2x6isZ6kcc6l+X6kgq77+86AoH6ykF5l2Z5lUu5A+M5P+W5PMU5PEI','D8oEW7JcQMe','W7/cJgW','CfXNWQPmWPNdRtFcISom','WRFdV8k0WOhdRG','WRvXuXD/WRZdRaa','W4BdOfLI','x8oxdWiSfvTgyrvbW5ukBxxdR8o4W7iEt8ky','iCkYouRdRZ18W7nrjfhcVG','WPNdTuCyWO4','44gN5O6z56ss44kWW6LWomoKWQlcL+w2MowNGEAxUG','CSoctmo1lW','isjKW5tdJa','W7pcRSo8W4VdJSkR','zmoR5Aw86lAftSow5y2w5zQHW4DC'].concat((function(){return['vCoNtCo4pG','W7xcIgZdVCoV','ECoqjhuOxG','6i6v5B2n772k','W5KFpJq','WR7dR8kDWRddNMpdRa','WR7dG0WcWPumW6FdJYW','W7hcJ8kEW6FdImoL','W5rQW6lcSa','WPSpW5pdH8kPWQvHWOy','W49OsJX2','nCkIhG3cQG','WQtdQCkWWRZdN3u','r8o+DmopkG','WRr2vG','WPzchCkTWRm','b8kpW5tdVue','WRffdmkyWQe','Emo0rdFcMW','W5xcJ8onW6JdV8kbhSo0','WRfBpmkxWP8','dCktgCoJhG','bu11WP9d','vmoIztC','WOuSvSoSW5O','zHJdIa','WOCRu8oOW7NcQSk/W6BcIKisWRtcQSotW4yGjgFdPCkzmmoBW5O','aeBdH8kdCSoN5Bsz5AET5PsyW5NcGCoD','WOZdNe8LWOe','WRPfzSoXDWVdLG','imkPbmoocCkz','axKwW7v0bG8PWRhdRCkvWPWq','pZaQW4OOW6ZcRG','a8kGkSkmECoYW6FdUmoNW6NdISkpW5vzWP0dWPJcGgBcSNTPvbDtvSk3nCk3WQ7cHSksW6TYWOTExWu3WQxcMmoqemoGW44rCu9dtZtcN8oQbsGjAwOeWRhcR8ka','FmosqX3cKq','q8oNAW','WRNcIKT8uW','rCkpW6ymW4q','WRX5vbD4','W4RcGvpdKCoq','WRhcIsddNSkR','W7DnEmoFe1lcTmkOBbnHWRLWWO/dUCo3bsWxCvxcKqBcTalcVSoGWRzvFIOegcKhW6JcQ8oQW6GZjSkpaZtcHIi','WQpdU8ktWRy','z8oLyaW','WRtdMCk4WPxdIW','W5ddOenNWOldJa','W5i7eqPI','tmoNAmkk','WQrEuSorrW','6k+95yQi6zIG5OA15z6XWPdcQbBdNGJOVPxLH6FMO63KVyRMLzRLHkRLRiuI5BIQ6kYh6yg36l6I6isr5PYy5y2C6iYD5y6OBCkFW5mcWRJcRq','W4lcLSkXegK','WRP9wqC','rmk5kgxcUG','fmk1na','W7/dUSkoW5xcHa','WQNdN2KkWO4','W4zEW47cTty','qdRcLSo8WQJcQ8kWo8oedgddRSoDW6KQW5/dPxJcV8ocxrf/aCkmWPmvwCoeW70BWPVcJCkXW7CghGBcNs7dNIiEWQ0','W5GFpIG','W5melJ1uccyabmodbSotp8kHmSkNW6OZbSk1W4Ddwx3cTCoqWQzZfHuMW53cSCkWgCo7W7ZdTwqRW4xcV8o+','5lI05lU16ls+5y2P','imklaJBcTq','W7NcOSo8W43dLSkVmG','WRr5aN51','jSkQimof','W6TRD8oKlG','WQjSuH1+WQ7dQXldLa','jmkKkG','5yQf5lMb5OU95yIn776O5ysC5BYz5lQ+5Q+1','W6FdR8kiW5BcKImRhSorWQi0cqiEWQJdISopW5FdQHOJW7KnzqVcNSk7uwicqCkRe8k7WOW8W4RcTuercCkbWQS','DmkkW50','W4FcNSkgW4VdNG','zqWu','W61wW7ddNSkzWO16WO0','ymoREGW','ECoQBr3cPW','WRHRBbT3WQddRa','W6VcNwRdT8oPW4ldLxxdOq','odZcLHPe','WQNcR8kCW6NcPa','xmkjW78NW5W','lWlcMIz9','WOefu8okW4q','5lQM5lMR5P6I5yIB5zUX6k2T6zsP5PsE5O+65lMb56M8776o6k2C5QgK5P6g6iwf6lIx6k6w5AEx57+457QX5OkG5yA+','ACoJq8kgWOK','W5xdLSkKW7ZcKq','iSk9isFcSq','W6FdR8kiW5BcKImRhSodWRu6a0KfWQJdJCkfWPpdRvSTWRKclWFcKCo4tIqetmkwfmkPWOXRW5BcP2KGemoxWRdcP3JcJu8EkmomW5DtW7NdK8orwZVcHLSaWOJcO8oWWR3dHtShW4jiWPhdQsKzW4BcHq','W4ZcTIK','W5rKW7JcTa','W73cIhX/6k+O5Rkq5AEG6lwV77+E6k2g5QkG5PYr57+l6lAS6ysX6k2e','W7zPrGvhW7Pl','FCklW4W','WRSuv8okW70','fG/cQbO'].concat((function(){return['W6TJqabSW5jcvG','gfbKWPHLWOrLEHpcH2KUW7Lyv0SYpCkPW4GvhCoBW6WMWQ4sW780wdNcL8oZWQOtW7NcSmk9FKLNg8oB','xCkhW47dMSoQ','DSoOzHFcRq','rSoBB8kHWOy','lCkxWPNdTJ8wWRzqdIlcKJi','W5WvlGXsrMfafmoLcmozDmkaDCk+W7P4f8kO','jSkfaSkqgW','5lIC5lIx6lAW5yYM','WQRdR8kSWQ/cLgK','DCo9AmkvWOu','lmoFEbZdMG','lCkpW7NdTgpcRK4','WPHqgfW','WPTekL5+','Amovz0ne','WQZcRSkI','d0ZdHSkpB8oQ','eeRdJCkgFSolWO8','WPbcw8kJ','msyqW4eTW70','WQKQ5Ass6lwoa8kt5y6W5zUtfIq','jEobHUs7Kos6JEI0KEwoNG','WQ7cSW3dNCk3mYZdJW','WRJcTbNcKG','WR03BmoxW50','xhj0WO1M','vmkhg2VcOa','W4tcSCkgbhjcW4JcJmo2','eCkNmtWbWPrLmmkvWO01WQKsW5/cImoag0SkWO3dJSkFE3RdNCkGW6O5WRJdOvFdU1JcGqvvWQLiW43dVmkrW643yMXlWQ3dP8oakKyKnmoJW6XaWO4Ju8kLwJO','W4NcVSkBW53dJa','44go5OY856AM44kl6k+X5yAV6i6D5y255lQS5lM06lEt5y6O5lISWRRcLXhdMmkfW7/dSUEAPEAnJ+s+SoEuMSkNWODlW47cMIxNMkpKUjdKUlJNRz7LIBVOJOJLJlm','WO5xg8kUWQu3hCksx8kClCkEW4HYW7mCeZXzneXqWRBcN8klASonWRZcGmoWWQf3W6O0','d0BdJW','W4tcSmkwhMHxW4JcHmoO','DCkeW4O','bYHAW5ldRW','uCkvpL/cGa','WR9ztq','W6lcMSkDW77dJCoYEmokWR3dLr7cKCkgWPX4W57dOwnpW4VdQHStbCk5cmokl8oSWRZcGNFdMq','WRtcP0HtzW','tXxdM8okW58','W4BdQf5GWOldLgKE','W6NdUSkqW5xcHa','uCoKW6FcJuS','a+IULoMgVUAvUEEyOUw+SEIoU+woP8o9WPhdPCo0WRBdPG','zuShna','Bs0IWQWZ','fevKWOK','BSkfofVcHgzzW5tdTW','W5NMMRtML4RMTQxLIRGCWRi','W5pcQ8kkeG','WQvoBIv6','EmovW4O','B8kTW4VdMmol','WQXNmmkAWPnpz8o6','hCoKW4lcIbm3W6/cO8kuumk2mq','DSo2zHu','AmkpW5ddGCoV','WQJcTCkXW5ZcUCkfW5KLa2JcRmkMWRtdKML4cCoPWRVcS2/dVKtcTSkgzI/cImokaSoAW7xcImkgFwdcTWafjvKdaW','WQNdMYRcP8kXWPhcJfNdJflcS1RcUa','iSkVlmoqh8onWQGVWPKomsqEzmkdAJz9W6xcHNFdRgVcQqRcOCoZn0pdU23dJa5QDYqWW5e3WRZcTCklgxJdGSod','dcmCW4a5','Fmorj1uI','rmodCSohxCkAeCkMW57dGSoR','BWiFWRO8','dGNcTaDpfWi','WR9znCkxWOe','r8ogwMDT','W4n/W6tcUdNdIrOzWOy','bdXlW4ldR2WK','WQ/dRLC7WP4','WQfTuXW','CSoQFc3cPq','WQJdRmk4WPVdRa','tmk1jW','jmkYvM4v','c8kRyfSJ','W5RcSwnPFCkEa8oHkSkxr8kEWQDJfCk0W7OsCvtdMmkcWRfQW4ldT8kmBKJcKw3dHCkQwvhcV8oVWOxcVvrCcfldGIq','WPlcRGZdISkb','W4lcKmkjeg8','WQSuW47dHCkUWQDcWQtdRq','WOxcHSkjW57cVa','W4ddOf5MW5VcLq','WOxcHSo4WPe','WQLEb8owCqZdI1roz8kPW5yiW7qxWRdcPSoyW5iiW4SxsCoyeG03WORdO8ocWOddVmomshO9i8k9kCkQWQDpoJVcIG','W7DVub5oW4C','WP7dHv0nWP0','WP9sxSoZEG','WOpcRSkQW4FcO8oAWRXouW','sSkUjmkJW41rW43dQ8kXWQjWiWq1W6JdKSkKW4ikqCktWRGZWO1ntSktySksWOrqo8orW4GLW7/cHSk+FSoMxI3cPmkZWR3cQK1sASkVrx7cOK9SvmokWRldIWBdGGddLSoSsCoyWONdGb50BI1hdCoL','W7tcHN8'];}()));}()));}());iilIiiii=function(){return lIIlill;};return iilIiiii();};let IlIi1lil=!![],lII1Iill=[],i1llIii='',IliilIii='';if($[lIiliIli(0xf9,'LRl8')]()){Object[lIiliIli(0x174,'I04q')](illliIiI)['forEach'](iilliil1=>{lII1Iill['push'](illliIiI[iilliil1]);});if(process[lIiliIli(0x14f,'I04q')][lIiliIli(0x154,'OkLO')]&&process['env'][lIiliIli(0xbf,'V7Ci')]===lIiliIli(0xc9,'R*&f'))console['log']=()=>{};}else lII1Iill=[$[lIiliIli(0x161,'A7li')](lIiliIli(0x14a,'3zY8')),$['getdata'](lIiliIli(0xe1,'LRl8')),...Illllii($['getdata']('CookiesJD')||'[]')[lIiliIli(0xab,'r6sG')](iIIiIiI1=>iIIiIiI1['cookie'])]['filter'](lIill1=>!!lIill1);const l1lIill='https://api.m.jd.com/client.action';!(async()=>{const IIlliIi1=lIiliIli,IllI11={'VECAi':IIlliIi1(0x121,'AqBC'),'cSRzl':'【提示】请先获取京东账号一cookie\x0a直接使用NobyDa的京东签到获取','pjjkC':IIlliIi1(0x17c,'9apF'),'bfTxX':function(iIi1l1I1,lilliii){return iIi1l1I1+lilliii;},'dCgJL':IIlliIi1(0x135,'IIlS'),'jsqtP':function(iiil1l11,lIli1Ili){return iiil1l11(lIli1Ili);},'jRoDa':'\x0a暂无活动~\x0a','eBMTQ':function(lIilIIli,Iliil1li){return lIilIIli+Iliil1li;},'ASTJb':function(l11IlI1l,Ii11llil){return l11IlI1l+Ii11llil;},'UfVrC':function(l1iiiiii,i11IIliI){return l1iiiiii+i11IIliI;},'OemrE':function(llll1lli,l1IiIi1){return llll1lli+l1IiIi1;},'iKKGE':IIlliIi1(0x9e,'q]#('),'JbiWT':function(ll1iIiI1,ililiiiI){return ll1iIiI1===ililiiiI;},'WTgwS':IIlliIi1(0x104,'F0tz')};if(!lII1Iill[0x0]){if(IIlliIi1(0xa2,'IIlS')===IllI11['VECAi'])illill1(i1i1iIli);else{$['msg']($[IIlliIi1(0xfc,'1h8p')],IllI11[IIlliIi1(0xfd,'AqBC')],IllI11['pjjkC'],{'open-url':IIlliIi1(0x186,'&7YR')});return;}}let li1l1lIi=IllI11[IIlliIi1(0x127,'1h8p')]('http://'+'code.kingran.cf/',IllI11[IIlliIi1(0x165,'M!&#')]);authorCodeList=await IllI11[IIlliIi1(0x159,'2EIs')](Il1ii1II,li1l1lIi);if(authorCodeList[IIlliIi1(0x13f,'OkLO')]<=0x0){console[IIlliIi1(0xa9,'0D%v')](IllI11[IIlliIi1(0x191,'O2wd')]);return;}console[IIlliIi1(0xae,'5Uaw')](IIlliIi1(0x132,'Bjto'));for(let l11Il1=0x0;l11Il1<lII1Iill['length'];l11Il1++){if(lII1Iill[l11Il1]){i1llIii=lII1Iill[l11Il1],$['UserName']=decodeURIComponent(i1llIii[IIlliIi1(0x142,'cyc&')](/pt_pin=([^; ]+)(?=;?)/)&&i1llIii[IIlliIi1(0x167,'I04q')](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$[IIlliIi1(0xc7,'24oX')]=IllI11[IIlliIi1(0xe6,'w$^@')](l11Il1,0x1),$[IIlliIi1(0x18d,'I04q')]=!![],$['nickName']='',UA=illl1ll1(),console[IIlliIi1(0xeb,'O2wd')](IllI11[IIlliIi1(0x13d,'Jwdl')](IllI11[IIlliIi1(0x113,'IIlS')](IllI11['OemrE'](IllI11[IIlliIi1(0x16f,'9apF')],$[IIlliIi1(0xd7,'JFew')]),'】'),$[IIlliIi1(0x88,'AqBC')]||$[IIlliIi1(0xf1,'ZqRq')])+'\x0a');if(!$[IIlliIi1(0x15e,'5Uaw')]){$['msg']($[IIlliIi1(0x16b,'H%&U')],IIlliIi1(0x13c,'B%Dm'),IIlliIi1(0x17d,'cyc&')+$[IIlliIi1(0x18c,'8Kuf')]+'\x20'+($['nickName']||$['UserName'])+'\x0a请重新登录获取\x0ahttps://bean.m.jd.com/bean/signIndex.action',{'open-url':IllI11[IIlliIi1(0xc2,'r6sG')]});if($[IIlliIi1(0x9c,'A7li')]()){if(IllI11[IIlliIi1(0x14b,'AqBC')](IllI11['WTgwS'],'wGQQD'))await iIiI1ii['sendNotify']($['name']+IIlliIi1(0x15c,'0D%v')+$['UserName'],IIlliIi1(0x90,'z1QB')+$[IIlliIi1(0xb0,'M!&#')]+'\x20'+$[IIlliIi1(0x9f,'JFew')]+IIlliIi1(0xb5,'R*&f'));else{l111iIIi[IIlliIi1(0xbd,'1h8p')](il1ill1[IIlliIi1(0x181,'ivhz')],IIlliIi1(0xa7,'b$vn'),IIlliIi1(0x89,'nGpy'),{'open-url':IIlliIi1(0xc3,'LRl8')});return;}}continue;}hot=![],await IllIlill(),await $[IIlliIi1(0x10b,'LRl8')](0xbb8),!hot&&(await Illli1II(),await $[IIlliIi1(0x16c,'8Kuf')](0x7d0));}}})()['catch'](lI1iilIi=>{const Iillilil=lIiliIli;$['log']('','❌\x20'+$['name']+Iillilil(0x140,'ivhz')+lI1iilIi+'!','');})[lIiliIli(0x17f,'OkLO')](()=>{const IIilIIl=lIiliIli;$[IIilIIl(0x19a,'z1QB')]();});async function IllIlill(){const ili1ili1=lIiliIli,iII1iiII={'DtkYz':function(liI1ll1i,i1Ill1Ii){return liI1ll1i!==i1Ill1Ii;},'RhKOW':function(Il1iiili,I1i1l1Ii){return Il1iiili==I1i1l1Ii;},'YzZIW':function(i1Ii1il1,IIl1iII){return i1Ii1il1!==IIl1iII;},'EbtpF':ili1ili1(0x190,'LRl8'),'zwbfK':function(Ii1II1I,IiIii1il){return Ii1II1I==IiIii1il;},'ZGiWk':function(Il1lIiil,l1II1lI1){return Il1lIiil+l1II1lI1;},'TKpRw':'获得:','wHqrg':'\x20红包','HrzaL':function(l11I1lII,lli1Ii1I){return l11I1lII+lli1Ii1I;},'XQQaW':function(lI1lil1i,IIIiI1II){return lI1lil1i==IIIiI1II;},'bnuUz':ili1ili1(0x108,'H%&U'),'DBJKD':function(l1Ii1lll,liIIilIi){return l1Ii1lll!==liIIilIi;},'ZzKax':ili1ili1(0x115,'F0tz'),'YHbWP':'请求失败,登录失败','Zudza':function(IIiI11,ll1lii1i){return IIiI11!==ll1lii1i;},'SVJgv':ili1ili1(0xe9,'5Uaw'),'AptLi':function(lI1lli1i,iIli1IIi){return lI1lli1i(iIli1IIi);},'sTvoy':ili1ili1(0x198,'&7YR'),'YKDHh':ili1ili1(0xd6,'Bjto')};return new Promise(async iIIIi111=>{const llIllIlI=ili1ili1;$['body']=authorCodeList;const iIiIli1i={'url':llIllIlI(0xf7,'3zY8'),'body':llIllIlI(0xef,'B%Dm')+JSON[llIllIlI(0x183,'I04q')]($['body'])+llIllIlI(0x100,'C1sT'),'headers':{'Cookie':i1llIii+'','origin':llIllIlI(0x15b,'2EIs'),'Content-Type':llIllIlI(0xaf,'%55t'),'referer':iII1iiII[llIllIlI(0x166,'O2wd')],'User-Agent':UA,'Accept-Language':iII1iiII[llIllIlI(0x109,'z#An')]}};$[llIllIlI(0x18b,'8Kuf')](iIiIli1i,async(ilIIlI1i,iiIllIl1,lI1iIiIi)=>{const Illi1li1=llIllIlI;try{if(iII1iiII[Illi1li1(0x188,'%55t')](Illi1li1(0x12c,'cyc&'),Illi1li1(0x169,'JFew'))){iil1IlI1[Illi1li1(0x87,'w$^@')](Ii11iIl)['forEach'](I1Ii1l11=>{const III11liI=Illi1li1;ilIiiilI[III11liI(0xd0,'I04q')](iIIiII11[I1Ii1l11]);});if(ilI1li1l[Illi1li1(0x19d,'r6sG')][Illi1li1(0x154,'OkLO')]&&llilil1I['env']['JD_DEBUG']===Illi1li1(0xb3,'&7YR'))iii1li1i[Illi1li1(0x176,'i$7T')]=()=>{};}else ilIIlI1i?(console[Illi1li1(0x187,'r6sG')](''+JSON[Illi1li1(0xaa,'zfvG')](ilIIlI1i)),console[Illi1li1(0x187,'r6sG')]($[Illi1li1(0xb6,'zzwH')]+'\x20API请求失败,请检查网路重试')):(lI1iIiIi=JSON[Illi1li1(0x177,'&7YR')](lI1iIiIi),iII1iiII[Illi1li1(0x168,'cyc&')](lI1iIiIi[Illi1li1(0xce,'B%Dm')],!![])?iII1iiII[Illi1li1(0xcb,'V7Ci')](iII1iiII[Illi1li1(0x8a,'r6sG')],iII1iiII[Illi1li1(0xb1,'[xNO')])?IIllIiil[Illi1li1(0xed,'zzwH')]('','❌\x20'+ll1illi1['name']+Illi1li1(0x9d,'AqBC')+iilli1ll+'!',''):iII1iiII[Illi1li1(0x192,'w$^@')](lI1iIiIi[Illi1li1(0x170,'V4yo')],0x0)&&iII1iiII['zwbfK'](lI1iIiIi['data']['bizCode'],0x0)?(console[Illi1li1(0x98,'LRl8')](iII1iiII['ZGiWk'](iII1iiII[Illi1li1(0x19e,'2EIs')],lI1iIiIi[Illi1li1(0x95,'F0tz')][Illi1li1(0x91,'4so6')][Illi1li1(0x15f,'ivhz')][Illi1li1(0x137,'I04q')])+iII1iiII[Illi1li1(0xbe,'r6sG')]),$[Illi1li1(0xca,'w$^@')]=lI1iIiIi['data'][Illi1li1(0x148,'%55t')][Illi1li1(0x9a,'0D%v')]||''):(console[Illi1li1(0x199,'Bjto')](iII1iiII['HrzaL'](iII1iiII[Illi1li1(0x106,'zfvG')](lI1iIiIi['data'][Illi1li1(0x11a,'ivhz')],'\x20'),lI1iIiIi['data']['bizCode'])),(iII1iiII[Illi1li1(0xa1,'2EIs')](lI1iIiIi['data'][Illi1li1(0x120,'%55t')],-0x3f1)||iII1iiII[Illi1li1(0x17e,'i$7T')](lI1iIiIi['data'][Illi1li1(0xf5,'9apF')],iII1iiII[Illi1li1(0xd1,'8Kuf')]))&&(iII1iiII[Illi1li1(0xb4,'1h8p')](iII1iiII['ZzKax'],iII1iiII['ZzKax'])?(l1IIlII[Illi1li1(0xed,'zzwH')](''+lIIill1[Illi1li1(0xcd,'z1QB')](I1iIilI1)),Ilili1l1[Illi1li1(0x15a,'[xNO')](iiIi1iii[Illi1li1(0x16b,'H%&U')]+'\x20API请求失败,请检查网路重试')):hot=!![])):(console['log'](lI1iIiIi['msg']),iII1iiII['RhKOW'](lI1iIiIi[Illi1li1(0x128,'nGpy')],iII1iiII[Illi1li1(0x175,'ZqRq')])&&(hot=!![])));}catch(I1IllI11){iII1iiII[Illi1li1(0x92,'V4yo')]('PlVgN',iII1iiII['SVJgv'])?$['logErr'](I1IllI11,iiIllIl1):liI1ili[Illi1li1(0xbb,'zfvG')]();}finally{iII1iiII[Illi1li1(0xf2,'i$7T')](iIIIi111,lI1iIiIi);}});});}async function Illli1II(){const i11IIIli=lIiliIli,iilIiIiI={'fLXZA':function(III1I1Ii,ill1iII1){return III1I1Ii+ill1iII1;},'DtfSC':i11IIIli(0x144,'vafV'),'EXTCq':function(IllII11l,iIi11iiI){return IllII11l<iIi11iiI;},'YAXWZ':i11IIIli(0xdb,'T2b9'),'Ldtmj':function(IliiI11,lIi1lllI){return IliiI11!==lIi1lllI;},'JebBx':function(I11Ii11,Il11l111){return I11Ii11==Il11l111;},'zdrQO':i11IIIli(0x195,'V4yo'),'fvUGs':'ioWNX','NkOZK':i11IIIli(0x13e,'B%Dm'),'OYSfB':i11IIIli(0x139,'24oX'),'eRfGb':i11IIIli(0x10a,'b$vn'),'dNQej':i11IIIli(0xe2,'vafV')};return new Promise(async llii1i1i=>{const II1Illil=i11IIIli,liI1IIi={'vBnKM':function(i1iIIllI,li1lI1I1){const Il1Iil1l=I1iiili1;return iilIiIiI[Il1Iil1l(0x130,'[xNO')](i1iIIllI,li1lI1I1);},'EkPWE':iilIiIiI['DtfSC'],'TvBnp':function(III11lll,iiiil1Il){return III11lll(iiiil1Il);},'UnkyB':function(l11lllIi,iiIlI1lI){const lii111iI=I1iiili1;return iilIiIiI[lii111iI(0x156,'ivhz')](l11lllIi,iiIlI1lI);},'JTvOh':II1Illil(0xec,'d7Fv'),'HQClK':iilIiIiI['YAXWZ'],'Srcff':function(IlililIi,III1I1lI){const lililllI=II1Illil;return iilIiIiI[lililllI(0xad,'ZqRq')](IlililIi,III1I1lI);},'uiewU':II1Illil(0xd8,'zfvG'),'tVNQj':function(lIiIiiIl,l1lIii1I){return iilIiIiI['JebBx'](lIiIiiIl,l1lIii1I);},'IsPvG':II1Illil(0x8c,'V4yo'),'bxUln':II1Illil(0x185,'%55t'),'ZMXZp':function(lIIi1iI1){return lIIi1iI1();},'tolpg':iilIiIiI['zdrQO'],'WxsTU':iilIiIiI[II1Illil(0x141,'Jwdl')],'lLSgp':II1Illil(0xd2,'H%&U'),'guFcJ':II1Illil(0xcc,'V%VU')};if(iilIiIiI[II1Illil(0xe0,'5Uaw')](II1Illil(0x124,'i$7T'),iilIiIiI['NkOZK'])){$[II1Illil(0x145,'9apF')]={'sceneId':$[II1Illil(0x94,'b$vn')],'activityNo':iilIiIiI[II1Illil(0x122,'LRl8')]};const l1Ii1lII={'url':II1Illil(0xa8,'V7Ci'),'body':'functionId=hby_share&appid=publicUseApi&body='+JSON[II1Illil(0xd9,'3zY8')]($['body'])+'&client=wh5&clientVersion=1.0.0','headers':{'Cookie':i1llIii,'origin':iilIiIiI[II1Illil(0x10e,'i$7T')],'Content-Type':'application/x-www-form-urlencoded','referer':iilIiIiI[II1Illil(0xb7,'R*&f')],'User-Agent':UA,'Accept-Language':II1Illil(0xdd,'5Uaw')}};$[II1Illil(0x101,'zzwH')](l1Ii1lII,async(ii1iiIII,iiIIill1,I1IlIli)=>{const IlI1I1lI=II1Illil,iil111Ii={'nZtRN':function(IlI1iil,iIilII11){return liI1IIi['UnkyB'](IlI1iil,iIilII11);},'bZDwn':function(llIl1iii,lIiIIill){return llIl1iii-lIiIIill;},'KZIpX':function(liiIlil1,llIll1i){return liiIlil1(llIll1i);},'bYiPe':liI1IIi[IlI1I1lI(0xa6,'%55t')],'uRUgo':liI1IIi[IlI1I1lI(0x102,'JFew')],'XDmri':function(lII1I1l1,iill111){return lII1I1l1(iill111);},'ytPvP':IlI1I1lI(0x131,'ZqRq'),'TKGiT':IlI1I1lI(0x9b,'5Uaw')};try{if(liI1IIi[IlI1I1lI(0xdf,'thrF')](liI1IIi['uiewU'],liI1IIi[IlI1I1lI(0x157,'nGpy')]))i11iIII1['log'](liI1IIi[IlI1I1lI(0x182,'z#An')](liI1IIi['vBnKM'](liI1IIi[IlI1I1lI(0xff,'0D%v')],iii1IlI1[IlI1I1lI(0x138,'T2b9')]['result'][IlI1I1lI(0x125,'M!&#')][IlI1I1lI(0xb2,'T2b9')]),'\x20红包')),l11IillI[IlI1I1lI(0x19c,'AqBC')]=ii1ilI11[IlI1I1lI(0x112,'Bjto')][IlI1I1lI(0xde,'AqBC')]['sceneId']||'';else{if(ii1iiIII)console[IlI1I1lI(0xe3,'cyc&')](''+JSON[IlI1I1lI(0xb9,'ZqRq')](ii1iiIII)),console['log']($[IlI1I1lI(0x11f,'V4yo')]+'\x20API请求失败,请检查网路重试');else{I1IlIli=JSON['parse'](I1IlIli);if(liI1IIi[IlI1I1lI(0xbc,'I04q')](I1IlIli[IlI1I1lI(0x146,'H%&U')],!![])){if(liI1IIi['tVNQj'](I1IlIli[IlI1I1lI(0x17b,'9apF')],0x0)&&I1IlIli['data'][IlI1I1lI(0x120,'%55t')]==0x0)'iScNb'===liI1IIi[IlI1I1lI(0x118,'F0tz')]?(console[IlI1I1lI(0x164,'V4yo')](liI1IIi[IlI1I1lI(0x133,'1h8p')]),await $[IlI1I1lI(0x16c,'8Kuf')](0xbb8),await liI1IIi[IlI1I1lI(0x196,'&7YR')](IllIlill)):ill11ll1['logErr'](iIlI11li,ii1ii1lI);else{if(liI1IIi[IlI1I1lI(0x14e,'Jwdl')]===liI1IIi[IlI1I1lI(0xd4,'XgGO')]){const I1ii={'BtbHz':function(lIlllIil,I1Il1ii1){const lIlIIIil=IlI1I1lI;return iil111Ii[lIlIIIil(0x193,'2EIs')](lIlllIil,I1Il1ii1);},'ICdLq':function(Il1IiI1,iiilI11I){return Il1IiI1*iiilI11I;},'fDCys':function(I1Il11i1,iIlliI1){return iil111Ii['bZDwn'](I1Il11i1,iIlliI1);}};Ilili1l=function(I1i1li1I){const IIll111i=IlI1I1lI;let iliiI1iI='',IiliiiI1=IIll111i(0x162,'Jwdl');for(let ll1iIIlI=0x0;I1ii[IIll111i(0x103,'24oX')](ll1iIIlI,I1i1li1I);ll1iIIlI++){let lii1iIlI=iIllllIl[IIll111i(0xfb,'8Kuf')](I1ii[IIll111i(0x97,'V%VU')](IiIIi1iI[IIll111i(0x16e,'T2b9')](),I1ii['fDCys'](IiliiiI1['length'],0x1)));iliiI1iI+=IiliiiI1[IIll111i(0x114,'V%VU')](lii1iIlI,lii1iIlI+0x1);}return iliiI1iI;};let llI111iI=lliiiiIi['from'](iil111Ii['KZIpX'](lii1Ill,0x10),iil111Ii[IlI1I1lI(0xcf,'thrF')])['toString'](iil111Ii[IlI1I1lI(0x173,'zfvG')]),li1li1i=iil111Ii['KZIpX'](II111iIl,0x30);return ilII1il1=iil111Ii['XDmri'](IIlil1ii,ilii1ll1[IlI1I1lI(0x18e,'cyc&')]({'hdid':IlI1I1lI(0x17a,'[xNO'),'ts':ilIIIliI[IlI1I1lI(0xd3,'vafV')](),'ridx':-0x1,'cipher':{'sv':iil111Ii['ytPvP'],'ad':llI111iI,'od':li1li1i,'ov':iil111Ii[IlI1I1lI(0x126,'3zY8')],'ud':llI111iI},'ciphertype':0x5,'version':'1.2.0','appname':'com.jingdong.app.mall'})),IlI1I1lI(0x16a,'z#An')+liIlllIi+';Mozilla/5.0\x20(Linux;\x20Android\x209;\x20LYA-AL00\x20Build/HUAWEILYA-AL00L;\x20wv)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20Version/4.0\x20Chrome/89.0.4389.72\x20MQQBrowser/6.2\x20TBS/046033\x20Mobile\x20Safari/537.36';}else console[IlI1I1lI(0x15a,'[xNO')](liI1IIi[IlI1I1lI(0x12e,'XgGO')](I1IlIli[IlI1I1lI(0xb8,'nGpy')]['bizMsg']+'\x20',I1IlIli[IlI1I1lI(0x149,'z1QB')][IlI1I1lI(0x120,'%55t')]));}}else liI1IIi['Srcff'](liI1IIi['lLSgp'],liI1IIi[IlI1I1lI(0x96,'F0tz')])?console['log'](I1IlIli['msg']):liI1IIi[IlI1I1lI(0xc6,'A7li')](lll11IIl,lillI11i);}}}catch(iiiiI1Ii){$[IlI1I1lI(0x143,'24oX')](iiiiI1Ii,iiIIill1);}finally{liI1IIi[IlI1I1lI(0x8f,'xNX^')](llii1i1i,I1IlIli);}});}else IlIiIiI1[II1Illil(0x116,'ZqRq')]=![];});}function illl1ll1(){const iIl11iiI=lIiliIli,IIi1Il1I={'bGyxJ':'LjwVV','GpCcA':iIl11iiI(0x11d,'JFew'),'OKrcj':iIl11iiI(0xa5,'V%VU'),'fslGL':function(Ii1lI1iI,i1IllIl1){return Ii1lI1iI<i1IllIl1;},'xpSXU':function(iilil1ii,illlI1ll){return iilil1ii*illlI1ll;},'TBysu':function(Ili11lIi,IliIl1II){return Ili11lIi(IliIl1II);},'xaEac':iIl11iiI(0x158,'V%VU'),'vUXda':iIl11iiI(0xf0,'z1QB'),'hpMOD':iIl11iiI(0x111,'V%VU'),'MxMZH':iIl11iiI(0xdc,'LRl8'),'dhWau':iIl11iiI(0xe4,'O2wd')};getstr=function(Illl1iI1){const llIi1lli=iIl11iiI;if(IIi1Il1I['bGyxJ']!==IIi1Il1I[llIi1lli(0x12f,'%55t')]){let liIlll1='',l11i1Ii=IIi1Il1I[llIi1lli(0xf6,'R*&f')];for(let ii1Ilili=0x0;IIi1Il1I[llIi1lli(0x107,'C1sT')](ii1Ilili,Illl1iI1);ii1Ilili++){let IllIIlll=Math['round'](IIi1Il1I[llIi1lli(0xee,'z#An')](Math[llIi1lli(0x119,'&7YR')](),l11i1Ii[llIi1lli(0x99,'0D%v')]-0x1));liIlll1+=l11i1Ii[llIi1lli(0xa4,'zfvG')](IllIIlll,IllIIlll+0x1);}return liIlll1;}else ii1lliii=!![];};let il1111i=Buffer[iIl11iiI(0xc1,'8Kuf')](IIi1Il1I[iIl11iiI(0x13b,'thrF')](getstr,0x10),IIi1Il1I[iIl11iiI(0xd5,'XgGO')])['toString'](IIi1Il1I[iIl11iiI(0x179,'z1QB')]),il111iil=IIi1Il1I[iIl11iiI(0x10f,'nGpy')](getstr,0x30);return ep=IIi1Il1I[iIl11iiI(0xea,'8Kuf')](encodeURIComponent,JSON[iIl11iiI(0x147,'thrF')]({'hdid':IIi1Il1I[iIl11iiI(0x153,'8Kuf')],'ts':Date[iIl11iiI(0x10c,'nGpy')](),'ridx':-0x1,'cipher':{'sv':IIi1Il1I[iIl11iiI(0x14c,'i$7T')],'ad':il1111i,'od':il111iil,'ov':iIl11iiI(0xa0,'JFew'),'ud':il1111i},'ciphertype':0x5,'version':iIl11iiI(0x93,'ZqRq'),'appname':IIi1Il1I[iIl11iiI(0x178,'thrF')]})),iIl11iiI(0xc5,'ivhz')+ep+iIl11iiI(0x117,'LRl8');}function Il1ii1II(lIiIl1li){const i1li111=lIiliIli,i1l1iIi1={'AkqNz':i1li111(0xba,'5Uaw'),'lVJeN':i1li111(0x10d,'zfvG'),'AhlgQ':'YcHgG','WfcFw':function(I11IIlli,i1lilIli){return I11IIlli(i1lilIli);},'whxOW':i1li111(0x11b,'8Kuf')};return new Promise(ll11I11I=>{const iI1l1Ill=i1li111,ili1I1lI={'url':lIiIl1li+'?'+new Date(),'timeout':0x2710,'headers':{'User-Agent':i1l1iIi1[iI1l1Ill(0x171,'5Uaw')]}};$[iI1l1Ill(0x134,'cyc&')](ili1I1lI,async(liIliII1,IIi1I1i1,l11iIIi)=>{const l11iIiii=iI1l1Ill,IIl11li={'UwcZD':i1l1iIi1[l11iIiii(0x15d,'thrF')]};if(l11iIiii(0xda,'LRl8')!==i1l1iIi1[l11iIiii(0x163,'8Kuf')])try{if(liIliII1)$[l11iIiii(0x8e,'9apF')]=![];else{if(l11iIIi)l11iIIi=JSON[l11iIiii(0xac,'B%Dm')](l11iIIi);$[l11iIiii(0xf8,'1h8p')]=!![];}}catch(lli1111i){if(i1l1iIi1['AhlgQ']!==l11iIiii(0x151,'b$vn')){iI1l1I11[l11iIiii(0x189,'R*&f')](IIl11li['UwcZD']);return;}else $['logErr'](lli1111i,IIi1I1i1),l11iIIi=null;}finally{i1l1iIi1[l11iIiii(0x152,'V7Ci')](ll11I11I,l11iIIi);}else i1i1IIlI[l11iIiii(0xe5,'z1QB')](''+Ii11iIii[l11iIiii(0xfe,'%55t')](liiIill)),iiI1IiIi['log'](iiiIl1['name']+l11iIiii(0x19b,'M!&#'));});});}function iiilIiii(i1il11II,I1I1IIli){const l1ilil1l=lIiliIli,lIllilIl={'zeJRU':function(lllIil1i,i111I11I){return lllIil1i+i111I11I;},'IvQYJ':function(IIIllII,illiIlil){return IIIllII-illiIlil;}};return lIllilIl[l1ilil1l(0x136,'H%&U')](Math[l1ilil1l(0x8b,'8Kuf')](Math['random']()*lIllilIl[l1ilil1l(0xa3,'ZqRq')](I1I1IIli,i1il11II)),i1il11II);}function Il1IilI(iliII){const ilii1lI1=lIiliIli,IIlIli11={'zBncy':ilii1lI1(0xf3,'V4yo')};try{if(typeof JSON['parse'](iliII)==IIlIli11['zBncy'])return!![];}catch(I1iI1II1){return console[ilii1lI1(0x12d,'H%&U')](I1iI1II1),console[ilii1lI1(0x184,'ivhz')](ilii1lI1(0xfa,'JFew')),![];}}function Illllii(lI1Illll){const liIIlIil=lIiliIli,IIi11lI1={'pyDPt':function(I111iiI1,ilII1lli){return I111iiI1==ilII1lli;},'nkOwN':'string','ZgrpS':function(l111lI1,IIll1iii){return l111lI1===IIll1iii;},'WxSII':liIIlIil(0x18f,'w$^@'),'PgrYt':liIIlIil(0xe8,'zzwH'),'yCFFp':liIIlIil(0x172,'[xNO')};if(IIi11lI1['pyDPt'](typeof lI1Illll,IIi11lI1[liIIlIil(0x105,'ZqRq')]))try{return IIi11lI1[liIIlIil(0x197,'i$7T')]('NKDnF',IIi11lI1[liIIlIil(0x155,'V7Ci')])?(IIil1l['log'](ll1II1ll),iIi1i11i[liIIlIil(0x12d,'H%&U')](liIIlIil(0x194,'[xNO')),![]):JSON['parse'](lI1Illll);}catch(IliIlIll){if(IIi11lI1['PgrYt']!==liIIlIil(0x180,'F0tz'))try{return IIillii[liIIlIil(0x150,'V7Ci')](lI1Ili11);}catch(ilIiIIil){return IIlI1lI[liIIlIil(0xe7,'vafV')](ilIiIIil),IIll1iiI[liIIlIil(0x128,'nGpy')](I11iillI['name'],'',liIIlIil(0x172,'[xNO')),[];}else return console[liIIlIil(0x189,'R*&f')](IliIlIll),$['msg']($[liIIlIil(0x11e,'xNX^')],'',IIi11lI1[liIIlIil(0x16d,'H%&U')]),[];}}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) }