-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathjd_lzkj_loreal_pointsExchange.js
20 lines (17 loc) · 57.8 KB
/
jd_lzkj_loreal_pointsExchange.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
活动名称:积分兑换(超级无线)
活动链接:https://lzkj-isv.isvjcloud.com/prod/cc/interactsaas/index?activityType=10079&templateId=<模板id>&activityId=<活动id>&prd=cjwx
环境变量:jd_lzkj_loreal_pointsExchange_url // 活动链接
jd_lzkj_loreal_pointsExchange_opencard // 是否入会(true/false),默认不入会
jd_lzkj_loreal_pointsExchange_Notify // 是否推送通知(true/false),默认不推送
jd_lzkj_loreal_pointsExchange_break // IP被限制后继续执行,默认退出运行(true/false)
cron:1 1 1 1 *
============Quantumultx===============
[task_local]
#积分兑换(超级无线)
1 1 1 1 * jd_lzkj_loreal_pointsExchange.js, tag=积分兑换(超级无线), enabled=true
*/
const $ = new Env('积分兑换(超级无线)')
var iil='jsjiami.com.v7';const ll11l1=iii1II;(function(IilllI,iI1lIi,l1lllI,llliIi,i1lIli,i1lIll,ll11ii){return IilllI=IilllI>>0x4,i1lIll='hs',ll11ii='hs',function(liIlii,llii1l,liIlil,llii1i,ll11il){const Iillli=iii1II;llii1i='tfi',i1lIll=llii1i+i1lIll,ll11il='up',ll11ii+=ll11il,i1lIll=liIlil(i1lIll),ll11ii=liIlil(ll11ii),liIlil=0x0;const iI1lIl=liIlii();while(!![]&&--llliIi+llii1l){try{llii1i=-parseInt(Iillli(0x21b,'JR9D'))/0x1*(-parseInt(Iillli(0x111,'e)R^'))/0x2)+parseInt(Iillli(0x23d,'eYi['))/0x3+-parseInt(Iillli(0x2a5,'bSyj'))/0x4+-parseInt(Iillli(0x298,'!fT#'))/0x5*(parseInt(Iillli(0x2b0,'xHe1'))/0x6)+-parseInt(Iillli(0x229,'r(A4'))/0x7*(parseInt(Iillli(0x30e,'GMTl'))/0x8)+parseInt(Iillli(0x1a4,'!fT#'))/0x9*(-parseInt(Iillli(0x352,'M$fb'))/0xa)+parseInt(Iillli(0x239,'nLXA'))/0xb;}catch(iiIiII){llii1i=liIlil;}finally{ll11il=iI1lIl[i1lIll]();if(IilllI<=llliIi)liIlil?i1lIli?llii1i=ll11il:i1lIli=ll11il:liIlil=ll11il;else{if(liIlil==i1lIli['replace'](/[gkQSbCRVLhqtnWXNyDrpOB=]/g,'')){if(llii1i===llii1l){iI1lIl['un'+i1lIll](ll11il);break;}iI1lIl[ll11ii](ll11il);}}}}}(l1lllI,iI1lIi,function(Iili,iIi11,Iil1,ll11lI,llliI1,liIII,llii11){return iIi11='\x73\x70\x6c\x69\x74',Iili=arguments[0x0],Iili=Iili[iIi11](''),Iil1=`\x72\x65\x76\x65\x72\x73\x65`,Iili=Iili[Iil1]('\x76'),ll11lI=`\x6a\x6f\x69\x6e`,(0x16f631,Iili[ll11lI](''));});}(0xc30,0xaa14b,Iii11l,0xc5),Iii11l)&&(iil=0x611);const jdCookie=require(ll11l1(0x1eb,'Sq0g')),common=require('./utils/Rebels_jdCommon'),notify=require(ll11l1(0x2c9,'WV2l')),getToken=require(ll11l1(0x324,'#z[N')),{wuxianDefense,getJdEnvInfo}=require('./utils/Rebels_H'),{loreal_savePrize}=require('./utils/Rebels_savePrize');console['log'](''),console[ll11l1(0x263,'Nq)!')](ll11l1(0x311,'JR9D')+$[ll11l1(0x2ac,'1D3i')]+ll11l1(0x171,'GMTl')),console['log']('jd_lzkj_loreal_pointsExchange_url\x20//\x20活动链接'),console[ll11l1(0x198,'yGDb')](ll11l1(0x328,'IRzU')),console[ll11l1(0x127,'DrhK')](ll11l1(0x1df,'nLXA')),console[ll11l1(0x127,'DrhK')](ll11l1(0x1ce,'Nbc2')),console['log']('=========='+$[ll11l1(0x2fc,'[P^C')]+ll11l1(0x30a,'JR9D')),console[ll11l1(0x13f,'GMTl')]('');const activityUrl=process['env'][ll11l1(0x119,'#hlN')]||process[ll11l1(0x14b,'mu0B')][ll11l1(0x175,'8H1M')]||'',joinMember=process[ll11l1(0xfd,'Sq0g')][ll11l1(0x26f,'eYi[')]==='true',isNotify=process['env']['jd_lzkj_loreal_pointsExchange_Notify']==='true',hotbreak=process[ll11l1(0x290,'#z[N')][ll11l1(0x385,'r(A4')]===ll11l1(0x241,'WV2l');let cookie='';const cookiesArr=Object[ll11l1(0x2b3,'Nq)!')](jdCookie)[ll11l1(0x31f,'WV2l')](il1iI=>jdCookie[il1iI])[ll11l1(0x316,'*7kf')](i1iIii=>i1iIii);!cookiesArr[0x0]&&($[ll11l1(0x307,']Qa4')]($[ll11l1(0x345,'u9ZM')],ll11l1(0x294,'eYi[')),process[ll11l1(0x2bb,'yGDb')](0x1));function iii1II(_0x50dab1,_0x49bcf3){const _0x248130=Iii11l();return iii1II=function(_0x3af8b1,_0x1caf4e){_0x3af8b1=_0x3af8b1-0xdc;let _0x173c50=_0x248130[_0x3af8b1];if(iii1II['kHXyuq']===undefined){var _0x3dd194=function(_0x3a5783){const _0x245b31='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3c3573='',_0x20fa29='';for(let _0x13dc6f=0x0,_0x10b382,_0x401a91,_0x167ba3=0x0;_0x401a91=_0x3a5783['charAt'](_0x167ba3++);~_0x401a91&&(_0x10b382=_0x13dc6f%0x4?_0x10b382*0x40+_0x401a91:_0x401a91,_0x13dc6f++%0x4)?_0x3c3573+=String['fromCharCode'](0xff&_0x10b382>>(-0x2*_0x13dc6f&0x6)):0x0){_0x401a91=_0x245b31['indexOf'](_0x401a91);}for(let _0x418349=0x0,_0x1ae65f=_0x3c3573['length'];_0x418349<_0x1ae65f;_0x418349++){_0x20fa29+='%'+('00'+_0x3c3573['charCodeAt'](_0x418349)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x20fa29);};const _0x29ff3a=function(_0x16fdde,_0x44d7a0){let _0x1b4e21=[],_0x38b44a=0x0,_0x4f0543,_0xb84bbe='';_0x16fdde=_0x3dd194(_0x16fdde);let _0x59e7b6;for(_0x59e7b6=0x0;_0x59e7b6<0x100;_0x59e7b6++){_0x1b4e21[_0x59e7b6]=_0x59e7b6;}for(_0x59e7b6=0x0;_0x59e7b6<0x100;_0x59e7b6++){_0x38b44a=(_0x38b44a+_0x1b4e21[_0x59e7b6]+_0x44d7a0['charCodeAt'](_0x59e7b6%_0x44d7a0['length']))%0x100,_0x4f0543=_0x1b4e21[_0x59e7b6],_0x1b4e21[_0x59e7b6]=_0x1b4e21[_0x38b44a],_0x1b4e21[_0x38b44a]=_0x4f0543;}_0x59e7b6=0x0,_0x38b44a=0x0;for(let _0x17ba92=0x0;_0x17ba92<_0x16fdde['length'];_0x17ba92++){_0x59e7b6=(_0x59e7b6+0x1)%0x100,_0x38b44a=(_0x38b44a+_0x1b4e21[_0x59e7b6])%0x100,_0x4f0543=_0x1b4e21[_0x59e7b6],_0x1b4e21[_0x59e7b6]=_0x1b4e21[_0x38b44a],_0x1b4e21[_0x38b44a]=_0x4f0543,_0xb84bbe+=String['fromCharCode'](_0x16fdde['charCodeAt'](_0x17ba92)^_0x1b4e21[(_0x1b4e21[_0x59e7b6]+_0x1b4e21[_0x38b44a])%0x100]);}return _0xb84bbe;};iii1II['JinwHU']=_0x29ff3a,_0x50dab1=arguments,iii1II['kHXyuq']=!![];}const _0x205126=_0x248130[0x0],_0x3ae494=_0x3af8b1+_0x205126,_0x4813bc=_0x50dab1[_0x3ae494];return!_0x4813bc?(iii1II['UzNqhN']===undefined&&(iii1II['UzNqhN']=!![]),_0x173c50=iii1II['JinwHU'](_0x173c50,_0x1caf4e),_0x50dab1[_0x3ae494]=_0x173c50):_0x173c50=_0x4813bc,_0x173c50;},iii1II(_0x50dab1,_0x49bcf3);}!(async()=>{const ll111=ll11l1,i1iIil={'RxPQV':ll111(0x2a9,'bSyj'),'lsvou':'activityId','mLyZG':ll111(0x22b,'c%fy'),'ZQYSz':'lzkj','iHCtq':ll111(0x10d,'xHe1'),'osFzw':ll111(0x36d,'W2)v'),'mpwcU':function(llIlIl,II11I){return llIlIl<II11I;},'DIbTG':function(il1i1,lIIiIi){return il1i1===lIIiIi;},'BfACH':ll111(0x34c,'M$fb'),'QgFdj':function(liI1iI,iI1Il1){return liI1iI+iI1Il1;},'zuuxx':ll111(0x380,'b[#6'),'YiVAX':function(i1iIl1,i1lli1){return i1iIl1*i1lli1;},'hffqc':function(llIlII){return llIlII();}};if(!activityUrl){console[ll111(0x225,'c%fy')]('⚠\x20请先定义必要的环境变量后再运行脚本');return;}const liI1il=common[ll111(0x297,'M$fb')](activityUrl);if(!liI1il){console[ll111(0x192,'1D3i')](i1iIil['RxPQV']);return;}$[ll111(0x259,'IRzU')]=activityUrl,$[ll111(0x2ec,'z4jX')]=common[ll111(0x18a,'D8yG')](activityUrl,i1iIil[ll111(0x278,'uE#Y')]),$[ll111(0x2a2,'u9ZM')]=common['getUrlParameter'](activityUrl,'activityType'),$[ll111(0x28b,'nLXA')]=liI1il['hostname'],$['pathname']=liI1il[ll111(0x2e7,'8H1M')];let llIlIi='';if($['hostname']){if($['hostname']['includes'](ll111(0x217,'7*vO')))ll111(0x350,'GMTl')!==i1iIil['mLyZG']?llIlIi='/apps/interact':Iliill['havePrize']=IIII11;else $[ll111(0x110,'uE#Y')]['includes'](i1iIil[ll111(0x318,'z4jX')])&&(llIlIi=$[ll111(0x18c,'kB^s')]['replace'](/\/index$/,''));$['baseUrl']=ll111(0x13d,'#hlN')+$[ll111(0x2be,'#z[N')],$[ll111(0x37b,'kVrU')]=ll111(0x168,'DrhK')+$[ll111(0x17e,'Sq0g')]+llIlIi,$['origin']=$[ll111(0x155,'nLXA')];}if(!$[ll111(0x35f,'yGDb')]||!llIlIi||!$[ll111(0x2bd,'Nbc2')]){console['log'](i1iIil[ll111(0xe9,'IwvR')]);return;}notify[ll111(0x312,'IRzU')]({'title':$['name']}),console['log'](i1iIil['osFzw']+$[ll111(0x15a,'eYi[')]);for(let lIIiII=0x0;i1iIil['mpwcU'](lIIiII,cookiesArr[ll111(0x1ed,'bSyj')]);lIIiII++){if(i1iIil[ll111(0x333,'#z[N')](i1iIil[ll111(0x118,'oo#e')],ll111(0x331,'DrhK'))){$[ll111(0x271,'u9ZM')]=i1iIil[ll111(0x22f,'l1tf')](lIIiII,0x1),cookie=cookiesArr[lIIiII],common[ll111(0x1b6,'b[#6')](cookie),$['UserName']=decodeURIComponent(common[ll111(0x35b,'nLXA')](cookie,i1iIil['zuuxx'])),$['UA']=common['genUA']($['UserName']),$['UUID']=common[ll111(0x301,'7*vO')](ll111(0x1ca,'GMTl')),$['te']=Math[ll111(0x1c3,'xHe1')](i1iIil['YiVAX'](Math['random'](),0x2328))+0x3e8,$[ll111(0x376,'Nbc2')]=getJdEnvInfo($['UA'],$['activityUrl']),$['message']=notify['create']($[ll111(0x143,'$[Cf')],$[ll111(0x37d,'bSyj')]),$[ll111(0x1bc,'Nq)!')]='',console[ll111(0x19c,'kB^s')]('\x0a******开始【京东账号'+$['index']+'】'+($[ll111(0x104,'IwvR')]||$[ll111(0x23b,'IRzU')])+ll111(0x282,'Ka$h')),await i1iIil['hffqc'](Main),common[ll111(0xf7,'Pytu')]();if($[ll111(0x29c,']Qa4')]||$['runEnd'])break;}else lI1liI[ll111(0x1a0,'bSyj')]('❓'+i1i1Ii+'\x20'+lllii['stringify'](iI11Ii));}isNotify&¬ify[ll111(0x29e,'xHe1')]()&&(notify[ll111(0x2a6,'Nbc2')](ll111(0x2d5,'WV2l')+$[ll111(0x2e0,'3*W7')]),await notify[ll111(0x27d,'aWH)')]());})()['catch'](li111=>$[ll11l1(0x185,'*7kf')](li111))[ll11l1(0x348,'!fT#')](()=>$['done']());async function Main(){const llliII=ll11l1,liI1lI={'mYsoW':llliII(0x33f,'[P^C'),'sZfow':'venderId','iXNyK':function(lIIiI1,ll1I1){return lIIiI1(ll1I1);},'kElwt':llliII(0x1c6,'IwvR'),'Eolup':llliII(0x169,'mu0B'),'pDgiT':llliII(0x2ce,']Qa4'),'yfsgg':'1005','YoMCm':function(Ii1ili,iI1Ii1){return Ii1ili===iI1Ii1;},'ELIOe':llliII(0x1e4,'Ka$h'),'WpWUS':function(Ii1ill,llIlI1){return Ii1ill(llIlI1);},'JgjUn':llliII(0x384,'1D3i'),'VBPuR':llliII(0x258,'GMTl'),'nfTlF':llliII(0x116,'wi(('),'TgZdv':function(iI1IiI,IIlI1){return iI1IiI!==IIlI1;},'suCqF':llliII(0x113,'W2)v'),'LVwOq':llliII(0x2dd,'wi(('),'kQwgj':llliII(0x1cf,'[P^C'),'CRneB':llliII(0x1ec,'W2)v'),'gGGuT':llliII(0x19e,'b[#6'),'Drdco':'未能获取活动类型','Hjqyd':function(i1iIli,i1iIll){return i1iIli<i1iIll;},'YkUVl':'lJTuI','sCEUY':function(i1lliI,liI1l1){return i1lliI>=liI1l1;},'swbLq':function(IllIlI,IiillI){return IllIlI>IiillI;},'ZatQN':'yyyy-MM-dd\x20HH:mm','nYkWU':function(ili11I,li11l){return ili11I<li11l;},'CwXhA':function(lliiIl,li11i){return lliiIl>li11i;},'NkiKs':'OltGo','irzdp':function(lliiIi,iiIi1I){return lliiIi==iiIi1I;},'XjQTm':'VcSip'};try{if(llliII(0x133,'GMTl')!==llliII(0x23a,'IwvR')){$[llliII(0x29d,'yGDb')]=![],$['token']='',$[llliII(0x320,'bSyj')]='';if($[llliII(0x121,'mu0B')]||$[llliII(0x2cd,'u9ZM')])return;$['jdToken']=await getToken(cookie,$[llliII(0x2e8,'u9ZM')]);if(!$['jdToken']){console[llliII(0x127,'DrhK')]('获取\x20Token\x20失败!'),$[llliII(0x37c,'hiY]')]['fix']('获取[Token]失败');return;}await sendRequest(llliII(0x2ce,']Qa4'));if($[llliII(0x164,'Pytu')]||$['outFlag']||$[llliII(0x208,'!Jc8')])return;if(!$[llliII(0x31b,'DrhK')]){console[llliII(0xea,'z4jX')](llliII(0x388,'Nbc2')),$['message'][llliII(0x2e2,'JR9D')]('未能获取用户鉴权信息');return;}await $['wait'](0x1f4);if($[llliII(0xde,'!Jc8')]){switch($['joinCode']){case llliII(0x2d9,'JR9D'):$[llliII(0x315,'KxEb')]&&(await liI1lI[llliII(0x1dd,'WV2l')](sendRequest,liI1lI[llliII(0x2e9,'aWH)')]),await $['wait'](0x1f4));break;case liI1lI['Eolup']:await sendRequest(liI1lI['kElwt']),await $[llliII(0x283,'Nq)!')](0x1f4),await sendRequest(liI1lI[llliII(0x1a7,'xHe1')]);if($[llliII(0x347,'3*W7')]||$[llliII(0x306,'r(A4')]||$[llliII(0x2ca,'M$fb')])return;await $[llliII(0x218,'mu0B')](0x1f4);break;case liI1lI['yfsgg']:case llliII(0x257,'e)R^'):if(joinMember){if(liI1lI[llliII(0x37e,'Nbc2')](llliII(0xff,'Pytu'),liI1lI[llliII(0x187,'wi((')])){const IllIl1=await common['joinShopMember']($[llliII(0x266,'[P^C')]);if(IllIl1){if(llliII(0x321,'Pytu')!==llliII(0x367,'Ka$h')){const ll1Ii=llliII(0x336,'WV2l')[llliII(0x11f,'#z[N')]('|');let ll1Il=0x0;while(!![]){switch(ll1Ii[ll1Il++]){case'0':await $[llliII(0x268,'1D3i')](0x1f4);continue;case'1':await sendRequest(liI1lI[llliII(0x150,'#z[N')]);continue;case'2':await liI1lI[llliII(0x334,'W2)v')](sendRequest,liI1lI[llliII(0x210,'D8yG')]);continue;case'3':await $[llliII(0x211,'DrhK')](0x1f4);continue;case'4':if($['runEnd']||$['outFlag']||$['skipRun'])return;continue;case'5':console[llliII(0x1cd,'nLXA')](llliII(0x2f8,'[P^C'));continue;}break;}}else iIli1i['log']('❓'+iI1lii+'\x20'+IilIii[llliII(0x242,'b[#6')](iI1lil));}else{if(liI1lI['YoMCm'](liI1lI[llliII(0x1da,'D8yG')],liI1lI['JgjUn'])){console[llliII(0x248,'!fT#')](liI1lI[llliII(0x34d,'M$fb')]),$[llliII(0x286,'oo#e')][llliII(0xfc,'xHe1')](liI1lI['nfTlF']);return;}else Ill1l['data']={'ecyText':llI1Il[llliII(0x33a,'z4jX')]({'actId':ii1iii['activityId'],...i11iil},Ill1i[llliII(0x24b,'Nbc2')],ii1iil['te'])};}}else iIII1I[llliII(0x203,'oo#e')]('❓'+ilil1i+'\x20'+IlIIi[llliII(0x2d8,'wi((')](IiI1l)),illlII[llliII(0x236,'IRzU')]=!![];}else{console[llliII(0x19c,'kB^s')](llliII(0x2d2,'eYi[')),$['message']['fix'](llliII(0x2d7,'q66!'));return;}break;default:console[llliII(0x1f9,'D8yG')]($[llliII(0x247,'8H1M')]),$['message']['fix']($[llliII(0x2af,'eYi[')]);return;}if($[llliII(0x2df,'kVrU')]||$[llliII(0x139,'!Jc8')]||$['skipRun'])return;}else{if(liI1lI['TgZdv']('RuiDl',llliII(0x26d,'*7kf'))){if($['runEnd']||$[llliII(0x327,'#hlN')]||$['skipRun'])return;console[llliII(0x1cd,'nLXA')](llliII(0x12d,'o0hy')),$['message'][llliII(0x377,'!Jc8')](liI1lI[llliII(0x372,'uE#Y')]);return;}else IIIIIi={'ecyText':IIIIIl['encrypt']({'actId':I1lIil[llliII(0x371,'*7kf')],...IIIl1i},liiII1[llliII(0x108,'q66!')],IIIl1l['te'])};}if($[llliII(0x370,'!fT#')]['includes']('lzkj')&&$['pathname'][llliII(0x2bc,'Nq)!')](liI1lI[llliII(0xfe,'c%fy')])){if(liI1lI[llliII(0x344,'KxEb')](llliII(0x129,'#hlN'),'RpeBm')){await sendRequest(liI1lI['kQwgj']);if(!$[llliII(0x1ee,'xHe1')]){if(liI1lI['YoMCm'](llliII(0x27a,'Nq)!'),liI1lI[llliII(0x2f5,'!fT#')])){console[llliII(0x19c,'kB^s')](llliII(0x339,'e)R^')),$['message']['fix'](llliII(0x2c2,'eYi['));return;}else Iiiii['log'](l11i1I+'\x20'+IiII[llliII(0x32c,'#hlN')]),llIIli[llliII(0x341,'o0hy')][llliII(0x285,'nLXA')](lIII1I[llliII(0x338,'JR9D')]),illIlI[llliII(0x12a,'[P^C')]=!![];}await $[llliII(0x366,'8H1M')](0x1f4);}else liI[llliII(0x19c,'kB^s')]('❓'+illIli+'\x20'+l11i1l[llliII(0x2b9,'e)R^')](lIII11));}if($[llliII(0x322,'xHe1')]||$[llliII(0x29c,']Qa4')]||$[llliII(0x355,'Ka$h')])return;if($[llliII(0x29b,'FDSI')]===0x1){if(llliII(0x1b4,'eYi[')!=='BXlqK'){IiilI1[llliII(0x1cd,'nLXA')](liI1lI['mYsoW']);return;}else{await liI1lI['WpWUS'](sendRequest,liI1lI['gGGuT']);if($[llliII(0x322,'xHe1')]||$[llliII(0x256,'eYi[')]||$['skipRun'])return;switch($[llliII(0x243,'e)R^')]){case'10079':break;case'':console[llliII(0x220,'hiY]')](liI1lI[llliII(0x1a3,'eYi[')]),$[llliII(0x145,'WV2l')][llliII(0x284,'Nq)!')](liI1lI[llliII(0x148,'1D3i')]),$[llliII(0x250,'JR9D')]=!![];return;default:console[llliII(0x248,'!fT#')]('❌\x20当前活动类型('+$['activityType']+')暂不受本脚本支持,请联系作者进行反馈!'),$[llliII(0x323,'b[#6')][llliII(0x21f,'kVrU')](llliII(0x134,'GMTl')+$[llliII(0x1fc,'kVrU')]+llliII(0xf6,'1D3i')),$[llliII(0x177,'DrhK')]=!![];return;}if($['runEnd']||$['outFlag'])return;await $['wait'](0x1f4);}}await sendRequest(llliII(0x36f,'wi((')),await $[llliII(0x303,'FDSI')](0x1f4);if($[llliII(0xf3,'!fT#')]||$[llliII(0x386,'*7kf')]||$[llliII(0x151,'kB^s')])return;if($[llliII(0x1f6,'oo#e')]===0x1){$[llliII(0x20d,'c%fy')]=0x0;let Ii1I1i='';for(let IIlIl=0x0;liI1lI['Hjqyd'](IIlIl,$['prizeInfo']['length']);IIlIl++){if(liI1lI['YkUVl']===liI1lI['YkUVl']){const ili11l=$['prizeInfo'][IIlIl],Iiilll=ili11l['prizeName'],Iiilli=ili11l['num'],IIlIi=ili11l[llliII(0x249,'Nq)!')];Ii1I1i+='\x20\x20'+Iiilll+',需\x20'+Iiilli+llliII(0x206,'7*vO')+(liI1lI['sCEUY'](IIlIi,0x1)?'剩余'+IIlIi+'件':llliII(0x186,'3*W7'))+'\x0a',liI1lI[llliII(0x351,'[P^C')](IIlIi,0x0)&&($[llliII(0x20d,'c%fy')]=Iiilli);}else I1l1I1[llliII(0x25e,'e)R^')]=I1i111?.[llliII(0xdf,'8H1M')]?.['token'],ilI1li[llliII(0x103,'hiY]')]=IIliI?.[llliII(0x1e2,'#hlN')]?.['joinInfo'],ilI1ll['openCardUrl']=Iillii['joinInfo']?.[llliII(0x2f7,'[P^C')],IlI1iI[llliII(0x10a,'!fT#')]=Iillil?.[llliII(0x13b,']Qa4')]?.[llliII(0x365,'W2)v')],l1lIli[llliII(0x2cf,'eYi[')]=lIIiiI[llliII(0x227,'q66!')](II1lil[llliII(0x261,'nLXA')],liI1lI[llliII(0x1cb,'kVrU')]),IIli1l[llliII(0x137,'KxEb')]=II1lii?.['data']?.['shopName'],lIIii1[llliII(0x194,'W2)v')]=ll1i1['joinInfo']?.[llliII(0x1c0,'uE#Y')]?.[llliII(0x117,'7*vO')],IIli1i['joinDes']=I1iIi1[llliII(0x36b,'l1tf')]?.[llliII(0x37a,'xHe1')]?.['joinDes'];}console[llliII(0x225,'c%fy')](($[llliII(0x264,'o0hy')]?llliII(0xe1,'z4jX')+$[llliII(0x24f,'oo#e')]+'\x0a':'')+llliII(0x265,'JR9D')+$['venderId']+llliII(0x128,'JR9D')+Ii1I1i),notify[llliII(0x1d6,'kVrU')](($[llliII(0x1ae,'IRzU')]?'\x0a【店铺名称】#'+$[llliII(0x15c,'!fT#')]:'')+'\x0a【活动奖品】\x0a'+Ii1I1i);const llIIlI=$[llliII(0x24c,'D8yG')](liI1lI[llliII(0x12b,']Qa4')],$[llliII(0x30c,'Nq)!')]),Ii1I1l=$['time'](liI1lI[llliII(0x34e,'Sq0g')],$[llliII(0x360,'u9ZM')]);switch($['actStatus']){case 0x0:const iiIi1l=Date['now']();if($['actStartTime']&&liI1lI[llliII(0x238,'1D3i')](iiIi1l,$[llliII(0x1f8,'WV2l')])){console[llliII(0x2c0,'Nbc2')](llliII(0x381,'JR9D')+llIIlI+llliII(0x176,'7*vO')),$[llliII(0x12e,'yGDb')][llliII(0x2b1,'r(A4')](llliII(0x1f2,'uE#Y')+llIIlI),$['runEnd']=!![];return;}if($['actEndTime']&&liI1lI[llliII(0x287,'e)R^')](iiIi1l,$[llliII(0x269,'oo#e')])){console['log'](llliII(0x28a,'b[#6')+Ii1I1l+llliII(0x132,'#z[N')),$[llliII(0x2ba,']Qa4')][llliII(0x13a,'M$fb')](llliII(0x389,'$[Cf')+Ii1I1l),$[llliII(0x215,'IwvR')]=!![];return;}break;case 0x1:console[llliII(0x1f1,'[P^C')](llliII(0x289,'o0hy')+llIIlI+llliII(0x383,'oo#e')),$['message'][llliII(0x1fe,'bSyj')]('活动尚未开始,开始时间:'+llIIlI),$[llliII(0x31c,'q66!')]=!![];return;case 0x2:console['log'](llliII(0x1e3,'3*W7')+Ii1I1l+llliII(0x1ab,'!fT#')),$['message'][llliII(0x1ef,'u9ZM')](llliII(0x31e,'*7kf')+Ii1I1l),$[llliII(0x121,'mu0B')]=!![];return;default:$[llliII(0x16d,'u9ZM')]&&('OltGo'===liI1lI[llliII(0x19f,'c%fy')]?(console[llliII(0x1f9,'D8yG')](llliII(0x1f5,'bSyj')+$[llliII(0x188,'r(A4')]),$[llliII(0x2cc,'uE#Y')][llliII(0x172,'mu0B')](llliII(0x1c7,'c%fy')+$['actStatus']),$[llliII(0x193,'GMTl')]=!![]):(llI1I1['log'](IlIlil),lIli1I&&(!IIIIII&&(liil1I[llliII(0x38b,'FDSI')]=!![],i11ii1[llliII(0x368,'FDSI')]&&iiill1[llliII(0x219,'IRzU')][llliII(0x308,'oo#e')](lIli1i)))));break;}if(liI1lI[llliII(0x2f2,'8H1M')]($[llliII(0x1d0,'1D3i')],0x0)){if('RaMgX'!==llliII(0x378,'#z[N')){console['log'](llliII(0x28f,'b[#6')),$['message'][llliII(0x17b,'aWH)')]('奖品已发完'),$['runEnd']=!![];return;}else{Iilli1[llliII(0x235,'aWH)')](llliII(0x205,'Sq0g')),I1l1Il[llliII(0x199,'[P^C')][llliII(0xfc,'xHe1')](llliII(0x299,'b[#6')),llIll1[llliII(0x16c,'r(A4')]=!![];return;}}}console[llliII(0x23c,'JR9D')]('当前积分:'+$['myPoints']);for(let iiIi1i of $[llliII(0xed,'!fT#')]?.[llliII(0x16e,'Pytu')](liI1ll=>liI1ll[llliII(0x25f,'!Jc8')]>0x0&&liI1ll[llliII(0x18b,'#z[N')]==0x1)?.[llliII(0x251,'yGDb')](function(ll1II,IllIii){const iiIiIl=llliII;return IllIii[iiIiIl(0x21a,'*7kf')]-ll1II[iiIiIl(0x2d4,'Pytu')];})){if($['myPoints']<iiIi1i[llliII(0x28d,'nLXA')])continue;$[llliII(0x2ae,']Qa4')]=iiIi1i[llliII(0x276,'!fT#')],await sendRequest(llliII(0x1d5,'eYi['))&&('xmPML'==='EbrdJ'?iil1lI['data']={'ecyText':iiiliI[llliII(0x144,'mu0B')]({'actId':li1i1I['activityId'],...illIii},ii1il1['pinToken'],lI1llI['te'])}:$[llliII(0x23f,'bSyj')]-=iiIi1i[llliII(0x22c,'o0hy')]);}}else IllIII[llliII(0x1e7,'Pytu')]('❓'+ii1li+'\x20'+IIll1[llliII(0x340,'c%fy')](ll1il));}catch(ill1Ii){liI1lI['XjQTm']===liI1lI[llliII(0x343,'WV2l')]?console[llliII(0x235,'aWH)')](llliII(0x191,'7*vO')+ill1Ii):(IllI11[llliII(0x13f,'GMTl')](l1llIi+'\x20'+II1llI['resp_msg']),i11I11[llliII(0x24a,'IwvR')][llliII(0x2ff,'Ka$h')](l1llIl[llliII(0x1c8,'WV2l')]));}}function Iii11l(){const llii1I=(function(){return[...[iil,'bjDpskQjtSLiWaRNmikC.WVcoLmnBq.rXyvh7QgO==','jSklW6i','sCo6zJrcW7RcUa','WQ/dPepdMSo5W7ZdJ8kBvYhdVq','5PYn5BY55AEb','v0TJrmkOm8oczCky','h8ouW7FcMJldUc/cKCky','WPLqWQizW4KsdmoptW','W6JdSxv7detcKmo7W4e','gSklWOhcThyxqG','W5VcLCowWRZdIG','h3VdPM8','zCk2a8ozCfpcJCkPfsRdH8odawFdNCkYiG','tCkPW7FdRvRcRYpdIW','W7WVDCkoW6pcR3blfG','WOlcH1PisSoj','W6OpW79AdCk6W7DT','s1z4w8kSeCojBmkEeConfCorWRpcV8o3q8ohWPW','ACorwSoh','W5xcSJ3cPu/dI8km','WRldSem','W6blDSkJWRPFWQK','v8kAdCkUfs1dWOG','DN4yWRZdSrhdNZqlaW','b8kbWPVcQwmdySkLwmkIWR3dOCogW53cUYddSexdPSkJWR7cGG','Cxqu','WRBcHSke','W6T3WPtdSmoGF8krCCkHFq','w8kCcSk0aIns','WPxdVeJdR8kf','8jASKmkt5OkY5zsc6i6d5BY25AYW54QVWPu','WP1EWRm','WQVNU7tMNOhVVk/KUyZMRzZMLzBNGAhMNOVLKAZdUW','eSkhWQ7dJda7WP1srde2EmoqCX4','hSkGWOpdRZe','f8kTW5ZcNCo4umo4W4W','6Acz6kAe5zU/54QA776n','WRntWPyAW6O','WQfxCa','W6PeWQPMkrNdQ8kXWOmU','WPZdNwmE','jSkjWRtcO30','W7yowmkRW6q','WOJdJN4fW7y+hSoskq','WOKHa0xdSCohW6C','WRBcRcC','qgpdHCkTrW','WRhdH3a','W4VcVcFcPNZdMCkh','rmkCcSk3pcDyWPxcIW','sgRdGmkzCq','i8k/W4GgWR5oyHZcN07cRSozube','WORcIf5lvq','W63cPcVcPgddJCkeWRS','WR5GqW','WQeGWO7dLM/dJCkyFSopW57dHCowCq','BN9+va','jmooW7tcOSoYkYdcMq','5lUI5A6x5z2c','sCkYW6ZdNa','WP/dLrxcObDlW4NdRSkB','W6PeWQPkmrtdI8kHWROYW7xdSq','hN/dOx/dVmkTW6ldOq','W7XSWPNdH8o3AW','sLX5tCkSgSog','W7ifW6vefSkYW7C','lmknW70','rCknfSkKca','WP3cL0D+rCokrG','W60LB8kjW7JcPwfq','W5/cUmoCWRa','W7uPymk5W7lcVhC','W6DjWP/dRCo3ASouf8oKiq','bSkmWPlcMuybqmoq','WQb6sSkxWP13','g0PSWPC','sSoWFtD1','W6f1W4ZcLadcMmotDq','W6SEW75dpmkWW61SbW','vMFdQmkkuq','W7XLW4VcOJpcLmoh','WROxW64v','5yI95ywr5BI86zct5lYn5zcs5AAv6lsT772a5RA45yMW5lQP6zQG5BIk6zkI5lYJ5zgi5y+X5lQv5zkksW','W5NcTdRcV1JdHCkDWQFcQgmE','DMXKwmkQ','BCoyxmodWRNcHG','eCkfWONcIa','5lMy5AA06yoa5528','W79iWRvgkq','sCoLycD7','WRGfW49Lja','F8o9WPHzW44Aje/cM0/cKa','WPhXIR+p','wSkwhG','WRXkCSkFWOz0WORdPG','5BMf6zo16zoA5O2377+PE8kPgaBcLeVcMSoaD8ouwmkBu3VdUJ19A0JcU8kZW4bnWOmdWQZdLZGPadC6','D8oRW61EkmovW5xcQa','WPNcNeDOvSoz','uvldGSk6','fmkhWONcRgyeECoCjmol','EmkMWQKGvZRcQNy','rLPivGS','W6hcPui3','WRRdIvBdHCk3','WPZdKW7cSXXIW4hdPCkh','W7L0W6dcIcxcNSoktCoIW4NdOCoQv8kYuWldJSk2WRRdMcnBWPmgtNNcRM0stmocW6pdVCkAW5qOth0','WQNcNCkrW5DpWRVdNComWPu','WRpcRsr4ga','WPqtEG','WPesFLFcLvzGca','5AsJ5zcL5zoW56sz77Ys','W4RcSJ3cPNhdGCkAWRK','mmkqW7m1W7uLW5/cI8kzW4lcJa','nmknW7eQW74','W6jQWOhdRCoS','5Rwt5yQY5Bw957Ui5P+g77+t57M45P+A5Pwa6zE4772t','z8kTgSkMna','WOJdGbpcQa','5lYI5OgX5yI38k6xGE+6Ga','WQ3dNwqC','a8oiW4pcOYm','fmkbWQ7dJtSNWQG','y3b5ubO2','WPZcNvm','W6TUWR0+EfvN','qCkyemkZ','umkqaq','DSoKWOu','gmkbWO7cMMKhsa','W4HqWOzlbG','W69gWQPc','5RE05yQk5BcB5z+hW6G','5REx5yIj5BAv5lMhwq','EmoIWO5dW6mAo04','W4JcVIdcGKhdH8kmWRa','FSo4WPa','buFdMgZcLCk1cW','5AA65zgG5BAv5yAH6ykr5y+95AYS5lIo77+U5lIO5Q225Pse54gX5P6m5zg3yq','sCkZWPa','s1zT','hmklWPFcTZOrs8k0tCkV','bmoXWQ7cIGxdSdhdI8kjW5mLuq','44kd5O+a56Af44o16k6O5yA96iYx5y+eW43dICo8W6rFWRS','poAjHos5LmoN','WO4VcfJdOa','hCoqW7BcMqJdJJlcMq','DCouWQH8WQzzWOtcHSk8W4NcU8oLW7a','5AA65zgG5BAv5yYy5A+1','A31+xb4ReL0eluu','beZdNw3cIa','WPfmfCotWRtdRSkR','g053WPnmorS','WRxcPchcKctdHt3dP0jB','44cA5OYt56EG44gb6k+/5ysF6i2U5y+hWRldMgZdJaiJ','W4/cSmofWRq','w8kMiSoLCq','WRVcOdr0fNxcH8ovW4ddMSkRqq','x8oCobHFz0hdSwzoW5ub','8yUTIhu','EmkfWPxdV8kPD2dcJ1JdH8onWPRdRG','W7W8CCk4W7NcQKDrc8kpygve','zgDnFcy','eCkbWP7cQ3GhDmk1vmk6','4PUPWPFORzpLOQBLHilMOBNLVzVMRONNOAlNMkNPKBNMJyG','smo0FcfIW7NcS0fYW4HCW79wWQ7cHSkO','eSk5WRTYWRZdUfiW','sfldHSkR','W5VcHxGnjrBcLW','WO5lcmoVWR3dHSkIW7nky8kD','W7L/W5BcIHVcKmot','W6tcRbpcQXtdLqi','qmoWW4S','jmocW7lcVGldScxcM8oa','xCkCamk0','WQHhACk6WRTWWPxdHr9wySkdo8kSW5KeWRa','bvz5','g8ouW7BcMqtdTc4','sCoJFCojWQq','5P6H5BYN5Asv','W7HtWQXkkrRdLSk+WPC','WPnCeSoMWRNdQmkP','dv13WPC','x8kxgSkRfIbsWOi','W7uJCSkPW7NcR2LB','rmkYWPxcTfJcVvy0','C8omW7RcMW','W7eJzG','bx/dVgJdUmk4W44','6iYK5y+gW6tcLdBcM8o0FCoLW4pdVCos5Ash6lE7','rCkZWPxcPutcQa','WRVcRYBcUdpdGG','gmkhWQNdQImWWQG','5PY955+45Rwx5yM954IX5Og5WOS','uSoHtG96','BmovqmowWOlcLmozfXpdJgVdHYNdKq','e8oVW6ZdJvZcQdxcISkvW4q2BSkLA0TqWOhcHfZcVL8cW4FdSmk0wSoU','hSoAW63cMJ/dRI4','kUISToAYMowsNEw6NhC','W6n8WOtdSCo4Amka','WRxcTJrBdh3cLa','WPjwbSo8WRy','W6v1W5hcGdRcH8oPDG','pSoIW4dcHSol','WOuNbf/dPSojW7BdSY/cTmkFxa','5RAO5yQ45lM66zQ05BUi6zcp5l665zgk5y2m5lQO5zg1W7e','W5/cSJRcLuhdG8kcWRFcMeCtemoqWOm','zmk2WRC','n+odKoA2OUwiKEwCHEwEHoobLW','5PYR6igZ6iY05y+S55wL5OQq6yUO5P6p5l6n5OoU77Yg','5Rwo5yMk5lIF6zUj5BUv6zkT5l+x5zgR5y+05lME','W4lcNMmkdXtcJwVdLq','W6m/fmoJ','xmkJW63dQKhcPtldKmk0','bmk9WRXJ','W6C/f8oQW4iJWRCBgCkvnCon','WP7cMMmmbvZcH27cG8kcdareDCkKW5TtcavKW6u','dmk8WQ3dHqBcUhpdMCoXW51KD8o7zcm','zwGcWPddQrW','WO7cRb4nWR4Pzmo+W7jHWPK','lCkhW6K8W7elW5q','WRrMxa','WRFdH34AksNdK8ke','i8oyW43cO8oykJdcJ0xdG8oHWOi','h0FdINJcR8kQc0O','tFcxRlG','W6GlW7Hcpmk2W6LV','WRJcOJn4nw7cNW','WRBdRxSdfa','aCklWPBcJgy','W73cOcxcTg7dGZ3dO1CtW63cJmkxzIBcPSoOWRZcKmoCWQFdVb/dUx3dUHG'],...(function(){return[...['y8kWa8oIy0NcICk/mJ0','6i695yYvWOeGytNcJx7cMSosBCo65AwA6lwJ','bhxdQhldTW','FLK7WRJdRW','WR7cRJi','WPXuWQCpW7Ghaa','W7eyW7zoiG','WQfNs8kLWRP+WRO','dCk0WPxcKwW','a8kWW7qQW5i','5lUF5A2x5zYm','BSo+W6zudSogW67cQdNdS2S','5yQH5yER5BIu6zoa5l2x5zo/5OQm5yMt','W5VcUmoFWOhdSwdcLxy','b8kCWPVcVxi+rSkWxG','BmoNfsHp','B8oVW65F','gfD3WPL7aHrlxG','5P+R5B2e5AwC','WQCTW68','WRNcTIWGWQS','qfXKA8k4fmoh','WORdMwqpW4WDdmoy','gKpdKhW','W73cOcxcTg7dGI/dTu4rW6lcJCkDzwBcUmovWR3cI8o8W6hdTctdUNRdSae','WPNcHtfVka','sCoSW4FcMCoYvCog','WPnkbG','e8knWOu','vCkVW6RdJvVcPsVdGa','5OYc56s157U35P6nW44UW6brs8oAtmkiW5i5','cSolW63cMKhcUYtcKmkBW6mYDmotW5KuWO0G','v8kAdCkufYvfWOxcUSoUWONcVG','W5ZcTJRcTW','WQKcWPJdKcv/WPjgamoiWQG8WOG','v8o0FdDXW6JcSW','WOjfWRuiW6Wt','W68YgCoVW44UW6brs8oA','W5VcUcdcSeFdIW','e8kpWOBcPG','vvJdGSk+DLW9','WOSuCKVcQvy','WRRdReldI8kXW6e','W79/W5JcJte','wmkclSoyBW','fCoWFY0/W67cTx9OW6HCWQjhWQBcMSkVCSoSWRzUia','WPDyWQW','hhxdPh7dTW','b8kxWRtdNcWZ','ySoOWO5hW5iyou/cQW','5REN5yIT5BEC57MS5P6l776F57MU5P6T5PEg6zA8776j','umkHW6K','oCoEW4RcMCo0lJhcHa','tmkzWPeCqW','WQdcTdVcMc/dKG','WOhdHbtcUHHlW4u','aSoYWPpcTf/cSeH+WQhcSdddNSo9fG1vWQBdKCoCDq','ySo4WPnYW6mF','WQJcNmknW7TpWRG','C8ogiIPwAfi','W5lcSXhcULtdH8kdWOhcKx4agCoeWOODW6/dSmkZdCkgE0SrmmkzW5uMfCk3WQNcJaFdHSoOWOZcHSkFfxpcNSkNaEABT+wtJ+wgGos+QE+9JSkMWPT5W7hdHmoKWO3cVCkqxU++VE++NoM5O+IVM+s4TUwhI+s9MG','C8krhmkPnG','5lML5A2c5z6N','ENGFWQBdPH/dJG','BSowjrXLzeBcUW','BmkMgG','WQZdT0FdHCkXW53dNmkFvq','WPvMWQquW7m','vmo8W4dcUSoSqSoeW6tcTCk9dMfEWQ8ytG','g3BdV3pdOa','CCkNgmoOFG','AmkuWOtcLhe','xw5DydS','F8kwWQFcGK8','cmk8WQJdHqxcUhtdMCoZW51N','W7X8WOtdSSogySkwrG','WQbQv8kIWQX+WQ4l','6iY85y+XW75tlHpdQ8k3WOuUW6VcTowLV+I0To+9KG','z8k9fmo5BfdcIq','qLDPtmk0dCoxwmkuhG','WRFcUHbYcxlcH8oF','tSkRW7ddIwFcSsG','xSkOWOJcHvJcUa','4PQHWQ7ORBtLHBlLR5FKU67LVzNOPy3NM6JNJk7LOOtLJixPH4lLKzdLHA3OVAFOOAFOHjVMNjC','WOjfWQyvW7ChdmotuW','WQjhBSkCWQLYWOi','W6DDWQddR8oX','zCkQW4JdRvG','WQetuhJcJq','WRtcOI14','W6KozCkUW5K','WP3cUGqHWQyK','jSklW7qUW7WaW4G','tCkYW7ddG1dcJsJdG8kO','W5FcOJRcKeldJCko','ECkRWRuNqtRcVG','hSoDW7tcGHq','o8oZW5tcNZ8','WQldNwmUW50','W6r9WQpdRCoYASkl','W5voW5ZcGuC','CSo5W6f2pa','wmkbWRFdKLZcQYRcGSksW70xEa','WQ/dRKFdJ8kgW6BdKW','WPNdRhu7W5y','WRiVW75KaaOd','5lI35A+j5zYN','WRbtWRSE','WRmHW6rKdrWcCmkD','WQTdACko','CSo+W69toq','D8oOWOL0W6iupulcQ2VcNCoNDb4','owNdNLdcHW','hSkaWOhcOMue','W7FcValcOgm','cuzQWOPOjqfFCSkT','WRVcOdrydNJcP8ofW7NdHG','svbPvCkdhmooBq','q2DSztK','8jQITuZNQQ/MSPm','W5FcPYVcUg3dJCkBWRRcQgmE','ExzLrseM','W68lW6vE','WQ8uW7rMoW','aeFdINVcKCkGhq','WRiywfxcLNTRhq0','W5uADCkzW7m','hCkbWPVcQv4EqCkY','8yU0Ko+5MSo95lMs5lID5lQ5','5RsX5yQ25ywV5y+w772Y','q1H+xW','W5dcIwukfXRcKhq','kmknW6K7W74nW5ZcIa','WR3dPLRdLSkIW7RdICklEsW','W71SWRtdS8oF','WRXUsCk3','AmoGW6bwomodW7NcVW','WQTQnCoLWQO','W5COrmkZW6hcH2PycG','xmo4DW','rmkNWQxcJKa','W4iVW6fmiW','WRJcRJZcSWldMsRdO2XqW6lcJq','ExGBWRFdPGVdJHGWcW','WRFcJmkqW41aWRVdKq','hmoeW4hcV8ovjdNcJW','W4qJtmkEW7O','jCkmW7K9W6KCW4u','WPZdLtJcUrbc','5REP5yQN5BcI5z+6W5m','bCklWOhcT0GDvmk6','vEw/PowKTU+/PEAzKUEdMEwgOoAFKowrRSoq','swBdKCk/sa','tmo9W6ZcS8oKx8olW7hcQSkegxzmWQOOumkEeCogWROTWP8WeguIqSkQW6FcRhqZW6dcSmor','WRpdSfRdUCk4W7ldMG','W7XOWR1zcq','5P636ikX6i625yYl55A/5OU56yMW5P295l6e5Oku77Ye','5RwB5yM05Bs657Ur5P68776z57UY5PYi5PAV6zEs776Q','56U05Rcn8ykGQG','aLFdJu7cNmkMhW','nCkjWOfg','AmoCpqLu','umo+zIPtW6dcSM4','W7WlW7Hl','5PYx6ic96iYU5y2V55sD5OUZ6yIY5P+M5lYM5Ooo','5BQv6zcP5zg656w777YpaW','zSoOWO9eW6quoa','x8k4WOJcPhJcS084WPxcRa','D8oSW7ZcKSoS','5BEp5AkR5z6P5z+5','xxKPWRVdSthdHsST','WPbsWQavW68jeComy1O','W7i8zmkZW5tcR3zAmmkjAq','WPNcUND5vq','BSk8ea','WRRcHbRcJau','WOXCeSoLWOFdOSk/W7i','mmkqW7m1W7uLW5/cI8kz','WR7cOJr8','bCklWOhcT0Gtsmk5xG','WOHnqmkHWR4','E3il','FmkDpmkPfq1zWPFcGq','mSkxW7qkW74i','WPdcGJr4iW','W74fW6bgpCkGW5DIevK','77YV5lI+5y285PEH5OYL','F8kTWQK1FbtcTN7cMSoEzG','W7ydW69bhmk2W6LV','5P+o5B2e5AA7','C8ovqmoaWPhcHCoz','W71YWP7dSSolESkl','WRtcQc0','WP3dKMe','WR1NWQmZW6G','sCkvWPmuza','WRZcQLXoqq','W4lcV8osWRNdQ2/cLwS','wCkxW6NdKv8','WRdcHSkkW5bOWRldKSof','WP7cM1DMASomtIS','WOddJGa','WORdMwqpW4WtemoBkq','WOvJACkkWOS','bCklWRtdJs08WQHD','sLHYFmkL','m8kkW7u/W5Ki','hCkbWPZcJw0sxG','WQ0RW7a','4PMYW6hORQlLORBLH5JMOORLVyhMR6xNOyVNMRRLJzZPHk0','WPD1w8kNWQ8','xmkJW63dKepcRtldNmkoW4u','W6z2WOtdTSo3BSkira','WRiwW6KqD0NdImk2WQa5W7tdJG','hSkaWPhcQ2iuqSkU','5PYG6ioJ6i695y+J55wa5OM15RwD5yQm54UN5OgE','DSoxaGnrBfS','WRJcRJZcSWJdMcJdQq','5yIr5yAp5BQg6zkz5l275zcR5AEv6lsO776G5REq5yUk5lQ16zMX5BQq6zc/5l6I5zg/5y655lMQ','tvzJumkoeSohBq','n8kcWRZcQKa','DSoxcqbayL/cG15yW5CbFGtdN0iwneJdQ8kWEW7cVmkXneu9y8oHWO8dWRS','WRtdVwddTSkA','oSoFW4VcVCosiq','dmkZWQ8','dNpdTW','qfRdKW','x8kTWORcQui','WOjEWRKz','BmofxCo2WP7cHG','vLRdHCkAs0i2hW'],...(function(){return['W5CTu8kCW5i','WPTEWR0sW5OpaCoq','b8kbWO7cJhOwsmoWj8oyrHRcI8o1','WPjwbG','bhxdQa','W5JMTltLIOZLPOtLKllVViNdLW','tSodmY5x','CSoLW6Pkh8osW7i','WQryfCoeWPy','xSoDWRzoW6C','5P+L6ioF6i6Q5yY555EG5OII5REC5yIR54Ug5Oc7','bubTWPb/kXa','WPD2mG','w8oYEY1MW6BcONjvW6DjW6G','8yAtRfdNQyZMSOq','doE4JUAEUE+/Jos4VEAVVEAxKUEdQoAELUwtSIW','W7DMW4NcOvS','5RAM5yQC57oq5z2I77YF','WOVdIhylW6yd','qCkUWQOHxG','WOSuCKVcRLnOhG','dKpdNe3cPG','vCoKEWj8W67cSq','c8oyW7W','WPPyfCo0','cSk4WPXTWOJdSe8','DmohiHXjmXRdSW','E8owiIbBFvdcR0z2W5uusq3dSKeqmKG','W7fBW4W','DN4yWRZdSrhdNZqxfrO','BmovqmodWQ/cJ8opnq','og0EWRRdO1FdIc5TdHHHW5xcHahdRmo9WRldK8oLWPS','cCkYWQXNWPS','E8oEumobWONcKSoi','umkLW6RdILtcOYm','WRBdQKFdKCkxW7ZdMCkxEsBdTry','DCoDnqbpBvdcRW','yKhdJ8kTsW','zSkTWOpcLxa','gSkWWQdcTMpcV3C','E8oErq','WPHFWQCzW6Su','W6j2WPa','WRClW7XdFCkNW6TJef1WWPpdTSk/W6JcUr1dW4NcRCkRexnHwmkoW4xdMG','eSk5WRTYWRZdTK4Zpa','r8kyWORcT0i','WPCVguBdGSovW6W','WQNcTZj0dNVcMSokW60','WPlcV8kxW7Pf','WQddSN8nW7S','CSoSWO5sW5GjoG','bSkwWQJdScWWWQrvtW','WRtcPJD/aw/cLSo5W6BdJW','WROvW68rDu/cI8k9WROHW4/dOZ0','WOuapuddHG','W7jZW4VcJsNcNmouA8oBW5tdVW','ceZdMNRcICk3dh1yya','m8kkW7u/W54nW5ZcIa','WORdIb8','8kwoK8kV5Og25zsf6i2O5BY8','wXCRW5iTEuerASk6vSoFoG8','tmo2W5RcSCoxwSohW4e','dCkrWO3dSHm','gVc7GlK','B8kTWRKICsFcRq','Emk2WRqvzJm','lCkBW4OGW7KcW4xcNG','W7DXW4VcHq','sCo5ydrEW67cU24','ag7dU2VdQSoLWOtcQG','l8kaa8kh','W6dcJMqwaG','W4hcG383dHJcGwm','vmoSW53cMSoWua','WRVcOdrofh3cH8ozW6C','BmkQWRyKBsu','A8k9bmoUz1q','5lUj5lMc5lIu8lc3So+7KW','5y2f6yE76k2F5PUNkNFcMtvXWR7dPvhdJCkG','EmozsW','E8ocDWDu','aoAkO+s4P+wUQ+EiGwi','W7ioW5ngkmk8W65vdKzQWRJdUSkVW4xcObbmW43dRmkPde98s8km','b+w8UEwNGE+8SUAAL+EdHoweRUADREwtMG4','gM/dOv7dT8k7','W751W4ZcLZ7cKSof','W7HiWRng','WQ/dJwqepYRdHSkm','WRVdGw8','5BEi5y2a5A6d','v1bKASkIfSogzG','WPddK2qlW70reSoA','WOBcOqmqWPGPFSotW4H4WPddVG','WOlcQHKxWQKNDq','huVdL1ZcN8kShum','W7alW7PpaSkLW61WgW','W57cN2uLdrlcGW','WRzUumkZ','WRddQKNdUSkMW6e','5BsD5yYE5A+M','W7tcPLGSba','r8o6W4FcJmoQvCovW5VcTq','mSkhW6K/W48bW4lcIG','W4ZcTmofWOddRgFcOhK9e8kOW59GWQ/cVG','x8kPWOFcTepcRW','WPqLbf7dVSobW6/dRW','zxGFWQxdMbxdMcO','sCoLBJbLW7W','W699WPpdSmo8FmkwAmkS','4P6YgEADI+EDSoISR+AZJCoS','4P2RgEIeKoACKUI8NEIGSEMdPowiUos5U+MvQEITJ28','sLZdJa','W69bW4xcRhKU','yhfJwYSTaKe','bSkwWRVdRtCK','qmk1WRS6xa','zmoNfrrc','beP5','BmoRW7bjlmoaW7K','wmkUW7RdI0ZcTdi','5lUv5AsQ6ych55+E','WOGRfW','tSo+zcf+','WO7dGbtcObPLW47dRSkn','WR9AWR03W6O','jCoyW4m','W4vJWRbqeW','W6rcW43cOY0','W5DIW5VcHZa','CSoqWQ8PW7W0W5lcUSkJ','WQVdUZdcPtW','vCoPW5/cTSoQ','WQlcHtlcTbu','D0Ttx8kH','CSkMW4G+W5KGW4u','y8kWWP41BJlcT2lcLmo2C8oo','yoE4SEAFHE+9G+s6M+ATJEAvMoEbLoAEK+wsRmkw','dCkfWQjaWPq','W53cHxy','W4VcVYhcPMddJCkeWRS','CSohW7dcOSoWidRdLW','FNmfWQhdLXhdHrKTdbn7','5P+s5Aox5zYN5zY/','mSk1WPddQq0','CSoMW6Xkbmod','W5fiW5pcLrq','ECk3WQG5zJdcShFcIa','WP/dHbpcIHzdW4VdOCkh','WPvqWQaD','mSkKWP/dRY8','WP9qWRKz','xXlcIdRdGmo/qefWDNtcK2m','WRNdSJpcUqS','wmkqgSkSlsvAWPq','e8klWQi','WQ4GnvJdPSoPW6ZdRbq','WPhNPixLIjFVVA8','W6r2WP7dRmoAymkbrmkbFrVcJW','sKbAuCkKe8oxEW','WRJdPfRdNG','WRtcRtRcSJm','WPbCfSo3WRNdVmkPW4bxrG','W71SWPtdOCo8Fmkw','WPBcNvHHs8oA','5P+B55+u5REV5yUu54IV5OgHrq','t8kLW6RdIwRcQtxdGG','W5VcO8oyWQ/dU0xcKxuQ','W6vmW5pcKw8YW5XWnmo7WQauWOJdPsbbAeVdOXrnW7rFW5FdGmoVWR/dVSoNW7uvWRC1wCoxxwxcJ8kDW6a','zeCkWRRdSa','W5tcHhu3cb7cGq','FmoIWPO','W7COxSkXW63cPw5HcCkuD25rWRHdw8oyW5ehWPvvuSk8F8keAdJdSSkdwdH1W7DpWRldQgT5W5a0WQNPMOpLI4BLKjdNUBtNUR3MIAROO4tVVzpcI3zhWOLsjaJdPmk8AE+8NG','AmoGW6PohCooW7lcMapdQMlcSW','tLldNCkRDfS6c1S','WRddJwqhasddKa','6i225y6sWRDKoXe5E8ktWOLor+wKPEI1H+++PW','WOSgn2pdNq','uSo2W5JcUSoW','W7zOW5ZcJd7cM8ohDW','DM0CWRddQrZdQciSeXn7W4q','WP3cQHKuWPCTy8oG','DSoxW4lcNmoF','WRiWW7zGjWW','W6hcTSoBWOddSa','WPtcTXhcNJa','rCkCf8kJlsTdWPJcImo+','vmkyW5FdGh4','56Qw5Rk18kAHOq','ESoPWQjBW7CqphtcOLlcJSoUybCIhHZcMmk0FmodruCeW6iYWQNcHCkkW60GW7ZcHCkRwYCxW5CrW6dMMOpLK7/PGPRNNBhVVjJcS8k+FCkQWRBdMmoawf/cH+++Lo+9V+M7NoIVR+s7V+MdSoEERq','W6PxWQ5plH7dNSkSWOCKW6VcUYrIpmo+CwldJ0GuzhncFKGujCocmmouyra','WQlcSZZcPYtdUc/dQ0a','EmosiG0','5REu5yMN5BAy5lUQW6G','WOisW55qpG','r8o6W4FcTSoOxCovW5FcJ8kp','WPCWaL/dVSohW6VdRai','zSkSWR0','z8orW5hcR8o0','z8kDdmkYaa','5P2F55Yh5REH5yIX54U05OgwW60','W5BcK30BW5aFemoujCoR','w0PPvd8','jCosW4RcQSoVlq','WQlcQdVcIs7dNsVdQa','WRZcQJG','WRxcGarRiW','BCoHW6q','5RA15yQX5BoT5P6O5B6z5AEe77+P5BYH5Asd5PEL6zAj77+6','W5xcI2uc','WPhORj3MSzpLPzlOTyrt4P24lq','5P2J552s5RAF5yML54IT5OgeDa','hmkkWPNcJha','WOJcItDucG','xmkJW63dQKhcPttdKCktW4G5BG','W4FcVSow','rK9Cs8kE','W5JcHgigeWC','DN4yWRZdSrhdNZqwhGzW','WOBcNs0QWQO','l8oEW5W','B8kdW6OMWR8zW4lcImkeWQBcGCokW5NdH8kUWP0jWO8yWRK','r8o6W4FcI8oNrmoe','WOVcRH4f','cuzQWRbQlqftsa','gCklWPO','WRXwB8kgWQzYWO7dPqK','5AAU5zg95BEL5ysx6yg75y6H5A+Z5lI5772a5lQf5Q6y5Pw354gG5P6t5zkRW5S','b+ENLUwiJo+8SG'];}())];}())];}());Iii11l=function(){return llii1I;};return Iii11l();};async function handleResponse(ill1Il,i1lll1){const IlI1l1=ll11l1,Ii1I1I={'GFEvm':IlI1l1(0xe0,'WV2l'),'JAteC':function(l1i1Ii,l1iI1){return l1i1Ii===l1iI1;},'PxCWY':IlI1l1(0x1d2,'Ka$h'),'XNhrh':function(lliiI1,IiiI1){return lliiI1(IiiI1);},'JDqKf':IlI1l1(0x2ee,'DrhK'),'ogUAe':IlI1l1(0x2de,'WV2l'),'KmpqV':IlI1l1(0x244,'DrhK'),'ezQMx':'follow','uBpLW':IlI1l1(0x17f,'3*W7'),'aPbDE':IlI1l1(0x25a,'7*vO'),'nyGIN':function(lilII,IIIiI){return lilII===IIIiI;},'tBdsN':function(iii1i1,IllIll){return iii1i1===IllIll;},'GZWlE':function(i1lllI,llIIi1){return i1lllI!==llIIi1;},'XpFrh':IlI1l1(0x102,'WV2l'),'FvDCq':function(iI1IlI,l1i1Il){return iI1IlI!==l1i1Il;},'VcHrz':'basicInfo','wUdKP':IlI1l1(0x375,']Qa4'),'wOczN':function(ill1I1,l1i1II){return ill1I1(l1i1II);},'CFqrH':function(ili111,Ii1I11){return ili111!==Ii1I11;},'caeEV':IlI1l1(0x1e8,'r(A4'),'SKABy':'tNLeH','ICZAG':IlI1l1(0x2b8,'e)R^'),'kBYvs':IlI1l1(0x356,'!Jc8'),'xsWkQ':IlI1l1(0x2b4,'o0hy'),'EhenU':'oBGUM','NDnsT':function(IllIli,ii1Ii){return IllIli===ii1Ii;},'NPKyj':function(ii1Il,l1iII){return ii1Il!==l1iII;},'UNeby':IlI1l1(0x1b2,'q66!'),'avVuS':IlI1l1(0x173,'!Jc8'),'ZBdsM':function(iI1Ill,lilI1){return iI1Ill(lilI1);},'XWFHg':IlI1l1(0x1b1,'Sq0g'),'LDBcc':IlI1l1(0x35c,'FDSI'),'QqDjM':IlI1l1(0x35e,'IRzU')};try{switch(ill1Il){case Ii1I1I['JDqKf']:if(i1lll1[IlI1l1(0x237,'Nq)!')]===0x0&&i1lll1[IlI1l1(0xee,'u9ZM')]){const IIIi1=Ii1I1I['ogUAe'][IlI1l1(0x35a,'[P^C')]('|');let i1llli=0x0;while(!![]){switch(IIIi1[i1llli++]){case'0':$['shopName']=i1lll1?.['data']?.[IlI1l1(0x167,'!Jc8')];continue;case'1':$[IlI1l1(0xdd,'#hlN')]=i1lll1?.['data']?.[IlI1l1(0x1d4,'r(A4')];continue;case'2':$['joinCode']=$[IlI1l1(0x115,'xHe1')]?.[IlI1l1(0x146,'*7kf')]?.[IlI1l1(0x124,'c%fy')];continue;case'3':$[IlI1l1(0xe8,'Nbc2')]=$[IlI1l1(0x2e3,'aWH)')]?.[IlI1l1(0x364,'IRzU')];continue;case'4':$['joinInfo']=i1lll1?.[IlI1l1(0x27b,'b[#6')]?.[IlI1l1(0x160,'r(A4')];continue;case'5':$[IlI1l1(0x11b,'bSyj')]=i1lll1?.[IlI1l1(0x1c2,'*7kf')]?.[IlI1l1(0x1b3,'[P^C')];continue;case'6':$['venderId']=common['getUrlParameter']($['openCardUrl'],Ii1I1I[IlI1l1(0x136,'Pytu')]);continue;case'7':$['joinDes']=$['joinInfo']?.[IlI1l1(0x2e4,'bSyj')]?.[IlI1l1(0x2ad,'wi((')];continue;}break;}}else i1lll1[IlI1l1(0x26a,'Pytu')]?(console['log'](ill1Il+'\x20'+i1lll1[IlI1l1(0x141,'mu0B')]),$['message'][IlI1l1(0x11e,'1D3i')](i1lll1[IlI1l1(0x253,'eYi[')]),$[IlI1l1(0x353,'*7kf')]=!![]):console[IlI1l1(0x1a0,'bSyj')]('❓'+ill1Il+'\x20'+JSON[IlI1l1(0x254,'8H1M')](i1lll1));break;case Ii1I1I['ezQMx']:if(Ii1I1I[IlI1l1(0xf4,'u9ZM')](i1lll1['resp_code'],0x0)){}else i1lll1[IlI1l1(0x17a,'aWH)')]?IlI1l1(0x379,'8H1M')!==IlI1l1(0x109,'7*vO')?(console['log'](ill1Il+'\x20'+i1lll1[IlI1l1(0x382,'l1tf')]),$[IlI1l1(0x30f,'!Jc8')]['fix'](i1lll1[IlI1l1(0x2ab,'$[Cf')]),$['skipRun']=!![],[IlI1l1(0xf9,'kB^s'),'结束',IlI1l1(0x240,'3*W7'),'不在'][IlI1l1(0x120,'c%fy')](i1llll=>i1lll1[IlI1l1(0x18d,'kVrU')]['includes'](i1llll))&&($[IlI1l1(0x16c,'r(A4')]=!![])):(iiili1[IlI1l1(0x28e,'FDSI')][IlI1l1(0x125,'oo#e')]=ill11i[IlI1l1(0x369,'KxEb')][IlI1l1(0x1b7,'c%fy')],lllill[IlI1l1(0x10b,'oo#e')][IlI1l1(0x2aa,'!Jc8')]=ill11l[IlI1l1(0xf2,'Nq)!')][IlI1l1(0xe2,'nLXA')]):console[IlI1l1(0x23c,'JR9D')]('❓'+ill1Il+'\x20'+JSON[IlI1l1(0x204,'o0hy')](i1lll1));break;case Ii1I1I['uBpLW']:if(i1lll1[IlI1l1(0x358,'Ka$h')]===0x0&&i1lll1['data']){i1lll1=JSON[IlI1l1(0x252,'!Jc8')](i1lll1['data']);if(i1lll1['resp_code']===0x0&&i1lll1[IlI1l1(0x25c,'oo#e')])'QUnfg'===Ii1I1I[IlI1l1(0x354,'Sq0g')]?($[IlI1l1(0x181,'FDSI')]=i1lll1?.[IlI1l1(0x313,'l1tf')]?.['pinToken'],$[IlI1l1(0x221,'uE#Y')]=i1lll1?.['data']?.[IlI1l1(0x15b,'FDSI')]):(iii1il[IlI1l1(0x183,'wi((')]=!![],II11li[IlI1l1(0x222,'Nq)!')]&&liiI1i[IlI1l1(0x145,'WV2l')]['fix'](ililIi));else{if(Ii1I1I[IlI1l1(0x27e,'M$fb')](i1lll1[IlI1l1(0x31d,'nLXA')],0x3e8))Ii1I1I[IlI1l1(0x346,'Nbc2')](IlI1l1(0x300,'3*W7'),'VyFDc')?(console['log'](ill1Il+'\x20'+i1lll1[IlI1l1(0xec,']Qa4')]),$[IlI1l1(0x2f1,'c%fy')][IlI1l1(0x15d,'b[#6')](i1lll1['resp_msg']),$[IlI1l1(0x355,'Ka$h')]=!![]):IiiIli[IlI1l1(0x1c1,'7*vO')]-=iillli[IlI1l1(0x32d,'z4jX')];else{if(i1lll1[IlI1l1(0x2ab,'$[Cf')])'Vicls'!=='Vicls'?liiI1l['message']['fix'](i1l1II):(console['log'](ill1Il+'\x20'+i1lll1['resp_msg']),$[IlI1l1(0x2c5,'q66!')][IlI1l1(0x11d,'DrhK')](i1lll1[IlI1l1(0x189,'!fT#')]),$[IlI1l1(0x314,'1D3i')]=!![]);else{if(Ii1I1I[IlI1l1(0x1a5,'b[#6')](IlI1l1(0x32f,'c%fy'),Ii1I1I['XpFrh'])){i1ilii[IlI1l1(0x2c0,'Nbc2')](IlI1l1(0x2d6,'[P^C')),iIIII1[IlI1l1(0x12e,'yGDb')]['fix'](Ii1I1I[IlI1l1(0x1b8,'q66!')]);return;}else console[IlI1l1(0x13f,'GMTl')]('❓'+ill1Il+'\x20'+JSON[IlI1l1(0x156,'q66!')](i1lll1)),$[IlI1l1(0x33d,'WV2l')]=!![];}}}}else Ii1I1I[IlI1l1(0x1db,'xHe1')](IlI1l1(0x342,'uE#Y'),IlI1l1(0x2ef,'kVrU'))?i11iii=!![]:console[IlI1l1(0x14d,'uE#Y')]('❓'+ill1Il+'\x20'+JSON['stringify'](i1lll1));break;case Ii1I1I['VcHrz']:if(i1lll1[IlI1l1(0x14f,'$[Cf')]===0x0&&i1lll1[IlI1l1(0x1f3,'wi((')]){$['actStartTime']=i1lll1['data']?.['startTime'],$[IlI1l1(0x22d,'e)R^')]=i1lll1['data']?.[IlI1l1(0x1cc,'wi((')],$[IlI1l1(0x202,'yGDb')]=i1lll1['data']?.[IlI1l1(0x214,'Nbc2')];if(!$[IlI1l1(0x2d1,'kB^s')]){if(IlI1l1(0x1bb,'b[#6')===Ii1I1I[IlI1l1(0x2d0,'bSyj')])$[IlI1l1(0x130,'!Jc8')]=Ii1I1I[IlI1l1(0x387,'e)R^')](String,i1lll1['data']?.[IlI1l1(0x200,'r(A4')]||'');else{if(Ii1I1I[IlI1l1(0x107,'o0hy')](iil1il[IlI1l1(0x18e,'!Jc8')],0x1f4)&&ilil1I)lil11I[IlI1l1(0x359,'o0hy')]={'ecyText':Iliii1[IlI1l1(0x19a,'WV2l')]({'actId':iIiIi[IlI1l1(0x371,'*7kf')],...iil1ll},iiilil[IlI1l1(0x16b,'wi((')],iil1li['te'])};else[0x193,0x1ed][IlI1l1(0x112,'l1tf')](I1lIi1[IlI1l1(0x1d9,'Ka$h')])&&(lillIl=!![]);}}}else i1lll1[IlI1l1(0x2e5,'FDSI')]?Ii1I1I[IlI1l1(0x305,'u9ZM')](Ii1I1I[IlI1l1(0x138,'FDSI')],Ii1I1I[IlI1l1(0x335,'#z[N')])?(console[IlI1l1(0x10c,'Ka$h')](ill1Il+'\x20'+i1lll1[IlI1l1(0x275,'IRzU')]),$[IlI1l1(0x20f,'l1tf')]['fix'](i1lll1['resp_msg'])):i11iiI['te']=lIli11:console[IlI1l1(0x291,'7*vO')]('❓'+ill1Il+'\x20'+JSON[IlI1l1(0x2b9,'e)R^')](i1lll1));break;case IlI1l1(0x21c,'Nq)!'):if(Ii1I1I[IlI1l1(0x2a7,'W2)v')](i1lll1[IlI1l1(0x106,'Sq0g')],0x0))$['prizeInfo']=i1lll1?.[IlI1l1(0x201,'3*W7')]?.[IlI1l1(0x21e,'l1tf')]||[],$[IlI1l1(0x165,'!fT#')]=i1lll1?.[IlI1l1(0x23e,'W2)v')]?.[IlI1l1(0x33c,'u9ZM')]||0x0;else{if(i1lll1[IlI1l1(0x1d7,'3*W7')]){console[IlI1l1(0x10c,'Ka$h')](ill1Il+'\x20'+i1lll1['resp_msg']);for(let l1iIlI of[Ii1I1I['ICZAG'],'结束',Ii1I1I[IlI1l1(0x228,'q66!')],'不在']){if(i1lll1[IlI1l1(0x18d,'kVrU')]['includes'](l1iIlI)){$[IlI1l1(0x33e,'#z[N')]=!![];break;}}$[IlI1l1(0x2ba,']Qa4')][IlI1l1(0x31a,'c%fy')](i1lll1[IlI1l1(0xec,']Qa4')]);}else console[IlI1l1(0x127,'DrhK')]('❓'+ill1Il+'\x20'+JSON[IlI1l1(0x1e6,'kB^s')](i1lll1));}break;case Ii1I1I[IlI1l1(0x161,'q66!')]:if(i1lll1[IlI1l1(0xef,'l1tf')]===0x0&&i1lll1[IlI1l1(0x2a0,'D8yG')])$[IlI1l1(0x2a8,'l1tf')]=i1lll1[IlI1l1(0x2db,'$[Cf')]?.[IlI1l1(0xf5,'8H1M')];else{if(i1lll1[IlI1l1(0x337,'uE#Y')]){if(IlI1l1(0x1d3,'kB^s')!==Ii1I1I[IlI1l1(0x329,'Nq)!')]){li1Il[IlI1l1(0x2f0,'xHe1')](Ii1I1I['PxCWY']),li1Ii['message'][IlI1l1(0x1bd,'q66!')](IlI1l1(0x2ed,'Pytu'));return;}else{for(let IIIlI1 of[IlI1l1(0x2fe,'Ka$h'),'结束',Ii1I1I[IlI1l1(0x230,'Nbc2')],'不在']){if(i1lll1['resp_msg'][IlI1l1(0x101,'D8yG')](IIIlI1)){$[IlI1l1(0x245,'uE#Y')]=!![];break;}}console[IlI1l1(0x105,'b[#6')](ill1Il+'\x20'+i1lll1[IlI1l1(0x216,'8H1M')]),$[IlI1l1(0xfa,'mu0B')][IlI1l1(0x17b,'aWH)')](i1lll1[IlI1l1(0x338,'JR9D')]),$['skipRun']=!![];}}else'svWpd'!==IlI1l1(0x159,'kB^s')?(console[IlI1l1(0x1a0,'bSyj')]('❓'+ill1Il+'\x20'+JSON[IlI1l1(0x1b5,'Pytu')](i1lll1)),$[IlI1l1(0x314,'1D3i')]=!![]):IiilIi=IiilIl['pathname']['replace'](/\/index$/,'');}break;case'exchange':if(Ii1I1I[IlI1l1(0x1a1,'e)R^')](i1lll1[IlI1l1(0x20c,'M$fb')],0x0)){const IiiIl=i1lll1['data'];if(IiiIl){if(Ii1I1I[IlI1l1(0x12c,'nLXA')](Ii1I1I['UNeby'],Ii1I1I[IlI1l1(0x1fa,'7*vO')]))switch(IiiIl['prizeType']){case 0x1:console['log']('🎉\x20'+IiiIl[IlI1l1(0x32e,'*7kf')]+IlI1l1(0x162,'!Jc8')),$[IlI1l1(0x2c5,'q66!')][IlI1l1(0x14c,'c%fy')](IiiIl['prizeName']+'🐶');break;case 0x2:console[IlI1l1(0x1ad,'wi((')]('🗑️\x20优惠券'),$[IlI1l1(0x32b,'kVrU')][IlI1l1(0x1fb,'wi((')](IlI1l1(0x27c,'!Jc8'));break;case 0x3:const ii1l1l=i1lll1['data'][IlI1l1(0x18f,'uE#Y')],l1lli1=IiiIl['prizeName'];console[IlI1l1(0x1cd,'nLXA')](IlI1l1(0x224,'r(A4')),console[IlI1l1(0x233,'u9ZM')](IlI1l1(0x274,'oo#e')+l1lli1);if(IiiIl[IlI1l1(0x34b,'Pytu')])console[IlI1l1(0x1cd,'nLXA')](IlI1l1(0x22a,'Nbc2')+IiiIl[IlI1l1(0x2f3,'JR9D')]);const IiiIi={'baseUrl':$[IlI1l1(0x2e8,'u9ZM')],'newbaseUrl':$['newbaseUrl'],'cookie':cookie,'ua':$['UA'],'token':$['token'],'prizeName':l1lli1,'orderCode':ii1l1l,'activityUrl':$['activityUrl']},ii1l1i=await Ii1I1I[IlI1l1(0xf0,'JR9D')](loreal_savePrize,IiiIi);!isNotify&&ii1l1i&&await notify[IlI1l1(0xe3,'#z[N')]($[IlI1l1(0x373,'JR9D')]+IlI1l1(0x19b,'KxEb'),'【京东账号'+$['index']+'】'+$[IlI1l1(0x361,'7*vO')]+IlI1l1(0x174,'W2)v')+l1lli1+',已成功自动登记收货地址\x0a\x0a'+$[IlI1l1(0x140,'kVrU')]);$[IlI1l1(0x323,'b[#6')][IlI1l1(0x2c4,'xHe1')](l1lli1+'('+(ii1l1i?IlI1l1(0xe5,'WV2l'):Ii1I1I[IlI1l1(0x10e,'o0hy')])+IlI1l1(0x262,'IRzU'));break;case 0x4:case 0xb:console[IlI1l1(0x19c,'kB^s')]('🗑️\x20'+IiiIl[IlI1l1(0x1c9,'D8yG')]+'\x20🎟️'),$[IlI1l1(0x178,'eYi[')][IlI1l1(0x267,'IwvR')](IiiIl['prizeName']+'🎟️');break;case 0x5:console['log'](IlI1l1(0x36c,'xHe1')),$[IlI1l1(0x20f,'l1tf')][IlI1l1(0x16f,'z4jX')](IlI1l1(0x170,'hiY]'));break;case 0x6:console[IlI1l1(0x272,'KxEb')](IlI1l1(0x2a4,'xHe1')+IiiIl[IlI1l1(0x231,'Sq0g')]+'\x20🧧'),$[IlI1l1(0x232,'kB^s')][IlI1l1(0x280,'W2)v')](IiiIl[IlI1l1(0x26e,'b[#6')]+'🧧');break;case 0x7:case 0x8:case 0x9:case 0xa:case 0xc:console['log'](IlI1l1(0x15e,'DrhK')+IiiIl[IlI1l1(0x1e1,'xHe1')]+IlI1l1(0x2e6,'FDSI')),$[IlI1l1(0x24a,'IwvR')]['insert'](IiiIl[IlI1l1(0x20b,'7*vO')]+'🎁');!isNotify&&await notify[IlI1l1(0x1dc,'Nq)!')]($['name']+IlI1l1(0x25d,'q66!'),'【京东账号'+$['index']+'】'+$[IlI1l1(0xf8,'8H1M')]+IlI1l1(0x295,'Nq)!')+IiiIl[IlI1l1(0x2fa,'l1tf')]+'\x0a\x0a'+$[IlI1l1(0x2e0,'3*W7')]);break;case'':console[IlI1l1(0x11c,'$[Cf')](IlI1l1(0x363,'kVrU')),$[IlI1l1(0x1d1,'aWH)')][IlI1l1(0x2c3,'#z[N')](IlI1l1(0x38a,'uE#Y'));break;default:console['log'](IiiIl);break;}else IilIiI['prizeInfo']=i1i1I1?.[IlI1l1(0x288,'e)R^')]?.[IlI1l1(0x21e,'l1tf')]||[],IlII1['myPoints']=IiI11?.[IlI1l1(0x22e,'Sq0g')]?.['myPoints']||0x0;}else console[IlI1l1(0x248,'!fT#')](IlI1l1(0x131,'kB^s')),$[IlI1l1(0x2c5,'q66!')][IlI1l1(0x35d,'l1tf')](IlI1l1(0x1de,'b[#6'));}else{if(i1lll1[IlI1l1(0x189,'!fT#')]){console[IlI1l1(0x281,'IwvR')](ill1Il+'\x20'+i1lll1['resp_msg']);for(let ii1iI of['未开始','结束',IlI1l1(0x2f6,'JR9D'),'不在']){if(i1lll1[IlI1l1(0x17a,'aWH)')][IlI1l1(0x273,'KxEb')](ii1iI)){if('QuOMr'===IlI1l1(0xe4,'r(A4')){$[IlI1l1(0x164,'Pytu')]=!![];break;}else{const IIIii=i1IIi[IlI1l1(0x349,'WV2l')][IIII1I],iI111i=IIIii[IlI1l1(0x2fd,'yGDb')],I1I1l1=IIIii[IlI1l1(0x21a,'*7kf')],iI111l=IIIii[IlI1l1(0x332,'z4jX')];Iii111+='\x20\x20'+iI111i+',需\x20'+I1I1l1+IlI1l1(0x1bf,'wi((')+(iI111l>=0x1?'剩余'+iI111l+'件':IlI1l1(0x17c,'!Jc8'))+'\x0a',iI111l>0x0&&(Iil1I1[IlI1l1(0x182,'8H1M')]=I1I1l1);}}}$[IlI1l1(0x180,'3*W7')]['fix'](i1lll1[IlI1l1(0x302,'Sq0g')]);}else console['log']('❓'+ill1Il+'\x20'+JSON[IlI1l1(0x270,'hiY]')](i1lll1));}break;}}catch(i1lIii){Ii1I1I[IlI1l1(0x26b,'W2)v')]===Ii1I1I['QqDjM']?liIii['activityType']=Ii1I1I[IlI1l1(0x154,'Sq0g')](II1ll1,IlI1Ii['data']?.[IlI1l1(0x27f,'q66!')]||''):console[IlI1l1(0x126,']Qa4')]('❌\x20未能正确处理\x20'+ill1Il+IlI1l1(0x2cb,'Pytu')+(i1lIii[IlI1l1(0x2c1,'DrhK')]||i1lIii));}}async function sendRequest(i1lIil){const liIliI=ll11l1,III11l={'lzCmQ':liIliI(0x29f,'Pytu'),'hpAKj':liIliI(0x32a,'DrhK'),'HVtDd':liIliI(0x26c,'wi(('),'YbrBQ':liIliI(0x317,'eYi['),'JpeUF':liIliI(0x12f,']Qa4'),'JaRAE':'initPinToken','Qduuc':'GET','DjOIf':liIliI(0x2eb,'xHe1'),'yAXqv':'basicInfo','WSNzT':'activity','iRGNb':'/api/pointsExchange/activity','oCDvC':'exchange','JvajT':liIliI(0x14e,'8H1M'),'mYjBw':liIliI(0x142,'kVrU'),'RJwIj':liIliI(0x1e0,'e)R^'),'QHKff':liIliI(0x30b,'M$fb'),'xPhxd':'zh-CN,zh;q=0.9','xTCxx':liIliI(0x2a3,'#hlN'),'wRrGr':function(liII1,I1I1ii){return liII1!==I1I1ii;},'Bemnb':'zbkRZ','PNqCA':liIliI(0x2fb,'#hlN'),'LXhCe':function(l1llil,IIIlIi){return l1llil===IIIlIi;},'FuacO':liIliI(0x296,'kB^s'),'YuUnd':function(llIl1I,i1lIl1){return llIl1I>=i1lIl1;},'XflMD':liIliI(0x1a8,'7*vO'),'hEOQD':'zAcmk'};if($['runEnd']||$[liIliI(0x34a,'IRzU')])return;let llIl1i=$[liIliI(0x1c4,']Qa4')],llIl1l=null,IiiII=null,Iiil=null,IIIli=III11l[liIliI(0x153,'hiY]')];switch(i1lIil){case III11l['YbrBQ']:llIl1i+=liIliI(0x1ff,'!fT#'),llIl1l={'status':'1','activityId':$[liIliI(0xe7,'c%fy')],'tokenPin':$[liIliI(0x114,'#hlN')],'source':'01','shareUserId':$['shareUserId']||'','uuid':$[liIliI(0x2bf,'r(A4')],'client':III11l[liIliI(0x149,'#z[N')],'clientVersion':common[liIliI(0x13e,'#hlN')](),'osVersion':common['getLatestIOSVersion'](),'model':liIliI(0x24e,'uE#Y'),'userAgent':$['UA']};break;case'follow':llIl1i+=liIliI(0x304,'xHe1'),llIl1l={};break;case III11l[liIliI(0x123,'Nbc2')]:IIIli=III11l[liIliI(0x1e9,'Nq)!')],llIl1i+=III11l['DjOIf'],Iiil={'status':'1','activityId':$['activityId'],'jdToken':$[liIliI(0x13c,'$[Cf')],'source':'01','shareUserId':$['shareUserId']||'','uuid':$[liIliI(0xdc,'$[Cf')],'clientTime':Date['now'](),'shopId':$[liIliI(0x25b,'mu0B')]};break;case III11l[liIliI(0x260,'Ka$h')]:llIl1i+=liIliI(0x319,'!Jc8'),llIl1l={'activityId':$['activityId']};break;case III11l[liIliI(0x2b7,'mu0B')]:IIIli=III11l[liIliI(0x16a,'wi((')],llIl1i+=III11l[liIliI(0x1fd,'3*W7')];break;case III11l[liIliI(0x1f0,'u9ZM')]:llIl1i+=III11l[liIliI(0x196,'Pytu')],llIl1l={'prizeInfoId':$['prizeInfoId'],'status':0x1};break;default:console[liIliI(0x14d,'uE#Y')](liIliI(0x190,']Qa4')+i1lIil);return;}const ii1i1=IIIli===III11l[liIliI(0x36a,'Nbc2')]&&$['pathname'][liIliI(0x147,'#hlN')](III11l[liIliI(0x1ac,'$[Cf')])&&wuxianDefense[liIliI(0x1aa,'Pytu')](llIl1i['replace']($[liIliI(0x157,'u9ZM')],'')[liIliI(0x1a6,'r(A4')]('?')[0x0]);ii1i1&&(IiiII={'ecyText':wuxianDefense['encrypt']({'actId':$[liIliI(0x21d,'kVrU')],...llIl1l},$['pinToken'],$['te'])});const Iiii={'url':llIl1i,'method':IIIli,'headers':{'Accept':III11l[liIliI(0x1f7,'u9ZM')],'Accept-Encoding':III11l['QHKff'],'Accept-Language':III11l[liIliI(0x2f4,'oo#e')],'Connection':liIliI(0x292,'l1tf'),'Content-Type':'application/json;charset=UTF-8','Cookie':liIliI(0x2b2,'M$fb')+$[liIliI(0x34f,'uE#Y')]+($[liIliI(0x2f9,'D8yG')]?liIliI(0x1af,'bSyj')+$[liIliI(0x122,'1D3i')]:'')+($['te']?liIliI(0x357,'e)R^')+$['te']:''),'Host':$[liIliI(0x309,'WV2l')],'Origin':$['origin'],'Referer':$[liIliI(0x29a,'W2)v')],'Sec-Fetch-Dest':'empty','Sec-Fetch-Mode':'cors','Sec-Fetch-Site':liIliI(0x209,'*7kf'),'User-Agent':$['UA']},'params':Iiil,'data':ii1i1?IiiII:llIl1l,'timeout':0x7530};$['JdEnvInfo']&&(Iiii['headers'][liIliI(0x2c8,'mu0B')]=$[liIliI(0xe6,'kVrU')][liIliI(0x166,'eYi[')],Iiii['headers'][liIliI(0x330,'r(A4')]=$[liIliI(0x1be,'kB^s')][liIliI(0x2b6,'M$fb')]);$[liIliI(0x19d,'!Jc8')]&&(Iiii[liIliI(0x24d,'Nbc2')][liIliI(0x277,'!fT#')]=$[liIliI(0x2ea,'oo#e')]);IIIli===III11l['Qduuc']&&(delete Iiii['data'],delete Iiii['headers'][III11l[liIliI(0x197,'#hlN')]]);const llIl11=0x3;let IIIll=0x0,I1I1il=null,l1llii=![];while(IIIll<llIl11){IIIll>0x0&&await $[liIliI(0x366,'8H1M')](0x3e8);const liIli1=await common['request'](Iiii);if(!liIli1[liIliI(0x1c5,'uE#Y')]&&III11l[liIliI(0x1a2,'eYi[')](liIli1['status'],0x22b)){if('zbkRZ'!==III11l['Bemnb'])IilIil['pinToken']=l1iIi?.['data']?.[liIliI(0x17d,'7*vO')],l1l11i['encryptPin']=l1iIl?.[liIliI(0x30d,'IRzU')]?.[liIliI(0x33b,'7*vO')];else{I1I1il=i1lIil+liIliI(0x1f4,'wi((')+liIli1['error'],IIIll++;if(liIli1[liIliI(0x310,'c%fy')]){if(liIliI(0x255,'1D3i')===III11l[liIliI(0x1d8,'r(A4')]){if(III11l[liIliI(0x100,'IwvR')](liIli1[liIliI(0x135,'Sq0g')],0x1f4)&&ii1i1)liIliI(0x234,'1D3i')===III11l['FuacO']?(illIl1[liIliI(0x192,'1D3i')]('❓'+l1llII+'\x20'+IilIll[liIliI(0x152,'u9ZM')](lI11Ii)),Iiill[liIliI(0xfb,'uE#Y')]=!![]):Iiii[liIliI(0x36e,'7*vO')]={'ecyText':wuxianDefense[liIliI(0x37f,'!fT#')]({'actId':$[liIliI(0x1e5,'r(A4')],...llIl1l},$[liIliI(0x213,'WV2l')],$['te'])};else[0x193,0x1ed][liIliI(0x147,'#hlN')](liIli1[liIliI(0x195,'q66!')])&&(l1llii=!![]);}else lilIl1[liIliI(0x2b5,'yGDb')](i1l1ii[liIliI(0x1b9,'c%fy')],III11l['lzCmQ']),i1l1['exit'](0x1);}continue;}}if(!liIli1[liIliI(0x184,'JR9D')]){if('IyQhE'===liIliI(0x11a,'*7kf'))Illl11[liIliI(0xf1,'kVrU')](ii1lI+'\x20'+I1ilIl['resp_msg']),I11iII[liIliI(0x246,'7*vO')][liIliI(0x207,'!fT#')](I1ilIi['resp_msg']),IiiiI['skipRun']=!![],[liIliI(0x20a,'7*vO'),'结束',III11l[liIliI(0x2c7,'!Jc8')],'不在'][liIliI(0x179,'e)R^')](l1iIli=>lliii1['resp_msg'][liIliI(0x374,'[P^C')](l1iIli))&&(Iiii1['runEnd']=!![]);else{I1I1il=i1lIil+'\x20请求失败\x20➜\x20无响应数据',IIIll++;ii1i1&&(liIliI(0x362,'W2)v')===liIliI(0x223,'*7kf')?Iiii['data']={'ecyText':wuxianDefense[liIliI(0x163,'Pytu')]({'actId':$[liIliI(0x10f,'WV2l')],...llIl1l},$[liIliI(0x28c,'IRzU')],$['te'])}:(l1lIlI[liIliI(0x248,'!fT#')](liIliI(0x1ea,'q66!')+IiiIl1[liIliI(0x2da,'WV2l')]),lIIil1[liIliI(0x24a,'IwvR')][liIliI(0x284,'Nq)!')](liIliI(0x2c6,'kVrU')+IIli1[liIliI(0x188,'r(A4')]),II1liI[liIliI(0x325,'nLXA')]=!![]));continue;}}const IIIlIl=common[liIliI(0x212,'z4jX')](liIli1);switch(i1lIil){case liIliI(0x1b0,'kVrU'):const i1lIlI=common[liIliI(0x2d3,'IRzU')](IIIlIl,'te');i1lIlI&&($['te']=i1lIlI);break;}await handleResponse(i1lIil,liIli1['data']),l1llii=![];break;}if(III11l[liIliI(0x2a1,'z4jX')](IIIll,llIl11)){console[liIliI(0x220,'hiY]')](I1I1il);if(l1llii){if(!hotbreak){if(III11l['XflMD']!==III11l[liIliI(0xeb,'xHe1')])$['outFlag']=!![],$[liIliI(0x2e1,'!fT#')]&&$['message'][liIliI(0x284,'Nq)!')](I1I1il);else{i1II1[liIliI(0x220,'hiY]')]('活动已于\x20'+iIIl11+liIliI(0x226,'e)R^')),l1l1I1[liIliI(0x12e,'yGDb')][liIliI(0x31a,'c%fy')](liIliI(0x279,'DrhK')+I1iIll),I1lliI[liIliI(0x326,'hiY]')]=!![];return;}}}}}var version_ = 'jsjiami.com.v7';
// prettier-ignore
function Env(t,e){"undefined"!=typeof process&&JSON.stringify(process.env).indexOf("GITHUB")>-1&&process.exit(0);class s{constructor(t){this.env=t}send(t,e="GET"){t="string"==typeof t?{url:t}:t;let s=this.get;return"POST"===e&&(s=this.post),new Promise((e,i)=>{s.call(this,t,(t,s,r)=>{t?i(t):e(s)})})}get(t){return this.send.call(this.env,t)}post(t){return this.send.call(this.env,t,"POST")}}return new class{constructor(t,e){this.name=t,this.http=new s(this),this.data=null,this.dataFile="box.dat",this.logs=[],this.isMute=!1,this.isNeedRewrite=!1,this.logSeparator="\n",this.startTime=(new Date).getTime(),Object.assign(this,e),this.log("",`🔔${this.name}, 开始!`)}isNode(){return"undefined"!=typeof module&&!!module.exports}isQuanX(){return"undefined"!=typeof $task}isSurge(){return"undefined"!=typeof $httpClient&&"undefined"==typeof $loon}isLoon(){return"undefined"!=typeof $loon}toObj(t,e=null){try{return JSON.parse(t)}catch{return e}}toStr(t,e=null){try{return JSON.stringify(t)}catch{return e}}getjson(t,e){let s=e;const i=this.getdata(t);if(i)try{s=JSON.parse(this.getdata(t))}catch{}return s}setjson(t,e){try{return this.setdata(JSON.stringify(t),e)}catch{return!1}}getScript(t){return new Promise(e=>{this.get({url:t},(t,s,i)=>e(i))})}runScript(t,e){return new Promise(s=>{let i=this.getdata("@chavy_boxjs_userCfgs.httpapi");i=i?i.replace(/\n/g,"").trim():i;let r=this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout");r=r?1*r:20,r=e&&e.timeout?e.timeout:r;const[o,h]=i.split("@"),n={url:`http://${h}/v1/scripting/evaluate`,body:{script_text:t,mock_type:"cron",timeout:r},headers:{"X-Key":o,Accept:"*/*"}};this.post(n,(t,e,i)=>s(i))}).catch(t=>this.logErr(t))}loaddata(){if(!this.isNode())return{};{this.fs=this.fs?this.fs:require("fs"),this.path=this.path?this.path:require("path");const t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),i=!s&&this.fs.existsSync(e);if(!s&&!i)return{};{const i=s?t:e;try{return JSON.parse(this.fs.readFileSync(i))}catch(t){return{}}}}}writedata(){if(this.isNode()){this.fs=this.fs?this.fs:require("fs"),this.path=this.path?this.path:require("path");const t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),i=!s&&this.fs.existsSync(e),r=JSON.stringify(this.data);s?this.fs.writeFileSync(t,r):i?this.fs.writeFileSync(e,r):this.fs.writeFileSync(t,r)}}lodash_get(t,e,s){const i=e.replace(/\[(\d+)\]/g,".$1").split(".");let r=t;for(const t of i)if(r=Object(r)[t],void 0===r)return s;return r}lodash_set(t,e,s){return Object(t)!==t?t:(Array.isArray(e)||(e=e.toString().match(/[^.[\]]+/g)||[]),e.slice(0,-1).reduce((t,s,i)=>Object(t[s])===t[s]?t[s]:t[s]=Math.abs(e[i+1])>>0==+e[i+1]?[]:{},t)[e[e.length-1]]=s,t)}getdata(t){let e=this.getval(t);if(/^@/.test(t)){const[,s,i]=/^@(.*?)\.(.*?)$/.exec(t),r=s?this.getval(s):"";if(r)try{const t=JSON.parse(r);e=t?this.lodash_get(t,i,""):e}catch(t){e=""}}return e}setdata(t,e){let s=!1;if(/^@/.test(e)){const[,i,r]=/^@(.*?)\.(.*?)$/.exec(e),o=this.getval(i),h=i?"null"===o?null:o||"{}":"{}";try{const e=JSON.parse(h);this.lodash_set(e,r,t),s=this.setval(JSON.stringify(e),i)}catch(e){const o={};this.lodash_set(o,r,t),s=this.setval(JSON.stringify(o),i)}}else s=this.setval(t,e);return s}getval(t){return this.isSurge()||this.isLoon()?$persistentStore.read(t):this.isQuanX()?$prefs.valueForKey(t):this.isNode()?(this.data=this.loaddata(),this.data[t]):this.data&&this.data[t]||null}setval(t,e){return this.isSurge()||this.isLoon()?$persistentStore.write(t,e):this.isQuanX()?$prefs.setValueForKey(t,e):this.isNode()?(this.data=this.loaddata(),this.data[e]=t,this.writedata(),!0):this.data&&this.data[e]||null}initGotEnv(t){this.got=this.got?this.got:require("got"),this.cktough=this.cktough?this.cktough:require("tough-cookie"),this.ckjar=this.ckjar?this.ckjar:new this.cktough.CookieJar,t&&(t.headers=t.headers?t.headers:{},void 0===t.headers.Cookie&&void 0===t.cookieJar&&(t.cookieJar=this.ckjar))}get(t,e=(()=>{})){t.headers&&(delete t.headers["Content-Type"],delete t.headers["Content-Length"]),this.isSurge()||this.isLoon()?(this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient.get(t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status),e(t,s,i)})):this.isQuanX()?(this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>e(t))):this.isNode()&&(this.initGotEnv(t),this.got(t).on("redirect",(t,e)=>{try{if(t.headers["set-cookie"]){const s=t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString();s&&this.ckjar.setCookieSync(s,null),e.cookieJar=this.ckjar}}catch(t){this.logErr(t)}}).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>{const{message:s,response:i}=t;e(s,i,i&&i.body)}))}post(t,e=(()=>{})){if(t.body&&t.headers&&!t.headers["Content-Type"]&&(t.headers["Content-Type"]="application/x-www-form-urlencoded"),t.headers&&delete t.headers["Content-Length"],this.isSurge()||this.isLoon())this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient.post(t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status),e(t,s,i)});else if(this.isQuanX())t.method="POST",this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>e(t));else if(this.isNode()){this.initGotEnv(t);const{url:s,...i}=t;this.got.post(s,i).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>{const{message:s,response:i}=t;e(s,i,i&&i.body)})}}time(t,e=null){const s=e?new Date(e):new Date;let i={"M+":s.getMonth()+1,"d+":s.getDate(),"H+":s.getHours(),"m+":s.getMinutes(),"s+":s.getSeconds(),"q+":Math.floor((s.getMonth()+3)/3),S:s.getMilliseconds()};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(s.getFullYear()+"").substr(4-RegExp.$1.length)));for(let e in i)new RegExp("("+e+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?i[e]:("00"+i[e]).substr((""+i[e]).length)));return t}msg(e=t,s="",i="",r){const o=t=>{if(!t)return t;if("string"==typeof t)return this.isLoon()?t:this.isQuanX()?{"open-url":t}:this.isSurge()?{url:t}:void 0;if("object"==typeof t){if(this.isLoon()){let e=t.openUrl||t.url||t["open-url"],s=t.mediaUrl||t["media-url"];return{openUrl:e,mediaUrl:s}}if(this.isQuanX()){let e=t["open-url"]||t.url||t.openUrl,s=t["media-url"]||t.mediaUrl;return{"open-url":e,"media-url":s}}if(this.isSurge()){let e=t.url||t.openUrl||t["open-url"];return{url:e}}}};if(this.isMute||(this.isSurge()||this.isLoon()?$notification.post(e,s,i,o(r)):this.isQuanX()&&$notify(e,s,i,o(r))),!this.isMuteLog){let t=["","==============📣系统通知📣=============="];t.push(e),s&&t.push(s),i&&t.push(i),console.log(t.join("\n")),this.logs=this.logs.concat(t)}}log(...t){t.length>0&&(this.logs=[...this.logs,...t]),console.log(t.join(this.logSeparator))}logErr(t,e){const s=!this.isSurge()&&!this.isQuanX()&&!this.isLoon();s?this.log("",`❗️${this.name}, 错误!`,t.stack):this.log("",`❗️${this.name}, 错误!`,t)}wait(t){return new Promise(e=>setTimeout(e,t))}done(t={}){const e=(new Date).getTime(),s=(e-this.startTime)/1e3;this.log("",`🔔${this.name}, 结束! 🕛 ${s} 秒`),this.log(),(this.isSurge()||this.isQuanX()||this.isLoon())&&$done(t)}}(t,e)}