mirror of https://github.com/KingRan/KR.git
24 lines
69 KiB
JavaScript
24 lines
69 KiB
JavaScript
/*
|
||
活动名称:加购有礼(超级无线)
|
||
活动链接:https://lzkj-isv.isvjcloud.com/prod/cc/interactsaas/index?activityType=10024&templateId=<模板id>&activityId=<活动id>&prd=cjwx
|
||
https://lzkj-isv.isvjcloud.com/prod/cc/interaction/v1/index?activityType=10024&templateId=<模板id>&activityId=<活动id>&prd=cjwx
|
||
环境变量:jd_lzkj_loreal_cart_url // 活动链接
|
||
jd_lzkj_loreal_cart_opencard // 是否入会(true/false),默认不入会
|
||
jd_lzkj_loreal_cart_Notify // 是否推送通知(true/false),默认不推送
|
||
jd_lzkj_loreal_cart_break // 493后继续执行,默认退出运行(true/false)
|
||
|
||
请使用本地IP环境 请使用本地IP环境 请使用本地IP环境
|
||
|
||
cron:1 1 1 1 *
|
||
============Quantumultx===============
|
||
[task_local]
|
||
#加购有礼(超级无线)
|
||
1 1 1 1 * jd_lzkj_loreal_cart.js, tag=加购有礼(超级无线), enabled=true
|
||
|
||
*/
|
||
|
||
const $ = new Env('加购有礼(超级无线)')
|
||
var version_='jsjiami.com.v7';const l1IIl1=iii1II;(function(iIIliI,IiIil,IiIii,iill1l,IiIiII,iill1i,l1Il1){return iIIliI=iIIliI>>0x7,iill1i='hs',l1Il1='hs',function(iill11,I1IliI,III1II,l1I1II,iIIlil){const III1=iii1II;l1I1II='tfi',iill1i=l1I1II+iill1i,iIIlil='up',l1Il1+=iIIlil,iill1i=III1II(iill1i),l1Il1=III1II(l1Il1),III1II=0x0;const IiIiI1=iill11();while(!![]&&--iill1l+I1IliI){try{l1I1II=parseInt(III1(0x405,'j@vM'))/0x1+-parseInt(III1(0x21a,'SuBU'))/0x2*(parseInt(III1(0x2a8,'Z^Rb'))/0x3)+-parseInt(III1(0x20a,'KLVQ'))/0x4*(-parseInt(III1(0x1d6,'m^3Q'))/0x5)+parseInt(III1(0x20e,'4*MH'))/0x6*(-parseInt(III1(0x1ab,'xNQa'))/0x7)+-parseInt(III1(0x200,'96nv'))/0x8*(parseInt(III1(0x1dd,'Lg@i'))/0x9)+parseInt(III1(0x376,'74wf'))/0xa*(-parseInt(III1(0x319,'4*MH'))/0xb)+parseInt(III1(0x377,'jwTX'))/0xc;}catch(iIIlii){l1I1II=III1II;}finally{iIIlil=IiIiI1[iill1i]();if(iIIliI<=iill1l)III1II?IiIiII?l1I1II=iIIlil:IiIiII=iIIlil:III1II=iIIlil;else{if(III1II==IiIiII['replace'](/[ObPthfSTMwJrlInYBKAG=]/g,'')){if(l1I1II===I1IliI){IiIiI1['un'+iill1i](iIIlil);break;}IiIiI1[l1Il1](iIIlil);}}}}}(IiIii,IiIil,function(llIII1,IiIiI,iill1I,Illi1,l1iiIl,lIIi1i,liI11I){return IiIiI='\x73\x70\x6c\x69\x74',llIII1=arguments[0x0],llIII1=llIII1[IiIiI](''),iill1I=`\x72\x65\x76\x65\x72\x73\x65`,llIII1=llIII1[iill1I]('\x76'),Illi1=`\x6a\x6f\x69\x6e`,(0x146d12,llIII1[Illi1](''));});}(0x6400,0xdfb7b,Iii11l,0xca),Iii11l)&&(version_=l1IIl1(0x41c,'Hz)t'));const I1ll1l=require(l1IIl1(0x2dd,'2!bl')),I1ll1i=require(l1IIl1(0x432,'GXzu')),i11iII=require('./function/sendJDNotify'),lI1Ii1=require(l1IIl1(0x1f5,'5rP%')),{loreal_savePrize:i1I11}=require(l1IIl1(0x1f3,'KskN')),{wuxianDefense:I1I1i1}=require(l1IIl1(0x344,'iH[O')),i1I1l=process['env'][l1IIl1(0x39c,'96nv')]||'',i1I1i=process[l1IIl1(0x3ac,'jwTX')][l1IIl1(0x2ee,'vN]&')]==='true',IIiiII=process[l1IIl1(0x27f,'zb&5')]['jd_lzkj_loreal_cart_Notify']===l1IIl1(0x225,'db[X'),llIiI=process['env'][l1IIl1(0x1da,'xNQa')]==='true';let Ilill='',Ilili='';function iii1II(_0x234f9e,_0x22dc88){const _0x214dea=Iii11l();return iii1II=function(_0x3eee72,_0x3cb82c){_0x3eee72=_0x3eee72-0xfe;let _0x3ae292=_0x214dea[_0x3eee72];if(iii1II['VyfBvN']===undefined){var _0x34215d=function(_0x547185){const _0x5a1b1e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5eac3a='',_0x2464c5='';for(let _0x5b48f5=0x0,_0x116e8a,_0x26b32c,_0x17f60b=0x0;_0x26b32c=_0x547185['charAt'](_0x17f60b++);~_0x26b32c&&(_0x116e8a=_0x5b48f5%0x4?_0x116e8a*0x40+_0x26b32c:_0x26b32c,_0x5b48f5++%0x4)?_0x5eac3a+=String['fromCharCode'](0xff&_0x116e8a>>(-0x2*_0x5b48f5&0x6)):0x0){_0x26b32c=_0x5a1b1e['indexOf'](_0x26b32c);}for(let _0x42bf23=0x0,_0x45d2b9=_0x5eac3a['length'];_0x42bf23<_0x45d2b9;_0x42bf23++){_0x2464c5+='%'+('00'+_0x5eac3a['charCodeAt'](_0x42bf23)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2464c5);};const _0x3c0258=function(_0x38bf93,_0x354530){let _0xa86f02=[],_0x2d9f69=0x0,_0x380bb7,_0xa433c3='';_0x38bf93=_0x34215d(_0x38bf93);let _0x267b31;for(_0x267b31=0x0;_0x267b31<0x100;_0x267b31++){_0xa86f02[_0x267b31]=_0x267b31;}for(_0x267b31=0x0;_0x267b31<0x100;_0x267b31++){_0x2d9f69=(_0x2d9f69+_0xa86f02[_0x267b31]+_0x354530['charCodeAt'](_0x267b31%_0x354530['length']))%0x100,_0x380bb7=_0xa86f02[_0x267b31],_0xa86f02[_0x267b31]=_0xa86f02[_0x2d9f69],_0xa86f02[_0x2d9f69]=_0x380bb7;}_0x267b31=0x0,_0x2d9f69=0x0;for(let _0x575947=0x0;_0x575947<_0x38bf93['length'];_0x575947++){_0x267b31=(_0x267b31+0x1)%0x100,_0x2d9f69=(_0x2d9f69+_0xa86f02[_0x267b31])%0x100,_0x380bb7=_0xa86f02[_0x267b31],_0xa86f02[_0x267b31]=_0xa86f02[_0x2d9f69],_0xa86f02[_0x2d9f69]=_0x380bb7,_0xa433c3+=String['fromCharCode'](_0x38bf93['charCodeAt'](_0x575947)^_0xa86f02[(_0xa86f02[_0x267b31]+_0xa86f02[_0x2d9f69])%0x100]);}return _0xa433c3;};iii1II['ZjCRZs']=_0x3c0258,_0x234f9e=arguments,iii1II['VyfBvN']=!![];}const _0x2b85f3=_0x214dea[0x0],_0x36800e=_0x3eee72+_0x2b85f3,_0x1e20ee=_0x234f9e[_0x36800e];return!_0x1e20ee?(iii1II['SvasdV']===undefined&&(iii1II['SvasdV']=!![]),_0x3ae292=iii1II['ZjCRZs'](_0x3ae292,_0x3cb82c),_0x234f9e[_0x36800e]=_0x3ae292):_0x3ae292=_0x1e20ee,_0x3ae292;},iii1II(_0x234f9e,_0x22dc88);}const I1ll1I=Object['keys'](I1ll1l)['map'](l1iIil=>I1ll1l[l1iIil])[l1IIl1(0x358,'y$77')](l1iIii=>l1iIii);!I1ll1I[0x0]&&($[l1IIl1(0x1d5,'2!bl')]($['name'],'【提示】请先获取Cookie'),process[l1IIl1(0x373,'4eSi')](0x1));!(async()=>{const l1iiIi=l1IIl1,illllI={'ypFRe':'获取\x20Token\x20失败!','FDqFj':l1iiIi(0x237,'YHJ$'),'GMdaW':function(IIIIii,liiill){return IIIIii===liiill;},'DOCgq':'yNyRv','JlTsS':l1iiIi(0x1fa,'74wf'),'dwxFI':l1iiIi(0x1ac,'y$77'),'AICCk':'activityType','mllqc':l1iiIi(0x3b5,'Z^Rb'),'tBeDV':l1iiIi(0x39f,'I(]D'),'rEVqc':'EvlTW','mLawQ':function(IIIIil,lI1lIl){return IIIIil+lI1lIl;},'BQhXf':l1iiIi(0x40a,'5rP%'),'RUaqy':function(liiili,I1ll11){return liiili<I1ll11;},'zQaWy':function(lI1lIi,Iii1Ii){return lI1lIi!==Iii1Ii;},'YgJPC':l1iiIi(0x285,'qVxn'),'rByWC':function(Iii1Il,i1l1I1){return Iii1Il+i1l1I1;},'JfyCB':'pt_pin','rNyYn':'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx','UYzrC':function(lI1lI1,llIl1){return lI1lI1*llIl1;}};if(!i1I1l){if(illllI[l1iiIi(0x40c,'N$YB')](illllI[l1iiIi(0x416,'N$YB')],illllI[l1iiIi(0x309,'E)1b')]))lliiiI[l1iiIi(0x22d,'KLVQ')]('❓'+lilil+'\x20'+ll1ll['stringify'](Illl11));else{console[l1iiIi(0x101,'WRTS')](illllI[l1iiIi(0x1ea,'mTI3')]);return;}}const II1II=I1ll1i['parseUrl'](i1I1l);if(!II1II){console[l1iiIi(0x134,'tr7A')](l1iiIi(0x419,'fd]!'));return;}$[l1iiIi(0x21e,'jwTX')]=i1I1l,$[l1iiIi(0x1c3,'GXzu')]=I1ll1i[l1iiIi(0x420,'j@vM')](i1I1l,l1iiIi(0x296,'2!bl')),$[l1iiIi(0x219,'fucz')]=I1ll1i['getUrlParameter'](i1I1l,illllI[l1iiIi(0x1c5,'mTI3')]),$[l1iiIi(0x360,'N$YB')]=II1II[l1iiIi(0x1ee,'xNQa')],$['pathname']=II1II[l1iiIi(0x265,'KLVQ')];let ii1l11='';if($[l1iiIi(0x166,'4eSi')]){if(l1iiIi(0x370,'C6)R')===illllI['mllqc']){if($[l1iiIi(0x15d,'I(]D')][l1iiIi(0x23f,'f!mu')](l1iiIi(0x32a,'m^3Q')))ii1l11=illllI[l1iiIi(0x2c3,'qVxn')];else $[l1iiIi(0x27a,'fucz')]['includes'](l1iiIi(0x384,'j@vM'))&&(illllI['rEVqc']===illllI[l1iiIi(0x3d6,'vN]&')]?ii1l11=$[l1iiIi(0x228,'%][[')][l1iiIi(0x247,'%][[')](/\/index$/,''):(il1ll[l1iiIi(0x1fd,'%][[')](i1ilIi),lill1l&&(!iii1li&&(iii1ll[l1iiIi(0x22c,'2!bl')]=!![],IIliI1['message']&&I1il1l[l1iiIi(0x199,'m^3Q')][l1iiIi(0x407,'2njp')](lI1l1l)))));$['baseUrl']=l1iiIi(0x36a,'(5pn')+$[l1iiIi(0x424,'Z^Rb')],$[l1iiIi(0x24c,'Q@lL')]=l1iiIi(0x31a,'Z6gJ')+$[l1iiIi(0x12c,'YHJ$')]+'/'+ii1l11,$[l1iiIi(0x21b,'YUv2')]=$[l1iiIi(0x16e,'SuBU')];}else Ill1i[l1iiIi(0x3b2,'Q@lL')]=ii1iil[l1iiIi(0x246,'WRTS')],lllI1l={'ecyText':i11iii[l1iiIi(0x21d,'Lg@i')](llI1Ii,lllI1i[l1iiIi(0x329,'tr7A')],li1i1l['te'])};}if(!$[l1iiIi(0x189,'mTI3')]||!ii1l11||!$[l1iiIi(0x177,'jwTX')]){console[l1iiIi(0x374,'Lg@i')]('⚠\x20请填写格式正确的变量');return;}i11iII[l1iiIi(0x2dc,'GXzu')]({'title':$['name']}),console[l1iiIi(0x1c7,'KskN')](illllI['mLawQ'](illllI[l1iiIi(0x2f5,'vN]&')],$[l1iiIi(0x415,'j@vM')]));for(let IIIIiI=0x0;illllI[l1iiIi(0x423,'4eSi')](IIIIiI,I1ll1I['length']);IIIIiI++){if(illllI[l1iiIi(0x1ae,'xNQa')](illllI[l1iiIi(0x102,'Q@lL')],'BHIge')){$[l1iiIi(0x25d,'Z^Rb')]=illllI[l1iiIi(0x108,'iH[O')](IIIIiI,0x1),Ilill=I1ll1I[IIIIiI],Ilili=I1ll1I[IIIIiI],I1ll1i[l1iiIi(0x2b6,'fd]!')](Ilili),$[l1iiIi(0x22b,'db[X')]=decodeURIComponent(I1ll1i[l1iiIi(0x11b,'nlO&')](Ilill,illllI[l1iiIi(0x2cb,'Z^Rb')])),$['UA']=I1ll1i[l1iiIi(0x1a8,'2njp')]($[l1iiIi(0x341,'(5pn')]),$[l1iiIi(0x3a3,'[d*U')]=I1ll1i['genUuid'](illllI['rNyYn']),$['te']=Math[l1iiIi(0x29e,'GXzu')](illllI[l1iiIi(0x2ea,'qVxn')](Math[l1iiIi(0x2ed,'N$YB')](),0x2328))+0x3e8,$[l1iiIi(0x11c,'4eSi')]=i11iII['create']($['index'],$[l1iiIi(0x338,'j@vM')]),$[l1iiIi(0x136,'fucz')]='',console[l1iiIi(0x142,'[d*U')]('\x0a******开始【京东账号'+$[l1iiIi(0x1bb,'db[X')]+'】'+($[l1iiIi(0x2a9,'Lg@i')]||$['UserName'])+l1iiIi(0x34f,'jwTX')),await Iii1I1(),I1ll1i[l1iiIi(0x2c4,'N$YB')]();if($[l1iiIi(0x1bc,'hF0t')]||$[l1iiIi(0x260,'(5pn')])break;}else{IlI1l[l1iiIi(0x401,'Hz)t')](illllI['ypFRe']),lilIil[l1iiIi(0x24b,'f!mu')][l1iiIi(0x157,'Q@lL')](illllI['FDqFj']);return;}}IIiiII&&i11iII[l1iiIi(0x14e,'Q@lL')]()&&(i11iII['updateContent'](illllI[l1iiIi(0x23e,'zb&5')](i11iII[l1iiIi(0x24d,'YHJ$')],'\x0a【活动地址】'+$[l1iiIi(0x32c,'74wf')])),await i11iII['push']());})()[l1IIl1(0x305,'4*MH')](i1i111=>$['logErr'](i1i111))[l1IIl1(0x23d,'Z6gJ')](()=>$['done']());async function Iii1I1(){const lIIi1l=l1IIl1,ii1l1I={'FQQAX':function(lI1lII,lIill1){return lI1lII(lIill1);},'orVyu':'apps/interact','MtWtW':'⚠\x20请填写格式正确的变量','rgySi':'已经参与过了哦~','TcUae':lIIi1l(0x365,'xNQa'),'Rtrxp':lIIi1l(0x43e,'74wf'),'KGuwS':lIIi1l(0x3f4,'zb&5'),'bOZUI':function(iiI1i1,ilIlII,iIiil1){return iiI1i1(ilIlII,iIiil1);},'tmjIu':function(l1lI1i,l1lI1l){return l1lI1i===l1lI1l;},'qdPvp':lIIi1l(0x210,'GXzu'),'xzerR':'获取\x20Token\x20失败!','qaeEJ':lIIi1l(0x307,'5rP%'),'yvHmP':lIIi1l(0x27b,'hF0t'),'ihJOD':function(l1I1Il,l1I1Ii){return l1I1Il===l1I1Ii;},'tfecr':lIIi1l(0x35e,'4eSi'),'nIlQP':'未能获取用户鉴权信息!','MpsVq':'1004','tjryV':lIIi1l(0x245,'4eSi'),'YEVUs':'follow','jOIAq':function(IIlili,IIlill){return IIlili(IIlill);},'xeSFK':lIIi1l(0x176,'4X0('),'UdECO':lIIi1l(0x3f9,'4X0('),'inhDM':lIIi1l(0x395,'SuBU'),'wEyHk':lIIi1l(0x3a8,'Q@lL'),'TlEJj':function(IllllI,liliil){return IllllI!==liliil;},'CSyNg':'UDgQj','dZnSZ':'活动仅限店铺会员参与哦~','QpvcQ':lIIi1l(0x392,'mTI3'),'ttjBE':function(I1iil1,lIillI){return I1iil1!==lIillI;},'ejhCe':'1001','MAoqR':lIIi1l(0x326,'nlO&'),'NLCrb':lIIi1l(0x425,'e#0G'),'FguXl':'/prod/cc/interactsaas','topti':lIIi1l(0x1d7,'j@vM'),'LbkQq':'IlTdD','wPLfZ':lIIi1l(0x32f,'e#0G'),'LPjkA':'获取[pinToken]失败','guibp':lIIi1l(0x117,'Z6gJ'),'qYfnh':function(lI1il1,liliii){return lI1il1(liliii);},'gqoEY':lIIi1l(0x13e,'e[Rx'),'dcwme':lIIi1l(0x3bd,'mTI3'),'OVfQg':lIIi1l(0x238,'Z^Rb'),'mGFPz':function(iIiilI,iIiiil){return iIiilI===iIiiil;},'YsVSX':lIIi1l(0x1b8,'oJvP'),'fqNry':function(iIiiii,ilIlIi){return iIiiii===ilIlIi;},'KhGxG':function(ilIlIl,l1lI1I){return ilIlIl===l1lI1I;},'ZnEgT':function(ll1llI,i11lIl){return ll1llI>=i11lIl;},'zyIpL':'已发完','DbzCh':function(l1lI11,lI1iii){return l1lI11<lI1iii;},'CEcpT':function(i11lIi,ll1ll1){return i11lIi>ll1ll1;},'SOIdv':'优惠券','ydxUn':lIIi1l(0x138,'96nv'),'dowiF':lIIi1l(0x1e2,'74wf'),'LFJtP':function(lilil1,lIilli){return lilil1===lIilli;},'vBGOh':function(I1iiii,iiI1iI){return I1iiii>=iiI1iI;},'ZmTLN':lIIi1l(0x213,'db[X'),'qExbH':function(I1iiil,Illll1){return I1iiil<=Illll1;},'cuCKp':lIIi1l(0x411,'m^3Q'),'HWvry':lIIi1l(0x217,'Hz)t'),'GSsnz':function(lI1iil,lIilll){return lI1iil===lIilll;}};try{$['skipRun']=![],$[lIIi1l(0x330,'xNQa')]='',$[lIIi1l(0x426,'y$77')]='';if($[lIIi1l(0x350,'I(]D')]||$['outFlag'])return;$[lIIi1l(0x303,'oJvP')]=await ii1l1I['bOZUI'](lI1Ii1,Ilili,$[lIIi1l(0x120,'WRTS')]);if(!$[lIIi1l(0x422,'4X0(')]){if(ii1l1I['tmjIu'](ii1l1I[lIIi1l(0x132,'2!bl')],ii1l1I[lIIi1l(0x1b6,'iH[O')])){console['log'](ii1l1I[lIIi1l(0x113,'%][[')]),$[lIIi1l(0x2f6,'xNQa')][lIIi1l(0x178,'74wf')](ii1l1I[lIIi1l(0x253,'db[X')]);return;}else lil[lIIi1l(0x321,'5rP%')]=IllI1l[lIIi1l(0x404,'e#0G')]?.['startTime'],i11I1i[lIIi1l(0x396,'%][[')]=IillIl[lIIi1l(0x272,'4eSi')]?.['endTime'],llliil[lIIi1l(0x2b2,'vN]&')]=liIl1[lIIi1l(0x23c,'qVxn')]?.[lIIi1l(0x2d7,'I(]D')],!II1lll[lIIi1l(0x2a4,'Lg@i')]&&(IiIi[lIIi1l(0x1cd,'74wf')]=ii1l1I[lIIi1l(0x1d2,'e#0G')](iI1ll1,IlI1Il[lIIi1l(0x2e8,'tr7A')]?.[lIIi1l(0x328,'YHJ$')]||''));}await Iii1II(ii1l1I[lIIi1l(0x21f,'e[Rx')]);if($[lIIi1l(0x185,'96nv')]||$[lIIi1l(0x2bc,'YHJ$')]||$[lIIi1l(0x2a0,'!yLC')])return;if(!$[lIIi1l(0x114,'e[Rx')]){if(ii1l1I[lIIi1l(0x29f,'I(]D')](ii1l1I['tfecr'],lIIi1l(0x1d3,'iH[O'))){IiiIl1['log'](lIIi1l(0x34c,'5rP%')),lIIil1[lIIi1l(0x43a,'YHJ$')][lIIi1l(0x239,'C6)R')]('奖品已发完'),IIli1[lIIi1l(0x3d4,'YHJ$')]=!![];return;}else{console[lIIi1l(0x2e0,'5rP%')](ii1l1I['nIlQP']),$[lIIi1l(0x17c,'74wf')][lIIi1l(0x364,'E)1b')](lIIi1l(0x36e,'96nv'));return;}}await $[lIIi1l(0x188,'(5pn')](0x1f4);if($[lIIi1l(0x1bd,'Hz)t')]){switch($[lIIi1l(0x2bf,'mTI3')]){case ii1l1I['MpsVq']:await Iii1II(lIIi1l(0x3ae,'C6)R')),await $[lIIi1l(0x38d,'2!bl')](0x1f4),await Iii1II(ii1l1I[lIIi1l(0x19e,'Z^Rb')]);if($['runEnd']||$['outFlag']||$['skipRun'])return;await $[lIIi1l(0x2b1,'tr7A')](0x1f4);break;case ii1l1I[lIIi1l(0x33e,'tr7A')]:await ii1l1I['FQQAX'](Iii1II,ii1l1I['YEVUs']),await $[lIIi1l(0x269,'e[Rx')](0x1f4),await ii1l1I[lIIi1l(0x1fb,'y$77')](Iii1II,lIIi1l(0x211,'m^3Q'));if($[lIIi1l(0x39d,'y$77')]||$[lIIi1l(0x242,'Hz)t')]||$[lIIi1l(0x240,'j@vM')])return;await $['wait'](0x1f4);case ii1l1I['xeSFK']:if(i1I1i){const i11lII=await I1ll1i['joinShopMember']($['venderId']);if(i11lII){if(ii1l1I['tmjIu']('cPBDf',ii1l1I['UdECO']))console[lIIi1l(0x3a7,'Q@lL')]('加入店铺会员成功');else{if(I1iIl1[lIIi1l(0x2ef,'Z6gJ')][lIIi1l(0x25b,'qVxn')](lIIi1l(0x1a5,'96nv')))i1iliI=ii1l1I['orVyu'];else lI1Il1[lIIi1l(0x424,'Z^Rb')][lIIi1l(0x3da,'!yLC')](lIIi1l(0x3e4,'4*MH'))&&(I1iIii=IllII1['pathname'][lIIi1l(0x18e,'f!mu')](/\/index$/,''));IliI1I[lIIi1l(0x19a,'4*MH')]='https://'+lI1Iii['hostname'],i1li['newbaseUrl']=lIIi1l(0x276,'qVxn')+li1II[lIIi1l(0x168,'KLVQ')]+'/'+IliI11,i1ll['origin']=i1l1lI[lIIi1l(0x233,'mTI3')];}}else{console[lIIi1l(0x134,'tr7A')](ii1l1I['inhDM']),$['message'][lIIi1l(0x2ae,'Z6gJ')](ii1l1I[lIIi1l(0x25c,'j@vM')]);return;}}else{if(ii1l1I[lIIi1l(0x336,'WRTS')](lIIi1l(0x1aa,'5rP%'),ii1l1I['CSyNg'])){console[lIIi1l(0x301,'iH[O')](ii1l1I['dZnSZ']),$[lIIi1l(0x30c,'2!bl')]['fix'](ii1l1I[lIIi1l(0x40e,'db[X')]);return;}else{iii1Il['log'](ii1l1I['MtWtW']);return;}}break;default:if(ii1l1I[lIIi1l(0x11e,'C6)R')]($['joinCode'],ii1l1I[lIIi1l(0x318,'jwTX')])){console[lIIi1l(0x301,'iH[O')]($[lIIi1l(0x28a,'iH[O')]),$[lIIi1l(0x257,'Z6gJ')]['fix']($['joinDes']);return;}break;}if($[lIIi1l(0x2c1,'2!bl')]||$['outFlag']||$['skipRun'])return;}else{if($['runEnd']||$[lIIi1l(0x42d,'Lg@i')]||$[lIIi1l(0x388,'e[Rx')])return;console['log'](ii1l1I['MAoqR']),$['message'][lIIi1l(0x407,'2njp')](lIIi1l(0xfe,'oJvP'));return;}if($[lIIi1l(0x161,'VfjE')]['includes'](ii1l1I['NLCrb'])&&$['pathname']['includes'](ii1l1I[lIIi1l(0x381,'N$YB')])){await ii1l1I[lIIi1l(0x16a,'!yLC')](Iii1II,ii1l1I[lIIi1l(0x256,'zb&5')]);if(!$[lIIi1l(0x30a,'vN]&')]){if(ii1l1I[lIIi1l(0x155,'%][[')]!==ii1l1I[lIIi1l(0x2c9,'Lg@i')]){console[lIIi1l(0x1ec,'C6)R')]('获取\x20pinToken\x20失败!'),$['message'][lIIi1l(0x2c5,'4*MH')](ii1l1I[lIIi1l(0x212,'m^3Q')]);return;}else Illl1i['log'](ii1l1I[lIIi1l(0x1e9,'KskN')]),lIIiil['message'][lIIi1l(0x2c8,'nlO&')](ii1l1I['TcUae']);}await $[lIIi1l(0x171,'qVxn')](0x1f4);}if($['runEnd']||$[lIIi1l(0x2cc,'KskN')]||$['skipRun'])return;if(ii1l1I[lIIi1l(0x418,'f!mu')]($[lIIi1l(0x2b8,'4X0(')],0x1)){if(ii1l1I[lIIi1l(0x273,'hF0t')](ii1l1I['guibp'],lIIi1l(0x3eb,'[d*U'))){await ii1l1I['qYfnh'](Iii1II,ii1l1I[lIIi1l(0x372,'xNQa')]);if($[lIIi1l(0x410,'[d*U')]||$['outFlag']||$[lIIi1l(0x322,'e#0G')])return;switch($[lIIi1l(0x1e4,'YHJ$')]){case lIIi1l(0x3a1,'96nv'):break;case'':console[lIIi1l(0x156,'m^3Q')](ii1l1I['dcwme']),$[lIIi1l(0x354,'fd]!')][lIIi1l(0x100,'mTI3')]('未能获取活动类型'),$[lIIi1l(0x3d4,'YHJ$')]=!![];return;default:console[lIIi1l(0x374,'Lg@i')]('❌\x20当前活动类型('+$[lIIi1l(0x2ac,'(5pn')]+lIIi1l(0x230,'Z^Rb')),$[lIIi1l(0x3c4,'GXzu')][lIIi1l(0x100,'mTI3')](lIIi1l(0x268,'(5pn')+$[lIIi1l(0x261,'nlO&')]+')不受支持'),$[lIIi1l(0x1d4,'qVxn')]=!![];return;}if($[lIIi1l(0x1ed,'db[X')]||$[lIIi1l(0x355,'j@vM')])return;await $[lIIi1l(0x11a,'4X0(')](0x1f4);}else{IiiIli[lIIi1l(0x401,'Hz)t')](ii1l1I[lIIi1l(0x2e4,'!yLC')]),iillli[lIIi1l(0x361,'jwTX')][lIIi1l(0x277,'[d*U')](ii1l1I[lIIi1l(0x1fe,'5rP%')]),I1l1Ii[lIIi1l(0x190,'E)1b')]=!![];return;}}await Iii1II(ii1l1I[lIIi1l(0x414,'E)1b')]),await $[lIIi1l(0x2fa,'jwTX')](0x1f4);if($[lIIi1l(0x17b,'KskN')]||$[lIIi1l(0x202,'jwTX')]||$[lIIi1l(0x2be,'YHJ$')])return;if(ii1l1I[lIIi1l(0x203,'KLVQ')]($['index'],0x1)){await ii1l1I[lIIi1l(0x12a,'oJvP')](Iii1II,ii1l1I[lIIi1l(0x10d,'tr7A')]),await $[lIIi1l(0x248,'KskN')](0x1f4);if($[lIIi1l(0xff,'2njp')]||$[lIIi1l(0x295,'iaP*')]||$[lIIi1l(0x14f,'Z6gJ')])return;const iiI1il=$[lIIi1l(0x21c,'[d*U')][0x0],iiI1ii=iiI1il[lIIi1l(0x2c2,'vN]&')],I1iii1=iiI1il[lIIi1l(0x310,'Lg@i')],lilii1=iiI1il[lIIi1l(0x382,'96nv')],iIiii1=I1iii1>=0x1;let ll1lil=''+iiI1ii+(ii1l1I['fqNry'](lilii1,0x5)?'[专享价]':ii1l1I[lIIi1l(0x3d9,'iaP*')](lilii1,0x3)?lIIi1l(0x3f5,'mTI3'):'')+','+(ii1l1I[lIIi1l(0x31f,'qVxn')](I1iii1,0x1)?'剩余'+I1iii1+'件':ii1l1I['zyIpL'])+'\x0a';console[lIIi1l(0x323,'j@vM')](($['shopName']&&'店铺名称:#'+$[lIIi1l(0x3fa,'YUv2')]+'\x0a')+lIIi1l(0x304,'db[X')+$[lIIi1l(0x197,'SuBU')]+lIIi1l(0x12f,'nlO&')+ll1lil),i11iII[lIIi1l(0x3f8,'iH[O')](i11iII[lIIi1l(0x279,'Q@lL')]+(($['shopName']&&lIIi1l(0x2b3,'Z6gJ')+$['shopName'])+'\x0a【活动奖品】'+ll1lil));const IIlil1=$[lIIi1l(0x165,'db[X')](lIIi1l(0x23b,'E)1b'),$[lIIi1l(0x1f6,'!yLC')]),I1Illl=$[lIIi1l(0x3ec,'Z^Rb')]('yyyy-MM-dd\x20HH:mm',$[lIIi1l(0x10c,'f!mu')]);switch($[lIIi1l(0x10b,'2!bl')]){case 0x0:const ll1lii=Date[lIIi1l(0x115,'Lg@i')]();if($[lIIi1l(0x13b,'(5pn')]&&ii1l1I['DbzCh'](ll1lii,$[lIIi1l(0x353,'qVxn')])){console['log'](lIIi1l(0x362,'5rP%')+IIlil1+lIIi1l(0x3c6,'2!bl')),$[lIIi1l(0x361,'jwTX')][lIIi1l(0x206,'iH[O')](lIIi1l(0x214,'Z^Rb')+IIlil1),$[lIIi1l(0x244,'xNQa')]=!![];return;}if($[lIIi1l(0x119,'Q@lL')]&&ii1l1I['CEcpT'](ll1lii,$['actEndTime'])){console['log']('活动已于\x20'+I1Illl+lIIi1l(0x162,'tr7A')),$[lIIi1l(0x2f6,'xNQa')][lIIi1l(0x100,'mTI3')](lIIi1l(0x22e,'(5pn')+I1Illl),$[lIIi1l(0x3a0,'C6)R')]=!![];return;}break;case 0x1:console['log'](lIIi1l(0x29b,'xNQa')+IIlil1+lIIi1l(0x30f,'Z6gJ')),$[lIIi1l(0x278,'oJvP')]['fix'](lIIi1l(0x12b,'hF0t')+IIlil1),$[lIIi1l(0x1b1,'fucz')]=!![];return;case 0x2:console[lIIi1l(0x104,'(5pn')](lIIi1l(0x131,'C6)R')+I1Illl+lIIi1l(0x250,'fd]!')),$[lIIi1l(0x327,'SuBU')][lIIi1l(0x2c8,'nlO&')](lIIi1l(0x1ca,'YHJ$')+I1Illl),$[lIIi1l(0x244,'xNQa')]=!![];return;default:$[lIIi1l(0x391,'5rP%')]&&(console[lIIi1l(0x1c7,'KskN')](lIIi1l(0x1df,'Lg@i')+$[lIIi1l(0x314,'Z^Rb')]),$[lIIi1l(0x2cd,'Hz)t')][lIIi1l(0x406,'4eSi')]('未知活动状态\x20'+$[lIIi1l(0x35d,'4eSi')]),$['runEnd']=!![]);break;}if(!iIiii1){console[lIIi1l(0x19b,'SuBU')](ii1l1I['Rtrxp']),$['message'][lIIi1l(0x1d8,'e#0G')](ii1l1I['KGuwS']),$[lIIi1l(0x1ed,'db[X')]=!![];return;}if(iiI1ii[lIIi1l(0x25b,'qVxn')](ii1l1I[lIIi1l(0x24e,'%][[')])){if(ii1l1I[lIIi1l(0x19f,'hF0t')](lIIi1l(0x3c9,'YUv2'),ii1l1I[lIIi1l(0x2f0,'mTI3')])){console[lIIi1l(0x2e7,'N$YB')]('垃圾活动不跑了~'),$[lIIi1l(0x3fe,'Q@lL')]['fix'](ii1l1I[lIIi1l(0x3d3,'(5pn')]),$[lIIi1l(0x3c5,'VfjE')]=!![];return;}else ii1iiI[lIIi1l(0x2a3,'4*MH')]=!![];}}if($['runEnd']||$[lIIi1l(0x38e,'%][[')]||$['skipRun'])return;$['taskId']=$[lIIi1l(0x122,'fd]!')]?.['addWares']?.[lIIi1l(0x37b,'N$YB')];const iIiiiI=$[lIIi1l(0x2d0,'y$77')]?.[lIIi1l(0x25e,'4X0(')]?.[lIIi1l(0x357,'2!bl')],ilI11i=$[lIIi1l(0x13c,'f!mu')]?.[lIIi1l(0x42f,'Q@lL')][lIIi1l(0x215,'fucz')]||[];$[lIIi1l(0x1af,'Z^Rb')]=$[lIIi1l(0x249,'iaP*')]?.[lIIi1l(0x3b6,'(5pn')][lIIi1l(0x3f7,'qVxn')];const ilI11l=$[lIIi1l(0x12e,'Lg@i')]?.[lIIi1l(0x20f,'2njp')]['finishNum'],li1I=$[lIIi1l(0x293,'m^3Q')]?.[lIIi1l(0x180,'2!bl')];if(ii1l1I[lIIi1l(0x3ef,'5rP%')](iIiiiI,0x1)||ii1l1I[lIIi1l(0x383,'C6)R')]($['completeCount'],ilI11l)){if(ii1l1I[lIIi1l(0x151,'db[X')]===ii1l1I[lIIi1l(0x27e,'!yLC')])console['log'](ii1l1I[lIIi1l(0x103,'tr7A')]),$[lIIi1l(0x2d6,'db[X')]['fix'](ii1l1I[lIIi1l(0x2e2,'Q@lL')]);else{IiilI1['log'](lIIi1l(0x31c,'xNQa'));return;}}if(ii1l1I['qExbH'](li1I,0x0)){console[lIIi1l(0x1ec,'C6)R')](ii1l1I[lIIi1l(0x3ed,'vN]&')]),$['message']['fix'](ii1l1I['KGuwS']),$[lIIi1l(0x1e3,'N$YB')]=!![];return;}$[lIIi1l(0x375,'Hz)t')]=![];const IIliil=$[lIIi1l(0x1b0,'N$YB')]?.[lIIi1l(0x324,'Z^Rb')][lIIi1l(0x124,'e[Rx')];if(ii1l1I['mGFPz'](IIliil,0x0))$[lIIi1l(0x409,'KskN')]='',await ii1l1I[lIIi1l(0x227,'2njp')](Iii1II,ii1l1I['cuCKp']),!$['getPrize']&&(console[lIIi1l(0x134,'tr7A')](lIIi1l(0x1cc,'4X0(')),$['message'][lIIi1l(0x37f,'jwTX')](lIIi1l(0x283,'YHJ$')));else{if(ii1l1I[lIIi1l(0x243,'Z6gJ')](ii1l1I[lIIi1l(0x334,'I(]D')],ii1l1I[lIIi1l(0x292,'e[Rx')]))for(let I1Illi of ilI11i){if(ii1l1I[lIIi1l(0x1e5,'I(]D')](I1Illi['status'],0x1))continue;$[lIIi1l(0x267,'4eSi')]=I1Illi[lIIi1l(0x2fc,'KLVQ')],await Iii1II(ii1l1I[lIIi1l(0x2d8,'mTI3')]);if($['getPrize']||$[lIIi1l(0x43d,'Lg@i')]||$[lIIi1l(0x317,'oJvP')]||$[lIIi1l(0x234,'fucz')])break;$[lIIi1l(0x340,'db[X')]>=ilI11l&&(console[lIIi1l(0x2f2,'I(]D')](lIIi1l(0x154,'WRTS')),$[lIIi1l(0x2c6,'5rP%')]['insert']('💨\x20空气')),await $[lIIi1l(0x29c,'db[X')](0x1f4);}else iIiII['headers'][lIIi1l(0x26d,'jwTX')]=iil1lI[lIIi1l(0x434,'KskN')];}}catch(Illlll){console[lIIi1l(0x3e8,'Z6gJ')](lIIi1l(0x41e,'hF0t')+Illlll);}}async function i11iI1(Illlli,llli1l){const I1lI1i=l1IIl1,lI1ii1={'IdovB':I1lI1i(0x15b,'!yLC'),'mZGjs':'⚠\x20请填写格式正确的链接','lbCUt':'【提示】请先获取Cookie','kdEun':'1|2|5|3|0|4','gdQTO':I1lI1i(0x25f,'iaP*'),'speEc':function(llli1i,iiI1l1){return llli1i||iiI1l1;},'ctRwA':I1lI1i(0x438,'nlO&'),'vLMyQ':I1lI1i(0x363,'2!bl'),'aZFrx':'venderId','sXAOE':function(i11lI1,liliiI){return i11lI1===liliiI;},'DfADe':'YTHXV','BMCxs':I1lI1i(0x191,'5rP%'),'exLhq':'TztFL','oympN':I1lI1i(0x3c2,'(5pn'),'vvWVh':I1lI1i(0x107,'2!bl'),'cPTyX':I1lI1i(0x280,'2!bl'),'yliHa':I1lI1i(0x343,'GXzu'),'erQKx':function(ilIIiI,lIl1ii){return ilIIiI===lIl1ii;},'wGwQk':'JTtEj','atiKE':I1lI1i(0x143,'C6)R'),'hDUZt':I1lI1i(0x436,'mTI3'),'QraaN':I1lI1i(0x38c,'I(]D'),'xVUZG':'adWiO','gmMAF':function(lIl1il,Ii1l11){return lIl1il(Ii1l11);},'yiqeE':function(IIlii1,iiI1lI){return IIlii1!==iiI1lI;},'uimRi':'tuCBV','rTRgK':'未开始','gCNXR':I1lI1i(0x163,'KskN'),'abDQa':function(IliIlI,IIliiI){return IliIlI===IIliiI;},'Dvwcy':I1lI1i(0x408,'hF0t'),'XVVGY':function(i1111l,i1111i){return i1111l===i1111i;},'cAnNt':function(iliiI1,Illli1){return iliiI1===Illli1;},'haVfW':'IljGG','SqHSe':I1lI1i(0x3e6,'KskN'),'ewYKt':'nVtcV','kzVhC':function(ilIIii,l1111){return ilIIii===l1111;},'ChHlc':I1lI1i(0x3d8,'j@vM'),'FCpIW':'toDo','meRke':I1lI1i(0x3c3,'2njp'),'hnUmE':function(lIl1l1,li1i){return lIl1l1&&li1i;},'noHiz':I1lI1i(0x1c4,'f!mu'),'qfPIe':'未填地址','PrfrG':'NkTdw','gmiqd':I1lI1i(0x2fd,'hF0t'),'tozkI':'SEcCN','TAOlL':I1lI1i(0x2e6,'xNQa')};try{switch(Illlli){case lI1ii1[I1lI1i(0x1f1,'N$YB')]:if(llli1l[I1lI1i(0x1ff,'tr7A')]===0x0&&llli1l[I1lI1i(0x272,'4eSi')]){const ilIIil=lI1ii1[I1lI1i(0x209,'WRTS')]['split']('|');let lIili1=0x0;while(!![]){switch(ilIIil[lIili1++]){case'0':$[I1lI1i(0x281,'2njp')]=$[I1lI1i(0x402,'!yLC')]?.[I1lI1i(0x2a7,'qVxn')]?.['joinDes'];continue;case'1':$[I1lI1i(0x369,'Lg@i')]=$['joinInfo']?.['openCardUrl'];continue;case'2':$['shopName']=llli1l?.['data']?.[I1lI1i(0x3fa,'YUv2')];continue;case'3':$[I1lI1i(0x346,'N$YB')]=$[I1lI1i(0x3fc,'4eSi')]?.[I1lI1i(0x264,'mTI3')]?.['joinCode'];continue;case'4':$[I1lI1i(0x16d,'2njp')]=llli1l?.['data']?.['token'];continue;case'5':$[I1lI1i(0x1f0,'Hz)t')]=llli1l?.[I1lI1i(0x36d,'y$77')]?.[I1lI1i(0x3cf,'5rP%')];continue;case'6':$['venderId']=I1ll1i['getUrlParameter']($[I1lI1i(0x255,'(5pn')],lI1ii1[I1lI1i(0x216,'[d*U')]);continue;case'7':$[I1lI1i(0x1a9,'Z6gJ')]=llli1l?.[I1lI1i(0x109,'!yLC')]?.['shopId'];continue;}break;}}else{if(llli1l[I1lI1i(0x40f,'KskN')])lI1ii1[I1lI1i(0x3cc,'Hz)t')]('LmbXl',lI1ii1[I1lI1i(0x28b,'I(]D')])?(iIIilI[I1lI1i(0x28f,'4*MH')]=!![],il1l1['message']&&iili1[I1lI1i(0x3fe,'Q@lL')][I1lI1i(0x277,'[d*U')](II11ii)):(console[I1lI1i(0x134,'tr7A')](Illlli+'\x20'+llli1l[I1lI1i(0x42a,'VfjE')]),$['message']['fix'](llli1l[I1lI1i(0x179,'zb&5')]),$[I1lI1i(0x3d1,'db[X')]=!![]);else{if(lI1ii1['BMCxs']!==lI1ii1[I1lI1i(0x140,'iaP*')])console[I1lI1i(0x3d2,'f!mu')]('❓'+Illlli+'\x20'+JSON[I1lI1i(0x146,'VfjE')](llli1l));else{if(i1illI[I1lI1i(0xff,'2njp')]||i1IIl[I1lI1i(0x355,'j@vM')]||I1lll1[I1lI1i(0x14b,'YUv2')])return;i1IIi[I1lI1i(0x22f,'e[Rx')](lI1ii1['IdovB']),IIII1I[I1lI1i(0x226,'fucz')]['fix'](lI1ii1[I1lI1i(0x284,'jwTX')]);return;}}}break;case lI1ii1[I1lI1i(0x3ca,'C6)R')]:if(llli1l[I1lI1i(0x3a2,'Lg@i')]===0x0){}else llli1l[I1lI1i(0x1d9,'2njp')]?lI1ii1[I1lI1i(0x3af,'(5pn')]!==I1lI1i(0x3e5,'I(]D')?(IiiIll[I1lI1i(0x36b,'mTI3')]('💨\x20空气'),IIlii['message'][I1lI1i(0x275,'oJvP')]('💨\x20空气')):(console['log'](Illlli+'\x20'+llli1l[I1lI1i(0x182,'4X0(')]),$[I1lI1i(0x290,'E)1b')][I1lI1i(0x42b,'zb&5')](llli1l[I1lI1i(0x32d,'[d*U')]),$['skipRun']=!![]):lI1ii1[I1lI1i(0x13d,'KLVQ')]!==lI1ii1['cPTyX']?lIli1I=II1il+I1lI1i(0x291,'[d*U')+lllI11+')':console['log']('❓'+Illlli+'\x20'+JSON['stringify'](llli1l));break;case lI1ii1[I1lI1i(0x106,'4X0(')]:if(lI1ii1['sXAOE'](llli1l[I1lI1i(0x3a2,'Lg@i')],0x0)&&llli1l['data']){llli1l=JSON[I1lI1i(0x3b4,'!yLC')](llli1l[I1lI1i(0x25a,'KskN')]);if(llli1l[I1lI1i(0x184,'KLVQ')]===0x0&&llli1l[I1lI1i(0x3ea,'[d*U')])lI1ii1[I1lI1i(0x175,'96nv')](lI1ii1[I1lI1i(0x33c,'YHJ$')],I1lI1i(0x41f,'KskN'))?($['pinToken']=llli1l?.[I1lI1i(0x3f1,'2njp')]?.[I1lI1i(0x2aa,'[d*U')],$['encryptPin']=llli1l?.[I1lI1i(0x169,'5rP%')]?.['encryptPin']):I1lIlI=ii1ill+I1lI1i(0x17f,'SuBU')+II1iI+')';else{if(lI1ii1['erQKx'](llli1l[I1lI1i(0x201,'Hz)t')],0x3e8))console[I1lI1i(0x301,'iH[O')](Illlli+'\x20'+llli1l[I1lI1i(0x10e,'I(]D')]),$[I1lI1i(0x2b4,'YUv2')][I1lI1i(0x178,'74wf')](llli1l[I1lI1i(0x259,'GXzu')]),$[I1lI1i(0x325,'zb&5')]=!![];else{if(llli1l['resp_msg']){if(lI1ii1[I1lI1i(0x313,'4X0(')]!==I1lI1i(0x312,'Z6gJ')){i1ili1[I1lI1i(0x22d,'KLVQ')](lI1ii1['mZGjs']);return;}else console[I1lI1i(0x1c7,'KskN')](Illlli+'\x20'+llli1l[I1lI1i(0x1f4,'qVxn')]),$[I1lI1i(0x223,'mTI3')][I1lI1i(0x339,'db[X')](llli1l['resp_msg']),$['skipRun']=!![];}else console[I1lI1i(0x2cf,'2njp')]('❓'+Illlli+'\x20'+JSON[I1lI1i(0x431,'(5pn')](llli1l)),$[I1lI1i(0x37e,'nlO&')]=!![];}}}else console['log']('❓'+Illlli+'\x20'+JSON[I1lI1i(0x2ce,'iH[O')](llli1l));break;case lI1ii1[I1lI1i(0x3d5,'m^3Q')]:if(llli1l['resp_code']===0x0&&llli1l[I1lI1i(0x272,'4eSi')])lI1ii1['QraaN']===lI1ii1[I1lI1i(0x130,'zb&5')]?(lilIl1[I1lI1i(0x1e8,'iH[O')](i1l1ii[I1lI1i(0x194,'VfjE')],lI1ii1[I1lI1i(0x315,'Hz)t')]),i1l1[I1lI1i(0x2c7,'C6)R')](0x1)):($['actStartTime']=llli1l[I1lI1i(0x3f1,'2njp')]?.['startTime'],$['actEndTime']=llli1l['data']?.['endTime'],$['actStatus']=llli1l[I1lI1i(0x174,'KLVQ')]?.['actStatus'],!$[I1lI1i(0x139,'e[Rx')]&&($[I1lI1i(0x16f,'YUv2')]=lI1ii1[I1lI1i(0x26e,'f!mu')](String,llli1l['data']?.[I1lI1i(0x3e9,'4X0(')]||'')));else llli1l[I1lI1i(0x32d,'[d*U')]?(console['log'](Illlli+'\x20'+llli1l['resp_msg']),$[I1lI1i(0x1be,'N$YB')]['fix'](llli1l['resp_msg'])):lI1ii1['yiqeE'](I1lI1i(0x111,'vN]&'),lI1ii1['uimRi'])?(IIli11[I1lI1i(0x1f9,'iaP*')](IllIII+'\x20'+ii1li[I1lI1i(0x193,'Lg@i')]),IIll1[I1lI1i(0x427,'nlO&')][I1lI1i(0x3a6,'KLVQ')](ll1il[I1lI1i(0x3a9,'WRTS')]),IiiIiI[I1lI1i(0x42c,'tr7A')]=!![]):console[I1lI1i(0x274,'E)1b')]('❓'+Illlli+'\x20'+JSON[I1lI1i(0x2ce,'iH[O')](llli1l));break;case I1lI1i(0x3bc,'nlO&'):if(llli1l[I1lI1i(0x1d0,'hF0t')]===0x0&&llli1l['data'])$[I1lI1i(0x29a,'%][[')]=llli1l[I1lI1i(0x36d,'y$77')];else llli1l[I1lI1i(0x36c,'4eSi')]?(console[I1lI1i(0x22f,'e[Rx')](Illlli+'\x20'+llli1l[I1lI1i(0x3c1,'Z6gJ')]),$[I1lI1i(0x1c0,'e[Rx')][I1lI1i(0x3a6,'KLVQ')](llli1l[I1lI1i(0x32d,'[d*U')]),$[I1lI1i(0x300,'2!bl')]=!![],[lI1ii1[I1lI1i(0x3ee,'nlO&')],'结束',lI1ii1[I1lI1i(0x144,'f!mu')],'不在'][I1lI1i(0x187,'tr7A')](lIiliI=>llli1l['resp_msg']['includes'](lIiliI))&&(lI1ii1[I1lI1i(0x421,'C6)R')](lI1ii1[I1lI1i(0x2ba,'f!mu')],I1lI1i(0x229,'nlO&'))?(IilIil[I1lI1i(0x403,'e[Rx')]=l1iIi?.['data']?.[I1lI1i(0x18d,'4X0(')],l1l11i['encryptPin']=l1iIl?.[I1lI1i(0x40b,'Lg@i')]?.['encryptPin']):$[I1lI1i(0x18b,'tr7A')]=!![])):(console[I1lI1i(0x399,'!yLC')]('❓'+Illlli+'\x20'+JSON[I1lI1i(0x316,'2njp')](llli1l)),$['skipRun']=!![]);break;case I1lI1i(0x231,'I(]D'):if(lI1ii1[I1lI1i(0x2fe,'e[Rx')](llli1l['resp_code'],0x0))$['prizeInfo']=llli1l?.[I1lI1i(0x2d1,'fucz')]?.[I1lI1i(0x429,'zb&5')]||[];else{if(llli1l[I1lI1i(0x3ab,'m^3Q')]){if(lI1ii1[I1lI1i(0x262,'4eSi')](lI1ii1['haVfW'],lI1ii1[I1lI1i(0x26c,'Lg@i')]))I1iIll['log']('未知活动状态\x20'+I1lliI[I1lI1i(0x3f3,'2njp')]),llIllI['message'][I1lI1i(0x2c8,'nlO&')]('未知活动状态\x20'+I1ilI1['actStatus']),iillll[I1lI1i(0x1e3,'N$YB')]=!![];else{console['log'](Illlli+'\x20'+llli1l[I1lI1i(0x1f4,'qVxn')]);if([I1lI1i(0x173,'vN]&'),'结束',lI1ii1['gCNXR'],'不在']['some'](Ii1IIl=>llli1l[I1lI1i(0x13f,'(5pn')]['includes'](Ii1IIl))){if(lI1ii1[I1lI1i(0x3cd,'KLVQ')]===I1lI1i(0x2e1,'96nv'))$['runEnd']=!![];else{const ll1lli=lI1ii1['kdEun']['split']('|');let ll1lll=0x0;while(!![]){switch(ll1lli[ll1lll++]){case'0':i1l1Il['log'](llIli);continue;case'1':liiI1i[I1lI1i(0x18c,'db[X')](lI1ii1['gdQTO']);continue;case'2':ililIi['log'](I1lI1i(0x1bf,'KLVQ')+lilIIl+I1lI1i(0x152,'fucz')+(ililIl||'无')+'\x0a');continue;case'3':I1l11l[I1lI1i(0x3d2,'f!mu')]('🔧\x20'+lilIIi+I1lI1i(0x218,'SuBU'));continue;case'4':i1i11l['log'](I1lI1i(0x2e9,'C6)R'));continue;case'5':liiI1l[I1lI1i(0x183,'fd]!')](I1lI1i(0x38f,'96nv')+i1l1II+'\x20响应Cookie\x20=>\x20'+lI1ii1['speEc'](i1ill,'无')+'\x0a');continue;}break;}}}$['message'][I1lI1i(0x1c8,'4X0(')](llli1l[I1lI1i(0x3b7,'C6)R')]);}}else lI1ii1[I1lI1i(0x207,'j@vM')]('Fyvfd',lI1ii1[I1lI1i(0x172,'Lg@i')])?lillIl[I1lI1i(0x401,'Hz)t')]('❌\x20未能正确处理\x20'+iIiIl+I1lI1i(0x35a,'Z^Rb')+(iiilii[I1lI1i(0x24b,'f!mu')]||li1i1i)):console[I1lI1i(0x3e8,'Z6gJ')]('❓'+Illlli+'\x20'+JSON[I1lI1i(0x2d9,'!yLC')](llli1l));}break;case lI1ii1[I1lI1i(0x331,'YHJ$')]:if(lI1ii1[I1lI1i(0x3bb,'iH[O')](llli1l[I1lI1i(0x15c,'(5pn')],0x0)){$[I1lI1i(0x417,'YUv2')]+=0x1;const I1iili=llli1l[I1lI1i(0x40b,'Lg@i')];if(I1iili){if(lI1ii1['meRke']!==lI1ii1['meRke'])lI11Il[I1lI1i(0x1b3,'y$77')](lIII1i+'\x20'+l11i11[I1lI1i(0x208,'db[X')]),IilIl1['message'][I1lI1i(0x42b,'zb&5')](lIII1l['resp_msg']),l1iIIi['skipRun']=!![];else{$['getPrize']=!![];switch(I1iili[I1lI1i(0x398,'5rP%')]){case 0x1:console['log']('🎉\x20'+I1iili['prizeName']+I1lI1i(0x437,'vN]&')),$[I1lI1i(0x10a,'VfjE')]['insert'](I1iili['prizeName']+'🐶');break;case 0x2:console[I1lI1i(0x101,'WRTS')]('🗑️\x20优惠券'),$[I1lI1i(0x223,'mTI3')]['insert']('🗑️\x20优惠券');break;case 0x3:const lI1ill=llli1l['data']['addressId'],Illlii=I1iili[I1lI1i(0x439,'5rP%')];console[I1lI1i(0x22f,'e[Rx')](I1lI1i(0x352,'fucz')),console['log'](I1lI1i(0x3ba,'[d*U')+Illlii);if(I1iili[I1lI1i(0x133,'mTI3')])console[I1lI1i(0x323,'j@vM')](I1lI1i(0x37d,'96nv')+I1iili['showImg']);const lI1ili={'baseUrl':$['baseUrl'],'newbaseUrl':$[I1lI1i(0x167,'5rP%')],'cookie':Ilili,'ua':$['UA'],'token':$[I1lI1i(0x378,'KLVQ')],'prizeName':Illlii,'orderCode':lI1ill},Il1II=await lI1ii1[I1lI1i(0x34a,'VfjE')](i1I11,lI1ili);lI1ii1['hnUmE'](!IIiiII,Il1II)&&await i11iII['sendNotify']($['name']+'中奖通知',I1lI1i(0x1cb,'KLVQ')+$[I1lI1i(0x2f9,'C6)R')]+'】'+$[I1lI1i(0x356,'e#0G')]+I1lI1i(0x2c0,'YUv2')+Illlii+',已成功自动登记收货地址\x0a\x0a'+$[I1lI1i(0x1de,'KskN')]);$['message'][I1lI1i(0x149,'xNQa')](Illlii+'('+(Il1II?lI1ii1['noHiz']:lI1ii1['qfPIe'])+')🎁');break;case 0x4:case 0xb:console[I1lI1i(0x1e6,'qVxn')](I1lI1i(0x3b3,'!yLC')+I1iili['prizeName']+I1lI1i(0x33d,'E)1b')),$['message'][I1lI1i(0x34e,'db[X')]('🗑️\x20'+I1iili['prizeName']+'\x20🎟️');break;case 0x5:console['log']('🗑️\x20专享价'),$['message']['insert'](I1lI1i(0x3b9,'C6)R'));break;case 0x6:console[I1lI1i(0x22d,'KLVQ')](I1lI1i(0x3c7,'oJvP')+I1iili[I1lI1i(0x23a,'VfjE')]+'\x20🧧'),$[I1lI1i(0x252,'vN]&')]['insert'](I1lI1i(0x2d5,'I(]D')+I1iili[I1lI1i(0x1a4,'xNQa')]+'\x20🧧');break;case 0x7:case 0x8:case 0x9:case 0xa:case 0xc:console[I1lI1i(0x2cf,'2njp')](I1lI1i(0x282,'tr7A')+I1iili['prizeName']+I1lI1i(0x42e,'96nv')),$[I1lI1i(0x2b5,'%][[')][I1lI1i(0x3a4,'hF0t')](I1lI1i(0x112,'N$YB')+I1iili[I1lI1i(0x2a6,'nlO&')]+I1lI1i(0x393,'E)1b'));!IIiiII&&(lI1ii1[I1lI1i(0x2b7,'nlO&')]==='NkTdw'?await i11iII[I1lI1i(0x31e,'2!bl')]($['name']+'中奖通知',I1lI1i(0x400,'Q@lL')+$['index']+'】'+$[I1lI1i(0x294,'4eSi')]+I1lI1i(0x241,'jwTX')+I1iili[I1lI1i(0x31d,'YHJ$')]+'\x0a\x0a'+$[I1lI1i(0x263,'I(]D')]):ii1ili=liil1i+I1lI1i(0x394,'fucz')+(lI1lil[I1lI1i(0x385,'Lg@i')]||i1l1iI));break;default:console['log'](I1iili);break;}}}}else llli1l[I1lI1i(0x204,'f!mu')]?([lI1ii1['rTRgK'],'结束',lI1ii1[I1lI1i(0x3be,'74wf')],'不在']['some'](Ii11I=>llli1l['resp_msg'][I1lI1i(0x3e7,'N$YB')](Ii11I))&&($['runEnd']=!![]),[lI1ii1['gmiqd']]['some'](I1iill=>llli1l['resp_msg'][I1lI1i(0x15a,'KskN')](I1iill))&&(lI1ii1[I1lI1i(0x15f,'m^3Q')]===I1lI1i(0x1dc,'[d*U')?$[I1lI1i(0x39b,'[d*U')]=!![]:iIIii1['body']=IllIi1[I1lI1i(0x24a,'SuBU')]({'ecyText':lilIII[I1lI1i(0x123,'I(]D')](Ii1ilI,II11i1[I1lI1i(0x41a,'!yLC')],iliIil['te'])})),console[I1lI1i(0x18c,'db[X')](llli1l['resp_msg']),$[I1lI1i(0x30c,'2!bl')][I1lI1i(0x3d7,'fucz')](llli1l[I1lI1i(0x367,'5rP%')])):lI1ii1[I1lI1i(0x2ad,'j@vM')](I1lI1i(0x1c2,'Z6gJ'),lI1ii1[I1lI1i(0x333,'2!bl')])?console[I1lI1i(0x22d,'KLVQ')]('❓'+Illlli+'\x20'+JSON['stringify'](llli1l)):!lI1l1i&&(I1llIi[I1lI1i(0x22c,'2!bl')]=!![],IIii1I[I1lI1i(0x252,'vN]&')]&&l1l1il[I1lI1i(0x290,'E)1b')][I1lI1i(0x206,'iH[O')](I11i1I));break;}}catch(lIl1li){console[I1lI1i(0x135,'YUv2')](I1lI1i(0x105,'%][[')+Illlli+I1lI1i(0x18a,'YUv2')+(lIl1li[I1lI1i(0x32b,'4*MH')]||lIl1li));}}async function Iii1II(Il1I1){const illili=l1IIl1,lIilii={'lIwmg':illili(0x196,'jwTX'),'bIupj':function(IliIli,lI1ilI){return IliIli(lI1ilI);},'gxuNj':illili(0x220,'e#0G'),'ZtiDy':illili(0x10f,'2njp'),'HwCuc':'未能获取用户鉴权信息','Racbe':illili(0x26a,'4eSi'),'kurOk':'POST','HrGtX':illili(0x2da,'YUv2'),'zOpCz':'/api/user-info/login','lAYla':illili(0x147,'oJvP'),'JdQtK':'initPinToken','nlfMr':'basicInfo','cOokS':illili(0x3bc,'nlO&'),'TtwzG':illili(0x2af,'e[Rx'),'exeIj':illili(0x34b,'4X0('),'BQosX':illili(0x2ca,'oJvP'),'aGbpV':illili(0x1ba,'iH[O'),'xbZNy':illili(0x345,'(5pn'),'evmXq':function(IllliI,IliIll){return IllliI===IliIll;},'bKyvV':'/prod/cc/interactsaas','OOeRn':illili(0x251,'tr7A'),'gcnst':illili(0x428,'WRTS'),'EdppU':illili(0x371,'2!bl'),'NORqu':illili(0x236,'[d*U'),'sdnuJ':illili(0x30e,'4eSi'),'SjcvQ':'keep-alive','zCFkG':illili(0x145,'f!mu'),'Idbad':illili(0x332,'f!mu'),'tviRN':illili(0x11d,'YUv2'),'Qktaw':'same-origin','dPOKv':function(iIiili,lilill){return iIiili!==lilill;},'OYWJV':illili(0x342,'%][['),'qFOqj':'oxOvY','HMrna':'Content-Type','dLBXF':function(IilI1,l1lI1){return IilI1<l1lI1;},'qKBFd':'MYUlJ','dBoZK':function(Ili1I1,lI1I1i){return Ili1I1>lI1I1i;},'EEDHe':'Yugbm','epmVC':function(liI1II,i1Iii1,l1liii){return liI1II(i1Iii1,l1liii);},'ydkqb':illili(0x2f7,'e[Rx'),'WEgSY':illili(0x39a,'E)1b'),'yXlfc':illili(0x1ef,'4*MH'),'ZSTBj':illili(0x2f1,'%][['),'wEeXg':illili(0x3f2,'fd]!'),'YfiXX':illili(0x413,'E)1b'),'VLTgF':illili(0x1c6,'iH[O'),'bJIoZ':function(I1Ili1,l1liil){return I1Ili1===l1liil;},'QAZBB':illili(0x3c0,'vN]&'),'CpMQe':'0|5|3|1|2|4','xfDmi':'\x0a---------------------------------------------------\x0a','ndgey':function(i1ll1,lilI1I){return i1ll1||lilI1I;},'eYPpC':function(lI1I1l,Il1Il){return lI1I1l||Il1Il;},'LAmQY':illili(0x1e0,'zb&5'),'vWTIF':'ZGuTj','tERVk':function(i1IiiI,lI1I1I,l1lII){return i1IiiI(lI1I1I,l1lII);},'oBjdX':'vuOSW','dDWVp':function(lilI1l,l1liiI){return lilI1l>=l1liiI;},'dyBIK':illili(0x335,'KLVQ'),'BVtYK':function(I1iI1,lilI1i){return I1iI1===lilI1i;},'zFeDZ':'FrGKS'};if($[illili(0x320,'fd]!')]||$['outFlag'])return;let lIilil=$['newbaseUrl'],lIl1ll={},Ii111={},Ii1III=lIilii['kurOk'];switch(Il1I1){case lIilii[illili(0x397,'e[Rx')]:lIilil+=lIilii[illili(0x13a,'Q@lL')],lIl1ll={'status':'1','activityId':$['activityId'],'tokenPin':$[illili(0x349,'(5pn')],'source':'01','shareUserId':$['shareUserId']||'','uuid':$[illili(0x2f4,'Z^Rb')]};break;case lIilii[illili(0x20d,'mTI3')]:lIilil+=illili(0x386,'%][[');break;case lIilii[illili(0x17a,'iH[O')]:Ii1III=illili(0x39e,'vN]&'),lIilil+=illili(0x1e7,'e[Rx')+$[illili(0x35b,'zb&5')]+'&jdToken='+$[illili(0x3c8,'74wf')]+illili(0x3cb,'GXzu')+($[illili(0x3e2,'5rP%')]||'')+illili(0x2e5,'fd]!')+$['UUID']+illili(0x366,'4X0(')+Date[illili(0x387,'2njp')]()+illili(0x254,'SuBU')+$['shopId'];break;case lIilii[illili(0x3ce,'C6)R')]:lIilil+=illili(0x160,'5rP%'),lIl1ll={'activityId':$[illili(0x24f,'[d*U')]};break;case lIilii[illili(0x222,'m^3Q')]:lIilil+=lIilii['TtwzG'];break;case lIilii[illili(0x3fb,'hF0t')]:lIilil+=lIilii[illili(0x3b1,'tr7A')];break;case lIilii[illili(0x3e3,'iH[O')]:lIilil+=lIilii[illili(0x306,'tr7A')],lIl1ll={'taskId':$[illili(0x164,'mTI3')]||'','skuId':$[illili(0x232,'2!bl')]||''};break;default:console['log'](illili(0x351,'KLVQ')+Il1I1);return;}const ilIIi1=lIilii[illili(0x2bb,'db[X')](Ii1III,'POST')&&$['pathname'][illili(0x14a,'oJvP')](lIilii['bKyvV'])&&I1I1i1[illili(0x1a2,'zb&5')](lIilil['replace']($[illili(0x3e1,'E)1b')],'')['split']('?')[0x0]);if(ilIIi1){if(lIilii[illili(0x16b,'4*MH')]!==lIilii[illili(0x289,'!yLC')])lIl1ll[illili(0x1cf,'I(]D')]=$[illili(0x30d,'db[X')],Ii111={'ecyText':I1I1i1[illili(0x2eb,'4eSi')](lIl1ll,$['pinToken'],$['te'])};else{const Ii11l=lIilii[illili(0x297,'j@vM')];return{'err':Ii11l,'res':null,'data':null};}}const l111i={'url':lIilil,'headers':{'Accept':lIilii[illili(0x43b,'y$77')],'Accept-Encoding':lIilii['NORqu'],'Accept-Language':lIilii['sdnuJ'],'Connection':lIilii[illili(0x35c,'!yLC')],'Content-Type':lIilii[illili(0x390,'vN]&')],'Cookie':illili(0x19d,'db[X')+$['jdToken']+';\x20'+($[illili(0x426,'y$77')]?';pToken='+$[illili(0x137,'96nv')]:'')+($['te']?illili(0x14d,'qVxn')+$['te']:''),'Host':$['hostname'],'Origin':$[illili(0x286,'GXzu')],'Referer':$['activityUrl'],'Sec-Fetch-Dest':lIilii['Idbad'],'Sec-Fetch-Mode':lIilii[illili(0x125,'KLVQ')],'Sec-Fetch-Site':lIilii[illili(0x195,'E)1b')],'User-Agent':$['UA']},'body':JSON['stringify'](ilIIi1?Ii111:lIl1ll),'timeout':0x7530};$[illili(0x1b4,'iaP*')]&&(l111i[illili(0x32e,'YHJ$')][illili(0x2ff,'74wf')]=$['token']);if(lIilii['evmXq'](Ii1III,illili(0x224,'2njp'))){if(lIilii[illili(0x28d,'qVxn')](lIilii['OYWJV'],lIilii[illili(0x27c,'iH[O')]))delete l111i[illili(0x3e0,'4eSi')],delete l111i[illili(0x3aa,'fucz')][lIilii['HMrna']];else{const Ii11i={'HBPOC':function(i1llI,iIIli1){const iiiII1=illili;return lIilii[iiiII1(0x348,'(5pn')](i1llI,iIIli1);}};return new lill11(async Ii1l1i=>{const liI111=illili;I1llII[liI111(0x430,'db[X')](Iil1il,(l1lIl,Ii1l1l,i1Iiil)=>{const IiIlI=liI111;Ii11i[IiIlI(0x34d,'mTI3')](Ii1l1i,{'err':l1lIl,'res':Ii1l1l,'data':i1Iiil});});});}}const l111l=0x5;let I1iilI=0x0,Ii1II1=null,lilili=![];while(lIilii['dLBXF'](I1iilI,l111l)){if(lIilii[illili(0x2b0,'mTI3')]!==lIilii['qKBFd'])lI1III&&(i1ili[illili(0x20c,'zb&5')]=Iiill1['stringify']({'ecyText':I1iII1['encrypt'](lilII1,iill1['pinToken'],iii1l1['te'])})),liiI11='❌\x20'+ililI1+'\x20接口无响应数据',IIii1i++;else{if(lIilii[illili(0x141,'4eSi')](I1iilI,0x0)){if(lIilii[illili(0x1a1,'5rP%')](illili(0x158,'Z6gJ'),lIilii['EEDHe'])){const IilIl=lIilii[illili(0x311,'zb&5')][illili(0x29d,'74wf')]('|');let IilIi=0x0;while(!![]){switch(IilIl[IilIi++]){case'0':IIli1l[illili(0x2a1,'YUv2')]=II1lii?.['data']?.['joinInfo'];continue;case'1':lliil1[illili(0x3bf,'GXzu')]=IIllI[illili(0x2db,'xNQa')](lliilI['openCardUrl'],'venderId');continue;case'2':lIIiiI[illili(0x221,'VfjE')]=II1lil?.[illili(0x258,'nlO&')]?.[illili(0x33b,'4eSi')];continue;case'3':IIli1i[illili(0x28e,'nlO&')]=I1iIi1?.[illili(0x2b9,'96nv')]?.[illili(0x337,'YUv2')];continue;case'4':lili1[illili(0x2a2,'iH[O')]=ll1l1?.['data']?.[illili(0x433,'mTI3')];continue;case'5':IllIIi[illili(0x36f,'5rP%')]=IllIIl[illili(0x1ce,'zb&5')]?.[illili(0x2a7,'qVxn')]?.['joinCode'];continue;case'6':IiiIi1[illili(0x1b5,'vN]&')]=l1ii1[illili(0x12d,'iH[O')]?.[illili(0x347,'I(]D')]?.[illili(0x1b7,'fd]!')];continue;case'7':lIIii1[illili(0x126,'zb&5')]=ll1i1['joinInfo']?.[illili(0x359,'e#0G')];continue;}break;}}else await $[illili(0x17d,'N$YB')](0x3e8);}const {err:l1lIi,res:l1lili,data:IIlI1l}=await lIilii[illili(0x20b,'4X0(')](llIlI,l111i,Ii1III);if(l1lIi){if(typeof l1lIi===lIilii[illili(0x308,'jwTX')]&&l1lIi[illili(0x205,'nlO&')](lIilii[illili(0x153,'db[X')]))Ii1II1=Il1I1+illili(0x271,'2!bl');else{if(illili(0x302,'xNQa')===lIilii[illili(0x1f2,'xNQa')]){const Ili1Il=l1lili?.[illili(0x2e3,'nlO&')];if(Ili1Il){if(lIilii[illili(0x3de,'4X0(')]===lIilii[illili(0x3df,'tr7A')])i1l1i1=liil11+illili(0x150,'5rP%')+iiillI+')',l1l111=!![];else{if([0x193,0x1ed]['includes'](Ili1Il))lIilii[illili(0x41d,'GXzu')]('bWlPW',lIilii[illili(0x1a3,'e#0G')])?(Ii1II1=Il1I1+illili(0x38b,'74wf')+Ili1Il+')',lilili=!![]):lI1ll1[illili(0x3ff,'N$YB')]=iIiI1['stringify']({'ecyText':liil1I[illili(0x38a,'xNQa')](i11ii1,IlIliI['pinToken'],l1iII1['te'])});else{if([0x190,0x194]['includes'](Ili1Il))Ii1II1=Il1I1+illili(0x118,'hF0t')+Ili1Il+')';else[0x1f4][illili(0x15a,'KskN')](Ili1Il)&&ilIIi1?lIilii[illili(0x2bd,'WRTS')](lIilii['VLTgF'],'bgvJL')?l111i['body']=JSON[illili(0x14c,'KskN')]({'ecyText':I1I1i1[illili(0x380,'f!mu')](lIl1ll,$[illili(0x27d,'iaP*')],$['te'])}):(Ilil1l='❌\x20'+iIIiii+'\x20接口响应数据解析失败:\x20'+iilll[illili(0x290,'E)1b')],il1iI1[illili(0x399,'!yLC')](illili(0x288,'GXzu')+IlllIi+illili(0x3db,'oJvP')+iIIiil(i1l1Ii)),I1iIIi++):lIilii[illili(0x127,'y$77')](lIilii[illili(0x435,'e[Rx')],lIilii[illili(0x3f6,'fucz')])?Ii1II1=Il1I1+illili(0x3d0,'KskN')+Ili1Il+')':(llIlii[illili(0x37a,'2!bl')](illili(0x412,'m^3Q')),llIlil[illili(0x43a,'YHJ$')]['insert']('💨\x20空气'));}}}else Ii1II1=Il1I1+illili(0x1a6,'GXzu')+(l1lIi[illili(0x223,'mTI3')]||l1lIi);}else{i1ilii[illili(0x1db,'74wf')](lIilii['ZtiDy']),iIIII1['message']['fix'](lIilii[illili(0x11f,'96nv')]);return;}}I1iilI++;}else{const iiiI1l=I1ll1i[illili(0x2df,'fucz')](l1lili),Ili1Ii=![];if(Ili1Ii){const Ii1l1I=lIilii['CpMQe'][illili(0x1e1,'m^3Q')]('|');let iilII1=0x0;while(!![]){switch(Ii1l1I[iilII1++]){case'0':console[illili(0x270,'nlO&')](lIilii[illili(0x235,'KLVQ')]);continue;case'1':console[illili(0x198,'hF0t')]('🔧\x20'+Il1I1+illili(0x41b,'[d*U'));continue;case'2':console['log'](l111i);continue;case'3':console[illili(0x1f8,'jwTX')]('🔧\x20'+Il1I1+'\x20响应Cookie\x20=>\x20'+lIilii[illili(0x110,'YUv2')](iiiI1l,'无')+'\x0a');continue;case'4':console[illili(0x18f,'xNQa')](illili(0x1c1,'SuBU'));continue;case'5':console[illili(0x374,'Lg@i')]('🔧\x20'+Il1I1+illili(0x1c9,'qVxn')+lIilii['eYPpC'](IIlI1l,'无')+'\x0a');continue;}break;}}switch(Il1I1){case'initPinToken':const iiiI11=I1ll1i['getCookieValue'](iiiI1l,'te');iiiI11&&(lIilii['evmXq'](lIilii[illili(0x19c,'I(]D')],lIilii[illili(0x192,'YUv2')])?IlIIl[illili(0x2d2,'db[X')]=lI1liI?.[illili(0x1f7,'2!bl')]?.[illili(0x43c,'I(]D')]||[]:$['te']=iiiI11);break;}if(IIlI1l)try{const i1Iil1=JSON[illili(0x1fc,'KLVQ')](IIlI1l);lIilii[illili(0x1eb,'zb&5')](i11iI1,Il1I1,i1Iil1);break;}catch(liI1Ii){Ii1II1='❌\x20'+Il1I1+illili(0x35f,'xNQa')+liI1Ii[illili(0x3fd,'qVxn')],console['log'](illili(0x287,'db[X')+Il1I1+'\x20=>\x20'+String(IIlI1l)),I1iilI++;}else lIilii[illili(0x129,'iaP*')]('vuOSW',lIilii['oBjdX'])?(ilIIi1&&(l111i[illili(0x2ec,'I(]D')]=JSON[illili(0x1a7,'y$77')]({'ecyText':I1I1i1[illili(0x15e,'C6)R')](lIl1ll,$[illili(0x1a0,'2!bl')],$['te'])})),Ii1II1='❌\x20'+Il1I1+illili(0x1b2,'jwTX'),I1iilI++):liI[illili(0x116,'fucz')]('❓'+illIli+'\x20'+l11i1l[illili(0x316,'2njp')](lIII11));lilili=![];}}}if(lIilii['dDWVp'](I1iilI,maxRetryTimes)){if(lIilii[illili(0x2d4,'2!bl')](illili(0x3ad,'iaP*'),illili(0x16c,'db[X')))console[illili(0x301,'iH[O')](Ii1II1),lilili&&(lIilii[illili(0x40d,'tr7A')]===illili(0x17e,'(5pn')?(iIII11['log']('❓'+IiI1i+'\x20'+llll1['stringify'](lil11l)),i1i1Il[illili(0x2a0,'!yLC')]=!![]):!llIiI&&(lIilii['BVtYK'](illili(0x3dd,'SuBU'),lIilii[illili(0x28c,'N$YB')])?(Iiiii[illili(0x2a5,'zb&5')](l11i1I+'\x20'+IiII[illili(0x208,'db[X')]),llIIli[illili(0x2c6,'5rP%')][illili(0x299,'y$77')](lIII1I[illili(0x2de,'j@vM')]),illIlI[illili(0x2a3,'4*MH')]=!![]):($['outFlag']=!![],$[illili(0x11c,'4eSi')]&&$[illili(0x32b,'4*MH')][illili(0x2f8,'5rP%')](Ii1II1))));else{Iil1I1['log'](illili(0x128,'(5pn')),Ii1iII[illili(0x2d6,'db[X')]['fix'](lIilii[illili(0x389,'GXzu')]);return;}}}async function llIlI(ili1l,i1lii=l1IIl1(0x2d3,'iH[O')){const iIlI1i=l1IIl1,iilIII={'piiAe':function(liI1Il,I1iIi){return liI1Il!==I1iIi;},'DiFvU':iIlI1i(0x186,'vN]&'),'TDZPr':function(iiiI1I,lilI11){return iiiI1I(lilI11);},'dONgH':iIlI1i(0x22a,'!yLC'),'mvGpZ':iIlI1i(0x2fb,'qVxn'),'hpbKh':function(Ili1II,ili1i){return Ili1II===ili1i;},'RGqKP':function(IiIi1,l1Ii1){return IiIi1===l1Ii1;},'NUQJt':iIlI1i(0x266,'%][['),'FNVKZ':'不支持的请求方法'};if(i1lii===iilIII[iIlI1i(0x159,'C6)R')]){if('fCAUm'===iilIII[iIlI1i(0x298,'74wf')])IllI11['log'](l1llIi+'\x20'+II1llI['resp_msg']),i11I11[iIlI1i(0x31b,'Z^Rb')][iIlI1i(0x3b8,'Hz)t')](l1llIl[iIlI1i(0x40f,'KskN')]);else return new Promise(async III1I1=>{const iII1Il=iIlI1i;$[iII1Il(0x3f0,'Z^Rb')](ili1l,(ilI111,I1IllI,IIlI11)=>{III1I1({'err':ilI111,'res':I1IllI,'data':IIlI11});});});}else{if(iilIII['hpbKh'](i1lii,iIlI1i(0x379,'db[X'))){if(iilIII[iIlI1i(0x1b9,'2njp')](iilIII[iIlI1i(0x33f,'5rP%')],iilIII[iIlI1i(0x26f,'Q@lL')]))return new Promise(async iIIll1=>{const IIIliI=iIlI1i,llIIII={'zknIH':function(ilI11I,ili1I){return ilI11I(ili1I);}};iilIII[IIIliI(0x121,'2!bl')](IIIliI(0x2f3,'e[Rx'),iilIII['DiFvU'])?Ii1iiI[IIIliI(0x3dc,'I(]D')](Ilil1I,(i1Iili,i1Iill,l1IiI)=>{II11iI({'err':i1Iili,'res':i1Iill,'data':l1IiI});}):$[IIIliI(0x30b,'zb&5')](ili1l,(l1lill,i1li1,iIIllI)=>{llIIII['zknIH'](iIIll1,{'err':l1lill,'res':i1li1,'data':iIIllI});});});else liIii['activityType']=iilIII[iIlI1i(0x1d1,'qVxn')](II1ll1,IlI1Ii[iIlI1i(0x368,'YUv2')]?.[iIlI1i(0x37c,'I(]D')]||'');}else{const ili11=iilIII[iIlI1i(0x26b,'iaP*')];return{'err':ili11,'res':null,'data':null};}}}function Iii11l(){const iII1Ii=(function(){return[...[version_,'bhjTsJrjAGIiBSaflMmOinh.ScBoKmMwY.PStvK7==','xCk6meVcPG','WRmdWRm','hoISNEAYI+I1QUAwUU+8UUIUH+AJI+ACJEE8U+E6KoMhJ+IVUa','WONcUSonWOa','v1hcPYrp','B8kwWOO','dmk3WPVdJmoKW6G','oxZcUfPxoCoozG','WQRcSxK','cmk8WPVdMSo3W7VdOW','Cmkad3xcTXXl','cCojW77dPSocW4S5WOi','t1pcQGru','WRZdGLRdOdi','eZbdgmkFWRRdJ8kZ','WRldI8oDtSkA','WONcOmoJ','xCk4WORcLGC','deVdTSogsvPZ','8js+ICoB5Ooh5zsf6iYe5B+e','8ywrUHtNQBVMSRa','W6W3W7BdVIO','hvhcP0jO','W7mkWQdcOCkdW5y','8ko7Hmov','8lIBK8oP','WO/dHCoNCCkG','WQFdQ3ZdVXZdGtm','AvCLFmoF','W79vWPdcQaa','nvJcG2fs','WQWeWRSSWP/cHW','WRebFCorWPzfWPa','BSkCWP7cJ8oMW73dVG','W6ZORk/MSypPH6tNVkhLJ7hMLiJPLy/ORy7VVB3ORBJOG7hNSRxLVQhLJApOGzdOV4NOO5pLJ5xPPQBVV6xdLmkRWP9ZW6hcLWNcMCopuMiLy8o2','kJSTW68Y','WRpcLSoUFSkfW5Woq8kKwmkayIHcvq','WOpcSSoAWOOiW5VcKfS','dcXzcSkCWRddJq','xCkjWR3cHJPFbhlcOq4','W44upxtcPa','WQzSAK3dIG','uCoFya','kYqeWQpdMN3dVmovWOKxzqFcRvFcRW','5RA65yI15BoZ5z+oWPq','bq7cNdW','WRHQqvtdPa','W7OuWQBcQCky','rfKUD8o+','WPVdJCoGCSkgD8o5','W5q9bKrZWPmhW6S','WR7dRhRdOrBdHs06','WQ0FymoNWQHrWPK','W61xWPVdI8oWWOPLWQqWnCktxW','WOdcOCoY','WQ8EWR0MWRpcRCoFW4zX','o2FcPurNBmkflfP+nmo5','WR7dLgy+W48JW60ca8kJWPbMWR0','W6jDWOZdICoiWOj8WRG','WRZcSw/dVsbyhtG','W5RcKhz7W6LypG','BK3cTCkeb8ksW71rsmkMkrC','W5efc1BcHG','c8oIW44','tq0RW7rKl8kurftdPquEW57cRComWPJcJHiPWO9FWQKlWPZdNq','ggygW6ZdQa','wghcKSoE','W6XPWRCkW4fsjSokla','z+ocM+w4OEMsIEwsLEEKU+ocU2C','W5m3hfLBWPOe','jYidWRNdJxpdRq','W7NcL3JcOSkwvmkDdXS','WO8EWRiUWPe','WORdHmoEna4','w8knWPpdQa','oSknW4ySiW','fXNcMbddPW','WOFcP0bhW4H7kq','W7ddPmkyWRFcPa','WPVcUv1XW7zVia','a0iTW4tdJYtcT8kx','WRtMI6/KUylLRRtNIzpdNq','tSkFWQFcQIjs','W714WQOJW5b9m8osoG','juRcQw5Y','W7b9WOBcIs7dOsTAWPudW44','WRGDCq','xCo5zColtqpdHq','l8odW6VcVa','WRKfWQW','W7TKWQpdHmoC','sSk4WPJdGmk5W6ZdTaNdMCoBeCoGhqeEyCkWAN5j','W4FcGYXpWR0','W6RdKricW7NdL8kS','WRtdQ8ohxXCyWRK','WR7dSgFdUdBdGYK5qa','cKVdUa','vSovBmkSW7ZcNbzGe8oBWRLMW7xdNI4','bCohW7NdSW','aH3cNdldSW8JkLO','WP3dI0BdHq','wmk6WOBcPdO','8jsEUeq','hWRcHJVdTYeO','tfiqA8ooBCo8fSkJ','cLGhW6hdVa','WPVdKSo7A8k6zCo+h8oV','W5i9cenu','W6BdUmkbWRpdHSkpW4zqW5lcNCoLW5NcTSogqG','W78xWQFcOmkdW58','eSofWQpcIW9zh2dcGq8','W5a4owNcNmorhSka','bSodW7NdGmojW5KKWOJcK8kZDx4zEmodaSoK','xmoZCq','uCk6WPpdQJm','r8kmngdcTW','WQWyWRuOWQpcKmo9W4rWzG','WRRdKSo7ESkK','WQZcH3NcImkDbG','W6pdSCkxWPpdRa','W6L8WPi','s2hcJ8ol','qmkwWQ/dPCkHeHVdHsBdRGRcTGDttG1SD0tdTmkKWPdcMmofWPrOfSoitG4zgtBdJCoTW5hcQHldRCoNl8oSp8o4dmoxE8oUW6XmyK8P','bfhcTLHN','WOJcTCoAWPm/W4RcIq','t14aqq','W7DYWPVcIdxdJW','W6DUWPW1W49yomoGm8k2zYRdOCkBhSk3W6ddJSo6gtOYWQ1IWPNdGCkfW7u','bCoKW4uhW7BcQSohiq','eeK8W7/dOG','pGShWO/dTq','qv4d','ftuUW5KS','W5JcSbXi','W49BWQSbW5m','W6ZdUmkgWPxdLCkeW7m','erGPW7qLpa','vSo1BG','i8ovW6BcRCo0','W5iYW7ddVa','fwtcNub3','WOfpvmouWR0','5lY55zgK566e57Uk5lI36lwA','oJOnW5Os','WR91rLJdVG','t8kbWQdcNX5dhG','WQhdQ3i','W4tdHCkYWOFdUW','d8k9WRZdHSo9W7NdQa','5BUL6zkv6zcl5O+T776mlJK4rriQi2DdW6/cQ07dMCozW6NcMxyIW5NdJapcMCkGWQNcJ8kbkCk0dKeVcq','WR0vFCo0WPi','v2lcOCoKW6a','6i6h5y2ktCoSqW/dHqm55AA86lwB','W5W3W7ldUqO','sCkvWRNcJ8ou','W71JWQ0nW5Pyn8or','WOVcQ8oH','uCkpWRRcNc1rfq','eWZcGshdOc85nxWf','WPFcS8kuWQiiWPBcH1z7vh7dSJVcN8koW5mGv8oFWPLwW441W43cNITNbmkSx8o1ymo+WOK8FSoyubpdHeTHifv7WROB','tEw+I+wLVE+9V+ABGUEbSUweP+ACOEwrN8ok','W6brWONdLSoiWPz8','WOVcTSoGFCo9','cCorW7uQW4O','WOldNSotgJm','W6ZcHIfFWOTWWQGEiW','WRxdRmo3Eqi','fvddRCoby1HPDNO','cSkSWPZdR8o6W73dOq','W4a5W7hdIW0','W69dp8obWRbvWRz5W7O','bCo/W4idW6VdSCkfAW','W6dcGcz/WP52WRK','4PIHWR3ORilLHQ7LRk7KUQRLVzpOPRdNMktNJzpLOiVLJAtPHi3LKQ3LHR3OVyJOOA/OH7xMNQi','WPJcOf17W4ful8kVzG','t8kpWQFcIWjzbglcJHm','c2BcIu1W','W7JcH2lcPmkxxW','uCo/ySoRwaxdKHKWW6qtea','W5hcJa/dOK7dHCos','W44Ylq','W6ZcGtfBWP5JWRKy','WP/cPCo8q8ofW4OZ','5P+16ikr6i2J5y6k55E+5OUu5RAf5yId54QI5Occ','r8oFtupdLtJcLq','WONcSubvW51QkW','x2NcLCo+W7BdMdzH','WR7cMSoOCSksW5KqxSkevSkdzIXfrLVdTbOd','WRmrESoKWPTdWPi','WQP5wvtdPNyTW61LWPRcMq','WR7cVxldMrbEcZe','WOdcT1vLW4fOpq','W4FcIZ/dLhC','W7xdSSkEWOpdMG','WQ7cKuriW7m','g8kwW4e7iW','AmkRWOBcGWa','zwyssSod','WRfYvSoBWR4','W4hdVSkWWQxcVW','W406afPZWPK','W7CUl2VcJCoDamkc','faBcJq','W5NdOqm3WP0OE8kmDmkcW7axWOC','WPNcTmosWOqO','WP/cLunqW48','i/gbNBlVU7m','w2RcICotW48','FSojr8oYwa','eqdcMdJdUIm5kxyozwi8','wL3cPmkFp8kAW6rn','bXmAWOldLq','W7uwWQdcSSk6W5hdKmoGW4pcHSkNvq','W6pcQ3pdPdBdHZq2vJ8rWRKeW6ddQsNcH8o2ka','ie/cSCkexSkpW6HBD8oWobyDp8knWOVdVmk2WR0Auq','W698WPZcGHNdJsbq','r14nvSo5y8oSbSkznxCn','BwFcTmkDgW','zuRcLCkcgSkEW6C','emktjrFcSG','WOFdMmoBjIyYW6bQwW','5AwM5zgD5BEK5yEq6yoe5y615AYS5lUR772O5lQg5Q2F5PAC54oz5P+P5zkwna','iw8uW6xdJW','gWhcHI3dPdi','WO95WRpcOKlcG8km','x0qkFCouAa','4P6+boACI+EDUoISRUAWNSk7','8kECR8kT5Oo/5zsW6iYD5B+d5A2554QuWR4','mgVcUhLqySktpuD5p8oZ','W6FcL3/cKSkyxmkt','W40OpL/cR8oDcG','W4ZcJGxdUvldKCorta','t8kEWQJcMZLf','uCoFDmkXW6/cHW','W43cLWpdVf/dKCootCkiW5Sa','WQ3ORjlMSjFLK4hLUASX','WO3cRCoHwSoHW5yPpmoCW5C','WRVdJmoQDmkf','WOZcUmonWRiYW5VcIuSZ','WR7cK8o7WPSI','WQhMJlJLJjBLKkVLUkdMLPpMJ7JOP5lMNldLP43OTQ3cHSoI','W618WOBcMdtdGYLq','W4G2W6RdUWNdJSoJ','5Rsl5yI05Bcq5z6qda','cmkwW7ZcK31kr3FdNHz+FH7cRmk8','zCkqWPu','5BwZ5y2F5lU76lYH','W4xdICowobmUW71ev8kiWQTO','qSo5zCoiCWNdKWO','W5OZg0S','W6neWORdJmofWOjJWRKXpSkp','z1RcTCkDaSobWQyh','buiJ','WP/cVSokWPezW5FcJLK','u8oxBmkK','5PYv6icr6i2q5y2F55wn5OUK6yQk5P2b5lYW5OkS','wSoZF8owBWVdHaG','pSoPW6NcPCoj','xCkAWRNcGYvvex/cGquIluFcO8oJWRzoeW3cVqvVdmoEWQ4wWQlcUmk+W70iW6RdUa','W6BdRmkAWQpdRq','WOJcO8oqWPu','W6bBWOG','WR7dQ8oaFaqwWQBdTG','W7mRhq/cQc8oW5TdWRdcPg8','WPbMWQVcV13cNCk1fSoqA03cMI/cRG','WOzlsSo4WRC','nsRcOq','umkfWQ4','W7fYWOBcHXpdHG','tfiqBmodFmoT','6Ak76ksK5zIz54Uo772/','WQWhWR0SWOtcLSoq','W4W9W6RdRrRdNq','g8kvW5i9iXr0','W4n0WOdcTdy','t8kEWO7dSWdcH8khCSk0','pmo5W4xcH8oK'],...(function(){return[...['W44Nixm','W6frWPZdKCoNWOr0','zsyaWQpcG2ddQCoFWQfxBrZcPfxcTh0fzmoTW6DtWPVcTwzkW4NcUG','ceVdQa','eqCYW60zlSkB','W44zWQRcPmkp','W6tdS8kwWPtdJCktW6i','W6VOR63MSA/LPiZOTRxVVjmqW4tOOPVPMRJLI4pVVi3dVCk4W4eiW7JcUNjknNhdPHagnq','BMeMCmoE','s8klWQdcMW','jtieWOZdGhxdRW','8jcNI8oh','W7DjWOuYW7i','uCo/ySoRwaxdLbGx','5Rws5yQf5lQb6zU65BIB6zkX5l+j5zkQ5y+P5lQ2','i/gbNAW','qEITKEAZJ+wMO+I2ICkkACozW50','5yQk5yEF5BQP6zok5l6U5zch5AEb6ls/77+v5Rwl5yQV5lQm6zQP5BUo6zc55lYE5zgg5y+n5lIW5zotvW','kYqeWO/dGNddNmofWQCD','kH4CW6Kt','qmoUF8ocstddMr0b','WOtdICoU','v8kqWOdcMCoOW6/dRXvXj8khW6lcMmkRW48EbSoUEwWUh1rPW4VcNa','WR/cS2JdMr1gfG','vCkiWRJdPr/cUmkuxCk9WQWpd8oojMv/tmolW7tdVSkYW5SS','rCodDSkaW6tcKq','W4PpWPC','teeus8kvzCoMf8k1kxabCq','omooW6ZcJCoIwW','dSoCW5FcU1e','W75rWPZdKSozWOb+WRKb','WPNcJuJdRq','sLlcVGHiWP0','xmk7W7mcW53cSCoRnq','WPrnwq','F8kabG','5yQZ5yAk5BU26zo75l+i5zcQ5Aso6lsQ776X5RAz5yUT5lUU6zM+5BMc6zoJ5l+t5zoj5y+z5lIU','W6FdT8kgWP/cISk5WRBcJW','cCodW6ZdTSojW5GN','WQdcKmoPz8kSW5Gjxq','W4a9W68','jqbokmkz','lmouW67cPmoJsa','EvJcLSk7gq','pHNdT8k7o8kkW4Hcza','BvhcLmozW4e','CSkmfuJcTG','8ywvT++6HIi','WPJdH8o7CCkX','W7NcTZ5HWRO','BKRcPCk6emkjW6XB','omoEW7hcUmotuKxcJW','WR/dP8om','8k21QU+6JCoO5lQF5lQu5lUb','5AAA5zcz5zcm56wz772v','WR7dNftdNH0','WR4pWQa1WQdcISokW5i','5P2d6ioq6i+Z5y285RA35yUJ57kO5z25','WQXzy2xdGG','W6ODWQFcOSkpW4RdT8oq','W5TNWOisW7q','h8oUW4udW4FcPSoziW','AuhcRCkbhSkm','cKRdH8okvq','W7eDWRRcTCklW5/dMW','bCklbHpcMMi','how/QUwKGU+/O+AyLUEcJ+whVEADRUwtJXq','8kADKmoi','WQf+EvldU3O3','W6OBaurJ','jCocW6/cUmoc','WROlWQBcS8kyW5VdM8kjWPZdNmoKsgORWOmbW63cSmkrgcJdImkR','WQRdLSo1yZm','WPDtEmowWQ0','jmoxW6tcHCo+','wSoZF8owzqRdHGi','WQxORzpMSktLPBxOTRdVVR7cMCo3xSkvW67cNv49eHqeW7VcPmon','aqtcNdJdHdmJ','eSkuW5y','A0hcTSkenW','WPRcP1PeW4P+','WRRcSCoptCkh','W79pWPuOW5y','b8opW7u','W4GYmfdcJa','kdfQnmk3','WOhdImoQBSkHzSoYcG','rCoKW5BcIq','xv4xta','CSoBsKpdHG','WRNdUCoUeXW','wexcNSoYW74','WO/cTmoDWPG','BCkCWPRcNSoMW6NdVMbIpa','q8o0D8oksthdKWGwW4qA','WQZdG3FdOq4','WRioySo9','B1OJxCot','W7ZdPsKqW6i','W6X9WPBcGc/dHIfg','aCoKW5e','WOldICoobq8WW6W','WQJcUxxdIa','WOpcOeJdMsC','W7NcJdHP','W59+WReHW4u','WQ04WOy7WP0','FmoAxmomFa','W73cIIz4','aKxdQ8oj','W77cG3tcLSkR','b0FdQ8o7Ev50zxa','5AA65zcp5BwN5y+I5AYB','mUwUS+EiRCo3','mmoNW5FdKmoU','mMFcOvPizSkvlfb/j8o4uG','WRJdThhdScZdGqmWvYvBWR0u','WOddUSo4fra','W406afP0WPWmW6e','rKtcQcrq','WOFcTmoqWO8pW5tcM1e','pg3cV1Lfzmke','FSkkeNlcSXvA','W6D8WPhcLq','44cd5lMd5lM96lsN5yYL','WRxdOCot','WOldICoGBmkDBmoXfG','eGu1W4KKmmkqwq','W4BcHHldSW','WPnUFs/dUSkowmkPW74vwWrJ','WOVcSSob','ae3dPW','ygRcTcDC','W7BdJXmnW7e','5Rsl5yI05ywZ5y2B77Y2','W6HvWPVdGW','W4jEWPhcJq0','s3NcUCoJW5i','iX/cGYVdHW','W7FdGru0W4RdM8k4W7u','WR7cRw/dRcfx','WQBcMSoEEa','8yUXNCk656MT5RoN','yCkUWOhcRmoq','tmkVWOVcRCoG','W4m+pNdcTCovgCkEW5WGDG','W4fCWRBcIYS','W509aLPwWPGvW6hdP1GRW5dcMq','f8ktW7SahG','4PIQW5lOR7VLOORLHAdMOiFLV7NMRixNOjdNMOFPKjNMJz4','WPJdJ8oNvSk7ACoYfW','W6ZORk/MSypLJAVMLl8','WRpdVCoErrCsWRxcVu0zWPvTlmkh','W7KoWQtcNSkB','4P2VhoIhL+ADGEI/QUIIPEMdOEwjNos5OoMvQEISHK8','W4/dSbibW78','W4u4pKZcSCoqpCkgW7SZDYPVESoW','k8ozW4BcMCoT','WONdJSoUpH0LW6C','WR/cJSoyWPa/','W6xcIIz4WPfWWReo','W47cNq3dUa','r8oFDSkrW6xcNGD3','WRijWQCVWRFcHmoB','W6hdKmkgWO7cVq','WPZcVmo8sCoYW7yZi8o6','bCkBgYBcQ2T3W6G','WORcP8oT','xgVcKSoAW4VdHJ0','W6nbWPVdPmoQWOj2','h/geJAy','CSklbvBcSWbAFa','aGdcHJW','FfRcS8keh8kCW6bozq','WRjxWQ/cS8keW5VdISoDW4pcG8oTuwyjWP4jW5xcRmkA','gKuRW5RdGIRcVSkx','W7hdIW0HW7S','mY0bW58j','c0W3W4pdRWlcVCkura','WQ3WNBo1','WRmdWRm1WRG','qmoUF8ocssRdGqab','WOxcT0DYW4v9kW','CSosAmk1W58','xumnqSoFrCoMbCk/','W75bWOhdP8oOWOC','5AAD5zoB5BEF5ywv6yg45y+o5A+v5lIs77Y85lUJ5Q+u5PES54cw5P645zkvbG','5P2p6icK6i2F5y2/55A+5OQR5RA95yUi54Iv5Ok/','ffhdSCoTy1S','d0q8','W7NdVCks','sSkik1hcKq','xwFcGSo5W7a','y0hcPG','4PYgz+ADMUIaT+AVJ+EHUUwMJoEsQSoQ','WPRdHSotgrC','FSkbWO7cIIu','WR/dHMZdHHS','WOZdH8o9yW','gSkBgYxcLwfH','xCkjWR3cVdHxbh7cMW','h8kyW4uknabuWRjzW7i','DNpcRCo5W4e','x1qxsmoLyCo7ba','5P2m6ioz6iYO5y2+55sL5OIi6yM05P2t5l+I5OcC776x','W5a2ce9d','W7L/WOaBW6m','8l6EMSov5Okb5zEg6iYv5B+t','mJ0vWRJdVG','fGmWW7GL','W6jBWPG','dCojW6O','iSoZW78dW7a','a+IVI+AYJ+MeOoE9LowmQ+AxLUMvTEISIE+9VoISNUIaKEEZUEw+V+wmJoIbGoI8NoIGKowoPEMML++9HvBcV8k9WPT8bmkedhy8WRlcRIrg','CSkmfutcVbzRzSoqW4C','WPtdI8otjq','WRGjWQaFWRNcJmovW4jXvtZcPtDG','WOdcVSokWPiNW53cMa','W509hvK','pSopW6JcISoj','D8kBWQtdVay','W7FdS8kgWORcGmkMWQK','tmkdWQdcRIK','W6VcKxJcImkpuSkchZ1SWONcJ8oGm2O','sf8hsSodFmo8','dqi+W54NmSkwxg/cVXyzW5lcN8ouWOG','WOzssmopWPC','WOpcVSoWxCouW54ViCoaW4hcRG','vCo8uCkQW5a','6i645y+4W6hcNrJcLCoDr3FcUJDs5Awi6lwj77+N','bI9afmkb','fmkaWO7dH8o+','5Rsy5yQu5Box5P2h5BY65AsI776Q5B2S5AsT5PAg6zsD772F','WOdcVuD1W4P7i8kN','WQFdQ3ZdVXhdIIyW','W61xWPVdI8oWWOPLWQqNi8kntNRcS34','W5xMTzFLIBZLPiRLKjFVV7K','WPtcMmoaACoq','5RwX5yIt5BwW5lMgWQW','tCkoWPNcMtW','gKuRW53dHsBcTa','q2/cNa','W5i9ca','d8opW67dUCoIW4S5WOi','t8kfWONdNqRcUmkBBa','AmkTWQ7dNdm','aW8VW7q9mSkbtMVcSXqF','ACkGeulcQa','BK3cTCk+bCkAW7TCsmk2nbC','h8kyW4uMla10WQj3W7GcW448cXm','WPf0DCoKWOe','aa0OW7qOeSkBuva','FuVcSSkDlSkwW7Pp','bIfHjmkb','WONcMCowWRSn','WQdcT2y','lSoHW4hcKCoE','gCk4W78xca','h8klW4eJmWDHWQ9DW7GcWPuZfGGJis0RW5lcRSoaWOHJe8kyW6pdL0ZdNW','bmkkgJ/cMMfTW6NcHG','a8k2WOtdHCo5W6S','smkQW54vcX1x','W6JdS8kgWOpdHSkx','dmk3WOVdHCoJW7JdOXm','W405bLPOWOGp','W7BdKbqTW7VdKCkIW7ru','ANZcQrC','DmkkfuZcTWfmBSoAW4C','hSoGW58dW4RcVSoe','eoITQ+AXLowMIEI0IE+9QmoPpEIJJ+MBNEwjIo+9VtldQCocoSoCzCodo37cPSk/DepcMG','kalcOqtdMa','qEwrQ+w4MCoqW4pdJI3dH8oaW74W','jsRcKHVdJW','8lQaUSov56Qv5Rob','bIuBWPVdNq','WR7cMSo9','DCkggq','nmo+W5erW7u','lSo0W4ZcR8oe'],...(function(){return['W6ZdIGuOW6ddKSkUW6e','5P+c6igB6iY+5y+u55E85OI15RAS5yUr54IG5Ogj','FuVcSSkDlSkyW6zmEq','rv4xtmouBCoLbG','l8ovW6hcUSo1t0i','WQBcMSoGFmk6','h8o9zSoraWxdGXKnW7SBwGldRCoci8oqqSoEode','h8krgYlcMMDPW6O','d+E7K+AEPo++PUs6KUAUKUAwUUEcTUACK+wsO0O','5lQi5A+85z2o','huW3W4hdHs8','bGBcMc0','WOxcTmokWPuOW5VcKfS','xSo5yCoAtrFdHtGwW6e','WPPluSoPWRC9W7BdOa','vmo9ySoz','WOldQCoaq8kL','WPe7BmofWPq','fY7cGXddKW','eKVdTmonyW','smoBtvxdOs3cNa','W58Xg0nmWPqvW73dSe4UW5S','mSopWO/cPSoDW73dQgi','jMNcPv4','W49CWQFdJSoL','5P6N5BYk5Asi','WPzfvCo8','wSkEWRBdGH0','W5lcMSkkzW','W408W6RdVaBdImoRqq','WQ1Zvq','WP7cQ8oMq8oiW5iUiG','WOFdOetdPrm','W7FdKqGbW7VdKG','WQz/xK7dSxG8','W7jYWPZcMa','ENVcQ8kFha','cUITJEAXVowKGEI2KE+9L8kIF8kQagGNWOO8W6nNCwTBfq','tmkyWQdcLsLKfxJcNqy4tfJcVq','W6JcVmkcferlWPhdUw0xWRqb','WPhdJ8ojisKTW7P3','W6BcNwS','WObbuSoTWOy/W7tdOCkh','tCkzWONdJaVcTW','W7PtWRyDW5i','xg/cLSop','Ee/cQmkz','ce4WW4pdUIlcP8klySoC','WP7ORQxMSk3LK6FLUQ7dNq','xxxcLCoVW7FdLW','hGdcKG','WPpdG8oubrKRW6X+','dmkEW4eJoWDL','W63dSSks','CCkmWOpcUCoPW74','uSoRC8oVDq','W4Gfo2n8','W75rWPZdKSozWO5IWRO','gCkFbtm','uSksWPNcNCoW','5lQO5Pw85O6y55Im6k6F5RoR5Ps/5RoX','xmoFuftdKs3cUx4','t1pcQG','WR/cKmoPzmksW5iF','WRWvESoYWQ9wWPS','rSovwq','yxajACoJ','oXZcGXZdUs0OiGG','W7tcKX1HWQ8','v0JcPY9/','tmkdWQFcUYnDfwu','vmomwCoZwG','WOxcVCorvSoXW5OZnSoWW7lcSKK','W7VcGq/dIKq','W7hdR8kCWPZdKCkTW7DCW4u','u8kdWPxdRatcV8kuzSkYWQiqgSooi11YamolW6m','WRZORO/MSOVLP7FOT4/cMmkdWORcJa','rmocASkSW6tcKGT/kq','auhdSCo9ta','hSoJW5KdW5hcRW','ACoVxSoHAG','WRBcRmofW5hcGCovWQ97W5xcNSoRW77cQG','4PQxWPBOR6/LHO3LRjdKURZLVQFOPPJNM5tNJjVLOztLJ4RPHz/LKR7LH5FOVRROOkdOHllMNPy','W53dPWy2WPeUFCoWuSkaW4KOWP3dQq','W7VdJmkuWRhdJq','W67cIJH8WPn0WQGoe8kAWRbpWP8','W6rWWOhcHsZdIZbmWR0fW4vzatBcOq','e8otW6pdL8ocW44','WOxMJ7BLJBRMLAJLKQxLUl3ML7BMJyO','w8ozFW','fZzgkCkE','W6DLWQO3W7fwiq','WRZdOexdPYG','W6dcNwxcJ8k9xSkf','aCkRWONdNSogW67dRXRdHG','ngpdRSoJxq','WRNdQ1hdVG','gWhcKs3dRG','teNcUsTwWOJdGq','WRpdOCoDqJuqWRJdTG','W6H2WOBcNZVdHse','8yo0GWe','dWKOW64Qpmkq','imkxeX3cMxldNtFdTf0QzmouDmoUktmIeXGeWPJcKvJcKKXLkuZdVCoqWPhcR37dHYrQA8o2WPrcEbjaW7FdLSonWPNdPmoKW6GKWQG','d8oNW5qgW4a','W70BWR3cR8kCW5hdISonW6xcIq','5BAm5Akq5z6b5zYp','kgqhW6NdPW','WQ/dO2pdMXq','W6NdIWe','WOxdG8oc','CEwtHEw5MgHlz8kyAs4UCG','5REt5yM65BEg57Us5P+777Yw57QD5P6D5PE16zsX776R','44oI5lQi5lI96lA75yYU','8yEGGSkA56IR5RgI','WQP5wvtdPNyTW61KWPhcHwa','WOBcOCo8xCoEW5e7kG','tfiqCCoE','uvNcVH1LWORdIqJcGW','buZcLNPw','W6tcTJFdK0q','WPVdO3NdHXS','i33cOM9kzW','uCkzWQ4','W6pdHCoFzSk2W487sW','W4SZi23cK8ova8kZW6y5FYe','W4tcJH4','fehdRmoyuLjZDW','W6VdUCkQWORdJSkiW7XUW4ZcK8o6W5NcO8opB8o7qSkDW7RdRmkYW7hcRCkzxG','WQD1sG','WP/cNwldQGe','WRSnW5FcL8k2W5CIWP8njCkUx0O','W6tdHXiTW6pdN8k/W6T4WPFdRq','5P6M55+r5REu5yIk54IW5OoImq','WR7cHCoBsSon','WQhcHCo2FSkh','5z2i5zYK5Rsw5yQv5lQD6lEo','W7DMWPVcQttdHG','WONcSubOW5jZoSk7v8k8W4e5','AMixvSoa','pwFcQW','tq0RW7rKlSkguK3dPW0uW5ZcKCkiWOtdJXO+WQTFWRe2WOFdJ0ZdLSo0aSoDwNxdPdavtH1jBKeIW6v3DtZdSmkVW4O','WQddT3i','W7FdGX8xW7W','dvO8W6ZdHq','WPJcI8ohzCo8','jSouW6u','abRcMW3dUci','W6NdSSkgWPldMSkcW7Tu','WPSStSo2WRu','WRpdOCoDqJ8rWRRdVa','W6zNWQFcMXS','W7JdHCkzWOddLW','WQVcIWaXW7VdLCk/W7TcWOVcRSkyxYTtaq7dJ8kZWOq3BW','i23cV1P7BSkslG','hSkZCmonqGFdLaqlW6nrhHldQ8oupSoNzmoBoZa','WONdHCo9uCkGy8oLdCociCogWPO','wmklWR3cJG','W4K8W74','dZzk','WRnVywRdLq','xCo5uCkeW7S','WOjfu8oUWRW','jIGx','E8oBy8opFW','xwxcImoAW4BdKdXReW','dSoAWOxdKZ/cTmknvq','WQVdQ8ohxcKCWRpdT0S','W4OMW63dJGtdImoH','WP9Jz8onWQm','dmkEW4i/bqLZWRW','WRycWRCWWQpcH8oBW5G','WQVdRw0','W4KNhhhcGa','aaRcHJJdIsS+kW','W6pdNSk4WPBcHa','W4mwf8kLW6TOW5BdR8kHz8oHFa','WOBdMSoxbZu','WO7cOCoXsG','bwWDW4BdRq','W6GLzSonWQTDWQa','b0ddU8o/Be1LyW','W5O2WOJcLmkC','WR7cMSo9FSkD','WP7cPCoWFmkY','gWFcVsxdLa','5RA25yMn5Bgp5PYM5B+/5AEA77+q5B2R5AAB5Psd6zsX77Y7','eSonW7JdM8ocW4W7WRhcSG','WQ3cGKFdMZC','WPpdTmotrbK','cUITJEAXVowpSUAxHa','amofW7NdU8oAW4mGWP7cQCk5yfG','gmo4FeRdUr3cGa','W5eGbK1tWPm','WRZcQMJdKYP6fJddJG','W6LAWOZdKmo/WPnL','W4qWW63dOr7dGmoYxCouxfK','gXOtW7aB','WPdcM1BdRIVdJmkpvCoSW5vyW7eLW7dcOG','a8kraZpcMG','WRhcUSo1FmkG','beG3W5NdRsZcTG','iwhdIW','bH3cGc0','dmodW77dOConW40X','ihxdJSoPvq','oIyeWQldGNxdPCoj','WRO7WQaRWPS','WRJdQCoAvG','jXZcKdRdMcCGkq','u8kFWR3cQsbxfW','WP5lrG','5Rs05yQg5BsZ57I+5PYU77+357MA5P235PEQ6zsR772d','dGm8','776e5PMN5lMy5y+B5P+t6isl5P+W5Pwe5O2r77+56kYY6ig157cq5l626icL6l276kk15y616AES776p','sumft8oQFSoHgCk1','t8kbWRZcPIG','c0W3W4/dMtNcVW','eSonW6tdOSo+W586','WOPczCoWWRa','WQVcOMJdMwmthdpdHX3dRSork8knWPi3ya','6i2F5yYeB1xdI3eRWQXE5AE06lAu','W6ZcHIfLWOL4WQGs','lmosW7O','b8kmasZcKuHLW6lcMG','ESkaWPtcHCkQW5FdLHH0nmogW4pcPmo4W4Wu','nwNcUeS','c8oIW5GsW7tcP8ot','WOhcGSo0rmog','f8kvW5iJlWbLWQG','W5e2i2NcKCojaW','WQ/MI67KURtcQa','WRBdU8oaAHOEWRS','iConW7WhW4G','W7pdQmkBWQpdMSkh','W5ZdQ8kjW5q','W7tdSCkbWOBcO8k9WRhcKtZcGG','ociaWQBdJxFdRq','W7ldHq8W','aJPzjCkgWRJdNSkKaCoxW7CQmSoMbq','wCootfNdMJJcMxZcOa','e8kEW4i8oWnL','FCkkfMpcSWfAwSopW44','WOVcVvP1W4f0oG','gqG5WQ7dMG','WQ3cU3xdGdLAdc/dQbu','WQRNUkhMNzpVV63KU7lMRjRMLj/NG5/MNjVLKktcMq','DuFcJCoIW70','W6bVWRaQW5runW','aW7cKa3dNa','dmojvL/dHbBcLcC','yf7cPmkdmSkAW7TmsCkTnq','WPJcOCoLr8o+','amoUW4uaW7NcRmop','WRSnWQa9','W64DWRRcTSk1W5xdJCot','W6hdHriL','ogBcR0zrz8keoG','W5uym1hcQa','W6tcIZfPWOC','WOldJSoEbHCYW6XJ','AxqayCoDW7ZcH8oWB8kvWRrZESkLxe/cSCk/wmkYWPtcVCohF8k7W4ncWP7dPbyLW5mYW6/dIaPei2FcIMHJp2v0W63dLI4oA8kOW4rz','FvVcR8kOh8kF','WR4pWQa1WQdcISokW5jaEI3cRa','WO7cMSoxWQ8Y','tfiquComzCo8gSkfkx0','a0iTW4tdJYtcT8kxySowW5LO','WOjfvCo1WRC9W7BdOa','jYuJWRRdLq','WP7cSmomWQGI','5Rs05yQg57k65z2M7725','fq0YW6K','6i2A5yYnW6lcKs/dLmkPusTalCkF5AsK6lAd','jrD7b8kQ','W59fWQFdSCoJ','W5e8W7ldRqy','gCkwW7Woha'];}())];}())];}());Iii11l=function(){return iII1Ii;};return Iii11l();};var version_ = 'jsjiami.com.v7';
|
||
// prettier-ignore
|
||
function Env(t,e){"undefined"!=typeof process&&JSON.stringify(process.env).indexOf("GITHUB")>-1&&process.exit(0);class s{constructor(t){this.env=t}send(t,e="GET"){t="string"==typeof t?{url:t}:t;let s=this.get;return"POST"===e&&(s=this.post),new Promise((e,i)=>{s.call(this,t,(t,s,r)=>{t?i(t):e(s)})})}get(t){return this.send.call(this.env,t)}post(t){return this.send.call(this.env,t,"POST")}}return new class{constructor(t,e){this.name=t,this.http=new s(this),this.data=null,this.dataFile="box.dat",this.logs=[],this.isMute=!1,this.isNeedRewrite=!1,this.logSeparator="\n",this.startTime=(new Date).getTime(),Object.assign(this,e),this.log("",`🔔${this.name}, 开始!`)}isNode(){return"undefined"!=typeof module&&!!module.exports}isQuanX(){return"undefined"!=typeof $task}isSurge(){return"undefined"!=typeof $httpClient&&"undefined"==typeof $loon}isLoon(){return"undefined"!=typeof $loon}toObj(t,e=null){try{return JSON.parse(t)}catch{return e}}toStr(t,e=null){try{return JSON.stringify(t)}catch{return e}}getjson(t,e){let s=e;const i=this.getdata(t);if(i)try{s=JSON.parse(this.getdata(t))}catch{}return s}setjson(t,e){try{return this.setdata(JSON.stringify(t),e)}catch{return!1}}getScript(t){return new Promise(e=>{this.get({url:t},(t,s,i)=>e(i))})}runScript(t,e){return new Promise(s=>{let i=this.getdata("@chavy_boxjs_userCfgs.httpapi");i=i?i.replace(/\n/g,"").trim():i;let r=this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout");r=r?1*r:20,r=e&&e.timeout?e.timeout:r;const[o,h]=i.split("@"),n={url:`http://${h}/v1/scripting/evaluate`,body:{script_text:t,mock_type:"cron",timeout:r},headers:{"X-Key":o,Accept:"*/*"}};this.post(n,(t,e,i)=>s(i))}).catch(t=>this.logErr(t))}loaddata(){if(!this.isNode())return{};{this.fs=this.fs?this.fs:require("fs"),this.path=this.path?this.path:require("path");const t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),i=!s&&this.fs.existsSync(e);if(!s&&!i)return{};{const i=s?t:e;try{return JSON.parse(this.fs.readFileSync(i))}catch(t){return{}}}}}writedata(){if(this.isNode()){this.fs=this.fs?this.fs:require("fs"),this.path=this.path?this.path:require("path");const t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),i=!s&&this.fs.existsSync(e),r=JSON.stringify(this.data);s?this.fs.writeFileSync(t,r):i?this.fs.writeFileSync(e,r):this.fs.writeFileSync(t,r)}}lodash_get(t,e,s){const i=e.replace(/\[(\d+)\]/g,".$1").split(".");let r=t;for(const t of i)if(r=Object(r)[t],void 0===r)return s;return r}lodash_set(t,e,s){return Object(t)!==t?t:(Array.isArray(e)||(e=e.toString().match(/[^.[\]]+/g)||[]),e.slice(0,-1).reduce((t,s,i)=>Object(t[s])===t[s]?t[s]:t[s]=Math.abs(e[i+1])>>0==+e[i+1]?[]:{},t)[e[e.length-1]]=s,t)}getdata(t){let e=this.getval(t);if(/^@/.test(t)){const[,s,i]=/^@(.*?)\.(.*?)$/.exec(t),r=s?this.getval(s):"";if(r)try{const t=JSON.parse(r);e=t?this.lodash_get(t,i,""):e}catch(t){e=""}}return e}setdata(t,e){let s=!1;if(/^@/.test(e)){const[,i,r]=/^@(.*?)\.(.*?)$/.exec(e),o=this.getval(i),h=i?"null"===o?null:o||"{}":"{}";try{const e=JSON.parse(h);this.lodash_set(e,r,t),s=this.setval(JSON.stringify(e),i)}catch(e){const o={};this.lodash_set(o,r,t),s=this.setval(JSON.stringify(o),i)}}else s=this.setval(t,e);return s}getval(t){return this.isSurge()||this.isLoon()?$persistentStore.read(t):this.isQuanX()?$prefs.valueForKey(t):this.isNode()?(this.data=this.loaddata(),this.data[t]):this.data&&this.data[t]||null}setval(t,e){return this.isSurge()||this.isLoon()?$persistentStore.write(t,e):this.isQuanX()?$prefs.setValueForKey(t,e):this.isNode()?(this.data=this.loaddata(),this.data[e]=t,this.writedata(),!0):this.data&&this.data[e]||null}initGotEnv(t){this.got=this.got?this.got:require("got"),this.cktough=this.cktough?this.cktough:require("tough-cookie"),this.ckjar=this.ckjar?this.ckjar:new this.cktough.CookieJar,t&&(t.headers=t.headers?t.headers:{},void 0===t.headers.Cookie&&void 0===t.cookieJar&&(t.cookieJar=this.ckjar))}get(t,e=(()=>{})){t.headers&&(delete t.headers["Content-Type"],delete t.headers["Content-Length"]),this.isSurge()||this.isLoon()?(this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient.get(t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status),e(t,s,i)})):this.isQuanX()?(this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>e(t))):this.isNode()&&(this.initGotEnv(t),this.got(t).on("redirect",(t,e)=>{try{if(t.headers["set-cookie"]){const s=t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString();s&&this.ckjar.setCookieSync(s,null),e.cookieJar=this.ckjar}}catch(t){this.logErr(t)}}).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>{const{message:s,response:i}=t;e(s,i,i&&i.body)}))}post(t,e=(()=>{})){if(t.body&&t.headers&&!t.headers["Content-Type"]&&(t.headers["Content-Type"]="application/x-www-form-urlencoded"),t.headers&&delete t.headers["Content-Length"],this.isSurge()||this.isLoon())this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient.post(t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status),e(t,s,i)});else if(this.isQuanX())t.method="POST",this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>e(t));else if(this.isNode()){this.initGotEnv(t);const{url:s,...i}=t;this.got.post(s,i).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>{const{message:s,response:i}=t;e(s,i,i&&i.body)})}}time(t,e=null){const s=e?new Date(e):new Date;let i={"M+":s.getMonth()+1,"d+":s.getDate(),"H+":s.getHours(),"m+":s.getMinutes(),"s+":s.getSeconds(),"q+":Math.floor((s.getMonth()+3)/3),S:s.getMilliseconds()};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(s.getFullYear()+"").substr(4-RegExp.$1.length)));for(let e in i)new RegExp("("+e+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?i[e]:("00"+i[e]).substr((""+i[e]).length)));return t}msg(e=t,s="",i="",r){const o=t=>{if(!t)return t;if("string"==typeof t)return this.isLoon()?t:this.isQuanX()?{"open-url":t}:this.isSurge()?{url:t}:void 0;if("object"==typeof t){if(this.isLoon()){let e=t.openUrl||t.url||t["open-url"],s=t.mediaUrl||t["media-url"];return{openUrl:e,mediaUrl:s}}if(this.isQuanX()){let e=t["open-url"]||t.url||t.openUrl,s=t["media-url"]||t.mediaUrl;return{"open-url":e,"media-url":s}}if(this.isSurge()){let e=t.url||t.openUrl||t["open-url"];return{url:e}}}};if(this.isMute||(this.isSurge()||this.isLoon()?$notification.post(e,s,i,o(r)):this.isQuanX()&&$notify(e,s,i,o(r))),!this.isMuteLog){let t=["","==============📣系统通知📣=============="];t.push(e),s&&t.push(s),i&&t.push(i),console.log(t.join("\n")),this.logs=this.logs.concat(t)}}log(...t){t.length>0&&(this.logs=[...this.logs,...t]),console.log(t.join(this.logSeparator))}logErr(t,e){const s=!this.isSurge()&&!this.isQuanX()&&!this.isLoon();s?this.log("",`❗️${this.name}, 错误!`,t.stack):this.log("",`❗️${this.name}, 错误!`,t)}wait(t){return new Promise(e=>setTimeout(e,t))}done(t={}){const e=(new Date).getTime(),s=(e-this.startTime)/1e3;this.log("",`🔔${this.name}, 结束! 🕛 ${s} 秒`),this.log(),(this.isSurge()||this.isQuanX()||this.isLoon())&&$done(t)}}(t,e)}
|