1 Star 0 Fork 0

Apache-Open-Source-Code-Group/jdpro

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jd_liveLottery.js 39.62 KB
一键复制 编辑 原始数据 按行查看 历史
2024 提交于 2024-06-28 15:47 . 1
/*
活动名称:京东直播互动抽奖
活动链接:https://h5.m.jd.com/dev/3pbY8ZuCx4ML99uttZKLHC2QcAMn/live.html?id=<直播间id>
环境变量:jd_liveLottery_ids // 直播间id,多个用英文逗号,@,换行分割
jd_liveLottery_threads // 控制并发线程数(正整数),默认1,最大10
jd_liveLottery_interval // 自定义运行间隔时长(整数,单位毫秒),默认500
jd_liveLottery_notify // 是否推送通知(true/false),默认不推送
jd_liveLottery_pinFilter // 账号pin过滤,多个用@进行分割
jd_liveLottery_rewardnum // 京豆低于值不跑,默认1
高并发脚本,谨慎使用并发
活动限制IP严重,建议使用代理
黑号会持续擦肩,同一直播间活动请勿连续抽奖,以直播间悬浮标识为准
cron:1 1 1 1 *
*/
const $ = new Env('京东直播互动抽奖')
var iil='jsjiami.com.v7';const I1llIl=iii1II;(function(i1ilIl,llI11I,Il1i11,iii1li,Iil1i1,IIii11,iliIl1){return i1ilIl=i1ilIl>>0x9,IIii11='hs',iliIl1='hs',function(Ii1il1,iii1ll,IIliI1,il1lI,IliIIl){const llI11l=iii1II;il1lI='tfi',IIii11=il1lI+IIii11,IliIIl='up',iliIl1+=IliIIl,IIii11=IIliI1(IIii11),iliIl1=IIliI1(iliIl1),IIliI1=0x0;const I1il1l=Ii1il1();while(!![]&&--iii1li+iii1ll){try{il1lI=parseInt(llI11l(0x2db,'pNiu'))/0x1+-parseInt(llI11l(0x1d3,'gBkk'))/0x2+-parseInt(llI11l(0x299,'ndL&'))/0x3*(parseInt(llI11l(0x2b4,'AWc*'))/0x4)+parseInt(llI11l(0x1c4,'tJ8k'))/0x5*(parseInt(llI11l(0x1e1,'Gt2@'))/0x6)+-parseInt(llI11l(0x297,'9h%U'))/0x7+parseInt(llI11l(0x208,'GeCP'))/0x8*(parseInt(llI11l(0x2aa,'AB[Z'))/0x9)+-parseInt(llI11l(0x28d,'tR]F'))/0xa*(-parseInt(llI11l(0x209,'ObUp'))/0xb);}catch(lI1l1l){il1lI=IIliI1;}finally{IliIIl=I1il1l[IIii11]();if(i1ilIl<=iii1li)IIliI1?Iil1i1?il1lI=IliIIl:Iil1i1=IliIIl:IIliI1=IliIIl;else{if(IIliI1==Iil1i1['replace'](/[IyrLHKpPSDNtTuORqVUh=]/g,'')){if(il1lI===iii1ll){I1il1l['un'+IIii11](IliIIl);break;}I1il1l[iliIl1](IliIIl);}}}}}(Il1i11,llI11I,function(IIliII,iiliI,Ill11I,I1il1i,IliIIi,lI1l1i,i1iil){return iiliI='\x73\x70\x6c\x69\x74',IIliII=arguments[0x0],IIliII=IIliII[iiliI](''),Ill11I=`\x72\x65\x76\x65\x72\x73\x65`,IIliII=IIliII[Ill11I]('\x76'),I1il1i=`\x6a\x6f\x69\x6e`,(0x171df1,IIliII[I1il1i](''));});}(0x19400,0x2c98b,Iii11l,0xcc),Iii11l)&&(iil=0x261b);const jdCookie=require(I1llIl(0x28a,'#9o@')),common=require('./utils/Rebels_jdCommon'),notify=require('./utils/Rebels_sendJDNotify');console[I1llIl(0x321,'ndL&')](''),console['log']('=========='+$[I1llIl(0x1f9,'8NB#')]+I1llIl(0x27e,'ndL&')),console[I1llIl(0x2ae,'Rt34')]('jd_liveLottery_ids\x20//\x20活动ID'),console['log'](I1llIl(0x1b9,'qXRN')),console[I1llIl(0x2ae,'Rt34')](I1llIl(0x236,'y00*')),console[I1llIl(0x309,'UpmU')](I1llIl(0x318,'YZ9I')),console[I1llIl(0x1e5,'Gt2@')](I1llIl(0x1fc,'&zDZ')),console['log'](I1llIl(0x1e2,'Ab7u')),console[I1llIl(0x2a0,'AWc*')](I1llIl(0x2f6,'LDu9')+$[I1llIl(0x26e,'PIJ5')]+'提示结束=========='),console['log']('');const liveIdList=(process[I1llIl(0x2e9,'9h%U')][I1llIl(0x2dc,'YZ9I')]||'')[I1llIl(0x2ac,'ObUp')](/[,@\n]+/g)[I1llIl(0x308,'gBkk')](iil1ll=>iil1ll[I1llIl(0x266,'0(LI')]())[I1llIl(0x228,'3p[Q')](Boolean);let taskThreads=process[I1llIl(0x2bf,'ReRH')][I1llIl(0x1c7,'l659')]||'1';const runInterval=process[I1llIl(0x1e7,'C9qI')][I1llIl(0x1dd,'y00*')]||I1llIl(0x21e,'l659'),isNotify=(process[I1llIl(0x2b9,'l659')][I1llIl(0x2fe,'Ab7u')]||process[I1llIl(0x306,'&5!E')]['jd_liveLottery_Notify'])===I1llIl(0x1c8,'F)pI'),pinFilter=(process[I1llIl(0x2f0,'YZ9I')][I1llIl(0x32a,'eoFR')]||'')['split']('@'),rewardnum=parseInt(process['env'][I1llIl(0x1c2,'pNiu')])||0x1;let cookiesArr=Object[I1llIl(0x2f4,'ipL6')](jdCookie)[I1llIl(0x295,'l659')](iiilil=>jdCookie[iiilil])[I1llIl(0x235,'UpmU')](iil1li=>iil1li);!cookiesArr[0x0]&&($[I1llIl(0x21a,'l659')]($[I1llIl(0x2d2,'3p[Q')],'【提示】请先获取Cookie'),process[I1llIl(0x314,'g^*J')](0x1));function iii1II(_0x1af857,_0x50ccea){const _0x342308=Iii11l();return iii1II=function(_0x1d15b9,_0x28b40f){_0x1d15b9=_0x1d15b9-0x1b5;let _0x13a3fd=_0x342308[_0x1d15b9];if(iii1II['NeawnT']===undefined){var _0x410043=function(_0x1eaca1){const _0x5a5989='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x103f9e='',_0x257c3d='';for(let _0x59dc32=0x0,_0x1f757b,_0x2292c4,_0x5c5ad8=0x0;_0x2292c4=_0x1eaca1['charAt'](_0x5c5ad8++);~_0x2292c4&&(_0x1f757b=_0x59dc32%0x4?_0x1f757b*0x40+_0x2292c4:_0x2292c4,_0x59dc32++%0x4)?_0x103f9e+=String['fromCharCode'](0xff&_0x1f757b>>(-0x2*_0x59dc32&0x6)):0x0){_0x2292c4=_0x5a5989['indexOf'](_0x2292c4);}for(let _0x3faca1=0x0,_0x47225f=_0x103f9e['length'];_0x3faca1<_0x47225f;_0x3faca1++){_0x257c3d+='%'+('00'+_0x103f9e['charCodeAt'](_0x3faca1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x257c3d);};const _0x27729a=function(_0x3af516,_0x22c3bb){let _0x3364db=[],_0x28ca5c=0x0,_0x5ec01f,_0x1742fd='';_0x3af516=_0x410043(_0x3af516);let _0x58a6f3;for(_0x58a6f3=0x0;_0x58a6f3<0x100;_0x58a6f3++){_0x3364db[_0x58a6f3]=_0x58a6f3;}for(_0x58a6f3=0x0;_0x58a6f3<0x100;_0x58a6f3++){_0x28ca5c=(_0x28ca5c+_0x3364db[_0x58a6f3]+_0x22c3bb['charCodeAt'](_0x58a6f3%_0x22c3bb['length']))%0x100,_0x5ec01f=_0x3364db[_0x58a6f3],_0x3364db[_0x58a6f3]=_0x3364db[_0x28ca5c],_0x3364db[_0x28ca5c]=_0x5ec01f;}_0x58a6f3=0x0,_0x28ca5c=0x0;for(let _0x25405d=0x0;_0x25405d<_0x3af516['length'];_0x25405d++){_0x58a6f3=(_0x58a6f3+0x1)%0x100,_0x28ca5c=(_0x28ca5c+_0x3364db[_0x58a6f3])%0x100,_0x5ec01f=_0x3364db[_0x58a6f3],_0x3364db[_0x58a6f3]=_0x3364db[_0x28ca5c],_0x3364db[_0x28ca5c]=_0x5ec01f,_0x1742fd+=String['fromCharCode'](_0x3af516['charCodeAt'](_0x25405d)^_0x3364db[(_0x3364db[_0x58a6f3]+_0x3364db[_0x28ca5c])%0x100]);}return _0x1742fd;};iii1II['RXHKRO']=_0x27729a,_0x1af857=arguments,iii1II['NeawnT']=!![];}const _0x36d121=_0x342308[0x0],_0x39e823=_0x1d15b9+_0x36d121,_0x19da68=_0x1af857[_0x39e823];return!_0x19da68?(iii1II['rkwXtd']===undefined&&(iii1II['rkwXtd']=!![]),_0x13a3fd=iii1II['RXHKRO'](_0x13a3fd,_0x28b40f),_0x1af857[_0x39e823]=_0x13a3fd):_0x13a3fd=_0x19da68,_0x13a3fd;},iii1II(_0x1af857,_0x50ccea);}!(async()=>{const i1iii=I1llIl,lillIl={'ZGLlC':i1iii(0x249,'ndL&')};notify[i1iii(0x2be,'a^o@')]({'title':$['name']}),await Main(),isNotify&&notify[i1iii(0x1fa,'$tp%')]()&&(lillIl['ZGLlC']!==i1iii(0x324,'ndL&')?await notify[i1iii(0x2b3,'kHwg')]():iliIIi[i1iii(0x312,'$Il9')](i1iii(0x255,']y5]')+ill11I));})()[I1llIl(0x200,'Ab7u')](iiilii=>$[I1llIl(0x2fd,'PIJ5')](iiilii))[I1llIl(0x2f5,'a^o@')](()=>$[I1llIl(0x2d5,'$Il9')]());async function Main(){const I1llIi=I1llIl,li1i1i={'xrtrC':I1llIi(0x1e4,'uJTo'),'EjMSn':function(IlIli1,illIiI){return IlIli1(illIiI);},'tLxOV':function(lI1lli,Ill1l){return lI1lli>Ill1l;},'WoUSE':function(llI1Il,ii1iii){return llI1Il!==ii1iii;},'KqZqf':I1llIi(0x207,'qXRN'),'aWUcW':function(i11iil,Ill1i){return i11iil===Ill1i;},'IJmBp':I1llIi(0x2ea,'eoFR'),'OgaKI':function(ii1iil,lllI1l){return ii1iil>lllI1l;},'QgpQD':function(i11iii,llI1Ii){return i11iii===llI1Ii;},'CLIsr':I1llIi(0x22d,'l659'),'YlQek':function(lllI1i,li1i1l){return lllI1i>=li1i1l;},'QrqtU':'Qtwju','qsPXt':I1llIi(0x278,'y00*'),'yMdjD':function(II1i1,lI1lll){return II1i1!==lI1lll;},'FKkqe':I1llIi(0x317,'LDu9'),'dYHcK':I1llIi(0x281,'R7zK'),'zsNYd':function(iIiII,iil1lI){return iIiII(iil1lI);},'IEDDL':I1llIi(0x1d1,'l659'),'bsztM':'NJlpM','LTQVh':I1llIi(0x2fc,'gBkk'),'WiAdW':function(iiiliI,li1i1I){return iiiliI>li1i1I;},'NHtUL':'udYuN'};try{if(liveIdList['length']===0x0){if(li1i1i['WoUSE'](I1llIi(0x2a8,'$tp%'),I1llIi(0x221,'3p[Q'))){console[I1llIi(0x27d,']y5]')](li1i1i[I1llIi(0x280,'ipL6')]);return;}else IiII[I1llIi(0x273,'a@n6')]=!![];}const illIii=[...new Set(liveIdList)];try{if(li1i1i[I1llIi(0x283,'^!J@')](I1llIi(0x29a,'3p[Q'),li1i1i['IJmBp']))li1[I1llIi(0x28e,'Lh!p')](illIl1),l1llII&&(lI11I1[I1llIi(0x20b,'AWc*')]=!![],l1il11[I1llIi(0x258,'R7zK')]&&illIli[I1llIi(0x33a,'tJ8k')][I1llIi(0x23d,'ipL6')](l11i1l));else{const Ill1I=parseInt(taskThreads);li1i1i[I1llIi(0x285,'l659')](Ill1I,0x0)&&Ill1I!==0x1&&(taskThreads=Ill1I);}}catch{taskThreads=0x1;}taskThreads=Math['min'](taskThreads,0xa),$[I1llIi(0x2e5,'bXr%')]=null;if(runInterval){if(li1i1i[I1llIi(0x213,'ObUp')](li1i1i[I1llIi(0x2f8,'ndL&')],li1i1i['CLIsr']))try{const i11iiI=parseInt(runInterval);li1i1i[I1llIi(0x275,'SeZf')](i11iiI,0x0)&&(li1i1i['aWUcW'](li1i1i['QrqtU'],li1i1i[I1llIi(0x270,'#9o@')])?ilI1li['log'](IIliI+I1llIi(0x320,'qXRN')):$['waitTime']=i11iiI);}catch{li1i1i[I1llIi(0x2d1,'^!J@')](I1llIi(0x2ef,'$Il9'),li1i1i[I1llIi(0x23e,'9mpm')])?i1l1ll[I1llIi(0x2b7,'ReRH')]('🏬\x20共计\x20'+I1iIiI['length']+I1llIi(0x212,'PIJ5')):console[I1llIi(0x248,'9h%U')](I1llIi(0x2e1,'qXRN'));}else iliIII=iIIl1i[I1llIi(0x2b1,'Ab7u')]((IlIlii,i1l1i1)=>!Iliil1[I1llIi(0x21c,']y5]')]['includes'](i1l1i1+0x1)),ill111[I1llIi(0x238,'eoFR')]=[];}if(illIii['length']>0x1){if(I1llIi(0x2a3,'eoFR')!==li1i1i[I1llIi(0x2d6,'R7zK')])console['log'](I1llIi(0x316,'tJ8k')+illIii[I1llIi(0x307,'SeZf')]+I1llIi(0x234,'pNiu'));else{I1i11I[I1llIi(0x2b7,'ReRH')](li1i1i[I1llIi(0x2bb,'EUo4')]),llIliI[I1llIi(0x232,'F)pI')]=!![];return;}}const ii1il1=I1llIi(0x242,'PIJ5')+common[I1llIi(0x291,'ReRH')](0xd,'0123456789abcdefghijklmnopqrstuvwxyz');$['UA']=common['genUA'](ii1il1),$[I1llIi(0x338,'ReRH')]=common[I1llIi(0x21d,'YZ9I')](ii1il1),$[I1llIi(0x21b,'^!J@')]=common[I1llIi(0x1ce,'a@n6')]();for(let iiillI=0x0;iiillI<illIii[I1llIi(0x2d3,']y5]')];iiillI++){$[I1llIi(0x2ce,'bXr%')]=[],$[I1llIi(0x2e3,'Lh!p')]=illIii[iiillI],$['activityUrl']='https://h5.m.jd.com/dev/3pbY8ZuCx4ML99uttZKLHC2QcAMn/live.html?id='+$['liveId'],$['lotteryId']='',await li1i1i[I1llIi(0x245,'ReRH')](sendRequest,li1i1i['IEDDL']);if(!$[I1llIi(0x239,'F)pI')]){if(li1i1i[I1llIi(0x257,'pNiu')]===li1i1i[I1llIi(0x27f,'%cxN')]){i1IIl[I1llIi(0x339,'SeZf')]('已设置跳过运行当前账号'),I1lll1[I1llIi(0x2ad,'qXRN')](i1IIi[I1llIi(0x23b,'UpmU')]()),IIII1I[I1llIi(0x1f1,'ic&Z')][I1llIi(0x1cc,'LDu9')](Iii111);return;}else{console['log'](''+$['liveId']+I1llIi(0x1f4,'pNiu'));continue;}}await common[I1llIi(0x1ba,'9h%U')](taskThreads,cookiesArr,taskFnc),$[I1llIi(0x225,'&zDZ')]=![],$[I1llIi(0x30c,'y00*')]=![];li1i1i[I1llIi(0x2d9,'bXr%')](iiillI,illIii[I1llIi(0x215,'&5!E')]-0x1)&&console[I1llIi(0x268,'9mpm')]('');if(li1i1i[I1llIi(0x2ba,'^!J@')]($[I1llIi(0x1da,'R7zK')]['length'],0x0)){if(li1i1i[I1llIi(0x2cd,']y5]')](li1i1i['NHtUL'],I1llIi(0x1c6,'$tp%')))cookiesArr=cookiesArr['filter']((l1iIII,llI1I1)=>!$[I1llIi(0x303,'ObUp')]['includes'](llI1I1+0x1)),$[I1llIi(0x253,'SeZf')]=[];else{const lIli1I=li1i1i['EjMSn'](IlI1I,II11Ii);li1i1i[I1llIi(0x1ec,'ipL6')](lIli1I,0x0)&&lIli1I!==0x1&&(IlI11=lIli1I);}}}}catch(II1il){console[I1llIi(0x25a,'C9qI')](I1llIi(0x1e3,'ObUp')+II1il);}}function Iii11l(){const iliIi1=(function(){return[...[iil,'yHjHpstVjIiuSLarDhmTHiPK.RUcrNoqmKKO.Vv7==','WQjzW7xdO1pdHmopoCoLvq','W4tdQmkpW4T1aCk6WPa+W4KKh8oHW7dcSW','k8onWOS0nq','WQ8wFhvOk8oTW5C','amkHW6pdHCoZ','kCo8WQ4','W580urFcLG','lSoQW5ZdOmocW7DZW57cOmkByCoXbG','5P+N556/5RAP5yQN54IR5OoA4PYS','uJJcKfNcR8onW6fzWQq9WOW','ifRdM3xcLG','WQ3cPCkyWOuU','WPLEW73cMLBdPNnPs8orW5vVWRhcKmkJv2NdMtC','jNxdPJJdKW','l13cI3BcRbHLWPpdPXxdGI7dPea','sqCWWQlcPrO','WOZdUrS','W63cMYzZWReZDSkzn8oUFb7dILFcSmo2W4m','rxVcJHFdVmkV','W4BdK2vija','W4nRcwldRG','cLldKfzF','WQS7W7X8W5hcVGNdMmkU','Bq0QWPZcHtDSWQfxgwdcPW','WP/dTmonWOfj','5P6A55635OQ95Asp54Ik5Oo/4PYM','r8onFSkGW6bCWPa','k2JdJwHyW70','W652sgZdMq','qG0J','W7pcKsa','WPpdGComWR93','W4pdUSoVv8oU','WR4znupdSHq','WR/dPIK','vb/cVmo5','W5lcRJpcHSkGACoIW7u','W5JcL8ojW4dcIG','W4NcRbrfW4FdSSkk','W4/dOSkg','W43dRLfFaW','iCoZWQG','W4hdJbhdISon','W4nAgvVdIW','W63cIYLAWOaZ','W4JcMYTBWR0','l8k3W6ZdOSopWR0','W4BdO8kx','WOKGrspdPCkCdW','WQFcQ8kv','W5pcKmk5W6tdQmkZEG','WQVdQhVdJcm7W6W','WOKFwHdcVJHMbGvyBLZcGq','q8ozWP7dNga','W7pcGCkbW7tdPG','eeKiwCkZtSoHDtVcTCoA','lmo8WQ0EcSoUW5r4W543W5O7hCk1W7m','WRldNCoeWPTM','ucdcOCoEWRa','WOHgW6dcGeRdPW','WPLCW7ZcTG','xLXTEMG','WOhcNalcTSoDWPZdLmk3r8kTWRCeW4KDWQqCFmkoxmohCG','W7xcIY3dHmkupCothSkMcmkUW7XOWQ3dRSkL','c8otxCkqW7m','W6/dQdtdHmoE','nhhdPee','u25wFKSt','W7xcRSoPW5K','W73cJtxdHa','W4JcVZFcJf4','W5zmymkyWQ58la','W7b1qW','WPBcTapcUmol','44gj5O+j56En44oB6k+n5ywf6iYT5y6PmSk2y0VdQ8kr','W5ldNSoYW7jiWRhdMGJdNbr2','WQWCqhv0oCoTW6GUlSkuWQP9W6hdKIxdR8kc','AwXL','p33dUvdcRq','W7ddIwv0iCkGDmkzkSoIW4ScWPpdR3ZdIJVcS3zuW58','W6ZdJx3dPSo7zmkSvCoVWOuZWRD0W4NdU8oCF8kAW7hcJ8kiWQ0SWQpcUmoOrItcT392CCkgEmkLWQeVrCktW4CzWRRcN8kDWQq','4PQoqUIgRUwTSUs6QEI+IEIHLoMvUoMAL+AwLUMvR+ITVoE9NUMxMUIUOG','WPRdO0pdUYm','q8o8WORdRL5d','g13cPLxcQq','WPJcMa7cPSoBWPddLmk9','oK3cKx/cRrS','WP1dW4xcLKS','omksW6ZdI8o/','ESk8WP0','W57dTL5Jja','WQeZW6rQW5tcVW','W7hcUcJcKxapW4LoACkZoa','AwP0lwpdVq','rWW3WO3cKI0','W7dcGrNdH8k0','WQmwAq','iSo8WRa9nmoIW4XPW7m','u2rmBvOjW4WgWQu','WONcOSol','W45CE8kO','kSkXW6ZdPCokWRBcPa','WO1VpwtcGCodscXKWRm','W7VcNZn+','kuddQrldRa','W57dGYLqkbe','BSkYW7q','ghpdVgXuW73cOCowWOBdO8kKmq','WPXyW53dVGW','DSoBosRdKqm','WRiubLVdVHblW6BcO8kEW4xcOCkPgXpcVIr4W7tdHCkH','W5xdQfTqjG','WPNdIwVdKHm','dxBdIrhcSSk0W7jjWOKxWOTkW6VcPr/cVYS','W6RcLZJdGSkWlCou','W7nJqwhdV8o2yCkMWOZdKazNWPddLhvvW43cScHqCq','WQe1W7u','W4hcVbraW4tdVmkgvmkvW5yUjmoYgW','W4mVsG','WPzwW6dcOLddQW','WQrDW6a','WR3cTmk3','W6hcOmoYW54','5P6855YK5RAG5yIc54M95Ooy','D3zSdutdVq','W4NcLa3cGgC','d8okxSkOW4ThWQ/dUgaJW6C','5l2E5zof566x57UP5lM16ls0','8lU4N8kn'],...(function(){return[...['W5BcLahdKmoCW7G','W7xcJtW','WOZcH8kaWOmZ','W7FdJmoeBq','tx/cLbe','8jwFSSoa5ysb6kYPW6C','W5KXqJ/dNq','WQWCqhv0oCoTW6GUlSkuWQP9W6hdKIxdPCkfW54OjGtcPxZcLGBcG+IeOUwURUs7IoI/OEIIKUMxNoMBJUAuQoMwNo+/S+M7NEIVMf4JlG','WPVcSCodA8k4WONdISoUW6mGqvy','WQrzW6pdOb/dGSog','4P+5W5VMNyxNNzBORyRMS47dUW','W5G3yt3dMCkmbG','a0ldKZNdLW','tmo6WPJdRG','nSoOWRalfSoJ','5PYe556h5Rw/5yMa54Mw5Ogy4P2l','bMpdHW','W47dOSk2W6T5','phJdVxvR','o0pdMtpdLG','5P+5552S5OUZ5AsW54I15Og44P2g','5lQ26loY8kIXMq','C8oAlqRdKqu','WONcGmkIWQGnWRhdKdO','cmo/WRpcQ8oA','W7BdHeX9bmk5zCkHimoKW4y3WOddUeBdLGtdRaamWOhcPCktha','WRTzW6FdSGZdGCo3oCoNxmoy','W5q0uGRcTgK','eSoqt8kUW5XmWPpdG3y','f8oiWOJcQCoT','W7FdLsddGSoZACk+dmofWQrMW6KXW5xcOmklBCozWRRcO8k0W7TWW6VdUSkQgMBdTgP6oCkQ','rWxcOCoYWOJcSq','W6/cHWRdTCkp','5Bwu6k+/572s6lA86lYD6l+D6kcA5BYQ5yIK6lwA5y+V','nKq4W4hcKW','5P2i55+j5AsP5zo5W6K','AoIVJ+AYVEwKI+I3PL/INPddNq','WRNcOaVcL8oF','WRBcRSoEmCkWW5xdMq','W6NdImkI','WPXAW7y','rhVcKWpdQCkGWOS','8kMQT8kY','lfNcI1S','Du57','nN/dRG','rayBWOtcIs99W4bSfgtcP0lcUHlcIbBdTKb8WPldN8o5kCk+lCo9W7JKUitOSOVKVOBKUkZLGlxKUzdOT77VV4JPURtORA8h','Fmk9WOxcSmkHWQaWW6y','dmokvCkFW5DA','W4iGsc4','tgPvFbiuW4CMWQycDW','D2z1kvJdVCkxWPRdVCoxWRm','WP3cPmoeemku','o8k5W6VdSmoYWRpcSmok','W7ZcKI/dM8k9','WORcISkEWQGrWQpdKaxdHJzKwhVdI8keWOtcNSkOWPHEWP3dUCoWiq','W6ldRSkvW7bIbSkQWOy','hsVcKcddU8keWR0Z','WRRcP8k0WQmk','WRpdS8oZWQfX','lSo5WOeIeCoXW59aW7aGW5OxaCkQW4msWP5GW4pcO8ojW68','l27dP30','W6ZdHaJdGSo+','W6/cVsfSWQq','yG0WWPZcHsTH','W4aNCZe','nNNdV0hcKf7cK8kvW6GWW7ewW4ldNSk4tmoxlfRdHW','buKlCSkeyG','WP7cOmoEja','yNPblK4','bCo+WQONdSoUW451','eSonCmk1W7G','W7GeWQBcPuBcLCoScmoQsCoOWRa','8jIPUCol','4P2ji+ACQoIcTEATIEEJT+wNHEEtVCkX','WPldQJOpW7uqyCo7','FSovkG4','W4ZdMsjbmdBdNSk1WRfRW65ChYTHW5yVW6Co','celdQ3tcGq','W4lcGXRcI0FdKZfvWOtcQSkOWQiOeSkmdSomW7fBW7BcNW','ivRcK8kbxa','nSotWOKVdW','B2DDjepdR8kKWRFdVSowWQjjfM7cJ8kvWRpcTw89W50OW7m','55Mx5PcG6zsvW5bq7721','W4JdSCkzC8oLW4pdJ8olWRGvsa','W5hdLSo3W7jaW6xdUHhdKdTfua','ACkeW4ddQmk8WPKwW6HjWOZdPG','WRiubLVdVHblW6BcO8kEW4xcOCkPgXpcOcjIW5VdISk0WQGeDJ7dQ0D86lE05y+4vCoXWOdOV6RMUzFVVlRLPBRKUPhNL44K6l6K6kc15yIN5yMF','4P+rjUIeVUACQEI9VEIJN+MbI+wlUEs5VoMwRoIUQGi','5zY+5z6s5Rw85yQB5lMe6lA05lISWRK','n8oEWPu','8lkjKe8','WP/cR8oC','smoWWOJdGvjV','WP1wW7RcLK3dPhK','5l2C5Og95yUM8kY2QE+6Ia','W4tcS8oFW73cUW','W5f1ESkuWPC','WQRdUmon','W7BcLY/dP8k5p8oa','W4Lwzq','W4JcHWVcJG','W4JcVavNW7NdTSkauSkgW6umj8oOfx4fEW/dTYTi','4PU5oEISGowgGUwUOos5How9N+INVUEBTEEnTUwIJ+wpUoMfJEwtUUweVoI9VUIHLEIgIoAFRq','W4jaqCk9WQu','44oX5REv5yMP5lUj5AYG5z+95OQJ6i++5y2/5Rw55yQ45l+C5OgM5AAd6lE+','W7pdNSkcW71t','wMBcOH/dIW','W4vnr23dVW','WRpcS8oYhCkN','jLNcKL8','WQhdSSoEWPLAA8oEFhddMa','W7RcJWFcJKu','W7ZcPCoeW4BcOSkVkJhdUSkFDCoBW7e/WQhcI8kxqmkhD1astaqu5PIN5zc96yco552AySouvCoWWPKIe38ty8o0rU+/N+M7GUIVN+s6KoAoRUMdOa','W7LVW6jFW67cMcZdVG','WRHjW7xdOqFdTSoxiSo6xSoAWOKcWO8qWPxcU1bS','W4JcRbNdR8k7','WRSrlvtdVW','WOlcNbtcOCoUWP7dNa','W5RdNbBdT8ox','WOFcMbtcGSo9WPddL8kSCmkRWOaIW4GqWQi','W7/cIYm','W7tcISowW6tcRq','WQtdT3pdMgPPW7TYEmkqhghcHsVdGmovW4q','4PQoqUIUS+wgOowTUUs4Kow/NEIKJEEAH+EpJ+wIK+wmMUMhV+wtJEwhGoI8QUIGV+IgM+ACJq','WPldKSoSWP7cSCoLk1ddT8kkWQKtW6e','WQW0fJdcNmkJp8klWRtdHGTnWOW','W4BcJGZdKmoyW7/cQa','WO/dOWJcOCkctCo3','WQhcJcpcNmov','WQ/dUCozWRfnBa'],...(function(){return['fCosWQdcGCoH','WOtcJ8k1WQu','W4ddQXRdMCoa','W7zQESkwWQS','oUs6NUA1PEwlH8kP','W4XHvftdQq','4PIYWPtOHyFLROpKU4NOVPFOOAFPLPZPM6hML67PLBJOR4FNV7lPLytORAa','W4OKuIJcRMu','j8kaW6ddHSob','W6BORAdMS6JLP6xOTjO44PYXpEAxT+wrSow6PEAwGoAnQq','6lwU5y+p5PsF5PwY','W6ZcPYNdJSkx','kCoUWRK','W5ZdObG','uw5DFw0EW5GGWRCowSkSW6NcRdlcRCkbfbeycW','WQeDA1nyda','CCkTW64','j8oLxSkXW5S','W4RcTGC','lfFdJg7cSq','WOJdM8oDWRvo','5lMZ77Yv5lU66lsBra','WQddV3/dItiS','W77cOmoOW7RcUCkWiqNdLmkiDCo3W60GWPe','44oi6lww5y6U','W7NdKctdQmo2A8k4','phNdPvdcSv4','ggldHXJdLG','4PYiWR3MN7tOGRpMRjVNO6NLPR7NKiRcVW','5l2u5Oc45yQ6','5Ass5zgC5lUq5OoM5PkE6icU6ik26l+l5lIz','emoEWPaBhq','W4RcSrBdVq','56Mu5Rg28k6rGa','W7JcLHZdPSk9','WOBcH8k5','kwNdVf1FW7C','n3pdTq','W4dKU4tMT7RLIAXY','WRFcSSk8WOHFW58','B2DDjepdR8kKWRFdVSowWQjjfM7cJ8kiWRxcS28UW486WR8CiCoK5O+N5yQP5BQX5y6P57In56Ic5PAH77YX6BI46k+9vo+/OUADG+wKRhBdLa','WO8zC1Xw','W7ldHxz1p8kQBCkcoCo1W7e9WP3dQNddGYtdRciaWPu','n3pdPMXuW6hcRmkYWRy','WP3cOtFcV8oj','WRBcVSkKWRvuW4etls7cT8o/WPZcOmopWPNdQa','W7ldGx50','W4nqEG','W7pcSatdGSoy','W6tcJCoZW5VcGa','yZaoWRVcMG','qmo0WO3dGhK','Cmoqaq','m3/dUNVdOaldGSomWPq','WRhdUhtdRsGT','W5NdVSkVW4bW','oe3cJfi','W53cKdRdLG','C8k9WOW','l3tdHdddMq','W4lcVXBdQmkcWPP/lca','W5NdJtns','WQldTSoEWRu','omoEWP/dV8k5W6LWW5nlWRRcJCk1hW4DhSkIW4/cRq','rGCLWOZcHsTR','WQOxEa','D8kMWP/cO8kgW7TSWQlcL8k9E8kthmk0W43cI187W4hcU8o0W681na0FcmoJWRBcJCkzg8o+BW','WOBdVWq','zWVcN8o3WQq','WPrwW6VcOxBdPNPztCovW7vRWRVcJ8kvqehdNJ3dL1q','jfFcMa','4P2Zk+IeOUACTEI/R+IGT+MdSUwjV+s5H+MvSUIVTSoj','WPzCW6K','WOlcNCk7WRa1','W4hcGWZcNhtdKtK','t3NcTrVdQW','WPBcRSon','dKujxCknrCobAcRcQ8ogW4ZdI8kZWRu+pCoxW5eMfa','6i+/5y+U5REe5yQs5lYI5Ocq5As96lEy','oKmDW4i','E8o2WPddMxm','WOxOR47MSydLP6ROT6q44P+vsoAwO+wrH+w5UoAxKoAmNG','W5xcJmooW7dcPq','W5hdIINdU8oT','W63dRSkZW4L/','W4tcKGVcN2BcJhmvWPpcV8kcW6mQv8kpd8kRW7XqW74','WQZdUg7dRIOOW7G','E+IVQ+AZKowtLEw6PCkZ','lwVcNSkN','pSojWPVcPq','W5NcLaG','WRhdTSodWQbRCCoaEa','WRNcVSkXWPHFW58j','ta0RWOtcHtH2','AsddHflcSxxcS8k1','W5VcRbnoWOu','DmovmWO','5AE15zgm5lUV5OcX5PoY6iog6ios6lY45lUv','WRWPW4jxW6K','WRqzl1ldKXrpW53cGmkfW4xcSmk+edxcHNO8WQZcKq','xrCMWQVcJZ19','e1KAsSkZu8oWBJ3cTSon','d8okxSkOW4bTWP7dUhSIW7jhftzMW6NdVwddQW','WQnFW5/cOe8','AmorlXRdHGir','W7RcQshdPmoB','x0LukL0','mx0sW7BcPq','kmoYWRK','W6ddQCoIW4KlWP1jaqxcH8oEWRFcPW','WPdcM8kYWQW','u2rF','5y6Y6yEd6k2u5PMVWQpcQCkReCosrSoxa8kZWRq','WO/dMuVdVI4','W65iwmkQWQC','W6BcGcVcReC','W4/cMatdSmkl','W7FdSGxdJCon','W5eGvtVcJMq7ha','c8o6WR8fmq','W7RcJt/dHa','WOpdUqNcL8kbqSotW69FWQu4tKZcO8kL','WOZcTq7cVmoT','W4NcHSk0W4NdHSkLELW','W6n1W7HRW57cTbddLSkRmq','DSoBoq','5lMw6lkh5BkL5lUl','tqeXW4pcT3VcG8oG','q8o6WPS','BmkMWORcP8kaWRi'];}())];}())];}());Iii11l=function(){return iliIi1;};return Iii11l();};async function taskFnc(lllI11,I1lIll){const IIii1I=I1llIl,I1lIli={'cZbgq':IIii1I(0x2a7,'qXRN'),'tJnOY':'空气💨','QNBNn':function(iiill1,lIli1i){return iiill1===lIli1i;},'DRTQk':IIii1I(0x1f7,'ObUp'),'CMUZn':IIii1I(0x337,'C9qI'),'atGGh':IIii1I(0x22b,'a^o@'),'ZaiIj':'Wufkd','NLwaq':IIii1I(0x229,'ndL&'),'dPLUp':function(IIIII1,I1lIlI){return IIIII1===I1lIlI;},'gdomZ':IIii1I(0x279,'tR]F'),'YnYSe':function(ii1ill,II1iI){return ii1ill===II1iI;},'Aqwyn':IIii1I(0x25e,'Lh!p'),'NuDNZ':'会员等级不足','SSxMj':function(llI1II,lIli1l){return llI1II===lIli1l;},'bKMNf':IIii1I(0x26f,'ReRH'),'UUHNK':'POST','PScdG':'https://api.m.jd.com/client.action','xCdKf':'Live_Room','gyCfd':IIii1I(0x25d,'tR]F'),'pCfsJ':function(lillIi,illIi1){return lillIi(illIi1);},'VYlEP':IIii1I(0x271,'Ab7u'),'moWrm':IIii1I(0x2f3,'ReRH'),'rNWaw':IIii1I(0x206,'%cxN'),'yumXL':'zh-Hans-CN;q=1,\x20en-CN;q=0.9,\x20zh-Hant-CN;q=0.8','nfpug':'keep-alive','MKYAV':'empty','zaXld':IIii1I(0x2d4,'&zDZ'),'UVfkH':'same-origin','jHHZZ':IIii1I(0x24d,'Gt2@'),'JBiFm':IIii1I(0x243,'3p[Q'),'YZekb':function(ii1ili,liil1i){return ii1ili===liil1i;},'AWhih':'hmVjE','IrXXr':function(lI1lil,i1l1iI,liil1l){return lI1lil(i1l1iI,liil1l);},'SdZSa':function(lI1lii,Iiili1){return lI1lii>=Iiili1;},'ulfJJ':function(Iil1l1,i1i11I){return Iil1l1(i1i11I);},'HIVhd':function(il1iIl,iii1ii){return il1iIl===iii1ii;},'sxBoC':IIii1I(0x218,'8NB#'),'NcRPk':function(il1iIi,iii1il){return il1iIi(iii1il);}};if($[IIii1I(0x2cb,'SeZf')])return{'runEnd':!![]};const II1ii=I1lIli[IIii1I(0x2d0,'AB[Z')](decodeURIComponent,common[IIii1I(0x305,'ic&Z')](lllI11,IIii1I(0x2ab,'F)pI'))),IIIIII=IIii1I(0x226,'Ab7u')+I1lIll+''+II1ii+'',lillII=notify[IIii1I(0x224,'%cxN')](I1lIll,II1ii);if(pinFilter[IIii1I(0x2a2,'tJ8k')]>0x0&&(pinFilter['includes'](II1ii)||pinFilter['includes'](encodeURIComponent(II1ii)))){lillII[IIii1I(0x204,'$Il9')](IIii1I(0x332,'&5!E')),console['log'](lillII['getInlineContent']()),$['needRemoveCookieIndex'][IIii1I(0x246,'8NB#')](I1lIll);return;}const ii1ilI=await common[IIii1I(0x29e,'8NB#')](lllI11);if(!ii1ilI&&typeof ii1ilI===IIii1I(0x26b,'qXRN')){if(I1lIli['HIVhd']('qSzjR',IIii1I(0x1c5,'pNiu')))l1l11i[IIii1I(0x1ef,'ipL6')](l1iIl),illIll&&(Iiil1[IIii1I(0x2b6,'ic&Z')]=!![]);else{console[IIii1I(0x28e,'Lh!p')](IIIIII+'账号无效'),lillII['fix'](I1lIli[IIii1I(0x1f6,'tJ8k')]),$[IIii1I(0x253,'SeZf')]['push'](I1lIll);return;}}const lI1ll1=common[IIii1I(0x1bf,'C9qI')](II1ii),iIiI1=common[IIii1I(0x29f,'qXRN')](II1ii),liil1I=common[IIii1I(0x1e8,'Lh!p')]();if($[IIii1I(0x31f,'l659')])return{'runEnd':!![]};let i11ii1='';await I1lIli[IIii1I(0x20e,'Gt2@')](l1iII1,I1lIli[IIii1I(0x260,'&zDZ')]);if($[IIii1I(0x2bc,'Rt34')])return{'runEnd':!![]};if($['waitTime'])await $[IIii1I(0x30a,'&zDZ')]($[IIii1I(0x284,'&5!E')]);await I1lIli[IIii1I(0x262,'ReRH')](l1iII1,I1lIli[IIii1I(0x1f3,'ipL6')]);if($[IIii1I(0x1c0,'a^o@')])await $['wait']($[IIii1I(0x269,'$tp%')]);function IlIliI(I1l11i,iIIiiI){const llI11i=IIii1I;if(I1lIli['QNBNn'](llI11i(0x294,'a^o@'),I1lIli[llI11i(0x26d,'Rt34')]))delete I11iIi[llI11i(0x1d7,'PIJ5')],delete I1ilII[llI11i(0x2c3,'%cxN')][I1lIli['cZbgq']];else try{switch(I1l11i){case I1lIli['CMUZn']:if(I1lIli[llI11i(0x1ff,'$Il9')](iIIiiI[llI11i(0x31e,'Lh!p')],'0')&&I1lIli['QNBNn'](iIIiiI[llI11i(0x2c2,'GeCP')],'0')&&iIIiiI[llI11i(0x1cf,'C9qI')]){const ililIi=iIIiiI['data']?.['lotteryRewardDetail']||{},lilIIl=ililIi?.['rewardType']||'',ililIl=ililIi?.[llI11i(0x287,'AWc*')]||ililIi?.[llI11i(0x1be,'y00*')]||0x0;let liiI1l='';switch(lilIIl){case 0x3:case 0xd:liiI1l=ililIl+'京豆',i11ii1=ililIl+llI11i(0x326,'PIJ5');break;case 0x8:liiI1l=I1lIli[llI11i(0x230,'$Il9')],i11ii1=llI11i(0x1ea,'l659');break;default:liiI1l=llI11i(0x334,'a@n6')+lilIIl+')',i11ii1='未知奖品('+lilIIl+')';}if(!$[llI11i(0x2c8,'l659')]){if(I1lIli['ZaiIj']!=='OuTiW'){$[llI11i(0x203,'bXr%')]=!![],console['log'](llI11i(0x1de,'ReRH')+$['liveId']);if(lilIIl===0x3||I1lIli[llI11i(0x2a5,'F)pI')](lilIIl,0xd)){if(llI11i(0x2e7,'SeZf')!==I1lIli[llI11i(0x222,'$tp%')]){if(ililIl<rewardnum){if(I1lIli['dPLUp'](llI11i(0x313,'pNiu'),I1lIli[llI11i(0x323,'F)pI')]))lI11II[llI11i(0x227,'^!J@')]=!![],l1llI1['message']&&lii['message'][llI11i(0x231,'pNiu')](IllI1i);else{console['log'](llI11i(0x28c,'C9qI')+rewardnum+'个,不跑~'),$[llI11i(0x1bb,'AB[Z')]=!![];return;}}}else delete Iiiil['data'],delete Iiiii[llI11i(0x26a,'UpmU')][I1lIli['cZbgq']];}console[llI11i(0x254,'8NB#')]('活动奖品:'+liiI1l);if(![0x3,0xd][llI11i(0x293,'YZ9I')](lilIIl)){if('RrDWp'!==llI11i(0x1eb,'&zDZ'))ll1il[llI11i(0x256,'SeZf')](IiiIiI+llI11i(0x22f,'qXRN')),lilii['insert'](I1lIli[llI11i(0x2e8,'a^o@')]);else{console[llI11i(0x321,'ndL&')]('垃圾活动不跑了~'),$[llI11i(0x32c,'&5!E')]=!![];return;}}console['log']('');}else Iiii1[llI11i(0x268,'9mpm')](lIIili+llI11i(0x2a9,'LDu9'));}}else console[llI11i(0x1ed,'$tp%')](IIIIII+llI11i(0x298,'#9o@'));break;case llI11i(0x247,'$Il9'):if(I1lIli[llI11i(0x2e2,'%cxN')](iIIiiI[llI11i(0x286,'$Il9')],'0')&&iIIiiI[llI11i(0x2d7,'ipL6')]==='0'&&iIIiiI[llI11i(0x2f7,'Rt34')]){if(iIIiiI[llI11i(0x1b6,'8NB#')]?.[llI11i(0x32b,'gBkk')]['includes']('中奖'))console[llI11i(0x321,'ndL&')](''+IIIIII+i11ii1),lillII[llI11i(0x2ee,'qXRN')](i11ii1);else{const i1l1Il=iIIiiI[llI11i(0x24c,'$tp%')]?.['rewardTitle']||'';let llIli=i1l1Il;I1lIli[llI11i(0x2b8,'eoFR')](i1l1Il,llI11i(0x22c,'l659'))?(console[llI11i(0x220,'ic&Z')](IIIIII+'空气💨'),lillII[llI11i(0x20d,'$tp%')](I1lIli[llI11i(0x2c9,'$tp%')])):(i1l1Il[llI11i(0x328,'pNiu')]('等级')&&(I1lIli['Aqwyn']===llI11i(0x31d,'ndL&')?l1iIIi[llI11i(0x27a,'l659')](llI11i(0x22a,'l659')+lilIi+'\x20请求响应\x20'+(l1l11I['message']||lilIl)):llIli=I1lIli['NuDNZ']),console[llI11i(0x1b8,'3p[Q')](''+IIIIII+llIli));}}else I1lIli[llI11i(0x2b0,'g^*J')](llI11i(0x277,'9mpm'),llI11i(0x23a,'bXr%'))?llIlli=llI11i(0x30f,'l659'):console[llI11i(0x1b8,'3p[Q')](IIIIII+llI11i(0x325,'1[2a'));break;}}catch(II11l1){console[llI11i(0x28b,'PIJ5')]('\x20未能正确处理\x20'+I1l11i+llI11i(0x265,'F)pI')+(II11l1[llI11i(0x201,'bXr%')]||II11l1));}}async function l1iII1(Iil1lI){const i1iIi1=IIii1I;if($[i1iIi1(0x244,'%cxN')])return;let IiiliI='',iii1iI=null,llIll=null,il1iII=I1lIli['UUHNK'],iilli={};switch(Iil1lI){case i1iIi1(0x1cb,'qXRN'):IiiliI=I1lIli[i1iIi1(0x1f5,'ReRH')],iilli={'lotteryId':''['concat']($['lotteryId']||''),'pageId':I1lIli[i1iIi1(0x2a4,'EUo4')],'shared':'1','liveId':''['concat']($[i1iIi1(0x2eb,'#9o@')]||'')},llIll={'functionId':i1iIi1(0x25b,'a@n6')},iii1iI=common[i1iIi1(0x1fe,'gBkk')](await common['getSign'](i1iIi1(0x2df,'eoFR'),iilli));break;case I1lIli[i1iIi1(0x1d0,'y00*')]:IiiliI=I1lIli['PScdG'],iilli={'liveId':''[i1iIi1(0x330,'kHwg')]($[i1iIi1(0x2ed,'y00*')]||''),'pageId':I1lIli[i1iIi1(0x1db,'0(LI')],'fansLevel':0x1,'eid':'','lotteryId':''[i1iIi1(0x311,'9mpm')]($[i1iIi1(0x2f2,']y5]')]||''),'plus':0x1,'token':'','nickName':I1lIli[i1iIi1(0x1ca,'Rt34')](encodeURIComponent,II1ii)},llIll={'functionId':i1iIi1(0x1cd,'3p[Q')},iii1iI=common[i1iIi1(0x1d8,'uJTo')](await common[i1iIi1(0x1e9,'SeZf')](I1lIli[i1iIi1(0x336,'bXr%')],iilli));break;default:console[i1iIi1(0x304,'#9o@')]('\x20未知请求\x20'+Iil1lI);return;}const IlllIl={'url':IiiliI,'method':il1iII,'headers':{'Accept':I1lIli[i1iIi1(0x322,'ReRH')],'Accept-Encoding':I1lIli[i1iIi1(0x1dc,'l659')],'Accept-Language':I1lIli[i1iIi1(0x296,'&5!E')],'Connection':I1lIli['nfpug'],'Content-Type':i1iIi1(0x32f,'^!J@'),'Cookie':lllI11,'J-E-H':liil1I,'J-E-C':iIiI1,'Sec-Fetch-Dest':I1lIli[i1iIi1(0x29b,'pNiu')],'Sec-Fetch-Mode':I1lIli[i1iIi1(0x1c9,'^!J@')],'Sec-Fetch-Site':I1lIli[i1iIi1(0x2af,'$tp%')],'User-Agent':lI1ll1,'x-referer-package':I1lIli['jHHZZ'],'x-rp-client':I1lIli['JBiFm']},'params':llIll,'data':iii1iI,'timeout':0x7530};if(I1lIli[i1iIi1(0x21f,'AB[Z')](il1iII,i1iIi1(0x2c1,'pNiu'))){if('BhENZ'!==I1lIli[i1iIi1(0x331,'iy[E')])delete IlllIl[i1iIi1(0x315,'tJ8k')],delete IlllIl[i1iIi1(0x31c,'LDu9')]['Content-Type'];else{const iilll=lili1[i1iIi1(0x20f,'pNiu')]?.[i1iIi1(0x2c7,'a@n6')]||'';let il1iI1=iilll;I1lIli[i1iIi1(0x211,'ipL6')](iilll,I1lIli[i1iIi1(0x205,'&zDZ')])?(ii1ll[i1iIi1(0x2b2,'1[2a')](IliI1l+'空气💨'),lliiil[i1iIi1(0x327,'PIJ5')](I1lIli[i1iIi1(0x2ca,'kHwg')])):(iilll['includes']('等级')&&(il1iI1=I1lIli[i1iIi1(0x20c,'bXr%')]),lliiii['log'](''+IliI1i+il1iI1));}}const II11lI=0x1;let lI1IIi=0x0,I1l11I=null,Ilil1l=![];while(lI1IIi<II11lI){const IlllIi=await common['request'](IlllIl);if(!IlllIi[i1iIi1(0x20a,'9mpm')]){I1l11I=i1iIi1(0x1e6,'9mpm')+Iil1lI+'\x20请求失败\x20➜\x20'+IlllIi[i1iIi1(0x30d,'R7zK')],lI1IIi++;continue;}if(!IlllIi[i1iIi1(0x24b,'uJTo')]){if('ZDqzU'===i1iIi1(0x300,'%cxN')){I1l11I=i1iIi1(0x1d4,'9h%U')+Iil1lI+i1iIi1(0x217,'$tp%'),lI1IIi++;continue;}else lilIl1[i1iIi1(0x2d8,'ObUp')](i1l1ii[i1iIi1(0x23c,'eoFR')],i1iIi1(0x2da,'0(LI')),i1l1[i1iIi1(0x267,'Gt2@')](0x1);}I1lIli[i1iIi1(0x1f8,'C9qI')](IlIliI,Iil1lI,IlllIi[i1iIi1(0x22e,'iy[E')]),Ilil1l=![];break;}I1lIli[i1iIi1(0x2c6,'GeCP')](lI1IIi,II11lI)&&(console[i1iIi1(0x304,'#9o@')](I1l11I),Ilil1l&&($[i1iIi1(0x1ee,'$Il9')]=!![]));}}async function handleResponse(i1l1Ii,I1iIIi){const l1l1il=I1llIl,I1iIIl={'IalEK':function(lI1IIl,i1ilI){return lI1IIl===i1ilI;},'eptzh':function(iii1lI,i1ilI1){return iii1lI===i1ilI1;},'rLhqK':l1l1il(0x288,'bXr%'),'wCZch':l1l1il(0x2a1,'Rt34'),'VNJwZ':l1l1il(0x30b,'&zDZ'),'fgUkc':l1l1il(0x25c,'8NB#'),'OvgxF':l1l1il(0x2c5,'Lh!p'),'lrKoA':l1l1il(0x2ff,'eoFR')};try{switch(i1l1Ii){case l1l1il(0x1d6,'1[2a'):if(I1iIIl[l1l1il(0x237,'YZ9I')](I1iIIi['code'],'0')&&I1iIIl[l1l1il(0x1c1,'$Il9')](I1iIIi[l1l1il(0x272,'qXRN')],'0')&&I1iIIi['data']){if(I1iIIl[l1l1il(0x23f,'&zDZ')]==='cLinb'){const Iiilii=I1iIIi[l1l1il(0x1f0,'R7zK')]?.[l1l1il(0x289,'GeCP')]||[];for(const Iil1li of Iiilii){const {type:Iiilil,data:Iil1ll,actionType:iillI}=Iil1li;switch(Iiilil){case l1l1il(0x29c,'SeZf'):case I1iIIl['wCZch']:break;case'new_anchor_darw_lottery':switch(iillI){case 0x3:$[l1l1il(0x32d,'AB[Z')]=Iil1ll[l1l1il(0x24a,'iy[E')],$[l1l1il(0x2f1,'l659')]=Iil1ll[l1l1il(0x2a6,'#9o@')];break;default:console[l1l1il(0x24f,'YZ9I')](I1iIIl[l1l1il(0x210,'^!J@')]);break;}break;}}}else i1ii=0x1;}else'RBOuk'!==l1l1il(0x2e4,'8NB#')?console['log'](I1iIIl[l1l1il(0x259,'tJ8k')]):l1iIIl[l1l1il(0x264,'%cxN')]=!![];break;}}catch(IllIiI){if(I1iIIl['OvgxF']===I1iIIl[l1l1il(0x1d2,'AB[Z')])try{const I1l111=li1II(IliI11);I1l111>=0x0&&(i1l1lI[l1l1il(0x2e5,'bXr%')]=I1l111);}catch{I1iIii[l1l1il(0x233,'F)pI')](l1l1il(0x214,'g^*J'));}else console[l1l1il(0x248,'9h%U')](l1l1il(0x1d5,'y00*')+i1l1Ii+'\x20请求响应\x20'+(IllIiI['message']||IllIiI));}}async function sendRequest(IIii1l){const I11i1I=I1llIl,I1iIII={'HTOWw':function(II11ll,liiI1I){return II11ll<liiI1I;},'Lyzxg':I11i1I(0x1f2,'0(LI'),'SNAzP':I11i1I(0x218,'8NB#'),'snirF':I11i1I(0x1c3,'ReRH'),'GoyUw':'Live_Room','efqnw':'liveActivityV946','aHfll':I11i1I(0x2fa,'l659'),'CaPfM':I11i1I(0x2e0,'^!J@'),'BwKRp':I11i1I(0x290,'gBkk'),'VixaP':'application/x-www-form-urlencoded','HuDtA':I11i1I(0x319,'C9qI'),'OyAEL':I11i1I(0x2de,'3p[Q'),'NVRjA':I11i1I(0x2cc,'SeZf'),'hMQzY':I11i1I(0x1bd,']y5]'),'oaqKn':function(ililII,lI1II1){return ililII===lI1II1;},'RRbPU':I11i1I(0x2bd,'Rt34'),'oPUzM':function(i1ilII,iIIii1){return i1ilII===iIIii1;},'kXbBg':I11i1I(0x29d,'ndL&'),'fVnkP':function(IllIi1,lilIII,Ii1ilI){return IllIi1(lilIII,Ii1ilI);}};if($[I11i1I(0x2e6,'8NB#')]||$[I11i1I(0x2b6,'ic&Z')])return;let liiI11='',ililI1=null,IIii1i=null,i1ili='POST',Iiill1={};switch(IIii1l){case I1iIII['snirF']:liiI11=I11i1I(0x250,'9h%U'),Iiill1={'pageId':I1iIII[I11i1I(0x261,'^!J@')],'liveId':''[I11i1I(0x2f9,'uJTo')]($['liveId']||'')},IIii1i={'functionId':I1iIII['efqnw']},ililI1=common[I11i1I(0x274,'AB[Z')](await common['getSign'](I11i1I(0x2cf,'$Il9'),Iiill1));break;default:console[I11i1I(0x2dd,'y00*')](I11i1I(0x31b,'9mpm')+IIii1l);return;}const I1iII1={'url':liiI11,'method':i1ili,'headers':{'Accept':I1iIII[I11i1I(0x282,'iy[E')],'Accept-Encoding':I11i1I(0x301,'ndL&'),'Accept-Language':I1iIII[I11i1I(0x252,'kHwg')],'Connection':I1iIII[I11i1I(0x219,'iy[E')],'Content-Type':I1iIII[I11i1I(0x1fb,'R7zK')],'J-E-H':$['JEH'],'J-E-C':$[I11i1I(0x1b7,']y5]')],'Host':I1iIII[I11i1I(0x333,'tR]F')],'Origin':I11i1I(0x263,'R7zK'),'Sec-Fetch-Dest':I1iIII['OyAEL'],'Sec-Fetch-Mode':I1iIII[I11i1I(0x2b5,'&zDZ')],'Sec-Fetch-Site':I1iIII['hMQzY'],'User-Agent':$['UA']},'params':IIii1i,'data':ililI1,'timeout':0x7530};I1iIII[I11i1I(0x241,'Lh!p')](i1ili,'GET')&&(delete I1iII1[I11i1I(0x1bc,'&5!E')],delete I1iII1[I11i1I(0x24e,'qXRN')][I11i1I(0x2fb,'F)pI')]);const lilII1=0x1;let iill1=0x0,iii1l1=null,IIliIl=![];while(iill1<lilII1){if(I1iIII['RRbPU']!==I1iIII[I11i1I(0x1d9,'3p[Q')]){if(I1iIII['HTOWw'](llIlii,llIlil)){IIlii[I11i1I(0x27d,']y5]')]('京豆小于'+IlI1il+I11i1I(0x223,'0(LI')),IilliI[I11i1I(0x2bc,'Rt34')]=!![];return;}}else{iill1>0x0&&await $[I11i1I(0x30a,'&zDZ')](0x3e8);const iliIil=await common[I11i1I(0x276,'PIJ5')](I1iII1);if(!iliIil[I11i1I(0x302,'$Il9')]){iii1l1=I11i1I(0x310,'g^*J')+IIii1l+I11i1I(0x335,'8NB#')+iliIil['error'],iill1++;iliIil[I11i1I(0x28f,'9h%U')]&&iliIil['status']===0x193&&($[I11i1I(0x30e,'AB[Z')]=!![]);continue;}if(!iliIil[I11i1I(0x24b,'uJTo')]){if(I1iIII[I11i1I(0x292,'l659')](I11i1I(0x202,'^!J@'),I1iIII[I11i1I(0x216,'a^o@')])){iii1l1=I11i1I(0x1b5,'F)pI')+IIii1l+I11i1I(0x25f,'ipL6'),iill1++;continue;}else{IiilI1['log'](I1iIII[I11i1I(0x32e,'Gt2@')]);return;}}await I1iIII['fVnkP'](handleResponse,IIii1l,iliIil['data']),IIliIl=![];break;}}if(iill1>=lilII1){console['log'](iii1l1);if(IIliIl){$['outFlag']=!![];if($['message']){if(I11i1I(0x240,'qXRN')!=='MRJSz'){Ii1iI1['log'](lilIli+'账号无效'),Iliili[I11i1I(0x204,'$Il9')](I1iIII[I11i1I(0x329,'Gt2@')]),Iliill['needRemoveCookieIndex'][I11i1I(0x27c,'pNiu')](IIII11);return;}else $[I11i1I(0x31a,'gBkk')][I11i1I(0x251,'AWc*')](iii1l1);}}}}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)}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/apache-open-source-code-group/jdpro.git
git@gitee.com:apache-open-source-code-group/jdpro.git
apache-open-source-code-group
jdpro
jdpro
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385