faker3/jd_duojin_help.js
2024-07-26 11:44:36 +08:00

18 lines
48 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.

/*
链接https://pro.m.jd.com/mall/active/3pdfN7oPzb6if7pB8N8dMr4dV2ys/index.html
环境变量:
JD_PDD3_InviterId // 指定助力码 非必须,不填默认助力账号一
JD_PDD3_NUM // 指定人数 非必须,不填默认跑全部账号
cron:0 0,14 * * * jd_duojin_help.js
*/
const $ = new Env('夺金刮刮乐助力');
var il='jsjiami.com.v7';const l1IIlIl1=liIIli1i;(function(Illl11ii,IiIlllI,Iil11lI1,ill1Iii,Ili1l1i1,lIiillll,i1ll1lI1){return Illl11ii=Illl11ii>>0x7,lIiillll='hs',i1ll1lI1='hs',function(l1111I1,IIi1llI1,i1iII1i1,lilI11II,lIi1i11){const l1liIi11=liIIli1i;lilI11II='tfi',lIiillll=lilI11II+lIiillll,lIi1i11='up',i1ll1lI1+=lIi1i11,lIiillll=i1iII1i1(lIiillll),i1ll1lI1=i1iII1i1(i1ll1lI1),i1iII1i1=0x0;const i1lIiIil=l1111I1();while(!![]&&--ill1Iii+IIi1llI1){try{lilI11II=parseInt(l1liIi11(0x199,'yjg)'))/0x1+-parseInt(l1liIi11(0x121,'e^45'))/0x2*(parseInt(l1liIi11(0x1c3,'wPy&'))/0x3)+-parseInt(l1liIi11(0x1e8,'xZ)z'))/0x4+parseInt(l1liIi11(0x154,'CB9E'))/0x5+-parseInt(l1liIi11(0x133,'J*qd'))/0x6+parseInt(l1liIi11(0x1b2,'!dS5'))/0x7*(parseInt(l1liIi11(0x106,'Z9JL'))/0x8)+parseInt(l1liIi11(0x147,'BW4@'))/0x9;}catch(ii11IiIl){lilI11II=i1iII1i1;}finally{lIi1i11=i1lIiIil[lIiillll]();if(Illl11ii<=ill1Iii)i1iII1i1?Ili1l1i1?lilI11II=lIi1i11:Ili1l1i1=lIi1i11:i1iII1i1=lIi1i11;else{if(i1iII1i1==Ili1l1i1['replace'](/[nuMQSPqYWIBDXHGgKUOAe=]/g,'')){if(lilI11II===IIi1llI1){i1lIiIil['un'+lIiillll](lIi1i11);break;}i1lIiIil[i1ll1lI1](lIi1i11);}}}}}(Iil11lI1,IiIlllI,function(ll1l1lll,i11liI1,Ii1I1i1I,Il11iI1I,ii1i1I1i,IIIlil1i,l1IIlllI){return i11liI1='\x73\x70\x6c\x69\x74',ll1l1lll=arguments[0x0],ll1l1lll=ll1l1lll[i11liI1](''),Ii1I1i1I='\x72\x65\x76\x65\x72\x73\x65',ll1l1lll=ll1l1lll[Ii1I1i1I]('\x76'),Il11iI1I='\x6a\x6f\x69\x6e',(0x17ad72,ll1l1lll[Il11iI1I](''));});}(0x5e00,0xdbe40,lIli1l1,0xbe),lIli1l1)&&(il=0x880);const notify=require(l1IIlIl1(0x245,'ISIg')),jdCookie=require(l1IIlIl1(0x10f,'cAkq')),common=require(l1IIlIl1(0x193,'dB70')),{H5st}=require(l1IIlIl1(0x1de,'e^45')),isNotify=process[l1IIlIl1(0x224,'*9*x')][l1IIlIl1(0x1d5,'3u^7')]==='true',pddcode=process['env'][l1IIlIl1(0x1ad,'wPy&')]||'',pddnum=process[l1IIlIl1(0xe1,'hD28')][l1IIlIl1(0x20d,'ffpa')],linkId=l1IIlIl1(0x13c,'CB9E'),PDD_WAIT='1';let waitTimes=parseInt(PDD_WAIT)*0x3e8;$[l1IIlIl1(0x20a,'hD28')]=0x0,$[l1IIlIl1(0x113,'!dS5')]=![];let cookie='';const cookiesArr=Object[l1IIlIl1(0x15c,'cAkq')](jdCookie)[l1IIlIl1(0x1a6,'i1uc')](liIIi1l1=>jdCookie[liIIi1l1])['filter'](lIII1l1l=>lIII1l1l);!cookiesArr[0x0]&&($[l1IIlIl1(0x1d1,'Ig)8')]($[l1IIlIl1(0x12f,'Ho[T')],l1IIlIl1(0x149,'LcS$')),process[l1IIlIl1(0x19b,'Hm36')](0x1));!(async()=>{const IiIilII1=l1IIlIl1,ii1Ii11i={'JetGZ':function(lii111li,lIlilii1,iIIl1Iil){return lii111li(lIlilii1,iIIl1Iil);},'kPSuh':IiIilII1(0xde,'dB70'),'pQwUr':function(li11l11I,i1IllIiI){return li11l11I<i1IllIiI;},'obLja':function(i11III11,Iil1illl){return i11III11+Iil1illl;},'aUXuN':function(i1ilIlIl,Ill1IiIl){return i1ilIlIl(Ill1IiIl);},'LPfnN':function(IiiIli1i){return IiiIli1i();},'IPOzX':function(l1ill1l,lllI1i){return l1ill1l+lllI1i;},'tOURT':function(iiI1llli,llII1IiI){return iiI1llli+llII1IiI;},'jtQKm':function(iIlII1II,Il1illIi){return iIlII1II*Il1illIi;},'TWPWd':function(lIlili,liIllIli,II1iiIi1){return lIlili(liIllIli,II1iiIi1);}};authorCodeList=await getAuthorCodeList(IiIilII1(0x15e,'*QbD'));authorCodeList?(console[IiIilII1(0xfb,'#PP4')]('❖\x20测试连通性中...\x0a❖\x20服务状态正常...\x0a'),$['authorCode']=authorCodeList[ii1Ii11i['JetGZ'](random,0x0,authorCodeList[IiIilII1(0x181,'dR$H')])]):console[IiIilII1(0x186,'Z9JL')](ii1Ii11i['kPSuh']);if(pddnum)console[IiIilII1(0x163,'d5f3')](IiIilII1(0x22f,'*pfd')+pddnum+']');pddcode?console[IiIilII1(0x243,'EudE')]('❖\x20已填写指定助力变量开始助力\x20['+pddcode+']'):console['log']('❖\x20未填写指定助力变量开始助力账号[1]');notify[IiIilII1(0x23b,'hM94')]({'title':$['name']});for(let l1llI1l1=0x0;ii1Ii11i[IiIilII1(0x112,'#hx0')](l1llI1l1,cookiesArr[IiIilII1(0x1ee,'#hx0')]);l1llI1l1++){$['index']=ii1Ii11i[IiIilII1(0xdd,'1!4p')](l1llI1l1,0x1),cookie=cookiesArr[l1llI1l1],common[IiIilII1(0x104,'wPy&')](cookie),$[IiIilII1(0x195,'#PP4')]=ii1Ii11i[IiIilII1(0x142,'BW4@')](decodeURIComponent,common[IiIilII1(0x261,'!3Q4')](cookie,IiIilII1(0x18c,'CB9E'))),$['UA']=common[IiIilII1(0x240,'9B19')]($[IiIilII1(0x1cd,'*9*x')]),$['message']=notify[IiIilII1(0x262,'RlOf')]($[IiIilII1(0x132,'dR$H')],$[IiIilII1(0x25c,'*pfd')]),$[IiIilII1(0x24f,'hD28')]='',console[IiIilII1(0xf5,'u#so')](IiIilII1(0x1fe,'*9*x')+$[IiIilII1(0x1db,'J*qd')]+'】'+($[IiIilII1(0x14d,'u#so')]||$['UserName'])+IiIilII1(0x155,'!3Q4')),$['hash']=ii1Ii11i[IiIilII1(0x152,'Ig)8')](gen_jda_cookie),$[IiIilII1(0x244,'Z9JL')]=IiIilII1(0x13d,'i1uc')+$['hash'][IiIilII1(0x1a0,'cs$x')]+IiIilII1(0x136,'UpCN')+$[IiIilII1(0x252,'uz4w')][IiIilII1(0xe6,'Ig)8')]+';__jdc='+$[IiIilII1(0xf4,'*QbD')][IiIilII1(0x14f,'*pfd')]+IiIilII1(0x207,'h2Ex')+$[IiIilII1(0x164,'J*qd')][IiIilII1(0x16f,'*^vM')]+';;',$[IiIilII1(0x266,'Ig)8')]=ii1Ii11i[IiIilII1(0x184,'BW4@')](ii1Ii11i[IiIilII1(0x1cf,'Hm36')](new Date()[IiIilII1(0xb9,'&amJ')](),''),parseInt(ii1Ii11i['jtQKm'](0x7fffffff,Math[IiIilII1(0x12c,'IaKe')]()))),await ii1Ii11i['LPfnN'](Main),common[IiIilII1(0x177,'e^45')]();if($[IiIilII1(0xe9,'Z9JL')]||$['runEnd'])break;await $[IiIilII1(0x10b,'!^wD')](ii1Ii11i[IiIilII1(0x1a3,'CB9E')](parseInt,ii1Ii11i[IiIilII1(0xf2,'Z9JL')](waitTimes,0x1)+0x64,0xa));}isNotify&&notify['getMessage']()&&(notify['appendContent']('\x0a'),await notify['push']());})()[l1IIlIl1(0x176,'BW4@')](i11IIIli=>$[l1IIlIl1(0x267,'Z9JL')](i11IIIli))[l1IIlIl1(0x12b,'9B19')](()=>$[l1IIlIl1(0x161,'ISIg')]());async function Main(){const IIilIiI1=l1IIlIl1,l1i1I1i={'mxgqn':function(IIlI111i,lll111II){return IIlI111i*lll111II;},'DeYwJ':function(illIiIiI,IIIilIi1){return illIiIiI-IIIilIi1;},'xTyKr':function(llI1II1){return llI1II1();},'vTeCX':function(lIl1iii1,iIlIIlI){return lIl1iii1+iIlIIlI;},'IGSRB':function(iIIIi1li,ilii11i){return iIIIi1li*ilii11i;},'GhpKn':function(IIl11lil,lI1I1il1){return IIl11lil*lI1I1il1;},'MOHMd':IIilIiI1(0x14e,'UpCN'),'SCwuV':'tuiguang','dJLYa':IIilIiI1(0x18b,'jCon'),'fFKIN':function(illilll1,Ii1lilIi){return illilll1(Ii1lilIi);},'ADeEh':IIilIiI1(0x135,'3u^7'),'pquSW':IIilIiI1(0x21d,'yROr'),'gwjPx':function(llil1l1,il1li1i){return llil1l1===il1li1i;},'BaNXM':IIilIiI1(0x13f,'ISIg'),'KdpLV':'dmZsb','wttqR':IIilIiI1(0x1c9,'*^vM'),'ijdid':function(l1i1Iil,Ili111lI){return l1i1Iil(Ili111lI);},'XXXyU':function(IlllIIi,li1IIiII){return IlllIIi(li1IIiII);},'czbHr':'DMlFX','dqhpu':function(lI1l1llI,llll1li){return lI1l1llI==llll1li;},'acimM':function(ll1liI1l,IiI1IiI){return ll1liI1l!==IiI1IiI;},'eiyqr':'kqPcJ','ZPxLu':'IFVsi'};$[IIilIiI1(0x19c,'d5f3')]=!![];try{if(pddcode){if(l1i1I1i['pquSW']!==l1i1I1i[IIilIiI1(0x150,'jCon')]){I11ili1[IIilIiI1(0x23e,'IaKe')](IIilIiI1(0x105,'cs$x'));return;}else{if($['index']==0x1){if(l1i1I1i[IIilIiI1(0x109,'!^wD')](l1i1I1i[IIilIiI1(0xba,'!^wD')],l1i1I1i['KdpLV'])){const II1111Il='3';let ll1ii11I=iiIll11l['floor'](l1i1I1i[IIilIiI1(0x1cc,'&amJ')](0x8ca6bff,ii11il1l['random']()))[IIilIiI1(0x206,'wPy&')](),l1li1ilI=[...illi1IIi(0xc)][IIilIiI1(0x157,'yROr')](()=>l1iIiiII[IIilIiI1(0x191,'EudE')](lIIil[IIilIiI1(0x187,'RlOf')]()*0xa))[IIilIiI1(0x1dd,'Ho[T')](''),I1i1I1Il=l1i1I1i[IIilIiI1(0x21f,'d5f3')](l1i1I1i[IIilIiI1(0xc9,'dR$H')](I11iI1II),0x30d40),i11Iii1I=l1i1I1i['vTeCX'](I1i1I1Il,llllill[IIilIiI1(0x209,'Ho[T')](l1i1I1i[IIilIiI1(0xdf,'EudE')](li111ll[IIilIiI1(0x1bc,'ffpa')](),0x186a0))),iiii1l=i11Iii1I+Il1Ili11['floor'](l1i1I1i['IGSRB'](i1liI111['random'](),0x2710)),iiilI1il=I1i1I1Il+iilIlIlI[IIilIiI1(0x18f,'#hx0')](l1i1I1i['GhpKn'](II1iliII[IIilIiI1(0x143,'wPy&')](),0x186a0)),li11l11i=[ll1ii11I,''+I1i1I1Il+l1li1ilI,I1i1I1Il[IIilIiI1(0x116,'cAkq')](),i11Iii1I[IIilIiI1(0x1b0,'ffpa')](),iiii1l[IIilIiI1(0x22e,'*^vM')](),II1111Il][IIilIiI1(0xc8,'wPy&')]('.'),i11ilill=[ll1ii11I,l1li1ilI[IIilIiI1(0x211,'e^45')](-0x2),''+I1i1I1Il+l1li1ilI+'|'+II1111Il,iiii1l[IIilIiI1(0x204,'e^45')]()]['join']('.'),llIIliii=ll1ii11I,Il1i11l=[ll1ii11I,l1i1I1i['MOHMd'],'t_1003649902_',l1i1I1i[IIilIiI1(0x1cb,'xZ)z')],l1i1I1i[IIilIiI1(0x20b,'Ig)8')],iiilI1il[IIilIiI1(0x170,'3u^7')]()],l1IiI1il=l1i1I1i[IIilIiI1(0xf8,'&amJ')](i1IlI1ll,Il1i11l[IIilIiI1(0xd0,'dB70')]('|'));return{'jda':li11l11i,'jdb':i11ilill,'jdc':llIIliii,'jdv':l1IiI1il};}else console['log'](l1i1I1i['wttqR']),await l1i1I1i[IIilIiI1(0x103,'dB70')](inviteFissionhelp,$[IIilIiI1(0x253,'cAkq')]);}else await l1i1I1i[IIilIiI1(0x1eb,'ffpa')](inviteFissionhelp,pddcode);}}else{if(l1i1I1i['gwjPx']('FYFCE',l1i1I1i[IIilIiI1(0xec,'jCon')])){iiI1Ii['shareinviter']=ilii1Il[IIilIiI1(0xfa,'u#so')]?.['inviter'];const lll1IiIl=new l1I111Il()[IIilIiI1(0xc2,'uz4w')](),lliil11=iIIiiIlI[IIilIiI1(0x127,'Ig)8')]?.['countDownTime']+lll1IiIl,iIII11li=iIll11i1[IIilIiI1(0xfe,'Z9JL')](l1i1I1i[IIilIiI1(0x114,'hD28')],lliil11);i1ll1ll1[IIilIiI1(0x259,'Ho[T')](IIilIiI1(0x165,'ISIg')+iIII11li+IIilIiI1(0x21c,'!dS5')+lIliI1[IIilIiI1(0x1a7,'LcS$')]);}else{if(l1i1I1i[IIilIiI1(0x1f9,'!3Q4')]($['index'],0x1)){console[IIilIiI1(0xd2,'yROr')](IIilIiI1(0x173,'IaKe')),await l1i1I1i[IIilIiI1(0x1af,'cs$x')](inviteFissionHome);if($[IIilIiI1(0x18a,'Ho[T')])return;await inviteFissionhelp($[IIilIiI1(0x13a,'uMeH')]);}else l1i1I1i['acimM'](l1i1I1i['eiyqr'],l1i1I1i[IIilIiI1(0x1f1,'!3Q4')])?await l1i1I1i[IIilIiI1(0xca,'cAkq')](inviteFissionhelp,$['shareinviter']):ilIIllil(iiiIlIi1);}}}catch(l11ilI11){console[IIilIiI1(0x1f4,'cAkq')](l11ilI11[IIilIiI1(0x1d6,'#hx0')]);}}async function inviteFissionHome(){const ilII1i1I=l1IIlIl1,iIIl1iIl={'GJeCE':function(IIIi11l,iiIli1){return IIIi11l(iiIli1);},'lxluA':ilII1i1I(0x1ae,'hM94'),'wKtmf':function(i1lIiiI1,iIIIIill){return i1lIiiI1+iIIIIill;},'ugyNa':function(l1iI1,il1i1IIl){return l1iI1*il1i1IIl;},'blfVJ':ilII1i1I(0xf1,'RlOf'),'MiIEC':function(Ill1II1l,iilil1li){return Ill1II1l+iilil1li;},'Pdrye':function(I1lIiiI1,I1IlI11l){return I1lIiiI1*I1IlI11l;},'NsoHm':function(II11i1Il,iII1lIll){return II11i1Il===iII1lIll;},'geeeS':ilII1i1I(0x1c2,'*^vM'),'ucITY':'tmVuR','yeLPG':function(lIiiI1iI,IiIlIII){return lIiiI1iI+IiIlIII;}};await iIIl1iIl['GJeCE'](sendRequest,iIIl1iIl[ilII1i1I(0x1c7,'azCg')]);if($[ilII1i1I(0x234,'!dS5')])return;await $[ilII1i1I(0x20c,'RlOf')](parseInt(iIIl1iIl['wKtmf'](iIIl1iIl[ilII1i1I(0x25a,'e^45')](waitTimes,0x1),0x64),0xa)),await iIIl1iIl[ilII1i1I(0x178,'azCg')](sendRequest,iIIl1iIl['blfVJ']),await $[ilII1i1I(0xd9,'ISIg')](parseInt(iIIl1iIl['MiIEC'](iIIl1iIl[ilII1i1I(0x1f5,'ffpa')](waitTimes,0x1),0x64),0xa));if($[ilII1i1I(0x254,'hD28')]?.[ilII1i1I(0x219,'3u^7')]){if(iIIl1iIl[ilII1i1I(0x185,'UpCN')](iIIl1iIl[ilII1i1I(0x251,'IaKe')],iIIl1iIl['ucITY']))Ilii1llI[ilII1i1I(0x21b,'ISIg')]=!![],IlliiilI[ilII1i1I(0x168,'cAkq')]&&llIIIIII[ilII1i1I(0xc5,'wPy&')]['fix'](IiIlii1l);else{$['shareinviter']=$[ilII1i1I(0xb1,'Hm36')]?.[ilII1i1I(0x18e,'1!4p')];const l11i11ll=new Date()['valueOf'](),iI1IIlII=iIIl1iIl[ilII1i1I(0x13e,'jCon')]($[ilII1i1I(0xbc,'CB9E')]?.[ilII1i1I(0xb8,'#hx0')],l11i11ll),l1I1il1i=$[ilII1i1I(0x231,'#PP4')]('yyyy-MM-dd\x20HH:mm:ss',iI1IIlII);console[ilII1i1I(0x148,'*QbD')](ilII1i1I(0x1e6,'hM94')+l1I1il1i+ilII1i1I(0x146,'D07a')+$['shareinviter']);}}else console['log'](ilII1i1I(0x15a,'cAkq')),$[ilII1i1I(0x216,'Ig)8')]=!![];}function lIli1l1(){const IIll1iI1=(function(){return[il,'SDjQKOsjAqineaIuSmXWDiMY.gcBUomGA.Gv7HPe==','mmklEq','W5fwWRS8WQe','W53dILZdLSoRWQXI','luGPWPFdRJPuWRHXWQxcPSkOuCoBw8oWcSkXWRa','W4XQjLFdPSoUdmojvCoquJygW4G','WRRcKComW4VcS8okba','WRlcQHX/WQ4c','p2y8pSozWOq','W78sF8k4iSoAyGNcVCoTWRZcJa','4PYijUAFIEIbQUAUU+EJOUwMSUErQmko','lte9BmoI','humwh8oyWO0','gsHmCq','WOeoWPFdSSkCp8kPe209fGNdNLqNWRG','WQhcRCoOW7pcNW','WPvhW7Gj','WPFcVfePBMNcSq','pxBdQY/cUSol','W5hcKSo5Da','nWxdIGxdQCkC','FSoytmoQWRm','4OYq77QNW5tLTlxLV77LKjhMT77LI6BVVzZLIjVMNQVMLOZPLlZVViq','jw88WPRdKa','WPnZW4tdK2KRW4CSuSo9W5mLuW','rXX4W7BdICkiWOi','W5XFimo7W6K','WObPW4PVW7q','hJtdK2iK','W48OWPtcRrm','WRVcKCorW5/cPSof','WOWbrSo+kG','W7r5l0VdLG','WRiarmobeG','4P6BW5tKURlOGyxOHlJLTzZLI4JLIO/OH5JLTBy','b1O9nCoF','W49SWQC','WOHvW6bVW4q','W7RdQqzmfW','E8oCymo0WPO5D8o4WOvpW4xdNmkIWQhdNmkef2uZ','4P+Ke+A1T+wiQ+EdO+EiOq','WOWHvmo9eG','adjgFfpcGxa','W7tdNh8','4PYrW5JMNltNNlRORARMSQRcLa','cmkis8kxW74','Cau5WQNdJSksW5NLVz7LPPBJG5RKUO/KUjFOTARLJRC','bYH2A0tcM21B','WOWXsmoS','aMuhWRBdTG','WRXqW6z3','WRlcHSonW7xcOCok','W5ToWRhdSSkhoSk0wW','WOxcNSkgB8owWQpdRaivW7O','mt9ofmkOW7BdRYq','W6uurCo4DGLf','pWtdNW','fsTkCeq','WRtcKcFcTe9wW7y','oCkYuSkgW7W','WQyolee','WPj1W41gW6vGWRPPoCo4W58','rLy4Dde','jxBcK8o7WRhdR8oxgSohiSoCeKzfx8k3FH9wiSkMEmoaW6SIqqXmW7W5WQzZhq','WRzxW4FdK8oA','W5XnWOVdPCkq','CEIVRUAZJUwLM+I3RCkz4PYGva','W6/cSh3dIW0','WRRcH8oy','W7JcVKhdIs8','l8knCmkAW7pcJa','WRVcM8oy','W5O3y8kocq','W69ad27dLSopta','W7FORipMS73LPONOT7FcJEkFVttML5lLKyRLUl/MLktMJOC','W6lcPJ4NWRvvaq','rUkpKE+5KSoE5yIX5yUi56cH77+l','w2WAysy','WOddH8kDWQK','W6jsqhiT','iJyH','gYjjB1JcH24','WRVcLmouqSkGW6u6','WRuKDmo1','h0fL','5P+B6i6r5y2A5yMy5PEP5OYMmEIVI+MfUUAxKoI9QUIHIW','WORcUSk4sSoE','WPbeW7nvW4i','nbVdLYFdQa','w2m0AryOwCkrW5tcVCkbWOCfWQO0wMxcSmka','W7pcGmo1xmok','WPzdW7GKW7G8Ee/dGYhdINDXiSktW67dMmkEcW','kgNcHa','W68cEmkfW6ObzW','mgNcSmoJWQRdPCoycq','4PYhoEw1VUwGGEwfKEAoVUwSPUs7JUAvL+wmGoMhU++8V+ApI+wSVos7JUAuH3hdOa','W6CxW5zXzSk1WR4','WQRcPH99','n3xdOWxcUG','WRxcNCofW7xcOCok','pL4ZWRVdTJC','zb5RW7RdOW','WQ7cLcxcOe5o','W4fDoSoQW7XcW6q','owaPWPBdUW','b2NcJCoJWR3dOSocq8o6nmocwa','WO7cMSofySkWjmkiWQq','WONdH8kAWQhcL1K','kIvPjSk2W77dPG','W6eWW7XlBq','pHJdNW','WPFcQKu','W4FdLGXnia','WPhcPmkyqCon','WQHtW6ZdNSof','W5D7WRe','WONcRvawzN3cOa','WQpdVd8vWRbyfCoBxZddHmk0W48VAfdcVHrYW7PNrSkYWPBdLmkCW4m','W6ZdULFcQCkyESoTWPlcNbRdOSoLWOe','WO7dISo7n8o7zSov','W4fsWOmtnW','WRNcHZNcQ1m','cbqjxCok','W6NcSJ4a','W4NdK2ZcQNS','hIzv','W6yDW4i','WRlcNcJcR29cW7zP','4P+5W5pLTB/LIRZLIlFOVlNKU7e','nrldNs3dIq','W6itW5zQ','W4j2WRqFkhH2WOhdMaq','WRxcMZ3cRvvgW51Lpau2WQJdSCoUWP/dTay','cXyZySo5','WOuJwW','W7GBC17dVeeQ','Fu4NuIC','hYHc','W5PgWPVdImku','W69+q1C9','bgRdQrJcHSoyW5er','W71hWQeYWQW','ewFcRSoTWQS','WR7cNxS/EG','W5/dTKW','WO81smoocmk0WO3cTsyDW53dIaZcKW','WRiDiftdU8kB'].concat((function(){return['W74DW7z2DCk7WRv2','me7cHSo8WPy','W7uzF8kdW7C','kmknD8k7','WPBcTKuFFxW','W5iNW59Ysa','WO/dGmoP','W4fDoSoQW7XcW5abACoEtSkVefLYBmkL','W41SWRC','nNZdUcldVCokW4G','W53cNuhdOHy','W6ZcPhVdKa','W5BdQ1NcI10V','WO48u8oIfq','WRtcM8okW5BcPSoPdMnCW5pdGJNcJa','WRtcLmomzSkNW70Y','W7hdUgxcNMm','fKb0','aJTRBCokwmktpfBcR8oEW6pdUCk5W5NcKLi','W4WDW710BW','WOe+sSoKe8k+WQdcTta4W5xdIXFcTdNdHSo3nNxdPIJcM8k7','umkYW5ZdR8oC','WRBcG8okF8k9W7C','WRBcPWi','W7WtW4L3ySkDWR0','o1XMW4hcQq','W47cLtW','kdvUe8k7W7JdPa','W7r8v209','W7NcVwddLXO','lZ90dG','WQjVW5JdJCoU','W7TBWPGoeG','W4PTWRyEm29ZWOFdJXi5WOhdUJJdIwCg','WR1dAmk1W5eFWQ0','md1esea','ntfVaCk3W6ZdHslcU0W','W5ldM1ZdRSkTW6u5WQGYkwvyxSoKW4aSW7aWqCktW7JcQSkkd8kiWOHWWO3dU8oNW71ejCku','WQuEuLC','h38nWO7dUW','ugKN','qIffW5RdHG','mWpdUh0','WO0ut1FdQW','WRLjBG','WPC6C8oAya','cJJdGwmJ','W7RcSImv','f0PGW7dcHCoFWPy','W4rEy0GueW','uCkVW7ldOCoc','C8oBwmosWPO','4P6zuEwhVEwKVUwYGUE7Qg5IWQrR','W5zSWRe6WQ0','mGNdTgnTj8kQW53dNIi','WRNcMZ0','W4bEyq','nYSRymo0pgNcRsG','W7hdMv3dKSkw','WOXpD8o0iW','n8kCFa','W6FdGCkpbSo5WQHNWQDrW7RcR2hcTW','W58VW5dcGde','WQRcNwyFywO','jcbTdmkZW7ZdOdFcPKlcQmomvcyEW4vNW5pdLmkKWRSEd8kMW6NdKeHibSoixcPh','4O2s77I8BoAEQEIbTEATHoEJUoIpN+wpJowkNEwkJUwjM+EHV++8NEMaNEwhU+AkP+IJHU+9GG','oHBdS1SY','W77dTLhcR0iKng/cRCkqftldVmkzWPZcOwnJW4GGWOCWWPddK2TNW5zXx8knmCkqpmk9smooW75ew2urW6BcOwZcJbeqqhjxkdhcG2FcImo0BIyHmmomW55zW6qqASokoIToWOugWPWMsX/dRGPSfKCvWQ4tW4RdNatdVaCdW4OAdCoHuumJf2fmnCoShdBdPxxcGmoXmSomW53dRCo/AvBdGG9vcCoef8oiWPZcKxxcJK3dGXSbWRBcR8oAWP5zD8opmKFdKatdMCkUWRT4W7KjfKldGdTiWRLzW5ng','WRlcVbhdQmoCDmo3W7lcLHddTCk5WRNcMCoHW61sWPdcKti','WR7cQrhdUq','WORdGmo9','WRGbm1ZdU8kBWRfrWPVcGgzNW4XYtmooWQK','WPdcRxmryG','iKb+W4FcLW','WOZcISkbBW','W6xcS3u','wrzU','WQ0yqxtdGgu','WRxcT8oZE8ka','WQ9AW7XgW7q','W6dcSMtdJqTXWR5DWRz4hmo8xurEnh0','WRlcObu','EavQ','bCkGsCkkW5m','WO7cSe8/','WR9jW5pdI8oVra','WRhcHIW','W77dQ2hdV8kN','bcXjENm','WQyBx1ddLW','nJvPi8k1W7ddQIRcQG','4P+2WO/LIOhLIixNO5/LP67MLz7VVOVORQtLHjhLJRFLVBBLKjZMLBRKUQROVkBMT6xLI7VLKkdLHBpOViFOOOxLK4hVVAC','W4VdQHbIpZFdRCoLW6RdVvtdI3RcTW','W7zqDKKu','s2O4ute','W5tdRKhcLLy','WRS5AmoFyrG','W4tdUelcSG','FXHUW4/cRMusWP9hWPpcUmkIuq','CSkqW57dH8oz','WOqIE8oKhG','WO0SWQOtbgvAWOxdLqq','W4RdJLRdV8kZWQXsW6yNoa','eN/dNWdcNa','WQFcPCoiW63cOa','hg8zWRVdTJC','WP3cSs7cGuK','W4xcNY8','W5DSWPmdnwnBWOK','W6DFdK7dTa','8kMlH8kX','oXNdJIhdRSkEAxfoW69oWQJdI10BwMC','4PY9DEA1LUIVKEI9OoMaP+AdSUs5UaVdSSkzWOBIN4hdKEAEU+wjNUEkGEAbOoATGow6GbDHeuS','W7ldVu3cKu8','W77cSSoGBmoB','nIrVcCk0W7JdQcxcTG','WRRcN8oow8k6W7urWRrGW6dcV1RcIbNcGc/cPW','bZP6','WONcNCohW7/dHW','WPWrWRBdV8kYcSkcCG','WR8qsvJdNNeelCo+aa','WQ5uW7ldSSoUsHHH','bhe3omoH','W7JdMeBcV1K','xXzGW43dOa','nmkwAmk2W6NcJCoYWOtdMg3dPmoadWNdK8kNBG','W5bnWRiDWPu','W5ZcNCo7FmoyWPSXWOD8iJBcJriFBmkSyG','W4f0WRqEba','W4BdMGX5dwPb','ibBdLIZdTCkw','W4KOWPO','4P+BW6/LVkhLIzxLIBpLI7hLT6NOVkVLI5dMJlZLRkVLIApLIBtKUBNMLjJVV5NPGABLHA7VV6K','hsziEG','A18bCbm','WR3cJCkZA8oW','WRnvW4xdO8oK','D2XQomkSBtlcHqlcMc0YWQK','W5v0WPe8mG','W79xah7cJ8oNC8k7F8oBbHCOWOSYBYtdMNm','WPNcPqtdQgxcVmoo','WQDKW44sW44','W79qWO8UWRy','W6PLlq','vaX9W6VdG8kjWRvdfmoC','W53cLW4KWRDq','wImLvSoXrmkDiX3cKmoVW5ZdPmoeWOpdHLGaqmouDW4','W6mIE8kOjSkj'].concat((function(){return['iaNdNumh','W6VcVXamWQ0','aLeF','bZL7uCo4','WRrZuCkKW7O','nZfZbmk1W7i','xrXLW7pdGSkoWPS','WQDtz8kuW5Oj','W7VIJ5ZVUOni5yIW5yUt56cC77YM','W6muo8oGWOnzW6VdQmk9W6/dLCoAeG','WOJcHmkv','44g/5O+Y56wc44gQ6k2a5yAO6i2y5yYljuuQW5KEW4a','ctXNsConwG','WOf+W6ryW4a','WQJcVqVdNCobkG','W6FcTxhdJZf1WPvr','W4NcLtxdPq','o33dRW','kr3dPeax','W6LgWQWoea','eCkOEmkXW5m','vdHIW5tdIq','x2uQmmkjbCoLl2FcTCooW5JdHG','W4j6fSkNtCoXW6W','hXZdLeSj','uwCW','hJrc','WRJcQHBdU8og','4O2z77ImW6dMNz3OGRRMRANNOzVOJzNLJARLIzhLI7NLIBxNOPxVVBZPGQBLH7dMIitOOlBVVO0','WRpdRCo5nCoM','W4HMWRKe','kt96','WOZcN8kgD8okW6VcGeieW69QdGCgo2D7WPlcKen6W7PreCkbCMHyDL7dK2ldM8kIDKdcI3erWO9zW7ddTCoWpCkQfCoPWORdJhxcMSkWvMWVjmkerG','WPWLvCoQeSk6WOJcUW','b0Cuc8ozWPxcGG','W6NcVcqe','pNVdQGZcJW','W4PyFG','ld4Qyq','4O2377UCAUw2K+w/MEwqM+A1NEwjNo+8GEwjPEAEUEAuP+MvL++9HG','W4TCkmoM','W6bcfMJdKa','W45MWRmejM1q','WRTbWPC6n8oRW6iJECk+wSkGnCki','W5zNWRe','W74TWPqYn8oHW60LjmobamoXlG','W5ThpSoQW6zaW78oyW','4PY5jUw8K+wjQowlNUwlH+w3JUI9NowkKoApU+wTQ+wjNUwlIos5TEAuTU+8PEMaJowePE+/RW','WQTeW7f1W4rxW7O','lMlcLq','W7jbkNpdKmodumoX','4P+Vi+wjQEwlRoEHHUwKU+AvVE+/OUs/OoIbPoADUUw/RUwsU+A1I+wiJU+8IW','CmowCW','4O6O77M4WPJOTA7LJA3cOb5f6BUL6kY45y6C5yMU5yI+5l2j6igX','W4/dSG51dG','WPL5W7vHW7e','WRzhFCkYW5W','W5PpWPhdO8kbemk1u1qXeq','WQhdPCo/emoB','W7mvFCkaW4G','W4VcLc3dQ3xcU8k1WRddMCkuWONcTNdcNLVcSSkb','4P68WOJLHllLP4dLS4/NU5tdQ2b+iq','W4WtySkBjq','W5mHASkeW5O','W5nSWPmfWQS','caddIWVdRq','eqvLvCo4','WRzEW4/dOCoOsW','W591WQiQ','WOKcq3ddLq','WPX2rSkRW6W','W6ZcIttdIMW','WPBcTKu','WQmok1hdOmkt','W5j6WQaIWRFdLmkyWOZdPCoQF1VcJ2RcU3uAz8k6WP3cHv8Z','urH9W6i','atjlwLJcLG','A1ZcOYn1CSkKWO3dJNbUWQBcU1XMWPNcLCkwW4O9W4VdQ8o2W4RdVvupWRr9BIK0','gYfcDmoxuW','WQJcLIvtWPC','DCoxySorWO8Oya','WRhcMmoqW5FcOa','4P2jc+wlTowjPEAkIowlJadcIG','W514WRKKWRe','W4hdNYL7fa','W6fEtK3dMM4Zy8oybbetntWEe8ohW60OxtzvFq','W7nSWReKWQS','WOVcVbDQWPqlDSoW','4P+kdUwlKowkNoEIO+AEGowHLEweJW','BxysCq4','WPldGmojj8oSFCoiW7m','iCo7WONcTSkhhfGyvSoGW6/dNG','W7hdIxZdUCkz','W41ljCo3','W4vwD1igaehcHsOoWR8','CIflW7ldIa','8lg4HaG','4PYzWPNLIR3LIkpMI6VLI5iYW5a','W5ddI0K','WQVdICo1hCoS','W498Axyp','pWjnu8oA','W6tcIXNdPhe','WR5AW5xdPW','W5eCyq','heOzcCosWONcGCkRd14GW4a','fI7dVJ7dKW','pb5sBLa','W5NcNmoQ','xmk5W77dP8oD','W5hcKv7dRaTGWOHMWQb6amo2qhG','dXrcmmkEW5VcSHZcHKpcSmkksJadW6iV','WOpdHSkcWQ7cILVcGYCJwmoDfCkMxh1gkIanmG5qW5e','W4ldU1hdLCkS','WQXEW4fIW5nnW6Dr','fxiakSoX','E0evWPNdLXbk','kda+','p0C0WP3dVq','WQldM8o2pCoV','WRxcOa7cOg8','lxSKWQNdTa','WPJcSfGxFgK','DmkLW5W','W6PHDK8n','W6FcM8o3xSoJ','WQPqW7XYW45j','WRrEW7u','f1y1lSoX','wgC0ra','WRNdVx0','WRNcHZNcIvje','j2NcMCo7WOe','D2aTumoIWQ3dSaVcRuFcTmkQ','dSk+F8ktW40','W552W6b8WQe','WPRdHCkIWRBcPW','WORdL8o2jSoF','WR7cV8opW4VcUG','4O6+77IjW4pOTRhLJk/dL8khm+M5TUIVQEwmIEwkLowkPEs8ToIaRq','kCkXBmkoW5W','W7yeWORcLGK','WR7cICoFq8kG','l1X2W7hcQSozWP47','eZ/dNZ/dIG','W5X8gCorW5W','WOpdHSkqWQlcHG'];}()));}()));}());lIli1l1=function(){return IIll1iI1;};return lIli1l1();};async function inviteFissionhelp(l11iill1){const iIIIllIi=l1IIlIl1,l1Il11ll={'MfoNr':iIIIllIi(0x17a,'UpCN')};$['inviter']=l11iill1,await sendRequest(l1Il11ll[iIIIllIi(0x1a1,'azCg')]);}function liIIli1i(_0x3f56ed,_0xc717f1){const _0x24afda=lIli1l1();return liIIli1i=function(_0x3d817d,_0x2da1fb){_0x3d817d=_0x3d817d-0xaf;let _0x2e69b1=_0x24afda[_0x3d817d];if(liIIli1i['qVwVpg']===undefined){var _0x1fc7c9=function(_0x408993){const _0x57b20e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3a9c37='',_0x5e25e3='';for(let _0x3ed61f=0x0,_0x56e5b1,_0x40161,_0x27674d=0x0;_0x40161=_0x408993['charAt'](_0x27674d++);~_0x40161&&(_0x56e5b1=_0x3ed61f%0x4?_0x56e5b1*0x40+_0x40161:_0x40161,_0x3ed61f++%0x4)?_0x3a9c37+=String['fromCharCode'](0xff&_0x56e5b1>>(-0x2*_0x3ed61f&0x6)):0x0){_0x40161=_0x57b20e['indexOf'](_0x40161);}for(let _0x17197f=0x0,_0x2ec7cf=_0x3a9c37['length'];_0x17197f<_0x2ec7cf;_0x17197f++){_0x5e25e3+='%'+('00'+_0x3a9c37['charCodeAt'](_0x17197f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5e25e3);};const _0x3d4889=function(_0x345be9,_0x3bbd9b){let _0x492d06=[],_0x46a0a8=0x0,_0x17bd3b,_0x2d15ea='';_0x345be9=_0x1fc7c9(_0x345be9);let _0x5cb2f9;for(_0x5cb2f9=0x0;_0x5cb2f9<0x100;_0x5cb2f9++){_0x492d06[_0x5cb2f9]=_0x5cb2f9;}for(_0x5cb2f9=0x0;_0x5cb2f9<0x100;_0x5cb2f9++){_0x46a0a8=(_0x46a0a8+_0x492d06[_0x5cb2f9]+_0x3bbd9b['charCodeAt'](_0x5cb2f9%_0x3bbd9b['length']))%0x100,_0x17bd3b=_0x492d06[_0x5cb2f9],_0x492d06[_0x5cb2f9]=_0x492d06[_0x46a0a8],_0x492d06[_0x46a0a8]=_0x17bd3b;}_0x5cb2f9=0x0,_0x46a0a8=0x0;for(let _0x51bc9d=0x0;_0x51bc9d<_0x345be9['length'];_0x51bc9d++){_0x5cb2f9=(_0x5cb2f9+0x1)%0x100,_0x46a0a8=(_0x46a0a8+_0x492d06[_0x5cb2f9])%0x100,_0x17bd3b=_0x492d06[_0x5cb2f9],_0x492d06[_0x5cb2f9]=_0x492d06[_0x46a0a8],_0x492d06[_0x46a0a8]=_0x17bd3b,_0x2d15ea+=String['fromCharCode'](_0x345be9['charCodeAt'](_0x51bc9d)^_0x492d06[(_0x492d06[_0x5cb2f9]+_0x492d06[_0x46a0a8])%0x100]);}return _0x2d15ea;};liIIli1i['JDfdGY']=_0x3d4889,_0x3f56ed=arguments,liIIli1i['qVwVpg']=!![];}const _0x37b897=_0x24afda[0x0],_0x24c939=_0x3d817d+_0x37b897,_0x840c68=_0x3f56ed[_0x24c939];return!_0x840c68?(liIIli1i['nOSiqc']===undefined&&(liIIli1i['nOSiqc']=!![]),_0x2e69b1=liIIli1i['JDfdGY'](_0x2e69b1,_0x2da1fb),_0x3f56ed[_0x24c939]=_0x2e69b1):_0x2e69b1=_0x840c68,_0x2e69b1;},liIIli1i(_0x3f56ed,_0xc717f1);}async function handleResponse(I1l1ii1I,I11I1l1l){const liIiii1l=l1IIlIl1,ilI1illl={'KfUAg':'【提示】请先获取Cookie','qbSmP':liIiii1l(0x1d9,'i1uc'),'YOvNa':function(illI1Ii,II111ll){return illI1Ii<=II111ll;},'lrGiy':liIiii1l(0x225,'D07a'),'rWVLt':'inviteFissionhelp','OVqbU':function(I1lIIlI,iIlIlIIi){return I1lIIlI!==iIlIlIIi;},'wknPU':'zDcxw','awDek':liIiii1l(0x151,'cAkq'),'bwtiC':function(i1l1Iiii,iII1IlI){return i1l1Iiii==iII1IlI;},'DYFvI':function(lllII111,ii1l1l1i){return lllII111===ii1l1l1i;},'UBcfx':liIiii1l(0x22a,'@2er'),'UaMzs':function(i11lII1l,l11iI1I){return i11lII1l===l11iI1I;},'LVoJj':'yZayt','kSOCV':function(IlliIli,lliiiiI1){return IlliIli<=lliiiiI1;},'XXWUN':function(lii1ii,IlIiIilI){return lii1ii==IlIiIilI;},'FqBfp':function(iliI1l11,lililIII){return iliI1l11!==lililIII;},'FoXvh':'noihq','DsEgi':function(iIIllI1i,IiilIliI){return iIIllI1i!==IiilIliI;},'lEGaP':'WVqUM','MFaLo':function(lliiiIi,lIlIIiil){return lliiiIi===lIlIIiil;},'alKcu':liIiii1l(0x227,'ffpa'),'wlxtF':liIiii1l(0x162,'*pfd'),'DDYeu':function(li1IlIiI,iil11lii){return li1IlIiI===iil11lii;},'OLOSC':'jZeGm','AdfWa':function(Ili1Illi,iiii1i1l){return Ili1Illi!==iiii1i1l;},'zdDNh':liIiii1l(0x17f,'IaKe'),'zPxQF':function(IIIilI,il1liIII){return IIIilI===il1liIII;},'UlifP':liIiii1l(0x24a,'J*qd'),'aPyWl':liIiii1l(0x174,'9B19'),'KvuLH':liIiii1l(0x1be,'LcS$'),'loLeW':'BatyG','jsjzO':'tNYaw','PgoLs':liIiii1l(0x1ef,'!3Q4'),'bQCdp':liIiii1l(0x238,'!dS5')};try{switch(I1l1ii1I){case ilI1illl[liIiii1l(0x1f0,'3u^7')]:if(I11I1l1l?.['code']===0x0&&I11I1l1l?.[liIiii1l(0x16e,'ffpa')]===!![]){if(ilI1illl[liIiii1l(0x17d,'oQ@F')](ilI1illl[liIiii1l(0xf9,'ffpa')],ilI1illl['awDek'])){$['inviteFissionhelp']=I11I1l1l['data'];switch($['inviteFissionhelp']?.['helpResult']){case null:console[liIiii1l(0xbb,'*9*x')](liIiii1l(0x196,'3u^7'));break;case 0x0:console[liIiii1l(0xd6,'BW4@')](liIiii1l(0x1f2,'#hx0'));break;case 0x1:if(ilI1illl[liIiii1l(0x12a,'cAkq')]($[liIiii1l(0x265,'oQ@F')],0x1))ilI1illl[liIiii1l(0x1a8,'IaKe')](liIiii1l(0x183,'dB70'),ilI1illl[liIiii1l(0x15b,'azCg')])?console[liIiii1l(0xf0,'azCg')]('✅\x20助力成功\x20[感谢]'):liiI11ll[liIiii1l(0x243,'EudE')]('✅\x20助力成功\x20[感谢]');else{$[liIiii1l(0x160,'LcS$')]++,console[liIiii1l(0xc1,'hHH5')](liIiii1l(0x19f,'1!4p')+$['helpnum']+']');if(pddnum){if(ilI1illl['UaMzs'](ilI1illl[liIiii1l(0x1ba,'d5f3')],liIiii1l(0x242,'dR$H')))lllIiI11[liIiii1l(0x23f,'Z9JL')](l1I1lIlI['name'],ilI1illl['KfUAg']),Ill1Ili1[liIiii1l(0xb5,'u#so')](0x1);else{if(ilI1illl[liIiii1l(0x124,'LcS$')](pddnum,$[liIiii1l(0x221,'Ho[T')])){console[liIiii1l(0xc4,'UpCN')](liIiii1l(0x16d,'yROr')),$[liIiii1l(0x1d8,'LcS$')]=!![];return;}}}}break;case 0x2:console['log'](liIiii1l(0x1f8,'Hm36'));break;case 0x3:console['log']('❌\x20没有助力次数');break;case 0x6:console[liIiii1l(0x1bd,'ffpa')](liIiii1l(0x250,'@2er'));break;case 0x8:if(ilI1illl[liIiii1l(0xfd,'Ig)8')]($[liIiii1l(0x1d0,'hM94')],0x1)){if(ilI1illl[liIiii1l(0x1a4,'UpCN')](ilI1illl[liIiii1l(0xbd,'uz4w')],liIiii1l(0xd7,'h2Ex'))){console['log'](liIiii1l(0x171,'cAkq'));break;}else IiiIilII['runEnd']=!![],illiI1il[liIiii1l(0xfb,'#PP4')]('>\x20'+iIIlI11I[liIiii1l(0xc0,'&amJ')]);}else{console[liIiii1l(0x1bd,'ffpa')]('❌\x20助力码失效请先去开启新一轮活动后再运行吧');return;}default:{console[liIiii1l(0x1b9,'yjg)')]('[未知助力状态]:['+helpResult+']');break;}}}else delete iI11ll1I[liIiii1l(0x1e0,'D07a')],delete l1IIIilI[liIiii1l(0x247,'azCg')][ilI1illl[liIiii1l(0x215,'u#so')]];}else{if(I11I1l1l['data']?.[liIiii1l(0xdb,'d5f3')])ilI1illl[liIiii1l(0x1ab,'yjg)')]('WVqUM',ilI1illl['lEGaP'])?lillliii['log']('>\x20'+lliiiiiI[liIiii1l(0x1e3,'@2er')]?.[liIiii1l(0x14a,'CB9E')]+'}'):console['log']('>\x20'+I11I1l1l['errMsg']);else{if(I11I1l1l[liIiii1l(0x203,'#hx0')])ilI1illl['MFaLo'](ilI1illl[liIiii1l(0x192,'9B19')],liIiii1l(0xf3,'*9*x'))?liI11lli={...l11l1,...I111Ii1i}:console[liIiii1l(0x1aa,'@2er')]('>\x20'+I11I1l1l['errMsg']);else{if(I11I1l1l[liIiii1l(0x214,'#hx0')]){if(ilI1illl[liIiii1l(0x108,'yROr')]!==liIiii1l(0x179,'oQ@F')){Il11li11[liIiii1l(0x160,'LcS$')]++,IIIllil1[liIiii1l(0x12d,'xZ)z')](liIiii1l(0x190,'!dS5')+Il1iiI1I[liIiii1l(0x144,'uMeH')]+']');if(lI11i1II){if(ilI1illl[liIiii1l(0x14b,'ffpa')](Iil1l11i,IiI11lIi[liIiii1l(0x222,'&amJ')])){llIl1Ii['log'](liIiii1l(0x12e,'#PP4')),I1IllIii[liIiii1l(0x13b,'ISIg')]=!![];return;}}}else console[liIiii1l(0x260,'!^wD')]('>\x20'+I11I1l1l[liIiii1l(0x256,'!3Q4')]);}else console['log']('❓'+I1l1ii1I+'\x20'+JSON['stringify'](I11I1l1l));}}}break;case'inviteFissionBeforeHome':if(ilI1illl[liIiii1l(0x138,'EudE')](I11I1l1l?.['code'],0x0)&&ilI1illl[liIiii1l(0x25f,'Z9JL')](I11I1l1l?.[liIiii1l(0x22d,'oQ@F')],!![]))ilI1illl['FqBfp'](liIiii1l(0x10d,'yjg)'),ilI1illl['OLOSC'])?iIliill1?l1Iii11I=IliIl1Il['parse'](Ill1lIll):lIIlll1i['log'](ilI1illl[liIiii1l(0x10e,'!3Q4')]):$[liIiii1l(0x188,'EudE')]=I11I1l1l[liIiii1l(0x1e0,'D07a')];else{if(I11I1l1l['data']?.['bizMsg'])ilI1illl['AdfWa'](ilI1illl['zdDNh'],'ZwsCw')?l1IIl1lI[liIiii1l(0xfb,'#PP4')]('>\x20'+lilIi1[liIiii1l(0x10a,'h2Ex')]):console[liIiii1l(0xf6,'uMeH')]('>\x20'+I11I1l1l[liIiii1l(0x182,'EudE')]?.[liIiii1l(0x1b8,'Z9JL')]+'}');else{if(I11I1l1l[liIiii1l(0x1e4,'IaKe')])ilI1illl[liIiii1l(0x180,'CB9E')](ilI1illl['UlifP'],'nHArj')?iiII1IlI[liIiii1l(0xcb,'cAkq')]=IIiiiIl[liIiii1l(0xef,'hHH5')]:($[liIiii1l(0x145,'BW4@')]=!![],console['log']('>\x20'+I11I1l1l['errMsg']));else I11I1l1l[liIiii1l(0x208,'IaKe')]?ilI1illl[liIiii1l(0x11b,'!^wD')](ilI1illl[liIiii1l(0x1b7,'!dS5')],ilI1illl[liIiii1l(0xe4,'cs$x')])?console[liIiii1l(0xf6,'uMeH')]('>\x20'+I11I1l1l[liIiii1l(0x100,'hD28')]):iI1l1lI[liIiii1l(0x186,'Z9JL')]('>\x20'+i1i1lI1l[liIiii1l(0xb6,'!^wD')]):console[liIiii1l(0x24e,'uz4w')]('❓'+I1l1ii1I+'\x20'+JSON[liIiii1l(0x11d,'wPy&')](I11I1l1l));}}break;case'inviteFissionHome':if(ilI1illl[liIiii1l(0x1b1,'LcS$')](I11I1l1l?.[liIiii1l(0x166,'Hm36')],0x0)&&ilI1illl['zPxQF'](I11I1l1l?.[liIiii1l(0x1fa,'Ho[T')],!![]))ilI1illl[liIiii1l(0x25e,'*^vM')](ilI1illl['loLeW'],ilI1illl['jsjzO'])?Ii1ilI['log']('❓'+il1IIill+'\x20'+II1Ili1[liIiii1l(0x16c,'Hm36')](i1I1iIi1)):$['inviteFissionHome']=I11I1l1l[liIiii1l(0x189,'uMeH')];else{if(I11I1l1l['data']?.['bizMsg'])console[liIiii1l(0x11f,'CB9E')]('>\x20'+I11I1l1l[liIiii1l(0x1a5,'dR$H')]?.[liIiii1l(0x233,'#hx0')]);else{if(I11I1l1l[liIiii1l(0x1c1,'hD28')])ilI1illl[liIiii1l(0x107,'d5f3')]==='mKFZp'?ilIIiIl1[liIiii1l(0x22c,'*^vM')]('>\x20'+IliI1III[liIiii1l(0x140,'LcS$')]):($['runEnd']=!![],console[liIiii1l(0x148,'*QbD')]('>\x20'+I11I1l1l[liIiii1l(0xff,'dR$H')]));else I11I1l1l[liIiii1l(0x158,'Ho[T')]?ilI1illl[liIiii1l(0x20e,'yROr')](ilI1illl['bQCdp'],ilI1illl[liIiii1l(0x248,'cAkq')])?console['log']('>\x20'+I11I1l1l[liIiii1l(0x16a,'EudE')]):ii11IIil[liIiii1l(0x188,'EudE')]=li1lilll['data']:console[liIiii1l(0xd6,'BW4@')]('❓'+I1l1ii1I+'\x20'+JSON[liIiii1l(0xe3,'J*qd')](I11I1l1l));}}break;}}catch(Iii1li1i){console[liIiii1l(0xf6,'uMeH')](liIiii1l(0x1da,'*^vM')+I1l1ii1I+'\x20请求响应\x20'+(Iii1li1i[liIiii1l(0x1e1,'Z9JL')]||Iii1li1i));}}async function sendRequest(iil1lIIl){const I1l1lII1=l1IIlIl1,i1Iil1iI={'iUEdN':'未获取到数据,请重新运行','kBYIj':'POST','kUNaT':I1l1lII1(0x11e,'&amJ'),'AHgwP':I1l1lII1(0x1d4,'!dS5'),'joiNL':I1l1lII1(0xb0,'azCg'),'uOjFt':I1l1lII1(0x1c0,'ISIg'),'llfUF':I1l1lII1(0xcf,'cs$x'),'CzaWv':I1l1lII1(0xe5,'i1uc'),'KfTgG':I1l1lII1(0x1c5,'EudE'),'OYwqf':'inviteFissionHome','SFaLP':I1l1lII1(0xea,'wPy&'),'NNjJO':I1l1lII1(0xe8,'xZ)z'),'pIaiO':I1l1lII1(0xe0,'jCon'),'Dtlnq':I1l1lII1(0x20f,'*^vM'),'fJrBN':function(liIiiI1i,l1IIIIIi){return liIiiI1i+l1IIIIIi;},'GXBqd':'https://pro.m.jd.com/jdlite/active/23CeE8ZXA4uFS9M9mTjtta9T4S5x/index.html','RKNhZ':I1l1lII1(0xee,'hHH5'),'QgbyO':I1l1lII1(0x23a,'azCg'),'pnsWb':function(i1111l11,iIIl1lil){return i1111l11===iIIl1lil;},'wkleE':I1l1lII1(0xdc,'yjg)'),'aqwIV':I1l1lII1(0x1ea,'Hm36'),'vwQKu':I1l1lII1(0x239,'*^vM'),'wXLYj':function(l1iI1111,Il11iI11){return l1iI1111<Il11iI11;},'iKpsh':function(ii1lIl1,liiIllI){return ii1lIl1!==liiIllI;},'STPpc':I1l1lII1(0x264,'*^vM'),'VBBzW':'FpEXI','aAkWe':function(lilli1I1,liIIiIll,iiI11I1){return lilli1I1(liIIiIll,iiI11I1);},'CSTJy':function(I1i1liI,lIl1I1iI){return I1i1liI>=lIl1I1iI;},'mPRsJ':I1l1lII1(0x11c,'@2er')};if($[I1l1lII1(0x14c,'hHH5')])return;let ll1l1l='',iIlil1I=null,li1lII1I=null,IIlili11=i1Iil1iI[I1l1lII1(0x23d,'uz4w')],iiIii1i1={},II1ll1={};switch(iil1lIIl){case i1Iil1iI['kUNaT']:II1ll1={'appId':I1l1lII1(0x120,'hM94'),'functionId':I1l1lII1(0x129,'@2er'),'appid':i1Iil1iI[I1l1lII1(0x175,'ffpa')],'clientVersion':common[I1l1lII1(0x1f7,'1!4p')](),'client':i1Iil1iI['joiNL'],'body':{'linkId':linkId,'isJdApp':!![],'inviter':$[I1l1lII1(0x237,'Hm36')]},'version':i1Iil1iI[I1l1lII1(0x241,'*QbD')],'ua':$['UA'],'t':!![]},iiIii1i1=await H5st[I1l1lII1(0x1d3,'cs$x')](II1ll1),ll1l1l=i1Iil1iI[I1l1lII1(0x141,'CB9E')],iIlil1I=iiIii1i1[I1l1lII1(0x110,'cs$x')];break;case'inviteFissionBeforeHome':II1ll1={'appId':i1Iil1iI[I1l1lII1(0xcd,'Ho[T')],'functionId':I1l1lII1(0xbe,'!3Q4'),'appid':i1Iil1iI[I1l1lII1(0x258,'yROr')],'clientVersion':common[I1l1lII1(0x229,'yROr')](),'client':i1Iil1iI[I1l1lII1(0x1ed,'xZ)z')],'body':{'linkId':linkId,'isJdApp':!![],'inviter':''},'version':I1l1lII1(0xfc,'!dS5'),'ua':$['UA'],'t':!![]},iiIii1i1=await H5st['getH5st'](II1ll1),ll1l1l='https://api.m.jd.com/client.action',iIlil1I=iiIii1i1[I1l1lII1(0x122,'dB70')];break;case I1l1lII1(0x119,'IaKe'):II1ll1={'appId':i1Iil1iI[I1l1lII1(0x19a,'cs$x')],'functionId':i1Iil1iI[I1l1lII1(0x1a9,'Ho[T')],'appid':i1Iil1iI[I1l1lII1(0x1ce,'IaKe')],'clientVersion':common[I1l1lII1(0x22b,'D07a')](),'client':i1Iil1iI[I1l1lII1(0x126,'uMeH')],'body':{'linkId':linkId,'inviter':''},'version':I1l1lII1(0x139,'h2Ex'),'ua':$['UA'],'t':!![]},iiIii1i1=await H5st[I1l1lII1(0xb3,'*pfd')](II1ll1),ll1l1l=i1Iil1iI[I1l1lII1(0x210,'dR$H')],iIlil1I=iiIii1i1[I1l1lII1(0xce,'wPy&')];break;default:console[I1l1lII1(0x1b3,'J*qd')](I1l1lII1(0x1fc,'Ig)8')+iil1lIIl);return;}const lIilI1Ii={};iIlil1I&&(iIlil1I={...iIlil1I,...lIilI1Ii});li1lII1I&&(li1lII1I={...li1lII1I,...lIilI1Ii});const liiiI1ll={'url':ll1l1l,'method':IIlili11,'headers':{'Accept':i1Iil1iI[I1l1lII1(0x1c4,'Ig)8')],'Accept-Encoding':'gzip,\x20deflate,\x20br','Accept-Language':i1Iil1iI['NNjJO'],'Connection':i1Iil1iI['pIaiO'],'Content-Type':i1Iil1iI[I1l1lII1(0x1b5,'azCg')],'X-Requested-With':I1l1lII1(0x1ac,'u#so'),'Cookie':i1Iil1iI[I1l1lII1(0x218,'i1uc')](cookie,$['strList']),'Referer':i1Iil1iI[I1l1lII1(0x19d,'uMeH')],'X-Referer-Page':i1Iil1iI[I1l1lII1(0x1ec,'jCon')],'Origin':i1Iil1iI[I1l1lII1(0xc6,'d5f3')],'x-rp-client':i1Iil1iI[I1l1lII1(0x235,'uMeH')],'User-Agent':$['UA']},'params':li1lII1I,'data':iIlil1I,'timeout':0x4e20};i1Iil1iI[I1l1lII1(0x17c,'i1uc')](IIlili11,I1l1lII1(0x1fb,'!^wD'))&&(i1Iil1iI[I1l1lII1(0x102,'Ho[T')]!==i1Iil1iI[I1l1lII1(0x117,'3u^7')]?(delete liiiI1ll[I1l1lII1(0x1bf,'yROr')],delete liiiI1ll[I1l1lII1(0xcc,'BW4@')][i1Iil1iI[I1l1lII1(0x134,'cAkq')]]):lIIII[I1l1lII1(0x259,'Ho[T')](i1Iil1iI[I1l1lII1(0x1b6,'hD28')]));const Ii1II1I=0x1;let iiIl1Ill=0x0,lIl1l1iI=null,Ii11lIll=![];while(i1Iil1iI[I1l1lII1(0xd3,'uMeH')](iiIl1Ill,Ii1II1I)){iiIl1Ill>0x0&&(i1Iil1iI[I1l1lII1(0x1c8,'#hx0')](i1Iil1iI[I1l1lII1(0xd1,'!dS5')],i1Iil1iI[I1l1lII1(0xd8,'jCon')])?(Ii1lli11[I1l1lII1(0x1b3,'J*qd')](IlIii1I),IiIiIi1&&(llllilli[I1l1lII1(0x21b,'ISIg')]=!![],iiil11i1[I1l1lII1(0xda,'*9*x')]&&iIilIiIi['message'][I1l1lII1(0xe2,'d5f3')](l11i11II))):await $['wait'](0x3e8));const IiI1IlIl=await common[I1l1lII1(0x1e9,'uMeH')](liiiI1ll);if(!IiI1IlIl['success']){lIl1l1iI=I1l1lII1(0x19e,'cs$x')+iil1lIIl+I1l1lII1(0x212,'*pfd')+IiI1IlIl[I1l1lII1(0x249,'hD28')],iiIl1Ill++;continue;}if(!IiI1IlIl?.[I1l1lII1(0x24b,'ISIg')]){if(i1Iil1iI['pnsWb'](I1l1lII1(0x156,'jCon'),i1Iil1iI[I1l1lII1(0x137,'D07a')])){lIl1l1iI=I1l1lII1(0x118,'jCon')+iil1lIIl+I1l1lII1(0x21a,'#hx0'),iiIl1Ill++;continue;}else lillIii1[I1l1lII1(0x217,'#hx0')](I1l1lII1(0xeb,'Hm36')),l1I11iil['runEnd']=!![];}i1Iil1iI[I1l1lII1(0x153,'uMeH')](handleResponse,iil1lIIl,IiI1IlIl[I1l1lII1(0x200,'!3Q4')]),Ii11lIll=![];break;}i1Iil1iI['CSTJy'](iiIl1Ill,Ii1II1I)&&(console[I1l1lII1(0x172,'1!4p')](lIl1l1iI),Ii11lIll&&(i1Iil1iI[I1l1lII1(0x1a2,'d5f3')](I1l1lII1(0x125,'!^wD'),i1Iil1iI['mPRsJ'])?Iil1ll1l['log']('>\x20'+ilIiiill[I1l1lII1(0x202,'ffpa')]?.[I1l1lII1(0xf7,'dB70')]):($[I1l1lII1(0x23c,'wPy&')]=!![],$[I1l1lII1(0x230,'uz4w')]&&$['message'][I1l1lII1(0x220,'J*qd')](lIl1l1iI))));}function getAuthorCodeList(l1li11iI){const iliIilli=l1IIlIl1,liilIi1l={'QpRTy':iliIilli(0x11a,'CB9E'),'hHWuI':iliIilli(0x17b,'hM94'),'YfAlI':function(lIlIiII,lIlIlill){return lIlIiII===lIlIlill;},'aDINW':iliIilli(0x201,'!dS5'),'KjCOL':iliIilli(0x24c,'!^wD'),'oCSeT':iliIilli(0xd5,'dB70'),'ZZdTv':iliIilli(0x25b,'d5f3'),'FSwyo':'未获取到数据,请重新运行','UVPpx':function(i1IIliI1,ll111I11){return i1IIliI1!==ll111I11;},'UpUHc':'Xpxis','DDIay':iliIilli(0xed,'!^wD')};return new Promise(IIiIi11=>{const Ii1lil1=iliIilli,IiIlliiI={'RhzKO':liilIi1l[Ii1lil1(0x197,'yROr')],'tIrQA':function(l11iilI,IilI11i1,l1IlilII){return l11iilI(IilI11i1,l1IlilII);},'kYdVV':liilIi1l['hHWuI'],'pETdL':function(Ili1iiII,lIliIIlI){const IIl1I1il=Ii1lil1;return liilIi1l[IIl1I1il(0x131,'*QbD')](Ili1iiII,lIliIIlI);},'baXRH':liilIi1l['aDINW'],'hxENh':liilIi1l['KjCOL'],'bbsci':liilIi1l['oCSeT'],'Hxgoh':liilIi1l[Ii1lil1(0x1f6,'9B19')],'kjjLa':liilIi1l[Ii1lil1(0x25d,'EudE')],'WYAUd':function(i111lIll,l1lli){return i111lIll(l1lli);}};if(liilIi1l['UVPpx']('czHkX',liilIi1l[Ii1lil1(0x1fd,'Ig)8')])){const l1iIlili={'url':''+l1li11iI,'timeout':0x2710,'headers':{'User-Agent':liilIi1l[Ii1lil1(0x101,'cs$x')]}};$[Ii1lil1(0x115,'UpCN')](l1iIlili,async(i1ii1II1,lIiilIlI,l1liI11I)=>{const ilI111II=Ii1lil1,lllil1ii={'svUSs':IiIlliiI[ilI111II(0x1bb,'@2er')],'gsOQv':function(iIII11,iIlI1i,ii1liIiI){const Ii1iii1I=ilI111II;return IiIlliiI[Ii1iii1I(0x1ca,'Ig)8')](iIII11,iIlI1i,ii1liIiI);},'jBmwb':IiIlliiI[ilI111II(0x128,'EudE')]};if(IiIlliiI['pETdL'](ilI111II(0xaf,'uz4w'),IiIlliiI[ilI111II(0x1e5,'1!4p')]))IllIIiII[ilI111II(0x1b9,'yjg)')](lllil1ii['svUSs']),Il1lIll1[ilI111II(0x205,'*QbD')]=lliIi[lllil1ii['gsOQv'](IIIliI1I,0x0,lI1ilIi[ilI111II(0x1d7,'#PP4')])];else try{if(IiIlliiI['pETdL'](IiIlliiI[ilI111II(0x17e,'EudE')],IiIlliiI[ilI111II(0x1f3,'LcS$')])){if(i1ii1II1){}else IiIlliiI[ilI111II(0x159,'hHH5')]!==ilI111II(0x111,'*pfd')?l1liI11I?IiIlliiI[ilI111II(0xbf,'yjg)')]!==IiIlliiI[ilI111II(0x194,'EudE')]?lIlliil1['log']('❓'+illli+'\x20'+I111iIl1['stringify'](i111lii1)):l1liI11I=JSON[ilI111II(0xc7,'u#so')](l1liI11I):console['log'](IiIlliiI['kjjLa']):Iiilli1I[ilI111II(0x243,'EudE')](lllil1ii[ilI111II(0x1d2,'EudE')]);}else llillIi[ilI111II(0x15d,'wPy&')](I111l1[ilI111II(0xda,'*9*x')]);}catch(iI1II1){$[ilI111II(0x1e2,'*pfd')](iI1II1,lIiilIlI),l1liI11I=null;}finally{IiIlliiI[ilI111II(0x130,'yROr')](IIiIi11,l1liI11I);}});}else I1i1ilIl=lIlIIlil['parse'](Ii1Illli);});}function gen_jda_cookie(){const l1iiI1lI=l1IIlIl1,Il1iI1I={'xMSgR':function(IillilI1,iIilllIi){return IillilI1-iIilllIi;},'iDadH':function(IlIliIIi){return IlIliIIi();},'pmVqY':function(iiiIlIl,lIIIil1i){return iiiIlIl+lIIIil1i;},'vYWKM':function(iII111II,IliIilil){return iII111II*IliIilil;},'TASFi':function(liIi1li,lilI1lll){return liIi1li+lilI1lll;},'RBuCq':function(IIilIIi,iII111){return IIilIIi+iII111;},'AZjPi':l1iiI1lI(0x15f,'!3Q4'),'fDPLr':'202054b9f71e49e6a228adc8e665f848','AsuBM':function(iil1l1I1,IllIIIl1){return iil1l1I1(IllIIIl1);}},lI1liiiI='3';let I11=Math[l1iiI1lI(0x232,'*pfd')](0x8ca6bff*Math['random']())[l1iiI1lI(0x198,'azCg')](),iiiIlil1=[...Array(0xc)][l1iiI1lI(0x24d,'Ho[T')](()=>Math[l1iiI1lI(0x228,'IaKe')](Math['random']()*0xa))[l1iiI1lI(0xd4,'jCon')](''),lIiiil1l=Il1iI1I['xMSgR'](Il1iI1I[l1iiI1lI(0x1e7,'!dS5')](timestamp),0x30d40),IlIIiI1i=Il1iI1I[l1iiI1lI(0x1c6,'hM94')](lIiiil1l,Math[l1iiI1lI(0xb7,'!3Q4')](Il1iI1I[l1iiI1lI(0x18d,'#PP4')](Math['random'](),0x186a0))),ll1I1IlI=Il1iI1I[l1iiI1lI(0xb4,'u#so')](IlIIiI1i,Math[l1iiI1lI(0x167,'3u^7')](Il1iI1I[l1iiI1lI(0x1df,'#hx0')](Math[l1iiI1lI(0x236,'hD28')](),0x2710))),IiIllii1=Il1iI1I['RBuCq'](lIiiil1l,Math['floor'](Il1iI1I['vYWKM'](Math['random'](),0x186a0))),IiI1iii=[I11,''+lIiiil1l+iiiIlil1,lIiiil1l[l1iiI1lI(0x263,'uz4w')](),IlIIiI1i['toString'](),ll1I1IlI['toString'](),lI1liiiI][l1iiI1lI(0x21e,'hM94')]('.'),ii1Il11i=[I11,iiiIlil1[l1iiI1lI(0x1b4,'!dS5')](-0x2),''+lIiiil1l+iiiIlil1+'|'+lI1liiiI,ll1I1IlI[l1iiI1lI(0x1ff,'Ho[T')]()]['join']('.'),ilII111I=I11,iliIl11i=[I11,l1iiI1lI(0x223,'h2Ex'),l1iiI1lI(0x16b,'uz4w'),Il1iI1I['AZjPi'],Il1iI1I['fDPLr'],IiIllii1[l1iiI1lI(0x123,'dR$H')]()],Iii11lll=Il1iI1I[l1iiI1lI(0xc3,'*9*x')](encodeURIComponent,iliIl11i[l1iiI1lI(0x21e,'hM94')]('|'));return{'jda':IiI1iii,'jdb':ii1Il11i,'jdc':ilII111I,'jdv':Iii11lll};}function timestamp(){const lli1111l=l1IIlIl1,I11iIiiI={'ePDaM':function(IiIIili,lll1ill1){return IiIIili/lll1ill1;}};return Math[lli1111l(0x213,'u#so')](I11iIiiI['ePDaM'](Date[lli1111l(0xb2,'cAkq')](),0x3e8));}function random(lIiIIll1,l1111lIl){const iiI1111=l1IIlIl1,IiIII={'OIjkc':function(l1I1Iii1,l1II1i11){return l1I1Iii1*l1II1i11;},'nQJMg':function(liiI1ill,Ill111){return liiI1ill-Ill111;}};return Math['floor'](IiIII[iiI1111(0x255,'J*qd')](Math[iiI1111(0x1dc,'LcS$')](),IiIII[iiI1111(0x226,'*QbD')](l1111lIl,lIiIIll1)))+lIiIIll1;}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) }