faker3/jd_zqydj.js
2024-06-28 15:38:28 +08:00

22 lines
60 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
攒券赢大奖任务
cron "25 4,16 * * *" script-path=jd_zqydj.js, tag=攒券赢大奖任务
首页 右下角图标 赌运气,中奖会收到短信
一般是晚上 8点开奖
每期活动 id都会变动
远程数据随缘更新 所以需要玩的请自行抓取
变量:
jd_zqydj_id // 格式为 PbB1EhPXQd8FpIo3tu_dhg@2273 2个参数用@链接
*/
const $ = new Env('攒券赢大奖任务');
var version_='jsjiami.com.v7';const illi11Il=ii111llI;(function(lllIIlIl,iIi11ili,IIlil1I,iI1ilIll,iIllIlIl,iilIllil,Iii11iIl){return lllIIlIl=lllIIlIl>>0x2,iilIllil='hs',Iii11iIl='hs',function(I1i11il1,l111IilI,IIIiIliI,IIiliIii,iIlli11I){const I1Iili=ii111llI;IIiliIii='tfi',iilIllil=IIiliIii+iilIllil,iIlli11I='up',Iii11iIl+=iIlli11I,iilIllil=IIIiIliI(iilIllil),Iii11iIl=IIIiIliI(Iii11iIl),IIIiIliI=0x0;const l11I11I1=I1i11il1();while(!![]&&--iI1ilIll+l111IilI){try{IIiliIii=-parseInt(I1Iili(0x104,'wYk*'))/0x1+parseInt(I1Iili(0x2a2,'2v!7'))/0x2*(-parseInt(I1Iili(0x1e9,'oP8t'))/0x3)+-parseInt(I1Iili(0x98,'@A9s'))/0x4+-parseInt(I1Iili(0xb4,'@A9s'))/0x5*(parseInt(I1Iili(0x16c,'6oqM'))/0x6)+-parseInt(I1Iili(0xca,'$8K1'))/0x7+-parseInt(I1Iili(0x134,'#Y!T'))/0x8+parseInt(I1Iili(0x113,'#Y!T'))/0x9;}catch(illl1II){IIiliIii=IIIiIliI;}finally{iIlli11I=l11I11I1[iilIllil]();if(lllIIlIl<=iI1ilIll)IIIiIliI?iIllIlIl?IIiliIii=iIlli11I:iIllIlIl=iIlli11I:IIIiIliI=iIlli11I;else{if(IIIiIliI==iIllIlIl['replace'](/[KWHUhAxwLVfPnGCkTSY=]/g,'')){if(IIiliIii===l111IilI){l11I11I1['un'+iilIllil](iIlli11I);break;}l11I11I1[Iii11iIl](iIlli11I);}}}}}(IIlil1I,iIi11ili,function(l1IlIl11,Ili11il,IiiiIIlI,I1IIliIi,l1llI,IIi1l,i1l1lI1I){return Ili11il='\x73\x70\x6c\x69\x74',l1IlIl11=arguments[0x0],l1IlIl11=l1IlIl11[Ili11il](''),IiiiIIlI=`\x72\x65\x76\x65\x72\x73\x65`,l1IlIl11=l1IlIl11[IiiiIIlI]('\x76'),I1IIliIi=`\x6a\x6f\x69\x6e`,(0x140847,l1IlIl11[I1IIliIi](''));});}(0x30c,0xa273a,iiiiiIIi,0xc5),iiiiiIIi)&&(version_=iiiiiIIi);const IIiiIlii=$['isNode']()?require(illi11Il(0x23f,'H$TR')):'',lIl1lII1=$[illi11Il(0x183,'6oqM')]()?require(illi11Il(0x116,'oP8t')):'',iiIl1iI1=require(illi11Il(0x246,'$8K1'));let iI1i1l1i=!![],li1ii1i=process[illi11Il(0xba,'I!eF')][illi11Il(0x17a,'NgGD')]?process['env']['jd_zqydj_id']:'',iiillIiI=Date[illi11Il(0x241,'4]da')](),lllI11iI=li1ii1i[illi11Il(0x199,'#Y!T')]('@');linkId=lllI11iI[0x0],taskId=lllI11iI[0x1];let I1I1llI=[],ll11IiIl='',ilil1iil;if($[illi11Il(0x121,'%cx3')]()){Object[illi11Il(0x1c5,'DRc(')](lIl1lII1)[illi11Il(0x143,'I!eF')](Iiii1IIi=>{const llIIlll=illi11Il;I1I1llI[llIIlll(0xc8,'4]da')](lIl1lII1[Iiii1IIi]);});if(process['env'][illi11Il(0xde,'Jsw%')]&&process[illi11Il(0x14f,'@A9s')][illi11Il(0x1a2,'$8K1')]===illi11Il(0x263,'t5YQ'))console['log']=()=>{};}else I1I1llI=[$[illi11Il(0xac,'t5YQ')]('CookieJD'),$[illi11Il(0x29b,'k@qU')]('CookieJD2'),...l1li11il($['getdata'](illi11Il(0x1fa,'tZP#'))||'[]')['map'](I1iiIlIl=>I1iiIlIl['cookie'])][illi11Il(0x150,'jDQC')](IIi1l1l1=>!!IIi1l1l1);!(async()=>{const II1lIl1i=illi11Il,lil1l1il={'LjhdD':'CookieJD','CyeBJ':II1lIl1i(0x2af,'Jsw%'),'VcnFa':function(iI1Ilili,ilI1ii1){return iI1Ilili(ilI1ii1);},'HCose':II1lIl1i(0x146,'I3Q$'),'PtTqf':II1lIl1i(0x234,'$i9P'),'zVdRU':II1lIl1i(0x225,'wYk*'),'KWrDJ':'lotteryPrice','VEsui':II1lIl1i(0x11c,'@aQK'),'tEmeU':'count','qNunH':function(iIllIl11,l1ilI1l1){return iIllIl11!=l1ilI1l1;},'uXOxJ':function(i1Il1i1I,liI1il11){return i1Il1i1I-liI1il11;},'oOwcJ':II1lIl1i(0x265,'I3Q$'),'aTDnr':'https://bean.m.jd.com/bean/signIndex.action','zTjAZ':function(Ilili1i1,Il1I1i1i){return Ilili1i1||Il1I1i1i;},'eOuDx':function(iI11Iil,II1lI1i){return iI11Iil(II1lI1i);},'aqWtc':II1lIl1i(0xb8,'t5YQ'),'xejrI':function(IlIilIi,i1lI1llI,iIlIi111){return IlIilIi(i1lI1llI,iIlIi111);},'aPdmW':II1lIl1i(0x1f8,'NgGD'),'xomoG':function(iIIll1ii,iiI1iIIl){return iIIll1ii!==iiI1iIIl;},'ZdFmd':II1lIl1i(0x16a,'L#%C'),'lffmG':II1lIl1i(0x1d6,'I3Q$'),'YYcPQ':II1lIl1i(0x12a,'gIK*'),'ytuBy':II1lIl1i(0xbd,'p#m^'),'LnGIW':II1lIl1i(0x125,'oP8t'),'jpJIf':function(l1lilIi1,ll1i1lIi,Ii1iill1){return l1lilIi1(ll1i1lIi,Ii1iill1);},'bGtJf':function(lIii1lII,li1IiiIi){return lIii1lII+li1IiiIi;},'DImEc':'当期活动:','WdUYJ':function(l1iIli11,ii1lI1iI){return l1iIli11<ii1lI1iI;},'mElRO':II1lIl1i(0x1a4,'6oqM'),'geFAf':function(i1IiI11l,illIiil1){return i1IiI11l+illIiil1;},'vFZJz':II1lIl1i(0x142,')th0'),'YnSdD':function(i1IlIliI){return i1IlIliI();},'hrwmZ':function(l1lIilli){return l1lIilli();},'ZCWMS':function(liliIII,li1l1lIl){return liliIII*li1l1lIl;}};if(!I1I1llI[0x0]){$[II1lIl1i(0xc4,'&tdb')]($[II1lIl1i(0x110,'cki*')],lil1l1il[II1lIl1i(0xa2,'2v!7')],lil1l1il[II1lIl1i(0x106,'[Dw8')],{'open-url':II1lIl1i(0x1d9,'@A9s')});return;}if(lil1l1il['zTjAZ'](!linkId,!taskId)){$[II1lIl1i(0x261,'q^9]')](II1lIl1i(0x1ef,'(%DV'));return;}authorCodeList=await lil1l1il[II1lIl1i(0x1d8,'p#m^')](IlIl1iII,II1lIl1i(0x288,'&vf[')),newList=await lil1l1il[II1lIl1i(0x135,'2v!7')](IlIl1iII,lil1l1il['aqWtc']);newList?($['newCode']=newList[lil1l1il[II1lIl1i(0x15a,'$8K1')](i11lIII1,0x0,newList[II1lIl1i(0x224,'$8K1')])],console['log']('❖\x20最新变量\x0a'+$['newCode']+'\x0a')):console[II1lIl1i(0x293,'!i]f')](lil1l1il[II1lIl1i(0x27f,')th0')]);if(authorCodeList)lil1l1il['xomoG'](lil1l1il[II1lIl1i(0x1c9,'%cx3')],lil1l1il['ZdFmd'])?iliIllil[II1lIl1i(0xbc,'&vf[')]+=i1lIli1l[II1lIl1i(0x297,'q^9]')]+'-'+il1llIl['desc']+'\x0a':(console[II1lIl1i(0x21c,'Ta*V')](lil1l1il[II1lIl1i(0x2ae,'#7Zl')]),$[II1lIl1i(0xa1,'Ta*V')]=authorCodeList[lil1l1il['xejrI'](i11lIII1,0x0,authorCodeList['length'])]);else{if(lil1l1il[II1lIl1i(0x232,'Ta*V')](II1lIl1i(0x158,'I3Q$'),lil1l1il['YYcPQ'])){let I111iI1I=[II1lIl1i(0x1b3,'ebsk'),II1lIl1i(0x27c,'oP8t'),lil1l1il[II1lIl1i(0xa6,'cki*')],lil1l1il['LnGIW'],II1lIl1i(0x114,'I3Q$')];$[II1lIl1i(0x22a,'[Dw8')]=I111iI1I[lil1l1il[II1lIl1i(0xfe,'QlXo')](i11lIII1,0x0,I111iI1I[II1lIl1i(0x15e,'k@qU')])],console[II1lIl1i(0x262,'ktM$')]('❖\x20准备就绪...\x0a');}else I1li1liI=[iiIl1iiI['getdata'](lil1l1il[II1lIl1i(0x2b7,'L#%C')]),l1liiIli[II1lIl1i(0xb7,'RB!M')](lil1l1il[II1lIl1i(0xd9,'q20t')]),...lil1l1il[II1lIl1i(0x275,'tZP#')](iil1lIl,l1ilil1l['getdata'](lil1l1il[II1lIl1i(0xbf,'UNi8')])||'[]')['map'](i1III1Il=>i1III1Il[II1lIl1i(0xcb,')th0')])][II1lIl1i(0x97,'@aQK')](iIIi1=>!!iIIi1);}$['shareUuid']=$[II1lIl1i(0x253,'p#m^')],console['log'](lil1l1il[II1lIl1i(0x200,'(%DV')](lil1l1il[II1lIl1i(0xf6,'Jsw%')],linkId));for(let iil1I1=0x0;lil1l1il['WdUYJ'](iil1I1,I1I1llI[II1lIl1i(0x217,'ktM$')]);iil1I1++){if(lil1l1il[II1lIl1i(0x133,'@A9s')]!==II1lIl1i(0x90,'RB!M'))iiIlI1I[II1lIl1i(0x268,'wYk*')]=i1Iiiili[i1Ii111][II1lIl1i(0x1b4,'*I7s')],lIiIII1['prizeType']=illi1Ii1[IIIlIill][lil1l1il['PtTqf']],ii1I1l1l[II1lIl1i(0x167,'Ta*V')]=I1iil1I[II1IlIi][lil1l1il[II1lIl1i(0x26f,'Jsw%')]],I1iIliIl['lotteryPrice']=il1111II[IlIii1Il][lil1l1il[II1lIl1i(0xa4,'RB!M')]]||0x0,i1lIIlIl[II1lIl1i(0x1c1,'6N#v')]=li1lI1[iIIillIl][lil1l1il['VEsui']],illlIIiI[II1lIl1i(0x1e2,'UNi8')]=lIl1lli[IllI1Iii][lil1l1il[II1lIl1i(0x2b8,'oP8t')]]||0x0,lil1l1il['qNunH'](liI1iilI,lil1l1il[II1lIl1i(0x1ec,'UNi8')](lilill1l['length'],0x1))?l11Ii1ii[II1lIl1i(0x18e,'@A9s')]+=I1liI11i[II1lIl1i(0x1ab,'$i9P')]+'-'+lI1lIIlI[II1lIl1i(0x1c4,'k@qU')]+II1lIl1i(0x1eb,'[Dw8')+iI1iiIIi['count']+'\x0a':lllI1iii[II1lIl1i(0x1f6,'4]da')]+=iIIl11II['name']+'-'+IiliI1i['lotteryPrice']+'购买-数量:'+l11l1I1l['count'];else{if(I1I1llI[iil1I1]){ll11IiIl=I1I1llI[iil1I1],$['UserName']=lil1l1il[II1lIl1i(0x92,'(%DV')](decodeURIComponent,ll11IiIl[II1lIl1i(0x103,'t5YQ')](/pt_pin=([^; ]+)(?=;?)/)&&ll11IiIl[II1lIl1i(0x211,'(%DV')](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$[II1lIl1i(0x107,'(%DV')]=lil1l1il[II1lIl1i(0x254,'RB!M')](iil1I1,0x1),$[II1lIl1i(0x20c,'wYk*')]=!![],$['nickName']='',ilil1iil='',console[II1lIl1i(0x14b,'x$nR')]('\x0a******开始【京东账号'+$[II1lIl1i(0x24e,'DRc(')]+'】'+($[II1lIl1i(0x279,'1oF#')]||$['UserName'])+II1lIl1i(0x22b,'&kuH'));if(!$['isLogin']){$['msg']($[II1lIl1i(0x179,'6N#v')],II1lIl1i(0x109,'&vf['),'京东账号'+$[II1lIl1i(0x2b6,'q20t')]+'\x20'+($[II1lIl1i(0x258,'6oqM')]||$[II1lIl1i(0x1a8,'gIK*')])+'\x0a请重新登录获取\x0ahttps://bean.m.jd.com/bean/signIndex.action',{'open-url':lil1l1il['aTDnr']});$['isNode']()&&await IIiiIlii[II1lIl1i(0x1dd,'cki*')]($['name']+'cookie已失效\x20-\x20'+$[II1lIl1i(0x2a7,'$i9P')],'京东账号'+$['index']+'\x20'+$[II1lIl1i(0xa9,'(%DV')]+'\x0a请重新登录获取cookie');continue;}$[II1lIl1i(0x1cf,'*I7s')]=lil1l1il['vFZJz']+lil1l1il[II1lIl1i(0x243,')lr4')](I1lIIlI1,'1xxxxxxxx.164xxxxxxxxxxxxxxxxxxx.164xxxxxxx.165xxxxxx.165xxxxxx.1xx'),$['UA']=await lil1l1il[II1lIl1i(0x194,'!i]f')](lliIii1i),await lil1l1il['hrwmZ'](lIl111Il),await $['wait'](lil1l1il[II1lIl1i(0x12d,'@A9s')](parseInt,lil1l1il[II1lIl1i(0x1ba,'@aQK')](lil1l1il[II1lIl1i(0xe6,'wYk*')](Math[II1lIl1i(0x9f,'@aQK')](),0x3e8),0x7d0),0xa));}if($[II1lIl1i(0x13c,'L#%C')])break;}}})()[illi11Il(0x24b,'k@qU')](li1I1il1=>{const iiI1i1=illi11Il;$[iiI1i1(0x8d,')lr4')]('','❌\x20'+$['name']+iiI1i1(0x1cc,'[Dw8')+li1I1il1+'!','');})[illi11Il(0x21a,'m[C1')](()=>{const l11i111=illi11Il;$[l11i111(0x298,'DRc(')]();});async function lIl111Il(){const liiII1li=illi11Il,i1IiIlIi={'UgaDs':function(I1IIiiil,I1IIli1i){return I1IIiiil+I1IIli1i;},'ZWXDN':function(ii11lll,iIlIiil){return ii11lll*iIlIiil;},'kHgWA':function(l11IlI1l,IiIi1li1,Il111liI){return l11IlI1l(IiIi1li1,Il111liI);},'nfEcM':function(i1iI1l1I,liilll){return i1iI1l1I+liilll;},'vSuln':function(iIiIi11){return iIiIi11();},'pplEu':function(I1li1IiI,l1lliI11,lliIil1I){return I1li1IiI(l1lliI11,lliIil1I);},'KIBVS':function(illiill1,Iil1Ii1i){return illiill1+Iil1Ii1i;},'MMhNQ':function(iiIll11I,lIlliIIl){return iiIll11I!==lIlliIIl;},'ErNpO':liiII1li(0x248,'(%DV'),'owuvm':liiII1li(0x2ac,'cki*')};$[liiII1li(0x14e,'6N#v')]=![],await lII1II1i();if($['hasEnd'])return;await $['wait'](parseInt(i1IiIlIi[liiII1li(0x191,'H$TR')](i1IiIlIi['ZWXDN'](Math['random'](),0x3e8),0x3e8),0xa)),$[liiII1li(0x1e3,'2v!7')]&&(await iiIil1Ii(),await $[liiII1li(0x24c,'I!eF')](i1IiIlIi[liiII1li(0x176,'#Y!T')](parseInt,i1IiIlIi[liiII1li(0x15f,'RB!M')](Math[liiII1li(0xd5,'1oF#')]()*0x3e8,0x3e8),0xa)),await i1IiIlIi[liiII1li(0x236,'q^9]')](IIIIllll),await $[liiII1li(0x147,'ktM$')](i1IiIlIi[liiII1li(0x1f0,'$i9P')](parseInt,i1IiIlIi[liiII1li(0xce,'@A9s')](Math[liiII1li(0x93,'jDQC')]()*0x3e8,0x3e8),0xa)),$['index']==0x1&&(i1IiIlIi[liiII1li(0xf9,'#Y!T')](i1IiIlIi[liiII1li(0xdf,'t5YQ')],i1IiIlIi[liiII1li(0x140,'@aQK')])?$[liiII1li(0xf0,'q^9]')]=$[liiII1li(0x273,'Ta*V')]:iiIIlII['log'](liiII1li(0x105,'!i]f')+(I11illl1?.['errMsg']||''))));}function l1i1I1li(iI1ll1i){const l1Ill11i=illi11Il,iiii1ll1={'RQnbj':function(l1IIIili,lI1l1lI1){return l1IIIili==lI1l1lI1;},'RzMhQ':'object'};try{if(iiii1ll1[l1Ill11i(0x26e,'t5YQ')](typeof JSON[l1Ill11i(0x280,'L#%C')](iI1ll1i),iiii1ll1['RzMhQ']))return!![];}catch(i11I1ill){return console[l1Ill11i(0x27b,'&kuH')](i11I1ill),console['log'](l1Ill11i(0x1d4,'$i9P')),![];}}function l1li11il(Iliii1II){const ii1ii1I1=illi11Il;if(typeof Iliii1II==ii1ii1I1(0x10a,'&vf['))try{return JSON['parse'](Iliii1II);}catch(llll1Iii){return console['log'](llll1Iii),$['msg']($[ii1ii1I1(0x1a5,'dn)a')],'','请勿随意在BoxJs输入框修改内容\x0a建议通过脚本去获取cookie'),[];}}async function lII1II1i(){const iIlill1i=illi11Il,lIIii1ii={'AJSfU':function(IIIl1Il){return IIIl1Il();},'acTVo':function(IlilIIii,iiiiIllI){return IlilIIii|iiiiIllI;},'HIhah':function(iiiIIil1,ilIlliiI){return iiiIIil1*ilIlliiI;},'ySxsJ':iIlill1i(0x129,'k@qU'),'LqvfN':function(l1Iiilll,IIllI1){return l1Iiilll+IIllI1;},'leEqW':function(iIlIiI1I,III1iIII){return iIlIiI1I==III1iIII;},'isMsL':function(ll1Il1i,I11i1llI){return ll1Il1i!=I11i1llI;},'uDNQo':function(IiIIlllI,I1iI11I1){return IiIIlllI!==I1iI11I1;},'Ezfvq':'gtPVg','tRJId':iIlill1i(0xfc,'wYk*'),'zmxYq':'QmjXf','Yovth':function(I11l1il1,l1II111i){return I11l1il1===l1II111i;},'tYgkR':iIlill1i(0x1b9,'jDQC'),'yYUHY':iIlill1i(0x24f,'DRc('),'MPFTn':function(i1lIi111,Iil1ili,illIli1l){return i1lIi111(Iil1ili,illIli1l);},'GJSUw':iIlill1i(0x212,'H$TR'),'uoaWV':iIlill1i(0x205,'tZP#'),'SQjHy':iIlill1i(0x21b,'wYk*')};return new Promise(async i1IiII11=>{const iIi1l1Il=iIlill1i,Iiii1i1i={'PgVHG':function(IIIiI1l){return IIIiI1l();},'krEQa':function(i1il1l1i){const ll1iii1l=ii111llI;return lIIii1ii[ll1iii1l(0xd2,'&kuH')](i1il1l1i);},'QDPCR':function(i1l1IIl,IIIii1II){return lIIii1ii['acTVo'](i1l1IIl,IIIii1II);},'vEjvx':function(lI11ilII,lli1IIII){return lIIii1ii['HIhah'](lI11ilII,lli1IIII);},'fENMm':'object','SzABm':function(i1I1li1i,iIil1ill){return i1I1li1i!==iIil1ill;},'GidWC':lIIii1ii[iIi1l1Il(0x145,'4]da')],'uQGXJ':function(lIIlIIll,llII1IIi){const l1I1I11l=iIi1l1Il;return lIIii1ii[l1I1I11l(0x196,'p#m^')](lIIlIIll,llII1IIi);},'MkNjm':function(iliil,lIi1iIi){const ll1II1il=iIi1l1Il;return lIIii1ii[ll1II1il(0x11e,')th0')](iliil,lIi1iIi);},'bNKhO':iIi1l1Il(0x1be,'&kuH'),'inSVv':function(li1111li,IiIl1iii){const lIilIIl1=iIi1l1Il;return lIIii1ii[lIilIIl1(0x128,'ebsk')](li1111li,IiIl1iii);},'eRPZO':function(lli11I1,illi1I1){return lIIii1ii['uDNQo'](lli11I1,illi1I1);},'HINan':lIIii1ii[iIi1l1Il(0xdc,'hH(M')],'bRqXU':function(ll1iIiIl,i1Ii1IIi){return ll1iIiIl===i1Ii1IIi;},'TlRKn':iIi1l1Il(0xd8,'6oqM'),'NbeJd':lIIii1ii['tRJId'],'mUDVT':function(lIi1lIl,i111I1iI){return lIi1lIl==i111I1iI;},'ZSpbG':function(ll11ll1I,I1IIIl){return ll11ll1I===I1IIIl;},'wVVGk':iIi1l1Il(0x1d7,'x$nR'),'msbcd':lIIii1ii['zmxYq'],'xxJLB':function(Il1l11i1,ililii1I){const liiIiiI1=iIi1l1Il;return lIIii1ii[liiIiiI1(0x172,'6N#v')](Il1l11i1,ililii1I);},'XYIZU':lIIii1ii[iIi1l1Il(0xb0,'q20t')],'Xyxsb':lIIii1ii['yYUHY']},iIiliIl={'functionId':iIi1l1Il(0x1a0,'x$nR'),'appid':iIi1l1Il(0xe0,'6N#v'),'clientVersion':'12.0.1','client':'apple','t':iiillIiI,'body':{'linkId':linkId,'taskId':taskId,'inviter':$[iIi1l1Il(0x1e8,'tZP#')],'inJdApp':!![]}};$[iIi1l1Il(0x13b,'p#m^')]=await lIIii1ii[iIi1l1Il(0x1ce,'t5YQ')](li1lIiIl,lIIii1ii[iIi1l1Il(0x29d,'gIK*')],iIiliIl);let li11ii1i={'url':iIi1l1Il(0x12f,')th0')+$[iIi1l1Il(0x1ca,'L@JW')],'headers':{'origin':iIi1l1Il(0x1dc,'Ta*V'),'Referer':lIIii1ii[iIi1l1Il(0x286,'6N#v')],'User-Agent':$['UA'],'Cookie':ll11IiIl,'content-type':lIIii1ii[iIi1l1Il(0x185,'!i]f')],'accept':iIi1l1Il(0x187,'wYk*')},'timeout':0x14*0x3e8};$[iIi1l1Il(0x21e,'RB!M')](li11ii1i,async(il1i1i,Iii1i11i,illIIli)=>{const Illiil=iIi1l1Il,iii1l1i1={'zQDBG':function(IiIIlil1){return Iiii1i1i['PgVHG'](IiIIlil1);},'hHRMs':function(ll11l1l1){return Iiii1i1i['krEQa'](ll11l1l1);},'YFLjn':function(lI1IlIi1,IlI1I1il){const IIii1I1=ii111llI;return Iiii1i1i[IIii1I1(0x1cd,'q20t')](lI1IlIi1,IlI1I1il);},'Rpwxw':function(liiII1ll,iI1l1Ii){return Iiii1i1i['vEjvx'](liiII1ll,iI1l1Ii);},'BPXVp':function(Il1IiIii,lIIIIIIl){return Il1IiIii&lIIIIIIl;},'uAAPM':function(IiIiillI,li11lllI){return IiIiillI==li11lllI;},'ltYXW':Iiii1i1i[Illiil(0x132,'#7Zl')]};try{if(il1i1i)Iiii1i1i[Illiil(0x1bb,'2v!7')](Iiii1i1i[Illiil(0x216,'ktM$')],'FFVTK')?console['log'](Iiii1i1i[Illiil(0x151,'I3Q$')]('',JSON['stringify'](il1i1i))):Iiii111[Illiil(0x1e5,'@aQK')]+=i11Ii1lI[Illiil(0x182,'UNi8')]+'-'+IIIi1iil['lotteryPrice']+Illiil(0x233,'1oF#')+ilIiillI[Illiil(0xe3,'L#%C')];else{illIIli=JSON[Illiil(0x28a,'RB!M')](illIIli);if(Iiii1i1i[Illiil(0x137,'(%DV')](illIIli[Illiil(0x148,'L@JW')],0x0)){$[Illiil(0x231,'NgGD')]=!![],$[Illiil(0x251,'$8K1')]=illIIli?.[Illiil(0x101,'k@qU')]?.[Illiil(0x1a3,'RB!M')],$['userCode']=illIIli?.[Illiil(0x25e,'#Y!T')]?.[Illiil(0x1c8,'hH(M')],$[Illiil(0x19a,'x$nR')]=illIIli?.[Illiil(0x1c3,'@A9s')]?.[Illiil(0x266,'p#m^')];let liIiIIi=illIIli?.[Illiil(0x11f,'$8K1')]?.[Illiil(0xc3,'q20t')]||[],liiiIlil=illIIli?.[Illiil(0x2a5,'wYk*')]?.['lotteryTime'];$[Illiil(0x164,'x$nR')]='';for(let IIlli1l1=0x0;IIlli1l1<liIiIIi[Illiil(0x186,'6oqM')];IIlli1l1++){$['name']=liIiIIi[IIlli1l1][Illiil(0x1e6,'&tdb')],$[Illiil(0x1ad,'L#%C')]=liIiIIi[IIlli1l1]['type'],$['originalPrice']=liIiIIi[IIlli1l1][Illiil(0x28f,'cki*')],$[Illiil(0xf5,'DRc(')]=liIiIIi[IIlli1l1][Illiil(0xd1,')th0')]||0x0,$['prizeValue']=liIiIIi[IIlli1l1][Iiii1i1i['bNKhO']],$[Illiil(0xc6,'&tdb')]=liIiIIi[IIlli1l1][Illiil(0xbb,'!i]f')]||0x0,Iiii1i1i['inSVv'](IIlli1l1,liIiIIi[Illiil(0x255,')lr4')]-0x1)?Iiii1i1i[Illiil(0xdd,'DRc(')](Iiii1i1i[Illiil(0x244,'@aQK')],Illiil(0x11d,'&tdb'))?$['prizeList']+=$[Illiil(0x294,'@A9s')]+'-'+$[Illiil(0xad,'gIK*')]+Illiil(0x1eb,'[Dw8')+$[Illiil(0x115,'#7Zl')]+'\x0a':iii1l1i1[Illiil(0x16b,'RB!M')](Il1IIIIl):Iiii1i1i[Illiil(0x1b1,')th0')](Iiii1i1i[Illiil(0x220,'@aQK')],Iiii1i1i['NbeJd'])?iii1l1i1[Illiil(0x1b5,'&kuH')](ilIllli1):$['prizeList']+=$[Illiil(0x204,'oP8t')]+'-'+$[Illiil(0x126,'q20t')]+Illiil(0xb9,'cki*')+$[Illiil(0x13a,'$i9P')];}if(Iiii1i1i[Illiil(0x1f5,'L@JW')](liiiIlil,null)){$[Illiil(0x1e1,'q^9]')]=!![],console[Illiil(0xcd,'&tdb')](Illiil(0x1bd,'$i9P'));return;}console['log'](Illiil(0x102,'#7Zl')+liiiIlil+'\x0a当前奖品汇总\x0a'+$[Illiil(0xe5,'k@qU')]);}else{if(Iiii1i1i[Illiil(0x23c,'DRc(')](illIIli[Illiil(0xb5,'!i]f')],0x192)){if(Iiii1i1i[Illiil(0x29a,'&kuH')](Iiii1i1i[Illiil(0xf4,'ktM$')],Iiii1i1i[Illiil(0x25f,'UNi8')])){var li1i1l1l=iii1l1i1[Illiil(0x11b,')lr4')](iii1l1i1[Illiil(0xfd,'#7Zl')](iiIliIIi[Illiil(0x201,'wYk*')](),0xa),0x0),ill11I=Iii1I1ii=='x'?li1i1l1l:iii1l1i1[Illiil(0xec,'&vf[')](li1i1l1l,0x3)|0x8;return iIlliII1=ill11I[Illiil(0x27d,'Ta*V')](),IilII1l;}else console[Illiil(0x154,'#7Zl')](Illiil(0x10e,'t5YQ')+(illIIli?.[Illiil(0x1cb,'%cx3')]||''));}else console[Illiil(0x2ab,'jDQC')](Illiil(0x173,'tZP#')+(illIIli?.['errMsg']||''));}}}catch(l1lII1I){$[Illiil(0x20b,'q20t')](l1lII1I,Iii1i11i);}finally{if(Iiii1i1i[Illiil(0x159,'tZP#')](Iiii1i1i[Illiil(0x291,'$i9P')],Iiii1i1i[Illiil(0x13d,'H$TR')])){if(iii1l1i1[Illiil(0x235,'*I7s')](typeof lii11Il1['parse'](liillli1),iii1l1i1[Illiil(0x16e,'L#%C')]))return!![];}else Iiii1i1i[Illiil(0x2a4,'1oF#')](i1IiII11);}});});}function ii111llI(_0x563376,_0x236adb){const _0x533f0c=iiiiiIIi();return ii111llI=function(_0x1b16f5,_0x17e9ac){_0x1b16f5=_0x1b16f5-0x8d;let _0x2fb99b=_0x533f0c[_0x1b16f5];if(ii111llI['XIDHTu']===undefined){var _0x4d8e81=function(_0x382e59){const _0x4995bf='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1eabfa='',_0x34b24b='';for(let _0x44c1b7=0x0,_0xd2839f,_0x392606,_0x30bc73=0x0;_0x392606=_0x382e59['charAt'](_0x30bc73++);~_0x392606&&(_0xd2839f=_0x44c1b7%0x4?_0xd2839f*0x40+_0x392606:_0x392606,_0x44c1b7++%0x4)?_0x1eabfa+=String['fromCharCode'](0xff&_0xd2839f>>(-0x2*_0x44c1b7&0x6)):0x0){_0x392606=_0x4995bf['indexOf'](_0x392606);}for(let _0x58beb1=0x0,_0x1f74af=_0x1eabfa['length'];_0x58beb1<_0x1f74af;_0x58beb1++){_0x34b24b+='%'+('00'+_0x1eabfa['charCodeAt'](_0x58beb1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x34b24b);};const _0x56775f=function(_0x191fba,_0x26fae5){let _0x59dfe6=[],_0x30458b=0x0,_0x1751fa,_0x4c6fc5='';_0x191fba=_0x4d8e81(_0x191fba);let _0x102367;for(_0x102367=0x0;_0x102367<0x100;_0x102367++){_0x59dfe6[_0x102367]=_0x102367;}for(_0x102367=0x0;_0x102367<0x100;_0x102367++){_0x30458b=(_0x30458b+_0x59dfe6[_0x102367]+_0x26fae5['charCodeAt'](_0x102367%_0x26fae5['length']))%0x100,_0x1751fa=_0x59dfe6[_0x102367],_0x59dfe6[_0x102367]=_0x59dfe6[_0x30458b],_0x59dfe6[_0x30458b]=_0x1751fa;}_0x102367=0x0,_0x30458b=0x0;for(let _0x5e21af=0x0;_0x5e21af<_0x191fba['length'];_0x5e21af++){_0x102367=(_0x102367+0x1)%0x100,_0x30458b=(_0x30458b+_0x59dfe6[_0x102367])%0x100,_0x1751fa=_0x59dfe6[_0x102367],_0x59dfe6[_0x102367]=_0x59dfe6[_0x30458b],_0x59dfe6[_0x30458b]=_0x1751fa,_0x4c6fc5+=String['fromCharCode'](_0x191fba['charCodeAt'](_0x5e21af)^_0x59dfe6[(_0x59dfe6[_0x102367]+_0x59dfe6[_0x30458b])%0x100]);}return _0x4c6fc5;};ii111llI['sukkVe']=_0x56775f,_0x563376=arguments,ii111llI['XIDHTu']=!![];}const _0x3310a1=_0x533f0c[0x0],_0x12d98d=_0x1b16f5+_0x3310a1,_0x48ff79=_0x563376[_0x12d98d];return!_0x48ff79?(ii111llI['zWPZSo']===undefined&&(ii111llI['zWPZSo']=!![]),_0x2fb99b=ii111llI['sukkVe'](_0x2fb99b,_0x17e9ac),_0x563376[_0x12d98d]=_0x2fb99b):_0x2fb99b=_0x48ff79,_0x2fb99b;},ii111llI(_0x563376,_0x236adb);}async function IIIIllll(){const il1illI1=illi11Il,il11ilI={'LrEiQ':il1illI1(0x168,'RB!M'),'hOokT':function(l1I1lil1,iIiIi11I){return l1I1lil1!==iIiIi11I;},'okKXf':'OMJEX','hlVJu':function(iIIIIIIl,I1i1ii11){return iIIIIIIl===I1i1ii11;},'NtPay':il1illI1(0x230,'t5YQ'),'VwbBL':il1illI1(0x1d2,')lr4'),'dJxBJ':'PRCEj','zqpZQ':function(iil11li,IlI1lIlI){return iil11li==IlI1lIlI;},'EKjip':function(lII11il1,ll1Il1l1){return lII11il1!==ll1Il1l1;},'BMCOx':il1illI1(0x227,'6N#v'),'GDMTp':il1illI1(0x277,'k@qU'),'EoiSZ':'desc','kcxLh':function(IiilIlIl,lliIlli){return IiilIlIl-lliIlli;},'myRax':il1illI1(0x1af,'&kuH'),'jcyWA':il1illI1(0x19c,'$8K1'),'ZesRD':il1illI1(0x1e4,'jDQC'),'GhJmJ':function(Iil11lii,i1I1Iil){return Iil11lii!==i1I1Iil;},'Ltqrl':il1illI1(0x271,'tZP#'),'sMxsj':function(iliil11,i1l1Ill){return iliil11===i1l1Ill;},'mSpdx':il1illI1(0x189,'4]da'),'ERKRK':function(lli1ii1){return lli1ii1();},'AhAAy':il1illI1(0xb3,'cki*'),'FGWCO':il1illI1(0x1f7,'QlXo'),'UxOhP':'https://h5platform.jd.com','XaLti':'https://h5platform.jd.com/swm-stable/BVersion-rich-tree/index?activityId=_LN1l_4Nv5mTEsWhs3hIMA&pageSource=wojing&channel=8&sid=a2464e50b796abc87714ea85905ddddw&un_area=4_133_58530_0','mmoUv':il1illI1(0x290,'#7Zl')};return new Promise(async IiiIiIII=>{const l1lI1iil=il1illI1,ii11Iili={'functionId':'scarceGoodsMyLotteryCode','appid':il11ilI[l1lI1iil(0x184,'cki*')],'clientVersion':il11ilI[l1lI1iil(0x278,'I3Q$')],'client':l1lI1iil(0x1b2,'4]da'),'t':iiillIiI,'body':{'linkId':linkId}};$['h5st']=await li1lIiIl(l1lI1iil(0x296,'x$nR'),ii11Iili);let iilliIIi={'url':l1lI1iil(0x213,'DRc(')+$['h5st'],'headers':{'origin':il11ilI['UxOhP'],'Referer':il11ilI[l1lI1iil(0x2b2,')lr4')],'User-Agent':$['UA'],'Cookie':ll11IiIl,'content-type':'application/x-www-form-urlencoded','accept':il11ilI['mmoUv']},'timeout':0x14*0x3e8};$[l1lI1iil(0x249,'UNi8')](iilliIIi,async(IiIll1Ii,iIiIil11,iiIilIII)=>{const iiIi1Ii=l1lI1iil,liiIlIll={'RXECV':il11ilI[iiIi1Ii(0x138,'L#%C')]};if(il11ilI['hOokT'](il11ilI['okKXf'],il11ilI['okKXf']))return!![];else try{if(IiIll1Ii){if(il11ilI[iiIi1Ii(0x1d3,'jDQC')](il11ilI['NtPay'],il11ilI[iiIi1Ii(0x165,'&kuH')]))console[iiIi1Ii(0x261,'q^9]')](''+JSON[iiIi1Ii(0xd0,'Jsw%')](IiIll1Ii));else return IIIIliII[iiIi1Ii(0x9d,'@aQK')](iiIlI1iI),iIIliI11[iiIi1Ii(0x180,'ebsk')](ll1III1I[iiIi1Ii(0x9b,'%cx3')],'','请勿随意在BoxJs输入框修改内容\x0a建议通过脚本去获取cookie'),[];}else{if(il11ilI[iiIi1Ii(0x281,'UNi8')](il11ilI[iiIi1Ii(0x20a,'DRc(')],il11ilI[iiIi1Ii(0x22f,'UNi8')])){IIl11I1[iiIi1Ii(0x112,'@aQK')]=!![],Iil1Ilii['log'](iiIi1Ii(0x23e,'oP8t'));return;}else{iiIilIII=JSON['parse'](iiIilIII);if(il11ilI[iiIi1Ii(0x25c,'Ta*V')](iiIilIII[iiIi1Ii(0xe7,'1oF#')],0x0)){if(il11ilI[iiIi1Ii(0x1b8,')th0')](il11ilI[iiIi1Ii(0xcf,')lr4')],iiIi1Ii(0x2a8,'ebsk')))l1lllil[iiIi1Ii(0x1c7,'NgGD')](iiIi1Ii(0x131,'hH(M')+lili1I?.[iiIi1Ii(0x2a5,'wYk*')]?.[iiIi1Ii(0xcc,'tZP#')]),iIlIll[iiIi1Ii(0x29c,'hH(M')]++;else{let Ilill1iI=iiIilIII?.[iiIi1Ii(0x141,'DRc(')];$[iiIi1Ii(0x28b,'#7Zl')]='';for(let llIilIiI=0x0;llIilIiI<Ilill1iI['length'];llIilIiI++){$[iiIi1Ii(0x16f,'I!eF')]=Ilill1iI[llIilIiI][il11ilI[iiIi1Ii(0x270,')lr4')]],$[iiIi1Ii(0x1a9,'2v!7')]=Ilill1iI[llIilIiI][iiIi1Ii(0x177,'Ta*V')],$[iiIi1Ii(0x252,'1oF#')]=Ilill1iI[llIilIiI][il11ilI[iiIi1Ii(0x20e,'q^9]')]],llIilIiI!=il11ilI[iiIi1Ii(0x10d,')lr4')](Ilill1iI['length'],0x1)?$[iiIi1Ii(0x174,'k@qU')]+=$[iiIi1Ii(0x148,'L@JW')]+'-'+$[iiIi1Ii(0x17c,'I3Q$')]+'\x0a':il11ilI[iiIi1Ii(0x292,'RB!M')](il11ilI[iiIi1Ii(0x2ad,'QlXo')],iiIi1Ii(0x247,'@aQK'))?iilIii1i[iiIi1Ii(0x164,'x$nR')]+=Iliii1[iiIi1Ii(0x1a5,'dn)a')]+'-'+IillIlil[iiIi1Ii(0x16d,'*I7s')]+'购买-数量:'+Ii1II1il[iiIi1Ii(0x27e,'I3Q$')]+'\x0a':$[iiIi1Ii(0x20f,'ebsk')]+=$[iiIi1Ii(0xe7,'1oF#')]+'-'+$['desc'];}console[iiIi1Ii(0xcd,'&tdb')](iiIi1Ii(0x122,'q^9]')+Ilill1iI[iiIi1Ii(0x1d1,'Jsw%')]+iiIi1Ii(0x208,'p#m^'));}}else{if(il11ilI[iiIi1Ii(0x283,'gIK*')](iiIilIII['code'],0x192)){if(il11ilI[iiIi1Ii(0x14c,'hH(M')](il11ilI[iiIi1Ii(0x221,'&kuH')],il11ilI[iiIi1Ii(0x27a,'6N#v')]))return Iii1I1l1[iiIi1Ii(0x1c6,'UNi8')](iIIiIiil=>{return[null,iIIiIiil];})[iiIi1Ii(0x18a,'t5YQ')](IIill1l1=>[IIill1l1]);else console['log'](iiIi1Ii(0x2b1,'[Dw8')+(iiIilIII?.[iiIi1Ii(0xf3,'wYk*')]||''));}else{if(il11ilI['GhJmJ'](il11ilI[iiIi1Ii(0x1de,'2v!7')],iiIi1Ii(0xa5,'dn)a'))){l1lilill[iiIi1Ii(0x207,'4]da')](iiIi1Ii(0x198,'I!eF'));return;}else console['log'](iiIi1Ii(0x175,'ebsk')+(iiIilIII?.[iiIi1Ii(0x1ae,'4]da')]||''));}}}}}catch(il1l1Il1){$[iiIi1Ii(0xd3,'&tdb')](il1l1Il1,iIiIil11);}finally{il11ilI[iiIi1Ii(0x26c,'hH(M')](iiIi1Ii(0x15c,'Ta*V'),il11ilI[iiIi1Ii(0x29e,'*I7s')])?ilIillIl?i1il1iIl=I1I1IlI1[iiIi1Ii(0x257,'(%DV')](ilii1):II1I1l1['log'](liiIlIll[iiIi1Ii(0x1ff,'6oqM')]):il11ilI['ERKRK'](IiiIiIII);}});});}async function iiIil1Ii(){const il1iIlii=illi11Il,IlillIii={'CJtFf':il1iIlii(0x259,'DRc('),'gxCAB':function(lliIiiii,IIlI1lli){return lliIiiii!==IIlI1lli;},'DuXSU':'eGMYU','KQoog':il1iIlii(0x2a0,'Ta*V'),'bGFTh':il1iIlii(0x1a6,'I!eF'),'lDZnX':il1iIlii(0x15b,'$i9P'),'XvSPS':'taskFinished','WNNBZ':function(iI11iIi1,I1I1IIII,IiI1I11l,I1lIl11l){return iI11iIi1(I1I1IIII,IiI1I11l,I1lIl11l);},'yXzfQ':function(lilliIIl,ii1ilI1){return lilliIIl*ii1ilI1;},'nOQFo':il1iIlii(0x17e,'t5YQ'),'FVpdz':il1iIlii(0x1d0,'m[C1'),'lcBPr':il1iIlii(0x1da,'ktM$')},IIi1i1II=il1iIlii(0x1aa,'#7Zl')+linkId+'}';let I1lll11I={'url':il1iIlii(0x274,')th0')+linkId+il1iIlii(0x19e,')lr4')+iiillIiI+il1iIlii(0x202,'#Y!T'),'headers':{'origin':IlillIii['lcBPr'],'Referer':il1iIlii(0x14d,'dn)a'),'User-Agent':$['UA'],'Cookie':ll11IiIl,'content-type':il1iIlii(0x108,'p#m^'),'accept':il1iIlii(0x29f,'$i9P')},'timeout':IlillIii[il1iIlii(0x127,'@aQK')](0x14,0x3e8)};return new Promise(IIiilll1=>{const iIlIlili=il1iIlii,lIilll1l={'rfiIm':IlillIii['CJtFf'],'xrogc':function(i1IIii1i,IlllI1lI,ilI1lIll){return i1IIii1i(IlllI1lI,ilI1lIll);},'Ptdtk':function(iill1i1i,liiiIiiI){const Iliiiil=ii111llI;return IlillIii[Iliiiil(0xff,'1oF#')](iill1i1i,liiiIiiI);},'FLzYQ':IlillIii['DuXSU'],'zioGF':IlillIii[iIlIlili(0xe1,'jDQC')],'BwqMh':function(Iiiil1l1,Ii1l1i1){return Iiiil1l1<Ii1l1i1;},'jLZGu':IlillIii[iIlIlili(0x1d5,'4]da')],'eISMm':IlillIii[iIlIlili(0x123,'4]da')],'VcKQq':IlillIii['XvSPS'],'VRAWQ':'taskDoTimes','OZCKA':'QqUpJ','CcCrN':function(liIllili,II111iIl,llIII1l1,lIIi1ll1){const iIlllil=iIlIlili;return IlillIii[iIlllil(0x162,'L#%C')](liIllili,II111iIl,llIII1l1,lIIi1ll1);},'yXzLa':function(I11lliiI,Iii1IlII){return I11lliiI+Iii1IlII;},'CdbUH':function(li11l1I1,iIIi11il){const ll11iiIi=iIlIlili;return IlillIii[ll11iiIi(0x188,'Ta*V')](li11l1I1,iIIi11il);},'Kmdjm':IlillIii['nOQFo'],'xHdCv':IlillIii['FVpdz'],'kVyZt':function(l1lili1l){return l1lili1l();}};$[iIlIlili(0x99,'!i]f')](I1lll11I,async(l11I1i1I,IIiiIIii,iI11llI1)=>{const iiIilill=iIlIlili,llIll1Ii={'TWlfn':lIilll1l[iiIilill(0x240,'RB!M')],'xeFcW':function(lII1ii,IiIilI1,iiIl1Il1){return lIilll1l['xrogc'](lII1ii,IiIilI1,iiIl1Il1);}};try{if(l11I1i1I)lIilll1l[iiIilill(0x210,'QlXo')](lIilll1l[iiIilill(0x238,'NgGD')],iiIilill(0x23a,'L@JW'))?$[iiIilill(0xeb,'$i9P')](l11I1i1I):il1IlIII[iiIilill(0x1db,'6N#v')]=i11liI1l[iiIilill(0x1b0,'L@JW')];else{if(lIilll1l[iiIilill(0x1f4,'x$nR')]!==iiIilill(0x26a,'hH(M'))i1iIiII1['log'](iiIilill(0x22c,'NgGD')+(III1ilII?.[iiIilill(0x14a,'2v!7')]||''));else{iI11llI1=JSON['parse'](iI11llI1);if(iI11llI1?.['code']==0x0){let i1Ilii=iI11llI1?.['data']||[];for(let lil111il=0x0;lIilll1l[iiIilill(0x1a1,'ktM$')](lil111il,i1Ilii[iiIilill(0xa7,'H$TR')]);lil111il++){$[iiIilill(0xa3,'gIK*')]=i1Ilii[lil111il][lIilll1l[iiIilill(0x163,'&tdb')]],$['apTaskListid']=i1Ilii[lil111il]['id'],$[iiIilill(0x287,'$i9P')]=i1Ilii[lil111il][iiIilill(0x10b,'t5YQ')],$['taskSourceUrl']=i1Ilii[lil111il][lIilll1l['eISMm']],$[iiIilill(0x149,'tZP#')]=i1Ilii[lil111il][lIilll1l[iiIilill(0xab,'q20t')]],$['taskDoTimes']=i1Ilii[lil111il][lIilll1l[iiIilill(0x1ee,'1oF#')]];if(!$[iiIilill(0x160,'q^9]')]&&$[iiIilill(0x1e7,'$8K1')][iiIilill(0xb2,'(%DV')](iiIilill(0x2b0,'[Dw8')))for(let IiiliI1l=0x0;lIilll1l[iiIilill(0x17f,'4]da')](IiiliI1l,0x1);IiiliI1l++){iiIilill(0x19d,'k@qU')===lIilll1l[iiIilill(0x28e,'6oqM')]?(console[iiIilill(0x27b,'&kuH')]('去做\x20'+$[iiIilill(0x256,'$8K1')]),await lIilll1l[iiIilill(0x289,'jDQC')](I1Iii1Il,$[iiIilill(0x1e0,'L@JW')],$['apTaskListid'],$[iiIilill(0x2a1,'H$TR')]),await $[iiIilill(0x117,'k@qU')](parseInt(lIilll1l[iiIilill(0x228,'*I7s')](lIilll1l[iiIilill(0x2a3,'q20t')](Math['random'](),0x5dc),0x5dc),0xa))):(ilil1li1[iiIilill(0x207,'4]da')](llIll1Ii[iiIilill(0x295,'m[C1')]),lIiilI11[iiIilill(0x25a,'gIK*')]=I1ii1lII[llIll1Ii[iiIilill(0x1ac,'I3Q$')](iIlI1ilI,0x0,i1ll1i1i[iiIilill(0x1fe,'m[C1')])]);}}}else console['log'](iiIilill(0x282,'&tdb')+(iI11llI1?.[iiIilill(0x215,'q^9]')]||iI11llI1?.[iiIilill(0x218,'tZP#')]||''));}}}catch(l11II11l){$[iiIilill(0x111,'6oqM')](l11II11l);}finally{lIilll1l[iiIilill(0xd6,'[Dw8')]===lIilll1l[iiIilill(0x1c2,'ktM$')]?llilii1[iiIilill(0x28c,'H$TR')](iiIilill(0x21f,'p#m^')+(ll1ill?.['errMsg']||IIIiiIl1?.[iiIilill(0x284,'&kuH')]||'')):lIilll1l['kVyZt'](IIiilll1);}});});}async function I1Iii1Il(IIill1Il,II1IlliI,l1IIlil){const l1iiiiI=illi11Il,iillIii1={'JbgeP':function(I1iIlii,lIIlil1i){return I1iIlii==lIIlil1i;},'XENPD':l1iiiiI(0x237,'I3Q$'),'fItxt':function(i111lll,II1111lI){return i111lll+II1111lI;},'mHCOa':function(llIi11iI,iIlIIlIi){return llIi11iI===iIlIIlIi;},'QRjHp':'VFYSv','JdtGo':'vaGgr','soKCY':l1iiiiI(0x178,'4]da'),'rITuv':function(iIl1lil){return iIl1lil();},'jSXst':l1iiiiI(0xa0,'$8K1'),'pSFCQ':'apsDoTask','woEXp':l1iiiiI(0x190,'I!eF'),'AeZFW':l1iiiiI(0xae,'jDQC'),'ymMGI':function(lI1lIIii,Il1iIliI,IilI1ii1){return lI1lIIii(Il1iIliI,IilI1ii1);},'fBbWr':l1iiiiI(0x222,'q20t'),'PgvkO':l1iiiiI(0x209,'#Y!T'),'qtyOV':l1iiiiI(0x10f,'jDQC'),'pvdKA':'application/x-www-form-urlencoded','VAVvo':l1iiiiI(0xda,'hH(M')};return new Promise(async Ii1i1=>{const I111lI1l=l1iiiiI,i1liii11={'MLACW':function(Ililli1i,iiII1Il){return Ililli1i+iiII1Il;},'AzhQa':I111lI1l(0x170,'gIK*'),'GnRZA':function(I1Iliiil,l1iIl1ii){const lII1lIl=I111lI1l;return iillIii1[lII1lIl(0x118,'DRc(')](I1Iliiil,l1iIl1ii);},'LAfeB':function(iIi1Iiii,iIll11il){return iillIii1['mHCOa'](iIi1Iiii,iIll11il);},'jvWTV':iillIii1[I111lI1l(0x299,'t5YQ')],'CMuBq':iillIii1['JdtGo'],'xIIQa':function(Iil1lili,iili1ll1){return Iil1lili==iili1ll1;},'tMkgA':function(i11liiil,liiIiIIi){return i11liiil!==liiIiIIi;},'mMqOi':iillIii1[I111lI1l(0xed,'#7Zl')],'xTyPz':function(ll1IIil1){const I1ililIi=I111lI1l;return iillIii1[I1ililIi(0x119,'L@JW')](ll1IIil1);}};if(iillIii1[I111lI1l(0x1f9,'t5YQ')](iillIii1[I111lI1l(0x28d,'1oF#')],I111lI1l(0xea,'t5YQ'))){if(iillIii1[I111lI1l(0x2b4,'Jsw%')](typeof l1iI1lii,iillIii1['XENPD']))try{return l1II1lll[I111lI1l(0x28a,'RB!M')](iIllliII);}catch(iIl11){return IIl11ll1[I111lI1l(0x13f,'dn)a')](iIl11),II1l111['msg'](il1l1iil['name'],'',I111lI1l(0x18d,'@A9s')),[];}}else{const IIiii1II={'functionId':iillIii1[I111lI1l(0xb1,'$i9P')],'appid':iillIii1[I111lI1l(0x157,'6oqM')],'clientVersion':I111lI1l(0x285,'&tdb'),'client':iillIii1[I111lI1l(0x96,'gIK*')],'t':iiillIiI,'body':{'taskType':IIill1Il,'taskId':II1IlliI,'channel':0x4,'checkVersion':!![],'cityId':'','provinceId':'','countyId':'','linkId':linkId,'itemId':l1IIlil}};$['h5st']=await iillIii1[I111lI1l(0xf7,'QlXo')](li1lIiIl,iillIii1['fBbWr'],IIiii1II);let I1li111l={'url':I111lI1l(0x260,'&kuH')+$[I111lI1l(0xe9,'[Dw8')],'headers':{'origin':iillIii1[I111lI1l(0x100,'$8K1')],'Referer':iillIii1[I111lI1l(0x2a6,'UNi8')],'User-Agent':$['UA'],'Cookie':ll11IiIl,'content-type':iillIii1[I111lI1l(0x23d,'6oqM')],'accept':iillIii1[I111lI1l(0x226,'Jsw%')]},'timeout':0x14*0x3e8};$[I111lI1l(0x9a,'k@qU')](I1li111l,async(ll11II1i,I1l1ili1,IIilil1l)=>{const II1i1IlI=I111lI1l,l1lliili={'tdYAy':i1liii11[II1i1IlI(0x1ed,'@A9s')]};try{if(ll11II1i)console[II1i1IlI(0x214,'RB!M')](i1liii11['GnRZA']('',JSON[II1i1IlI(0x11a,'[Dw8')](ll11II1i)));else{if(i1liii11[II1i1IlI(0xb6,'q20t')](i1liii11[II1i1IlI(0x94,'jDQC')],i1liii11[II1i1IlI(0x250,'m[C1')]))i1I1i1[II1i1IlI(0x18b,'UNi8')](i1liii11[II1i1IlI(0x219,'UNi8')]('',ll11I1i['stringify'](I1iIIIIl)));else{IIilil1l=JSON[II1i1IlI(0xe2,'cki*')](IIilil1l);if(IIilil1l[II1i1IlI(0x20d,'$8K1')]==0x0)console['log'](II1i1IlI(0x18f,'k@qU')+IIilil1l?.[II1i1IlI(0x91,'*I7s')]?.[II1i1IlI(0x21d,'Ta*V')]),$[II1i1IlI(0x17b,'Ta*V')]++;else i1liii11['xIIQa'](IIilil1l[II1i1IlI(0x242,'Jsw%')],0x192)?console['log'](II1i1IlI(0x1f1,'q^9]')+(IIilil1l?.[II1i1IlI(0x8e,'(%DV')]||'')):console[II1i1IlI(0xee,'cki*')]('完成任务失败,'+(IIilil1l?.[II1i1IlI(0x1f2,'t5YQ')]||''));}}}catch(iliiiill){i1liii11[II1i1IlI(0x1c0,'t5YQ')](i1liii11['mMqOi'],II1i1IlI(0x1b6,'q20t'))?$[II1i1IlI(0x17d,'#Y!T')](iliiiill,I1l1ili1):Il11li1i[II1i1IlI(0xf2,'(%DV')](l1lliili[II1i1IlI(0x124,'I!eF')]);}finally{i1liii11[II1i1IlI(0xc7,'k@qU')](Ii1i1);}});}});}function lIiIIIli(l1IiIIIi){const IIil1ll=illi11Il,i1I11lii={'rWpAd':function(II1ilI1,IiIil11l){return II1ilI1||IiIil11l;},'NOGbn':IIil1ll(0x195,'$i9P')};l1IiIIIi=i1I11lii['rWpAd'](l1IiIIIi,0x20);let I11i11ll=i1I11lii['NOGbn'],I1ilI11i=I11i11ll[IIil1ll(0xfa,'RB!M')],IIIil1li='';for(i=0x0;i<l1IiIIIi;i++)IIIil1li+=I11i11ll[IIil1ll(0x139,'2v!7')](Math['floor'](Math[IIil1ll(0xc0,'$8K1')]()*I1ilI11i));return IIIil1li;}async function li1lIiIl(iIIl11l1,liili1Il){const llI11lIl=illi11Il,lIiIIl1={'CARMM':llI11lIl(0xb3,'cki*'),'qYMGy':'4.1'};try{let IiIliII=new iiIl1iI1({'appId':iIIl11l1,'appid':lIiIIl1[llI11lIl(0x15d,'%cx3')],'clientVersion':liili1Il?.['clientVersion'],'client':liili1Il?.['client'],'pin':$[llI11lIl(0xc5,'#Y!T')],'ua':$['UA'],'version':lIiIIl1[llI11lIl(0x24a,'q^9]')]});return await IiIliII[llI11lIl(0x2a9,'Jsw%')](),body=await IiIliII['genUrlParams'](liili1Il[llI11lIl(0xc9,'DRc(')],liili1Il['body']),body;}catch(Iil1II){}}function iiiiiIIi(){const i11lIIl=(function(){return[...[version_,'YWjKUhsjATiaxSmYYiVP.UfckhoYGmCK.wHvK7Ln==','tcBcQCoPvqDluG14WOFcHttdTW','FSodzNS','W408s0DRAW','m8oOomkeWQ4','rCkpumokua','W4GQA097zG','tSkSW77dRmk1W4ZdHfVcIK7cI0C7WQRdQCkDqCo1WPtcG0XCWPNcJ8kLkHVcHmk/d8kNCca','qg1WfCko','ECo+sSoEoW','tCoMa8kzW7a','FmonBa','e3BdSmk9e10','6k+S5yMM6zI65OER5z2BW5hcNequo+I/MowhTUAIMos/VEAxUUweUUwVV1ZLUQ3ORiVPG53OVPFOH7xMN4dLJlROJOtLJPWsEKLJW4JdVq','A8oRW5ZcNHBdN8kAtYO','5A+a5OIA5lUr5yIYW5VOJ4lLVO3KUOtLVj3LP6tLI7RVVyK','hNddQSkZevWmcsbTWPxcPZVdVJKcW5nTW5q','WQefWPNdU8oT','oKddV8kjlq','leLNW47cKa','t8kWACoMBq','vSoqW5JdQHPYuGlcRmoifd/cUmkIqXa','cSoRW7S0uq','mSkrW4GDW4W','6k6i5Ag45ysh5Q6556cj55QX54+x5AoJ5y6D6yEr','iSoahhdcGq','C8ksaCk3CJmyW5quWPa','rSo5u8oGiG','FM8GW6FdHq','hxT/W6pcVq','WQhdHCobW77dMCkorMHb','uSkgCCohWOC','Amkudmk1qZmSW44xWOawE8oiW4zsWRKEW5K8WQy4bq','WO7cVZdcKcm','uu8gW67dL8kTaey','emkXW4yNW4FdOSk6CW','W7unsL52','WPZdUxlcHW','c3ldRCkXm1Wmdca','WOuSrhm6','W5JdLWayWOzvaGm','i8kLW4xcGaeTkqeY','W6tdNeRcQCokW54+jCkxoG','wCotW5BdQW','EKrxW4ns','WPtcGYKhWOyJW7NdT8ko','uCoMumo4pxW','WOXTCmkcWRy','WPtcSvLaz8kUW5NdJG','ACoQWQD6W5q','vCoKuSozkW','W5OWxxaimZeqW44QWRtcVxBdTbS7mmkUbHv3lW','vYxdLZG','WPDgCSkoWPy','oh5+ENi','fvZcVYf9eW','tSoZWRXlW7e','BgaEqaq','WRJcTKBcTCkw','amkTW63cUaK','x18vW5NdKq','5B2K5P6T5RAa5yIM5BAn57UB57QX5P2S','WO98sCk5WOddV3P+WPddOa','pmkgbIVdHKxdVhhdTcZcQmo9wGVdG8kCrXm+WPddL8kT','wSokhmkDW5K','iSoDW5yDeSoeWR0zfwK','WRtcGcxcNJ0','F8o4W4hcHq','igvEW6FcKGDJW5rpW5VcOty','WO/cUHRdQW','zmokBNa','c1lcTG','WQJdQW7dPSodWPrWcW','pgtdTSomCG','WONdT09g','a3ldGSoSzCoO','gSkY5AAX6lE9WPnQ5y265zI4W53dPa','bvnHx0u','y8oxmCkUW7y','uYddMW','eKXRW7BcKG','WPyPWOGrbua','W7ZcHCkvWRBcGq','vvy5yaS','5lQB5lQU5P625yIV5zIx6k6R6zAm5Pwd5O+W5lUb56MA77Yg6k255Qgv5P6E6iEd6lMc6k6P5Aw757YJ57Qf5Ooj5ys7','vSotzmoHjG','4P2uaEA1MUITTEI/M+MaG+AcPEs6RmoNf2BdLEkDMfJMN43LIAlNIz7MGlBMRjxLU5jwtmoXW5i','uCkWjSkdAa','emo5W6muFG','C8oTW4hcLadcQCoCeZWTkSo9W7b+W63dLsj4nmokWQP/WO3cICoGxwucFefMW6JdTJHGW79wWQhdKCoZC8kNWQS','WQtcVdxcRtGWW5uIWPldGSkIbwGZW6ddLSoyWPBdNmkGw8olaw/cGW','iCohW54veSohWQKCba','uuf+a8kSW5ldSrldHJJdM0dcL1ldP8kJWPBcJwHuWPSqW7xcJsW','aCoLf8kHWPNdTmkAWQmexW','h8kJW53cIaG','W5pcMCkPWP3cMW','WPxcO09zCmk4W43dJG','W6VdGtldLd7dMq','C8onFNbR','pCk4W5VcMqSxjbG5D1q','x3u/tcy','WQRcG1VcHCkvmtrKW5O','EG7dMcm','B2OQW4hdHSkwjwq','DCk+q8oNWPVdGCk6WQrv','exHkeu5VemkxW4e','iSoFaM0','6lsB5lUIWQ3MLQJPHB3VVza','zCo6rgzv','wSoJW53cTri','nCk2WQSZW7u','6k6U5Agr5ywb5Q+R56c455QK54Y55AoN5y6W6yEO','r8ocW5FdIWO','5AYp5OQW5lQ65yIW5AwH6lAyjG','s8o1bCk3W6VdKG','kmoeW7mObCotWRvafLG1W7i/jL/cI8oVCMNcSCk7W4y','yCkEaSkazG','WQZcQxjysq','rmoMs8opk1FcVLRdPq','W6/dS2ddVglcMa','4PYXhEAFU+IpSUwpHowjJUw9L+AFSEwpS+MfSCo6W7hcK8o3','q8opnmk1W7K','rCk5tCo+WPFdSCk8WOD1','B8kypSkZuJ8fW4y','W6BcOmkgWPxcOa','t8oYa8ksW7FdH8o/WQ4OW7m','dNLHW4VcO8ku','W7yxqgTz','o33cRmocma','xCk9W6ddPmkZW4i','D8oragNcNeNcIN3cPt/cI8okDeZdPSkCrcm8WRddNCkUF8owzmowlhDavKBcJX3cGCkeW6FcIYrcWP3dUvJdSmouWOFdOXhcHCokfSkZtcaUW4TVjvi7','imodne3cGq','tIGqmG','BSkIvSoLWO3cRSoGW6jzW5PXiSkaW48uW5i1W6/cHmoPlmkgWOBcK8oknstdGSo+WQRdHmocW6NdUWubWRamW5FdSZ/dIbpdQYDUdMz8vWldV8kqFGxdISk8fG/cP8o1AYzKAmoZpSk9oCkpmKaJW4mTWO8dh8otsJVdISoHWQ0CrSofvCkTWPynb8oYreDlASkimHPybSkGW7S+WOtdJXeGnuPXn8kLW7ZcM8kkWQLgWQBcTCozW5ddT0FcTv8AWO/cVmknBtpdTJtcPJjdWOiSWO47WOldG8oeyJvFghBdL8khkmkLm8k2iGqkW4DLqSoNW79LDmk4xmkvW4FdNSkrymkowa0xW73dS8kTWPhdNa','c1BdT8onEa','wmo7rq','zUw+USkK','oCoebgNcHHFcMdpcRN7cKSoqFeZdQCkwrrfIWRBdMmo0ESowEW','WRlcQahdMLi','ohHwwwxcNa','rSkVW4ldR8k7W4BdIW','Egq9W48','W4BdJYJdGGO','WOCgChiChq','WO7cTsRcUcC','nfVcRmoRpG','W4rtWPZcICkR','WOZcQXFdQg3cN8owhSoaW6ZcTY1wjW7cHM0wyuldK8oQW6/cHsi','g8k3W4C','W6BdKJpdNcpdMG','WOVcOsxcIGG','WQdcRs/cUJ9I','A8kLrq','xCoUsL1i','bhvHW43cU8kqW5K','tSkSW77dRmk1W4ZdHfVcIK7cI0CPW7tdSCkegSo4WOBcIuzfWPVcISk7jXFcHmoWqmoPoM4','vvPT','x1XKgSkSWOdcKfJdI2K','b8k3W5mN','5P6J6k245lM25yUZ5AsU6lwJEG','WO7cNwdcTmkE','WPvTwCkuWQq','ysnuEca','fSodg8ktWPa','D243W43dPSkh','qmkUW6FdP8k1W4hdHepcS1pcJaS0','WQWnWRaahG','nmogW5KPjW','qbZdGbeX','vYxdSI3cKsJcU8kT','v8oNW7tcSmoDomkMWRFcG8kH','W5uKcSoPW4/cGZe4W4/cJW','6l685ywy6Awh6AcW5AsJ6lwBka','mMvECq','wLPKhCk6WOVcQLldNa','DmoOC1Xv','FmoSaCk1W50','cvlcPIz9ehdcH0xdI8kX','qvPNhmky','6lwo5lQuW4FMLjtPHAVVV4S','q8olW4VdQW','taxdUW0D','W7xdSZtdVt4','CvvJW4LRFG','ixhcQXXd','kCo9W7CuAWe1wSkGWQldVKBcHSo3hYJcHLRdKJ/cN0xcG2fNemogcbJdRbyIvSoGr3dcNHhdScqnwqK'],...(function(){return[...['WOxcJwLRDW','Ae54W44','WONcIIFdJKO','W5q5ywno','5B2Z5P2w5Rwg5yU/5BEt57U257Qs5P6X','W5PnWOVdMSoWqLjzqmkiW4iy','bCk+W4KAW6K','wSo7vq','WPKJWOit','W5lcLmkDWP3cJW','WPlcUhZcNSkE','WO7cKsRcTGi','nsq/W5/dVmkmiwGAWODwb8klv8obywxdRrpdLa','WQNcKMlcVSkJ','g2VcTmozfq','ymonEgO','W7ldUqZdLIK','l2TEW7dcNW','chldT8kU','WPJdQLxcG8oV','WO3cSqFdVwy','WRtcRJRdOx0','ivf6W67cPG','Fgi/W57dKCkamwq','b8kbWPKh','j8oVW7K6CdqvASkJWRa','emk9W6ysW6i','W6JcKSkDWRZcMSkI','B2OQW4hdHSkgiw0q','kvVcQSo7mW','W4OMzKnbB8oseq','4P6YW7/MTkJORy3OV4dPGR/MG57KUjZcJ8kYW7aj4P2TkEADQEwjG+ElTEAbToATREw4L8osWQxcSCoM','W6ZdKrecWQDglaLExG','i2jLW6lcLG','q0r6kCko','sConfSk/WR7dT8kcWQTne1iBhNDFtCoEemk7W7eyW6yuDdldKmkNWOTRWQbGmSoTheRdHZGEWQ/cGvXUECkVWPlcV8kPW6hcKqRcQSo5zmkEW4KPwGNcNHrbW6NdTahcMWaNWQGmaWFdG8kqkSkyCmk7xhldLai2W5VdNNNcPqurhSouoCoxWO0GzH3cKmk8svRcPYpdSCo+W6dcLMxcJ1ldNW7cTKNdJ3JcIeZdUvFcV8k4W6xcNdtcJvZdNG','nCorbhG','FCorAx17','WPD6vmkZWPBcKZq9WOtdTCkKWR3dMmoVWRpcLYxdLCohW4mTW4tdG8o7jG','W6/dJYy','WQdcPYy','smoMg8kjW70','DmomwvrA','44cs5O+X56sR44kX6k+Y5ywr6iY15y2x5lML5lIL6lwU5yYO5lIog8kVWQZcG14tW6dNMOZMJ4FKVQdNL7bItX1iW5bW55Ig5lQZ5lMl56+m5yUC6i6A5y2s','lSo/W6eItsmLCmkRWQe','jSoaW6WtbCo7WRis','qCk9W6pdPq','nSovba','WO7dTdNdMSol','o8o3WPHpW7hdH8kotmoOWQNcRMldSmkouSkiWR0vW6FcU8kPWRW','WQ7dLrpdP8oQ','WQ0XFxOF','FmowgCkyW7i','WOaAWOiKja','W4pcS8k+WO/cNG','DCk/uSohWRm','sL0RW7pdKq','tezVaCkCWOFcULG','y8omWQjsW7lcTSkqnmoFWPxcOhJdTmoTESkgW4O1W53cHCoRWPZcHZ9VW6DhW5RcKtddHmkoCSkNo0pdGMBdKCkPW4FdP8k5b8oljCklCwS7uZPrDg/cLSkzW4bYWPSrWRpdSmorW7b0W7CBWOWTWRu','umk1tmotWP8','W7FdVGCGWQa','l2voW7y','rgzgW6nk','dCknWOKpW6RcSbv9','cmokW4W1mW','WPnHrW','tY4hevv+iSkXW6q/WR9gagjjWPXeWQuyj8oqdZJcRdPYgc3cL8kQWQG2WRHEWPRcOCo6WRT4WOXSWQbT','tvPzb8kTWOhcSfO','yu5KW45X','ASoOWRjpW5y','WPtcKdioWOy','EmooxvrQ','5P+X6k6n5lMo5yUN5AEL6lwgWQO','W7FdLruWWPK','WPj9rW','jv3cM3BdULi','j8oaW54Wiq','q8otW4JdPsTTeLy','kmkIcmoPhmoDyYtdIvZcLCoAcwGCcmkMs8oOchfWBZ4RWPndb0hcOCoUWPFcMa','FLKSwda','b8k5W5iGW6e','W7lcH0xcR8oaW5a','WPGnWP8','cCk3WRixW5a','W6SvrMno','hCoYemkIWR7dTCkpWQyYvbviwW','W77cJLBcRmonW5ywnCoCBYpdJCkqWRpcLaVdI8khWOvOmvhdQ1hdMJj4tWy/W5/cTqe','B8oRW7ldLcO','mSktW4O6W7q','ESkXxq','DCo4W5JcGq','nKTJW4RcUq','k8ogcCoXfq','W6ddJYxdTa','WOdcSa3dVq','F8ovhCkYW6G','WQvDumkHWQi','k29EW7FcLGf7','WRNdQGRdO8omWPrGgHxcMwv5oqG','W4RdRJy/WR8','vbFdIJKO','vSocW4VdOHz3a0FdT8kutIxdPmoMfeFdHtCifYf4WQhdQmo7xmkAW6ddGtVdMCkGW48','ALLypCku','WOadWOVdLmonswLev8keW7etba','ySoUWPJdIvqtbZ8rCNy','f3ntsv8','cmkwWQ81W4u','s8k9W7RdOq','yCowCLfj','ySobW57dVdf1d1y','WOWwDvmO','WP0PWOG3hu/dIq','FaFdMqWB','uvui','gmo2fCkIWQu','WRpcUbZcRtq','W7pcMedcRCoJ','WRKJWOKDge3dRmoYWOW','DmoaW4/cJ8oHd8k6','6l+T5yE36Asw6AkT5AAd6lwVW4K','W5ZcLSk/WQ/cHW','zSodqhDQ','WRaUWOetiq','ANjKh8ko','pxLvEw8','WQJcMYGzWQC','vaWqmNq','h8oNW5WqnG','W6JcMmku','peJcQSofjuC','a8otW6uCvW','jSkAW68LW70','xsxdJJW','d1NcTSoonW','t1SbtHhcHq','v0W4FIG','WRpcI1pcTSkb','W4ZdGt8SWP8','WRZcMf7cI8kvdW','kCkRWOxdLeBcO8olFW8odColWPW','CCk7tG','pgvzW6C','cghdNCoe','cM/dL8oKzmo9','WRBcNLu','uLGftX3cNa','WQJcKfZcM8kFea','yNeSW73dNq','web+g8kWWPRcNvldIMG','pmkyW5VcMs4','W7NdHrybWPXDgWPF','pmkpW5ixW44','WOhdSw/cSmog','c8o0dmkhWQ4','WPGhWPBdMmoQtG','oCkWW4tcNWi','deNcVCo6gehdUWe','zI4gkYpdNmoHWOCNWQ/dJmoKWQu','aNr6twy','sCoIa8kEW7NdGCoD','W6hdIXeEWQ1gfJziuSozlG','xeOFrHS','uv8btqRcGa','ie5wD0u','r8oHW73dJs4','mftcU8oKi0tdSXC','e8oJdCkSWQhdSSkAWQmhvsnBuJ5cE8ozdCk4','lSoFW4pcNtFdI8kz','DCkXxSoN','gfzxEvu','emk9W5q3W6xdUCk/','rSoZa8kkWQlcMSktWQiJW7i0eGhdOSkNvIFcQSkkySkFW6y/DNldSuFcJ8opWReCESkRBWi','6lwF5lUWvoAwTEMeMo++Gq','gN3dQa','DCkXt8oSxq','lCkVh8o2qSkx','k8kSW7TGlc4DAmo1WRldJLldTSkunx/dMWxdIWlcQWS','FrFdQGCw','wmoHzg16','AwO3W47dVCkc','u8o2W7FdHsO','iSkqoY4QW7FdGmoExSoziw/dVq','jgvyzNlcOSkWWOWd','ErZdKG','bmodfwVcU0ZdMNK','DWddGcJcOa','nf5tW4pcJq'],...(function(){return['rmoHuCoD','WOlcQG3dU2RdJmkwx8oOW7G','kdHHWPZcO8owywauWOGaiSoS','AmoxWRLjW6JdQq','ymk/tmo8WO3dVmkbWQHuWOS','EaddKG','umoqW7FcSIa','W4BcUSkWWPtcLG','WOK4WPqFh0/dJ8oqW4C','z8oxWQjwW6tdVSogs8omWOZcQJm','WR5eC8kLWRa','EaddKGpcPHe','W4xcRYZdKSk6WQyAW4ZcQu/dUa','eCkfWOqaW4VcVa','FCo/W6tcSSoF','WRlcMxxcOMddL13dK8kNWPf1','W5aJtx51','f25uxL0','WRZdQbVdUmoPWPH1gHNcHhiyjHBdS8kUWR/cTfxcR2xdPmo6W6VdPmkKW5Sfk8kZW6a7WRu','jNjbChBcJCk8','WPJdOG3dOSoX','WOhcJtpdGLe','WRaiWRKYngRdS8oX','A8o1oCkkW5C','m8omW4SoaCo7WQGCbx9FWRr+DLRcOmobEeC','DMSarrK','aSoHc8k2WRi','WOFcNJutWPC','W7iwqNHd','phHdW6NcKJLZW7Dj','DCkFW5NdJCkp','amklWO4b','h8oaW4uog8o+WR1AvsiWW6q6FN7cRSobze/dHSo/W4tdH1BdMbyyugqYDWdcTmkUECo/lCkAWQRdSSkEW7hcLCkzWQX2FxisCcJcRCkOxCocxSo/WQlcRY7cG8k2WOBcKmkjFCozFHzZWPy2rmowttxcLKr8g0X4W6NcMCooWORdQbddNmo8W49nW7X4WQTumCorWQeUemoaWReaESkWv8kxECkZdmkAW7hcLSopvbG3j8k5WQXDgCkAmmoRBCkwWRNdVSovW7ZdGmkAW7tcGCo8W5fAAeBcTCoeWOfsAJtcGCofxu7dHSkNE8ogsq','xSkNW7pcRa','F8o1oSkdW4K','w8oDW5W','aSkgjmopvG','W6ZcKw3cG8o9','hSoVhG','kMzfW7ZcHq','W7ddIcddOZxdQh/dTmkf','W5xdR1BcRcBcKColbCo4W53cQuznuW','nvxcVW','sSkUW7ZdJCkVW4G','WRVcNHFcMIa','WOJcSbFdRhVdL8kayCotW7xcVwy','WR4fWOSZeG','WQFcRapcIWu','zCkQsmoRr8oiEHzj','hmo9gfFcPa','g8k9W440W7ddPq','rSo7v8oBkG','sCkZW5BdLmkF','W43cJLhcUmot','WRtcSqtcHsO','bmkCWQKLW6y','s2WVW4hdNq','kgTEW7i','5B6F5AAO5PEq6zs0776+','q8oMa8kzW7a','gmoRWR3cSmoTW47dV3BcIvNcSa','6l+n5yA76AAS6Ao35Asy6lAkpW','v8ogW4tcTSoa','mftcVmoTlG','j8oQW70+DIu3CCkUWRRdQJZdICkkdM3dNeFdNYhcSHhdJxzDgSoShIJdIayXxa','44gq5OYg56wg44kirCkDiYZdJ13LTilLP4xMLkO','m8kIdSoWsmkv','wSoMbmkrW4ZdJmomWQq','deJdGSoeDW','W6/cLmklWPFcHG','6l+15yEI6AEH6Akp5AAP6lAqWPa','vu4BwG3dKSoHxq1HiH8evmoWWOHAnxfdWOSBW5D4BSkaWOb2W6/dN1ZdKCoWACkvzSoVW71/lsVcJ8oZluXaDmkBWO8wWQvKC8orW6fJECo7vSkVcCobgSkvdhddImkWCc7dQL41WPlcQ2/cJCo2mfrlh1VdOspcL8ofz1aQW5tcTmkNW4FcPZDVW5tdO3vTWQNcMcCmD8oAw30rWPBdI8kUdKZcUmoBW68FW6THwutcGWWDmN4ChSohr8kDWQRcJCokW6VdPbVdJmkNBJucWPGyuWmVbSooWPBcGKVdNvrhW6/cQCkOW4ZdSSo1c8k/W7/dVSo+F8oXe8o4W7VcN8kDftVcTvmulmoK','hmoHfmkG','W4GGyG','WRlcKehcUSkEgq','ySkfrYRdHX/cHc7cJI3cR8oUFLa','qrfdW5f9uSk3W4xdVL98WRPmoSkVWQRcQWngW58viW','W7ZcKvpcRSoq','dMyxm2jwlSkfW6OTW6T5ra','o2TdW6C','WOlcLHFdOgO','WPpcI2HhuG','rCoMW7lcSCoClCkmWR7cNG','W53cSCk/WRhcGa','WQRcG1VcHCkvkZX7W5Tw','BqJdHG/cMW','z8oDWPntW5y','F2OTW4S','5P256i2G5y265yUk5Psu5OYxFoIUHUMgMUAwSUI/OEIJIG','d3pdVSooCSoQ','WONLV7pLIiZLJ6BNOzhMS7RMGlhcTCob','wmoqEmoBfG','c3FdH8kBhG','wIiXgfn4kmoBW7uCW7aLgGnEW6mOW60WgSoRDW','ohHfAhlcNmkGWQ8fWO7dJSoy','WQpcQuJcMCkH','WOmmxM40','pufjW6xcGq','W6tdRtmZWRW','AmoSW5FcLWFdOCkAuJK','WO7cGbuVWOW','y8o8W5/cLJO','wSo9W6FcNCoaoa','y8omWQjsW7lcTSkqnmoFWPxcOhJdTmoTESkgW4O1W53cHCoRWPZcHZ9V','W47cHCk7WR7cMa','5A2r5OQi5lQq5yI1WQZOJyZLVOpKUA7LVzdLPR3LIktVVk0','W7NcU2JcJCoj','DSoCW5NcTJW','ymkars3dJrNcHsJcNWRcLCo5A2i','nSkyW5NcVHW','W7lcQf/cQSoQ','ffhcLSoIoW','WQJcGWuuWRi','mmk/W43cIcun','vmoDW47dOaS','lSkVW74M','WOZcKdm4WO0t','WQWBWOddJmo8','WQxdObpdRmo4WOnSfGJcK2rpnb3dPmk4W6VdRfNcSG','WP7dT3G','WRxcHKFcICkD','WOdcVHFdUq','vmoNWRXgW6dcSq','gxZdRmkFbLyq','a3hcGIbE','tCohwSogba','qu5+W4TSFmoXW4VcJq','WRVcQsJcQq','WOlcRvHx','CSk3uCo+WRJdVCkHWQrcWODKkG','nSkLW57cTXCE','D8kycG','WRxdTd3dNSo1','WPRdRgVcKSo4W71VWRRcQWldNwRcPwRcRu4CygKRCJ7cTchdQCo5kSoIFSoIW6jjpNVdPZnZBCo5W6hdT2/dK3NcPmk0kSkMbYDrfKHkECkQv0JdUSolW45EWR3dHmkstSoSb8k/W61KoWhdMmk3WOddPwBdGM9JW4azbKlcP1zUWQu/ue8PW5xcG1nJWQRcMemEE2CbzLtcQmkCv8oxW63dT8oHBmoeWO43WPtdNmkhWPSlWRawrmkJWPNcLCkwWOVdHmkyW5pcLCorW75qWRtcN0WWqr/cKZW4W5DoWONdTgmlsWGLh8kvAsXkWO9eDSkUemonWOKmWQRcSWRcMSorW59wWP1xWQ18lKZdVW','pmoaW4Gegmo8WQGCdNLL','FSo3W4m','w1mdxHVcMG','D3bwW7Hp','W5aNyey','ngZcN8oKoa','W7pcKue','BN8/WPi','bw/dNCkpjCk5WOPlW5yrFCkHCvCKq1dcJty','W5mGqhb/','Dej+W6TC','FSkUAmozWRW','y24ZW5JdMW','q8otW4JdPsX7f0hdVCkEDxJdOG','x15cimkl','juhdOSoSwW','ig9eW7tcGX0','gCk+W6uWW4K','W7FdGtldUHBdLgtdTmksWOLxWQO','WOhdRg3cI8oLWQaPW7pcUG','WRpcVW4/WRK','FIpdRWhcOq','A8kfbmk9rrOcW5im','WRf6CmkIWPW','WPr+nXS7o8kjq8outX0lyCojWOFcNrPxWQFcTCobWOVdJmk0FdScDKBcRmo7W7BcT8oDlNreW4OTWR8UW4lcJ8obWOVcTSovWQBdPGGddSo0bCknbhy/W6Saemkb','vKDJfmk2WOBcV1hdVN/dGK/cKW','5P2D6i2V5y225yMJ5PE05O+JW7lOR6hPH7RML4VOV7BOOlO','DCkPWRvKlN9IzmkMWRtdVv7dOW','WONcNJCBWOy','dCkjW6qrW4m','WPz2mH87pmkhdmk8pH0Wqa','vsVdJIK1W4ZcTHZcSYqHWPa','WOJcHrKLWRq','hhZdUSk/','5P6N6iYt5y6Z5yMA5PA45O2Aq+IUKEMhT+AwI+I9QUIGHW','W7pcKuhcHCowW4C','c8oaW4KthW','6l+D5yAZ6AA06AoG5AEp6lAXW6m','ixnjW7ZcKXa','6lYX5ysA6AAf6AgO5Awj6lwDla','oSo4f07cTa','wLPUfSklWPhcRLG','BSoEzSowbW','pmooW5ic','dvNcJJ9Jb2dcHhtdL8kW','xuDRbmktWOFcQKNdI3/dKMlcG0S','zKrIW4m','pCoFf1ZcH18','yCoDhCkZW44','DSoJu8o4jG','WOCmDa'];}())];}())];}());iiiiiIIi=function(){return i11lIIl;};return iiiiiIIi();};function IlllI1i1(l1IiiIil){const iIiii1i1=illi11Il;return l1IiiIil[iIiii1i1(0x152,'6oqM')](il1il111=>{return[null,il1il111];})[iIiii1i1(0x18a,'t5YQ')](l1Iil1l1=>[l1Iil1l1]);}function i1ii11i(IiIi11II,IiI1lIII={}){const Illiilii=illi11Il,i1Ilil11={'dnRJE':function(I1IlI1Il,lI11lII){return I1IlI1Il===lI11lII;},'iFAjS':function(I11I1iIl,Il1IiIi){return I11I1iIl+Il1IiIi;},'MHcwA':function(il111iiI,ll1liIi){return il111iiI+ll1liIi;}};let l1I11Ill=[],IllI1iI=IiI1lIII[Illiilii(0x22e,'Ta*V')]||'&',illIIl1l=Object['keys'](IiIi11II);if(IiI1lIII['sort'])illIIl1l=illIIl1l[Illiilii(0x1ea,'#Y!T')]();for(let l1lIIi1 of illIIl1l){let IIliIii1=IiIi11II[l1lIIi1];if(IIliIii1&&i1Ilil11[Illiilii(0x264,'UNi8')](typeof IIliIii1,Illiilii(0x9e,'jDQC')))IIliIii1=JSON[Illiilii(0x161,'dn)a')](IIliIii1);if(IIliIii1&&IiI1lIII['encode'])IIliIii1=encodeURIComponent(IIliIii1);l1I11Ill['push'](i1Ilil11['iFAjS'](i1Ilil11[Illiilii(0x2b9,'6N#v')](l1lIIi1,'='),IIliIii1));}return l1I11Ill[Illiilii(0x23b,'I3Q$')](IllI1iI);}async function lliIii1i(){const IiliII1l=illi11Il,iIlli1ii={'qQEYd':IiliII1l(0x166,'6oqM'),'ECcQK':function(ill11li,i1llIlli){return ill11li+i1llIlli;},'oWYst':'base64','XUOQr':IiliII1l(0x229,'&tdb')};for(var i1lIii11='',l1llIIli=iIlli1ii['qQEYd'],IIIIIIl1=0x0;IIIIIIl1<0x10;IIIIIIl1++){var i1l1=Math[IiliII1l(0xfb,'4]da')](Math['random']()*(l1llIIli[IiliII1l(0xaf,'jDQC')]-0x1));i1lIii11+=l1llIIli[IiliII1l(0x12b,'@A9s')](i1l1,iIlli1ii[IiliII1l(0x2aa,'*I7s')](i1l1,0x1));}return uuid=Buffer[IiliII1l(0x22d,'q20t')](i1lIii11,IiliII1l(0x155,'$8K1'))[IiliII1l(0x1fb,'x$nR')](iIlli1ii['oWYst']),ep=encodeURIComponent(JSON[IiliII1l(0xf8,'!i]f')]({'hdid':'JM9F1ywUPwflvMIpYPok0tt5k9kW4ArJEU3lfLhxBqw=','ts':new Date()['getTime'](),'ridx':-0x1,'cipher':{'sv':iIlli1ii['XUOQr'],'ud':uuid,'iad':''},'ciphertype':0x5,'version':'1.0.3','appname':IiliII1l(0x156,'%cx3')})),'jdapp;iPhone;12.0.1;;;M/5.0;appBuild/168684;jdSupportDarkMode/0;ef/1;ep/'+ep+IiliII1l(0x25d,'cki*');}function I1lIIlI1(i1I111l1=illi11Il(0x13e,'hH(M')){const lill1I1i=illi11Il,I1I1iIII={'SGnlQ':function(l1lIliIi,iI1lIi1l){return l1lIliIi*iI1lIi1l;},'xudMh':function(IiIill1,iiIII111){return IiIill1==iiIII111;},'ESaSJ':function(il1I1Iii,llIll1i1){return il1I1Iii&llIll1i1;}};return i1I111l1[lill1I1i(0xdb,'q20t')](/[xy]/g,function(iIIIi1ll){const iiIiiI1=lill1I1i;var IlliIi1l=I1I1iIII[iiIiiI1(0x2b5,'Ta*V')](Math[iiIiiI1(0x1b7,'NgGD')](),0xa)|0x0,llI1lllI=I1I1iIII['xudMh'](iIIIi1ll,'x')?IlliIi1l:I1I1iIII[iiIiiI1(0x192,'I!eF')](IlliIi1l,0x3)|0x8;return jdaid=llI1lllI[iiIiiI1(0x267,'6N#v')](),jdaid;});}function IlIl1iII(IilIiI1I){const IlIii111=illi11Il,I1i11l1I={'JrHev':function(iIlilIll,il1llI1l){return iIlilIll||il1llI1l;},'dgnCl':IlIii111(0x1bf,'#Y!T'),'izaIq':'❖\x20准备就绪...\x0a','hrtPR':IlIii111(0x1fc,')lr4'),'TPSRy':function(IiIIli11,ilIi1IIl){return IiIIli11===ilIi1IIl;},'zcvxQ':'PrClQ','DTLsC':function(iliiil11,lI1IIi1i){return iliiil11!==lI1IIi1i;},'vaKiu':IlIii111(0x26d,'ebsk'),'dLSeL':IlIii111(0x120,'2v!7')};return new Promise(i1I1iIII=>{const lliiI=IlIii111,I1i1I1l1={'mVyjN':function(illIlli1,ilIlllll){const lIl1lIll=ii111llI;return I1i11l1I[lIl1lIll(0x130,')lr4')](illIlli1,ilIlllll);},'QVrYC':function(lI111ii1,ilIliill){return lI111ii1<ilIliill;},'jghef':function(I11I1II,i111I1I){return I11I1II*i111I1I;},'qsDTt':lliiI(0x239,'p#m^'),'jHrea':I1i11l1I['dgnCl'],'LBuyZ':I1i11l1I[lliiI(0x95,'@aQK')],'dCbVG':lliiI(0xe4,'6oqM'),'eSczP':I1i11l1I['hrtPR'],'dDLKU':function(IIilIIli,IlI1lllI){const Iill1l1=lliiI;return I1i11l1I[Iill1l1(0x19f,'tZP#')](IIilIIli,IlI1lllI);},'EIhNH':lliiI(0x24d,'dn)a'),'mVGln':I1i11l1I['zcvxQ'],'CJxql':function(i1ilII,iilii11){const lilIi1ii=lliiI;return I1i11l1I[lilIi1ii(0x1bc,'$8K1')](i1ilII,iilii11);},'cKGPQ':I1i11l1I[lliiI(0x2b3,'UNi8')],'yqAxg':I1i11l1I[lliiI(0x144,'NgGD')]},ll1iIIll={'url':''+IilIiI1I,'timeout':0x2710,'headers':{'User-Agent':lliiI(0xe8,'6N#v')}};$[lliiI(0x269,'#Y!T')](ll1iIIll,async(illlll11,i11ii1li,iI11III)=>{const l11i1lll=lliiI,liIl1l1I={'PPdzN':function(II1iIIli,llI11lII){const i11i1iI1=ii111llI;return I1i1I1l1[i11i1iI1(0x136,'#7Zl')](II1iIIli,llI11lII);},'urNAD':function(IiiI,lIl1lIIi){const IilI1IIi=ii111llI;return I1i1I1l1[IilI1IIi(0x272,'$8K1')](IiiI,lIl1lIIi);},'oSWnB':function(I1iii1Il,I11llI1i){const li1ilIi1=ii111llI;return I1i1I1l1[li1ilIi1(0xa8,'2v!7')](I1iii1Il,I11llI1i);},'Ffagv':I1i1I1l1[l11i1lll(0x203,'#Y!T')],'EKvIq':I1i1I1l1[l11i1lll(0x10c,'%cx3')],'ohOqa':l11i1lll(0x1f3,'6N#v'),'NUhbG':'C0RqxK5D7f4eBBoiC405mA','zZbJh':I1i1I1l1['LBuyZ']};try{if(I1i1I1l1[l11i1lll(0x223,'cki*')]!==I1i1I1l1['eSczP']){if(illlll11){}else{if(I1i1I1l1[l11i1lll(0xc1,'$i9P')](I1i1I1l1[l11i1lll(0x197,'RB!M')],I1i1I1l1[l11i1lll(0x8f,'p#m^')]))iI11III?I1i1I1l1[l11i1lll(0x153,'(%DV')]===I1i1I1l1[l11i1lll(0x206,'%cx3')]?iI11III=JSON['parse'](iI11III):IIliIi1i[l11i1lll(0x171,'#7Zl')](Ill1lii1,i11llli1):I1i1I1l1['CJxql'](I1i1I1l1['cKGPQ'],l11i1lll(0x12c,'L#%C'))?console['log'](I1i1I1l1['yqAxg']):iI11iI1[l11i1lll(0x12e,'[Dw8')](lII1l1lI,iil1i111);else{i1i1iliI=liIl1l1I[l11i1lll(0x245,'QlXo')](I11IiliI,0x20);let ilI1lli1='abcdef0123456789',l1i1ili1=ilI1lli1[l11i1lll(0x18c,'I!eF')],ll1I1I1I='';for(iIi1i1il=0x0;liIl1l1I['urNAD'](IiliilIl,Illi1IIi);lIliIIli++)ll1I1I1I+=ilI1lli1['charAt'](iIi11lll['floor'](liIl1l1I[l11i1lll(0x1a7,'ebsk')](liliIl11['random'](),l1i1ili1)));return ll1I1I1I;}}}else{let I11l1iII=[l11i1lll(0x26b,')th0'),liIl1l1I['Ffagv'],liIl1l1I['EKvIq'],liIl1l1I[l11i1lll(0x25b,'k@qU')],liIl1l1I[l11i1lll(0x193,'m[C1')]];i1IIiii[l11i1lll(0x1fd,'t5YQ')]=I11l1iII[lIliI1lI(0x0,I11l1iII['length'])],liiIIlli['log'](liIl1l1I[l11i1lll(0x276,'gIK*')]);}}catch(lIl11IiI){$[l11i1lll(0x9c,'%cx3')](lIl11IiI,i11ii1li),iI11III=null;}finally{i1I1iIII(iI11III);}});});}function i11lIII1(l1liilll,i1IIlIl1){const iilII1iI=illi11Il,I1l1l11I={'WnZFu':function(llllIi1I,IIIiiiI1){return llllIi1I+IIIiiiI1;},'rmqUl':function(Il1i11ll,liil1IiI){return Il1i11ll*liil1IiI;},'DSPZF':function(i1Ill11l,Iiili1iI){return i1Ill11l-Iiili1iI;}};return I1l1l11I[iilII1iI(0x1df,')lr4')](Math[iilII1iI(0xef,'k@qU')](I1l1l11I[iilII1iI(0x19b,'4]da')](Math['random'](),I1l1l11I[iilII1iI(0xbe,'*I7s')](i1IIlIl1,l1liilll))),l1liilll);}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) }