-
Notifications
You must be signed in to change notification settings - Fork 530
/
jd_car_draw.js
18 lines (14 loc) · 46.6 KB
/
jd_car_draw.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
活动名称:京东汽车抽奖
环境变量:jd_car_threads // 控制并发线程数(正整数),默认1,最大5,尽量使用默认值,否则请开启代理运行
jd_car_interval // 自定义运行间隔时长(整数,单位毫秒),默认1000
jd_car_notify // 是否推送通知(true/false),默认不推送
jd_car_pinFilter // 账号pin过滤,多个用@进行分割
高并发脚本,谨慎使用并发
活动限制IP严重,建议使用代理
cron:1 1 1 1 *
*/
const $ = new Env('京东汽车抽奖')
var iil='jsjiami.com.v7';const I1iI1l=iii1II;(function(IlI1ll,ll11l,III111,liIll1,l1llli,iI1lII,ll11iI){return IlI1ll=IlI1ll>>0x1,iI1lII='hs',ll11iI='hs',function(l1i1I,l1llll,I1I1ll,lil1i,liiiil){const l1i1l=iii1II;lil1i='tfi',iI1lII=lil1i+iI1lII,liiiil='up',ll11iI+=liiiil,iI1lII=I1I1ll(iI1lII),ll11iI=I1I1ll(ll11iI),I1I1ll=0x0;const IIIIli=l1i1I();while(!![]&&--liIll1+l1llll){try{lil1i=parseInt(l1i1l(0xa8,'N3j7'))/0x1+parseInt(l1i1l(0x237,'s!Df'))/0x2*(parseInt(l1i1l(0x211,'*3l2'))/0x3)+-parseInt(l1i1l(0x9e,'j4v4'))/0x4*(parseInt(l1i1l(0x88,'iz5N'))/0x5)+parseInt(l1i1l(0x198,'BnvZ'))/0x6*(parseInt(l1i1l(0x6d,'MFYr'))/0x7)+-parseInt(l1i1l(0x204,'bGu3'))/0x8*(parseInt(l1i1l(0x85,'293o'))/0x9)+parseInt(l1i1l(0x9a,'N3j7'))/0xa+parseInt(l1i1l(0x114,'6$]@'))/0xb*(parseInt(l1i1l(0x1e1,'p@EZ'))/0xc);}catch(lllIi){lil1i=I1I1ll;}finally{liiiil=IIIIli[iI1lII]();if(IlI1ll<=liIll1)I1I1ll?l1llli?lil1i=liiiil:l1llli=liiiil:I1I1ll=liiiil;else{if(I1I1ll==l1llli['replace'](/[TewbgIOYHRfxnqPCMh=]/g,'')){if(lil1i===l1llll){IIIIli['un'+iI1lII](liiiil);break;}IIIIli[ll11iI](liiiil);}}}}}(III111,ll11l,function(lil1l,lllIl,Iliii,illlii,I1lIIi,l1i1i,I1iI1i){return lllIl='\x73\x70\x6c\x69\x74',lil1l=arguments[0x0],lil1l=lil1l[lllIl](''),Iliii=`\x72\x65\x76\x65\x72\x73\x65`,lil1l=lil1l[Iliii]('\x76'),illlii=`\x6a\x6f\x69\x6e`,(0x16f644,lil1l[illlii](''));});}(0x180,0xeb5ea,Iii11l,0xc2),Iii11l)&&(iil=0x16f6);function iii1II(_0x23c0f8,_0x1ff5eb){const _0x4af0a2=Iii11l();return iii1II=function(_0x5e2953,_0x1ff06c){_0x5e2953=_0x5e2953-0x68;let _0x38735f=_0x4af0a2[_0x5e2953];if(iii1II['qWnTBv']===undefined){var _0x1d571b=function(_0x1f2ecf){const _0x3d3b6e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4d37b1='',_0x4dc722='';for(let _0x30b3fe=0x0,_0x5696c3,_0x536983,_0x47c33c=0x0;_0x536983=_0x1f2ecf['charAt'](_0x47c33c++);~_0x536983&&(_0x5696c3=_0x30b3fe%0x4?_0x5696c3*0x40+_0x536983:_0x536983,_0x30b3fe++%0x4)?_0x4d37b1+=String['fromCharCode'](0xff&_0x5696c3>>(-0x2*_0x30b3fe&0x6)):0x0){_0x536983=_0x3d3b6e['indexOf'](_0x536983);}for(let _0x168fa9=0x0,_0x1ca0e0=_0x4d37b1['length'];_0x168fa9<_0x1ca0e0;_0x168fa9++){_0x4dc722+='%'+('00'+_0x4d37b1['charCodeAt'](_0x168fa9)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4dc722);};const _0x107667=function(_0x45e01c,_0xc8e0c4){let _0x2bc9a7=[],_0xa549e5=0x0,_0x4c9788,_0x186708='';_0x45e01c=_0x1d571b(_0x45e01c);let _0x3713ad;for(_0x3713ad=0x0;_0x3713ad<0x100;_0x3713ad++){_0x2bc9a7[_0x3713ad]=_0x3713ad;}for(_0x3713ad=0x0;_0x3713ad<0x100;_0x3713ad++){_0xa549e5=(_0xa549e5+_0x2bc9a7[_0x3713ad]+_0xc8e0c4['charCodeAt'](_0x3713ad%_0xc8e0c4['length']))%0x100,_0x4c9788=_0x2bc9a7[_0x3713ad],_0x2bc9a7[_0x3713ad]=_0x2bc9a7[_0xa549e5],_0x2bc9a7[_0xa549e5]=_0x4c9788;}_0x3713ad=0x0,_0xa549e5=0x0;for(let _0x2e3f3c=0x0;_0x2e3f3c<_0x45e01c['length'];_0x2e3f3c++){_0x3713ad=(_0x3713ad+0x1)%0x100,_0xa549e5=(_0xa549e5+_0x2bc9a7[_0x3713ad])%0x100,_0x4c9788=_0x2bc9a7[_0x3713ad],_0x2bc9a7[_0x3713ad]=_0x2bc9a7[_0xa549e5],_0x2bc9a7[_0xa549e5]=_0x4c9788,_0x186708+=String['fromCharCode'](_0x45e01c['charCodeAt'](_0x2e3f3c)^_0x2bc9a7[(_0x2bc9a7[_0x3713ad]+_0x2bc9a7[_0xa549e5])%0x100]);}return _0x186708;};iii1II['VsINbp']=_0x107667,_0x23c0f8=arguments,iii1II['qWnTBv']=!![];}const _0x5c44d4=_0x4af0a2[0x0],_0x446ffa=_0x5e2953+_0x5c44d4,_0x144ce9=_0x23c0f8[_0x446ffa];return!_0x144ce9?(iii1II['gnYFGV']===undefined&&(iii1II['gnYFGV']=!![]),_0x38735f=iii1II['VsINbp'](_0x38735f,_0x1ff06c),_0x23c0f8[_0x446ffa]=_0x38735f):_0x38735f=_0x144ce9,_0x38735f;},iii1II(_0x23c0f8,_0x1ff5eb);}const jdCookie=require('./jdCookie'),notify=require(I1iI1l(0x1fe,'lip5')),common=require('./utils/Rebels_jdCommon'),{H5st}=require(I1iI1l(0x240,'H#Vn'));console[I1iI1l(0x22b,'4Xl(')](''),console[I1iI1l(0x186,'N3*h')](I1iI1l(0x1e8,'6$]@')+$[I1iI1l(0xb0,'kOl0')]+'变量说明=========='),console[I1iI1l(0x1ea,'s)q%')](I1iI1l(0x20e,'6$]@')),console[I1iI1l(0x241,'lip5')](I1iI1l(0x1de,'4Xl(')),console[I1iI1l(0x80,'6$]@')](I1iI1l(0x238,'28I!')),console[I1iI1l(0x17b,'kXxq')](I1iI1l(0x22e,'2xBg')),console[I1iI1l(0x193,'s!Df')](I1iI1l(0x1e8,'6$]@')+$[I1iI1l(0x19c,'s0Lw')]+I1iI1l(0x123,'bGu3')),console[I1iI1l(0xa2,'*3l2')]('');let linkId=I1iI1l(0xd0,'MjWS'),taskThreads=process[I1iI1l(0x20f,'dnFn')][I1iI1l(0xb9,'qS5*')]||'1';const runInterval=process[I1iI1l(0x17a,'BnvZ')]['jd_car_interval']||'1000',isNotify=(process[I1iI1l(0x1ff,'oYdT')][I1iI1l(0x190,'6$]@')]||process[I1iI1l(0xdb,'lip5')]['jd_car_Notify'])==='true',pinFilter=(process[I1iI1l(0x242,'xR*u')][I1iI1l(0xd6,'p[ZT')]||'')[I1iI1l(0x207,'s)q%')]('@');let shareCodes=[],needRemoveCodes=[],hasGetBasicInfo=![],cookiesArr=Object[I1iI1l(0x1e0,'xR*u')](jdCookie)['map'](Ii1iiI=>jdCookie[Ii1iiI])[I1iI1l(0x23f,'6$]@')](Ilil1I=>Ilil1I);!cookiesArr[0x0]&&($[I1iI1l(0x140,'*3l2')]($[I1iI1l(0x1fa,'MFYr')],'【提示】请先获取Cookie'),process[I1iI1l(0x99,'KuN4')](0x1));!(async()=>{const illlil=I1iI1l,iliIiI={'aIqJm':function(II11iI){return II11iI();}};notify['config']({'title':$[illlil(0x1b2,'Jc(U')]}),await iliIiI[illlil(0x79,'Jc(U')](Main),isNotify&¬ify[illlil(0x234,'hM*m')]()&&await notify[illlil(0xd1,'HRAt')]();})()[I1iI1l(0x1c4,'p@EZ')](Il1i1l=>$['logErr'](Il1i1l))[I1iI1l(0x205,'12sS')](()=>$['done']());async function Main(){const Iliil=I1iI1l,Iil1ii={'eVAFU':'Content-Type','vRYvX':'CgFGs','UYSOf':'zJBXh','QGjSj':function(lill1I,Ii1ii1){return lill1I>=Ii1ii1;},'qLQlo':function(Ilil11,i1ii1){return Ilil11!==i1ii1;},'ZocPh':Iliil(0x178,'kXxq'),'czCoU':Iliil(0x1e3,'j4v4'),'HMxqq':function(il1ii,llI111){return il1ii===llI111;},'RszZx':Iliil(0x196,'HRAt'),'nvrNN':Iliil(0xf8,'hM*m')};try{try{const IlllI1=parseInt(taskThreads);IlllI1>0x0&&IlllI1!==0x1&&(taskThreads=IlllI1);}catch{Iil1ii[Iliil(0xf5,'oYdT')]!==Iil1ii[Iliil(0x1b5,'Jc(U')]?(delete iiill1[Iliil(0x19d,'7A8b')],delete lIli1i['headers'][Iil1ii['eVAFU']]):taskThreads=0x1;}taskThreads=Math[Iliil(0x197,'83Lf')](taskThreads,0x5),$[Iliil(0x6c,'bsqL')]=null;if(runInterval){if(Iliil(0x145,'12sS')!==Iil1ii[Iliil(0x141,'28I!')])IliI1i=ll1ii[Iliil(0x159,'j4v4')];else try{const II11l=parseInt(runInterval);Iil1ii[Iliil(0x132,'eyRx')](II11l,0x0)&&(Iliil(0x1a0,'xR*u')!==Iliil(0xd4,'lip5')?$[Iliil(0x16a,'CCXC')]=II11l:iii1I1=0x1);}catch{if(Iil1ii['qLQlo'](Iil1ii[Iliil(0x6b,'p[ZT')],Iliil(0x8d,'293o'))){I1l1Il=!![];const liI1ii=llIll1[Iliil(0x1bb,'qS5*')][Iliil(0x17d,'N3j7')](iI1Iil=>iI1Iil[Iliil(0x153,'3u#7')]),lIIiIl=liI1ii[Iliil(0x13c,'CCXC')](',');Illl1l[Iliil(0x152,'j4v4')](Iliil(0xc1,'MjWS')+lIIiIl+'\x0a');}else console[Iliil(0x14d,'p@EZ')](Iil1ii['czCoU']);}}$[Iliil(0x72,'j4v4')]=[],await common[Iliil(0x1c0,'kXxq')](taskThreads,cookiesArr,taskFnc),$['hasPrintActInfo']=![],$[Iliil(0x19e,'HRAt')]=![];$[Iliil(0x151,'1ZM^')]['length']>0x0&&(cookiesArr=cookiesArr[Iliil(0xdf,'p[ZT')]((il1iI,i1iIii)=>!$[Iliil(0x129,'^KJ%')]['includes'](i1iIii+0x1)),$['needRemoveCookieIndex']=[]);const i1iIiI=notify[Iliil(0x16c,'qS5*')]();i1iIiI&&(Iil1ii['HMxqq'](Iil1ii['RszZx'],Iil1ii['nvrNN'])?lI1IiI[Iliil(0x177,'p[ZT')]=i1lI:console['log'](Iliil(0x16d,'oYdT')+i1iIiI[Iliil(0x74,'iz5N')](/:/g,Iliil(0x130,'eyRx'))));}catch(liI1il){Iliil(0xfe,'bGu3')!==Iliil(0xa6,'u6qZ')?console[Iliil(0xcf,'HRAt')](Iliil(0x12c,'kXxq')+liI1il):IllI1l[Iliil(0x213,'TwH*')](''+i11I1i+IillIl[Iliil(0x9d,'Jc(U')]);}}async function taskFnc(llIlIl,II11I){const I1lIIl=I1iI1l,il1i1={'BeyZs':function(i1iIli,i1iIll){return i1iIli!==i1iIll;},'zSSMa':function(i1lliI,liI1l1){return i1lliI-liI1l1;},'HvXOc':function(IllIlI,IiillI){return IllIlI+IiillI;},'EDSVQ':I1lIIl(0x194,'MFYr'),'NlUIa':function(ili11I,li11l){return ili11I-li11l;},'NJiOV':function(lliiIl,li11i){return lliiIl+li11i;},'IqwEs':function(lliiIi,iiIi1I){return lliiIi+iiIi1I;},'KIxWl':function(IllIl1,ll1Ii){return IllIl1>ll1Ii;},'HVyFC':function(ll1Il,iiIi11){return ll1Il!==iiIi11;},'raQxL':I1lIIl(0x161,'7A8b'),'IaXYE':'zHJMo','ETPsH':I1lIIl(0x144,'p@EZ'),'ezzAA':'superLeagueHome_assist','sHith':function(ill1II,i1llil){return ill1II==i1llil;},'Kqadg':I1lIIl(0x1ae,'u6qZ'),'fmPVR':function(i1llii,l1i1I1){return i1llii===l1i1I1;},'CtaKc':function(llIIil,llIIii){return llIIil!==llIIii;},'egCMt':function(Ii1I1i,llIIlI){return Ii1I1i===llIIlI;},'ArIbw':function(Ii1I1l,IIlIl){return Ii1I1l===IIlIl;},'dGXTz':function(ili11l,Iiilll){return ili11l===Iiilll;},'JAhby':'FhiMH','WqAki':function(Iiilli,IIlIi){return Iiilli!==IIlIi;},'tovai':'FFtHI','ZbqrX':function(ili11i,iiIi1l){return ili11i===iiIi1l;},'TbiJE':I1lIIl(0x119,'iz5N'),'mWsmJ':I1lIIl(0x1e2,'5]h8'),'YLzey':function(li11I,lliiII){return li11I===lliiII;},'joGkY':'vLlfI','cJYvC':I1lIIl(0x220,'4Xl('),'pduLt':function(iiIi1i,liI1ll){return iiIi1i===liI1ll;},'Rynjj':I1lIIl(0x11d,'bGu3'),'UXecF':function(ll1II,IllIii){return ll1II===IllIii;},'Isllu':I1lIIl(0x1ad,'lip5'),'zlPus':I1lIIl(0x1b6,'kXxq'),'KFEfr':function(liI1li,IllIil){return liI1li!==IllIil;},'EmQWi':'eKCkM','jXNgg':I1lIIl(0xe5,'H#Vn'),'Cescw':'wUYvX','RWbqb':I1lIIl(0x17f,'kOl0'),'zpFrl':I1lIIl(0xe3,'qS5*'),'kImQm':'4.7','gPOcz':I1lIIl(0x76,'MFYr'),'Haadb':'https://api.m.jd.com/api','NkMnt':I1lIIl(0xcd,'dnFn'),'rDVKL':I1lIIl(0x1f0,'N3j7'),'JWsQn':I1lIIl(0x1c3,'MFYr'),'cpmXO':I1lIIl(0x175,'5]h8'),'DNxMy':I1lIIl(0xac,'bGu3'),'erBXi':'userFollow','BKjGM':I1lIIl(0xb7,'hM*m'),'rpVRv':I1lIIl(0x23b,'j4v4'),'CPrvO':I1lIIl(0x218,'kOl0'),'wMDvP':function(ill1Ii,llIIl1){return ill1Ii===llIIl1;},'zkbjN':I1lIIl(0x1b1,'hM*m'),'GnOKJ':I1lIIl(0x19f,'28I!'),'goteD':function(ill1Il,i1lll1){return ill1Il<i1lll1;},'WhwZW':I1lIIl(0x93,'j4v4'),'GsnyI':I1lIIl(0x172,'2xBg'),'aqbBL':'sfnBh','krmap':function(Ii1I1I,l1i1Ii){return Ii1I1I>=l1i1Ii;},'MMYwi':function(l1iI1,lliiI1){return l1iI1>lliiI1;},'zfKUq':function(IiiI1,lilII){return IiiI1(lilII);},'dkMYf':function(IIIiI,iii1i1){return IIIiI===iii1i1;},'HtVAd':'wdqIk','GXhqz':I1lIIl(0x219,'MFYr'),'kIUJA':I1lIIl(0x235,'lip5'),'HzjIC':function(IllIll,i1lllI){return IllIll(i1lllI);},'OoxAA':function(llIIi1,iI1IlI){return llIIi1*iI1IlI;},'vQqlK':I1lIIl(0x8a,'oYdT'),'LOCrr':I1lIIl(0xc6,'TwH*'),'JZHEG':function(l1i1Il,ill1I1){return l1i1Il(ill1I1);},'LKJZK':function(l1i1II,ili111,Ii1I11){return l1i1II(ili111,Ii1I11);},'pjbgR':function(IllIli,ii1Ii){return IllIli*ii1Ii;},'EYDnL':I1lIIl(0x155,'BnvZ'),'qYAre':function(ii1Il,l1iII){return ii1Il+l1iII;},'zpQDu':I1lIIl(0x233,'xR*u'),'ucwII':function(iI1Ill,lilI1){return iI1Ill(lilI1);},'AGgOl':'SHARE_','faDKW':'COwOj','LCESo':'IsYwn','lFTNm':function(IIIi1,i1llli){return IIIi1>i1llli;},'NnfXi':'OeMul','qLtnV':I1lIIl(0x10c,'[$kx'),'IGIFl':I1lIIl(0xee,'s)q%'),'BYqLp':I1lIIl(0xbb,'qS5*'),'MvYhD':I1lIIl(0x71,'HRAt')};if($[I1lIIl(0x210,'eyRx')])return{'runEnd':!![]};const lIIiIi=decodeURIComponent(common[I1lIIl(0x1dc,'N3*h')](llIlIl,I1lIIl(0x6a,'kXxq')));function liI1iI(i1llll,iI1Ili){const l1ilI1=I1lIIl,llIIiI={'WNXBr':function(iI1111,IIIl1){return iI1111(IIIl1);},'AEnPD':l1ilI1(0xc8,'293o')};if(i1llll[l1ilI1(0xec,'MFYr')]<=0x4)return i1llll;else{if(il1i1['BeyZs']('fSgcj','fSgcj'))try{const Iii1=llIIiI[l1ilI1(0x200,'s!Df')](lI1Iii,i1li);Iii1>=0x0&&(IliI11[l1ilI1(0x1a3,'s!Df')]=Iii1);}catch{i1l1lI[l1ilI1(0x131,'xR*u')](llIIiI[l1ilI1(0x214,'hM*m')]);}else{const I1I1lI=i1llll[l1ilI1(0x1a8,'3u#7')](0x0,0x2),ii1il=i1llll[l1ilI1(0x1b4,'hM*m')](-0x2),l1iIlI=Math[l1ilI1(0x10a,'N3j7')](il1i1[l1ilI1(0xb3,'5]h8')](iI1Ili,I1I1lI['length'])-ii1il[l1ilI1(0x1c6,'H#Vn')],0x0),iI111I='*'[l1ilI1(0x19a,'KuN4')](l1iIlI);return il1i1['HvXOc'](il1i1[l1ilI1(0xb2,'5]h8')](I1I1lI,iI111I),ii1il);}}}const iI1Il1=decodeURIComponent(lIIiIi),i1iIl1=liI1iI(iI1Il1,0x6),i1lli1='【账号'+II11I+'】'+i1iIl1+':',llIlII=notify[I1lIIl(0x212,'6$]@')](II11I,lIIiIi);if(il1i1['MMYwi'](pinFilter['length'],0x0)&&(pinFilter['includes'](lIIiIi)||pinFilter['includes'](il1i1[I1lIIl(0xd8,'*3l2')](encodeURIComponent,lIIiIi)))){if(il1i1[I1lIIl(0x222,'1ZM^')](il1i1['HtVAd'],il1i1['HtVAd'])){llIlII['fix'](I1lIIl(0xba,'5]h8')),console[I1lIIl(0x127,'eyRx')](llIlII[I1lIIl(0xb4,'kXxq')]()),$[I1lIIl(0x126,'3u#7')][I1lIIl(0x1dd,'xR*u')](II11I);return;}else lilIl1[I1lIIl(0x171,'MFYr')](i1l1ii[I1lIIl(0x9b,'7A8b')],I1lIIl(0x1ed,'bGu3')),i1l1[I1lIIl(0xda,'ymUG')](0x1);}const IIlII=await common[I1lIIl(0x1d4,'hM*m')](llIlIl);if(!IIlII&&il1i1[I1lIIl(0xfb,'mAGi')](typeof IIlII,il1i1[I1lIIl(0xe4,'7A8b')])){console[I1lIIl(0x157,'oYdT')](i1lli1+I1lIIl(0x13d,'12sS')),llIlII[I1lIIl(0x98,'wPEd')](il1i1[I1lIIl(0x1d9,'*3l2')]),$[I1lIIl(0x126,'3u#7')][I1lIIl(0x168,'H#Vn')](II11I);return;}const lIIiII=common[I1lIIl(0x1df,'p@EZ')](lIIiIi);let i1iIlI=![],li111=![],liI1lI=0x0,lIIiI1,ll1I1,Ii1ili,iI1Ii1,Ii1ill,llIlI1;await il1i1[I1lIIl(0x115,'hM*m')](IIlI1,I1lIIl(0x1a9,'p[ZT')),await $[I1lIIl(0x8c,'s!Df')](parseInt(il1i1['OoxAA']($['waitTime'],0x1)+0x1f4,0xa));if($[I1lIIl(0x11c,'lip5')]||i1iIlI)return;if(lIIiI1){liI1lI=lIIiI1['remainTimes'];if(!hasGetBasicInfo&&lIIiI1['prizeItems']){hasGetBasicInfo=!![];const IiiIl=lIIiI1[I1lIIl(0x1d2,'oYdT')]['map'](l1lli1=>l1lli1['prizeCode']),ii1l1l=IiiIl['join'](',');console[I1lIIl(0x15f,'ymUG')](I1lIIl(0xfd,'s)q%')+ii1l1l+'\x0a');}await IIlI1(il1i1[I1lIIl(0x215,'*3l2')]);let i1lIiI=![];if(Ii1ill&&Array[I1lIIl(0x81,'hM*m')](Ii1ill))for(let IiiIi=0x0;il1i1[I1lIIl(0x1a4,'eyRx')](IiiIi,Ii1ill['length']);IiiIi++){ll1I1=Ii1ill[IiiIi],Ii1ili=ll1I1[I1lIIl(0x229,'p[ZT')];const ii1l1i=ll1I1['taskFinished'],l1iIl1=ll1I1['taskShowTitle'],ii1iI=ll1I1['taskLimitTimes'],IIIil=ll1I1[I1lIIl(0x1ef,'4FGm')],IIIii=ll1I1['taskType'];if(!ii1l1i&&(IIIii[I1lIIl(0x120,'293o')](I1lIIl(0x14e,'*3l2'))||IIIii[I1lIIl(0x1f2,'oYdT')](il1i1['LOCrr']))){IIIii[I1lIIl(0x227,'BnvZ')](I1lIIl(0x23c,'2xBg'))&&(await IIlI1(I1lIIl(0x1a5,'HRAt')),await $[I1lIIl(0xbe,'s)q%')](parseInt(0x1f4)));if(Ii1ili)for(let iI111i=IIIil;il1i1[I1lIIl(0xca,'5]h8')](iI111i,ii1iI);iI111i++){i1lIiI=!![],console[I1lIIl(0x17b,'kXxq')](i1lli1+I1lIIl(0x201,'H#Vn')+l1iIl1+I1lIIl(0xae,'s)q%')),await il1i1['JZHEG'](IIlI1,I1lIIl(0x134,'bsqL')),await $[I1lIIl(0x1fb,'p[ZT')](il1i1['LKJZK'](parseInt,il1i1['pjbgR']($[I1lIIl(0xf0,'1ZM^')],0x1)+0x5dc,0xa));}else for(let I1I1l1=0x0;I1I1l1<0x1;I1I1l1++){i1lIiI=!![],console[I1lIIl(0xa7,'Pnhg')](i1lli1+I1lIIl(0xeb,'6$]@')+l1iIl1+'\x22\x20任务'),await il1i1['HzjIC'](IIlI1,I1lIIl(0x149,'qS5*'));const iI111l=llIlI1?.[I1lIIl(0x22f,'hM*m')]||[],i1lIii=llIlI1?.['status']?.['finishNeed'];for(let III11i=0x0;il1i1[I1lIIl(0x191,'bsqL')](III11i,i1lIii);III11i++){const i1lIil=iI111l[III11i];i1lIil?(IIIii[I1lIIl(0x14a,'7A8b')]('FOLLOW_')?il1i1[I1lIIl(0x122,'mAGi')]===il1i1[I1lIIl(0x1f3,'p@EZ')]?Ii1ili=i1lIil[I1lIIl(0x118,'6$]@')]:iIIl1i[I1lIIl(0xd9,'2xBg')]('\x0a📣\x20运行结果\x0a'+I1lllI['replace'](/:/g,il1i1[I1lIIl(0x21d,'5]h8')])):Ii1ili=i1lIil['itemId'],iI1Ii1=i1lIil[I1lIIl(0x87,'dnFn')],await IIlI1(il1i1['cpmXO']),await $[I1lIIl(0x75,'HRAt')](parseInt(il1i1[I1lIIl(0x12f,'BnvZ')](il1i1['OoxAA']($[I1lIIl(0xc0,'p@EZ')],0x1),0x5dc),0xa))):console[I1lIIl(0xa7,'Pnhg')](i1lli1+I1lIIl(0x109,'[$kx'));}}}else{if(!ii1l1i&&IIIii[I1lIIl(0x8b,'83Lf')]('SIGN'))for(let llIl1i=IIIil;il1i1['goteD'](llIl1i,ii1iI);llIl1i++){il1i1[I1lIIl(0x137,'CCXC')](il1i1['zpQDu'],I1lIIl(0x1d0,'kXxq'))?lllili[I1lIIl(0xd7,'BnvZ')](''+IliiiI+Ill11[I1lIIl(0x12b,'2xBg')]):(i1lIiI=!![],console['log'](i1lli1+I1lIIl(0x90,'*3l2')+l1iIl1+I1lIIl(0xb1,'^KJ%')),await il1i1[I1lIIl(0xdd,'hM*m')](IIlI1,I1lIIl(0x10b,'6$]@')),await $['wait'](parseInt(Math['random']()*0x5dc+0x5dc,0xa)));}else{if(!ii1l1i&&IIIii[I1lIIl(0xf2,'28I!')](il1i1[I1lIIl(0x226,'N3*h')])){if(il1i1['WqAki']('MwBoH','KWTSD')){console[I1lIIl(0x80,'6$]@')](i1lli1+'开启邀请任务('+IIIil+'/'+ii1iI+')');for(let IiiII=IIIil;IiiII<ii1iI;IiiII++){i1lIiI=!![];let Iiil=lIIiI1[I1lIIl(0x9f,'s!Df')];if(!shareCodes['includes'](Iiil)){if('RiyoN'===I1lIIl(0xa9,'wPEd')){shareCodes[I1lIIl(0x12e,'oYdT')](Iiil);if(shareCodes[I1lIIl(0x1c9,'bGu3')]>=0x3){if(il1i1['faDKW']===I1lIIl(0x182,'3u#7'))for(let IIIli of shareCodes){if(il1i1[I1lIIl(0x7c,'j4v4')]!==il1i1['LCESo'])il1i11['log'](''+IlIll1+IlIII['errMsg']);else{inviteCode=IIIli,console[I1lIIl(0x243,'TU8T')](i1lli1+I1lIIl(0x1d3,'j4v4')+inviteCode[I1lIIl(0x7d,'^KJ%')](0x0,0xa)+']'),await il1i1['zfKUq'](IIlI1,il1i1[I1lIIl(0x84,'kXxq')]);if(li111)break;await $[I1lIIl(0x8e,'5]h8')](parseInt($['waitTimes']*0x1+0x9c4,0xa));}}else lI1li1[I1lIIl(0x11f,'28I!')](''+iI11II+iIII1I);}}else lIli11[I1lIIl(0x17c,'kOl0')]('❓'+lllI1I+'\x20'+lillI1[I1lIIl(0x125,'1ZM^')](IlIlii));}}}else ilil11++,illlI1['log'](IIIl11+'\x22'+I1lIi1[I1lIIl(0x1af,'j4v4')]+I1lIIl(0x228,'4FGm')+liiIIi+'次');}}}}if(il1i1[I1lIIl(0xf1,'MjWS')](needRemoveCodes[I1lIIl(0xcb,'5]h8')],0x0))for(let I1I1il of needRemoveCodes){shareCodes['includes'](I1I1il)&&(il1i1['NnfXi']!==il1i1[I1lIIl(0x164,'bsqL')]?shareCodes[I1lIIl(0xfc,'6$]@')](shareCodes['indexOf'](I1I1il),0x1):ll1l1[I1lIIl(0xf4,'4FGm')](IllIIi['indexOf'](IllIIl),0x1));}!i1lIiI&&console[I1lIIl(0x7b,'N3j7')](i1lli1+I1lIIl(0x7e,'*3l2'));if(il1i1[I1lIIl(0xe1,'oYdT')](liI1lI,0x0)){if(il1i1['IGIFl']==='kMkPI')iIiI1[I1lIIl(0x150,'Pnhg')](liil1I,i11ii1);else while(liI1lI--){if(il1i1[I1lIIl(0x206,'28I!')](il1i1[I1lIIl(0xe7,'s0Lw')],il1i1[I1lIIl(0x1e9,'1ZM^')]))await IIlI1(I1lIIl(0x1eb,'j4v4')),await $[I1lIIl(0xdc,'u6qZ')](il1i1[I1lIIl(0x13e,'dnFn')](parseInt,il1i1[I1lIIl(0x216,'bGu3')]($['waitTime']*0x1,0x5dc),0xa));else{const l1llil=I1llii[I1lIIl(0x95,'MFYr')](0x0,0x2),IIIlIi=lilIll[I1lIIl(0x1b4,'hM*m')](-0x2),llIl1I=l1i111[I1lIIl(0x189,'ymUG')](il1i1['NlUIa'](il1i1['NlUIa'](iliII1,l1llil[I1lIIl(0x22d,'3u#7')]),IIIlIi[I1lIIl(0x148,'N3j7')]),0x0),i1lIl1='*'[I1lIIl(0x166,'MjWS')](llIl1I);return il1i1['NJiOV'](il1i1['IqwEs'](l1llil,i1lIl1),IIIlIi);}}}}if($[I1lIIl(0x112,'p[ZT')])return{'runEnd':!![]};await $['wait'](il1i1['LKJZK'](parseInt,$[I1lIIl(0x16e,'eyRx')]*0x1+0x1f4,0xa));async function iI1IiI(liIli1,IIIlIl){const l1l1Il=I1lIIl,IIIlI={'yeQZY':function(IiiI,iIi1i){return IiiI<=iIi1i;},'eCeen':function(l1iIll,l1iIli){return il1i1['NlUIa'](l1iIll,l1iIli);}};try{switch(liIli1){case l1l1Il(0x179,'MjWS'):if(IIIlIl[l1l1Il(0x113,'qS5*')]==0x0&&IIIlIl['success'])lIIiI1=IIIlIl[l1l1Il(0x21a,'4FGm')];else{if(IIIlIl['errMsg'])console[l1l1Il(0xd7,'BnvZ')](''+i1lli1+IIIlIl[l1l1Il(0x12b,'2xBg')]);else IIIlIl[l1l1Il(0x116,'p@EZ')]?['结束',il1i1['raQxL']]['some'](iIi1l=>IIIlIl[l1l1Il(0x23d,'4FGm')][l1l1Il(0x187,'4FGm')](iIi1l))?(console[l1l1Il(0xd9,'2xBg')](i1lli1+'活动已经结束了~'),$[l1l1Il(0x18c,'bGu3')]=!![]):l1l1Il(0x11e,'1ZM^')===il1i1['IaXYE']?console[l1l1Il(0x186,'N3*h')](''+i1lli1+IIIlIl[l1l1Il(0x128,'12sS')]):(i1l1ll=I1iIiI['filter']((l1lliI,I1I1iI)=>!lilIii[l1l1Il(0x126,'3u#7')][l1l1Il(0xf6,'N3*h')](I1I1iI+0x1)),i1ilil['needRemoveCookieIndex']=[]):il1i1[l1l1Il(0x1f8,'[$kx')]!==l1l1Il(0x73,'BnvZ')?li1i1I['log'](''+illIii+ii1il1[l1l1Il(0x82,'s0Lw')]):console['log']('❓'+liIli1+'\x20'+JSON[l1l1Il(0xfa,'xR*u')](IIIlIl));}break;case il1i1[l1l1Il(0x1cb,'bsqL')]:if(il1i1[l1l1Il(0x1f6,'H#Vn')](IIIlIl[l1l1Il(0x18b,'ymUG')],0x0)&&IIIlIl['success']){if(il1i1[l1l1Il(0x147,'xR*u')]!==il1i1['Kqadg']){const ili1Il=i1ili1(i1l1l1);il1i1[l1l1Il(0x180,'Pnhg')](ili1Il,0x0)&&il1i1[l1l1Il(0x10e,'28I!')](ili1Il,0x1)&&(II11Ii=ili1Il);}else{const ili1Ii=IIIlIl[l1l1Il(0x20a,'MjWS')][l1l1Il(0x78,'u6qZ')];if(il1i1['fmPVR'](ili1Ii,0x0))il1i1[l1l1Il(0x96,'kXxq')](l1l1Il(0x10d,'MFYr'),l1l1Il(0xed,'s!Df'))?console[l1l1Il(0x167,'83Lf')](i1lli1+l1l1Il(0xbc,'KuN4')+inviteCode['substring'](0x0,0xa)+l1l1Il(0x91,'KuN4')):(l1iil[l1l1Il(0x243,'TU8T')](ii1l1+l1l1Il(0x17e,'N3*h')),lIIill[l1l1Il(0xaf,'s!Df')]=!![]);else{if(il1i1[l1l1Il(0x188,'12sS')](ili1Ii,0x18a8a))console[l1l1Il(0xb6,'iz5N')](i1lli1+l1l1Il(0x1d8,'Pnhg')+inviteCode[l1l1Il(0x1ec,'p[ZT')](0x0,0xa)+l1l1Il(0x9c,'s0Lw'));else{if(ili1Ii===0x18a89)console['log'](i1lli1+l1l1Il(0x202,'kOl0')+inviteCode[l1l1Il(0x106,'wPEd')](0x0,0xa)+']失败:没有助力次数了'),li111=!![];else il1i1['ArIbw'](ili1Ii,null)?il1i1['dGXTz'](l1l1Il(0xe2,'qS5*'),il1i1[l1l1Il(0x170,'kXxq')])?iil1ll['log'](''+iiilil+iil1li[l1l1Il(0x208,'kOl0')]):(console['log'](i1lli1+l1l1Il(0x1f5,'wPEd')+inviteCode['substring'](0x0,0xa)+l1l1Il(0x83,'N3j7')),needRemoveCodes['push'](inviteCode)):l1l1Il(0x135,'TU8T')!=='EzQlm'?console['log'](i1lli1+'助力['+inviteCode[l1l1Il(0x11a,'83Lf')](0x0,0xa)+l1l1Il(0x217,'iz5N')+ili1Ii):ii1ll[l1l1Il(0x157,'oYdT')](IliI1l+l1l1Il(0x70,'BnvZ'));}}}}else{if(IIIlIl['errMsg'])console[l1l1Il(0x1ce,'^KJ%')](''+i1lli1+IIIlIl['errMsg']);else IIIlIl[l1l1Il(0xa3,'s)q%')]?console['log'](''+i1lli1+IIIlIl['msg']):console[l1l1Il(0xe0,'dnFn')]('❓'+liIli1+'\x20'+JSON['stringify'](IIIlIl));}break;case'superLeagueLottery':if(IIIlIl[l1l1Il(0x7f,'4FGm')]==0x0&&IIIlIl[l1l1Il(0x232,'u6qZ')]){if(il1i1[l1l1Il(0x1d5,'Pnhg')](il1i1['tovai'],'DydGu')){const liIIl={0x0:'空气',0x1:liIIi=>liIIi?.[l1l1Il(0x100,'p@EZ')]?.[l1l1Il(0x1ba,'7A8b')]+'('+liIIi?.[l1l1Il(0x15b,'bGu3')]?.[l1l1Il(0x245,'KuN4')]+l1l1Il(0x146,'dnFn'),0x2:IilllI=>(IilllI?.[l1l1Il(0x20a,'MjWS')]?.[l1l1Il(0x11b,'HRAt')]||'0')+'红包',0x3:iI1lIi=>iI1lIi?.['data']?.[l1l1Il(0x1d6,'4FGm')]||'京豆',0x5:l1lllI=>'实物:'+l1lllI?.[l1l1Il(0x1d7,'HRAt')]?.[l1l1Il(0xde,'hM*m')],0x16:llliIi=>llliIi?.[l1l1Il(0x1fd,'xR*u')]?.[l1l1Il(0x68,'5]h8')]+l1l1Il(0x1b8,'Jc(U')},IlI1lI=liIIl[IIIlIl?.['data']?.['prizeType']]||IIIlIl?.[l1l1Il(0x1fd,'xR*u')]?.[l1l1Il(0x105,'4FGm')]+'-'+IIIlIl?.[l1l1Il(0x1d7,'HRAt')]?.[l1l1Il(0xbd,'iz5N')];if(il1i1['ZbqrX'](typeof IlI1lI,il1i1['TbiJE']))console[l1l1Il(0x243,'TU8T')](''+i1lli1+IlI1lI(IIIlIl)),IlI1lI(IIIlIl)!=='空气'&&!IlI1lI(IIIlIl)[l1l1Il(0x101,'^KJ%')](l1l1Il(0x230,'^KJ%'))&&llIlII[l1l1Il(0x225,'ymUG')](IlI1lI(IIIlIl));else{if(IIIlIl?.['data']?.['prizeType']===0x1)l1l1Il(0x1f4,'j4v4')!==il1i1[l1l1Il(0x12a,'p@EZ')]?console[l1l1Il(0xd2,'qS5*')](''+i1lli1+IIIlIl?.[l1l1Il(0x192,'28I!')]?.['limitStr']+'('+IIIlIl?.[l1l1Il(0x111,'ymUG')]?.[l1l1Il(0x1be,'kXxq')]+l1l1Il(0xa1,'xR*u')):i1III[l1l1Il(0xc5,'7A8b')](l1l1Il(0x1bc,'6$]@')+Ii1iIi);else IIIlIl['msg']?il1i1['YLzey'](il1i1['joGkY'],il1i1[l1l1Il(0x1c5,'bGu3')])?console[l1l1Il(0xc3,'KuN4')](''+i1lli1+IIIlIl[l1l1Il(0x89,'KuN4')]):illlII[l1l1Il(0x1db,'MjWS')](''+iIII11+IiI1i['errMsg']):il1i1['cJYvC']===il1i1['cJYvC']?console['log'](''+i1lli1+IlI1lI):ilI1lI[l1l1Il(0xa2,'*3l2')](IiiIll+l1l1Il(0xcc,'p@EZ'));}}else l1l11l['log'](''+IilIil+l1iIi[l1l1Il(0xea,'7A8b')]);}else IIIlIl['errMsg']?il1i1['pduLt'](il1i1[l1l1Il(0x20b,'kOl0')],il1i1[l1l1Il(0xe8,'TwH*')])?console[l1l1Il(0x185,'bsqL')](''+i1lli1+IIIlIl[l1l1Il(0x18e,'lip5')]):i11iil[l1l1Il(0x185,'bsqL')]('❓'+Ill1i+'\x20'+ii1iil['stringify'](lllI1l)):il1i1[l1l1Il(0x124,'TwH*')](l1l1Il(0x69,'bsqL'),'wnuXg')?lll[l1l1Il(0x18a,'s0Lw')](''+llli1+iIli1i?.[l1l1Il(0xf3,'^KJ%')]?.[l1l1Il(0x1a2,'BnvZ')]+'('+iI1lii?.[l1l1Il(0x133,'6$]@')]?.[l1l1Il(0x10f,'s!Df')]+l1l1Il(0x181,'MFYr')):console[l1l1Il(0xd2,'qS5*')]('❓'+liIli1+'\x20'+JSON['stringify'](IIIlIl));break;case l1l1Il(0x160,'mAGi'):if(IIIlIl['code']==0x0)Ii1ill=IIIlIl?.[l1l1Il(0x246,'oYdT')];else{if(IIIlIl[l1l1Il(0x20d,'3u#7')])console[l1l1Il(0x127,'eyRx')](''+i1lli1+IIIlIl[l1l1Il(0x223,'*3l2')]);else IIIlIl[l1l1Il(0x1cf,'qS5*')]?console[l1l1Il(0xa7,'Pnhg')](''+i1lli1+IIIlIl[l1l1Il(0x116,'p@EZ')]):console['log']('❓'+liIli1+'\x20'+JSON[l1l1Il(0x163,'7A8b')](IIIlIl));}break;case l1l1Il(0x13a,'bGu3'):if(il1i1[l1l1Il(0x107,'28I!')](IIIlIl[l1l1Il(0x15e,'^KJ%')],0x0)){if(il1i1[l1l1Il(0xce,'mAGi')]!==il1i1[l1l1Il(0x224,'4FGm')]){iIIl11[l1l1Il(0x1c1,'Jc(U')](l1l1Il(0x19b,'kOl0')),l1l1I1[l1l1Il(0x241,'lip5')](I1iIll['getInlineContent']()),I1lliI[l1l1Il(0x138,'kXxq')][l1l1Il(0x18d,'MjWS')](llIllI);return;}else llIlI1=IIIlIl?.['data'];}else{if(IIIlIl['errMsg'])console['log'](''+i1lli1+IIIlIl[l1l1Il(0x173,'4Xl(')]);else{if(IIIlIl[l1l1Il(0x22c,'H#Vn')])console[l1l1Il(0xa7,'Pnhg')](''+i1lli1+IIIlIl['msg']);else{if(il1i1['ZbqrX'](il1i1[l1l1Il(0x6f,'j4v4')],l1l1Il(0x1ac,'4Xl('))){if(IIIlI[l1l1Il(0xd3,'xR*u')](li1Ii['length'],0x4))return IIII1I;else{const iI1lIl=Iii111['slice'](0x0,0x2),iiIiII=l1l1II[l1l1Il(0xb5,'HRAt')](-0x2),Iili=Iil1I1[l1l1Il(0x156,'iz5N')](IIIlI[l1l1Il(0x20c,'s)q%')](IIIlI[l1l1Il(0x244,'7A8b')](Ii1iII,iI1lIl['length']),iiIiII[l1l1Il(0x12d,'293o')]),0x0),iIi11='*'[l1l1Il(0x143,'kOl0')](Iili);return iI1lIl+iIi11+iiIiII;}}else console[l1l1Il(0x14d,'p@EZ')]('❓'+liIli1+'\x20'+JSON[l1l1Il(0x23a,'*3l2')](IIIlIl));}}}break;case l1l1Il(0x1b9,'28I!'):if(IIIlIl[l1l1Il(0x195,'hM*m')]==0x0)liI1lI++,console[l1l1Il(0x243,'TU8T')](i1lli1+'\x22'+ll1I1['taskShowTitle']+l1l1Il(0xef,'Pnhg')+liI1lI+'次');else{if(IIIlIl[l1l1Il(0x18e,'lip5')])console[l1l1Il(0xa0,'bGu3')](''+i1lli1+IIIlIl[l1l1Il(0x142,'kXxq')]);else IIIlIl[l1l1Il(0x116,'p@EZ')]?console[l1l1Il(0x1e7,'p[ZT')](''+i1lli1+IIIlIl[l1l1Il(0x108,'kOl0')]):console[l1l1Il(0x167,'83Lf')]('❓'+liIli1+'\x20'+JSON[l1l1Il(0x103,'H#Vn')](IIIlIl));}break;case'userFollow':if(IIIlIl[l1l1Il(0x1da,'mAGi')]==='0')il1i1[l1l1Il(0xab,'lip5')](il1i1['EmQWi'],'Kvlkz')?console[l1l1Il(0xb6,'iz5N')](''+i1lli1+IIIlIl[l1l1Il(0x239,'MFYr')]):IIll1[l1l1Il(0x16f,'MFYr')](''+ll1il+IiiIiI[l1l1Il(0xa5,'TU8T')]);else{if(IIIlIl[l1l1Il(0x1c7,'s)q%')]){if(l1l1Il(0x236,'MFYr')!==l1l1Il(0x77,'N3*h'))return Iliill;else console[l1l1Il(0xc3,'KuN4')](''+i1lli1+IIIlIl[l1l1Il(0x14b,'bsqL')]);}else console['log']('❓'+liIli1+'\x20'+JSON[l1l1Il(0x231,'MjWS')](IIIlIl));}break;}}catch(llliI1){il1i1[l1l1Il(0x158,'*3l2')](il1i1[l1l1Il(0x15a,'N3j7')],il1i1[l1l1Il(0xc2,'MjWS')])?console[l1l1Il(0x1e7,'p[ZT')](l1l1Il(0x1c8,'bsqL')+liIli1+'\x20请求响应\x20'+(llliI1[l1l1Il(0x15c,'12sS')]||llliI1)):iIli1l['log'](''+i1i1II+liiIIl[l1l1Il(0x1ca,'s!Df')]);}}async function IIlI1(llii11){const lil1I=I1lIIl;if($['runEnd'])return;let Iillli='',ll11l1=null,ll111=null,llliII='POST',iiIiIl={},IlI1l1={};switch(llii11){case lil1I(0x1cd,'28I!'):IlI1l1={'appId':il1i1[lil1I(0x183,'MFYr')],'functionId':llii11,'appid':il1i1[lil1I(0x1f1,'bGu3')],'clientVersion':common[lil1I(0x16b,'28I!')](),'client':lil1I(0x176,'xR*u'),'body':{'linkId':linkId,'taskId':'','inviter':'','inJdApp':!![]},'version':il1i1[lil1I(0x1e5,'bGu3')],'ua':lIIiII,'t':!![]},iiIiIl=await H5st[lil1I(0x1a6,'5]h8')](IlI1l1),Iillli=lil1I(0x1b7,'*3l2'),ll11l1=iiIiIl[lil1I(0x21b,'*3l2')];break;case lil1I(0xc7,'bsqL'):IlI1l1={'appId':'b7d17','functionId':il1i1['gPOcz'],'appid':lil1I(0x209,'p@EZ'),'clientVersion':common[lil1I(0xbf,'kOl0')](),'client':'ios','body':{'linkId':linkId,'taskId':ll1I1['id'],'inviter':inviteCode,'inJdApp':!![]},'version':il1i1['kImQm'],'ua':lIIiII,'t':!![]},iiIiIl=await H5st['getH5st'](IlI1l1),Iillli=il1i1[lil1I(0x13b,'qS5*')],ll11l1=iiIiIl[lil1I(0x1e4,'4Xl(')];break;case il1i1[lil1I(0x154,'dnFn')]:IlI1l1={'appId':lil1I(0x162,'2xBg'),'functionId':llii11,'appid':lil1I(0xb8,'bGu3'),'clientVersion':common[lil1I(0x165,'*3l2')](),'client':il1i1[lil1I(0x121,'TU8T')],'body':{'linkId':linkId},'version':'4.7','ua':lIIiII,'t':!![]},iiIiIl=await H5st[lil1I(0x184,'*3l2')](IlI1l1),Iillli=lil1I(0xf7,'p[ZT'),ll11l1=iiIiIl['paramsData'];break;case'apTaskList':IlI1l1={'appId':lil1I(0x21c,'[$kx'),'functionId':llii11,'appid':il1i1[lil1I(0x1d1,'TU8T')],'clientVersion':common['getLatestAppVersion'](),'client':'ios','body':{'linkId':linkId},'version':il1i1[lil1I(0x23e,'2xBg')],'ua':lIIiII,'t':!![]},iiIiIl=await H5st['getH5st'](IlI1l1),Iillli='https://api.m.jd.com/api',ll11l1=iiIiIl['paramsData'];break;case il1i1['JWsQn']:IlI1l1={'appId':'ebecc','functionId':llii11,'appid':lil1I(0x21e,'TU8T'),'clientVersion':common[lil1I(0x1c2,'mAGi')](),'client':'ios','body':{'taskType':ll1I1[lil1I(0x13f,'28I!')],'taskId':ll1I1['id'],'channel':0x4,'checkVersion':!![],'linkId':linkId},'version':il1i1['kImQm'],'ua':lIIiII,'t':!![]},iiIiIl=await H5st[lil1I(0x1b3,'Jc(U')](IlI1l1),Iillli=lil1I(0x1bd,'TwH*'),ll11l1=iiIiIl[lil1I(0x136,'dnFn')];break;case il1i1['cpmXO']:IlI1l1={'appId':il1i1[lil1I(0x1aa,'p@EZ')],'functionId':llii11,'appid':lil1I(0x199,'7A8b'),'clientVersion':common[lil1I(0xe9,'kXxq')](),'client':il1i1[lil1I(0x86,'dnFn')],'body':{'taskType':ll1I1['taskType'],'taskId':ll1I1['id'],'channel':0x4,'checkVersion':!![],'linkId':linkId,'itemId':Ii1ili,'taskInsert':iI1Ii1},'version':lil1I(0x1f7,'kOl0'),'ua':lIIiII,'t':!![]},iiIiIl=await H5st[lil1I(0x22a,'p@EZ')](IlI1l1),Iillli=lil1I(0x1bf,'kOl0'),ll11l1=iiIiIl[lil1I(0x94,'28I!')];break;case il1i1[lil1I(0xff,'mAGi')]:Iillli=lil1I(0xa4,'5]h8'),ll11l1={'functionId':llii11,'body':JSON['stringify']({'pin':encodeURIComponent(lIIiIi),'type':'0','businessId':0x1,'themeId':0x70,'babelChannel':il1i1[lil1I(0x14c,'j4v4')],'isJdApp':'1','isWx':'0'}),'rfs':0x0,'appid':'jd-super-market','client':'m','t':Date['now']()};break;default:console[lil1I(0x16f,'MFYr')](lil1I(0x139,'KuN4')+llii11);return;}const liIliI={};ll11l1&&(il1i1[lil1I(0x6e,'HRAt')](lil1I(0x14f,'s!Df'),lil1I(0xf9,'eyRx'))?II1Il=lilIlI:Object['assign'](ll11l1,liIliI));ll111&&Object['assign'](ll111,liIliI);const llii1I={'url':Iillli,'method':llliII,'headers':{'origin':il1i1[lil1I(0xd5,'N3j7')],'Referer':lil1I(0x1fc,'7A8b'),'User-Agent':lIIiII,'Cookie':llIlIl,'content-type':lil1I(0x1cc,'4FGm'),'accept':il1i1[lil1I(0x1a7,'s)q%')]},'params':ll111,'data':ll11l1,'timeout':0x7530};il1i1[lil1I(0x1f9,'lip5')](llliII,il1i1['zkbjN'])&&(delete llii1I['data'],delete llii1I[lil1I(0x1ab,'4Xl(')][il1i1[lil1I(0xc4,'mAGi')]]);const iiIiIi=0x1;let l1lll1=0x0,IilI=null;while(il1i1[lil1I(0xc9,'28I!')](l1lll1,iiIiIi)){if(il1i1['WhwZW']!==il1i1['GsnyI']){l1lll1>0x0&&await $[lil1I(0x18f,'iz5N')](0x3e8);const lil11=await common[lil1I(0x221,'u6qZ')](llii1I);if(!lil11[lil1I(0x117,'TwH*')]){IilI='🚫\x20'+llii11+lil1I(0x92,'*3l2')+lil11[lil1I(0x8f,'28I!')],l1lll1++;continue;}if(!lil11['data']){if(il1i1[lil1I(0x102,'4Xl(')](il1i1[lil1I(0x110,'hM*m')],'nsMun'))li1i1i[lil1I(0x14d,'p@EZ')](''+IlIli1+illIiI[lil1I(0x140,'*3l2')]);else{IilI=lil1I(0x203,'1ZM^')+llii11+lil1I(0x174,'eyRx'),l1lll1++;continue;}}await iI1IiI(llii11,lil11['data']);break;}else li1i1l[lil1I(0x1b0,'u6qZ')](''+II1i1+lI1lll[lil1I(0xad,'7A8b')]);}il1i1[lil1I(0x7a,'iz5N')](l1lll1,iiIiIi)&&console[lil1I(0x167,'83Lf')](IilI);}}function Iii11l(){const l1l1Ii=(function(){return[...[iil,'ROjbsjiaeqmTgiw.cfPPogYHmx.v7ObnThIMCYgH==','5O2Y56ES57IJ5P26BJNdPmkMo8k2kmkIumkv','W7RdJ1ldS8k2','jmoEaMNdMKFdRSouWOG','wSkaWOxcGcOYWQRcRSkSWQddOSoqpfjLW6GqkSkTW6qz','fdVdQq','WPXlWOi','W4uMW6VdNZX5WOKEWQLIWP8Lf1SzWOBcHg7cUmoNW4G','WPFcItWkAG','WQlcMSojl8kYEG','4P+Nw+IeNUACNoI8K+IJJEMdNowlPos6KEMxGoISH2e','tCkXW5qIptG','WPvrWOLB','WPhcQeJcLmoo','wokFImkU','WRWnuG','krpdPmkLWRu','bwtcL8kE','WQyNWOlcQ11hWRTtyG','WOFdJmo8dmk4','WRHUc8kZC8o2qmoNAr0','WRegW7FcPCkw','W4uEyvtcKCoKW7BcU2hcVmkRbmongmk4WOVcH0FdGmkdWQW','4P6jsEAFLoECIEITH+AYNmoK','W4pcPSkKrcbVWP3dVNldQNZdSW','WRBdRtdcJCkh','WPKmW6FcKq','6lEx5y+p5Psf5PsB','WOrem8kivq','hZi1WQClW414ra','mCk/WOC','pGOvWOm5','W44jDN3cSmoM','WOhdGvlcJgZdVW','WQpcLcSOuW','WOTYWQClda','5l+q5OoV5yMbW7S','WPStvbGW','D8o+eYBdVqW','WP/dVaxcImkwESoUW7dcUbypW5S','oSoIcSoFWQ1UWQxdJW','WRuYWOlcML5NWPDtBG','ye4JW7xdPa','WPBcSsG','hSkEWQ9nC35t','F8kRzmkvca','W4BcHmkdfmosrW','oCopfwtdPKxdQSoDWODsh1G+CYCjW5eFWQbvW5C','tMOU','rmkxWONcNH0uWQJcPCk/','WOzKnmk8AG','WOVcGetcRCoo','WRJdMSoE','WOLlWP0','f8kkWQv8uG','rMq9W5m','CCodmYBdRG','W4BcT8kera','WPXDWPyGbuW/','aCoCW5tdLKTVWQlcLCkEWRhdLCov','W4GSW6RdNG','W60BeG','tCowWRVdKgvCWQKpbSof','n8oThCosW7HUWQ/dMs0','W7hdMmoFaCo1','imo4g8oAWRzTWQNdMIC','WRyBWOxcGwq','o8kPWPrwqu9PWOj4C2uZW7f1WQpcPcHvWO0','gGiBtu08','W4usla','W6ztWOldJW','W7/dN8kigmkfvgNdT8of','WOqcW6FcI8kXW67dL8kJ','ddyYWOa+W4bTuGRdN8oqW7HWW6PWye8uza','WPNdQsxcPmkaySozW7tcQXi','W6/WLPcze+I+JoIIRoE7IUAEM2a','dZxdP8kcWOVdQCkFAG','WRZcUSkO','W6e6BflcUG','WR3cPSkO','WQZcV8oOb8k3','x8kmW7qQhmof','woIUO+AZJowNH+I3USkG4P2Ul+AwPEwqPow6MoAxOEAmRq','W5xcGSkqhWCAouJdPG','WRKnrG','yfpdGCkzW7zQtHS','W4a/C1lcRG','gXiBtv4eWPVdHwTkF8kJyf/cUa','WOxcN38','W4CuyW','WP/dI0u','DSo6dq','5REd5yQc5Bsn57MB57IY5P605lIWWQi','WPhcK0BdMdO','W6ZcVSkikSoz','5l+i5Oc15yU3WPq','D8kQWPFcQXi','WOlcGSkTW4ZdUa','o8kPWPrsfuH4','WQS4WPy','WPrfWPG','WOVcPJzjlCkkWRhcHW','WPrFWQyEea','W6Wvdq','EhldUa','W6iBeq4','W5dcO8kEyd1G','gbiyqa','WOu1oIJdT1e','WQldMSopgq','c2hcVmkCcuddNSoDW6qwW5mPyG','WQa4WOxcINy','dZiYWQ0','wSkhvG','W7dINyNdRW','W69utSka','WRhcHh4lWQi','W4qujq','W5pdGudcQ8oKlmo/dG','mSoVhCoAWQ5JWRtdLtTlm1nODmkmW43cGsbR','WRCmWO7cICorWQO','5Bsb6kYA572m6lsA6l+k6l2B6kkO5BY55yIn6lAI5y6b','ENZdSSoA','n8oThCos','WOJcIguuWRRdTG','kdWOWRG6W5P8dcRdP8oqW60','WQGlvHma','A8o8W5aIfaXzWQTACvaj','WOZcMgtcJ8oFcSo4bq','qCkjwmkfevmobW','hZVdUSktWPS','WO/cJM4JWPldVwWalSka','W5pcL8kxe109la','DJaNEMa','r8kjWONcHX0','zeFdMmkiW5bprH87BSoemXRcOCo9','WR7cKdCQwq','uSkBW6CdcSoqdq','qmk0W6Cmaa','WPCwpWNdKW','W7qhWRm0WOe','vMq6W5NdUNFdJYWdW5PTlSk8','W6OPWP0','W4T+FG','hJ3dVSob','fZNdP8oSfMlcPW','W79xq8kgBq','bG7dISosEW','W6m0FepcGq','nmk4WPrQuWeJW55TqNXTW4O+WRVcS29zWOZdSIaFESkc','5ysZ6lEz5BQr5y+f','cIm1WOGWW6bPuHu','p8oLbmoAWQXzWRtdJG','WO7dVJJcK8kawmoEW7dcOqq','4PYTjEIhUEAFK+I+UoIHVUMdHUwkG+s4JEMvU+ITLuu','W4FdO0pdOmkdzmokWOPxmSkvWR40W7WpW7OCW6ddTGWFW6mQgG','W5SjBuRcPSofW77cP3q','WPVdKfBcMx7cSColrshdTb8GW4dcTSkur1TlndH5WQu3WPa','W4GuALpcL8oGW6JcVW','fJxdQW'],...(function(){return[...['s8odWPVdVxDdWOavaCoWyCo5lmkQomk1xu7dSG','WRhcPCkBW5ZdQuRcJgRcJfWPoa','WPNcVZSesa','W4JcUCk3tGO','W7PdWP/dGbFdOa','rWuMEunFWOOPuW','4P6lD+AFM+IaKUATKEEHVEwNNUEqPIK','W47cS8kEqIDS','w8kBvG','WQiTWOVcRNm','WOpcUcvjmCknWRxcGbZcV0xcRrVdTSkOhmoXW71RCN3dOXBcGCofaN/cGSoAn1eNuW','gcy2WQKTW7HTqbNdQ8ofW4bjW6jN','W4CSW6K','WPpdVZy','W5edqeNcRW','WO/dQ8otemkT','WPvwWPnjoCkPBwihW6y','5BYI5AEo5yUG5yIPW7i','W6TExSkPz8kgWRZdOCojmanasSoP','W7dcHSkXfSoC','WPlcUJXFpCkTWRVcMHpcUuZdJalcTSk6','WP7cNh8W','5yIo5yMSWQS','n8kfWRvqyq','t8ojWOVdLa','baGm','WP9pWOVdL8koWOtdNCk1W4KBWQpdRXxdOq','WQaxrHq','umkAW5KedSoqiCoIWO5EW4aFpKuDs8oyqSkF6iAY5A+J5lMR6l6+6kkX6zwk6zQh5PAR6zEB77YX6BU06k+znZOSWQm','WP3cUYeYyq','WRShta8','W4ZdPNzxeqddI8oCumo7lwK','W7RcSmkhfYu','4PQcjEIgO+wSQos7OoI/J+IJRoMwR+MBG+AvHEMvPUIVVoE+T+MuJ+ISLa','sSkFW7qgaSoroSoQWPrl','W4NcN8kDDd4','WPZcP37dNCk/k8kwW5W','E13dJW','xdJdNSocvq/cVmkoWRzF','gSoCkwJdSa','wq8Y','uxa5W5FdM1pdHtOWW4z8dSk2ySkpx8ooW6G','zeFdISkEW5zXsHa7','44kY5OYg56Ek44c06k6K5ywm6i2U5y2nrCoKESo0bmon','WPxdRSobeZTxWOZdSuFdIG','WPBcQszohmkbWOdcNrJcTvG','CSo0dG','W5JcPSk2vZ8','WOXkWPLFkCkeFhq','WR/cHWSjBa','sNC+W5FdJa','5yUa5yIAWOy','W6vUWPJdKWS','W4FcIHu','W6tcJhX7WR4','WPCkdbpdLa','WR7cTmkIW5G','yfpdGCkz','o8o4hCodWQSWW6/cKY5kaW1Po8ksW4/dGdfPWRhdOCk8W5KwcCoPwmotC8k6EmkUWQyNFuHpW7pcUX5+W5CDW4nIW746uIdcNSkHW5WHW7OAdSoPACkGWRePW5P9W7fSW7BcMI0yW4hdSSo+','WRqdqr0','W45OprhdRvRcSsddIJRcJ8kJjSkvW7hcH8oNW4aAW7CLnNJcO8oSWPuq','WObkWOW','yCkMACkZnW','5yYT5yg8W5hcHq','5yMA5yI/Eq','8kQOGva','WPVdPmohfwDSWRZdKhtdIua','WPDrWOSYceCJ','pcihWQC2','rHa5zvS','WPBdLLdcPh7dRa','WPVcVtSovL/dUSo/xSoma1ZcSxuNzmkDWRbx','dayFsq','WQhdNuZcG2C','ucmWAue','uCkxWPlcQqSW','c2hcVmkCcuddNSohW6mqW58UFYpdKu3cH3BMJ5VLIRdLUjdLJ4NNUAdNQl/MLPxVVAJPUkZORlKq772w5PYV5AAUW59z','WQ1HdW','cIhdOmkZWRhdPa','BCo+W5GRtNbuWPHAvG','aNFcHSkEhfC','W4pdUfa','W41+rmk1ta','kSkDWPf2AW','W6ZcNmkzAGu','WOJLPOROTOpVVBC','WPldLflcHwtdQmkfhINdQXGHW4FdQ8krtvKilZaUWRbOWONdNSoobmkngK9OWQZdPW','WRlcUSkGW5hdV0dcPG','WOBcQsfe','lmkTWPj7tuHiWPb4uW','W4ldQbPQW4e','W7hcTSkWdtK','WPtdUmoHc8k3WOHIadpcParWl8ktd8o9bZ7dPG','qwBcUCogW6VdQmkxrdFcQ1K','ySkRW7abcq','W7qJWOSGWQiwW5u','m8obpvNdKG','oCk+WPjxu1W','WQVcUZLjlq','W6GAbG7dLCoS','WRLTWPJdM8kn','WONcN2RcISoEpCoPba','W4dLRytMIyxVVkNLJRFMIzpLPOi','y1pdM8kgW7fSvGW/FSo0crK','WP3cUZSVfuxdUG','vSkrW6e','W7TvWPy','wmkaWO7cGWW/','WQ3cJmoKaCkGB0ddGSoeh2iqWPuzmHpdGmkvWQ4U6lEV5y+UWRVdQbtOVydMUiJVVO3LP53KUl/NLOuf6l2+6koC5yQf5yUH','W7HAwCkoqCkvWRddOSowlrfa','5l6Z5OkJ5yQ2','gXmzquiVWPFdGNu','W7uZWPK2WQiwW5i','WQOACqu7','W6TExSkOBCksWQBdRSo9iq','6lEg5y6W5PAO5PsT','WPBcNSkMW7JdLq','aCoqamohlwK2cmoJrq','atCzWQ8+W4zxtXhdQSojW65FWQ8TpaBMMztLKkZPG6hNNP3dTrNdL09nW4NcN8keEa3cUCop776j6BU+6kY05lIQ5O+s6yog','WQtcVCkQW5ddV3xcRxFcJa','l8k4WPjZtLXLWPD1','sNe9W4ldMIxcJ3qNW4f2jSk8ymovv8ksW7T8z8kHdLO','WOhcP8o3lSkosKa','WO/cUZi','WQZcOCowm8kS','b2ZcJ8kldua','WRGjWOtdKWRdPmozF8oZnCoaWONcO8kAWOFcTG','WOWOlW','WRumqW','WPNdTmoY','nSopdmowWRy','WRuBWPFcLSovWPRcOq46','WOffWO5s','W5xcN8kmlGy6','WRebWOpcRwG','W5Spw0dcQSoV','tv3dI8k9W4O','WRa2WPJcM2z6WRDf','W6FdPCo/WOxcRHBcNvxcRN4fhG','WRNcIwOAWRC','wgKzW4FdMG','5OQG5P+45lUY5yMh6ygw5BAR57Md5A+75OUX776j','WPZcIgOAWR0','tgaSW5BdU3RdJtqHW5zAlCk2FCksx8o1W798lmk6','WRNcU23cQCoy','WQFdNSowasxdRmko','WO3cNgiL','WQpcOmk/W5JdQg3cRw7cN0GLhmkgW6qM','WR5HWPBdKCkU','W68OWOW8WRmaW7mEW7FdItS+','erxdOSoUtG','WR7dIColddq','D8o0gG','BKymW6hdHG','W5G2W6ZdIbPUWO0FWRG','5OIC5P+f5lIB5yQ76yoD5BEj57Ud5A295OIC77YZ','WOhcPZfa','dwRcHa','W6viA8kxESkaWQW','zNJdRmokW57dGvhcLZG','rUwMQUI1Mo+9M+wiOowlV+w2M+A7Ua'],...(function(){return['W44bFNhcGG','gCoJWOK/drNdGYhdGG','WRPll8kzuG','WRXUcSk5v8oRD8oJBWG','W6FcJSohgIBdLSkSWQq','WQGAWPK','WOruWQ5sl8klvw4zW6e','W4atkmoZW5NdG8kNWRm','qCkjwmkf','sSkqW40Nja','W4pcK8kklW','dIe0WQmT','5y+N5ykwW4a4','WPJMIBNLIAhdJokETCo+','FoISU+AYOUwKQ+I0HrVINPddKq','DeqGW6pdRG','gZi0WQ0YW4DmqaRdVW','WQpcUCkMW57dVW','W6GpzxVcOa','x8k5W6rWWRreWORcJ3PbySoQ','d8oOWQu','WQarWPFcMa','lCkQrxtcVvDzFCo5W7xcSYWD','pCoTbmow','sEwKRoI2UU++PEw1GoE5UUwkTEwjV+I+Ma','hs/dTa','eZb9WOlcNsJcKGOGW7Dwc8ky','q8kBvmkdbLuhbW','W47cUCkx','5l+i5Okc5yInvq','mmkJWOC','wbmY','W5ZcHSkxkXT0DXtdRmobW5pcNsCWWRpcLmotWONdVHZdSSoTW7/cUCoSW6ZcTNHKW6RcHG','WPddQCoNl8kYWOy','W6GLWRmcWOS','W4VcMmkx','lSkIsxpcULWmtCoCW5dcIGS','o8oOWQqVW4S','WPddRrG4W4j7W6FcONfwvxqW','WQSbdqpdTG','WPFdOSkvqwq','j8oKdmoEWR1EWQxdHcO','f0dKUQ7LIQ0','rmkDx8k0k14','WP3dHu/cJa','WOLJ5lM15yIA','W7ZcHmk7faS','W47cOCkWfGK','W4WEChNcRCoTW7lcUNlcMSkhbCowfSk/WPO','WONcKwiYWRe','WRNdLmob','W7HpxSoC','W4pcTCketcvTWQ3dSMpdUeRdRWhdICowseHZW70','WPtdQa7cISkey8o1W6hcPaudW5BdVwG','5Bwg6k2m576n6lAO6l6V6l6E6kcu5B2O5yUa6lAx5y2n','WPtdIJRcRmko','5yMS5yUYWQu','WQxdICopfYhdJmkeWRXTESo7jhRdLXi','qGe8Ea','WPtdGvBcPwZdV8kbgttdHqz+W7VdVCkmubXhnq','WO3cVYytDf/dO8oZ','5Rwt5yUp5As95zoP77Y2','kWiys1S','WQKgWPK','A8oiWQddULW','p8oJdG','W6NdMhVdNmk/cCk6','WRqIWOhcIKbFWR9bBSkSWQ8oo8ohWR19wmkGe8kPW7/cMa','4PQbW7tOHzdLR5/KUidOVOdOO7NPLPdPMl7MLRpPLRpORRtNV6JPLiZORBK','ddWYWQKB','W5pcNCkxpIW','W5JcL8knpbWM','5lIb5yM/5Aw+6lwc77YS5Rkx5P6h6iYH5y+T5yQp5lQN5yQnWPrq','WRT6cCk3BmojyCoNEGKvACo9xNddTSkIwa','zCovWOpdNwm','WPBcKMW','hdqrtX9/WPVdLMztkCkdBvpcL8oOW4tdOSoBchL5','WORcIhG5','WPldOZy','WQKhzcyo','WQiImcddHW','ACoRkXpdVW','FvBdT8koW4nXFa41DCoNeHNcUmo9W4O','WOZcNM4','jSkQWQTpuq','WQVcH8oC','W6qmhb8','WOuPpG','W7eNWPmH','W7LyxCkSqq','W7Xjq8kFBCkIWRRdOCo8lqv6xSo3CW','CvVdHmkzW4DX','WQrGhG','WOLIWQ59mq','WPRdGrJcH8kp','WP/dRYxcGmktEmoEW7ZcQqq5W4FdTxOOCKpdPSog','fmouaCocWQi','W6vEWRRdLYi','W5f1Es/dILdcI1JdTq','vKtdRSoZW4i','W73dRLNdUSkA','W4WEChZcOSo1W77cP2pcMmkyg8o0fSkJWP3cP0BdIG','pSo/dG','5y+A5ygFW4pdNq','WRZcSmkHW5RdRKK','yCkIsmkDhW','qY40Ex0','WOxLRBVMI6dVVBhLJzRMIPtLP6C','imolgxtdOeNdQSox','bce/zKe','aJ0LWQaQW5bTuG','W48IW7RdMG','WPhcUdLmo8kl','WPn2WQnfba','WPfeWPZdUmkuWO/dK8kV','F0BdNmkDW5e5dfe9A8oivrJdOSoYW5ZdLSouWO8OW4pdG8khWQi','W6Lys8k8xG','mrFdM8ksWPi','WQmwrXu5W7aLWRJdHW','xmocWPRdVwi','eNxcJ8kwc1C','5Rso5yUi5Asd5zon77Y1','W6tcP8kjDbi','sCouWQ3dQx8','WP7cVZSg','W4iTW63dLXT4WOec','B8kMW6mekq','W6vsWOpdJG3dR8odnSoy','WPddO8kruJfDWP7dRq','WPlcUJXFpCk6WQ3cHba','gSo0WR8ZW7eaWQBcQ3y','gbSVWRG3','WP7dL0u','5lMA5yM55AsD6lsT77+65RoT5P+C6i2e5y+q5yII5lUH5yQComkG','DSo6bq','ahxcKmk7b2BdOmoaW6a','W4RcUMTbWPS','WRZcUCkbW7pdIW','iWu/WOOC','rSkAwmklih4geCob','W61ksmkNra','W6uvaqO','zuFdHSkOW4XN','WP3dOZxcJa','udFdKSk1jLtdImoKW6y','W4rbqmkSsW','WPFcRsG','W5ZdOLtdS8kvlCkw','chhcHSksjLpdRmow','WRpdJSoidJddPSkeWRW','W5OikCoSW5JdLCkRWQ7dKG','WPVcKgqKWRRdPG','WPiYjIddQLi','W5xcNmkCCdi','lCoIoK3dMW','bZWH','smk6W5KPpdtdKbC','WOFdN8odkCkn','ACo/WQVdN1O'];}())];}())];}());Iii11l=function(){return l1l1Ii;};return Iii11l();};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)}