mirror of https://github.com/KingRan/KR.git
18 lines
59 KiB
JavaScript
18 lines
59 KiB
JavaScript
/*
|
||
|
||
脚本默认会帮我助力开工位,介意请添加变量HELP_JOYPARK,false为不助力
|
||
export HELP_JOYPARK=""
|
||
|
||
运行频繁会403,请自行定时运行
|
||
|
||
============Quantumultx===============
|
||
[task_local]
|
||
#京东版-汪汪庄园助力
|
||
1 1 1 1 * jd_wwzy_help.js, tag=京东版-汪汪庄园助力, enabled=true
|
||
|
||
*/
|
||
const $ = new Env('京东版-汪汪庄园助力');
|
||
var version_='jsjiami.com.v7';const l1iiIl=iii1II;(function(l1Iii,l1Iil,III1Ii,III1Il,iIIliI,IiIil,IiIii){return l1Iii=l1Iii>>0x7,IiIil='hs',IiIii='hs',function(iill1l,IiIiII,iill1i,l1Il1,iill11){const Illi1=iii1II;l1Il1='tfi',IiIil=l1Il1+IiIil,iill11='up',IiIii+=iill11,IiIil=iill1i(IiIil),IiIii=iill1i(IiIii),iill1i=0x0;const I1IliI=iill1l();while(!![]&&--III1Il+IiIiII){try{l1Il1=-parseInt(Illi1(0x22c,'!qvN'))/0x1+parseInt(Illi1(0x207,'cVyV'))/0x2+-parseInt(Illi1(0x223,']X@m'))/0x3+parseInt(Illi1(0x3ab,'xohm'))/0x4*(parseInt(Illi1(0x301,'z*LK'))/0x5)+-parseInt(Illi1(0x39d,'rBvR'))/0x6*(-parseInt(Illi1(0x224,'Ayb^'))/0x7)+parseInt(Illi1(0x3d6,']X@m'))/0x8+-parseInt(Illi1(0x404,']X@m'))/0x9;}catch(III1II){l1Il1=iill1i;}finally{iill11=I1IliI[IiIil]();if(l1Iii<=III1Il)iill1i?iIIliI?l1Il1=iill11:iIIliI=iill11:iill1i=iill11;else{if(iill1i==iIIliI['replace'](/[MxpVEXydFOhnqGutDU=]/g,'')){if(l1Il1===IiIiII){I1IliI['un'+IiIil](iill11);break;}I1IliI[IiIii](iill11);}}}}}(III1Ii,l1Iil,function(l1I1II,iIIlil,IiIiI1,iIIlii,llIII1,IiIiI,iill1I){return iIIlil='\x73\x70\x6c\x69\x74',l1I1II=arguments[0x0],l1I1II=l1I1II[iIIlil](''),IiIiI1='\x72\x65\x76\x65\x72\x73\x65',l1I1II=l1I1II[IiIiI1]('\x76'),iIIlii='\x6a\x6f\x69\x6e',(0x1394e6,l1I1II[iIIlii](''));});}(0x6380,0x258af,Iii11l,0xc9),Iii11l)&&(version_=Iii11l);const liIlli=$[l1iiIl(0x2df,'xohm')]()?require('./jdCookie.js'):'',lil11=$['isNode']()?require('./sendNotify'):'',Iillll=require(l1iiIl(0x292,'nl6f')),lllI1=require(l1iiIl(0x25e,'M%[T'));let III11I=[],Ilii1='',ll11i1;if($['isNode']()){Object[l1iiIl(0x288,'[X]3')](liIlli)[l1iiIl(0x319,'%g!)')](l1llli=>{const lIIi1i=l1iiIl;III11I[lIIi1i(0x3bf,'h[93')](liIlli[l1llli]);});if(process[l1iiIl(0x3b6,'D&sC')][l1iiIl(0x42d,'5w!n')]&&process[l1iiIl(0x28b,'7D3p')][l1iiIl(0x309,'w^(H')]===l1iiIl(0x20d,']X@m'))console[l1iiIl(0x36a,'TT!d')]=()=>{};}else III11I=[$[l1iiIl(0x1ea,']X@m')]('CookieJD'),$[l1iiIl(0x39f,'a5gj')](l1iiIl(0x413,'5GaQ')),...liIll1($[l1iiIl(0x25b,'2FO!')](l1iiIl(0x37d,'[X]3'))||'[]')[l1iiIl(0x313,'gii0')](iI1lII=>iI1lII[l1iiIl(0x360,'yBxQ')])][l1iiIl(0x3b8,'1OC^')](ll11iI=>!!ll11iI);$['invitePinTaskList']=[],$[l1iiIl(0x2c8,'M%[T')]=[l1iiIl(0x343,'xohm'),l1iiIl(0x206,'a5dh'),l1iiIl(0x3c9,'XgzO'),'QLCSd3I8GUplWsqAeZgqj5cmfo7gRSGyIsykew6KYP0','BAOqoW7t-bamG2ZDWN_J26cFJ_A0SVf5Vy3lH5czbXI',l1iiIl(0x2c2,'z*LK'),l1iiIl(0x201,'5w!n'),l1iiIl(0x42f,')]Qx'),'DYnxFupX6XXdfmBd02SWdg',l1iiIl(0x357,'Kq8g'),l1iiIl(0x412,'a5gj')];let ili1I1=Date[l1iiIl(0x3dc,'a5dh')]();const Iill=l1iiIl(0x40d,'1OC^');message='',!(async()=>{const liI11I=l1iiIl,l1i1I={'bmrQx':function(l1llll,I1I1ll){return l1llll||I1I1ll;},'pXPxL':'abcdef0123456789','OuOVG':function(lil1i,liiiil){return lil1i<liiiil;},'KBcKE':'===\x20任务列表\x20end\x20\x20===','gIvFd':liI11I(0x2a1,']X@m'),'JQbzX':'https://bean.m.jd.com/','tcZpW':liI11I(0x36e,'!qvN'),'AGvNh':'领取奖励','iXIdt':function(IIIIli,lllIi){return IIIIli(lllIi);},'uyKRq':liI11I(0x26b,'2FO!'),'bgvqQ':function(lil1l,lllIl){return lil1l!==lllIl;},'mMEzA':function(Iliii,illlii){return Iliii<illlii;},'VcKKp':function(I1lIIi,l1i1i){return I1lIIi(l1i1i);},'VAcHl':function(I1iI1i,l1i1l){return I1iI1i+l1i1l;},'AACxf':function(I1iI1l,illlil){return I1iI1l+illlil;},'UsAUA':function(Iliil,I1lIIl){return Iliil+I1lIIl;},'IbQzm':liI11I(0x237,'5GaQ'),'pWgeZ':'******\x0a','CFQLX':'https://bean.m.jd.com/bean/signIndex.action','cAjmq':function(l1ilI1,l1l1Il){return l1ilI1==l1l1Il;},'fGNmj':'EDPUVDhR7nUPh3jUGDJ_GyiLt77-wROqWVP2aesRUt8','ZOSSA':liI11I(0x38a,'DM7X'),'JJlap':'BAOqoW7t-bamG2ZDWN_J26cFJ_A0SVf5Vy3lH5czbXI','CrsyY':liI11I(0x387,')uDY'),'juOhx':liI11I(0x33f,')]Qx'),'fdufm':liI11I(0x312,'Kouq'),'ecgKp':function(lil1I,l1l1Ii){return lil1I*l1l1Ii;},'rqyRu':function(IIIIlI,l1i11l,liiil1,lllII){return IIIIlI(l1i11l,liiil1,lllII);},'ezAqI':function(l11iII,l1i11i,l11iI1){return l11iII(l1i11i,l11iI1);},'qXyje':function(IliiI,lI111i){return IliiI===lI111i;},'DafAA':function(I1lIII,liIlll){return I1lIII===liIlll;},'ZrAxm':function(I1iI1I,illll1,IIIIl1){return I1iI1I(illll1,IIIIl1);},'vMCaV':function(liiilI){return liiilI();},'JmXCe':function(lI111l,liiii1){return lI111l+liiii1;},'ccNyK':function(IIiiIl,l1ilIl){return IIiiIl*l1ilIl;},'iLywH':liI11I(0x2d9,'D&sC'),'Lhotz':function(IIiiIi,l1ilIi){return IIiiIi+l1ilIi;},'cJhSX':liI11I(0x280,')]Qx'),'WGhDR':function(l11iIi,ll11li){return l11iIi===ll11li;},'aVDXo':liI11I(0x1f6,'M(AO'),'ZQcgQ':function(iliIlI,lI111I,IlilI,llIi1){return iliIlI(lI111I,IlilI,llIi1);},'UnPbB':function(IliIII,II1l){return IliIII+II1l;},'wfKRg':function(liiiiI,II1i){return liiiiI*II1i;},'XdAqD':liI11I(0x2b9,'ctbR'),'sCoEv':function(illli1,I1lII1){return illli1===I1lII1;},'aBgJu':function(Ill111,I1iI11){return Ill111!==I1iI11;},'sZGJN':liI11I(0x282,'M5DF'),'LenyI':function(II11,l1ilII){return II11+l1ilII;},'wmwoY':liI11I(0x2bb,'7D3p'),'JKMmu':function(ii1II1,iliIll,llliIl){return ii1II1(iliIll,llliIl);},'Clhcq':function(iliIli,illliI){return iliIli*illliI;},'YIeQC':function(ii1III,i11iIl){return ii1III!==i11iIl;},'nfGus':liI11I(0x21a,'Mzzi'),'oCGcX':function(ll11ll,l11iIl,i11iIi){return ll11ll(l11iIl,i11iIi);},'cpLTE':function(IIIIll,liiiii){return IIIIll+liiiii;},'xyxuD':function(II1I,lI1111){return II1I>=lI1111;},'uNbAn':function(Ilil1,IliII1){return Ilil1!==IliII1;},'SPwye':'tiDsy','VHzfu':function(l1iIi1,i1I1I){return l1iIi1===i1I1I;},'oyJIU':liI11I(0x1ee,'xgZY'),'pqEBX':'cpbSZ','fjXfW':function(llIil,llIii,IIiiI1,IIIIi1,ii1IIl){return llIil(llIii,IIiiI1,IIIIi1,ii1IIl);},'ftQpv':'CcAmq','TdpMt':function(ii1IIi,I1ll1l){return ii1IIi!==I1ll1l;},'kKaRF':liI11I(0x378,'cb5G'),'ZWjLP':liI11I(0x347,'Mzzi'),'PZDQT':liI11I(0x226,'rBvR'),'hCSuK':function(I1ll1i,i11iII,lI1Ii1){return I1ll1i(i11iII,lI1Ii1);},'HDmXo':function(i1I11,I1I1i1){return i1I11+I1I1i1;},'FTdyJ':liI11I(0x3a4,'1OC^'),'NxCvy':liI11I(0x1e5,'a5gj'),'HTgtO':function(i1I1l,i1I1i){return i1I1l===i1I1i;},'xklKK':liI11I(0x212,'cb5G'),'PAvZh':'iTrtm','LiPSw':function(IIiiII,llIiI,Ilill,Ilili){return IIiiII(llIiI,Ilill,Ilili);},'hsxkU':function(I1ll1I,Iii1I1,i11iI1){return I1ll1I(Iii1I1,i11iI1);},'XYytT':function(Iii1II,llIlI){return Iii1II!==llIlI;},'jwVGJ':function(l1iIil,l1iIii){return l1iIil===l1iIii;},'Azzhz':liI11I(0x366,'!qvN'),'ioZEO':function(illllI,II1II){return illllI+II1II;},'WGpGO':function(ii1l11,IIIIii){return ii1l11*IIIIii;},'bmWeE':function(liiill,IIIIil){return liiill===IIIIil;},'uSVZl':function(lI1lIl,liiili){return lI1lIl===liiili;},'YgTVD':liI11I(0x1e0,'ctbR'),'XVvsm':'数据异常\x20助力失败!\x0a\x0a'};if(!III11I[0x0]){if(l1i1I['bgvqQ'](liI11I(0x3ac,'b4Cf'),liI11I(0x29e,'w^(H'))){$[liI11I(0x2ea,'ctbR')]($[liI11I(0x218,'cVyV')],l1i1I['gIvFd'],'https://bean.m.jd.com/',{'open-url':l1i1I[liI11I(0x219,'M5DF')]});return;}else Iiil1?(l1iIIi[liI11I(0x202,'nl6f')](''+lilIi[liI11I(0x1d6,'!qvN')](l1l11I)),lilIl[liI11I(0x2ca,'z*LK')](IilIlI[liI11I(0x200,'!qvN')]+'\x20API请求失败,请检查网路重试')):iIli11=Iiiil[liI11I(0x350,'1OC^')](Iiiii);}for(let lI1lIi=0x0;l1i1I[liI11I(0x2cb,'rVMy')](lI1lIi,III11I[liI11I(0x25a,'^BaF')]);lI1lIi++){Ilii1=III11I[lI1lIi];if(Ilii1){$[liI11I(0x20b,'xa33')]=decodeURIComponent(Ilii1[liI11I(0x402,'a5gj')](/pt_pin=([^; ]+)(?=;?)/)&&Ilii1[liI11I(0x1de,'M5DF')](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$[liI11I(0x20a,'a5gj')]=lI1lIi+0x1,$[liI11I(0x20f,'QcaH')]=!![],$['nickName']='',$[liI11I(0x336,'w^(H')]=0x0,UA=await l1i1I['VcKKp'](lllI1,$['UserName']),console[liI11I(0x41c,'2FO!')](l1i1I['VAcHl'](l1i1I[liI11I(0x41f,'XgzO')](l1i1I['AACxf'](l1i1I[liI11I(0x365,'Kq8g')](l1i1I[liI11I(0x364,'w^(H')],$['index']),'】'),$[liI11I(0x2b6,'fQ7M')]||$[liI11I(0x384,'o5m$')]),l1i1I['pWgeZ']));if(!$['isLogin']){$[liI11I(0x36c,'M5DF')]($[liI11I(0x3ee,'rBvR')],liI11I(0x2eb,'5w!n'),liI11I(0x3cc,'QcaH')+$[liI11I(0x291,'TT!d')]+'\x20'+($['nickName']||$[liI11I(0x344,'M(AO')])+liI11I(0x2a8,'a5dh'),{'open-url':l1i1I[liI11I(0x208,'%g!)')]});$['isNode']()&&await lil11[liI11I(0x3e0,'[X]3')]($[liI11I(0x349,'5w!n')]+'cookie已失效\x20-\x20'+$[liI11I(0x1df,'5w!n')],liI11I(0x3b9,'xohm')+$[liI11I(0x41b,'gii0')]+'\x20'+$[liI11I(0x246,'h[93')]+liI11I(0x300,'M5DF'));continue;}if($['isNode']()){if(process[liI11I(0x414,'xa33')][liI11I(0x299,'1OC^')]&&l1i1I[liI11I(0x2ef,'XgzO')](process[liI11I(0x3e8,'Y^Op')][liI11I(0x3af,'DM7X')],'false')){}else{$['kgw_invitePin']=[l1i1I[liI11I(0x2ec,'cb5G')],l1i1I[liI11I(0x2a7,'%g!)')],l1i1I[liI11I(0x318,')uDY')],l1i1I[liI11I(0x1f8,'M%[T')],l1i1I[liI11I(0x257,'a5dh')],liI11I(0x24b,'^BaF'),l1i1I['fdufm'],liI11I(0x357,'Kq8g'),'s1HgT4EXmMeUQzWIrsk4Ag'][Math[liI11I(0x30b,'Y^Op')](l1i1I[liI11I(0x3fe,')]Qx')](Math[liI11I(0x217,'5GaQ')](),0xb))],await $['wait'](parseInt(l1i1I[liI11I(0x2a0,'M(AO')](Math[liI11I(0x41d,'dUqs')]()*0x7d0,0xbb8),0xa));let Iii1Ii=await l1i1I[liI11I(0x392,'rBvR')](liIllI,'',0x2,$[liI11I(0x28f,'o5m$')]);await $[liI11I(0x1e6,'w^(H')](l1i1I[liI11I(0x231,'D&sC')](parseInt,l1i1I[liI11I(0x213,'^BaF')](Math['random']()*0x7d0,0xbb8),0xa));if(Iii1Ii['data']&&Iii1Ii[liI11I(0x33c,'Ayb^')]['helpState']&&l1i1I['qXyje'](Iii1Ii[liI11I(0x25d,'rVMy')][liI11I(0x2ce,')uDY')],0x1)){}else{if(Iii1Ii[liI11I(0x373,'yBxQ')]&&Iii1Ii[liI11I(0x25d,'rVMy')][liI11I(0x279,'z*LK')]&&Iii1Ii['data'][liI11I(0x3ae,'w^(H')]===0x3){}else{if(Iii1Ii[liI11I(0x35e,'M(AO')]&&Iii1Ii[liI11I(0x3c8,')uDY')][liI11I(0x22a,'Y^Op')]&&l1i1I[liI11I(0x3f4,'Y^Op')](Iii1Ii[liI11I(0x244,'rBvR')][liI11I(0x2f2,'7D3p')],0x2))$[liI11I(0x38f,'a5dh')]++;else{}}}}}await $[liI11I(0x383,'Ayb^')](l1i1I[liI11I(0x2a6,'FGv6')](parseInt,Math[liI11I(0x3e6,'eKLP')]()*0x7d0+0xbb8,0xa)),await l1i1I[liI11I(0x435,'^BaF')](liIllI),await $[liI11I(0x293,'fQ7M')](l1i1I[liI11I(0x3eb,'Kouq')](parseInt,l1i1I['JmXCe'](l1i1I[liI11I(0x1f0,'a5dh')](Math['random'](),0x7d0),0xbb8),0xa));if($['joyBaseInfo']&&$['joyBaseInfo'][liI11I(0x1e1,'M5DF')])$[liI11I(0x3a2,'[X]3')]($['name']+liI11I(0x337,'%g!)')+$[liI11I(0x3fa,'eKLP')]+liI11I(0x432,'[X]3')+$[liI11I(0x32d,'nl6f')]['invitePin']),$[liI11I(0x265,'D&sC')][liI11I(0x1e3,'RVSN')]($[liI11I(0x1db,'Mzzi')][liI11I(0x21b,'XgzO')]);else{$[liI11I(0x359,'QcaH')]($[liI11I(0x2bc,'xgZY')]+'\x20-\x20'+$[liI11I(0x362,'RVSN')]+liI11I(0x3d5,'5w!n')),$['invitePinTaskList']['push'](''),$[liI11I(0x316,'ctbR')]=![],$[liI11I(0x42e,')uDY')](l1i1I[liI11I(0x249,')]Qx')]);continue;}await l1i1I[liI11I(0x39e,'D&sC')](ili1II),await $[liI11I(0x1e6,'w^(H')](parseInt(l1i1I['Lhotz'](l1i1I[liI11I(0x3b7,'h[93')](Math['random'](),0x3e8),0x3e8),0xa));for(const Iii1Il of $[liI11I(0x259,'7D3p')]){if(l1i1I[liI11I(0x2ba,'1OC^')]!==l1i1I['cJhSX'])lil11I['log'](''+Iliii1['stringify'](iIiIi)),iil1ll[liI11I(0x283,'Kouq')](iiilil[liI11I(0x269,'z*LK')]+liI11I(0x250,'XgzO'));else{if(l1i1I[liI11I(0x355,')]Qx')](Iii1Il['taskType'],liI11I(0x40b,'5w!n'))){if(l1i1I[liI11I(0x3e5,'1OC^')]('oypzO',l1i1I['aVDXo'])){I1l11I=l1i1I['bmrQx'](Ilil1l,0x20);let llIl1=l1i1I[liI11I(0x3e9,'a5gj')],l1iIiI=llIl1['length'],illlli='';for(iIIiii=0x0;l1i1I[liI11I(0x3a0,'xohm')](iilll,il1iI1);IlllIi++)illlli+=llIl1[liI11I(0x3cb,'QcaH')](iIIiil[liI11I(0x238,'rVMy')](i1l1Ii[liI11I(0x353,'FGv6')]()*l1iIiI));return illlli;}else{const illlll=liI11I(0x3b2,'ctbR')[liI11I(0x2d3,'a5gj')]('|');let IIIIiI=0x0;while(!![]){switch(illlll[IIIIiI++]){case'0':await l1i1I[liI11I(0x26c,'o5m$')](l1i11,Iii1Il['id'],Iii1Il[liI11I(0x239,'h[93')]);continue;case'1':await l1i1I[liI11I(0x391,'ctbR')](ll11i,Iii1Il['id'],Iii1Il[liI11I(0x3c5,')]Qx')],undefined);continue;case'2':await $['wait'](parseInt(l1i1I['UnPbB'](l1i1I[liI11I(0x374,'xa33')](Math[liI11I(0x39c,'TT!d')](),0x3e8),0x3e8),0xa));continue;case'3':$['log'](Iii1Il[liI11I(0x21c,'D&sC')]+'\x20领取奖励');continue;case'4':$[liI11I(0x431,'D&sC')](''+Iii1Il[liI11I(0x21e,'%g!)')]);continue;case'5':await $[liI11I(0x3f8,'h[93')](l1i1I['ezAqI'](parseInt,Math[liI11I(0x26f,')uDY')]()*0x3e8+0x3e8,0xa));continue;}break;}}}if(Iii1Il[liI11I(0x26d,'ctbR')]===l1i1I[liI11I(0x2e9,'^BaF')]||l1i1I[liI11I(0x21f,'cVyV')](Iii1Il['taskType'],liI11I(0x32a,'5GaQ'))&&l1i1I['bgvqQ'](Iii1Il[liI11I(0x214,'2FO!')],0x1)){if(l1i1I[liI11I(0x256,'a5dh')](l1i1I[liI11I(0x272,'yBxQ')],l1i1I['sZGJN'])){if(Iil1I1)l1i111[liI11I(0x2c5,'^BaF')](''+iliII1[liI11I(0x1d6,'!qvN')](II11I1)),Iii11I[liI11I(0x1f9,'b4Cf')](Iil1II[liI11I(0x41a,'Kq8g')]+liI11I(0x367,'gii0'));else{iIIl1I=I1iIli[liI11I(0x311,'a5gj')](lI1Ill),lI1Ili['taskList']=IliilI[liI11I(0x2c6,'a5gj')];for(const i1i111 of I1iIll[liI11I(0x381,'a5dh')]){llIllI[liI11I(0x340,'cb5G')](i1i111[liI11I(0x2af,'Mzzi')]+'\x20'+i1i111[liI11I(0x3c0,'yBxQ')]+'/'+i1i111['taskLimitTimes']);}l1l1I1['log'](l1i1I[liI11I(0x270,'w^(H')]);}}else{let ii1l1I=await l1i1I[liI11I(0x3ea,'5w!n')](I1I1li,Iii1Il['id'],Iii1Il['taskType']);await $[liI11I(0x3d2,'z*LK')](parseInt(l1i1I['LenyI'](Math['random']()*0x3e8,0x3e8),0xa));let lI1lII=0x0;if(l1i1I[liI11I(0x32f,'7D3p')](ii1l1I['length'],0x0)){if(l1i1I[liI11I(0x436,'o5m$')]!=='RkZsr'){let lIill1=await l1i11(Iii1Il['id'],Iii1Il['taskType']);await $['wait'](l1i1I['JKMmu'](parseInt,l1i1I[liI11I(0x325,'b4Cf')](Math[liI11I(0x3c7,'gii0')](),0x3e8)+0x3e8,0xa)),!lIill1['success']&&(l1i1I['YIeQC'](l1i1I['nfGus'],l1i1I[liI11I(0x2d8,'1OC^')])?(llIlll=lliii1[liI11I(0x204,'7D3p')](Iiii1),lIIili[liI11I(0x32d,'nl6f')]=IiiIil['data']):($[liI11I(0x1f7,'yBxQ')](Iii1Il['taskTitle']+'|'+Iii1Il[liI11I(0x380,'xohm')]+liI11I(0x294,'^BaF')),ii1l1I=await l1i1I[liI11I(0x22b,'cb5G')](I1I1li,Iii1Il['id'],Iii1Il[liI11I(0x1f5,'TT!d')]),await $[liI11I(0x230,'QcaH')](l1i1I[liI11I(0x322,'a5dh')](parseInt,l1i1I[liI11I(0x430,'%g!)')](l1i1I['wfKRg'](Math[liI11I(0x26f,')uDY')](),0x3e8),0x3e8),0xa))));}else{I1iIil[liI11I(0x295,'cVyV')](lI1Iil['name'],l1i1I['gIvFd'],l1i1I['JQbzX'],{'open-url':l1i1I[liI11I(0x331,'Ayb^')]});return;}}while(l1i1I['xyxuD'](Iii1Il[liI11I(0x1fe,'1OC^')]-Iii1Il[liI11I(0x2e1,'ctbR')],0x0)){if(l1i1I['uNbAn'](l1i1I[liI11I(0x31e,'a5dh')],l1i1I[liI11I(0x32e,'xgZY')]))return Iil1i1[liI11I(0x2ca,'z*LK')](IIii11),iliIl1[liI11I(0x34f,'D&sC')](Ii1il1[liI11I(0x3ee,'rBvR')],'',l1i1I[liI11I(0x1d9,'DM7X')]),[];else{if(ii1l1I['length']===0x0){if(l1i1I[liI11I(0x37e,')]Qx')](l1i1I['oyJIU'],l1i1I['pqEBX']))liiIII?(i11ilI[liI11I(0x228,'xohm')](''+ii1ii1[liI11I(0x3d7,'7D3p')](llllI)),lllil1['log'](iil1il[liI11I(0x2fd,'V@p%')]+'\x20API请求失败,请检查网路重试')):(ilil1I=i11il1[liI11I(0x401,'cVyV')](ii1iiI),lllilI[liI11I(0x255,'m$9H')](l1i1I[liI11I(0x1fc,'xohm')]));else{$['log'](Iii1Il[liI11I(0x2f8,'gii0')]+liI11I(0x348,'b4Cf'));break;}}$[liI11I(0x326,'RVSN')](Iii1Il['taskTitle']+'\x20'+Iii1Il['taskDoTimes']+'/'+Iii1Il['taskLimitTimes']);let l1lI1i=await l1i1I[liI11I(0x3fd,'m$9H')](ll11i,Iii1Il['id'],Iii1Il[liI11I(0x434,'xgZY')],ii1l1I[lI1lII][liI11I(0x3fb,')uDY')],liI11I(0x245,'w^(H'));await $[liI11I(0x24e,'TT!d')](parseInt(l1i1I[liI11I(0x222,'Ayb^')](Math['random'](),0x3e8)+0x3e8,0xa));l1i1I[liI11I(0x209,'!qvN')](l1lI1i['code'],0x7d5)||l1lI1i[liI11I(0x2d1,'z*LK')]===0x0?l1i1I[liI11I(0x3d3,')]Qx')]===liI11I(0x2e3,'o5m$')?$[liI11I(0x371,'rBvR')](Iii1Il['taskTitle']+'|'+Iii1Il[liI11I(0x24d,'eKLP')]+'\x20任务完成!'):II1Ii['push'](i1ii[I1iIl1]):$['log'](liI11I(0x1fd,'xohm'));lI1lII++,Iii1Il[liI11I(0x215,'Y^Op')]++;if(!ii1l1I[lI1lII])break;}}for(let l1I1Ii=0x0;l1I1Ii<Iii1Il[liI11I(0x38c,'Kq8g')];l1I1Ii++){if(l1i1I['TdpMt'](liI11I(0x36f,'2FO!'),liI11I(0x396,'eKLP')))liIiI[liI11I(0x2db,'DM7X')](''+l1il1I[liI11I(0x307,']X@m')](Iiili)),IilIli[liI11I(0x326,'RVSN')](li1[liI11I(0x375,'M5DF')]+liI11I(0x23d,'DM7X'));else{let IIlill=await l1i11(Iii1Il['id'],Iii1Il['taskType']);await $['wait'](parseInt(Math[liI11I(0x35c,'XgzO')]()*0x3e8+0x3e8,0xa));if(!IIlill['success']){$[liI11I(0x228,'xohm')](Iii1Il[liI11I(0x1f3,']X@m')]+'|'+Iii1Il[liI11I(0x2b8,'Kouq')]+liI11I(0x294,'^BaF'));break;}}}}}else{if(Iii1Il[liI11I(0x424,'V@p%')]===l1i1I[liI11I(0x2d4,'a5gj')]){if(l1i1I[liI11I(0x427,'Ayb^')]!==l1i1I[liI11I(0x229,'^BaF')])!illlIi[liI11I(0x271,'5w!n')]?l1i1I['iXIdt'](i11ill,[]):IIIIIi(IIIIIl[liI11I(0x40a,'o5m$')][liI11I(0x34d,'Kq8g')]);else{$['yq_taskid']=Iii1Il['id'];for(let liliil=0x0;l1i1I['OuOVG'](liliil,0x5);liliil++){if(l1i1I[liI11I(0x275,'Y^Op')](l1i1I[liI11I(0x21d,'m$9H')],liI11I(0x356,'b4Cf')))lilIIi[liI11I(0x2b5,'Kq8g')](i1l1Il,llIli);else{let lIillI=await l1i11($[liI11I(0x3ad,'xgZY')],liI11I(0x2f1,'cVyV'));await $['wait'](l1i1I[liI11I(0x34c,'M%[T')](parseInt,l1i1I[liI11I(0x308,'D&sC')](l1i1I[liI11I(0x227,'a5dh')](Math[liI11I(0x3a1,'yBxQ')](),0x3e8),0x3e8),0xa));if(!lIillI[liI11I(0x425,'w^(H')]){if(l1i1I['YIeQC'](l1i1I[liI11I(0x3d1,'FGv6')],liI11I(0x315,'%g!)')))break;else iliIIl[liI11I(0x23b,'5GaQ')](l1i1I[liI11I(0x398,'m$9H')]);}$[liI11I(0x2c5,'^BaF')](l1i1I[liI11I(0x1ed,'M%[T')]);}}}}}Iii1Il[liI11I(0x285,'gii0')]===liI11I(0x28a,'h[93')&&l1i1I[liI11I(0x342,'M5DF')](Iii1Il[liI11I(0x40c,'h[93')],0x1)&&(l1i1I[liI11I(0x290,'[X]3')]===l1i1I[liI11I(0x26e,'Kouq')]?lil11i['taskDetailList']=[]:($[liI11I(0x359,'QcaH')](Iii1Il[liI11I(0x1f3,']X@m')]+'|'+Iii1Il[liI11I(0x27c,'cb5G')]),await l1i1I[liI11I(0x38b,'7D3p')](iI1lI1,Iii1Il['id'],Iii1Il[liI11I(0x210,'DM7X')],Iii1Il[liI11I(0x273,'FGv6')]),$[liI11I(0x1e2,'7D3p')](Iii1Il[liI11I(0x2cc,'cVyV')]+'|'+Iii1Il[liI11I(0x3ba,'XgzO')]+liI11I(0x33e,')]Qx')),await l1i1I[liI11I(0x34a,'nl6f')](l1i11,Iii1Il['id'],Iii1Il[liI11I(0x31c,'a5gj')])));}}}}$[liI11I(0x2c5,'^BaF')](liI11I(0x24c,'a5gj'));for(let iIiilI=0x0;l1i1I[liI11I(0x3a5,'%g!)')](iIiilI,III11I[liI11I(0x274,'5GaQ')]);iIiilI++){if(l1i1I['XYytT'](liI11I(0x252,'ctbR'),liI11I(0x1e7,'Ayb^')))iIII1I=ilil1i[liI11I(0x241,'XgzO')](IlIIi),!IiI1l['success']?llll1[liI11I(0x399,'V@p%')]=[]:lil11l[liI11I(0x2c9,'ctbR')]=i1i1Il?.[liI11I(0x3bb,'fQ7M')]?.[liI11I(0x407,'Ayb^')];else{Ilii1=III11I[iIiilI];if(Ilii1){$[liI11I(0x379,'Y^Op')]=l1i1I[liI11I(0x327,'Y^Op')](decodeURIComponent,Ilii1['match'](/pt_pin=([^; ]+)(?=;?)/)&&Ilii1['match'](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$[liI11I(0x3b0,'xgZY')]=l1i1I['AACxf'](iIiilI,0x1),$[liI11I(0x2c0,')uDY')]=!![],$[liI11I(0x22f,'nl6f')]='',console[liI11I(0x42e,')uDY')](liI11I(0x233,'RVSN')+$[liI11I(0x2e4,'RVSN')]+'】'+($[liI11I(0x334,'xgZY')]||$[liI11I(0x358,'M%[T')])+liI11I(0x395,'o5m$'));if(!$['isLogin']){$['msg']($[liI11I(0x296,'Kouq')],liI11I(0x329,'D&sC'),liI11I(0x27f,'fQ7M')+$['index']+'\x20'+($['nickName']||$['UserName'])+liI11I(0x2e6,'h[93'),{'open-url':l1i1I['CFQLX']});$[liI11I(0x26a,'V@p%')]()&&(liI11I(0x30f,')uDY')===liI11I(0x30f,')uDY')?await lil11[liI11I(0x20e,'5GaQ')]($['name']+'cookie已失效\x20-\x20'+$[liI11I(0x268,'D&sC')],liI11I(0x3b9,'xohm')+$[liI11I(0x3ed,'^BaF')]+'\x20'+$[liI11I(0x1ff,'DM7X')]+liI11I(0x3f9,'fQ7M')):lIIiii['log'](iI1lli[liI11I(0x2c4,'!qvN')]+'\x20'+ll1iI[liI11I(0x3c0,'yBxQ')]+'/'+iI1lll[liI11I(0x1d8,'Ayb^')]));continue;}$[liI11I(0x22e,'FGv6')]=[...$['invitePinTaskList']||[],...$[liI11I(0x370,'Kouq')]||[]];for(const ilIlIi of $[liI11I(0x2ae,'XgzO')]){if(l1i1I[liI11I(0x24a,'a5gj')](l1i1I['Azzhz'],'AoPzk')){$[liI11I(0x306,'1OC^')](liI11I(0x37a,'Mzzi')+$['index']+'】'+($[liI11I(0x2d5,'[X]3')]||$['UserName'])+'\x20助力\x20'+ilIlIi),await $[liI11I(0x421,'^BaF')](parseInt(l1i1I[liI11I(0x287,'cVyV')](Math[liI11I(0x26f,')uDY')](),0x7d0)+0xbb8,0xa));let ilIlIl=await l1i1I[liI11I(0x377,'[X]3')](liIllI,$[liI11I(0x354,'xa33')],0x1,ilIlIi);await $[liI11I(0x352,'M%[T')](l1i1I['ZrAxm'](parseInt,l1i1I[liI11I(0x39a,'xa33')](l1i1I['WGpGO'](Math[liI11I(0x2a2,']X@m')](),0x7d0),0xbb8),0xa));if(ilIlIl['success']){if(l1i1I[liI11I(0x220,'RVSN')](ilIlIl[liI11I(0x40a,'o5m$')]['helpState'],0x1))$[liI11I(0x283,'Kouq')](liI11I(0x2a5,'h[93'));else{if(l1i1I[liI11I(0x2a4,'DM7X')](ilIlIl['data'][liI11I(0x2f9,']X@m')],0x0))$['log']('自己不能助力自己!');else{if(l1i1I['uSVZl'](ilIlIl[liI11I(0x2ad,'eKLP')][liI11I(0x2bd,'Kq8g')],0x2))$['log']('助力过了!');else{if(ilIlIl[liI11I(0x240,'Mzzi')][liI11I(0x279,'z*LK')]===0x3){$[liI11I(0x255,'m$9H')](l1i1I['YgTVD']);break;}else ilIlIl['data']['helpState']===0x4&&$[liI11I(0x289,'Kq8g')](l1i1I['uyKRq']);}}}}else{$[liI11I(0x263,'fQ7M')](l1i1I[liI11I(0x277,'Y^Op')]);break;}}else i1i1Ii['taskDetailList']=lllii?.[liI11I(0x40a,'o5m$')]?.['taskItemList'];}}}}})()[l1iiIl(0x35d,'ctbR')](ll1llI=>$[l1iiIl(0x2b3,'z*LK')](ll1llI))[l1iiIl(0x2bf,'m$9H')](()=>$['done']());function ili1II(){const III1=l1iiIl,i11lIl={'ZWlfd':function(l1lI11,lI1iii){return l1lI11===lI1iii;},'GvBkQ':III1(0x42a,'TT!d'),'qStym':III1(0x32b,'%g!)'),'xlzJw':function(i11lIi,ll1ll1){return i11lIi(ll1ll1);},'qskKe':function(lilil1,lIilli,I1iiii){return lilil1(lIilli,I1iiii);}};return new Promise(iiI1iI=>{const l1IIl1=III1;$['post'](i11lIl['qskKe'](IlI1li,'body={\x22linkId\x22:\x2299DZNpaCTAv8f4TuKXr0Ew\x22}&appid=activities_platform',l1IIl1(0x31d,'ctbR')),async(I1iiil,Illll1,lI1iil)=>{const l1iiIi=l1IIl1;$[l1iiIi(0x3db,'cVyV')](l1iiIi(0x267,']X@m'));try{if(I1iiil)console['log'](''+JSON[l1iiIi(0x1f4,')uDY')](I1iiil)),console[l1iiIi(0x1fb,'dUqs')]($[l1iiIi(0x37c,'dUqs')]+l1iiIi(0x2ac,'%g!)'));else{if(i11lIl[l1iiIi(0x323,'2FO!')](i11lIl[l1iiIi(0x278,'M%[T')],'XhTJY'))IlI1l['log'](lilIil[l1iiIi(0x3e3,'M%[T')]+'\x20-\x20'+i1l11[l1iiIi(0x3dd,'yBxQ')]+'\x20\x20助力码:\x20'+i1l1li[l1iiIi(0x333,'xgZY')][l1iiIi(0x31b,'xohm')]),i1ilii[l1iiIi(0x3b4,'Kouq')][l1iiIi(0x1d7,'Ayb^')](iIIII1[l1iiIi(0x2de,'RVSN')][l1iiIi(0x418,'cVyV')]);else{lI1iil=JSON[l1iiIi(0x204,'7D3p')](lI1iil),$[l1iiIi(0x416,'z*LK')]=lI1iil['data'];for(const iIiiiI of $[l1iiIi(0x3c3,'xa33')]){$[l1iiIi(0x2cf,'ctbR')](iIiiiI['taskTitle']+'\x20'+iIiiiI[l1iiIi(0x1e9,'eKLP')]+'/'+iIiiiI[l1iiIi(0x20c,')uDY')]);}$[l1iiIi(0x3d4,'XgzO')](i11lIl[l1iiIi(0x3e2,'xgZY')]);}}}catch(ilI11i){$[l1iiIi(0x368,'V@p%')](ilI11i,Illll1);}finally{i11lIl[l1iiIi(0x2be,']X@m')](iiI1iI,lI1iil);}});});}async function liIllI(ilI11l='',li1I='',IIliil=''){const lIIi1l=l1iiIl,ll1liI={'XOYsh':function(iIIlli,ll1li1){return iIIlli===ll1li1;},'deylc':'cKvOM','bbqUr':lIIi1l(0x3c4,'QcaH'),'xVOcY':function(iIIlll,I1iiiI){return iIIlll===I1iiiI;},'ecIlU':'LTOEI','KuRcm':function(iiI1il,iiI1ii){return iiI1il===iiI1ii;},'sfZVF':'FCOpC','mzjis':lIIi1l(0x3f2,'w^(H'),'gBhzH':'qwVQw','LHKwB':lIIi1l(0x3b1,'M%[T'),'Dwvfd':'10.1.0','KDnfP':lIIi1l(0x405,'!qvN'),'FvzpP':lIIi1l(0x29b,'FGv6')},lI1iiI={'functionId':ll1liI['LHKwB'],'clientVersion':ll1liI['Dwvfd'],'client':lIIi1l(0x388,'gii0'),'t':ili1I1,'appid':ll1liI[lIIi1l(0x389,'5w!n')],'body':lIIi1l(0x251,'eKLP')+ilI11l+lIIi1l(0x332,'o5m$')+li1I+lIIi1l(0x3b5,'1OC^')+IIliil+'\x22,\x22linkId\x22:\x2299DZNpaCTAv8f4TuKXr0Ew\x22}'},i11lII=await ll11l(ll1liI[lIIi1l(0x2d0,'Kq8g')],lI1iiI);return new Promise(I1iii1=>{const I1lI1i=lIIi1l,lilii1={'boiZU':function(iIiii1,ll1lil){return iIiii1+ll1lil;},'usBdv':function(IIlil1,I1Illl){return IIlil1+I1Illl;},'luAcG':ll1liI[I1lI1i(0x3de,'z*LK')]};I1lI1i(0x317,'o5m$')!==ll1liI['gBhzH']?(lliiiI[I1lI1i(0x255,'m$9H')](''+lilil['stringify'](ll1ll)),Illl11[I1lI1i(0x3df,'5w!n')](ii1lI[I1lI1i(0x3ca,'m$9H')]+'\x20getJoyBaseInfo\x20API请求失败,请检查网路重试')):$[I1lI1i(0x25c,'ctbR')](IlI1ll(i11lII),async(li11,ilIlI1,I1Illi)=>{const illili=I1lI1i,IIlilI={'WOqyl':function(Illlll,Illlli){return ll1liI['XOYsh'](Illlll,Illlli);}};if(ll1liI[illili(0x406,'Kq8g')]!==ll1liI[illili(0x385,'!qvN')])try{ll1liI[illili(0x1fa,'rBvR')](ll1liI['ecIlU'],ll1liI[illili(0x2e7,'eKLP')])?li11?(console['log'](''+JSON[illili(0x2b2,'fQ7M')](li11)),console[illili(0x36a,'TT!d')]($[illili(0x2e2,']X@m')]+illili(0x33d,'Ayb^'))):(I1Illi=JSON['parse'](I1Illi),$[illili(0x42b,'Kouq')]=I1Illi['data']):(l1iIII[illili(0x2db,'DM7X')](lilii1[illili(0x429,'^BaF')]('',llI1I1['stringify'](IlIlil))),lIli1I['log'](lilii1[illili(0x1dc,'M%[T')](II1il[illili(0x23f,'M(AO')],lilii1[illili(0x2fa,'!qvN')])));}catch(lI1ii1){$[illili(0x411,'cVyV')](lI1ii1,ilIlI1);}finally{if(ll1liI[illili(0x31a,'^BaF')](ll1liI[illili(0x38d,')uDY')],'FCOpC'))I1iii1(I1Illi);else return l1l1i1['parse'](i1iiI);}else{IiilI1[illili(0x305,'b4Cf')](IIII1l)[illili(0x2a3,'D&sC')](i11lI1=>{IlI11['push'](iIIIIl[i11lI1]);});if(IlI1I[illili(0x3ff,'5GaQ')][illili(0x216,'M5DF')]&&IIlilI[illili(0x2f3,'eKLP')](II11Ii[illili(0x3ff,'5GaQ')][illili(0x242,']X@m')],illili(0x1da,'D&sC')))II11Il['log']=()=>{};}});});}async function ll11i(liliiI,ilIIiI,lIl1ii='',lIl1il=l1iiIl(0x382,'M(AO')){const iiiII1=l1iiIl,Ii1l11={'qMwIB':function(IliIlI,IIliiI){return IliIlI!==IIliiI;},'tdpTv':'hvYaH','tWHSC':function(i1111l,i1111i){return i1111l!==i1111i;},'yECQU':'zgzUk','pFzoT':function(iliiI1,Illli1){return iliiI1!==Illli1;},'jveBV':iiiII1(0x341,'w^(H'),'grHQa':iiiII1(0x286,')]Qx'),'hvfOU':function(ilIIii,l1111){return ilIIii(l1111);},'AuOox':function(lIl1l1,li1i){return lIl1l1(li1i);},'xJvUp':iiiII1(0x3c1,'Kq8g'),'BBIuU':'EFpfT','CXPRn':'apDoTask','QGGMm':iiiII1(0x320,'FGv6'),'lvjws':iiiII1(0x420,'yBxQ'),'iZfUe':'activities_platform','XfaXk':function(ilIIil,lIili1,li1l){return ilIIil(lIili1,li1l);}},IIlii1={'functionId':Ii1l11[iiiII1(0x33a,'5GaQ')],'clientVersion':Ii1l11['QGGMm'],'client':Ii1l11[iiiII1(0x33b,'2FO!')],'t':ili1I1,'appid':Ii1l11['iZfUe'],'body':iiiII1(0x302,'cVyV')+ilIIiI+'\x22,\x22taskId\x22:'+liliiI+iiiII1(0x41e,'[X]3')+lIl1ii+'\x22}'},iiI1lI=await Ii1l11['XfaXk'](ll11l,iiiII1(0x400,'D&sC'),IIlii1);return new Promise(iliiII=>{const liI111=iiiII1;Ii1l11[liI111(0x42c,'[X]3')](Ii1l11['xJvUp'],Ii1l11['BBIuU'])?$[liI111(0x3e7,'yBxQ')](Ii1l11['hvfOU'](IlI1ll,iiI1lI),async(iiI1li,IIliii,i1111I)=>{const IiIlI=liI111;if(Ii1l11[IiIlI(0x3f3,'rBvR')]('pVVaq',Ii1l11['tdpTv']))try{Ii1l11[IiIlI(0x262,'%g!)')]('zgzUk',Ii1l11['yECQU'])?iIIl1i[IiIlI(0x3d4,'XgzO')]('助力成功!'):iiI1li?(console[IiIlI(0x254,'w^(H')](''+JSON[IiIlI(0x23c,'nl6f')](iiI1li)),console[IiIlI(0x345,'Mzzi')]($[IiIlI(0x2fd,'V@p%')]+IiIlI(0x28e,'5GaQ'))):i1111I=JSON[IiIlI(0x30c,'gii0')](i1111I);}catch(lIl1lI){$[IiIlI(0x339,'%g!)')](lIl1lI,IIliii);}finally{Ii1l11[IiIlI(0x29f,'QcaH')](Ii1l11['jveBV'],Ii1l11['grHQa'])?Ii1l11[IiIlI(0x2c1,'FGv6')](iliiII,i1111I):IIIl1i([]);}else i1l1I[IiIlI(0x2fc,']X@m')]++;}):Ii1l11['AuOox'](IIliI,ilI1ll);});}async function iI1lI1(Ii1IIi,Ii1IIl,l111I,ll1lli=l1iiIl(0x31f,'7D3p')){const iIlI1i=l1iiIl,ll1lll={'WjXjr':function(lililI,lI1ill){return lililI===lI1ill;},'lVhXK':iIlI1i(0x36d,'cVyV'),'scKrs':iIlI1i(0x3fc,'%g!)'),'WniOn':function(Illlii,lI1ili){return Illlii!==lI1ili;},'dOKTg':iIlI1i(0x310,'Ayb^'),'FipqT':'hmuzG','DbssW':iIlI1i(0x3f1,'yBxQ'),'RxNJQ':function(Il1II,i1lll){return Il1II(i1lll);},'Zdjkw':function(Ii11I,I1iill){return Ii11I===I1iill;},'zfiJZ':'JqCxb','ABgkA':iIlI1i(0x236,'M%[T'),'pGfnU':'10.1.0','xMNKv':iIlI1i(0x2f4,')uDY'),'TgGXN':iIlI1i(0x386,'2FO!')},Illlil={'functionId':ll1lll[iIlI1i(0x2a9,'M5DF')],'clientVersion':ll1lll[iIlI1i(0x351,'Y^Op')],'client':ll1lll[iIlI1i(0x2d6,'z*LK')],'t':ili1I1,'appid':ll1lll[iIlI1i(0x410,'M(AO')],'body':iIlI1i(0x3c2,'!qvN')+Ii1IIl+'\x22,\x22taskId\x22:'+Ii1IIi+iIlI1i(0x284,'DM7X')+l111I+'\x22}'},I1iili=await ll11l(iIlI1i(0x27e,'rVMy'),Illlil);return new Promise(i1lli=>{const iII1Il=iIlI1i;ll1lll[iII1Il(0x314,'Kq8g')](ll1lll[iII1Il(0x264,'gii0')],ll1lll[iII1Il(0x303,'a5gj')])?$[iII1Il(0x35f,'a5gj')](ll1lll[iII1Il(0x40f,']X@m')](IlI1ll,I1iili),async(i11111,lIl1li,Il1I1)=>{const IIIliI=iII1Il,lIilii={'uTbXn':IIIliI(0x3cf,'b4Cf')};try{ll1lll['WjXjr'](ll1lll[IIIliI(0x3d8,'xa33')],ll1lll['scKrs'])?lI11Ii=Iiill['parse'](l11i1i):i11111?ll1lll[IIIliI(0x328,'xa33')](ll1lll[IIIliI(0x369,'xgZY')],ll1lll['FipqT'])?(console['log'](''+JSON[IIIliI(0x23a,'Y^Op')](i11111)),console[IIIliI(0x40e,'Y^Op')]($[IIIliI(0x2e2,']X@m')]+IIIliI(0x2b1,'1OC^'))):ill111[IIIliI(0x1f9,'b4Cf')](lIilii[IIIliI(0x34e,'2FO!')]):Il1I1=JSON[IIIliI(0x23e,'cb5G')](Il1I1);}catch(Ii111){$[IIIliI(0x417,'1OC^')](Ii111,lIl1li);}finally{IIIliI(0x3ef,']X@m')===ll1lll[IIIliI(0x24f,'z*LK')]?i1ilil[IIIliI(0x2dd,'gii0')](lilIii[IIIliI(0x1e8,'yBxQ')]+'|'+i1ill1['taskShowTitle']+IIIliI(0x253,'M5DF')):ll1lll[IIIliI(0x235,'2FO!')](i1lli,Il1I1);}}):llIli1[iII1Il(0x255,'m$9H')](iII1Il(0x2ed,'M5DF'));});}async function I1I1li(l111i,l111l){const iII1Ii=l1iiIl,I1iilI={'LHKLZ':function(IliIli,lI1ilI){return IliIli==lI1ilI;},'DGDcb':iII1Ii(0x30e,'2FO!'),'lTmZw':function(IllliI,IliIll){return IllliI!==IliIll;},'jMdZt':'kPKnh','MsQRt':function(iIiili,lilill){return iIiili(lilill);},'OYjAO':iII1Ii(0x205,'FGv6'),'hVHHP':'10.1.0','feAec':iII1Ii(0x225,'M%[T'),'CZDDO':iII1Ii(0x261,'rBvR')},Ii1II1={'functionId':I1iilI[iII1Ii(0x232,'dUqs')],'clientVersion':I1iilI['hVHHP'],'client':I1iilI[iII1Ii(0x346,'V@p%')],'t':ili1I1,'appid':I1iilI[iII1Ii(0x426,'2FO!')],'body':iII1Ii(0x247,')]Qx')+l111l+iII1Ii(0x2b0,'%g!)')+l111i+',\x22channel\x22:4,\x22linkId\x22:\x2299DZNpaCTAv8f4TuKXr0Ew\x22}'},lilili=await ll11l(iII1Ii(0x3aa,'Kq8g'),Ii1II1);return new Promise(IilI1=>{const iIlI1l=iII1Ii;$[iIlI1l(0x298,'dUqs')](I1iilI['MsQRt'](IlI1ll,lilili),async(l1lI1,Ili1I1,lI1I1i)=>{const l1IIii=iIlI1l,liI1II={'NkqIl':function(i1Iii1,l1liii){const llIill=iii1II;return I1iilI[llIill(0x2f7,'a5gj')](i1Iii1,l1liii);},'kZHPR':I1iilI[l1IIii(0x3ce,'2FO!')]};try{if(I1iilI['lTmZw'](I1iilI[l1IIii(0x3b3,'xa33')],I1iilI[l1IIii(0x2fb,'w^(H')])){if(liI1II[l1IIii(0x3f0,'h[93')](typeof Iil1ll,liI1II['kZHPR']))try{return IIii1i[l1IIii(0x394,'RVSN')](i1ili);}catch(l1liil){return iill1[l1IIii(0x228,'xohm')](l1liil),iii1l1['msg'](IIliIl[l1IIii(0x428,'a5gj')],'',l1IIii(0x324,'^BaF')),[];}}else l1lI1?(console[l1IIii(0x2e0,'xa33')](''+JSON['stringify'](l1lI1)),console[l1IIii(0x23b,'5GaQ')]($[l1IIii(0x41a,'Kq8g')]+l1IIii(0x3e1,'Y^Op'))):(lI1I1i=JSON[l1IIii(0x3d9,'rBvR')](lI1I1i),!lI1I1i[l1IIii(0x419,'[X]3')]?$['taskDetailList']=[]:$[l1IIii(0x1f1,'5GaQ')]=lI1I1i?.[l1IIii(0x2c6,'a5gj')]?.['taskItemList']);}catch(i1ll1){$[l1IIii(0x408,'XgzO')](i1ll1,Ili1I1);}finally{!lI1I1i[l1IIii(0x37f,'M(AO')]?I1iilI[l1IIii(0x1e4,'D&sC')](IilI1,[]):I1iilI[l1IIii(0x3be,'xgZY')](IilI1,lI1I1i['data']['taskItemList']);}});});}function iii1II(_0x4e5186,_0x112bfa){const _0x253616=Iii11l();return iii1II=function(_0x1280b7,_0x3b871a){_0x1280b7=_0x1280b7-0x1d6;let _0x208c9a=_0x253616[_0x1280b7];if(iii1II['ZPPMQs']===undefined){var _0x56b6ed=function(_0x5b6c26){const _0x17403b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x39ae1f='',_0x28f3c3='';for(let _0x4feb2e=0x0,_0x4875fb,_0x506901,_0x120276=0x0;_0x506901=_0x5b6c26['charAt'](_0x120276++);~_0x506901&&(_0x4875fb=_0x4feb2e%0x4?_0x4875fb*0x40+_0x506901:_0x506901,_0x4feb2e++%0x4)?_0x39ae1f+=String['fromCharCode'](0xff&_0x4875fb>>(-0x2*_0x4feb2e&0x6)):0x0){_0x506901=_0x17403b['indexOf'](_0x506901);}for(let _0x396a27=0x0,_0x43184d=_0x39ae1f['length'];_0x396a27<_0x43184d;_0x396a27++){_0x28f3c3+='%'+('00'+_0x39ae1f['charCodeAt'](_0x396a27)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x28f3c3);};const _0x21d9bc=function(_0x3bdd17,_0x11a7fa){let _0x2b3d01=[],_0x25fb1d=0x0,_0x309215,_0x492713='';_0x3bdd17=_0x56b6ed(_0x3bdd17);let _0x3ccae9;for(_0x3ccae9=0x0;_0x3ccae9<0x100;_0x3ccae9++){_0x2b3d01[_0x3ccae9]=_0x3ccae9;}for(_0x3ccae9=0x0;_0x3ccae9<0x100;_0x3ccae9++){_0x25fb1d=(_0x25fb1d+_0x2b3d01[_0x3ccae9]+_0x11a7fa['charCodeAt'](_0x3ccae9%_0x11a7fa['length']))%0x100,_0x309215=_0x2b3d01[_0x3ccae9],_0x2b3d01[_0x3ccae9]=_0x2b3d01[_0x25fb1d],_0x2b3d01[_0x25fb1d]=_0x309215;}_0x3ccae9=0x0,_0x25fb1d=0x0;for(let _0x1cc3e1=0x0;_0x1cc3e1<_0x3bdd17['length'];_0x1cc3e1++){_0x3ccae9=(_0x3ccae9+0x1)%0x100,_0x25fb1d=(_0x25fb1d+_0x2b3d01[_0x3ccae9])%0x100,_0x309215=_0x2b3d01[_0x3ccae9],_0x2b3d01[_0x3ccae9]=_0x2b3d01[_0x25fb1d],_0x2b3d01[_0x25fb1d]=_0x309215,_0x492713+=String['fromCharCode'](_0x3bdd17['charCodeAt'](_0x1cc3e1)^_0x2b3d01[(_0x2b3d01[_0x3ccae9]+_0x2b3d01[_0x25fb1d])%0x100]);}return _0x492713;};iii1II['ztyakS']=_0x21d9bc,_0x4e5186=arguments,iii1II['ZPPMQs']=!![];}const _0x2d0d89=_0x253616[0x0],_0x36bc65=_0x1280b7+_0x2d0d89,_0x393ae6=_0x4e5186[_0x36bc65];return!_0x393ae6?(iii1II['PUoFWR']===undefined&&(iii1II['PUoFWR']=!![]),_0x208c9a=iii1II['ztyakS'](_0x208c9a,_0x3b871a),_0x4e5186[_0x36bc65]=_0x208c9a):_0x208c9a=_0x393ae6,_0x208c9a;},iii1II(_0x4e5186,_0x112bfa);}async function l1i11(lilI1I,lI1I1l){const lIIi1I=l1iiIl,Il1Il={'UvMjk':function(l1lII,lilI1l){return l1lII!==lilI1l;},'ROiFe':lIIi1I(0x2f6,'M(AO'),'Wucql':lIIi1I(0x203,'dUqs'),'PLdHV':function(l1liiI,I1iI1){return l1liiI!==I1iI1;},'IjBaQ':lIIi1I(0x3a8,'TT!d'),'eAwno':lIIi1I(0x3a3,'Kq8g'),'SgbuL':function(lilI1i,Il1Ii){return lilI1i(Il1Ii);},'jUGHS':lIIi1I(0x320,'FGv6'),'pdlIN':lIIi1I(0x248,'a5dh'),'OtPQC':function(Ii11l,liI1I1,Ii11i){return Ii11l(liI1I1,Ii11i);}},i1IiiI={'functionId':lIIi1I(0x27b,'!qvN'),'clientVersion':Il1Il['jUGHS'],'client':lIIi1I(0x3f6,'RVSN'),'t':ili1I1,'appid':Il1Il[lIIi1I(0x32c,']X@m')],'body':'{\x22taskType\x22:\x22'+lI1I1l+lIIi1I(0x2d7,'rBvR')+lilI1I+',\x22linkId\x22:\x2299DZNpaCTAv8f4TuKXr0Ew\x22}'},lI1I1I=await Il1Il['OtPQC'](ll11l,lIIi1I(0x3a9,'M5DF'),i1IiiI);return new Promise(i1llI=>{const l1IIil=lIIi1I;$[l1IIil(0x1eb,'o5m$')](Il1Il[l1IIil(0x2ff,'yBxQ')](IlI1ll,lI1I1I),async(iIIli1,Ii1l1i,l1lIl)=>{const l1iiII=l1IIil;try{iIIli1?(console['log'](''+JSON[l1iiII(0x211,'FGv6')](iIIli1)),console[l1iiII(0x1fb,'dUqs')]($['name']+l1iiII(0x23d,'DM7X'))):Il1Il[l1iiII(0x304,'%g!)')](l1iiII(0x2d2,'RVSN'),Il1Il[l1iiII(0x36b,'cVyV')])?IlII1(IiI11):(l1lIl=JSON[l1iiII(0x394,'RVSN')](l1lIl),$[l1iiII(0x306,'1OC^')](Il1Il[l1iiII(0x2e8,'^BaF')]));}catch(i1Iiil){Il1Il[l1iiII(0x397,'Ayb^')](Il1Il['IjBaQ'],Il1Il[l1iiII(0x433,'RVSN')])?$[l1iiII(0x3f7,'!qvN')](i1Iiil,Ii1l1i):i11iil['logErr'](Ill1i,ii1iil);}finally{Il1Il['SgbuL'](i1llI,l1lIl);}});});}function IlI1li(l1lIi,l1lili){const I1lI1I=l1iiIl,IIlI1l={'VsKaO':'application/x-www-form-urlencoded'};return{'url':I1lI1I(0x390,'7D3p')+(l1lili?I1lI1I(0x30d,'Mzzi')+l1lili:''),'body':l1lIi,'headers':{'User-Agent':UA,'Content-Type':IIlI1l['VsKaO'],'Host':I1lI1I(0x281,'M%[T'),'Origin':I1lI1I(0x28c,'M5DF'),'Referer':I1lI1I(0x2c3,'1OC^'),'Cookie':Ilii1}};}function IlI1ll(lI1I11){const lIi1i1=l1iiIl,IilIl={'qiAsg':'application/x-www-form-urlencoded','UoIof':lIi1i1(0x258,'5w!n'),'oFvSQ':lIi1i1(0x22d,'2FO!'),'ddxyz':lIi1i1(0x372,'M(AO')};return{'url':lIi1i1(0x423,'cb5G')+lI1I11,'headers':{'User-Agent':UA,'Content-Type':IilIl[lIi1i1(0x37b,'RVSN')],'Host':IilIl[lIi1i1(0x2f5,'o5m$')],'Origin':IilIl[lIi1i1(0x2aa,'yBxQ')],'Referer':IilIl[lIi1i1(0x2fe,'2FO!')],'Cookie':Ilii1}};}async function ll11l(IilIi,Ili1Il){const l1l11=l1iiIl,i1liI={'jzQgQ':function(IIlI1i,iiiI1i){return IIlI1i(iiiI1i);},'NGxOk':function(iiiI1l,Ili1Ii){return iiiI1l+Ili1Ii;},'atiuL':l1l11(0x34b,')uDY'),'VemcX':function(Ii1l1I,iilII1){return Ii1l1I===iilII1;},'MYFXX':l1l11(0x27d,'rVMy'),'iFEsd':l1l11(0x25f,'Ayb^'),'SxwPK':function(iiiI11,l1lilI){return iiiI11===l1lilI;},'Ykxhl':function(i1Iil1,liI1Ii){return i1Iil1==liI1Ii;},'UIKLS':l1l11(0x3a7,'rVMy'),'eNBdn':l1l11(0x35b,'eKLP'),'VnwFj':'application/json'};let iilIIi={'appId':IilIi,...Ili1Il,'ua':UA,'pin':$[l1l11(0x29a,'Kq8g')]},I1iII={'url':'http://kr.kingran.cf/h5st','body':JSON[l1l11(0x3a6,'rVMy')](iilIIi),'headers':{'Content-Type':i1liI[l1l11(0x338,'RVSN')]},'timeout':0x7530};return new Promise(async l1lil1=>{const IIIli1=l1l11,i1lil={'RJEuD':function(I1iIl,IilII){const illill=iii1II;return i1liI[illill(0x376,'[X]3')](I1iIl,IilII);},'Iufvr':IIIli1(0x422,'o5m$'),'smMdm':function(ili1l,i1lii){const I1lI11=IIIli1;return i1liI[I1lI11(0x1ef,')uDY')](ili1l,i1lii);},'byrtP':function(iilIII,liI1Il){return iilIII+liI1Il;},'VcVMn':i1liI['UIKLS']};if(i1liI[IIIli1(0x221,'dUqs')]===i1liI['eNBdn'])$['post'](I1iII,(I1iIi,iiiI1I,lilI11)=>{const I1I1Il=IIIli1,Ili1II={'NnyzN':function(IiIi1,l1Ii1){return i1liI['jzQgQ'](IiIi1,l1Ii1);}};let ili1i='';try{if(I1iIi)console[I1I1Il(0x3df,'5w!n')](i1liI['NGxOk']('',JSON[I1I1Il(0x2b4,'XgzO')](I1iIi))),console[I1I1Il(0x3bd,'a5gj')]($[I1I1Il(0x2dc,'[X]3')]+i1liI[I1I1Il(0x2b7,'[X]3')]);else{lilI11=JSON[I1I1Il(0x28d,'D&sC')](lilI11);if(i1liI['VemcX'](typeof lilI11,i1liI['MYFXX'])&&lilI11&&lilI11[I1I1Il(0x3bc,'V@p%')]){if(lilI11[I1I1Il(0x2da,'5GaQ')])ili1i=lilI11[I1I1Il(0x3cd,'ctbR')]||'';}else lilI11['code']==0x190?console[I1I1Il(0x41c,'2FO!')](i1liI['NGxOk']('\x0a',lilI11[I1I1Il(0x295,'cVyV')])):I1I1Il(0x2ab,'V@p%')===i1liI['iFEsd']?Ili1II[I1I1Il(0x2e5,'w^(H')](II11l1,Iil1lI):console[I1I1Il(0x363,'Ayb^')](I1I1Il(0x409,'5w!n'));}}catch(III1I1){$[I1I1Il(0x3da,'D&sC')](III1I1,iiiI1I);}finally{l1lil1(ili1i);}});else{iiill1=lIli1i[IIIli1(0x335,'V@p%')](IIIII1);if(i1lil[IIIli1(0x29c,'Mzzi')](typeof I1lIlI,i1lil[IIIli1(0x1ec,'QcaH')])&&ii1ill&&II1iI['body']){if(i1l1iI['body'])liil1l=lI1lii[IIIli1(0x3bc,'V@p%')]||'';}else i1lil[IIIli1(0x2f0,'7D3p')](illIi1[IIIli1(0x3e4,'M5DF')],0x190)?Iiili1[IIIli1(0x2dd,'gii0')](i1lil[IIIli1(0x3c6,'!qvN')]('\x0a',Iil1l1[IIIli1(0x260,'V@p%')])):i1i11I[IIIli1(0x361,'M(AO')](i1lil[IIIli1(0x2c7,'xgZY')]);}});}function III111(I1IllI){const l1l1I=l1iiIl,IIlI11={'wVmXy':function(ili1I,iilIIl){return ili1I||iilIIl;},'KgZiy':l1l1I(0x38e,'5w!n')};I1IllI=IIlI11[l1l1I(0x243,'!qvN')](I1IllI,0x20);let iIIll1=IIlI11[l1l1I(0x393,'a5dh')],llIIII=iIIll1[l1l1I(0x415,'xohm')],ilI11I='';for(i=0x0;i<I1IllI;i++)ilI11I+=iIIll1[l1l1I(0x403,'cVyV')](Math[l1l1I(0x29d,'w^(H')](Math['random']()*llIIII));return ilI11I;}function Iii11l(){const I1I1Ii=(function(){return[version_,'DjtshFjiyEapmthiO.XdcGGotMmhnF.dvVU7txqu==','efPNgqK','WOtcM8kFqa','W4dcNCkovCoMwZi3WRhcQSkjlGWJiq4mWQldIEISHEAZIEwLJUI3R++/RoITTEAINEACMUE/ToI2SoMhH+IUMW','WPhPO5pLJjVLPkNLI4i','WOy4W7WCmSoZWPZdHLhdVqhcTmoxg8owwmk+zCoHWQ7dUJq','WOu8tG','wCk5FCoZgG','WQZdRtSYuW','W7FdKamYEGffCmoukSoYW4ldPSoomLpcQmoUW4C+bfS','W4JdUSkDWRhdPCkKh8oq','nmozpW','WRTcW7n1gq','nmoLfIJcGa','aUA3OEwiKEEcK+EiSU+8G+E3HEAEQ+w7Q+AWOUAEMoE1IoADLU+8NoAiQos7R+s5VUEFKoMcMEwuP+wzH+s5OmkIW542WP/dKa','tmowfSoG','W6SDrKtcPG','WQjkWPVdKmoJW6tcUw09W4xcILlORBdMS6BLP7pOTRZVVBROR4lMOPhMNyJNV7JOTPVPHOxORQC','WR7cMmkuFmor','c8kZBgjyWOldUSkok1adWPW','cxHVnHq','DwHu','WOhcVCoRWOO9','p8kTW7C7W4O','WQhcUSkUFq','W682o8khWRaI','AMJcRMZcRWjbfmkY','W6ysWQu7iq','uSkTW6VcLvu','s8oMAgzeWOZdI8kfkf0xW5hdUmk8WP/cTmolWPX6W7RcUvryBZ03nCoNW5JdQ2FcTKqhW6S2WO3dKaFdI8kNyhS','WOpcQmkIE8ouW4SccG','WPPxkq','WOvHW4JdGHVcL10jWPlcIa','W58tWQPrgW','WOCCW7H1W7ldJq','bZHnBgy','W7NdQmkmWQi','WRldOMOA','W5WBDdNcNCkg','W7hdPSkF','bxNcMfjYWORcHSoe','WOZcLCkm','zCk8xCodiq','kSkHxLXq','WO/cTCk0imoB','tSk0xd7ORkVMS7ZLPzBOT6ZVVOJORkVMO6dMNiBNVzhOTANPHl7ORB4','WRfiW5vvcfq','W5uFWRtcOZq','WOxdNmo8','Aei7WRhcGW','WONdIJS','uwa6WPtcIq','6kY55yIL6zMR5Owv5z6yW5bsChtcL+I/GUwhOoAJQos+QEAwVEwgPUwUUCod5BQB6k2H6ygy6l2Q6is45P+i5y+x6i2Y5y2IjLpdUCoxW7ldOq','kgjUlYW','W6lcRmoqd8oyDb/dIXO','w8oVvW','W7xdVCkmWRpdMmo/xCkAWONdVx00p0FcMMxcHKTUW6ZdGLr8lGRdIqZdVmo9grNdLI4HefZcNYNcR1TdjCoakCooa1rwW70xlWDtdxeVc8kgWPfiwmoMW4iKuYnCjCkiWP3dT2ioWPu0sSouW61YW7NcP3aCdSkYbG18aN9lWQbyyZBcT0u7W4BdGreDbCkdmCkDWQJdLgNcGHeAsJtcOCo1umk+BCo3mmoFWQNdTG7cPmobm3Gbe8ktBSoSW4uEWQesW63dIe0UntddK8okaq','W5SvBZm','zh/cUKRcQq','WORdMdeJ','WOpcNXpcPdi','WORcTGFcKYG','WROBAgJcOH7dNSoxW4KFWRCD','gSkzW7qNW5fhutG','44gi5lIA5lMe6lwH5yY/','iwpcVfnB','WOuPWRb7','WPpcIaVcNXdcNSkoW4tdGq','W6CDWRCzbG','W67dVmkBWQddJSk2aq','W5xdIsetAL95DCkWeSoCW4xdOa','WQyWWP/cLuddRSo+W5a','W7ZdQSkmWQRdNCkSbSoCWOBdOvS0mLtcHs3cG10T','WPFcM8kcvq','WOKOW6VdQCovsMzl','WQZcUmkvd8oc','hu95bWXRmmo5W6WfWRDAW47dHKTmW7tcSqS','WRn+W4VdK8k+WQJcNYbiW57cG1/dTSktW7tcTaicaSo9W4uL','b8kAFW','ACoZfCoJW4O','W5dcJsPMWRKEj8oxW55gW4vNp8oVWRSteSk/WOxcOCk/WOtdKCo6WQFcTK/cR8kQWR4vWRFcTCk3wGyKW7LoW7mThSoH','WPhdJCksbHK','c8kZBgjDWP/dSSkke20zWOxdPmkj','W7flWQtdSSon','q8ovgmoHW7/dQSoIvCkOsSk0WQjBW5TYWPu','WR0HWONcKexdQCoPW4fZ','WRxdKmk2jr0WosH4W5PJkZTBwSkdDdpdPqddTmowjCk/xmkUrmoxWPhdSSkuysmx','pGHAAf8','rCoXsCkMWOy','WPK2WRBcL3u','igVcJ1nz','W7zXWQtcSCkXaseeWRCF','W5KfWQz3gG','WRdcTSkpACo6','W43cJrdcOZe','WQLgW4f7pKpdHmoPgSoJW7tdGCkoWQ8','ENBcQ13cGq','yCofsSkxWQK','WPVdKSo1b8onzq','bSk4qCksWRFcLmoZWO0','BLzWW6GO','WQxdQg0kWRWAlG','W67dNr0UFG','W40vDtBcM8ko','WRZcIam','hSkxsvLf','WQFcM8oDWPaI','BSoNW6NcNK0','WOddVZ9BWQDBBsJcMG','W7NLJAtOGRdOV6ZMJAZKUlhKUi7MJ6VLJidVVy7OR57MOjpMN5RNVPBNUlK','WPhdN8oRfCoY','W5hcJg5XkG','s8kZFwP0','WPdcNwqCqurLB8kT','ymkRW4JcK00','W4GHWQdcGZlcKfCmWR0','rmk7ymojh3Lszmk0','W4NcHcvLWOjNiCk2W4LsW6Da','W5G+WPVcKIS','WRZcTmk+s8o7W5KkjLS0wa','ucuiCZVcHdKBW50pW4u','EvtcLulcUG','W6lcRmoqd8oyDb/dIXRcIHnOdSkiW4KpBW','W5pdSmk7WPa2WOyxW7xdLmo9bg3cVSoyW6HK','Fxvf','EblcRY8p','WPFcTCo1WO09WOi','5lIn5lQ06lw05y6p','WOeCW6v6W47dIfX/WP/cQGCpmW','hX/dT8oi','WR9iW5zP','WQ7dON4','W7WJWQ7cPsC','AWtcKJ4','W4SvAdNcSmkmW4BdJCo1W7ZdNG','o8kcxw9s','WRxdUmkqo8odW7LPCu7cGxpcV8km','z3JcGNpcGHHzcq','WQblbIuU','W4u0WR4uj8oAWQtdLq','WQZcO8kwlSoG','hmkuyHpcS8ot','W6zmWORdHq','WRa5W4zeW4VdPfTAW7ZcRsyZpSkBWOGUW6HRW4hcJHneW4uaWOCGrISsjZVdTmo0kZTCWR4Vfmo2W4lcVfa','W5BcLtBcLa','WPvqlYiKha','5lMA5lIK6lwO5y6N','bJzDDG','ogTjdrG','6iEi5BsR5lQ06icf5yQD5yQu6isp5Bsk7725','W63dQmkkWRddJG','W5SdmCkAWPu','WPFdGgCI','W5CHWPWpbq','WPKsW7e','aSkx5yUs5yIE56kBWRBdSGRdRXxdRa','W6LTaMpdMmo6WQj2W6RdJg3dQCkF','WQ7dKmkWpabTF2fG','F0/cMudcHq','r8oHqSkhWPy','DhruW4WmWRC','vMi1','WRW+WPS','W6OhFIdcUSkcW7/dGq','WO3dM2q/cG','tSoyha','WQpcGGRcKdFcLmkjW6FdO8ki','B8kRW4eC6k2O5RgK5Asn6lw477+h6k6K5Qoy5PYb576L6lAi6yE16k6S','W4adWOVcJJ4','WRJcUSkQBa','WOFdLJGJ','WPpcU8oVWOGj','W78QWQTsi8kV','W48BAcy','kSkeW6C','WRldLuKwWPe','EmofoSo9W7C','W5hcSmoNhSob','W7JdQSoxB8keWQTEwfJcQrxdOq','WRVdSSogoCov','wCoHxCkr','WPOtzXhcVG','vrRcKb8O','W7y6xbVcLq','dmk5AConjdHazmoXqNRcGUIUI+AYQowLJ+I1No+9U+IUP+AGSEACOUE+IUI0REMgLoIURa','rSonr8k9WRe','c8klW7CuW54','W7hcObTgWRG','owxcJG','WQlcTCkdh8ocW6a','BbdcIci','CEIUIEMfJUAuMEEyGow8MoIoIUwoTCoBl8kUtejN','W5G4WQbeaSkJgbG','W6TzWPVdICocWRu','ymoRW7FcRLi','W57cNGpcLXC','W5q2WQO0aW','WOZcPJu','lhPrW6OB','sMWGWOtcGW','WQ/dRg0nWRu','wwuZWOxcP1G','W65SagFdNSo6W7DuW6hdOMddQa'].concat((function(){return['WQ/cUCkqm8ogW7TjyvVcLW7dTCocjSoWrw/cUWW','g8k3zMvY','WPtcM8kysSoLqc4yWPZcSmkFeW','WPKsW7fuW6/dKG','kownMoIcHUI9M+AmV+s6GEs7MoApGEwnUE+9TEITT+AHL+AEIoE+VEE6LG','WRG6W7RdUG','CCo+pmol','BXdcKJ0ia8oCW5/cPte7WQ/dICo2','WPNcQmoTWOKRW4PrWQ7dKmo/psRcVCouWRGIWQ/cLSk9hCozW4JdR8kCWQP2iX7cSSoHW5LPr8ki','i8kfW7y','WOOKFrJcUW','W4NdRSk/WPVdPq','vMi1WRlcLf4','WRhcVfejWOLAcHRcRM8nWQuEWQxcUhNdPMbmt8kWWQS','WQRcPYZdTZvTW4FcUKu','DNFcHW','W43dJtWFtv8','WPtdGh09nCk9W5Wp','WP3cS8o+WRWQWOi','u2mKWP7cKKNcLmklWRi','WQpcKGFcLXZcImko','eCkZCMW','b8kBAblcPa','eenQ','WPKPWRn6u0W','W7ZdHqFcNbJcLCktW6VdQCotWRbZW7ddRCoCW7i0ESo0WRhdHg0vW6RcVcRcN8kYW5tdQexdISksk0SSf8knWOhdRh7dMd4PW6RcO8oaW4uHbCk2kCoJWQNcSN7dT2m/WR4VW77cUCkCA8oHW5LPWRT4WQrjWOhdI8kx','WQm8W7vzW7e','W5yBAa','WQxdVColka','WRm5W6tdVSo4xW','WOeNxuRcLhVcUmk2W74MWOP2eYRdM8kdkXJcR8oCn38','WQLgW4f7lL/dGmoT','x8kRB8oAkx5a','p3zjkJu','WRRcRCkbBCo8','WQZdRhql','WRddS8olbSo4','WPNdKmoifCot','W6hcRCoFjmonyIRdQXRcUb0','WQdcOr7cMY0','AmoZjmobW5/dJSkhiW','W65cWPK','W6S8W7S8pSoOWQxdVMhdUxBcOCoFe8oYl8kebCkCWP7dSdq','qSoIW6RcNe8','Dhru','W7ddH+wlJEwjR+EHUmobW50','nuVcIK5t','W4uXWOZcNaFcMKWa','WQtdKCoHpCo7','WQS2W7NdTmoc','WR3cRSkwm8oEW7vuBKC','WPdcJ8kysq','WPtcM8kysSoGxsyCWQtcJCkfcGC2','W7xcOJnfWOO','FNPFW7OB','mSoziqxcQCkfWRnJWPNdPCkp','WQpcQmkfBCoS','WOFcQs7dUq','WONdMcGLDa','D8oehSo3W5tdRCk/aq','5Rof5P2q5yQq5yQu5QYV5PAi5lQm772M','WO3dLYOVAmkiW44RkW','WRhdI8kL','ih/cJKG','vwHIW5Sk','6Age5y2B5yQW5yU15AAl5yUF5OMF5yUD77+c','w8k/zCon','WRtcO8kLq8oK','W4SvAdNcOmkkW6BdImo9','W7KQWRzDcmkTirtdTgHn','WR85rZBcI8k3W7u','WQW0W73dRW','WR9nkcyx','WPJcO8keF8oJ','W7uEWRlcGHq','W5TgWOBdJmoN','WReYWQlcH0C','WP3cQtddTXHTW7NcNX7cJfxcS8osW5W','W6GdWRjeaW','WQW9qdNcVSkQW6bOW6i','W7fzWOZdJCoLWRBcO39K','WP3dKSoOcmo2Ctee','W7ldSmkiWRNdPa','W5mBFa','WPxcQCk0Cmod','tSk1W54','t8owF8kxWQO','WOCNWRO','W6ddRYq2uq','5lMA5yIj5AwJ6lwD77Y4','WOxcVCoQWPiuWPKtW6JdHCoBpwNcTCkj','W5tcSGXhWPnma8kk','WQdcU8kjpW','fCoAsSoMW5VdNmkAeSo/pmk5W5meW5udW6JdK8k4W4pdHSkOgW','W68bwq','6AgT5y6E5AAl5yQV','WQ3dHCkWjGS','W7WNaCkcWQWKiwhcJ8kkWRVcUq','WR0dWRxdH1xdTCo0W4TTiSodeYP8zvtcM8kjFCoZWPJcM8kUW5f9WRJdG8oaeL9YWPfypXflnSkRbM0QWRnP','ctXQW4ddLX7cOSkAWPldJrW2','ySouW7FcHfi','WORcU8kcg8oX','WQVdO30lWQu','rMRcLgRcGbbhga','W7zmWO3dJ8ohWRJcP3bPW5dcS3BdOSox','WR49xYhcJW','WPRcRs3dUbjNW7NcLXhcMq','WP9laJ8cat0','W7xcObPEWOLuhSkk','W64Jj8kkWReOdglcGG','WQ80B0NcIa','WOFdR8oJcCoS','ce1+btzRkCo5W70IWOfhW4FdLa','o8klW6i+W5TjAdtcPJzR','WQ7dVqmcwCkVW4Sf','WPVcQs3dUdnL','vgW/WPi','WQ7dQd48ra','dCoNntlcGq','WPWtW6b4W6NdHwnHWQu','BhPaW6iQWQWUsSke','W6JcRH/cObq','vCoZW5xcO17dI0b/Ca','su49WRlcKa','mMFcQKv5','WO4gWP96uG','WOpcMCkLwmoN','W6LUa2ddK8o3W4j8W6hdPLFdRq','W5tdICoAe8kydt8ZWPlcLmkekG','WR/cTmk0','r8o3ySkzWPi','WQu3WQFcRgS','W43dHZu','WOJdI8oiemo9','j8kpW70LW4XsxsNcRG','WOWPAeVcRG','W7ZdR8oqBCkcWQjFy2RcIrRdSW','ffH5hGK4A8k/W6mzWPfAW4pdLvqeW7hcP0JcVSoRla','W7mYiSkkWRe5dhdcNSk7WRVcU8okg8kphNHMiSom','W60hxutcVCkvFKm','WOfzjYq','FwfYW7G3','WQqrWRDFCW','wIddLWOwW4hdGEw+OEwNGUoaTEs4Kos5HEI0O+wpNq','WOqXBwdcTG','lLrdjcS','WRFcQ8kdzSooW4SCba','W6pdOMNcTNyIWQFLV77LPRZJG7dKURxKU4BOTOFLJz8','WPxdPYjDWRS','BXdcKJ0qe8obW5m','pmkEW6m8W7fbvtVcSG','WOxcPYq','W7aAteBcNCktEKddNq','WQhcGdL86kYQ5RgV5AwF6lEk776v6k+K5Qg15P+U57Y56lwZ6ysh6k6h','WPKYw0NcGG','W7pdQmkvWQy','pmoxlcy','WOuCW6rIW7G','WPiyBbBcR8kbW4fd','WRNcJmkjaSoj','u8oHrmkv','tCk9EmoqoMrhECk0ChxcUXdcIWOFgclcNa','tGlcHcqkc8oCW5m','W4P3WRKEamoiWOddIutdNrRdISkC','WRmYWPJcL3RdRSo5W41UmSosbheSxgJcKCkWqW','W5GzWRqioW','WQJdUK8PWPC','WOJdTCkuh8oGWRhcGG1kWOJcKmktDvdcQ1FcVHuAA8olhq','W4JcScrtW6btCUAWQoAYQEs5SUwAHEw/SowMHowfMUMaH+s6OUwiVs4ArSomW7eEBG','W7KQWRzDh8kQgGRdJwrko3i','WP7dKSoYfW','WQtdG30LlG','W5u8W4zy6k2Q5RoI5Asc6lsT77+h6kY05QkZ5P6g57Yh6lwh6ysV6k6U','W7zPWRfxp8kPpbNcUZCC','mab3Buy','W4tKUylLI73LR4RMIiZVV6W','qmkXAW','W5tcMZW','WRmtWOVcThK','WRGKWQpcLNq','q8oheSkRW7FcOSk4amk0gSoVW7O','WQNdHCkXpIjJzxm','WR7dUComo8ozWPi','g0L5cHT2jq','fdzkEW','WPFdQJLt','W7JdTmkHFmo0W4KBbLO8gmoTW446WQrqWQv8','WORcVmkruCoA','WRbuW5u','vSoJrmkDWOxcK8odWQhdS8oQpCosWR3cQ8k6fuFdU2S','vCofW67cM0K','fXhdPa','fmktzt3cHG','CxvfW6akWQakt8kpWOzNBLKxW4hdOSom','W5hcKZ5KqmoGW7Kdr0/dRNC','W6vHdNlKUjhLIAlLIOpOOAZcP8oCumoTWPPFWRlcISo2W5C','twHwW7SWWQq3qW','WO7dGgmZ','WRruW7X/hKm','6l6L5lIgt+wlH+wlOEA7O+s7GU++Kq','WOyPW4/dO8o2','edHkzfRcGxOc','W5VcG8oqpmoe','W7bmWPddGmoKWRW'].concat((function(){return['z8kCB8oYcq','uCocgmoMW7/dV8kH','W4WUxbJcUG','W6K2jSkiWOWGehBcMmkoWOFcP8oY','WOxcRs3dUYHG','g8koW6eyW6S','6kYV5yQJ6zQ85OwD5z+cWOhdU3ZdJCoC6l635yEP5QkU5l+f5PAR5ysY5A2YW6dLU7NORiJPGAxOVOFOH6NMNB7LJQBOJR/LJ5eoWQjmW5LyW50','f8k8W6CMW7i','WPhcRCkfySol','WOJdHgiMkSkGW44pra','WRfBcHJdGCoeCu3dSmolcg0','WQ/cQSkWo8odW7L5EL/cKXddSSopnCoG','WP0YwLhcTcNdUmoUW4S/WPC0gW','WPZdQsDxWQPi','W4FdQI9rWQW','5lUx5lMI6lAL5y2E','W54eWQq5gW','WRFcQ8kUj8o3WOqfcXSXwmoR','WPZdRJ80Ba','W6FcRCob','WQ3dOWvCWRngj8klWRSPWPCYuCoyWPaCb8keWQhcHmkuW4FcISoXW7xcJq3cG8kGWP9IWOVcI8oMd08OW7ODW5u9kSoZWRTM','gSkuFXZcImohf8kS','W7iTWR0LpW','twSzWQxcGq','WRVcGH3cHW','e8k9Ea','wspcRGexl8oUW7xcMsqCWOZdQCoj','WRJdISk0','WOZdJsG2B8oxWRfTlYK+v8ozn8onA8kVW7ddSCofgLi','AhPbW7OB','W4NcIrpdLEIUQ+AXIUwMVoI3M++9U+ISL+AJMEACV+E/SoI1H+MfP+ISOW','WRC8W7NdHmoYrx1hW6LWo8oAWRy','WQJcJaJcVZi','WOddNCo/bSoA','WQ1bwfRcNCkxz0/dI8oiBhdcNeeZvmk1W7L7W4eq','db/dQSoD','W7lPOjRLJBtLR5dMIR3dMW','v341','W6xcO8olaW','WR/dSCkxvmkykdVdPdBcKXPw','WPSNWQ5Q','WRNcMCovWQKhWROXW5JdOCoobK8','kSkHENTFWPFdSSkg','WQK2n8kaWRO','cSo8htlcJa','sSkYy8owpG','tSkzx8oPgq','WOz+nd8X','W4JdUSk5WPBdQG','44oi5O6m56sj44gd6kYD5yAl6iYJ5y+sW6tdGeVdP8kbtSky55Md5O2U5l6v55sRW6GqiSkkfNZNMOZKUQVKUBhNRRpLIjpOJixLJ6C','WQO9xtBcHCkU','FNrbW4WFWQyY','W6VcTJ9YWPC','5yQY5yUQ5OUX5yUj772f','W4CLfmkBWRi','E8oDW7xcM0S','W5JORQBPHkhMLy7NMBFLV5lOJlRLJBibkCo5ag0+eIhdKCkGs8oiWOxdKmkiWRSHWOZdM8oHn0GwWOuped0JpCkKchyPW689W74wjq3cPhFcQSkyfq','WQxdUZSTxq','W5aYBqhcPq','WR9VW5btmW','aCotW7BcGEIVVEAZOowKHEI0TU+8MEIVT+AJOoADHoE+OEI2O+MgPUIUTG','W6KQWRfx','WPSyW6f4W7pdLLP8WQ7cKXOnaSojWPeqW6ngW7JcPq','lmoxkYZcNmkFWQjgWPi','a8k+WOtcVgVdKv9ACsiA','W5hcNCojWRdORQ/MSRlLPy/OTQtVVR3ORBJMOPtMN6hNVOhOTjxPHj/ORPm','caRdSCoafsPubCob','WOZdJMKtc8kM','WOyjW6r4W7pdH1PUWRi','e8k9EeXJWOq','frFdOmocnsXqbG','WRhcKW3cGtu','W7/cO8ovdCo/EsddLsdcTWz3aa','jGT2wf3cVvu3WR88WRpdJLiY','WPlcLSoXWQOa','WPRdTSkvpXq','W58XWPlcKG','f8k3C3LcWOldVSkxaG','WQaWsrJcNq','W57cNtxcKcZcG0S','W6TEWRldI8oSWRJcPa','W7uHm8kSWOO','W5hdSJSHtmkTW7PcDfZdHflcSCoWW51eW78Izmk7sCky','WPNcQmoTWOKRW4PrWQ7dM8oGlxtcSCkiWRLOW6VcKCo8e8kzW4BcRmokWQ57i1NcPCoRW5L5yCkcWOfEdmobm3PGCMu9z8oTW6esgcNdJchdTdjwn8kbvfFdUe3dU1LGuJ4luCkeWP1HWPFcR3mtmCknpfKfWQdcTSkJWQq7W5NcVcRdQubOvftdNhBcHbTEWQRcNutcVKjJwgaQWRtcPNBdR8o0nmkQW5ajWP1HWOtdMCkvWQlcT8kfqmk5qNP6W55DACkVnrrByeKoW7f2W5KLfSoJW6FcHW','WRRcU8kxmCoKW7TjzfS','WR7dS8of','WQBdRg0p','W6CZWQNcUJ0','WR/cTCkXymoUW48/bLS','edHkzeRcNx4gWOqFWRVdSMis','WOZdJMK','WP7dHGHiWOG','tMWHWPZcSKxcSmkoWRK','iIZdH3ZcTGjzemkF','W6PiWPldLmoyWQxcQ214','cdzE','oCkKzxLb','WOpdJMOZ','ewpcM3ri','WRhdVxuhWQK','WQNdHNG8WPS','WR7cJGFcNZFcMSkqW6S','WPJdReaDdW','fCkSeSkaWPlcICoCWOhdSSk7wa','WP/cUSoEWOWR','5PYv5yQ656UC5B6l5BMg77+j5Bgh6k+Z5OQQ5yM66l+D5yw45Rsj5yUZ776K5yE05y2B772I5lU45lMk54IaW6dMIPZNM77cUUAXLUAYRow6NEwBTG','WOVcPYFdPq','W63cRG4','WR7cHGNcKq','aSkAAW','oMxcHgjDWPJcJSoOz0pdKW','W4JdMXWxxvi','F3BcLG','edHkzeRcL14oWOawWOq','WRy9xJC','WP84W4/dTSoQ','owtcMuve','ySkWDCodaG','eEIUHUMeRoAxPUEyV+w8V+ImHUwnOmoBdsBcTSoCW7BdHSkKDLtdQSoyWQVdV27dTSkhWRmHW4xdLZVcSmohquXFWQ7dPvBdMaddGmoMW5JdMHnJWOxcRIBcJqP0','W6GOWOXAgq','WOxdQCoblCob','WORdUmoJlCoP','csPE','44cY5O2N56wb44kuW7NdO8k9d8oZhow1SUwMPUAuPq','WO8uz1FcJq','5lIF5yIy5AwT6lwJ77YD','trr8cd5Samov','WPy8W7X8W6W','WQ7dICkpmqm','AuutWQxcO3pcJCkSWORdJW8A','WRxdGCkUjt1+D3n8','W5OeWRrpia','W6TcWO0','WOK0W4FdTmo9','W5ZdOmkEWPFdNW','WO7dHviIWOC','gSkuFXZcImoxe8kLW6e','WRa5xYlcUCk3W7vWW6i','WQlcR8kLoCo3','rSktAmoJoa','WRCSvJZcO8kTW7bHW78','WRngW591','geH1fWa','W6WtEsFcUa','W67ORy7PHPhML7BNMAFLVRJOJkNLJPqMksHmW5eG','W5tcKdLJmCkGW44xAMC','qs8MWPBcLuFcKmkBWQZdO3LLW6y','WRJdQ3aKWOC','DmoKW6VcOMe','sCk/W4dcIW','WP3cS8o+','WQSOqtVcHmkKW71IW74','uf9EW5er','zSkAu8o9cu9MvW','WOyjW6r4W7pdHW','kCkgW746W60','hSkuFGtcUq','z8oqlsNcQ8kcWR9fWPNdISkexa','d1H/bXrL','W6vHWPldLCoB','WOZcGSkVwmou','WRldRgSDWRG','W4/cM8oihSoQzd/dUKlcHIP/a8kPW6iykYZcN8oaW5tcTG','a8kuFa','jCk2DwjM','C8oOW7xcSfa','dsP1ygNcKwq','WQ0SW5JdISoS','W4HNWPldHCo7','r8o9W5tcJwVdGvW','WPNdQCoWp8oa','W4JdHIqrtvjgA8kk','WRBdRgOfWOKxpYC','bsLTBN3cK0yoWP4h','WOebWPVcH2K','WRZdH8k2pbHJyM58W5LvDtOurmkbnsldPW','WQXNE8osW7f/','WO7dMK4TWOW','WR0sWQVcNvq','jNTHcb4','6kYL5yMJ6zIT5Owt5z6fWRJcNdTvWRROVy3LHQFMOzlKVO/ML7/LH6hLRA0S5BQU6k6W6yk96l6B6iAp5P2U5y2y6iY05yYutCotW7i8xJC','yCk2W5hcM0u','pgxcMG','gCkjW5OEW68','rhFcMfFcOa','44ci5O+l56sj44kyhCkQnu3cImk35BE05AsS5Pw6','WQVcMGZdIW9nW5lcVt/cOvFcLmoKW6q','hmkVWPVdQos7SEwiG+wiO+IHUZvLtSofW5bSvL5m','WQG4xXVcPa','W6Kbr23cKSkhDM/dISoala','W6iaWOJcJJy','WPNdHCkKfc8','W6C8WQO5bq','WQRcQ8kjw8o0','W753WQZdSSo1xwjAW7HbeSodWR3dNmomfq','W5S/WOBcTtlcKfKSWRFcJWC','W585WPZcNb3cGLea','WQ1gW4bJhW','q8kUACoxbwnxDCkP','aCk/WOy','bMtcIMzw','tCo9W4hcJxJdKa','WQRcKbpdJJi'];}()));}()));}());Iii11l=function(){return I1I1Ii;};return Iii11l();};function liIll1(i1Iili){const iIlI1I=l1iiIl,i1Iill={'mbDZQ':iIlI1I(0x30a,'XgzO'),'VigFv':function(l1IiI,l1lill){return l1IiI!==l1lill;},'LWWCQ':'msDLi','GxDKw':iIlI1I(0x1f2,'eKLP'),'VEzcZ':'请勿随意在BoxJs输入框修改内容\x0a建议通过脚本去获取cookie'};if(typeof i1Iili==i1Iill[iIlI1I(0x234,'cb5G')])try{return JSON[iIlI1I(0x3d0,'M(AO')](i1Iili);}catch(i1li1){if(i1Iill[iIlI1I(0x330,')]Qx')](i1Iill[iIlI1I(0x321,'a5gj')],i1Iill['GxDKw']))return console[iIlI1I(0x431,'D&sC')](i1li1),$[iIlI1I(0x2ea,'ctbR')]($['name'],'',i1Iill[iIlI1I(0x39b,'rBvR')]),[];else try{return iliIii[iIlI1I(0x3f5,'DM7X')](lill1i);}catch(I1Ill1){return Ill11i['log'](I1Ill1),iilil['msg'](Ill11l[iIlI1I(0x1dd,'5GaQ')],'',iIlI1I(0x276,']X@m')),[];}}}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) }
|