/* 活动名称:店铺签到 · 超级无线/超级会员 活动链接:https://lzkj-isv.isvjd.com/sign/signActivity2?activityId=<活动id> https://lzkj-isv.isvjd.com/sign/sevenDay/signActivity?activityId=<活动id> https://cjhy-isv.isvjcloud.com/sign/signActivity?activityId=<活动id> https://cjhy-isv.isvjcloud.com/sign/sevenDay/signActivity?activityId=<活动id> 环境变量:jd_wxSign_sign_lzkj_Ids // 超级无线签到有礼活动id(旧变量 LZKJ_SIGN) jd_wxSign_sevenDay_lzkj_Ids // 超级无线7日签到活动id(旧变量 LZKJ_SEVENDAY) jd_wxSign_sign_cjhy_Ids // 超级会员签到有礼活动id(旧变量 CJHY_SIGN) jd_wxSign_sevenDay_cjhy_Ids // 超级会员7日签到活动id(旧变量 CJHY_SEVENDAY) jd_wxSign_lzkjInterval // 自定义超级无线活动签到间隔(整数),默认1秒 jd_wxSign_cjhyInterval // 自定义超级会员活动签到间隔(整数),默认1秒 jd_wxSign_lzkjFilter // 账号pin过滤(跳过不跑),多个用户名用@分割 jd_wxSign_cjhyFilter // 账号pin过滤(跳过不跑),多个用户名用@分割 jd_wxSign_Notify // 是否推送通知(true/false),默认不推送 不同环境变量对应不同链接类型注意区分,环境变量所对应活动类型的排列顺序与链接的排列顺序一致,如果有多个活动ID用英文逗号分割即可实现多活动签到 cron: 7 7 7 7 * jd_wxSign.js */ const $ = new Env('店铺签到(超级无线/超级会员)') var version_='jsjiami.com.v7';const IlilIli=iIl1II1l;(function(lIli1iII,II1li1iI,li1i1iiI,iIil1i1i,l1Iii1l1,Il11IiIi,iIIliIll){return lIli1iII=lIli1iII>>0x1,Il11IiIi='hs',iIIliIll='hs',function(i1illill,iI11lli1,illII1li,l1ilill,I1iIiII1){const IIIi1i1I=iIl1II1l;l1ilill='tfi',Il11IiIi=l1ilill+Il11IiIi,I1iIiII1='up',iIIliIll+=I1iIiII1,Il11IiIi=illII1li(Il11IiIi),iIIliIll=illII1li(iIIliIll),illII1li=0x0;const li1li1II=i1illill();while(!![]&&--iIil1i1i+iI11lli1){try{l1ilill=-parseInt(IIIi1i1I(0x4f7,'yKQ4'))/0x1*(-parseInt(IIIi1i1I(0x1bd,'@Hcn'))/0x2)+parseInt(IIIi1i1I(0xed,'xO2Y'))/0x3*(parseInt(IIIi1i1I(0xd5,'87c$'))/0x4)+-parseInt(IIIi1i1I(0x283,'87c$'))/0x5*(-parseInt(IIIi1i1I(0x2a1,'&EJz'))/0x6)+-parseInt(IIIi1i1I(0x3d4,'Rnkl'))/0x7*(parseInt(IIIi1i1I(0x10a,'ano9'))/0x8)+-parseInt(IIIi1i1I(0x20d,'1QRy'))/0x9+-parseInt(IIIi1i1I(0x341,'W%C('))/0xa+parseInt(IIIi1i1I(0x478,'4rZh'))/0xb*(parseInt(IIIi1i1I(0x4dc,'B1OW'))/0xc);}catch(il11iiIi){l1ilill=illII1li;}finally{I1iIiII1=li1li1II[Il11IiIi]();if(lIli1iII<=iIil1i1i)illII1li?l1Iii1l1?l1ilill=I1iIiII1:l1Iii1l1=I1iIiII1:illII1li=I1iIiII1;else{if(illII1li==l1Iii1l1['replace'](/[wkAEuPBeYngyNHtGSXxr=]/g,'')){if(l1ilill===iI11lli1){li1li1II['un'+Il11IiIi](I1iIiII1);break;}li1li1II[iIIliIll](I1iIiII1);}}}}}(li1i1iiI,II1li1iI,function(Il11I1lI,I1lI111l,il11lIi1,IIlII1iI,liilllIi,iiIlIIl1,i1i1Iill){return I1lI111l='\x73\x70\x6c\x69\x74',Il11I1lI=arguments[0x0],Il11I1lI=Il11I1lI[I1lI111l](''),il11lIi1=`\x72\x65\x76\x65\x72\x73\x65`,Il11I1lI=Il11I1lI[il11lIi1]('\x76'),IIlII1iI=`\x6a\x6f\x69\x6e`,(0x140242,Il11I1lI[IIlII1iI](''));});}(0x178,0x9f5cc,Il1iIlll,0xbe),Il1iIlll)&&(version_=Il1iIlll);const liiIIII=$[IlilIli(0x148,'tyWo')]()?require(IlilIli(0x379,'Rnkl')):'',i1ili1=require(IlilIli(0x2b5,'lU3I')),iiI1Il=require(IlilIli(0x240,'Xg1(')),ll11I1ll=require(IlilIli(0xc4,'Oe)e')),{wuxian_savePrize:liil11ll}=require(IlilIli(0x2f6,'f0(s')),I1lii1ll=require(IlilIli(0x46c,'1RbH'));let IIlIi1ll=[];const IIi1l1l1=process['env'][IlilIli(0x4a1,'Xhc$')]||'',lIlIi1=process['env'][IlilIli(0x3f6,'C[zN')]||'',i11iI1li=process['env'][IlilIli(0x242,'C)1L')]===IlilIli(0x2ff,'B1OW');let Ii11Iii1=(process['env'][IlilIli(0x3c4,'IkxA')]||process[IlilIli(0x1cb,'xO2Y')][IlilIli(0x4be,'HnLY')]||'')[IlilIli(0x1d5,'2Tg$')](','),lI11li1I=(process['env']['jd_wxSign_sign_lzkj_Ids']||process[IlilIli(0x302,'87c$')][IlilIli(0x382,'2Tg$')]||'')[IlilIli(0x1d0,'yKQ4')](','),llI1ll=(process['env'][IlilIli(0x24d,'87c$')]||process[IlilIli(0x3b8,'EGoW')][IlilIli(0x14e,'954)')]||'')[IlilIli(0x11a,'W%C(')](','),iiiilIlI=(process[IlilIli(0xeb,'4rZh')]['jd_wxSign_sign_cjhy_Ids']||process[IlilIli(0x302,'87c$')]['CJHY_SIGN']||'')[IlilIli(0x2a9,'IkxA')](','),l1i1111i=(process[IlilIli(0x14c,'C)1L')]['jd_wxSign_lzkjFilter']||'')['split']('@'),iililIll=(process[IlilIli(0x2d8,'Xhc$')][IlilIli(0x45a,'gUH6')]||'')[IlilIli(0x229,'4rZh')]('@'),II1IIiI='',iIilIili={};if($['isNode']()){if(JSON['stringify'](process['env'])[IlilIli(0xf2,'Xg1(')](IlilIli(0x329,'BS*C'))>-0x1)process[IlilIli(0x3ff,'9D4f')](0x0);Object[IlilIli(0x4d5,'HnLY')](liiIIII)[IlilIli(0x33f,'B1OW')](iIl111ll=>{const liliiiiI=IlilIli;IIlIi1ll[liliiiiI(0x320,'Xhc$')](liiIIII[iIl111ll]);});if(process[IlilIli(0x30b,'Rnkl')]['JD_DEBUG']&&process[IlilIli(0x207,'!Aig')][IlilIli(0x377,'mDQ&')]===IlilIli(0x403,'lU3I'))console[IlilIli(0x3ac,'EGoW')]=()=>{};}else IIlIi1ll=[$[IlilIli(0x2f9,'HnLY')](IlilIli(0x401,'1Q2B')),$['getdata'](IlilIli(0x461,'dr]&')),...$['toObj']($[IlilIli(0x501,'C)1L')](IlilIli(0x21b,'EGoW'))||'[]')['map'](Il1iI1l1=>Il1iI1l1[IlilIli(0xc5,'PI^r')])][IlilIli(0x445,'lRax')](i1III1lI=>!!i1III1lI);!IIlIi1ll[0x0]&&($['msg']($[IlilIli(0x3f8,'gUH6')],IlilIli(0x33d,'Q##!')),process['exit'](0x1));!(async()=>{const iI1ilIii=IlilIli,I1iliI1l={'LKICt':function(II11liil,iI11l1I1){return II11liil===iI11l1I1;},'clIRW':'自定义抽奖间隔格式错误,已使用默认值','kFYbA':function(I1il1lII,li1lilIi){return I1il1lII===li1lilIi;},'HQTrG':'headers','pMrXV':'set-cookie','nWEil':function(iiIi1iI,iIIllll1){return iiIi1iI+iIIllll1;},'JmPbX':function(Ili1iIiI,II1l1lI1){return Ili1iIiI+II1l1lI1;},'qUkEI':function(iII1iIi,II11iIII){return iII1iIi&II11iIII;},'aSSqR':function(iiIlI1l1,I1l1I1II){return iiIlI1l1>>I1l1I1II;},'eAOSI':function(lI1iIl11,ilIIll1I){return lI1iIl11-ilIIll1I;},'eOZZP':function(IiilIIi1,IiiiIiii){return IiilIIi1<liIIi1I1;},'iIXqN':function(llIiIll,iII1iiil){return llIiIll!==iII1iiil;},'wADvo':function(I1l1iIl,l1I11il1){return I1l1iIl+l1I11il1;},'hbsac':function(iI11ii1i,IiI11l1i){return iI11ii1i(IiI11l1i);},'xnSTV':'pt_pin','klVDB':iI1ilIii(0x26f,'Xhc$'),'cyRDH':function(IllIIiIi,IIiiiii,i1I11lIl){return IllIIiIi(IIiiiii,i1I11lIl);},'vyAsj':iI1ilIii(0x11b,'&EJz'),'EpsLl':iI1ilIii(0x3b2,'954)'),'RzSAc':iI1ilIii(0x288,'S^1('),'XdfpL':'lzkj-isv.isvjd.com','qlgHx':iI1ilIii(0x197,'B1OW'),'zOrmM':iI1ilIii(0x414,'Oe)e'),'YaqIv':function(I1i1lI1I,li1l1ii1){return I1i1lI1I*li1l1ii1;},'BErbN':function(Il11ll1i,IiI11I1i){return Il11ll1i===IiI11I1i;},'Roxfu':iI1ilIii(0x4fe,'gUH6'),'LuGZp':function(li11l11i,lI11111l){return li11l11i===lI11111l;},'uZgCU':iI1ilIii(0x3db,'*[HX'),'uApQo':'❖\x20签到类型(lzkj\x20signActivity2)','jCpYo':function(illill1){return illill1();},'THcMn':function(Ilii1Iii,lIIIi1ll){return Ilii1Iii>=lIIIi1ll;},'YjLgg':'JZTQx','ebzOZ':iI1ilIii(0x23f,'EGoW'),'XPnAZ':iI1ilIii(0x2b6,'IkxA'),'HExxv':iI1ilIii(0x41b,'*3Dw'),'AOgaY':'cjhy-isv.isvjcloud.com','WRWQT':function(IliIIIli,lllll1ii){return IliIIIli!==lllll1ii;},'lVXdY':'UNtCR','TbECh':function(l1II1lIi,Il11Iil){return l1II1lIi*Il11Iil;},'LpFZp':iI1ilIii(0x138,'S%@2'),'CPeXz':function(IiIi11Ii,lIlIlIII){return IiIi11Ii!==lIlIlIII;},'uuBMn':'HKRRr','CqcBH':iI1ilIii(0x2e0,'ano9'),'bZDHe':function(l11IIll,ilil1li){return l11IIll>=ilil1li;},'mQqrj':iI1ilIii(0x25d,'954)'),'WiRkj':iI1ilIii(0x269,'tyWo'),'sRMOh':iI1ilIii(0x446,'4rZh'),'MCSSv':iI1ilIii(0x2c4,'*[HX')};if(I1iliI1l['CkqxZ'](Ii11Iii1['length'],0x0))Ii11Iii1=[...new Set(Ii11Iii1[iI1ilIii(0x49f,'1RbH')](iilli1l1=>iilli1l1!==''))];if(I1iliI1l[iI1ilIii(0x24b,'xO2Y')](lI11li1I[iI1ilIii(0x504,'lU3I')],0x0))lI11li1I=[...new Set(lI11li1I['filter'](I1IliiIi=>I1IliiIi!==''))];if(I1iliI1l[iI1ilIii(0x30d,'9D4f')](llI1ll[iI1ilIii(0x38a,'Oe)e')],0x0))llI1ll=[...new Set(llI1ll[iI1ilIii(0x2f1,'C[zN')](ii1l1lll=>ii1l1lll!==''))];if(iiiilIlI[iI1ilIii(0x504,'lU3I')]>0x0)iiiilIlI=[...new Set(iiiilIlI[iI1ilIii(0x373,'tyWo')](I1IiliIi=>I1IiliIi!==''))];iiI1Il[iI1ilIii(0x29b,'C[zN')]({'title':$[iI1ilIii(0x101,'CHUe')]});for(let liilli1I=0x0;liilli1I=0x1&&(I1iliI1l['LuGZp'](I1iliI1l[iI1ilIii(0x33b,'*[HX')],I1iliI1l[iI1ilIii(0x149,')5E2')])?(console[iI1ilIii(0x3e1,'BS*C')](I1iliI1l[iI1ilIii(0x4aa,'&EJz')]),await I1iliI1l['jCpYo'](IIliii11),await $['wait'](0x7d0),console['log']('')):(il1l1I11[iI1ilIii(0x3ea,'B1OW')](iI1ilIii(0x2c7,'BS*C')+il1l1l1i[iI1ilIii(0x201,'yKQ4')]),IIlI1i1I['message'][iI1ilIii(0x1b2,'W3m#')](''+l11l11iI[iI1ilIii(0x1da,'*3Dw')]))),I1iliI1l[iI1ilIii(0x318,'lRax')](Ii11Iii1[iI1ilIii(0x388,'9D4f')],0x1)&&(console[iI1ilIii(0xdc,'2Tg$')]('❖\x20签到类型(lzkj\x20sevenDay)'),await i1IIilIl(),await $[iI1ilIii(0x1f8,'W3m#')](0x7d0),console[iI1ilIii(0x267,'yKQ4')](''));}else{if([0x193,0x1ed][iI1ilIii(0x424,'9D4f')](Ili11iI))liIi11II[iI1ilIii(0x2e3,'lRax')](I1l1iil+iI1ilIii(0x311,'dr]&')+l1i1ilII+')');else[0x190,0x194][iI1ilIii(0x1a1,'yKQ4')](l1ilIli)?lilli1li['log'](lIiI1I1i+iI1ilIii(0x482,'ZS25')+llliI111+')'):ilIl11il['log'](iliIili1+'\x20请求失败(Response\x20code\x20'+IiIiiI11+')');}}else I1iliI1l[iI1ilIii(0xf1,'@Hcn')]!==I1iliI1l[iI1ilIii(0x1ba,'C[zN')]?console[iI1ilIii(0x3ea,'B1OW')](I1iliI1l[iI1ilIii(0x27f,'CHUe')]):I1iliI1l[iI1ilIii(0x2ce,'HnLY')](II1iliiI[iI1ilIii(0x3a2,'9D4f')],0x1)&&ilIlllli[iI1ilIii(0x483,'YqJD')](I1iliI1l[iI1ilIii(0x477,'954)')]);if(!iililIll[iI1ilIii(0xd8,'*[HX')]($[iI1ilIii(0x299,'C[zN')])){$[iI1ilIii(0x13d,'IkxA')]=null,$['baseUrl']=I1iliI1l['HExxv'],$[iI1ilIii(0x1b4,'1RbH')]=I1iliI1l[iI1ilIii(0x48f,'HnLY')],$['activityMode']=iI1ilIii(0x47c,'PI^r'),$['origin']=$[iI1ilIii(0x111,'xO2Y')],$[iI1ilIii(0x2ab,'*[HX')]=0x3e8;if(lIlIi1)try{if(I1iliI1l[iI1ilIii(0x27c,'xO2Y')]('UNtCR',I1iliI1l[iI1ilIii(0x3c3,'B1OW')]))iil1l11I[iI1ilIii(0x1bc,'lRax')]=l1I111Ii[iI1ilIii(0x23a,'tyWo')],llIllll['log'](lI1llI1l[iI1ilIii(0xc8,'C[zN')]),!['火爆','擦肩','缓存',iI1ilIii(0x46b,'Xg1(')][iI1ilIii(0x18b,'iJuY')](lili1iil=>l1IiIIiI[iI1ilIii(0x133,')5E2')]['includes'](lili1iil))&&(li11I1ii[iI1ilIii(0x20a,'S%@2')]=!![]);else{const lIiiIl1=I1iliI1l['TbECh'](parseInt(lIlIi1),0x3e8);$[iI1ilIii(0x3a1,'IkxA')]=lIiiIl1;}}catch{if(iI1ilIii(0x4db,'IkxA')!=='rYtJK'){if(I1iliI1l[iI1ilIii(0x452,'f0(s')]($[iI1ilIii(0x1bb,'S^1(')],0x1)){if(I1iliI1l[iI1ilIii(0x4a7,'ZS25')](iI1ilIii(0x485,'dr]&'),I1iliI1l[iI1ilIii(0x268,'!Aig')])){III1ii1='';for(let Il1IIll1 of i111liIi[I1iliI1l['HQTrG']][I1iliI1l['pMrXV']]){IliIIIi1[Il1IIll1['split'](';')[0x0][iI1ilIii(0x371,'!Aig')](0x0,Il1IIll1[iI1ilIii(0x476,'BS*C')](';')[0x0][iI1ilIii(0x47e,'mDQ&')]('='))]=Il1IIll1[iI1ilIii(0x4dd,'1QRy')](';')[0x0][iI1ilIii(0x159,'Xhc$')](Il1IIll1[iI1ilIii(0x11a,'W%C(')](';')[0x0]['indexOf']('=')+0x1);}for(const l1il11i of IIil1iIl[iI1ilIii(0x4ce,'lRax')](ii11I1li)){i11i1I11+=I1iliI1l[iI1ilIii(0x4b9,'ll5i')](I1iliI1l[iI1ilIii(0x20e,'87c$')](l1il11i+'=',ii1lIlii[l1il11i]),';');}}else console['log']('自定义抽奖间隔格式错误,已使用默认值');}}else I1iliI1l['kFYbA'](iliii1ii[i1IilII],'1')&&(illlIIli=I1iliI1l[iI1ilIii(0xec,'1RbH')](I1iliI1l['aSSqR'](l1lilil,I1iliI1l[iI1ilIii(0x4ba,'1QRy')](0x6,liIl1iil))|I1iliI1l['eOZZP'](i1lII11I,iIiiiIl),0x3f));}I1iliI1l[iI1ilIii(0x41e,')5E2')](iiiilIlI[iI1ilIii(0x1b5,'IkxA')],0x1)&&(I1iliI1l[iI1ilIii(0x395,'iJuY')](I1iliI1l[iI1ilIii(0x3e2,'1QRy')],iI1ilIii(0x2f3,'B1OW'))?(console[iI1ilIii(0x31d,'Rnkl')](I1iliI1l['CqcBH']),await I1iliI1l[iI1ilIii(0x164,'S^1(')](iIIliIII),await $[iI1ilIii(0x297,'f0(s')](0x7d0),console[iI1ilIii(0x260,'iJuY')]('')):li1ll1i[iI1ilIii(0x3f4,'IkxA')](llil1ii));if(I1iliI1l[iI1ilIii(0x45b,'tyWo')](llI1ll[iI1ilIii(0x24c,'ll5i')],0x1)){if(I1iliI1l['mQqrj']==='UOqnv')console['log'](I1iliI1l['WiRkj']),await I1iliI1l[iI1ilIii(0x210,'W3m#')](iliII11i),await $[iI1ilIii(0x348,'954)')](0x7d0);else{const ll111IIi=I1iliI1l[iI1ilIii(0x38c,'CHUe')](III1llII,0x8);I1Il1ilI[iII1i1i]=ilIi1iI1(ilIl111i[iI1ilIii(0x1cf,'Oe)e')](ll111IIi,I1iliI1l['Gbtcm'](ll111IIi,0x8)),0x2);}}}else I1iliI1l[iI1ilIii(0x44d,'lRax')](I1iliI1l['sRMOh'],I1iliI1l[iI1ilIii(0x307,'*[HX')])?lilliIlI[iI1ilIii(0x3c1,'9D4f')](lI1IIi+iI1ilIii(0x39c,'Rnkl')+liIiI111+')'):console[iI1ilIii(0x270,')5E2')](I1iliI1l[iI1ilIii(0x3fe,'1Q2B')]);}}}i11iI1li&&iiI1Il[iI1ilIii(0x226,'x0eP')]()&&(iiI1Il['updateContent'](I1iliI1l[iI1ilIii(0x1c2,'Xhc$')](iiI1Il['content'],iI1ilIii(0x300,'W3m#')+$[iI1ilIii(0x2db,'iJuY')])),await iiI1Il[iI1ilIii(0x443,'IkxA')]());})()[IlilIli(0xf6,'HnLY')](lllIiili=>{const lIIiIiil=IlilIli;console[lIIiIiil(0x23b,'tyWo')]('','❌\x20'+$[lIIiIiil(0x40e,'jo0O')]+lIIiIiil(0x375,'dr]&')+lllIiili+'!','');})[IlilIli(0x2bd,'f0(s')](()=>{const llil1l1I=IlilIli;$[llil1l1I(0x153,'Xg1(')]();});async function i1IIilIl(){const lIlliiII=IlilIli,l1lil11I={'GuOxa':lIlliiII(0x42e,'HnLY'),'FElUT':lIlliiII(0x1e7,'954)'),'XZGoD':function(l1l1I1,il1ii11I){return l1l1I1+il1ii11I;},'jcjEp':function(I11111I,iIiill11){return I11111I+iIiill11;},'rztnO':function(i111lili,iIi1i1II){return i111lili=i1iillI1;},'VcSVQ':lIlliiII(0x3bf,'W3m#'),'kNZWU':'nRXqa','PaUzm':function(ll1IlllI,lI11IIil){return ll1IlllI<=lI11IIil;},'GDRom':function(l1iIlII,ii11iil1){return l1iIlII!==ii11iil1;},'SNGEc':'feasn','uMDsp':'sign/sevenDay/wx/signUp','TEEbF':function(il1iIlll,lllllii1){return il1iIlll(lllllii1);},'SOjDu':lIlliiII(0x463,'S%@2'),'IAddh':lIlliiII(0x298,'x0eP'),'KBqUZ':function(lII1llii,li1i1lII){return lII1llii-li1i1lII;},'kOXlI':function(liiil1Ii,iliI1li1){return liiil1Ii===iliI1li1;},'uzxFD':lIlliiII(0x4e9,'Oe)e')};let IiiiIiIi=0x0;iIiiIIIi:for(let ll1i1l1I=0x0;l1lil11I['rztnO'](ll1i1l1I,Ii11Iii1[lIlliiII(0x40c,'W%C(')]);ll1i1l1I++){IiiiIiIi+=0x1,$[lIlliiII(0x2c8,'@Hcn')]=![],$['signOk']=![],$[lIlliiII(0x3ec,'HnLY')]=Ii11Iii1[ll1i1l1I],$[lIlliiII(0x3e8,'1QRy')]=$[lIlliiII(0x2f5,'Oe)e')]+'/sign/sevenDay/signActivity?activityId='+$[lIlliiII(0x418,'Xg1(')],console['log']('');l1lil11I[lIlliiII(0x14a,'xO2Y')](ll1i1l1I,0x0)&&(l1lil11I[lIlliiII(0x364,'1Q2B')]('eAlYc','uoHtp')?(await l1lil11I['agqDr'](l1iI1l1i),await $[lIlliiII(0x416,'yKQ4')](0x1f4),!$[lIlliiII(0x1a4,'tyWo')]&&(l1lil11I[lIlliiII(0x1f1,'W%C(')]===l1lil11I['GKDbp']?I1ll1ll[lIlliiII(0x23b,'tyWo')](l1lil11I[lIlliiII(0x1dd,'S^1(')]):($['venderId']=null,await l1lil11I[lIlliiII(0x33a,'Oe)e')](l1I11,l1lil11I[lIlliiII(0x49b,'ll5i')],lIlliiII(0x4b1,'Oe)e')+$[lIlliiII(0x145,'IkxA')]),await $['wait'](0x1f4),await l1lil11I[lIlliiII(0x250,'2Tg$')](ill1liiI),await $['wait'](0x1f4)))):i1llllIl[lIlliiII(0x14b,'@Hcn')](lIlliiII(0x135,'f0(s')+lIIIl1l[lIlliiII(0x2b3,'x0eP')]+lIlliiII(0x15d,'iJuY')));l1lil11I[lIlliiII(0x17d,'@Hcn')](IiiiIiIi,0xa)&&(l1lil11I[lIlliiII(0x3d3,'Xhc$')]===l1lil11I[lIlliiII(0x2a7,'1QRy')]?(await l1lil11I[lIlliiII(0x178,'ano9')](l1iI1l1i),await $[lIlliiII(0xd9,'2Tg$')](0x1f4),IiiiIiIi=0x0):ilI1lIii['log'](ilIl1i1+lIlliiII(0x115,'PI^r')+IIIl1iii+')'));if($[lIlliiII(0x2c3,'!Aig')]){if(l1lil11I['kNZWU']!==l1lil11I['kNZWU'])lIil1lI1();else{console[lIlliiII(0x462,'W3m#')]('签到\x20->\x20'+$['activityId']),$[lIlliiII(0x2d5,'ano9')]=0x0,$[lIlliiII(0x4d8,'W%C(')]='';for(let I1IIIi1i=0x1;l1lil11I['PaUzm'](I1IIIi1i,0x14);I1IIIi1i++){if(l1lil11I[lIlliiII(0x2dd,'iJuY')](l1lil11I['SNGEc'],lIlliiII(0x3a4,'IkxA'))){await l1lil11I['HiYtJ'](iIIiillI),await $[lIlliiII(0x338,'dr]&')](0x3e8),await l1lil11I[lIlliiII(0x4df,'%p*Z')](l1I11,l1lil11I[lIlliiII(0x2ba,'W3m#')],lIlliiII(0x1d3,'dr]&')+$[lIlliiII(0x199,'ano9')]+lIlliiII(0x3f7,'tyWo')+l1lil11I[lIlliiII(0x19c,'f0(s')](encodeURIComponent,$[lIlliiII(0x457,'PI^r')]));if(l1lil11I[lIlliiII(0xba,'Q##!')]($[lIlliiII(0x3de,'iJuY')],0x5)){if(l1lil11I['SOjDu']===lIlliiII(0x37a,'lRax')){console[lIlliiII(0x3ea,'B1OW')](l1lil11I[lIlliiII(0x140,'tyWo')]);break iIiiIIIi;}else IiI1illI['log'](l1lil11I[lIlliiII(0x3f0,'dr]&')]);}l1lil11I[lIlliiII(0x158,'&EJz')](ll1i1l1I,l1lil11I['KBqUZ'](Ii11Iii1[lIlliiII(0x1c6,'iJuY')],0x1))&&await $[lIlliiII(0x132,'Rnkl')]($['signIntervalTimes']);if($[lIlliiII(0x306,'9D4f')])break;if($[lIlliiII(0x1d9,'tyWo')]||l1lil11I[lIlliiII(0x43a,'dr]&')](I1IIIi1i,0x14)){console[lIlliiII(0x270,')5E2')](lIlliiII(0x156,'B1OW')+($['signErrorMsg']||'未知'));break;}}else lilI1iI1+=l1lil11I['XZGoD'](l1lil11I[lIlliiII(0xea,'IkxA')](IIi11l1i,'=')+I11lll1[l1li1il1],';');}}}else{console[lIlliiII(0x402,'W%C(')](l1lil11I['uzxFD']),$[lIlliiII(0x26c,'PI^r')]['insert'](lIlliiII(0x49a,'tyWo'));break;}}}async function IIliii11(){const iil1il1=IlilIli,iII1lII1={'cXeme':function(lliIiI1l,li1i1l1I){return lliIiI1l===li1i1l1I;},'NsvqI':iil1il1(0x20b,'Xhc$'),'iugVY':function(iiiiIii,il1IlIii){return iiiiIii==il1IlIii;},'lvrfu':function(lliiI1l,l1IIiIiI){return lliiI1l===l1IIiIiI;},'lfPRE':iil1il1(0x2b8,'87c$'),'Kdjhr':function(I1iI1I1I){return I1iI1I1I();},'SXNpy':'2|4|3|0|1','JgXEJ':function(liiiIi1l){return liiiIi1l();},'RStQY':iil1il1(0x134,'954)'),'qtIdH':function(lIiliIlI,lIIllI1i){return lIiliIlI>=lIIllI1i;},'WxzlK':function(i1Il1ill,l1I1iIl1){return i1Il1ill<=l1I1iIl1;},'kBwrA':iil1il1(0x3b9,'mDQ&'),'fMiMA':function(liIiiIIi,liI1ii1i){return liIiiIIi(liI1ii1i);},'Dtieo':iil1il1(0x372,'xO2Y'),'qhKKK':iil1il1(0x2e9,'jo0O'),'GPHqo':function(iIIliII1,i1lIIIll){return iIIliII1!==i1lIIIll;},'tmPem':function(IlIli1i1,iiIill1l){return IlIli1i1===iiIill1l;},'euXZc':'xQcFS','QLFCf':iil1il1(0x2ed,'ano9'),'YvWRY':'未能获取用户鉴权信息'};let llII1i1l=0x0;IIiiIiiI:for(let liiiIiII=0x0;liiiIiII=0x5){if(iII1lII1[iil1il1(0xd7,'xO2Y')]!==iII1lII1[iil1il1(0x3f1,'@Hcn')]){console[iil1il1(0x4d1,'Xhc$')](iil1il1(0x2e5,'1QRy'));break IIiiIiiI;}else try{const iI1iili1=IiiiliIl(Ii1IIIll)*0x3e8;lI1l1il1['signIntervalTimes']=iI1iili1;}catch{iII1lII1['cXeme'](IiIIlIi[iil1il1(0x239,'CHUe')],0x1)&&IIIi1I1l['log'](iII1lII1[iil1il1(0xe7,'iJuY')]);}}iII1lII1['GPHqo'](liiiIiII,lI11li1I[iil1il1(0x388,'9D4f')]-0x1)&&await $[iil1il1(0x447,'BS*C')]($['signIntervalTimes']);if($[iil1il1(0x1e2,'Xg1(')])break;if($[iil1il1(0x217,'iJuY')]||iII1lII1[iil1il1(0x128,'1Q2B')](IIlIii11,0x14)){if(iII1lII1[iil1il1(0x241,'HnLY')](iII1lII1['euXZc'],iII1lII1[iil1il1(0x227,'tyWo')])){console['log']('结果\x20->\x20'+($[iil1il1(0x257,'Xg1(')]||'未知'));break;}else ll1l11i();}}}else{console[iil1il1(0x458,'&EJz')](iII1lII1[iil1il1(0x48e,'EGoW')]),$['message'][iil1il1(0x1f9,'jo0O')](iII1lII1[iil1il1(0x2a4,'C[zN')]);break;}}}async function iliII11i(){const iIl1iIlI=IlilIli,i1li1IiI={'ylzNs':function(IIIIiii1,Ill1liI){return IIIIiii1+Ill1liI;},'mEIcf':function(IiilIlll,IiI1Il1){return IiilIlll+IiI1Il1;},'RoDGK':function(i1i1IlIi,i11ii1l){return i1i1IlIi*i11ii1l;},'CWtLg':function(Ii1111li,ilI11ii,l1IIIilI){return Ii1111li(ilI11ii,l1IIIilI);},'MNIOC':function(lIiiiIll,llll1IIi){return lIiiiIll&llll1IIi;},'YmCdr':function(li111I1I,lI1lli1){return li111I1I-lI1lli1;},'qGgri':function(lI1iiil,lIi1I1II){return lI1iiil<=ii111iI;},'jDIpQ':function(i1II1il1){return i1II1il1();},'ijbdt':function(Ili1ilI1,lll1IIil){return Ili1ilI1<=lll1IIil;},'hnsjn':function(i1I1lI11){return i1I1lI11();},'QdUWU':function(i11li1ii,lIIlliIl,Illi1lI1){return i11li1ii(lIIlliIl,Illi1lI1);},'GOpWe':iIl1iIlI(0x4ea,'1QRy'),'NHzXq':function(II1ll1iI,I1l1liIi){return II1ll1iI===I1l1liIi;},'wKFXg':'cjhy','aGzBr':function(Ii1iiil,Ii1IIil1,ill11l1I,iiI1IiI1){return Ii1iiil(Ii1IIil1,ill11l1I,iiI1IiI1);},'mQIfW':function(l1ili1i,liII111){return l1ili1i(liII111);},'IGdOB':function(I1i1i1,iiiIIlli){return I1i1i1(iiiIIlli);},'eZyCk':function(iiliiIli,Ii1Iii11){return iiliiIli(Ii1Iii11);},'ewwLg':function(IlIl1iIl,I1lIllIi){return IlIl1iIl>=I1lIllIi;},'VNNnJ':function(iIlillli,ilIl1I){return iIlillli===ilIl1I;},'xYHmq':iIl1iIlI(0x251,'2Tg$'),'Boheb':iIl1iIlI(0xcd,'f0(s'),'POCJp':function(IIiiIlI,Illil1Il){return IIiiIlI!==Illil1Il;},'wuqyC':function(iI1i1iII,ilIl1IlI){return iI1i1iII-ilIl1IlI;},'mvjpw':function(iI1IlI11,Ii1li1l){return iI1IlI11===Ii1li1l;},'WtVhz':iIl1iIlI(0x1f5,'ZS25'),'ijANq':'没有成功获取到用户信息'};let iiiiII1l=0x0;iiIlll1l:for(let lIi1II1=0x0;lIi1II1\x20'+$[iIl1iIlI(0x2cd,'B1OW')]),$['signErrorTimes']=0x0;for(let lIIiiIl1=0x1;i1li1IiI[iIl1iIlI(0x275,'W%C(')](lIIiiIl1,0x14);lIIiiIl1++){await i1li1IiI[iIl1iIlI(0x484,'S^1(')](iIIiillI),await $['wait'](0x3e8),await i1li1IiI['QdUWU'](l1I11,i1li1IiI[iIl1iIlI(0x3e6,'1Q2B')],i1li1IiI[iIl1iIlI(0x1f7,'YqJD')]($[iIl1iIlI(0x189,'IkxA')],i1li1IiI['wKFXg'])?JSON[iIl1iIlI(0x143,'!Aig')]({'ecyText':i1li1IiI[iIl1iIlI(0x230,'jo0O')](i111lI1I,{'actId':$['activityId'],'pin':i1li1IiI['mQIfW'](encodeURIComponent,$[iIl1iIlI(0x37d,'BS*C')])},$[iIl1iIlI(0x1c1,'jo0O')],$['te'])}):iIl1iIlI(0x4f8,'W3m#')+$[iIl1iIlI(0x47a,'fsid')]+iIl1iIlI(0xbd,'HnLY')+i1li1IiI['IGdOB'](encodeURIComponent,i1li1IiI[iIl1iIlI(0x47b,'PI^r')](encodeURIComponent,$[iIl1iIlI(0x35a,'ll5i')])));if(i1li1IiI[iIl1iIlI(0x332,'1QRy')]($[iIl1iIlI(0x170,'x0eP')],0x5)){if(i1li1IiI['VNNnJ'](i1li1IiI[iIl1iIlI(0x43d,'jo0O')],i1li1IiI[iIl1iIlI(0x1a8,'S^1(')]))iilI1Il[iIl1iIlI(0x2cf,'4rZh')]=!![];else{console[iIl1iIlI(0x31c,'954)')](iIl1iIlI(0x1a2,'C[zN'));break iiIlll1l;}}i1li1IiI[iIl1iIlI(0x4ef,')5E2')](lIi1II1,i1li1IiI['wuqyC'](llI1ll[iIl1iIlI(0x2af,'4rZh')],0x1))&&await $['wait']($[iIl1iIlI(0xcb,'HnLY')]);if($['signOk'])break;if($[iIl1iIlI(0x505,'!Aig')]||i1li1IiI[iIl1iIlI(0x431,'IkxA')](lIIiiIl1,0x14)){if(i1li1IiI[iIl1iIlI(0x3b4,'Oe)e')](iIl1iIlI(0x362,'&EJz'),iIl1iIlI(0x281,'2Tg$'))){const li1III1l=i1li1IiI['RoDGK'](Il1l1i1,0x6),i1I1iiiI=I11iIlII[iIl1iIlI(0x271,'1QRy')](li1III1l,li1III1l+0x6);let iillIIi1=i1li1IiI[iIl1iIlI(0x4ff,'&EJz')](iIIIi1i1,i1I1iiiI,0x2);const I1iIll1l=ii1l1IIi['split']('');for(let Iillil1I=0x0;Iillil1I>i1li1IiI['YmCdr'](0x6,Iillil1I)|i1li1IiI['qGgri'](iillIIi1,Iillil1I),0x3f));}iiIlllil=(iillIIi1&0x3f)[iIl1iIlI(0x224,'xO2Y')](0x2)[iIl1iIlI(0x354,'954)')](0x6,'0');}else{console[iIl1iIlI(0x1c9,'ll5i')]('结果\x20->\x20'+($[iIl1iIlI(0x490,'C)1L')]||'未知'));break;}}}}else{if(i1li1IiI[iIl1iIlI(0x4e5,'&EJz')](i1li1IiI[iIl1iIlI(0x17a,'EGoW')],iIl1iIlI(0x4f4,'S^1('))){iI1lII1l='';for(let IiI1ilIi of lIII11i1[i1li1IiI['ldtTd']]['set-cookie']){iIiIiI1I[IiI1ilIi['split'](';')[0x0]['substr'](0x0,IiI1ilIi[iIl1iIlI(0x37c,'*3Dw')](';')[0x0][iIl1iIlI(0x26a,'C)1L')]('='))]=IiI1ilIi[iIl1iIlI(0x4fc,'1RbH')](';')[0x0]['substr'](i1li1IiI[iIl1iIlI(0x233,'yKQ4')](IiI1ilIi['split'](';')[0x0][iIl1iIlI(0x441,'1RbH')]('='),0x1));}for(const iiIll1Ii of IIii1i1[iIl1iIlI(0x30e,'BS*C')](iI1lli1)){lIlI1l1i+=iiIll1Ii+'='+lilIIl1I[iiIll1Ii]+';';}}else{console[iIl1iIlI(0x260,'iJuY')](i1li1IiI[iIl1iIlI(0x285,'PI^r')]),$[iIl1iIlI(0x21d,'S^1(')][iIl1iIlI(0x208,'ll5i')](iIl1iIlI(0x2c2,'2Tg$'));break;}}}}function iIl1II1l(_0x1211a0,_0x319231){const _0x5470c9=Il1iIlll();return iIl1II1l=function(_0xe8449f,_0x3f9964){_0xe8449f=_0xe8449f-0xb3;let _0x37694d=_0x5470c9[_0xe8449f];if(iIl1II1l['mCoYsf']===undefined){var _0x5cfa7a=function(_0x4dd28e){const _0x35c1a1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x29db31='',_0x42fd2e='';for(let _0x42b3aa=0x0,_0x7a67de,_0x36f63e,_0x179558=0x0;_0x36f63e=_0x4dd28e['charAt'](_0x179558++);~_0x36f63e&&(_0x7a67de=_0x42b3aa%0x4?_0x7a67de*0x40+_0x36f63e:_0x36f63e,_0x42b3aa++%0x4)?_0x29db31+=String['fromCharCode'](0xff&_0x7a67de>>(-0x2*_0x42b3aa&0x6)):0x0){_0x36f63e=_0x35c1a1['indexOf'](_0x36f63e);}for(let _0x5bc080=0x0,_0x58bc2d=_0x29db31['length'];_0x5bc080<_0x58bc2d;_0x5bc080++){_0x42fd2e+='%'+('00'+_0x29db31['charCodeAt'](_0x5bc080)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x42fd2e);};const _0x7b3d76=function(_0x3a070d,_0x9fadab){let _0x46e4a3=[],_0x473f61=0x0,_0x36f051,_0x52f9e2='';_0x3a070d=_0x5cfa7a(_0x3a070d);let _0x18475c;for(_0x18475c=0x0;_0x18475c<0x100;_0x18475c++){_0x46e4a3[_0x18475c]=_0x18475c;}for(_0x18475c=0x0;_0x18475c<0x100;_0x18475c++){_0x473f61=(_0x473f61+_0x46e4a3[_0x18475c]+_0x9fadab['charCodeAt'](_0x18475c%_0x9fadab['length']))%0x100,_0x36f051=_0x46e4a3[_0x18475c],_0x46e4a3[_0x18475c]=_0x46e4a3[_0x473f61],_0x46e4a3[_0x473f61]=_0x36f051;}_0x18475c=0x0,_0x473f61=0x0;for(let _0xfd3da2=0x0;_0xfd3da2<_0x3a070d['length'];_0xfd3da2++){_0x18475c=(_0x18475c+0x1)%0x100,_0x473f61=(_0x473f61+_0x46e4a3[_0x18475c])%0x100,_0x36f051=_0x46e4a3[_0x18475c],_0x46e4a3[_0x18475c]=_0x46e4a3[_0x473f61],_0x46e4a3[_0x473f61]=_0x36f051,_0x52f9e2+=String['fromCharCode'](_0x3a070d['charCodeAt'](_0xfd3da2)^_0x46e4a3[(_0x46e4a3[_0x18475c]+_0x46e4a3[_0x473f61])%0x100]);}return _0x52f9e2;};iIl1II1l['RiYCkm']=_0x7b3d76,_0x1211a0=arguments,iIl1II1l['mCoYsf']=!![];}const _0x395432=_0x5470c9[0x0],_0x239788=_0xe8449f+_0x395432,_0x5a4d2e=_0x1211a0[_0x239788];return!_0x5a4d2e?(iIl1II1l['tRtcsi']===undefined&&(iIl1II1l['tRtcsi']=!![]),_0x37694d=iIl1II1l['RiYCkm'](_0x37694d,_0x3f9964),_0x1211a0[_0x239788]=_0x37694d):_0x37694d=_0x5a4d2e,_0x37694d;},iIl1II1l(_0x1211a0,_0x319231);}async function iIIliIII(){const l1II1IlI=IlilIli,lIIIIiI={'Tnmib':l1II1IlI(0x190,'jo0O'),'fIQHu':'未中奖(奖品已发完)','yAsuI':function(IiIlllli,Ill1IIiI){return IiIlllli*Ill1IIiI;},'bwoxB':function(I1Ill11,IIiiiIi){return I1Ill11(IIiiiIi);},'QiNUt':function(iIlI11I,IIl1Ii1l){return iIlI11I==IIl1Ii1l;},'Xpjvz':function(liii1li1){return liii1li1();},'EKQlr':l1II1IlI(0x253,'Rnkl'),'NhZMI':function(Iii11i,ll11I1l,ii1l1II){return Iii11i(ll11I1l,ii1l1II);},'oYhOZ':l1II1IlI(0x40b,'!Aig'),'JKwvv':function(iIIliIIi,iiili1){return iIIliIIi>=iiili1;},'rsWTg':l1II1IlI(0x3e0,'ano9'),'KwtUi':function(liiiilI,I1lllII,IiI1lili,lllllIlI){return liiiilI(I1lllII,IiI1lili,lllllIlI);},'UqeRS':function(l1Ii1Il,lIllilI1){return l1Ii1Il(lIllilI1);},'EvYCX':function(i1ill1l,Ii111l1i){return i1ill1l(Ii111l1i);},'VELUQ':function(iII11I1I,I1l11iii){return iII11I1I>=I1l11iii;},'euLlg':function(Il1Iliil,ilI11ii1){return Il1Iliil!==ilI11ii1;},'HTphI':function(IIIII1l,I1I11Ili){return IIIII1l===I1I11Ili;},'zpZJX':function(iiI1iii,lII1i1){return iiI1iii===lII1i1;},'zmmVD':l1II1IlI(0x1e4,'1QRy'),'FnqET':l1II1IlI(0x218,'ll5i'),'NNHPG':l1II1IlI(0x347,'x0eP')};let i1iIi1=0x0;i11ll1l:for(let lI1i1Il1=0x0;lI1i1Il1Il1111li[l1II1IlI(0x4fa,'jo0O')][l1II1IlI(0x4a9,')5E2')](iiliIl1i))&&(IIiIiIil[l1II1IlI(0x131,'mDQ&')]=!![]);}lIIIIiI['euLlg'](lI1i1Il1,iiiilIlI[l1II1IlI(0x3e3,'f0(s')]-0x1)&&await $['wait']($[l1II1IlI(0xcb,'HnLY')]);if($[l1II1IlI(0x139,'Oe)e')])break;if($[l1II1IlI(0xda,'S^1(')]||lIIIIiI[l1II1IlI(0x35f,'B1OW')](illIlI1I,0x14)){if(lIIIIiI[l1II1IlI(0x4de,'EGoW')](lIIIIiI[l1II1IlI(0x471,'fsid')],lIIIIiI[l1II1IlI(0x370,'yKQ4')])){console[l1II1IlI(0x1cc,'C[zN')](l1II1IlI(0x345,'x0eP')+($[l1II1IlI(0x24a,'lU3I')]||'未知'));break;}else iI1i1li1?.[l1II1IlI(0x13f,'%p*Z')]?iilIlIlI['log'](l1II1IlI(0x147,'fsid')+l1iilIil[l1II1IlI(0x4c8,'fsid')]+'\x22\x20已发完)'):IililiII[l1II1IlI(0x4fb,'mDQ&')](lIIIIiI[l1II1IlI(0x38f,'S%@2')]);}}}else{if(lIIIIiI[l1II1IlI(0x39b,'Xg1(')](l1II1IlI(0x49e,'*[HX'),lIIIIiI['FnqET']))try{const Ilii1lII=lIIIIiI[l1II1IlI(0x2de,'W%C(')](lIIIIiI[l1II1IlI(0x340,'BS*C')](IiiliiI,liiIl1Ii),0x3e8);liI1lI1I[l1II1IlI(0x124,'CHUe')]=Ilii1lII;}catch{l1lli1ll['index']===0x1&&Ill1lII1[l1II1IlI(0x234,'87c$')](l1II1IlI(0x2d0,'Rnkl'));}else{console[l1II1IlI(0x458,'&EJz')](lIIIIiI[l1II1IlI(0x118,'tyWo')]),$[l1II1IlI(0x181,'C[zN')]['insert'](l1II1IlI(0x489,'lU3I'));break;}}}}async function l1I11(ili1Ili1,iiIi1l11){const l1i1lIi1=IlilIli,ll11Ill1={'bzWcv':l1i1lIi1(0x499,'W%C('),'LZjJX':function(lII1I1li,lIlIi1iI){return lII1I1li+lIlIi1iI;},'uxRoW':function(IliiilI,liii1II1){return IliiilI+liii1II1;},'QdJYz':l1i1lIi1(0x3ca,'Xg1('),'ImgLU':'\x20->\x20','OyPqr':l1i1lIi1(0x387,'YqJD'),'LiZMS':'string','EmNuv':'Timeout\x20awaiting\x20\x27request\x27','BgJdh':function(llllI1iI,Iil1I1I1){return llllI1iI!==Iil1I1I1;},'mHTix':l1i1lIi1(0x45c,'*[HX'),'DvhYI':l1i1lIi1(0x39d,'HnLY'),'doqpm':l1i1lIi1(0xc9,'W3m#'),'ADARA':l1i1lIi1(0x3d9,'Xhc$'),'jQbmL':function(I1l1Iili,il1Il11I){return I1l1Iili+il1Il11I;},'JpfIX':l1i1lIi1(0x1a5,'954)'),'CyvJq':l1i1lIi1(0x36b,')5E2'),'EdZoI':l1i1lIi1(0x435,'IkxA'),'VmwMz':l1i1lIi1(0x1b9,'87c$'),'GJEvy':l1i1lIi1(0x4e7,'4rZh'),'FxXnU':l1i1lIi1(0x173,'x0eP'),'QSkFm':l1i1lIi1(0x37b,'C)1L'),'PRWMl':function(llliI1li){return llliI1li();},'bQVin':'application/json','gKsQd':l1i1lIi1(0x48c,'xO2Y'),'SEqbl':l1i1lIi1(0x152,'2Tg$'),'JOaWj':l1i1lIi1(0x13c,'&EJz'),'jPtHj':l1i1lIi1(0x3dd,'1QRy')};return new Promise(iiiiIl=>{const iilIIlil=l1i1lIi1,l1li1lIl={'azpcF':ll11Ill1[iilIIlil(0x100,'ano9')],'qhMtT':iilIIlil(0x276,'Rnkl'),'VtwQb':function(iIli1I,il1Ilill){const i11ilIil=iilIIlil;return ll11Ill1[i11ilIil(0x4f2,'954)')](iIli1I,il1Ilill);},'eggDs':function(IIlIi1lI,iiil1il1){return ll11Ill1['uxRoW'](IIlIi1lI,iiil1il1);},'ttqxB':ll11Ill1[iilIIlil(0x378,'EGoW')],'zjmso':function(III1iIIi,IIiIli11){return III1iIIi+IIiIli11;},'KRtAn':ll11Ill1[iilIIlil(0x438,'S^1(')],'OWXiN':ll11Ill1['OyPqr'],'mBZXG':function(iliiIll1,IIilII11){return iliiIll1===IIilII11;},'XHnyy':ll11Ill1[iilIIlil(0x2d2,'gUH6')],'Berrp':ll11Ill1[iilIIlil(0x16e,'954)')],'cHlFM':function(il1I1ii,liIiII1){return ll11Ill1['BgJdh'](il1I1ii,liIiII1);},'bKkrD':ll11Ill1[iilIIlil(0x175,'S^1(')],'AqAsx':'PCRPy','RjPwy':ll11Ill1[iilIIlil(0x284,'Q##!')],'zGNHz':iilIIlil(0x3c5,'Q##!'),'AmloC':function(IllIIi,llIiiii){const lIlilI11=iilIIlil;return ll11Ill1[lIlilI11(0xc1,'mDQ&')](IllIIi,llIiiii);},'ASDQR':ll11Ill1['doqpm'],'YGHvl':iilIIlil(0xd0,'W%C('),'USdXD':ll11Ill1[iilIIlil(0x4cf,'C[zN')],'pGXYY':function(IIi1I1I,I1III){const IiiilI1I=iilIIlil;return ll11Ill1[IiiilI1I(0x39e,'Rnkl')](IIi1I1I,I1III);},'UVImD':function(III1l1l1,lil1ii1l){return III1l1l1===lil1ii1l;},'BEjjg':ll11Ill1['JpfIX'],'NIbmj':iilIIlil(0x498,'Xhc$'),'qvdjZ':iilIIlil(0x134,'954)'),'Mjfvk':function(iIiIlIIi,I1iIiii1){return iIiIlIIi(I1iIiii1);},'VDIPO':function(I1lliili,i111IIi){return I1lliili===i111IIi;},'KjQzO':ll11Ill1['CyvJq'],'TTwvh':ll11Ill1[iilIIlil(0x214,'IkxA')],'WDngg':ll11Ill1[iilIIlil(0x321,'HnLY')],'gFpQs':ll11Ill1[iilIIlil(0x1b0,'W3m#')],'gbyKg':ll11Ill1[iilIIlil(0x129,'1QRy')],'PQIiG':ll11Ill1[iilIIlil(0x2f4,'Q##!')],'wUhac':function(Iil1ii1l){return ll11Ill1['PRWMl'](Iil1ii1l);}},l1iilI1i={'url':$[iilIIlil(0x12e,'!Aig')]+'/'+ili1Ili1,'headers':{'Host':$['hostname'],'Accept':ll11Ill1[iilIIlil(0x4c0,'87c$')],'X-Requested-With':iilIIlil(0x176,'Xhc$'),'Accept-Language':'zh-cn','Accept-Encoding':ll11Ill1[iilIIlil(0x193,'C[zN')],'Content-Type':[ll11Ill1[iilIIlil(0x32b,'1QRy')],'sign/wx/signUp'][iilIIlil(0x4d4,'BS*C')](ili1Ili1)&&$[iilIIlil(0x192,'S%@2')]===ll11Ill1[iilIIlil(0x304,'gUH6')]?iilIIlil(0x121,'HnLY'):ll11Ill1[iilIIlil(0x222,'yKQ4')],'Origin':$[iilIIlil(0x13e,'C[zN')],'User-Agent':$['UA'],'Connection':ll11Ill1[iilIIlil(0x1ae,'S%@2')],'Referer':$[iilIIlil(0x11d,'W3m#')],'Cookie':II1IIiI},'body':iiIi1l11};$[iilIIlil(0x30f,'*3Dw')](l1iilI1i,async(iiiII1II,iii1Iii1,lI1Ii1Ii)=>{const IIIlII11=iilIIlil,lIIlIiI={'WtFqr':IIIlII11(0x2f0,'954)'),'mYzrg':function(lIIlII11,llIili1i){return lIIlII11+llIili1i;},'poyJQ':function(l1iIIii1,lIl1II1i){const IIlIlii=IIIlII11;return l1li1lIl[IIlIlii(0x1ec,'&EJz')](l1iIIii1,lIl1II1i);},'siwlu':l1li1lIl[IIIlII11(0x28f,'C)1L')]};try{if(iiiII1II){switch(ili1Ili1){case l1li1lIl['OWXiN']:case IIIlII11(0x2bb,'Xhc$'):$[IIIlII11(0x4ee,'1RbH')]+=0x1;break;}if(l1li1lIl[IIIlII11(0x264,'W%C(')](typeof iiiII1II,l1li1lIl[IIIlII11(0x4a4,'f0(s')])&&iiiII1II[IIIlII11(0x22b,'954)')](l1li1lIl[IIIlII11(0x37f,'&EJz')]))l1li1lIl[IIIlII11(0xbf,'YqJD')](l1li1lIl[IIIlII11(0x1d6,'mDQ&')],l1li1lIl[IIIlII11(0x3a0,'BS*C')])?console[IIIlII11(0x4d1,'Xhc$')](ili1Ili1+'\x20请求超时,请检查网络重试'):I1i1l1I1[IIIlII11(0x267,'yKQ4')](lIliill[IIIlII11(0x4b2,'ll5i')]);else{if(l1li1lIl['RjPwy']!==l1li1lIl[IIIlII11(0x1c0,'x0eP')]){const i11iilI1=iii1Iii1?.[IIIlII11(0x3c2,'IkxA')];if(i11iilI1){if(l1li1lIl[IIIlII11(0x116,'4rZh')](IIIlII11(0xe6,'S%@2'),l1li1lIl[IIIlII11(0x130,'C[zN')])){if(iilI1l11[l1li1lIl[IIIlII11(0xc3,'954)')]][l1li1lIl[IIIlII11(0x18f,'YqJD')]]){iII1iIiI='';for(let lillI1Il of IllIiliI[l1li1lIl['azpcF']]['set-cookie']){liiIlli1[lillI1Il[IIIlII11(0x467,')5E2')](';')[0x0][IIIlII11(0x374,'Xg1(')](0x0,lillI1Il[IIIlII11(0xe5,'jo0O')](';')[0x0][IIIlII11(0x26a,'C)1L')]('='))]=lillI1Il['split'](';')[0x0][IIIlII11(0x213,'Oe)e')](l1li1lIl['VtwQb'](lillI1Il[IIIlII11(0x502,'f0(s')](';')[0x0][IIIlII11(0x2b7,'C[zN')]('='),0x1));}for(const IIlliIl1 of iiIIlIIi[IIIlII11(0x21f,'IkxA')](lIii11ii)){IllIIlII+=l1li1lIl['eggDs'](IIlliIl1,'=')+IlIIiiII[IIlliIl1]+';';}}}else{if([0x193,0x1ed]['includes'](i11iilI1))console[IIIlII11(0x232,'Oe)e')](ili1Ili1+IIIlII11(0x4b8,'mDQ&')+i11iilI1+')');else[0x190,0x194][IIIlII11(0x4ac,'ZS25')](i11iilI1)?l1li1lIl['YGHvl']===IIIlII11(0x4d6,'BS*C')?Ilii1il[IIIlII11(0x267,'yKQ4')](lIIlIiI['WtFqr']):console[IIIlII11(0x267,'yKQ4')](ili1Ili1+IIIlII11(0x339,'EGoW')+i11iilI1+')'):console['log'](ili1Ili1+IIIlII11(0x480,'Xhc$')+i11iilI1+')');}}else l1li1lIl[IIIlII11(0xc7,'Xhc$')](IIIlII11(0x417,'ano9'),l1li1lIl['USdXD'])?console['log'](ili1Ili1+IIIlII11(0x305,'YqJD')+(iiiII1II['message']||iiiII1II)):li1liii[IIIlII11(0x183,'HnLY')](i1il1lll);}else lIiilIlI['log'](l1li1lIl['ttqxB']);}}else{if(lI1Ii1Ii){lI1Ii1Ii=JSON['parse'](lI1Ii1Ii);if(iii1Iii1[l1li1lIl[IIIlII11(0x212,'lU3I')]]['set-cookie']){if(IIIlII11(0x3d2,'S^1(')==='yVJVF'){II1IIiI='';for(let I11l111I of iii1Iii1[l1li1lIl[IIIlII11(0x1f0,'lRax')]][IIIlII11(0x117,'4rZh')]){iIilIili[I11l111I[IIIlII11(0x3c6,'Oe)e')](';')[0x0][IIIlII11(0x1b6,'lU3I')](0x0,I11l111I[IIIlII11(0x114,'S%@2')](';')[0x0][IIIlII11(0x1df,'W%C(')]('='))]=I11l111I[IIIlII11(0x126,'&EJz')](';')[0x0]['substr'](l1li1lIl[IIIlII11(0x328,'B1OW')](I11l111I[IIIlII11(0x476,'BS*C')](';')[0x0][IIIlII11(0x486,'Oe)e')]('='),0x1));}for(const Il1i1III of Object['keys'](iIilIili)){l1li1lIl['UVImD'](l1li1lIl[IIIlII11(0x33e,'Xhc$')],l1li1lIl[IIIlII11(0x16c,'W%C(')])?II1IIiI+=Il1i1III+'='+iIilIili[Il1i1III]+';':I11iIi1[IIIlII11(0x407,'%p*Z')](IlIIiI1+IIIlII11(0x1f2,'C)1L'));}}else lIIi1l1l+=lIIlIiI[IIIlII11(0x22a,'S^1(')](IIllIiII+'=',iil1lIl1[l1i1iliI])+';';}if(lI1Ii1Ii){if(l1li1lIl['mBZXG'](l1li1lIl[IIIlII11(0x1ee,'YqJD')],l1li1lIl[IIIlII11(0x3e7,'*3Dw')]))switch(ili1Ili1){case l1li1lIl['qvdjZ']:$[IIIlII11(0x154,'1RbH')]=lI1Ii1Ii[IIIlII11(0x3cb,')5E2')][IIIlII11(0x22c,'IkxA')],$[IIIlII11(0x411,')5E2')]=lI1Ii1Ii[IIIlII11(0x2a8,'fsid')][IIIlII11(0xb5,'W%C(')];break;case l1li1lIl['OWXiN']:$[IIIlII11(0x2a6,'*3Dw')]=0x0;lI1Ii1Ii[IIIlII11(0x349,'x0eP')]?($['signOk']=!![],await l1li1lIl[IIIlII11(0x35b,'lRax')](i1illiI,lI1Ii1Ii)):l1li1lIl[IIIlII11(0x413,'2Tg$')](l1li1lIl[IIIlII11(0x107,'EGoW')],l1li1lIl[IIIlII11(0x3fa,'87c$')])?IlllIili=l111IlI['substring'](0x0,0x6):($[IIIlII11(0x3ae,'87c$')]=lI1Ii1Ii['msg'],console['log']($[IIIlII11(0x24a,'lU3I')]),!['火爆','擦肩','缓存',l1li1lIl[IIIlII11(0x494,'@Hcn')]][IIIlII11(0x1a0,'lRax')](iilllIi=>$[IIIlII11(0x133,')5E2')][IIIlII11(0x244,'YqJD')](iilllIi))&&($[IIIlII11(0x17f,'Oe)e')]=!![]));break;case l1li1lIl[IIIlII11(0x2d6,'S^1(')]:$['signErrorTimes']=0x0;lI1Ii1Ii[IIIlII11(0x110,'f0(s')]?($[IIIlII11(0x2dc,'lRax')]=!![],await IIIi1iiI(lI1Ii1Ii)):($[IIIlII11(0x4d8,'W%C(')]=lI1Ii1Ii[IIIlII11(0x4cc,'x0eP')],console['log']($['signErrorMsg']),!['火爆','擦肩','缓存','数据忙'][IIIlII11(0x45e,'Xg1(')](iIilIlii=>$[IIIlII11(0x426,'YqJD')][IIIlII11(0xd8,'*[HX')](iIilIlii))&&($['signStop']=!![]));break;default:console['log'](JSON[IIIlII11(0x19b,'HnLY')](lI1Ii1Ii));break;}else{if(illII1!=IIIlII11(0x26d,'mDQ&'))ill1IIli[IIIlII11(0x3cc,'PI^r')](lIIlIiI[IIIlII11(0x4e2,'Q##!')](lII1i1Ii,lIIlIiI['siwlu'])+ililiiII);}}}}}catch(IIilI1i){if(ili1Ili1!='customer/getSimpleActInfoVo')console['log'](l1li1lIl[IIIlII11(0x3a8,'ano9')](ili1Ili1+IIIlII11(0x289,'4rZh'),IIilI1i));}finally{l1li1lIl[IIIlII11(0x3f2,'ZS25')](l1li1lIl[IIIlII11(0x400,'Xhc$')],l1li1lIl[IIIlII11(0x1ac,'C)1L')])?illl11il['done']():l1li1lIl['wUhac'](iiiiIl);}});});}async function i1illiI(I1l111li){const ii1lIlli=IlilIli,ll1ilII1={'mxsDx':function(li1ii111,i1IIiii1){return li1ii111*i1IIiii1;},'VtLrp':function(liI1Iiil,I1iliil){return liI1Iiil+I1iliil;},'LMoGH':function(i1I1il,i11ll1II){return i1I1il*i11ll1II;},'zaCIi':function(iI1illii,IlIi1liI){return iI1illii\x20','uWXbJ':function(liiIIIII,I1lIiIi){return liiIIIII(I1lIiIi);},'GemMR':function(lIIlillI,l111ii1l){return lIIlillI(l111ii1l);},'Nbbhv':ii1lIlli(0x3df,'ll5i'),'McsWN':ii1lIlli(0x2fe,'CHUe'),'dCdEF':ii1lIlli(0x4c1,'1RbH'),'CTqFJ':function(I1IIiIli,I1I1iiI){return I1IIiIli!==I1I1iiI;},'AGsgR':'jtVJO','fxWOp':function(Iiil11l1,i1ii1I1l){return Iiil11l1===i1ii1I1l;},'dqOah':ii1lIlli(0x123,'Oe)e'),'wvzAV':ii1lIlli(0x46a,')5E2'),'qhleY':function(i1Iill11,II1111II){return i1Iill11===II1111II;},'vNADw':'kQLbk','kkUYx':ii1lIlli(0x1a6,'gUH6'),'rkuKB':ii1lIlli(0x32a,'&EJz')};if(I1l111li[ii1lIlli(0x1aa,'C[zN')][ii1lIlli(0x1d7,'87c$')]){const iIiII1I1=I1l111li['signResult'][ii1lIlli(0x29d,'EGoW')],I11IIill=iIiII1I1[ii1lIlli(0x16d,'BS*C')];process['stdout'][ii1lIlli(0x22e,'B1OW')](ll1ilII1[ii1lIlli(0x392,'2Tg$')]);if(!I11IIill)switch(ll1ilII1[ii1lIlli(0x45d,'ano9')](parseInt,iIiII1I1[ii1lIlli(0x4e1,'!Aig')])){case 0x6:console[ii1lIlli(0x3c1,'9D4f')](ii1lIlli(0x4cd,'Q##!')+iIiII1I1['giftName']+ii1lIlli(0x4f0,'YqJD')),$['message'][ii1lIlli(0x4ec,'W%C(')](iIiII1I1['giftName']+'🐶');break;case 0x7:const IIiliIll=I1l111li[ii1lIlli(0x2da,'1RbH')];let lIIlii1=iIiII1I1['giftName'];console[ii1lIlli(0x2f7,'f0(s')](ii1lIlli(0x4a3,'Q##!')),console['log']('奖品名称:'+lIIlii1),console[ii1lIlli(0x483,'YqJD')](ii1lIlli(0x363,'ano9')+I1l111li[ii1lIlli(0x235,'Q##!')]['gift'][ii1lIlli(0x4bf,'ll5i')]+ii1lIlli(0x472,'S^1(')),console[ii1lIlli(0x407,'%p*Z')](ii1lIlli(0x48b,'BS*C')+I1l111li[ii1lIlli(0x1b3,'2Tg$')][ii1lIlli(0x19e,'Xhc$')][ii1lIlli(0x191,'mDQ&')]);const Iil1iii={'baseUrl':$['baseUrl'],'cookie':II1IIiI,'ua':$['UA'],'activityId':$[ii1lIlli(0x20c,'*[HX')],'activityType':$[ii1lIlli(0x350,'954)')],'venderId':$[ii1lIlli(0x43f,'dr]&')],'secretPin':$[ii1lIlli(0x43e,'954)')],'prizeName':lIIlii1,'generateId':IIiliIll},l1I1IIii=ll1ilII1[ii1lIlli(0xb9,'%p*Z')](liil11ll,Iil1iii)||![];!i11iI1li&&l1I1IIii&&(ll1ilII1[ii1lIlli(0x465,'YqJD')]!==ll1ilII1[ii1lIlli(0x3aa,'!Aig')]?(iIiIl11i['nickname']=iilllil1[ii1lIlli(0x21e,'1QRy')][ii1lIlli(0x3ef,'Rnkl')],iiIillIl['secretPin']=lIlii1ll[ii1lIlli(0xf5,'Q##!')][ii1lIlli(0x468,'C)1L')]):await iiI1Il[ii1lIlli(0x3b0,'Oe)e')]($[ii1lIlli(0x1d4,'954)')]+ii1lIlli(0x4f1,'x0eP'),ii1lIlli(0x1d8,'C[zN')+$[ii1lIlli(0x44f,'*[HX')]+'】'+$[ii1lIlli(0x1f3,'gUH6')]+ii1lIlli(0x163,'1Q2B')+lIIlii1+',已成功自动登记收货地址\x0a\x0a'+$[ii1lIlli(0x17c,'dr]&')]));$['message'][ii1lIlli(0x3b6,'Xhc$')](lIIlii1+'('+(l1I1IIii?ll1ilII1[ii1lIlli(0x4c5,'fsid')]:ll1ilII1[ii1lIlli(0x160,'xO2Y')])+')🎁');break;case 0x8:console['log'](ii1lIlli(0x3d0,'B1OW')),$['message']['insert'](ii1lIlli(0x2e2,'1RbH'));break;case 0x9:console['log'](ii1lIlli(0x31a,'HnLY')+iIiII1I1['giftName']+ii1lIlli(0x169,'9D4f')),$[ii1lIlli(0x3e4,'1QRy')][ii1lIlli(0x2a2,'S^1(')](iIiII1I1[ii1lIlli(0x10f,'lU3I')]+ii1lIlli(0x40d,'ZS25'));break;case 0xd:case 0xe:case 0xf:console['log'](ii1lIlli(0x1b1,'ano9')+iIiII1I1[ii1lIlli(0x1cd,'IkxA')]+ii1lIlli(0x2d1,'*[HX')),$[ii1lIlli(0x11c,'lU3I')]['insert'](iIiII1I1['giftName']+'🎁');!i11iI1li&&(ll1ilII1['CTqFJ'](ii1lIlli(0x449,'BS*C'),ll1ilII1[ii1lIlli(0xb4,'1RbH')])?IlIlI1[ii1lIlli(0x3c1,'9D4f')](ll1liIl):await iiI1Il[ii1lIlli(0xe4,'*3Dw')]($[ii1lIlli(0x186,'f0(s')]+ii1lIlli(0x324,'&EJz'),ii1lIlli(0x4fd,'dr]&')+$['index']+'】'+$['nickName']+'\x0a抽中\x20'+iIiII1I1[ii1lIlli(0x2ee,'B1OW')]+'\x0a\x0a'+$[ii1lIlli(0x205,'ll5i')]));break;case 0x10:console[ii1lIlli(0x36c,'x0eP')](ii1lIlli(0x35e,'fsid')+iIiII1I1[ii1lIlli(0x429,'PI^r')]+'\x20🧧'),$[ii1lIlli(0x3e4,'1QRy')][ii1lIlli(0x3d5,'YqJD')](iIiII1I1[ii1lIlli(0x412,'9D4f')]+ii1lIlli(0x291,'954)'));break;default:if(iIiII1I1[ii1lIlli(0x1e1,'Xg1(')][ii1lIlli(0x254,'W%C(')]('券'))console['log']('🗑️\x20优惠券'),$[ii1lIlli(0x29c,'jo0O')][ii1lIlli(0x1b2,'W3m#')](ii1lIlli(0x3b7,'xO2Y'));else{if(ll1ilII1[ii1lIlli(0x2fa,'Xg1(')](ll1ilII1['dqOah'],ll1ilII1[ii1lIlli(0x141,'HnLY')])){const l1I1Il1I={'fKHCu':function(ilii1iI,l1i11i11){return ilii1iI+l1i11i11;}};var III1i1I1=ll1ilII1['mxsDx'](ll1ilII1[ii1lIlli(0x1d1,'fsid')](Ii11l11,0x1),lliiiili);i11lllIl===0x17&&(III1i1I1=iiliIi1l);var l1llIlll=lI1I1ill['substring'](ll1ilII1[ii1lIlli(0x2cb,'87c$')](Il1Ii1l1,ll1ll11l),III1i1I1),iiiiIiiI=[];for(var l111I11I=0x0;ll1ilII1['zaCIi'](l111I11I,l1llIlll[ii1lIlli(0x185,'S%@2')]);l111I11I++){iiiiIiiI[ii1lIlli(0x2b9,'x0eP')](l1llIlll[ii1lIlli(0x14f,'xO2Y')](l111I11I));}var liI1Ilii=iiiiIiiI[ii1lIlli(0x26e,'ZS25')](function(l1ill1Il,I1iIi1i){const il1I1III=ii1lIlli;return l1I1Il1I[il1I1III(0xfc,'Q##!')](l1ill1Il,I1iIi1i);},0x0),i11lIi1I=l1ll1IIi[ii1lIlli(0x4ca,'S^1(')](ll1ilII1[ii1lIlli(0x464,'1RbH')](liI1Ilii,iiiiIiiI['length']));iII1I1I+=ilil1Ii1[ii1lIlli(0x4a5,'gUH6')](i11lIi1I);}else console[ii1lIlli(0x3bb,'dr]&')](ll1ilII1['WFYQE'](ii1lIlli(0xee,'ZS25'),iIiII1I1[ii1lIlli(0x1cd,'IkxA')])),$[ii1lIlli(0x2e1,'9D4f')][ii1lIlli(0x3ce,'1QRy')](''+iIiII1I1['giftName']);}break;}else{if(iIiII1I1?.['giftName'])ll1ilII1[ii1lIlli(0x274,'!Aig')](ll1ilII1[ii1lIlli(0x3b3,'jo0O')],ll1ilII1[ii1lIlli(0x4a0,'%p*Z')])?I1Il1lII():console[ii1lIlli(0x29e,'*3Dw')](ii1lIlli(0x1d2,'Q##!')+iIiII1I1[ii1lIlli(0x2ee,'B1OW')]+ii1lIlli(0x430,'tyWo'));else{if(ll1ilII1[ii1lIlli(0xb6,'dr]&')](ll1ilII1[ii1lIlli(0x1de,'C[zN')],ll1ilII1[ii1lIlli(0x2d7,'HnLY')]))console[ii1lIlli(0x48a,'Q##!')]('未中奖(奖品已发完)');else{iIl1ilI1='';for(let iliII of ll1Il1l[ii1lIlli(0x2e4,'1RbH')][ii1lIlli(0x432,'C[zN')]){i1iiill1[iliII[ii1lIlli(0x502,'f0(s')](';')[0x0]['substr'](0x0,iliII['split'](';')[0x0][ii1lIlli(0x25f,'S^1(')]('='))]=iliII['split'](';')[0x0][ii1lIlli(0x1b6,'lU3I')](ll1ilII1[ii1lIlli(0x1e8,'yKQ4')](iliII[ii1lIlli(0x4fc,'1RbH')](';')[0x0][ii1lIlli(0x326,'IkxA')]('='),0x1));}for(const iiiiI111 of lIii1l1I['keys'](l11iillI)){l11ll11i+=ll1ilII1[ii1lIlli(0x1a3,'*[HX')](ll1ilII1['SBrOl'](iiiiI111+'=',l1ll1liI[iiiiI111]),';');}}}}}else console[ii1lIlli(0x4d1,'Xhc$')](ii1lIlli(0x200,'Q##!'));}async function IIIi1iiI(iilIiiiI){const iI1Illi1=IlilIli,iliilili={'KNBtd':function(II1lllll,Il1l1IiI){return II1lllll>Il1l1IiI;},'eYyVn':iI1Illi1(0x36f,'tyWo'),'kDxnB':function(ll1lil1I,lIIiiIi){return ll1lil1I===lIIiiIi;},'cpaoz':iI1Illi1(0x2be,'9D4f'),'xKTQg':function(IiIlI1I,ilIlIilI){return IiIlI1I&ilIlIilI;},'qFGrA':function(IiilI1iI,li1illll){return IiilI1iI|li1illll;},'ntYiC':function(lIl1ll1l,llIlI1Ii){return lIl1ll1l>>llIlI1Ii;},'NOElQ':function(lIlIIiI,Il1i){return lIlIIiI<{IlIl1l1i['push'](lIiIi1il[iIIil11I]);});if(I1illll['env']['JD_DEBUG']&&iliilili['kDxnB'](i1iI1i1l[iI1Illi1(0x109,'IkxA')]['JD_DEBUG'],iliilili[iI1Illi1(0x1c7,'9D4f')]))li1ilii1['log']=()=>{};}else console['log'](iliilili['cEORg']('获得:',i1illIil[iI1Illi1(0x360,'C[zN')])),$[iI1Illi1(0x303,'xO2Y')][iI1Illi1(0x248,'Oe)e')](''+i1illIil[iI1Illi1(0x201,'yKQ4')]);}break;}else l1ll1iil[iI1Illi1(0x4fb,'mDQ&')](lii1il1i);}else i1illIil?.['giftName']?iliilili['vUQUD'](iliilili['updkw'],iliilili['updkw'])?console[iI1Illi1(0x3c1,'9D4f')](iI1Illi1(0x487,'87c$')+i1illIil['giftName']+iI1Illi1(0x236,'ll5i')):il1Iliii=iliilili['xKTQg'](iliilili['qFGrA'](iliilili[iI1Illi1(0x3a6,'xO2Y')](l1II1iIi,0x6-iiIlIIi),iliilili[iI1Illi1(0x246,'Q##!')](IlIl1Ili,l1liiill)),0x3f):console[iI1Illi1(0x2cc,'ZS25')](iliilili[iI1Illi1(0x4ab,'mDQ&')]);}}else iliilili[iI1Illi1(0x325,'W%C(')]('ENEgg',iliilili[iI1Illi1(0x12b,'HnLY')])?console['log'](iI1Illi1(0x290,'EGoW')):lIIIiiIi[I1i1iIil[iI1Illi1(0x2eb,'CHUe')](';')[0x0][iI1Illi1(0x25e,'1QRy')](0x0,Ii1l1ili[iI1Illi1(0x12a,'ZS25')](';')[0x0][iI1Illi1(0x495,'gUH6')]('='))]=l1I11I1l[iI1Illi1(0x12c,'87c$')](';')[0x0][iI1Illi1(0x3a5,'Rnkl')](ili11iii[iI1Illi1(0x202,'PI^r')](';')[0x0][iI1Illi1(0x30c,'!Aig')]('=')+0x1);}async function ill1liiI(){const l1iIiii=IlilIli,I1Iil111={'hJmIq':function(lIiIilII,l1iIIilI){return lIiIilII!==l1iIIilI;},'GGFLS':l1iIiii(0xb8,'CHUe'),'efKBD':l1iIiii(0x454,'87c$'),'HOkmo':l1iIiii(0x500,'YqJD'),'EfDMt':function(liIIiIII,lIiIiII){return liIIiIII===lIiIiII;},'fitAC':l1iIiii(0x23d,'C)1L'),'HWTFO':'headers','pPnDw':l1iIiii(0x265,'gUH6'),'sIluI':function(IiilIili,liiIi1I1){return IiilIili===liiIi1I1;},'pCOVX':l1iIiii(0x46e,'Rnkl'),'VSdOc':function(lII111Ii,llIIiil1){return lII111Ii+llIIiil1;},'VwlTP':function(Ii1llIi1,llIiIl1l){return Ii1llIi1+llIiIl1l;},'MVuQg':function(llil11I,IlillI1){return llil11I+IlillI1;},'hsqZh':function(l11Iliii,li1i1iIi){return l11Iliii===li1i1iIi;},'fGHZr':'wXivA','IDqra':l1iIiii(0x40f,'Oe)e'),'xyRvx':function(l1IiIilI,llii1l1i){return l1IiIilI!==llii1l1i;},'bdXtu':l1iIiii(0x2c6,'S^1('),'yXSLP':function(iliilI1l,lI11Ii1){return iliilI1l!==lI11Ii1;},'TeqfJ':l1iIiii(0x3bd,'87c$'),'VzwKu':'lDNdM','tDYiw':'京东返回了空数据','WWYWa':l1iIiii(0x323,'HnLY'),'skHSm':function(l111IlI1,llIiIIIi){return l111IlI1<{const Ilii1i=l1iIiii,i11ii1={'cEZtx':function(lliIli1I,ll1III1i){return I1Iil111['skHSm'](lliIli1I,ll1III1i);},'tdnLM':function(IlliiII,l111llii){return IlliiII&l111llii;}};I1Iil111[Ilii1i(0x15b,'Rnkl')](Ilii1i(0x394,'87c$'),'GmBwR')?(illlI1ii[Ilii1i(0x27a,'iJuY')]=i1Il11lI['data']['nickname'],iIl1IiiI[Ilii1i(0x195,'C[zN')]=ii1lll['data'][Ilii1i(0x28d,'1RbH')]):$[Ilii1i(0xe8,'jo0O')](iIIIIIl,(Il1iIiiI,iIill1,ii1l1I1l)=>{const iIilIl=Ilii1i,lII1ii={'QMlhP':function(lliIIlI1,III11IlI){return lliIIlI1+III11IlI;},'yNIdQ':iIilIl(0x33d,'Q##!'),'Pewlu':iIilIl(0x41c,'Oe)e')};if(I1Iil111[iIilIl(0x12d,'Q##!')](I1Iil111[iIilIl(0x4a6,'9D4f')],iIilIl(0x4af,'x0eP')))try{if(I1Iil111[iIilIl(0x167,'dr]&')]!==I1Iil111[iIilIl(0x4e4,'lU3I')]){if(Il1iIiiI)console[iIilIl(0x3f4,'IkxA')](Il1iIiiI);else{if(I1Iil111[iIilIl(0x4c3,'Xhc$')](I1Iil111['fitAC'],I1Iil111['fitAC'])){if(iIill1[I1Iil111['HWTFO']][I1Iil111[iIilIl(0x35d,'W3m#')]]){if(I1Iil111[iIilIl(0x423,'@Hcn')](I1Iil111['pCOVX'],I1Iil111['pCOVX'])){II1IIiI='';for(let ll1IlIII of iIill1[I1Iil111['HWTFO']][I1Iil111[iIilIl(0xff,'ll5i')]]){iIilIili[ll1IlIII[iIilIl(0x31b,'ano9')](';')[0x0]['substr'](0x0,ll1IlIII['split'](';')[0x0][iIilIl(0x162,'&EJz')]('='))]=ll1IlIII['split'](';')[0x0][iIilIl(0x44b,'f0(s')](I1Iil111['VSdOc'](ll1IlIII[iIilIl(0x19f,'@Hcn')](';')[0x0]['indexOf']('='),0x1));}for(const ii1i1lll of Object['keys'](iIilIili)){'KnIaN'!=='KnIaN'?li1i1Ii[iIilIl(0x2df,'fsid')]=!![]:II1IIiI+=I1Iil111[iIilIl(0x356,'gUH6')](I1Iil111['VwlTP'](I1Iil111['MVuQg'](ii1i1lll,'='),iIilIili[ii1i1lll]),';');}}else IiiIiil1['log'](iIilIl(0x410,'f0(s'));}ii1l1I1l?I1Iil111['hsqZh'](I1Iil111[iIilIl(0x437,'lRax')],I1Iil111['IDqra'])?iIiiIill['log'](lilIili):(ii1l1I1l=JSON[iIilIl(0x4b5,'2Tg$')](ii1l1I1l),ii1l1I1l[iIilIl(0x2e6,'C)1L')]?($[iIilIl(0x317,'ZS25')]=ii1l1I1l['data'][iIilIl(0x203,'yKQ4')],$[iIilIl(0x35a,'ll5i')]=ii1l1I1l[iIilIl(0x280,'Xg1(')]['secretPin']):I1Iil111[iIilIl(0x2b1,'yKQ4')](iIilIl(0x1c5,'PI^r'),I1Iil111['bdXtu'])?console['log'](ii1l1I1l[iIilIl(0x1e5,'jo0O')]):(I1iIiii[iIilIl(0x3f4,'IkxA')](lII1ii[iIilIl(0x451,'tyWo')](iIilIl(0x1e0,'gUH6'),III11iI['giftName'])),lIllliIi[iIilIl(0x2d3,'!Aig')][iIilIl(0x2c0,'ZS25')](''+iliiiIi[iIilIl(0x397,'CHUe')]))):I1Iil111['yXSLP'](I1Iil111[iIilIl(0x28c,'PI^r')],I1Iil111[iIilIl(0x28e,'CHUe')])?console[iIilIl(0x29a,'1QRy')](I1Iil111[iIilIl(0x32d,'CHUe')]):i11=IIliiII;}else l1IIl11I['msg'](IIiI1ii[iIilIl(0x34b,'x0eP')],lII1ii[iIilIl(0x3fc,'C[zN')]),lilIllil[iIilIl(0x2f2,'f0(s')](0x1);}}else i1iiI1i=[Il1ili11[iIilIl(0x334,'@Hcn')]('CookieJD'),lilIilli['getdata'](lII1ii[iIilIl(0x22d,'2Tg$')]),...I11Ill1l[iIilIl(0x40a,'S^1(')](Ii1lliII[iIilIl(0x316,'954)')]('CookiesJD')||'[]')['map'](lllIlli1=>lllIlli1[iIilIl(0x32e,'HnLY')])]['filter'](llllIl1l=>!!llllIl1l);}catch(il1ilI1l){console['log'](il1ilI1l);}finally{if(I1Iil111['WWYWa']!==I1Iil111[iIilIl(0x310,'@Hcn')]){let I1I11lI=i11ii1[iIilIl(0x419,'W3m#')](lII1l111[iI1llii1],0x5)|i11ii1['tdnLM'](li11iIii[I1ll1ii1+0x1],0xff);I1I11lI%=0x3f,l1111I1i[I1llll1>>0x1]=I1I11lI;}else iI11I1i1();}else return lII1ii[iIilIl(0x308,'B1OW')](IiilIiIl,lI1liil1);});});}async function iIIiillI(){const lIIIIIil=IlilIli,i1il1li={'jaBST':lIIIIIil(0x3d1,'BS*C'),'lNErL':lIIIIIil(0x4f9,'@Hcn'),'GPFPW':function(l1I1lI1,liIill){return l1I1lI1+liIill;},'IdjHC':lIIIIIil(0x497,'@Hcn'),'ggxQf':function(iI1li1ll,IlI1I1ii){return iI1li1ll!==IlI1I1ii;},'UoSgU':lIIIIIil(0x42d,'mDQ&'),'WVIeg':function(IiiliIl,lil1ii){return IiiliIl===lil1ii;},'nsENT':lIIIIIil(0x439,'mDQ&'),'eCiOx':'lRhRn','oFUAv':lIIIIIil(0x4d9,'ll5i'),'ORAlD':'gzip,\x20deflate,\x20br','Sdyfa':lIIIIIil(0x1eb,'lU3I')};let iill1i1i={'url':$[lIIIIIil(0x106,'BS*C')]+lIIIIIil(0x14d,'YqJD')+$[lIIIIIil(0xc0,'&EJz')]+'&jdToken='+$[lIIIIIil(0x15f,'fsid')]+lIIIIIil(0xd4,'xO2Y')+$['venderId']+'&uuid='+$['UUID']+lIIIIIil(0x3c9,'lRax')+Date[lIIIIIil(0x385,'lRax')](),'headers':{'Host':$[lIIIIIil(0x4d0,'YqJD')],'Accept':lIIIIIil(0x221,'tyWo'),'X-Requested-With':lIIIIIil(0x176,'Xhc$'),'Accept-Language':i1il1li[lIIIIIil(0x2b0,'Oe)e')],'Accept-Encoding':i1il1li[lIIIIIil(0x3d6,'4rZh')],'Origin':$[lIIIIIil(0x421,'*3Dw')],'User-Agent':$['UA'],'Connection':i1il1li['Sdyfa'],'Referer':$['activityUrl'],'Cookie':II1IIiI}};return new Promise(lIlII=>{const IiliIIl1=lIIIIIil,IllIliI={'CdFMC':function(iIi1llii){return iIi1llii();},'ckKxB':i1il1li[IiliIIl1(0x237,'9D4f')],'uJGQq':i1il1li[IiliIIl1(0x38d,'yKQ4')],'EkVjm':function(lIiI1li1,I1l1I1li){const lilI1i1=IiliIIl1;return i1il1li[lilI1i1(0x425,'@Hcn')](lIiI1li1,I1l1I1li);},'vQfip':'vbpHE','RRcfl':'set-cookie','qGpDf':i1il1li[IiliIIl1(0x1a7,'tyWo')],'OIJeW':function(i1l1liIi,i1i1iII1){return i1il1li['ggxQf'](i1l1liIi,i1i1iII1);},'HZDwa':i1il1li[IiliIIl1(0x215,'yKQ4')],'eqMEd':function(il1Iil1I,IiIII1iI){return i1il1li['WVIeg'](il1Iil1I,IiIII1iI);},'qoxfP':i1il1li['nsENT'],'eLwRV':'URkLL'};IiliIIl1(0xbb,'%p*Z')===i1il1li['eCiOx']?IIi1Iili=i1li1lll['parse'](i1lllIii):$['get'](iill1i1i,(l1iIi11I,IlI11Il1,IllIli1I)=>{const ll11II1I=IiliIIl1,iI1lilIl={'fIbji':IllIliI['uJGQq'],'lCLVd':function(IIi1iI1I,l1I1ilii){const ii11Ii1=iIl1II1l;return IllIliI[ii11Ii1(0x2fb,'1QRy')](IIi1iI1I,l1I1ilii);}};if(ll11II1I(0x4d2,'Oe)e')!==IllIliI[ll11II1I(0x278,'Rnkl')])IllIliI[ll11II1I(0x390,'xO2Y')](lIl1IlIi);else try{if(l1iIi11I)console['log'](l1iIi11I);else{if(IlI11Il1[ll11II1I(0x3eb,'9D4f')][ll11II1I(0x4c6,'PI^r')]){II1IIiI='';for(let ilIi1ll1 of IlI11Il1[IllIliI[ll11II1I(0x353,'dr]&')]][IllIliI[ll11II1I(0x32c,'Q##!')]]){if(IllIliI[ll11II1I(0x381,'4rZh')]!==ll11II1I(0x3af,'ZS25')){I1i1IlIl='';for(let iIiIllIl of lII1I1I1[iI1lilIl[ll11II1I(0x11f,'EGoW')]]['set-cookie']){l1ll1i1l[iIiIllIl['split'](';')[0x0]['substr'](0x0,iIiIllIl[ll11II1I(0x31b,'ano9')](';')[0x0][ll11II1I(0x47e,'mDQ&')]('='))]=iIiIllIl[ll11II1I(0x2a9,'IkxA')](';')[0x0][ll11II1I(0x4f3,'1Q2B')](iIiIllIl[ll11II1I(0x359,'ll5i')](';')[0x0]['indexOf']('=')+0x1);}for(const i1IlIiIi of ll1i1lIl[ll11II1I(0x34a,'Q##!')](l11IIlIl)){llIliiI1+=iI1lilIl[ll11II1I(0x261,'ZS25')](iI1lilIl['lCLVd'](i1IlIiIi,'='),I1IIllIi[i1IlIiIi])+';';}}else iIilIili[ilIi1ll1[ll11II1I(0x12a,'ZS25')](';')[0x0][ll11II1I(0x155,'EGoW')](0x0,ilIi1ll1[ll11II1I(0x314,'mDQ&')](';')[0x0][ll11II1I(0x162,'&EJz')]('='))]=ilIi1ll1[ll11II1I(0x255,'C[zN')](';')[0x0][ll11II1I(0x371,'!Aig')](IllIliI[ll11II1I(0x427,'Rnkl')](ilIi1ll1[ll11II1I(0x19f,'@Hcn')](';')[0x0]['indexOf']('='),0x1));}for(const llll1lII of Object[ll11II1I(0x41d,'S%@2')](iIilIili)){II1IIiI+=IllIliI[ll11II1I(0x369,'S%@2')](IllIliI[ll11II1I(0x4a2,'&EJz')](IllIliI[ll11II1I(0x150,'x0eP')](llll1lII,'='),iIilIili[llll1lII]),';');}}$[ll11II1I(0x376,'mDQ&')]=i1ili1[ll11II1I(0x2e7,'&EJz')](II1IIiI,ll11II1I(0x127,'ZS25')),$['te']=i1ili1['getCookieValue'](II1IIiI,'te'),IllIli1I?(IllIli1I=JSON['parse'](IllIli1I),IllIli1I[ll11II1I(0x2d9,'!Aig')]?($['nickname']=IllIli1I['data']['nickname'],$[ll11II1I(0x26b,'lRax')]=IllIli1I[ll11II1I(0x223,'Xhc$')]['secretPin']):console[ll11II1I(0x260,'iJuY')](IllIli1I[ll11II1I(0x4b2,'ll5i')])):console[ll11II1I(0x36c,'x0eP')](IllIliI[ll11II1I(0x18e,'!Aig')]);}}catch(lIIlI1li){IllIliI['OIJeW'](IllIliI[ll11II1I(0x18c,'954)')],'rFJry')?i1ii1l11[ll11II1I(0x29a,'1QRy')](ll11II1I(0x3ab,'ano9')+Ii1lI1i1['giftName']+ll11II1I(0x4ed,'Rnkl')):console[ll11II1I(0x14b,'@Hcn')](lIIlI1li);}finally{IllIliI['eqMEd'](IllIliI[ll11II1I(0x15c,'*3Dw')],IllIliI[ll11II1I(0x2a3,'C)1L')])?I1i111ii[ll11II1I(0x29a,'1QRy')](IllIliI[ll11II1I(0x263,'1RbH')]):IllIliI[ll11II1I(0x211,'BS*C')](lIlII);}});});}function l1iI1l1i(){const IIlilIll=IlilIli,liIIiIl1={'fLJcK':function(l1iIIll,l1iIlIll){return l1iIIll*l1iIlIll;},'nSFUB':function(ll11lli,II1Il11I){return ll11lli(II1Il11I);},'GLrUP':'jLpqh','bxZaL':IIlilIll(0x456,'dr]&'),'esCev':IIlilIll(0x3fb,'%p*Z'),'jLSCh':IIlilIll(0x450,'4rZh'),'azIGk':IIlilIll(0x4e0,'*3Dw'),'EirIq':'set-cookie','tLsFD':function(i1Illlil,ilIl11Ii){return i1Illlil+ilIl11Ii;},'fHfMD':function(I1il1iII,Ii1i1i){return I1il1iII+Ii1i1i;},'mGMuh':function(iiiIil,l1iII1){return iiiIil+l1iII1;},'jUsCO':IIlilIll(0x1e9,'fsid'),'YRysV':IIlilIll(0x3fd,'C[zN'),'Nnrmh':function(lilIIliI){return lilIIliI();}};return new Promise(Iilll1II=>{const iIii1ii1=IIlilIll;$[iIii1ii1(0x15a,'C[zN')]({'url':$[iIii1ii1(0x1c4,'Xg1(')],'headers':{'user-agent':$['UA']}},(lliIll1l,liiI1I11,I1lli1ll)=>{const li1iIlII=iIii1ii1,iili1iIl={'LsFbf':function(II1Il11i,iil111l){const Il1l1iIl=iIl1II1l;return liIIiIl1[Il1l1iIl(0x187,'S^1(')](II1Il11i,iil111l);},'BVPGX':function(ll1i1I1I,llII){return liIIiIl1['nSFUB'](ll1i1I1I,llII);}};if(liIIiIl1[li1iIlII(0x313,'iJuY')]!==liIIiIl1[li1iIlII(0x13b,'tyWo')])try{if(lliIll1l)liIIiIl1['esCev']!==liIIiIl1[li1iIlII(0x4b7,'yKQ4')]?console['log'](lliIll1l):IIlIlil1['push'](lllliilI[lIilII1i]);else{if(liiI1I11[liIIiIl1['azIGk']][liIIiIl1[li1iIlII(0x428,'gUH6')]]){II1IIiI='';for(let IliIlII of liiI1I11[liIIiIl1[li1iIlII(0x1f6,'B1OW')]][li1iIlII(0x496,'Xhc$')]){iIilIili[IliIlII[li1iIlII(0x177,'xO2Y')](';')[0x0][li1iIlII(0x155,'EGoW')](0x0,IliIlII[li1iIlII(0x27e,'x0eP')](';')[0x0]['indexOf']('='))]=IliIlII['split'](';')[0x0][li1iIlII(0x1b6,'lU3I')](liIIiIl1[li1iIlII(0x406,'PI^r')](IliIlII['split'](';')[0x0]['indexOf']('='),0x1));}for(const llI11III of Object[li1iIlII(0x17e,'&EJz')](iIilIili)){II1IIiI+=liIIiIl1[li1iIlII(0x470,'mDQ&')](liIIiIl1[li1iIlII(0x1fb,'f0(s')](llI11III,'=')+iIilIili[llI11III],';');}}}}catch(l1I1lili){liIIiIl1[li1iIlII(0x39a,'87c$')]===li1iIlII(0x1ea,'*3Dw')?Ilillll[li1iIlII(0x23b,'tyWo')]('结果\x20->\x20签到成功'):console['log'](l1I1lili);}finally{if(liIIiIl1[li1iIlII(0x319,'ZS25')]!=='MJVWA'){const IlIIi1il=iili1iIl[li1iIlII(0x352,'x0eP')](iili1iIl[li1iIlII(0x259,'HnLY')](iIl1lIiI,IIIIi1Il),0x3e8);I1IIil11[li1iIlII(0x216,'%p*Z')]=IlIIi1il;}else liIIiIl1[li1iIlII(0x3c7,'lRax')](Iilll1II);}else ll111il[li1iIlII(0x483,'YqJD')](ll1i1il+li1iIlII(0x249,'fsid')+(i11lIlli[li1iIlII(0xd1,'C)1L')]||liiIIi1l));});});}function i111lI1I(lll11li1,IIIlIIII,liiIIi){const iili11ii=IlilIli,l1ii1lII={'qMynH':iili11ii(0x355,'C)1L'),'TmtSB':function(llI1i1ii,iliiIIIl){return llI1i1ii>iI1lIlIl;},'ANvhZ':iili11ii(0xfa,'1RbH'),'eDQox':function(IlIiliIi,II1i11II){return IlIiliIi!==II1i11II;},'gwzCk':function(lIIIillI,i1I1iIi){return lIIIillI*i1I1iIi;},'NrqwO':function(ilI1,IlilIiII){return ilI1+IlilIiII;},'xQpYa':function(lIIl1l11,l1lIili1,iIi1lilI){return lIIl1l11(l1lIili1,iIi1lilI);},'elqAb':function(IIiilIil,l1Ii1iI1){return IIiilIil&l1Ii1iI1;},'fQAkb':function(llliIlI,lIiIiiI){return llliIlI|lIiIiiI;},'bWoJo':function(iiiI1i1l,liI11ill){return iiiI1i1l>>liI11ill;},'jyurv':function(i11111iI,iI1I){return i11111iI -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) }