faker3/jd_autock.js
2024-12-09 14:08:14 +08:00

19 lines
50 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://thin-hill-428.notion.site/N0-6-13daae1a9ef880e29e77d9abc392a2db?pvs=4
环境变量:
LUFLY_API 你的内网或公网lufly地址
LUFLY_USERNAME lufly管理员用户名
LUFLY_PASSWORD lufly管理员密码
WXPUSHER_TOKEN 懂得都懂
cron:0 3 * * * jd_autock.js
*/
const $ = new Env('青龙路飞账密更新工具')
function fakergmqjk(){}var fakergdlxt=Object['defineProperty'],fakervzp22,fakerk6llmo,fakerqiui27,fakere5d3s,fakerm25ws,faker4zxqlm,faker7hxyir,faker6wsxa,fakerm470uy,faker93i0ai,fakerh91emp,faker0bmypy,faker76cvf,fakervpx6f5,fakerzs23te,fakerkzy10o,fakerzp0bei,fakerlaanxv;function fakerfzbjqb(fakergmqjk){return fakervzp22[fakergmqjk<0x14?fakergmqjk-0x31:fakergmqjk<0x3a?fakergmqjk<0x14?fakergmqjk+0x33:fakergmqjk<0x3a?fakergmqjk-0x15:fakergmqjk+0x60:fakergmqjk+0x50]}fakervzp22=faker556dl();var fakerivs11h=[],fakerzc74d=['.JHy5{rc','@?M#G`/x','TUvl?qox','hO(&','SGVzsavK?G|','SGVzsamR{G3@3}F%2Q','SGVzsaYxh)V%Lu4w^Q','U^ktLnvtUGGw"(DoyQ',fakerfzbjqb(0x16),fakerfzbjqb(0x15),'AE:|tmN.&N?8b3,:o+![yF0^)mgaRX5tF7i5G7,Zx',fakerfzbjqb(0x17),'RIp7.Dno"!@vYPVEgT!A','_li5;`@66>','ff{`Qi3r{>',fakerfzbjqb(0x18),'SGQA|4C=5!8c`f8:o+![yFKe#$tFHK',fakerfzbjqb(0x1a),'^kc`U1Q','SGQA|4C=5!8c`f8:o+![yFe%0.#q,tK','oF{`B^|Rz','^kc`U1Q','4gn#V?wI|nYlHV#??U*.n`MW!Tf5c>E:NjBmb><d1Rt',fakerfzbjqb(0x19),fakerfzbjqb(0x15),'AE:|tmCTID~hLGx|P,`x/&F7%@Nhv:VEhTENq"fenT3Piq0V<Q',fakerfzbjqb(0x16),fakerfzbjqb(0x17),'RIp7.Dno"!@vYP"WYfI','ffk7iNBx','CFkYw,pCK','UU*.n`Q',fakerfzbjqb(0x18),'=Fm`y:Tx','`*k]2>N','4gn#V?wIq)v+jF{poHrmeV_&{q:ksK)3[qH',fakerfzbjqb(0x19),'^kc`U1Q','4gn#V?wIq)v+jF{poHrmeV_&Gt)DT!leT0L1@qu5u4z_cx','?gAG8s._~',fakerfzbjqb(0x16),'6Cmo','dCPaA','RIp7.DgCN>_+PSD|]OFf.yQ','_li5;`@66>',fakerfzbjqb(0x1b),'XC/<2','OxU?C)I',fakerfzbjqb(0x19),'^kc`U1Q','Z~b#BUf(!Tf5c>E:NjBmb><d1Rt',fakerfzbjqb(0x19),'SI_7o','EUr&t','RIp7.DgCN>_+PSD|]Oa,(sAC19','_li5;`@66>','TUR.@','pUYA','?fzL%','Q?e8U&tlfRI8d9V','^kc`U1Q','GlYA','^kc`U1Q','j&t)E"xUz~z5L!E:(3@mXHg/&`7"F47cz%lpks=jw&',fakerfzbjqb(0x19),'pUYA','9F0&','^kc`U1Q','v/%p{b/F~;s$NAeOf8o&]h0_e#V?5M>,]n~>~:?/}X','oF{`B^|Rz','tFkY<]626>','8^,N::(CR0N]H','.Bf`g$nora/](~H|`m;TeukP}Yt~(~r','.Bf`^2C:H3ELRr@g,=Y]F:C:z','8^_7n`9x','Zki5?q$RAml','(80&AgE4nYn`xx"VSER]E(>HUY','tF"L(4Q','<T?7Z:Q','ffc`.,Q',fakerfzbjqb(0x1a),'ikBA','K<,N},V|%m','RFc542Tx&>fPk#}','RFc542f|&>r6gf','x}oOe0a;oan','(Uh&','CFkYw,pCK','}A".fZex','F2j=1,!Fl$[bgT{7zlY=','r{0&7yr5B+;s|S6#',')lsl%','SI_7o','&fI77,Q','Hf^`(sQ','h8p7G`Q','B8kYLuBx',fakerfzbjqb(0x15),'_li5;`@66>',fakerfzbjqb(0x1b),'(U_7x~{x','L,p7@','6^p79:#R&m','ffk7iNBx',fakerfzbjqb(0x1c),'^kc`U1Q','pUYA','^kc`U1Q','=Fm`y:Tx','pUYA','%:b}?MJI|nYlHV#?4gn#V?O.zoLkHME1};W$"yR!]3T~a8JBFo0}M','6WBA','Hf1A','h8p7G`Q',fakerfzbjqb(0x15),fakerfzbjqb(0x15),'pUYA','`%w)tmB@fyz57>^1Gc9vSYKe(@','uI^`(sQ',fakerfzbjqb(0x1c),'x$hV?M=7E2icc>E:NjBmb><d1Rt','^lycBk*nC{oaH{6#r7@y{57Jb}Lsv(VO`kl.H~,8}9','8Aos5~"1na<wH','DBLNH5oR$!21vBH>]()lU;an6mn1b]@pbaH','.^T%q{TqA>rRp$~9AqM%>,$^Q+eNjFyTsGFys2`r=![_|~/#','xl5&V:4>E!;+:f','wqRL;E)9VFtrh~kg(,".Q<hr*rH%mFQR[s#c;BttUmmWO%0w','Pa*NBkXKEmF>9;,.J,Pzg3On]+:)R(,9eQ','%TGt<`;HXl<}2fVEoUgzVe`kQ{v9)I0w>,bXc)Q','v(f`f~X:&}0N!fLg~?Rfbcpp@}a+MrQo+(ol7s]H','AO<.DP1o@>e?y:~9GGJ`qqI5B9/','=OG7x:CHwvFZW(@tRvI','emQzlEPgelN`~oh#','u(f&j,7R/}7}H','U865y#MOplb_Q','x]aA;kB*J}+1n$gC+s8kj#86HA`3HVbV`.ctL3[>q}y3g~t>','tWI`L<)<V{pIE}E#Y88l}#Q','COAyiNJ!V+>RJ%A9lOj]bSKKX&t>~I','yz1lxaLtX','mFN5::J|{ad_U}3oHA5.}apt!33w5f','2l[z^ZinMaqp$@z(QqXKyq;P4lQ(y@QUrH','3lM~8iIg19p','vs)AE(PP<9$f/SA','[he`q2$R8va+H','`G"f0NG=:{O1s{z','(z=fX|yW13lKri0w/kJ`M(&<JaA(fE"O:mU`,ZhPf',';mm`}qBRZJJ&5fSwC8QAc)q96?KIlrn=wvER0','emRKn$[p)nTkHB^.b>Oz','j?7lx{d=SJ@amPA.NQ','.OIX@,`rGGg2"ToWMa}.sBox','>AQRPkEr1J',')^=]{<dKmr3]J,OT$Q','RW`e"y9|[r1HE#zoRA7zk$N<uF{G/,?EoTFAZN+9I','Kp.N,:l^{aXVgVotdw)z222k)n;`T]@tf,=sRc>2xJ1$H','wA96r2$nF9".Hif#L=OANL>tlCD','WU5.f5Q','b>e7Bi[g6azrST+(:@#f+|_k:JDaA{8t{vj]:|Q','Ht;Lek&Y#n|o5f@p9{8z','YTe%0ORo:8Ar<]t>}H','ZWS5QEFg0nHxABJTpJslT8MJw}+1H','gOr&dS?HOrLs.uO#%tRN"8Q','`^vY[,<9Na9~Gn*"ha;K','rTtLfZPC9Cn0E}fRyv*NH{`k3Fd|JISWwOXKbG~9^!VI`~J','UO_t*4wx','zJz.{ngp`a(WH','V(zc#]]C93s$;@Qt2hSXP(.Cx8IuX{@g<A=cxBAHbvg0QFA','imJq7P*cZYuFM;6EgURfU6in{}8','avBkyBbOI!zn;Bbw','UJoA53(KVJ9zJFRt7BS`$e|R]3)N_IMCKJ9%VLcO5r%vH~)M','G,6tt;jc*CKu:1?T%,RAn5H:V9UL~Ijp(l;f"','0^NtJ|Von}T','zpQz$|o<ZFe>":J','Eq/&$LQ','~}4,eu9x5!afy@eOfU{t4Ngp|l[_KFF','ClHl18k=Ynl1GuOCeTm`/(FHj>q@fEtt3vZAtpB<;Y%L[x','>8Dlg;*aEr4q=xlp>Fwq8<zou3gc2o6Cd>I','t<7R3WeO1Jp~<rbtdh+tuS*OuAd`|I2#','bMlN?L_gm!XZNGIRDU(K6qEr33%rP}Q>lQ','*mOlf52K=mS$E#;t','ch$.Qq$o.{BG&:9ORA]l^~8gK','M,SX#sMJlCd{WX','xlI~$LGr.9d$_%9mkhzN}2pPYvdXw%VE','pWoz3WXgUv)','g=`e<3e<O>!Ge;A','avt&*eG4;?[F8V(@xF$wS8Q','Nh*,5~c<+{n$KE%>#J?`C','>TOAZ21c79O','FUVlia+z)mOGGn##)Q','E(vlg;Yov99RH|nwPvkY}|Z8N>','usaNkksHM>>R=ejWkI@61|O1Tm]NCG2C',',B^&.sd>HAL','JU,wWlY<UvfxtV0%`="KVS}<"r>Ri,4gJ,VR2Wkts>]w(f','!w(.9e@2wa)','SMl.*N28S{~$3$9Oykb5_W&Rkl@m:1)p$hVyTGQ','r9S5Bk7J{G3snnjV^smtJeQ','}zPc]^{1vFkNQ','as@khp_p;5]0b]AE{vU7c<rKuloL1,XCfTyKQi#oV06?}XK','@OtKjeJ$z','G^*c4eioV+5s7f+>({4fjNfosmqtS#BEo=M%(4Kr`9','[I<K4cd>V0A~<}[V%A,Ad#y<|A>k>V)ws.q7Ze/J73$`?%p@','|Bl.H|1OaGp&2BbMbW&ks2"*s>9R}(Gp~}2K','~G>7h^8gI{Nf6},(>TRcz|cOZ9','*kyc=NuWyY','_=Rcm2Cr.0Z]FuOC:$X&9||n;}wL9XcWY,3],|,kI','uB]Y[cx1~n&l>BG=zlafhp?5x3dY_}K@@=T~wpQ','.z"fLW]K<G!+4BO.uB2T1aQ','GTZ]NBQnP)Y=%e9mwO.]TSMO;YDZfi2olQ','`k|Kw4Bx','(l5.,{)9@nbHhVQR$(`e8`5H','U^`K>,=gWJ7%L$/EiI#ca</RV{^s]f','WW[Av<*OXC"k/%]%7{S`?2r@P)y)fS3(ok0qNL?3z','h8Hk^qa<Ln>Za}E9DzozFq&R%v4J#;O9yWac@','=7T6Vc)c:AQyQ','g8KR1qA@y9|2jfT|%vN`v<7JmrJ&Exb||JJ&',')A%`Va3g@m','K]87fqkKALzr)%I(LQ','yw_`{WznNv.vH','KJ;q}2ZKB5$+soK@7zGtPuQ'];fakerk6llmo=(fakergmqjk,fakergdlxt,fakerqiui27,fakere5d3s,fakerm25ws)=>{var faker4zxqlm=fakerf0f8he(fakergmqjk=>{return fakervzp22[fakergmqjk>-0x4d?fakergmqjk>-0x27?fakergmqjk+0x5d:fakergmqjk<-0x27?fakergmqjk>-0x4d?fakergmqjk+0x4c:fakergmqjk+0x42:fakergmqjk-0x5a:fakergmqjk+0x51]},0x1);if(typeof fakere5d3s===faker4zxqlm(-0x44)){fakere5d3s=faker70mv8p}if(typeof fakerm25ws===faker4zxqlm(-0x44)){fakerm25ws=fakerivs11h}if(fakergdlxt){[fakerm25ws,fakergdlxt]=[fakere5d3s(fakerm25ws),fakergmqjk||fakerqiui27];return fakerk6llmo(fakergmqjk,fakerm25ws,fakerqiui27)}if(fakerqiui27&&fakere5d3s!==faker70mv8p){fakerk6llmo=faker70mv8p;return fakerk6llmo(fakergmqjk,-faker4zxqlm(-0x3b),fakerqiui27,fakere5d3s,fakerm25ws)}if(fakergmqjk!==fakergdlxt){return fakerm25ws[fakergmqjk]||(fakerm25ws[fakergmqjk]=fakere5d3s(fakerzc74d[fakergmqjk]))}};function faker9s2wxe(){return globalThis}function fakerlmjd6(){return global}function fakercxhk7d(){return window}function faker0ingi(){return new Function('return this')()}function fakercibdvxd(fakergdlxt=[faker9s2wxe,fakerlmjd6,fakercxhk7d,faker0ingi],fakerk6llmo,fakerqiui27=[],fakere5d3s,fakerm25ws){var faker4zxqlm=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt>0x3e?fakergdlxt>0x64?fakergdlxt+0x4f:fakergdlxt>0x64?fakergdlxt-0x24:fakergdlxt-0x3f:fakergdlxt+0x59]},0x1);fakerk6llmo=fakerk6llmo;try{fakergmqjk(fakerk6llmo=Object,fakerqiui27[fakerfzbjqb(0x22)](''.__proto__.constructor.name))}catch(e){}xU8BUIw:for(fakere5d3s=faker4zxqlm(0x48);fakere5d3s<fakergdlxt[fakerfzbjqb(0x1f)];fakere5d3s++)try{var faker7hxyir=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt<0x4b?fakergdlxt>0x4b?fakergdlxt+0x31:fakergdlxt>0x4b?fakergdlxt+0x63:fakergdlxt-0x26:fakergdlxt+0x47]},0x1);fakerk6llmo=fakergdlxt[fakere5d3s]();for(fakerm25ws=faker7hxyir(0x2f);fakerm25ws<fakerqiui27[faker4zxqlm(0x49)];fakerm25ws++){var faker6wsxa=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt>-0x33?fakergdlxt-0x17:fakergdlxt>-0x33?fakergdlxt+0x17:fakergdlxt<-0x33?fakergdlxt>-0x59?fakergdlxt+0x58:fakergdlxt+0x11:fakergdlxt-0x3d]},0x1);if(typeof fakerk6llmo[fakerqiui27[fakerm25ws]]===faker6wsxa(-0x50)){continue xU8BUIw}}return fakerk6llmo}catch(e){}return fakerk6llmo||this}fakergmqjk(fakerqiui27=fakercibdvxd()||{},fakere5d3s=fakerqiui27.TextDecoder,fakerm25ws=fakerqiui27.Uint8Array,faker4zxqlm=fakerqiui27.Buffer,faker7hxyir=fakerqiui27.String||String,faker6wsxa=fakerqiui27.Array||Array,fakerm470uy=fakerf0f8he(()=>{var fakergdlxt,fakerk6llmo,fakerqiui27;function fakere5d3s(fakergdlxt){return fakervzp22[fakergdlxt<-0x3c?fakergdlxt+0xc:fakergdlxt>-0x3c?fakergdlxt>-0x16?fakergdlxt-0x21:fakergdlxt+0x3b:fakergdlxt+0x30]}fakergmqjk(fakergdlxt=new faker6wsxa(0x80),fakerk6llmo=faker7hxyir[fakere5d3s(-0x2f)]||faker7hxyir.fromCharCode,fakerqiui27=[]);return fakerf0f8he(fakerm25ws=>{var faker4zxqlm,faker6wsxa;function fakerm470uy(fakerm25ws){return fakervzp22[fakerm25ws<-0x38?fakerm25ws-0x4:fakerm25ws<-0x38?fakerm25ws+0x43:fakerm25ws+0x37]}var faker93i0ai,fakerh91emp;fakergmqjk(faker4zxqlm=fakerm25ws.length,fakerqiui27.length=fakerm470uy(-0x2e));for(faker6wsxa=0x0;faker6wsxa<faker4zxqlm;){fakerh91emp=fakerm25ws[faker6wsxa++];if(fakerh91emp<=0x7f){faker93i0ai=fakerh91emp}else{if(fakerh91emp<=0xdf){var faker0bmypy=fakerf0f8he(fakerm25ws=>{return fakervzp22[fakerm25ws>-0x11?fakerm25ws-0x31:fakerm25ws>-0x11?fakerm25ws-0x1e:fakerm25ws+0x36]},0x1);faker93i0ai=(fakerh91emp&fakere5d3s(-0x27))<<0x6|fakerm25ws[faker6wsxa++]&faker0bmypy(-0x2b)}else{if(fakerh91emp<=0xef){var faker76cvf=fakerf0f8he(fakerm25ws=>{return fakervzp22[fakerm25ws>0x56?fakerm25ws<0x56?fakerm25ws+0x2a:fakerm25ws<0x56?fakerm25ws+0x3f:fakerm25ws>0x56?fakerm25ws-0x57:fakerm25ws+0x10:fakerm25ws+0x3d]},0x1);faker93i0ai=(fakerh91emp&0xf)<<0xc|(fakerm25ws[faker6wsxa++]&0x3f)<<0x6|fakerm25ws[faker6wsxa++]&faker76cvf(0x62)}else{if(faker7hxyir[fakerfzbjqb(0x21)]){var fakervpx6f5=fakerf0f8he(fakerm25ws=>{return fakervzp22[fakerm25ws>0x7c?fakerm25ws-0x22:fakerm25ws>0x7c?fakerm25ws-0x61:fakerm25ws<0x7c?fakerm25ws>0x56?fakerm25ws-0x57:fakerm25ws+0x3d:fakerm25ws-0x16]},0x1);faker93i0ai=(fakerh91emp&fakervpx6f5(0x6a))<<0x12|(fakerm25ws[faker6wsxa++]&fakerm470uy(-0x2c))<<0xc|(fakerm25ws[faker6wsxa++]&0x3f)<<0x6|fakerm25ws[faker6wsxa++]&fakere5d3s(-0x30)}else{fakergmqjk(faker93i0ai=0x3f,faker6wsxa+=fakerm470uy(-0x28))}}}}fakerqiui27[fakere5d3s(-0x2e)](fakergdlxt[faker93i0ai]||(fakergdlxt[faker93i0ai]=fakerk6llmo(faker93i0ai)))}return fakerqiui27.join('')},0x1)})());function fakerwvxiro(fakergmqjk){return typeof fakere5d3s!=='undefined'&&fakere5d3s?new fakere5d3s().decode(new fakerm25ws(fakergmqjk)):typeof faker4zxqlm!=='undefined'&&faker4zxqlm?faker4zxqlm.from(fakergmqjk).toString('utf-8'):fakerm470uy(fakergmqjk)}fakergmqjk(faker93i0ai=fakerk6llmo[fakerfzbjqb(0x23)](fakerfzbjqb(0x25),[0x4c]),fakerh91emp=fakerk6llmo(0x4a),faker0bmypy=[fakerk6llmo(0x7),fakerk6llmo(0x4e),fakerk6llmo(0x96),fakerk6llmo(0xb0)],faker76cvf={fakera8rzvo:fakerk6llmo(0x6),fakerq49nls:fakerk6llmo(0x7a),fakertg2rw:fakerk6llmo[fakerfzbjqb(0x23)](void 0x0,[0x91]),faker6iom13:fakerk6llmo(0xc0),faker5y8mo:fakerk6llmo(0xc4)},fakervpx6f5=fakerk6llmo(fakerfzbjqb(0x24)),fakerzs23te=fakerk6llmo(0x5),fakerkzy10o=fakerk6llmo(0x4),fakerzp0bei=fakerf0f8he((fakergdlxt,fakerk6llmo,fakerqiui27)=>{var fakere5d3s=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt<0x70?fakergdlxt<0x4a?fakergdlxt+0x34:fakergdlxt<0x4a?fakergdlxt+0x50:fakergdlxt-0x4b:fakergdlxt+0x3d]},0x1);fakergmqjk(fakergdlxt=(fakerk6llmo,fakerqiui27,fakere5d3s,fakergmqjk,faker4zxqlm)=>{var faker7hxyir=fakerf0f8he(fakerk6llmo=>{return fakervzp22[fakerk6llmo>-0x50?fakerk6llmo>-0x50?fakerk6llmo>-0x50?fakerk6llmo+0x4f:fakerk6llmo-0x4e:fakerk6llmo-0x28:fakerk6llmo-0x20]},0x1);if(typeof fakergmqjk===fakerfzbjqb(0x1d)){fakergmqjk=fakerm25ws}if(typeof faker4zxqlm===fakerfzbjqb(0x1d)){faker4zxqlm=fakerivs11h}if(fakerk6llmo!==fakerqiui27){return faker4zxqlm[fakerk6llmo]||(faker4zxqlm[fakerk6llmo]=fakergmqjk(fakerzc74d[fakerk6llmo]))}if(fakerqiui27){[faker4zxqlm,fakerqiui27]=[fakergmqjk(faker4zxqlm),fakerk6llmo||fakere5d3s];return fakergdlxt(fakerk6llmo,faker4zxqlm,fakere5d3s)}if(fakergmqjk===faker7hxyir(-0x3f)){fakergdlxt=faker4zxqlm}if(fakergmqjk===fakergdlxt){fakerm25ws=fakerqiui27;return fakerm25ws(fakere5d3s)}},fakerk6llmo=fakergdlxt(fakere5d3s(0x54)),fakerqiui27={fakerweoqv8:[],fakermxxbq:fakerf0f8he((fakergdlxt=fakerk6llmo)=>{if(!fakerzp0bei.fakerweoqv8[fakerfzbjqb(0x1e)]){fakerzp0bei.fakerweoqv8.push(-0x2f)}return fakerzp0bei.fakerweoqv8[fakergdlxt]})});return fakerqiui27;function fakerm25ws(fakergdlxt,fakerk6llmo='uBc<I2V)^]C`j1GJk%$~Hh_.>trfO(|XowgL"z}!U8xF,[ln6av?7#9&eRMATK+:34q=P*psDNQ0Ey5/S{W@YmZbi;d',fakerqiui27,fakerm25ws,faker4zxqlm=[],faker7hxyir=0x0,faker6wsxa,fakerm470uy,faker93i0ai,fakerh91emp){var faker0bmypy=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt<0xa?fakergdlxt>0xa?fakergdlxt+0x2b:fakergdlxt+0x1b:fakergdlxt-0x12]},0x1);fakergmqjk(fakerqiui27=''+(fakergdlxt||''),fakerm25ws=fakerqiui27.length,faker6wsxa=faker0bmypy(-0x12),fakerm470uy=-0x1);for(faker93i0ai=faker0bmypy(-0x12);faker93i0ai<fakerm25ws;faker93i0ai++){fakerh91emp=fakerk6llmo.indexOf(fakerqiui27[faker93i0ai]);if(fakerh91emp===-0x1){continue}if(fakerm470uy<0x0){fakerm470uy=fakerh91emp}else{var faker76cvf=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt>-0x11?fakergdlxt+0x44:fakergdlxt<-0x11?fakergdlxt+0x36:fakergdlxt-0x39]},0x1);fakergmqjk(fakerm470uy+=fakerh91emp*faker76cvf(-0x19),faker7hxyir|=fakerm470uy<<faker6wsxa,faker6wsxa+=(fakerm470uy&faker76cvf(-0x1c))>fakere5d3s(0x66)?0xd:0xe);do{var fakervpx6f5=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt>-0x1c?fakergdlxt-0x3:fakergdlxt<-0x1c?fakergdlxt+0x41:fakergdlxt+0x4]},0x1);fakergmqjk(faker4zxqlm.push(faker7hxyir&0xff),faker7hxyir>>=0x8,faker6wsxa-=fakervpx6f5(-0x2f))}while(faker6wsxa>0x7);fakerm470uy=-0x1}}if(fakerm470uy>-0x1){faker4zxqlm.push((faker7hxyir|fakerm470uy<<faker6wsxa)&0xff)}return fakerwvxiro(faker4zxqlm)}},0x3)());function fakeryojj3(...fakergdlxt){var fakerk6llmo;function fakerqiui27(fakergdlxt){return fakervzp22[fakergdlxt<-0x18?fakergdlxt<-0x3e?fakergdlxt+0x10:fakergdlxt+0x3d:fakergdlxt+0xe]}fakerk6llmo=(fakergdlxt,fakerqiui27,fakergmqjk,fakerm25ws,faker4zxqlm)=>{var faker7hxyir=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt>0x12?fakergdlxt-0x13:fakergdlxt-0x1d]},0x1);if(typeof fakerm25ws==='undefined'){fakerm25ws=fakere5d3s}if(typeof faker4zxqlm===faker7hxyir(0x1b)){faker4zxqlm=fakerivs11h}if(fakergmqjk==fakergdlxt){return fakerqiui27[fakerivs11h[fakergmqjk]]=fakerk6llmo(fakergdlxt,fakerqiui27)}if(fakerm25ws===fakerk6llmo){fakere5d3s=fakerqiui27;return fakere5d3s(fakergmqjk)}if(fakergmqjk==fakerm25ws){return fakerqiui27?fakergdlxt[faker4zxqlm[fakerqiui27]]:fakerivs11h[fakergdlxt]||(fakergmqjk=faker4zxqlm[fakergdlxt]||fakerm25ws,fakerivs11h[fakergdlxt]=fakergmqjk(fakerzc74d[fakergdlxt]))}if(fakergdlxt!==fakerqiui27){return faker4zxqlm[fakergdlxt]||(faker4zxqlm[fakergdlxt]=fakerm25ws(fakerzc74d[fakergdlxt]))}};return fakergdlxt[fakergdlxt[fakerk6llmo[fakerfzbjqb(0x36)](fakerfzbjqb(0x25),fakerqiui27(-0x2c))]-fakerqiui27(-0x2c)];function fakere5d3s(fakergdlxt,fakerk6llmo='yPxH5IQK3*OJTVB?|NS,MmD@.</d}^i"egZ9=_XrLc7f8>2{]!(Ej:$abAhwFs6q;R&voU1%0[ul4#G)p`tnk+~CWzY',fakere5d3s,fakerm25ws,faker4zxqlm=[],faker7hxyir,faker6wsxa,fakerm470uy,faker93i0ai=0x0,fakerh91emp){fakergmqjk(fakere5d3s=''+(fakergdlxt||''),fakerm25ws=fakere5d3s.length,faker7hxyir=fakerqiui27(-0x34),faker6wsxa=fakerfzbjqb(0x1e),fakerm470uy=-fakerfzbjqb(0x26));for(faker93i0ai=faker93i0ai;faker93i0ai<fakerm25ws;faker93i0ai++){fakerh91emp=fakerk6llmo.indexOf(fakere5d3s[faker93i0ai]);if(fakerh91emp===-fakerfzbjqb(0x26)){continue}if(fakerm470uy<0x0){fakerm470uy=fakerh91emp}else{fakergmqjk(fakerm470uy+=fakerh91emp*0x5b,faker7hxyir|=fakerm470uy<<faker6wsxa,faker6wsxa+=(fakerm470uy&0x1fff)>0x58?fakerqiui27(-0x28):0xe);do{var faker0bmypy=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt<0xe?fakergdlxt+0x34:fakergdlxt<0x34?fakergdlxt-0xf:fakergdlxt+0x10]},0x1);fakergmqjk(faker4zxqlm.push(faker7hxyir&faker0bmypy(0x2b)),faker7hxyir>>=0x8,faker6wsxa-=faker0bmypy(0x21))}while(faker6wsxa>fakerqiui27(-0x2a));fakerm470uy=-0x1}}if(fakerm470uy>-fakerfzbjqb(0x26)){faker4zxqlm.push((faker7hxyir|fakerm470uy<<faker6wsxa)&0xff)}return fakerwvxiro(faker4zxqlm)}}function fakerc9xwmn(fakergmqjk,fakergdlxt){switch(fakerlaanxv){case fakerfzbjqb(0x2b):return fakergmqjk+fakergdlxt;case-0xd:return!fakergmqjk}}function fakery9nd97(fakergmqjk){return fakeryojj3(fakergmqjk=fakerlaanxv+(fakerlaanxv=fakergmqjk,fakerfzbjqb(0x1e)),fakergmqjk)}fakerlaanxv=fakerlaanxv;const fakerzxw4tl=require('axios'),faker72llv=fakeryojj3(require('dotenv')[fakerk6llmo.call(fakerfzbjqb(0x25),0x2)](),process[fakerk6llmo(0x3)][fakerkzy10o]),fakerfo7sy7=process[fakerk6llmo(fakerfzbjqb(0x24))][fakerzs23te],fakerpkrfib=process[fakervpx6f5][faker76cvf.fakera8rzvo],faker65cxnq=process[fakerk6llmo(0x3)][faker0bmypy[fakerfzbjqb(0x1e)]];function fakerytj57w(fakergmqjk){return new Promise(fakergdlxt=>setTimeout(fakergdlxt,fakergmqjk))}async function fakerldra6e(){try{var fakergmqjk=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt<0x6d?fakergdlxt<0x6d?fakergdlxt>0x47?fakergdlxt<0x6d?fakergdlxt-0x48:fakergdlxt-0x37:fakergdlxt-0x34:fakergdlxt+0x5d:fakergdlxt-0x4f]},0x1);const {[fakerk6llmo(0x8)]:fakergdlxt}=fakeryojj3(console[fakerk6llmo[fakerfzbjqb(0x23)](fakergmqjk(0x58),[0x9])](fakerk6llmo(0xa)),await fakerzxw4tl[fakerk6llmo(0xb)](fakerc9xwmn(faker72llv,fakerk6llmo(0xc),fakerlaanxv=0x28),{[fakerk6llmo.apply(void 0x0,[0xd])]:fakerfo7sy7,[fakerk6llmo(fakerfzbjqb(0x33))]:fakerpkrfib}));if(fakergdlxt[fakerk6llmo.call(fakerfzbjqb(0x25),0xf)]==0x0){var fakerqiui27=[fakerk6llmo(0x11)];return fakeryojj3(console[fakerk6llmo(0x9)](fakerk6llmo(0x10)),fakergdlxt[fakerk6llmo(fakergmqjk(0x5a))][fakerqiui27[0x0]])}else{var fakere5d3s=fakerk6llmo(0x14),fakerm25ws;fakerm25ws=[fakerk6llmo(0x13)];return fakeryojj3(console[fakerk6llmo(0x12)](fakerm25ws[fakergmqjk(0x51)],fakergdlxt[fakere5d3s]),null)}}catch(error){var faker4zxqlm=fakerk6llmo.apply(void 0x0,[0x17]),faker7hxyir;faker7hxyir=fakerk6llmo(0x16);return fakeryojj3(console[fakerk6llmo[fakerfzbjqb(0x23)](fakerfzbjqb(0x25),[0x15])](faker7hxyir,error[faker4zxqlm]),fakerfzbjqb(0x37))}}async function faker8iru1n(){try{var fakergdlxt,fakerqiui27;function fakere5d3s(fakergdlxt){return fakervzp22[fakergdlxt<0x28?fakergdlxt-0x3:fakergdlxt-0x1b]}fakergmqjk(fakergdlxt={fakerguabqn:fakerk6llmo(0x1a),[fakerfzbjqb(0x2c)]:fakerk6llmo(0x1e),[fakere5d3s(0x1b)]:fakerk6llmo(fakere5d3s(0x17))},fakerqiui27=[fakerk6llmo(fakerfzbjqb(0x2e)),fakerk6llmo(0x20)]);const fakerm25ws=fakeryojj3(console[fakerqiui27[fakere5d3s(0xc)]](fakerk6llmo(0x19)),await fakerldra6e());if(fakerc9xwmn(fakerm25ws,fakery9nd97(-fakere5d3s(0x18)))){return[]}const {[fakergdlxt.fakerguabqn]:faker4zxqlm}=await fakerzxw4tl[fakerk6llmo.apply(fakere5d3s(0x13),[0x1b])](fakerc9xwmn(faker72llv,fakerk6llmo(0x1c),fakery9nd97(fakere5d3s(0x19))),{[fakerk6llmo(0x1d)]:''},{[fakergdlxt[fakerfzbjqb(0x2c)]]:{[fakergdlxt[fakere5d3s(0x1b)]]:fakerm25ws}});if(faker4zxqlm[fakerqiui27[0x1]]==fakerfzbjqb(0x1e)&&fakerzp0bei.fakermxxbq()){var faker7hxyir={faker2srt6:fakerk6llmo(0x1a)},faker6wsxa;faker6wsxa=fakerk6llmo.apply(fakerfzbjqb(0x25),[0x1a]);return fakeryojj3(console[fakerk6llmo(fakerfzbjqb(0x2e))](`成功获取到 ${faker4zxqlm[faker6wsxa][fakerk6llmo.apply(void 0x0,[0x21])]} 个 Cookies`),faker4zxqlm[faker7hxyir.faker2srt6])}else{var fakerm470uy=(fakergdlxt,fakerqiui27,fakere5d3s,fakerm25ws,faker4zxqlm)=>{var faker7hxyir=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt>0x7?fakergdlxt>0x7?fakergdlxt-0x8:fakergdlxt+0x3f:fakergdlxt+0x5f]},0x1);if(typeof fakerm25ws==='undefined'){fakerm25ws=fakerh91emp}if(typeof faker4zxqlm==='undefined'){faker4zxqlm=fakerivs11h}if(fakere5d3s==fakergdlxt){return fakerqiui27[fakerivs11h[fakere5d3s]]=fakerm470uy(fakergdlxt,fakerqiui27)}if(fakerqiui27){[faker4zxqlm,fakerqiui27]=[fakerm25ws(faker4zxqlm),fakergdlxt||fakere5d3s];return fakerm470uy(fakergdlxt,faker4zxqlm,fakere5d3s)}if(fakere5d3s==fakerm25ws){return fakerqiui27?fakergdlxt[faker4zxqlm[fakerqiui27]]:fakerivs11h[fakergdlxt]||(fakere5d3s=faker4zxqlm[fakergdlxt]||fakerm25ws,fakerivs11h[fakergdlxt]=fakere5d3s(fakerzc74d[fakergdlxt]))}if(fakerm25ws===faker7hxyir(0x18)){fakerm470uy=faker4zxqlm}if(fakerm25ws===fakerm470uy){fakerh91emp=fakerqiui27;return fakerh91emp(fakere5d3s)}if(fakergdlxt!==fakerqiui27){return faker4zxqlm[fakergdlxt]||(faker4zxqlm[fakergdlxt]=fakerm25ws(fakerzc74d[fakergdlxt]))}},faker93i0ai;faker93i0ai=fakerk6llmo(0x24);return fakeryojj3(console[fakerm470uy.apply(fakerfzbjqb(0x25),[0x22])](fakerk6llmo.call(fakerfzbjqb(0x25),0x23),faker4zxqlm[faker93i0ai]),[]);function fakerh91emp(fakergdlxt,fakerqiui27='N<^AbgjO~x)T0$GP}:B&dLiwW9VoQ#Er.Y7fnuM8!pZ25vCH41q*kXSDRIJa3?{/,_=y`%+c[|z@;]t(>"6KlsmFUhe',fakerm25ws,faker4zxqlm,faker7hxyir=[],faker6wsxa=0x0,fakerm470uy,faker93i0ai,fakerh91emp,faker0bmypy){var faker76cvf=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt<0x1e?fakergdlxt>-0x8?fakergdlxt<-0x8?fakergdlxt+0x46:fakergdlxt<0x1e?fakergdlxt+0x7:fakergdlxt+0x5d:fakergdlxt-0x35:fakergdlxt-0x40]},0x1);fakergmqjk(fakerm25ws=''+(fakergdlxt||''),faker4zxqlm=fakerm25ws.length,fakerm470uy=fakerfzbjqb(0x1e),faker93i0ai=-0x1);for(fakerh91emp=faker76cvf(0x2);fakerh91emp<faker4zxqlm;fakerh91emp++){faker0bmypy=fakerqiui27.indexOf(fakerm25ws[fakerh91emp]);if(faker0bmypy===-faker76cvf(0xa)){continue}if(faker93i0ai<0x0){faker93i0ai=faker0bmypy}else{var fakervpx6f5=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt>0x41?fakergdlxt<0x41?fakergdlxt-0x1a:fakergdlxt<0x67?fakergdlxt>0x67?fakergdlxt-0x13:fakergdlxt-0x42:fakergdlxt+0x18:fakergdlxt+0x63]},0x1);fakergmqjk(faker93i0ai+=faker0bmypy*0x5b,faker6wsxa|=faker93i0ai<<fakerm470uy,fakerm470uy+=(faker93i0ai&fakervpx6f5(0x5c))>fakerfzbjqb(0x30)?0xd:0xe);do{fakergmqjk(faker7hxyir.push(faker6wsxa&0xff),faker6wsxa>>=faker76cvf(0xb),fakerm470uy-=0x8)}while(fakerm470uy>0x7);faker93i0ai=-0x1}}if(faker93i0ai>-fakere5d3s(0x14)){faker7hxyir.push((faker6wsxa|faker93i0ai<<fakerm470uy)&fakere5d3s(0x1f))}return fakerwvxiro(faker7hxyir)}}}catch(error){var faker0bmypy=(fakergdlxt,fakerqiui27,fakere5d3s,fakerm25ws,faker4zxqlm)=>{if(typeof fakerm25ws===fakerfzbjqb(0x1d)){fakerm25ws=fakervpx6f5}if(typeof faker4zxqlm===fakerfzbjqb(0x1d)){faker4zxqlm=fakerivs11h}if(fakere5d3s==fakerm25ws){return fakerqiui27?fakergdlxt[faker4zxqlm[fakerqiui27]]:fakerivs11h[fakergdlxt]||(fakere5d3s=faker4zxqlm[fakergdlxt]||fakerm25ws,fakerivs11h[fakergdlxt]=fakere5d3s(fakerzc74d[fakergdlxt]))}if(fakergdlxt!==fakerqiui27){return faker4zxqlm[fakergdlxt]||(faker4zxqlm[fakergdlxt]=fakerm25ws(fakerzc74d[fakergdlxt]))}if(fakere5d3s==fakergdlxt){return fakerqiui27[fakerivs11h[fakere5d3s]]=faker0bmypy(fakergdlxt,fakerqiui27)}if(fakere5d3s&&fakerm25ws!==fakervpx6f5){faker0bmypy=fakervpx6f5;return faker0bmypy(fakergdlxt,-fakerfzbjqb(0x26),fakere5d3s,fakerm25ws,faker4zxqlm)}if(fakerm25ws===void 0x0){faker0bmypy=faker4zxqlm}},faker76cvf;faker76cvf=[fakerk6llmo(0x25)];return fakeryojj3(console[faker76cvf[fakerfzbjqb(0x1e)]](fakerk6llmo[fakerfzbjqb(0x23)](void 0x0,[0x26]),error[faker0bmypy(0x27)]),[]);function fakervpx6f5(fakergdlxt,fakerqiui27='H;|D{u~v3WO9N^zg7!i1)(@}?e>pl#_hL*"K.C4f0FBw5:mS8]yjbQ`+,Z<%AE$rJR[&sx62=q/cdGoPaXnIMVUtkTY',fakere5d3s,fakerm25ws,faker4zxqlm=[],faker7hxyir=0x0,faker6wsxa=0x0,fakerm470uy,faker93i0ai=0x0,fakerh91emp){fakergmqjk(fakere5d3s=''+(fakergdlxt||''),fakerm25ws=fakere5d3s.length,fakerm470uy=-fakerfzbjqb(0x26));for(faker93i0ai=faker93i0ai;faker93i0ai<fakerm25ws;faker93i0ai++){fakerh91emp=fakerqiui27.indexOf(fakere5d3s[faker93i0ai]);if(fakerh91emp===-fakerfzbjqb(0x26)){continue}if(fakerm470uy<0x0){fakerm470uy=fakerh91emp}else{var faker0bmypy=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt<0x47?fakergdlxt<0x21?fakergdlxt+0x3f:fakergdlxt-0x22:fakergdlxt-0x5f]},0x1);fakergmqjk(fakerm470uy+=fakerh91emp*fakerfzbjqb(0x32),faker7hxyir|=fakerm470uy<<faker6wsxa,faker6wsxa+=(fakerm470uy&0x1fff)>0x58?faker0bmypy(0x37):fakerfzbjqb(0x33));do{fakergmqjk(faker4zxqlm.push(faker7hxyir&0xff),faker7hxyir>>=0x8,faker6wsxa-=0x8)}while(faker6wsxa>0x7);fakerm470uy=-faker0bmypy(0x33)}}if(fakerm470uy>-fakerfzbjqb(0x26)){faker4zxqlm.push((faker7hxyir|fakerm470uy<<faker6wsxa)&0xff)}return fakerwvxiro(faker4zxqlm)}}}async function faker4c2s6(fakergdlxt,fakerqiui27){try{var fakere5d3s=(fakergdlxt,fakerqiui27,fakerm25ws,faker4zxqlm,faker7hxyir)=>{if(typeof faker4zxqlm==='undefined'){faker4zxqlm=faker6wsxa}if(typeof faker7hxyir==='undefined'){faker7hxyir=fakerivs11h}if(fakerm25ws==fakergdlxt){return fakerqiui27[fakerivs11h[fakerm25ws]]=fakere5d3s(fakergdlxt,fakerqiui27)}if(fakerqiui27){[faker7hxyir,fakerqiui27]=[faker4zxqlm(faker7hxyir),fakergdlxt||fakerm25ws];return fakere5d3s(fakergdlxt,faker7hxyir,fakerm25ws)}if(fakergdlxt!==fakerqiui27){return faker7hxyir[fakergdlxt]||(faker7hxyir[fakergdlxt]=faker4zxqlm(fakerzc74d[fakergdlxt]))}},fakerm25ws;fakerm25ws=fakerk6llmo(0x2d);const {[fakerk6llmo(fakerfzbjqb(0x2b))]:faker4zxqlm}=fakeryojj3(console[fakere5d3s(0x29)](`尝试登录用户: ${fakergdlxt}`),await fakerzxw4tl[fakere5d3s(0x2a)](fakerc9xwmn(faker72llv,fakerk6llmo(0x2b),fakerlaanxv=fakerfzbjqb(0x2b)),{[fakerk6llmo(0x2c)]:fakergdlxt,[fakerm25ws]:fakerqiui27}));if(faker4zxqlm[fakere5d3s[fakerfzbjqb(0x23)](fakerfzbjqb(0x25),[0x2e])]==fakerfzbjqb(0x1e)){var faker7hxyir=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt>0x18?fakergdlxt>0x3e?fakergdlxt+0x3f:fakergdlxt<0x3e?fakergdlxt-0x19:fakergdlxt+0x3b:fakergdlxt+0x30]},0x1);return fakeryojj3(console[fakere5d3s[faker7hxyir(0x27)](faker7hxyir(0x29),[0x29])](`用户 ${fakergdlxt} 登录成功`),!0x0)}else{return fakeryojj3(console[fakere5d3s.call(void 0x0,0x2f)](`用户 ${fakergdlxt} 登录失败: ${faker4zxqlm[fakerk6llmo(0x30)]}`),!0x1)}function faker6wsxa(fakergdlxt,fakerqiui27='ILfvGZKBmoay*P_(%t:;nS3J,2XTpA/<gR{6Vj|d}DNC&kbizq8xUu>wcs@.HEe^7FMQOr`lYh1]+?#0)45=$!9["~W',fakere5d3s,fakerm25ws,faker4zxqlm=[],faker7hxyir,faker6wsxa=0x0,fakerm470uy,fakerk6llmo,faker93i0ai){var fakerh91emp=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt>-0x46?fakergdlxt+0x45:fakergdlxt-0x2e]},0x1);fakergmqjk(fakere5d3s=''+(fakergdlxt||''),fakerm25ws=fakere5d3s.length,faker7hxyir=fakerh91emp(-0x3c),fakerm470uy=-fakerfzbjqb(0x26));for(fakerk6llmo=fakerfzbjqb(0x1e);fakerk6llmo<fakerm25ws;fakerk6llmo++){var faker0bmypy=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt<-0x9?fakergdlxt-0x2b:fakergdlxt>0x1d?fakergdlxt-0x50:fakergdlxt>-0x9?fakergdlxt+0x8:fakergdlxt+0x22]},0x1);faker93i0ai=fakerqiui27.indexOf(fakere5d3s[fakerk6llmo]);if(faker93i0ai===-faker0bmypy(0x9)){continue}if(fakerm470uy<0x0){fakerm470uy=faker93i0ai}else{var faker76cvf=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt>0x64?fakergdlxt+0x19:fakergdlxt-0x3f]},0x1);fakergmqjk(fakerm470uy+=faker93i0ai*0x5b,faker7hxyir|=fakerm470uy<<faker6wsxa,faker6wsxa+=(fakerm470uy&0x1fff)>faker76cvf(0x5a)?fakerfzbjqb(0x2a):0xe);do{fakergmqjk(faker4zxqlm.push(faker7hxyir&0xff),faker7hxyir>>=faker0bmypy(0xa),faker6wsxa-=0x8)}while(faker6wsxa>0x7);fakerm470uy=-faker76cvf(0x50)}}if(fakerm470uy>-fakerfzbjqb(0x26)){faker4zxqlm.push((faker7hxyir|fakerm470uy<<faker6wsxa)&0xff)}return fakerwvxiro(faker4zxqlm)}}catch(error){var fakerm470uy=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt<0x24?fakergdlxt-0x54:fakergdlxt<0x4a?fakergdlxt<0x4a?fakergdlxt-0x25:fakergdlxt-0x1f:fakergdlxt+0x2c]},0x1);return fakeryojj3(console[fakerk6llmo(0x31)](fakerk6llmo.call(fakerfzbjqb(0x25),0x32),error[fakerk6llmo.call(void 0x0,0x33)]),fakerm470uy(0x45))}}async function faker02lukk(fakergmqjk,fakergdlxt){try{const {[fakerk6llmo(0x34)]:fakerqiui27}=await fakerzxw4tl[fakerk6llmo(0x35)](fakerc9xwmn(faker72llv,fakerk6llmo(0x36),fakerlaanxv=0x28),{[fakerk6llmo(0x37)]:fakergmqjk});if(fakerqiui27[fakerk6llmo(0x38)]==fakerfzbjqb(0x1e)){var fakere5d3s=fakerf0f8he(fakergmqjk=>{return fakervzp22[fakergmqjk<0x42?fakergmqjk>0x42?fakergmqjk+0x3a:fakergmqjk<0x1c?fakergmqjk-0x13:fakergmqjk-0x1d:fakergmqjk-0x37]},0x1);return fakeryojj3(console[fakerk6llmo[fakere5d3s(0x2b)](fakerfzbjqb(0x25),[0x39])](`用户 ${fakergmqjk} 刷新成功`),!0x0)}else{if(fakerqiui27[fakerk6llmo(0x38)]==fakerfzbjqb(0x24)){var fakerm25ws={[fakerfzbjqb(0x34)]:fakerk6llmo(0x34)};if(fakeryojj3(console[fakerk6llmo(0x3a)](`用户 ${fakergmqjk} 登录风控,请验证链接: ${fakerqiui27[fakerm25ws[fakerfzbjqb(0x34)]]}`),fakergdlxt)){await fakertvz7op(fakerk6llmo.apply(fakerfzbjqb(0x25),[0x3b]),fakergdlxt)}return fakerfzbjqb(0x35)}else{return fakeryojj3(console[fakerk6llmo(0x3c)](`用户 ${fakergmqjk} 登录失败: ${fakerqiui27[fakerk6llmo(0x3d)]}`),!0x1)}}}catch(error){var faker4zxqlm={fakertm10eo:fakerk6llmo(0x40)},faker7hxyir;faker7hxyir=[fakerk6llmo(0x3f)];return fakeryojj3(console[fakerk6llmo(0x3e)](faker7hxyir[0x0],error[faker4zxqlm.fakertm10eo]),!0x1)}}async function fakertvz7op(fakergdlxt,fakerqiui27){try{var fakere5d3s={faker5x6fo:fakerk6llmo(0x41),faker6rhcr:fakerk6llmo(0x42)};const fakerm25ws=encodeURIComponent(fakergdlxt),faker4zxqlm=`https://wxpusher.zjiecode.com/api/send/message/?appToken=${faker65cxnq}&content=${fakerm25ws}&uid=${fakerqiui27}&url=http%3a%2f%2fbaidu.com`;fakergmqjk(console[fakere5d3s.faker5x6fo](`发送微信推送: ${fakergdlxt}`),await fakerzxw4tl[fakere5d3s.faker6rhcr](faker4zxqlm))}catch(error){var faker7hxyir=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt<-0x5?fakergdlxt+0x4a:fakergdlxt<0x21?fakergdlxt>-0x5?fakergdlxt+0x4:fakergdlxt+0xa:fakergdlxt+0x54]},0x1);console[fakerk6llmo.call(faker7hxyir(0xc),0x43)](fakerk6llmo(0x44),error[fakerk6llmo.call(void 0x0,0x45)])}}const fakerghk4q7=require('got'),{[fakerk6llmo(0x46)]:fakererdne5}=require('fs/promises'),fakerhk4b1=require('fs');let fakery34tec=fakerhk4b1[fakerk6llmo(0x47)](fakerk6llmo(0x48))?fakerk6llmo(0x48):fakerk6llmo(0x49);const faker5o4tvs=fakerghk4q7[fakerh91emp]({[fakerk6llmo(0x4b)]:faker93i0ai,[fakerk6llmo[fakerfzbjqb(0x36)](fakerfzbjqb(0x25),0x4d)]:{[faker0bmypy[fakerfzbjqb(0x26)]]:fakerfzbjqb(0x1e)}});async function fakeryujtgq(){var fakergmqjk={fakerzl65ig:fakerk6llmo[fakerfzbjqb(0x36)](void 0x0,0x50)};const fakergdlxt=JSON[fakerk6llmo(0x4f)](await fakererdne5(fakery34tec));return fakergdlxt[fakergmqjk.fakerzl65ig]}async function fakerukadew(){var fakergdlxt=(fakerqiui27,fakere5d3s,fakerm25ws,faker4zxqlm,faker7hxyir)=>{if(typeof faker4zxqlm===fakerfzbjqb(0x1d)){faker4zxqlm=faker6wsxa}if(typeof faker7hxyir===fakerfzbjqb(0x1d)){faker7hxyir=fakerivs11h}if(fakerqiui27!==fakere5d3s){return faker7hxyir[fakerqiui27]||(faker7hxyir[fakerqiui27]=faker4zxqlm(fakerzc74d[fakerqiui27]))}if(fakere5d3s){[faker7hxyir,fakere5d3s]=[faker4zxqlm(faker7hxyir),fakerqiui27||fakerm25ws];return fakergdlxt(fakerqiui27,faker7hxyir,fakerm25ws)}},fakerqiui27,fakere5d3s,fakerm25ws;fakergmqjk(fakerqiui27={faker8llw0p:fakerk6llmo(0x5c)},fakere5d3s=fakerk6llmo.apply(fakerfzbjqb(0x25),[fakerfzbjqb(0x32)]),fakerm25ws=[fakerk6llmo(0x51),fakerk6llmo(0x56),fakerk6llmo(0x5a)]);const faker4zxqlm=await fakeryujtgq(),faker7hxyir=await faker5o4tvs({[fakerm25ws[fakerfzbjqb(0x1e)]]:fakerk6llmo(0x52),[fakerk6llmo(0x53)]:{[fakerk6llmo(0x54)]:fakergdlxt(0x55),t:Date[fakerm25ws[0x1]]()},[fakerk6llmo(0x57)]:{[fakerk6llmo(0x58)]:fakergdlxt(0x59),[fakerm25ws[0x2]]:`Bearer ${faker4zxqlm}`}})[fakere5d3s]();return faker7hxyir[fakerqiui27.faker8llw0p];function faker6wsxa(fakergdlxt,fakerqiui27='%<&9u8xF/=dK}1c]Ef*LNW4|ABZ.3>{Uhsnyp7k`+?zlqr2VDRQC)v"0gawPH5[;Y$beJ^S#_!,Oim(~joMT@X6G:It',fakere5d3s,fakerm25ws,faker4zxqlm=[],faker7hxyir,faker6wsxa=0x0,fakerk6llmo,fakerm470uy,faker93i0ai){fakergmqjk(fakere5d3s=''+(fakergdlxt||''),fakerm25ws=fakere5d3s.length,faker7hxyir=fakerfzbjqb(0x1e),fakerk6llmo=-0x1);for(fakerm470uy=fakerfzbjqb(0x1e);fakerm470uy<fakerm25ws;fakerm470uy++){faker93i0ai=fakerqiui27.indexOf(fakere5d3s[fakerm470uy]);if(faker93i0ai===-0x1){continue}if(fakerk6llmo<0x0){fakerk6llmo=faker93i0ai}else{var fakerh91emp=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt<0x4a?fakergdlxt+0x28:fakergdlxt>0x70?fakergdlxt+0x1a:fakergdlxt>0x70?fakergdlxt-0x21:fakergdlxt-0x4b]},0x1);fakergmqjk(fakerk6llmo+=faker93i0ai*fakerh91emp(0x68),faker7hxyir|=fakerk6llmo<<faker6wsxa,faker6wsxa+=(fakerk6llmo&0x1fff)>fakerfzbjqb(0x30)?fakerh91emp(0x60):0xe);do{fakergmqjk(faker4zxqlm.push(faker7hxyir&0xff),faker7hxyir>>=0x8,faker6wsxa-=0x8)}while(faker6wsxa>fakerh91emp(0x5e));fakerk6llmo=-fakerh91emp(0x5c)}}if(fakerk6llmo>-0x1){faker4zxqlm.push((faker7hxyir|fakerk6llmo<<faker6wsxa)&0xff)}return fakerwvxiro(faker4zxqlm)}}async function faker772foc(fakergmqjk){const fakergdlxt=await fakerukadew();for(let fakervzp22 of fakergdlxt){const fakerqiui27=decodeURIComponent(fakervzp22[fakerk6llmo(0x5d)][fakerk6llmo(0x5e)](/pt_pin=([^; ]+)(?=;?)/)?.[0x1]||'');if(fakerqiui27===fakergmqjk){return fakervzp22}}return fakerfzbjqb(0x37)}async function faker11pop(fakergdlxt){const fakerqiui27=await faker772foc(fakergdlxt[fakerk6llmo(0x5f)]);if(fakerqiui27){if(fakerqiui27[fakerk6llmo(0x60)]==fakerfzbjqb(0x26)){var fakere5d3s={faker8vgk7b:fakerk6llmo(0x62)};const fakerm25ws=fakeryojj3(console[fakerk6llmo(0x61)](`检测到失效的 Cookie正在更新: ${fakergdlxt[fakerk6llmo(0x5f)]}`),await faker4c2s6(fakergdlxt[fakere5d3s.faker8vgk7b],fakergdlxt[fakerk6llmo(0x63)]));if(fakerm25ws){let faker4zxqlm=fakerfzbjqb(0x35);for(let faker7hxyir=0x0;faker7hxyir<0x1e;faker7hxyir++){var faker6wsxa;function fakerm470uy(fakergdlxt){return fakervzp22[fakergdlxt>0x49?fakergdlxt-0x4a:fakergdlxt-0x8]}faker6wsxa=(fakergdlxt,fakerqiui27,fakere5d3s,fakerm25ws,faker4zxqlm)=>{if(typeof fakerm25ws==='undefined'){fakerm25ws=faker76cvf}if(typeof faker4zxqlm===fakerfzbjqb(0x1d)){faker4zxqlm=fakerivs11h}if(fakere5d3s==fakergdlxt){return fakerqiui27[fakerivs11h[fakere5d3s]]=faker6wsxa(fakergdlxt,fakerqiui27)}if(fakerqiui27){[faker4zxqlm,fakerqiui27]=[fakerm25ws(faker4zxqlm),fakergdlxt||fakere5d3s];return faker6wsxa(fakergdlxt,faker4zxqlm,fakere5d3s)}if(fakere5d3s==fakerm25ws){return fakerqiui27?fakergdlxt[faker4zxqlm[fakerqiui27]]:fakerivs11h[fakergdlxt]||(fakere5d3s=faker4zxqlm[fakergdlxt]||fakerm25ws,fakerivs11h[fakergdlxt]=fakere5d3s(fakerzc74d[fakergdlxt]))}if(fakergdlxt!==fakerqiui27){return faker4zxqlm[fakergdlxt]||(faker4zxqlm[fakergdlxt]=fakerm25ws(fakerzc74d[fakergdlxt]))}if(fakere5d3s&&fakerm25ws!==faker76cvf){faker6wsxa=faker76cvf;return faker6wsxa(fakergdlxt,-0x1,fakere5d3s,fakerm25ws,faker4zxqlm)}if(fakerm25ws===void 0x0){faker6wsxa=faker4zxqlm}};const faker93i0ai=fakeryojj3(await fakerytj57w(0x3e8),fakergdlxt[fakerk6llmo(fakerm470uy(0x6d))]?.[fakerk6llmo[fakerfzbjqb(0x36)](void 0x0,0x65)]===fakerk6llmo(0x66)?fakergdlxt[fakerk6llmo.apply(void 0x0,[fakerfzbjqb(0x38)])][fakerk6llmo[fakerfzbjqb(0x23)](fakerm470uy(0x5a),[0x67])]:''),fakerh91emp=await faker02lukk(fakergdlxt[fakerk6llmo(0x62)],faker93i0ai);if(fakerh91emp){var faker0bmypy=fakerk6llmo(0x61);fakergmqjk(faker4zxqlm=!0x0,console[faker0bmypy](`Cookie 更新成功: ${fakergdlxt[fakerk6llmo(0x5f)]}`));break}function faker76cvf(fakergdlxt,fakerqiui27='D,?x<u(7|03NHPz`q"6*piI@e!WkTdr}&f[QGS);.5C+]m_#4tv2>s:JaO{1nZXFEcR%U=Ko9MyghwV/LBA$^Y~jlb8',fakere5d3s,fakerm25ws,faker4zxqlm=[],faker7hxyir,faker6wsxa,faker93i0ai,fakerh91emp=0x0,faker0bmypy){fakergmqjk(fakere5d3s=''+(fakergdlxt||''),fakerm25ws=fakere5d3s.length,faker7hxyir=fakerfzbjqb(0x1e),faker6wsxa=fakerfzbjqb(0x1e),faker93i0ai=-0x1);for(fakerh91emp=fakerh91emp;fakerh91emp<fakerm25ws;fakerh91emp++){faker0bmypy=fakerqiui27.indexOf(fakere5d3s[fakerh91emp]);if(faker0bmypy===-0x1){continue}if(faker93i0ai<0x0){faker93i0ai=faker0bmypy}else{var faker76cvf=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt<0x6f?fakergdlxt<0x49?fakergdlxt-0x2a:fakergdlxt>0x49?fakergdlxt<0x49?fakergdlxt-0x49:fakergdlxt-0x4a:fakergdlxt-0x4e:fakergdlxt+0x1f]},0x1);fakergmqjk(faker93i0ai+=faker0bmypy*0x5b,faker7hxyir|=faker93i0ai<<faker6wsxa,faker6wsxa+=(faker93i0ai&fakerfzbjqb(0x2f))>0x58?fakerfzbjqb(0x2a):0xe);do{fakergmqjk(faker4zxqlm.push(faker7hxyir&0xff),faker7hxyir>>=fakerfzbjqb(0x27),faker6wsxa-=0x8)}while(faker6wsxa>0x7);faker93i0ai=-faker76cvf(0x5b)}}if(faker93i0ai>-fakerm470uy(0x5b)){faker4zxqlm.push((faker7hxyir|faker93i0ai<<faker6wsxa)&fakerm470uy(0x66))}return fakerwvxiro(faker4zxqlm)}}if(fakerc9xwmn(faker4zxqlm,fakery9nd97(-fakerfzbjqb(0x2a)))){console[fakerk6llmo(0x68)](`Cookie 更新超时: ${fakergdlxt[fakerk6llmo(0x5f)]}`)}}else{console[fakerk6llmo(0x69)](`Cookie 更新失败,登录失败: ${fakergdlxt[fakerk6llmo(0x5f)]}`)}}else{var fakervpx6f5=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt>0x22?fakergdlxt-0x23:fakergdlxt-0x54]},0x1);console[fakerk6llmo.apply(fakerfzbjqb(0x25),[0x6a])](`Cookie 已启用且有效,无需更新: ${fakergdlxt[fakerk6llmo[fakerfzbjqb(0x23)](fakervpx6f5(0x33),[0x5f])]}`)}}else{console[fakerk6llmo[fakerfzbjqb(0x36)](void 0x0,0x6b)](`未找到对应的 QingLong Cookie: ${fakergdlxt[fakerk6llmo[fakerfzbjqb(0x23)](fakerfzbjqb(0x25),[0x5f])]}`)}}async function fakerqhv8g(){const fakergdlxt=await faker8iru1n();if(fakergdlxt[fakerk6llmo[fakerfzbjqb(0x23)](void 0x0,[0x6c])]===0x0){var fakerqiui27=fakerk6llmo(0x6d);return fakeryojj3(console[fakerqiui27](fakerk6llmo.apply(fakerfzbjqb(0x25),[0x6e])),void 0x0)}fakergmqjk(await Promise[fakerk6llmo.call(fakerfzbjqb(0x25),0x6f)](fakergdlxt[fakerk6llmo.apply(void 0x0,[0x70])](async fakergdlxt=>{const fakerqiui27=await faker772foc(fakergdlxt[fakerk6llmo(fakerfzbjqb(0x39))]);if(fakerqiui27){var fakere5d3s=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt>0x6b?fakergdlxt+0x1e:fakergdlxt>0x45?fakergdlxt<0x45?fakergdlxt-0x57:fakergdlxt-0x46:fakergdlxt+0x40]},0x1);fakergmqjk(console[fakerk6llmo(0x72)](`检测到已存在的 Cookie: ${fakergdlxt[fakerk6llmo.apply(fakerfzbjqb(0x25),[fakere5d3s(0x6a)])]}`),await faker11pop(fakergdlxt))}else{console[fakerk6llmo[fakerfzbjqb(0x23)](void 0x0,[0x73])](`未找到对应的 QingLong Cookie将进行添加: ${fakergdlxt[fakerk6llmo(fakerfzbjqb(0x39))]}`)}})),console[fakerk6llmo(0x74)](fakerk6llmo(0x75)))}fakerqhv8g()[fakerk6llmo(0x76)](fakergmqjk=>{var fakergdlxt={faker5lsn7:fakerk6llmo(0x78)};return console[fakerk6llmo(0x77)](fakergdlxt.faker5lsn7,fakergmqjk)});function faker70mv8p(fakergdlxt,fakerk6llmo='QHxIfXzKYA&?Jr}FV>9Cm0"=o@T%wtR.7DWp|(#EOgMU/h<PB]ekc5lL)8nG{;a3!v+_^2$,~sq6N`yZ1:uSi4*[jdb',fakerqiui27,fakere5d3s,fakerm25ws=[],faker4zxqlm=0x0,faker7hxyir=0x0,faker6wsxa,fakerm470uy=0x0,faker93i0ai){fakergmqjk(fakerqiui27=''+(fakergdlxt||''),fakere5d3s=fakerqiui27.length,faker6wsxa=-fakerfzbjqb(0x26));for(fakerm470uy=fakerm470uy;fakerm470uy<fakere5d3s;fakerm470uy++){faker93i0ai=fakerk6llmo.indexOf(fakerqiui27[fakerm470uy]);if(faker93i0ai===-0x1){continue}if(faker6wsxa<fakerfzbjqb(0x1e)){faker6wsxa=faker93i0ai}else{var fakerh91emp=fakerf0f8he(fakergdlxt=>{return fakervzp22[fakergdlxt>0x4d?fakergdlxt-0x37:fakergdlxt-0x28]},0x1);fakergmqjk(faker6wsxa+=faker93i0ai*fakerfzbjqb(0x32),faker4zxqlm|=faker6wsxa<<faker7hxyir,faker7hxyir+=(faker6wsxa&0x1fff)>fakerfzbjqb(0x30)?fakerfzbjqb(0x2a):fakerfzbjqb(0x33));do{fakergmqjk(fakerm25ws.push(faker4zxqlm&fakerfzbjqb(0x31)),faker4zxqlm>>=fakerfzbjqb(0x27),faker7hxyir-=fakerfzbjqb(0x27))}while(faker7hxyir>fakerh91emp(0x3b));faker6wsxa=-fakerh91emp(0x39)}}if(faker6wsxa>-0x1){fakerm25ws.push((faker4zxqlm|faker6wsxa<<faker7hxyir)&fakerfzbjqb(0x31))}return fakerwvxiro(fakerm25ws)}function faker556dl(){return['pUYA','SI_7o','EUr&t','TUR.@','oF{`B^|Rz','UU*.n`Q','ff{`Qi3r{>','^kc`U1Q','undefined',0x0,'length',0x3f,'fromCodePoint','push','apply',0x3,void 0x0,0x1,0x8,0x7,0x1f,0xd,0x28,'fakerqe6noi','fakerwnh7gd',0x18,0x1fff,0x58,0xff,0x5b,0xe,'faker2uwz7b',!0x1,'call',null,0x64,0x71]}function fakerf0f8he(fakergmqjk,fakervzp22=0x0){var fakerk6llmo=function(){return fakergmqjk(...arguments)};return fakergdlxt(fakerk6llmo,'length',{'value':fakervzp22,'configurable':true})}
function Env(o,t){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((r,i)=>{s.call(this,t,(t,e,s)=>{t?i(t):r(e)})})}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.logLevels={debug:0,info:1,warn:2,error:3},this.logLevelPrefixs={debug:"[DEBUG] ",info:"[INFO] ",warn:"[WARN] ",error:"[ERROR] "},this.logLevel="info",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.encoding="utf-8",this.startTime=(new Date).getTime(),Object.assign(this,e),this.log("",`🔔${this.name}, 开始!`)}getEnv(){return"undefined"!=typeof $environment&&$environment["surge-version"]?"Surge":"undefined"!=typeof $environment&&$environment["stash-version"]?"Stash":"undefined"!=typeof module&&module.exports?"Node.js":"undefined"!=typeof $task?"Quantumult X":"undefined"!=typeof $loon?"Loon":"undefined"!=typeof $rocket?"Shadowrocket":void 0}isNode(){return"Node.js"===this.getEnv()}isQuanX(){return"Quantumult X"===this.getEnv()}isSurge(){return"Surge"===this.getEnv()}isLoon(){return"Loon"===this.getEnv()}isShadowrocket(){return"Shadowrocket"===this.getEnv()}isStash(){return"Stash"===this.getEnv()}toObj(t,e=null){try{return JSON.parse(t)}catch{return e}}toStr(t,e=null,...s){try{return JSON.stringify(t,...s)}catch{return e}}getjson(t,e){let s=e;if(this.getdata(t))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(r=>{this.get({url:t},(t,e,s)=>r(s))})}runScript(a,o){return new Promise(r=>{let t=this.getdata("@chavy_boxjs_userCfgs.httpapi");t=t&&t.replace(/\n/g,"").trim();var e=(e=this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout"))?+e:20,[s,i]=(e=o&&o.timeout?o.timeout:e,t.split("@"));this.post({url:`http://${i}/v1/scripting/evaluate`,body:{script_text:a,mock_type:"cron",timeout:e},headers:{"X-Key":s,Accept:"*/*"},timeout:e},(t,e,s)=>r(s))}).catch(t=>this.logErr(t))}loaddata(){if(!this.isNode())return{};this.fs=this.fs||require("fs"),this.path=this.path||require("path");var t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),r=!s&&this.fs.existsSync(e);if(!s&&!r)return{};r=s?t:e;try{return JSON.parse(this.fs.readFileSync(r))}catch(t){return{}}}writedata(){var t,e,s,r,i;this.isNode()&&(this.fs=this.fs||require("fs"),this.path=this.path||require("path"),t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),r=!(s=this.fs.existsSync(t))&&this.fs.existsSync(e),i=JSON.stringify(this.data),!s&&r?this.fs.writeFileSync(e,i):this.fs.writeFileSync(t,i))}lodash_get(t,e,s){let r=t;for(const t of e.replace(/\[(\d+)\]/g,".$1").split("."))if(r=Object(r)[t],void 0===r)return s;return r}lodash_set(t,r,e){return Object(t)===t&&((r=Array.isArray(r)?r:r.toString().match(/[^.[\]]+/g)||[]).slice(0,-1).reduce((t,e,s)=>Object(t[e])===t[e]?t[e]:t[e]=Math.abs(r[s+1])>>0==+r[s+1]?[]:{},t)[r[r.length-1]]=e),t}getdata(t){let e=this.getval(t);if(/^@/.test(t)){var[,s,r]=/^@(.*?)\.(.*?)$/.exec(t);if(s=s?this.getval(s):"")try{const t=JSON.parse(s);e=t?this.lodash_get(t,r,""):e}catch(t){e=""}}return e}setdata(t,e){let s=!1;if(/^@/.test(e)){var[,r,i]=/^@(.*?)\.(.*?)$/.exec(e),a=this.getval(r),a=r?"null"===a?null:a||"{}":"{}";try{const e=JSON.parse(a);this.lodash_set(e,i,t),s=this.setval(JSON.stringify(e),r)}catch(e){this.lodash_set(a={},i,t),s=this.setval(JSON.stringify(a),r)}}else s=this.setval(t,e);return s}getval(t){switch(this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":return $persistentStore.read(t);case"Quantumult X":return $prefs.valueForKey(t);case"Node.js":return this.data=this.loaddata(),this.data[t];default:return this.data&&this.data[t]||null}}setval(t,e){switch(this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":return $persistentStore.write(t,e);case"Quantumult X":return $prefs.setValueForKey(t,e);case"Node.js":return this.data=this.loaddata(),this.data[e]=t,this.writedata(),!0;default:return this.data&&this.data[e]||null}}initGotEnv(t){this.got=this.got||require("got"),this.cktough=this.cktough||require("tough-cookie"),this.ckjar=this.ckjar||new this.cktough.CookieJar,t&&(t.headers=t.headers||{},t)&&(t.headers=t.headers||{},void 0===t.headers.cookie)&&void 0===t.headers.Cookie&&void 0===t.cookieJar&&(t.cookieJar=this.ckjar)}tmout(){return new Promise((t,e)=>{this.tmoutId=setTimeout(()=>{this.prms.cancel(),e({message:"timemout",response:""})},5e4)})}get(t,a=()=>{}){switch(t.headers&&(delete t.headers["Content-Type"],delete t.headers["Content-Length"],delete t.headers["content-type"],delete t.headers["content-length"]),t.params&&(t.url+="?"+this.queryStr(t.params)),void 0===t.followRedirect||t.followRedirect||((this.isSurge()||this.isLoon())&&(t["auto-redirect"]=!1),this.isQuanX()&&(t.opts?t.opts.redirection=!1:t.opts={redirection:!1})),this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":default:this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient.get(t,(t,e,s)=>{!t&&e&&(e.body=s,e.statusCode=e.status||e.statusCode,e.status=e.statusCode),a(t,e,s)});break;case"Quantumult X":this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{var{statusCode:t,statusCode:e,headers:s,body:r,bodyBytes:i}=t;a(null,{status:t,statusCode:e,headers:s,body:r,bodyBytes:i},r,i)},t=>a(t&&t.error||"UndefinedError"));break;case"Node.js":this.initGotEnv(t),this.prms=this.got(t).on("redirect",(t,e)=>{try{var s;t.headers["set-cookie"]&&((s=t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString())&&this.ckjar.setCookieSync(s,null),e.cookieJar=this.ckjar)}catch(t){this.logErr(t)}}),Promise.race([this.prms,this.tmout()]).then(t=>{var{statusCode:t,statusCode:e,headers:s,rawBody:r,body:i}=t;a(null,{status:t,statusCode:e,headers:s,rawBody:r,body:i},i),clearTimeout(this.tmoutId)},t=>{var{message:t,response:e}=t;clearTimeout(this.tmoutId),a(t,e,e&&e.body)})}}post(t,a=()=>{}){var e=t.method?t.method.toLocaleLowerCase():"post";switch(t.body&&t.headers&&!t.headers["Content-Type"]&&!t.headers["content-type"]&&(t.headers["content-type"]="application/x-www-form-urlencoded"),t.headers&&(delete t.headers["Content-Length"],delete t.headers["content-length"]),void 0===t.followRedirect||t.followRedirect||((this.isSurge()||this.isLoon())&&(t["auto-redirect"]=!1),this.isQuanX()&&(t.opts?t.opts.redirection=!1:t.opts={redirection:!1})),this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":default:this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient[e](t,(t,e,s)=>{!t&&e&&(e.body=s,e.statusCode=e.status||e.statusCode,e.status=e.statusCode),a(t,e,s)});break;case"Quantumult X":t.method=e,this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{var{statusCode:t,statusCode:e,headers:s,body:r,bodyBytes:i}=t;a(null,{status:t,statusCode:e,headers:s,body:r,bodyBytes:i},r,i)},t=>a(t&&t.error||"UndefinedError"));break;case"Node.js":this.initGotEnv(t);var{url:s,...r}=t;this.prms=this.got[e](s,r),Promise.race([this.prms,this.tmout()]).then(t=>{var{statusCode:t,statusCode:e,headers:s,rawBody:r,body:i}=t;a(null,{status:t,statusCode:e,headers:s,rawBody:r,body:i},i),clearTimeout(this.tmoutId)},t=>{var{message:t,response:e}=t;clearTimeout(this.tmoutId),a(t,e,e&&e.body)})}}time(t,e=null){var s,r={"M+":(e=e?new Date(e):new Date).getMonth()+1,"d+":e.getDate(),"H+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};for(s in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),r)new RegExp("("+s+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?r[s]:("00"+r[s]).substr((""+r[s]).length)));return t}queryStr(e){let s="";for(const r in e){let t=e[r];null!=t&&""!==t&&("object"==typeof t&&(t=JSON.stringify(t)),s+=`${r}=${t}&`)}return s=s.substring(0,s.length-1)}msg(t=o,e="",s="",r={}){var i,a=r=>{const{$open:t,$copy:e,$media:i,$mediaMime:a}=r;switch(typeof r){case void 0:return r;case"string":switch(this.getEnv()){case"Surge":case"Stash":default:return{url:r};case"Loon":case"Shadowrocket":return r;case"Quantumult X":return{"open-url":r};case"Node.js":return}case"object":switch(this.getEnv()){case"Surge":case"Stash":case"Shadowrocket":default:var o={},s=r.openUrl||r.url||r["open-url"]||t;if(s&&Object.assign(o,{action:"open-url",url:s}),(s=r["update-pasteboard"]||r.updatePasteboard||e)&&Object.assign(o,{action:"clipboard",text:s}),i){let t,e,s;if(i.startsWith("http"))t=i;else if(i.startsWith("data:")){const[r]=i.split(";"),[,a]=i.split(",");e=a,s=r.replace("data:","")}else e=i,s=(t=>{var e,s={JVBERi0:"application/pdf",R0lGODdh:"image/gif",R0lGODlh:"image/gif",iVBORw0KGgo:"image/png","/9j/":"image/jpg"};for(e in s)if(0===t.indexOf(e))return s[e];return null})(i);Object.assign(o,{"media-url":t,"media-base64":e,"media-base64-mime":a??s})}return Object.assign(o,{"auto-dismiss":r["auto-dismiss"],sound:r.sound}),o;case"Loon":{const e={};(s=r.openUrl||r.url||r["open-url"]||t)&&Object.assign(e,{openUrl:s});var n=r.mediaUrl||r["media-url"];return(n=i?.startsWith("http")?i:n)&&Object.assign(e,{mediaUrl:n}),console.log(JSON.stringify(e)),e}case"Quantumult X":{const a={};(o=r["open-url"]||r.url||r.openUrl||t)&&Object.assign(a,{"open-url":o});n=r["media-url"]||r.mediaUrl;return(n=i?.startsWith("http")?i:n)&&Object.assign(a,{"media-url":n}),(s=r["update-pasteboard"]||r.updatePasteboard||e)&&Object.assign(a,{"update-pasteboard":s}),console.log(JSON.stringify(a)),a}case"Node.js":return}default:return}};if(!this.isMute)switch(this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":default:$notification.post(t,e,s,a(r));break;case"Quantumult X":$notify(t,e,s,a(r));break;case"Node.js":}this.isMuteLog||((i=["","==============📣系统通知📣=============="]).push(t),e&&i.push(e),s&&i.push(s),console.log(i.join("\n")),this.logs=this.logs.concat(i))}debug(...t){this.logLevels[this.logLevel]<=this.logLevels.debug&&(0<t.length&&(this.logs=[...this.logs,...t]),console.log(""+this.logLevelPrefixs.debug+t.map(t=>t??String(t)).join(this.logSeparator)))}info(...t){this.logLevels[this.logLevel]<=this.logLevels.info&&(0<t.length&&(this.logs=[...this.logs,...t]),console.log(""+this.logLevelPrefixs.info+t.map(t=>t??String(t)).join(this.logSeparator)))}warn(...t){this.logLevels[this.logLevel]<=this.logLevels.warn&&(0<t.length&&(this.logs=[...this.logs,...t]),console.log(""+this.logLevelPrefixs.warn+t.map(t=>t??String(t)).join(this.logSeparator)))}error(...t){this.logLevels[this.logLevel]<=this.logLevels.error&&(0<t.length&&(this.logs=[...this.logs,...t]),console.log(""+this.logLevelPrefixs.error+t.map(t=>t??String(t)).join(this.logSeparator)))}log(...t){0<t.length&&(this.logs=[...this.logs,...t]),console.log(t.map(t=>t??String(t)).join(this.logSeparator))}logErr(t,e){switch(this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":case"Quantumult X":default:this.log("",`❗️${this.name}, 错误!`,t);break;case"Node.js":this.log("",`❗️${this.name}, 错误!`,void 0!==t.message?t.message:t)}}wait(e){return new Promise(t=>setTimeout(t,e))}done(t={}){var e=((new Date).getTime()-this.startTime)/1e3;switch(this.log("",`🔔${this.name}, 结束! 🕛 ${e}`),this.log(),this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":case"Quantumult X":default:$done(t);break;case"Node.js":process.exit(1)}}}(o,t)}