mirror of
https://github.com/shufflewzc/faker3.git
synced 2024-11-14 07:29:18 +08:00
20 lines
62 KiB
JavaScript
20 lines
62 KiB
JavaScript
/*
|
||
活动名称:批量店铺签到(活动查询)
|
||
活动链接:https://h5.m.jd.com/babelDiy/Zeus/2PAAf74aG3D61qvfKUM5dxUssJQ9/index.html?token=<token>
|
||
环境变量:jd_dpqd_tokens // 活动令牌,多个用英文逗号分割
|
||
|
||
查询活动信息主脚本,IP限制严重建议使用代理,请勿频繁运行
|
||
自动去重并过滤无效活动,默认过滤垃圾奖品活动
|
||
运行后会在本地目录生成缓存文件以用于签到脚本使用
|
||
|
||
7 7 7 7 *
|
||
|
||
*/
|
||
|
||
const $ = new Env('批量店铺签到(活动查询)')
|
||
|
||
function aHafWFe(){}var vZhWuI=Object['defineProperty'],LIcgch9,jrSlwSx,qwPUBOI,Pq9APAh,gT4q8J,q2mvSww,ZJEZdTt,R6WGAua,vX5HJE,rhG4k8q,cx0AY8a,fbvXbW,NraehN,aX_qiks,ZwsHyiC;function AU5cOR(aHafWFe){return LIcgch9[aHafWFe<0x93?aHafWFe-0x2d:aHafWFe-0x4]}LIcgch9=Or_eke();function jhr3fmb(aHafWFe,vZhWuI){jrSlwSx(aHafWFe,AU5cOR(0x32),{value:vZhWuI,configurable:AU5cOR(0x5c)});return aHafWFe}jrSlwSx=Object.defineProperty;var xywSJv=[],uXeLpc=['b?!+3Wk@o','?NsYn$)d','1v9:Sk~d','~EIP7_kAkD1.Rh','0E(CB','#q=;MX!+','rqM`','Be^YyyhNHTpm+/','+,D_t','fq2HjE5G','T[<d#~DE8J:','<06=9','jP=KZ','4u|}3(Mc','1dWVh','T?<UM','YJnV','w&g561.v0~H>GkUwvy','z`PO1(q','w&g561Cc','m;f?"Uwc','C;*lM*q','*:eOz','0WgOo05c','^^rNo}=c','omk}k}q','jPH}n2q','g^?Npf`c','JM_O|tyl#','Z^_Oz','4u|}3(Mc','JM=KOD`c',AU5cOR(0x2d),'[eV"I2,^8<GWx}g?tXxR<Cr)OU:xU:n(i^{bacJGeDWW!7ra[upR=2_6j<iAIxs?Z(7j}S}c',AU5cOR(0x2d),'{u_OrYq','cz*geSxM`O3','T?<Uae.f9','n[IVA($<M5WeMoh~w&?Ds3Xrv7O=SQ%vCD~QzDE_N5D,W"Fg1T%t%84gkl!t4w.h+d25Vkn_KoTfhBewuu?xv2Le%_','8Mvp=0q','6hO9fNYyZ"[WNc','r@wQlRyyP','YJ,x"UK_#','QJ/5ljssM|','NuBVh','tt}*=r_','yADH','"xy*ic_',AU5cOR(0x2f),'04XKux&c','EdRJ+I[$nuepl','=[!l((C!,]a','7x~K%[by]','x?Ks|tUv9','skPO"(q',')M]K,D>s%_','lO3H#1uyw<','{u/O2iAlebb2l~Dwh^P','"xIJjk[$E4g2l','PARJ2L8C','6LvKw<xy','KP.d','W6vKh','0ppJKW$C','9+O&I2)S8<>NBxq>dsU"<Cmn}/qlY{e(6~%','`K/Oz*Uvp>?2MQZEvy','!t{dA[8yk@||;>g`a)eJu3@<tj','Mp+Vn12l','O`IKw[bC','V!/J+','kD~pGNtUF#A:wywz_nTK','4u*OItq','1:z?pDm!M|o','wMk}s3N(S|','Y1`J+','!TsV>1EC','gZ`.N)g]','z(@o/ckN9vyy','QJ/OEfy_S|00&Z7g3NhV%UPz#','<JyYz0by]','x_yl]B2]',AU5cOR(0x2e),'IbFz/o*:/hHyqy1','mkBVM','*PA3m','1:z?pDq','TuNBH?[c','>[IK','PA0rn2xC','4xw*y1_','y6fK','Ie@?f','um=s2qCtXyK3l]#','Mp+Vn1_','nt+V>','p^z?Z','n^YV','mkBVM','fT,H!','VUX3z&}$kg72l','.=_zT%k*yJkYl(%W^9c_',AU5cOR(0x2e),'mkBVM','{uIV','04XKuxzeeA','*PA3m','y6lV,D?c','~"=$d2xj/<j*)If[7ekT{n4OwvP/2s_','i:ZOe=wc','*:0N"(q','r:vKODQy','*R@th<wc','=[:Od}j!yLk','2_W+@De=pJjgO>{ojER[7pMP','2_#f`DE|p<QRPGSa8(?B','`K/Oz*Uvp>P:y',AU5cOR(0x30),'mkBVM',AU5cOR(0x2f),'p^z?Z',AU5cOR(0x2d),'M^sNz',AU5cOR(0x31),'nW$x)','F3$xbd|?m&&b?~%Zr(W','.f2#','g^5K','MAnx+!Q)_vJbC','<(2#','=[:Od}j!yLk','QJ*O|tUv`T72y','{u/O2iAlebb2l~Dwh^P','2Hpl+','g^5K','vuk}=H8s9','sk_Oa}{c','}"n#','#`gO=0q','eW#tq8q','{k|}}(]rw]P:y','QJ/OEf&c','O[jeZDwc','Nu!}&(Mc','I`th>Xwc','/|*5P`~c','?M*O1(kc','AJ)tZ','#`gOT0q','QJ/OEfxhn_7!X*:JN^8}9UP(9','z^sNs','^^rNo}q',AU5cOR(0x30),'pu]KmD`c','"kN6','*@sQ_Jq','{uIV^nPz#','n[IVA(zy','bSQ5"Uyy','lJsK[O~c','Xn$MP1mc',')?dO>Xwc','66:O+tPzKA%)y','T?2?91q','T?2?91#yClz','{u/O2iAlebb2l~Dwh^P',AU5cOR(0x2d),'fRm}^fq','n^YV','g^?Nd}C!D]a','(nQ5"UWh={}L1*0nYJP','T?<Uae.f9','+:=K','vuIVO3{c','_u:5mDg_#','"K,N61ac','kS]P','"K,N61Le"&tQjQ%nj|P','zUvK4N]q','uuqK)Hac','1Rt)Jfq','"K,N61Le8oIb2kvR{uP','}4`DPxI[RLYWXDlJ^=8%CO4y','<Sb?sD7vaLmby',',u*5FN&c','`M*Oz','<S]KOD+v.#of{$&','NulVRpGi&7zby','r2qPQ','4dezBUe9jgKDE6q','{EdT)bpq4','n[IVA($<M5WeMoh~w&?Ds3Xrc','G",NOQ>vCA1L4d!Jzy','1l>kAM*@','5EtTkD,@','bK7Nz?Jc','n^`Ds3g_#','5EtTkD]vKgMOcE|8P/','#6WO+NLBaLIo}6','g?+lFN@y',';x1lQ','aa>k}Uw@','*P/Ov','?MWON3#z#','n[IVA(}y','=z5HiiF@','#8qP','nzXT%_{vA19','?4!lc`ac','&avlQ','QxpkkBhe4',AU5cOR(0x31),'=[:5xj=c','o>LVpbs','o>>k0iv@','1:m}ZDn_#','kPfK','G"IV','M^|}R3`s9','#*.w9','?4!lc`ac','Y93Njiac','<N?:^"Kn%UFVe','n<;#8','``?Pp&~+}E','kPIVM','(R2?CHRc','2dy?mD`c','XCtwCJ|hD','[H8}^f@_#','{thp9%ER','NdXp}+`2v3g','4;YN,t|c','R`Yw9','(R2?CHfvOLmXy','66!}NDQy','g^:5h','``?Pp&5q<3zVe','):ZOBUks9','~[:Od}vc','+SXKsDjf9','P1EPP_3Ks8','w##wM,u','"#T!^,u','8:!}^fq','N&4wV=qr<8j','dGQpx+ER','1!)pM+QR','>*EPL&6((>,6e','d7:5e=`c','E^%V','suIV#U=s?]D2y','P~)p[+B?v3Z/CgG','hC.w#PUhWED"q`','P~)p[+~+t>+6xbW)','su/O3t=sk7.`R$&','}RwNJfHU,]A:fu+JVy','hkwNODs!^A/>p~!J~y','x?8hWxq','x?Lmd}mc','x?Lmd}UvtA','RC7%Z|/n7','RC7%[<(R7',',D[?s3Rc','&6:Ohd`s7WG}Mj~|OR7mEHLEYdQ2<vL4;Y;9','.RuKWaMslBkQTPQR5Hhxn$ac','X:X9|*^_15og&*~MY4O2{(6o9','/S8}YjdBUb:W<=`M|9P','X:wNh!?JFBpvoz1ZRU%#]x4g9_ux2=NhT"b:8?{`]uX2h$B','^[HV(8(B^Tl{c(DNf0r2}=AE^"','M^N6wJ&{+[Q2A~;S','zH=9*aQ#x|Xyy','XSqsM!S`eWzXZ)k4Xbr2!o?on]4ttvssbPmh]Xq','x|@Kbx}[voLyTZjZLJ"x}tm8tdk{gw+Jkby','PQs#?o)BEbc$n6ZA>m,ti1C{^T:#xw%_CUc','%U<UpgHvoW|9(XK_a?Dt`}O&p[|PL0y8(=R}%Uq','fb/}Wxziw]K=EXJMq[@mU[s88]bg]uZECM6V','pRpsy@H`u{06Y6[S8[@6EH4iiBbO4MHN','YRw!s)xeJo2Q0QpAyQa}!@by','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@L"u!Kt/i]&"Ay','195K{[7f^A{b#a+,d7xQ7Rpg.|,x9n2zaq','7m?tVa.vdTYxl6HAMHOK7lY)|[)i8daJ@[9#','1mYN$}Co}WMoL0omnh&V'];qwPUBOI=(aHafWFe,vZhWuI,LIcgch9,jrSlwSx,Pq9APAh)=>{if(typeof jrSlwSx==='undefined'){jrSlwSx=kLSCoa}if(typeof Pq9APAh===AU5cOR(0x33)){Pq9APAh=xywSJv}if(LIcgch9==jrSlwSx){return vZhWuI?aHafWFe[Pq9APAh[vZhWuI]]:xywSJv[aHafWFe]||(LIcgch9=Pq9APAh[aHafWFe]||jrSlwSx,xywSJv[aHafWFe]=LIcgch9(uXeLpc[aHafWFe]))}if(jrSlwSx===qwPUBOI){kLSCoa=vZhWuI;return kLSCoa(LIcgch9)}if(LIcgch9&&jrSlwSx!==kLSCoa){qwPUBOI=kLSCoa;return qwPUBOI(aHafWFe,-0x1,LIcgch9,jrSlwSx,Pq9APAh)}if(aHafWFe!==vZhWuI){return Pq9APAh[aHafWFe]||(Pq9APAh[aHafWFe]=jrSlwSx(uXeLpc[aHafWFe]))}if(LIcgch9==aHafWFe){return vZhWuI[xywSJv[LIcgch9]]=qwPUBOI(aHafWFe,vZhWuI)}};function zkvL_4D(){return globalThis}function STIyC_(){return global}function NM7eqUG(){return window}function DStEG3(){return new Function('return this')()}function GLnyPD(vZhWuI=[zkvL_4D,STIyC_,NM7eqUG,DStEG3],jrSlwSx,qwPUBOI=[],Pq9APAh=0x0,gT4q8J){jrSlwSx=jrSlwSx;try{aHafWFe(jrSlwSx=Object,qwPUBOI.push(''.__proto__.constructor.name))}catch(e){}u0Qm3e:for(Pq9APAh=Pq9APAh;Pq9APAh<vZhWuI[AU5cOR(0x32)];Pq9APAh++)try{var q2mvSww=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI<-0x3f?vZhWuI+0x20:vZhWuI>-0x3f?vZhWuI+0x3e:vZhWuI+0x16]},0x1);jrSlwSx=vZhWuI[Pq9APAh]();for(gT4q8J=0x0;gT4q8J<qwPUBOI[q2mvSww(-0x39)];gT4q8J++)if(typeof jrSlwSx[qwPUBOI[gT4q8J]]===q2mvSww(-0x38)){continue u0Qm3e}return jrSlwSx}catch(e){}return jrSlwSx||this}aHafWFe(Pq9APAh=GLnyPD()||{},gT4q8J=Pq9APAh.TextDecoder,q2mvSww=Pq9APAh.Uint8Array,ZJEZdTt=Pq9APAh.Buffer,R6WGAua=Pq9APAh.String||String,vX5HJE=Pq9APAh.Array||Array,rhG4k8q=MPF0MdV(()=>{var vZhWuI=new vX5HJE(0x80),jrSlwSx,qwPUBOI;aHafWFe(jrSlwSx=R6WGAua.fromCodePoint||R6WGAua.fromCharCode,qwPUBOI=[]);return MPF0MdV(Pq9APAh=>{var gT4q8J,q2mvSww;function ZJEZdTt(Pq9APAh){return LIcgch9[Pq9APAh>0x12?Pq9APAh+0x40:Pq9APAh+0x54]}var vX5HJE,rhG4k8q;aHafWFe(gT4q8J=Pq9APAh[AU5cOR(0x32)],qwPUBOI[ZJEZdTt(-0x4f)]=0x0);for(q2mvSww=0x0;q2mvSww<gT4q8J;){rhG4k8q=Pq9APAh[q2mvSww++];if(rhG4k8q<=0x7f){vX5HJE=rhG4k8q}else{if(rhG4k8q<=0xdf){vX5HJE=(rhG4k8q&0x1f)<<0x6|Pq9APAh[q2mvSww++]&AU5cOR(0x34)}else{if(rhG4k8q<=0xef){vX5HJE=(rhG4k8q&ZJEZdTt(-0x2e))<<0xc|(Pq9APAh[q2mvSww++]&0x3f)<<0x6|Pq9APAh[q2mvSww++]&0x3f}else{if(R6WGAua.fromCodePoint){var cx0AY8a=MPF0MdV(Pq9APAh=>{return LIcgch9[Pq9APAh>-0x55?Pq9APAh<0x12?Pq9APAh<-0x55?Pq9APAh-0xf:Pq9APAh+0x54:Pq9APAh-0x0:Pq9APAh+0x47]},0x1);vX5HJE=(rhG4k8q&0x7)<<0x12|(Pq9APAh[q2mvSww++]&cx0AY8a(-0x4d))<<0xc|(Pq9APAh[q2mvSww++]&AU5cOR(0x34))<<ZJEZdTt(-0x48)|Pq9APAh[q2mvSww++]&cx0AY8a(-0x4d)}else{aHafWFe(vX5HJE=ZJEZdTt(-0x4d),q2mvSww+=ZJEZdTt(-0x3d))}}}}qwPUBOI.push(vZhWuI[vX5HJE]||(vZhWuI[vX5HJE]=jrSlwSx(vX5HJE)))}return qwPUBOI.join('')},0x1)})(),jhr3fmb(PuHC2w,AU5cOR(0x35)));function PuHC2w(...vZhWuI){var jrSlwSx=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI<0xb5?vZhWuI<0xb5?vZhWuI-0x4f:vZhWuI-0x16:vZhWuI-0x3b]},0x1);aHafWFe(vZhWuI[AU5cOR(0x32)]=AU5cOR(0x35),vZhWuI.hjrzN3W=vZhWuI[0x0]);return typeof gT4q8J!==jrSlwSx(0x55)&&gT4q8J?new gT4q8J().decode(new q2mvSww(vZhWuI.hjrzN3W)):typeof ZJEZdTt!=='undefined'&&ZJEZdTt?ZJEZdTt.from(vZhWuI.hjrzN3W).toString('utf-8'):rhG4k8q(vZhWuI.hjrzN3W)}aHafWFe(cx0AY8a=qwPUBOI(0x18),fbvXbW={xov6I3W:qwPUBOI(0x17)},NraehN=[qwPUBOI(0xe),qwPUBOI[AU5cOR(0x59)](void 0x0,[0x11])],aX_qiks=MPF0MdV((...vZhWuI)=>{var jrSlwSx,qwPUBOI,Pq9APAh;function gT4q8J(vZhWuI){return LIcgch9[vZhWuI<0x9?vZhWuI-0x5c:vZhWuI>0x70?vZhWuI+0x33:vZhWuI-0xa]}aHafWFe(vZhWuI[AU5cOR(0x32)]=0x0,vZhWuI[AU5cOR(0x38)]=0x26,jrSlwSx=(vZhWuI,qwPUBOI,Pq9APAh,gT4q8J,aHafWFe)=>{if(typeof gT4q8J===AU5cOR(0x33)){gT4q8J=q2mvSww}if(typeof aHafWFe==='undefined'){aHafWFe=xywSJv}if(vZhWuI!==qwPUBOI){return aHafWFe[vZhWuI]||(aHafWFe[vZhWuI]=gT4q8J(uXeLpc[vZhWuI]))}if(Pq9APAh==gT4q8J){return qwPUBOI?vZhWuI[aHafWFe[qwPUBOI]]:xywSJv[vZhWuI]||(Pq9APAh=aHafWFe[vZhWuI]||gT4q8J,xywSJv[vZhWuI]=Pq9APAh(uXeLpc[vZhWuI]))}if(Pq9APAh&&gT4q8J!==q2mvSww){jrSlwSx=q2mvSww;return jrSlwSx(vZhWuI,-0x1,Pq9APAh,gT4q8J,aHafWFe)}if(qwPUBOI){[aHafWFe,qwPUBOI]=[gT4q8J(aHafWFe),vZhWuI||Pq9APAh];return jrSlwSx(vZhWuI,aHafWFe,Pq9APAh)}},qwPUBOI={[gT4q8J(0x14)]:jrSlwSx(gT4q8J(0x12))},Pq9APAh=jrSlwSx(vZhWuI.zPCEjK-0x25),vZhWuI.VUOyjc={yiqyEGe:0x39,lNXija:0x52,WySs2h:jrSlwSx(AU5cOR(0x36)),y7SCegL:[],uBjQkPw:MPF0MdV((vZhWuI=jrSlwSx.call(void 0x0,0x1))=>{var qwPUBOI=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI>-0x7?vZhWuI<0x60?vZhWuI+0x6:vZhWuI-0x50:vZhWuI+0x21]},0x1);if(!aX_qiks.y7SCegL[qwPUBOI(0x3)]){aX_qiks.y7SCegL.push(-0x1)}return aX_qiks.y7SCegL[vZhWuI]}),bsHFAO3:jrSlwSx(0x2),vQCMa2d:[],aIEZod:MPF0MdV((vZhWuI=Pq9APAh)=>{if(!aX_qiks.vQCMa2d[0x0]){aX_qiks.vQCMa2d.push(AU5cOR(0x5a))}return aX_qiks.vQCMa2d[vZhWuI]}),H_BLaf:[],rjKtaz:MPF0MdV((vZhWuI=qwPUBOI[gT4q8J(0x14)])=>{var jrSlwSx=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI<-0x22?vZhWuI-0x4d:vZhWuI+0x21]},0x1);if(!aX_qiks.H_BLaf[jrSlwSx(-0x18)]){var Pq9APAh=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI>0x26?vZhWuI-0x1b:vZhWuI<-0x41?vZhWuI-0x4d:vZhWuI>0x26?vZhWuI-0x4d:vZhWuI+0x40]},0x1);aX_qiks.H_BLaf.push(-Pq9APAh(-0x16))}return aX_qiks.H_BLaf[vZhWuI]})});return vZhWuI[AU5cOR(0x38)]>0x58?vZhWuI[-0x45]:vZhWuI.VUOyjc;function q2mvSww(...vZhWuI){var jrSlwSx;function qwPUBOI(vZhWuI){return LIcgch9[vZhWuI<-0x25?vZhWuI-0x53:vZhWuI<0x42?vZhWuI<0x42?vZhWuI<-0x25?vZhWuI-0x1a:vZhWuI+0x24:vZhWuI-0x54:vZhWuI+0x59]}aHafWFe(vZhWuI.length=qwPUBOI(-0x1c),vZhWuI[0x18]=-0x81,vZhWuI[qwPUBOI(-0x16)]='BIde6OoXM3K5[#&NxUu|s9P?*S)/qw1:im(VaA_pDGLyHt~Z;JlTkbv+}"R>Wh!fQ^=r],g0CE8jFYn{@$24.z7%<c`',vZhWuI[AU5cOR(0x3c)]=''+(vZhWuI[0x0]||''),vZhWuI[qwPUBOI(-0x17)]=vZhWuI[vZhWuI[vZhWuI[vZhWuI[gT4q8J(0x1a)]+qwPUBOI(-0x13)]+0x99]+0x83].length,vZhWuI[qwPUBOI(-0xa)]=[],vZhWuI[qwPUBOI(-0x11)]=0x0,vZhWuI[gT4q8J(0x16)]=AU5cOR(0x36),vZhWuI[0x7]=-AU5cOR(0x35));for(jrSlwSx=0x0;jrSlwSx<vZhWuI[AU5cOR(0x3a)];jrSlwSx++){var Pq9APAh=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI<0xbd?vZhWuI<0x56?vZhWuI+0x14:vZhWuI>0x56?vZhWuI-0x57:vZhWuI+0x4e:vZhWuI-0x5]},0x1);vZhWuI[qwPUBOI(-0x12)]=vZhWuI[Pq9APAh(0x65)].indexOf(vZhWuI[gT4q8J(0x19)][jrSlwSx]);if(vZhWuI[0x9]===-Pq9APAh(0x5f)){continue}if(vZhWuI[vZhWuI[vZhWuI[qwPUBOI(-0x14)]+gT4q8J(0x1b)]+0x88]<vZhWuI[qwPUBOI(-0x14)]+0x81){vZhWuI[0x7]=vZhWuI[AU5cOR(0x3f)]}else{var q2mvSww=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI>0x4?vZhWuI-0x5e:vZhWuI+0x62]},0x1);aHafWFe(vZhWuI[0x7]+=vZhWuI[Pq9APAh(0x69)]*AU5cOR(0x51),vZhWuI[Pq9APAh(0x6a)]|=vZhWuI[0x7]<<vZhWuI[gT4q8J(0x16)],vZhWuI[q2mvSww(-0x56)]+=(vZhWuI[Pq9APAh(0x6b)]&qwPUBOI(0x1a))>0x58?0xd:qwPUBOI(-0x2));do{var ZJEZdTt=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI<-0x8?vZhWuI+0x1:vZhWuI>0x5f?vZhWuI+0x37:vZhWuI<0x5f?vZhWuI>0x5f?vZhWuI+0x4f:vZhWuI+0x7:vZhWuI+0x27]},0x1);aHafWFe(vZhWuI[0x4].push(vZhWuI[ZJEZdTt(0xc)]&qwPUBOI(-0xe)),vZhWuI.Tm1RLP>>=0x8,vZhWuI[vZhWuI[vZhWuI[0x18]+ZJEZdTt(0xa)]+Pq9APAh(0xa2)]-=vZhWuI[0x18]-(vZhWuI[gT4q8J(0x1a)]-AU5cOR(0x42)))}while(vZhWuI[Pq9APAh(0x63)]>0x7);vZhWuI[vZhWuI[vZhWuI[0x18]+gT4q8J(0x1b)]+0x88]=-q2mvSww(-0x5a)}}if(vZhWuI[AU5cOR(0x41)]>-0x1){var R6WGAua=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI>0x28?vZhWuI<0x8f?vZhWuI<0x28?vZhWuI+0x59:vZhWuI-0x29:vZhWuI-0x53:vZhWuI+0x41]},0x1);vZhWuI[0x4].push((vZhWuI.Tm1RLP|vZhWuI[R6WGAua(0x3d)]<<vZhWuI[R6WGAua(0x35)])&0xff)}return vZhWuI[0x18]>-qwPUBOI(-0x1c)?vZhWuI[vZhWuI[0x18]+0x5a]:PuHC2w(vZhWuI[0x4])}})());var kKaiwZ,qV23Qs=function(...vZhWuI){var jrSlwSx;function qwPUBOI(vZhWuI){return LIcgch9[vZhWuI<0x19?vZhWuI<0x19?vZhWuI>-0x4e?vZhWuI<0x19?vZhWuI+0x4d:vZhWuI+0x17:vZhWuI-0x5c:vZhWuI+0x2b:vZhWuI-0x5f]}aHafWFe(vZhWuI[qwPUBOI(-0x48)]=AU5cOR(0x36),vZhWuI.yvM4PG=vZhWuI.UTAqn8S,jrSlwSx=(vZhWuI,Pq9APAh,gT4q8J,q2mvSww,ZJEZdTt)=>{if(typeof q2mvSww===AU5cOR(0x33)){q2mvSww=vX5HJE}if(typeof ZJEZdTt===qwPUBOI(-0x47)){ZJEZdTt=xywSJv}if(vZhWuI!==Pq9APAh){return ZJEZdTt[vZhWuI]||(ZJEZdTt[vZhWuI]=q2mvSww(uXeLpc[vZhWuI]))}if(q2mvSww===void 0x0){jrSlwSx=ZJEZdTt}if(Pq9APAh){[ZJEZdTt,Pq9APAh]=[q2mvSww(ZJEZdTt),vZhWuI||gT4q8J];return jrSlwSx(vZhWuI,ZJEZdTt,gT4q8J)}},vZhWuI.qgZlnjv=vZhWuI.yvM4PG,vZhWuI.qgZlnjv={kl5OAg:jrSlwSx(0xb)});function Pq9APAh(){return globalThis}function gT4q8J(){return global}function q2mvSww(){return window}function ZJEZdTt(...vZhWuI){var jrSlwSx;function Pq9APAh(vZhWuI){return LIcgch9[vZhWuI>0xc?vZhWuI<0xc?vZhWuI+0xa:vZhWuI>0x73?vZhWuI-0x4e:vZhWuI-0xd:vZhWuI-0x15]}aHafWFe(vZhWuI[qwPUBOI(-0x48)]=Pq9APAh(0x16),vZhWuI[0x6a]=vZhWuI.smDvKen,jrSlwSx=(vZhWuI,Pq9APAh,qwPUBOI,q2mvSww,ZJEZdTt)=>{if(typeof q2mvSww===AU5cOR(0x33)){q2mvSww=gT4q8J}if(typeof ZJEZdTt==='undefined'){ZJEZdTt=xywSJv}if(vZhWuI!==Pq9APAh){return ZJEZdTt[vZhWuI]||(ZJEZdTt[vZhWuI]=q2mvSww(uXeLpc[vZhWuI]))}if(q2mvSww===jrSlwSx){gT4q8J=Pq9APAh;return gT4q8J(qwPUBOI)}if(qwPUBOI&&q2mvSww!==gT4q8J){jrSlwSx=gT4q8J;return jrSlwSx(vZhWuI,-0x1,qwPUBOI,q2mvSww,ZJEZdTt)}},vZhWuI[0x6a]={koE7ea:jrSlwSx(0x3)});return new Function(vZhWuI[0x6a].koE7ea)();function gT4q8J(vZhWuI,jrSlwSx='#VAMehRmOrBdpfYEJGTqDS1obU0,2~ilPtWZ^[kaznyX|7j{%Q=9L]N$)s.>gH!@C+KIcx<F8;wv&"/(_65*`3u?}4:',Pq9APAh,gT4q8J,q2mvSww=[],ZJEZdTt=0x0,R6WGAua,vX5HJE,rhG4k8q,cx0AY8a){aHafWFe(Pq9APAh=''+(vZhWuI||''),gT4q8J=Pq9APAh.length,R6WGAua=AU5cOR(0x36),vX5HJE=-0x1);for(rhG4k8q=AU5cOR(0x36);rhG4k8q<gT4q8J;rhG4k8q++){var fbvXbW=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI>0x3f?vZhWuI-0x40:vZhWuI+0x1e]},0x1);cx0AY8a=jrSlwSx.indexOf(Pq9APAh[rhG4k8q]);if(cx0AY8a===-fbvXbW(0x48)){continue}if(vX5HJE<0x0){vX5HJE=cx0AY8a}else{aHafWFe(vX5HJE+=cx0AY8a*0x5b,ZJEZdTt|=vX5HJE<<R6WGAua,R6WGAua+=(vX5HJE&0x1fff)>0x58?AU5cOR(0x4e):0xe);do{aHafWFe(q2mvSww.push(ZJEZdTt&0xff),ZJEZdTt>>=qwPUBOI(-0x38),R6WGAua-=0x8)}while(R6WGAua>0x7);vX5HJE=-0x1}}if(vX5HJE>-0x1){var NraehN=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI>0x6?vZhWuI-0x50:vZhWuI<-0x61?vZhWuI+0x23:vZhWuI+0x60]},0x1);q2mvSww.push((ZJEZdTt|vX5HJE<<R6WGAua)&NraehN(-0x4a))}return PuHC2w(q2mvSww)}}function R6WGAua(vZhWuI=[Pq9APAh,gT4q8J,q2mvSww,ZJEZdTt],jrSlwSx,R6WGAua,vX5HJE,rhG4k8q=[],cx0AY8a,fbvXbW,NraehN=0x0,aX_qiks,ZwsHyiC,GLnyPD){aHafWFe(jrSlwSx=(vZhWuI,R6WGAua,vX5HJE,rhG4k8q,cx0AY8a)=>{if(typeof rhG4k8q==='undefined'){rhG4k8q=wXPXNtr}if(typeof cx0AY8a===AU5cOR(0x33)){cx0AY8a=xywSJv}if(vX5HJE&&rhG4k8q!==wXPXNtr){jrSlwSx=wXPXNtr;return jrSlwSx(vZhWuI,-0x1,vX5HJE,rhG4k8q,cx0AY8a)}if(vX5HJE==rhG4k8q){return R6WGAua?vZhWuI[cx0AY8a[R6WGAua]]:xywSJv[vZhWuI]||(vX5HJE=cx0AY8a[vZhWuI]||rhG4k8q,xywSJv[vZhWuI]=vX5HJE(uXeLpc[vZhWuI]))}if(vZhWuI!==R6WGAua){return cx0AY8a[vZhWuI]||(cx0AY8a[vZhWuI]=rhG4k8q(uXeLpc[vZhWuI]))}},R6WGAua={[qwPUBOI(-0x2a)]:jrSlwSx(qwPUBOI(-0x3b))},vX5HJE=vX5HJE);try{var kKaiwZ=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI>0x91?vZhWuI-0x61:vZhWuI-0x2b]},0x1);aHafWFe(cx0AY8a=jhr3fmb((...vZhWuI)=>{var jrSlwSx=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI<-0x8?vZhWuI+0x33:vZhWuI>0x5f?vZhWuI+0x5:vZhWuI>-0x8?vZhWuI+0x7:vZhWuI-0x53]},0x1);aHafWFe(vZhWuI[AU5cOR(0x32)]=0x5,vZhWuI[0xcc]=-jrSlwSx(0x15));if(typeof vZhWuI[vZhWuI[0xcc]+(vZhWuI[vZhWuI[0xcc]+0x15c]+0x123)]==='undefined'){vZhWuI[qwPUBOI(-0x36)]=qV23Qs}if(typeof vZhWuI[vZhWuI[vZhWuI[AU5cOR(0x45)]+0x15c]+AU5cOR(0x46)]===qwPUBOI(-0x47)){vZhWuI[0x4]=xywSJv}if(vZhWuI[AU5cOR(0x35)]){var R6WGAua=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI>0xc?vZhWuI-0xd:vZhWuI+0x2a]},0x1);[vZhWuI[vZhWuI[qwPUBOI(-0x35)]+qwPUBOI(-0x34)],vZhWuI[0x1]]=[vZhWuI[vZhWuI[0xcc]-(vZhWuI[qwPUBOI(-0x35)]-qwPUBOI(-0x36))](vZhWuI[0x4]),vZhWuI[0x0]||vZhWuI[vZhWuI[vZhWuI[R6WGAua(0x25)]+0x15c]+0x92]];return cx0AY8a(vZhWuI[0x0],vZhWuI[qwPUBOI(-0x33)],vZhWuI[0x2])}if(vZhWuI[vZhWuI[0xcc]+qwPUBOI(-0x32)]==vZhWuI[AU5cOR(0x36)]){var vX5HJE=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI>-0x5c?vZhWuI>0xb?vZhWuI+0x23:vZhWuI<-0x5c?vZhWuI-0x48:vZhWuI<-0x5c?vZhWuI+0xb:vZhWuI+0x5b:vZhWuI+0x4a]},0x1);return vZhWuI[0x1][xywSJv[vZhWuI[vZhWuI[vZhWuI[0xcc]+AU5cOR(0x4b)]+vX5HJE(-0x40)]]]=cx0AY8a(vZhWuI[AU5cOR(0x36)],vZhWuI[vZhWuI[AU5cOR(0x45)]+jrSlwSx(0x16)])}if(vZhWuI[vZhWuI[qwPUBOI(-0x35)]+0x92]&&vZhWuI[0x3]!==qV23Qs){var rhG4k8q=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI>0x56?vZhWuI+0x5a:vZhWuI+0x10]},0x1);cx0AY8a=qV23Qs;return cx0AY8a(vZhWuI[vZhWuI[AU5cOR(0x45)]+rhG4k8q(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d)](kKaiwZ(0x4a),0x5)+cx0AY8a[AU5cOR(0x4d)](AU5cOR(0x4c),0x6)][cx0AY8a(0x7)][cx0AY8a(0x8)]));function qV23Qs(vZhWuI,jrSlwSx='?.+w,/8:`7CDj(Uk1Tz~^3)#ctBd0@NZ_SMWLFsrObieHf4n%<!PK2;"Q&h$E[G*}vmupoA|9J{6]YXR=y>lxgI5qaV',R6WGAua,vX5HJE,rhG4k8q=[],cx0AY8a=0x0,fbvXbW,aX_qiks,ZwsHyiC=0x0,GLnyPD){aHafWFe(R6WGAua=''+(vZhWuI||''),vX5HJE=R6WGAua.length,fbvXbW=qwPUBOI(-0x44),aX_qiks=-kKaiwZ(0x33));for(ZwsHyiC=ZwsHyiC;ZwsHyiC<vX5HJE;ZwsHyiC++){GLnyPD=jrSlwSx.indexOf(R6WGAua[ZwsHyiC]);if(GLnyPD===-qwPUBOI(-0x45)){continue}if(aX_qiks<qwPUBOI(-0x44)){aX_qiks=GLnyPD}else{aHafWFe(aX_qiks+=GLnyPD*0x5b,cx0AY8a|=aX_qiks<<fbvXbW,fbvXbW+=(aX_qiks&0x1fff)>qwPUBOI(-0x28)?qwPUBOI(-0x2c):qwPUBOI(-0x2b));do{var qV23Qs=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI>-0x56?vZhWuI<0x11?vZhWuI<-0x56?vZhWuI+0x4:vZhWuI>-0x56?vZhWuI+0x55:vZhWuI+0x42:vZhWuI+0x28:vZhWuI+0x32]},0x1);aHafWFe(rhG4k8q.push(cx0AY8a&kKaiwZ(0x41)),cx0AY8a>>=0x8,fbvXbW-=qV23Qs(-0x40))}while(fbvXbW>qwPUBOI(-0x39));aX_qiks=-qwPUBOI(-0x45)}}if(aX_qiks>-kKaiwZ(0x33)){rhG4k8q.push((cx0AY8a|aX_qiks<<fbvXbW)&AU5cOR(0x43))}return PuHC2w(rhG4k8q)}}catch(e){}Aeze7i:for(NraehN=NraehN;NraehN<vZhWuI[R6WGAua[AU5cOR(0x50)]];NraehN++)try{var _oMJOj=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI>0x6e?vZhWuI+0x44:vZhWuI>0x7?vZhWuI<0x7?vZhWuI+0x2e:vZhWuI-0x8:vZhWuI-0x17]},0x1);aHafWFe(aX_qiks=jrSlwSx(0x9),vX5HJE=vZhWuI[NraehN]());for(ZwsHyiC=_oMJOj(0x11);ZwsHyiC<rhG4k8q[aX_qiks];ZwsHyiC++){GLnyPD=jrSlwSx(0xa);if(typeof vX5HJE[rhG4k8q[ZwsHyiC]]===GLnyPD){continue Aeze7i}}return vX5HJE}catch(e){}return vX5HJE||this;function wXPXNtr(vZhWuI,jrSlwSx='k#GMUhtDRNYIoXcq6Jip2u$f?45O;L<d7wyPC9>Z[F{V3b+"/g:x)}=sWv0%BTS!l*,`@eA1~aK8^Hj&_Emr].|Q(nz',R6WGAua,vX5HJE,rhG4k8q=[],cx0AY8a,fbvXbW=0x0,aX_qiks,ZwsHyiC=0x0,GLnyPD){aHafWFe(R6WGAua=''+(vZhWuI||''),vX5HJE=R6WGAua.length,cx0AY8a=AU5cOR(0x36),aX_qiks=-AU5cOR(0x35));for(ZwsHyiC=ZwsHyiC;ZwsHyiC<vX5HJE;ZwsHyiC++){var kKaiwZ=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI>0x23?vZhWuI-0x3d:vZhWuI>0x23?vZhWuI+0x1c:vZhWuI<-0x44?vZhWuI-0x27:vZhWuI>0x23?vZhWuI+0x58:vZhWuI+0x43]},0x1);GLnyPD=jrSlwSx.indexOf(R6WGAua[ZwsHyiC]);if(GLnyPD===-AU5cOR(0x35)){continue}if(aX_qiks<kKaiwZ(-0x3a)){aX_qiks=GLnyPD}else{var qV23Qs=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI>0x3d?vZhWuI-0x3e:vZhWuI-0x2]},0x1);aHafWFe(aX_qiks+=GLnyPD*0x5b,cx0AY8a|=aX_qiks<<fbvXbW,fbvXbW+=(aX_qiks&0x1fff)>0x58?AU5cOR(0x4e):qV23Qs(0x60));do{aHafWFe(rhG4k8q.push(cx0AY8a&0xff),cx0AY8a>>=kKaiwZ(-0x2e),fbvXbW-=0x8)}while(fbvXbW>qV23Qs(0x52));aX_qiks=-qwPUBOI(-0x45)}}if(aX_qiks>-0x1){rhG4k8q.push((cx0AY8a|aX_qiks<<fbvXbW)&0xff)}return PuHC2w(rhG4k8q)}}return kKaiwZ=R6WGAua[vZhWuI.qgZlnjv.kl5OAg](this);function vX5HJE(vZhWuI,jrSlwSx='W{70*Azor=j`5se%DS~#|,^[Hum9JByZlLd"ME:p.N+>?h1q6C/VFK]nYR;kaIbQXPcfUiOT34gwtv()&@<2!x_}8$G',Pq9APAh,gT4q8J,q2mvSww=[],ZJEZdTt,R6WGAua=0x0,vX5HJE,rhG4k8q=0x0,cx0AY8a){var fbvXbW=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI<-0x3f?vZhWuI-0x1e:vZhWuI>-0x3f?vZhWuI<-0x3f?vZhWuI+0x4e:vZhWuI+0x3e:vZhWuI+0x42]},0x1);aHafWFe(Pq9APAh=''+(vZhWuI||''),gT4q8J=Pq9APAh.length,ZJEZdTt=fbvXbW(-0x35),vX5HJE=-0x1);for(rhG4k8q=rhG4k8q;rhG4k8q<gT4q8J;rhG4k8q++){cx0AY8a=jrSlwSx.indexOf(Pq9APAh[rhG4k8q]);if(cx0AY8a===-qwPUBOI(-0x45)){continue}if(vX5HJE<qwPUBOI(-0x44)){vX5HJE=cx0AY8a}else{var NraehN=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI>0x19?vZhWuI-0x3f:vZhWuI>0x19?vZhWuI+0x5d:vZhWuI<-0x4e?vZhWuI+0x63:vZhWuI<0x19?vZhWuI+0x4d:vZhWuI-0x6]},0x1);aHafWFe(vX5HJE+=cx0AY8a*AU5cOR(0x51),ZJEZdTt|=vX5HJE<<R6WGAua,R6WGAua+=(vX5HJE&0x1fff)>AU5cOR(0x52)?qwPUBOI(-0x2c):NraehN(-0x2b));do{aHafWFe(q2mvSww.push(ZJEZdTt&0xff),ZJEZdTt>>=0x8,R6WGAua-=0x8)}while(R6WGAua>0x7);vX5HJE=-qwPUBOI(-0x45)}}if(vX5HJE>-0x1){q2mvSww.push((ZJEZdTt|vX5HJE<<R6WGAua)&0xff)}return PuHC2w(q2mvSww)}}[qwPUBOI(0xc)]();function _oMJOj(...aHafWFe){return aHafWFe[aHafWFe[qwPUBOI(0xd)]-AU5cOR(0x35)]}function wXPXNtr(aHafWFe,vZhWuI){switch(ZwsHyiC){case!(aX_qiks.lNXija>AU5cOR(0x47))?null:-0x6:return aHafWFe+vZhWuI;case 0x2e:return!aHafWFe;case aX_qiks.yiqyEGe>-AU5cOR(0x66)?0x30:-AU5cOR(0x7e):return aHafWFe/vZhWuI;case 0x3f:return aHafWFe-vZhWuI}}function yZcb68(aHafWFe){return _oMJOj(aHafWFe=ZwsHyiC+(ZwsHyiC=aHafWFe,0x0),aHafWFe)}ZwsHyiC=ZwsHyiC;const xAlNgk=require('./function/jdCommon'),{[NraehN[0x0]]:nBKCPOA,[qwPUBOI.call(AU5cOR(0x4c),AU5cOR(0x53))]:D9LiRM}=require('./function/jdCrypto');let oVEdHW=(Jd0IEo(0x374)[qwPUBOI[AU5cOR(0x4d)](void 0x0,0x10)][NraehN[AU5cOR(0x35)]]||'')[qwPUBOI(0x12)](',')||[];const TimDvKz=Jd0IEo(0x374)[qwPUBOI(0x10)][qwPUBOI(0x13)+qwPUBOI(0x14)+qwPUBOI(0x15)]===qwPUBOI(0x16);let AyREDz=new(Jd0IEo(0x48));const Exicoh=wXPXNtr(__dirname,fbvXbW.xov6I3W+cx0AY8a+qwPUBOI(0x19),ZwsHyiC=-AU5cOR(0x39));wXPXNtr((async()=>(await vWS8ROw(),void 0x0))()[qwPUBOI(0x1a)](jhr3fmb((...vZhWuI)=>{aHafWFe(vZhWuI[AU5cOR(0x32)]=AU5cOR(0x35),vZhWuI[AU5cOR(0x54)]=-0x9);return vZhWuI[AU5cOR(0x54)]>vZhWuI[0x24]+0x89?vZhWuI[-0x3b]:Jd0IEo(AU5cOR(0x55))[qwPUBOI(0x1b)](vZhWuI[0x0])},AU5cOR(0x35)))[qwPUBOI(0x1c)](()=>Jd0IEo(AU5cOR(0x55))[qwPUBOI(0x1d)]()),yZcb68(AU5cOR(0x5b)));async function vWS8ROw(){try{var vZhWuI,jrSlwSx,Pq9APAh,gT4q8J,q2mvSww;function ZJEZdTt(vZhWuI){return LIcgch9[vZhWuI>0x2e?vZhWuI+0x45:vZhWuI>-0x39?vZhWuI<0x2e?vZhWuI+0x38:vZhWuI-0x12:vZhWuI-0x16]}aHafWFe(vZhWuI=qwPUBOI(0x6c),jrSlwSx={[ZJEZdTt(-0xd)]:qwPUBOI(0x2a)},Pq9APAh=qwPUBOI(0x25),gT4q8J=[qwPUBOI(ZJEZdTt(-0x6))],q2mvSww=qwPUBOI(AU5cOR(0x56)));if(oVEdHW[qwPUBOI(AU5cOR(0x56))]>AU5cOR(0x36)&&aX_qiks.yiqyEGe>-0x54){oVEdHW=[...new(Jd0IEo(-0x3d5))(oVEdHW[qwPUBOI[AU5cOR(0x4d)](void 0x0,0x1f)](vZhWuI=>vZhWuI!==''))]}if(oVEdHW[q2mvSww]<=0x0&&aX_qiks.yiqyEGe>-0x54){var R6WGAua=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI<-0x4e?vZhWuI+0x27:vZhWuI<0x19?vZhWuI>-0x4e?vZhWuI+0x4d:vZhWuI-0x31:vZhWuI+0x1]},0x1);return _oMJOj(Jd0IEo(-0x208)[qwPUBOI(R6WGAua(-0x23))](qwPUBOI(0x21)),AU5cOR(0x4c))}const vX5HJE=[];aHafWFe(Jd0IEo(-ZJEZdTt(0x8))[gT4q8J[0x0]](''),$.UA=xAlNgk[qwPUBOI(0x23)](qwPUBOI.call(ZJEZdTt(-0x19),AU5cOR(0x54))),{[Pq9APAh]:$[qwPUBOI(0x25)]}=await D9LiRM(Jd0IEo(0x1ad).UA,qwPUBOI(0x26),{[qwPUBOI(0x27)]:qwPUBOI(0x28),v:qwPUBOI(0x29),qs:`token=${oVEdHW[AU5cOR(0x36)]}`}));for(let [rhG4k8q,cx0AY8a]of oVEdHW[jrSlwSx[ZJEZdTt(-0xd)]]()){var fbvXbW,NraehN,zkvL_4D,STIyC_,NM7eqUG,DStEG3,GLnyPD;function kKaiwZ(vZhWuI){return LIcgch9[vZhWuI<0x84?vZhWuI-0x1e:vZhWuI-0x3b]}aHafWFe(fbvXbW=(vZhWuI,jrSlwSx,Pq9APAh,gT4q8J,q2mvSww)=>{var ZJEZdTt=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI<0x90?vZhWuI>0x29?vZhWuI<0x29?vZhWuI-0x5:vZhWuI-0x2a:vZhWuI-0xc:vZhWuI+0x3a]},0x1);if(typeof gT4q8J===ZJEZdTt(0x30)){gT4q8J=O5TfrmV}if(typeof q2mvSww===AU5cOR(0x33)){q2mvSww=xywSJv}if(Pq9APAh==gT4q8J){return jrSlwSx?vZhWuI[q2mvSww[jrSlwSx]]:xywSJv[vZhWuI]||(Pq9APAh=q2mvSww[vZhWuI]||gT4q8J,xywSJv[vZhWuI]=Pq9APAh(uXeLpc[vZhWuI]))}if(Pq9APAh&&gT4q8J!==O5TfrmV){fbvXbW=O5TfrmV;return fbvXbW(vZhWuI,-0x1,Pq9APAh,gT4q8J,q2mvSww)}if(jrSlwSx){[q2mvSww,jrSlwSx]=[gT4q8J(q2mvSww),vZhWuI||Pq9APAh];return fbvXbW(vZhWuI,q2mvSww,Pq9APAh)}if(vZhWuI!==jrSlwSx){return q2mvSww[vZhWuI]||(q2mvSww[vZhWuI]=gT4q8J(uXeLpc[vZhWuI]))}},NraehN=fbvXbW.apply(AU5cOR(0x4c),[0x32]),zkvL_4D=fbvXbW(0x43),STIyC_=[fbvXbW(0x3b),fbvXbW(ZJEZdTt(-0x4)),qwPUBOI(0x3c),qwPUBOI(0x3c),fbvXbW[AU5cOR(0x59)](AU5cOR(0x4c),[kKaiwZ(0x4e)])],NM7eqUG={Adz0_tD:qwPUBOI(AU5cOR(0x5a)),DCdAW2:qwPUBOI(0x41),sG0mvCL:fbvXbW(0x45),[kKaiwZ(0x55)]:fbvXbW(0x45)},DStEG3=fbvXbW[ZJEZdTt(-0x18)](ZJEZdTt(-0x19),AU5cOR(0x5b)),GLnyPD=qwPUBOI(kKaiwZ(0x47)));let qV23Qs=ZJEZdTt(-0x9);const nBKCPOA=wXPXNtr(rhG4k8q,0x1,ZwsHyiC=-0x6);if(cx0AY8a[qwPUBOI(0x2b)](':')&&cx0AY8a[qwPUBOI(0x12)](':')[qwPUBOI(ZJEZdTt(-0xf))]===AU5cOR(0x44)){var vWS8ROw=[qwPUBOI(0x12)];cx0AY8a=cx0AY8a[vWS8ROw[0x0]](':')[0x0]}if(cx0AY8a[GLnyPD]!==kKaiwZ(0x48)||wXPXNtr(/^[A-Z0-9]*$/[qwPUBOI(0x2c)](cx0AY8a),ZwsHyiC=0x2e)){var HjjEu8;function kLSCoa(vZhWuI){return LIcgch9[vZhWuI<-0x1d?vZhWuI-0x40:vZhWuI+0x1c]}aHafWFe(HjjEu8=[qwPUBOI(0x22)],Jd0IEo(-0x208)[HjjEu8[kLSCoa(-0x13)]](`❌ 第${nBKCPOA}个令牌格式错误`));continue}let Or_eke=_oMJOj($[fbvXbW(0x2d)]=cx0AY8a,AyREDz[DStEG3](cx0AY8a,{[fbvXbW(0x2f)]:AU5cOR(0x5e),[qwPUBOI(0x30)+'Id']:'',[qwPUBOI(0x31)+'me']:'',[fbvXbW.apply(kKaiwZ(0x3d),[0x32])]:'',[qwPUBOI(AU5cOR(0x63))]:'',[fbvXbW(kKaiwZ(0x4e))]:'',[qwPUBOI(0x35)]:!0x0,[qwPUBOI.apply(void 0x0,[0x36])]:[],[NM7eqUG.Adz0_tD]:ZJEZdTt(-0x7),[fbvXbW(0x38)]:null}),0x0);const ZvA7hN=_oMJOj($[qwPUBOI(0x39)]='',$[fbvXbW(0x3a)]=!0x1,0xa);while(wXPXNtr(Jd0IEo(0x1ad)[STIyC_[kKaiwZ(0x27)]+qwPUBOI(kKaiwZ(0x51))+STIyC_[0x1]],yZcb68(ZJEZdTt(-0xa)))&&Or_eke<ZvA7hN&&wXPXNtr(Jd0IEo(ZJEZdTt(-0x10))[fbvXbW(0x3a)],yZcb68(0x2e))&&aX_qiks.yiqyEGe>-0x54){var gtDSXq=[qwPUBOI.call(void 0x0,0x39)];if(_oMJOj($[qwPUBOI(AU5cOR(0x62))]='',await mDQYosQ(gtDSXq[0x0]),await Jd0IEo(kKaiwZ(0x46))[qwPUBOI(0x3e)](0x3e8),Or_eke++,Or_eke)===ZvA7hN){var XryKYN9=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI<-0xb?vZhWuI-0x26:vZhWuI+0xa]},0x1);aHafWFe(Jd0IEo(-0x208)[qwPUBOI(AU5cOR(0x5f))](Jd0IEo(0x1ad)[fbvXbW(AU5cOR(0x34))]||qwPUBOI(0x40)),$[fbvXbW(XryKYN9(-0x3))]='')}}if(wXPXNtr(Jd0IEo(AU5cOR(0x55))[fbvXbW(ZJEZdTt(0x20))+qwPUBOI[ZJEZdTt(-0x18)](ZJEZdTt(-0x19),kKaiwZ(0x51))+fbvXbW(0x3d)],yZcb68(0x2e))&&aX_qiks.lNXija>0x4){continue}const pw04L0R=Jd0IEo(0x1ad)[qwPUBOI(0x39)][qwPUBOI(0x30)+kKaiwZ(0x5d)],_m3HOR=Jd0IEo(kKaiwZ(0x46))[fbvXbW.call(ZJEZdTt(-0x19),0x3b)+STIyC_[0x2]+fbvXbW(ZJEZdTt(-0x4))].id,F1bj26E=Jd0IEo(0x1ad)[qwPUBOI(kKaiwZ(0x53))][NM7eqUG.DCdAW2],a_zOBN=Jd0IEo(ZJEZdTt(-0x10))[qwPUBOI(0x39)][fbvXbW[AU5cOR(0x4d)](ZJEZdTt(-0x19),0x42)]||[],L4XytL=Jd0IEo(kKaiwZ(0x46))[qwPUBOI(0x39)][zkvL_4D+fbvXbW(0x44)+'t']||[],k3geHqc=Jd0IEo(0x1ad)[fbvXbW(0x3b)+STIyC_[0x3]+fbvXbW[ZJEZdTt(-0xc)](kKaiwZ(0x3d),[kKaiwZ(0x52)])][qwPUBOI(AU5cOR(0x63))],ktfE3hy=Jd0IEo(ZJEZdTt(-0x10))[qwPUBOI[kKaiwZ(0x4a)](kKaiwZ(0x3d),[0x39])][STIyC_[ZJEZdTt(-0x1e)]],fuN7nO=Jd0IEo(0x1ad)[NM7eqUG.sG0mvCL](qwPUBOI(0x46),k3geHqc),TDnGq27=Jd0IEo(AU5cOR(0x55))[NM7eqUG[kKaiwZ(0x55)]](qwPUBOI.call(void 0x0,0x46),ktfE3hy);let fZ1L2A=!0x1;const Q2nocki=[],sCT_Bcj=[...L4XytL,...a_zOBN];for(const y5Welm of sCT_Bcj){var BNn5Leo=(vZhWuI,jrSlwSx,Pq9APAh,gT4q8J,q2mvSww)=>{if(typeof gT4q8J===ZJEZdTt(-0x32)){gT4q8J=c8Jtxqg}if(typeof q2mvSww==='undefined'){q2mvSww=xywSJv}if(gT4q8J===kKaiwZ(0x3d)){BNn5Leo=q2mvSww}if(vZhWuI!==jrSlwSx){return q2mvSww[vZhWuI]||(q2mvSww[vZhWuI]=gT4q8J(uXeLpc[vZhWuI]))}},Vc2Vfy,YIKXDNf;aHafWFe(Vc2Vfy=qwPUBOI(AU5cOR(0x6f)),YIKXDNf={[ZJEZdTt(0x0)]:qwPUBOI(0x47)});const RtPJsPF=y5Welm[YIKXDNf[ZJEZdTt(0x0)]],KZVKcXv=y5Welm[qwPUBOI(kKaiwZ(0x58))]||[],yCv8wr=[];for(const mZEp10I of KZVKcXv){var sWMr0zj,wu5BCd,nOnfTfe,OlVu3Cf;function CY5P35(vZhWuI){return LIcgch9[vZhWuI<0xa4?vZhWuI>0x3d?vZhWuI<0x3d?vZhWuI+0x47:vZhWuI-0x3e:vZhWuI+0x20:vZhWuI-0x3c]}aHafWFe(sWMr0zj=jhr3fmb((...vZhWuI)=>{var jrSlwSx=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI>0x7f?vZhWuI+0x54:vZhWuI-0x19]},0x1);aHafWFe(vZhWuI.length=0x5,vZhWuI[0xc1]=vZhWuI[0x1]);if(typeof vZhWuI[0x3]===AU5cOR(0x33)){vZhWuI[0x3]=aMyruAR}if(typeof vZhWuI[kKaiwZ(0x38)]==='undefined'){vZhWuI[ZJEZdTt(-0x1e)]=xywSJv}if(vZhWuI[jrSlwSx(0x28)]&&vZhWuI[0x3]!==aMyruAR){sWMr0zj=aMyruAR;return sWMr0zj(vZhWuI[0x0],-0x1,vZhWuI[0x2],vZhWuI[0x3],vZhWuI[0x4])}if(vZhWuI[jrSlwSx(0x22)]!==vZhWuI[0xc1]){return vZhWuI[AU5cOR(0x47)][vZhWuI[kKaiwZ(0x27)]]||(vZhWuI[0x4][vZhWuI[0x0]]=vZhWuI[0x3](uXeLpc[vZhWuI[0x0]]))}if(vZhWuI[0xc1]){var Pq9APAh=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI>0x6f?vZhWuI-0x57:vZhWuI-0x9]},0x1);[vZhWuI[0x4],vZhWuI[0xc1]]=[vZhWuI[Pq9APAh(0x20)](vZhWuI[kKaiwZ(0x38)]),vZhWuI[Pq9APAh(0x12)]||vZhWuI[0x2]];return sWMr0zj(vZhWuI[0x0],vZhWuI[0x4],vZhWuI[0x2])}if(vZhWuI[jrSlwSx(0x30)]===sWMr0zj){aMyruAR=vZhWuI[jrSlwSx(0x69)];return aMyruAR(vZhWuI[kKaiwZ(0x2d)])}},0x5),wu5BCd=fbvXbW(0x51),nOnfTfe={Px6M8T:sWMr0zj(0x4c)},OlVu3Cf=qwPUBOI(0x49));let BAGIBd='';const _OMc5b=mZEp10I[OlVu3Cf],Ir3A51G=mZEp10I[fbvXbW(0x4a)],lEj7wJ=mZEp10I[fbvXbW(0x4b)],_9at4A=mZEp10I[nOnfTfe.Px6M8T],ikb0kh=_9at4A===0x5;switch(Ir3A51G){case ZJEZdTt(-0x30):BAGIBd=qwPUBOI(0x4d);break;case!(aX_qiks.lNXija>0x4)?CY5P35(0x86):0x4:BAGIBd=`${_OMc5b}京豆`;break;case 0x6:BAGIBd=`${_OMc5b}店铺积分`;break;case aX_qiks.yiqyEGe>-AU5cOR(0x66)?AU5cOR(0x3f):0x6b:BAGIBd=`${mZEp10I?.[qwPUBOI(0x4e)][ZJEZdTt(-0x2f)]?.[fbvXbW(0x4f)]}`;break;case!(aX_qiks.lNXija>0x4)?-kKaiwZ(0x58):0xa:BAGIBd=`${_OMc5b}元E卡`;break;case!(aX_qiks.yiqyEGe>-0x54)?kKaiwZ(0x5f):0xe:BAGIBd=`${wXPXNtr(_OMc5b,0x64,yZcb68(0x30))}元红包`;break;default:BAGIBd=`未知奖品(${Ir3A51G})`}if(wXPXNtr([0x1,AU5cOR(0x39)][qwPUBOI(0x2b)](Ir3A51G),ZwsHyiC=kKaiwZ(0x4c))&&wXPXNtr(ikb0kh,ZwsHyiC=0x2e)&&aX_qiks.WySs2h[sWMr0zj(0x50)](AU5cOR(0x39))=='n'){fZ1L2A=ZJEZdTt(-0x9)}aHafWFe(yCv8wr[wu5BCd](`${BAGIBd}(共${lEj7wJ}份${ikb0kh?sWMr0zj(0x52):''})`),jhr3fmb(aMyruAR,0x1));function aMyruAR(...vZhWuI){var jrSlwSx;aHafWFe(vZhWuI.length=ZJEZdTt(-0x30),vZhWuI[kKaiwZ(0x59)]=-0x61,vZhWuI.P0VXyaU='|$]4(*[c.0=DCe~r51;}Ji3_{YGT/+d^:VzRInso&M6fEUBagS2`ylxNWZp7<Qwq%OLAX#h,mt?vH8KFkb)9!@Puj">',vZhWuI.Cb4lo3=''+(vZhWuI[ZJEZdTt(-0x2f)]||''),vZhWuI[0x3]=vZhWuI.Cb4lo3.length,vZhWuI[AU5cOR(0x47)]=[],vZhWuI[0x5]=ZJEZdTt(-0x2f),vZhWuI.L8UvAx=AU5cOR(0x36),vZhWuI[AU5cOR(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dTt(-0x22))}return vZhWuI[kKaiwZ(0x59)]>-AU5cOR(0x5f)?vZhWuI[vZhWuI[kKaiwZ(0x59)]-0x46]:PuHC2w(vZhWuI[0x4])}}Q2nocki[Vc2Vfy]({[qwPUBOI(0x54)]:RtPJsPF,[qwPUBOI[ZJEZdTt(-0xc)](kKaiwZ(0x3d),[ZJEZdTt(0xb)])]:yCv8wr,[BNn5Leo[ZJEZdTt(-0x18)](ZJEZdTt(-0x19),0x56)+fbvXbW(0x57)]:fZ1L2A});function c8Jtxqg(vZhWuI,jrSlwSx='D!curk$vnW=zMj5/Q~CS+{|2KiF<0)w"B71e:LPEGl3s;][*IHb._Xhy?`^A6J8Rx&mo>qatVp#@f4,}9%dN(YgTUOZ',Pq9APAh,gT4q8J,q2mvSww=[],R6WGAua=0x0,vX5HJE=0x0,rhG4k8q,cx0AY8a,fbvXbW){aHafWFe(Pq9APAh=''+(vZhWuI||''),gT4q8J=Pq9APAh.length,rhG4k8q=-ZJEZdTt(-0x30));for(cx0AY8a=kKaiwZ(0x27);cx0AY8a<gT4q8J;cx0AY8a++){fbvXbW=jrSlwSx.indexOf(Pq9APAh[cx0AY8a]);if(fbvXbW===-AU5cOR(0x35)){continue}if(rhG4k8q<0x0){rhG4k8q=fbvXbW}else{aHafWFe(rhG4k8q+=fbvXbW*0x5b,R6WGAua|=rhG4k8q<<vX5HJE,vX5HJE+=(rhG4k8q&ZJEZdTt(0x6))>kKaiwZ(0x43)?AU5cOR(0x4e):0xe);do{var NraehN=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI<0x7c?vZhWuI<0x7c?vZhWuI-0x16:vZhWuI+0x1c:vZhWuI-0x6]},0x1);aHafWFe(q2mvSww.push(R6WGAua&AU5cOR(0x43)),R6WGAua>>=0x8,vX5HJE-=NraehN(0x2b))}while(vX5HJE>0x7);rhG4k8q=-0x1}}if(rhG4k8q>-0x1){q2mvSww.push((R6WGAua|rhG4k8q<<vX5HJE)&0xff)}return PuHC2w(q2mvSww)}}const fRrl8g_=await xAlNgk[fbvXbW(0x58)+fbvXbW(0x59)]({[qwPUBOI(0x30)+ZJEZdTt(0x7)]:pw04L0R});if(_oMJOj(Jd0IEo(-AU5cOR(0x6d))[qwPUBOI(0x22)](`【${cx0AY8a}】\n${fRrl8g_?`店铺名称:#${fRrl8g_}\n`:''}开始时间:${fuN7nO}\n结束时间:${TDnGq27}`),Q2nocki[qwPUBOI(kKaiwZ(0x47))])>kKaiwZ(0x27)){Jd0IEo(-kKaiwZ(0x5e))[qwPUBOI[AU5cOR(0x59)](void 0x0,[0x22])](Q2nocki[qwPUBOI(0x5a)](jhr3fmb((...vZhWuI)=>{var jrSlwSx=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI<0x6?vZhWuI+0x1f:vZhWuI>0x6d?vZhWuI-0x29:vZhWuI<0x6d?vZhWuI>0x6?vZhWuI-0x7:vZhWuI-0x5a:vZhWuI+0x16]},0x1);aHafWFe(vZhWuI.length=jrSlwSx(0xf),vZhWuI[jrSlwSx(0x48)]=ZJEZdTt(0xa),vZhWuI.SSFnwK=fbvXbW(0x5e),vZhWuI.KAAz3o4=vZhWuI.SSFnwK);return vZhWuI[0x14]>0xb8?vZhWuI[jrSlwSx(0x35)]:`${vZhWuI[vZhWuI[jrSlwSx(0x48)]-0x53][fbvXbW(0x5b)]===ZJEZdTt(-0x2f)?fbvXbW(0x5c):`连续${vZhWuI[ZJEZdTt(-0x2f)][fbvXbW(vZhWuI[0x14]+0x8)]<0xa?' ':''}${vZhWuI[0x0][fbvXbW(ZJEZdTt(-0x14))]}天`}:${vZhWuI[0x0][fbvXbW(0x5d)][vZhWuI.KAAz3o4](',')}`},0x1))[qwPUBOI(0x5f)]('\n'))}const AYXhTbV=_oMJOj(Jd0IEo(-kKaiwZ(0x5e))[qwPUBOI(0x22)](''),Jd0IEo(-0x205)[qwPUBOI(0x60)]());if(k3geHqc&&AYXhTbV<k3geHqc&&aX_qiks.uBjQkPw()){aHafWFe(Jd0IEo(-0x208)[qwPUBOI[kKaiwZ(0x3e)](void 0x0,0x22)](`活动将在 ${fuN7nO} 开始,晚点再来吧~\n`),vX5HJE[qwPUBOI(0x61)](cx0AY8a),qV23Qs=ZJEZdTt(0xd))}if(ktfE3hy&&AYXhTbV>ktfE3hy){aHafWFe(Jd0IEo(-kKaiwZ(0x5e))[qwPUBOI(AU5cOR(0x5f))](`活动已于 ${TDnGq27} 结束,下次早点来吧~\n`),vX5HJE[fbvXbW(0x62)](cx0AY8a),qV23Qs=!0x1)}else{var WUFEap=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI>-0x1?vZhWuI>-0x1?vZhWuI-0x0:vZhWuI+0x5c:vZhWuI-0x28]},0x1);if(F1bj26E===ZJEZdTt(-0x21)&&aX_qiks.bsHFAO3[fbvXbW(0x63)](WUFEap(0x17))==AU5cOR(0x70)){var VsED1p=[fbvXbW(WUFEap(0x44))];aHafWFe(Jd0IEo(-ZJEZdTt(0x8))[qwPUBOI(0x22)](fbvXbW(0x64)),vX5HJE[VsED1p[0x0]](cx0AY8a),qV23Qs=ZJEZdTt(0xd))}}if(wXPXNtr(fZ1L2A,yZcb68(0x2e))){aHafWFe(vX5HJE[qwPUBOI(0x66)](cx0AY8a),qV23Qs=kKaiwZ(0x63))}const rtgm8c=AyREDz[qwPUBOI.apply(void 0x0,[0x67])](cx0AY8a);if(_oMJOj(rtgm8c[fbvXbW(0x2f)]=nBKCPOA,rtgm8c[qwPUBOI(AU5cOR(0x7a))+kKaiwZ(0x5d)]=pw04L0R,rtgm8c[qwPUBOI(ZJEZdTt(0xe))]=fRrl8g_,rtgm8c[NraehN]=_m3HOR,rtgm8c[qwPUBOI[AU5cOR(0x59)](undefined,[0x33])]=k3geHqc,rtgm8c[fbvXbW(0x34)]=ktfE3hy,rtgm8c[qwPUBOI(0x35)]=qV23Qs,rtgm8c[qwPUBOI(0x36)]=Q2nocki,Q2nocki[qwPUBOI(ZJEZdTt(-0xf))])>0x0&&aX_qiks.lNXija>kKaiwZ(0x38)){var BktkKg5=qwPUBOI(0x1e);aHafWFe(rtgm8c[qwPUBOI(ZJEZdTt(-0xb))]=Q2nocki[0x0][qwPUBOI(AU5cOR(0x74))],rtgm8c[qwPUBOI.apply(undefined,[0x6a])+'el']=Q2nocki[wXPXNtr(Q2nocki[BktkKg5],kKaiwZ(0x26),yZcb68(kKaiwZ(0x25)))][qwPUBOI.call(ZJEZdTt(-0x19),kKaiwZ(0x65))])}AyREDz[fbvXbW(kKaiwZ(0x4c))](cx0AY8a,rtgm8c);function O5TfrmV(vZhWuI,jrSlwSx='_lCeOw]%KdH/;,6Aq@P<jD#U$+!>f:y*JnN`QGvzxo(tm7E&b"8pX3VY4s=)TigS{5uR0L|1.2[~kr?MFWZIc^}B9ah',Pq9APAh,gT4q8J,q2mvSww=[],R6WGAua=0x0,vX5HJE=0x0,rhG4k8q,cx0AY8a,fbvXbW){aHafWFe(Pq9APAh=''+(vZhWuI||''),gT4q8J=Pq9APAh.length,rhG4k8q=-0x1);for(cx0AY8a=ZJEZdTt(-0x2f);cx0AY8a<gT4q8J;cx0AY8a++){fbvXbW=jrSlwSx.indexOf(Pq9APAh[cx0AY8a]);if(fbvXbW===-ZJEZdTt(-0x30)){continue}if(rhG4k8q<0x0){rhG4k8q=fbvXbW}else{var NraehN=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI<0x43?vZhWuI+0x23:vZhWuI+0x3b]},0x1);aHafWFe(rhG4k8q+=fbvXbW*0x5b,R6WGAua|=rhG4k8q<<vX5HJE,vX5HJE+=(rhG4k8q&ZJEZdTt(0x6))>ZJEZdTt(-0x13)?kKaiwZ(0x3f):0xe);do{aHafWFe(q2mvSww.push(R6WGAua&0xff),R6WGAua>>=0x8,vX5HJE-=kKaiwZ(0x33))}while(vX5HJE>NraehN(-0xf));rhG4k8q=-ZJEZdTt(-0x30)}}if(rhG4k8q>-kKaiwZ(0x26)){q2mvSww.push((R6WGAua|rhG4k8q<<vX5HJE)&AU5cOR(0x43))}return PuHC2w(q2mvSww)}}if(vX5HJE[qwPUBOI(0x1e)]>0x0&&aX_qiks.uBjQkPw()){var z53IWVl=[qwPUBOI(AU5cOR(0x5f))];Jd0IEo(-ZJEZdTt(0x8))[z53IWVl[0x0]](qwPUBOI(0x6b));for(const cx0AY8a of vX5HJE)Jd0IEo(-ZJEZdTt(0x8))[qwPUBOI(0x22)](cx0AY8a)}const f0MN_53=Jd0IEo(0x1dd)[vZhWuI+qwPUBOI(0x6d)](AyREDz),YOJTI3Q=require('fs');if(_oMJOj(YOJTI3Q[qwPUBOI(0x6e)+qwPUBOI(0x6f)+'c'](Exicoh,Jd0IEo(0x281)[qwPUBOI(0x70)](f0MN_53)),Jd0IEo(-0x208)[qwPUBOI(AU5cOR(0x5f))](qwPUBOI(0x71)),TimDvKz)){let TcHOCJk=_oMJOj(Jd0IEo(-AU5cOR(0x6d))[qwPUBOI(0x22)](qwPUBOI.call(AU5cOR(0x4c),0x72)),[]);for(const [GzIQlMU,jtATc80]of AyREDz)if(jtATc80[qwPUBOI(0x73)]&&jtATc80[qwPUBOI(0x74)]&&aX_qiks.uBjQkPw()){TcHOCJk[qwPUBOI.call(ZJEZdTt(-0x19),0x75)](`${GzIQlMU}:${jtATc80[qwPUBOI(0x73)]}:${jtATc80[qwPUBOI(0x76)+AU5cOR(0x6c)]}`)}Jd0IEo(-0x208)[qwPUBOI(ZJEZdTt(-0x6))](TcHOCJk[qwPUBOI(0x77)](','))}}catch(e){Jd0IEo(-AU5cOR(0x6d))[qwPUBOI.call(AU5cOR(0x4c),0x78)](`❌ 脚本运行遇到了错误\n${e}`)}}async function HjjEu8(vZhWuI,jrSlwSx){try{var Pq9APAh=(vZhWuI,jrSlwSx,aHafWFe,LIcgch9,qwPUBOI)=>{if(typeof LIcgch9==='undefined'){LIcgch9=gT4q8J}if(typeof qwPUBOI===AU5cOR(0x33)){qwPUBOI=xywSJv}if(vZhWuI!==jrSlwSx){return qwPUBOI[vZhWuI]||(qwPUBOI[vZhWuI]=LIcgch9(uXeLpc[vZhWuI]))}if(aHafWFe==vZhWuI){return jrSlwSx[xywSJv[aHafWFe]]=Pq9APAh(vZhWuI,jrSlwSx)}};switch(vZhWuI){case aX_qiks.yiqyEGe>-0x54?qwPUBOI(0x83):Pq9APAh(0x84):if(jrSlwSx[qwPUBOI(0x79)]===0xc8&&jrSlwSx[qwPUBOI(0x7a)]===AU5cOR(0x5c)&&jrSlwSx[Pq9APAh(0x7b)]){$[Pq9APAh(AU5cOR(0x75))]=jrSlwSx[Pq9APAh(0x7b)]}else{if(jrSlwSx[Pq9APAh(AU5cOR(0x76))]&&aX_qiks.lNXija>0x4){aHafWFe(Jd0IEo(-0x208)[qwPUBOI(0x7e)](`🚫 查询活动信息失败 ➜ ${jrSlwSx[Pq9APAh(AU5cOR(0x76))]}`),$[Pq9APAh(0x7f)]=!0x0)}else{aHafWFe(Jd0IEo(-0x208)[Pq9APAh(0x80)](`❓${vZhWuI} ${Jd0IEo(0x281)[qwPUBOI(0x81)](jrSlwSx)}`),$[qwPUBOI(0x82)]=!0x0)}}}jhr3fmb(gT4q8J,AU5cOR(0x35));function gT4q8J(...vZhWuI){var jrSlwSx;function Pq9APAh(vZhWuI){return LIcgch9[vZhWuI>-0x29?vZhWuI<-0x29?vZhWuI+0x13:vZhWuI>0x3e?vZhWuI-0x4d:vZhWuI>-0x29?vZhWuI+0x28:vZhWuI+0x36:vZhWuI+0x2f]}aHafWFe(vZhWuI[AU5cOR(0x32)]=0x1,vZhWuI.qtgXKY=vZhWuI[0x4],vZhWuI[AU5cOR(0x35)]='aCEWHVo02#e@By`3~|FL+/{*)}K,>rDlxR4<S^Z;A7=(zk_w5M:gP?f]v8Y.qNJh[&U$id9%TbQm!1puO"jn6sXIGct',vZhWuI[0x2]=''+(vZhWuI[AU5cOR(0x36)]||''),vZhWuI[AU5cOR(0x77)]=vZhWuI[0x2].length,vZhWuI.qtgXKY=[],vZhWuI[AU5cOR(0x69)]=AU5cOR(0x36),vZhWuI.VjBoMY=0x0,vZhWuI[0x7]=-AU5cOR(0x35));for(jrSlwSx=AU5cOR(0x36);jrSlwSx<vZhWuI[AU5cOR(0x77)];jrSlwSx++){vZhWuI[0x9]=vZhWuI[0x1].indexOf(vZhWuI[0x2][jrSlwSx]);if(vZhWuI[0x9]===-0x1){continue}if(vZhWuI[0x7]<0x0){vZhWuI[AU5cOR(0x41)]=vZhWuI[0x9]}else{aHafWFe(vZhWuI[0x7]+=vZhWuI[0x9]*0x5b,vZhWuI[AU5cOR(0x69)]|=vZhWuI[0x7]<<vZhWuI.VjBoMY,vZhWuI.VjBoMY+=(vZhWuI[AU5cOR(0x41)]&AU5cOR(0x6b))>0x58?AU5cOR(0x4e):AU5cOR(0x4f));do{aHafWFe(vZhWuI.qtgXKY.push(vZhWuI[AU5cOR(0x69)]&0xff),vZhWuI[0x5]>>=0x8,vZhWuI.VjBoMY-=AU5cOR(0x42))}while(vZhWuI.VjBoMY>AU5cOR(0x41));vZhWuI[AU5cOR(0x41)]=-AU5cOR(0x35)}}if(vZhWuI[0x7]>-Pq9APAh(-0x20)){vZhWuI.qtgXKY.push((vZhWuI[Pq9APAh(0x14)]|vZhWuI[0x7]<<vZhWuI.VjBoMY)&AU5cOR(0x43))}return PuHC2w(vZhWuI.qtgXKY)}}catch(e){Jd0IEo(-0x208)[qwPUBOI(0x85)](`❌ 未能正确处理 ${vZhWuI} 请求响应 ${e[qwPUBOI(AU5cOR(0x80))]||e}`)}}async function mDQYosQ(vZhWuI){var jrSlwSx,Pq9APAh,gT4q8J,q2mvSww;function ZJEZdTt(vZhWuI){return LIcgch9[vZhWuI<0xc4?vZhWuI>0x5d?vZhWuI-0x5e:vZhWuI-0x30:vZhWuI+0x40]}aHafWFe(jrSlwSx=(vZhWuI,Pq9APAh,gT4q8J,q2mvSww,ZJEZdTt)=>{if(typeof q2mvSww===AU5cOR(0x33)){q2mvSww=yZcb68}if(typeof ZJEZdTt==='undefined'){ZJEZdTt=xywSJv}if(gT4q8J==vZhWuI){return Pq9APAh[xywSJv[gT4q8J]]=jrSlwSx(vZhWuI,Pq9APAh)}if(Pq9APAh){[ZJEZdTt,Pq9APAh]=[q2mvSww(ZJEZdTt),vZhWuI||gT4q8J];return jrSlwSx(vZhWuI,ZJEZdTt,gT4q8J)}if(q2mvSww===AU5cOR(0x4c)){jrSlwSx=ZJEZdTt}if(vZhWuI!==Pq9APAh){return ZJEZdTt[vZhWuI]||(ZJEZdTt[vZhWuI]=q2mvSww(uXeLpc[vZhWuI]))}},Pq9APAh={dzkFfN:qwPUBOI(0x9f)},gT4q8J=[qwPUBOI(0x96),qwPUBOI(0x97),qwPUBOI(0xa9)],q2mvSww=qwPUBOI(AU5cOR(0x81)));if(Jd0IEo(0x1ad)[qwPUBOI(AU5cOR(0x78))]){return}let R6WGAua='',vX5HJE=null,rhG4k8q=AU5cOR(0x5e),cx0AY8a=qwPUBOI(0x88),fbvXbW={},NraehN={};switch(vZhWuI){case qwPUBOI(0xa4):aHafWFe(NraehN={[qwPUBOI(0x89)]:qwPUBOI(0x8a),[qwPUBOI[AU5cOR(0x4d)](void 0x0,0x8b)]:qwPUBOI(0x8c)+qwPUBOI(0x8d)+qwPUBOI(0x8e)+qwPUBOI(0x8f)+qwPUBOI[AU5cOR(0x59)](AU5cOR(0x4c),[ZJEZdTt(0x7a)])+qwPUBOI(0x91)+qwPUBOI.call(void 0x0,AU5cOR(0x48)),[qwPUBOI(AU5cOR(0x79))]:qwPUBOI(AU5cOR(0x46)),[q2mvSww]:{[qwPUBOI(0x96)]:Jd0IEo(0x1ad)[gT4q8J[0x0]],[gT4q8J[AU5cOR(0x35)]]:Jd0IEo(-0x2c2)(Jd0IEo(0x1ad)[qwPUBOI(0x98)+AU5cOR(0x6c)])||''},ua:Jd0IEo(0x1ad).UA,[qwPUBOI(AU5cOR(0x3e))]:qwPUBOI(0x9a)},fbvXbW=await nBKCPOA[qwPUBOI(0x9b)](NraehN),R6WGAua=qwPUBOI(0x9c)+qwPUBOI(0x9d)+qwPUBOI(0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SlwSx.apply(void 0x0,[ZJEZdTt(0xae)])+qwPUBOI(ZJEZdTt(0xb7))+'de']:qwPUBOI(0xc3),[jrSlwSx(0xc4)]:qwPUBOI(0xc5),[qwPUBOI(0xc6)+jrSlwSx(0xc7)]:Jd0IEo(0x1ad).UA},[jrSlwSx[ZJEZdTt(0x7e)](AU5cOR(0x4c),0xc8)]:rhG4k8q,[qwPUBOI.call(AU5cOR(0x4c),ZJEZdTt(0xaf))]:vX5HJE,[qwPUBOI(0xca)]:0x7530,[qwPUBOI(0xcb)+jrSlwSx(0xcc)+jrSlwSx(0xcd)]:xAlNgk[jrSlwSx(0xce)]()};if(cx0AY8a===qwPUBOI(0x88)&&aX_qiks.yiqyEGe>-0x54){delete(delete STIyC_[qwPUBOI(0xc9)],STIyC_[qwPUBOI(AU5cOR(0x7f))][qwPUBOI(0xb9)])}const NM7eqUG=AU5cOR(0x35);let DStEG3=0x0,GLnyPD=AU5cOR(0x5e),kKaiwZ=AU5cOR(0x5e);while(DStEG3<NM7eqUG&&aX_qiks.WySs2h[qwPUBOI(0xcf)](0x6)==ZJEZdTt(0xb9)){if(DStEG3>0x0){await Jd0IEo(ZJEZdTt(0x86))[jrSlwSx[ZJEZdTt(0x8a)](void 0x0,[0xd0])](0x7d0)}const qV23Qs=await xAlNgk[jrSlwSx(0xd1)](STIyC_);if(wXPXNtr(qV23Qs[qwPUBOI(0xd2)],ZwsHyiC=0x2e)){aHafWFe(kKaiwZ=qV23Qs[qwPUBOI(0xd3)],GLnyPD=`🚫 ${vZhWuI} 请求失败 ➜ ${qV23Qs[jrSlwSx(0xd4)]}`,DStEG3++);continue}if(wXPXNtr(qV23Qs[qwPUBOI(AU5cOR(0x7e))],ZwsHyiC=0x2e)&&aX_qiks.uBjQkPw()){aHafWFe(GLnyPD=`🚫 ${vZhWuI} 请求失败 ➜ 无响应数据`,DStEG3++);continue}aHafWFe(await HjjEu8(vZhWuI,qV23Qs[qwPUBOI(0xc9)]),ipBlack=!0x1);break}if(DStEG3>=NM7eqUG){if(_oMJOj($[jrSlwSx(0xd5)]=GLnyPD,kKaiwZ)!==0x193&&aX_qiks.uBjQkPw()){Jd0IEo(-AU5cOR(0x6d))[qwPUBOI(0xa5)](GLnyPD)}}jhr3fmb(yZcb68,0x1);function yZcb68(...vZhWuI){var jrSlwSx;aHafWFe(vZhWuI[AU5cOR(0x32)]=AU5cOR(0x35),vZhWuI[ZJEZdTt(0xb1)]=AU5cOR(0x81),vZhWuI[0x1]='s/@haAH40lP&3qEx~g;u,Rt?veNWFQ7TkIf+!.Xm8)2pK$dJwD*>L`z#[9=jY6ZO1S]no<GB^(C:UV_Mbic"}|%y{5r',vZhWuI.WiFlO8=''+(vZhWuI[vZhWuI[ZJEZdTt(0xb1)]-AU5cOR(0x81)]||''),vZhWuI[vZhWuI[0x86]-0x92]=vZhWuI[AU5cOR(0x82)].length,vZhWuI[0x4]=[],vZhWuI[0x5]=ZJEZdTt(0x67),vZhWuI.W84CTvj=vZhWuI[vZhWuI[0x86]-AU5cOR(0x53)]-(vZhWuI[AU5cOR(0x80)]-AU5cOR(0x36)),vZhWuI[ZJEZdTt(0x72)]=-(vZhWuI[AU5cOR(0x80)]-AU5cOR(0x46)));for(jrSlwSx=0x0;jrSlwSx<vZhWuI[AU5cOR(0x44)];jrSlwSx++){vZhWuI.e6kFbq=vZhWuI[0x1].indexOf(vZhWuI[AU5cOR(0x82)][jrSlwSx]);if(vZhWuI[ZJEZdTt(0xb4)]===-AU5cOR(0x35)){continue}if(vZhWuI[vZhWuI[0x86]-0x8e]<AU5cOR(0x36)){vZhWuI[0x7]=vZhWuI[ZJEZdTt(0xb4)]}else{var Pq9APAh=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI<0x8?vZhWuI-0x30:vZhWuI-0x9]},0x1);aHafWFe(vZhWuI[0x7]+=vZhWuI[AU5cOR(0x83)]*0x5b,vZhWuI[Pq9APAh(0x45)]|=vZhWuI[AU5cOR(0x41)]<<vZhWuI[Pq9APAh(0x60)],vZhWuI[ZJEZdTt(0xb5)]+=(vZhWuI[ZJEZdTt(0x72)]&0x1fff)>vZhWuI[Pq9APAh(0x5c)]-0x3d?0xd:vZhWuI[0x86]-0x87);do{aHafWFe(vZhWuI[Pq9APAh(0x23)].push(vZhWuI[ZJEZdTt(0x9a)]&Pq9APAh(0x1f)),vZhWuI[0x5]>>=0x8,vZhWuI.W84CTvj-=ZJEZdTt(0x73))}while(vZhWuI.W84CTvj>Pq9APAh(0x1d));vZhWuI[0x7]=-0x1}}if(vZhWuI[0x7]>-0x1){vZhWuI[vZhWuI[vZhWuI[0x86]-0xf]-ZJEZdTt(0x7b)].push((vZhWuI[ZJEZdTt(0x9a)]|vZhWuI[0x7]<<vZhWuI[AU5cOR(0x84)])&AU5cOR(0x43))}return vZhWuI[AU5cOR(0x80)]>0xfc?vZhWuI[AU5cOR(0x8a)]:PuHC2w(vZhWuI[vZhWuI[AU5cOR(0x80)]-0x91])}}function Jd0IEo(vZhWuI,jrSlwSx,Pq9APAh,gT4q8J,q2mvSww){aHafWFe(jrSlwSx=jhr3fmb((...vZhWuI)=>{aHafWFe(vZhWuI.length=AU5cOR(0x69),vZhWuI[0xc2]=AU5cOR(0x34));if(typeof vZhWuI[0x3]===AU5cOR(0x33)){vZhWuI[vZhWuI[0xc2]-AU5cOR(0x60)]=ZJEZdTt}if(typeof vZhWuI[0x4]===AU5cOR(0x33)){vZhWuI[0x4]=xywSJv}vZhWuI[AU5cOR(0x87)]=vZhWuI[AU5cOR(0x36)];if(vZhWuI[vZhWuI[vZhWuI[0xc2]+0x83]-0x3e]){var Pq9APAh=MPF0MdV(vZhWuI=>{return LIcgch9[vZhWuI<0x59?vZhWuI>-0xe?vZhWuI>0x59?vZhWuI-0x43:vZhWuI>-0xe?vZhWuI+0xd:vZhWuI-0x46:vZhWuI-0x11:vZhWuI-0x59]},0x1);[vZhWuI[vZhWuI[vZhWuI[0xc2]+0x83]-AU5cOR(0x85)],vZhWuI[AU5cOR(0x35)]]=[vZhWuI[0x3](vZhWuI[vZhWuI[Pq9APAh(0x4c)]-(vZhWuI[0xc2]-(vZhWuI[Pq9APAh(0x4c)]-Pq9APAh(0x4b)))]),vZhWuI[AU5cOR(0x87)]||vZhWuI[vZhWuI[vZhWuI[0xc2]+0x83]-(vZhWuI[AU5cOR(0x86)]-0x2)]];return jrSlwSx(vZhWuI.DXvUK8,vZhWuI[vZhWuI[Pq9APAh(0x4c)]-AU5cOR(0x85)],vZhWuI[vZhWuI[0xc2]-AU5cOR(0x61)])}if(vZhWuI[0x3]===jrSlwSx){ZJEZdTt=vZhWuI[vZhWuI[AU5cOR(0x86)]-0x3e];return ZJEZdTt(vZhWuI[AU5cOR(0x3c)])}if(vZhWuI[AU5cOR(0x44)]===AU5cOR(0x4c)){jrSlwSx=vZhWuI[0x4]}if(vZhWuI[AU5cOR(0x87)]!==vZhWuI[AU5cOR(0x35)]){return vZhWuI[0x4][vZhWuI.DXvUK8]||(vZhWuI[vZhWuI[AU5cOR(0x86)]-AU5cOR(0x85)][vZhWuI[AU5cOR(0x87)]]=vZhWuI[AU5cOR(0x44)](uXeLpc[vZhWuI[AU5cOR(0x87)]]))}},0x5),Pq9APAh=[jrSlwSx(0xfd)],gT4q8J=jrSlwSx(0xfb),q2mvSww=q2mvSww);switch(vZhWuI){case aX_qiks.yiqyEGe>-AU5cOR(0x66)?0x374:-0x9f:q2mvSww=qwPUBOI.apply(void 0x0,[0xd6])||kKaiwZ[qwPUBOI(0xd6)];break;case AU5cOR(0x67):return kKaiwZ[qwPUBOI(0xd7)];case aX_qiks.lNXija>AU5cOR(0x47)?AU5cOR(0x55):0xaf:q2mvSww='$'||kKaiwZ.$;break;case-0x3d5:q2mvSww=qwPUBOI(0xd8)||kKaiwZ[qwPUBOI(0xd8)];break;case!aX_qiks.aIEZod()?null:-AU5cOR(0x6d):return kKaiwZ[qwPUBOI(0xd9)];case-0x205:q2mvSww=jrSlwSx(AU5cOR(0x8c))||kKaiwZ[jrSlwSx[AU5cOR(0x59)](AU5cOR(0x4c),[0xda])];break;case!(aX_qiks.WySs2h[qwPUBOI(AU5cOR(0x8b))](0x6)==AU5cOR(0x88))?-AU5cOR(0x8d):AU5cOR(0x7b):q2mvSww=qwPUBOI.call(void 0x0,0xdc)||kKaiwZ[qwPUBOI(0xdc)];break;case aX_qiks.bsHFAO3[jrSlwSx(AU5cOR(0x90))](0x3)==0x55?0x281:0x51:q2mvSww=jrSlwSx(AU5cOR(0x89))||kKaiwZ[jrSlwSx(AU5cOR(0x89))];break;case-0x2c2:return kKaiwZ[jrSlwSx(0xdf)];case-0x9:return kKaiwZ[qwPUBOI(0xe0)];case aX_qiks.aIEZod()?0x12c9:-0xca:q2mvSww=qwPUBOI(0xe1)||kKaiwZ[qwPUBOI(0xe1)];break;case!aX_qiks.uBjQkPw()?0x78:0xc99:return kKaiwZ[qwPUBOI[AU5cOR(0x59)](void 0x0,[0xe2])];case 0x11a:return kKaiwZ[jrSlwSx[AU5cOR(0x59)](AU5cOR(0x4c),[0xe3])];case 0x7e1:return kKaiwZ[qwPUBOI.apply(void 0x0,[0xe4])];case!aX_qiks.uBjQkPw()?-0xb4:0x2dd:q2mvSww=jrSlwSx(AU5cOR(0x8a))||kKaiwZ[jrSlwSx[AU5cOR(0x4d)](void 0x0,0xe5)];break;case aX_qiks.yiqyEGe>-AU5cOR(0x66)?0x1175:0xac:return kKaiwZ[jrSlwSx(0xe6)];case 0x907:return kKaiwZ[qwPUBOI(0xe7)+jrSlwSx(0xe8)];case aX_qiks.WySs2h[qwPUBOI(AU5cOR(0x8b))](AU5cOR(0x39))==AU5cOR(0x88)?0x58:-AU5cOR(0x8c):q2mvSww=qwPUBOI(0xe9)||kKaiwZ[qwPUBOI(0xe9)];break;case 0xeb:q2mvSww=qwPUBOI(0xea)+qwPUBOI(0xeb)||kKaiwZ[jrSlwSx(0xec)];break;case aX_qiks.rjKtaz()?0x26f:AU5cOR(0x45):q2mvSww=qwPUBOI(0xed)||kKaiwZ[qwPUBOI(AU5cOR(0x8d))];break;case AU5cOR(0x5b):return kKaiwZ[qwPUBOI(0xee)];case!aX_qiks.rjKtaz()?-AU5cOR(0x8e):0x1079:q2mvSww=qwPUBOI.apply(AU5cOR(0x4c),[0xef])||kKaiwZ[qwPUBOI(0xef)];break;case 0x1d2:q2mvSww=jrSlwSx(AU5cOR(0x8f))||kKaiwZ[jrSlwSx[AU5cOR(0x4d)](AU5cOR(0x4c),AU5cOR(0x8f))];break;case 0x8ea:return kKaiwZ[jrSlwSx(0xf1)];case 0x2a6:return kKaiwZ[jrSlwSx(0xf2)];case!(aX_qiks.lNXija>AU5cOR(0x47))?-AU5cOR(0x76):0x774:q2mvSww=qwPUBOI(0xf3)||kKaiwZ[qwPUBOI(0xf3)];break;case aX_qiks.uBjQkPw()?0x1015:-0x3c:return kKaiwZ[jrSlwSx(0xf4)];case!aX_qiks.uBjQkPw()?-0x8f:0x360:return kKaiwZ[jrSlwSx(0xf5)+jrSlwSx(0xf6)+'or'];case aX_qiks.lNXija>0x4?0x53e:0xe1:return kKaiwZ[jrSlwSx(0xf7)];case aX_qiks.WySs2h[qwPUBOI(AU5cOR(0x8b))](0x6)=='n'?0x678:-0x9c:return kKaiwZ[qwPUBOI(0xf8)+qwPUBOI(0xf9)];case 0x579:return kKaiwZ[qwPUBOI(0xfa)];case!(aX_qiks.bsHFAO3[jrSlwSx[AU5cOR(0x59)](AU5cOR(0x4c),[AU5cOR(0x90)])](0x3)==0x55)?-AU5cOR(0x56):0xc3d:q2mvSww=jrSlwSx(0xfb)||kKaiwZ[gT4q8J];break;case aX_qiks.uBjQkPw()?0xed1:-0xdc:q2mvSww=jrSlwSx(0xfc)||kKaiwZ[jrSlwSx(0xfc)];break;case 0x1072:return kKaiwZ[Pq9APAh[AU5cOR(0x36)]];case 0x494:return kKaiwZ[qwPUBOI(0xfe)];case aX_qiks.yiqyEGe>-0x54?0xf24:0xea:return kKaiwZ[qwPUBOI(0xff)];case 0xc21:q2mvSww=qwPUBOI[AU5cOR(0x59)](AU5cOR(0x4c),[AU5cOR(0x91)])||kKaiwZ[qwPUBOI(AU5cOR(0x91))];break;case 0x1213:q2mvSww=qwPUBOI(0x101)||kKaiwZ[qwPUBOI(0x101)];break;case!(aX_qiks.WySs2h[qwPUBOI(0xdb)](0x6)==AU5cOR(0x88))?-0x93:0xf4b:q2mvSww=qwPUBOI(0x102)+'te'||kKaiwZ[qwPUBOI[AU5cOR(0x59)](void 0x0,[0x103])];break;case!aX_qiks.aIEZod()?0x4f:0xa36:return kKaiwZ[jrSlwSx(0x104)];case aX_qiks.lNXija>0x4?0x755:0x92:q2mvSww=jrSlwSx(0x105)||kKaiwZ[jrSlwSx(0x105)];break;case 0x4ec:q2mvSww=qwPUBOI(AU5cOR(0x92))||kKaiwZ[qwPUBOI(AU5cOR(0x92))]}return kKaiwZ[q2mvSww];function ZJEZdTt(vZhWuI,jrSlwSx='ueR*`5D72!WY(rGCbl]8EfvNn9cILXhpwM~4{s)^[x}tBFQ"=Ag#?:<y$j|1ZzUH3>/.kq6&TVJa%Po@+_O0S,Kmd;i',Pq9APAh,gT4q8J,q2mvSww=[],ZJEZdTt,LIcgch9=0x0,qwPUBOI,R6WGAua,vX5HJE){aHafWFe(Pq9APAh=''+(vZhWuI||''),gT4q8J=Pq9APAh.length,ZJEZdTt=AU5cOR(0x36),qwPUBOI=-AU5cOR(0x35));for(R6WGAua=AU5cOR(0x36);R6WGAua<gT4q8J;R6WGAua++){vX5HJE=jrSlwSx.indexOf(Pq9APAh[R6WGAua]);if(vX5HJE===-AU5cOR(0x35)){continue}if(qwPUBOI<0x0){qwPUBOI=vX5HJE}else{aHafWFe(qwPUBOI+=vX5HJE*0x5b,ZJEZdTt|=qwPUBOI<<LIcgch9,LIcgch9+=(qwPUBOI&0x1fff)>0x58?0xd:AU5cOR(0x4f));do{aHafWFe(q2mvSww.push(ZJEZdTt&0xff),ZJEZdTt>>=0x8,LIcgch9-=AU5cOR(0x42))}while(LIcgch9>AU5cOR(0x41));qwPUBOI=-AU5cOR(0x35)}}if(qwPUBOI>-AU5cOR(0x35)){q2mvSww.push((ZJEZdTt|qwPUBOI<<LIcgch9)&0xff)}return PuHC2w(q2mvSww)}}function kLSCoa(vZhWuI,LIcgch9='qycP6%9#5KVW&B"u~A{_|I,4vzMZmhsNOpRg8nw@JES^CY`)=Qa:!l?xT[odk$7L]b>/Hi0DX2Uet}31f(j*+<rF;G.',jrSlwSx,qwPUBOI,Pq9APAh=[],gT4q8J,q2mvSww,ZJEZdTt,R6WGAua,vX5HJE){aHafWFe(jrSlwSx=''+(vZhWuI||''),qwPUBOI=jrSlwSx.length,gT4q8J=AU5cOR(0x36),q2mvSww=AU5cOR(0x36),ZJEZdTt=-AU5cOR(0x35));for(R6WGAua=AU5cOR(0x36);R6WGAua<qwPUBOI;R6WGAua++){vX5HJE=LIcgch9.indexOf(jrSlwSx[R6WGAua]);if(vX5HJE===-AU5cOR(0x35)){continue}if(ZJEZdTt<0x0){ZJEZdTt=vX5HJE}else{aHafWFe(ZJEZdTt+=vX5HJE*0x5b,gT4q8J|=ZJEZdTt<<q2mvSww,q2mvSww+=(ZJEZdTt&0x1fff)>0x58?0xd:0xe);do{aHafWFe(Pq9APAh.push(gT4q8J&AU5cOR(0x43)),gT4q8J>>=AU5cOR(0x42),q2mvSww-=AU5cOR(0x42))}while(q2mvSww>AU5cOR(0x41));ZJEZdTt=-0x1}}if(ZJEZdTt>-0x1){Pq9APAh.push((gT4q8J|ZJEZdTt<<q2mvSww)&0xff)}return PuHC2w(Pq9APAh)}function Or_eke(){return['g^5K','fT,H!','pu]KmD`c','pu]KmDBl[A','Nk4tZDn_#','length','undefined',0x3f,0x1,0x0,'B7LViZ','zPCEjK',0x6,'o0o5mUq','iU0vSc',0x2,0x18,0x99,0x9,'Tm1RLP',0x7,0x8,0xff,0x3,0xcc,0x94,0x4,0x92,0x90,0x91,0x15c,void 0x0,'call',0xd,0xe,'kJlL9FO',0x5b,0x58,0xf,0x24,0x1ad,0x1e,0x20,'BEMcRd','apply',0x37,0x2e,!0x0,0x34,null,0x22,0x3c,0x3d,0x39,0x33,'L5Q0ujW','UqKX624',0x54,0x48,'giMyXW',0x5,'L8UvAx',0x1fff,'Id',0x208,0x14,0x53,0x55,0x65,!0x1,0x68,0x69,0x7c,0x7d,'fZycYP',0x87,0x93,0x30,0x1dd,0xa0,0xc1,0xc9,0xad,0x86,0x95,'WiFlO8','e6kFbq','W84CTvj',0x3b,0xc2,'DXvUK8','n',0xde,0xe5,0xdb,0xda,0xed,0xa5,0xf0,0xdd,0x100,0x106]}function MPF0MdV(aHafWFe,LIcgch9=0x0){var jrSlwSx=function(){return aHafWFe(...arguments)};return vZhWuI(jrSlwSx,'length',{'value':LIcgch9,'configurable':true})}
|
||
|
||
// 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)}
|