mirror of https://github.com/KingRan/KR.git
17 lines
40 KiB
JavaScript
17 lines
40 KiB
JavaScript
/*
|
||
粉丝福利红包
|
||
远程更新,看频道通知
|
||
|
||
变量:jd_fans_fansactiveall_id // 活动链接 "
|
||
|
||
cron:1 1 1 1 *
|
||
============Quantumultx===============
|
||
[task_local]
|
||
#粉丝福利红包
|
||
1 1 1 1 * jd_fans_fansactiveall.js, tag=粉丝福利红包, enabled=true
|
||
*/
|
||
|
||
const $ = new Env('粉丝福利红包');
|
||
var version_='jsjiami.com.v7';const IIIlI=iii1II;(function(III11i,i1lIil,III11l,llIl1i,llIl1l,IiiII,Iiil){return III11i=III11i>>0x3,IiiII='hs',Iiil='hs',function(IIIli,ii1i1,Iiii,llIl11,IIIll){const IIIlIl=iii1II;llIl11='tfi',IiiII=llIl11+IiiII,IIIll='up',Iiil+=IIIll,IiiII=Iiii(IiiII),Iiil=Iiii(Iiil),Iiii=0x0;const I1I1il=IIIli();while(!![]&&--llIl1i+ii1i1){try{llIl11=-parseInt(IIIlIl(0x1b7,'g@bO'))/0x1+parseInt(IIIlIl(0x197,'DeR!'))/0x2*(-parseInt(IIIlIl(0x130,'KjZt'))/0x3)+parseInt(IIIlIl(0x1ff,'fbaX'))/0x4*(parseInt(IIIlIl(0x1e8,'lqAQ'))/0x5)+parseInt(IIIlIl(0x15e,'v#5i'))/0x6*(-parseInt(IIIlIl(0x1ae,'lqAQ'))/0x7)+parseInt(IIIlIl(0x199,'y]Sz'))/0x8*(-parseInt(IIIlIl(0x1e3,']mM*'))/0x9)+parseInt(IIIlIl(0x210,'hZ#A'))/0xa+parseInt(IIIlIl(0x20e,'9sQE'))/0xb;}catch(l1llii){llIl11=Iiii;}finally{IIIll=I1I1il[IiiII]();if(III11i<=llIl1i)Iiii?llIl1l?llIl11=IIIll:llIl1l=IIIll:Iiii=IIIll;else{if(Iiii==llIl1l['replace'](/[QrXgbJNyuIklTRxDeAHEG=]/g,'')){if(llIl11===ii1i1){I1I1il['un'+IiiII](IIIll);break;}I1I1il[Iiil](IIIll);}}}}}(III11l,i1lIil,function(liII1,I1I1ii,l1llil,IIIlIi,llIl1I,i1lIl1,liIli1){return I1I1ii='\x73\x70\x6c\x69\x74',liII1=arguments[0x0],liII1=liII1[I1I1ii](''),l1llil='\x72\x65\x76\x65\x72\x73\x65',liII1=liII1[l1llil]('\x76'),IIIlIi='\x6a\x6f\x69\x6e',(0x13669e,liII1[IIIlIi](''));});}(0x600,0xda9e4,Iii11l,0xc2),Iii11l)&&(version_=Iii11l);const Iiilil=$[IIIlI(0x1b1,'TW#4')]()?require(IIIlI(0x163,'^DHL')):'',Iil1ll=$[IIIlI(0x168,'dc@4')]()?require('./jdCookie.js'):'';CryptoJS=$[IIIlI(0x1cb,'eT1o')]()?require(IIIlI(0x14b,'zjYB')):CryptoJS;const iillI=require('./function/krgetToken');let lI1III=process[IIIlI(0x23e,'LgtV')][IIIlI(0x126,'U@c#')]?process['env']['jd_fans_fansactiveall_id']:'',IIliIi=[],IllIiI='';if($['isNode']()){Object[IIIlI(0x200,'rR3p')](Iil1ll)[IIIlI(0x1d9,'y]Sz')](iill1=>{const IiiI=IIIlI;IIliIi[IiiI(0x15f,'DeR!')](Iil1ll[iill1]);});if(process[IIIlI(0x174,'0FdZ')][IIIlI(0x211,'hiHU')]&&process['env'][IIIlI(0x171,'eT1o')]===IIIlI(0x183,'lnYE'))console['log']=()=>{};}else IIliIi=[$[IIIlI(0x1a4,'TW#4')](IIIlI(0x146,'xq5q')),$[IIIlI(0x11a,'hZ#A')](IIIlI(0x16c,'M4w1')),...I1iII1($[IIIlI(0x224,'v#5i')]('CookiesJD')||'[]')[IIIlI(0x23f,'o%LH')](iii1l1=>iii1l1[IIIlI(0x11e,'rR3p')])]['filter'](IIliIl=>!!IIliIl);let i1il1=Date[IIIlI(0x177,'hZIj')](),I1l111='';lI1III&&(activityId=lilII1(''+lI1III,'qwer'));!(async()=>{const iIi1i=IIIlI,II11ll={'dYbka':function(liiI1I,ililII){return liiI1I!=ililII;},'OfuMe':function(lI1II1,i1ilII){return lI1II1+i1ilII;},'IwfgY':function(iIIii1,IllIi1){return iIIii1+IllIi1;},'FbshA':iIi1i(0x158,'q3Du'),'LiAbh':'获得:空气','PbKmz':function(lilIII,Ii1ilI){return lilIII(Ii1ilI);},'wfqOv':function(II11i1,iliIil){return II11i1||iliIil;},'CdVHh':function(iliIii,lill1i){return iliIii+lill1i;},'IuLXf':function(il1li,iIIill){return il1li+iIIill;},'qKMCg':iIi1i(0x18f,'U@c#'),'ynDfO':function(iilii,Ill11i){return iilii(Ill11i);},'nsgLS':iIi1i(0x245,'$k$!'),'OhmiM':'❖\x20远程获取数据中...\x0a❖\x20数据获取正常...\x0a','KAlrF':function(iilil,Ill11l){return iilil<Ill11l;},'AntXT':iIi1i(0x213,'y]Sz'),'NySWm':function(il1ll,i1ilIi){return il1ll===i1ilIi;},'EohWv':iIi1i(0x1d6,')@iE'),'RgCCU':'\x0a暂无活动~\x0a','VrPew':iIi1i(0x120,'dc@4'),'kKKoA':function(lill1l,l1l1i1){return lill1l===l1l1i1;},'hCHQZ':iIi1i(0x1ab,'Ve0p'),'CSTjd':function(i1iiI,i1ilIl){return i1iiI(i1ilIl);},'diJSK':iIi1i(0x143,'zjYB'),'ennat':iIi1i(0x217,'M4w1'),'rQyzn':iIi1i(0x21b,'[5be'),'MRjnU':'mRGIX','ERGMx':iIi1i(0x176,'KPh1'),'zNRbk':function(llI11I){return llI11I();},'BczxQ':function(Il1i11,iii1li){return Il1i11!==iii1li;},'DLtCA':'LDamg'};if(!IIliIi[0x0]){$[iIi1i(0x17a,'EG6x')]($[iIi1i(0x216,'0m6!')],'【提示】请先获取京东账号一cookie\x0a直接使用NobyDa的京东签到获取',II11ll[iIi1i(0x131,'EG6x')],{'open-url':iIi1i(0x12e,'GsH5')});return;}authorCodeList=await II11ll[iIi1i(0x129,'O[x(')](IIii1i,II11ll['nsgLS']);if(authorCodeList){console['log'](II11ll[iIi1i(0x13c,'^DHL')]);for(let Iil1i1=0x0;II11ll[iIi1i(0x221,'rR3p')](Iil1i1,authorCodeList[iIi1i(0x240,'O[x(')]);Iil1i1++){console['log'](iIi1i(0x249,'wjJ&')+II11ll[iIi1i(0x15c,'tsZd')](Iil1i1,0x1)+iIi1i(0x21d,'q3Du')+authorCodeList[Iil1i1]+'\x22');}}else console[iIi1i(0x225,'LgtV')]('❖\x20远程数据获取失败,请自行查找可用活动链接...\x0a');if(!lI1III){console[iIi1i(0x1d3,'fbaX')](II11ll[iIi1i(0x103,'tsZd')]);return;}$[iIi1i(0x195,'hiHU')]=activityId;if(!$[iIi1i(0x1c6,'Ve0p')]){if(II11ll[iIi1i(0x1c4,'LgtV')](II11ll[iIi1i(0x11b,'v#5i')],'trfmW')){console[iIi1i(0x122,'OL(k')](II11ll[iIi1i(0x117,'GsH5')]);return;}else llIliI[iIi1i(0x13d,'xq5q')](I1l1I1);}console[iIi1i(0x122,'OL(k')](II11ll[iIi1i(0x239,'TW#4')](II11ll[iIi1i(0x1e2,'eT1o')],lI1III));for(let iliIl1=0x0;II11ll[iIi1i(0x1de,'EG6x')](iliIl1,IIliIi[iIi1i(0x1b5,'U@c#')]);iliIl1++){if(IIliIi[iliIl1]){if(II11ll[iIi1i(0x22d,'KPh1')](II11ll['hCHQZ'],iIi1i(0x114,')&KG'))){IllIiI=IIliIi[iliIl1],$[iIi1i(0x244,')@iE')]=II11ll['CSTjd'](decodeURIComponent,IllIiI[iIi1i(0x1da,'y]Sz')](/pt_pin=([^; ]+)(?=;?)/)&&IllIiI[iIi1i(0x19a,'DeR!')](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$[iIi1i(0x1c0,'eT1o')]=II11ll['OfuMe'](iliIl1,0x1),$[iIi1i(0x1d7,'zjYB')]=!![],$[iIi1i(0x1f6,'[5be')]='',message='',console['log'](II11ll[iIi1i(0x1ef,'wjJ&')](II11ll[iIi1i(0x159,'zjYB')](II11ll[iIi1i(0x209,'$k$!')]+$['index'],'】')+($[iIi1i(0x140,'zjYB')]||$['UserName']),II11ll[iIi1i(0x12a,'0FdZ')]));if(!$[iIi1i(0x16a,'O[x(')]){if(II11ll[iIi1i(0x20d,'g@bO')](II11ll[iIi1i(0x16b,'fbaX')],II11ll[iIi1i(0x148,'hZ#A')]))IiiIli[iIi1i(0x149,'3BsJ')]=iillli[iIi1i(0x1be,'Ve0p')][0x1];else{$[iIi1i(0x21c,'hiHU')]($[iIi1i(0x14a,'^DHL')],'【提示】cookie已失效',iIi1i(0x247,']mM*')+$['index']+'\x20'+($[iIi1i(0x187,'$c8h')]||$[iIi1i(0x1dc,'M4w1')])+iIi1i(0x10b,'g@bO'),{'open-url':II11ll['qKMCg']});$[iIi1i(0x243,'rR3p')]()&&(II11ll['NySWm'](II11ll[iIi1i(0x175,'0FdZ')],iIi1i(0x109,'$k$!'))?await Iiilil[iIi1i(0x250,'[5be')]($['name']+'cookie已失效\x20-\x20'+$[iIi1i(0x22f,'ZRwX')],iIi1i(0x1e9,'hZ#A')+$[iIi1i(0x11c,'Z^XJ')]+'\x20'+$[iIi1i(0x203,'OPDE')]+iIi1i(0x179,'gk(F')):II11ll[iIi1i(0x1ec,'dc@4')](lili1?.['prize'],'')?l1ii1['log'](II11ll[iIi1i(0x173,'v#5i')](II11ll[iIi1i(0x229,'hZ#A')](II11ll[iIi1i(0x151,'rR3p')],ii1ll?.['prize']?.[iIi1i(0x1f0,'^DHL')]),'\x20')+IliI1l?.[iIi1i(0x207,'tsZd')]?.[iIi1i(0x1a7,'U@c#')]):lliiil['log'](II11ll['LiAbh']));continue;}}await II11ll[iIi1i(0x24a,')@iE')](IIii1l),await $['wait'](0x7d0);}else II11ll[iIi1i(0x238,'hZIj')](lliii1,II11ll[iIi1i(0x12d,'3BsJ')](Iiii1,{}));}}if(I1l111){if(II11ll['BczxQ'](II11ll[iIi1i(0x150,'xq5q')],II11ll[iIi1i(0x107,'Z^XJ')]))IIli11[iIi1i(0x182,'dc@4')](II11ll[iIi1i(0x248,'KjZt')](II11ll[iIi1i(0x236,'OPDE')](iIi1i(0x1a6,'hiHU'),IllIII?.[iIi1i(0x205,'$c8h')]?.[iIi1i(0x189,'hiHU')]),'\x20')+ii1li?.['prize']?.[iIi1i(0x17f,'hiHU')]);else{if($[iIi1i(0x24f,'[5be')]())await Iiilil[iIi1i(0x1eb,')@iE')](''+$['name'],''+I1l111);$[iIi1i(0x1d5,'ZRwX')]($[iIi1i(0x22b,'Z^XJ')],'',I1l111);}}})()[IIIlI(0x21e,'H1kc')](IliIIl=>{const l1iIll=IIIlI;$[l1iIll(0x13d,'xq5q')]('','❌\x20'+$[l1iIll(0x192,'KPh1')]+l1iIll(0x193,'zjYB')+IliIIl+'!','');})[IIIlI(0x16d,'$c8h')](()=>{const l1iIli=IIIlI;$[l1iIli(0x1ee,'WaiL')]();});async function IIii1l(){const iIi1l=IIIlI,I1il1l={'qzILl':function(lI1l1l){return lI1l1l();},'GdvEm':function(IIliII){return IIliII();}};await I1il1l[iIi1l(0x1b4,'rR3p')](I1iIII),await $['wait'](0x1f4),await I1il1l[iIi1l(0x186,'lnYE')](liiI11),await $[iIi1l(0x1bc,'$c8h')](0x1f4),await ililI1();}function I1iIII(){const i1lIlI=IIIlI,iiliI={'CRLVI':i1lIlI(0x165,'$k$!'),'alOod':function(Ill11I,I1il1i){return Ill11I(I1il1i);},'hOdzR':function(IliIIi,lI1l1i){return IliIIi||lI1l1i;},'eVbLk':function(i1iil,llI11l){return i1iil===llI11l;},'XjCDb':i1lIlI(0x137,'DeR!'),'uisOR':i1lIlI(0x152,'o%LH'),'yrZaM':'Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2014_2\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Version/14.0.1\x20Mobile/15E148\x20Safari/604.1'};return new Promise(async I1llIl=>{const l1lliI=i1lIlI,i1iii={'wvgNq':l1lliI(0x1e6,'GsH5'),'WZBIo':function(I1llIi,IIii1I){return I1llIi<IIii1I;},'klUeS':function(llI11i,i1iIi1){return llI11i+i1iIi1;},'NHebk':l1lliI(0x115,'hZIj'),'uIPTK':function(l1l1il,I11i1I){return l1l1il+I11i1I;},'NQAGv':iiliI[l1lliI(0x24d,'hiHU')],'UqfPA':function(iliIi1,l1l1ii){return iiliI['alOod'](iliIi1,l1l1ii);},'fOSxV':function(Il1i1I,Ii1iii){const I1I1iI=l1lliI;return iiliI[I1I1iI(0x1a1,'wjJ&')](Il1i1I,Ii1iii);}};if(iiliI[l1lliI(0x132,'tsZd')]('NBWsi',iiliI[l1lliI(0x1fd,'y]Sz')])){i1l11[l1lliI(0x1a8,'$c8h')](i1iii[l1lliI(0x1c5,'eT1o')]);for(let il1l1=0x0;i1iii[l1lliI(0x167,'v#5i')](il1l1,i1l1ll[l1lliI(0x1cf,'Z^XJ')]);il1l1++){i1ilil['log']('❖\x20远程数据第['+i1iii[l1lliI(0x226,'0m6!')](il1l1,0x1)+l1lliI(0x212,'OPDE')+lilIii[il1l1]+'\x22');}}else{const Ii1iil={'url':l1lliI(0x134,'xq5q')+$[l1lliI(0x14d,'$c8h')]+'&_='+i1il1+l1lliI(0x1f1,'3BsJ'),'headers':{'Accept':l1lliI(0x20b,'lqAQ'),'Accept-Encoding':iiliI['uisOR'],'Accept-Language':l1lliI(0x119,'LgtV'),'Connection':'keep-alive','Cookie':IllIiI,'Host':l1lliI(0x125,'U@c#'),'Referer':l1lliI(0x22c,'lnYE')+$[l1lliI(0x139,'hZ#A')]+l1lliI(0x12b,'0m6!')+i1il1+l1lliI(0x1f1,'3BsJ'),'User-Agent':iiliI['yrZaM']}};$[l1lliI(0x1fe,'9sQE')](Ii1iil,(Ilil1i,iili1,II11ii)=>{const IIIlII=l1lliI,Iil1iI={'uKQuU':IIIlII(0x18c,'^DHL')};if(i1iii['NHebk']!=='TrecH')try{return lllii1['parse'](liIli);}catch(iIIil1){return l1lIiI['log'](iIIil1),llliiI[IIIlII(0x166,']mM*')](IilIiI[IIIlII(0x219,'GsH5')],'',Iil1iI[IIIlII(0x1dd,'WaiL')]),[];}else try{Ilil1i?console[IIIlII(0x1bd,'DeR!')](Ilil1i):($[IIIlII(0x17c,'$k$!')]=II11ii[IIIlII(0x15b,'OL(k')](/"backEnd":"(.+?)"/),$['backEnd']&&($[IIIlII(0x246,'6HUR')]=$[IIIlII(0x13a,'LgtV')][0x1]),console['log'](i1iii[IIIlII(0x10c,'3BsJ')](i1iii['NQAGv'],$[IIIlII(0x191,'v#5i')])));}catch(IlllII){$[IIIlII(0x15d,'zjYB')](IlllII,iili1);}finally{i1iii[IIIlII(0x1bb,'ZRwX')](I1llIl,i1iii[IIIlII(0x1fb,'q3Du')](II11ii,{}));}});}});}function iii1II(_0x478d65,_0x3867ef){const _0x231d92=Iii11l();return iii1II=function(_0x75c717,_0xb6a541){_0x75c717=_0x75c717-0x103;let _0x1e7018=_0x231d92[_0x75c717];if(iii1II['mDAlos']===undefined){var _0x2b88f5=function(_0x52fd96){const _0x1aed9e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1e3fdf='',_0x1267d6='';for(let _0x2ed42=0x0,_0x45ad4f,_0xfe1c0d,_0x263a3e=0x0;_0xfe1c0d=_0x52fd96['charAt'](_0x263a3e++);~_0xfe1c0d&&(_0x45ad4f=_0x2ed42%0x4?_0x45ad4f*0x40+_0xfe1c0d:_0xfe1c0d,_0x2ed42++%0x4)?_0x1e3fdf+=String['fromCharCode'](0xff&_0x45ad4f>>(-0x2*_0x2ed42&0x6)):0x0){_0xfe1c0d=_0x1aed9e['indexOf'](_0xfe1c0d);}for(let _0x1c50d3=0x0,_0x107b3f=_0x1e3fdf['length'];_0x1c50d3<_0x107b3f;_0x1c50d3++){_0x1267d6+='%'+('00'+_0x1e3fdf['charCodeAt'](_0x1c50d3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1267d6);};const _0x3560ab=function(_0x5a6551,_0x19a0ac){let _0x11dd57=[],_0x598e02=0x0,_0x49aa7a,_0xb7b2e3='';_0x5a6551=_0x2b88f5(_0x5a6551);let _0x3f2172;for(_0x3f2172=0x0;_0x3f2172<0x100;_0x3f2172++){_0x11dd57[_0x3f2172]=_0x3f2172;}for(_0x3f2172=0x0;_0x3f2172<0x100;_0x3f2172++){_0x598e02=(_0x598e02+_0x11dd57[_0x3f2172]+_0x19a0ac['charCodeAt'](_0x3f2172%_0x19a0ac['length']))%0x100,_0x49aa7a=_0x11dd57[_0x3f2172],_0x11dd57[_0x3f2172]=_0x11dd57[_0x598e02],_0x11dd57[_0x598e02]=_0x49aa7a;}_0x3f2172=0x0,_0x598e02=0x0;for(let _0x3c8178=0x0;_0x3c8178<_0x5a6551['length'];_0x3c8178++){_0x3f2172=(_0x3f2172+0x1)%0x100,_0x598e02=(_0x598e02+_0x11dd57[_0x3f2172])%0x100,_0x49aa7a=_0x11dd57[_0x3f2172],_0x11dd57[_0x3f2172]=_0x11dd57[_0x598e02],_0x11dd57[_0x598e02]=_0x49aa7a,_0xb7b2e3+=String['fromCharCode'](_0x5a6551['charCodeAt'](_0x3c8178)^_0x11dd57[(_0x11dd57[_0x3f2172]+_0x11dd57[_0x598e02])%0x100]);}return _0xb7b2e3;};iii1II['UcMUwY']=_0x3560ab,_0x478d65=arguments,iii1II['mDAlos']=!![];}const _0x1d2a0f=_0x231d92[0x0],_0x56133c=_0x75c717+_0x1d2a0f,_0x5bba7c=_0x478d65[_0x56133c];return!_0x5bba7c?(iii1II['LXlhos']===undefined&&(iii1II['LXlhos']=!![]),_0x1e7018=iii1II['UcMUwY'](_0x1e7018,_0xb6a541),_0x478d65[_0x56133c]=_0x1e7018):_0x1e7018=_0x5bba7c,_0x1e7018;},iii1II(_0x478d65,_0x3867ef);}function liiI11(){const iiIiI1=IIIlI,I1il1I={'FcHYo':function(II111,lI1l1I){return II111===lI1l1I;},'yoJBq':'CQySp','gqZZL':function(lill11,liI1i1){return lill11(liI1i1);},'HJaJH':iiIiI1(0x1e7,'dc@4'),'pPDUo':'gzip,\x20deflate,\x20br','eHJXi':iiIiI1(0x154,'OPDE'),'PDDza':iiIiI1(0x1ac,'eT1o'),'FlJAC':iiIiI1(0x144,'U@c#')};return new Promise(async I11i11=>{const ili1Il=iiIiI1,I1llII={'wRyxx':function(I11i1i,l1l1iI){return I1il1I['FcHYo'](I11i1i,l1l1iI);},'LmGOT':I1il1I[ili1Il(0x233,']mM*')],'hbWIS':function(I1llI1,I11i1l){const ili1Ii=ili1Il;return I1il1I[ili1Ii(0x1cc,'lnYE')](I1llI1,I11i1l);},'JJvQY':function(il1il,Il1i1i){return il1il||Il1i1i;}},Iil1il={'url':ili1Il(0x223,'DeR!')+$['backEnd']+ili1Il(0x108,']mM*')+i1il1+ili1Il(0x145,'dc@4'),'headers':{'Accept':I1il1I[ili1Il(0x194,'wjJ&')],'Accept-Encoding':I1il1I[ili1Il(0x14c,'0m6!')],'Accept-Language':'zh-cn','Connection':I1il1I[ili1Il(0x18d,'9sQE')],'Cookie':IllIiI,'Host':I1il1I[ili1Il(0x1d1,'ZRwX')],'Referer':ili1Il(0x105,')&KG')+$[ili1Il(0x19d,'M4w1')]+ili1Il(0x1c2,'KjZt')+i1il1+'&sceneval=2&g_login_type=1&callback=query_tempactivconfig&g_ty=ls&appCode=msc588d6d5','User-Agent':I1il1I[ili1Il(0x19e,'M4w1')]}};$[ili1Il(0x141,'tsZd')](Iil1il,(iIIili,Ii1iiI,Ilil1I)=>{const Iilll1=ili1Il;try{if(iIIili)console['log'](iIIili);else{}}catch(iliIiI){$['logErr'](iliIiI,Ii1iiI);}finally{if(I1llII[Iilll1(0x234,'dc@4')](I1llII[Iilll1(0x135,'LgtV')],I1llII[Iilll1(0x208,'fbaX')]))I1llII[Iilll1(0x20f,'Ve0p')](I11i11,I1llII[Iilll1(0x157,'OL(k')](Ilil1I,{}));else{if(iI1lli)l1lIll['log'](I1l1II);else{}}}});});}function ililI1(){const ll11I=IIIlI,Il1i1l={'dekQK':function(Iil1ii,lill1I){return Iil1ii(lill1I);},'gucRK':function(Ii1ii1,Ilil11){return Ii1ii1*Ilil11;},'vaHlH':function(i1ii1,il1ii){return i1ii1-il1ii;},'PxmHk':ll11I(0x1cd,'M4w1'),'czvmz':ll11I(0x1c7,'M4w1'),'dfPSw':'LuvHV','knBET':ll11I(0x1ad,'Z^XJ'),'obwrA':function(llI111,i1iIiI){return llI111!==i1iIiI;},'PwSMh':'ajuYT','NAhbB':'bGqgS','DfXiF':'zIFBt','NkHJA':ll11I(0x20c,'OPDE'),'AwUSv':ll11I(0x127,'q3Du'),'CLnNW':function(IlllI1,I1il11){return IlllI1==I1il11;},'gghdg':ll11I(0x1fa,'lnYE'),'FHQjb':ll11I(0x11f,')&KG'),'cDwFP':ll11I(0x110,'^DHL'),'TxjEO':ll11I(0x1d2,'EG6x'),'GLpjB':ll11I(0x188,'$c8h'),'bOZTa':ll11I(0x17d,'0FdZ')};return new Promise(async lI1l11=>{const IlI1lI=ll11I,II11l={'wsWdW':function(iI1Iii,liI1ii){return Il1i1l['dekQK'](iI1Iii,liI1ii);},'VWFrj':function(lIIiIl,iI1Iil){return lIIiIl+iI1Iil;},'buRog':function(il1iI,i1iIii){return il1iI+i1iIii;},'Ayvca':function(i1iIil,liI1il){const iIi1I=iii1II;return Il1i1l[iIi1I(0x1e1,'0FdZ')](i1iIil,liI1il);},'QIFOu':function(llIlIi,llIlIl){const liIIl=iii1II;return Il1i1l[liIIl(0x1af,'9sQE')](llIlIi,llIlIl);},'UXbGI':Il1i1l[IlI1lI(0x10f,']mM*')],'iCiSU':Il1i1l['czvmz'],'KEHlB':Il1i1l['dfPSw'],'XrtAv':Il1i1l['knBET'],'NVlBF':function(II11I,il1i1){const liIIi=IlI1lI;return Il1i1l[liIIi(0x1f3,'hiHU')](II11I,il1i1);},'dJiDN':Il1i1l['PwSMh'],'JacKl':function(lIIiIi,liI1iI){return lIIiIi!==liI1iI;},'OQhjk':Il1i1l[IlI1lI(0x18a,'dc@4')],'nkscb':Il1i1l[IlI1lI(0x14f,'U@c#')],'ZkEBX':function(iI1Il1,i1iIl1){return iI1Il1!==i1iIl1;},'rGvIl':Il1i1l[IlI1lI(0x18b,'g@bO')],'CDydQ':function(i1lli1,llIlII){return i1lli1+llIlII;},'NobGO':function(IIlII,lIIiII){return IIlII+lIIiII;},'BfodC':Il1i1l['AwUSv'],'nSGjJ':function(i1iIlI,li111){const IilllI=IlI1lI;return Il1i1l[IilllI(0x1f5,'DeR!')](i1iIlI,li111);},'IIvZs':function(liI1lI,lIIiI1){return Il1i1l['obwrA'](liI1lI,lIIiI1);},'eXijI':Il1i1l[IlI1lI(0x1c1,'wjJ&')],'BPdyV':Il1i1l[IlI1lI(0x22e,'hZIj')],'CraBZ':IlI1lI(0x218,'M4w1'),'smUyz':IlI1lI(0x1ba,'Ebd7'),'iHpNd':function(ll1I1,Ii1ili){return ll1I1||Ii1ili;}},II11i={'url':IlI1lI(0x241,'0m6!')+$[IlI1lI(0x181,'EG6x')]+IlI1lI(0x202,'^DHL')+i1il1+IlI1lI(0x147,'dc@4'),'headers':{'Accept':Il1i1l[IlI1lI(0x19c,'lqAQ')],'Accept-Encoding':IlI1lI(0x1d4,'Ebd7'),'Accept-Language':Il1i1l[IlI1lI(0x1f4,'$c8h')],'Connection':Il1i1l[IlI1lI(0x230,'DeR!')],'Cookie':IllIiI,'Host':Il1i1l[IlI1lI(0x251,'9sQE')],'Referer':IlI1lI(0x21a,'eT1o')+$[IlI1lI(0x1c8,'ZRwX')]+IlI1lI(0x112,'v#5i')+i1il1+IlI1lI(0x128,'y]Sz'),'User-Agent':IlI1lI(0x153,'WaiL')}};$[IlI1lI(0x184,'wjJ&')](II11i,(iI1Ii1,Ii1ill,llIlI1)=>{const l1lllI=IlI1lI,iI1IiI={'dPoPM':function(IIlI1,i1iIli){const iI1lIi=iii1II;return II11l[iI1lIi(0x10d,'GsH5')](IIlI1,i1iIli);},'bCGZe':function(i1iIll,i1lliI){return i1iIll+i1lliI;},'vgicH':l1lllI(0x19b,'M4w1'),'cFvLy':function(liI1l1,IllIlI){const llliIi=l1lllI;return II11l[llliIi(0x1b9,'hZ#A')](liI1l1,IllIlI);},'CIrjm':function(IiillI,ili11I){const i1lIli=l1lllI;return II11l[i1lIli(0x124,'WaiL')](IiillI,ili11I);},'wmtSf':function(li11l,lliiIl){const i1lIll=l1lllI;return II11l[i1lIll(0x142,'fbaX')](li11l,lliiIl);}};if(II11l[l1lllI(0x1a3,'rR3p')]===II11l[l1lllI(0x1a0,'0m6!')]){let lliiIi=new il1i1I(iI1IiI['dPoPM'](iI1IiI['bCGZe'](iI1IiI[l1lllI(0x1b3,'wjJ&')],lI1li1),'=([^&]*)(&|$)')),iiIi1I=iI11II[l1lllI(0x1b8,'6HUR')](lliiIi);if(iiIi1I!=null)return ilil1i(iiIi1I[0x2]);return'';}else try{if(II11l['KEHlB']===II11l['XrtAv'])lilii['log'](l1lllI(0x1c3,'WaiL'));else{if(iI1Ii1){if(II11l[l1lllI(0x1f8,')@iE')](II11l[l1lllI(0x12c,'g@bO')],II11l[l1lllI(0x1ed,'3BsJ')]))return iI1IiI[l1lllI(0x172,'LgtV')](IiII[l1lllI(0x228,'v#5i')](iI1IiI['CIrjm'](llIIli[l1lllI(0x10e,'KPh1')](),iI1IiI[l1lllI(0x15a,'hZ#A')](lIII1I,illIlI))),liIiI);else console['log'](iI1Ii1);}else{if(II11l['JacKl'](II11l[l1lllI(0x118,'zjYB')],II11l[l1lllI(0x14e,'Ve0p')]))iillll[l1lllI(0x13d,'xq5q')](lIIilI);else{let iiIi11=llIlI1?.[l1lllI(0x20a,'9sQE')](/[\n\r]/g,'')?.[l1lllI(0x104,'KjZt')](/draw_activetemporary\((\{.*?\})\);/);if(iiIi11){if(l1lllI(0x12f,'dc@4')===II11l[l1lllI(0x1d8,']mM*')]){let ill1II=JSON[l1lllI(0x170,'gfN)')](iiIi11[0x1]);if(ill1II?.[l1lllI(0x161,'q3Du')]==0x0)ill1II?.['prize']!=''?II11l[l1lllI(0x1ca,'dc@4')]('aZfPp',II11l[l1lllI(0x22a,'OL(k')])?II1Ii[l1lllI(0x24e,'q3Du')](i1ii[I1iIl1]):console[l1lllI(0x182,'dc@4')](II11l['buRog'](II11l[l1lllI(0x11d,'0FdZ')](II11l['NobGO'](l1lllI(0x1b6,'O[x('),ill1II?.[l1lllI(0x10a,'GsH5')]?.[l1lllI(0x198,'gk(F')]),'\x20'),ill1II?.['prize']?.[l1lllI(0x227,'y]Sz')])):console[l1lllI(0x18e,'M4w1')](II11l[l1lllI(0x13f,'0m6!')]);else{if(II11l[l1lllI(0x16f,'g@bO')](ill1II?.['ret'],0x3ed)){if(II11l['IIvZs'](II11l[l1lllI(0x169,'OL(k')],II11l[l1lllI(0x156,'g@bO')]))console[l1lllI(0x1a2,'zjYB')](l1lllI(0x13b,'hiHU'));else return!![];}else console[l1lllI(0x1a9,'KjZt')](ill1II?.[l1lllI(0x23c,'wjJ&')]);}}else II11l[l1lllI(0x13e,'Ve0p')](l1l11I,lilIl);}else II11l['CraBZ']!==II11l['smUyz']?console[l1lllI(0x21f,'EG6x')](l1lllI(0x231,'xq5q')):Illl1I['log'](lliiiI?.[l1lllI(0x160,'3BsJ')]);}}}}catch(llIIii){$[l1lllI(0x138,')&KG')](llIIii,Ii1ill);}finally{II11l[l1lllI(0x16e,'lqAQ')](lI1l11,II11l[l1lllI(0x17e,']mM*')](llIlI1,{}));}});});}function Iii11l(){const ll11lI=(function(){return[version_,'XjgsDljkiAakmeTiG.coxmkuN.IHv7HJEryQXRrb==','imo/W7tcM8koDW','4P+ilUI8VEEQTEInMEwnI+AvKEAmNUs4GGOMWPRdNokET0JMLAFMJiROJyhLJkFMRytLUiJdSX/cGmoV','WQRcPNi','WROQW6lcTcTdzvlcLLeMW5P6','5lMk5lIP6lA/5yYC','W6KbBW','aX19WQ8qbCkKWOtdJbO','W6tdKdRcH8kQ','ffizW4qL','y8oLecq','W6m1W4eGpW','W7y+ESk0W5eQrh3cOmo3','vMStW6ufjSoFxXaEWPxcO8kRWPvPc8kDWQBcVc7cPmkLWQzUzcmIbmotWPCzi03cN8oIdaKgt8oUmCksW5ddL8krfX5Cs8k9dCoaW7xdOMXnfgSua8kOvGxdS8kafmo+W6dcVNn/W67cJSkwmZeQW53cO8oAWPBdRaVdKa','WQb4WO9NW7y','neDrWOpdVq','WPfdWOZdLu8','WRtdGIL2W4G','vmkTgMzvjSkfW7O','W41ZW6SGuq','pI5/WOKy','qLyF','ESovrCkTW48','pCk3WPRdTCkn','hGhcICkDWOe','wSo6jSoOya','W7XaW64','ErZcGxG1r0C','W5xcOmkhW5m','mSk9t3NdPSogW7ldGgjv','WQmXnq','cb/cUmk8WOicWO1P','j0hcVa','WRvjWO/dQMu','o0bDhmke','bCofW5z2W6G','atZcIfuk','l1LuWRrA','W6LaW6OHxLBcGW','WQe0W7G','pdBcU8kEWRW','WRKvW5JdKdm','WQ8vWQ99cqtdNSoGWRWflCk8nL8','W7RcV8k1WOtdGq','W5adWQVdMNNdV8oVcSopWPBcQSoNza','ewf5WRxdUrBcSmkN','aos5HUwmHEMeGCo2q8kfDenfsaiMxIvSW7altd7cGSkgtryvj8o9W7/cSSkNW4eKWOqlWQ3cHmowW5xdO8otWQdcIc46g8kxWQJcSmonv0SOWQ/cMrhcLxdcUCobxSo8cmodsbRcSSk0dcVdVmonkCkHW6ldNdfxWRxdVaRdLwfkWPuxW6tdISoBW6NcOmkGWPdcG2aZWQK1W4ldOe3cLqK','coITP+weREMcTUI/HEEmTUwJOEwpLEMhKwZOR77NV4lMTiJLIRFLJidPHARVVP3dUSk+lCopEmkEWQJcJSoGW4iHDfrkymkRjaxcVCk6WOeBCCoDjgBcIJOxWPJdHHjL5REG5yUl6zo/5O+gBXtLRzxKU7tMTPBLIRpPK6lMJQSW','W7NdUHBcG8kH','gNTjWQ1j','WQTwWOX2','C0JcRSo3WOy8lM/dNwm','daJdNCkuW40','W7bVWOZdMW','WRjyW43cSSofuCoYW4RcOXODWRWoWOdcG8kny8o6W5G8AmkgW7NdHt7cR8kRjCoulSo4vmkhwSoBaSoYiSodFs/cPmkIfXhcKrJdJSkuxSkVWQtcTCkOWQ/cTmoLxG9BhSkRWPhdLI/cJSoQ','w8kod0jO','nLzb','bUs7KUwmKEMfGSoHWPT3WOlcVdpcVJ0OWPBdO8kjW6iDt8oKwcxdLWxcUSkVbmkPomoEomk0nrW3WPtdQsJcSmk0CmouqSkZW6hcIqzaFmkEWRRdHhjbo8ocWOZdUZqenSoJWR8leeuyjSkQB8k5WOycW5JdMfhdPmk9iWxcJCk9Brq/W7dcPqO/pmogzSoEW6/cJ8kYF0TwW6nwWQ4','l8kXWO/cJxy','WQT1jW','W5VcMmksWOVdVq','W7xcHmksW5lcVW','p1hcINZcRa','WP/dUJniW6ZcVvVcOYxdNSkSuSkpvmk2z1bIW7JdGCknW6NdJCkkWQ/cPZuKzmodW4hdUhRdJ8ktWRddS0JcL8kFWRHIt8ovkx/dNN89AmoTzJNcJSoMlHzitfhcGwZdM8kNWPGmbmkjW4pcICoZW5NcQtVdUCkXESosnCkYW5hcSSo6','yvFcNe45W43cJa','xZ5D','WQ5BWRr2W4i','CCoaf8ofEmo8jMHTiW','yf7cH0uQ','WQ9cW7/cJbe','zCo0W6ypWQW','nKDala','rCo0sCk7W5VcN8oxWPG8WO8CWPj7WQhcKZJcIWXqqCoFx35EmmoaW7DxtupdG8k9eSksW5dcNmouwSoprCoNWPJcRbFcRqxcTt8XcYRcImoLC8kPW7GfW7xcTqWZWQVdH8kooCkJW7C','ySkDhWRdMa','p2xcKbim','lw3dGmkgm8kDk8kG','WRddGJDsW50','6iYo5B+C5Pwh5O+o6i2S5y6d5AAx6lwr','CNFcKump','kSoKW4ZcSmkr','W7FdMYhcLmkZ','aw3dQ8kBfW','fbNcKCkwWQO','BSoMlG7dSq','ku/cIHuu','WQKOpCoUCG','5lU35lUK5P+e5yIS5zQZ6kYe6zE85PAk5O6I5lMM56Q2772f6k+/5Qc85P2I6is86lIV6k+c5AsM57+g57UB5Okg5ysd','cuZcSWSl','W4eGW5m','W6z6WQBdP3m','vJ9m','CuvM','jLFcTxxcICoJ','WQ1dWPvJW6lcN8oPW63cNaOCpWFdVCkXvmk2lwWyWQS6DmkpWPmlW7NcGg8Fv8kFWOZcPIRcT8kqW5S2cCkFWQXDva5aiSoRW7ldH8kwthdcUejFb3xcGZjDjfhdHCoLW73cNLtdKM7dGMqpWRuVyLJcNmkPaSknWRG','WPJdRc1DW7ZdSW','W5FcTSkWW4/cNs0','jqT2WRKqc8k9WOG','i0rQWPCRW4v4cZ/dKSoxjmkGCxlcLCoDymkxWPDfESktWONcVSoHceFdJCoQW43dSW','dmoWWPhcKSktr8oK','5lU/5lQx6lAG5yYf','W5WptCokgG','4P+6C+I9QoEPPUAuQUApMUEUIrO','cJzbWQK1','kmozWRdcVCkp','vCo3W6acWPi','ghDQWQFdTq','k8knWRRdPq','u8k3n2j/iG','sCkHf2LvkmkCW7BdGCkp','W7LQW4azxG','nmozW4TuW5K','W7ikB8oHgG'].concat((function(){return['rK0mWQq3vmoFWOZcKLbmW5FcJrFdGmoCAWTngCkYW4tcSGVcGCk/ESocW7JcSSoBb3L2aGrFFblcGcaGsCozBmkGWPeWmx4tAvSahSkfaf43cSkjm8o8tIBcUui','agqiW4dcGmkQW78PW4RcVfRcJmoW','hgPzcSkn','DCouWRS','pgbXWOzv','W658WOJdHmkl','W5JORQNPHz7MLi/NMiNLVR3OJOdLJ4FdR8o1yCkGWQ/dUGJcVLL9kxddMGRcQ0SOWQSwwmk/FfpcIgVcTI9sW4zEWOTrDSoSW5BdRmkhjK7dIJHfWQaD','bveGW5qG','W4HzWQFdJmke','E8k3oGhdTJ4','a8oZW6VcUSkl','WQ9biG','WQJcKhz/W7a','ig3dLq','q8oHumkU','zNyHWOqH','lv/cPbSM','abLHWRG7','W4XPWQldVCk7','oK7dK8keW6q','stKxWPtdNa','WOfqW63cJYNcUSk+','q13cGh0U','muHjlmk0','W4pdUcddGSoh','W53cQSkrW4VcKc0','EvqUWPWX','5RA75yIH5ys95yYp77+r','WRWqW7xdQbO','E8oCW7C','x8kHW4pdImoGgmkXxSomumoYWQ3dLq','rSoZccldSG','W5eIW4yTcZZdV8knaa','W4W3WRCHdNZdR8k9c8oQWQ8VlsJdQ8kpn8kNW4uWkctcPrm','6i+S5B2V77+t56U35Rop','jmoJbSojBmo8fgXYFxlcILraWRtdISoGW7BcQaldLhpcMSoTW5NcTCk7jhrwvv3cRcyaW7pcQSkxcMRdKH5ZWOm7omkqW4fBk8kTag4nlL3cQmkBW4PeAhChW77cRSk0W7WnE8kVgsuusCkycZaBpComW6lcNmofkG','m1ZcN3tcSG','W6xdKJFdH8oI','W6nOW5W','WRyuW7RdUZW','b34bW48D','W7z6WPxdJSkDWQCox01bACoAW7JcJez9amoyWPjixCoYu8olWOr1nfBdImkMWRFcO8k3q8knWPldV8oQWQGyx8o2W7W','W7RdGb7cRSk/','WQPCkSk6b8oDW43dQWpcHG','WRzrdCoqWP8','emoHW51aW6y','qbdcKZVdPa','W5e/q8oqWQHVWOLBWO3cRCk/i8kiw8kvW618qxrSiSkTW6Hwg8kRW57cVxmJj8o8W4/cOSo9WQxcHSo9t14twrxcSSoEWQNdL8oTW6bPW5bvl2DfWQmSzJRdNfXsW6TTmSofW58','FZX9WRJdPG','agG5W4mH','WPVdIsH8W6S','qLyFWPe2ha','WODwW63cGJ7cP8kRnSohWQm','utbzWPZdT8oZWQ8','5BAP5y+N5lIO6lY25RAh5yU877+P5OU26ig95Bs26Aos5y2B6l+G','W4OgzCk0W6y','W5uKua','W6xcRSk1WQNdHq','WODrWO53W5i','g3BdMmkfW4hcOCkkmW','eSosW4S','hbJcIvuR','FZxcKCoeWQxdQSon5B2w5Asn44c65lM15lQB6lEC5y6I','W6S8WPiUa37dVConwmkLW7f8zcldJ8kolSkSW4fNzdJcNclcVmooDMn3peVdKIZdRbbGg1zkWRhcL2SPorjeW4Gpmv5yW6pcIINdSXBcMCoDW7pdH1pdL3NdJsddIaFcQCk3eHXHosBdM3ZcPZNcTgXiDfxcNCoSaSolWQidW43cLH3cQ8olm8osWOlcVfGqAmkmW5VdOI9oW4v7W6pcKh/cK8onW4ddNZ/cK1y6WPy0nYhcTmkdEmkbWPz3W5tcGmkAAvhcVmonWRy','WQBdUJVcICkLc8kAB296ACkBiCkLW4b/WRxdPw7dImovW4BcT8k2W4SiWP7cLmoOWPtcOmo5EwpdNKJdV1ZcGmoDW5VcVSkPDabghfj3yHTTdMq1W7ddM8kpW7u6W4pdK8o0WQ49bZH9WOigmSofW5BdMmowgmkiW4xcT2hdHwCrW6u','W7OKwmolWRiWW6WW','WQBdUJVcICkLc8kAB296ACkBiCkLW4b/WRxdPw7dImovW4BcT8k2W4SiWP7cLmoOWPtcOmo5EwpdNKJdQLVcHmoyW73cGmkRyX1zd0nMAGzYe3CMW7VcHmooW40rW47cL8kLWRfOqcL9WReQoCoeWO7cImoicmoEW4JcTZ3cLZva','WQTNW7pcHr0','eNKtW6SUlCon','W6SpzCk4','fM3dGSkEW7VcR8okpmk1','WRvNWQvgW74','WQryWPldUxBcVCo/WQ4htG','W53cJmkkWQFdUq','W6i1WRaUkq','W70hq8oJWPO','W7JcP8knW4JcUa','E15/mCopWPZcLSkRn1RcVmkDoN0+u8kb','sSoLbcJdV8ofW4lcTI88zSoKDCkVW6zRBbCOW67dVCoaW5dcGu3cJSo4jaRcQZZcM8ozla5BFCk0W49AerJdGmoyWOX+n3KffLFdSxddV8kIi8odimofE0NdVmoNW6LbsxCZqH4MWRWJEflcSY7dUw7dQfzRWQNcU3mYW7HvzY3dMadcVsxdOXddVmoEWOvojSkFngDEWRWXWQPAW5jYa8oVtCozf8kCqmkNcmobWPWnsmoCWONcS8oFEtRcMHdcTvddIConoq','nGNcUmk+W6ecWOXLru8','W5T9w8kwkSkUaffKWOW+W45I','WPaoW7FdHIq','xCo5W6yxWPK','5A+g77+05yYM6igW6i2S5BYS77Yi','pgRdT8k2W6K','WPfyW63cUc4','ESosW6qLWQG','nSotW6LeW6u','gxddNmkRW73cSG','nqFdMH1QWO7dMCoiWOldI3BcHCog','WOFdUZrq','hwSx','kCkDWR0','fhhdGG','WQTbE8k4W4uRrhpcUCo7W5ZcVW','BSoTACkyW6u','6Aon5y+Mv8kJ77Yl','pSo4W6e','uwJcQMm3','W6NdUHBcG8kVcW','CSoRW7KSWOK','i0hcL33cMSoInq','pWdcTMaW','gG3dQ8k2W4vZtGhdHq','WQnsWOJdSwZcUmoY','W7XOWOxdOeW','WRWnW5tdLtG','AmkrjKJcUG','WPbOW6BcHSoZkCkiWQi','ubDmWRVdIW','svtcNwC9','W6xdKI8','W4xdRH7dQ8oU'].concat((function(){return['FSkgoWtdNq','f0lcTG','F8kWp1DJ','b+IUO+MeV+AxOEEBNow9MEIoNUwnRCoWW4FcOc9nW64','WQPPjW','WOBdUsjk','kvf9WOXuWOqZ','W7FdJxFdJmoYlZFdGCkh','oSodW7BcVmke','khvuWPJdHJhcOCkfc8kN','g0/dL8k+eq','WQv7i8o4WR3cTJu','W6ZdPJ8','s8oHuCk4W40','W4S2W4a','k2fIWPldUG','ASoKs8koW4u','WQTsWOxdU07cTCoMWRi','WQ5EWOpdOc3cTCoNWR44tW','khvuWPJdHJhcQ8kbfCkH','W47dIddcJSkj','WPW1W5VdTtm','6k2Y5yQr6zQh5OEs5z6ddwvKWOFdOEI8QEwgO+AHQ+s/LEAxOoweJowVLmk85BIJ6k6U6ycJ6l+J6iEM5P+k5y6E6i+D5y6eDCopW78IWRft','W75TW5avvG','nq3dOW','W44NWPW3hcJcS8ond8oUWQaYyIBcSCkmjCoSW4CZkvtcRHldVCojcxHXnudcUW3dM1uPawGBW6xcKM0S','W73cUmkrWOBdMq','zfpcI0eDW5FcIq','z8k3oqa','wt/LPOROT4VcRSoG5y245zQ2W7Wk','W6qzW5uNeG','oKzsWPJdIJ3cKCkzmCkG','yvFcNa','W4BcV3ymW6VdJshdVHNdPG','FGtcGdJdNwLNW5RdVSon','n8kJu8o6BCo4e1LC','WPRdRZnBW7C','CtZdUmkgWOOPwwW','W6HFWQxdGKS','oahdSmk0W5P/CdZcVG0','hW7dJSkCW68','W73cKSkvWRtdPG','WQX0WOHaW4q','W4qCW5axca','gxddNa','W6VcNCkCW6FcSa','WO0Ph8ocE8oRva','W4NdSZhdJSov','5A+g77YP5y+j6icm6iYl5B+d77+/','W5udWPOUfxFdMmkhhSoO','WQLuWOe','W7meFa','W4qYWOuwiG','W5RcKSk7WP3dTW','WQ1DWPFcQmosrCk+WORcUq','mMbNhCkb','WROVWOhdR3OEb3O','W61eW5iHDW','t0m3WPmv','WOm/jCojFSo6','gCkLWRtcOvO','W5O0W50oeG','W4/cV8k3W6ZcLq','W4O2WOyGg3O','5A+x77Y+5yY06ioV6i2k5BYC772b','W6nUWQlcJKtdMqz9WQtdPfNcJmki','a8oWWOBcMSk+','WOraW4VcHc8','WPBcKKbTW54','lw/dG8kKpa','WRjAWO/dPa','WPVdOsa','W7dcVmkbWQBdL2OX','n8kxWQ4','WRncW53cP8oo','W4S0W5Wjpq','WRK0jG','5BE15y2i5lMW6l6g5RAO5yIb776V5OQp6icF5BEG6Aoq5yYs6l6A','FsHPWQddNW','WQ1AW57cJmoh','W7pcVSkwWQtdPg0HW5VcNSkR','cc/dHCktW78','gx3dKCkDc8kvmSk8jSoc','nSk8WQZdH8kT','W5RdOH3cRSkt','WRnFW7FcRCosdG','sSoXz8krW6q','fZJdTSkNW6m','vmo5mCovDG','nendlSk4zG','WQDbWQ3dV0S','kfRdOCkoha','WR1YBCoWWPy','it7cQa','WQBcKg1zWPNdUmkUWQRdUr7cJIafW6JdG8kytq','fw3dGG','baP1WQyj','hgZdT8kbW6JcQCkj','pCoGW7xcKCkc','zmo/f8oPy8o6cG','B8oXeCopAG','5P2A6i+p5y+f5yU75PsU5OYeW7ZORjRPHAFML5pOVllOOzC','dbhdOCkVW6j3Asa','CSoblZtdHG','WOXBlmoHWR4','vSkRhG','pc3dQSkPW4S','W6FdItRdTmoD','WOXEW6NcP8ob','zSk9WRldGmorDmkQWRNdKCorEq','zSoqWPldK8o9W6y4W5pdPhRcSg0H'];}()));}()));}());Iii11l=function(){return ll11lI;};return Iii11l();};function IIii1i(Ii1I1i){const ll11ii=IIIlI,llIIlI={'ysNoj':function(Ii1I1l,IIlIl){return Ii1I1l(IIlIl);},'VVqmn':function(ili11l,Iiilll){return ili11l||Iiilll;},'EJAix':ll11ii(0x1db,')@iE'),'FHBDY':function(Iiilli,IIlIi){return Iiilli!==IIlIi;},'HgTqv':'JYLVm','IOhhC':ll11ii(0x1c9,'q3Du'),'wZmSc':ll11ii(0x133,'gk(F'),'BDpDR':'Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x2013_2_3\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Version/13.0.3\x20Mobile/15E148\x20Safari/604.1\x20Edg/87.0.4280.88'};return new Promise(ili11i=>{const ll11il=ll11ii,iiIi1l={'bamQM':function(li11I,lliiII){const liIlii=iii1II;return llIIlI[liIlii(0x235,'ZRwX')](li11I,lliiII);},'oOwyt':function(iiIi1i,liI1ll){const llii1l=iii1II;return llIIlI[llii1l(0x1f7,'9sQE')](iiIi1i,liI1ll);},'bzKoK':llIIlI['EJAix'],'ilPOb':function(ll1II,IllIii){const liIlil=iii1II;return llIIlI[liIlil(0x24b,'6HUR')](ll1II,IllIii);},'eOntg':llIIlI['HgTqv'],'pGIJJ':function(liI1li,IllIil){return liI1li===IllIil;},'ucQnQ':function(ill1Ii,llIIl1){const llii1i=iii1II;return llIIlI[llii1i(0x214,'dc@4')](ill1Ii,llIIl1);}};if(llIIlI[ll11il(0x1a5,'0FdZ')]===llIIlI['wZmSc'])iiIi1l[ll11il(0x1aa,'U@c#')](lIIiiI,iiIi1l[ll11il(0x19f,'Ve0p')](II1lil,{}));else{const i1lll1={'url':''+Ii1I1i,'timeout':0x2710,'headers':{'User-Agent':llIIlI[ll11il(0x24c,'OL(k')]}};$[ll11il(0x196,'v#5i')](i1lll1,async(Ii1I1I,l1i1Ii,l1iI1)=>{const iI1lIl=ll11il,lliiI1={'ViTyt':iI1lIl(0x17b,'DeR!')};if(iiIi1l[iI1lIl(0x237,'WaiL')](iiIi1l[iI1lIl(0x1f2,'0m6!')],iiIi1l[iI1lIl(0x1e0,'M4w1')]))lI1Iil=lilIiI(''+i1l1I,lliiI1[iI1lIl(0x1ce,'y]Sz')]);else try{if(Ii1I1I){}else iiIi1l['pGIJJ']('repOq',iI1lIl(0x185,'hiHU'))?ll1lI?lIIill=I11iIi['parse'](I1ilII):I11iIl[iI1lIl(0x1f9,')&KG')](iiIi1l['bzKoK']):l1iI1?l1iI1=JSON['parse'](l1iI1):console[iI1lIl(0x162,'ZRwX')](iiIi1l[iI1lIl(0x1d0,'$c8h')]);}catch(IIIiI){$['logErr'](IIIiI,l1i1Ii),l1iI1=null;}finally{iiIi1l[iI1lIl(0x222,'O[x(')](ili11i,l1iI1);}});}});}function i1ili(iii1i1,IllIll){const iiIiII=IIIlI,i1lllI={'ppICJ':function(llIIi1,iI1IlI){return llIIi1+iI1IlI;},'cfpUH':function(l1i1Il,ill1I1){return l1i1Il*ill1I1;},'azOGQ':function(l1i1II,ili111){return l1i1II-ili111;}};return i1lllI[iiIiII(0x136,'3BsJ')](Math['floor'](i1lllI[iiIiII(0x206,'Z^XJ')](Math['random'](),i1lllI[iiIiII(0x1b0,')&KG')](IllIll,iii1i1))),iii1i1);}function Iiill1(Ii1I11){const Iili=IIIlI,IllIli={'XSEiZ':function(ii1Ii,ii1Il){return ii1Ii==ii1Il;},'qUQlb':Iili(0x242,'DeR!')};try{if(IllIli['XSEiZ'](typeof JSON[Iili(0x23b,'hZIj')](Ii1I11),IllIli['qUQlb']))return!![];}catch(l1iII){return console[Iili(0x1df,'[5be')](l1iII),console['log'](Iili(0x23a,'q3Du')),![];}}function I1iII1(iI1Ill){const iIi11=IIIlI,lilI1={'nNfWh':'\x0a请先通过环境变量,设置活动变量:export\x20jd_fans_fansactiveall_id=\x27活动链接\x27\x20定义活动链接\x0a','izrVE':function(IIIi1,i1llli){return IIIi1==i1llli;},'IEpFo':iIi11(0x1e5,']mM*'),'EtFZx':function(i1llll,iI1Ili){return i1llll!==iI1Ili;},'oesKK':iIi11(0x180,'ZRwX'),'tEyiW':'请勿随意在BoxJs输入框修改内容\x0a建议通过脚本去获取cookie'};if(lilI1[iIi11(0x111,'Ebd7')](typeof iI1Ill,lilI1[iIi11(0x220,'Ve0p')])){if(lilI1[iIi11(0x178,'[5be')](lilI1['oesKK'],lilI1[iIi11(0x190,'Ve0p')])){iliIIi[iIi11(0x1bf,'q3Du')](lilI1[iIi11(0x121,'g@bO')]);return;}else try{return JSON[iIi11(0x116,')@iE')](iI1Ill);}catch(iI1111){return console[iIi11(0x1ea,'^DHL')](iI1111),$[iIi11(0x204,'O[x(')]($[iIi11(0x113,'lnYE')],'',lilI1[iIi11(0x232,'v#5i')]),[];}}}function lilII1(IIIl1,ii1ii){const Iil1=IIIlI,Iii1={'CmTSM':function(l1iIlI,iI111I){return l1iIlI+iI111I;},'UuOOD':'(^|[&?])','QKWJX':function(IIIlI1,i1lIiI){return IIIlI1!=i1lIiI;},'YeTQs':function(IiiIl,ii1l1l){return IiiIl(ii1l1l);}};let I1I1lI=new RegExp(Iii1[Iil1(0x164,'lnYE')](Iii1[Iil1(0x1fc,'OPDE')](Iii1[Iil1(0x1b2,'H1kc')],ii1ii),Iil1(0x1e4,'q3Du'))),ii1il=IIIl1[Iil1(0x23d,'lqAQ')](I1I1lI);if(Iii1[Iil1(0x215,'$k$!')](ii1il,null))return Iii1['YeTQs'](decodeURIComponent,ii1il[0x2]);return'';}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) } |