faker3/jd_txzj_collect_item.js
2024-06-28 15:38:28 +08:00

19 lines
42 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
活动名称:关注商品有礼 · 收藏大师
活动链接https://txzj-isv.isvjcloud.com/collect_item/home?a=<活动id>
环境变量jd_collect_item_activityUrl // 活动链接
7 7 7 7 *
*/
const $ = new Env('关注商品有礼(收藏大师)')
const notify = $.isNode() ? require('./sendNotify') : ''
const jdCookieNode = $.isNode() ? require('./jdCookie') : ''
const getToken = require('./function/getToken')
var version_='jsjiami.com.v7';const liIlIIi=I1i11i1l;(function(ii1ll1i1,l1I1llli,l11111i,lIiIlI11,I11lIlil,i1iiIIll,i11ll11I){return ii1ll1i1=ii1ll1i1>>0x5,i1iiIIll='hs',i11ll11I='hs',function(l1iiilI,IIlilill,l1lii1li,ii1l11i1,IIII1lI){const I1II1iIl=I1i11i1l;ii1l11i1='tfi',i1iiIIll=ii1l11i1+i1iiIIll,IIII1lI='up',i11ll11I+=IIII1lI,i1iiIIll=l1lii1li(i1iiIIll),i11ll11I=l1lii1li(i11ll11I),l1lii1li=0x0;const Ill111II=l1iiilI();while(!![]&&--lIiIlI11+IIlilill){try{ii1l11i1=-parseInt(I1II1iIl(0x225))/0x1+parseInt(I1II1iIl(0x283))/0x2*(-parseInt(I1II1iIl(0x2b1))/0x3)+parseInt(I1II1iIl(0x231))/0x4*(-parseInt(I1II1iIl(0x1da))/0x5)+parseInt(I1II1iIl(0x2a1))/0x6+-parseInt(I1II1iIl(0x268))/0x7+parseInt(I1II1iIl(0x1c7))/0x8+parseInt(I1II1iIl(0x28f))/0x9;}catch(ii1lIi1I){ii1l11i1=l1lii1li;}finally{IIII1lI=Ill111II[i1iiIIll]();if(ii1ll1i1<=lIiIlI11)l1lii1li?I11lIlil?ii1l11i1=IIII1lI:I11lIlil=IIII1lI:l1lii1li=IIII1lI;else{if(l1lii1li==I11lIlil['replace'](/[PUXBkGnlfgpwduVH=]/g,'')){if(ii1l11i1===IIlilill){Ill111II['un'+i1iiIIll](IIII1lI);break;}Ill111II[i11ll11I](IIII1lI);}}}}}(l11111i,l1I1llli,function(I11l1lI,llililil,IlllllI1,iliiIll,Illli1I,Iii1iIl,iI1li11l){return llililil='\x73\x70\x6c\x69\x74',I11l1lI=arguments[0x0],I11l1lI=I11l1lI[llililil](''),IlllllI1=`\x72\x65\x76\x65\x72\x73\x65`,I11l1lI=I11l1lI[IlllllI1]('\x76'),iliiIll=`\x6a\x6f\x69\x6e`,(0x135e41,I11l1lI[iliiIll](''));});}(0x19a0,0xaa608,iIiIIIiI,0xcf),iIiIIIiI)&&(version_=iIiIIIiI);let lz_cookie={},activityCookie='',inviterNick='';$[liIlIIi(0x274)]=![];let canHelp=![],cookiesArr=[],cookie='',message='',messageTitle='';if($[liIlIIi(0x21e)]()){if(process[liIlIIi(0x248)][liIlIIi(0x13d)])activityUrl=process[liIlIIi(0x248)][liIlIIi(0x13d)];if(JSON[liIlIIi(0x14f)](process[liIlIIi(0x248)])[liIlIIi(0x15d)](liIlIIi(0x16a))>-0x1)process[liIlIIi(0x187)](0x0);Object[liIlIIi(0x206)](jdCookieNode)[liIlIIi(0x1b6)](lll1II1I=>{const lIl11il=liIlIIi;cookiesArr[lIl11il(0x1fa)](jdCookieNode[lll1II1I]);});if(process[liIlIIi(0x248)][liIlIIi(0x199)]&&process[liIlIIi(0x248)][liIlIIi(0x199)]===liIlIIi(0x287))console[liIlIIi(0x27a)]=()=>{};}else cookiesArr=[$[liIlIIi(0x27d)](liIlIIi(0x17b)),$[liIlIIi(0x27d)](liIlIIi(0x1c6)),...$[liIlIIi(0x222)]($[liIlIIi(0x27d)](liIlIIi(0x1de))||'[]')[liIlIIi(0x242)](iiiII1I1=>iiiII1I1[liIlIIi(0x27c)])][liIlIIi(0x2a9)](lill1I=>!!lill1I);let isGetCookie=typeof $request!==liIlIIi(0x160);isGetCookie&&(GetCookie(),$[liIlIIi(0x171)]());activityUrl?(activityId=getQueryString(''+activityUrl,'a'),$[liIlIIi(0x264)]=activityUrl[liIlIIi(0x244)](/https?:\/\/([^/]+)/)[0x1]):console[liIlIIi(0x27a)](liIlIIi(0x1cc));let domains=liIlIIi(0x204)+$[liIlIIi(0x264)];!(async()=>{const l1iiII1i=liIlIIi,llii1lII={'dVMez':function(Ili11Ii,ll1i1Iil){return Ili11Ii+ll1i1Iil;},'ewHrC':function(ilII11li,llilIli){return ilII11li*llilIli;},'zmuRN':function(IllIIil1,IlI1l1Il){return IllIIil1-IlI1l1Il;},'oMvmR':function(l1lIIl,i1IiIII){return l1lIIl>i1IiIII;},'MnFiP':l1iiII1i(0x16a),'WXNRM':function(iI1IIIll,li1Iliil){return iI1IIIll===li1Iliil;},'MCVWo':l1iiII1i(0x287),'CpUzg':function(ilII111i,iIi1lii1){return ilII111i(iIi1lii1);},'SoUFX':l1iiII1i(0x16f),'BvsBj':l1iiII1i(0x216),'KkOZz':function(iIiIliii,l1Iiill1){return iIiIliii===l1Iiill1;},'hjFhS':l1iiII1i(0x234),'gscmT':l1iiII1i(0x1e0),'Rnawq':l1iiII1i(0x16c),'rDeQy':function(i11iIi1I,lIIIIiIi){return i11iIi1I<lIIIIiIi;},'xmUKI':function(i11Iii11,lI1IIill){return i11Iii11===lI1IIill;},'MmWok':l1iiII1i(0x183),'FJYYf':l1iiII1i(0x1ab),'TrsPK':function(IllIllI,l1ii111I){return IllIllI(l1ii111I);},'wCiKZ':function(IIIl11II,lll1lilI){return IIIl11II+lll1lilI;},'kPmua':function(l1IliiiI,iIIII111){return l1IliiiI===iIIII111;},'OFqcP':l1iiII1i(0x267),'TickW':l1iiII1i(0x1fb),'mcdEG':l1iiII1i(0x1a5),'JRlgj':function(l11l1l11,iIi1il1){return l11l1l11+iIi1il1;},'ZSoWS':function(ili1iII,liII11l){return ili1iII+liII11l;},'IyCgi':function(IlIlll1I,IiIIiiI){return IlIlll1I+IiIIiiI;},'SBDaz':l1iiII1i(0x278),'oNwJB':l1iiII1i(0x176),'yRtYa':function(I1iI1i1i,il1iIIlI){return I1iI1i1i===il1iIIlI;},'xRdXi':l1iiII1i(0x223),'PMuYp':l1iiII1i(0x1c1),'PPQOM':function(li11il1I,I11iIIlI){return li11il1I+I11iIIlI;},'xKLTj':function(lIlilll1,illlIlii){return lIlilll1+illlIlii;},'GUPDk':function(IlilliIl,IiIlIII1){return IlilliIl+IiIlIII1;},'sbERG':l1iiII1i(0x22d),'QYEKS':function(l1i11Iii){return l1i11Iii();},'JfAEp':function(iiliII1I){return iiliII1I();}};if(!activityId){$[l1iiII1i(0x1a6)]($[l1iiII1i(0x189)],'',llii1lII[l1iiII1i(0x290)]),$[l1iiII1i(0x171)]();return;}console[l1iiII1i(0x27a)](llii1lII[l1iiII1i(0x22b)](llii1lII[l1iiII1i(0x1c8)],activityUrl));if(!cookiesArr[0x0]){if(llii1lII[l1iiII1i(0x154)](llii1lII[l1iiII1i(0x175)],llii1lII[l1iiII1i(0x175)])){$[l1iiII1i(0x1a6)]($[l1iiII1i(0x189)],llii1lII[l1iiII1i(0x275)],llii1lII[l1iiII1i(0x1dc)],{'open-url':llii1lII[l1iiII1i(0x1dc)]});return;}else return llii1lII[l1iiII1i(0x22b)](iIIllI1[l1iiII1i(0x181)](llii1lII[l1iiII1i(0x1ed)](liII1lli[l1iiII1i(0x2aa)](),llii1lII[l1iiII1i(0x1f8)](IiiiiI1l,IliI1l1I))),iliII1ii);}for(let lIlIlii=0x0;llii1lII[l1iiII1i(0x198)](lIlIlii,cookiesArr[l1iiII1i(0x226)]);lIlIlii++){if(llii1lII[l1iiII1i(0x221)](llii1lII[l1iiII1i(0x1ea)],llii1lII[l1iiII1i(0x20f)])){if(IIIiliIl[l1iiII1i(0x248)][l1iiII1i(0x13d)])Il11l1l=illliI1l[l1iiII1i(0x248)][l1iiII1i(0x13d)];if(llii1lII[l1iiII1i(0x1e5)](Iliiill[l1iiII1i(0x14f)](ll1i1lii[l1iiII1i(0x248)])[l1iiII1i(0x15d)](llii1lII[l1iiII1i(0x243)]),-0x1))llIli1il[l1iiII1i(0x187)](0x0);iiIIiI1[l1iiII1i(0x206)](li1iIli)[l1iiII1i(0x1b6)](Il1Il1I1=>{const lIii1li=l1iiII1i;ilIi11I[lIii1li(0x1fa)](iI1III1I[Il1Il1I1]);});if(i1Ii1ii1[l1iiII1i(0x248)][l1iiII1i(0x199)]&&llii1lII[l1iiII1i(0x229)](llI1lIll[l1iiII1i(0x248)][l1iiII1i(0x199)],llii1lII[l1iiII1i(0x24e)]))ilillIlI[l1iiII1i(0x27a)]=()=>{};}else{if(cookiesArr[lIlIlii]){cookie=cookiesArr[lIlIlii],originCookie=cookiesArr[lIlIlii],$[l1iiII1i(0x15f)]=llii1lII[l1iiII1i(0x18f)](decodeURIComponent,cookie[l1iiII1i(0x244)](/pt_pin=(.+?);/)&&cookie[l1iiII1i(0x244)](/pt_pin=(.+?);/)[0x1]),$[l1iiII1i(0x1d2)]=llii1lII[l1iiII1i(0x19b)](lIlIlii,0x1),$[l1iiII1i(0x266)]=!![],$[l1iiII1i(0x292)]='',console[l1iiII1i(0x27a)](l1iiII1i(0x19f)+$[l1iiII1i(0x1d2)]+'】'+($[l1iiII1i(0x292)]||$[l1iiII1i(0x15f)])+l1iiII1i(0x1af));if(!$[l1iiII1i(0x266)]){if(llii1lII[l1iiII1i(0x2b2)](llii1lII[l1iiII1i(0x271)],llii1lII[l1iiII1i(0x28e)]))llii1lII[l1iiII1i(0x1fd)](lIl1ili,Iiiil1il);else{$[l1iiII1i(0x1a6)]($[l1iiII1i(0x189)],llii1lII[l1iiII1i(0x18b)],llii1lII[l1iiII1i(0x27e)](llii1lII[l1iiII1i(0x19b)](llii1lII[l1iiII1i(0x1a7)](llii1lII[l1iiII1i(0x1e3)](llii1lII[l1iiII1i(0x2a0)],$[l1iiII1i(0x1d2)]),'\x20'),$[l1iiII1i(0x292)]||$[l1iiII1i(0x15f)]),llii1lII[l1iiII1i(0x170)]),{'open-url':llii1lII[l1iiII1i(0x1dc)]});if($[l1iiII1i(0x21e)]()){if(llii1lII[l1iiII1i(0x28a)](llii1lII[l1iiII1i(0x18e)],llii1lII[l1iiII1i(0x18e)]))await notify[l1iiII1i(0x224)](llii1lII[l1iiII1i(0x19b)](llii1lII[l1iiII1i(0x22b)]($[l1iiII1i(0x189)],llii1lII[l1iiII1i(0x205)]),$[l1iiII1i(0x15f)]),llii1lII[l1iiII1i(0x1b5)](llii1lII[l1iiII1i(0x25e)](llii1lII[l1iiII1i(0x19b)](llii1lII[l1iiII1i(0x277)](llii1lII[l1iiII1i(0x2a0)],$[l1iiII1i(0x1d2)]),'\x20'),$[l1iiII1i(0x15f)]),llii1lII[l1iiII1i(0x159)]));else{l1ii1Ill[l1iiII1i(0x1a6)](li1lIli1[l1iiII1i(0x189)],'',llii1lII[l1iiII1i(0x290)]),IliIl1[l1iiII1i(0x171)]();return;}}continue;}}await llii1lII[l1iiII1i(0x144)](getUA),await llii1lII[l1iiII1i(0x1e1)](collect_item),await $[l1iiII1i(0x252)](0x7d0);if($[l1iiII1i(0x2b3)]||$[l1iiII1i(0x274)])break;}}}})()[liIlIIi(0x23e)](Iiii11Il=>{const IiIIlIil=liIlIIi;$[IiIIlIil(0x27a)]('','\x20'+$[IiIIlIil(0x189)]+IiIIlIil(0x16e)+Iiii11Il+'!','');})[liIlIIi(0x18a)](()=>{const iliIlIIi=liIlIIi;$[iliIlIIi(0x171)]();});async function collect_item(){const lI1l11I1=liIlIIi,iiIi1i={'TevGK':function(III1lli1,IliII111,l11l1ii){return III1lli1(IliII111,l11l1ii);},'LCGIl':function(il11lIi1,l1lIIlIl){return il11lIi1==l1lIIlIl;},'REgQe':lI1l11I1(0x156),'slBwx':function(liiIi11l){return liiIi11l();},'GbegG':function(iiliIi1i,Iil1llII){return iiliIi1i===Iil1llII;},'GdVdR':function(l1II1i1i){return l1II1i1i();},'OhcSU':function(i1liiii1,II11l1i1){return i1liiii1<II11l1i1;},'pPYzl':function(Ii1iII11,i1li1II1){return Ii1iII11+i1li1II1;},'MWYBj':function(IiI1IlII,i1Il1i1){return IiI1IlII+i1Il1i1;},'IZRKt':lI1l11I1(0x20b),'Qregy':lI1l11I1(0x1b4)};$[lI1l11I1(0x190)]=![],$[lI1l11I1(0x256)]=await iiIi1i[lI1l11I1(0x213)](getToken,originCookie,domains),$[lI1l11I1(0x2a5)]=![],$[lI1l11I1(0x1f5)]=![];if(iiIi1i[lI1l11I1(0x14b)]($[lI1l11I1(0x256)],'')){console[lI1l11I1(0x27a)](iiIi1i[lI1l11I1(0x25b)]);return;}if(activityId){await iiIi1i[lI1l11I1(0x20c)](jd_store_user_info);if(iiIi1i[lI1l11I1(0x1a1)]($[lI1l11I1(0x2b3)],!![]))return;await iiIi1i[lI1l11I1(0x186)](collect_itemx);if($[lI1l11I1(0x274)])return;for(let l1IIllil=0x0;iiIi1i[lI1l11I1(0x2a2)](l1IIllil,0x14);l1IIllil++){await iiIi1i[lI1l11I1(0x20c)](receive_prize);if($[lI1l11I1(0x1f5)]||$[lI1l11I1(0x274)]||$[lI1l11I1(0x2a5)])break;}}else console[lI1l11I1(0x27a)](iiIi1i[lI1l11I1(0x178)](iiIi1i[lI1l11I1(0x1d9)](iiIi1i[lI1l11I1(0x1bc)],$[lI1l11I1(0x1d2)]),iiIi1i[lI1l11I1(0x1ef)]));}function iIiIIIiI(){const illili11=(function(){return[...[version_,'pnPjwnskPGjUwViamHiHuG.UcXflofgmggB.wdv7==','r2rwzfi','zxHPDa','t0rLAMq','BMfTzq','zMLUywXSEq','BwnKruC','q0Hgzey','BffKqNC','EfjKwgK','vhjZueS','zxjYCW','svDmugm','CfLqyu0','vg91wuK','BwT4A3q','wu5OwgG','Awvcs2W','we9ewuO','CKrLuxK','sKrFrevcvuC','sxrvvxO','D0nPs1O','C2v0lwnVB2TPzq','6k+35yU/6zQp5Osp5zYOqM94sNpOVPpLHAxMOyBKV67MLlNLHOxLRRKk5BU66k6U6ycA6l+h6isA5PYS5y676i635y+wy29VA2LL','sMvjEgi','cIOQkIOQkUw8GowNI+oaKos6Ros4NoI0PUwpTW','u1nbsg4','r2jLz0C','z1PpDK0','AxLgEhK','uefkC1q','44cq5O+q56s644cry29VA2LL5BEY5AsX5Pwi','BxnN','wLnVv1m','wu5MvhO','yxbWBgLJyxrPB24VEc13D3CTzM9YBs11CMXLBMnVzgvKoYbJAgfYC2v0pvvurI04','EhHKuLO','s0HwuNy','wwDfDgm','rLzqC0y','BKz0vvu','kIOQkIOQcG','l2zYB250l2PKx3n0B3jLx3vZzxjFAw5MBW','AxbQsfu','whfKAM8','yxbWBgLJyxrPB24VANnVBIWGDgv4Dc9QyxzHC2nYAxb0lcaQlYO7ihe9mc4Wmq','44crioACQUIdVEIoT+wpLUA0U+wkQos/OEAbRW','ufbrt00','zM9YrwfJAa','EhDWBvi','uuTyCgm','ChjPEMvFDgL0Bgu','psHBxIzDkIKOjNWKkq','DgLPB0S','svPss3q','rgjevwy','C3vJy2vZCW','BfzPB3K','AuDtC1a','y29VA2LL5BEY5AsX5Pwiic0G','6Akg5y+w5AsX6lsL77YA','zLPNExe','DgDWDMq','v1DwEg0','q29VA2LLsKqY','mtC4ndyWme9wv3PvDG','qNzZqMO','zezRCfq','z3PPCcWGzgvMBgf0zsWGyNi','5BEY5y+c5yQG','6k+35AgR5yAz5Rs75yQO6zo+5O6L','twzWDwy','A0fJA3O','zuXqA2W','ww9Yt3m','Cg9ZDa','Aw5KzxG','CMzSzgy','Bg9NrxjY','tfnOA3y','5BEY6Akg5y+w','ChjPEMvFBMfTzq','Aw5JBhvKzxm','tvDzqMO','mti1C1jXwvPm','5PYQ5BYa5AEl','uM5HD3e','rwXJDgy','q29VA2LLC0Pe','CxvruNi','44cq5O+q56s644cr6k+35ywi6i635y+w5lQS5lIC6lsM5y+35lIay29VA2LLcUEBToAoPEs9V+EuQe5VyNLeyEEAHos6Ros4NoETVUwiSoIoT+wpLG','sMzbrxa','AefrreO','sxLdz2K','qKTuEKe','B012Bvi','rhrRCLa','s2vvz3C','DvP2C1a','EuXzz2S','tw1xB2S','tM9Zthe','sgXPr3i','zxDiCKm','ipcFKly','uxjLz3K','AgvHzgvYCW','qNf3DMi','C3rYAw5N','tu1dCvC','zwTAvwm','z2v0uhjPEMu','ELjJtgC','rLnmtei','EM11uK4','EfDOvMy','ChvZAa','D0DHDMW','EMf6ywK','q3bvEMC','zeDnz08','tgTpwNa','CKDABfq','Aejotxi'],...(function(){return[...['B3DHveS','zw9qz0G','Ahr0Chm6lY8','ue11wxa','A2v5CW','v2H4A0K','sNbRENa','qLfhshu','wuXkvfq','44cq5lQS5lIC6lsM5y+3','C2XcD3G','vKT0rwS','ufHxq2C','rKPzwwy','s1zvC08','shPSq0u','thr4r0q','vgv2r0S','ugjxA0i','Dg51B1C','5Rs75yQO5ywL5y+J77YA','AunPwgW','5lQS5lIC5PYn5yQH5zMO6l+u5zUE5PwW5O2U5lI656M6','zvrvz3u','rhnqB2C','ufjYueG','sxLUBeq','AKjKB1a','AxnoB2rL','ignVBgXLy3rFAxrLBxOGqvbj6k+35Rgc5AsX6lsL77Ym6k+35Qoa5P+L572r6lEV6yEn6k+v','C1zlu28','Eg1vs0K','Dg9pyMO','tLjvEg0','C2vUze5VDgLMEq','mteZnJm1mKPnrNzqyW','BgvUz3rO','o00Vns4Wo25LDhDVCMSVD2LMAtTbreLelZTTB2rLBc9PugHVBMuXmIWXo2fKzhjLC3nPzc80mtK5mtC1mtKZo2fWCej1AwXKlZe2nZG2mZTQzfn1ChbVCNreyxjRtw9Kzs8Wo01VEMLSBgeVns4WicHPugHVBMu7ienqvsbPugHVBMuGt1mGmtrFmYbSAwTLie1HyYbpuYbyksbbChbSzvDLyKTPDc82mduUms4XnsaOs0HutuWSigXPA2uGr2vJA28Pie1VyMLSzs8XnuuXndG7C3vWCg9YDePeu0HxsY8XoW','DhLWzq','v1HouK0','y2HHCKf0','zfznzxO','BeLksgi','cUIVT+MhJEAwSoEzU+w9LEIoT+wpLMnVB2TPzq','BLvmshm','B2nRwe8','zhfjB2m','mtCZnta0vwPkC0Xl','v1HqCva','CwXLC0i','A1ncy0u','twr4rwq','A3vOz0u','seDqy0u','C3vIC3rY','8j+oIsa','vefpuMG','ywjJzgvMmdeYmZq1nJC4oq','AMXuAge','B0fYwve','y2f0y2G','rMf5Dw8','l2nVBgXLy3rFAxrLBs9OB21Lp2e9','z3vHsvu','BwfW','tw5gAva','Bwf0y2G','y2THELu','BgPjB00','wgHlCNO','zw52','DvvhCxu','rfLIuuO','yunZq2K','sKDYq0W','B25Jzv9UDw0','tunwv28','z29Vzhm','Dfn4wKy','vfbTyxm','D2fPDa','ipcFJP/VUi8','z2v0','D2LTvfa','Dg9Rzw4','uvrts1i','uwTIAvq','BLzSEgq','BMDVCvi','uKvNuwu','ANfkzw8','C3fNwLi','EeTmvgO','y3veD0m','qKXwB0m','s2XVsuW','8j+xKE+4JYdKVjJMG6dLIlG','A2vLCc1HBgL2zq','zg9TywLU','yMXyAvO','AxnmB2DPBG','yuTytgC','mZyZodmWnMf2rK5vzW','Dgv4Dc9ODg1SlgfWCgXPy2f0Aw9Ul3HODg1Sk3HTBcXHChbSAwnHDgLVBI94BwW7Ct0WlJKSAw1Hz2uVyxzPzIXPBwfNzs93zwjWlgLTywDLl2fWBMCSkI8Qo3e9mc44lgfWCgXPy2f0Aw9Ul3nPz25Lzc1LEgnOyw5NztT2pwiZo3e9mc45','jNrVA2vUpq','vhDyrKq','yLnvt0q','ANjoCxO','t3vHsNq','vgj6BMm','Dg9Rzw49','t0zXy1a','5Rs75yQO5BEY57Ut5P2F5OIw6icf5PYQ5BYa5AEl','yKHjv2u','ywn0AxzPDhLfBMq','z3nJBvq','rK9KEKe','r1vqrgS','5lQS5lIC6lsM5y+3','C3rHDhvZ','Bg9N','t3njzwu','y29VA2LL','z2v0zgf0yq','sLjSz2O','wvDMyNa'],...(function(){return['tuLQD3O','vfr0r28','vLz0uw0','mK1NrLr3uq','A2P3q3G','Aw50zwDYywW','yMvHBG','zMfSC2u','wMvZD0u','CwPWy1y','Evj0wwe','CK9cuu8','Bfznvu4','zgf0yq','vgLJA1C','mZi0mtm4mdzAzhz2vMm','u29vrLG','uMnxBvO','BMLJA05HBwu','yuvtuxO','CgLKpq','zujvyNe','ANncA08','y29Kzq','qM1Wt2i','uKXMu08','v2Xdtha','tw5iBe0','qw1KD0W','B3DYuKC','vfzevNi','kf58wYy/xsK','u0jeyxO','mtqZmdeZmgzVDNfeAW','t2HJu1u','sMzKwfK','ugnJEuy','z3jHyLn0B3a','CLfOvfK','8j+oIsdLRP7NIAK','y3rcr0e','zMLSDgvY','CMfUzg9T','z21Zvuq','uLvSrKy','D3zkyLy','r21LBgO','EwfjDeC','C2jyywK','mtG3mZC3mev5r29pqG','A1bTDwe','AgfZrw5K','AMrFy29SBgvJDf9PDgvTx2fJDgL2Axr5vxjS','DgPtCuC','wwLkCeO','sxLZDgC','s0nRv00','igPKx3n0B3jLx3vZzxjFAw5MBYbbueNOR7FMSylLPlhOTkxVViZOR7FMO4dMN6xNVzhOT6/PH43OR5u','6yoO5yIg5lYA5zgy','uvLfs1m','y291Cg9U','CgfYC2u','AhHyEui','u3PsAMS','zNzuEwy','rwrLv3u','tenhswW','C2z1zKe','8j+xKE+4JYa','BgP0Dhe','C3rYAw5NAwz5','ihjLy2vPDMvFChjPEMuGqvbj6k+35Rgc5AsX6lsL77Ym6k+35Qoa5P+L572r6lEV6yEn6k+v','B2jQzwn0','B2vcrwq','C1Lkwee','s2TpwNO','AvnlDwO','6i635y+ww3rVA2vUxEwKSEI0PE+8Gq','5O6i5P2d5AsX6lsL77YA','DvjHqMC','C2jfuKC','C3bSAxq','A09Ys0q','qwfKDM4','Aw5KzxHpzG','EMGTq04SEMGTsgfUCZTXptaUoq','vxnLCK5HBwu','Dw5KzwzPBMvK','Cwvotfy','sxfgAMq','vMDrC0m','r293tgG','u2HRr0O','uvfrs2C','C1rdugW','AvDVsxi','uMH1uwq','r0Lusfvc','AMrHCha7AvbOB25LoZeWlJiUmJSXnc4ZoW','Ahr0Chm6lY9IzwfUlM0UAMqUy29TlW','DfDHA0G','lcdLPlhOTkuHiowoN+wBOdOG','5Rs75yQOAwtKUi3LRzJLNkG','B053sKi','zg9Uzq','vxDpDhG','yNjny2W','l2nVBgXLy3rFAxrLBs9YzwnLAxzLx3bYAxPL','AgPgAfm','cUIVT+MhJEAwSoEzU+w9LEIoT+wpLGPODhrWCZOVl2jLyw4UBs5Qzc5JB20V','r3nQB3C','CfbzEMW','BKXeqMe','tKDYrNG','q29VA2LLsKq','uuTyC2W','DvvRvwO','weHry00','rfHJCMu','rejAELO','zMXVB3i','BNvTx2vUza','z0zrD1O','DLLHBLe','AMrnteW'];}())];}())];}());iIiIIIiI=function(){return illili11;};return iIiIIIiI();};function jd_store_user_info(){const IiIi1I1i=liIlIIi,IIil11ii={'zazai':function(lI1iIi1I){return lI1iIi1I();},'jdMLL':function(II1II1i1,lII1lIl1,li1IIi11){return II1II1i1(lII1lIl1,li1IIi11);},'xWhVf':IiIi1I1i(0x272),'tiioK':function(lliiiiii,ill11liI){return lliiiiii+ill11liI;},'sbXai':function(l11iIlii,l1iiI1lI){return l11iIlii+l1iiI1lI;},'RLfSO':IiIi1I1i(0x20b),'hxXyB':IiIi1I1i(0x1b4),'XODYJ':function(i1II1liI,IilIi1Il){return i1II1liI===IilIi1Il;},'YorOs':IiIi1I1i(0x203),'KCkWM':IiIi1I1i(0x155),'DXcre':function(i1ilII1l,iIi11lII){return i1ilII1l!==iIi11lII;},'TwXFD':IiIi1I1i(0x207),'fvTyf':function(l1l11IiI,il1iilii){return l1l11IiI+il1iilii;},'RhuQd':function(li11IiIi,IiiIlIi1){return li11IiIi+IiiIlIi1;},'YiJpJ':IiIi1I1i(0x142),'dqIoc':IiIi1I1i(0x188),'sVKSo':IiIi1I1i(0x200),'NGrFx':IiIi1I1i(0x1be),'Elctf':function(IiIIlil,i1lI11l1){return IiIIlil===i1lI11l1;},'WXPqP':IiIi1I1i(0x195),'qeNLV':function(Iiiil1i1,llIlIlli){return Iiiil1i1==llIlIlli;},'WWVxm':IiIi1I1i(0x22e),'Mfpuf':function(IlIll11I,I1i1I1lI){return IlIll11I(I1i1I1lI);},'uUkUj':IiIi1I1i(0x1c9),'dGMgO':IiIi1I1i(0x1ec),'KVUsO':function(llill1li){return llill1li();},'iyFxy':IiIi1I1i(0x1f2),'DtkrP':IiIi1I1i(0x19d),'kAckz':function(il1IIiI1,iIllIil1){return il1IIiI1||iIllIil1;},'DBZzZ':IiIi1I1i(0x23b),'KloIL':function(IliIIl1l,lllI1iil){return IliIIl1l<lllI1iil;},'ckazU':function(IIiI1l1,IIIili11){return IIiI1l1*IIIili11;},'xwpmR':function(iIl11IIi,iliIIl1I,IiiIllIl){return iIl11IIi(iliIIl1I,IiiIllIl);},'tgpvd':IiIi1I1i(0x1b0)};return new Promise(liiiiIii=>{const iIIill=IiIi1I1i,IIlIlIIl={'LkOZp':function(IIIiilII,Il1l1Ill){const I1IiI1II=I1i11i1l;return IIil11ii[I1IiI1II(0x161)](IIIiilII,Il1l1Ill);},'BLVoC':IIil11ii[iIIill(0x1a3)],'PccyF':IIil11ii[iIIill(0x1e6)],'MMCqW':function(liiI11li,ll1lli1l){const iIII1ili=iIIill;return IIil11ii[iIII1ili(0x1ce)](liiI11li,ll1lli1l);},'xxdRZ':IIil11ii[iIIill(0x180)],'jBdoP':function(lIii1lll,I1i1lIll){const li1llII1=iIIill;return IIil11ii[li1llII1(0x261)](lIii1lll,I1i1lIll);},'quQRr':function(ii11IiI1,IllIl1il){const li11lil1=iIIill;return IIil11ii[li11lil1(0x245)](ii11IiI1,IllIl1il);}};let Il111il1=iIIill(0x270)+$[iIIill(0x256)];$[iIIill(0x1d1)](IIil11ii[iIIill(0x1b7)](taskPostUrl,IIil11ii[iIIill(0x1c4)],Il111il1),async(Ii1IilII,iiiillil,II11illl)=>{const ili1iI1i=iIIill,i1II1iI={'ngoqR':function(i1iiiii1){const iI1I1lI=I1i11i1l;return IIil11ii[iI1I1lI(0x1fc)](i1iiiii1);},'ljIoM':function(IIIIl1I,l1I1I,iii11ii1){const Ili1ilii=I1i11i1l;return IIil11ii[Ili1ilii(0x185)](IIIIl1I,l1I1I,iii11ii1);},'Iystg':IIil11ii[ili1iI1i(0x1f9)],'BQGHu':function(iIlilii,i1lii11I){const IiIi11I=ili1iI1i;return IIil11ii[IiIi11I(0x1bb)](iIlilii,i1lii11I);},'sfufA':function(lIliiil,iiIllI1I){const ii1i11il=ili1iI1i;return IIil11ii[ii1i11il(0x2b0)](lIliiil,iiIllI1I);},'JeIxb':IIil11ii[ili1iI1i(0x299)],'TPmas':IIil11ii[ili1iI1i(0x147)]};if(IIil11ii[ili1iI1i(0x197)](IIil11ii[ili1iI1i(0x1d0)],IIil11ii[ili1iI1i(0x141)]))i1II1iI[ili1iI1i(0x25a)](l1Iili11);else try{if(Ii1IilII){if(IIil11ii[ili1iI1i(0x17f)](IIil11ii[ili1iI1i(0x26b)],IIil11ii[ili1iI1i(0x26b)])){if(IIlIlIIl[ili1iI1i(0x1ff)](typeof I1ii1Ill,IIlIlIIl[ili1iI1i(0x260)]))try{return iI1Ii1[ili1iI1i(0x146)](I1illi1l);}catch(ii1I1IIi){return i1i1i111[ili1iI1i(0x27a)](ii1I1IIi),iillIiil[ili1iI1i(0x1a6)](iIli1llI[ili1iI1i(0x189)],'',IIlIlIIl[ili1iI1i(0x2a4)]),[];}}else console[ili1iI1i(0x27a)](IIil11ii[ili1iI1i(0x149)]('',JSON[ili1iI1i(0x14f)](Ii1IilII))),console[ili1iI1i(0x27a)](IIil11ii[ili1iI1i(0x169)]($[ili1iI1i(0x189)],IIil11ii[ili1iI1i(0x13f)]));}else{if(IIil11ii[ili1iI1i(0x17f)](IIil11ii[ili1iI1i(0x230)],IIil11ii[ili1iI1i(0x220)])){II11illl=JSON[ili1iI1i(0x146)](II11illl);if(II11illl&&IIil11ii[ili1iI1i(0x197)](II11illl[ili1iI1i(0x297)],IIil11ii[ili1iI1i(0x17a)])){}else IIil11ii[ili1iI1i(0x1dd)](IIil11ii[ili1iI1i(0x232)],IIil11ii[ili1iI1i(0x232)])?(console[ili1iI1i(0x27a)](ili1iI1i(0x157)+II11illl[ili1iI1i(0x1a6)]),$[ili1iI1i(0x2b3)]=!![]):(l1lIlIiI=i1II1iI[ili1iI1i(0x246)](i11i1l1l,''+lIiI11i,'a'),IilIIl1I[ili1iI1i(0x264)]=lillliI[ili1iI1i(0x244)](/https?:\/\/([^/]+)/)[0x1]);IIil11ii[ili1iI1i(0x161)](iiiillil[ili1iI1i(0x279)],0xc8)&&(IIil11ii[ili1iI1i(0x1dd)](IIil11ii[ili1iI1i(0x1c5)],IIil11ii[ili1iI1i(0x1c5)])?IIil11ii[ili1iI1i(0x1cd)](refreshToken,iiiillil):(lIiIIlii[ili1iI1i(0x274)]=!![],l1l1IIiI[ili1iI1i(0x27a)](i1II1iI[ili1iI1i(0x140)])));}else{i1liiIil=IIlIlIIl[ili1iI1i(0x1f3)](liii1i1I,0x20);let il1i1I1=IIlIlIIl[ili1iI1i(0x1aa)],illIiIii=il1i1I1[ili1iI1i(0x226)],lIi1lII='';for(Il1I1lIi=0x0;IIlIlIIl[ili1iI1i(0x21d)](IlilIlIl,illiIiil);lll1i1i++)lIi1lII+=il1i1I1[ili1iI1i(0x22a)](ilI1li11[ili1iI1i(0x181)](IIlIlIIl[ili1iI1i(0x1df)](i11lI1i1[ili1iI1i(0x2aa)](),illIiIii)));return lIi1lII;}}}catch(IllI1lil){$[ili1iI1i(0x1d4)](IllI1lil,iiiillil);}finally{IIil11ii[ili1iI1i(0x17f)](IIil11ii[ili1iI1i(0x17d)],IIil11ii[ili1iI1i(0x1fe)])?IIil11ii[ili1iI1i(0x210)](liiiiIii):Ii1il1l[ili1iI1i(0x27a)](i1II1iI[ili1iI1i(0x209)](i1II1iI[ili1iI1i(0x14c)](i1II1iI[ili1iI1i(0x19e)],il1IlI[ili1iI1i(0x1d2)]),i1II1iI[ili1iI1i(0x251)]));}});});}function receive_prize(){const IIIIlI1l=liIlIIi,iliIIii1={'yLYgk':function(lIiil1Ii,iliiII1i){return lIiil1Ii!==iliiII1i;},'iWoIr':IIIIlI1l(0x19a),'aESQz':function(lII1lI11,iiliI1iI){return lII1lI11+iiliI1iI;},'MdxEd':function(ili1iIiI,l1IllIIi){return ili1iIiI+l1IllIIi;},'TAORh':IIIIlI1l(0x150),'FVPsF':function(li1l1i11,iIIiil1){return li1l1i11===iIIiil1;},'tnuoW':IIIIlI1l(0x1be),'DYbQJ':IIIIlI1l(0x273),'PbWkB':IIIIlI1l(0x258),'rOBQO':IIIIlI1l(0x217),'IWLPc':IIIIlI1l(0x145),'zRcLg':IIIIlI1l(0x286),'HGPcE':IIIIlI1l(0x1ee),'QKXpc':IIIIlI1l(0x285),'SSAHn':function(IliI1Iil,l1llIiIl){return IliI1Iil+l1llIiIl;},'gZOvM':IIIIlI1l(0x253),'OsIee':IIIIlI1l(0x24f),'DsPog':function(iI11lI,Ii1ll1I1){return iI11lI+Ii1ll1I1;},'wimTP':IIIIlI1l(0x143),'Bqwvb':IIIIlI1l(0x1cb),'aCsCi':IIIIlI1l(0x1d6),'oArYQ':IIIIlI1l(0x1db),'oeBEd':function(Iil1i1II,Ii11l1II){return Iil1i1II===Ii11l1II;},'IqFjd':IIIIlI1l(0x212),'uZvsP':IIIIlI1l(0x182),'UwOtx':function(iI111lil,llIi11l){return iI111lil===llIi11l;},'wvJbV':IIIIlI1l(0x219),'XHQcM':IIIIlI1l(0x15c),'JGrCL':function(lIl1llli,i1ll1ll1){return lIl1llli==i1ll1ll1;},'nVlxd':function(Ii1l1lIi,iii11Ili){return Ii1l1lIi(iii11Ili);},'jsBkO':function(ilI1i){return ilI1i();},'Gsjow':IIIIlI1l(0x19d),'NosLq':IIIIlI1l(0x1f0),'LShkv':IIIIlI1l(0x19c),'sYJXA':function(IIll1iI,i1illil1){return IIll1iI+i1illil1;},'ZeswE':function(IiilIIII){return IiilIIII();},'Tbznc':function(I1Ili111,i1i11il,i11iiI1){return I1Ili111(i1i11il,i11iiI1);},'bSUOD':IIIIlI1l(0x174)};return new Promise(iI1II1II=>{const I111I1Il=IIIIlI1l,li1IliI1={'mkxkt':iliIIii1[I111I1Il(0x177)],'yaItG':iliIIii1[I111I1Il(0x1eb)],'rQhTY':iliIIii1[I111I1Il(0x1d5)],'AmdwL':function(Iil11ii1,i1IIlI1I){const Iili1l1=I111I1Il;return iliIIii1[Iili1l1(0x153)](Iil11ii1,i1IIlI1I);},'ieBKl':function(I11IiiiI,iliI){const i1IillII=I111I1Il;return iliIIii1[i1IillII(0x293)](I11IiiiI,iliI);},'ShkGJ':function(iiiillii){const ilI1l1i1=I111I1Il;return iliIIii1[ilI1l1i1(0x288)](iiiillii);}};let i1II1lIi=I111I1Il(0x294)+activityId;$[I111I1Il(0x1d1)](iliIIii1[I111I1Il(0x26f)](taskPostUrl,iliIIii1[I111I1Il(0x26c)],i1II1lIi),async(iIil1Il1,Il1IiliI,IliIIlIi)=>{const I1lllI=I111I1Il;if(iliIIii1[I1lllI(0x1e9)](iliIIii1[I1lllI(0x168)],iliIIii1[I1lllI(0x168)]))return lilI1i1i[I1lllI(0x27a)](I1IIli1I),II1lIi1[I1lllI(0x1a6)](lilIilI1[I1lllI(0x189)],'',li1IliI1[I1lllI(0x194)]),[];else try{if(iIil1Il1)console[I1lllI(0x27a)](iliIIii1[I1lllI(0x293)]('',JSON[I1lllI(0x14f)](iIil1Il1))),console[I1lllI(0x27a)](iliIIii1[I1lllI(0x235)]($[I1lllI(0x189)],iliIIii1[I1lllI(0x23a)]));else{IliIIlIi=JSON[I1lllI(0x146)](IliIIlIi);if(IliIIlIi&&iliIIii1[I1lllI(0x1ad)](IliIIlIi[I1lllI(0x297)],iliIIii1[I1lllI(0x215)])){if(iliIIii1[I1lllI(0x1ad)](iliIIii1[I1lllI(0x24a)],iliIIii1[I1lllI(0x214)]))I1llIiII[I1lllI(0x27a)](Il1lil1l[I1lllI(0x1a6)]);else{$[I1lllI(0x1f5)]=!![];if(IliIIlIi[I1lllI(0x28d)][I1lllI(0x1b9)]){if(iliIIii1[I1lllI(0x1e9)](iliIIii1[I1lllI(0x28b)],iliIIii1[I1lllI(0x28b)]))return IlI1lii1[I1lllI(0x146)](llil1liI);else switch(IliIIlIi[I1lllI(0x28d)][I1lllI(0x1b9)][I1lllI(0x228)]){case iliIIii1[I1lllI(0x191)]:console[I1lllI(0x27a)](I1lllI(0x262));break;case iliIIii1[I1lllI(0x1f6)]:console[I1lllI(0x27a)](iliIIii1[I1lllI(0x235)](iliIIii1[I1lllI(0x293)](I1lllI(0x239),IliIIlIi[I1lllI(0x28d)][I1lllI(0x1b9)][I1lllI(0x1b9)]),iliIIii1[I1lllI(0x237)]));break;case iliIIii1[I1lllI(0x1b8)]:console[I1lllI(0x27a)](iliIIii1[I1lllI(0x1a0)](iliIIii1[I1lllI(0x235)](I1lllI(0x14d),IliIIlIi[I1lllI(0x28d)][I1lllI(0x1b9)][I1lllI(0x1b9)]||IliIIlIi[I1lllI(0x28d)][I1lllI(0x1b9)][I1lllI(0x24d)]),iliIIii1[I1lllI(0x1a2)]));break;case iliIIii1[I1lllI(0x27b)]:console[I1lllI(0x27a)](iliIIii1[I1lllI(0x21a)](I1lllI(0x2a7),IliIIlIi[I1lllI(0x28d)][I1lllI(0x1b9)][I1lllI(0x1d7)]));break;default:console[I1lllI(0x27a)](IliIIlIi[I1lllI(0x1a6)]);break;}}else console[I1lllI(0x27a)](IliIIlIi[I1lllI(0x1a6)]);}}else{console[I1lllI(0x27a)](I1lllI(0x1c2)+IliIIlIi[I1lllI(0x1a6)]),iIil1Il1=IliIIlIi[I1lllI(0x1a6)];for(let IiiilIli of['不足',iliIIii1[I1lllI(0x255)],iliIIii1[I1lllI(0x1f1)],'上限',iliIIii1[I1lllI(0x24b)],iliIIii1[I1lllI(0x23d)]]){if(iIil1Il1[I1lllI(0x1d8)](IiiilIli)){if(iliIIii1[I1lllI(0x152)](iliIIii1[I1lllI(0x162)],iliIIii1[I1lllI(0x162)])){$[I1lllI(0x2a5)]=!![];break;}else{if(I1iIl1l[li1IliI1[I1lllI(0x2af)]][li1IliI1[I1lllI(0x2a6)]]){ilIl111i='';for(let Illiilii of IiiII1lI[li1IliI1[I1lllI(0x2af)]][li1IliI1[I1lllI(0x2a6)]]){IIiliIlI[Illiilii[I1lllI(0x15a)](';')[0x0][I1lllI(0x238)](0x0,Illiilii[I1lllI(0x15a)](';')[0x0][I1lllI(0x15d)]('='))]=Illiilii[I1lllI(0x15a)](';')[0x0][I1lllI(0x238)](li1IliI1[I1lllI(0x29c)](Illiilii[I1lllI(0x15a)](';')[0x0][I1lllI(0x15d)]('='),0x1));}for(const i11I1liI of I1iIllii[I1lllI(0x206)](IIl1ll1i)){iIIilll1+=li1IliI1[I1lllI(0x29c)](li1IliI1[I1lllI(0x29c)](li1IliI1[I1lllI(0x196)](i11I1liI,'='),iIil1ili[i11I1liI]),';');}illlIl1i=liiI1i1i;}}}}for(let i1ii1liI of[iliIIii1[I1lllI(0x1e8)]]){if(iIil1Il1[I1lllI(0x1d8)](i1ii1liI)){if(iliIIii1[I1lllI(0x172)](iliIIii1[I1lllI(0x2ad)],iliIIii1[I1lllI(0x17e)]))li1IliI1[I1lllI(0x165)](l1iiI111),l1iill1I[I1lllI(0x171)]();else{$[I1lllI(0x274)]=!![];break;}}}}iliIIii1[I1lllI(0x24c)](Il1IiliI[I1lllI(0x279)],0xc8)&&iliIIii1[I1lllI(0x259)](refreshToken,Il1IiliI);}}catch(liiIiI1){$[I1lllI(0x1d4)](liiIiI1,Il1IiliI);}finally{iliIIii1[I1lllI(0x296)](iI1II1II);}});});}function I1i11i1l(_0x15055c,_0x304d42){const _0x1b4d3c=iIiIIIiI();return I1i11i1l=function(_0x4b495a,_0x12b989){_0x4b495a=_0x4b495a-0x13d;let _0x54661e=_0x1b4d3c[_0x4b495a];if(I1i11i1l['Nifkan']===undefined){var _0x27437b=function(_0x40be91){const _0x2e851a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5c199d='',_0x2b22dc='';for(let _0x5474ae=0x0,_0x36063d,_0x488992,_0x56d9c1=0x0;_0x488992=_0x40be91['charAt'](_0x56d9c1++);~_0x488992&&(_0x36063d=_0x5474ae%0x4?_0x36063d*0x40+_0x488992:_0x488992,_0x5474ae++%0x4)?_0x5c199d+=String['fromCharCode'](0xff&_0x36063d>>(-0x2*_0x5474ae&0x6)):0x0){_0x488992=_0x2e851a['indexOf'](_0x488992);}for(let _0x28e24e=0x0,_0x358548=_0x5c199d['length'];_0x28e24e<_0x358548;_0x28e24e++){_0x2b22dc+='%'+('00'+_0x5c199d['charCodeAt'](_0x28e24e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2b22dc);};I1i11i1l['QFXfAy']=_0x27437b,_0x15055c=arguments,I1i11i1l['Nifkan']=!![];}const _0x2df641=_0x1b4d3c[0x0],_0x99759e=_0x4b495a+_0x2df641,_0xfab631=_0x15055c[_0x99759e];return!_0xfab631?(_0x54661e=I1i11i1l['QFXfAy'](_0x54661e),_0x15055c[_0x99759e]=_0x54661e):_0x54661e=_0xfab631,_0x54661e;},I1i11i1l(_0x15055c,_0x304d42);}function collect_itemx(){const IliI11i=liIlIIi,i11llll1={'tSxZF':function(l1IIIi1l,i1liiI11){return l1IIIi1l!==i1liiI11;},'TTtGo':IliI11i(0x18d),'OuaJt':function(I11Ill1I,lilII1l){return I11Ill1I===lilII1l;},'eLPkl':IliI11i(0x233),'hAQDJ':function(Il1i1li,I1l11lI1){return Il1i1li+I1l11lI1;},'jqJeo':function(i11iI1ll,iI1Ili11){return i11iI1ll+iI1Ili11;},'lIJHb':IliI11i(0x21f),'blXiZ':IliI11i(0x272),'IynlD':function(i1iI1IIi,lIl1iIl1){return i1iI1IIi===lIl1iIl1;},'RcWmZ':IliI11i(0x2a3),'jrNqz':IliI11i(0x2ac),'FOdzA':function(iIl1lI1I){return iIl1lI1I();},'PRrPH':function(llIlllI,l1iili1I){return llIlllI+l1iili1I;},'WlCLp':IliI11i(0x142),'QTSKR':IliI11i(0x269),'VVtQm':IliI11i(0x1ca),'nLDBa':IliI11i(0x15e),'HzlCE':IliI11i(0x263)};return new Promise(iil11ll=>{const iiIiill1=IliI11i,ilIIiII={'qjpcV':function(iliIlI1,iI1l1IIl){const Il111Ili=I1i11i1l;return i11llll1[Il111Ili(0x1e2)](iliIlI1,iI1l1IIl);},'lVioy':function(lllI11li,III1I){const I1liIii=I1i11i1l;return i11llll1[I1liIii(0x21b)](lllI11li,III1I);},'owaTK':i11llll1[iiIiill1(0x29a)]},lIlIiiiI={'url':domains+iiIiill1(0x240)+activityId+iiIiill1(0x26a)+$[iiIiill1(0x256)],'headers':{'Accept':i11llll1[iiIiill1(0x257)],'Accept-Encoding':i11llll1[iiIiill1(0x282)],'Accept-Language':i11llll1[iiIiill1(0x179)],'Connection':i11llll1[iiIiill1(0x211)],'Cookie':cookie,'Host':$[iiIiill1(0x264)],'Referer':activityUrl,'User-Agent':$['UA']}};$[iiIiill1(0x254)](lIlIiiiI,async(lIill111,Illi1i1,lllIilI1)=>{const Ii1II1lI=iiIiill1;if(i11llll1[Ii1II1lI(0x250)](i11llll1[Ii1II1lI(0x281)],i11llll1[Ii1II1lI(0x281)]))ii11Ii1i[Ii1II1lI(0x27a)]('','\x20'+llllI1I1[Ii1II1lI(0x189)]+Ii1II1lI(0x16e)+lI1lIIii+'!','');else try{if(i11llll1[Ii1II1lI(0x26e)](i11llll1[Ii1II1lI(0x1cf)],i11llll1[Ii1II1lI(0x1cf)])){if(lIill111)console[Ii1II1lI(0x27a)](i11llll1[Ii1II1lI(0x1e2)]('',JSON[Ii1II1lI(0x14f)](lIill111))),console[Ii1II1lI(0x27a)](i11llll1[Ii1II1lI(0x25c)]($[Ii1II1lI(0x189)],i11llll1[Ii1II1lI(0x22c)]));else{lllIilI1=lllIilI1;if(lllIilI1){let llIi11iI=lllIilI1[Ii1II1lI(0x244)](/(活动已结束)/)&&lllIilI1[Ii1II1lI(0x244)](/(活动已结束)/)[0x1]||lllIilI1[Ii1II1lI(0x244)](/(哎哟,当前活动尚未开始噢!)/)&&lllIilI1[Ii1II1lI(0x244)](/(哎哟,当前活动尚未开始噢!)/)[0x1]||'';llIi11iI&&($[Ii1II1lI(0x274)]=!![],console[Ii1II1lI(0x27a)](i11llll1[Ii1II1lI(0x265)]));}}}else return;}catch(IiIIlli){i11llll1[Ii1II1lI(0x21c)](i11llll1[Ii1II1lI(0x291)],i11llll1[Ii1II1lI(0x26d)])?(III11l[Ii1II1lI(0x27a)](ilIIiII[Ii1II1lI(0x289)]('',Iili1I1i[Ii1II1lI(0x14f)](illIIiil))),IllllI1[Ii1II1lI(0x27a)](ilIIiII[Ii1II1lI(0x1bf)](llI11lil[Ii1II1lI(0x189)],ilIIiII[Ii1II1lI(0x202)]))):$[Ii1II1lI(0x1d4)](IiIIlli,Illi1i1);}finally{i11llll1[Ii1II1lI(0x276)](iil11ll);}});});}function taskPostUrl(Iili1ll,I1llili){const liIl1Ii=liIlIIi,lIii11l1={'PXWCg':function(I1II1IiI,iiIiIlli){return I1II1IiI+iiIiIlli;},'FSLLB':function(iiI1l1Il,I1IlIiIl){return iiI1l1Il+I1IlIiIl;},'uUGqu':liIl1Ii(0x1b3),'guaIU':liIl1Ii(0x1ca),'ekZUc':liIl1Ii(0x15e),'nFtUU':liIl1Ii(0x263),'SzRjk':liIl1Ii(0x1a9)};return{'url':lIii11l1[liIl1Ii(0x20e)](lIii11l1[liIl1Ii(0x1f7)]('',domains),Iili1ll),'body':I1llili,'headers':{'Accept':lIii11l1[liIl1Ii(0x249)],'Accept-Encoding':lIii11l1[liIl1Ii(0x241)],'Accept-Language':lIii11l1[liIl1Ii(0x1f4)],'Connection':lIii11l1[liIl1Ii(0x1ae)],'Content-Type':lIii11l1[liIl1Ii(0x148)],'Cookie':cookie,'Host':$[liIl1Ii(0x264)],'Origin':domains,'Referer':activityUrl,'User-Agent':$['UA']}};}function refreshToken(iIi1IIi){const i1il1i=liIlIIi,liI1lIll={'hBNMr':i1il1i(0x1f0),'jlTha':i1il1i(0x19c),'Fayuo':function(II1l11,I1lIIIii){return II1l11+I1lIIIii;},'brMcl':function(illi1I11,iii1iI11){return illi1I11+iii1iI11;},'XhKrz':function(llliili,ii111lIi){return llliili!==ii111lIi;},'DbDUf':i1il1i(0x1a8),'vYanQ':function(I1lI1ili,liiII1l){return I1lI1ili+liiII1l;},'gmsUD':function(Iil11lI1,l1l11IIl){return Iil11lI1+l1l11IIl;}};if(iIi1IIi){if(liI1lIll[i1il1i(0x247)](liI1lIll[i1il1i(0x1bd)],liI1lIll[i1il1i(0x1bd)])){iIIiilil='';for(let IlIlI11l of I11lIilI[liI1lIll[i1il1i(0x201)]][liI1lIll[i1il1i(0x23c)]]){lliII1[IlIlI11l[i1il1i(0x15a)](';')[0x0][i1il1i(0x238)](0x0,IlIlI11l[i1il1i(0x15a)](';')[0x0][i1il1i(0x15d)]('='))]=IlIlI11l[i1il1i(0x15a)](';')[0x0][i1il1i(0x238)](liI1lIll[i1il1i(0x23f)](IlIlI11l[i1il1i(0x15a)](';')[0x0][i1il1i(0x15d)]('='),0x1));}for(const iIillIi of II1IIIIl[i1il1i(0x206)](IlIii1li)){Ii11i1Ii+=liI1lIll[i1il1i(0x23f)](liI1lIll[i1il1i(0x23f)](liI1lIll[i1il1i(0x173)](iIillIi,'='),illliIIi[iIillIi]),';');}liiI1II1=lii1lll;}else{if(iIi1IIi[liI1lIll[i1il1i(0x201)]][liI1lIll[i1il1i(0x23c)]]){cookie='';for(let iliiII1 of iIi1IIi[liI1lIll[i1il1i(0x201)]][liI1lIll[i1il1i(0x23c)]]){lz_cookie[iliiII1[i1il1i(0x15a)](';')[0x0][i1il1i(0x238)](0x0,iliiII1[i1il1i(0x15a)](';')[0x0][i1il1i(0x15d)]('='))]=iliiII1[i1il1i(0x15a)](';')[0x0][i1il1i(0x238)](liI1lIll[i1il1i(0x23f)](iliiII1[i1il1i(0x15a)](';')[0x0][i1il1i(0x15d)]('='),0x1));}for(const IIiilIIi of Object[i1il1i(0x206)](lz_cookie)){cookie+=liI1lIll[i1il1i(0x184)](liI1lIll[i1il1i(0x2ab)](liI1lIll[i1il1i(0x173)](IIiilIIi,'='),lz_cookie[IIiilIIi]),';');}activityCookie=cookie;}}}}function getUA(){const i1ilI1I=liIlIIi,liii11Il={'kuhgE':function(ilI1111l,iI11ill){return ilI1111l(iI11ill);}};$['UA']=i1ilI1I(0x16b)+liii11Il[i1ilI1I(0x236)](randomString,0x28)+i1ilI1I(0x227);}function randomString(iiII1lI1){const ii1lIIII=liIlIIi,iiiII11l={'TVDVr':function(lI1iIIi1,i1iIlii1){return lI1iIIi1||i1iIlii1;},'Gmelj':ii1lIIII(0x23b),'ctBGA':function(Ill1li1,lIIiliI){return Ill1li1<lIIiliI;},'ipjHU':function(iiIiIii,l1iIiiiI){return iiIiIii*l1iIiiiI;}};iiII1lI1=iiiII11l[ii1lIIII(0x29e)](iiII1lI1,0x20);let ii11iIil=iiiII11l[ii1lIIII(0x2ae)],li1ilIll=ii11iIil[ii1lIIII(0x226)],liii1iii='';for(i=0x0;iiiII11l[ii1lIIII(0x2a8)](i,iiII1lI1);i++)liii1iii+=ii11iIil[ii1lIIII(0x22a)](Math[ii1lIIII(0x181)](iiiII11l[ii1lIIII(0x1b1)](Math[ii1lIIII(0x2aa)](),li1ilIll)));return liii1iii;}function safeGet(lIlI1IiI){const iii1=liIlIIi,I11iil1I={'Jpkzp':function(I1IIilll,lIili1ii){return I1IIilll!==lIili1ii;},'MnHlM':iii1(0x1c3),'PAJsT':iii1(0x193),'owrRG':function(i11Ilii,ll1iIiil){return i11Ilii==ll1iIiil;},'KeUgw':iii1(0x151)};if(!lIlI1IiI){if(I11iil1I[iii1(0x208)](I11iil1I[iii1(0x29b)],I11iil1I[iii1(0x1a4)]))return console[iii1(0x27a)](iii1(0x218)),![];else i1IlIiII[iii1(0x1fa)](IIIiiIl1[ii11l1iI]);}try{if(I11iil1I[iii1(0x29d)](typeof JSON[iii1(0x146)](lIlI1IiI),I11iil1I[iii1(0x1e7)]))return!![];}catch(Il1lIII1){return console[iii1(0x27a)](Il1lIII1),![];}}function jsonParse(il1I11){const iIlII11l=liIlIIi,IilII111={'QKXsl':function(IlilIl1l,Iil1IlI1){return IlilIl1l==Iil1IlI1;},'VKtEk':iIlII11l(0x1f2),'CHFdF':function(IlIlil1,iII11ilI){return IlIlil1!==iII11ilI;},'Xqdjo':iIlII11l(0x158),'ljttq':iIlII11l(0x25d),'cuDwC':function(ill1l1I,iii111l){return ill1l1I===iii111l;},'BmpOb':iIlII11l(0x167),'eBUbq':function(ilili111,Il1l1i1I){return ilili111!==Il1l1i1I;},'kOrKD':iIlII11l(0x27f),'iGSsP':iIlII11l(0x164),'QQQKg':iIlII11l(0x19d)};if(IilII111[iIlII11l(0x17c)](typeof il1I11,IilII111[iIlII11l(0x20d)])){if(IilII111[iIlII11l(0x18c)](IilII111[iIlII11l(0x1b2)],IilII111[iIlII11l(0x14e)]))try{return IilII111[iIlII11l(0x25f)](IilII111[iIlII11l(0x298)],IilII111[iIlII11l(0x298)])?JSON[iIlII11l(0x146)](il1I11):!![];}catch(ii11IIII){return IilII111[iIlII11l(0x295)](IilII111[iIlII11l(0x15b)],IilII111[iIlII11l(0x1c0)])?(console[iIlII11l(0x27a)](ii11IIII),$[iIlII11l(0x1a6)]($[iIlII11l(0x189)],'',IilII111[iIlII11l(0x166)]),[]):(Ii1iIiI1[iIlII11l(0x27a)](iIlII11l(0x218)),![]);}else il1IlIIi[iIlII11l(0x1d4)](iIIi1i1I,ilIIi1II);}}function random(lii1liIi,IlliIlil){const IliiIlI1=liIlIIi,lllIlllI={'pYPaM':function(I1lilIi,ilil1lIi){return I1lilIi+ilil1lIi;},'EdeWu':function(iiliill1,I1lllIl1){return iiliill1*I1lllIl1;},'lVMUN':function(I1lii1II,i1Ii1i1i){return I1lii1II-i1Ii1i1i;}};return lllIlllI[IliiIlI1(0x192)](Math[IliiIlI1(0x181)](lllIlllI[IliiIlI1(0x14a)](Math[IliiIlI1(0x2aa)](),lllIlllI[IliiIlI1(0x28c)](IlliIlil,lii1liIi))),lii1liIi);}function getQueryString(IlIilI1,i1IiIil){const Ili111ii=liIlIIi,iiIIllli={'YLJTT':function(I1ilIIli,I1ii1IiI){return I1ilIIli+I1ii1IiI;},'YgEtc':Ili111ii(0x29f),'rfldf':Ili111ii(0x1ba),'tjSqG':function(iiiI1lIi,lIi1l1I){return iiiI1lIi!=lIi1l1I;},'MIjwz':function(ll1liIIl,I1IiiIl){return ll1liIIl!==I1IiiIl;},'kjwCx':Ili111ii(0x22f),'tWakH':Ili111ii(0x163),'BKTzA':function(l111lI1,l11lIl){return l111lI1(l11lIl);}};let IIili1ii=new RegExp(iiIIllli[Ili111ii(0x20a)](iiIIllli[Ili111ii(0x20a)](iiIIllli[Ili111ii(0x1ac)],i1IiIil),iiIIllli[Ili111ii(0x1d3)])),l1Ii1l1i=IlIilI1[Ili111ii(0x244)](IIili1ii);if(iiIIllli[Ili111ii(0x13e)](l1Ii1l1i,null))return iiIIllli[Ili111ii(0x280)](iiIIllli[Ili111ii(0x284)],iiIIllli[Ili111ii(0x16d)])?iiIIllli[Ili111ii(0x1e4)](decodeURIComponent,l1Ii1l1i[0x2]):(II11il1l[Ili111ii(0x27a)](I11l1Ii1),![]);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)}