KR/jd_lzkj_loreal_shopGift.js

22 lines
59 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/*
活动名称:店铺礼包(超级无线)
活动链接https://lzkj-isv.isvjcloud.com/prod/cc/interactsaas/index?activityType=10058&templateId=<模板id>&activityId=<活动id>&prd=cjwx
https://lzkj-isv.isvjcloud.com/prod/cc/interaction/v1/index?activityType=10058&templateId=<模板id>&activityId=<活动id>&prd=cjwx
环境变量jd_lzkj_loreal_shopGift_url // 活动链接
jd_lzkj_loreal_shopGift_opencard // 是否入会true/false默认不入会
jd_lzkj_loreal_shopGift_Notify // 是否推送通知true/false默认不推送
cron:1 1 1 1 *
============Quantumultx===============
[task_local]
#店铺礼包(超级无线)
1 1 1 1 * jd_lzkj_loreal_shopGift.js, tag=店铺礼包(超级无线), enabled=true
*/
const $ = new Env('店铺礼包(超级无线)')
var version_='jsjiami.com.v7';const l1I1ll1i=Ill1I1;(function(I1IlI1i,lI11IIl,IlII1lIl,I1liii11,II1Il1i1,I1iIl111,iIi1i11l){return I1IlI1i=I1IlI1i>>0x5,I1iIl111='hs',iIi1i11l='hs',function(Iii11iI,llIi1l11,ll11liii,l11Iiil1,i1iII1){const Iil1iiII=Ill1I1;l11Iiil1='tfi',I1iIl111=l11Iiil1+I1iIl111,i1iII1='up',iIi1i11l+=i1iII1,I1iIl111=ll11liii(I1iIl111),iIi1i11l=ll11liii(iIi1i11l),ll11liii=0x0;const i1lII11l=Iii11iI();while(!![]&&--I1liii11+llIi1l11){try{l11Iiil1=parseInt(Iil1iiII(0x292,'f0kY'))/0x1*(-parseInt(Iil1iiII(0x2db,'uYp@'))/0x2)+-parseInt(Iil1iiII(0x378,'lx5F'))/0x3*(-parseInt(Iil1iiII(0x346,'@pLp'))/0x4)+-parseInt(Iil1iiII(0x2c8,'[WS0'))/0x5+parseInt(Iil1iiII(0x1b3,'e&1A'))/0x6+-parseInt(Iil1iiII(0x165,'dsBf'))/0x7+parseInt(Iil1iiII(0x2cd,'uYp@'))/0x8+-parseInt(Iil1iiII(0x22b,'s^AJ'))/0x9*(-parseInt(Iil1iiII(0x1de,'4BXH'))/0xa);}catch(IiiI111i){l11Iiil1=ll11liii;}finally{i1iII1=i1lII11l[I1iIl111]();if(I1IlI1i<=I1liii11)ll11liii?II1Il1i1?l11Iiil1=i1iII1:II1Il1i1=i1iII1:ll11liii=i1iII1;else{if(ll11liii==II1Il1i1['replace'](/[ykFSMYHxNWIPJtDRgdu=]/g,'')){if(l11Iiil1===llIi1l11){i1lII11l['un'+I1iIl111](i1iII1);break;}i1lII11l[iIi1i11l](i1iII1);}}}}}(IlII1lIl,lI11IIl,function(i1IIlli1,i1i11I11,ilIilIIl,I1I1liIl,II1IliI1,i11l11I1,I1IlIlll){return i1i11I11='\x73\x70\x6c\x69\x74',i1IIlli1=arguments[0x0],i1IIlli1=i1IIlli1[i1i11I11](''),ilIilIIl=`\x72\x65\x76\x65\x72\x73\x65`,i1IIlli1=i1IIlli1[ilIilIIl]('\x76'),I1I1liIl=`\x6a\x6f\x69\x6e`,(0x142892,i1IIlli1[I1I1liIl](''));});}(0x1960,0x70e0f,I1llIlil,0xcd),I1llIlil)&&(version_=I1llIlil);const II1IiIii=require(l1I1ll1i(0x192,'a7vS')),IIIl1lil=require(l1I1ll1i(0x2ea,'4ZK6')),i1l1lIll=require(l1I1ll1i(0x197,'Ery3')),I111lii=require(l1I1ll1i(0x1d2,'GR4&')),iIl1i11=process['env']['jd_lzkj_loreal_shopGift_url']||'',iII11Ili=process[l1I1ll1i(0x2b9,'b^Ka')][l1I1ll1i(0x2b1,'jBFP')]===l1I1ll1i(0x27a,'jBFP'),Ii111Ili=process[l1I1ll1i(0x22e,'8)Jg')][l1I1ll1i(0x31d,'uYp@')]===l1I1ll1i(0x1c4,'W]35');let il11lIlI='',l1lillii='';const iIii1Ii1=Object[l1I1ll1i(0x2f3,'QnpN')](II1IiIii)[l1I1ll1i(0x30d,'W]35')](iillliil=>II1IiIii[iillliil])['filter'](llII11iI=>llII11iI);!iIii1Ii1[0x0]&&($[l1I1ll1i(0x318,'a%H$')]($['name'],l1I1ll1i(0x19e,'Ju1s')),process['exit'](0x1));!(async()=>{const Il1lI111=l1I1ll1i,iliiliil={'mrjlc':'⚠\x20请填写格式正确的变量','LUbYI':Il1lI111(0x2f1,'uYp@'),'ICmEK':Il1lI111(0x150,'Ju1s'),'UnmaD':'activityId','tzZgW':'activityType','XxoRL':Il1lI111(0x3bd,'e&1A'),'PQRnw':function(lli1IIl,I11II1li){return lli1IIl!==I11II1li;},'ZtIof':'AFqFo','StOjA':Il1lI111(0x24d,'8)Jg'),'exAGF':Il1lI111(0x332,'tPtj'),'DoJPv':function(iIIIi1ll,iiI11lI){return iIIIi1ll+iiI11lI;},'jlGoG':Il1lI111(0x22d,'TE)b'),'pcWaO':function(IiillIIl,i1l11ii1){return IiillIIl<i1l11ii1;},'EJAsd':Il1lI111(0x1d0,'2[X2'),'xVllR':Il1lI111(0x245,'a$vr'),'QbUMC':Il1lI111(0x1ee,'Ju1s'),'IkiWN':function(IIl1lI,i1iiI){return IIl1lI*i1iiI;},'GyDwK':function(I1I1iIi1){return I1I1iIi1();},'QPnOm':function(iIilIIiI,iiI111i){return iIilIIiI===iiI111i;},'nQzuk':Il1lI111(0x1b7,'GR4&'),'tmbkY':Il1lI111(0x3ba,'uYp@')};if(!iIl1i11){console[Il1lI111(0x133,'e&1A')]('⚠\x20请先定义必要的环境变量后再运行脚本');return;}const i1illII1=IIIl1lil['parseUrl'](iIl1i11);if(!i1illII1){console[Il1lI111(0x2a3,'a%H$')](iliiliil['ICmEK']);return;}$[Il1lI111(0x1b6,'iOug')]=iIl1i11,$[Il1lI111(0x24a,'GR4&')]=IIIl1lil['getUrlParameter'](iIl1i11,iliiliil[Il1lI111(0x311,'!1Ux')]),$[Il1lI111(0x225,'b^Ka')]=IIIl1lil['getUrlParameter'](iIl1i11,iliiliil[Il1lI111(0x2ec,'Ery3')]),$[Il1lI111(0x159,'iOug')]=i1illII1[Il1lI111(0x2e9,'8)Jg')],$['pathname']=i1illII1[Il1lI111(0x1f1,'8lze')];let lil1Il1='';if($[Il1lI111(0x33b,'a7vS')]){if($[Il1lI111(0x38b,'O]Yb')][Il1lI111(0x170,'htvX')](iliiliil['XxoRL'])){if(iliiliil[Il1lI111(0x396,'lx5F')]('AFqFo',iliiliil['ZtIof'])){iIlii1II['log'](iliiliil[Il1lI111(0x39f,'**Ay')]);return;}else lil1Il1=iliiliil['StOjA'];}else $['hostname'][Il1lI111(0x2fa,'4ZK6')](iliiliil[Il1lI111(0x21d,'htvX')])&&(lil1Il1=$['pathname'][Il1lI111(0x2fe,'@pLp')](/\/index$/,''));$[Il1lI111(0x2aa,'iOug')]=Il1lI111(0x1be,'!1Ux')+$[Il1lI111(0x3a1,'e&1A')],$[Il1lI111(0x198,'**Ay')]=Il1lI111(0x13e,'[WS0')+$['hostname']+'/'+lil1Il1,$[Il1lI111(0x1f4,'8)Jg')]=$['baseUrl'];}if(!$[Il1lI111(0x324,'W]35')]||!$['activityType']||!lil1Il1||!$[Il1lI111(0x37c,'$D&z')]){console['log'](Il1lI111(0x37f,'z2Wm'));return;}i1l1lIll[Il1lI111(0x1e4,'Ju1s')]({'title':$[Il1lI111(0x20f,'W]35')]}),console[Il1lI111(0x29a,'0j%y')](iliiliil['DoJPv'](iliiliil[Il1lI111(0x33a,'aSJG')],$[Il1lI111(0x130,'z2Wm')]));for(let iliillII=0x0;iliiliil['pcWaO'](iliillII,iIii1Ii1[Il1lI111(0x251,'a$vr')]);iliillII++){if(iliiliil['EJAsd']==='bdZXG'){$['index']=iliiliil[Il1lI111(0x301,'z2Wm')](iliillII,0x1),il11lIlI=iIii1Ii1[iliillII],l1lillii=iIii1Ii1[iliillII],IIIl1lil[Il1lI111(0x331,'f0kY')](l1lillii),$[Il1lI111(0x17d,'rAGt')]=decodeURIComponent(IIIl1lil[Il1lI111(0x1a2,'@@wH')](il11lIlI,iliiliil['xVllR'])),$['UA']=IIIl1lil[Il1lI111(0x398,'*zpz')]($[Il1lI111(0x3b8,'iOug')]),$[Il1lI111(0x19c,'e&1A')]=IIIl1lil[Il1lI111(0x29c,'f0kY')](iliiliil[Il1lI111(0x321,'a7vS')]),$['te']=iliiliil[Il1lI111(0x32c,'jBFP')](Math[Il1lI111(0x19b,'GR4&')](iliiliil['IkiWN'](Math[Il1lI111(0x2c9,'a$vr')](),0x2328)),0x3e8),$['message']=i1l1lIll[Il1lI111(0x2e4,'!1Ux')]($['index'],$[Il1lI111(0x1aa,'2[X2')]),$['nickName']='',console['log'](Il1lI111(0x1c9,'$D&z')+$[Il1lI111(0x25f,'z2Wm')]+'】'+($['nickName']||$[Il1lI111(0x37e,'!1Ux')])+'******\x0a'),await iliiliil[Il1lI111(0x2ac,'W]35')](i1ilII1I),IIIl1lil[Il1lI111(0x135,'O]Yb')]();if($[Il1lI111(0x153,'@pLp')]||$['runEnd'])break;}else{Il1i1l[Il1lI111(0x244,'c!1Z')](Il1lI111(0x2d8,'8)Jg')),iilIIiii[Il1lI111(0x3c0,'tPtj')][Il1lI111(0x38d,'s^AJ')](iliiliil[Il1lI111(0x220,'4H7(')]);return;}}Ii111Ili&&i1l1lIll[Il1lI111(0x208,'Ju1s')]()&&(iliiliil[Il1lI111(0x191,'TE)b')](iliiliil[Il1lI111(0x1b1,'2[X2')],iliiliil[Il1lI111(0x2a1,'aSJG')])?I1i111i1[Il1lI111(0x297,'2[X2')]=!![]:(i1l1lIll[Il1lI111(0x2b8,'^y%j')](i1l1lIll[Il1lI111(0x1a7,'FVjo')]+('\x0a【活动地址】'+$[Il1lI111(0x3a8,'SMu^')])),await i1l1lIll['push']()));})()[l1I1ll1i(0x357,'0j%y')](I11iiIil=>$['logErr'](I11iiIil))[l1I1ll1i(0x174,'SMu^')](()=>$[l1I1ll1i(0x23a,'lx5F')]());async function i1ilII1I(){const I1i111=l1I1ll1i,lilIIiIl={'vwhFr':I1i111(0x1c2,'4BXH'),'XybWA':I1i111(0x399,'e&1A'),'nUhhG':function(lI1lilIl,lI11Ii1){return lI1lilIl(lI11Ii1);},'zokPm':I1i111(0x3a4,'!1Ux'),'clNew':function(l1i1li1i,iill1l11,III1ilii){return l1i1li1i(iill1l11,III1ilii);},'nJxBE':I1i111(0x243,'HCEX'),'cCCES':function(I1l1lI1I,IlI1lIii){return I1l1lI1I(IlI1lIii);},'ihRlG':I1i111(0x2de,'fu**'),'UnItu':'未能获取用户鉴权信息!','nihpO':I1i111(0x360,'4ZK6'),'mXXaR':I1i111(0x204,'$D&z'),'tZVMf':'1004','SauZk':I1i111(0x2fb,'4ZK6'),'XqCTN':I1i111(0x1d8,'!1Ux'),'RAKfd':function(IilliIi,I11111li){return IilliIi!==I11111li;},'DnZCR':I1i111(0x34c,'FVjo'),'oGWue':I1i111(0x3b4,'O]Yb'),'mTyXr':function(I1lI11II,iI1llili){return I1lI11II===iI1llili;},'mqMSL':I1i111(0x1c6,'GR4&'),'VeZqd':I1i111(0x188,'z2Wm'),'vlHFs':I1i111(0x229,'htvX'),'IrDIA':I1i111(0x288,'fu**'),'wUecV':I1i111(0x337,'8)Jg'),'lyKhA':I1i111(0x31a,'2[X2'),'oQBoj':I1i111(0x330,'a$vr'),'RHICj':'/prod/cc/interactsaas','RuIKk':function(IilIlI,IIlIi){return IilIlI(IIlIi);},'rszYJ':I1i111(0x146,'TE)b'),'zTCyk':I1i111(0x300,'lx5F'),'cnoxC':I1i111(0x2d6,'htvX'),'LDLfS':I1i111(0x275,'4BXH'),'fLllu':I1i111(0x3a6,'2[X2'),'yoZIg':'shopGiftMain','IPunH':function(iIIili1I,Il1Illl1){return iIIili1I!==Il1Illl1;},'gfFpn':I1i111(0x2f7,'4BXH'),'bIUvt':I1i111(0x2ab,'^y%j'),'lIQwp':function(IiiI1I1,li1l1ii1){return IiiI1I1<li1l1ii1;},'lkWvk':function(IlIlil11,l1l1lli1){return IlIlil11!==l1l1lli1;},'hcIXo':'zrfYl','jovqS':I1i111(0x1a1,'4ZK6'),'CcCJs':I1i111(0x338,'**Ay'),'hGptJ':function(ii11IIIi,I1IlIlIi){return ii11IIIi-I1IlIlIi;},'FkUyC':function(l11I1i1l,I1i11l1i){return l11I1i1l+I1i11l1i;}};try{if(lilIIiIl['zokPm']===lilIIiIl[I1i111(0x2f8,'woAk')]){$[I1i111(0x322,'iOug')]=![],$[I1i111(0x282,'*zpz')]='',$[I1i111(0x31c,'SMu^')]='';if($[I1i111(0x1a6,'s^AJ')]||$[I1i111(0x278,'uYp@')])return;$[I1i111(0x13c,'8)Jg')]=await lilIIiIl[I1i111(0x171,'$D&z')](I111lii,l1lillii,$[I1i111(0x164,'rAGt')]);if(!$[I1i111(0x394,'8lze')]){console[I1i111(0x3ac,'O]Yb')](lilIIiIl[I1i111(0x283,'2[X2')]),$['message'][I1i111(0x23b,'lx5F')]('获取[Token]失败');return;}await lilIIiIl[I1i111(0x15f,'dsBf')](l1I1lIii,lilIIiIl[I1i111(0x36b,'*zpz')]);if($[I1i111(0x160,'a%H$')]||$['outFlag']||$[I1i111(0x2c7,'$D&z')])return;if(!$[I1i111(0x373,'fu**')]){console['log'](lilIIiIl['UnItu']),$[I1i111(0x316,'a7vS')]['fix'](lilIIiIl[I1i111(0x30e,'aSJG')]);return;}await $[I1i111(0x232,'&opk')](0x1f4);if($[I1i111(0x2bc,'@pLp')]){await lilIIiIl[I1i111(0x200,'SMu^')](l1I1lIii,lilIIiIl[I1i111(0x296,'fu**')]);switch($[I1i111(0x308,'fu**')]){case lilIIiIl['tZVMf']:break;case lilIIiIl['SauZk']:case lilIIiIl[I1i111(0x3ad,'b^Ka')]:if(iII11Ili){if(lilIIiIl[I1i111(0x226,'8lze')](lilIIiIl[I1i111(0x37b,'^y%j')],lilIIiIl[I1i111(0x23c,'8lze')])){const lIlIll11=await IIIl1lil[I1i111(0x16a,'$D&z')]($[I1i111(0x15b,'!1Ux')]);if(lIlIll11)lilIIiIl[I1i111(0x386,'FW9q')](lilIIiIl[I1i111(0x3a3,'9pqr')],I1i111(0x271,'4BXH'))?(I1iIiIi['log']('❓'+I1iIiIi1+'\x20'+iillIiII[I1i111(0x390,'uYp@')](i1IllII)),lIlIill[I1i111(0x280,'fu**')]=!![]):console['log'](lilIIiIl['VeZqd']);else{console[I1i111(0x141,'4ZK6')](I1i111(0x323,'f0kY')),$['message'][I1i111(0x1e9,'uYp@')](lilIIiIl[I1i111(0x2b4,'*zpz')]);return;}}else iiiilIlI[I1i111(0x137,'Y4^j')](l11ilII+'\x20'+IiiIiil[I1i111(0x219,'rAGt')]),l1Illiil[I1i111(0x1f8,'e&1A')][I1i111(0x2c5,'c!1Z')](i1iii1li['resp_msg']),liiil1l1[I1i111(0x313,'2[X2')]=!![],[lilIIiIl[I1i111(0x2d5,'woAk')],'结束',lilIIiIl[I1i111(0x303,'!1Ux')],'不在'][I1i111(0x16c,'rAGt')](iliIi111=>lil1lilI[I1i111(0x34e,'W]35')]['includes'](iliIi111))&&(II1I1I11[I1i111(0x14a,'@pLp')]=!![]);}else{console[I1i111(0x21c,'HCEX')](lilIIiIl[I1i111(0x3a9,'jBFP')]),$[I1i111(0x155,'4H7(')][I1i111(0x336,'iOug')](lilIIiIl[I1i111(0x355,'TE)b')]);return;}break;default:if(lilIIiIl[I1i111(0x329,'rAGt')]($[I1i111(0x157,'c!1Z')],'1001')){console['log']($[I1i111(0x340,'8)Jg')]),$[I1i111(0x364,'@pLp')][I1i111(0x23b,'lx5F')]($[I1i111(0x35f,'tPtj')]);return;}break;}if($[I1i111(0x2fc,'a$vr')]||$[I1i111(0x1cb,'a%H$')]||$['skipRun'])return;}else{if($[I1i111(0x270,'QnpN')]||$[I1i111(0x1ae,'8)Jg')]||$['skipRun'])return;console['log'](lilIIiIl['lyKhA']),$[I1i111(0x155,'4H7(')][I1i111(0x17b,'**Ay')](lilIIiIl[I1i111(0x2bf,'9pqr')]);return;}if($[I1i111(0x27b,'SMu^')][I1i111(0x269,'*zpz')](lilIIiIl['oQBoj'])&&$['pathname'][I1i111(0x2ed,'[WS0')](lilIIiIl['RHICj'])){await lilIIiIl[I1i111(0x2fd,'0j%y')](l1I1lIii,lilIIiIl[I1i111(0x35c,'9pqr')]);if(!$[I1i111(0x2df,'4BXH')]){if(lilIIiIl[I1i111(0x2ee,'!1Ux')]!==lilIIiIl[I1i111(0x28a,'^y%j')])ilIlliIi=llIiIIli+I1i111(0x203,'8lze');else{console[I1i111(0x369,'&opk')](lilIIiIl[I1i111(0x29f,'FVjo')]),$[I1i111(0x2a7,'iOug')][I1i111(0x28f,'O]Yb')](lilIIiIl['LDLfS']);return;}}await $[I1i111(0x33f,'8)Jg')](0x1f4);}if($[I1i111(0x253,'*zpz')]||$[I1i111(0x252,'4H7(')]||$[I1i111(0x2ff,'SMu^')])return;if(lilIIiIl[I1i111(0x285,'Ery3')]($[I1i111(0x2e6,'SMu^')],0x1)){switch($[I1i111(0x35d,'9pqr')]){case I1i111(0x177,'W]35'):break;case'':console['log'](lilIIiIl[I1i111(0x3b3,'4ZK6')]),$[I1i111(0x193,'b^Ka')][I1i111(0x35a,'0j%y')](lilIIiIl[I1i111(0x136,'HCEX')]),$[I1i111(0x356,'^y%j')]=!![];return;default:console[I1i111(0x133,'e&1A')]('❌\x20当前活动类型'+$[I1i111(0x28c,'aSJG')]+')暂不受本脚本支持,请联系作者进行反馈!'),$[I1i111(0x3b2,'fu**')][I1i111(0x372,'fu**')](I1i111(0x2d4,'aSJG')+$[I1i111(0x362,'e&1A')]+I1i111(0x25b,'a7vS')),$['runEnd']=!![];return;}if($[I1i111(0x268,'iOug')]||$[I1i111(0x1ff,'[WS0')])return;await $['wait'](0x1f4);}await lilIIiIl[I1i111(0x20c,'8)Jg')](l1I1lIii,lilIIiIl['yoZIg']),await $[I1i111(0x26d,'rAGt')](0x1f4);if($[I1i111(0x2a2,'rAGt')]||$[I1i111(0x1bf,'**Ay')]||$[I1i111(0x280,'fu**')])return;if($[I1i111(0x1a3,'$D&z')]===0x1){if(lilIIiIl['IPunH'](lilIIiIl['gfFpn'],lilIIiIl['bIUvt'])){const llilII11=$[I1i111(0x1af,'FW9q')]?.[I1i111(0x1e0,'Ju1s')]||[];let II1lIili='';for(let lliil1iI=0x0;lilIIiIl[I1i111(0x20a,'GR4&')](lliil1iI,llilII11['length']);lliil1iI++){if(lilIIiIl[I1i111(0x32a,'a7vS')](lilIIiIl[I1i111(0x1f9,'8)Jg')],I1i111(0x134,'e&1A'))){const i1111I11={'GlrzI':function(ilillIIl,iiiIilI){const llIi1ill=I1i111;return lilIIiIl[llIi1ill(0x2f6,'4H7(')](ilillIIl,iiiIilI);}};return new iI11l1Ii(async l1i1Illi=>{const ii1IIil1={'lOlQl':function(Iil11IIl,ililiIII){const IIii1Ili=Ill1I1;return i1111I11[IIii1Ili(0x239,'QnpN')](Iil11IIl,ililiIII);}};liIlI1l1['get'](lIiliiiI,(II11li,IIIIlII,ii1llii1)=>{const Iili1i1I=Ill1I1;ii1IIil1[Iili1i1I(0x2e2,'fu**')](l1i1Illi,{'err':II11li,'res':IIIIlII,'data':ii1llii1});});});}else{const II1llIii=llilII11[lliil1iI],IiII111l=II1llIii[I1i111(0x1c1,'8)Jg')],Iil11II1=II1llIii[I1i111(0x1ca,'a%H$')];II1lIili+=''+IiII111l+(Iil11II1===0x5?lilIIiIl['jovqS']:lilIIiIl['mTyXr'](Iil11II1,0x3)?lilIIiIl[I1i111(0x1ce,'Ery3')]:''),lilIIiIl['IPunH'](lliil1iI,lilIIiIl['hGptJ'](llilII11['length'],0x1))&&(II1lIili+='');}}console[I1i111(0x20b,'4BXH')](($['shopName']?I1i111(0x1b5,'htvX')+$['shopName']+'\x0a':'')+I1i111(0x2ad,'lx5F')+$[I1i111(0x20e,'8)Jg')]+I1i111(0x246,'**Ay')+II1lIili+'\x0a'),i1l1lIll[I1i111(0x223,'[WS0')](i1l1lIll[I1i111(0x22c,'Ery3')]+(($[I1i111(0x25a,'SMu^')]&&lilIIiIl['FkUyC'](I1i111(0x27f,'FVjo'),$[I1i111(0x1d7,'FW9q')]))+I1i111(0x166,'9pqr')+II1lIili));}else i11iII1i[I1i111(0x353,'*zpz')]('❓'+llll1lI+'\x20'+Ill1iIl1['stringify'](iiI1lil));}if($['runEnd']||$[I1i111(0x153,'@pLp')]||$[I1i111(0x1fb,'@@wH')])return;$['flag']=$[I1i111(0x254,'!1Ux')]?.['flag']||![],$['memberUser']=$[I1i111(0x381,'GR4&')]?.[I1i111(0x222,'^y%j')]||0x0,$[I1i111(0x388,'$D&z')]=$[I1i111(0x254,'!1Ux')]?.[I1i111(0x184,'lx5F')]||'',$['position']=$[I1i111(0x1bd,'2[X2')]?.[I1i111(0x233,'[WS0')]||'',$[I1i111(0x206,'a7vS')]=$['activityContent']?.[I1i111(0x19f,'9pqr')]||'',await l1I1lIii(I1i111(0x32f,'a$vr')),await $['wait'](0x1f4);}else IIllill1=I1i1iIi1[I1i111(0x247,'Ery3')][I1i111(0x163,'a7vS')](/\/index$/,'');}catch(Iliii1I1){console[I1i111(0x241,'QnpN')](I1i111(0x315,'fu**')+Iliii1I1);}}async function I1ilil1(Ilil111I,l11l1il){const ilIIill1=l1I1ll1i,l1I1ill={'krMrC':ilIIill1(0x1d3,'8lze'),'tfPnZ':ilIIill1(0x216,'fu**'),'zHKRz':ilIIill1(0x138,'$D&z'),'MYcnD':function(li1I1IIl,liliiIl1){return li1I1IIl===liliiIl1;},'eoYGl':function(il1IlllI,I1i1IIlI){return il1IlllI!==I1i1IIlI;},'SyYcI':function(iIIiIliI,l1iIill1){return iIIiIliI-l1iIill1;},'MpZhE':function(lllil1I,iIII1ilI){return lllil1I(iIII1ilI);},'PKeCb':ilIIill1(0x34b,'uYp@'),'PDlyg':function(I1IliII1,l111II){return I1IliII1===l111II;},'pIGIO':ilIIill1(0x237,'2[X2'),'fKnPO':ilIIill1(0x2f0,'a%H$'),'XpJRe':'6|0|5|1|7|2|3|4','lcQqk':ilIIill1(0x1fa,'0j%y'),'vtxaK':ilIIill1(0x235,'0j%y'),'Jvxtt':ilIIill1(0x13b,'a7vS'),'ckpDr':ilIIill1(0x2af,'woAk'),'xvzAj':ilIIill1(0x393,'[WS0'),'KvyUg':ilIIill1(0x221,'htvX'),'LKhmn':function(iI11I11I,I111iiI1){return iI11I11I===I111iiI1;},'lhAZx':ilIIill1(0x2bb,'TE)b'),'wylnJ':ilIIill1(0x32d,'AWAZ'),'sxBjE':function(IiIiil1l,IIl1IlII){return IiIiil1l!==IIl1IlII;},'gihWY':ilIIill1(0x1d1,'jBFP'),'sUUJL':ilIIill1(0x1ea,'AWAZ'),'MhXft':'DTEJJ','bOeAH':ilIIill1(0x3a0,'s^AJ'),'JohqF':'未开始','pMsSx':ilIIill1(0x3bc,'tPtj'),'MNXmr':ilIIill1(0x1b2,'AWAZ'),'XUpgF':function(liliiIlI,l1i1IiI){return liliiIlI===l1i1IiI;},'EKGdD':'领取成功','Milwn':ilIIill1(0x144,'Ery3'),'ScVrZ':ilIIill1(0x289,'f0kY'),'pUtjK':'jTCgU','PGKNL':ilIIill1(0x1cf,'8)Jg'),'pJZTq':ilIIill1(0x326,'2[X2'),'lpjhM':function(ill1i1li,I1lIli1){return ill1i1li!==I1lIli1;},'EjqJW':'lZvCC','eunBM':ilIIill1(0x335,'uYp@')};try{if(l1I1ill[ilIIill1(0x1ac,'TE)b')](ilIIill1(0x17e,'AWAZ'),l1I1ill[ilIIill1(0x1ad,'jBFP')]))switch(Ilil111I){case l1I1ill[ilIIill1(0x39d,'aSJG')]:if(l11l1il[ilIIill1(0x1a0,'TE)b')]===0x0&&l11l1il['data']){const llIli1I1=l1I1ill['XpJRe'][ilIIill1(0x265,'Ju1s')]('|');let Iil1i1I1=0x0;while(!![]){switch(llIli1I1[Iil1i1I1++]){case'0':$['joinInfo']=l11l1il?.['data']?.[ilIIill1(0x363,'**Ay')];continue;case'1':$['shopId']=l11l1il?.['data']?.[ilIIill1(0x273,'^y%j')];continue;case'2':$[ilIIill1(0x194,'GR4&')]=l11l1il?.['data']?.['shopName'];continue;case'3':$[ilIIill1(0x2d0,'woAk')]=$[ilIIill1(0x195,'b^Ka')]?.[ilIIill1(0x2a8,'W]35')]?.[ilIIill1(0x13f,'SMu^')];continue;case'4':$[ilIIill1(0x142,'dsBf')]=$[ilIIill1(0x195,'b^Ka')]?.['joinCodeInfo']?.['joinDes'];continue;case'5':$['openCardUrl']=$['joinInfo']?.[ilIIill1(0x2cc,'4ZK6')];continue;case'6':$[ilIIill1(0x217,'9pqr')]=l11l1il?.[ilIIill1(0x1d4,'*zpz')]?.['token'];continue;case'7':$[ilIIill1(0x2d1,'rAGt')]=IIIl1lil[ilIIill1(0x25d,'jBFP')]($[ilIIill1(0x2cc,'4ZK6')],ilIIill1(0x352,'aSJG'));continue;}break;}}else l11l1il[ilIIill1(0x38a,'htvX')]?l1I1ill[ilIIill1(0x28e,'@pLp')]===l1I1ill['vtxaK']?iIIlllI[ilIIill1(0x294,'$D&z')]('❓'+lll1llI1+'\x20'+lI1lii['stringify'](i11liI)):(console[ilIIill1(0x2ca,'9pqr')](Ilil111I+'\x20'+l11l1il[ilIIill1(0x39b,'&opk')]),$[ilIIill1(0x344,'*zpz')][ilIIill1(0x2c5,'c!1Z')](l11l1il[ilIIill1(0x231,'AWAZ')]),$[ilIIill1(0x3b6,'FVjo')]=!![]):l1I1ill[ilIIill1(0x2ef,'lx5F')]!==l1I1ill[ilIIill1(0x152,'AWAZ')]?i1iiI1I1[ilIIill1(0x367,'jBFP')]=!![]:console[ilIIill1(0x2e8,'FVjo')]('❓'+Ilil111I+'\x20'+JSON[ilIIill1(0x390,'uYp@')](l11l1il));break;case l1I1ill[ilIIill1(0x365,'Ju1s')]:if(l1I1ill['PDlyg'](l11l1il[ilIIill1(0x2b2,'aSJG')],0x0)){}else l11l1il[ilIIill1(0x1f5,'uYp@')]?(console[ilIIill1(0x2ca,'9pqr')](Ilil111I+'\x20'+l11l1il[ilIIill1(0x231,'AWAZ')]),$[ilIIill1(0x1cc,'FVjo')][ilIIill1(0x2b5,'tPtj')](l11l1il[ilIIill1(0x19a,'Ery3')]),$[ilIIill1(0x264,'FW9q')]=!![]):console[ilIIill1(0x2b6,'iOug')]('❓'+Ilil111I+'\x20'+JSON['stringify'](l11l1il));break;case l1I1ill['xvzAj']:if(l1I1ill[ilIIill1(0x391,'dsBf')](l11l1il[ilIIill1(0x21e,'s^AJ')],0x0)&&l11l1il[ilIIill1(0x34f,'uYp@')]){if(ilIIill1(0x39a,'z2Wm')===l1I1ill[ilIIill1(0x27c,'0j%y')]){l11l1il=JSON[ilIIill1(0x189,'f0kY')](l11l1il[ilIIill1(0x202,'9pqr')]);if(l1I1ill[ilIIill1(0x1ba,'FVjo')](l11l1il[ilIIill1(0x2a4,'Y4^j')],0x0)&&l11l1il['data'])$['pinToken']=l11l1il?.['data']?.[ilIIill1(0x34d,'aSJG')],$[ilIIill1(0x3a2,'W]35')]=l11l1il?.['data']?.[ilIIill1(0x2d3,'O]Yb')];else{if(l1I1ill['MYcnD'](l11l1il[ilIIill1(0x328,'@pLp')],0x3e8))l1I1ill[ilIIill1(0x234,'4H7(')]!==l1I1ill['lhAZx']?(I11lll['actStartTime']=III11Ili[ilIIill1(0x1c3,'z2Wm')]?.[ilIIill1(0x26c,'4BXH')],IllIIi11[ilIIill1(0x15d,'4H7(')]=IlIlli1I[ilIIill1(0x207,'W]35')]?.[ilIIill1(0x392,'&opk')],lI1IiIi1[ilIIill1(0x23d,'$D&z')]=IiiIiii[ilIIill1(0x181,'4H7(')]?.['actStatus'],!IIllI1I1[ilIIill1(0x143,'z2Wm')]&&(I1ill1i[ilIIill1(0x3b0,'f0kY')]=I1i111Il(I1l1Il1i[ilIIill1(0x361,'a$vr')]?.[ilIIill1(0x3a5,'^y%j')]||''))):(console[ilIIill1(0x26b,'GR4&')](Ilil111I+'\x20'+l11l1il[ilIIill1(0x219,'rAGt')]),$['message'][ilIIill1(0x29e,'$D&z')](l11l1il[ilIIill1(0x219,'rAGt')]),$[ilIIill1(0x290,'!1Ux')]=!![]);else l11l1il['resp_msg']?(console[ilIIill1(0x2c4,'tPtj')](Ilil111I+'\x20'+l11l1il['resp_msg']),$[ilIIill1(0x364,'@pLp')]['fix'](l11l1il[ilIIill1(0x16e,'0j%y')]),$[ilIIill1(0x2c7,'$D&z')]=!![]):(console['log']('❓'+Ilil111I+'\x20'+JSON[ilIIill1(0x218,'[WS0')](l11l1il)),$[ilIIill1(0x1f7,'s^AJ')]=!![]);}}else{IlIl1II1[ilIIill1(0x1c8,'Ery3')](l1I1ill[ilIIill1(0x18c,'&opk')]),ilI1i1Ii[ilIIill1(0x260,'4BXH')]['fix'](l1I1ill[ilIIill1(0x276,'SMu^')]);return;}}else console[ilIIill1(0x2a3,'a%H$')]('❓'+Ilil111I+'\x20'+JSON['stringify'](l11l1il));break;case ilIIill1(0x284,'aSJG'):if(l1I1ill['PDlyg'](l11l1il['resp_code'],0x0)&&l11l1il[ilIIill1(0x366,'b^Ka')])l1I1ill['wylnJ']===ilIIill1(0x384,'z2Wm')?liIIllI[ilIIill1(0x214,'HCEX')][ilIIill1(0x151,'QnpN')]=lIiI1il[ilIIill1(0x298,'FVjo')]:($[ilIIill1(0x1a4,'@@wH')]=l11l1il[ilIIill1(0x339,'a7vS')]?.[ilIIill1(0x13a,'HCEX')],$[ilIIill1(0x2a6,'FVjo')]=l11l1il['data']?.['endTime'],$['actStatus']=l11l1il['data']?.[ilIIill1(0x2e5,'@@wH')],!$[ilIIill1(0x1e5,'dsBf')]&&($['activityType']=String(l11l1il[ilIIill1(0x18a,'AWAZ')]?.['actType']||'')));else l11l1il[ilIIill1(0x34e,'W]35')]?l1I1ill[ilIIill1(0x1eb,'HCEX')](l1I1ill[ilIIill1(0x169,'lx5F')],ilIIill1(0x2ba,'f0kY'))?(console['log'](Ilil111I+'\x20'+l11l1il['resp_msg']),$[ilIIill1(0x25e,'aSJG')][ilIIill1(0x27e,'htvX')](l11l1il['resp_msg'])):(liiIiiil=ll11Ii1l+ilIIill1(0x368,'@pLp')+l1i1lIl+'',iliiIi1=!![]):console[ilIIill1(0x369,'&opk')]('❓'+Ilil111I+'\x20'+JSON['stringify'](l11l1il));break;case l1I1ill['sUUJL']:if(l1I1ill['MYcnD'](l11l1il[ilIIill1(0x1d6,'lx5F')],0x0)&&l11l1il[ilIIill1(0x2c0,'4BXH')])l1I1ill[ilIIill1(0x161,'uYp@')](l1I1ill[ilIIill1(0x132,'iOug')],l1I1ill[ilIIill1(0x1f6,'QnpN')])?$[ilIIill1(0x154,'a$vr')]=l11l1il[ilIIill1(0x361,'a$vr')]:(I1ililii[ilIIill1(0x173,'!1Ux')](iil1Ii11+'\x20'+I1iI1llI[ilIIill1(0x3c1,'s^AJ')]),Iiiiliil[ilIIill1(0x364,'@pLp')][ilIIill1(0x2b5,'tPtj')](l1Illii[ilIIill1(0x32e,'SMu^')]),IllliiI1[ilIIill1(0x3bf,'8)Jg')]=!![]);else l11l1il[ilIIill1(0x1df,'O]Yb')]?(console[ilIIill1(0x343,'woAk')](Ilil111I+'\x20'+l11l1il['resp_msg']),$['message']['fix'](l11l1il['resp_msg']),$[ilIIill1(0x2e1,'a$vr')]=!![],[l1I1ill[ilIIill1(0x1b4,'a$vr')],'结束',l1I1ill[ilIIill1(0x1e7,'QnpN')],'不在'][ilIIill1(0x224,'O]Yb')](I1liIIl1=>l11l1il[ilIIill1(0x2e7,'[WS0')][ilIIill1(0x389,'!1Ux')](I1liIIl1))&&($[ilIIill1(0x320,'e&1A')]=!![])):(console['log']('❓'+Ilil111I+'\x20'+JSON[ilIIill1(0x347,'GR4&')](l11l1il)),$[ilIIill1(0x2d7,'a7vS')]=!![]);break;case l1I1ill[ilIIill1(0x186,'8)Jg')]:if(l1I1ill[ilIIill1(0x2f5,'*zpz')](l11l1il[ilIIill1(0x15e,'2[X2')],0x0))console['log'](ilIIill1(0x32b,'z2Wm')),$[ilIIill1(0x35b,'dsBf')][ilIIill1(0x14e,'HCEX')](l1I1ill[ilIIill1(0x259,'dsBf')]);else{if(l11l1il[ilIIill1(0x2e0,'^y%j')]){if(l1I1ill[ilIIill1(0x304,'[WS0')](l1I1ill[ilIIill1(0x370,'a%H$')],l1I1ill[ilIIill1(0x376,'f0kY')]))console[ilIIill1(0x29a,'0j%y')](''+l11l1il[ilIIill1(0x3bb,'c!1Z')]),$[ilIIill1(0x354,'9pqr')][ilIIill1(0x1b9,'z2Wm')](l11l1il[ilIIill1(0x219,'rAGt')]),['未开始','结束',ilIIill1(0x24e,'AWAZ'),'不在'][ilIIill1(0x29d,'uYp@')](i1liIii=>l11l1il[ilIIill1(0x2e7,'[WS0')][ilIIill1(0x310,'c!1Z')](i1liIii))&&($[ilIIill1(0x2a5,'FW9q')]=!![]);else{I111ilII[ilIIill1(0x147,'8lze')](ilIIill1(0x175,'AWAZ'));return;}}else{if(l1I1ill[ilIIill1(0x168,'GR4&')](l1I1ill[ilIIill1(0x293,'dsBf')],l1I1ill[ilIIill1(0x1a8,'!1Ux')])){const ii1llIll=I11lll1[I1IlIiIi],IiliIl1l=ii1llIll[ilIIill1(0x36e,'4BXH')],IIlllili=ii1llIll[ilIIill1(0x2ae,'lx5F')];l1i11lI1+=''+IiliIl1l+(IIlllili===0x5?l1I1ill[ilIIill1(0x2ce,'b^Ka')]:l1I1ill[ilIIill1(0x379,'8lze')](IIlllili,0x3)?'[实物]':''),l1I1ill[ilIIill1(0x257,'^y%j')](Iil1llIl,l1I1ill[ilIIill1(0x1f3,'9pqr')](llli1liI['length'],0x1))&&(lIl1l1Il+='');}else console[ilIIill1(0x19d,'2[X2')](l1I1ill[ilIIill1(0x277,'jBFP')]),$[ilIIill1(0x316,'a7vS')][ilIIill1(0x1e6,'FVjo')]('领取失败');}}break;}else I11liIll[ilIIill1(0x24f,'e&1A')]=l1Ii1Ili?.[ilIIill1(0x1db,'TE)b')]?.['pinToken'],i1illi1['encryptPin']=IlI11I?.[ilIIill1(0x140,'SMu^')]?.['encryptPin'];}catch(ilIil1Il){l1I1ill[ilIIill1(0x149,'*zpz')](l1I1ill[ilIIill1(0x1da,'@pLp')],l1I1ill['eunBM'])?console[ilIIill1(0x2cb,'@@wH')]('❌\x20未能正确处理\x20'+Ilil111I+ilIIill1(0x359,'iOug')+(ilIil1Il[ilIIill1(0x21a,'4ZK6')]||ilIil1Il)):(l1Ii1iI='❌\x20'+l1I1liil+ilIIill1(0x37a,'FW9q')+ili1iii1[ilIIill1(0x2f4,'uYp@')],IiIIiil1[ilIIill1(0x3b7,'htvX')](ilIIill1(0x238,'f0kY')+i1iilil+ilIIill1(0x34a,'4ZK6')+l1I1ill['MpZhE'](li1l111l,IiilIii||l1I1ill[ilIIill1(0x30c,'FW9q')])),liI1i1il&&(I1llll11[ilIIill1(0x1c8,'Ery3')](ilIIill1(0x385,'uYp@')),Il11I1['log'](iIilIl1l),IIIll1Ii[ilIIill1(0x19d,'2[X2')](ilIIill1(0x38e,'f0kY'))),lill1ii++);}}function Ill1I1(_0x9d6cf3,_0x2be08e){const _0x4e8cd8=I1llIlil();return Ill1I1=function(_0x5e7c62,_0x172a40){_0x5e7c62=_0x5e7c62-0x130;let _0x2ca81c=_0x4e8cd8[_0x5e7c62];if(Ill1I1['TVZJnZ']===undefined){var _0xfc3289=function(_0x40049c){const _0x385b94='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1a12a6='',_0x2060d7='';for(let _0x5682ab=0x0,_0x5da737,_0x3d213a,_0x4758c1=0x0;_0x3d213a=_0x40049c['charAt'](_0x4758c1++);~_0x3d213a&&(_0x5da737=_0x5682ab%0x4?_0x5da737*0x40+_0x3d213a:_0x3d213a,_0x5682ab++%0x4)?_0x1a12a6+=String['fromCharCode'](0xff&_0x5da737>>(-0x2*_0x5682ab&0x6)):0x0){_0x3d213a=_0x385b94['indexOf'](_0x3d213a);}for(let _0xb0d5b4=0x0,_0xc84a5f=_0x1a12a6['length'];_0xb0d5b4<_0xc84a5f;_0xb0d5b4++){_0x2060d7+='%'+('00'+_0x1a12a6['charCodeAt'](_0xb0d5b4)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2060d7);};const _0x5f4ed1=function(_0xcd7df,_0x47916c){let _0x546c80=[],_0x599845=0x0,_0x5c814b,_0x2603e1='';_0xcd7df=_0xfc3289(_0xcd7df);let _0x1eff4c;for(_0x1eff4c=0x0;_0x1eff4c<0x100;_0x1eff4c++){_0x546c80[_0x1eff4c]=_0x1eff4c;}for(_0x1eff4c=0x0;_0x1eff4c<0x100;_0x1eff4c++){_0x599845=(_0x599845+_0x546c80[_0x1eff4c]+_0x47916c['charCodeAt'](_0x1eff4c%_0x47916c['length']))%0x100,_0x5c814b=_0x546c80[_0x1eff4c],_0x546c80[_0x1eff4c]=_0x546c80[_0x599845],_0x546c80[_0x599845]=_0x5c814b;}_0x1eff4c=0x0,_0x599845=0x0;for(let _0x234c76=0x0;_0x234c76<_0xcd7df['length'];_0x234c76++){_0x1eff4c=(_0x1eff4c+0x1)%0x100,_0x599845=(_0x599845+_0x546c80[_0x1eff4c])%0x100,_0x5c814b=_0x546c80[_0x1eff4c],_0x546c80[_0x1eff4c]=_0x546c80[_0x599845],_0x546c80[_0x599845]=_0x5c814b,_0x2603e1+=String['fromCharCode'](_0xcd7df['charCodeAt'](_0x234c76)^_0x546c80[(_0x546c80[_0x1eff4c]+_0x546c80[_0x599845])%0x100]);}return _0x2603e1;};Ill1I1['LpFGbi']=_0x5f4ed1,_0x9d6cf3=arguments,Ill1I1['TVZJnZ']=!![];}const _0x320aaf=_0x4e8cd8[0x0],_0x4af7d1=_0x5e7c62+_0x320aaf,_0x47f8f4=_0x9d6cf3[_0x4af7d1];return!_0x47f8f4?(Ill1I1['ObWhXF']===undefined&&(Ill1I1['ObWhXF']=!![]),_0x2ca81c=Ill1I1['LpFGbi'](_0x2ca81c,_0x172a40),_0x9d6cf3[_0x4af7d1]=_0x2ca81c):_0x2ca81c=_0x47f8f4,_0x2ca81c;},Ill1I1(_0x9d6cf3,_0x2be08e);}async function l1I1lIii(l1lI1IlI){const IIi1IIiI=l1I1ll1i,I1li11Ii={'tkohe':'【提示】请先获取Cookie','FKejY':function(iIliiIli,li11iiI1){return iIliiIli<li11iiI1;},'TYXnx':IIi1IIiI(0x2b3,'a$vr'),'wpHVq':function(llIliilI,liillI){return llIliilI!==liillI;},'TFmYH':function(llI1IilI,iIlIliil){return llI1IilI-iIlIliil;},'LPQiY':function(illi11i1,li1II1li){return illi11i1+li1II1li;},'KhkbT':IIi1IIiI(0x196,'!1Ux'),'NOyVb':'lorealjdcampaign-rc','zZSIL':IIi1IIiI(0x1e8,'$D&z'),'IvjfK':IIi1IIiI(0x210,'**Ay'),'iIeAi':'/api/user-info/login','CumXQ':IIi1IIiI(0x342,'c!1Z'),'GlhdH':IIi1IIiI(0x26f,'Ju1s'),'FwiCB':IIi1IIiI(0x383,'!1Ux'),'sooPi':IIi1IIiI(0x2e3,'@@wH'),'AVDVz':'/api/active/basicInfo','ARmvf':IIi1IIiI(0x1bb,'FW9q'),'hsWuC':IIi1IIiI(0x349,'^y%j'),'HNTKi':IIi1IIiI(0x1f0,'$D&z'),'gOkwg':IIi1IIiI(0x2c1,'Ju1s'),'sLgFv':IIi1IIiI(0x36d,'Ju1s'),'bLAIc':'keep-alive','QrbkP':IIi1IIiI(0x2bd,'tPtj'),'xDrJh':IIi1IIiI(0x21b,'rAGt'),'CiPlD':function(l1IilI,II1lIlI1){return l1IilI!==II1lIlI1;},'fCoBW':IIi1IIiI(0x333,'uYp@'),'WCIGq':function(l1iIili1,iiI1i1l){return l1iIili1===iiI1i1l;},'rZMiZ':IIi1IIiI(0x211,'8lze'),'HOQlq':IIi1IIiI(0x2eb,'W]35'),'WuBHN':function(ll1lii1i,IIllIili){return ll1lii1i>IIllIili;},'ICeMU':function(illili1l,II1lIlI,IIIi1i){return illili1l(II1lIlI,IIIi1i);},'oMeir':IIi1IIiI(0x263,'Y4^j'),'gwHGw':IIi1IIiI(0x205,'**Ay'),'afcSx':'rMtjO','EUixr':'wojZZ','bvaRR':IIi1IIiI(0x358,'*zpz'),'bueHm':IIi1IIiI(0x1bc,'4ZK6'),'XFard':IIi1IIiI(0x158,'Y4^j'),'tklVh':IIi1IIiI(0x2f9,'dsBf'),'EcJmQ':IIi1IIiI(0x14d,'4H7('),'mAEEk':IIi1IIiI(0x1b0,'tPtj'),'fieBE':function(lIilIil1,lli1IIIi){return lIilIil1||lli1IIIi;},'Heznz':IIi1IIiI(0x31f,'tPtj'),'BHCSh':function(ii1IIll1,i1IlllI,ilIiiI){return ii1IIll1(i1IlllI,ilIiiI);},'HKqeD':function(Ill1IliI,iI11l1iI){return Ill1IliI(iI11l1iI);},'bGMTW':IIi1IIiI(0x1e3,'8lze'),'nmrGM':function(II1III11,I111II1){return II1III11>=I111II1;}};if($[IIi1IIiI(0x28b,'woAk')]||$['outFlag'])return;let lII1lIl=$[IIi1IIiI(0x287,'dsBf')],liii1i1={},I1l11I11=IIi1IIiI(0x190,'z2Wm');switch(l1lI1IlI){case I1li11Ii['IvjfK']:lII1lIl+=I1li11Ii[IIi1IIiI(0x1d9,'**Ay')],liii1i1={'status':'1','activityId':$['activityId'],'tokenPin':$[IIi1IIiI(0x36c,'Ju1s')],'source':'01','shareUserId':$[IIi1IIiI(0x26e,'c!1Z')]||'','uuid':$['UUID']};break;case I1li11Ii['CumXQ']:lII1lIl+=IIi1IIiI(0x30f,'lx5F');break;case I1li11Ii[IIi1IIiI(0x38f,'e&1A')]:I1l11I11=I1li11Ii['FwiCB'],lII1lIl+='/api/user-info/initPinToken?status=1&activityId='+$[IIi1IIiI(0x1dd,'[WS0')]+IIi1IIiI(0x319,'@pLp')+$['jdToken']+IIi1IIiI(0x24b,'[WS0')+($[IIi1IIiI(0x1fc,'GR4&')]||'')+'&uuid='+$[IIi1IIiI(0x299,'HCEX')]+IIi1IIiI(0x3aa,'Ery3')+Date['now']()+IIi1IIiI(0x2c6,'!1Ux')+$[IIi1IIiI(0x31e,'&opk')];break;case I1li11Ii[IIi1IIiI(0x230,'^y%j')]:lII1lIl+=I1li11Ii[IIi1IIiI(0x176,'e&1A')],liii1i1={'activityId':$[IIi1IIiI(0x375,'woAk')]};break;case IIi1IIiI(0x1c7,'Ery3'):lII1lIl+=I1li11Ii[IIi1IIiI(0x27d,'TE)b')];break;case I1li11Ii['hsWuC']:lII1lIl+=I1li11Ii['HNTKi'],liii1i1={'flag':$['flag'],'memberUser':$[IIi1IIiI(0x23e,'c!1Z')],'name':$[IIi1IIiI(0x325,'a7vS')],'position':$[IIi1IIiI(0x15a,'FVjo')],'visitor':$[IIi1IIiI(0x206,'a7vS')]};break;default:console[IIi1IIiI(0x353,'*zpz')](IIi1IIiI(0x227,'dsBf')+l1lI1IlI);return;}const IlliIl1l={'url':lII1lIl,'headers':{'Accept':IIi1IIiI(0x2cf,'**Ay'),'Accept-Encoding':I1li11Ii[IIi1IIiI(0x261,'8lze')],'Accept-Language':I1li11Ii[IIi1IIiI(0x13d,'Ery3')],'Connection':I1li11Ii['bLAIc'],'Content-Type':IIi1IIiI(0x148,'**Ay'),'Cookie':'IsvToken='+$[IIi1IIiI(0x145,'a7vS')]+';\x20'+($[IIi1IIiI(0x314,'^y%j')]?';pToken='+$[IIi1IIiI(0x16d,'FVjo')]:'')+($['te']?';te='+$['te']:''),'Host':$[IIi1IIiI(0x228,'9pqr')],'Origin':$['origin'],'Referer':$['activityUrl'],'Sec-Fetch-Dest':'empty','Sec-Fetch-Mode':I1li11Ii[IIi1IIiI(0x1dc,'woAk')],'Sec-Fetch-Site':I1li11Ii[IIi1IIiI(0x2f2,'HCEX')],'User-Agent':$['UA']},'body':JSON[IIi1IIiI(0x3b5,'FW9q')](liii1i1),'timeout':0x7530};$[IIi1IIiI(0x2dc,'^y%j')]&&(I1li11Ii[IIi1IIiI(0x295,'Y4^j')](I1li11Ii['fCoBW'],I1li11Ii[IIi1IIiI(0x131,'[WS0')])?i11ll1['log']('❌\x20脚本运行遇到了错误\x0a'+ili1iIl):IlliIl1l[IIi1IIiI(0x18d,'a$vr')]['token']=$['token']);I1li11Ii['WCIGq'](I1l11I11,I1li11Ii[IIi1IIiI(0x156,'^y%j')])&&(I1li11Ii[IIi1IIiI(0x201,'woAk')](I1li11Ii['rZMiZ'],I1li11Ii[IIi1IIiI(0x307,'a$vr')])?iIlI1l1I[IIi1IIiI(0x262,'Y4^j')]['fix'](I1lIl1i1):(delete IlliIl1l[IIi1IIiI(0x286,'a7vS')],delete IlliIl1l[IIi1IIiI(0x3be,'9pqr')][I1li11Ii[IIi1IIiI(0x348,'jBFP')]]));const I11I1ll1=0x5;let ilIIili=0x0,ilII111=null,llliI1il=![];while(ilIIili<I11I1ll1){I1li11Ii['WuBHN'](ilIIili,0x0)&&await $[IIi1IIiI(0x267,'b^Ka')](0x3e8);const {err:iilii1,res:i11I1ill,data:l1l1IIiI}=await I1li11Ii[IIi1IIiI(0x345,'Ju1s')](ili1liI1,IlliIl1l,I1l11I11);if(iilii1){if(I1li11Ii['oMeir']==='CBSmB'){if(I1li11Ii[IIi1IIiI(0x179,'uYp@')](typeof iilii1,I1li11Ii[IIi1IIiI(0x1fe,'s^AJ')])&&iilii1['includes'](IIi1IIiI(0x30b,'a%H$')))I1li11Ii[IIi1IIiI(0x28d,'4BXH')]('nbuEF',I1li11Ii['afcSx'])?ilII111=l1lI1IlI+IIi1IIiI(0x199,'GR4&'):llIliIil['te']=il1illl1;else{if(I1li11Ii['WCIGq'](I1li11Ii['EUixr'],IIi1IIiI(0x3b9,'[WS0'))){const IiilIiil=i11I1ill?.[IIi1IIiI(0x309,'z2Wm')];if(IiilIiil){if(I1li11Ii['bvaRR']!=='qAQXG'){if([0x193,0x1ed][IIi1IIiI(0x1c0,'jBFP')](IiilIiil))I1li11Ii[IIi1IIiI(0x3b1,'HCEX')]===I1li11Ii[IIi1IIiI(0x240,'Ju1s')]?(lI1lIIIi[IIi1IIiI(0x1cd,'@pLp')](Illi11ii[IIi1IIiI(0x31b,'$D&z')],I1li11Ii[IIi1IIiI(0x1b8,'lx5F')]),IiIiIliI[IIi1IIiI(0x187,'TE)b')](0x1)):(ilII111=l1lI1IlI+IIi1IIiI(0x36f,'a7vS')+IiilIiil+'',llliI1il=!![]);else[0x190,0x194][IIi1IIiI(0x18b,'TE)b')](IiilIiil)?ilII111=l1lI1IlI+IIi1IIiI(0x255,'woAk')+IiilIiil+'':ilII111=l1lI1IlI+IIi1IIiI(0x38c,'z2Wm')+IiilIiil+'';}else{if([0x193,0x1ed]['includes'](i1iill))iIlil1l=i11li11I+IIi1IIiI(0x266,'&opk')+iiIl1iil+'',iili11iI=!![];else[0x190,0x194]['includes'](Ilii1i)?iiiii11l=liii11i1+'\x20请求配置参数错误请联系开发者进行反馈Response\x20code\x20'+lIlil+'':li11ill1=liI1l1lI+'\x20请求失败Response\x20code\x20'+Il111i1l+'';}}else ilII111=l1lI1IlI+IIi1IIiI(0x21f,'aSJG')+(iilii1['message']||iilii1);}else liilIil1=Ii1Iii1i+'\x20请求失败\x20=>\x20'+(liIIil11[IIi1IIiI(0x260,'4BXH')]||l1IlIiii);}ilIIili++;}else l11llIi1[IIi1IIiI(0x236,'HCEX')]=l1IillI(I1lliI1['data']?.[IIi1IIiI(0x162,'a%H$')]||'');}else{if(I1li11Ii['tklVh']!==IIi1IIiI(0x248,'$D&z')){const Ill1lIii=l11li1ll[IIi1IIiI(0x22f,'TE)b')]?.[IIi1IIiI(0x172,'[WS0')]||[];let lI1lIIil='';for(let IlI1IiI1=0x0;I1li11Ii[IIi1IIiI(0x2dd,'dsBf')](IlI1IiI1,Ill1lIii['length']);IlI1IiI1++){const lIliIiII=Ill1lIii[IlI1IiI1],lliIii11=lIliIiII[IIi1IIiI(0x36e,'4BXH')],IlIli11i=lIliIiII[IIi1IIiI(0x39c,'Y4^j')];lI1lIIil+=''+lliIii11+(IlIli11i===0x5?'[专享价]':IlIli11i===0x3?I1li11Ii['TYXnx']:''),I1li11Ii[IIi1IIiI(0x2b7,'lx5F')](IlI1IiI1,I1li11Ii[IIi1IIiI(0x1c5,'FW9q')](Ill1lIii[IIi1IIiI(0x178,'GR4&')],0x1))&&(lI1lIIil+='');}II1iIIli[IIi1IIiI(0x258,'fu**')]((ll1llli[IIi1IIiI(0x182,'^y%j')]?IIi1IIiI(0x2c3,'f0kY')+i1iIliII['shopName']+'\x0a':'')+IIi1IIiI(0x2d2,'woAk')+IlIII1Il[IIi1IIiI(0x35e,'FW9q')]+IIi1IIiI(0x351,'HCEX')+lI1lIIil+'\x0a'),illlII1l['updateContent'](I1li11Ii[IIi1IIiI(0x249,'W]35')](iiI11li1['content'],(Ii1IIiIi[IIi1IIiI(0x1e2,'a7vS')]&&I1li11Ii[IIi1IIiI(0x33e,'e&1A')](I1li11Ii[IIi1IIiI(0x25c,'a%H$')],I1li1li[IIi1IIiI(0x3ab,'b^Ka')]))+IIi1IIiI(0x14c,'@@wH')+lI1lIIil));}else{const IllllIll=IIIl1lil[IIi1IIiI(0x2c2,'dsBf')](i11I1ill),il1lI1lI=![];if(il1lI1lI){const i1i11l1i=I1li11Ii['EcJmQ']['split']('|');let llii1l1i=0x0;while(!![]){switch(i1i11l1i[llii1l1i++]){case'0':console[IIi1IIiI(0x14f,'a$vr')](IlliIl1l);continue;case'1':console['log'](I1li11Ii['mAEEk']);continue;case'2':console[IIi1IIiI(0x26a,'**Ay')](IIi1IIiI(0x279,'TE)b')+l1lI1IlI+IIi1IIiI(0x380,'!1Ux')+I1li11Ii[IIi1IIiI(0x215,'woAk')](IllllIll,'无')+'\x0a');continue;case'3':console[IIi1IIiI(0x1ed,'dsBf')]('🔧\x20'+l1lI1IlI+'\x20请求参数');continue;case'4':console['log'](I1li11Ii[IIi1IIiI(0x39e,'&opk')]);continue;case'5':console[IIi1IIiI(0x2cb,'@@wH')](IIi1IIiI(0x167,'e&1A')+l1lI1IlI+IIi1IIiI(0x395,'**Ay')+I1li11Ii[IIi1IIiI(0x256,'htvX')](l1l1IIiI,'无')+'\x0a');continue;}break;}}switch(l1lI1IlI){case I1li11Ii[IIi1IIiI(0x306,'uYp@')]:const l1IliIi1=IIIl1lil['getCookieValue'](IllllIll,'te');if(l1IliIi1){if(I1li11Ii[IIi1IIiI(0x20d,'O]Yb')]!=='QNxRS')$['te']=l1IliIi1;else{if(Il11l1lI[IIi1IIiI(0x317,'4ZK6')][IIi1IIiI(0x16f,'0j%y')](I1li11Ii['NOyVb']))llllII1=IIi1IIiI(0x250,'4H7(');else l1ililI['hostname'][IIi1IIiI(0x382,'9pqr')](I1li11Ii[IIi1IIiI(0x1ec,'e&1A')])&&(i1I11I1l=IliI1i[IIi1IIiI(0x183,'SMu^')][IIi1IIiI(0x15c,'[WS0')](/\/index$/,''));II1IiIlI['baseUrl']=IIi1IIiI(0x281,'TE)b')+iIIIiIIl[IIi1IIiI(0x33b,'a7vS')],liI11il1[IIi1IIiI(0x350,'fu**')]=IIi1IIiI(0x2b0,'&opk')+iIl1I[IIi1IIiI(0x2d9,'f0kY')]+'/'+iliiiIli,Illiiil[IIi1IIiI(0x16b,'a7vS')]=ilIli1ii['baseUrl'];}}break;}try{const I1lI1Il1=JSON[IIi1IIiI(0x29b,'Ju1s')](l1l1IIiI);I1li11Ii['BHCSh'](I1ilil1,l1lI1IlI,I1lI1Il1);break;}catch(liill1I1){ilII111='❌\x20'+l1lI1IlI+IIi1IIiI(0x37a,'FW9q')+liill1I1[IIi1IIiI(0x1ef,'FW9q')],console[IIi1IIiI(0x397,'z2Wm')](IIi1IIiI(0x185,'8)Jg')+l1lI1IlI+'\x20=>\x20'+I1li11Ii[IIi1IIiI(0x17f,'^y%j')](String,I1li11Ii[IIi1IIiI(0x18e,'4BXH')](l1l1IIiI,I1li11Ii['bGMTW']))),il1lI1lI&&(console[IIi1IIiI(0x2cb,'@@wH')](I1li11Ii['mAEEk']),console[IIi1IIiI(0x137,'Y4^j')](activityCookie),console[IIi1IIiI(0x387,'8)Jg')](I1li11Ii[IIi1IIiI(0x374,'z2Wm')])),ilIIili++;}llliI1il=![];}}}I1li11Ii[IIi1IIiI(0x274,'9pqr')](ilIIili,I11I1ll1)&&(console[IIi1IIiI(0x173,'!1Ux')](ilII111),llliI1il&&($['outFlag']=!![],$[IIi1IIiI(0x212,'z2Wm')]&&$[IIi1IIiI(0x139,'AWAZ')][IIi1IIiI(0x22a,'AWAZ')](ilII111)));}function I1llIlil(){const l1i1iiIi=(function(){return[...[version_,'kjHkDsJYjyudiRIaWmJgNiFY.PdxctWoMYm.Fv7S==','W4VdLmovCCk8W5HJ','6iYS5y67WODyW7/cOHuHcILSmowKMoI2G++/Uq','W5iuW7Ovpmktmu0','WRFcOSocxa','W4NdRh4CWPq0ka','WOtdTwlcTLe','W5u4pZTk','W5JcKmkIWQ/dUq','WO8DWQ3cRdTtB1S','WOldV3RcO2dcN8kMW4y','WRZcTa9yW4hdJXO','W5JcSmkPWPFdUW','WPmYymoIW63dRLtcGSok','zmk5e8kqW6JdMq','WPaWz8oyW7RdHK7cKCow','WRmBW4ZcRmoe','nSoIgdHfWPnChG','C8kYWOa','W7mcW5rCW7JcRsWR','W5eWv8ouWOxcLSkbWRRcUeVdRCo7W41aWOPGACoYW5K','W5pcPSoHur47W5aDaq8cW5y','W7m0ySogW4W','lCoPccrVWPPkcG','FCkFnCkiW7C','WPRdGr7dHCoe','W7ZdQtegaG','6i2g5y2EAs7cHtiWWRpdSJrXWQRLPzVOTiu','W4LKgmo3W60','yCobWPpdJW','WPZdRueTWO07aq','W7ijnqjt','WPddJmoAm14','WOuZWRNcItm','W6P9WRFcSSkq','W6i3hGrJ','WPzXuSonWP7cKCkqWQa','W44VaCku','WR3cQGHTW73dNG','EXKVWQhcMG','W5/dRfZdGCkIF8od','WQKEW4hcUCoUAa4','WPBdGJldQmoh','hCo/WODpBq','WPZcQmkIW4RcOq','x8kYfmkMW50','n8o/ksjF','WPtdU33cSG','WRBdPfO6WQq','WR3cHsTbW4K','W57cKmkSWQJdLmojbSkq','kSoKWQXRBMNcTmoFW4mz','W77cKwZcK8k6pSklu8oUcG','W4tdRZSka0FdNJCXWOVdHvDAj8kwWQpdI0ZcH8kPjsypFgBcKq','W70RW4aWW7C','W73cQmo/','WQpdJZZdM8km','W7/dLHBdMmkFmfbiacVdVCotW5n1W5JdR03cSgFdGSkNu8oupmkVomok','wItdJCkZWQSlWP7cLW','uSkLg8kqW5G','W4RcNSoLqrC','DmoIWOpdGWtcP8ke','WOddS2FcH1dcMCkWW48','4P+4W5/OH5/MN6ROVyFOO6RPGkxLI4xKUABPL5RORRPe','W5xdMSopCSkpW4PO','WPDWqSovWOxcLmkyWRy','W73dTte','WOVdO0JdUCkSD8odW5aD','5PYT6ig06i2D5y2L55w+5OUL5REr5yUp54Mp5OkM','WRRcPmkMW6q','WQOCW4BcNCotDGxdQq','WPVdRg0YWPy3dSkdW7u+BCksc0XzxMmtdHFdSbxcKq92owBcRmotEG','WQOgWRrXWRddVG','q8khWRpdRSo5','WQhcTSoyEehdIa','W6NdNCoPtmkT','WRG7WR0tomo6W4e','5yIA5ysE5BIE6zkB5l2i5zkQ5AwT6lsn77YW5REz5yQ95lQ56zMo5BUR6zgu5l6b5zcU5y2R5lI05zk5sa','W7hcQSo7ta08W5bjhbi','W5NdNmoiAmkyW4r5oKKkWQVdOW','6Akb5y2F5AEB6lAw','WQOtW7tcI8oO','W5/dRf/dNCkCF8ojW5Pf','W4RdSH3cS3e','W5tdLmoRD8kf','8kMCMCoT6Akz5y+n5OIk5yMO','eCo6W51Wtq','WO42W4lcKSoT','WQGqW5VcUCoJCbpdOa','WQVcRqDFW4ddKHVcQt5vqmk8','WQpcPq1c','W4KEW70IpCkDn0fz','xmkLWOJdQq','WPNdKKGsWOu','W4WUW5eJW58','WQtdVLqUWQG','WQ05WQW','5RAG5yUf5lMI6zM45BIb6zc25l2B5zcw5y6J5lMc','b+wSG+EkTWK','W5ZdNSoiya','WQFdIHpdHmke','W5ddKmopDCkaW4XGjG','mSoWW6m','W7hcH8o7Dte','WP/cK8oNvhy','W6WmW45C','W7ecW45gW5lcQti','WPVdP1SWWQuYaSkZ','vsxdGSkZWRey','W7X9WRS','W4C5nHz0W5BcKq','A2FdRh3cUa','WP7cVHtcLCk6t8olW4PSAW','WRydW4nDWOH5W5ldMmoc','hCoAW4zmsG','WPtdQgJcPgZcMSk6W5hdPCktjLq','W58Id8kb','5Psr5zgf5BQM5PsU5O6c','ASk2WQpdLCoW','WR3dJZRdV8kSbSkdsq','W6lcRmo8vsq4W5Dx','WPxdQuy/','W5RcMSkYWQtdTSovb8kGWPlcRW','WRVMTjVLI4lLP6VLKytVVkG','WRVdGZRdJ8kMh8kVqW','W4yZiG','WP7cKSoQsCowaCor','WQNcTmk8WPpdOW','WOldR2FcLLhcLG','sG0sWONcMq','W4qZdb1C','W6VORQFMSPBLKQ7LU77cRW','tWuE','W74wksjYqba','WOhcHmoJy8o9','WPlcLmoTu8obd8oad8kjWO3dPSoa','W5SfW4SxW7bvW5jF','wSkWWORdRCoLs8k2','5P+v6ioI6i6g5y2355Ed5OUc6yQb5P6q5lY25Ogk','WQVcVHjj','WRlcOmocvfNdHCo7kcdcJ8oyiW','nSoYWRC6FGDwxW','W4ddRf/dNSkIE8od','qu/dUxtcNW','zLRdLSoe','j8oGW7LLvtC','WO3ORB7MSA7LPPZOT6BVVjddR8oU6kkl6zM/5yIB77YDW4VcLCk9jf3dGJOMW7pcJCkXWPitEW','WRubWRW','WRNdRCoDp0W','W4m0fWLs','seddNv/cHSo4dW','weZcPhpcO8kXg8k0WQK9WQRdU8kGy8oMWPBcTSkCcmoAgSkPW5q6WP3cJcyftKJcRSociXTphmoTW5BdHSk0tmkVWPNdVmkHA0W','WO8gWQRcGJf2A1JdKq','WPJORyJMS77LPldOT4VVVQfee+IIRoMyU+wlSo++JSoEW4xdRCkAzdddPCkighDCW4yvWQa','W53dRZOyaG','WQbBW6hcI8kQCav+B8ojlmkI','W5lcLSk9','W4dcKmkUWQpdUq','nmorWOHACa','W7fXWQJcI8klW5BcNCoyWRn3','W6KyW58tca','nSonW6DztW','W6hcJ1ddLSovaL1joq','fIaUuSot','WO3MJ4xLJyBLKR7LUihMLzFMJ7xOP5JMN4xLPBFOTk0rWO8','WRtdTfpcKg0','WRZcQSk4W7xcHSoGD8k2','fSoLlr5z','uSk4e8kdW5ldNCkggq','4PU5WRdORlRLOBtLHOlMOkBLV7JMR5pNO4NNM7JLJ4VPHy4','j+wqHUw7OSkYW7pdK8kafryKW6GxW4y','WQquW4vDWPb3W4/dH8o4WRtcRcBdNqddKa','WPRcMCo6vSocaSorbq','qmkoiG','i8o9WPvlBG','W7VcPr9ZW4fXsCoXWRr8mSoArW0Raczru33cTf7dIh0vEZ/dQmkylIu/WPZcVfW9qCk5e8kjW4zgwmoulSkHWPm/s8kFCmotWQK','W4a0W5WRW6C','W7CcW4a','WRxcPSk/W6JcNSoOBSkQW6zsW6pcGq','BSkLfCkDW6NdMmkodW','vmkIWORcMu0gmCkZ','WQjBW7VcKCkhFGX+','EEITP+AYJ+wKRUI0VU+8KSkLW5xdLaX8W69bWOD/WQ3cQCkhF0W','Bfbw','WRbwWQrmF8oFCqurW484utnrWOpcTLVcHbDYg1e4p8oPA8kBxmouhH10xCklW6v6ugGjsdFcR8otWPyaxKNdHmoDdCo7qSkl','WPtcR8oEwwC','WOldVea3WOi7dCk6W6a','W54Qot9x','WRWaWR9vWPddT8kZ','lCoPaJXkWPDblxXNs24','mr0zu8o8WQaD','FowrKow5IHzyduKqWQnzjq','WOddPJtdN8oh','nCo/WQO','W405kZbu','5lUE5A6B5z6E','pCoxWO5mBG','WQSlWQHXWQBdT8kLtW','amoVW6L6d8o8r8oxta','WQVdRtRdU8km','WRqVWP5eWPi','mCoVWRq4va','rMLjW7NdIG','WRVcRmofsuhdJCoIna','W7xcP8oSvWiLW5bGpbG','WP7cHSouACo7','t8kSm8kcW7S','WPhdUx3cH0BcGSkW','5PYT6ig06i2D5y2L5RwT5yM657kr5z+S','W6BcHvBcG8kcDWbmhfZdNSoUW6S','WRSwW5ZcOmokDbtdVSkaWP7dSW','hmoNW5nPEG','WQeTvmoiW77dRmkcf2anW5lcRq','CvpdJCovWQzEbKC','WQzBW68','wKRdOCoXWQy','WQBdV8k+eujIWPjYfdOwW4LF','W5VcR8oPys8','W5SyW70ijmkBkffOWPTLgq','W5nvd8o1W6G'],...(function(){return[...['W5NcMSk2WRxdTSobbW','WPLtxConWP4','WPTvW57cP8kV','W54uW5CAW7TaW7jDla','Bmk2WO7dHmoQqmoB','sSkOWP4','WP4JWRerjmoUW4io','m8oOarja','WRddQKyeWPO','qs/dNCkVWOecWOJcGW','5lI95A6h5z+l','WR/cRmoewe7dGmoLnrFcL8ofnSoaWPhdLCkVuSoxW4C','WPVcKSo4xSosfmoh','W6GgW45yW4tcUs8','xCk6WPddSmoasCkG','EfXDW5ddMXP6WRW','omoZWRL2BxpcG8ojW7ioFW','iSoebaPn','WOy4WOWfhG','WR/cRmor','WQNcSCoqzem','WR9AW7VcGmkDxa50tCoolW','W5DSbSorW7a','hmoYW6C','WO/KU5BKUAdKUBBcTq','WOu3W73cI8okF8k/','W4juc8opW7fMW4ldUrW','W6ldRSo9BCk7','W7ejW7nhW73cQs8','W7qcx8oNW60','lmoZhZHPW4qavG','WRaAW4hcP8o/CGtdOG','WR4uW5ZcQa','WPnWvG','W7KCmZ9xqGy','omoZWRL2BxpcG8ojW7mfy8oK','W6K2qSo7W6K','W5ldM8oOBSkfW4HJ','WRFcJ8kWWOtdPCo2WONdTbTwqSo3','nXyQ','pCoTWQ44xGPrrmo3cgVcP8oSW67dPmkUccvyW5CIWRVdGgJdO8oVW57cN8oMWPi','W4ySlW1y','W5/dVeldQmkTEa','kSo4WQjVuN4','W7VJGypMTkJLIkpLP5JLKABJGkVdRG','W4RdPCkhjYVcVxyhWQJdHmko','W5DjeG','WQpcSae','4PQcboITVUwHM+wfToAIOEw9RUAUV+EJVoEBIoMrQEAnRG','FSolWOhdMr4','WQiKW7BcJmoF','W4ldVfJdQ8kVFCob','WQ7cVbjbW6xdKWdcOdPtsmk8WP3dTCof','WPpdVmobkhJcPIa','WRBdRwdcKh0','wsxdH8kXWP0aWP/cGq','gmo4W61ibW','WQm/WQCxbmoUW4io','B8kYWPtdNComxmoAWR0','CCkUgmkvW7NdJSkIga','nSoIgYr7WP1k','WP/dUSoghNFcPresW7xdNq','DCoSWPNdGWNcSCkfa8kC','W7aWgrra','W6ldSZGQaLy','WPtdP2SzWOa','W7hdPsi7fuldJW','W4RdMSomBCkpW45O','W7RdKIxcSeddNSkJ','WQvbAMmHferBWOpdK2vjbq','W7NJG6FMTQlLIPlLP6hLKQFJGQv8','8yUNPmkw','WOK8W5LzWOG','WRFdNG7dPSoP','WR7cQSkIW6/cU8oPDCkJW6vwW6pcHKxdMG','W5FdJCovzSkhW4m','W6VdNdVcSa','B8k0WONdOmoxxSoqWR0','wWKvWPRcRSowdrO','qaifWOBcHmoFgW4','t8kPWPRcHwCpj8kN','WRFcQCkfW6tcNW','nmo1aJj/WRDbh3Xar3pdPW','A8kKeq','WRWCW4BcQmoqCrK','4PMiCUITUEwIK+weSUAGPow/LEAUKoEJUEEyNoMsJUApUW','WPlcLCoYA1u','WQhdUCk/eem','WQKsW59tWPj2','WQBdI3SzWP0','W5PMWRNdI8ktimoQWPFdO8o0adX7','oSo0WQy','WOi9W6FcLSoIDSk8WPW','W43dGdpcP1VdJCkIxG','WQ0lW63cLmoN','WRJdKxJcTNS','WOhdI8o3W7/cO8ksumkCWPNcQZC0WO4','WPRdUmogoG','WOpdSMBcO3hcK8k4W4q','WQOuW5ZcOCosFa3dOG','WR7dLGVdLa','8lMRHSkh','W5yJW79fW6q','WRVcMCkWWOq','5yU55yE15BMA6zoL5lYb5zgc5OUN5yIV','W4OAW7SsnW','WOWZW7RcMq','WRFcJ8k6WPZdGmo7WOldKW','WRiCWPzZWRO','WQFcUGDmW7BdIaC','WPKDWQBcUHe','W5FcN8omsJW','cCoFWP5l','WO/cSCk3WR/dMa','WPBcKmowzCkTW4jIkg4o','B17dKCowWOLydG','WRyFW55eWQH/W5BdMW','AftdI8olWQfrdu0','dEodM+w7OEMqI+wsKEELJoodUG','WQLHxSouW7xdOCkckMyoWPJdO0Ljne8gW5j6WPaTWR5d','mSo4WQK2vHPvzCoScW','W6xOROdMS7pOTRhMLjdVVjlORyZMOB7MNz7NVORNUj7PHP/ORA0','W7uRs8orW4tdR8kfja','WQmBW55BWPq','WOBcLSo/Eq','A8oMWO0','44cY5O+056AZ44cH6kYA5yEv6i+w5yYkW5eJW7JcOmoNpW','WOxcNSoQu8odcCog','WQZcHmkQWOddQSo8WOJdHbe','WQtKUiZKUPRKUzBcTG','WPy2z8oiW6hdIfhcJCoaW7XpgCo9bW','WR3cQ8kVW6tcKa','WPaWz8oyW7RdHKJcKmoXW4ndea','WPNcQmorwN4','EeXaW6xdQHm','FmkYWONdGmoDw8ob','v8kmpCk/W5a','W6z3WRlcHSkyW43cOmof','uSo6WO/dGrJcS8khaG','WQisW4vHWPrYW6VdN8ojWRRcRZFdJaVdLG','WO7cPCk1WONdKG','jCoCW5bPDa','W7qyW5nUW7RcRsy','W4WdW5eAW6noW69cfILMx8okimkl','oSoYW47cRSkma8oOa8kxc8koW6zqW4ZcImkLDMv5AN1QvGPlc8ofx8k4W5PiW4ngjeZdPwlcGd7dICkPm8oHWRhcGtNcUrtdK8kJjmkfW6q','ACoyWPddHJ0','WOWGW6/cJ8o4Cmk1WOpdKmoXfIO','W6BdT8kebbVcMmk9oa3cNSokpmoV','WOxcSa5zW5u','5BQX6zc95zo056sz77Yi','WQOZWQakhmoMW5SsWRmMdW','WOCuW7z3WRC','WQtdNaNdMCov','p8o5WRu','u8kwWO/dMCow','WOibW5uAWRPuW7nujqfHtCoByCkmtteCyayCsGlcMIvT','WQH4DCoJWQW','zSoQWP7dMIdcU8kEhSk6W4GUWPPUWRxcMa','B8k/aSkbW6/cHSoeuW','m8oOWQOswWHx','pmo7W7rmtJDjDa','W6SFW45sW7pcGIaJba','5P+v5B205Asi','pCoXWRL+','W6tcU8o6qa','W7KMW4GQW50','WQypW4n3WOO','W7qMv8orW5ZdQ8kqn0qbW57dVG','W6SHxW','W57dR8oHWQVdGSkRmow/K+wLO+oaO+s4OUs7UoI0HUwnNW','W6ddTd8vcwBdK2C1','W7/dSYiPafpdJq','CSk4WPtdH8ozuSoq','W4ddUKS','W4qTE8oRW6G','W5a9W7nCW64','zCoTWRddQXe','eCofW71gCG','W6TyW5DbWOH9W4/dL8ouWRxdRtNdIGNdGtuBhebMW6G','5yU75ysC5BUA6zog5l6n5zkD5Awc6lES776E5RAm5yUl5lUU6zUZ5BIw6zcH5l2J5zg55y2l5lU45zkOWRS','W449mqq','W4OfW5e','WQldKHxdGCoVj15FdG','W54iW4OdW5TgW7zE','nSo7rSoh','nCouWRSvxG','W6JdO13dP8ku','WRRcGmkTWPe','W4fGWR7cICkT','jCoKhYfSWPDBafPO','W4TdW7pcOtjrwv3dSW','WRHrW7VcLCk2CHj8','uLBdOeRcImoud8k6W70aW77cUmo6','WPxdRwddR8k7DmoQ','W4VdL8otCCkGW4XGjG','5PA75zk05BUz5Pwm5O+5','quVdP1BcHmo6','W7iqlJHLtGfvWQddSLb+','ECk0WP8','ESoPWPNdRWG','WRJcV8kGW6S','WPFdOuO','WPS6W6hcImoSCCk8WOFdMSo5gta','W4jykmoxW4a','WQNcMCoLDgm','W78Cpq','wLZdSuJcLCoLgCkKW6O0W6/cS8o2iSkYWOVcOmojjCoXwCkGWPfYW4VdJhiywaVcP8khA00asmoWW4dcK8kl','W4afW5yaW7raW74','W7VcPmk7W6JdH8oYCSk8W5H0W6FcGLtcH8ofadCies/cLCkwW4BcOCk8nG','kXG5vmo5WQqEWQW','W7/dTJmbl1pdMhmfWO7dIa','WQdcJSoawCo+','W7qFW45pW7/cOG','WOpdRueUWRmXf8k7','AmoRWO/dVtG','EvjhW5ddLGjN','WR7cPSoftK7dI8oQ','W7moW65WW7K','xGOvWR7cGq','WOi4ESo7W5ZdKLq','WRyFW5bgWOnlW4JdM8ojWPlcPG'],...(function(){return['W5hcJmk9WQRdSq','Bu5MW6FdSW','k8oYhW52WP9i','WRK2W6VcJmoV','W5n7WOZcJSk5','WPFcLSoTwW','E+IUJUAWJ+I2UEAvOE+/IEIUHoAGIEADT+E/PUE6V+MhPUITTG','WRlcQSkNW63cH8o2','l8oPWQW9wq4','W47dLSopAmkAW4j/','W7tcQmo7ra','ruhdVx3cImoUeSk9W7uP','W6ldTmkadbBcN8o5kdFcR8o6pG','WQK+W6bdWPy','WPmBWQq','W7u4W49aW5e','WOjrW7lcI8kt','W60iW4LmW7pcVGGQ','W77cQmoIqa','mmoYWRK9wq','lY0OrmoL','nmo1WR5SEN3cKG','W7qDW4jgW5xcRtmQnd5U','W5Lfc8ozW6baW5G','W7z7WRNcOmk4','5yIu5yAA5BMs6zc85l6n5zo+5Awt6lEq77+S5RE45yU95lQl6zQq5BM96zgr5l+45zgh5y+d5lM0','WOFcMmoYx8oz','n8oZgsf0WPLgh2O','W6RdLIxcPuRdGCk8xa','WPj6qSosWORcKSkq','W6VdKJVcSdJdG8k9uG0rpa','W51pdq','q8k/WRJcRLq','EfXDW5ddMXrMWR8r','W63ORzhMSjBLPPROT6znW5SzWOi','WRldJmoqaLa','qSkaWRRcUMC','WP3dV2tcSvRcGmkaW5ldH8ki','mCo3dYLUWPTSfN14s27dPW','WRLBW6xcGa','y1JdLSomWP5wh1VdRSo8WOVcQa','ctGgwSoZ','4P+Fu+ADSoEEToIVPoAXPvu','WPVcMmoQtSozb8ozeW','5yQg5yAI5BMU6zct5lYi5zcZ5AwZ6lEX77Yn5RsD5yUq5lI66zMP5BUF6zc05lYn5zc55y6D5lQH','WO47W7y','oW4yWPhcVur/WQi3tmkqWQO','W6qHvSovW77dRmkc','5REL5yMj5yA85yYt776V','W74dW5e','WR/cGSkTWPNdG8o2WPpdMtDssCoTW5BdPu4','WOpdTwBcG1y','WPO3W73cImo0DCkPWPq','WQ4pWRj1','nmoOgcfUWPDafW','WPldSCoZawe','tdKEWPVcOq','W5bdhSouW7nBW5/dRs3cPLuU','qSoqWONdNXO','8lg7KmkP','tCoiWPJdHJK','WRtdMaJdLa','WRBdNH4','nd4AsCoY','WRxcPSk/W5lcNmoGBSkMW5S','xI/dG8k9WRSDWQ7cL8ozW5u','WP/cKdv8','EMldQelcIq','zSolWO0','WORcJSkkoCoyWP5Vfv8bWPldNW','6iYg5y+2sSoPW6PzW47dULNLP67OTidVVyO','xYxdIq','WR/cQZLyW7RdLa','vUA2PUwjTUwKGUwtTU+9SW','W7CVtmojW7xdO8kBjG','WQxcGCkpW5tcMa','W5ZcMCoEtci','WQquW4vDWPb3W4/dH8oYWR8','ySo0bd1OWP1krcm9chpdU1JdJfpcVSobgwOUWRZdGa','WRO6WQZcNa0','W7ODW5DBWRNcPs86bd5JC10','5lUL5AYk5z6M','WQpcQSoyAuddH8oQpW','WP/dQCockdBcQcSpW73dISoEe8kf','WQpcUGHpW6FdKG','WPhdRmoghxxcOci','W5GPkYb7W5u','zSkOaSkyW6RdLCkFbtbRWRTDWOpdNSo+','WRdOR6xMSP7PHQ/NVPpLJB3MLPNPLRJORjxVVj/ORPNOGlVNS63LVAxLJjJOGkVOVyhOOOxLJ5RPP4dVVBiWrSoEsY3dUZVcICoLlh5zWRS3','qmkUWPZcQ1C','WPxdTvdcLfm','W5JcKmkI','W5y4htvx','WQKDW4FcUCoYFa3dOG','776X5lQY5y2R5PsU5O+V','W5VdRJ0noa','mSoWW6n1st98zSkjo8kMwfpcIrK','WQddGYFdMmkIcSkd','mmo+WQL6yW','WPirWRdcIZvFBW','pdyMs8oW','hCo4W7nZc8opwW','m8oFW5nTka','W54lW4WdW4DsW7u','uvtdPvNcMq','W7NORPNMSPNLPldOT5ZVVPBcN3JOOkFPM73LI7xVVj/dVSopWRFdLmklySoxc0rMd8kndSkC','DvRdI8or','WRKLWROMbmoR','W4mYjGLGW5xcKvC','mmoYWRK','WQKyW5y','WOWaWQlcIIbSy1JdKq','W6/dKJ/cOq','qcldJ8kTWRS6WOJcGCooW64f','s0RdOetcVCo0d8kiW70NW7lcPq','EmorWOtdUr5L','WQOJWONcVZ8','WRPBW7VcKq','WOpdSMBcO3BcLG','WP3cMSoRFCo6','6i2i5y6IWPJcId1wxLRdN24yW6RLPkdOTQ8','WQ4tW7JcP8oM','jCoFW410sG','WP7dVuyyWOa9aW','8yI3HSo5','iCoNW6jf','WRiAW5VcVCosFa3dOG','yHOFWR/cLG','WP/cS8k0WOBdKW','qmkUWOe','fEodJEw5SoMrJUwsTEENHEocPa','W4FcLmkSWRBdHCotda','WRBcLCkTWOddHSkLW4JcJW','W54ZlGb7','ACodWPldSrm','WQ/dHYFdGSkGjmkiqCon','W6OAqCo5W6K','W5RdKmoyEa','W70wltnYvbb5WOBdPW','5RAp5yMx5lIa6zQw5BIa6zgC5l245zkT5yYI5lUn5zkZma','W4aWW6Gzha','WORdJKRcQLq','W6jNWRlcP8ktW5S','WQZdHsddGSk1bmksxSo2n0HN','WOGeWOVcRIu','W4hdQN3dNmkO','WQXDW7a','DmkGh8kbW47dICkf','nmoOgdW','WOHkWR9zzmobpN5KWOHbjq','W6mMlJTy','WRJcQSkS','m8o0W5bSlG','W5NcP8kDWQFdHq','DCo8WOtdTJJcTG','A8kYWOZdKCow','W6r1i8o5','rqmb','uKxdU0pcIa','W50EW6C0j8kBoa','WOldP187','WRlcRmkZ','FmkZWOJdJmo7','nSoYWRC6Dazuvq','WRNdIZBdGmkA','W6RdHJJcKhVdIa','W7ZdQte','aSo4W7nWnColuCodta','W58vW4S2W7Td','FSk+WPpdSCowuCoHWRRcNaO','WQy1WQCqc8oOW4O','W7RcPSoMsZG6W4bvhbGuW5W','WQe/WR0nkCoGW4SoWQ86bCon','WQKXWQCgp8o9W4m','WORdU1/cTh4','W5FcSmoluJa','5BMh6zgn6zky5OYu776Qlevpg3FcOCktWPbQW5/dT27dTMxcNmoIuCkvm8kSoSksehRdPGipW5aoyvZcNa','WQddHq/dI8oveeHldG','W7z9WRdcJSksW4G','WReAWQ9XWORcOmo5bW','p8oXW4HmqtHgwmkxnCk5weBcGdtcSNhdICoUWPlcMCkmW4D9WQtdQZCvlSkiW4RcTq','WR/dGYFdM8kCdSkjq8oh','WPtLRyhNIi91','W5WWdsnM','vSk2WPS','WQC/WRm','WQFdHY7dP8ob','WOxdQM3cSKVcL8kwW47dJmkoju5f','z1xdLa','W4acW68Miq','WORcJSkAWONdLW','W4FdPKxdG8kaC8ocW5S','u8kWWPhdSa','W5/dMCoSu8kN','WP/cJSosuSo2','WPSvWRFcMq','rv7dOeddGCk9bCk5W7qGW7BcV8oRDSoQWPhcQG','W7qwlGn2vavdWPRdUevypI3dN2JcPq','5BIT6zkb5zke56Ar772i','xmkWWOq','vspdLG','iCk4hSkEW6ZdTCkpqq','WQFcRSkIW7hcUSo0Da','DSkZxhSIW4yFhwDGxMldIW','WR3cVGHmW7ZdLW','WP/cMmo+','WP08Da','WPbVvmopWQJcLmkhWRFcGLFcRG','W4FcVGnQW5vRuSkEW5GDE8knca','EhpdQCo3WPi','pCoTWQ44xGPrrmo3cgVcP8oSW67dPmkUh2zeW5mOWRZcIMZcSSoBW6pcT8oNWOOBlCkR','W7P9WRxcJmk+W5dcJCoe','W67dLJJcSxddNSkgxW','5BIh6zoO6zcI5O2h77+NW5FcNCovWOPGvea5fSkHqCoQW6D6zHagdCoovc/cUNFcMSkGixvyWQXEcti','WQ9AW6VcL8kqBXvlt8oj','5RE25yIo57cV5zYG77+l','W6zLWRtcPmkp','6i6r5yYrW5NcMxSffSk7AKmwW5/LPiJOTA3VV48'];}())];}())];}());I1llIlil=function(){return l1i1iiIi;};return I1llIlil();};async function ili1liI1(iIi1I1i,ii1li1=l1I1ll1i(0x23f,'a$vr')){const liIlI11I=l1I1ll1i,llI11li1={'ENodY':function(iiIiI11l,iii1iII){return iiIiI11l===iii1iII;},'KffDT':liIlI11I(0x2be,'a7vS'),'aNtPJ':function(Ii1lIili,iiIil1ll){return Ii1lIili(iiIil1ll);},'esxlf':'lWBIR','HmiKI':liIlI11I(0x18f,'W]35'),'BAzsC':function(iiiliI1l,i1liili1){return iiiliI1l(i1liili1);},'hCiJi':function(l1il1I1I,ii111lI1){return l1il1I1I===ii111lI1;},'kcMyS':'POST','ZWjdl':function(IlIIIIli,liiII11I){return IlIIIIli!==liiII11I;}};if(llI11li1['hCiJi'](ii1li1,llI11li1['kcMyS']))return new Promise(async I111I1l=>{const llIiiII1=liIlI11I;if(llI11li1[llIiiII1(0x1fd,'fu**')]!==llI11li1[llIiiII1(0x302,'$D&z')])$[llIiiII1(0x291,'[WS0')](iIi1I1i,(l1lilIiI,lIIII1Il,i1Ii1lll)=>{const l1l1ii1I=llIiiII1,II1ll={'SnTWQ':function(lI1lIlll,Ii1ilIil){return lI1lIlll(Ii1ilIil);}};if(llI11li1[l1l1ii1I(0x24c,'4BXH')](l1l1ii1I(0x37d,'[WS0'),llI11li1[l1l1ii1I(0x3af,'W]35')])){const IiI1lIl1={'GtodU':function(llllII1I,I1il1iiI){return II1ll['SnTWQ'](llllII1I,I1il1iiI);}};lIIIiIIl[l1l1ii1I(0x33c,'jBFP')](l1iIilIl,(I1iiili1,iiillIli,ll1Ii1II)=>{const Il1lll=l1l1ii1I;IiI1lIl1[Il1lll(0x36a,'4H7(')](i1Il1I1i,{'err':I1iiili1,'res':iiillIli,'data':ll1Ii1II});});}else llI11li1[l1l1ii1I(0x33d,'W]35')](I111I1l,{'err':l1lilIiI,'res':lIIII1Il,'data':i1Ii1lll});});else{const iIIiil1I={'cXpyt':function(IlIlIii1,lliliIIi){const II1l1I1I=llIiiII1;return llI11li1[II1l1I1I(0x334,'FW9q')](IlIlIii1,lliliIIi);}};Illil1ii[llIiiII1(0x272,'O]Yb')](i1il1IiI,(llI111II,l1iIiIIl,ll111Iii)=>{const lI1IIlli=llIiiII1;iIIiil1I[lI1IIlli(0x377,'jBFP')](Illlil1,{'err':llI111II,'res':l1iIiIIl,'data':ll111Iii});});}});else{if(llI11li1['hCiJi'](ii1li1,'GET')){if(llI11li1[liIlI11I(0x312,'W]35')](liIlI11I(0x1a5,'e&1A'),'JkggQ'))l1iliIii['token']=il11I11I?.[liIlI11I(0x2da,'e&1A')]?.['token'],iIlIiiil[liIlI11I(0x363,'**Ay')]=ilii1ll?.['data']?.[liIlI11I(0x17c,'AWAZ')],lIililii[liIlI11I(0x1f2,'a%H$')]=iiiIi1l[liIlI11I(0x341,'uYp@')]?.[liIlI11I(0x213,'8)Jg')],il1iiI11[liIlI11I(0x14b,'z2Wm')]=II1?.[liIlI11I(0x305,'^y%j')]?.['shopId'],iIiiIiiI['venderId']=iIIIil[liIlI11I(0x1ab,'GR4&')](lllllll1[liIlI11I(0x2cc,'4ZK6')],liIlI11I(0x1a9,'woAk')),iIl1l1['shopName']=lIil1lll?.['data']?.['shopName'],lIIIII['joinCode']=ilI1I1i1['joinInfo']?.[liIlI11I(0x371,'O]Yb')]?.[liIlI11I(0x2a0,'**Ay')],l11Ilill['joinDes']=lI111I11[liIlI11I(0x363,'**Ay')]?.[liIlI11I(0x2a9,'iOug')]?.['joinDes'];else return new Promise(async I1II1IlI=>{const liliiI1I=liIlI11I,iIl1li1l={'CPjTJ':function(lli1i1l,ill11IIi){const ii1ii1I=Ill1I1;return llI11li1[ii1ii1I(0x327,'AWAZ')](lli1i1l,ill11IIi);}};$[liliiI1I(0x1d5,'FW9q')](iIi1I1i,(liilI1lI,i111111,iliII1li)=>{iIl1li1l['CPjTJ'](I1II1IlI,{'err':liilI1lI,'res':i111111,'data':iliII1li});});});}else{const i1IiiIii='不支持的请求方法';return{'err':i1IiiIii,'res':null,'data':null};}}}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)}