/* PDD特价转盘抽奖提现 入口:特价版APP——幸运抽奖 链接:https://pro.m.jd.com/jdlite/active/23CeE8ZXA4uFS9M9mTjtta9T4S5x/index.html 轮询提现变量:JD_PDD_TXNUM //轮询提现页数 提现间隔时间:JD_PDD_TXWAIT //提现兑换间隔,默认 3 秒 抽奖间隔时间:JD_PDD_DRAWWAIT //提现兑换间隔,默认 3 秒 提现变量:JD_PDD_TXCASH //是否提现,默认不提现(true/false) 提现上限刷新时长变量:JD_PDD_Swish //是否延长提现时间,默认不延长(true/false) 配合提现页码,上限后延长,可以延迟到期时间,最终效果可以推迟到下个月直接提现。 重试变量: JD_PDD_TXMAX_RETRY // 已存在状态/待发放,提现中,等最大重试次数 默认 3 次 JD_PDD_DRAW_RETRY // 抽奖 提示未中奖等最大重试次数 默认 20 次 兑换红包变量: export JD_PDD_Exchange="true" // 上限后兑换红包,默认关闭 注意:轮询页数也大,越容易403,请谨慎填写 代理变量: JD_PDD_PROXY_OPEN // 代理启用变量,默认不开启(true/false) JD_PDD_PROXY_TUNNRL // 代理池代理地址变量,默认不开启,仅支持代理池模式(auto-proxy-pool),格式为:http://ip:port JD_PDD_PROXY_URL // API代理地址变量,默认不开启,仅支持 数据格式:txt;提取数量:每次一个,格式为:http://api.xxx.xxx JD_PDD_NO_PROXY // 禁止走代理,默认 127.0.0.1,*.baidu.com 需要自行修改 cron:1 1 1 1 * ============Quantumultx=============== [task_local] #PDD特价转盘抽奖提现 1 1 1 1 * jd_pdd_draw.js, tag=PDD特价转盘抽奖提现, enabled=true */ const $ = new Env('PDD特价转盘抽奖提现'); var iil='jsjiami.com.v7';const i1IiIl=iii1II;if(function(i1IiI1,l1lIII,iII11i,l1iI1i,lIlllI,III1lI,I11i){return i1IiI1=i1IiI1>>0x1,III1lI='hs',I11i='hs',function(ll1IlI,I11l,Ili1l1,iilIil,illI1i){const ll1Ili=iii1II;iilIil='tfi',III1lI=iilIil+III1lI,illI1i='up',I11i+=illI1i,III1lI=Ili1l1(III1lI),I11i=Ili1l1(I11i),Ili1l1=0x0;const i1IiII=ll1IlI();while(!![]&&--l1iI1i+I11l){try{iilIil=-parseInt(ll1Ili(0x22b,'hvo^'))/0x1*(parseInt(ll1Ili(0x507,'$C(H'))/0x2)+-parseInt(ll1Ili(0x1ed,'GbUZ'))/0x3+-parseInt(ll1Ili(0x37a,'USuI'))/0x4+parseInt(ll1Ili(0x43e,'bX*!'))/0x5*(parseInt(ll1Ili(0x356,'Bts%'))/0x6)+parseInt(ll1Ili(0x450,'*SP7'))/0x7+-parseInt(ll1Ili(0x379,'Pe#i'))/0x8+parseInt(ll1Ili(0x3de,'LfaI'))/0x9*(parseInt(ll1Ili(0x29c,'!rS('))/0xa);}catch(illI1l){iilIil=Ili1l1;}finally{illI1i=i1IiII[III1lI]();if(i1IiI1<=l1iI1i)Ili1l1?lIlllI?iilIil=illI1i:lIlllI=illI1i:Ili1l1=illI1i;else{if(Ili1l1==lIlllI['replace'](/[WwPTlChkAXuBbYRHn=]/g,'')){if(iilIil===I11l){i1IiII['un'+III1lI](illI1i);break;}i1IiII[I11i](illI1i);}}}}}(iII11i,l1lIII,function(l1ll1I,i1lI1,l1ll11,I1I111,lIllli,lIllll,I11I){return i1lI1='\x73\x70\x6c\x69\x74',l1ll1I=arguments[0x0],l1ll1I=l1ll1I[i1lI1](''),l1ll11=`\x72\x65\x76\x65\x72\x73\x65`,l1ll1I=l1ll1I[l1ll11]('\x76'),I1I111=`\x6a\x6f\x69\x6e`,(0x14d563,l1ll1I[I1I111](''));});}(0x194,0xabe0e,Iii11l,0xcc),Iii11l){}const iIIli1=require(i1IiIl(0x255,'bX*!')),Ii1l1i=require('./function/sendJDNotify'),l1lIl=require(i1IiIl(0x49a,'imzl')),Ii1l1l=require('./function/krgetH5st'),i1Iiil=process[i1IiIl(0x270,'GbUZ')]['JD_PDD_Notify']===i1IiIl(0x2da,'&oj#'),i1Iiii=process[i1IiIl(0x418,'Pe#i')][i1IiIl(0x27a,'P%d&')]===i1IiIl(0x457,'9OFb'),l1lIi=process['env']['JD_PDD_Swish']==='true',l1lili=process['env'][i1IiIl(0x316,'imzl')]||'1',IIlI1l=process[i1IiIl(0x51d,'RcBE')][i1IiIl(0x1f5,'LfaI')]===i1IiIl(0x335,'5HJ%'),lI1I11=process[i1IiIl(0x327,'H!lv')][i1IiIl(0x31d,'!rS(')]||'3',IilIl=process[i1IiIl(0x296,'f8wd')][i1IiIl(0x42a,'0E1(')]||'3',IilIi=process['env'][i1IiIl(0x3ad,'CKS*')]||'3',Ili1Il=process['env'][i1IiIl(0x4ba,'&oj#')]||'20',i1liI=i1IiIl(0x307,'7E!5'),iilIIi=process[i1IiIl(0x211,'qd(L')][i1IiIl(0x286,'G(6G')]===i1IiIl(0x461,'IX$P'),I1iII=process[i1IiIl(0x41a,'CKS*')][i1IiIl(0x47c,'*SP7')],IIlI1i=process['env'][i1IiIl(0x3c3,'FTxq')],iiiI1i=process[i1IiIl(0x41a,'CKS*')][i1IiIl(0x3cf,'$A8J')]||i1IiIl(0x3a8,'EUj%');let iiiI1l='',Ili1Ii=0x0,Ii1l1I=parseInt(lI1I11)*0x3e8,iilII1=parseInt(IilIl)*0x3e8;$['PDDEnd']=![];let iiiI11=![];if(iilIIi){iiiI11=!![];try{require(i1IiIl(0x4ce,'Bts%'));if(IIlI1i){console[i1IiIl(0x3d9,'Pe#i')](i1IiIl(0x469,'J4@j')),console[i1IiIl(0x42b,'g1Nh')](i1IiIl(0x213,'d0sC')+IIlI1i+'\x0a');let iiiI1I=/[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?/g;global['GLOBAL_AGENT']['NO_PROXY']=iiiI1I[i1IiIl(0x3a6,'YE[)')](IIlI1i)[0x0]+','+iiiI1i;}else I1iII?(global[i1IiIl(0x218,'qd(L')][i1IiIl(0x525,'fHf)')]=I1iII,global[i1IiIl(0x30b,'(&V0')][i1IiIl(0x1f2,'4[$g')]=''+iiiI1i,console[i1IiIl(0x4f1,'P%d&')](i1IiIl(0x48a,'Pe#i')),console['log'](i1IiIl(0x3f6,'&oj#')+global[i1IiIl(0x38f,'LfaI')][i1IiIl(0x289,'f8wd')]+'\x0a')):(console['log'](i1IiIl(0x23c,'g1Nh')),console[i1IiIl(0x487,'!rS(')](i1IiIl(0x2b3,'g1Nh')),console[i1IiIl(0x256,'WfPj')](i1IiIl(0x4da,'bX*!')));}catch(lilI11){console[i1IiIl(0x3d5,'$C(H')](i1IiIl(0x2b4,'P%d&')),console['log'](i1IiIl(0x242,'pQ7M')),iiiI11=![];}}else console[i1IiIl(0x256,'WfPj')](i1IiIl(0x4ff,'Wwz@')),console['log']('⚠\x20开启代理变量:export\x20JD_PDD_PROXY_OPEN=\x27true\x27\x20\x0a');let l1lilI='';const i1Iil1=Object['keys'](iIIli1)['map'](Ili1II=>iIIli1[Ili1II])['filter'](ili1i=>ili1i);!i1Iil1[0x0]&&($[i1IiIl(0x4a2,'7E!5')]($[i1IiIl(0x46f,'G(6G')],'【提示】请先获取Cookie'),process[i1IiIl(0x438,'9OFb')](0x1));!(async()=>{const i1IiIi=i1IiIl,IiIi1={'ZvKTS':i1IiIi(0x37e,'7E!5'),'beDzz':function(l1Ii1,i1IilI){return l1Ii1==i1IilI;},'nbIRP':'不提现','ndrGE':function(III1I1,ilI111){return III1I1==ilI111;},'iKUZd':i1IiIi(0x3b3,'^EG$'),'bfLHJ':function(I1IllI,IIlI11){return I1IllI==IIlI11;},'xtQMs':'不延长','nKDtf':'KuZIO','tdTWH':function(iIIll1,llIIII){return iIIll1+llIIII;},'uxwSo':function(ilI11I,ili1I){return ilI11I(ili1I);},'XVXHH':i1IiIi(0x241,'fHf)'),'JcPLI':function(iilIIl,i1Iili){return iilIIl&&i1Iili;},'QeLbE':function(i1Iill,l1IiI){return i1Iill!==l1IiI;},'owBAY':i1IiIi(0x432,'H!lv'),'VbMtQ':i1IiIi(0x202,'imzl'),'CcNgB':i1IiIi(0x3b1,'4[$g'),'nLuKn':function(l1lill){return l1lill();},'ejFeg':function(i1li1,iIIllI,I1Ill1){return i1li1(iIIllI,I1Ill1);}};console[i1IiIi(0x25f,'imzl')]('⏺️\x20当前设置是否提现:['+(IiIi1[i1IiIi(0x412,'hvo^')](i1Iiii,!![])?'提现':IiIi1['nbIRP'])+i1IiIi(0x311,'GbUZ')+l1lili+i1IiIi(0x420,'hvo^')),console[i1IiIi(0x2aa,'yqk%')](i1IiIi(0x426,'tKm#')+Ili1Il+i1IiIi(0x34d,'f8wd')+IilIi+']\x20次'),console['log'](i1IiIi(0x3f8,'G(6G')+IilIl+i1IiIi(0x4e6,'$A8J')+lI1I11+i1IiIi(0x2a4,'(&V0')),console['log'](i1IiIi(0x414,'fHf)')+(IiIi1['ndrGE'](IIlI1l,!![])?'兑换':IiIi1[i1IiIi(0x3bb,'H!lv')])+'],是否延长提现:['+(IiIi1['bfLHJ'](l1lIi,!![])?'延长':IiIi1['xtQMs'])+']'),Ii1l1i[i1IiIi(0x229,'8KQb')]({'title':$[i1IiIi(0x4eb,'!rS(')]});for(let ili11=0x0;ili11$[i1IiIl(0x2af,'CKS*')](IIlI1I))[i1IiIl(0x48f,'LfaI')](()=>$[i1IiIl(0x346,'!rS(')]());async function liI1Ii(){const ll1Ill=i1IiIl,llIIIi={'GZVSO':function(IiIiIl,I1Ilil){return IiIiIl(I1Ilil);},'gFYKv':ll1Ill(0x479,'f8wd'),'PbTPe':function(l1I1I1,I1Ilii){return l1I1I1+I1Ilii;},'HQJdB':function(l1Iii,l1Iil){return l1Iii(l1Iil);},'RIWEI':'inviteFissionHome','HvtJC':function(III1Ii,III1Il,iIIliI){return III1Ii(III1Il,iIIliI);},'DZmJK':function(IiIil,IiIii){return IiIil+IiIii;},'dgPXc':function(iill1l,IiIiII){return iill1l===IiIiII;},'ahlIc':'kwBmh','yASvz':function(iill1i,l1Il1){return iill1i(l1Il1);},'rhdBi':ll1Ill(0x2be,'P%d&'),'ruSGs':function(iill11,I1IliI,III1II){return iill11(I1IliI,III1II);},'Yakci':function(l1I1II,iIIlil){return l1I1II*iIIlil;},'RJTIb':function(IiIiI1,iIIlii){return IiIiI1(iIIlii);},'QpjTi':function(llIII1,IiIiI,iill1I){return llIII1(IiIiI,iill1I);},'wjTRU':function(Illi1,l1iiIl){return Illi1+l1iiIl;},'nVmjy':function(lIIi1i,liI11I){return lIIi1i(liI11I);},'pQgWM':function(III1,l1IIl1,l1iiIi){return III1(l1IIl1,l1iiIi);},'sBeBn':function(lIIi1l,I1lI1i){return lIIi1l+I1lI1i;},'ohEeA':function(illili,iiiII1){return illili*iiiII1;}};$['hotproxy']=![],$[ll1Ill(0x3a0,'J4@j')]=![],$['txhot']=![],$[ll1Ill(0x483,'^EG$')]=![],$[ll1Ill(0x3f1,'YE[)')]=![],$['nologin']=![],$[ll1Ill(0x4bb,'Pe#i')]=![],$[ll1Ill(0x40a,'YE[)')]=0x0,$['xjnums']=0x0,$['drawnum']=0x0;try{await llIIIi[ll1Ill(0x22d,'FTxq')](i1lil,llIIIi['gFYKv']);if($['nologin'])return;await $[ll1Ill(0x452,'8KQb')](parseInt(llIIIi['PbTPe'](0x3e8,0x1f4),0xa)),await llIIIi[ll1Ill(0x477,'&oj#')](i1lil,llIIIi[ll1Ill(0x302,'fHf)')]);if($['nologin'])return;await $[ll1Ill(0x263,'l]SH')](llIIIi[ll1Ill(0x322,'imzl')](parseInt,llIIIi['DZmJK'](0x3e8,0x1f4),0xa));if(!$['nologin']){if($[ll1Ill(0x4d3,'GbUZ')]>0x0){if(llIIIi[ll1Ill(0x400,'cr2R')](llIIIi[ll1Ill(0x4f5,'RcBE')],llIIIi['ahlIc']))for(m=0x1;$['prizeNum']--;m++){console['log'](ll1Ill(0x471,'P%d&')+m+'次抽奖'),await llIIIi['yASvz'](i1lil,llIIIi['rhdBi']),await $[ll1Ill(0x298,'B(y@')](llIIIi['ruSGs'](parseInt,llIIIi[ll1Ill(0x424,'fHf)')](iilII1,0x1)+0x7d0,0xa));$[ll1Ill(0x26b,'tKm#')]&&!$[ll1Ill(0x26d,'FTxq')]&&!$['inviteFissionReceivehot']&&i1liI=='EcuVpjGGfccY3Ic_1ni83w'&&(await llIIIi[ll1Ill(0x224,'LfaI')](i1lil,ll1Ill(0x402,'Pe#i')),await $[ll1Ill(0x40f,'6y)6')](llIIIi[ll1Ill(0x370,'G(6G')](parseInt,llIIIi['wjTRU'](iilII1*0x1,0x7d0),0xa)));if($[ll1Ill(0x3e8,'7E!5')])break;}else IIli1l[ll1Ill(0x3bc,'tKm#')]('❓'+II1lii+'\x20'+lIIii1[ll1Ill(0x50c,'pQ7M')](ll1i1));}if(i1Iiii){console[ll1Ill(0x2d3,'FTxq')](ll1Ill(0x2ac,'yqk%')+l1lili+']');for(let IiIlI=0x0;IiIlI>(-0x2*_0x431835&0x6)):0x0){_0x41d8ba=_0x527f48['indexOf'](_0x41d8ba);}for(let _0x3d62f6=0x0,_0x4f3b31=_0x23cbc8['length'];_0x3d62f6<_0x4f3b31;_0x3d62f6++){_0x487127+='%'+('00'+_0x23cbc8['charCodeAt'](_0x3d62f6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x487127);};const _0xc2c24c=function(_0x1bb45e,_0x95518a){let _0x374709=[],_0x1622ae=0x0,_0x5f4b7c,_0x25bd75='';_0x1bb45e=_0x12a4d2(_0x1bb45e);let _0xd56e97;for(_0xd56e97=0x0;_0xd56e97<0x100;_0xd56e97++){_0x374709[_0xd56e97]=_0xd56e97;}for(_0xd56e97=0x0;_0xd56e97<0x100;_0xd56e97++){_0x1622ae=(_0x1622ae+_0x374709[_0xd56e97]+_0x95518a['charCodeAt'](_0xd56e97%_0x95518a['length']))%0x100,_0x5f4b7c=_0x374709[_0xd56e97],_0x374709[_0xd56e97]=_0x374709[_0x1622ae],_0x374709[_0x1622ae]=_0x5f4b7c;}_0xd56e97=0x0,_0x1622ae=0x0;for(let _0x4e521e=0x0;_0x4e521e<_0x1bb45e['length'];_0x4e521e++){_0xd56e97=(_0xd56e97+0x1)%0x100,_0x1622ae=(_0x1622ae+_0x374709[_0xd56e97])%0x100,_0x5f4b7c=_0x374709[_0xd56e97],_0x374709[_0xd56e97]=_0x374709[_0x1622ae],_0x374709[_0x1622ae]=_0x5f4b7c,_0x25bd75+=String['fromCharCode'](_0x1bb45e['charCodeAt'](_0x4e521e)^_0x374709[(_0x374709[_0xd56e97]+_0x374709[_0x1622ae])%0x100]);}return _0x25bd75;};iii1II['YfDkTJ']=_0xc2c24c,_0x2d8833=arguments,iii1II['SzvqqL']=!![];}const _0x191f6b=_0x2c1aa2[0x0],_0xc8d2a3=_0x391581+_0x191f6b,_0x48ab80=_0x2d8833[_0xc8d2a3];return!_0x48ab80?(iii1II['FAcpyf']===undefined&&(iii1II['FAcpyf']=!![]),_0x1aafc5=iii1II['YfDkTJ'](_0x1aafc5,_0x58be19),_0x2d8833[_0xc8d2a3]=_0x1aafc5):_0x1aafc5=_0x48ab80,_0x1aafc5;},iii1II(_0x2d8833,_0x5008d6);};async function i1lil(ilI1II){const i1lII=i1IiIl,iillI1={'caEdj':function(iiil1I){return iiil1I();},'LDTpV':function(llII11,lIiI1){return llII11(lIiI1);},'vXdWO':'POST','iQZpn':'inviteFissionReceive','vBnff':i1lII(0x4b1,'LfaI'),'PWSdG':i1lII(0x437,'H!lv'),'GLHli':'6.14.0','nrFdp':'ios','NHuVs':'4.3','HJdeI':'https://api.m.jd.com/api','QSlQJ':'02f8d','yosQS':i1lII(0x522,'Bts%'),'gtFVb':'inviteFissionHome','KLxmd':i1lII(0x4b3,'jQZo'),'mYyKP':'inviteFissionDrawPrize','uOOKp':'c02c6','TTRce':'gzip,\x20deflate,\x20br','VjiRO':i1lII(0x41c,'qd(L'),'INQyY':'application/x-www-form-urlencoded','SwVfI':i1lII(0x45d,'#z13'),'nuwwA':i1lII(0x2ae,'jQZo'),'xTQAc':i1lII(0x45a,'6y)6'),'dYRGV':function(IiIi1i,llII1l){return IiIi1i===llII1l;},'DguoI':i1lII(0x20b,'pQ7M'),'rGgGU':i1lII(0x4c9,'FTxq'),'lvoxp':function(iil11l,IiIi1l){return iil11l>IiIi1l;},'dNdZp':function(llII1i,illI1I){return llII1i!==illI1I;},'LPSxe':i1lII(0x35d,'(&V0'),'YeLOO':'string','kpbLv':i1lII(0x341,'FTxq'),'QIWsW':function(ilI1Ii,ilI1Il){return ilI1Ii!==ilI1Il;},'ixxtD':i1lII(0x39d,'&oj#'),'JQjYM':function(illI11,ll11Ii){return illI11!==ll11Ii;},'cxDgG':i1lII(0x274,'!rS('),'dApWb':i1lII(0x306,'FTxq'),'RDIid':i1lII(0x4af,'LfaI'),'wPQnU':'\x0a---------------------------------------------------\x0a','dZqMM':function(ll11Il,i11lI){return ll11Il||i11lI;},'mqZOi':i1lII(0x373,'!rS('),'IgkHq':i1lII(0x252,'RcBE'),'XOVHg':i1lII(0x40d,'&oj#'),'WvvOE':function(Illl1,iii1I){return Illl1+iii1I;},'MYelU':'http://','TRkng':function(iliII,ii1i1I){return iliII>=ii1i1I;}};let i11l1='',IlllI='',iliIl=iillI1[i1lII(0x3d0,'IX$P')],ii1i11='',ll11II={};switch(ilI1II){case iillI1[i1lII(0x415,'5HJ%')]:ll11II={'appId':iillI1[i1lII(0x43c,'hvo^')],'functionId':iillI1[i1lII(0x3c0,'4[$g')],'appid':iillI1['PWSdG'],'clientVersion':iillI1[i1lII(0x37b,'6y)6')],'client':iillI1[i1lII(0x39b,'^EG$')],'body':{'linkId':i1liI},'version':iillI1[i1lII(0x3e6,'CKS*')],'ua':$['UA'],'t':!![]},ii1i11=await Ii1l1l['getH5st'](ll11II),i11l1=iillI1['HJdeI'],IlllI=''+ii1i11[i1lII(0x2e7,'YE[)')];break;case i1lII(0x47d,'B(y@'):ll11II={'appId':iillI1['QSlQJ'],'functionId':iillI1[i1lII(0x334,'4[$g')],'appid':iillI1['PWSdG'],'clientVersion':i1lII(0x502,'FTxq'),'client':i1lII(0x3ff,'$A8J'),'body':{'linkId':i1liI,'isJdApp':!![],'inviter':''},'version':i1lII(0x478,'$A8J'),'ua':$['UA'],'t':!![]},ii1i11=await Ii1l1l['getH5st'](ll11II),i11l1=iillI1[i1lII(0x2e9,'GbUZ')],IlllI=''+ii1i11[i1lII(0x41b,'hvo^')];break;case iillI1[i1lII(0x2bb,'bX*!')]:ll11II={'appId':iillI1['KLxmd'],'functionId':iillI1[i1lII(0x317,'WfPj')],'appid':iillI1[i1lII(0x4e4,'^EG$')],'clientVersion':iillI1[i1lII(0x503,'GbUZ')],'client':iillI1[i1lII(0x4c5,'6y)6')],'body':{'linkId':i1liI,'inviter':''},'version':'4.3','ua':$['UA'],'t':!![]},ii1i11=await Ii1l1l['getH5st'](ll11II),i11l1=iillI1[i1lII(0x521,'cr2R')],IlllI=''+ii1i11[i1lII(0x2a3,'l]SH')];break;case iillI1[i1lII(0x2cd,'$A8J')]:ll11II={'appId':iillI1[i1lII(0x1f9,'Bts%')],'functionId':iillI1[i1lII(0x236,'d0sC')],'appid':iillI1['PWSdG'],'clientVersion':iillI1['GLHli'],'client':iillI1[i1lII(0x3c7,'LfaI')],'body':{'linkId':i1liI},'version':'4.3','ua':$['UA'],'t':!![]},ii1i11=await Ii1l1l['getH5st'](ll11II),i11l1=iillI1['HJdeI'],IlllI=''+ii1i11['params'];break;default:console[i1lII(0x48e,'cr2R')](i1lII(0x32e,'EUj%')+ilI1II);return;}const liIlII={'url':i11l1,'headers':{'Accept':i1lII(0x468,'Bts%'),'Accept-Encoding':iillI1['TTRce'],'Accept-Language':i1lII(0x47b,'#z13'),'Connection':iillI1['VjiRO'],'Content-Type':iillI1[i1lII(0x385,'GbUZ')],'Cookie':l1lilI,'Referer':iillI1[i1lII(0x3f3,'8KQb')],'X-Referer-Page':i1lII(0x3b7,'Bts%'),'Origin':iillI1[i1lII(0x23f,'bX*!')],'x-rp-client':iillI1['xTQAc'],'User-Agent':$['UA']},'body':IlllI,'timeout':0x3a98};iillI1[i1lII(0x4ef,'RcBE')](iliIl,iillI1[i1lII(0x464,'J4@j')])&&(delete liIlII[i1lII(0x440,'J4@j')],delete liIlII['headers'][iillI1[i1lII(0x476,'G(6G')]]);const Il1I=0x1;let iii1i=0x0,iii1l=null,iliIi=![];while(iii1i{const iII111=i1lII;Illli[iII111(0x41f,'bX*!')](iii1l1,{'err':liIlIi,'res':liIlIl,'data':I1lI1l});});}else{const i11ii=JSON[i1lII(0x416,'J4@j')](IiIi1I);l1lil1(ilI1II,i11ii);break;}}catch(lIiIi){iii1l='❌\x20'+ilI1II+i1lII(0x31b,'!rS(')+lIiIi[i1lII(0x309,'YE[)')],console['log'](i1lII(0x3eb,'fHf)')+ilI1II+i1lII(0x291,'yqk%')+iillI1[i1lII(0x35e,'4[$g')](String,IiIi1I||iillI1['IgkHq'])),ii1i1i&&(console[i1lII(0x3e3,'7E!5')](iillI1[i1lII(0x2a7,'!rS(')]),console['log'](iillI1[i1lII(0x2a8,'EUj%')])),iii1i++;}iliIi=![];}if(iilIIi&&iiiI11){if(IIlI1i){if($['hotproxy']){const Il1i=i1lII(0x3fa,'GbUZ')['split']('|');let lIiIl=0x0;while(!![]){switch(Il1i[lIiIl++]){case'0':console[i1lII(0x4d8,'f8wd')](iillI1[i1lII(0x2bd,'fHf)')]+iiiI1l);continue;case'1':global['GLOBAL_AGENT'][i1lII(0x41e,'qd(L')]=iillI1['WvvOE'](iillI1[i1lII(0x388,'bX*!')],iiiI1l);continue;case'2':$[i1lII(0x391,'9OFb')]=![];continue;case'3':Ili1Ii=0x0;continue;case'4':await iillI1[i1lII(0x425,'6y)6')](I1iIi);continue;}break;}}Ili1Ii++;}}}iillI1[i1lII(0x238,'!rS(')](iii1i,Il1I)&&(console[i1lII(0x25f,'imzl')](iii1l),iliIi&&($[i1lII(0x4df,'Bts%')]=!![],$[i1lII(0x4d5,'l]SH')]&&$['message'][i1lII(0x319,'!rS(')](iii1l)));}async function I1iIl(iiil1l,Il1l=i1IiIl(0x38c,'l]SH')){const Ili1ii=i1IiIl,ll11I1={'zClwo':function(Illll,iiil1i,ilIIli){return Illll(iiil1i,ilIIli);},'qAtYt':function(ilIIll,iIliil){return ilIIll==iIliil;},'fAqis':Ili1ii(0x36d,'YE[)'),'RtjIB':function(IIiill,liIIii){return IIiill!==liIIii;},'WYaRI':Ili1ii(0x4e9,'4[$g'),'HYhgI':function(Iii1lI,I1liii){return Iii1lI(I1liii);},'NxPWY':Ili1ii(0x351,'B(y@'),'CMDJJ':Ili1ii(0x3c2,'5HJ%'),'Xkzir':function(liiiIi,l1I11I){return liiiIi===l1I11I;},'MnJBv':Ili1ii(0x492,'$A8J'),'QQlfs':function(I1liil,IliIi1){return I1liil!==IliIi1;},'LXbVj':Ili1ii(0x49b,'WfPj'),'WYfRb':Ili1ii(0x407,'f8wd')};if(Il1l===ll11I1[Ili1ii(0x3be,'imzl')]){if(ll11I1[Ili1ii(0x4b6,'(&V0')]===ll11I1[Ili1ii(0x489,'l]SH')])return new Promise(async Iii1ll=>{const liiiIl={'dQNIo':function(liIIiI,Iii1li){return liIIiI(Iii1li);}};ll11I1['zClwo'](setTimeout,()=>{$['post'](iiil1l,(iIl1l,iIl1i,i11i1)=>{const lIiIil=iii1II;liiiIl[lIiIil(0x3cb,'$A8J')](Iii1ll,{'err':iIl1l,'res':iIl1i,'data':i11i1});});},0x0);});else llIlil[Ili1ii(0x1f0,'H!lv')]('❓'+IIlil+'\x20'+ilI1lI[Ili1ii(0x4fa,'qd(L')](IiiIll));}else{if(ll11I1[Ili1ii(0x396,'FL%U')](Il1l,ll11I1[Ili1ii(0x1f7,'cr2R')])){if(ll11I1[Ili1ii(0x2fc,'bX*!')](ll11I1[Ili1ii(0x2e6,'(&V0')],ll11I1['LXbVj']))try{if(ll11I1[Ili1ii(0x472,'LfaI')](typeof liI1ll[Ili1ii(0x4c4,'$A8J')](ll1II),ll11I1[Ili1ii(0x3b8,'$A8J')]))return!![];}catch(l1I11l){return IllIil[Ili1ii(0x4f1,'P%d&')](l1I11l),ill1Ii['log'](Ili1ii(0x23d,'qd(L')),![];}else return new Promise(async iIliii=>{const IlII=Ili1ii,l1I11i={'fIvbb':function(iIlii1,IIiil1){const llIiii=iii1II;return ll11I1[llIiii(0x44e,'USuI')](iIlii1,IIiil1);},'UFXNV':ll11I1[IlII(0x4a1,'l]SH')],'dpiUT':'IyKLj','MLCQW':function(l1IlII,ii1i){return ll11I1['HYhgI'](l1IlII,ii1i);}};setTimeout(()=>{const IiIili=IlII;$[IiIili(0x403,'5HJ%')](iiil1l,(ilIIl1,ii1l,iIl1I)=>{const llIiil=IiIili;l1I11i['fIvbb'](l1I11i['UFXNV'],l1I11i[llIiil(0x2d7,'7E!5')])?l1I11i[llIiil(0x27e,'p9TB')](iIliii,{'err':ilIIl1,'res':ii1l,'data':iIl1I}):llIlll['log'](llIiil(0x220,'J4@j')+lliii1[llIiil(0x3af,'0E1(')]+'-'+Iiii1[llIiil(0x284,'7E!5')]?.[llIiil(0x4fc,'9OFb')]+'}');});},0x0);});}else{const liIIlI=ll11I1[Ili1ii(0x321,'Wwz@')];return{'err':liIIlI,'res':null,'data':null};}}}async function IilII(IliIil){const IlIi11=i1IiIl,iliiIi={'jylZu':IlIi11(0x202,'imzl'),'TwTVw':function(i11Ill){return i11Ill();},'rPFjk':function(iliiIl,IliIii){return iliiIl!==IliIii;},'ZeOia':IlIi11(0x2a1,'tKm#'),'WmuWG':function(liIIl1,iIliiI,IIiilI,I1lii1,ilIIlI,liiiI1){return liIIl1(iIliiI,IIiilI,I1lii1,ilIIlI,liiiI1);},'uVHpa':IlIi11(0x234,'fHf)'),'AcxTp':'wojSh','NhcDp':IlIi11(0x35c,'USuI'),'sTWdV':function(iIl11){return iIl11();},'pbcgo':IlIi11(0x3ab,'YE[)'),'tMPev':IlIi11(0x362,'bX*!'),'fMijl':IlIi11(0x372,'G(6G'),'VgOtf':IlIi11(0x2b9,'0E1('),'rjSEM':IlIi11(0x21d,'d0sC'),'SKARO':IlIi11(0x474,'8KQb'),'mZdIK':'gzip,\x20deflate,\x20br','emeHb':IlIi11(0x313,'$A8J'),'RTtwP':IlIi11(0x28e,'WfPj')};return new Promise(async ii1I=>{const l1ll1l=IlIi11,i11Ili={'xhjNO':iliiIi[l1ll1l(0x4d7,'jQZo')],'HpHjd':function(liIIil){const III1iI=l1ll1l;return iliiIi[III1iI(0x2f5,'fHf)')](liIIil);},'WduLk':function(liI1,IliIiI){return liI1+IliIiI;},'PcmWb':function(liiiII,IIiili){const iIIlIl=l1ll1l;return iliiIi[iIIlIl(0x368,'LfaI')](liiiII,IIiili);},'FwgIz':iliiIi[l1ll1l(0x43a,'P%d&')],'faJcy':function(IIiiiI,lIi1l1){return IIiiiI==lIi1l1;},'LRiLV':'amount','gHkhS':function(i11IlI,Ii1I1,i11Il1,IIIlli,illii1,Iii1i1){const iIIlIi=l1ll1l;return iliiIi[iIIlIi(0x505,'tKm#')](i11IlI,Ii1I1,i11Il1,IIIlli,illii1,Iii1i1);},'VKIWf':iliiIi[l1ll1l(0x204,'f8wd')],'IVyTx':function(IIIlll,llli1I,IlilI1){return IIIlll(llli1I,IlilI1);},'JXyYP':function(iIIIi,Il1iII){return iIIIi!==Il1iII;},'aUNeI':iliiIi['AcxTp'],'DpVTo':function(Iii1iI,lIi1lI){return Iii1iI===lIi1lI;},'xBFFG':l1ll1l(0x4bf,'yqk%'),'erEyI':iliiIi[l1ll1l(0x4b5,'f8wd')],'goEVb':function(IIiiil){const iilIll=l1ll1l;return iliiIi[iilIll(0x43d,'6y)6')](IIiiil);}},liII={'appId':iliiIi['pbcgo'],'functionId':iliiIi[l1ll1l(0x448,'*SP7')],'appid':iliiIi['fMijl'],'clientVersion':l1ll1l(0x228,'g1Nh'),'client':iliiIi[l1ll1l(0x233,'9OFb')],'body':{'pageNum':$[l1ll1l(0x3d6,'9OFb')],'pageSize':0x64,'linkId':i1liI,'business':iliiIi[l1ll1l(0x3a7,'^EG$')]},'version':'4.3','ua':$['UA'],'t':!![]},l1IlI1=await Ii1l1l[l1ll1l(0x515,'8KQb')](liII);let ii11={'url':l1ll1l(0x36e,'^EG$'),'body':''+l1IlI1[l1ll1l(0x275,'P%d&')],'headers':{'Accept':iliiIi['SKARO'],'Accept-Encoding':iliiIi[l1ll1l(0x443,'f8wd')],'Accept-Language':l1ll1l(0x49e,'8KQb'),'Connection':l1ll1l(0x36c,'$A8J'),'Content-Type':iliiIi['emeHb'],'Cookie':l1lilI,'Referer':l1ll1l(0x3ba,'LfaI'),'X-Referer-Page':l1ll1l(0x3b7,'Bts%'),'Origin':iliiIi[l1ll1l(0x21a,'H!lv')],'x-rp-client':l1ll1l(0x26c,'FL%U'),'User-Agent':$['UA']},'timeout':0x1e*0x3e8};$[l1ll1l(0x265,'&oj#')](ii11,async(iIIIl,IIiiii,liIIll)=>{const iilIli=l1ll1l;try{if(iIIIl)console[iilIli(0x4f1,'P%d&')](i11Ili[iilIli(0x280,'FTxq')]('',JSON[iilIli(0x510,'Pe#i')](iIIIl)));else{if(i11Ili[iilIli(0x25c,'6y)6')](iilIli(0x496,'d0sC'),i11Ili['FwgIz'])){liIIll=JSON[iilIli(0x21c,'(&V0')](liIIll);if(liIIll){if(i11Ili['faJcy'](liIIll['code'],0x0)&&i11Ili[iilIli(0x436,'H!lv')](liIIll[iilIli(0x423,'YE[)')],!![])){const l1IlIi=(liIIll[iilIli(0x467,'(&V0')][iilIli(0x268,'Pe#i')]||[])['filter'](l1IlIl=>l1IlIl[iilIli(0x312,'J4@j')]===0x4&&l1IlIl[iilIli(0x32c,'8KQb')]===0x0||l1IlIl['state']===0x2);for(let liIIli of l1IlIi){console[iilIli(0x256,'WfPj')](iilIli(0x42f,'WfPj')+liIIli[i11Ili[iilIli(0x212,'6y)6')]]+']现金'),await i11Ili['gHkhS'](ili1l,liIIli['id'],liIIli[iilIli(0x519,'USuI')],liIIli[iilIli(0x333,'hvo^')],liIIli[i11Ili[iilIli(0x3cd,'FTxq')]],0x0),await $[iilIli(0x235,'4[$g')](i11Ili['IVyTx'](parseInt,Ii1l1I*0x1+0xbb8,0xa));if($[iilIli(0x433,'yqk%')]){if(i11Ili[iilIli(0x4c8,'#z13')](iilIli(0x201,'0E1('),'hVeQn')){console['log']('抽现金抽奖提现失败,'+$['apCashWithDrawmessage']);break;}else!i1iii&&(IIii1I[iilIli(0x1fa,'Bts%')]=!![]);}}}else i11Ili[iilIli(0x398,'6y)6')](i11Ili[iilIli(0x21b,'g1Nh')],i11Ili[iilIli(0x222,'G(6G')])?(il1il[iilIli(0x24f,'EUj%')](''+Il1i1i[iilIli(0x510,'Pe#i')](iIIili)),Ii1iiI[iilIli(0x431,'#z13')](Ilil1I[iilIli(0x49d,'f8wd')]+iilIli(0x51b,'(&V0'))):console[iilIli(0x4f1,'P%d&')](iilIli(0x4f6,'4[$g')+JSON[iilIli(0x39e,'Bts%')](liIIll));}}else lI1Ili[iilIli(0x39c,'(&V0')]('\x0a⏺️\x20当前设置不进行提现!');}}catch(Ili11l){i11Ili['DpVTo'](i11Ili[iilIli(0x490,'*SP7')],i11Ili['xBFFG'])?$[iilIli(0x4fd,'9OFb')](Ili11l,IIiiii):(I1il1l[iilIli(0x3ce,'IX$P')](''+lI1l1l[iilIli(0x393,'9OFb')](IIliII)),iiliI[iilIli(0x390,'p9TB')](Ill11I['name']+iilIli(0x3a3,'g1Nh')));}finally{if(iilIli(0x246,'qd(L')===i11Ili[iilIli(0x251,'LfaI')])try{let i11Iil=/((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})(\.((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})){3}:[1-9]\d*/g,i11Iii=i11Iil['exec'](ii1Ii[iilIli(0x33f,'g1Nh')]);ii1Il=i11Iii[0x0],l1iII['GLOBAL_AGENT'][iilIli(0x3ea,'7E!5')]=i11Ili['xhjNO']+iI1Ill;}catch(Ili11i){}finally{i11Ili['HpHjd'](lilI1);}else i11Ili['goEVb'](ii1I);}});});}async function ili1l(Il1iI1,IIIllI,Ill1Ii,Ill1Il,iIIII){const IlIi1I=i1IiIl,Il1iIi={'KrihJ':IlIi1I(0x3ec,'!rS('),'NTIHA':IlIi1I(0x273,'$A8J'),'Arvzj':function(Ii1Il,Iii1ii){return Ii1Il{const llIiiI=IlIi1I,i11Ii1={'ZKkEg':Il1iIi['KrihJ'],'DXzyI':Il1iIi['NTIHA'],'KJvhE':function(lIilIi,iIiiIl){const i111I=iii1II;return Il1iIi[i111I(0x3c4,'$A8J')](lIilIi,iIiiIl);},'gJojV':'\x0a---------------------------------------------------\x0a','UKUfj':function(lIilIl,iIiiIi){return Il1iIi['gZtuO'](lIilIl,iIiiIi);},'Purna':Il1iIi['kEroa'],'gDGcC':Il1iIi[llIiiI(0x2b5,'f8wd')],'PSDSd':Il1iIi['ivazi'],'OhNjK':Il1iIi[llIiiI(0x4e2,'*SP7')],'epHKj':Il1iIi['DgDqV'],'ZptZF':'其它pin的订单','tYPdd':Il1iIi[llIiiI(0x2b1,'GbUZ')],'kWruY':llIiiI(0x445,'fHf)'),'actjK':Il1iIi[llIiiI(0x342,'d0sC')],'kkgXI':Il1iIi[llIiiI(0x488,'LfaI')],'QrcRk':function(ilIlii,liliI1){return ilIlii!==liliI1;},'CAVDj':Il1iIi[llIiiI(0x4ae,'f8wd')],'DuKLX':function(II1lI,ilIlil,Ii1IiI){return Il1iIi['Ystra'](II1lI,ilIlil,Ii1IiI);},'GsHtq':function(IIll11,ll1lIl){const IiIilI=llIiiI;return Il1iIi[IiIilI(0x281,'USuI')](IIll11,ll1lIl);},'ZyICZ':function(I1IIl1,l1I1l1,ll1lIi,lIi1i,iIIIil,Ii1Ii1){const lIiIl1=llIiiI;return Il1iIi[lIiIl1(0x3f0,'l]SH')](I1IIl1,l1I1l1,ll1lIi,lIi1i,iIIIil,Ii1Ii1);},'RJKAn':Il1iIi[llIiiI(0x491,'P%d&')],'dDeCn':Il1iIi[llIiiI(0x4f2,'6y)6')],'Nuljj':Il1iIi[llIiiI(0x2b7,'WfPj')],'vBEmh':function(IIll1I,liii1I){return Il1iIi['ezCVR'](IIll1I,liii1I);},'lsrRU':Il1iIi[llIiiI(0x404,'!rS(')],'bdZls':'HCvYD','vtrjz':function(lI1iIi,lIi1l){const iilIl1=llIiiI;return Il1iIi[iilIl1(0x203,'EUj%')](lI1iIi,lIi1l);}};if(Il1iIi[llIiiI(0x338,'qd(L')](llIiiI(0x466,'6y)6'),Il1iIi[llIiiI(0x1f6,'^EG$')]))iIIl11[llIiiI(0x431,'#z13')](l1l1I1['message']);else{const li11ii={'appId':llIiiI(0x214,'yqk%'),'functionId':Il1iIi[llIiiI(0x24c,'l]SH')],'appid':Il1iIi[llIiiI(0x386,'jQZo')],'clientVersion':llIiiI(0x381,'jQZo'),'client':llIiiI(0x3dc,'4[$g'),'body':{'linkId':i1liI,'businessSource':Il1iIi['pLmCd'],'base':{'prizeType':0x4,'business':Il1iIi[llIiiI(0x46b,'CKS*')],'id':Il1iI1,'poolBaseId':IIIllI,'prizeGroupId':Ill1Ii,'prizeBaseId':Ill1Il}},'version':Il1iIi[llIiiI(0x444,'p9TB')],'ua':$['UA'],'t':!![]},I1iiIi=await Ii1l1l[llIiiI(0x51a,'bX*!')](li11ii);let li1i1={'url':'https://api.m.jd.com/api','body':''+I1iiIi[llIiiI(0x4dc,'B(y@')],'headers':{'Accept':Il1iIi[llIiiI(0x49f,'(&V0')],'Accept-Encoding':Il1iIi[llIiiI(0x494,'P%d&')],'Accept-Language':Il1iIi['RIeaM'],'Connection':'keep-alive','Content-Type':Il1iIi['yTjYx'],'Cookie':l1lilI,'Referer':Il1iIi[llIiiI(0x364,'P%d&')],'X-Referer-Page':Il1iIi[llIiiI(0x434,'5HJ%')],'Origin':llIiiI(0x28e,'WfPj'),'x-rp-client':Il1iIi[llIiiI(0x3d3,'jQZo')],'User-Agent':$['UA']},'timeout':Il1iIi[llIiiI(0x4ee,'jQZo')](0x1e,0x3e8)};$[llIiiI(0x2e0,'0E1(')](li1i1,async(I1iiIl,liliII,lI1iIl)=>{const III1i1=llIiiI,iIiiII={'WJHTJ':function(ilIll1,I1IIil){return ilIll1==I1IIil;},'CDpGJ':function(I1IIii,iIIIlI){const l1II1=iii1II;return i11Ii1[l1II1(0x47a,'FL%U')](I1IIii,iIIIlI);},'iGecN':function(li11i1,II1l1){return li11i1(II1l1);},'YAurD':i11Ii1[III1i1(0x455,'#z13')]};if(i11Ii1[III1i1(0x1fc,'f8wd')](III1i1(0x50e,'WfPj'),i11Ii1['Purna']))try{if(I1iiIl)console[III1i1(0x2d2,'LfaI')](''+JSON['stringify'](I1iiIl)),console[III1i1(0x48e,'cr2R')]($[III1i1(0x422,'d0sC')]+III1i1(0x330,'pQ7M'));else{if(liI1Il(lI1iIl)){lI1iIl=$[III1i1(0x4f8,'pQ7M')](lI1iIl);if(i11Ii1[III1i1(0x2f1,'4[$g')](lI1iIl?.[III1i1(0x495,'#z13')],0x0)){if(i11Ii1[III1i1(0x3bd,'^EG$')]!==i11Ii1[III1i1(0x25d,'*SP7')])l1i11I['log']('\x0a⚠️\x20当前检测到已开启代理,但未填写代理地址变量'),II11II[III1i1(0x2c3,'RcBE')](i11Ii1['ZKkEg']),Ii1iI1[III1i1(0x245,'$A8J')](i11Ii1[III1i1(0x4a9,'IX$P')]);else{if(lI1iIl?.[III1i1(0x4ca,'jQZo')]?.[III1i1(0x205,'(&V0')]===i11Ii1['PSDSd'])i11Ii1[III1i1(0x294,'IX$P')]===i11Ii1['epHKj']?(I1l1Il[III1i1(0x2c1,'USuI')]=!![],llIll1[III1i1(0x3e9,'5HJ%')](III1i1(0x220,'J4@j')+Illl1l[III1i1(0x3b0,'B(y@')]+'-'+Illl1i['errMsg'])):console['log'](III1i1(0x397,'$A8J')+lI1iIl?.['data']?.['record']?.[III1i1(0x279,'RcBE')]+III1i1(0x3f9,'fHf)'));else{$[III1i1(0x406,'hvo^')]=lI1iIl?.[III1i1(0x38d,'H!lv')]?.[III1i1(0x309,'YE[)')],console['log'](III1i1(0x261,'qd(L')+$[III1i1(0x493,'0E1(')]);if($[III1i1(0x493,'0E1(')][III1i1(0x3e1,'!rS(')]('上限')||$[III1i1(0x366,'l]SH')][III1i1(0x2db,'#z13')](i11Ii1[III1i1(0x421,'p6e)')]))i11Ii1[III1i1(0x25b,'g1Nh')]===III1i1(0x2c6,'p9TB')?IIlI1l?i11Ii1[III1i1(0x42d,'G(6G')]!==i11Ii1['actjK']?await i1lii(Il1iI1,IIIllI,Ill1Ii,Ill1Il):(IllI1l[III1i1(0x487,'!rS(')](III1i1(0x315,'Pe#i')),i11I1i[III1i1(0x3e0,'8KQb')]=!![]):!l1lIi&&($[III1i1(0x3fb,'IX$P')]=!![]):IiiIiI['log'](III1i1(0x326,'$A8J')+lilii['inviteFissionReceive']?.[III1i1(0x2a6,'Bts%')]+III1i1(0x266,'P%d&'));else{if($[III1i1(0x26a,'p6e)')]['includes'](i11Ii1['kkgXI']))i11Ii1[III1i1(0x4b2,'B(y@')]('TGWPO','TGWPO')?IIlI1['log']('兑换红包成功'):iIIII{const I1IlIl=IlI1;if(li11l1[I1IlIl(0x2ef,'Pe#i')](I1IlIl(0x32d,'yqk%'),li11l1['zhiLN']))IIII11[I1IlIl(0x1f0,'H!lv')](I1IlIl(0x20a,'g1Nh')),i1illi[I1IlIl(0x487,'!rS(')]('\x0a安装命令:npm\x20install\x20global-agent\x0a'),i1illl=![];else{const iIIIiI={'appId':li11l1[I1IlIl(0x223,'YE[)')],'functionId':li11l1[I1IlIl(0x4e7,'9OFb')],'appid':li11l1[I1IlIl(0x500,'d0sC')],'clientVersion':li11l1[I1IlIl(0x2d5,'f8wd')],'client':li11l1['NEXrX'],'body':{'linkId':i1liI,'businessSource':li11l1[I1IlIl(0x4de,'USuI')],'business':li11l1[I1IlIl(0x40b,'imzl')],'drawRecordId':liliIi,'poolId':i1Ili,'prizeGroupId':I1iiI1,'prizeId':lIiIi1},'version':li11l1[I1IlIl(0x4ab,'Pe#i')],'ua':$['UA'],'t':!![]},li1iI=await Ii1l1l[I1IlIl(0x230,'RcBE')](iIIIiI);let I1IIi1={'url':I1IlIl(0x38a,'hvo^'),'body':''+li1iI['params'],'headers':{'Accept':li11l1[I1IlIl(0x249,'Pe#i')],'Accept-Encoding':li11l1['ceeVF'],'Accept-Language':li11l1['yQrVo'],'Connection':li11l1[I1IlIl(0x428,'tKm#')],'Content-Type':'application/x-www-form-urlencoded','Cookie':l1lilI,'Referer':li11l1[I1IlIl(0x4bd,'8KQb')],'X-Referer-Page':I1IlIl(0x20e,'yqk%'),'Origin':I1IlIl(0x221,'FTxq'),'x-rp-client':I1IlIl(0x4a3,'(&V0'),'User-Agent':$['UA']},'timeout':li11l1[I1IlIl(0x244,'Pe#i')](0x1e,0x3e8)};$[I1IlIl(0x2f4,'CKS*')](I1IIi1,async(ll1lI1,II1ll,liii11)=>{const I1IlIi=I1IlIl,lIiIii={'wltEF':function(i1Ill,Il1I11){return i1Ill+Il1I11;},'euYbZ':'☑️\x20代理地址为:','DkYRJ':function(lIl1II,Ii1Ili){const l1I1i1=iii1II;return li11l1[l1I1i1(0x392,'qd(L')](lIl1II,Ii1Ili);},'TckEf':function(IIiI11,Ii1Ill){return li11l1['eAbaZ'](IIiI11,Ii1Ill);}};try{li11l1[I1IlIi(0x371,'!rS(')](li11l1[I1IlIi(0x4f7,'imzl')],li11l1[I1IlIi(0x4b4,'B(y@')])?(Iliiii[I1IlIi(0x4cf,'H!lv')][I1IlIi(0x50f,'!rS(')]=i1illI,i1IIl[I1IlIi(0x395,'p6e)')][I1IlIi(0x23a,'tKm#')]=''+I1lll1,i1IIi[I1IlIi(0x482,'fHf)')]('\x0a☑️\x20代理池代理已开启:'),IIII1I[I1IlIi(0x2d2,'LfaI')](lIiIii['wltEF'](lIiIii[I1IlIi(0x2a5,'5HJ%')]+Iii111[I1IlIi(0x218,'qd(L')][I1IlIi(0x512,'$C(H')],'\x0a'))):ll1lI1?li11l1[I1IlIi(0x3b5,'yqk%')](li11l1[I1IlIi(0x2a2,'^EG$')],li11l1[I1IlIi(0x485,'d0sC')])?(console[I1IlIi(0x48e,'cr2R')](''+JSON[I1IlIi(0x331,'J4@j')](ll1lI1)),console[I1IlIi(0x259,'CKS*')]($[I1IlIi(0x46f,'G(6G')]+'\x20API请求失败,请检查网路重试')):(lI1liI=i1i1Ii+I1IlIi(0x4cb,'f8wd')+lllii+')',iI11Ii['hotproxy']=!![],iIII1l=!![]):liI1Il(liii11)&&(liii11=$[I1IlIi(0x27f,'IX$P')](liii11),li11l1[I1IlIi(0x2fa,'(&V0')](liii11[I1IlIi(0x2f9,'LfaI')],0x0)?li11l1[I1IlIi(0x4e3,'WfPj')](li11l1[I1IlIi(0x504,'YE[)')],li11l1['iSGKi'])?ll1ll[I1IlIi(0x256,'WfPj')](I1IlIi(0x3fe,'d0sC')):console[I1IlIi(0x3d5,'$C(H')]('兑换红包成功'):li11l1[I1IlIi(0x520,'5HJ%')](I1IlIi(0x323,'Wwz@'),li11l1[I1IlIi(0x318,'jQZo')])?(iil1l1['hotproxy']=!![],lllli=iiili1+I1IlIi(0x344,'GbUZ')+(ill11i[I1IlIi(0x37c,'4[$g')]||lllill)):console['log']('兑换红包失败:'+liii11[I1IlIi(0x4be,'J4@j')]));}catch(iliiiI){if(li11l1['dCmnU'](li11l1[I1IlIi(0x352,'hvo^')],li11l1[I1IlIi(0x357,'FL%U')])){var i1Iil=lIiIii[I1IlIi(0x276,'P%d&')](i1llii,l1i1I1);return!lIiIii[I1IlIi(0x484,'&oj#')](llIIil,llIIii(i1Iil))&&(i1Iil=i1Iil[I1IlIi(0x30f,'5HJ%')](0x2)),i1Iil;}else $[I1IlIi(0x22f,'p6e)')](iliiiI,II1ll);}finally{li11l1[I1IlIi(0x26f,'YE[)')](ll1lII,liii11);}});}});}function iilIII(lIi11i){const l1ll1i=i1IiIl,i1Iii={'ySVkS':function(lIi11l,i1IlI){return lIi11l(i1IlI);}};var IIiI1I=Number(lIi11i);return!i1Iii[l1ll1i(0x4c1,'jQZo')](isNaN,i1Iii['ySVkS'](parseFloat,IIiI1I))&&(IIiI1I=IIiI1I[l1ll1i(0x394,'cr2R')](0x2)),IIiI1I;}function liI1Il(lIl1Ii){const IiIil1=i1IiIl,lIl1Il={'ziquS':function(Ii1IlI,Il1I1I){return Ii1IlI==Il1I1I;},'KFzaL':'object'};try{if(lIl1Il[IiIil1(0x264,'!rS(')](typeof JSON[IiIil1(0x44c,'RcBE')](lIl1Ii),lIl1Il['KFzaL']))return!![];}catch(ll1Il1){return console['log'](ll1Il1),console[IiIil1(0x3bc,'tKm#')](IiIil1(0x417,'Pe#i')),![];}}function I1iIi(){const i111l=i1IiIl,li11li={'TdctO':function(iliiii,IIlIIi){return iliiii==IIlIIi;},'BhxXj':function(iliiil,li11ll,i1Il1){return iliiil(li11ll,i1Il1);},'mcgZJ':function(li1l1,IIiI1l){return li1l1===IIiI1l;},'bLhlE':i111l(0x4cc,'Bts%'),'elzfh':function(IIiI1i,ilIllI){return IIiI1i+ilIllI;},'IfYXl':i111l(0x3f5,'YE[)')};return new Promise(async I1IIli=>{const i111i=i111l,Il1I1i={'avwYv':function(lIilI1,Il1I1l){const lIiIlI=iii1II;return li11li[lIiIlI(0x24a,'J4@j')](lIilI1,Il1I1l);},'eIHyB':function(Ii1Il1,iIIIli,I1IIll){const iilIlI=iii1II;return li11li[iilIlI(0x2c9,'l]SH')](Ii1Il1,iIIIli,I1IIll);},'WmyRU':function(i1Ii1,lIilII){return i1Ii1===lIilII;},'YrlcB':'frMMO','yFHMr':function(ilIlli,I1IIlI){return li11li['mcgZJ'](ilIlli,I1IIlI);},'aJpqW':li11li[i111i(0x446,'l]SH')],'hDqEO':function(ilIlll,Ii1Iii){return li11li['elzfh'](ilIlll,Ii1Iii);},'lgDjw':li11li[i111i(0x376,'&oj#')],'wfjRW':function(Ii1Iil){return Ii1Iil();}};$[i111i(0x299,'yqk%')]({'url':IIlI1i,'timeout':{'request':0x1388}},(ll1IiI,li1li)=>{const lIlli1=i111i,iIIIll={'UQGio':function(ll1Ii1,li1ll){return ll1Ii1(li1ll);}};if(Il1I1i[lIlli1(0x46e,'9OFb')](Il1I1i[lIlli1(0x419,'^EG$')],'frMMO')){if(li1li){if(Il1I1i['yFHMr'](Il1I1i[lIlli1(0x4f9,'Wwz@')],lIlli1(0x44f,'(&V0')))llI111(i1iIiI)&&(lIIiIl=iI1Iil[lIlli1(0x262,'P%d&')](il1iI),Il1I1i[lIlli1(0x4f0,'FTxq')](i1iIii[lIlli1(0x4e1,'P%d&')],0x0)?llIlIl[lIlli1(0x48e,'cr2R')]('兑换红包成功'):II11I[lIlli1(0x243,'0E1(')](lIlli1(0x3df,'yqk%')+il1i1['errMsg']));else try{if('antZD'===lIlli1(0x2f0,'5HJ%'))Il1I1i[lIlli1(0x29a,'fHf)')](Iil1ll,()=>{const llIii1=lIlli1,lIllil={'JcEnN':function(iilIi1,I111){return iIIIll['UQGio'](iilIi1,I111);}};IllIiI[llIii1(0x46d,'EUj%')](i1il1,(I1I11l,I1I11i,l1iI1l)=>{const I1IlII=llIii1;lIllil[I1IlII(0x2fb,'GbUZ')](IIii1l,{'err':I1I11l,'res':I1I11i,'data':l1iI1l});});},0x0);else{let III1ll=/((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})(\.((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})){3}:[1-9]\d*/g,l1lIIi=III1ll['exec'](li1li[lIlli1(0x440,'J4@j')]);iiiI1l=l1lIIi[0x0],global[lIlli1(0x303,'4[$g')][lIlli1(0x44a,'YE[)')]=Il1I1i['hDqEO'](Il1I1i[lIlli1(0x499,'6y)6')],iiiI1l);}}catch(iII11I){}finally{Il1I1i['wfjRW'](I1IIli);}}}else i1ilIi[lIlli1(0x3bc,'tKm#')](lIlli1(0x2e5,'Wwz@')+lill1l['stringify'](l1l1i1));});});}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) }