From 6447825978804df3830c1da94e4a254477d97b48 Mon Sep 17 00:00:00 2001 From: linyuchen Date: Wed, 1 May 2024 18:48:47 +0800 Subject: [PATCH] build: v1.2.0.beta10 --- src/core.lib/MoeHoo-linux-x64.node | Bin 63408 -> 63360 bytes .../src/adapters/NodeIDependsAdapter.js | 2 +- .../src/adapters/NodeIDispatcherAdapter.js | 2 +- .../src/adapters/NodeIGlobalAdapter.js | 2 +- src/core.lib/src/adapters/index.js | 2 +- src/core.lib/src/apis/file.js | 2 +- src/core.lib/src/apis/friend.js | 2 +- src/core.lib/src/apis/group.js | 2 +- src/core.lib/src/apis/index.js | 2 +- src/core.lib/src/apis/msg.js | 2 +- src/core.lib/src/apis/sign.js | 2 +- src/core.lib/src/apis/user.js | 2 +- src/core.lib/src/apis/webapi.js | 2 +- src/core.lib/src/apis/window.js | 2 +- src/core.lib/src/core.js | 2 +- src/core.lib/src/data.js | 2 +- src/core.lib/src/entities/cache.js | 2 +- src/core.lib/src/entities/constructor.js | 2 +- src/core.lib/src/entities/group.js | 2 +- src/core.lib/src/entities/index.js | 2 +- src/core.lib/src/entities/msg.js | 2 +- src/core.lib/src/entities/notify.js | 2 +- src/core.lib/src/entities/user.js | 2 +- src/core.lib/src/external/hook.js | 2 +- src/core.lib/src/index.js | 2 +- .../listeners/NodeIKernelBuddyListener.d.ts | 20 +++++++----------- .../src/listeners/NodeIKernelBuddyListener.js | 2 +- .../NodeIKernelFileAssistantListener.js | 2 +- .../src/listeners/NodeIKernelGroupListener.js | 2 +- .../src/listeners/NodeIKernelLoginListener.js | 2 +- .../src/listeners/NodeIKernelMsgListener.js | 2 +- .../listeners/NodeIKernelProfileListener.js | 2 +- .../src/listeners/NodeIKernelRobotListener.js | 2 +- .../listeners/NodeIKernelSessionListener.js | 2 +- .../NodeIKernelStorageCleanListener.js | 2 +- src/core.lib/src/listeners/index.js | 2 +- src/core.lib/src/services/common.js | 2 +- src/core.lib/src/services/index.js | 2 +- src/core.lib/src/sessionConfig.d.ts | 2 +- src/core.lib/src/sessionConfig.js | 2 +- src/core.lib/src/utils/config.js | 2 +- src/core.lib/src/utils/db.js | 2 +- src/core.lib/src/wrapper.js | 2 +- 43 files changed, 49 insertions(+), 53 deletions(-) diff --git a/src/core.lib/MoeHoo-linux-x64.node b/src/core.lib/MoeHoo-linux-x64.node index 05257ddd9550958af949823b5269c738676b7c26..2d911d18b80289d50ad43feba0d78c344bc983b2 100644 GIT binary patch delta 9389 zcmZu%2~<=^)_w)Fb}LQO0zTRe)J8yd;(`kiTpPvMxNiukaf>FXsAw>NK(y16K<;GX z%xHp>Xb_j69TSrnWpSO+C@zy^GBKEm+MT$d`P~we_kZ=?YwW|BI;ZPa-K}ojy0yHj zuD#=3bjQ0Qf)!Op4%8JrBgmj*(q#Om;5QXNo~A26n5Du@6=ng>#qW9i7T~uC zza{uB#gC_D_`QVR3SL24sQ_WM3OUHfZ>?H?SrGh$0#w%H_X>W6jwWvdqeni$tP2@6 zajYYyYSyq4y6Pjce^3+3i+~X+yPZYjZ4?9}rFsQWUAtgb27ZxRfH!nf@eXTyEn|P? z!j!8GW7LDbsWw>KTofL+6h!EEeG}d3Q!HSLU*ArmyG^mTCG)KJ)}y!>!aA;qRyo6RQxeO-mm615flMG@(8M<<^E$#f@+=H z8@p7g^NuF}aD(@%rAsOO#tg^I(Az#VHf*Z5x8OtXh3zV|1qgyacti2C_F3Ce5Ddaz z;CNz!R#>OfD^P#_(c5U#PdKRJa^<>SIHuOuHhl>B4#GvXo+Hz>LbF=G_~8pMuf1?b ztExq#j)$x6kb7EMrU zxoxP~v_Cw=nA;|TbLnb$fT=4)xOaJ~QssCkbR~U+Xi@`Mrf%|}Mo}`TQNX)pD?F&V zv<%c7SxU(cc~Do=wg{1)MEL5@dtj&1*$7e3ms)pfrh4#cBYjPC-6+5o51ADd6DgXO zdQ!hsDtxj|$iCdGu2X!TV0V>}Z+$q$9>PNRggAM7RprciODNYnfJnoJ&8tB1@KTHjYR_4J@-dr*7P-o7Gjjq=63+z(AoXzJ_1 zTjaqzlk`!do^N69R6$LUwnX`w2DnjxRUR@!X<3wLD)gY%dQjKXHc%&dQ0qLXBj{|D zNN1ujnjYA3^gFOmfNl1`j;EMtk)or0^(`LQ36vQvn$*QfZY5uhR33-Js62X%$-T95 za{PIj3A0oXUZz{oBJ&|l%o@5G?Ms_te5oMDSD)*_(~2Tvcm1r6DXkesJ@P{XNvd>orhsef30=T-o&7xDa-ax~7LQGo_}FX624e z=|>qm>##gGjP))r;$pWmE#*PKZV&|5sE3l&+LzSH>E&VnrJ4y{x>&)NZun$`H!XNM%D7DN3gUsrbod<6zuy5N$y$K~ivv-_GY_B4M>;SfE81%|T9 zR`(_Gl6|Dvx7-3d(#^glkC>rs6%?k~easfyWV03>wAd}dmLd8}xm>s(L?o-$Vh7DN z4xAOA$_Atw>d_xpKUCD%PPg~hwf6XXCKL+xDcbU}l5M=U_&`?pW-@VUlLJER)Plny7Upf{w1w`%M`Gf9J}d zP%3E*OfOG9m?}{FtjK?z0fQ5 zX#_011};QE>EGaRG|<6f``!tkOBUO4i>)Eu_J=!GlEL{Ij}NRC@T9Xl^kX3i;W6Ux ze1nTbHX_7a(J;M*+vED}3Ej;K=zd?eq`+*IJ@radV?yM$d7=w8?3S-^#bAeT8mr03?P>INorHFunsY0JFuut2r8 ze}`3f((U1?d}atg4>g3O2nf#vn!G59RZ#h&ZtPpCSu}?gkZ$ot){80^oBIU7 zc<4&A{q9!Bfbmc_0KTlDZx=_hVA3qHv(1jmC9gB~6@@Mx()Z{UN#g5+)?)k3V!NMK zj%ed1eE__NjuS0c4m0WIs<}Zua7?q5)CF5?rRHX= z7@&8YLGxCJu~M?F4q^Rh*XkZjL#I}U_ynCtu*DX3^SXbIQpfl3x_pj$j_=X)AXi&n zYM#zlWgIo2sTxD!ymeNRO5v6Xv}nz8_~PGdVzqg|p^5wCpPz`a7?E$q-uS2d0c1L;=0$_IGX!%HEW=b1*6y=$|%_8 zb>$z_QZTaPsne2llz(_Q_tCKR!C`NObAu2vc1BDP;#}T;X7^H79vb*)-Z&I2>E9tFW8y;R)F~?F8~GG6mjx zPF9@4d;K*A4Q(~hkfPo_-ci`@a5^TJRcXD{oC_vrF%=X=4#?uPlcnZGJaUoTEL@NC zr(-xFTz;S)w$g1_Hg59;^-cP=C<=%1_Ql=VCJHMa7}Ro{8#GGzjDN3L>?!fs0&dds z;*snIeO$Z)XN1`s!mu7~*zk zIVGX((BKtkz2j!d5f*r$9uaT&_)ClTW^<_A%l>QVNZCzxfp)(-L;L8c?2;Vv-PmQ& zXp7tv*(1$7Bv(Iy!5P$mNF|fBP^N+)owa zn;h{w5McZ_FE=UWb-a8{DL3%)VnxBnyu4SzPvzx$Ud9+|T@D)JjY!xHuio>_?JgxS6Z1GT{mc~eF5{O{q`jN2zZNIoQCZ&i5}Sd(csM;!jI%5 zs9g=%u@_Xx&KS~v8BU%2!(*X;UYN!H3Z{4eE;MWNRO2{sS?n();gp&enr;tkq=wBA z?634Q^5u@e@_H{8PXBtN37>e?6=r6ovlSt%j&4;;ud;)&{jo~;@`J5kFz5EYU zP4f!IRh}?6XXWB~Su68aEPip};K3_b%|(&c{5=g!T1VaAhk6x0dRLN8VWw%TB&iwj z(EE}U>>~(Q0sjy1r5%!F#cf;#U^G5VF9H4uu+L6OGHV6l9l#2}2EggKBO6pBNgn|& z0-TL0xCJm5@~3u7(j(~Kv`3Pv_|ybE?1fWl{$5FX0z@@nAg1x6edrBfKHzM?O@PM$ zweZSN7~}-30^EXV4u;}GSQGLge+qCj;Mah;Tn_P~#U0ZrKz^wkjL=vL=tNBI0el2l z*AAbCTExjE&H(5Htj2<9MGuos;=~51fo7(?9}Hu8bn63=Z6;0iGm*gv)FdeL(gbzsFuHNhz#q64=NvV~jYI~QVs}$}7Cn)bz=I&uZ{SaF2KJvDQqS1KTzdIm^FQINq z3Mf2KBj}smBXG;peNS&p_0&BhSQ3??oKL&=b>9@@)F%i#Vnw-H{Muezd~v9-AZ@bR>>N(BdN@%7@8%zm zIAcN=A)oGovzl}##(+QLM3%Ab>(*7;t`!pk5PkA{)g(p3I&}&}tN6C>KuL7Boyb

s(E%7N!?73C;+_cOvV z%0aKLaw)l2Pk0@7%f^l(&icqrD=P`Tc=FO8ijqrIpZislt>O{U7z zqGmJd%2TkleX!{OYCVO{Laq7&!dF(Fv~>5hh;Pc}c-noD=cZ4v&hb`q)sU6fU2xta z<}2b`bANl0WzbdR8|3nCo}142Dwfx&zW6}a&Mmn54>7H`UeQ_myn=SGUxR_?{cZcY zM=HMUYw$j*Qzf8kvVbT5+4(zDduZ$}^&Avr29IzTK1RL7ib#T2HYnR_#)~w3I)m zYbrpMM{N87lz1C$UwQjv$ec`_GD|nOHx$ zOxri;ztUCke8_VX-|)E|ZQq9Hk?~7DSCN|tJUp^asgdR0wOleaAV_JY?fY?0+71na z<$MOuHFj{ywwfALnYM5DcVzAWN;oItDxT*Bl!LrdF8`A%QNF{=CLeq^@V>Q;x2}|N zUStF4E;w^|*;EWp`IY&CG87T&h`cUy{!7kp@x1%92%-P=kA~5}hsr*lOZ%bS#`AoY=0qZ=5w_DtDdy(`g@M}8+BT`edh-j zPfaax##8*5g5-v?$#^%;Xbw}bZs-2+Ry4nUs>}xVU9H`r*a-61&hXb)%+8&1gKY4)Y AE&u=k delta 9442 zcmZu%3tUvyy59>K9dw2Pl{TX&kb{B>0~o$dFwH%Rif??7peB%5pqSXvK!J1`QS8gK zPIb|a@3&JY>i7T=ADJmu=jc%jylOKyO|UFWZQuXedk@a#p7s0f^?mDmt=G4{wPvj; zy4&i&-B#t1?7;e{etwmG1SM6j&$jy2j#mq{>o;fm#kN)pr=5Z96zlSd;r>SBl*2_) zw)1Osk22qB8#w!KTp$A9M7r-Yu5co-$@r$=n~IO8X(|wAYVZXOrUTBwHxFMXzHEH+ z@h!l|)64jB@h##7qIm6q8GWI?t>8-4Z@{sSQ&H9mV z`Nfh;AIu6A3kwtr>3*?nFUNHEO@a_eNj@E@$}gQII>Xy$GB!aGs%Up0PRLRl>!-E3 zn-1baXCdHgm7v$?n<4PD;4cKw3WFFZtWn8rG;UAYX$TDr)2RL$brD@Qgqo{fRExtj z>UE~pP(^`8(R^X9O5Uz<^HEQG)DufdMsZp$pFX6vDiA*PRk@AY6mHNO(7lyPFV9c~ z%_#Hq&_|^on4p%cR3KcZgT_!+PIX2xu!2uBQZZzC+E2e5Lz4ouaVbG-dD;pt9~XU# zak-7A@%A=qPLU?6@||d!|NrlMIIQteJV5LHMRU34*&e@KfZlL!B2|MMpp7ObL`e-= zUy7*7UkohLM#eL5gUDy`in2}Cz(%dsb(+jKw9^zC7{Hw# zsaosr5xNX}~re`vH^rEC3k&iA<6`CHO@esNLi`q(6xU0Rmy{Sv2XzmTV zN4MOIn@3~7ovmo8S)~_u2`!Hljh>Lp`4^}zQl!dAgP8|ZPpbFQNu_JB$V0IwHF|Lu zkugd%dxA2TX#7f*!`KU%G$cwiB2GL>6y8&$f+&L#&d{6!=pd*&q73HrW*WTiyjtLv zOmq(Q@PO_~v0mJ#=rOov4+}8SiE7jEeCg! z7q`lbJDm1{JHm^5!Hb(r*U)Z5Z-cSki#nE!y+s-fYNHo5g@*JN&02g`>=kLA%l$Hu z7W5uz)S|h7&!XfQgYkeD zZ!V3Av9cgqjy#z5#)zyl)y7!KU`5NkXw7@!&zJzA1 z7jGh+vx@Wx)I=|820gY~X=bc}`o|i~Jd}D;x|h^KN{ba)Pg)#nrNglXW04mxi;lz| zV|{6PoXFB>L);QJn2hmOHk5|Mk7UnLY5Y3#Xpd3A6m2B=h|HqsKB9T07dPFD`wFFj zyWESL>%|@KT+wHu;ZWiYUqcqRf6pEFP?pQ7{&~?Uj{$2~csb~RQ_=x{;M z%12t1KcP*wJMBYD1wnEoG?oC^Pe~44ciK2AzQYw>b|ma+CSNb1tD}atx2yE&&Gd4L z9v#wthDz?;OrA|MM$fcNE*6Bii`;IR?gbqBBzqeddo0VY+rK0G*CSbWr_hzrq3j|( z938=YDLnakw!oQ{e2lTZ&d9MtS+@m6T+k8H(74(Rnny7vWT5JD zsccA+BA+mjdZmQ01tg_Jb$Ii2h)DLE`36}1=L$h^*_FW4MmP)z_ z7Nc_vxclz$X6QCj-w8H0pNb~*W)kh45GD2oSF(R6+3&hW|18U;Rf|VT4r46cnGojl zXEK>4-e4K@%fx}KJ6R`XvZJ(dQWDnJEwMb8?u}}o@T|F_Qte+YygE!AAr?7WqKOhOdn70 z75I1&JgxKxA3;bedR8!%oTJ9+-P&AMsQanYjChtvV`dz~5zja?gcVcIncE6W779Yq zKnUN4T5+PDC70z`!lbf%OKjYkxQodc9J`ATV2&kHve!tZcTA-z2ttzm-%?q^^ydWO z7!OHtRj%VdK&eLEGbf{oNtsI`IdAk>QC2JjZBl%OrzGK zknEUi2_6x5C+^~y(i{2Rk{t>4d7ge8g`p%zvPEB(CnwqSE&Af$S$?wQD6w1uXRg%C zHzE>JbKaG@QH~6D(hJn}E(!Jl5tgSR{unKpJFh%H?Wnn@22x zV~*h#Lz#q{k}Zbf2h3Dj2zxe%uSK#?vgpw>$sq+p`Glez2NgL*FFC+-PljY+`De)G z#w1fUn(TfSxaQC3)bG$yC+8|g$uU`9HcGaS(HH-LYRdlPLp2$TWdhn3G(|E0J;YRn z&$+?~Ls^P!pRBfPrboekS8@zPlXUUW>0v4z$lEkQ?;Z>RbbS%x5}$(rSMmP*4ga$EWE z@y59QVbkMEl0C_ntzMVLi$}<8?hm|qw@)##X1i2X6pV8HCKQGu%xu()TGxl}7 zbVHWm`oVlC1K|INuC=sjwxhG{x;oqen9u>==le^LLWIa=u4DAnsb()u6Ye9}DFwbM6q2C#ADKX*KPOzCr@j31#6&#-(&@67GXHqp7c z(LVRG>CxP9_C0ldaRDOgniqGlSW1{Tm0hB;dC9l~`1ibg_7siFJZXIeCLAO5QrTpE zX_cuY9mO(yJY4v3uqiZAz(NeC;aUAz1uf4CVQ1;RtQS}g{hqao z#nXyxOZRSQJZ#zQk3HrBLGd!zS8{ZDkIrUCu}Hd~?O^XaSG=^Au^%WPXHd`c-^ntM zB6`XGP_o~*mBA5tlRgFA%SLq5Y+9T%CmWuuAK4gznudYZ1rtB=38}K z+;5RPZ+wrQX;`lPv0UT$avg!?YQN=r3>og{dLB6^qG7(2v2ZHe=NHwnN3=P=*uPD*GWn8yxTU}~pW+u6=r5k<6Rqn*hZaZr{4tHLE}k9aj~^*g zaaFKnFR|1ktbqS8l_tI#!QQ5&uZFVW^zN%&ac-=9HPkoaf-F|pok z;a^6u!<4k_10VmhRKIL^yGv(e`B(w3`6yYJ2S=3l;O&9OICM`>PG~ywL@649RcMh9(lLW*`i)JvHVul1xqMsMZX|HscD4p zIlnKG9Eq{mC$3V)is9@x+O}dVtE1$V5o{1GT-nEG$w?YlY+()b<;r*jFBy#06j2<> z&ePc92pl=`i<8jXvBhDnQQ>#4I_K5mqpaicYB;>y)nUM6JHzS7(5I{o#H zX?lH?(%13y=#5ST`r_P!o+u+y&ppDSo1v1F&NafvTs}v+!eP}-bjKC#TQqJ}Fxx;` ztK!)x`s=C?cAqL&O=Q(%Sp5Q~d;aRqY%Q%?oy%UN2diy`yMtks{Jx4G;`mb4z&4H_QR&ZfypH3TL%rLH<1{p< zgWAP4ALL|vgL+U}0#aNRcx7B8ovzsj7k=~)G~#8o;#0UGb4_SA^uB87Ag2yitLnfN zt01k0$y4rP47z9cFkp;4co#2xh!?)rOFkX+LayMpHA~dG{cE0B$@h|u_oDal!lyLr z*0_K5qIdP8xAwA=*(_7*e!ZsKlge&+3H{V8RO9}Q20G@k5ZdhMZ=8tH;w`pe!K*VXZJe7S|C(~RzfJyeD%+6SpJ!ckf|FU1s95`^%;@LojMf@s|uX}oBi_KZJWw1}7zCxByV|@h!)&pMp zn=A+W;>K;OEdK(y4lo6mcLxA_I2eXcACu(*=wAX{1Ly+G<@$&adR#AE0!#&rghS*2K7c3f0o21O zs#@cRVla?zxB#FFuo7V~1wE7ybt?gb`Tl_(>apkeqGwsRWO*52FpfW)(11w5J%IfI zs{kdyZvayPU4T0PL%4mMMi0OaPq>Cu5~HQtI>R+KZ0i=+|3g`ZD>NrA!(UEfL9arG zJt-YXK0X(@x6Q#0F=l(`5fTtL=`m1GR9p=yxK@~J|8si4suV(rGvXV1m%F^uSxS;*SX+i(dAvCL94M$ z`)eEyH-S?^#@&O03cwkrad`J#;CxJJyN3o1hgW&J$Lk)9N)zee?hZjbW_mb@;BX)9 zPnUN;hu`d7_H@H4PulYwE(uD3ucn=Q=KFN|ke=H6G&@ZL_Kw8%xngf9f127m5vQg5 z$XAkWA0MLy`}(mDXzM;(bhW>5sFm)rzfj?;yNO(CRo-o=<;&=W$dCL4sohQ%uZKnZ8 zLNR&Mj?BWd!e_u|)8!*pyrcOY4GrAXTb1_AO)3pIYQ@b&_R&x_%xORRLo2`f;i^ah z03&iq8j?xrxyNWB&xHmPffO`m@_(K>^sfZ3-Ynvu-QOUvujs69NpAcCR4LC6p z6SV^PW_tI8)f|wb32I;yW}e$gq=pl?*KNVA2AAOhtAYY+t#}Gbs$GZMmAYC;YBzma z3=p#6bv}4?sU&uCBz(qpa#mo=XRiht-xhC+kW}6l<9fg!`NL4l2ctxd-tws^nHt)N z*qV4=$#dP$kPP7Ol)82ZO6@t8&=c6xuzFyw+C_*cDVIxtenIPFrA9yD(Zs!O^(oPu z376n}Iu6E4`h|0Cd=uf^Fpc|+#+?Z|Z&Q`lCQl&R47xG` z8LFV?3Gx!HIE|6wTD(tq5IfjbWZjg!FVD?yVEJ;3trsCwcSdBBC=YMWD|v1{+fHl$ zcvVCR$3Pind?DgTNgyO&RPc8c{20&8^#--=EuV2CD6gGp>t|GLwtNB}3p(#{%O}q5 z8olN7@^NmBT~YF0)YMwU?;oBYqB^~Z@Xhnf$U8^#8Ef34_Q2Cut4VD|%cpLMzn7cm zXxx@h#A}t;^rMPQM}%D7-j)yC3n=ePyu)eSfVFD9Td~r3N}$c)E(la>Z}~J^#9#i| z-|)UK+D<}-+fURyK#Nbp!1mfxxwb;X6uW|81D*Rs%SYR}6pr<@i89WK?2eKTqV?xQ z^UH{*T)yQa^**WwR|c2Y9;?;viMq2X{40?yR`S(6H*dw>&%Noi=1u*z_B>R$5kXol zng^}ZxP52^>?AAse4gt*fTZH3=5I8e*c?^(OKpiW3Op~e2qo{U-?ubL8O8n zrmW(8S`VGS@;r|JV&W}m`DcZ1LH|!)9z#vg9jfGSDfuoXkD&2&qAeMZhRR%NPo|!~ zIAm$`mVZoGq0#Fz)$SmeDCvDVSSR8SB0R69hC0#g)+CE2s1jC9@=t}^x3gAn3p?W| z>7vNqqderFI`b|*@D0Y1ogdf}M<&~bJvS>pCO#%Xec0a|5>Eeh$K?FrU#0%EqKk!Q z-1?}sD(!5#bxu!Jck3}Fn;Wfx^;k4KdEjhn0CiY|O7+0j6y9X@le()^iKaF6^Gofa zmQv~6rhd(vzvmDTMh#7cIJsurv(klo0aS4>Hc%L$YItB3HQckd_nZPe@cu}8`sWzG z%Jr&nrE}WPt9-CUHr%)Rc^=aX$oy+RzY5KPR@1a!hhl?#_t&9*mB&@JMrwe>4o%_; Oh5yzM&kxgn>+!$uq7>Hv diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 09104258..93244a97 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x31f8(_0x56d33e,_0x24f970){var _0x296736=_0x2967();return _0x31f8=function(_0x31f824,_0x522cb7){_0x31f824=_0x31f824-0x1a5;var _0x2c6d2d=_0x296736[_0x31f824];return _0x2c6d2d;},_0x31f8(_0x56d33e,_0x24f970);}var _0x5d0365=_0x31f8;(function(_0x1d76c2,_0xb50adc){var _0x41c2e1=_0x31f8,_0xec6c30=_0x1d76c2();while(!![]){try{var _0x2f233e=parseInt(_0x41c2e1(0x1a8))/0x1+parseInt(_0x41c2e1(0x1ad))/0x2*(-parseInt(_0x41c2e1(0x1a9))/0x3)+-parseInt(_0x41c2e1(0x1a5))/0x4+-parseInt(_0x41c2e1(0x1ab))/0x5*(-parseInt(_0x41c2e1(0x1a6))/0x6)+parseInt(_0x41c2e1(0x1ac))/0x7+-parseInt(_0x41c2e1(0x1a7))/0x8+-parseInt(_0x41c2e1(0x1ae))/0x9;if(_0x2f233e===_0xb50adc)break;else _0xec6c30['push'](_0xec6c30['shift']());}catch(_0x3a8c5f){_0xec6c30['push'](_0xec6c30['shift']());}}}(_0x2967,0x33cf8));function _0x2967(){var _0x1b1424=['10152rmAHsG','1637595TzSNYd','84408uWOtrw','499332qTxOFZ','365384rQVbgS','342026oGNjal','237FQCiOv','getGroupCode','20VfygYE','1309252xPulxt'];_0x2967=function(){return _0x1b1424;};return _0x2967();}export class DependsAdapter{['onMSFStatusChange'](_0x41508e){}['onMSFSsoError'](_0x3a802b){}[_0x5d0365(0x1aa)](_0x21e5ce){}} \ No newline at end of file +var _0x535d6c=_0x56a7;(function(_0x5e7506,_0x55bac3){var _0x169bb6=_0x56a7,_0x4b753b=_0x5e7506();while(!![]){try{var _0x377349=-parseInt(_0x169bb6(0x125))/0x1+-parseInt(_0x169bb6(0x123))/0x2*(-parseInt(_0x169bb6(0x12d))/0x3)+parseInt(_0x169bb6(0x124))/0x4*(-parseInt(_0x169bb6(0x127))/0x5)+-parseInt(_0x169bb6(0x12b))/0x6+-parseInt(_0x169bb6(0x126))/0x7+-parseInt(_0x169bb6(0x12a))/0x8+parseInt(_0x169bb6(0x12c))/0x9;if(_0x377349===_0x55bac3)break;else _0x4b753b['push'](_0x4b753b['shift']());}catch(_0x20be2a){_0x4b753b['push'](_0x4b753b['shift']());}}}(_0x1f0c,0x5d76f));export class DependsAdapter{[_0x535d6c(0x129)](_0x3e00ba){}['onMSFSsoError'](_0x2efe99){}[_0x535d6c(0x128)](_0x73c8e9){}}function _0x56a7(_0x4de768,_0x4cdaef){var _0x1f0cfa=_0x1f0c();return _0x56a7=function(_0x56a7ad,_0x5ae070){_0x56a7ad=_0x56a7ad-0x123;var _0x4f56f0=_0x1f0cfa[_0x56a7ad];return _0x4f56f0;},_0x56a7(_0x4de768,_0x4cdaef);}function _0x1f0c(){var _0x1e7fe4=['getGroupCode','onMSFStatusChange','3412768zMspEO','4100118kKCmXS','21255363aFTRqm','1881OJvyLE','1460TeLIYo','4mqJsjP','151549QwYncx','3081673OTjXio','3674245MHldVN'];_0x1f0c=function(){return _0x1e7fe4;};return _0x1f0c();} \ No newline at end of file diff --git a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js index 67a06743..696363d6 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x2e9906=_0x435f;function _0x435f(_0x3b08bd,_0x52b37a){var _0x27da5c=_0x27da();return _0x435f=function(_0x435f05,_0x4d2ff3){_0x435f05=_0x435f05-0x1c9;var _0x44b58c=_0x27da5c[_0x435f05];return _0x44b58c;},_0x435f(_0x3b08bd,_0x52b37a);}function _0x27da(){var _0x23adff=['dispatchCall','4385736skUosG','495617WxpOmf','2COHwAP','4068niKkbY','2273068ZRVxLQ','8310fHcBsC','dispatchCallWithJson','3239685RWPaOy','3XQGsec','64792yHKaLw','21vStKwx','12wetkas','10232717zrcnii'];_0x27da=function(){return _0x23adff;};return _0x27da();}(function(_0x4b604d,_0x4c40d1){var _0x104ad5=_0x435f,_0x419e66=_0x4b604d();while(!![]){try{var _0x25191f=-parseInt(_0x104ad5(0x1ca))/0x1*(-parseInt(_0x104ad5(0x1cb))/0x2)+parseInt(_0x104ad5(0x1d1))/0x3*(parseInt(_0x104ad5(0x1cd))/0x4)+parseInt(_0x104ad5(0x1d0))/0x5+-parseInt(_0x104ad5(0x1c9))/0x6+parseInt(_0x104ad5(0x1d3))/0x7*(-parseInt(_0x104ad5(0x1d2))/0x8)+-parseInt(_0x104ad5(0x1cc))/0x9*(-parseInt(_0x104ad5(0x1ce))/0xa)+parseInt(_0x104ad5(0x1d5))/0xb*(-parseInt(_0x104ad5(0x1d4))/0xc);if(_0x25191f===_0x4c40d1)break;else _0x419e66['push'](_0x419e66['shift']());}catch(_0x61c0d5){_0x419e66['push'](_0x419e66['shift']());}}}(_0x27da,0x6220d));export class DispatcherAdapter{['dispatchRequest'](_0x205088){}[_0x2e9906(0x1d6)](_0x191998){}[_0x2e9906(0x1cf)](_0x3e287b){}} \ No newline at end of file +var _0x3cde09=_0x4ab8;function _0x1e9c(){var _0x51c2f7=['1070ElamCt','16PniIve','272063fIJLiZ','16MoZoRx','6744123rFGOFp','dispatchRequest','1056510FORQOG','dispatchCallWithJson','10578267JaJAOL','1BeOGco','6359592TiXzmG','dispatchCall','782975vgLoEd','2024182jngGHN'];_0x1e9c=function(){return _0x51c2f7;};return _0x1e9c();}(function(_0x425e5c,_0x1e1fc0){var _0x52fd75=_0x4ab8,_0x132660=_0x425e5c();while(!![]){try{var _0x3b09bf=parseInt(_0x52fd75(0x9f))/0x1*(-parseInt(_0x52fd75(0xa3))/0x2)+-parseInt(_0x52fd75(0x9c))/0x3+parseInt(_0x52fd75(0xa5))/0x4*(parseInt(_0x52fd75(0xa2))/0x5)+-parseInt(_0x52fd75(0xa0))/0x6+-parseInt(_0x52fd75(0x9e))/0x7+-parseInt(_0x52fd75(0xa7))/0x8*(-parseInt(_0x52fd75(0xa8))/0x9)+-parseInt(_0x52fd75(0xa4))/0xa*(-parseInt(_0x52fd75(0xa6))/0xb);if(_0x3b09bf===_0x1e1fc0)break;else _0x132660['push'](_0x132660['shift']());}catch(_0x4cb4fb){_0x132660['push'](_0x132660['shift']());}}}(_0x1e9c,0xcc223));function _0x4ab8(_0x147a53,_0x26f594){var _0x1e9c3c=_0x1e9c();return _0x4ab8=function(_0x4ab8a9,_0x2ae2e3){_0x4ab8a9=_0x4ab8a9-0x9c;var _0x2d9b0c=_0x1e9c3c[_0x4ab8a9];return _0x2d9b0c;},_0x4ab8(_0x147a53,_0x26f594);}export class DispatcherAdapter{[_0x3cde09(0xa9)](_0x563b94){}[_0x3cde09(0xa1)](_0xadfcaa){}[_0x3cde09(0x9d)](_0x509436){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/NodeIGlobalAdapter.js b/src/core.lib/src/adapters/NodeIGlobalAdapter.js index 6475c19e..9d4ddaa1 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0x3c0adc=_0x225c;(function(_0x4cf10b,_0x267d2c){var _0x23e77e=_0x225c,_0xd3616a=_0x4cf10b();while(!![]){try{var _0x89053=parseInt(_0x23e77e(0x188))/0x1+parseInt(_0x23e77e(0x18a))/0x2+-parseInt(_0x23e77e(0x18c))/0x3+parseInt(_0x23e77e(0x184))/0x4+parseInt(_0x23e77e(0x18e))/0x5*(-parseInt(_0x23e77e(0x18d))/0x6)+parseInt(_0x23e77e(0x185))/0x7+parseInt(_0x23e77e(0x187))/0x8;if(_0x89053===_0x267d2c)break;else _0xd3616a['push'](_0xd3616a['shift']());}catch(_0x1c2563){_0xd3616a['push'](_0xd3616a['shift']());}}}(_0x2846,0xd44a3));export class GlobalAdapter{['onLog'](..._0xa54158){}[_0x3c0adc(0x190)](..._0xbb5742){}[_0x3c0adc(0x18b)](..._0x5a2514){}['fixPicImgType'](..._0x541339){}[_0x3c0adc(0x189)](..._0x5540a8){}[_0x3c0adc(0x18f)](..._0x35e71a){}[_0x3c0adc(0x191)](..._0x5291df){}[_0x3c0adc(0x186)](..._0x55eacc){}}function _0x225c(_0x41fc1b,_0x2018d2){var _0x2846ee=_0x2846();return _0x225c=function(_0x225c14,_0x59b802){_0x225c14=_0x225c14-0x184;var _0x18eb73=_0x2846ee[_0x225c14];return _0x18eb73;},_0x225c(_0x41fc1b,_0x2018d2);}function _0x2846(){var _0x15dbd0=['onShowErrUITips','3375393cVpLVc','34842IRPeaa','1495VHZYiB','onInstallFinished','onGetSrvCalTime','onUpdateGeneralFlag','1554192ruqSDq','4841578WIVyHK','onGetOfflineMsg','10101584YKDdgZ','219362DvJXcv','getAppSetting','2337402BiZQuv'];_0x2846=function(){return _0x15dbd0;};return _0x2846();} \ No newline at end of file +function _0x124f(_0x538dce,_0x10c78b){var _0x1d6d64=_0x1d6d();return _0x124f=function(_0x124f87,_0x5dc6e8){_0x124f87=_0x124f87-0x1e5;var _0x4872d6=_0x1d6d64[_0x124f87];return _0x4872d6;},_0x124f(_0x538dce,_0x10c78b);}var _0xb9b815=_0x124f;(function(_0xb174fe,_0xfdd7d9){var _0x4ddeb8=_0x124f,_0x5a5d9f=_0xb174fe();while(!![]){try{var _0x29e627=parseInt(_0x4ddeb8(0x1ee))/0x1*(parseInt(_0x4ddeb8(0x1f2))/0x2)+parseInt(_0x4ddeb8(0x1ef))/0x3+parseInt(_0x4ddeb8(0x1e9))/0x4+parseInt(_0x4ddeb8(0x1e8))/0x5+-parseInt(_0x4ddeb8(0x1f0))/0x6*(parseInt(_0x4ddeb8(0x1ed))/0x7)+parseInt(_0x4ddeb8(0x1e6))/0x8+-parseInt(_0x4ddeb8(0x1f1))/0x9*(parseInt(_0x4ddeb8(0x1eb))/0xa);if(_0x29e627===_0xfdd7d9)break;else _0x5a5d9f['push'](_0x5a5d9f['shift']());}catch(_0x1d5e53){_0x5a5d9f['push'](_0x5a5d9f['shift']());}}}(_0x1d6d,0xa0f79));export class GlobalAdapter{[_0xb9b815(0x1e7)](..._0x5362dd){}['onGetSrvCalTime'](..._0x417a29){}[_0xb9b815(0x1ec)](..._0x1224b1){}['fixPicImgType'](..._0x3f684c){}[_0xb9b815(0x1f3)](..._0x6341c4){}[_0xb9b815(0x1e5)](..._0x5164a7){}[_0xb9b815(0x1f4)](..._0x5e6116){}[_0xb9b815(0x1ea)](..._0x85cd69){}}function _0x1d6d(){var _0x55b159=['4403408pTJEYo','onLog','291155yDjDOK','4943684hbHNKM','onGetOfflineMsg','5681140bmKhJK','onShowErrUITips','4221gpBTwf','30IIhIQZ','3250179kgNmNX','7200IHlzRb','45PNMiax','86368VdDwkt','getAppSetting','onUpdateGeneralFlag','onInstallFinished'];_0x1d6d=function(){return _0x55b159;};return _0x1d6d();} \ No newline at end of file diff --git a/src/core.lib/src/adapters/index.js b/src/core.lib/src/adapters/index.js index c3047ced..0c207bcd 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -function _0x48e6(_0x550395,_0x4ef1f6){var _0x328d96=_0x328d();return _0x48e6=function(_0x48e60f,_0x4f5178){_0x48e60f=_0x48e60f-0x150;var _0x271366=_0x328d96[_0x48e60f];return _0x271366;},_0x48e6(_0x550395,_0x4ef1f6);}(function(_0x29846c,_0x2dcb5f){var _0x79d56d=_0x48e6,_0x314116=_0x29846c();while(!![]){try{var _0x59dacb=-parseInt(_0x79d56d(0x15a))/0x1+parseInt(_0x79d56d(0x155))/0x2*(-parseInt(_0x79d56d(0x158))/0x3)+-parseInt(_0x79d56d(0x150))/0x4+parseInt(_0x79d56d(0x152))/0x5*(parseInt(_0x79d56d(0x156))/0x6)+parseInt(_0x79d56d(0x154))/0x7*(parseInt(_0x79d56d(0x151))/0x8)+-parseInt(_0x79d56d(0x159))/0x9+parseInt(_0x79d56d(0x153))/0xa*(parseInt(_0x79d56d(0x157))/0xb);if(_0x59dacb===_0x2dcb5f)break;else _0x314116['push'](_0x314116['shift']());}catch(_0xfd1573){_0x314116['push'](_0x314116['shift']());}}}(_0x328d,0x5dad1));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter';function _0x328d(){var _0x7e6f35=['80412XRbKqH','32EqItan','5qpSllF','30jfNTCs','1156043GkZJAl','50248LcxqGx','3818298wscmNn','2285503iDEhTk','12AJArCB','6261066WVCpMi','720328WZmgVV'];_0x328d=function(){return _0x7e6f35;};return _0x328d();} \ No newline at end of file +function _0x4f82(_0x47e765,_0x3d1f0d){var _0x1e0680=_0x1e06();return _0x4f82=function(_0x4f82b5,_0x34a014){_0x4f82b5=_0x4f82b5-0x8e;var _0x272c4d=_0x1e0680[_0x4f82b5];return _0x272c4d;},_0x4f82(_0x47e765,_0x3d1f0d);}(function(_0x1221d8,_0x49bb5f){var _0x9b6630=_0x4f82,_0x173bb2=_0x1221d8();while(!![]){try{var _0x128aec=-parseInt(_0x9b6630(0x8f))/0x1+parseInt(_0x9b6630(0x90))/0x2+-parseInt(_0x9b6630(0x91))/0x3+parseInt(_0x9b6630(0x93))/0x4*(-parseInt(_0x9b6630(0x92))/0x5)+parseInt(_0x9b6630(0x98))/0x6*(parseInt(_0x9b6630(0x97))/0x7)+parseInt(_0x9b6630(0x94))/0x8*(parseInt(_0x9b6630(0x96))/0x9)+-parseInt(_0x9b6630(0x8e))/0xa*(-parseInt(_0x9b6630(0x95))/0xb);if(_0x128aec===_0x49bb5f)break;else _0x173bb2['push'](_0x173bb2['shift']());}catch(_0x1d1821){_0x173bb2['push'](_0x173bb2['shift']());}}}(_0x1e06,0xee5e6));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x1e06(){var _0x455fd0=['68160mhsqik','1608669bBBxsl','1416970Ybclyz','2695029WrxOKZ','4309865JKyuYW','4Fzdwmc','8MDfcRI','2134qYbPIt','11197647EcynTA','5579YCAPfq','8058DRZZxG'];_0x1e06=function(){return _0x455fd0;};return _0x1e06();}export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/file.js b/src/core.lib/src/apis/file.js index 75d29aba..d10c60dc 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0xe61f85=_0x4898;(function(_0x468494,_0xdb37b7){const _0x19470e=_0x4898,_0x103ed3=_0x468494();while(!![]){try{const _0x2bb927=-parseInt(_0x19470e(0x122))/0x1*(-parseInt(_0x19470e(0x120))/0x2)+parseInt(_0x19470e(0x10f))/0x3*(parseInt(_0x19470e(0x130))/0x4)+parseInt(_0x19470e(0x13e))/0x5*(parseInt(_0x19470e(0x103))/0x6)+-parseInt(_0x19470e(0x127))/0x7*(parseInt(_0x19470e(0x10a))/0x8)+parseInt(_0x19470e(0x10d))/0x9+-parseInt(_0x19470e(0x110))/0xa+-parseInt(_0x19470e(0x117))/0xb;if(_0x2bb927===_0xdb37b7)break;else _0x103ed3['push'](_0x103ed3['shift']());}catch(_0xe389e9){_0x103ed3['push'](_0x103ed3['shift']());}}}(_0x36ec,0xb23ea));import{ChatType,ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x37048c from'path';import _0x5f4fe0 from'fs';import _0x3e7440 from'fs/promises';import{logDebug,logError}from'@/common/utils/log';import{napCatCore}from'@/core';function _0x36ec(){const _0x3777a4=['clearChatCache','copyFile','30783412XPrIZW','elementId','getFileCacheInfo','DPoCg','图片rkey获取失败','/download','util','ebjBY','unlink','217762jGgzVl','downloadMedia','8mhMMnn','tmp','join','下载超时','getHotUpdateCachePath','33509ypfnVR','addCacheScannedPaths','md5HexStr','InycN','fileTypeFromFile','getStorageCleanService','find','VLfDd','sourcePath','4wtAiPp','chatType','elements','QrNjA','uploadFile','RFgVj','getImageUrl','获取图片rkey...','indexOf','UQDac','toUpperCase','getMsgService','ext','removeKernelMsgListener','110UPoSww','now','clearCacheDataByKeys','&rkey=','getChatCacheList','CGEWG','getRichMediaFilePathForGuild','BKYDG','fileUuid','includes','startsWith','getFileType','elcZK','kPOUw','/gchatpic_new/0/0-0-','JSJkc','session','HDAfW','TLnKr','clearCache','getChatCacheInfo','RWcnP','msgId','existsSync','then','getFileSize','图片url获取失败','originImageUrl','yvOlF','ipPmR','194124OhSSQX','ELSlw','group','hookApi\x20is\x20not\x20available','LNSpo','PIC','getImageSize','488vBozzk','kwYQN','qhhNE','10639233VmnMGN','scanCache','3166923lIKyBb','250wbgHOu','hotUpdate','addCacheScanedPaths','addListener','picElement'];_0x36ec=function(){return _0x3777a4;};return _0x36ec();}import{calculateFileMD5}from'@/common/utils/file';import*as _0x42ea2c from'file-type';function _0x4898(_0x1e8cb5,_0x3fb8d9){const _0x36ec7d=_0x36ec();return _0x4898=function(_0x4898f9,_0x52131b){_0x4898f9=_0x4898f9-0xfc;let _0x3fc978=_0x36ec7d[_0x4898f9];return _0x3fc978;},_0x4898(_0x1e8cb5,_0x3fb8d9);}import{MsgListener}from'@/core/listeners';import _0x307d0b from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{hookApi}from'@/core/external/hook';import{sleep}from'@/common/utils/helper';let privateImageRKey='',groupImageRKey='',lastGetPrivateRKeyTime=0x0,lastGetGroupRKeyTime=0x0;const rkeyExpireTime=0x3e8*0x3c*0x1e;export class NTQQFileApi{static async[_0xe61f85(0x149)](_0x22d1c5){const _0x321252=_0xe61f85;return _0x42ea2c[_0x321252(0x12b)](_0x22d1c5);}static async[_0xe61f85(0x116)](_0x4c4ee6,_0x28376d){const _0x4cad7f=_0xe61f85;await napCatCore['util'][_0x4cad7f(0x116)](_0x4c4ee6,_0x28376d);}static async['getFileSize'](_0x37e288){const _0x543bc4=_0xe61f85;return await napCatCore[_0x543bc4(0x11d)][_0x543bc4(0xfe)](_0x37e288);}static async[_0xe61f85(0x134)](_0x1de61e,_0x32d5d=ElementType[_0xe61f85(0x108)],_0x5394f4=0x0){const _0x3dacd0=_0xe61f85,_0x33c9f0={'qdfHF':function(_0x5e48f0,_0x5dd74f){return _0x5e48f0(_0x5dd74f);},'InycN':function(_0x2e812d,_0x1c8ac7){return _0x2e812d+_0x1c8ac7;},'vjjYT':function(_0x2e5b9e,_0x4ab3ce){return _0x2e5b9e===_0x4ab3ce;}},_0x363276=await _0x33c9f0['qdfHF'](calculateFileMD5,_0x1de61e);let _0x30e866=(await NTQQFileApi[_0x3dacd0(0x149)](_0x1de61e))?.[_0x3dacd0(0x13c)]||'';_0x30e866&&(_0x30e866=_0x33c9f0[_0x3dacd0(0x12a)]('.',_0x30e866));let _0x56ac2a=''+_0x37048c['basename'](_0x1de61e);_0x33c9f0['vjjYT'](_0x56ac2a[_0x3dacd0(0x138)]('.'),-0x1)&&(_0x56ac2a+=_0x30e866);const _0x48e664=napCatCore[_0x3dacd0(0x14e)][_0x3dacd0(0x13b)]()[_0x3dacd0(0x144)]({'md5HexStr':_0x363276,'fileName':_0x56ac2a,'elementType':_0x32d5d,'elementSubType':_0x5394f4,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x1de61e,_0x48e664);const _0x11e7c2=await NTQQFileApi[_0x3dacd0(0xfe)](_0x1de61e);return{'md5':_0x363276,'fileName':_0x56ac2a,'path':_0x48e664,'fileSize':_0x11e7c2,'ext':_0x30e866};}static async[_0xe61f85(0x121)](_0x1236f7,_0x5188dd,_0x52e9c0,_0x311666,_0x2d90e4,_0x515d76,_0x3f6fd=0x3e8*0x3c*0x2,_0x37d61a=![]){const _0x49937f=_0xe61f85,_0x5cbda9={'RFgVj':_0x49937f(0x125),'LNSpo':function(_0x2258e8,_0x7e68af){return _0x2258e8(_0x7e68af);},'QrNjA':function(_0xe0d1fc,_0x4c1b6c,_0x4c9fb8){return _0xe0d1fc(_0x4c1b6c,_0x4c9fb8);}};if(_0x515d76&&_0x5f4fe0[_0x49937f(0xfc)](_0x515d76)){if(_0x37d61a)try{await _0x3e7440[_0x49937f(0x11f)](_0x515d76);}catch(_0x3191aa){}else return _0x515d76;}const _0x2ef781=new MsgListener();return new Promise((_0x484535,_0x6e3d0c)=>{const _0x1e46f6=_0x49937f,_0x4075cb={'DPoCg':function(_0x5cea58,_0x37125b){const _0x169456=_0x4898;return _0x5cbda9[_0x169456(0x107)](_0x5cea58,_0x37125b);}};let _0x3b5b71=![];_0x2ef781['onRichMediaDownloadComplete']=_0x37c0ce=>{const _0x9d21ed=_0x4898;if(_0x37c0ce[_0x9d21ed(0x154)]===_0x1236f7){_0x3b5b71=!![];let _0x53b7f9=_0x37c0ce['filePath'];if(_0x53b7f9[_0x9d21ed(0x148)]('\x5c')){const _0x1bb3f0=sessionConfig?.['defaultFileDownloadPath'];_0x53b7f9=_0x37048c[_0x9d21ed(0x124)](_0x1bb3f0,_0x53b7f9);}_0x4075cb[_0x9d21ed(0x11a)](_0x484535,_0x53b7f9),napCatCore['session'][_0x9d21ed(0x13b)]()[_0x9d21ed(0x13d)](_0xb5a69a);}};const _0xb5a69a=napCatCore[_0x1e46f6(0x113)](_0x2ef781);_0x5cbda9[_0x1e46f6(0x133)](setTimeout,()=>{const _0x2940f7=_0x1e46f6;!_0x3b5b71&&(_0x6e3d0c(new Error(_0x5cbda9[_0x2940f7(0x135)])),napCatCore[_0x2940f7(0x14e)][_0x2940f7(0x13b)]()['removeKernelMsgListener'](_0xb5a69a));},_0x3f6fd),napCatCore['session'][_0x1e46f6(0x13b)]()['downloadRichMedia']({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x1236f7,'chatType':_0x5188dd,'peerUid':_0x52e9c0,'elementId':_0x311666,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x2d90e4});});}static async[_0xe61f85(0x109)](_0x3fee37){const _0x85fa62={'ipPmR':function(_0x645b96,_0x2bb339){return _0x645b96(_0x2bb339);},'HBsvd':function(_0x362f28,_0x43a0ea,_0x5c9892){return _0x362f28(_0x43a0ea,_0x5c9892);}};return new Promise((_0xa4d801,_0x8f6bd8)=>{const _0x473944={'HDAfW':function(_0x1fcac6,_0x4ba6ce){const _0x2a3850=_0x4898;return _0x85fa62[_0x2a3850(0x102)](_0x1fcac6,_0x4ba6ce);},'elcZK':function(_0x1fb9cf,_0x1ce9a5){return _0x1fb9cf(_0x1ce9a5);}};_0x85fa62['HBsvd'](_0x307d0b,_0x3fee37,(_0x4e8c40,_0x370455)=>{const _0x48624b=_0x4898;_0x4e8c40?_0x473944[_0x48624b(0x14f)](_0x8f6bd8,_0x4e8c40):_0x473944[_0x48624b(0x14a)](_0xa4d801,_0x370455);});});}static async[_0xe61f85(0x136)](_0x5e68d6){const _0x363ba3=_0xe61f85,_0x1b6374={'RWcnP':function(_0x56d232,_0x577ef9){return _0x56d232(_0x577ef9);},'kPOUw':_0x363ba3(0x137),'JSJkc':function(_0x41f761,_0xa4c0f7){return _0x41f761(_0xa4c0f7);},'TLnKr':function(_0x1727a7,_0x9f884e,_0x3e6937){return _0x1727a7(_0x9f884e,_0x3e6937);},'qhhNE':function(_0xffca1c,_0x33f4fa){return _0xffca1c(_0x33f4fa);},'ebjBY':function(_0x3e3eda,_0x1f852c){return _0x3e3eda!==_0x1f852c;},'UQDac':_0x363ba3(0x11c),'ELSlw':function(_0x265138,_0x45a9d1){return _0x265138+_0x45a9d1;},'STyFi':_0x363ba3(0x106),'kwYQN':function(_0xec3650,_0x2a2fd3){return _0xec3650>_0x2a2fd3;},'BKYDG':function(_0x5d2759,_0x167b4c){return _0x5d2759-_0x167b4c;},'bJsSf':function(_0x43d2ee){return _0x43d2ee();},'yvOlF':_0x363ba3(0x11b),'VLfDd':function(_0x516d9e,_0x1af854){return _0x516d9e+_0x1af854;},'WfewU':function(_0x1676da,_0x3801af){return _0x1676da||_0x3801af;},'CGEWG':_0x363ba3(0xff)},_0x52e886=_0x1b6374[_0x363ba3(0x11e)](_0x5e68d6[_0x363ba3(0x131)],ChatType[_0x363ba3(0x105)]),_0x17a180=_0x5e68d6[_0x363ba3(0x132)][_0x363ba3(0x12d)](_0x599124=>!!_0x599124[_0x363ba3(0x114)]);if(!_0x17a180)return'';const _0x4af94a=_0x17a180[_0x363ba3(0x114)][_0x363ba3(0x100)],_0x38802e=_0x17a180[_0x363ba3(0x114)][_0x363ba3(0x129)],_0xc58592=_0x17a180[_0x363ba3(0x114)][_0x363ba3(0x129)],_0x4c5173=_0x17a180[_0x363ba3(0x114)][_0x363ba3(0x146)],_0x13898e=_0x426bac=>{const _0x45cec1=_0x363ba3;_0x52e886?(privateImageRKey=_0x426bac,lastGetPrivateRKeyTime=Date[_0x45cec1(0x13f)]()):(groupImageRKey=_0x426bac,lastGetGroupRKeyTime=Date['now']());};if(_0x4af94a){if(_0x4af94a[_0x363ba3(0x148)](_0x1b6374[_0x363ba3(0x139)])){if(_0x4af94a[_0x363ba3(0x147)](_0x363ba3(0x141)))return _0x1b6374[_0x363ba3(0x104)](IMAGE_HTTP_HOST_NT,_0x4af94a);if(!hookApi['isAvailable']())return logDebug(_0x1b6374['STyFi']),'';const _0x328ab7=async()=>{const _0x177179=_0x363ba3;_0x1b6374[_0x177179(0x153)](logDebug,_0x1b6374[_0x177179(0x14b)]),NTQQFileApi[_0x177179(0x121)](_0x5e68d6[_0x177179(0x154)],_0x5e68d6[_0x177179(0x131)],_0x5e68d6['peerUid'],_0x17a180[_0x177179(0x118)],'',_0x17a180[_0x177179(0x114)][_0x177179(0x12f)],0x3e8,!![])[_0x177179(0xfd)]()['catch'](()=>{}),await _0x1b6374[_0x177179(0x14d)](sleep,0x3e8);const _0x1bfc96=hookApi['getRKey']();if(_0x1bfc96)return _0x1b6374[_0x177179(0x150)](logDebug,'图片rkey获取成功',_0x1bfc96),_0x1b6374[_0x177179(0x10c)](_0x13898e,_0x1bfc96),_0x1bfc96;},_0x5b492c=_0x52e886?privateImageRKey:groupImageRKey,_0x5bacda=_0x52e886?lastGetPrivateRKeyTime:lastGetGroupRKeyTime;if(_0x1b6374[_0x363ba3(0x10b)](_0x1b6374[_0x363ba3(0x145)](Date[_0x363ba3(0x13f)](),_0x5bacda),rkeyExpireTime)||!_0x5b492c){const _0x40b4c9=await _0x1b6374['bJsSf'](_0x328ab7);return _0x40b4c9?IMAGE_HTTP_HOST_NT+_0x4af94a+(''+_0x40b4c9):(logError(_0x1b6374[_0x363ba3(0x101)],_0x4af94a),'');}if(_0x5b492c)return _0x1b6374[_0x363ba3(0x104)](IMAGE_HTTP_HOST_NT+_0x4af94a,''+_0x5b492c);}else return _0x1b6374[_0x363ba3(0x12e)](IMAGE_HTTP_HOST,_0x4af94a);}else{if(_0x1b6374['WfewU'](_0xc58592,_0x38802e))return IMAGE_HTTP_HOST+_0x363ba3(0x14c)+(_0xc58592||_0x38802e)[_0x363ba3(0x13a)]()+'/0';}return _0x1b6374[_0x363ba3(0x150)](logDebug,_0x1b6374[_0x363ba3(0x143)],_0x5e68d6),'';}}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0x156d65=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0xe61f85(0x151)](_0x5b5dc6=[_0xe61f85(0x123),_0xe61f85(0x111)]){const _0x1c212c=_0xe61f85;return napCatCore[_0x1c212c(0x14e)][_0x1c212c(0x12c)]()[_0x1c212c(0x140)](_0x5b5dc6);}static[_0xe61f85(0x128)](_0x59ab3f={}){const _0x1c2408=_0xe61f85;return napCatCore['session'][_0x1c2408(0x12c)]()[_0x1c2408(0x112)](_0x59ab3f);}static[_0xe61f85(0x10e)](){const _0x1bda0e=_0xe61f85;return napCatCore['session'][_0x1bda0e(0x12c)]()[_0x1bda0e(0x10e)]();}static[_0xe61f85(0x126)](){return'';}static['getDesktopTmpPath'](){return'';}static[_0xe61f85(0x142)](_0x44b24f,_0x36be34=0x3e8,_0x586060=0x0){const _0x3d7175=_0xe61f85;return napCatCore[_0x3d7175(0x14e)][_0x3d7175(0x12c)]()[_0x3d7175(0x152)](_0x44b24f,_0x36be34,0x1,_0x586060);}static[_0xe61f85(0x119)](_0x3e9384,_0x4f2a76=0x3e8,_0x392b49){const _0x8f2f3b=_0x392b49?_0x392b49:{'fileType':_0x3e9384};}static async[_0xe61f85(0x115)](_0x58bdc2=[],_0x150364=[]){const _0x49eb1d=_0xe61f85;return napCatCore['session'][_0x49eb1d(0x12c)]()['clearChatCacheInfo'](_0x58bdc2,_0x150364);}} \ No newline at end of file +const _0x1607d6=_0xaaa2;function _0x53c0(){const _0x6a6399=['msgId','addCacheScannedPaths','onLoginSuccess','util','downloadPath','获取图片rkey...','PIC','downloadMedia','12959782FwDvKP','picElement','uploadFile','ndSKu','42FXtfVB','addTask','EUdWn','onRichMediaDownloadComplete','elementId','getFileType','ItTUe','start\x20downloadMedia','poyJX','CgDRU','NAdVH','tmp','then','645930uqmjFE','156932nAuUGn','getMsgService','4301800AOajZo','scanCache','clearCache','LMVOM','getFileCacheInfo','getFileSize','pehQc','getRichMediaFilePathForGuild','defaultFileDownloadPath','downloadMedia\x20complete','existsSync','iEldg','receive\x20downloadMedia\x20task','VLAuJ','set','9poSoOs','join','getChatCacheInfo','图片rkey获取失败','pboiI','igjDC','session','/download','find','toUpperCase','delete','startsWith','group','peerUid','56yXdDXM','zwtbA','hDmut','basename','图片rkey获取成功','1DTpWCq','SwKeT','unlink','copyFile','6649928MHdHqL','setCacheSilentScan','chatType','图片url获取失败','catch','getStorageCleanService','qHLKS','fileUuid','/gchatpic_new/0/0-0-','TUexq','RXbxZ','787810vOeXeh','6356180YeIkbV','cLbFE','udvly','getHotUpdateCachePath','开始调用moeHook获取rkey','djuni','hookApi\x20is\x20not\x20available','getImageUrl','elements','yyqmT','getChatCacheList','addCacheScanedPaths','hotUpdate','md5HexStr'];_0x53c0=function(){return _0x6a6399;};return _0x53c0();}(function(_0x282078,_0x26be8a){const _0x29f146=_0xaaa2,_0x3878be=_0x282078();while(!![]){try{const _0xc0eb2a=-parseInt(_0x29f146(0x1af))/0x1*(parseInt(_0x29f146(0x1be))/0x2)+-parseInt(_0x29f146(0x1d9))/0x3*(-parseInt(_0x29f146(0x18b))/0x4)+parseInt(_0x29f146(0x18d))/0x5+parseInt(_0x29f146(0x18a))/0x6*(-parseInt(_0x29f146(0x1aa))/0x7)+parseInt(_0x29f146(0x1b3))/0x8+-parseInt(_0x29f146(0x19c))/0x9*(-parseInt(_0x29f146(0x1bf))/0xa)+-parseInt(_0x29f146(0x1d5))/0xb;if(_0xc0eb2a===_0x26be8a)break;else _0x3878be['push'](_0x3878be['shift']());}catch(_0x5b1acd){_0x3878be['push'](_0x3878be['shift']());}}}(_0x53c0,0x6c326));import{ChatType,ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x1c1882 from'path';import _0x1ed1b5 from'fs';import _0x96fd61 from'fs/promises';import{logDebug,logError}from'@/common/utils/log';function _0xaaa2(_0x2b1e74,_0x1c7c40){const _0x53c000=_0x53c0();return _0xaaa2=function(_0xaaa25f,_0x36a9ee){_0xaaa25f=_0xaaa25f-0x17e;let _0x44d1f2=_0x53c000[_0xaaa25f];return _0x44d1f2;},_0xaaa2(_0x2b1e74,_0x1c7c40);}import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x33e6ac from'file-type';import{MsgListener}from'@/core/listeners';import _0x2ebb28 from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{hookApi}from'@/core/external/hook';import{randomUUID}from'crypto';import{AsyncQueue}from'@/common/utils/AsyncQueue';import{sleep}from'@/common/utils/helper';let privateImageRKey='',groupImageRKey='',lastGetPrivateRKeyTime=0x0,lastGetGroupRKeyTime=0x0;const rkeyExpireTime=0x3e8*0x3c*0x1e,getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x1607d6(0x180)]=_0x355912=>{const _0x467387=_0x1607d6,_0x15236b={'EUdWn':function(_0xdf9d8a,_0x4fec73){return _0xdf9d8a(_0x4fec73);}};for(const [_0x103fd4,_0x2f795b]of downloadMediaTasks){_0x15236b[_0x467387(0x17f)](_0x2f795b,_0x355912),downloadMediaTasks[_0x467387(0x1a6)](_0x103fd4);}},setTimeout(()=>{const _0x5b0d96=_0x1607d6;napCatCore[_0x5b0d96(0x1cf)](()=>{napCatCore['addListener'](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x1607d6(0x182)](_0x52dc33){return _0x33e6ac['fileTypeFromFile'](_0x52dc33);}static async[_0x1607d6(0x1b2)](_0x3aea0c,_0x3f407b){const _0x222195=_0x1607d6;await napCatCore[_0x222195(0x1d0)]['copyFile'](_0x3aea0c,_0x3f407b);}static async[_0x1607d6(0x192)](_0x4a5e6b){const _0xc93f50=_0x1607d6;return await napCatCore[_0xc93f50(0x1d0)]['getFileSize'](_0x4a5e6b);}static async[_0x1607d6(0x1d7)](_0x443f04,_0x16f038=ElementType[_0x1607d6(0x1d3)],_0x3e4c41=0x0){const _0x23e8e9=_0x1607d6,_0x1f842f={'qHLKS':function(_0x2c2b50,_0x2f316c){return _0x2c2b50(_0x2f316c);}},_0x303cc8=await _0x1f842f[_0x23e8e9(0x1b9)](calculateFileMD5,_0x443f04);let _0x1a9148=(await NTQQFileApi[_0x23e8e9(0x182)](_0x443f04))?.['ext']||'';_0x1a9148&&(_0x1a9148='.'+_0x1a9148);let _0x3ff695=''+_0x1c1882[_0x23e8e9(0x1ad)](_0x443f04);_0x3ff695['indexOf']('.')===-0x1&&(_0x3ff695+=_0x1a9148);const _0x3bfef0=napCatCore['session'][_0x23e8e9(0x18c)]()[_0x23e8e9(0x194)]({'md5HexStr':_0x303cc8,'fileName':_0x3ff695,'elementType':_0x16f038,'elementSubType':_0x3e4c41,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x443f04,_0x3bfef0);const _0x2dfffd=await NTQQFileApi['getFileSize'](_0x443f04);return{'md5':_0x303cc8,'fileName':_0x3ff695,'path':_0x3bfef0,'fileSize':_0x2dfffd,'ext':_0x1a9148};}static async[_0x1607d6(0x1d4)](_0x3f4d15,_0x2a0000,_0x925469,_0x116919,_0x282b6a,_0x20a8b2,_0x2b2d5a=0x3e8*0x3c*0x2,_0x21d12f=![]){const _0x61c90=_0x1607d6,_0x192c90={'TXTBB':function(_0x15c7e0,_0x248497,_0x193df9,_0x22732){return _0x15c7e0(_0x248497,_0x193df9,_0x22732);},'poyJX':_0x61c90(0x196),'SwKeT':function(_0x258975,_0xb619b6){return _0x258975===_0xb619b6;},'CgDRU':function(_0x1cbfd7,_0x2846ce,_0x49cf0b){return _0x1cbfd7(_0x2846ce,_0x49cf0b);},'ItTUe':function(_0x1371d,_0x2e9d42){return _0x1371d(_0x2e9d42);},'hFFXH':'下载超时','pboiI':function(_0x54b43){return _0x54b43();},'TUexq':function(_0x147ccf,_0x35b4a8,_0x5f1684,_0x2c4719,_0x4f8801,_0x33ae47,_0x57f29a,_0x5d844f,_0x23e49b,_0x54afbd){return _0x147ccf(_0x35b4a8,_0x5f1684,_0x2c4719,_0x4f8801,_0x33ae47,_0x57f29a,_0x5d844f,_0x23e49b,_0x54afbd);},'pehQc':_0x61c90(0x184)};_0x192c90[_0x61c90(0x1bc)](logDebug,_0x61c90(0x199),_0x3f4d15,_0x2a0000,_0x925469,_0x116919,_0x282b6a,_0x20a8b2,_0x2b2d5a,_0x21d12f);if(_0x20a8b2&&_0x1ed1b5[_0x61c90(0x197)](_0x20a8b2)){if(_0x21d12f)try{await _0x96fd61[_0x61c90(0x1b1)](_0x20a8b2);}catch(_0x1b5cc6){}else return _0x20a8b2;}return _0x192c90[_0x61c90(0x1bc)](logDebug,_0x192c90[_0x61c90(0x193)],_0x3f4d15,_0x2a0000,_0x925469,_0x116919,_0x282b6a,_0x20a8b2,_0x2b2d5a,_0x21d12f),new Promise((_0xd96671,_0x3adb7a)=>{const _0x3f8a0f=_0x61c90;let _0x115d0e=![];const _0x26293e=_0x5291c9=>{const _0x3b7ed2=_0xaaa2;_0x192c90['TXTBB'](logDebug,_0x192c90[_0x3b7ed2(0x185)],_0x5291c9,_0x3f4d15);if(_0x192c90[_0x3b7ed2(0x1b0)](_0x5291c9[_0x3b7ed2(0x1cd)],_0x3f4d15)){_0x115d0e=!![];let _0x4769bb=_0x5291c9['filePath'];if(_0x4769bb[_0x3b7ed2(0x1a7)]('\x5c')){const _0x253a94=sessionConfig[_0x3b7ed2(0x195)];_0x192c90[_0x3b7ed2(0x186)](logDebug,_0x3b7ed2(0x1d1),_0x253a94),_0x4769bb=_0x1c1882[_0x3b7ed2(0x19d)](_0x253a94,_0x4769bb);}_0x192c90[_0x3b7ed2(0x183)](_0xd96671,_0x4769bb);}};downloadMediaTasks[_0x3f8a0f(0x19b)](_0x192c90[_0x3f8a0f(0x1a0)](randomUUID),_0x26293e),setTimeout(()=>{const _0x16cf7a=_0x3f8a0f;!_0x115d0e&&_0x192c90[_0x16cf7a(0x183)](_0x3adb7a,_0x192c90['hFFXH']);},_0x2b2d5a),napCatCore['session']['getMsgService']()['downloadRichMedia']({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x3f4d15,'chatType':_0x2a0000,'peerUid':_0x925469,'elementId':_0x116919,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x282b6a});});}static async['getImageSize'](_0x247990){const _0x30ff64={'iUhha':function(_0x5495a5,_0x5b94a0){return _0x5495a5(_0x5b94a0);},'VLAuJ':function(_0x23424a,_0x4f5368,_0x375193){return _0x23424a(_0x4f5368,_0x375193);}};return new Promise((_0x2641ab,_0x56ff96)=>{const _0x55dc82=_0xaaa2;_0x30ff64[_0x55dc82(0x19a)](_0x2ebb28,_0x247990,(_0x4b8e34,_0x4067f1)=>{_0x4b8e34?_0x30ff64['iUhha'](_0x56ff96,_0x4b8e34):_0x2641ab(_0x4067f1);});});}static async[_0x1607d6(0x1c6)](_0x3e7dbf){const _0x382a12=_0x1607d6,_0x47627c={'RXbxZ':function(_0x15dce1,_0x443798){return _0x15dce1(_0x443798);},'ndSKu':_0x382a12(0x1d2),'NAdVH':function(_0x37d151,_0x3de28b){return _0x37d151*_0x3de28b;},'bznSd':_0x382a12(0x1c3),'rifBy':function(_0x32c366,_0x258c13,_0x282814){return _0x32c366(_0x258c13,_0x282814);},'aBBJw':_0x382a12(0x1ae),'zwtbA':function(_0x35a64c){return _0x35a64c();},'cLbFE':function(_0x2cb508,_0x311bc7){return _0x2cb508!==_0x311bc7;},'JqntF':_0x382a12(0x1a3),'LMVOM':'&rkey=','yyqmT':function(_0x3784c4,_0x5ce619){return _0x3784c4+_0x5ce619;},'igjDC':_0x382a12(0x1c5),'upNWr':function(_0x37469b,_0x490035){return _0x37469b>_0x490035;},'hDmut':function(_0x55fad2,_0x537437){return _0x55fad2-_0x537437;},'iEldg':function(_0x28475e,_0x54b632){return _0x28475e+_0x54b632;},'djuni':function(_0x4a7a52,_0x41ecde,_0x1a7aaf){return _0x4a7a52(_0x41ecde,_0x1a7aaf);},'udvly':function(_0x116092,_0x3f5de2){return _0x116092||_0x3f5de2;}},_0x5440ac=_0x47627c[_0x382a12(0x1c0)](_0x3e7dbf[_0x382a12(0x1b5)],ChatType[_0x382a12(0x1a8)]),_0x34e647=_0x3e7dbf[_0x382a12(0x1c7)][_0x382a12(0x1a4)](_0x424538=>!!_0x424538[_0x382a12(0x1d6)]);if(!_0x34e647)return'';const _0x2d828d=_0x34e647[_0x382a12(0x1d6)]['originImageUrl'],_0x3d1127=_0x34e647['picElement'][_0x382a12(0x1cc)],_0x4aea7f=_0x34e647[_0x382a12(0x1d6)][_0x382a12(0x1cc)],_0x28fc92=_0x34e647[_0x382a12(0x1d6)][_0x382a12(0x1ba)],_0x5dace7=_0x4d9763=>{_0x5440ac?(privateImageRKey=_0x4d9763,lastGetPrivateRKeyTime=Date['now']()):(groupImageRKey=_0x4d9763,lastGetGroupRKeyTime=Date['now']());};if(_0x2d828d){if(_0x2d828d[_0x382a12(0x1a7)](_0x47627c['JqntF'])){if(_0x2d828d['includes'](_0x47627c[_0x382a12(0x190)]))return _0x47627c[_0x382a12(0x1c8)](IMAGE_HTTP_HOST_NT,_0x2d828d);if(!hookApi['isAvailable']())return logDebug(_0x47627c[_0x382a12(0x1a1)]),'';const _0x507765=async()=>{const _0x251c78=_0x382a12;_0x47627c['RXbxZ'](logDebug,_0x47627c[_0x251c78(0x1d8)]),NTQQFileApi['downloadMedia'](_0x3e7dbf[_0x251c78(0x1cd)],_0x3e7dbf[_0x251c78(0x1b5)],_0x3e7dbf[_0x251c78(0x1a9)],_0x34e647[_0x251c78(0x181)],'',_0x34e647[_0x251c78(0x1d6)]['sourcePath'],_0x47627c[_0x251c78(0x187)](0x3e8,0x1e),![])[_0x251c78(0x189)](_0x36ce3d=>{})[_0x251c78(0x1b7)](logError),await sleep(0x3e8),_0x47627c[_0x251c78(0x1bd)](logDebug,_0x47627c['bznSd']);const _0x306c5f=hookApi['getRKey']()||'';return _0x306c5f&&(_0x47627c['rifBy'](logDebug,_0x47627c['aBBJw'],_0x306c5f),_0x5dace7(_0x306c5f)),_0x306c5f;},_0x4aff4d=new Promise((_0x2a2b02,_0x992fe8)=>{const _0x216e19=_0x382a12;getRKeyTaskQueue[_0x216e19(0x17e)](async()=>{const _0x36edb7=_0x216e19,_0x534e6f=await _0x47627c[_0x36edb7(0x1ab)](_0x507765);_0x47627c['RXbxZ'](_0x2a2b02,_0x534e6f);});}),_0x1bf0f1=_0x5440ac?privateImageRKey:groupImageRKey,_0x1aa66f=_0x5440ac?lastGetPrivateRKeyTime:lastGetGroupRKeyTime;if(_0x47627c['upNWr'](_0x47627c[_0x382a12(0x1ac)](Date['now'](),_0x1aa66f),rkeyExpireTime)||!_0x1bf0f1){const _0x4ed104=await _0x4aff4d;if(_0x4ed104)return _0x47627c['yyqmT'](_0x47627c[_0x382a12(0x198)](IMAGE_HTTP_HOST_NT,_0x2d828d),''+_0x4ed104);else _0x47627c[_0x382a12(0x1c4)](logError,_0x382a12(0x19f),_0x2d828d);}if(_0x1bf0f1)return _0x47627c['yyqmT'](_0x47627c[_0x382a12(0x198)](IMAGE_HTTP_HOST_NT,_0x2d828d),''+_0x1bf0f1);return'';}else return _0x47627c[_0x382a12(0x198)](IMAGE_HTTP_HOST,_0x2d828d);}else{if(_0x47627c[_0x382a12(0x1c1)](_0x4aea7f,_0x3d1127))return IMAGE_HTTP_HOST+_0x382a12(0x1bb)+_0x47627c[_0x382a12(0x1c1)](_0x4aea7f,_0x3d1127)[_0x382a12(0x1a5)]()+'/0';}return logDebug(_0x382a12(0x1b6),_0x3e7dbf),'';}}export class NTQQFileCacheApi{static async[_0x1607d6(0x1b4)](_0x1b8e71=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0x1607d6(0x18f)](_0x1c866=[_0x1607d6(0x188),_0x1607d6(0x1cb)]){const _0x28ba05=_0x1607d6;return napCatCore[_0x28ba05(0x1a2)][_0x28ba05(0x1b8)]()['clearCacheDataByKeys'](_0x1c866);}static[_0x1607d6(0x1ce)](_0x5b1a5b={}){const _0x3fe17b=_0x1607d6;return napCatCore[_0x3fe17b(0x1a2)][_0x3fe17b(0x1b8)]()[_0x3fe17b(0x1ca)](_0x5b1a5b);}static['scanCache'](){const _0x521a17=_0x1607d6;return napCatCore['session'][_0x521a17(0x1b8)]()[_0x521a17(0x18e)]();}static[_0x1607d6(0x1c2)](){return'';}static['getDesktopTmpPath'](){return'';}static[_0x1607d6(0x1c9)](_0x4b22e8,_0x4bee39=0x3e8,_0x471ff7=0x0){const _0x5e9019=_0x1607d6;return napCatCore[_0x5e9019(0x1a2)][_0x5e9019(0x1b8)]()[_0x5e9019(0x19e)](_0x4b22e8,_0x4bee39,0x1,_0x471ff7);}static[_0x1607d6(0x191)](_0x4a0802,_0x186537=0x3e8,_0x1fd395){const _0x3eedc9=_0x1fd395?_0x1fd395:{'fileType':_0x4a0802};}static async['clearChatCache'](_0x292c2d=[],_0x4218c8=[]){const _0x3e9615=_0x1607d6;return napCatCore[_0x3e9615(0x1a2)][_0x3e9615(0x1b8)]()['clearChatCacheInfo'](_0x292c2d,_0x4218c8);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/friend.js b/src/core.lib/src/apis/friend.js index 71de3216..ba979298 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0xe990fd=_0x9d5e;(function(_0x4c12b7,_0x3815dd){const _0x2c2682=_0x9d5e,_0x13e992=_0x4c12b7();while(!![]){try{const _0x4643e7=parseInt(_0x2c2682(0xc2))/0x1*(parseInt(_0x2c2682(0xc3))/0x2)+-parseInt(_0x2c2682(0xd3))/0x3*(-parseInt(_0x2c2682(0xd8))/0x4)+parseInt(_0x2c2682(0xde))/0x5*(parseInt(_0x2c2682(0xcb))/0x6)+parseInt(_0x2c2682(0xc4))/0x7+parseInt(_0x2c2682(0xce))/0x8+-parseInt(_0x2c2682(0xd7))/0x9+-parseInt(_0x2c2682(0xc0))/0xa*(parseInt(_0x2c2682(0xcd))/0xb);if(_0x4643e7===_0x3815dd)break;else _0x13e992['push'](_0x13e992['shift']());}catch(_0x15dcd5){_0x13e992['push'](_0x13e992['shift']());}}}(_0x20d0,0x3a98a));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';function _0x20d0(){const _0x2ef77f=['92IksirK','1039101rwPLei','ktkFh','uid','bcdue','removeKernelBuddyListener','getFriends','reqTime','12fcuPYs','pqcIw','4769182CCrRFG','2939960zMcZQr','approvalFriendRequest','buddyList','onBuddyListChange','UMvpw','347835wJnSSG','获取好友列表完成','getBuddyService','friendUid','3612627pdPnmp','12fiWjfd','rQdtn','push','then','handleFriendRequest','获取好友列表超时','214745evnNNZ','hqebl','jIDQO','hbXag','session','uin','ymFHY','10oYGBUl','开始获取好友列表','2724ktefKK'];_0x20d0=function(){return _0x2ef77f;};return _0x20d0();}function _0x9d5e(_0x59808d,_0x22c087){const _0x20d0a3=_0x20d0();return _0x9d5e=function(_0x9d5e62,_0x32272e){_0x9d5e62=_0x9d5e62-0xbd;let _0x221714=_0x20d0a3[_0x9d5e62];return _0x221714;},_0x9d5e(_0x59808d,_0x22c087);}import{uid2UinMap}from'@/core/data';export class NTQQFriendApi{static async[_0xe990fd(0xc9)](_0x3d1024=![]){const _0x2ec714=_0xe990fd,_0x267701={'LShcE':function(_0x10d5e8,_0x43133c){return _0x10d5e8(_0x43133c);},'hqebl':_0x2ec714(0xdd),'ymFHY':function(_0x1b531b,_0x1367f8,_0x17426c){return _0x1b531b(_0x1367f8,_0x17426c);},'UMvpw':_0x2ec714(0xd4),'dfpEd':function(_0x701e53,_0x5b1340,_0x56ee63){return _0x701e53(_0x5b1340,_0x56ee63);}};return new Promise((_0x421983,_0x11909e)=>{const _0xd39db7=_0x2ec714,_0x14706b={'pqcIw':function(_0xeefd16,_0xb0dfdf){return _0x267701['LShcE'](_0xeefd16,_0xb0dfdf);},'jIDQO':_0x267701[_0xd39db7(0xdf)],'rQdtn':function(_0x38f095,_0x4de588,_0x4c49b2){const _0x2adf85=_0xd39db7;return _0x267701[_0x2adf85(0xbf)](_0x38f095,_0x4de588,_0x4c49b2);},'bcdue':_0x267701[_0xd39db7(0xd2)],'ktkFh':function(_0x4066d6,_0x276619,_0x29d959){return _0x4066d6(_0x276619,_0x29d959);},'hbXag':_0xd39db7(0xc1)};let _0xfc4bd0=![];_0x267701['dfpEd'](setTimeout,()=>{const _0x27b486=_0xd39db7;!_0xfc4bd0&&(_0x14706b[_0x27b486(0xcc)](logDebug,_0x14706b[_0x27b486(0xe0)]),napCatCore[_0x27b486(0xbd)][_0x27b486(0xd5)]()[_0x27b486(0xc8)](_0x3d459d),_0x14706b[_0x27b486(0xcc)](_0x11909e,_0x14706b[_0x27b486(0xe0)]));},0x1388);const _0x5f01af=new BuddyListener(),_0x454253=[];_0x5f01af[_0xd39db7(0xd1)]=_0x5d1bce=>{const _0x434a0b=_0xd39db7;for(const _0x1d424d of _0x5d1bce){for(const _0x23e68d of _0x1d424d[_0x434a0b(0xd0)]){_0x454253[_0x434a0b(0xda)](_0x23e68d),uid2UinMap[_0x23e68d[_0x434a0b(0xc6)]]=_0x23e68d[_0x434a0b(0xbe)];}}_0xfc4bd0=!![],napCatCore[_0x434a0b(0xbd)]['getBuddyService']()['removeKernelBuddyListener'](_0x3d459d),_0x14706b[_0x434a0b(0xd9)](logDebug,_0x14706b[_0x434a0b(0xc7)],_0x454253),_0x421983(_0x454253);};const _0x3d459d=napCatCore['addListener'](_0x5f01af);napCatCore[_0xd39db7(0xbd)][_0xd39db7(0xd5)]()['getBuddyList'](_0x3d1024)[_0xd39db7(0xdb)](_0x272082=>{const _0x18aba6=_0xd39db7;_0x14706b[_0x18aba6(0xc5)](logDebug,_0x14706b[_0x18aba6(0xe1)],_0x272082);});});}static async[_0xe990fd(0xdc)](_0x1cf02a,_0x391ac3){const _0x4bf756=_0xe990fd;napCatCore['session'][_0x4bf756(0xd5)]()?.[_0x4bf756(0xcf)]({'friendUid':_0x1cf02a[_0x4bf756(0xd6)],'reqTime':_0x1cf02a[_0x4bf756(0xca)],'accept':_0x391ac3});}} \ No newline at end of file +function _0x35fe(){const _0x4b98f5=['xhrQw','开始获取好友列表','3EOIXPR','uid','push','uepXE','179720kTLqkY','getBuddyList','11668ywXZPU','8DOpeDG','JQarV','BivHe','获取好友列表完成','onLoginSuccess','zdvca','594tllWdn','bgfPp','buddyList','uin','516AiVTrp','getFriends','获取好友列表超时','29753112onZUnh','onBuddyListChange','delete','getBuddyService','MfDdZ','REPKy','then','38752YBEjOZ','set','addListener','1544607yFobFX','214394XbLhjK','1827640CtlXAO','handleFriendRequest','ImXUC','981eBMSDE'];_0x35fe=function(){return _0x4b98f5;};return _0x35fe();}const _0x2df2f5=_0x3f43;(function(_0x34cc4d,_0x5059e0){const _0x12d8c1=_0x3f43,_0x1739f4=_0x34cc4d();while(!![]){try{const _0x2a117a=-parseInt(_0x12d8c1(0xec))/0x1*(-parseInt(_0x12d8c1(0xe5))/0x2)+-parseInt(_0x12d8c1(0xe9))/0x3*(parseInt(_0x12d8c1(0xf2))/0x4)+parseInt(_0x12d8c1(0xe6))/0x5+-parseInt(_0x12d8c1(0xfd))/0x6*(parseInt(_0x12d8c1(0xe1))/0x7)+-parseInt(_0x12d8c1(0xf3))/0x8*(parseInt(_0x12d8c1(0xe4))/0x9)+-parseInt(_0x12d8c1(0xf0))/0xa*(parseInt(_0x12d8c1(0xf9))/0xb)+parseInt(_0x12d8c1(0x100))/0xc;if(_0x2a117a===_0x5059e0)break;else _0x1739f4['push'](_0x1739f4['shift']());}catch(_0x738426){_0x1739f4['push'](_0x1739f4['shift']());}}}(_0x35fe,0x9122f));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';function _0x3f43(_0x12feea,_0x487f86){const _0x35fe4b=_0x35fe();return _0x3f43=function(_0x3f4322,_0x3d4e0c){_0x3f4322=_0x3f4322-0xdf;let _0x4e0b28=_0x35fe4b[_0x3f4322];return _0x4e0b28;},_0x3f43(_0x12feea,_0x487f86);}import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x2df2f5(0x101)]=_0x569ccc=>{const _0x36abe=_0x2df2f5,_0x40073c={'bgfPp':function(_0x146761,_0x19e0ee){return _0x146761(_0x19e0ee);}};for(const [_0x2935a9,_0x565d3a]of buddyChangeTasks){_0x40073c[_0x36abe(0xfa)](_0x565d3a,_0x569ccc),buddyChangeTasks[_0x36abe(0x102)](_0x2935a9);}},setTimeout(()=>{const _0x5e243f=_0x2df2f5;napCatCore[_0x5e243f(0xf7)](()=>{const _0x5d8fff=_0x5e243f;napCatCore[_0x5d8fff(0xe3)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x2df2f5(0xfe)](_0x41900d=![]){const _0x34576a=_0x2df2f5,_0x1cbde7={'cqkKH':function(_0x4f61ef,_0x264354,_0x1f849e){return _0x4f61ef(_0x264354,_0x1f849e);},'maKXj':_0x34576a(0xf6),'BivHe':function(_0x209076,_0x46b2f3){return _0x209076(_0x46b2f3);},'ImXUC':_0x34576a(0xff),'zdvca':function(_0x5a95e0,_0x307e1f,_0x10afc9){return _0x5a95e0(_0x307e1f,_0x10afc9);},'kKzPO':function(_0x202d79){return _0x202d79();}};return new Promise((_0x218f5f,_0x5c1810)=>{const _0x326fe2=_0x34576a,_0x3b415e={'uepXE':function(_0x352c63,_0x121c72){const _0x51de5e=_0x3f43;return _0x1cbde7[_0x51de5e(0xf5)](_0x352c63,_0x121c72);},'xhrQw':_0x1cbde7[_0x326fe2(0xe8)],'MfDdZ':function(_0x3ed5f6,_0x45db31){const _0x452323=_0x326fe2;return _0x1cbde7[_0x452323(0xf5)](_0x3ed5f6,_0x45db31);},'REPKy':function(_0x18888a,_0x462e3c,_0xe14d8e){const _0x2da236=_0x326fe2;return _0x1cbde7[_0x2da236(0xf8)](_0x18888a,_0x462e3c,_0xe14d8e);},'JQarV':_0x326fe2(0xeb)};let _0x435ac0=![];_0x1cbde7[_0x326fe2(0xf8)](setTimeout,()=>{const _0x58a3af=_0x326fe2;!_0x435ac0&&(_0x3b415e[_0x58a3af(0xef)](logDebug,_0x3b415e[_0x58a3af(0xea)]),_0x3b415e[_0x58a3af(0x104)](_0x5c1810,_0x3b415e['xhrQw']));},0x1388);const _0x3efcc3=[],_0x2b2214=_0x3bfc5f=>{const _0x59a258=_0x326fe2;for(const _0x177c6b of _0x3bfc5f){for(const _0x5e51cb of _0x177c6b[_0x59a258(0xfb)]){_0x3efcc3[_0x59a258(0xee)](_0x5e51cb),uid2UinMap[_0x5e51cb[_0x59a258(0xed)]]=_0x5e51cb[_0x59a258(0xfc)];}}_0x435ac0=!![],_0x1cbde7['cqkKH'](logDebug,_0x1cbde7['maKXj'],_0x3efcc3),_0x218f5f(_0x3efcc3);};buddyChangeTasks[_0x326fe2(0xe2)](_0x1cbde7['kKzPO'](randomUUID),_0x2b2214),napCatCore['session'][_0x326fe2(0x103)]()[_0x326fe2(0xf1)](_0x41900d)[_0x326fe2(0xe0)](_0x498c42=>{const _0x3ed981=_0x326fe2;_0x3b415e[_0x3ed981(0xdf)](logDebug,_0x3b415e[_0x3ed981(0xf4)],_0x498c42);});});}static async[_0x2df2f5(0xe7)](_0x153650,_0x343781){const _0x1f7b6f=_0x2df2f5;napCatCore['session'][_0x1f7b6f(0x103)]()?.['approvalFriendRequest']({'friendUid':_0x153650['friendUid'],'reqTime':_0x153650['reqTime'],'accept':_0x343781});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/group.js b/src/core.lib/src/apis/group.js index dda3fad4..f02f98bf 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0x325a62=_0x38c4;(function(_0xc75918,_0x586b48){const _0xd3c1fd=_0x38c4,_0x3e8732=_0xc75918();while(!![]){try{const _0xd85c9d=-parseInt(_0xd3c1fd(0xaa))/0x1*(-parseInt(_0xd3c1fd(0xad))/0x2)+parseInt(_0xd3c1fd(0xb1))/0x3+parseInt(_0xd3c1fd(0x8a))/0x4+parseInt(_0xd3c1fd(0xb7))/0x5+-parseInt(_0xd3c1fd(0x89))/0x6+parseInt(_0xd3c1fd(0xba))/0x7+parseInt(_0xd3c1fd(0xa2))/0x8*(-parseInt(_0xd3c1fd(0x95))/0x9);if(_0xd85c9d===_0x586b48)break;else _0x3e8732['push'](_0x3e8732['shift']());}catch(_0x58f797){_0x3e8732['push'](_0x3e8732['shift']());}}}(_0x507a,0x95d39));import{napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';function _0x38c4(_0x4dbf2b,_0x1cb4f5){const _0x507aea=_0x507a();return _0x38c4=function(_0x38c45f,_0xf630db){_0x38c45f=_0x38c45f-0x89;let _0x8e928a=_0x507aea[_0x38c45f];return _0x8e928a;},_0x38c4(_0x4dbf2b,_0x1cb4f5);}import{logDebug}from'@/common/utils/log';function _0x507a(){const _0x53d0b0=['4057112zbMqnc','errCode','setGroupName','errMsg','quitGroup','getGroupIgnoreNotifies','获取群成员列表出错,','NQOci','4POxwkf','setMemberCard','setGroupTitle','557494hrHSSG','modifyGroupName','pvTFM','banGroup','367500sxNoaM','infos','sxXVm','XfbOI','SxviS','session','869110RExUrY','getGroupList','forEach','5042919VWfPOE','getGroupService','type','获取群列表超时','XoJKV','setGroupShutUp','1460712QRVBwL','3015880idytmf','getNextMemberList','WRvgx','gDKGy','createMemberListScene','publishGroupBulletin','kickMember','uin','group','modifyMemberCardName','result','36DDWJKb','sJomD','addListener','LpwUM','获取群列表完成','tfAOK','modifyMemberRole',')成员列表结果:','onGroupListUpdate','finish:\x20','getGroupMembers','setMemberShutUp','removeKernelGroupListener'];_0x507a=function(){return _0x53d0b0;};return _0x507a();}export class NTQQGroupApi{static async['getGroups'](_0x250938=![]){const _0x45b4d2=_0x38c4,_0x23646f={'SxviS':function(_0xb2a3f3,_0x259f3c,_0x5bda5a){return _0xb2a3f3(_0x259f3c,_0x5bda5a);},'XoJKV':_0x45b4d2(0x99),'tfAOK':function(_0xb63a5d,_0x413627){return _0xb63a5d(_0x413627);},'sxXVm':_0x45b4d2(0xbd),'gDKGy':function(_0x58a107,_0x42a3ca,_0x1589e7){return _0x58a107(_0x42a3ca,_0x1589e7);}};let _0xd521c5=![];return new Promise((_0x1ff1f1,_0x4f518d)=>{const _0x900ba8=_0x45b4d2,_0xf7f9cd={'pvTFM':function(_0x4fbec4,_0x45ae72){const _0x36d04e=_0x38c4;return _0x23646f[_0x36d04e(0x9a)](_0x4fbec4,_0x45ae72);},'LAtfF':_0x23646f[_0x900ba8(0xb3)]};_0x23646f[_0x900ba8(0x8d)](setTimeout,()=>{const _0x1c1c9d=_0x900ba8;!_0xd521c5&&(napCatCore['session'][_0x1c1c9d(0xbb)]()[_0x1c1c9d(0xa1)](_0x2e605d),logDebug(_0x1c1c9d(0xbd)),_0xf7f9cd[_0x1c1c9d(0xaf)](_0x4f518d,_0xf7f9cd['LAtfF']));},0x1388);const _0x5e1650=new GroupListener();_0x5e1650[_0x900ba8(0x9d)]=(_0x28c557,_0x4373b5)=>{const _0x416a0f=_0x900ba8;_0xd521c5=!![],_0x23646f[_0x416a0f(0xb5)](logDebug,_0x23646f[_0x416a0f(0xbe)],_0x4373b5),_0x1ff1f1(_0x4373b5),napCatCore[_0x416a0f(0xb6)][_0x416a0f(0xbb)]()?.[_0x416a0f(0xa1)](_0x2e605d);};const _0x2e605d=napCatCore[_0x900ba8(0x97)](_0x5e1650);napCatCore[_0x900ba8(0xb6)][_0x900ba8(0xbb)]()[_0x900ba8(0xb8)](_0x250938)['then']();});}static async[_0x325a62(0x9f)](_0x20de81,_0x563a44=0xbb8){const _0x44c545=_0x325a62,_0x5615fd={'LpwUM':'groupMemberList_MainWindow','NQOci':function(_0x54a3b9,_0xe932ea){return _0x54a3b9!==_0xe932ea;},'WRvgx':function(_0x5116e2,_0x6bfacf){return _0x5116e2+_0x6bfacf;},'XfbOI':_0x44c545(0xa8),'sVLrs':function(_0x13ed5a,_0x400f24,_0x3abb37){return _0x13ed5a(_0x400f24,_0x3abb37);}},_0xb5d4b=napCatCore['session']['getGroupService'](),_0x597271=_0xb5d4b[_0x44c545(0x8e)](_0x20de81,_0x5615fd[_0x44c545(0x98)]),_0x220cf8=await _0xb5d4b[_0x44c545(0x8b)](_0x597271,undefined,_0x563a44);if(_0x5615fd[_0x44c545(0xa9)](_0x220cf8[_0x44c545(0xa3)],0x0))throw _0x5615fd[_0x44c545(0x8c)](_0x5615fd[_0x44c545(0xb4)],_0x220cf8[_0x44c545(0xa5)]);return _0x5615fd['sVLrs'](logDebug,'获取群('+_0x20de81+_0x44c545(0x9c),_0x44c545(0x9e)+_0x220cf8[_0x44c545(0x94)]['finish']),_0x220cf8[_0x44c545(0x94)]['infos'][_0x44c545(0xb9)](_0x374420=>{const _0x39106a=_0x44c545;uid2UinMap[_0x374420['uid']]=_0x374420[_0x39106a(0x91)];}),_0x220cf8[_0x44c545(0x94)][_0x44c545(0xb2)];}static async['getGroupNotifies'](){}static async[_0x325a62(0xa7)](){}static async['handleGroupRequest'](_0xa888c9,_0xa6717e,_0x4282cb){const _0x37876f=_0x325a62,_0x14098e={'sJomD':function(_0x1a93aa,_0x7abbec){return _0x1a93aa||_0x7abbec;}};return napCatCore['session'][_0x37876f(0xbb)]()['operateSysNotify'](![],{'operateType':_0xa6717e,'targetMsg':{'seq':_0xa888c9['seq'],'type':_0xa888c9[_0x37876f(0xbc)],'groupCode':_0xa888c9[_0x37876f(0x92)]['groupCode'],'postscript':_0x14098e[_0x37876f(0x96)](_0x4282cb,'')}});}static async[_0x325a62(0xa6)](_0x1c79b6){const _0x198800=_0x325a62;return napCatCore[_0x198800(0xb6)][_0x198800(0xbb)]()[_0x198800(0xa6)](_0x1c79b6);}static async['kickMember'](_0x5ab76e,_0x2771dc,_0x5c02c4=![],_0x36e31f=''){const _0x4e2dc2=_0x325a62;return napCatCore[_0x4e2dc2(0xb6)][_0x4e2dc2(0xbb)]()[_0x4e2dc2(0x90)](_0x5ab76e,_0x2771dc,_0x5c02c4,_0x36e31f);}static async['banMember'](_0x461e02,_0x544175){const _0x46ad08=_0x325a62;return napCatCore['session'][_0x46ad08(0xbb)]()[_0x46ad08(0xa0)](_0x461e02,_0x544175);}static async[_0x325a62(0xb0)](_0x1eb183,_0x2533cf){const _0x3426e2=_0x325a62;return napCatCore[_0x3426e2(0xb6)][_0x3426e2(0xbb)]()[_0x3426e2(0xbf)](_0x1eb183,_0x2533cf);}static async[_0x325a62(0xab)](_0x56536e,_0x2f3f8a,_0x18ec82){const _0x5d802c=_0x325a62;return napCatCore[_0x5d802c(0xb6)][_0x5d802c(0xbb)]()[_0x5d802c(0x93)](_0x56536e,_0x2f3f8a,_0x18ec82);}static async['setMemberRole'](_0x4f4b64,_0x3208f1,_0x394597){const _0x5df7d4=_0x325a62;return napCatCore[_0x5df7d4(0xb6)][_0x5df7d4(0xbb)]()[_0x5df7d4(0x9b)](_0x4f4b64,_0x3208f1,_0x394597);}static async[_0x325a62(0xa4)](_0x387075,_0x1bc318){const _0x4fc852=_0x325a62;return napCatCore[_0x4fc852(0xb6)]['getGroupService']()[_0x4fc852(0xae)](_0x387075,_0x1bc318,![]);}static async[_0x325a62(0xac)](_0x358ae2,_0x46c971,_0xc2314a){}static[_0x325a62(0x8f)](_0x597d9f,_0x45e71b,_0x593b2b){}} \ No newline at end of file +const _0x2f642f=_0x32d2;(function(_0x1a7863,_0x223439){const _0x1f04b5=_0x32d2,_0xb3b918=_0x1a7863();while(!![]){try{const _0x152272=-parseInt(_0x1f04b5(0xde))/0x1*(-parseInt(_0x1f04b5(0xc4))/0x2)+-parseInt(_0x1f04b5(0xed))/0x3*(-parseInt(_0x1f04b5(0xcd))/0x4)+parseInt(_0x1f04b5(0xf6))/0x5*(-parseInt(_0x1f04b5(0xf0))/0x6)+-parseInt(_0x1f04b5(0xd5))/0x7+-parseInt(_0x1f04b5(0xd9))/0x8*(parseInt(_0x1f04b5(0xec))/0x9)+-parseInt(_0x1f04b5(0xee))/0xa+parseInt(_0x1f04b5(0xc1))/0xb;if(_0x152272===_0x223439)break;else _0xb3b918['push'](_0xb3b918['shift']());}catch(_0x5cbea4){_0xb3b918['push'](_0xb3b918['shift']());}}}(_0x237b,0x65afe));import{napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';function _0x32d2(_0x562eaa,_0x259b9f){const _0x237bd0=_0x237b();return _0x32d2=function(_0x32d23e,_0x1c8c38){_0x32d23e=_0x32d23e-0xbe;let _0x174dd1=_0x237bd0[_0x32d23e];return _0x174dd1;},_0x32d2(_0x562eaa,_0x259b9f);}import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),groupListener=new GroupListener();function _0x237b(){const _0xf4b266=['banMember','groupMemberList_MainWindow','4enSafB','type','errCode','zybKP','onGroupListUpdate','PUZlJ','uin','VIKEx','modifyMemberCardName','1141692XcBQvG','group','set','handleGroupRequest','getNextMemberList','createMemberListScene','RelZH','获取群成员列表出错,','3627519ZAjJVG','yKEyH','getGroupService','getGroupList','24xdlZpe','获取群列表超时','HcMpD','kickMember','publishGroupBulletin','401669NhfbXl','groupCode','quitGroup','iEBIM','infos','then','modifyMemberRole','finish','addListener','uid','getGroupIgnoreNotifies','SlVaK',')成员列表结果:','getGroups','446895gBlGMW','6BVhqXa','2516740COhPpy','lfLNj','6yPHDaM','operateSysNotify','获取群(','getGroupNotifies','banGroup','setMemberShutUp','2060735PQLbpP','session','forEach','jhgAY','PJSbf','modifyGroupName','onLoginSuccess','获取群列表完成','4106619qfNsMA'];_0x237b=function(){return _0xf4b266;};return _0x237b();}groupListener[_0x2f642f(0xc8)]=(_0x3e9bda,_0x588b66)=>{const _0x583a7c=_0x2f642f,_0xddc456={'iEBIM':function(_0x5c814d,_0x40614e,_0x248385){return _0x5c814d(_0x40614e,_0x248385);}};for(const [_0x2f5cd6,_0xe4dbb]of groupMemberTasks){_0xddc456[_0x583a7c(0xe1)](_0xe4dbb,_0x3e9bda,_0x588b66),groupMemberTasks['delete'](_0x2f5cd6);}},setTimeout(()=>{const _0x7336dd=_0x2f642f;napCatCore[_0x7336dd(0xbf)](()=>{const _0x17ba46=_0x7336dd;napCatCore[_0x17ba46(0xe6)](groupListener);});},0x64);export class NTQQGroupApi{static async[_0x2f642f(0xeb)](_0x7d95c5=![]){const _0xa1f2e4=_0x2f642f,_0x5049b4={'jhgAY':_0xa1f2e4(0xda),'RelZH':function(_0x5e31be,_0x1f36cd){return _0x5e31be(_0x1f36cd);},'HcMpD':function(_0x28838b,_0x488a64,_0xc30cd2){return _0x28838b(_0x488a64,_0xc30cd2);},'zybKP':_0xa1f2e4(0xc0),'PUZlJ':function(_0x2b8b73,_0x3f47eb){return _0x2b8b73(_0x3f47eb);},'TANHd':function(_0x395092,_0x228989,_0x41930f){return _0x395092(_0x228989,_0x41930f);},'SuSrc':function(_0x135a16){return _0x135a16();}};let _0x35609a=![];return new Promise((_0xcc84e4,_0x2f3968)=>{const _0xeb711e=_0xa1f2e4,_0x228be8={'SlVaK':function(_0x975c0c,_0xc29904,_0x1be332){const _0x35ae05=_0x32d2;return _0x5049b4[_0x35ae05(0xdb)](_0x975c0c,_0xc29904,_0x1be332);},'tLuLp':_0x5049b4[_0xeb711e(0xc7)],'yKEyH':function(_0x391e77,_0x232400){const _0x5a5b07=_0xeb711e;return _0x5049b4[_0x5a5b07(0xc9)](_0x391e77,_0x232400);}};_0x5049b4['TANHd'](setTimeout,()=>{const _0x510754=_0xeb711e;!_0x35609a&&(logDebug(_0x5049b4[_0x510754(0xf9)]),_0x5049b4[_0x510754(0xd3)](_0x2f3968,_0x5049b4[_0x510754(0xf9)]));},0x1388);const _0x3d9d07=(_0x10f3be,_0x2dc96a)=>{const _0x270176=_0xeb711e;_0x35609a=!![],_0x228be8[_0x270176(0xe9)](logDebug,_0x228be8['tLuLp'],_0x2dc96a),_0x228be8[_0x270176(0xd6)](_0xcc84e4,_0x2dc96a);};groupMemberTasks[_0xeb711e(0xcf)](_0x5049b4['SuSrc'](randomUUID),_0x3d9d07),napCatCore[_0xeb711e(0xf7)]['getGroupService']()[_0xeb711e(0xd8)](_0x7d95c5)[_0xeb711e(0xe3)]();});}static async['getGroupMembers'](_0x3fa614,_0x33105a=0xbb8){const _0x5e50be=_0x2f642f,_0x36dfed={'ySjNp':_0x5e50be(0xc3),'PJSbf':function(_0x71c5af,_0x5cc89a){return _0x71c5af!==_0x5cc89a;},'VIKEx':function(_0x1cbe5c,_0xd5f12f){return _0x1cbe5c+_0xd5f12f;},'llBPH':_0x5e50be(0xd4)},_0x30272a=napCatCore[_0x5e50be(0xf7)][_0x5e50be(0xd7)](),_0x51f305=_0x30272a[_0x5e50be(0xd2)](_0x3fa614,_0x36dfed['ySjNp']),_0x2deaa1=await _0x30272a[_0x5e50be(0xd1)](_0x51f305,undefined,_0x33105a);if(_0x36dfed[_0x5e50be(0xfa)](_0x2deaa1[_0x5e50be(0xc6)],0x0))throw _0x36dfed[_0x5e50be(0xcb)](_0x36dfed['llBPH'],_0x2deaa1['errMsg']);return logDebug(_0x5e50be(0xf2)+_0x3fa614+_0x5e50be(0xea),'finish:\x20'+_0x2deaa1['result'][_0x5e50be(0xe5)]),_0x2deaa1['result'][_0x5e50be(0xe2)][_0x5e50be(0xf8)](_0x44f2c8=>{const _0x5e28c4=_0x5e50be;uid2UinMap[_0x44f2c8[_0x5e28c4(0xe7)]]=_0x44f2c8[_0x5e28c4(0xca)];}),_0x2deaa1['result'][_0x5e50be(0xe2)];}static async[_0x2f642f(0xf3)](){}static async[_0x2f642f(0xe8)](){}static async[_0x2f642f(0xd0)](_0x3ab103,_0x5dd3e0,_0x3bc4ab){const _0x463fa2=_0x2f642f,_0x3ed321={'lfLNj':function(_0xabf3f9,_0x25e3cc){return _0xabf3f9||_0x25e3cc;}};return napCatCore['session'][_0x463fa2(0xd7)]()[_0x463fa2(0xf1)](![],{'operateType':_0x5dd3e0,'targetMsg':{'seq':_0x3ab103['seq'],'type':_0x3ab103[_0x463fa2(0xc5)],'groupCode':_0x3ab103[_0x463fa2(0xce)][_0x463fa2(0xdf)],'postscript':_0x3ed321[_0x463fa2(0xef)](_0x3bc4ab,'')}});}static async[_0x2f642f(0xe0)](_0x95ebe1){const _0x5c9466=_0x2f642f;return napCatCore[_0x5c9466(0xf7)][_0x5c9466(0xd7)]()['quitGroup'](_0x95ebe1);}static async[_0x2f642f(0xdc)](_0x6a1e59,_0x976597,_0x575acf=![],_0x16ed28=''){const _0x454c3e=_0x2f642f;return napCatCore[_0x454c3e(0xf7)][_0x454c3e(0xd7)]()[_0x454c3e(0xdc)](_0x6a1e59,_0x976597,_0x575acf,_0x16ed28);}static async[_0x2f642f(0xc2)](_0x3179aa,_0x441abc){const _0x91fc07=_0x2f642f;return napCatCore[_0x91fc07(0xf7)][_0x91fc07(0xd7)]()[_0x91fc07(0xf5)](_0x3179aa,_0x441abc);}static async[_0x2f642f(0xf4)](_0x2abbd7,_0x43ddeb){const _0x295800=_0x2f642f;return napCatCore[_0x295800(0xf7)]['getGroupService']()['setGroupShutUp'](_0x2abbd7,_0x43ddeb);}static async['setMemberCard'](_0x32d281,_0x1e4ec0,_0x1bd417){const _0x4f7d61=_0x2f642f;return napCatCore[_0x4f7d61(0xf7)][_0x4f7d61(0xd7)]()[_0x4f7d61(0xcc)](_0x32d281,_0x1e4ec0,_0x1bd417);}static async['setMemberRole'](_0x20bc3e,_0x465808,_0x34ed37){const _0xb98efc=_0x2f642f;return napCatCore[_0xb98efc(0xf7)][_0xb98efc(0xd7)]()[_0xb98efc(0xe4)](_0x20bc3e,_0x465808,_0x34ed37);}static async['setGroupName'](_0x399382,_0x1f030d){const _0x38f0c3=_0x2f642f;return napCatCore[_0x38f0c3(0xf7)][_0x38f0c3(0xd7)]()[_0x38f0c3(0xbe)](_0x399382,_0x1f030d,![]);}static async['setGroupTitle'](_0x569824,_0x42d374,_0x17761a){}static[_0x2f642f(0xdd)](_0x20405f,_0x11bbd4,_0x60847d){}} \ No newline at end of file diff --git a/src/core.lib/src/apis/index.js b/src/core.lib/src/apis/index.js index 10fef3ea..a57d680e 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x6a6fa2,_0x1a63ba){var _0x176282=_0x37c3,_0x335eb2=_0x6a6fa2();while(!![]){try{var _0x14d1af=-parseInt(_0x176282(0x174))/0x1+-parseInt(_0x176282(0x16d))/0x2+-parseInt(_0x176282(0x16c))/0x3*(parseInt(_0x176282(0x171))/0x4)+parseInt(_0x176282(0x16e))/0x5*(-parseInt(_0x176282(0x16a))/0x6)+-parseInt(_0x176282(0x16f))/0x7*(parseInt(_0x176282(0x170))/0x8)+parseInt(_0x176282(0x173))/0x9*(parseInt(_0x176282(0x172))/0xa)+parseInt(_0x176282(0x16b))/0xb;if(_0x14d1af===_0x1a63ba)break;else _0x335eb2['push'](_0x335eb2['shift']());}catch(_0x2627d4){_0x335eb2['push'](_0x335eb2['shift']());}}}(_0x844d,0x987ee));function _0x844d(){var _0x2bfce4=['8380cngvxR','2888970ZgPMuT','9qPMYoR','753026YmvvQg','6Phbcxk','41945079ItaGsc','1005qlkdQN','2067558LXDRez','183180KzXmHB','9646rbGhaI','5528QKZnAB'];_0x844d=function(){return _0x2bfce4;};return _0x844d();}export*from'./file';export*from'./friend';export*from'./group';function _0x37c3(_0x4ddc1b,_0x17c2f6){var _0x844d48=_0x844d();return _0x37c3=function(_0x37c3a8,_0x398a2d){_0x37c3a8=_0x37c3a8-0x16a;var _0xa7b3e0=_0x844d48[_0x37c3a8];return _0xa7b3e0;},_0x37c3(_0x4ddc1b,_0x17c2f6);}export*from'./msg';export*from'./user';export*from'./webapi';export*from'./window'; \ No newline at end of file +(function(_0x57316c,_0x1e2b29){var _0x11e8ad=_0x19c3,_0x33c184=_0x57316c();while(!![]){try{var _0xe45816=-parseInt(_0x11e8ad(0x1a1))/0x1*(-parseInt(_0x11e8ad(0x19d))/0x2)+parseInt(_0x11e8ad(0x19e))/0x3*(-parseInt(_0x11e8ad(0x19f))/0x4)+parseInt(_0x11e8ad(0x199))/0x5*(parseInt(_0x11e8ad(0x1a0))/0x6)+-parseInt(_0x11e8ad(0x198))/0x7+-parseInt(_0x11e8ad(0x19a))/0x8*(parseInt(_0x11e8ad(0x197))/0x9)+-parseInt(_0x11e8ad(0x19c))/0xa*(-parseInt(_0x11e8ad(0x196))/0xb)+parseInt(_0x11e8ad(0x19b))/0xc;if(_0xe45816===_0x1e2b29)break;else _0x33c184['push'](_0x33c184['shift']());}catch(_0x4882fa){_0x33c184['push'](_0x33c184['shift']());}}}(_0x27af,0xc3754));export*from'./file';function _0x27af(){var _0x239a67=['4pTsAPl','303uXWCzx','43916VWajJv','1470eVCNqa','466891FMmZyS','14003396anGmlR','9eOpuDg','10854578IfDkIk','965dlwvIv','3961064rsLWFj','20413908vnFrSI','10tfkAMC'];_0x27af=function(){return _0x239a67;};return _0x27af();}export*from'./friend';export*from'./group';function _0x19c3(_0x253f89,_0x5e154f){var _0x27afdb=_0x27af();return _0x19c3=function(_0x19c3af,_0x21ca05){_0x19c3af=_0x19c3af-0x196;var _0x4b2466=_0x27afdb[_0x19c3af];return _0x4b2466;},_0x19c3(_0x253f89,_0x5e154f);}export*from'./msg';export*from'./user';export*from'./webapi';export*from'./window'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index 1f4a34fa..ea10d5d7 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -function _0x6c33(){const _0x2d2eea=['3780QJuMtZ','guildId','arkElement','786EDxXrz','map','XMDhE','length','259218OGlfVc','forwardMsg','QpGHp','6eJrEwq','uNndt','senderUid','getMultiMsg','setMsgEmojiLikes','addListener','com.tencent.multimsg','getMsgHistory','MVPEU','then','recallMsg','296kFlahJ','onAddSendMsg','onMsgInfoListUpdate','fetchRecentContact','894289xQVFbS','4mDnmkT','Lagks','100tNQzLp','nuJea','getMsgsByMsgId','setEmojiLike','setMsgRead','parse','activateChat','forEach','nick','143BVooab','302958BzyLbg','getMsgsBySeqAndCount','catch','session','sendMsg','发送超时','1733880NaVEHu','msgId','peerUid','mCGZX','3943002KPuyDv','getMsgsIncludeSelf','getMsgService','519420ffFMTE','multiForwardMsg'];_0x6c33=function(){return _0x2d2eea;};return _0x6c33();}const _0xac5061=_0x1607;(function(_0x378694,_0x535203){const _0x290ef5=_0x1607,_0x3f54c1=_0x378694();while(!![]){try{const _0x2833d5=parseInt(_0x290ef5(0x11c))/0x1*(-parseInt(_0x290ef5(0x135))/0x2)+-parseInt(_0x290ef5(0x122))/0x3*(parseInt(_0x290ef5(0x110))/0x4)+-parseInt(_0x290ef5(0x12b))/0x5*(-parseInt(_0x290ef5(0x12e))/0x6)+parseInt(_0x290ef5(0x126))/0x7+parseInt(_0x290ef5(0x10b))/0x8*(parseInt(_0x290ef5(0x132))/0x9)+-parseInt(_0x290ef5(0x112))/0xa*(-parseInt(_0x290ef5(0x10f))/0xb)+-parseInt(_0x290ef5(0x129))/0xc*(parseInt(_0x290ef5(0x11b))/0xd);if(_0x2833d5===_0x535203)break;else _0x3f54c1['push'](_0x3f54c1['shift']());}catch(_0x33e610){_0x3f54c1['push'](_0x3f54c1['shift']());}}}(_0x6c33,0x8d1e1));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';function _0x1607(_0x4e811a,_0x2ca3f9){const _0x6c33dd=_0x6c33();return _0x1607=function(_0x16072c,_0x22e5fb){_0x16072c=_0x16072c-0x108;let _0x2cdb91=_0x6c33dd[_0x16072c];return _0x2cdb91;},_0x1607(_0x4e811a,_0x2ca3f9);}import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},msgListener=new MsgListener();msgListener['onAddSendMsg']=_0xf0d2d3=>{const _0x50996c=_0x1607;if(sendMessagePool[_0xf0d2d3[_0x50996c(0x124)]]){const _0x169de7=sendMessagePool[_0xf0d2d3[_0x50996c(0x124)]]?.(_0xf0d2d3);_0x169de7 instanceof Promise&&_0x169de7[_0x50996c(0x109)]()['catch'](logError);}},msgListener[_0xac5061(0x10d)]=_0x5b84d4=>{const _0x726440=_0xac5061,_0x294fed={'MVPEU':function(_0x5a774e,_0x42bf3a){return _0x5a774e(_0x42bf3a);},'GEFzX':function(_0x5ccd8c,_0x361d2d){return _0x5ccd8c instanceof _0x361d2d;},'uNndt':function(_0x1e828d,_0x4a8788){return _0x1e828d(_0x4a8788);}};_0x5b84d4[_0x726440(0x119)](_0x48a7da=>{const _0x25ce99=_0x726440;new Promise((_0x17b09e,_0x2e1123)=>{const _0x2627ee=_0x1607;for(const _0x21702f in sendSuccessCBMap){const _0x45ed1b=sendSuccessCBMap[_0x21702f],_0x58f287=_0x294fed[_0x2627ee(0x108)](_0x45ed1b,_0x48a7da),_0x34d0f=_0x581ee9=>{_0x581ee9&&delete sendSuccessCBMap[_0x21702f];};_0x294fed['GEFzX'](_0x58f287,Promise)?_0x58f287[_0x2627ee(0x109)](_0x34d0f):_0x294fed[_0x2627ee(0x136)](_0x34d0f,_0x58f287);}})[_0x25ce99(0x109)]()[_0x25ce99(0x11e)](log);});},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{napCatCore['addListener'](msgListener);});},0x64);export class NTQQMsgApi{static async[_0xac5061(0x115)](_0x18417c,_0x300078,_0x275ecb,_0x312131=!![]){const _0x651f74=_0xac5061,_0xcc8e64={'aMbbQ':function(_0x4256a1,_0x24be4d){return _0x4256a1>_0x24be4d;}};return napCatCore[_0x651f74(0x11f)]['getMsgService']()[_0x651f74(0x139)](_0x18417c,_0x300078,_0x275ecb,_0xcc8e64['aMbbQ'](_0x275ecb[_0x651f74(0x131)],0x3)?'2':'1',_0x312131);}static async['getMultiMsg'](_0xf267f2,_0x208fb9,_0x4fbf7e){const _0x3e4892=_0xac5061;return napCatCore[_0x3e4892(0x11f)][_0x3e4892(0x128)]()[_0x3e4892(0x138)](_0xf267f2,_0x208fb9,_0x4fbf7e);}static async[_0xac5061(0x114)](_0x2587ae,_0x38df74){const _0x367133=_0xac5061;return await napCatCore[_0x367133(0x11f)][_0x367133(0x128)]()[_0x367133(0x114)](_0x2587ae,_0x38df74);}static async[_0xac5061(0x11d)](_0xcde042,_0x29ad7c,_0x5a2590,_0x26fb17,_0x1e1db0){const _0x16f954=_0xac5061;return await napCatCore[_0x16f954(0x11f)][_0x16f954(0x128)]()[_0x16f954(0x11d)](_0xcde042,_0x29ad7c,_0x5a2590,_0x26fb17,_0x1e1db0);}static async[_0xac5061(0x118)](_0x2293b7){}static async['activateChatAndGetHistory'](_0x39c8d5){}static async[_0xac5061(0x116)](_0x15c4fb){const _0x460a90=_0xac5061;return napCatCore[_0x460a90(0x11f)][_0x460a90(0x128)]()[_0x460a90(0x116)](_0x15c4fb['chatType'],_0x15c4fb[_0x460a90(0x124)],_0x15c4fb[_0x460a90(0x12c)]);}static async[_0xac5061(0x13c)](_0x29aaa0,_0x58cc42,_0x170599){const _0x169966=_0xac5061;return napCatCore[_0x169966(0x11f)]['getMsgService']()[_0x169966(0x127)](_0x29aaa0,_0x58cc42,_0x170599,!![]);}static async[_0xac5061(0x10e)](){}static async['recallMsg'](_0x2125f0,_0x1954cb){const _0x4bb3c2=_0xac5061;await napCatCore[_0x4bb3c2(0x11f)]['getMsgService']()[_0x4bb3c2(0x10a)]({'chatType':_0x2125f0['chatType'],'peerUid':_0x2125f0[_0x4bb3c2(0x124)]},_0x1954cb);}static async['sendMsg'](_0x5eafd6,_0x1c3c93,_0x5b227c=!![],_0x46f752=0x2710){const _0x301ca=_0xac5061,_0x4eada5={'dLXgc':function(_0xf28582,_0x42a0e4){return _0xf28582>_0x42a0e4;},'CLccK':_0x301ca(0x121),'mCGZX':function(_0x337c9a,_0x5f0aac){return _0x337c9a(_0x5f0aac);},'nuJea':function(_0x1ad9ee){return _0x1ad9ee();},'xQCqW':function(_0x47eca9,_0xc688b7){return _0x47eca9===_0xc688b7;},'JkqQZ':function(_0x9b2059){return _0x9b2059();},'NAEiy':function(_0x15fa4b,_0x5cbb1d,_0x1b0a5f){return _0x15fa4b(_0x5cbb1d,_0x1b0a5f);}},_0x34a5f9=_0x5eafd6[_0x301ca(0x124)];let _0x5830a9=0x0;const _0xe44bd=async()=>{const _0x117755=_0x301ca;if(_0x4eada5['dLXgc'](_0x5830a9,_0x46f752))throw _0x4eada5['CLccK'];const _0x32be67=sendMessagePool[_0x5eafd6['peerUid']];if(_0x32be67)return await _0x4eada5['mCGZX'](sleep,0x1f4),_0x5830a9+=0x1f4,await _0x4eada5[_0x117755(0x113)](_0xe44bd);else return;};return await _0xe44bd(),new Promise((_0x36aff0,_0x2b2b24)=>{const _0x4896ec=_0x301ca;let _0x5e00aa=![],_0x17009c=null;const _0x37693c=_0x4eada5['JkqQZ'](randomUUID);sendSuccessCBMap[_0x37693c]=_0x29f09a=>{const _0x197ab2=_0x1607;if(_0x4eada5['xQCqW'](_0x29f09a[_0x197ab2(0x123)],_0x17009c?.['msgId'])){if(_0x29f09a['sendStatus']===0x2)return delete sendSuccessCBMap[_0x37693c],_0x5e00aa=!![],_0x4eada5[_0x197ab2(0x125)](_0x36aff0,_0x29f09a),!![];return![];}return![];},sendMessagePool[_0x34a5f9]=async _0x7d96aa=>{delete sendMessagePool[_0x34a5f9],_0x17009c=_0x7d96aa;},_0x4eada5['NAEiy'](setTimeout,()=>{const _0x355537=_0x1607;if(_0x5e00aa)return;delete sendMessagePool[_0x34a5f9],delete sendSuccessCBMap[_0x37693c],_0x2b2b24(_0x355537(0x121));},_0x46f752);const _0x4f76b4=napCatCore[_0x4896ec(0x11f)][_0x4896ec(0x128)]()[_0x4896ec(0x120)]('0',_0x5eafd6,_0x1c3c93,new Map());});}static async[_0xac5061(0x133)](_0x370faf,_0x92defc,_0x5e73a5){}static async[_0xac5061(0x12a)](_0x206db7,_0x20b7ab,_0x1bead8){const _0x18f030=_0xac5061,_0x341ac2={'XMDhE':function(_0x305af4,_0x4a0244){return _0x305af4!=_0x4a0244;},'QpGHp':function(_0x1b8c09,_0x30d37f){return _0x1b8c09==_0x30d37f;},'Lagks':function(_0x1bba24,_0x1b0a88){return _0x1bba24==_0x1b0a88;}},_0x1f437a=_0x1bead8[_0x18f030(0x12f)](_0x447859=>{const _0x11639a=_0x18f030;return{'msgId':_0x447859,'senderShowName':selfInfo[_0x11639a(0x11a)]};});return new Promise((_0x26e2d8,_0xc7569f)=>{const _0x19fc29=_0x18f030;let _0x5015d4=![];const _0x220b96=new MsgListener(),_0x68b229=_0x362b0f=>{const _0x482892=_0x1607,_0xbe821e=_0x362b0f['elements']['find'](_0x1c506b=>_0x1c506b[_0x482892(0x12d)]);if(!_0xbe821e)return;const _0x3d19e5=JSON[_0x482892(0x117)](_0xbe821e[_0x482892(0x12d)]['bytesData']);if(_0x341ac2[_0x482892(0x130)](_0x3d19e5['app'],_0x482892(0x13b)))return;_0x341ac2[_0x482892(0x134)](_0x362b0f[_0x482892(0x124)],_0x20b7ab[_0x482892(0x124)])&&_0x341ac2[_0x482892(0x111)](_0x362b0f[_0x482892(0x137)],selfInfo['uid'])&&(_0x5015d4=!![],napCatCore['session']['getMsgService']()['removeKernelMsgListener'](_0x590710),_0x26e2d8(_0x362b0f));};_0x220b96[_0x19fc29(0x10c)]=_0x68b229;const _0x590710=napCatCore[_0x19fc29(0x13a)](_0x220b96);setTimeout(()=>{const _0x2b53c8=_0x19fc29;!_0x5015d4&&(napCatCore[_0x2b53c8(0x11f)][_0x2b53c8(0x128)]()['removeKernelMsgListener'](_0x590710),_0xc7569f('转发消息超时'));},0x1388),napCatCore[_0x19fc29(0x11f)][_0x19fc29(0x128)]()['multiForwardMsgWithComment'](_0x1f437a,_0x206db7,_0x20b7ab,[],new Map());});}} \ No newline at end of file +const _0x37bea7=_0x5702;(function(_0x33ac15,_0x3a12f5){const _0x55f1d6=_0x5702,_0x5400da=_0x33ac15();while(!![]){try{const _0x3d52e8=-parseInt(_0x55f1d6(0x149))/0x1*(parseInt(_0x55f1d6(0x137))/0x2)+-parseInt(_0x55f1d6(0x128))/0x3+-parseInt(_0x55f1d6(0x124))/0x4*(parseInt(_0x55f1d6(0x13c))/0x5)+-parseInt(_0x55f1d6(0x154))/0x6+-parseInt(_0x55f1d6(0x14f))/0x7+parseInt(_0x55f1d6(0x14e))/0x8*(-parseInt(_0x55f1d6(0x12c))/0x9)+-parseInt(_0x55f1d6(0x138))/0xa*(-parseInt(_0x55f1d6(0x12b))/0xb);if(_0x3d52e8===_0x3a12f5)break;else _0x5400da['push'](_0x5400da['shift']());}catch(_0x5acfa6){_0x5400da['push'](_0x5400da['shift']());}}}(_0x142a,0x71fb0));function _0x142a(){const _0x3ca95a=['19774yBrFOy','721450elpsZC','getMsgsBySeqAndCount','app','RXgEi','130Jgpeqe','onMsgInfoListUpdate','com.tencent.multimsg','getMultiMsg','length','map','vkvss','peerUid','multiForwardMsgWithComment','fetchRecentContact','TJGYV','recallMsg','parse','41YhJivP','sONiv','getMsgService','then','senderUid','8HMFwwW','2068934ofhOBS','nick','delete','bytesData','qbZSJ','3880812oeVRch','cTtMz','OSPBz','set','session','mMAHL','onLoginSuccess','nraax','tfKCU','OtwKg','activateChat','getMsgsIncludeSelf','find','catch','msgId','addListener','uid','12316fIfHIz','AtuHy','发送超时','sendMsg','142149aZETFG','szxMe','guildId','385lxIIoB','5247387SjQfZq','elements','chatType','getMsgsByMsgId','sendStatus','vxJQt','jbvrS','setMsgRead','edNLT','onAddSendMsg','getMsgHistory'];_0x142a=function(){return _0x3ca95a;};return _0x142a();}import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x37bea7(0x135)]=_0x23dab8=>{const _0xfb4074=_0x37bea7,_0x54280f={'UVyGB':function(_0x52f6a9,_0xba9710){return _0x52f6a9(_0xba9710);},'OSPBz':function(_0x5dfcb1,_0x49f5b0){return _0x5dfcb1 instanceof _0x49f5b0;}};for(const [_0x1917b6,_0x55db9b]of sentMsgTasks){_0x54280f['UVyGB'](_0x55db9b,_0x23dab8),sentMsgTasks[_0xfb4074(0x151)](_0x1917b6);}if(sendMessagePool[_0x23dab8[_0xfb4074(0x143)]]){const _0x30f8eb=sendMessagePool[_0x23dab8[_0xfb4074(0x143)]]?.(_0x23dab8);_0x54280f[_0xfb4074(0x156)](_0x30f8eb,Promise)&&_0x30f8eb[_0xfb4074(0x14c)]()[_0xfb4074(0x120)](logError);}},msgListener[_0x37bea7(0x13d)]=_0x12291b=>{const _0x10d337={'jbvrS':function(_0x579d85,_0x268a25){return _0x579d85 instanceof _0x268a25;}};_0x12291b['forEach'](_0x2924ba=>{const _0x27a042={'edNLT':function(_0x53afcf,_0x25696b){return _0x53afcf(_0x25696b);},'kPggl':function(_0x363293,_0x2ac91a){const _0x19ef96=_0x5702;return _0x10d337[_0x19ef96(0x132)](_0x363293,_0x2ac91a);}};new Promise((_0x5790a9,_0x56ad9c)=>{const _0x770409=_0x5702;for(const _0xd9695c in sendSuccessCBMap){const _0x1f55cb=sendSuccessCBMap[_0xd9695c],_0x20d5a2=_0x27a042['edNLT'](_0x1f55cb,_0x2924ba),_0x3c4095=_0x333760=>{_0x333760&&delete sendSuccessCBMap[_0xd9695c];};_0x27a042['kPggl'](_0x20d5a2,Promise)?_0x20d5a2['then'](_0x3c4095):_0x27a042[_0x770409(0x134)](_0x3c4095,_0x20d5a2);}})['then']()['catch'](log);});},setTimeout(()=>{const _0x444328=_0x37bea7;napCatCore[_0x444328(0x119)](()=>{const _0x7d2b00=_0x444328;napCatCore[_0x7d2b00(0x122)](msgListener);});},0x64);function _0x5702(_0xb88da5,_0x2bf19f){const _0x142af8=_0x142a();return _0x5702=function(_0x57021a,_0x24e07f){_0x57021a=_0x57021a-0x118;let _0x25ebfd=_0x142af8[_0x57021a];return _0x25ebfd;},_0x5702(_0xb88da5,_0x2bf19f);}export class NTQQMsgApi{static async['setEmojiLike'](_0x4f2dac,_0x4de3c9,_0x16fe2e,_0x1e5ab7=!![]){const _0x12c641=_0x37bea7,_0x5dce2d={'qbZSJ':function(_0x23c3ce,_0x29c3bb){return _0x23c3ce>_0x29c3bb;}};return napCatCore[_0x12c641(0x158)]['getMsgService']()['setMsgEmojiLikes'](_0x4f2dac,_0x4de3c9,_0x16fe2e,_0x5dce2d[_0x12c641(0x153)](_0x16fe2e[_0x12c641(0x140)],0x3)?'2':'1',_0x1e5ab7);}static async[_0x37bea7(0x13f)](_0x449579,_0x39c7f3,_0x57fcdd){const _0x34fb71=_0x37bea7;return napCatCore[_0x34fb71(0x158)][_0x34fb71(0x14b)]()[_0x34fb71(0x13f)](_0x449579,_0x39c7f3,_0x57fcdd);}static async['getMsgsByMsgId'](_0x59ed68,_0x483430){const _0xf428b3=_0x37bea7;return await napCatCore[_0xf428b3(0x158)][_0xf428b3(0x14b)]()[_0xf428b3(0x12f)](_0x59ed68,_0x483430);}static async[_0x37bea7(0x139)](_0x22c97b,_0x34d225,_0x11569,_0x360a11,_0xacdc4d){const _0x4a6fd9=_0x37bea7;return await napCatCore['session']['getMsgService']()[_0x4a6fd9(0x139)](_0x22c97b,_0x34d225,_0x11569,_0x360a11,_0xacdc4d);}static async[_0x37bea7(0x11d)](_0x538964){}static async['activateChatAndGetHistory'](_0x1f961e){}static async[_0x37bea7(0x133)](_0x1d33e9){const _0x34ebcd=_0x37bea7;return napCatCore[_0x34ebcd(0x158)]['getMsgService']()[_0x34ebcd(0x133)](_0x1d33e9[_0x34ebcd(0x12e)],_0x1d33e9[_0x34ebcd(0x143)],_0x1d33e9[_0x34ebcd(0x12a)]);}static async[_0x37bea7(0x136)](_0x4804eb,_0x47765b,_0x3076a3){const _0x15a02e=_0x37bea7;return napCatCore['session'][_0x15a02e(0x14b)]()[_0x15a02e(0x11e)](_0x4804eb,_0x47765b,_0x3076a3,!![]);}static async[_0x37bea7(0x145)](){}static async[_0x37bea7(0x147)](_0x49207b,_0x491585){const _0x5cf218=_0x37bea7;await napCatCore[_0x5cf218(0x158)][_0x5cf218(0x14b)]()['recallMsg']({'chatType':_0x49207b[_0x5cf218(0x12e)],'peerUid':_0x49207b[_0x5cf218(0x143)]},_0x491585);}static async[_0x37bea7(0x127)](_0x10fc4c,_0x376d8f,_0x3f1e5c=!![],_0xf11b28=0x2710){const _0x1659cb=_0x37bea7,_0x1f5146={'vxJQt':function(_0x192091,_0xb224e){return _0x192091>_0xb224e;},'sONiv':_0x1659cb(0x126),'vkvss':function(_0x593ce8,_0x4da300){return _0x593ce8(_0x4da300);},'mMAHL':function(_0x834a5d,_0x354bba){return _0x834a5d===_0x354bba;},'szxMe':function(_0x2b9d66,_0x2c339a){return _0x2b9d66(_0x2c339a);},'tfKCU':function(_0xbeaf8b){return _0xbeaf8b();},'LiCUT':function(_0x5e9834,_0x5978a0,_0x1296fd){return _0x5e9834(_0x5978a0,_0x1296fd);},'RXgEi':function(_0x18c21e){return _0x18c21e();}},_0x193155=_0x10fc4c['peerUid'];let _0x484181=0x0;const _0x8e593d=async()=>{const _0x1aa56f=_0x1659cb;if(_0x1f5146[_0x1aa56f(0x131)](_0x484181,_0xf11b28))throw _0x1f5146[_0x1aa56f(0x14a)];const _0x40924d=sendMessagePool[_0x10fc4c['peerUid']];if(_0x40924d)return await _0x1f5146['vkvss'](sleep,0x1f4),_0x484181+=0x1f4,await _0x8e593d();else return;};return await _0x1f5146[_0x1659cb(0x13b)](_0x8e593d),new Promise((_0x2c3c9f,_0x28e0ec)=>{const _0x509aea=_0x1659cb;let _0x4da80b=![],_0x2f0b76=null;const _0x544cb4=_0x1f5146[_0x509aea(0x11b)](randomUUID);sendSuccessCBMap[_0x544cb4]=_0x5d5b0c=>{const _0x5e2149=_0x509aea;if(_0x1f5146[_0x5e2149(0x118)](_0x5d5b0c[_0x5e2149(0x121)],_0x2f0b76?.[_0x5e2149(0x121)])){if(_0x1f5146[_0x5e2149(0x118)](_0x5d5b0c[_0x5e2149(0x130)],0x2))return delete sendSuccessCBMap[_0x544cb4],_0x4da80b=!![],_0x1f5146[_0x5e2149(0x129)](_0x2c3c9f,_0x5d5b0c),!![];return![];}return![];},sendMessagePool[_0x193155]=async _0x2c0401=>{delete sendMessagePool[_0x193155],_0x2f0b76=_0x2c0401;},_0x1f5146['LiCUT'](setTimeout,()=>{const _0x4a48f7=_0x509aea;if(_0x4da80b)return;delete sendMessagePool[_0x193155],delete sendSuccessCBMap[_0x544cb4],_0x1f5146[_0x4a48f7(0x142)](_0x28e0ec,_0x1f5146[_0x4a48f7(0x14a)]);},_0xf11b28);const _0x43c02e=napCatCore['session'][_0x509aea(0x14b)]()[_0x509aea(0x127)]('0',_0x10fc4c,_0x376d8f,new Map());});}static async['forwardMsg'](_0x4bee1e,_0x2d5302,_0x3990d3){}static async['multiForwardMsg'](_0x461171,_0x10615a,_0x33f1ad){const _0x5968df=_0x37bea7,_0x283231={'AtuHy':function(_0x4ac101,_0x2df05f){return _0x4ac101!=_0x2df05f;},'cTtMz':_0x5968df(0x13e),'nraax':'转发消息超时','OtwKg':function(_0x2dcc16){return _0x2dcc16();}},_0xc697ac=_0x33f1ad[_0x5968df(0x141)](_0x1d8a3c=>{const _0x268e1b=_0x5968df;return{'msgId':_0x1d8a3c,'senderShowName':selfInfo[_0x268e1b(0x150)]};});return new Promise((_0x26f09c,_0x7590ab)=>{const _0x2d3f68=_0x5968df,_0x5053a6={'TJGYV':_0x283231[_0x2d3f68(0x11a)]};let _0x1576d6=![];const _0x59eff1=_0x41c704=>{const _0x39263c=_0x2d3f68,_0x319bbc=_0x41c704[_0x39263c(0x12d)][_0x39263c(0x11f)](_0x50c150=>_0x50c150['arkElement']);if(!_0x319bbc)return;const _0x2d98ce=JSON[_0x39263c(0x148)](_0x319bbc['arkElement'][_0x39263c(0x152)]);if(_0x283231[_0x39263c(0x125)](_0x2d98ce[_0x39263c(0x13a)],_0x283231[_0x39263c(0x155)]))return;_0x41c704[_0x39263c(0x143)]==_0x10615a[_0x39263c(0x143)]&&_0x41c704[_0x39263c(0x14d)]==selfInfo[_0x39263c(0x123)]&&(_0x1576d6=!![],_0x26f09c(_0x41c704));};sentMsgTasks[_0x2d3f68(0x157)](_0x283231[_0x2d3f68(0x11c)](randomUUID),_0x59eff1),setTimeout(()=>{const _0x52b299=_0x2d3f68;!_0x1576d6&&_0x7590ab(_0x5053a6[_0x52b299(0x146)]);},0x1388),napCatCore[_0x2d3f68(0x158)]['getMsgService']()[_0x2d3f68(0x144)](_0xc697ac,_0x461171,_0x10615a,[],new Map());});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/sign.js b/src/core.lib/src/apis/sign.js index f5824ef7..5329c934 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -var _0x2dd187=_0x23df;function _0x23df(_0x54f13f,_0x43c5d5){var _0x40d531=_0x40d5();return _0x23df=function(_0x23df0c,_0x28a7d0){_0x23df0c=_0x23df0c-0xab;var _0x380ded=_0x40d531[_0x23df0c];return _0x380ded;},_0x23df(_0x54f13f,_0x43c5d5);}function _0x40d5(){var _0x223839=['980736EbNgEh','3866828btnDXk','640qUPUZd','14286OYuEPW','url','905UmHutf','EGweF','978RQKQjC','application/json','hYpkC','then','POST','SYFTF','oRgHp','statusText','json','302928vhWMbB','riWkL','sign','1593390yINWZj','4370913QLOZtw','HnaWe','stringify'];_0x40d5=function(){return _0x223839;};return _0x40d5();}(function(_0x3a94da,_0x2e5ed1){var _0x3dd45d=_0x23df,_0x42a148=_0x3a94da();while(!![]){try{var _0x2351a2=parseInt(_0x3dd45d(0xbd))/0x1*(parseInt(_0x3dd45d(0xb8))/0x2)+parseInt(_0x3dd45d(0xb2))/0x3+-parseInt(_0x3dd45d(0xaf))/0x4+parseInt(_0x3dd45d(0xbb))/0x5*(-parseInt(_0x3dd45d(0xb9))/0x6)+parseInt(_0x3dd45d(0xb7))/0x7+-parseInt(_0x3dd45d(0xb6))/0x8+-parseInt(_0x3dd45d(0xb3))/0x9;if(_0x2351a2===_0x2e5ed1)break;else _0x42a148['push'](_0x42a148['shift']());}catch(_0x2ba18b){_0x42a148['push'](_0x42a148['shift']());}}}(_0x40d5,0x44bd0));import{logDebug}from'@/common/utils/log';export class MusicSign{['url'];constructor(_0x3ef1d2){var _0x2ebe58=_0x23df;this[_0x2ebe58(0xba)]=_0x3ef1d2;}[_0x2dd187(0xb1)](_0x53f155){var _0x29a9f0=_0x2dd187,_0x21a3fe={'ZhKSV':function(_0x2cd1bf,_0x26c2a6){return _0x2cd1bf(_0x26c2a6);},'SYFTF':function(_0x29a827,_0x34f428,_0x2168f5){return _0x29a827(_0x34f428,_0x2168f5);},'HnaWe':function(_0x1ada34,_0x3a28dc,_0x90a6b6){return _0x1ada34(_0x3a28dc,_0x90a6b6);},'riWkL':_0x29a9f0(0xc1),'hYpkC':_0x29a9f0(0xbe)};return new Promise((_0x48d233,_0x5d890d)=>{var _0x28a3f5=_0x29a9f0,_0x479756={'oRgHp':function(_0x46bf5e,_0x2994e7){return _0x21a3fe['ZhKSV'](_0x46bf5e,_0x2994e7);},'EGweF':function(_0x44554a,_0x2818df,_0x2434c0){var _0x57c358=_0x23df;return _0x21a3fe[_0x57c358(0xab)](_0x44554a,_0x2818df,_0x2434c0);}};_0x21a3fe[_0x28a3f5(0xb4)](fetch,this[_0x28a3f5(0xba)],{'method':_0x21a3fe[_0x28a3f5(0xb0)],'headers':{'Content-Type':_0x21a3fe[_0x28a3f5(0xbf)]},'body':JSON[_0x28a3f5(0xb5)](_0x53f155)})[_0x28a3f5(0xc0)](_0x38cf65=>{var _0x597793=_0x28a3f5;return!_0x38cf65['ok']&&_0x479756['oRgHp'](_0x5d890d,_0x38cf65[_0x597793(0xad)]),_0x38cf65[_0x597793(0xae)]();})[_0x28a3f5(0xc0)](_0x43cb5b=>{var _0x34141c=_0x28a3f5;_0x479756[_0x34141c(0xbc)](logDebug,'音乐消息生成成功',_0x43cb5b),_0x48d233(_0x43cb5b);})['catch'](_0x569566=>{var _0x3bdcdb=_0x28a3f5;_0x479756[_0x3bdcdb(0xac)](_0x5d890d,_0x569566);});});}} \ No newline at end of file +var _0x39d812=_0x38b0;function _0x38b0(_0x273eeb,_0x3c76d8){var _0x642bc=_0x642b();return _0x38b0=function(_0x38b022,_0x4fee8f){_0x38b022=_0x38b022-0x9f;var _0x2e14d5=_0x642bc[_0x38b022];return _0x2e14d5;},_0x38b0(_0x273eeb,_0x3c76d8);}(function(_0x36fd12,_0x81dd7b){var _0x5e72ef=_0x38b0,_0x4689c0=_0x36fd12();while(!![]){try{var _0xeb5cc5=parseInt(_0x5e72ef(0xac))/0x1*(-parseInt(_0x5e72ef(0xa2))/0x2)+-parseInt(_0x5e72ef(0xb4))/0x3*(parseInt(_0x5e72ef(0xaf))/0x4)+parseInt(_0x5e72ef(0xad))/0x5*(parseInt(_0x5e72ef(0xa7))/0x6)+-parseInt(_0x5e72ef(0xa9))/0x7*(-parseInt(_0x5e72ef(0xb2))/0x8)+parseInt(_0x5e72ef(0xb5))/0x9+-parseInt(_0x5e72ef(0xb8))/0xa*(parseInt(_0x5e72ef(0xb0))/0xb)+parseInt(_0x5e72ef(0xa1))/0xc*(parseInt(_0x5e72ef(0xb9))/0xd);if(_0xeb5cc5===_0x81dd7b)break;else _0x4689c0['push'](_0x4689c0['shift']());}catch(_0x2c5f9f){_0x4689c0['push'](_0x4689c0['shift']());}}}(_0x642b,0x53938));function _0x642b(){var _0x10278a=['2767914JEsGWM','CrdSG','KqDvZ','10XUHqNJ','81913Rncivk','url','sign','音乐消息生成成功','dRyjR','348QuluTJ','7852dNoVAy','application/json','POST','statusText','then','3540IJlDCr','catch','7VbMErF','mXkLg','UGPaf','59YGlVgn','3695xyxdvE','stringify','1223808LOXchn','4021743uvVczl','idtJS','5001552IfPyuc','COaxV','6mpnKhB'];_0x642b=function(){return _0x10278a;};return _0x642b();}import{logDebug}from'@/common/utils/log';export class MusicSign{[_0x39d812(0xba)];constructor(_0x13615c){this['url']=_0x13615c;}[_0x39d812(0xbb)](_0x276c2f){var _0x4dc5c9=_0x39d812,_0x5c8b7b={'UGPaf':function(_0x5d4c11,_0x272db8){return _0x5d4c11(_0x272db8);},'dRyjR':function(_0x10dbe6,_0x45f088,_0x2088d7){return _0x10dbe6(_0x45f088,_0x2088d7);},'CrdSG':_0x4dc5c9(0x9f),'idtJS':function(_0x34636e,_0x2ffd9f){return _0x34636e(_0x2ffd9f);},'yzMkd':_0x4dc5c9(0xa4),'COaxV':_0x4dc5c9(0xa3)};return new Promise((_0x22268d,_0x591232)=>{var _0x3048b0=_0x4dc5c9,_0x52b4bb={'tadgS':function(_0x50f133,_0x13b476,_0x2bac63){return _0x5c8b7b['dRyjR'](_0x50f133,_0x13b476,_0x2bac63);},'KqDvZ':_0x5c8b7b[_0x3048b0(0xb6)],'mXkLg':function(_0x228820,_0x51d19c){var _0x2500fc=_0x3048b0;return _0x5c8b7b[_0x2500fc(0xb1)](_0x228820,_0x51d19c);}};_0x5c8b7b[_0x3048b0(0xa0)](fetch,this[_0x3048b0(0xba)],{'method':_0x5c8b7b['yzMkd'],'headers':{'Content-Type':_0x5c8b7b[_0x3048b0(0xb3)]},'body':JSON[_0x3048b0(0xae)](_0x276c2f)})[_0x3048b0(0xa6)](_0x8b8ccb=>{var _0x4ee4c3=_0x3048b0;return!_0x8b8ccb['ok']&&_0x5c8b7b[_0x4ee4c3(0xab)](_0x591232,_0x8b8ccb[_0x4ee4c3(0xa5)]),_0x8b8ccb['json']();})['then'](_0x301bd0=>{var _0x4f1c48=_0x3048b0;_0x52b4bb['tadgS'](logDebug,_0x52b4bb[_0x4f1c48(0xb7)],_0x301bd0),_0x52b4bb[_0x4f1c48(0xaa)](_0x22268d,_0x301bd0);})[_0x3048b0(0xa8)](_0x3e9c1f=>{_0x591232(_0x3e9c1f);});});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/user.js b/src/core.lib/src/apis/user.js index 11849b6e..78e355cd 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x51104c=_0x27f5;(function(_0x44b6bc,_0x208413){const _0x49c21f=_0x27f5,_0x153a86=_0x44b6bc();while(!![]){try{const _0x32300a=parseInt(_0x49c21f(0x84))/0x1+parseInt(_0x49c21f(0x8c))/0x2*(-parseInt(_0x49c21f(0x7f))/0x3)+-parseInt(_0x49c21f(0x96))/0x4+-parseInt(_0x49c21f(0x93))/0x5+-parseInt(_0x49c21f(0x90))/0x6*(-parseInt(_0x49c21f(0x80))/0x7)+-parseInt(_0x49c21f(0x81))/0x8*(-parseInt(_0x49c21f(0x7c))/0x9)+-parseInt(_0x49c21f(0x9e))/0xa*(-parseInt(_0x49c21f(0xa9))/0xb);if(_0x32300a===_0x208413)break;else _0x153a86['push'](_0x153a86['shift']());}catch(_0x1bc7a9){_0x153a86['push'](_0x153a86['shift']());}}}(_0x3e7b,0xb3519));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{HttpGetWithCookies}from'../../../common/utils/request';function _0x3e7b(){const _0x5bfa85=['setStatus','getTipOffService','tRzeD','TyQtc','&clientkey=','getRobotService','setBuddyProfileLike','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','keyIndex','1062eoUTwC','result','getPSkey','3GayIje','225190oBSaru','49592UvZMbD','setHeader','getSelfInfo','863889XyAieH','response','uin','setQQAvatar','CreatTime','TBbtX','then','forEach','933886OSAzaJ','HoqZq','onLoginSuccess','fromEntries','6VsHlzc','like','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','2055685thmsyr','getTicketService','session','5357072UsDgLU','getProfileService','getPskey','YutcM','HQxce','getSkey','robotUinRanges','onProfileDetailInfoChanged','1471440XaZAml','getUserDetailInfo','Skey','dpcfy','hIMGK','now','getProfileLikeService','clientKey','rFdQd','delete','RdrBs','99OYnCSd','setSelfOnlineStatus'];_0x3e7b=function(){return _0x5bfa85;};return _0x3e7b();}const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x51104c(0x9d)]=_0x3575d2=>{const _0x874d62=_0x51104c;userInfoCache[_0x3575d2['uid']]=_0x3575d2,userDetailHandlers[_0x874d62(0x8b)](_0x1e44ed=>_0x1e44ed(_0x3575d2));},setTimeout(()=>{const _0x301dab=_0x51104c;napCatCore[_0x301dab(0x8e)](()=>{napCatCore['addListener'](profileListener);});},0x64);function _0x27f5(_0x5316e6,_0x31e557){const _0x3e7b02=_0x3e7b();return _0x27f5=function(_0x27f57a,_0x37b04c){_0x27f57a=_0x27f57a-0x76;let _0x28a887=_0x3e7b02[_0x27f57a];return _0x28a887;},_0x27f5(_0x5316e6,_0x31e557);}export class NTQQUserApi{static async[_0x51104c(0xaa)](_0x42fd10,_0x414f20,_0x2b8948){const _0x29587c=_0x51104c;return napCatCore[_0x29587c(0x95)]['getMsgService']()[_0x29587c(0xab)]({'status':_0x42fd10,'extStatus':_0x414f20,'batteryStatus':_0x2b8948});}static async[_0x51104c(0x91)](_0x26895f,_0x339b5b=0x1){const _0x298210=_0x51104c;return napCatCore[_0x298210(0x95)][_0x298210(0xa4)]()[_0x298210(0x79)]({'friendUid':_0x26895f,'sourceId':0x47,'doLikeCount':_0x339b5b,'doLikeTollCount':0x0});}static async[_0x51104c(0x87)](_0x2c10d7){const _0x5cabad=_0x51104c,_0x2a4cb5=napCatCore[_0x5cabad(0x95)][_0x5cabad(0x97)]()[_0x5cabad(0x82)](_0x2c10d7);return{'result':_0x2a4cb5?.[_0x5cabad(0x7d)],'errMsg':_0x2a4cb5?.['errMsg']};}static async[_0x51104c(0x83)](){}static async['getUserInfo'](_0x52394b){}static async[_0x51104c(0x9f)](_0x54aec6){const _0x5271b8=_0x51104c,_0x513353={'aaXIL':function(_0x3398a4,_0x53ad95){return _0x3398a4===_0x53ad95;},'HQxce':function(_0x4f389d,_0xddc33a){return _0x4f389d(_0xddc33a);},'jXOUi':function(_0x7ce25d,_0x3a54eb,_0x3a3ec0){return _0x7ce25d(_0x3a54eb,_0x3a3ec0);}},_0x1b615f=napCatCore['session'][_0x5271b8(0x97)]();return new Promise((_0xfe7ead,_0x2d7995)=>{const _0x46a5c8=_0x5271b8,_0x36351f={'tRzeD':function(_0x48e749,_0x29ff1f){const _0x5a634a=_0x27f5;return _0x513353[_0x5a634a(0x9a)](_0x48e749,_0x29ff1f);}},_0xf9e47f=randomUUID();let _0x1dbd8b=![];_0x513353['jXOUi'](setTimeout,()=>{const _0x202ea5=_0x27f5;!_0x1dbd8b&&_0x36351f[_0x202ea5(0xad)](_0x2d7995,'getUserDetailInfo\x20timeout');},0x1388),userDetailHandlers['set'](_0xf9e47f,_0x266ac3=>{const _0x21b7ae=_0x27f5;_0x513353['aaXIL'](_0x266ac3['uid'],_0x54aec6)&&(_0x1dbd8b=!![],userDetailHandlers[_0x21b7ae(0xa7)](_0xf9e47f),_0x513353[_0x21b7ae(0x9a)](_0xfe7ead,_0x266ac3));}),_0x1b615f['getUserDetailInfoWithBizInfo'](_0x54aec6,[0x0])[_0x46a5c8(0x8a)](_0x2068fa=>{});});}static async[_0x51104c(0x7e)](_0x368fff){const _0x2741eb=_0x51104c,_0x575eb7={'rFdQd':function(_0x53102b,_0x28ce9d){return _0x53102b===_0x28ce9d;}},_0x2d406d=await napCatCore[_0x2741eb(0x95)][_0x2741eb(0xac)]()[_0x2741eb(0x98)](_0x368fff,!![]);if(_0x575eb7[_0x2741eb(0xa6)](_0x2d406d[_0x2741eb(0x7d)],0x0)){const _0x31e484=_0x2d406d['domainPskeyMap'];return Object[_0x2741eb(0x8f)](_0x31e484);}return{};}static async['getRobotUinRange'](){const _0x23c7c1=_0x51104c,_0x501eab=await napCatCore[_0x23c7c1(0x95)][_0x23c7c1(0x78)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x501eab?.[_0x23c7c1(0x85)]?.[_0x23c7c1(0x9c)];}static async[_0x51104c(0x9b)](){const _0x44564c=_0x51104c,_0x2b7d26={'YutcM':function(_0x39be80,_0x2ba8c7){return _0x39be80==_0x2ba8c7;},'RdrBs':function(_0x5187a6,_0x3d238d){return _0x5187a6>_0x3d238d;},'TBbtX':function(_0xfc6257,_0x50e449){return _0xfc6257*_0x50e449;},'dpcfy':function(_0x1c618a,_0x1521f7){return _0x1c618a!==_0x1521f7;},'hIMGK':function(_0x3e777d,_0x4ed21b){return _0x3e777d+_0x4ed21b;},'TyQtc':function(_0x487ad6,_0x5940d0){return _0x487ad6(_0x5940d0);},'HoqZq':'skey'};try{if(_0x2b7d26[_0x44564c(0x99)](Credentials[_0x44564c(0x88)],0x0)||_0x2b7d26[_0x44564c(0xa8)](Date[_0x44564c(0xa3)]()-Credentials[_0x44564c(0x88)],_0x2b7d26[_0x44564c(0x89)](0x3e8,0xe10))){const _0x288784=await napCatCore[_0x44564c(0x95)][_0x44564c(0x94)]()['forceFetchClientKey']('');if(_0x2b7d26[_0x44564c(0xa1)](_0x288784['result'],0x0))return'';const _0x313ef4=_0x288784[_0x44564c(0xa5)],_0x27c059=_0x288784[_0x44564c(0x7b)],_0x4ddd1c=_0x2b7d26[_0x44564c(0xa2)](_0x2b7d26[_0x44564c(0xa2)](_0x2b7d26['hIMGK'](_0x44564c(0x92),selfInfo[_0x44564c(0x86)]),_0x44564c(0x77))+_0x313ef4,_0x44564c(0x7a))+_0x27c059,_0x8bf6=await _0x2b7d26[_0x44564c(0x76)](HttpGetWithCookies,_0x4ddd1c);let _0x301969=_0x8bf6['get'](_0x2b7d26[_0x44564c(0x8d)]);if(!_0x301969)return'';return Credentials[_0x44564c(0x88)]=Date['now'](),Credentials[_0x44564c(0xa0)]=_0x301969,_0x301969;}return Credentials[_0x44564c(0xa0)];}catch(_0x146e81){}return undefined;}} \ No newline at end of file +const _0x205a59=_0x2d09;(function(_0x2eefbd,_0x2d240a){const _0x35d5fd=_0x2d09,_0x53b884=_0x2eefbd();while(!![]){try{const _0x54ea52=-parseInt(_0x35d5fd(0x1b2))/0x1*(-parseInt(_0x35d5fd(0x1b3))/0x2)+parseInt(_0x35d5fd(0x19e))/0x3*(-parseInt(_0x35d5fd(0x1b0))/0x4)+-parseInt(_0x35d5fd(0x187))/0x5+-parseInt(_0x35d5fd(0x185))/0x6+parseInt(_0x35d5fd(0x18a))/0x7+-parseInt(_0x35d5fd(0x1b4))/0x8+parseInt(_0x35d5fd(0x1ad))/0x9;if(_0x54ea52===_0x2d240a)break;else _0x53b884['push'](_0x53b884['shift']());}catch(_0x551a54){_0x53b884['push'](_0x53b884['shift']());}}}(_0xab1d,0x2d9a3));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';function _0x2d09(_0x520335,_0x4d04c6){const _0xab1d00=_0xab1d();return _0x2d09=function(_0x2d0901,_0x415035){_0x2d0901=_0x2d0901-0x180;let _0x522c8e=_0xab1d00[_0x2d0901];return _0x522c8e;},_0x2d09(_0x520335,_0x4d04c6);}import{ProfileListener}from'@/core/listeners';function _0xab1d(){const _0x5b1477=['getUserDetailInfo','&clientkey=','session','addListener','setQQAvatar','5099832NusYNQ','getRobotService','forEach','1596DLOdJm','getUserDetailInfo\x20timeout','107ohUCjb','596OLRUnY','157408nRYaZZ','sqxWz','setBuddyProfileLike','Skey','getProfileService','uid','keyIndex','forceFetchClientKey','getMsgService','292326LeOAmk','getSelfInfo','1106570aZpnJX','pwoRJ','errMsg','1056160TFScwH','CreatTime','getUserInfo','getTicketService','getProfileLikeService','nhTpl','response','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','getSkey','fromEntries','robotUinRanges','uin','PaLeG','duWIZ','set','get','onProfileDetailInfoChanged','result','now','XJTcZ','2052yGKNUF','BjZrF','delete','onLoginSuccess','OGdEv','getRobotUinRange','like','setStatus','getPskey','setHeader'];_0xab1d=function(){return _0x5b1477;};return _0xab1d();}import{randomUUID}from'crypto';import{HttpGetWithCookies}from'../../../common/utils/request';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x205a59(0x19a)]=_0x199efb=>{const _0x1d0aa1=_0x205a59;userInfoCache[_0x199efb[_0x1d0aa1(0x181)]]=_0x199efb,userDetailHandlers[_0x1d0aa1(0x1af)](_0x174d9a=>_0x174d9a(_0x199efb));},setTimeout(()=>{const _0x393c2b=_0x205a59;napCatCore[_0x393c2b(0x1a1)](()=>{const _0x38ffdb=_0x393c2b;napCatCore[_0x38ffdb(0x1ab)](profileListener);});},0x64);export class NTQQUserApi{static async['setSelfOnlineStatus'](_0x3463d4,_0x2274e9,_0x3f2bec){const _0x41eacd=_0x205a59;return napCatCore[_0x41eacd(0x1aa)][_0x41eacd(0x184)]()[_0x41eacd(0x1a5)]({'status':_0x3463d4,'extStatus':_0x2274e9,'batteryStatus':_0x3f2bec});}static async[_0x205a59(0x1a4)](_0x251aec,_0x230253=0x1){const _0x57fa1a=_0x205a59;return napCatCore[_0x57fa1a(0x1aa)][_0x57fa1a(0x18e)]()[_0x57fa1a(0x1b6)]({'friendUid':_0x251aec,'sourceId':0x47,'doLikeCount':_0x230253,'doLikeTollCount':0x0});}static async[_0x205a59(0x1ac)](_0x119547){const _0x3f479a=_0x205a59,_0x4f20d9=napCatCore[_0x3f479a(0x1aa)][_0x3f479a(0x180)]()[_0x3f479a(0x1a7)](_0x119547);return{'result':_0x4f20d9?.['result'],'errMsg':_0x4f20d9?.[_0x3f479a(0x189)]};}static async[_0x205a59(0x186)](){}static async[_0x205a59(0x18c)](_0x49e6f6){}static async[_0x205a59(0x1a8)](_0x3dd111){const _0x1e5f41=_0x205a59,_0x2e36db={'cffOz':_0x1e5f41(0x1b1),'XJTcZ':function(_0x25ef00){return _0x25ef00();}},_0x9ad457=napCatCore[_0x1e5f41(0x1aa)][_0x1e5f41(0x180)]();return new Promise((_0x185da7,_0x58978c)=>{const _0x171702=_0x1e5f41,_0x4e3fbf=_0x2e36db[_0x171702(0x19d)](randomUUID);let _0x1bab87=![];setTimeout(()=>{!_0x1bab87&&_0x58978c(_0x2e36db['cffOz']);},0x1388),userDetailHandlers[_0x171702(0x198)](_0x4e3fbf,_0x355dd3=>{const _0xf58c29=_0x171702;_0x355dd3[_0xf58c29(0x181)]===_0x3dd111&&(_0x1bab87=!![],userDetailHandlers[_0xf58c29(0x1a0)](_0x4e3fbf),_0x185da7(_0x355dd3));}),_0x9ad457['getUserDetailInfoWithBizInfo'](_0x3dd111,[0x0])['then'](_0x117ff8=>{});});}static async['getPSkey'](_0x523a18){const _0x2299e7=_0x205a59,_0x31f964={'pwoRJ':function(_0x55712c,_0x242703){return _0x55712c===_0x242703;}},_0x271ea6=await napCatCore[_0x2299e7(0x1aa)]['getTipOffService']()[_0x2299e7(0x1a6)](_0x523a18,!![]);if(_0x31f964[_0x2299e7(0x188)](_0x271ea6[_0x2299e7(0x19b)],0x0)){const _0x4a137c=_0x271ea6['domainPskeyMap'];return Object[_0x2299e7(0x193)](_0x4a137c);}return{};}static async[_0x205a59(0x1a3)](){const _0x584c05=_0x205a59,_0x299b6e=await napCatCore[_0x584c05(0x1aa)][_0x584c05(0x1ae)]()[_0x584c05(0x1a3)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x299b6e?.[_0x584c05(0x190)]?.[_0x584c05(0x194)];}static async[_0x205a59(0x192)](){const _0x16df5b=_0x205a59,_0x386599={'duWIZ':function(_0x2f2383,_0x3b4508){return _0x2f2383==_0x3b4508;},'hFdhR':function(_0x21442a,_0x3c7e73){return _0x21442a>_0x3c7e73;},'USLDF':function(_0x595f71,_0x36ad79){return _0x595f71-_0x36ad79;},'LXuBV':function(_0x3c75ec,_0x4df7a0){return _0x3c75ec*_0x4df7a0;},'LgZsu':function(_0x13a05e,_0x51feb5){return _0x13a05e!==_0x51feb5;},'OGdEv':function(_0x3d152d,_0xb82944){return _0x3d152d+_0xb82944;},'BjZrF':function(_0x5d5f14,_0x7ca706){return _0x5d5f14+_0x7ca706;},'ABUCo':function(_0x5b1860,_0x1438e3){return _0x5b1860+_0x1438e3;},'nhTpl':_0x16df5b(0x1a9),'PaLeG':function(_0x439d3a,_0x36e428){return _0x439d3a(_0x36e428);},'sqxWz':'skey'};try{if(_0x386599[_0x16df5b(0x197)](Credentials[_0x16df5b(0x18b)],0x0)||_0x386599['hFdhR'](_0x386599['USLDF'](Date['now'](),Credentials[_0x16df5b(0x18b)]),_0x386599['LXuBV'](0x3e8,0xe10))){const _0x3164f7=await napCatCore[_0x16df5b(0x1aa)][_0x16df5b(0x18d)]()[_0x16df5b(0x183)]('');if(_0x386599['LgZsu'](_0x3164f7[_0x16df5b(0x19b)],0x0))return'';const _0x14e54d=_0x3164f7['clientKey'],_0x6108c1=_0x3164f7[_0x16df5b(0x182)],_0x48f4d8=_0x386599[_0x16df5b(0x1a2)](_0x386599['OGdEv'](_0x386599[_0x16df5b(0x19f)](_0x386599[_0x16df5b(0x19f)](_0x386599['ABUCo'](_0x16df5b(0x191),selfInfo[_0x16df5b(0x195)]),_0x386599[_0x16df5b(0x18f)]),_0x14e54d),'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex='),_0x6108c1),_0x29f314=await _0x386599[_0x16df5b(0x196)](HttpGetWithCookies,_0x48f4d8);let _0x16ec29=_0x29f314[_0x16df5b(0x199)](_0x386599[_0x16df5b(0x1b5)]);if(!_0x16ec29)return'';return Credentials['CreatTime']=Date[_0x16df5b(0x19c)](),Credentials[_0x16df5b(0x1b7)]=_0x16ec29,_0x16ec29;}return Credentials[_0x16df5b(0x1b7)];}catch(_0x543d8f){}return undefined;}} \ No newline at end of file diff --git a/src/core.lib/src/apis/webapi.js b/src/core.lib/src/apis/webapi.js index bfb12799..39ed5c02 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x54f164=_0x216f;(function(_0x174d63,_0x583747){const _0x4abd0f=_0x216f,_0xfb5296=_0x174d63();while(!![]){try{const _0xc20005=-parseInt(_0x4abd0f(0x132))/0x1+-parseInt(_0x4abd0f(0xe2))/0x2+parseInt(_0x4abd0f(0xdc))/0x3*(-parseInt(_0x4abd0f(0xec))/0x4)+-parseInt(_0x4abd0f(0xfd))/0x5*(-parseInt(_0x4abd0f(0xde))/0x6)+-parseInt(_0x4abd0f(0x115))/0x7+-parseInt(_0x4abd0f(0xdd))/0x8+-parseInt(_0x4abd0f(0xd0))/0x9*(-parseInt(_0x4abd0f(0x114))/0xa);if(_0xc20005===_0x583747)break;else _0xfb5296['push'](_0xfb5296['shift']());}catch(_0x59c7fe){_0xfb5296['push'](_0xfb5296['shift']());}}}(_0x4eea,0xc2e75));import{selfInfo}from'@/core/data';function _0x4eea(){const _0x5557a0=['&text=','POST','getPSkey','lGjbe','lwmfi','EKmIg','mxXdj','UROqc','httpDataJson','552285DvBWiW','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','yKzYo','uin','upkJN','10355157XJCSbU','CMJGN','cIMxU','qun.qq.com','oPbiD','DSYYm','&page_start=','json','aBuKz','charCodeAt','eKXhL','aVgUj','524739dccTVz','9923040QutojU','162YJMPuX','CWEJi','HEAD','errcode','362002dJHgdC','vVhIy','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','IKGzH','text','UQgYc','application/x-www-form-urlencoded','p_skey=','FggJK','16DexYNM','OnBpc','&qid=','yBWer',';\x20skey=','UJryM','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=',';\x20p_uin=o','hveEG','ZSdGf','pKbij','RriDn','OABZe','&sort=1&gc=','ppUKr','GET','Xsgwl','261750EpIHDn','LTHEw','getGrouptNotice','lZDrY','nPIaN','Sscez','mems','jioSA','MhKrF','Fvpgg','qid=','fNpiE','iFGuu','getGroupEssenceMsg','nVSda','DErKN','push','hOWZI','jDqhP',';\x20uin=o','CzzrG','lsJvi','tPIjk','20LmsgBv','1700671McdtOy','tzqKy','httpDataText','scwaP','Vyhcs','cPgdo','&bkn=','&page_limit=20','mUiuG','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','AXMWR','jBgWR','pICqQ','EBKXj','ceil','count','tJvOI','genBkn','setGroupNotice','BKXwn'];_0x4eea=function(){return _0x5557a0;};return _0x4eea();}import{NTQQUserApi}from'./user';function _0x216f(_0x58b6c9,_0x4863e0){const _0x4eeaf9=_0x4eea();return _0x216f=function(_0x216fae,_0x3deedf){_0x216fae=_0x216fae-0xcd;let _0x5dd45a=_0x4eeaf9[_0x216fae];return _0x5dd45a;},_0x216f(_0x58b6c9,_0x4863e0);}export class WebApi{static async[_0x54f164(0x10a)](_0x25bc65,_0x54a34d){const _0x4b1d27=_0x54f164,_0x5ce4f8={'OnBpc':_0x4b1d27(0xd3),'Xsgwl':function(_0x480760,_0x5b1567){return _0x480760+_0x5b1567;},'eKXhL':function(_0x4352f9,_0x37faa5){return _0x4352f9+_0x37faa5;},'ppUKr':_0x4b1d27(0xf0),'iFGuu':_0x4b1d27(0xf3),'tzqKy':function(_0xc1de8a,_0x58528c){return _0xc1de8a||_0x58528c;},'Qlalq':function(_0x4b6c7a,_0x54da7c){return _0x4b6c7a+_0x54da7c;},'xVyWL':function(_0x1de011,_0x461177){return _0x1de011+_0x461177;},'scwaP':function(_0x3000d8,_0xaf5dca){return _0x3000d8+_0xaf5dca;},'lZDrY':function(_0x264994,_0x14b17c){return _0x264994+_0x14b17c;},'tJvOI':_0x4b1d27(0xe5),'RriDn':'&group_code=','Sscez':_0x4b1d27(0xfb),'CzzrG':function(_0x5a5cdc,_0xc33f55){return _0x5a5cdc!==_0xc33f55;}},_0x509c87=(await NTQQUserApi[_0x4b1d27(0x12b)]([_0x5ce4f8['OnBpc']]))[_0x5ce4f8[_0x4b1d27(0xed)]],_0x2f3f41=await NTQQUserApi['getSkey'](),_0x1c49be=_0x5ce4f8['Xsgwl'](_0x5ce4f8[_0x4b1d27(0xfc)](_0x5ce4f8[_0x4b1d27(0xda)](_0x5ce4f8[_0x4b1d27(0xfc)](_0x4b1d27(0xea)+_0x509c87,_0x5ce4f8[_0x4b1d27(0xfa)]),_0x2f3f41),_0x5ce4f8[_0x4b1d27(0x109)])+selfInfo['uin']+_0x4b1d27(0x110),selfInfo[_0x4b1d27(0xce)]);if(_0x5ce4f8[_0x4b1d27(0x116)](!_0x2f3f41,!_0x509c87))return undefined;const _0x3a0137=WebApi[_0x4b1d27(0x126)](_0x2f3f41);let _0x5104f1=_0x5ce4f8['Qlalq'](_0x5ce4f8['xVyWL'](_0x5ce4f8[_0x4b1d27(0x118)](_0x5ce4f8[_0x4b1d27(0x100)](_0x5ce4f8[_0x4b1d27(0x125)],_0x3a0137),_0x5ce4f8[_0x4b1d27(0xf7)])+_0x25bc65+_0x4b1d27(0xd6),_0x54a34d),_0x4b1d27(0x11c)),_0x3086b9=await WebApi[_0x4b1d27(0x131)](_0x5104f1,_0x5ce4f8[_0x4b1d27(0x102)],'',_0x1c49be);if(_0x5ce4f8[_0x4b1d27(0x111)](_0x3086b9['retcode'],0x0))return undefined;return _0x3086b9;}static async['getGroupMembers'](_0x18adb0){const _0xf6b2b8=_0x54f164,_0x2e275f={'EKmIg':_0xf6b2b8(0xd3),'lwmfi':function(_0x125b0d,_0x4a0dd3){return _0x125b0d+_0x4a0dd3;},'sRZPC':function(_0x286613,_0x272218){return _0x286613+_0x272218;},'FggJK':_0xf6b2b8(0xea),'tyJgM':_0xf6b2b8(0xf3),'jioSA':function(_0x544c14,_0x194fc7){return _0x544c14<=_0x194fc7;},'nVSda':function(_0x4e8fbd,_0x5c9fed){return _0x4e8fbd+_0x5c9fed;},'MhKrF':function(_0x5b8058,_0x4bfb37){return _0x5b8058+_0x4bfb37;},'OABZe':function(_0x30b12e,_0x3ccd70){return _0x30b12e+_0x3ccd70;},'hOWZI':function(_0x30dac0,_0x4c3973){return _0x30dac0*_0x4c3973;},'ICNkh':'&end=','cFOfO':_0xf6b2b8(0xf9),'aVgUj':_0xf6b2b8(0x11b),'oPbiD':_0xf6b2b8(0x12a),'EaNUA':function(_0xa74037,_0x268b2b){return _0xa74037!==_0x268b2b;},'UROqc':function(_0x19282b,_0x4c19b3){return _0x19282b/_0x4c19b3;}},_0x2585ea=(await NTQQUserApi['getPSkey']([_0x2e275f[_0xf6b2b8(0x12e)]]))[_0x2e275f[_0xf6b2b8(0x12e)]],_0x1c70ab=await NTQQUserApi['getSkey'](),_0x4134d3=_0x2e275f['lwmfi'](_0x2e275f['sRZPC'](_0x2e275f[_0xf6b2b8(0x12d)](_0x2e275f[_0xf6b2b8(0xeb)],_0x2585ea)+_0xf6b2b8(0xf0)+_0x1c70ab,_0x2e275f['tyJgM']),selfInfo[_0xf6b2b8(0xce)]),_0x9c3dc8=new Array();if(!_0x1c70ab||!_0x2585ea)return _0x9c3dc8;const _0x27ce56=WebApi[_0xf6b2b8(0x126)](_0x1c70ab);let _0x1a9534=0x1;for(let _0x51486d=0x1;_0x2e275f[_0xf6b2b8(0x104)](_0x51486d,_0x1a9534);_0x51486d++){const _0x254692=await WebApi[_0xf6b2b8(0x131)](_0x2e275f['lwmfi'](_0x2e275f[_0xf6b2b8(0x10b)](_0x2e275f[_0xf6b2b8(0x105)](_0x2e275f[_0xf6b2b8(0xf8)]('https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=',_0x2e275f[_0xf6b2b8(0x10e)](_0x51486d-0x1,0x28)),_0x2e275f['ICNkh'])+_0x2e275f[_0xf6b2b8(0x10e)](_0x51486d,0x28),_0x2e275f['cFOfO'])+_0x18adb0+_0x2e275f[_0xf6b2b8(0xdb)],_0x27ce56),_0x2e275f[_0xf6b2b8(0xd4)],'',_0x4134d3);if(!_0x254692?.[_0xf6b2b8(0x124)]||_0x2e275f['EaNUA'](_0x254692?.[_0xf6b2b8(0xe1)],0x0)||!_0x254692[_0xf6b2b8(0x103)])break;_0x1a9534=Math[_0xf6b2b8(0x123)](_0x2e275f[_0xf6b2b8(0x130)](_0x254692[_0xf6b2b8(0x124)],0x28));for(const _0x15844b in _0x254692[_0xf6b2b8(0x103)]){_0x9c3dc8[_0xf6b2b8(0x10d)](_0x254692[_0xf6b2b8(0x103)][_0x15844b]);}}return _0x9c3dc8;}static async[_0x54f164(0x127)](_0x1e6aff,_0xf9b84c=''){const _0x2b78e5=_0x54f164,_0xd90918={'hveEG':_0x2b78e5(0xd3),'UJryM':function(_0x292b54,_0x26b9f1){return _0x292b54+_0x26b9f1;},'jBgWR':function(_0x55b8c9,_0x23f69b){return _0x55b8c9+_0x23f69b;},'UQgYc':'p_skey=','AXMWR':_0x2b78e5(0xf0),'BKXwn':';\x20p_uin=o','mUiuG':function(_0x419401,_0x203779){return _0x419401||_0x203779;},'vVhIy':function(_0x598469,_0x6f4060){return _0x598469+_0x6f4060;},'ZSdGf':_0x2b78e5(0x107),'LTHEw':_0x2b78e5(0x129),'upkJN':_0x2b78e5(0x133),'CWEJi':_0x2b78e5(0x11e)};let _0x388151=(await NTQQUserApi[_0x2b78e5(0x12b)]([_0xd90918[_0x2b78e5(0xf4)]]))[_0xd90918[_0x2b78e5(0xf4)]],_0x28a0fe=await NTQQUserApi['getSkey'](),_0x78511f=_0xd90918[_0x2b78e5(0xf1)](_0xd90918[_0x2b78e5(0x120)](_0xd90918[_0x2b78e5(0xf1)](_0xd90918[_0x2b78e5(0xe8)],_0x388151),_0xd90918[_0x2b78e5(0x11f)])+_0x28a0fe+_0xd90918[_0x2b78e5(0x128)],selfInfo['uin']),_0x201538=undefined;if(_0xd90918[_0x2b78e5(0x11d)](!_0x28a0fe,!_0x388151))return undefined;let _0x2080b8=WebApi[_0x2b78e5(0x126)](_0x28a0fe),_0x40c1ad=_0xd90918[_0x2b78e5(0xf1)](_0xd90918['jBgWR'](_0xd90918[_0x2b78e5(0xe3)](_0xd90918['jBgWR'](_0xd90918[_0x2b78e5(0xf5)],_0x1e6aff)+'&bkn='+_0x2080b8,_0xd90918[_0x2b78e5(0xfe)]),_0xf9b84c),_0xd90918[_0x2b78e5(0xcf)]),_0x523e2c=_0xd90918[_0x2b78e5(0xf1)](_0xd90918[_0x2b78e5(0xdf)],_0x2080b8);try{return _0x201538=await WebApi['httpDataJson'](_0x523e2c,'GET','',_0x78511f),_0x201538;}catch(_0x45f7ee){return undefined;}return undefined;}static async[_0x54f164(0xff)](_0x34b6ea){const _0x200919=_0x54f164,_0x375463={'CMJGN':_0x200919(0xd3),'lsJvi':function(_0x4c3ab7,_0x15df39){return _0x4c3ab7+_0x15df39;},'aBuKz':_0x200919(0xea),'DErKN':';\x20skey=','IKGzH':_0x200919(0xf3),'fNpiE':function(_0x5702ac,_0x1cda3d){return _0x5702ac||_0x1cda3d;},'Vyhcs':function(_0x421bd4,_0x3782ce){return _0x421bd4+_0x3782ce;},'pKbij':function(_0x41ce1a,_0x234d2d){return _0x41ce1a+_0x234d2d;},'Fvpgg':_0x200919(0xf2),'Ncked':_0x200919(0xee),'EBKXj':_0x200919(0xe4),'cIMxU':_0x200919(0xfb)};let _0x413e63=(await NTQQUserApi[_0x200919(0x12b)]([_0x375463[_0x200919(0xd1)]]))[_0x375463['CMJGN']],_0x2b440e=await NTQQUserApi['getSkey'](),_0xc5236e=_0x375463[_0x200919(0x112)](_0x375463[_0x200919(0x112)](_0x375463[_0x200919(0x112)](_0x375463[_0x200919(0x112)](_0x375463[_0x200919(0x112)](_0x375463[_0x200919(0xd8)],_0x413e63),_0x375463[_0x200919(0x10c)]),_0x2b440e),_0x375463[_0x200919(0xe6)]),selfInfo[_0x200919(0xce)]),_0x265797=undefined;if(_0x375463[_0x200919(0x108)](!_0x2b440e,!_0x413e63))return undefined;let _0xbe45c2=WebApi[_0x200919(0x126)](_0x2b440e),_0x41908a=_0x375463[_0x200919(0x119)](_0x375463['Vyhcs'](_0x375463[_0x200919(0xf6)](_0x375463[_0x200919(0x119)](_0x375463[_0x200919(0x106)],_0xbe45c2),_0x375463['Ncked']),_0x34b6ea),_0x375463[_0x200919(0x122)]);try{_0x265797=await WebApi['httpDataJson'](_0x41908a,_0x375463[_0x200919(0xd2)],'',_0xc5236e);if(_0x265797?.['ec']!==0x0)return undefined;return _0x265797;}catch(_0x108f7c){return undefined;}return undefined;}static async[_0x54f164(0x117)](_0x221b9d='',_0x408068=_0x54f164(0xfb),_0x46fb9f='',_0x4a473f=''){const _0x45afd1=_0x54f164,_0x2e9604={'pykOW':function(_0x49af4d,_0x2d14e0){return _0x49af4d===_0x2d14e0;},'itFEo':_0x45afd1(0xe0),'lGjbe':function(_0x840e30,_0x52e112,_0x4deeb3){return _0x840e30(_0x52e112,_0x4deeb3);},'jDqhP':_0x45afd1(0xe9),'JQEqs':function(_0x3c7d53,_0x30f4e9){return _0x3c7d53(_0x30f4e9);}};let _0x4a0dd1='';return new Promise(async(_0xd3403d,_0x2bc5df)=>{const _0x9b6f2d=_0x45afd1;try{let _0xa1f101=undefined;_0x408068===_0x9b6f2d(0xfb)||_0x2e9604['pykOW'](_0x408068,_0x2e9604['itFEo'])?_0xa1f101=await _0x2e9604[_0x9b6f2d(0x12c)](fetch,_0x221b9d,{'method':_0x408068,'headers':{'Content-Type':_0x2e9604[_0x9b6f2d(0x10f)],'Cookie':_0x4a473f}}):_0xa1f101=await fetch(_0x221b9d,{'method':_0x408068,'headers':{'Content-Type':_0x2e9604[_0x9b6f2d(0x10f)],'Cookie':_0x4a473f},'body':_0x46fb9f});if(_0xa1f101['ok'])_0x4a0dd1=await _0xa1f101[_0x9b6f2d(0xe7)]();else{}}catch(_0x5d3bfc){}_0x2e9604['JQEqs'](_0xd3403d,_0x4a0dd1);});}static async[_0x54f164(0x131)](_0x5b966a='',_0xd5cda1=_0x54f164(0xfb),_0x452248='',_0x37f370=''){const _0x362e8d=_0x54f164,_0x3d245b={'mxXdj':function(_0x52937d,_0x2e61a0){return _0x52937d===_0x2e61a0;},'uLXLv':_0x362e8d(0xfb),'DSYYm':function(_0x31db60,_0x59e33b){return _0x31db60===_0x59e33b;},'yKzYo':_0x362e8d(0xe0),'nPIaN':function(_0x4edd9c,_0x291b4f,_0x2d6f88){return _0x4edd9c(_0x291b4f,_0x2d6f88);},'yBWer':'application/x-www-form-urlencoded','cPgdo':function(_0x2b7330,_0x25ea6d){return _0x2b7330(_0x25ea6d);}};let _0x51924a=undefined;return new Promise(async(_0x50430c,_0x329ea3)=>{const _0xe3a69d=_0x362e8d;try{let _0x16c93f=undefined;_0x3d245b[_0xe3a69d(0x12f)](_0xd5cda1,_0x3d245b['uLXLv'])||_0x3d245b[_0xe3a69d(0xd5)](_0xd5cda1,_0x3d245b[_0xe3a69d(0xcd)])?_0x16c93f=await _0x3d245b[_0xe3a69d(0x101)](fetch,_0x5b966a,{'method':_0xd5cda1,'headers':{'Content-Type':_0xe3a69d(0xe9),'Cookie':_0x37f370}}):_0x16c93f=await _0x3d245b[_0xe3a69d(0x101)](fetch,_0x5b966a,{'method':_0xd5cda1,'headers':{'Content-Type':_0x3d245b[_0xe3a69d(0xef)],'Cookie':_0x37f370},'body':_0x452248});if(_0x16c93f['ok'])_0x51924a=await _0x16c93f[_0xe3a69d(0xd7)]();else{}}catch(_0x4a338a){}_0x3d245b[_0xe3a69d(0x11a)](_0x50430c,_0x51924a);});}static[_0x54f164(0x126)](_0x164c15){const _0x102ef9=_0x54f164,_0x112320={'uJjIF':function(_0x2bd088,_0x2f8cf1){return _0x2bd088||_0x2f8cf1;},'yoRin':function(_0x5418e1,_0x16147f){return _0x5418e1<_0x16147f;},'pICqQ':function(_0x283d5a,_0x281dee){return _0x283d5a+_0x281dee;},'tPIjk':function(_0x27324e,_0x3df1c5){return _0x27324e&_0x3df1c5;}};_0x164c15=_0x112320['uJjIF'](_0x164c15,'');let _0x1466b2=0x1505;for(let _0x12fd2a=0x0;_0x112320['yoRin'](_0x12fd2a,_0x164c15['length']);_0x12fd2a++){const _0xe42621=_0x164c15[_0x102ef9(0xd9)](_0x12fd2a);_0x1466b2=_0x112320[_0x102ef9(0x121)](_0x1466b2,_0x1466b2<<0x5)+_0xe42621;}return _0x112320[_0x102ef9(0x113)](_0x1466b2,0x7fffffff)['toString']();}} \ No newline at end of file +const _0x43b392=_0x2096;(function(_0x38a6ef,_0x465f01){const _0x1aac49=_0x2096,_0x10b969=_0x38a6ef();while(!![]){try{const _0x12c294=parseInt(_0x1aac49(0x233))/0x1*(-parseInt(_0x1aac49(0x205))/0x2)+-parseInt(_0x1aac49(0x1f4))/0x3+-parseInt(_0x1aac49(0x203))/0x4*(parseInt(_0x1aac49(0x230))/0x5)+parseInt(_0x1aac49(0x22f))/0x6+-parseInt(_0x1aac49(0x238))/0x7+-parseInt(_0x1aac49(0x1dd))/0x8+-parseInt(_0x1aac49(0x20b))/0x9*(-parseInt(_0x1aac49(0x21b))/0xa);if(_0x12c294===_0x465f01)break;else _0x10b969['push'](_0x10b969['shift']());}catch(_0xfc8d36){_0x10b969['push'](_0x10b969['shift']());}}}(_0x291e,0xbdbb4));function _0x2096(_0x37b6c6,_0x44ef96){const _0x291e03=_0x291e();return _0x2096=function(_0x2096e9,_0x345cb6){_0x2096e9=_0x2096e9-0x1d0;let _0x13197f=_0x291e03[_0x2096e9];return _0x13197f;},_0x2096(_0x37b6c6,_0x44ef96);}import{selfInfo}from'@/core/data';import{NTQQUserApi}from'./user';export class WebApi{static async[_0x43b392(0x20f)](_0x5bbbe5,_0x263d09){const _0x9e1b1e=_0x43b392,_0x2049fb={'PyzXn':'qun.qq.com','qXVZX':function(_0x5916ee,_0x59b0b8){return _0x5916ee+_0x59b0b8;},'BfUBu':function(_0xc9c709,_0x4dc0e5){return _0xc9c709+_0x4dc0e5;},'LZSrO':'p_skey=','mEwxo':_0x9e1b1e(0x213),'iVQLy':_0x9e1b1e(0x22c),'aOmeE':function(_0x2fc6c1,_0x3ee3d7){return _0x2fc6c1||_0x3ee3d7;},'fYrQi':function(_0x210828,_0x10bac8){return _0x210828+_0x10bac8;},'HRgRr':_0x9e1b1e(0x228),'EWdVP':'GET'},_0xc7dd82=(await NTQQUserApi[_0x9e1b1e(0x22a)]([_0x2049fb['PyzXn']]))[_0x2049fb[_0x9e1b1e(0x229)]],_0x49bb3a=await NTQQUserApi[_0x9e1b1e(0x1ea)](),_0x5bbcb9=_0x2049fb[_0x9e1b1e(0x1dc)](_0x2049fb[_0x9e1b1e(0x1dc)](_0x2049fb[_0x9e1b1e(0x1dc)](_0x2049fb['qXVZX'](_0x2049fb[_0x9e1b1e(0x1fc)](_0x2049fb[_0x9e1b1e(0x1d7)],_0xc7dd82)+_0x2049fb[_0x9e1b1e(0x20a)],_0x49bb3a)+_0x2049fb[_0x9e1b1e(0x1ec)],selfInfo[_0x9e1b1e(0x1ed)]),';\x20uin=o'),selfInfo[_0x9e1b1e(0x1ed)]);if(_0x2049fb[_0x9e1b1e(0x235)](!_0x49bb3a,!_0xc7dd82))return undefined;const _0x4ed5f9=WebApi[_0x9e1b1e(0x20d)](_0x49bb3a);let _0x44cf3e=_0x2049fb[_0x9e1b1e(0x1dc)](_0x2049fb[_0x9e1b1e(0x210)](_0x2049fb[_0x9e1b1e(0x210)](_0x2049fb['fYrQi'](_0x2049fb[_0x9e1b1e(0x1fc)](_0x9e1b1e(0x1da),_0x4ed5f9),_0x9e1b1e(0x23a)),_0x5bbbe5),_0x2049fb[_0x9e1b1e(0x239)]),_0x263d09)+_0x9e1b1e(0x1ff),_0x349ce8=await WebApi[_0x9e1b1e(0x22b)](_0x44cf3e,_0x2049fb[_0x9e1b1e(0x1d4)],'',_0x5bbcb9);if(_0x349ce8[_0x9e1b1e(0x204)]!==0x0)return undefined;return _0x349ce8;}static async[_0x43b392(0x220)](_0x5a8655){const _0x242ff4=_0x43b392,_0x4541ea={'Tryfe':_0x242ff4(0x219),'nzNBu':function(_0x6a3f33,_0x5d824b){return _0x6a3f33+_0x5d824b;},'eXQwR':function(_0x10e8f7,_0x9f5d88){return _0x10e8f7+_0x9f5d88;},'mCFGY':_0x242ff4(0x206),'CigOm':_0x242ff4(0x22c),'MJUys':function(_0x10c4f8,_0x19bfca){return _0x10c4f8+_0x19bfca;},'xdbyx':_0x242ff4(0x1e3),'PiAJF':_0x242ff4(0x1db),'ZFPJY':_0x242ff4(0x1f3),'awnnj':function(_0x2603f3,_0x59e9d5){return _0x2603f3+_0x59e9d5;},'aVghG':function(_0x5cca78,_0x337124){return _0x5cca78+_0x337124;},'OgqkL':function(_0x1d13ff,_0x311e9c){return _0x1d13ff+_0x311e9c;},'VGFSB':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','scndk':function(_0x3ac969,_0x325384){return _0x3ac969*_0x325384;},'pUlAC':function(_0x13d247,_0x481dba){return _0x13d247*_0x481dba;},'hzdVC':_0x242ff4(0x226),'ANByV':function(_0x58d6cc,_0x156024){return _0x58d6cc<=_0x156024;},'yQKfn':function(_0x3c53e1,_0x346573){return _0x3c53e1!==_0x346573;}},_0xf0d78e=(await NTQQUserApi[_0x242ff4(0x22a)]([_0x4541ea[_0x242ff4(0x202)]]))[_0x4541ea[_0x242ff4(0x202)]],_0x9bca9e=await NTQQUserApi[_0x242ff4(0x1ea)](),_0x1dd4cb=_0x4541ea[_0x242ff4(0x215)](_0x4541ea[_0x242ff4(0x1fb)](_0x4541ea[_0x242ff4(0x1e1)]+_0xf0d78e,_0x242ff4(0x213)),_0x9bca9e)+_0x4541ea[_0x242ff4(0x20c)]+selfInfo[_0x242ff4(0x1ed)],_0x261e9e=new Array();if(!_0x9bca9e||!_0xf0d78e)return _0x261e9e;const _0x4b2b86=WebApi[_0x242ff4(0x20d)](_0x9bca9e);let _0x45bcd1=[],_0x35e882=await WebApi[_0x242ff4(0x22b)](_0x4541ea[_0x242ff4(0x1fb)](_0x4541ea[_0x242ff4(0x221)](_0x4541ea[_0x242ff4(0x207)]+_0x5a8655,_0x4541ea[_0x242ff4(0x1d9)]),_0x4b2b86),_0x4541ea[_0x242ff4(0x1d0)],'',_0x1dd4cb);if(!_0x35e882?.[_0x242ff4(0x23d)]||_0x35e882?.[_0x242ff4(0x212)]!==0x0||!_0x35e882?.[_0x242ff4(0x234)])return[];else for(let _0x1d16ac in _0x35e882[_0x242ff4(0x234)]){_0x261e9e[_0x242ff4(0x23c)](_0x35e882[_0x242ff4(0x234)][_0x1d16ac]);}let _0x210e10=Math[_0x242ff4(0x21a)](_0x35e882[_0x242ff4(0x23d)]/0x28);for(let _0x50ae99=0x2;_0x50ae99<=_0x210e10;_0x50ae99++){let _0x30146f=WebApi[_0x242ff4(0x22b)](_0x4541ea['awnnj'](_0x4541ea[_0x242ff4(0x209)](_0x4541ea[_0x242ff4(0x1f2)](_0x4541ea['eXQwR'](_0x4541ea['nzNBu'](_0x4541ea[_0x242ff4(0x209)](_0x4541ea[_0x242ff4(0x209)](_0x4541ea[_0x242ff4(0x236)],_0x4541ea[_0x242ff4(0x23e)](_0x50ae99-0x1,0x28)),_0x242ff4(0x1f8)),_0x4541ea['pUlAC'](_0x50ae99,0x28)),_0x4541ea[_0x242ff4(0x222)]),_0x5a8655),_0x4541ea[_0x242ff4(0x1d9)]),_0x4b2b86),_0x4541ea['ZFPJY'],'',_0x1dd4cb);_0x45bcd1[_0x242ff4(0x23c)](_0x30146f);}for(let _0x3a32de=0x1;_0x4541ea[_0x242ff4(0x1df)](_0x3a32de,_0x210e10);_0x3a32de++){let _0x4bf8f9=await _0x45bcd1[_0x3a32de];if(!_0x4bf8f9?.[_0x242ff4(0x23d)]||_0x4541ea['yQKfn'](_0x4bf8f9?.[_0x242ff4(0x212)],0x0)||!_0x4bf8f9?.[_0x242ff4(0x234)])continue;for(let _0x18d260 in _0x4bf8f9[_0x242ff4(0x234)]){_0x261e9e[_0x242ff4(0x23c)](_0x4bf8f9[_0x242ff4(0x234)][_0x18d260]);}}return _0x261e9e;}static async['setGroupNotice'](_0x20e489,_0x199ea4=''){const _0x2c9b98=_0x43b392,_0x4a23ff={'LzZBE':_0x2c9b98(0x219),'dKeNd':function(_0x4c8224,_0x1416b8){return _0x4c8224+_0x1416b8;},'RSMOH':function(_0x2bf33a,_0x3b8cd7){return _0x2bf33a+_0x3b8cd7;},'dorFP':function(_0x1d3dd9,_0x493d4a){return _0x1d3dd9+_0x493d4a;},'rpWMe':_0x2c9b98(0x206),'XrYzX':_0x2c9b98(0x213),'yBsLI':_0x2c9b98(0x22c),'MKsIH':function(_0xde2154,_0x33e0d8){return _0xde2154||_0x33e0d8;},'qquPl':function(_0x464592,_0x382705){return _0x464592+_0x382705;},'nsugd':function(_0x21d77c,_0x494ba8){return _0x21d77c+_0x494ba8;},'RsKCn':function(_0x253475,_0x571a07){return _0x253475+_0x571a07;},'SVZsF':_0x2c9b98(0x21f),'nekyT':_0x2c9b98(0x1f6),'DyLjy':function(_0x5733e1,_0x16e2cc){return _0x5733e1+_0x16e2cc;},'qEcwv':_0x2c9b98(0x211),'dxcyK':_0x2c9b98(0x232)};let _0x1cc215=(await NTQQUserApi['getPSkey']([_0x4a23ff[_0x2c9b98(0x1d1)]]))['qun.qq.com'],_0x4806fc=await NTQQUserApi[_0x2c9b98(0x1ea)](),_0x2d7c8e=_0x4a23ff[_0x2c9b98(0x225)](_0x4a23ff[_0x2c9b98(0x1d3)](_0x4a23ff['dorFP'](_0x4a23ff[_0x2c9b98(0x1d3)](_0x4a23ff['rpWMe'],_0x1cc215)+_0x4a23ff[_0x2c9b98(0x1ee)],_0x4806fc),_0x4a23ff['yBsLI']),selfInfo['uin']),_0x33746c=undefined;if(_0x4a23ff['MKsIH'](!_0x4806fc,!_0x1cc215))return undefined;let _0x284134=WebApi[_0x2c9b98(0x20d)](_0x4806fc),_0x540b48=_0x4a23ff[_0x2c9b98(0x1d3)](_0x4a23ff[_0x2c9b98(0x217)](_0x4a23ff['nsugd'](_0x4a23ff[_0x2c9b98(0x22d)](_0x4a23ff[_0x2c9b98(0x22e)](_0x4a23ff['dKeNd'](_0x4a23ff[_0x2c9b98(0x1e2)],_0x20e489),_0x2c9b98(0x1db)),_0x284134),_0x4a23ff[_0x2c9b98(0x200)]),_0x199ea4),_0x2c9b98(0x1e9)),_0x248514=_0x4a23ff['DyLjy'](_0x4a23ff[_0x2c9b98(0x1f1)],_0x284134);try{return _0x33746c=await WebApi[_0x2c9b98(0x22b)](_0x248514,_0x4a23ff[_0x2c9b98(0x21c)],'',_0x2d7c8e),_0x33746c;}catch(_0x54ee97){return undefined;}return undefined;}static async['getGrouptNotice'](_0x23324c){const _0x4b3ddc=_0x43b392,_0x3be045={'YFGML':'qun.qq.com','AIliG':function(_0x4f6298,_0x3c4582){return _0x4f6298+_0x3c4582;},'trVnA':function(_0xfe23ee,_0x13c7f9){return _0xfe23ee+_0x13c7f9;},'aVtnM':function(_0x214739,_0xd97e1e){return _0x214739+_0xd97e1e;},'KebNU':';\x20skey=','xUPsN':_0x4b3ddc(0x22c),'oVoIg':function(_0x598deb,_0x42659c){return _0x598deb||_0x42659c;},'MfgwC':function(_0x17421c,_0x2e0c29){return _0x17421c+_0x2e0c29;},'gDrjc':'&qid=','XBMLb':'GET','OVEgY':function(_0x93bfe4,_0xcea070){return _0x93bfe4!==_0xcea070;}};let _0x5f0788=(await NTQQUserApi[_0x4b3ddc(0x22a)]([_0x3be045['YFGML']]))[_0x3be045[_0x4b3ddc(0x214)]],_0x110180=await NTQQUserApi[_0x4b3ddc(0x1ea)](),_0x5432d4=_0x3be045[_0x4b3ddc(0x1eb)](_0x3be045[_0x4b3ddc(0x1e7)](_0x3be045[_0x4b3ddc(0x1f9)](_0x3be045['AIliG'](_0x4b3ddc(0x206)+_0x5f0788,_0x3be045[_0x4b3ddc(0x1f7)]),_0x110180),_0x3be045[_0x4b3ddc(0x1e4)]),selfInfo['uin']),_0x112ab2=undefined;if(_0x3be045[_0x4b3ddc(0x237)](!_0x110180,!_0x5f0788))return undefined;let _0x2464cc=WebApi['genBkn'](_0x110180),_0x1710ba=_0x3be045[_0x4b3ddc(0x1eb)](_0x3be045[_0x4b3ddc(0x20e)](_0x3be045['AIliG'](_0x4b3ddc(0x208)+_0x2464cc,_0x3be045['gDrjc']),_0x23324c),_0x4b3ddc(0x1d2));try{_0x112ab2=await WebApi['httpDataJson'](_0x1710ba,_0x3be045[_0x4b3ddc(0x227)],'',_0x5432d4);if(_0x3be045[_0x4b3ddc(0x1e6)](_0x112ab2?.['ec'],0x0))return undefined;return _0x112ab2;}catch(_0x23d757){return undefined;}return undefined;}static async[_0x43b392(0x1e8)](_0x5a9796='',_0xedf6ec='GET',_0x10e36f='',_0x3ce3b9=''){const _0x3f4d8b=_0x43b392,_0xdcf14a={'HULAP':function(_0x11daf2,_0x10b993){return _0x11daf2===_0x10b993;},'WSmqE':_0x3f4d8b(0x232),'EpKfa':_0x3f4d8b(0x1e5),'bBtOq':function(_0x2a9cdd,_0x47f234,_0x1cf357){return _0x2a9cdd(_0x47f234,_0x1cf357);},'IrBCf':function(_0x184d89,_0xf9ae7b,_0x238d65){return _0x184d89(_0xf9ae7b,_0x238d65);},'hianq':_0x3f4d8b(0x218),'mZcgb':function(_0x42875c,_0x470ae2){return _0x42875c(_0x470ae2);}};let _0x48244c='';return new Promise(async(_0x2ec188,_0xd7555d)=>{const _0x42c8d3=_0x3f4d8b;try{let _0x5f315b=undefined;_0xdcf14a['HULAP'](_0xedf6ec,_0xdcf14a[_0x42c8d3(0x1d8)])||_0xedf6ec===_0xdcf14a[_0x42c8d3(0x1d5)]?_0x5f315b=await _0xdcf14a[_0x42c8d3(0x1f5)](fetch,_0x5a9796,{'method':_0xedf6ec,'headers':{'Content-Type':'application/x-www-form-urlencoded','Cookie':_0x3ce3b9}}):_0x5f315b=await _0xdcf14a[_0x42c8d3(0x1e0)](fetch,_0x5a9796,{'method':_0xedf6ec,'headers':{'Content-Type':_0xdcf14a[_0x42c8d3(0x1d6)],'Cookie':_0x3ce3b9},'body':_0x10e36f});if(_0x5f315b['ok'])_0x48244c=await _0x5f315b[_0x42c8d3(0x1f0)]();else{}}catch(_0x1439ed){}_0xdcf14a[_0x42c8d3(0x1ef)](_0x2ec188,_0x48244c);});}static async['httpDataJson'](_0x22cbfc='',_0x19e002=_0x43b392(0x232),_0x225150='',_0xf21b35=''){const _0x48ec38=_0x43b392,_0x23f450={'jdFVg':function(_0x3d7783,_0xde2d6b){return _0x3d7783===_0xde2d6b;},'osZrw':_0x48ec38(0x232),'VxEhW':function(_0xbfdfdf,_0x2cbdf3){return _0xbfdfdf===_0x2cbdf3;},'PtYyR':_0x48ec38(0x1e5),'Gfdud':_0x48ec38(0x218),'yOMep':function(_0x5479ab,_0x1274f5,_0x27c4f3){return _0x5479ab(_0x1274f5,_0x27c4f3);},'HAjfR':function(_0x5d5e87,_0x5d04df){return _0x5d5e87(_0x5d04df);}};let _0x483a6c=undefined;return new Promise(async(_0x2a11af,_0x3aa98b)=>{const _0x4ea915=_0x48ec38;try{let _0xdf0c67=undefined;_0x23f450[_0x4ea915(0x21d)](_0x19e002,_0x23f450[_0x4ea915(0x1fe)])||_0x23f450[_0x4ea915(0x224)](_0x19e002,_0x23f450['PtYyR'])?_0xdf0c67=await fetch(_0x22cbfc,{'method':_0x19e002,'headers':{'Content-Type':_0x23f450[_0x4ea915(0x1fa)],'Cookie':_0xf21b35}}):_0xdf0c67=await _0x23f450[_0x4ea915(0x1fd)](fetch,_0x22cbfc,{'method':_0x19e002,'headers':{'Content-Type':_0x23f450['Gfdud'],'Cookie':_0xf21b35},'body':_0x225150});if(_0xdf0c67['ok'])_0x483a6c=await _0xdf0c67[_0x4ea915(0x23b)]();else{}}catch(_0x5364f9){}_0x23f450[_0x4ea915(0x1de)](_0x2a11af,_0x483a6c);});}static['genBkn'](_0x3ea7be){const _0x57029e=_0x43b392,_0x5cc3f7={'dCima':function(_0x1f048c,_0x24c84e){return _0x1f048c||_0x24c84e;},'lUydW':function(_0x2bb667,_0x2624ab){return _0x2bb667<_0x2624ab;},'tcEvm':function(_0x82427d,_0x23eb9d){return _0x82427d+_0x23eb9d;},'fYqik':function(_0xdb52cc,_0x1d159c){return _0xdb52cc<<_0x1d159c;}};_0x3ea7be=_0x5cc3f7[_0x57029e(0x216)](_0x3ea7be,'');let _0x3af802=0x1505;for(let _0x380f57=0x0;_0x5cc3f7['lUydW'](_0x380f57,_0x3ea7be[_0x57029e(0x223)]);_0x380f57++){const _0x592a79=_0x3ea7be['charCodeAt'](_0x380f57);_0x3af802=_0x5cc3f7[_0x57029e(0x21e)](_0x3af802+_0x5cc3f7[_0x57029e(0x201)](_0x3af802,0x5),_0x592a79);}return(_0x3af802&0x7fffffff)[_0x57029e(0x231)]();}}function _0x291e(){const _0x577169=['dCima','qquPl','application/x-www-form-urlencoded','qun.qq.com','ceil','10iCDgkG','dxcyK','jdFVg','tcEvm','qid=','getGroupMembers','MJUys','hzdVC','length','VxEhW','dKeNd','&sort=1&gc=','XBMLb','&page_start=','PyzXn','getPSkey','httpDataJson',';\x20p_uin=o','dorFP','RsKCn','7573380zBLEpy','2216090KVoZDx','toString','GET','114031ZLixzh','mems','aOmeE','VGFSB','oVoIg','383922kQUVAV','HRgRr','&group_code=','json','push','count','scndk','ZFPJY','LzZBE','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','RSMOH','EWdVP','EpKfa','hianq','LZSrO','WSmqE','PiAJF','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','&bkn=','qXVZX','7618592eyHCfS','HAjfR','ANByV','IrBCf','mCFGY','SVZsF','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','xUPsN','HEAD','OVEgY','trVnA','httpDataText','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','getSkey','AIliG','iVQLy','uin','XrYzX','mZcgb','text','qEcwv','OgqkL','POST','2701632jxTubM','bBtOq','&text=','KebNU','&end=','aVtnM','Gfdud','eXQwR','BfUBu','yOMep','osZrw','&page_limit=20','nekyT','fYqik','Tryfe','12hHJGmT','retcode','2ljGcMk','p_skey=','xdbyx','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','aVghG','mEwxo','25796781IClETg','CigOm','genBkn','MfgwC','getGroupEssenceMsg','fYrQi','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','errcode',';\x20skey=','YFGML','nzNBu'];_0x291e=function(){return _0x577169;};return _0x291e();} \ No newline at end of file diff --git a/src/core.lib/src/apis/window.js b/src/core.lib/src/apis/window.js index c05cdbf1..3627951c 100644 --- a/src/core.lib/src/apis/window.js +++ b/src/core.lib/src/apis/window.js @@ -1 +1 @@ -var _0x1ce3a8=_0xe104;function _0x5cdf(){var _0x3084fa=['#/group-notify-filter','220407XkwnSM','2fLePHr','386276HmvZDA','GroupEssenceWindow','13420TPToEL','1321680svlCgY','438nxuJuC','355353tFhRdR','1187732QzUjlu','6642648VGxdpS','GroupNotifyFilterWindow','GroupHomeWorkWindow'];_0x5cdf=function(){return _0x3084fa;};return _0x5cdf();}(function(_0x3115f9,_0x3b4e4e){var _0x2615eb=_0xe104,_0x1e11d4=_0x3115f9();while(!![]){try{var _0x23deea=-parseInt(_0x2615eb(0xce))/0x1+-parseInt(_0x2615eb(0xcf))/0x2*(parseInt(_0x2615eb(0xc8))/0x3)+-parseInt(_0x2615eb(0xc3))/0x4+-parseInt(_0x2615eb(0xc5))/0x5*(parseInt(_0x2615eb(0xc7))/0x6)+parseInt(_0x2615eb(0xc9))/0x7+-parseInt(_0x2615eb(0xc6))/0x8+parseInt(_0x2615eb(0xca))/0x9;if(_0x23deea===_0x3b4e4e)break;else _0x1e11d4['push'](_0x1e11d4['shift']());}catch(_0x58a2fb){_0x1e11d4['push'](_0x1e11d4['shift']());}}}(_0x5cdf,0x1b24b));function _0xe104(_0x52a202,_0x1085ee){var _0x5cdf9c=_0x5cdf();return _0xe104=function(_0xe104fe,_0x15d69b){_0xe104fe=_0xe104fe-0xc3;var _0x29dfda=_0x5cdf9c[_0xe104fe];return _0x29dfda;},_0xe104(_0x52a202,_0x1085ee);}export class NTQQWindows{static [_0x1ce3a8(0xcc)]={'windowName':_0x1ce3a8(0xcc),'windowUrlHash':'#/group-home-work'};static [_0x1ce3a8(0xcb)]={'windowName':_0x1ce3a8(0xcb),'windowUrlHash':_0x1ce3a8(0xcd)};static [_0x1ce3a8(0xc4)]={'windowName':_0x1ce3a8(0xc4),'windowUrlHash':'#/group-essence'};}export class NTQQWindowApi{} \ No newline at end of file +function _0x3f4f(_0xcf3413,_0x330aec){var _0x282f46=_0x282f();return _0x3f4f=function(_0x3f4f91,_0x23b810){_0x3f4f91=_0x3f4f91-0x1e7;var _0x341471=_0x282f46[_0x3f4f91];return _0x341471;},_0x3f4f(_0xcf3413,_0x330aec);}var _0x38f7e9=_0x3f4f;function _0x282f(){var _0x5616b4=['2163007sfWdlf','4722700apBgRN','2112buOIGQ','GroupEssenceWindow','#/group-essence','3678ZKrGLj','GroupHomeWorkWindow','4nRgFwN','13266LAYlyX','44qboeHp','4135kcybhQ','2696571MrMTVn','16898xMsOQT','GroupNotifyFilterWindow','#/group-notify-filter','14686jerLgz','#/group-home-work'];_0x282f=function(){return _0x5616b4;};return _0x282f();}(function(_0x89292a,_0xa5cb23){var _0x4d0b65=_0x3f4f,_0x51b029=_0x89292a();while(!![]){try{var _0xba4c66=parseInt(_0x4d0b65(0x1ed))/0x1*(parseInt(_0x4d0b65(0x1f2))/0x2)+parseInt(_0x4d0b65(0x1ee))/0x3*(-parseInt(_0x4d0b65(0x1ef))/0x4)+parseInt(_0x4d0b65(0x1f0))/0x5*(-parseInt(_0x4d0b65(0x1eb))/0x6)+-parseInt(_0x4d0b65(0x1f5))/0x7*(-parseInt(_0x4d0b65(0x1e8))/0x8)+-parseInt(_0x4d0b65(0x1f1))/0x9+parseInt(_0x4d0b65(0x1e7))/0xa+parseInt(_0x4d0b65(0x1f7))/0xb;if(_0xba4c66===_0xa5cb23)break;else _0x51b029['push'](_0x51b029['shift']());}catch(_0x1f8d7b){_0x51b029['push'](_0x51b029['shift']());}}}(_0x282f,0x61fd3));export class NTQQWindows{static ['GroupHomeWorkWindow']={'windowName':_0x38f7e9(0x1ec),'windowUrlHash':_0x38f7e9(0x1f6)};static [_0x38f7e9(0x1f3)]={'windowName':_0x38f7e9(0x1f3),'windowUrlHash':_0x38f7e9(0x1f4)};static [_0x38f7e9(0x1e9)]={'windowName':_0x38f7e9(0x1e9),'windowUrlHash':_0x38f7e9(0x1ea)};}export class NTQQWindowApi{} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index ebc5b001..0f208a77 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x59bad7=_0x1924;(function(_0x20842a,_0xe19870){const _0x5cefc6=_0x1924,_0x52280a=_0x20842a();while(!![]){try{const _0x36a1f2=-parseInt(_0x5cefc6(0x129))/0x1+parseInt(_0x5cefc6(0x18e))/0x2*(parseInt(_0x5cefc6(0x148))/0x3)+parseInt(_0x5cefc6(0x149))/0x4+-parseInt(_0x5cefc6(0x17f))/0x5*(-parseInt(_0x5cefc6(0x117))/0x6)+parseInt(_0x5cefc6(0x17d))/0x7*(parseInt(_0x5cefc6(0x198))/0x8)+-parseInt(_0x5cefc6(0x164))/0x9+-parseInt(_0x5cefc6(0x19f))/0xa;if(_0x36a1f2===_0xe19870)break;else _0x52280a['push'](_0x52280a['shift']());}catch(_0x313f94){_0x52280a['push'](_0x52280a['shift']());}}}(_0x5279,0x29fff));import _0x2c75d4 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x4b3ea6 from'node:path';function _0x5279(){const _0x43d514=['本账号数据/缓存目录:','MsgListener','set','dataPathGlobal','loginService','constructor','OoQAN','quickLogin','2416IoJRtg','from','buddyList','VQtnJ','engine','jurxD','aoIUT','2792510VUiFfj','uid','proxyHandler','onQRCodeLoginSucceed','没有可快速登录的QQ号','initConfig','IZhng','140022013','登录失败','NodeIKernelProfileListener','qrcodeUrl','name','获取二维码登录超时','vLsKd','Ndmxa','loginListener','jfMlM','jMVMC','read','ycpKo','KdFyJ','mkdirSync','addKernelProfileListener','assign','LocalLoginInfoList','onSessionInitComplete','WOUdO','result','msgId','758070YBucPC','uin','consoleLog','NodeIDependsAdapter','createMemberListScene','init\x20failed\x20','onMemberListChange','then','ProfileListener','sceneId','undefined','iIJMG','ohGjC','getMsgService','-v2.db','fkviQ','initWithDeskTopConfig','quickLoginWithUin','205785YqHuXE','base64','groupMemberList_MainWindow','uORQt','getQRCodePicture','xZAaL','groupCode','HIWOb','kDgJx','onLoginFailed','qPVXA','catch','快速登录失败\x20','find','startNT','push','./NapCat/data','FhJRb','onLoginSuccessFuncList','getBuddyList','getGroupService','140022008','loginErrorInfo','NodeIKernelLoginService','addKernelLoginListener','md5','qrLogin','init','digest','util','getLoginList','193089PcjcSG','115304ZuxQib','_GW_B','onQRCodeGetPicture','NodeQQNTWrapperUtil','tBcbr','NodeIGlobalAdapter','initSession\x20failed','isQuickLogin','homedir','pzUHZ','forEach','onLoginSuccess','HJPQc','update','get','getNextMemberList','pWFfF','Vwkat','NodeIKernelMsgListener','V1_WIN_NQ_','./.config/QQ','passwordLogin','stringify','GroupListener','updateMsg','qeRtc','onBuddyListChange','684135lhxwwT','hex','DrTxQ','split','createHash','hpJgc','nzrhh','initSession','replace','getBuddyService','onQRCodeSessionFailed','pngBase64QrcodeData','oAqoA','curVersion','Sksls','OAfJj','bfjht','xLWJi','EmdBM','Windows\x2010\x20Pro','resolve','dataPath','initDataListener','NodeIKernelBuddyListener','addListener','5936oSWseM','WAcUd','5oCkWJj','NodeIKernelSessionListener','JtDOa','数据库初始化失败','session','recallTime','CXuNI','onProfileDetailInfoChanged','consoleLogLevel','DndKX','getNTUserDataInfoConfig','infos','getMsgByLongId','FRwHH','rkkcv','10yOwftz','getProfileService'];_0x5279=function(){return _0x43d514;};return _0x5279();}import _0xedd1de from'node:os';import _0xc1eb1a from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';function _0x1924(_0x43e0ea,_0x230f25){const _0x5279fd=_0x5279();return _0x1924=function(_0x19243e,_0x6344b0){_0x19243e=_0x19243e-0xfe;let _0x49fdd3=_0x5279fd[_0x19243e];return _0x49fdd3;},_0x1924(_0x43e0ea,_0x230f25);}import{dbUtil}from'@/core/utils/db';import{sleep}from'@/common/utils/helper';import _0x886fcc from'node:crypto';import{friends,groupMembers,groups,selfInfo,uid2UinMap}from'@/core/data';import{enableConsoleLog,enableFileLog,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x59bad7(0x183)];[_0x59bad7(0x146)];['engine'];['loginService'];[_0x59bad7(0x109)];[_0x59bad7(0x13b)]=[];['proxyHandler']={'get'(target,prop,receiver){const _0x4ffdb4=_0x59bad7,ClcxOS={'RIfgF':function(callee,param1){return callee(param1);},'EmdBM':function(x,y){return x===y;}};if(ClcxOS[_0x4ffdb4(0x176)](typeof target[prop],_0x4ffdb4(0x121)))return(...args)=>{const _0x238c33=_0x4ffdb4;ClcxOS['RIfgF'](logDebug,target[_0x238c33(0x195)][_0x238c33(0x105)]+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x4ffdb4(0x157)](target,prop,receiver);}};constructor(){const _0x4e2333=_0x59bad7,_0x5125f6={'vCmIw':_0x4e2333(0x14f),'VQxzY':function(_0x2be806,_0x1b9e37){return _0x2be806 instanceof _0x1b9e37;},'tBcbr':function(_0x5103c2,_0x53064f,_0x3d0c10){return _0x5103c2(_0x53064f,_0x3d0c10);},'HIWOb':function(_0x1187b7,_0x297605){return _0x1187b7(_0x297605);},'hpJgc':_0x4e2333(0x190),'jurxD':function(_0x19fa4d,_0x51d3e4,_0x2d8e8c){return _0x19fa4d(_0x51d3e4,_0x2d8e8c);}};this[_0x4e2333(0x19c)]=new _0x2c75d4['NodeIQQNTWrapperEngine'](),this['util']=new _0x2c75d4[(_0x4e2333(0x14c))](),this[_0x4e2333(0x194)]=new _0x2c75d4[(_0x4e2333(0x140))](),this[_0x4e2333(0x183)]=new _0x2c75d4['NodeIQQNTWrapperSession'](),this[_0x4e2333(0x109)]=new LoginListener(),this[_0x4e2333(0x109)][_0x4e2333(0x1a2)]=_0x33e1f4=>{const _0x26fa47=_0x4e2333,_0x4a6598={'Vwkat':function(_0xa69d87,_0x2f4b52){return _0x5125f6['VQxzY'](_0xa69d87,_0x2f4b52);},'xZAaL':_0x26fa47(0x182),'SympT':function(_0x299a93,_0x394c2d,_0x5e1b91){const _0x43de31=_0x26fa47;return _0x5125f6[_0x43de31(0x14d)](_0x299a93,_0x394c2d,_0x5e1b91);},'DndKX':function(_0x2d6f87,_0x45a9f9){return _0x5125f6['HIWOb'](_0x2d6f87,_0x45a9f9);},'FhJRb':function(_0x47fc14,_0x4b42ff){const _0x4cbf8b=_0x26fa47;return _0x5125f6[_0x4cbf8b(0x130)](_0x47fc14,_0x4b42ff);},'uORQt':function(_0xa9840f,_0x3b02f0,_0x3fa646){return _0xa9840f(_0x3b02f0,_0x3fa646);},'jMVMC':_0x5125f6[_0x26fa47(0x169)]};this[_0x26fa47(0x16b)](_0x33e1f4[_0x26fa47(0x118)],_0x33e1f4[_0x26fa47(0x1a0)])[_0x26fa47(0x11e)](_0x2b5826=>{const _0x120d3b=_0x26fa47,_0x8985da={'VQtnJ':function(_0x5238a2,_0x182238,_0x2944d2){return _0x5238a2(_0x182238,_0x2944d2);},'KOBNI':function(_0x130f29,_0x2ba2b0){const _0x1bc8b2=_0x1924;return _0x4a6598[_0x1bc8b2(0x15a)](_0x130f29,_0x2ba2b0);},'wmCVC':_0x4a6598[_0x120d3b(0x12e)]};selfInfo[_0x120d3b(0x118)]=_0x33e1f4[_0x120d3b(0x118)],selfInfo['uid']=_0x33e1f4[_0x120d3b(0x1a0)],napCatConfig[_0x120d3b(0x10c)](),_0x4a6598['SympT'](setLogLevel,napCatConfig['fileLogLevel'],napCatConfig[_0x120d3b(0x187)]),_0x4a6598['DndKX'](enableFileLog,napCatConfig['fileLog']),_0x4a6598[_0x120d3b(0x13a)](enableConsoleLog,napCatConfig[_0x120d3b(0x119)]),_0x4a6598[_0x120d3b(0x188)](setLogSelfInfo,selfInfo);const _0x3813a5=_0x4b3ea6['resolve'](this['dataPath'],_0x120d3b(0x139));_0xc1eb1a[_0x120d3b(0x10f)](_0x3813a5,{'recursive':!![]}),_0x4a6598[_0x120d3b(0x12c)](logDebug,_0x4a6598[_0x120d3b(0x10b)],_0x3813a5),dbUtil['init'](_0x4b3ea6[_0x120d3b(0x178)](_0x3813a5,'./'+_0x33e1f4[_0x120d3b(0x118)]+_0x120d3b(0x125)))[_0x120d3b(0x11e)](()=>{const _0x4e6727=_0x120d3b;this[_0x4e6727(0x17a)](),this[_0x4e6727(0x13b)]['map'](_0x21ddf8=>{const _0x2ab5e9=_0x4e6727,_0x9ea47b={'qPVXA':function(_0x3c2cba,_0x4c0c5c,_0x40b501){const _0x154672=_0x1924;return _0x8985da[_0x154672(0x19b)](_0x3c2cba,_0x4c0c5c,_0x40b501);},'Ndmxa':function(_0x4cce22,_0x2a122e){return _0x8985da['KOBNI'](_0x4cce22,_0x2a122e);}};new Promise((_0x547e7a,_0x4b344a)=>{const _0x50a048=_0x1924,_0x134e72=_0x9ea47b[_0x50a048(0x133)](_0x21ddf8,_0x33e1f4[_0x50a048(0x118)],_0x33e1f4[_0x50a048(0x1a0)]);_0x9ea47b[_0x50a048(0x108)](_0x134e72,Promise)&&_0x134e72[_0x50a048(0x11e)](_0x547e7a)['catch'](_0x4b344a);})[_0x2ab5e9(0x11e)]();});})['catch'](_0x503776=>{_0x8985da['VQtnJ'](logError,_0x8985da['wmCVC'],_0x503776);});})[_0x26fa47(0x134)](_0x286c67=>{const _0x3b83d0=_0x26fa47;logError(_0x5125f6['vCmIw'],_0x286c67);throw new Error('启动失败:\x20'+JSON[_0x3b83d0(0x15f)](_0x286c67));});},this[_0x4e2333(0x109)][_0x4e2333(0x16e)]=_0x7f8a3=>{_0x5125f6['tBcbr'](logError,'登录失败',_0x7f8a3);},this[_0x4e2333(0x109)][_0x4e2333(0x132)]=_0x370478=>{const _0x208a8f=_0x4e2333;_0x5125f6[_0x208a8f(0x19d)](logError,_0x208a8f(0x102),_0x370478);},this[_0x4e2333(0x109)]=new Proxy(this[_0x4e2333(0x109)],this[_0x4e2333(0x1a1)]),this[_0x4e2333(0x194)][_0x4e2333(0x141)](new _0x2c75d4['NodeIKernelLoginListener'](this[_0x4e2333(0x109)])),this[_0x4e2333(0xff)]();}get[_0x59bad7(0x179)](){const _0x3ff111=_0x59bad7;let _0x51f0e5=this['util'][_0x3ff111(0x189)]();return!_0x51f0e5&&(_0x51f0e5=_0x4b3ea6[_0x3ff111(0x178)](_0xedd1de[_0x3ff111(0x151)](),_0x3ff111(0x15d)),_0xc1eb1a[_0x3ff111(0x10f)](_0x51f0e5,{'recursive':!![]})),_0x51f0e5;}get[_0x59bad7(0x193)](){const _0x7025cd=_0x59bad7,_0x49d7aa={'WAcUd':'./nt_qq/global'};return _0x4b3ea6[_0x7025cd(0x178)](this[_0x7025cd(0x179)],_0x49d7aa[_0x7025cd(0x17e)]);}[_0x59bad7(0xff)](){const _0x48a30e=_0x59bad7;this[_0x48a30e(0x19c)][_0x48a30e(0x127)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0x48a30e(0x177),'use_xlog':!![],'qua':_0x48a30e(0x15c)+qqVersionConfigInfo[_0x48a30e(0x171)][_0x48a30e(0x16c)]('-','_')+_0x48a30e(0x14a),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x2c75d4[(_0x48a30e(0x14e))](new GlobalAdapter())),this[_0x48a30e(0x194)][_0x48a30e(0xff)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo['curVersion'],'hostName':hostname});}[_0x59bad7(0x16b)](_0x23a50c,_0x1488d0){const _0x49e762=_0x59bad7,_0x7428a8={'DrTxQ':function(_0x4a2a5f,_0x4216ae){return _0x4a2a5f(_0x4216ae);},'qPbkU':function(_0x6d84d8,_0x483eb2){return _0x6d84d8(_0x483eb2);},'qeRtc':function(_0x8a32ee,_0x19fd3c){return _0x8a32ee+_0x19fd3c;},'iIJMG':_0x49e762(0x11c)};return new Promise((_0x1654fb,_0x495f08)=>{const _0x5478ab=_0x49e762,_0x1eb8fe={'rkkcv':function(_0xd1d0e6,_0x5ade9b){const _0x174c9b=_0x1924;return _0x7428a8[_0x174c9b(0x166)](_0xd1d0e6,_0x5ade9b);},'OoQAN':function(_0x44c5bc,_0x1b1c9d){const _0x578157=_0x1924;return _0x7428a8[_0x578157(0x166)](_0x44c5bc,_0x1b1c9d);}},_0x491e7d=genSessionConfig(_0x23a50c,_0x1488d0,this[_0x5478ab(0x179)]),_0x5ee3c9=new SessionListener();_0x5ee3c9[_0x5478ab(0x113)]=_0x172782=>{const _0x4dedc7=_0x5478ab;if(_0x172782===0x0)return _0x1eb8fe[_0x4dedc7(0x18d)](_0x1654fb,0x0);_0x1eb8fe[_0x4dedc7(0x196)](_0x495f08,_0x172782);},this[_0x5478ab(0x183)][_0x5478ab(0x144)](_0x491e7d,new _0x2c75d4[(_0x5478ab(0x11a))](new DependsAdapter()),new _0x2c75d4['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x2c75d4[(_0x5478ab(0x180))](_0x5ee3c9));try{this[_0x5478ab(0x183)][_0x5478ab(0x137)](0x0);}catch(_0x98c52b){try{this[_0x5478ab(0x183)]['startNT']();}catch(_0x3e8048){_0x7428a8['qPbkU'](_0x495f08,_0x7428a8[_0x5478ab(0x162)](_0x7428a8[_0x5478ab(0x122)],_0x3e8048));}}});}[_0x59bad7(0x17a)](){const _0x4854a8=_0x59bad7,_0x175650={'JtDOa':function(_0x530471,_0x138c44){return _0x530471===_0x138c44;},'ycpKo':_0x4854a8(0x12b)},_0xdb75c0=new MsgListener();_0xdb75c0['onMsgInfoListUpdate']=_0x2b9963=>{const _0x3bcbb2={'ohGjC':function(_0x41ff50,_0x34a6b4){const _0x5b5e92=_0x1924;return _0x175650[_0x5b5e92(0x181)](_0x41ff50,_0x34a6b4);}};_0x2b9963['map'](_0x9c8228=>{const _0x5a1edf=_0x1924;_0x3bcbb2[_0x5a1edf(0x123)](_0x9c8228['recallTime'],'0')?dbUtil['addMsg'](_0x9c8228)[_0x5a1edf(0x11e)]()['catch']():dbUtil[_0x5a1edf(0x18b)](_0x9c8228[_0x5a1edf(0x116)])[_0x5a1edf(0x11e)](_0x3dceb2=>{const _0x4b1515=_0x5a1edf;_0x3dceb2&&(_0x3dceb2[_0x4b1515(0x184)]=_0x9c8228[_0x4b1515(0x184)],dbUtil[_0x4b1515(0x161)](_0x3dceb2)[_0x4b1515(0x11e)]());});});},this[_0x4854a8(0x17c)](_0xdb75c0);const _0x272898=new BuddyListener();_0x272898[_0x4854a8(0x163)]=_0x28fc5e=>{const _0x32b683=_0x4854a8;for(const _0x1ee101 of _0x28fc5e){for(const _0x286859 of _0x1ee101[_0x32b683(0x19a)]){const _0x3e801c=friends[_0x32b683(0x157)](_0x286859[_0x32b683(0x1a0)]);uid2UinMap[_0x286859[_0x32b683(0x1a0)]]=_0x286859[_0x32b683(0x118)],_0x3e801c?Object[_0x32b683(0x111)](_0x3e801c,_0x286859):friends[_0x32b683(0x192)](_0x286859[_0x32b683(0x1a0)],_0x286859);}}},this[_0x4854a8(0x17c)](_0x272898),this[_0x4854a8(0x183)][_0x4854a8(0x16d)]()[_0x4854a8(0x13c)](!![])['then'](_0x55768f=>{});const _0xb26ecc=new ProfileListener();_0xb26ecc[_0x4854a8(0x186)]=_0x56d34b=>{const _0x4b92e9=_0x4854a8;_0x56d34b[_0x4b92e9(0x1a0)]===selfInfo['uid']&&Object[_0x4b92e9(0x111)](selfInfo,_0x56d34b);},this[_0x4854a8(0x17c)](_0xb26ecc);const _0x403b65=new GroupListener();_0x403b65['onGroupListUpdate']=(_0x4d3241,_0x2502dd)=>{const _0x1abd24=_0x4854a8,_0x9aeaa5={'jfMlM':_0x175650[_0x1abd24(0x10d)]};_0x2502dd['map'](_0x589b37=>{const _0x339a9b=_0x1abd24,_0x57ebc1=groups[_0x339a9b(0x157)](_0x589b37[_0x339a9b(0x12f)]);if(_0x57ebc1)Object[_0x339a9b(0x111)](_0x57ebc1,_0x589b37);else{groups[_0x339a9b(0x192)](_0x589b37['groupCode'],_0x589b37);const _0x336d20=this[_0x339a9b(0x183)]['getGroupService']()[_0x339a9b(0x11b)](_0x589b37['groupCode'],_0x9aeaa5[_0x339a9b(0x10a)]);this[_0x339a9b(0x183)]['getGroupService']()[_0x339a9b(0x158)](_0x336d20,undefined,0xbb8)[_0x339a9b(0x11e)](_0x2cb141=>{});}});},_0x403b65[_0x4854a8(0x11d)]=_0x17e61c=>{const _0x492828=_0x4854a8,_0x10d269=_0x17e61c[_0x492828(0x120)][_0x492828(0x167)]('_')[0x0];if(groupMembers['has'](_0x10d269)){const _0x3d7f1c=groupMembers[_0x492828(0x157)](_0x10d269);_0x17e61c[_0x492828(0x18a)]['forEach']((_0xd7f4a5,_0x44c0b0)=>{const _0x14891b=_0x492828,_0x2dba7e=_0x3d7f1c[_0x14891b(0x157)](_0x44c0b0);_0x2dba7e?Object[_0x14891b(0x111)](_0x2dba7e,_0xd7f4a5):_0x3d7f1c[_0x14891b(0x192)](_0x44c0b0,_0xd7f4a5);});}else groupMembers[_0x492828(0x192)](_0x10d269,_0x17e61c['infos']);},_0x403b65['onMemberInfoChange']=(_0x5a5fd1,_0x17b57d,_0x51bb16)=>{const _0x14f062=_0x4854a8;_0x51bb16[_0x14f062(0x153)]((_0x48e12e,_0x513cf6)=>{uid2UinMap[_0x513cf6]=_0x48e12e['uin'];});const _0x241dbc=groupMembers['get'](_0x5a5fd1);_0x241dbc?_0x51bb16[_0x14f062(0x153)]((_0x2cb5aa,_0x15c02c)=>{const _0x2dc635=_0x14f062,_0x23935f=_0x241dbc['get'](_0x15c02c);_0x23935f?Object[_0x2dc635(0x111)](_0x23935f,_0x2cb5aa):_0x241dbc['set'](_0x15c02c,_0x2cb5aa);}):groupMembers[_0x14f062(0x192)](_0x5a5fd1,_0x51bb16);},this[_0x4854a8(0x17c)](_0x403b65);}[_0x59bad7(0x17c)](_0x1056ed){const _0x1768e9=_0x59bad7,_0x31a23d={'oAqoA':'BuddyListener','IZhng':_0x1768e9(0x160),'aoIUT':_0x1768e9(0x191)};_0x1056ed=new Proxy(_0x1056ed,this['proxyHandler']);switch(_0x1056ed[_0x1768e9(0x195)][_0x1768e9(0x105)]){case _0x31a23d[_0x1768e9(0x170)]:{return this[_0x1768e9(0x183)][_0x1768e9(0x16d)]()['addKernelBuddyListener'](new _0x2c75d4[(_0x1768e9(0x17b))](_0x1056ed));}case _0x31a23d[_0x1768e9(0x100)]:{return this['session'][_0x1768e9(0x13d)]()['addKernelGroupListener'](new _0x2c75d4['NodeIKernelGroupListener'](_0x1056ed));}case _0x31a23d[_0x1768e9(0x19e)]:{return this[_0x1768e9(0x183)][_0x1768e9(0x124)]()['addKernelMsgListener'](new _0x2c75d4[(_0x1768e9(0x15b))](_0x1056ed));}case _0x1768e9(0x11f):{return this[_0x1768e9(0x183)][_0x1768e9(0x18f)]()[_0x1768e9(0x110)](new _0x2c75d4[(_0x1768e9(0x103))](_0x1056ed));}default:return-0x1;}}[_0x59bad7(0x154)](_0x1ac889){const _0x50b0f0=_0x59bad7;this[_0x50b0f0(0x13b)][_0x50b0f0(0x138)](_0x1ac889);}async[_0x59bad7(0x197)](_0x4ad4e5){const _0x2aeaf7=_0x59bad7,_0xc7f275={'KdFyJ':_0x2aeaf7(0xfe),'fkviQ':function(_0x358039,_0x52efae){return _0x358039(_0x52efae);},'nzrhh':function(_0x4472b0,_0xedf0ba){return _0x4472b0+_0xedf0ba;}},_0x3aaff7=await this[_0x2aeaf7(0x194)][_0x2aeaf7(0x147)]();if(_0x3aaff7['result']!==0x0)throw new Error(_0xc7f275[_0x2aeaf7(0x10e)]);const _0x881798=_0x3aaff7[_0x2aeaf7(0x112)][_0x2aeaf7(0x136)](_0x1aae9e=>_0x1aae9e[_0x2aeaf7(0x118)]===_0x4ad4e5);if(!_0x881798||!_0x881798?.[_0x2aeaf7(0x150)])throw new Error(_0x4ad4e5+'快速登录不可用');await _0xc7f275[_0x2aeaf7(0x126)](sleep,0x3e8);const _0x22df9d=await this[_0x2aeaf7(0x194)][_0x2aeaf7(0x128)](_0x4ad4e5);if(!_0x22df9d['result'])throw new Error(_0xc7f275[_0x2aeaf7(0x16a)](_0x2aeaf7(0x135),_0x22df9d[_0x2aeaf7(0x13f)]['errMsg']));return _0x22df9d;}async[_0x59bad7(0x143)](){const _0x1eecc7=_0x59bad7,_0x5f1d87={'xLWJi':function(_0x73210e,_0x7e43a3){return _0x73210e(_0x7e43a3);},'kDgJx':'data:image/png;base64,','pWFfF':_0x1eecc7(0x12a),'HJPQc':function(_0x380131,_0x5e26b0){return _0x380131(_0x5e26b0);}};let _0x412bb7=![];return new Promise((_0x377182,_0x47fe3b)=>{const _0x2be763=_0x1eecc7,_0x280676={'vLsKd':_0x5f1d87[_0x2be763(0x131)],'Sksls':_0x5f1d87[_0x2be763(0x159)],'aLDSg':function(_0x20a03b,_0x327550){const _0xcff596=_0x2be763;return _0x5f1d87[_0xcff596(0x155)](_0x20a03b,_0x327550);}};setTimeout(()=>{const _0x51cdae=_0x2be763;!_0x412bb7&&_0x5f1d87[_0x51cdae(0x175)](_0x47fe3b,_0x51cdae(0x106));},0x2710),this[_0x2be763(0x109)][_0x2be763(0x14b)]=_0x59679=>{const _0x497c03=_0x2be763;_0x412bb7=!![];const _0x2bba56=_0x59679[_0x497c03(0x16f)]['split'](_0x280676[_0x497c03(0x107)])[0x1],_0x30229d=Buffer[_0x497c03(0x199)](_0x2bba56,_0x280676[_0x497c03(0x172)]);_0x280676['aLDSg'](_0x377182,{'url':_0x59679[_0x497c03(0x104)],'base64':_0x59679[_0x497c03(0x16f)],'buffer':_0x30229d});},this[_0x2be763(0x194)][_0x2be763(0x12d)]();});}async[_0x59bad7(0x15e)](_0x1624db,_0x1a602a,_0x56fc4a,_0x2d559e,_0x3f384e){const _0x39110a=_0x59bad7,_0x4779a8={'pzUHZ':_0x39110a(0x142),'FRwHH':_0x39110a(0x165),'UmqZZ':function(_0x43fb97,_0x18cc54){return _0x43fb97&&_0x18cc54;},'WOUdO':function(_0x4073b1,_0x2c6f47){return _0x4073b1||_0x2c6f47;},'OAfJj':function(_0x311be7,_0xd07bb5){return _0x311be7||_0xd07bb5;},'CXuNI':_0x39110a(0x13e),'bfjht':_0x39110a(0x101)},_0x2235be=_0x886fcc[_0x39110a(0x168)](_0x4779a8[_0x39110a(0x152)])[_0x39110a(0x156)](_0x1a602a)[_0x39110a(0x145)](_0x4779a8[_0x39110a(0x18c)]),_0xd2852a={'uin':_0x1624db,'passwordMd5':_0x2235be,'step':_0x4779a8['UmqZZ'](_0x56fc4a,_0x2d559e)&&_0x3f384e?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x4779a8[_0x39110a(0x114)](_0x56fc4a,''),'proofWaterRand':_0x2d559e||'','proofWaterSid':_0x4779a8[_0x39110a(0x173)](_0x3f384e,'')};await this[_0x39110a(0x194)][_0x39110a(0x147)](),await sleep(0x3e8);const _0x30043d=await this['loginService']['passwordLogin'](_0xd2852a);switch(_0x30043d[_0x39110a(0x115)]){case'0':{break;}case _0x4779a8[_0x39110a(0x185)]:{break;}case'4':case _0x4779a8[_0x39110a(0x174)]:default:}}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x38334f=_0x570e;(function(_0x235243,_0x3bbc1d){const _0x8ffae0=_0x570e,_0x4e7b37=_0x235243();while(!![]){try{const _0x50aa33=parseInt(_0x8ffae0(0xf0))/0x1+-parseInt(_0x8ffae0(0xce))/0x2*(parseInt(_0x8ffae0(0x125))/0x3)+parseInt(_0x8ffae0(0xcb))/0x4*(-parseInt(_0x8ffae0(0xe6))/0x5)+-parseInt(_0x8ffae0(0xdb))/0x6+parseInt(_0x8ffae0(0xca))/0x7+-parseInt(_0x8ffae0(0xc1))/0x8+parseInt(_0x8ffae0(0x10f))/0x9*(parseInt(_0x8ffae0(0xdc))/0xa);if(_0x50aa33===_0x3bbc1d)break;else _0x4e7b37['push'](_0x4e7b37['shift']());}catch(_0x4ff3e3){_0x4e7b37['push'](_0x4e7b37['shift']());}}}(_0x33a8,0x4fcbd));import _0x531d56 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x101742 from'node:path';import _0x40b0eb from'node:os';import _0x5c6f2f from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';function _0x33a8(){const _0x29784e=['push','getMsgByLongId','base64','./.config/QQ','NodeIKernelLoginListener','ZLTvI','forEach','GroupListener','updateMsg','initConfig','onProfileDetailInfoChanged','digest','homedir','onQRCodeLoginSucceed','./NapCat/data','onQRCodeSessionFailed','XSjVh','TbOqR','vmrCq','addKernelBuddyListener','find','HSsch','startNT','onLoginSuccess','constructor','140022008','getBuddyService','addKernelGroupListener','NodeIKernelProfileListener','cHiMB','2664208zaRyfV','TWvCO','快速登录不可用','passwordLogin','vJezi','resolve','name','YKQVA','dataPathGlobal','993552eHVIpn','69356CCvcIz','ProfileListener','Zcxzc','10194rqVLQI','jWWHq','kGktn','quickLogin','ERbMh','getProfileService','msgId','uYMrX','proxyHandler','loginService','initWithDeskTopConfig','update','VLovb','799308PyfyRV','10AHnuUD','启动失败:\x20','getNTUserDataInfoConfig','NodeQQNTWrapperUtil','getMsgService','onMsgInfoListUpdate','catch','split','NodeIQQNTWrapperSession','assign','75wFXJCK','iYQsl','initSession','getGroupService','groupMemberList_MainWindow','V1_WIN_NQ_','-v2.db','onLoginFailed','Jfyto','init','271459XqdEUc','onBuddyListChange','NodeIKernelLoginService','vScdT','then','NodeIDependsAdapter','_GW_B','replace','curVersion','jvUiZ','map','uid','\x20has\x20no\x20method\x20','BuddyListener','uin','本账号数据/缓存目录:','Windows\x2010\x20Pro','addListener','result','infos','getLoginList','TBjPN','getNextMemberList','ZRyvh','addMsg','HMNTY','onLoginState','set','快速登录失败\x20','NodeIKernelMsgListener','Mgaww','9703089tvCaeH','CINBe','hRyMw','md5','addKernelMsgListener','NodeIDispatcherAdapter','data:image/png;base64,','getBuddyList','onMemberInfoChange','PQXVH','没有可快速登录的QQ号','addKernelProfileListener','stringify','undefined','UmDKH','NodeIKernelGroupListener','SMPyq','quickLoginWithUin','NodeIKernelBuddyListener','loginListener','init\x20failed\x20','登录失败','258LxVQfx','Dcxzh','dataPath','pBGcK','initDataListener','pngBase64QrcodeData','./nt_qq/global','groupCode','recallTime','session','get','zOlCR','当前账号已登录,无法重复登录','onMemberListChange','consoleLogLevel','leRVW','onSessionInitComplete','createHash','fileLog','NodeIGlobalAdapter','NodeIKernelSessionListener','onLoginSuccessFuncList','util','mKsVu'];_0x33a8=function(){return _0x29784e;};return _0x33a8();}import{dbUtil}from'@/core/utils/db';import{sleep}from'@/common/utils/helper';import _0x40a5b3 from'node:crypto';function _0x570e(_0x1c4ce1,_0xdcc05d){const _0x33a879=_0x33a8();return _0x570e=function(_0x570e2a,_0x141413){_0x570e2a=_0x570e2a-0x9d;let _0x52ae25=_0x33a879[_0x570e2a];return _0x52ae25;},_0x570e(_0x1c4ce1,_0xdcc05d);}import{friends,groupMembers,groups,selfInfo,uid2UinMap}from'@/core/data';import{enableConsoleLog,enableFileLog,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x38334f(0x12e)];[_0x38334f(0xa1)];['engine'];[_0x38334f(0xd7)];[_0x38334f(0x122)];['onLoginSuccessFuncList']=[];[_0x38334f(0xd6)]={'get'(target,prop,receiver){const _0x5f237f=_0x38334f,Mijbzd={'HSsch':function(callee,param1){return callee(param1);},'HMNTY':function(x,y){return x===y;}};if(Mijbzd[_0x5f237f(0x109)](typeof target[prop],_0x5f237f(0x11c)))return(...args)=>{const _0x4a8811=_0x5f237f;Mijbzd[_0x4a8811(0xb8)](logDebug,target[_0x4a8811(0xbb)][_0x4a8811(0xc7)]+_0x4a8811(0xfc)+prop);};return Reflect[_0x5f237f(0x12f)](target,prop,receiver);}};constructor(){const _0x5e5cea=_0x38334f,_0x50afe0={'vJezi':function(_0x360bf5,_0x4433c8){return _0x360bf5(_0x4433c8);},'mKsVu':function(_0x440889,_0x4209c1,_0x5c19cd){return _0x440889(_0x4209c1,_0x5c19cd);},'pBGcK':'initSession\x20failed','jvUiZ':'数据库初始化失败','vmrCq':'登录失败'};this['engine']=new _0x531d56['NodeIQQNTWrapperEngine'](),this[_0x5e5cea(0xa1)]=new _0x531d56[(_0x5e5cea(0xdf))](),this['loginService']=new _0x531d56[(_0x5e5cea(0xf2))](),this[_0x5e5cea(0x12e)]=new _0x531d56[(_0x5e5cea(0xe4))](),this[_0x5e5cea(0x122)]=new LoginListener(),this[_0x5e5cea(0x122)][_0x5e5cea(0x10a)]=_0x2f4ee4=>{const _0x49051e=_0x5e5cea;_0x2f4ee4==0x3&&_0x50afe0['vJezi'](logError,_0x49051e(0x131));},this[_0x5e5cea(0x122)][_0x5e5cea(0xb0)]=_0x42ecab=>{const _0xd1b07f=_0x5e5cea,_0x4f785f={'Jfyto':_0x50afe0[_0xd1b07f(0xf9)],'PQXVH':function(_0x38c6f1,_0xa43111,_0x4c1f37){return _0x38c6f1(_0xa43111,_0x4c1f37);},'XpRSw':function(_0x396a69,_0x3f9a20){const _0x1f9e67=_0xd1b07f;return _0x50afe0[_0x1f9e67(0xc5)](_0x396a69,_0x3f9a20);},'Mgaww':function(_0x39e1e2,_0x4c4dbe){const _0xd38455=_0xd1b07f;return _0x50afe0[_0xd38455(0xc5)](_0x39e1e2,_0x4c4dbe);},'vScdT':_0xd1b07f(0xff)};this[_0xd1b07f(0xe8)](_0x42ecab[_0xd1b07f(0xfe)],_0x42ecab['uid'])[_0xd1b07f(0xf4)](_0x48637e=>{const _0x3e1a18=_0xd1b07f;selfInfo[_0x3e1a18(0xfe)]=_0x42ecab['uin'],selfInfo[_0x3e1a18(0xfb)]=_0x42ecab[_0x3e1a18(0xfb)],napCatConfig['read'](),_0x4f785f[_0x3e1a18(0x118)](setLogLevel,napCatConfig['fileLogLevel'],napCatConfig[_0x3e1a18(0x133)]),_0x4f785f['XpRSw'](enableFileLog,napCatConfig[_0x3e1a18(0x9d)]),enableConsoleLog(napCatConfig['consoleLog']),_0x4f785f[_0x3e1a18(0x10e)](setLogSelfInfo,selfInfo);const _0x50287b=_0x101742['resolve'](this[_0x3e1a18(0x127)],_0x3e1a18(0xb1));_0x5c6f2f['mkdirSync'](_0x50287b,{'recursive':!![]}),logDebug(_0x4f785f[_0x3e1a18(0xf3)],_0x50287b),dbUtil[_0x3e1a18(0xef)](_0x101742['resolve'](_0x50287b,'./'+_0x42ecab[_0x3e1a18(0xfe)]+_0x3e1a18(0xec)))['then'](()=>{const _0x391513=_0x3e1a18;this[_0x391513(0x129)](),this['onLoginSuccessFuncList'][_0x391513(0xfa)](_0x1f56ea=>{const _0x337ea0=_0x391513,_0x23083b={'VLovb':function(_0x3cb480,_0x2456eb){return _0x3cb480 instanceof _0x2456eb;}};new Promise((_0x2eb2f9,_0x4717b)=>{const _0x45e4e8=_0x570e,_0x2669ea=_0x1f56ea(_0x42ecab[_0x45e4e8(0xfe)],_0x42ecab['uid']);_0x23083b[_0x45e4e8(0xda)](_0x2669ea,Promise)&&_0x2669ea[_0x45e4e8(0xf4)](_0x2eb2f9)['catch'](_0x4717b);})[_0x337ea0(0xf4)]();});})[_0x3e1a18(0xe2)](_0x3a5712=>{const _0x303b5d=_0x3e1a18;logError(_0x4f785f[_0x303b5d(0xee)],_0x3a5712);});})[_0xd1b07f(0xe2)](_0x507ae9=>{const _0x138ea7=_0xd1b07f;_0x50afe0[_0x138ea7(0xa2)](logError,_0x50afe0[_0x138ea7(0x128)],_0x507ae9);throw new Error(_0x138ea7(0xdd)+JSON[_0x138ea7(0x11b)](_0x507ae9));});},this['loginListener'][_0x5e5cea(0xb2)]=_0x4e9d0b=>{const _0x571e15=_0x5e5cea;logError(_0x571e15(0x124),_0x4e9d0b);},this['loginListener'][_0x5e5cea(0xed)]=_0x3a2316=>{const _0x43193f=_0x5e5cea;logError(_0x50afe0[_0x43193f(0xb5)],_0x3a2316);},this[_0x5e5cea(0x122)]=new Proxy(this[_0x5e5cea(0x122)],this[_0x5e5cea(0xd6)]),this[_0x5e5cea(0xd7)]['addKernelLoginListener'](new _0x531d56[(_0x5e5cea(0xa7))](this[_0x5e5cea(0x122)])),this[_0x5e5cea(0xac)]();}get['dataPath'](){const _0x2a65d7=_0x38334f,_0x13c79a={'ZRyvh':_0x2a65d7(0xa6)};let _0x1aac63=this[_0x2a65d7(0xa1)][_0x2a65d7(0xde)]();return!_0x1aac63&&(_0x1aac63=_0x101742[_0x2a65d7(0xc6)](_0x40b0eb[_0x2a65d7(0xaf)](),_0x13c79a[_0x2a65d7(0x107)]),_0x5c6f2f['mkdirSync'](_0x1aac63,{'recursive':!![]})),_0x1aac63;}get[_0x38334f(0xc9)](){const _0x12dd4f=_0x38334f,_0x9f8eb1={'TBjPN':_0x12dd4f(0x12b)};return _0x101742['resolve'](this['dataPath'],_0x9f8eb1[_0x12dd4f(0x105)]);}[_0x38334f(0xac)](){const _0x284323=_0x38334f,_0x510521={'Zcxzc':_0x284323(0x100)};this['engine'][_0x284323(0xd8)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x284323(0xf8)],'os_version':_0x510521[_0x284323(0xcd)],'use_xlog':!![],'qua':_0x284323(0xeb)+qqVersionConfigInfo[_0x284323(0xf8)][_0x284323(0xf7)]('-','_')+_0x284323(0xf6),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x531d56[(_0x284323(0x9e))](new GlobalAdapter())),this['loginService'][_0x284323(0xac)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x284323(0xc9)],'clientVer':qqVersionConfigInfo[_0x284323(0xf8)],'hostName':hostname});}[_0x38334f(0xe8)](_0x26278b,_0x3f85c5){const _0x2ba7d4=_0x38334f,_0x237241={'IdWqY':function(_0x52eaf9,_0x224512){return _0x52eaf9===_0x224512;},'XSjVh':function(_0x3f651d,_0x4572db){return _0x3f651d(_0x4572db);},'FaVUm':function(_0x21592e,_0x5d2ddf,_0x11b331,_0x1b21a7){return _0x21592e(_0x5d2ddf,_0x11b331,_0x1b21a7);},'uYMrX':function(_0x5ccef1,_0x38206e){return _0x5ccef1+_0x38206e;},'YKQVA':_0x2ba7d4(0x123)};return new Promise((_0x88fd4c,_0x4d679c)=>{const _0x52e7d6=_0x2ba7d4,_0x459983=_0x237241['FaVUm'](genSessionConfig,_0x26278b,_0x3f85c5,this['dataPath']),_0x167225=new SessionListener();_0x167225[_0x52e7d6(0x135)]=_0x4151c7=>{const _0x1696fc=_0x52e7d6;if(_0x237241['IdWqY'](_0x4151c7,0x0))return _0x237241[_0x1696fc(0xb3)](_0x88fd4c,0x0);_0x4d679c(_0x4151c7);},this['session'][_0x52e7d6(0xef)](_0x459983,new _0x531d56[(_0x52e7d6(0xf5))](new DependsAdapter()),new _0x531d56[(_0x52e7d6(0x114))](new DispatcherAdapter()),new _0x531d56[(_0x52e7d6(0x9f))](_0x167225));try{this[_0x52e7d6(0x12e)][_0x52e7d6(0xb9)](0x0);}catch(_0x410f97){try{this[_0x52e7d6(0x12e)]['startNT']();}catch(_0x16aaab){_0x237241['XSjVh'](_0x4d679c,_0x237241[_0x52e7d6(0xd5)](_0x237241[_0x52e7d6(0xc8)],_0x16aaab));}}});}[_0x38334f(0x129)](){const _0xbc2812=_0x38334f,_0x45103b={'ZLTvI':function(_0x40b1de,_0x1243fc){return _0x40b1de===_0x1243fc;}},_0x468004=new MsgListener();_0x468004[_0xbc2812(0xe1)]=_0x33820c=>{const _0x4446d6={'ePtxU':function(_0x3e3d6f,_0x40c48f){const _0x5c22d3=_0x570e;return _0x45103b[_0x5c22d3(0xa8)](_0x3e3d6f,_0x40c48f);}};_0x33820c['map'](_0x47815e=>{const _0x2b1e9f=_0x570e;_0x4446d6['ePtxU'](_0x47815e[_0x2b1e9f(0x12d)],'0')?dbUtil[_0x2b1e9f(0x108)](_0x47815e)[_0x2b1e9f(0xf4)]()[_0x2b1e9f(0xe2)]():dbUtil[_0x2b1e9f(0xa4)](_0x47815e[_0x2b1e9f(0xd4)])[_0x2b1e9f(0xf4)](_0xac3ab2=>{const _0xf3026=_0x2b1e9f;_0xac3ab2&&(_0xac3ab2[_0xf3026(0x12d)]=_0x47815e[_0xf3026(0x12d)],dbUtil[_0xf3026(0xab)](_0xac3ab2)[_0xf3026(0xf4)]());});});},this[_0xbc2812(0x101)](_0x468004);const _0x1535ed=new BuddyListener();_0x1535ed[_0xbc2812(0xf1)]=_0x1a8d1c=>{const _0x1f9309=_0xbc2812;for(const _0x37dbd3 of _0x1a8d1c){for(const _0x199f2f of _0x37dbd3['buddyList']){const _0x64e7fc=friends['get'](_0x199f2f['uid']);uid2UinMap[_0x199f2f[_0x1f9309(0xfb)]]=_0x199f2f[_0x1f9309(0xfe)],_0x64e7fc?Object[_0x1f9309(0xe5)](_0x64e7fc,_0x199f2f):friends['set'](_0x199f2f[_0x1f9309(0xfb)],_0x199f2f);}}},this[_0xbc2812(0x101)](_0x1535ed),this['session'][_0xbc2812(0xbd)]()[_0xbc2812(0x116)](!![])[_0xbc2812(0xf4)](_0x3b5a75=>{});const _0xb1da6c=new ProfileListener();_0xb1da6c[_0xbc2812(0xad)]=_0xe685c8=>{const _0x51ae7c=_0xbc2812;_0x45103b[_0x51ae7c(0xa8)](_0xe685c8[_0x51ae7c(0xfb)],selfInfo[_0x51ae7c(0xfb)])&&Object[_0x51ae7c(0xe5)](selfInfo,_0xe685c8);},this[_0xbc2812(0x101)](_0xb1da6c);const _0x30def5=new GroupListener();_0x30def5['onGroupListUpdate']=(_0x493799,_0x257b3)=>{_0x257b3['map'](_0x6bdd54=>{const _0x1ea671=_0x570e,_0x361f3d=groups['get'](_0x6bdd54['groupCode']);if(_0x361f3d)Object[_0x1ea671(0xe5)](_0x361f3d,_0x6bdd54);else{groups[_0x1ea671(0x10b)](_0x6bdd54[_0x1ea671(0x12c)],_0x6bdd54);const _0x3fb9cd=this['session']['getGroupService']()['createMemberListScene'](_0x6bdd54[_0x1ea671(0x12c)],_0x1ea671(0xea));this[_0x1ea671(0x12e)]['getGroupService']()[_0x1ea671(0x106)](_0x3fb9cd,undefined,0xbb8)[_0x1ea671(0xf4)](_0x5c9210=>{});}});},_0x30def5[_0xbc2812(0x132)]=_0x12c9b5=>{const _0x167531=_0xbc2812,_0x5e435b=_0x12c9b5['sceneId'][_0x167531(0xe3)]('_')[0x0];if(groupMembers['has'](_0x5e435b)){const _0x46f783=groupMembers[_0x167531(0x12f)](_0x5e435b);_0x12c9b5[_0x167531(0x103)][_0x167531(0xa9)]((_0x7c7c96,_0x22d408)=>{const _0x5e8d2d=_0x167531,_0x2df85e=_0x46f783[_0x5e8d2d(0x12f)](_0x22d408);_0x2df85e?Object[_0x5e8d2d(0xe5)](_0x2df85e,_0x7c7c96):_0x46f783['set'](_0x22d408,_0x7c7c96);});}else groupMembers[_0x167531(0x10b)](_0x5e435b,_0x12c9b5[_0x167531(0x103)]);},_0x30def5[_0xbc2812(0x117)]=(_0x1c91fc,_0x18ca8d,_0x21fdf3)=>{const _0x42c397=_0xbc2812;_0x21fdf3[_0x42c397(0xa9)]((_0x92b1d9,_0x1ab087)=>{const _0x48889a=_0x42c397;uid2UinMap[_0x1ab087]=_0x92b1d9[_0x48889a(0xfe)];});const _0x2ad2e8=groupMembers[_0x42c397(0x12f)](_0x1c91fc);_0x2ad2e8?_0x21fdf3[_0x42c397(0xa9)]((_0x357dd6,_0xd5e0dd)=>{const _0x142c61=_0x42c397,_0x461472=_0x2ad2e8[_0x142c61(0x12f)](_0xd5e0dd);_0x461472?Object['assign'](_0x461472,_0x357dd6):_0x2ad2e8[_0x142c61(0x10b)](_0xd5e0dd,_0x357dd6);}):groupMembers['set'](_0x1c91fc,_0x21fdf3);},this[_0xbc2812(0x101)](_0x30def5);}[_0x38334f(0x101)](_0x50ee23){const _0xa4fa30=_0x38334f,_0x595ab5={'cHiMB':_0xa4fa30(0xfd),'IBNmi':_0xa4fa30(0xcc)};_0x50ee23=new Proxy(_0x50ee23,this['proxyHandler']);switch(_0x50ee23[_0xa4fa30(0xbb)][_0xa4fa30(0xc7)]){case _0x595ab5[_0xa4fa30(0xc0)]:{return this[_0xa4fa30(0x12e)][_0xa4fa30(0xbd)]()[_0xa4fa30(0xb6)](new _0x531d56[(_0xa4fa30(0x121))](_0x50ee23));}case _0xa4fa30(0xaa):{return this[_0xa4fa30(0x12e)][_0xa4fa30(0xe9)]()[_0xa4fa30(0xbe)](new _0x531d56[(_0xa4fa30(0x11e))](_0x50ee23));}case'MsgListener':{return this[_0xa4fa30(0x12e)][_0xa4fa30(0xe0)]()[_0xa4fa30(0x113)](new _0x531d56[(_0xa4fa30(0x10d))](_0x50ee23));}case _0x595ab5['IBNmi']:{return this['session'][_0xa4fa30(0xd3)]()[_0xa4fa30(0x11a)](new _0x531d56[(_0xa4fa30(0xbf))](_0x50ee23));}default:return-0x1;}}[_0x38334f(0xba)](_0x3913f8){const _0x58adac=_0x38334f;this[_0x58adac(0xa0)][_0x58adac(0xa3)](_0x3913f8);}async[_0x38334f(0xd1)](_0x5ea256){const _0x26b375=_0x38334f,_0x24f6a0={'pfmEe':function(_0x1b358e,_0x10d01e){return _0x1b358e!==_0x10d01e;},'ERbMh':_0x26b375(0x119),'TWvCO':function(_0x458259,_0x13f4dc){return _0x458259(_0x13f4dc);},'jWWHq':function(_0x5e2ddb,_0x6f80bf){return _0x5e2ddb+_0x6f80bf;}},_0x3574e4=await this['loginService'][_0x26b375(0x104)]();if(_0x24f6a0['pfmEe'](_0x3574e4['result'],0x0))throw new Error(_0x24f6a0[_0x26b375(0xd2)]);const _0x5f4e61=_0x3574e4['LocalLoginInfoList'][_0x26b375(0xb7)](_0x50deb4=>_0x50deb4[_0x26b375(0xfe)]===_0x5ea256);if(!_0x5f4e61||!_0x5f4e61?.['isQuickLogin'])throw new Error(_0x5ea256+_0x26b375(0xc3));await _0x24f6a0[_0x26b375(0xc2)](sleep,0x3e8);const _0x1a504f=await this[_0x26b375(0xd7)][_0x26b375(0x120)](_0x5ea256);if(!_0x1a504f[_0x26b375(0x102)])throw new Error(_0x24f6a0[_0x26b375(0xcf)](_0x26b375(0x10c),_0x1a504f['loginErrorInfo']['errMsg']));return _0x1a504f;}async['qrLogin'](){const _0xced23=_0x38334f,_0x3fcd01={'Dcxzh':_0xced23(0x115),'hRyMw':function(_0x101aa3,_0x57d3da){return _0x101aa3(_0x57d3da);},'kMJbM':'获取二维码登录超时','UmDKH':function(_0x314436,_0x41a471,_0x2522c7){return _0x314436(_0x41a471,_0x2522c7);}};let _0x404159=![];return new Promise((_0xbca97,_0x4bd2f8)=>{const _0x38915f=_0xced23,_0x133648={'kGktn':function(_0x553944,_0x398ddd){return _0x553944(_0x398ddd);},'TbOqR':_0x3fcd01['kMJbM']};_0x3fcd01[_0x38915f(0x11d)](setTimeout,()=>{const _0x17da8f=_0x38915f;!_0x404159&&_0x133648[_0x17da8f(0xd0)](_0x4bd2f8,_0x133648[_0x17da8f(0xb4)]);},0x2710),this[_0x38915f(0x122)]['onQRCodeGetPicture']=_0x4c653d=>{const _0x30c3da=_0x38915f;_0x404159=!![];const _0x4876eb=_0x4c653d[_0x30c3da(0x12a)][_0x30c3da(0xe3)](_0x3fcd01[_0x30c3da(0x126)])[0x1],_0x5d3c34=Buffer['from'](_0x4876eb,_0x30c3da(0xa5));_0x3fcd01[_0x30c3da(0x111)](_0xbca97,{'url':_0x4c653d['qrcodeUrl'],'base64':_0x4c653d[_0x30c3da(0x12a)],'buffer':_0x5d3c34});},this[_0x38915f(0xd7)]['getQRCodePicture']();});}async[_0x38334f(0xc4)](_0x3c98d,_0x53df7d,_0x324e12,_0x58ca4a,_0x34109f){const _0x12cbd8=_0x38334f,_0x44f5ea={'zOlCR':_0x12cbd8(0x112),'dxbNx':'hex','leRVW':function(_0x2d6dcc,_0xd3e7da){return _0x2d6dcc||_0xd3e7da;},'CINBe':function(_0x5ab527,_0x1c445a){return _0x5ab527||_0x1c445a;},'SMPyq':function(_0x2a70d0,_0x4c9046){return _0x2a70d0(_0x4c9046);},'iYQsl':'140022013'},_0x44e893=_0x40a5b3[_0x12cbd8(0x136)](_0x44f5ea[_0x12cbd8(0x130)])[_0x12cbd8(0xd9)](_0x53df7d)[_0x12cbd8(0xae)](_0x44f5ea['dxbNx']),_0x15c6e6={'uin':_0x3c98d,'passwordMd5':_0x44e893,'step':_0x324e12&&_0x58ca4a&&_0x34109f?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x44f5ea[_0x12cbd8(0x134)](_0x324e12,''),'proofWaterRand':_0x58ca4a||'','proofWaterSid':_0x44f5ea[_0x12cbd8(0x110)](_0x34109f,'')};await this[_0x12cbd8(0xd7)][_0x12cbd8(0x104)](),await _0x44f5ea[_0x12cbd8(0x11f)](sleep,0x3e8);const _0x2e81f7=await this[_0x12cbd8(0xd7)][_0x12cbd8(0xc4)](_0x15c6e6);switch(_0x2e81f7[_0x12cbd8(0x102)]){case'0':{break;}case _0x12cbd8(0xbc):{break;}case'4':case _0x44f5ea[_0x12cbd8(0xe7)]:default:}}}export const napCatCore=new NapCatCore(); \ No newline at end of file diff --git a/src/core.lib/src/data.js b/src/core.lib/src/data.js index e3290a8e..5b07e7be 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -const _0x22790e=_0x3cfc;(function(_0x5c310b,_0x5dc004){const _0x56473b=_0x3cfc,_0x29f9de=_0x5c310b();while(!![]){try{const _0x59bb0f=parseInt(_0x56473b(0x1e1))/0x1*(-parseInt(_0x56473b(0x1ca))/0x2)+-parseInt(_0x56473b(0x1e5))/0x3*(parseInt(_0x56473b(0x1d8))/0x4)+parseInt(_0x56473b(0x1da))/0x5*(parseInt(_0x56473b(0x1d3))/0x6)+parseInt(_0x56473b(0x1cb))/0x7*(parseInt(_0x56473b(0x1dc))/0x8)+parseInt(_0x56473b(0x1d5))/0x9*(parseInt(_0x56473b(0x1e4))/0xa)+parseInt(_0x56473b(0x1cf))/0xb+-parseInt(_0x56473b(0x1e2))/0xc*(parseInt(_0x56473b(0x1d2))/0xd);if(_0x59bb0f===_0x5dc004)break;else _0x29f9de['push'](_0x29f9de['shift']());}catch(_0x592758){_0x29f9de['push'](_0x29f9de['shift']());}}}(_0x272b,0x6118e));function _0x3cfc(_0x51762a,_0x4e69f6){const _0x272b64=_0x272b();return _0x3cfc=function(_0x3cfc0c,_0x4d7736){_0x3cfc0c=_0x3cfc0c-0x1c9;let _0xc778e=_0x272b64[_0x3cfc0c];return _0xc778e;},_0x3cfc(_0x51762a,_0x4e69f6);}import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x4a6f4d){const _0x386461=_0x3cfc;groups['delete'](_0x4a6f4d),groupMembers[_0x386461(0x1d9)](_0x4a6f4d);}export const groupMembers=new Map();export const friends=new Map();function _0x272b(){const _0x56eabb=['getGroups','108JsvYMc','values','uin','973204GIZlhx','delete','5vibzhB','NapCat未能正常启动,请检查日志查看错误','4093024YinkGP','set','eRiwP','length','find','17cexqSx','634188NXrPbV','get','557090XWPAXQ','6EmfqAk','getGroupMembers','6010ImaFgd','7GNNcdU','toString','lkEVt','from','3709871jritpP','ZllfO','groupCode','169pBJrlL','630222WXNOKh'];_0x272b=function(){return _0x56eabb;};return _0x272b();}export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x22790e(0x1db)};export async function getFriend(_0x3ccd25){const _0x43032e=_0x22790e,_0x1c1170={'ZllfO':function(_0x3040d9,_0x39f0bc){return _0x3040d9(_0x39f0bc);}};_0x3ccd25=_0x3ccd25[_0x43032e(0x1cc)]();if(_0x1c1170[_0x43032e(0x1d0)](isNumeric,_0x3ccd25)){const _0x163d4c=Array['from'](friends[_0x43032e(0x1d6)]());return _0x163d4c['find'](_0x4c1205=>_0x4c1205['uin']===_0x3ccd25);}else return friends['get'](_0x3ccd25);}export async function getGroup(_0x49e2ad){const _0x5bf4ce=_0x22790e;let _0x50ca68=groups[_0x5bf4ce(0x1e3)](_0x49e2ad[_0x5bf4ce(0x1cc)]());if(!_0x50ca68)try{const _0x377d55=await NTQQGroupApi[_0x5bf4ce(0x1d4)]();_0x377d55[_0x5bf4ce(0x1df)]&&_0x377d55['forEach'](_0x2dd1f0=>{const _0x5bc165=_0x5bf4ce;groups[_0x5bc165(0x1dd)](_0x2dd1f0[_0x5bc165(0x1d1)],_0x2dd1f0);});}catch(_0x4222fc){return undefined;}return _0x50ca68=groups[_0x5bf4ce(0x1e3)](_0x49e2ad[_0x5bf4ce(0x1cc)]()),_0x50ca68;}export async function getGroupMember(_0x4f2e35,_0x26fcb6){const _0x12261d=_0x22790e,_0x323221={'Fxnlw':function(_0x50c71e,_0x4226a3){return _0x50c71e(_0x4226a3);},'lkEVt':function(_0x46e5c7,_0x55f2fc){return _0x46e5c7(_0x55f2fc);}};_0x4f2e35=_0x4f2e35[_0x12261d(0x1cc)](),_0x26fcb6=_0x26fcb6['toString']();let _0x3cc22e=groupMembers[_0x12261d(0x1e3)](_0x4f2e35);if(!_0x3cc22e)try{_0x3cc22e=await NTQQGroupApi['getGroupMembers'](_0x4f2e35),groupMembers[_0x12261d(0x1dd)](_0x4f2e35,_0x3cc22e);}catch(_0x4e375e){return null;}const _0x584611=_0x39164c=>{const _0x5ba090=_0x12261d;let _0xe7f2b1=undefined;return _0x323221['Fxnlw'](isNumeric,_0x39164c)?_0xe7f2b1=Array[_0x5ba090(0x1ce)](_0x3cc22e[_0x5ba090(0x1d6)]())[_0x5ba090(0x1e0)](_0x175775=>_0x175775[_0x5ba090(0x1d7)]===_0x39164c):_0xe7f2b1=_0x3cc22e['get'](_0x39164c),_0xe7f2b1;};let _0x283351=_0x584611(_0x26fcb6);return!_0x283351&&(_0x3cc22e=await NTQQGroupApi[_0x12261d(0x1c9)](_0x4f2e35),_0x283351=_0x323221[_0x12261d(0x1cd)](_0x584611,_0x26fcb6)),_0x283351;}export const uid2UinMap={};export function getUidByUin(_0x168e17){const _0x7bd26b=_0x22790e,_0x53b815={'eRiwP':function(_0x5d8eb8,_0x21f24c){return _0x5d8eb8===_0x21f24c;}};for(const _0x444444 in uid2UinMap){if(_0x53b815[_0x7bd26b(0x1de)](uid2UinMap[_0x444444],_0x168e17))return _0x444444;}}export const tempGroupCodeMap={}; \ No newline at end of file +const _0x3f6401=_0x2060;(function(_0x582b42,_0x2302a7){const _0x50fa20=_0x2060,_0x1f80a1=_0x582b42();while(!![]){try{const _0x4075b9=-parseInt(_0x50fa20(0x1d6))/0x1*(parseInt(_0x50fa20(0x1d0))/0x2)+-parseInt(_0x50fa20(0x1d2))/0x3*(parseInt(_0x50fa20(0x1d7))/0x4)+parseInt(_0x50fa20(0x1d4))/0x5*(-parseInt(_0x50fa20(0x1cc))/0x6)+-parseInt(_0x50fa20(0x1c7))/0x7*(parseInt(_0x50fa20(0x1d1))/0x8)+-parseInt(_0x50fa20(0x1be))/0x9+-parseInt(_0x50fa20(0x1c0))/0xa+parseInt(_0x50fa20(0x1bf))/0xb;if(_0x4075b9===_0x2302a7)break;else _0x1f80a1['push'](_0x1f80a1['shift']());}catch(_0x1996b6){_0x1f80a1['push'](_0x1f80a1['shift']());}}}(_0x29b2,0xcec33));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0};function _0x2060(_0x56be57,_0xa4cb0a){const _0x29b2a6=_0x29b2();return _0x2060=function(_0x206078,_0x1e4110){_0x206078=_0x206078-0x1be;let _0x10a0d1=_0x29b2a6[_0x206078];return _0x10a0d1;},_0x2060(_0x56be57,_0xa4cb0a);}export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};function _0x29b2(){const _0x5df709=['80137497rJtdgI','12813610sGvqzm','NapCat未能正常启动,请检查日志查看错误','getGroupMembers','from','length','delete','uin','5159154mzZavv','find','groupCode','RhZnf','set','6xNoylo','toString','MDnhQ','values','26odFJXj','16kuZmzm','902289vzPDTY','get','5403865PdRNyj','GuSoy','5097CRuymI','20PqrgEF','9288666qyFEyL'];_0x29b2=function(){return _0x5df709;};return _0x29b2();}export const groups=new Map();export function deleteGroup(_0x5d4146){const _0x330582=_0x2060;groups[_0x330582(0x1c5)](_0x5d4146),groupMembers['delete'](_0x5d4146);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x3f6401(0x1c1)};export async function getFriend(_0x5def35){const _0x30467c=_0x3f6401;_0x5def35=_0x5def35['toString']();if(isNumeric(_0x5def35)){const _0x3f58c7=Array[_0x30467c(0x1c3)](friends[_0x30467c(0x1cf)]());return _0x3f58c7[_0x30467c(0x1c8)](_0x3ae692=>_0x3ae692['uin']===_0x5def35);}else return friends[_0x30467c(0x1d3)](_0x5def35);}export async function getGroup(_0x107cb7){const _0x57a0f8=_0x3f6401;let _0x3d6a34=groups[_0x57a0f8(0x1d3)](_0x107cb7[_0x57a0f8(0x1cd)]());if(!_0x3d6a34)try{const _0x57ab63=await NTQQGroupApi['getGroups']();_0x57ab63[_0x57a0f8(0x1c4)]&&_0x57ab63['forEach'](_0x2fe575=>{const _0x4f3c27=_0x57a0f8;groups[_0x4f3c27(0x1cb)](_0x2fe575[_0x4f3c27(0x1c9)],_0x2fe575);});}catch(_0x536306){return undefined;}return _0x3d6a34=groups[_0x57a0f8(0x1d3)](_0x107cb7[_0x57a0f8(0x1cd)]()),_0x3d6a34;}export async function getGroupMember(_0xb751f8,_0x15e5aa){const _0x1cd4c0=_0x3f6401,_0x3c4a71={'RhZnf':function(_0x3f8eb5,_0x582301){return _0x3f8eb5(_0x582301);},'GuSoy':function(_0x4fb4a1){return _0x4fb4a1();}};_0xb751f8=_0xb751f8[_0x1cd4c0(0x1cd)](),_0x15e5aa=_0x15e5aa[_0x1cd4c0(0x1cd)]();let _0x48b791=groupMembers[_0x1cd4c0(0x1d3)](_0xb751f8);if(!_0x48b791)try{_0x48b791=await NTQQGroupApi[_0x1cd4c0(0x1c2)](_0xb751f8),groupMembers[_0x1cd4c0(0x1cb)](_0xb751f8,_0x48b791);}catch(_0x87a774){return null;}const _0x3e9a2d=()=>{const _0x427591=_0x1cd4c0;let _0x4eadc6=undefined;return _0x3c4a71[_0x427591(0x1ca)](isNumeric,_0x15e5aa)?_0x4eadc6=Array['from'](_0x48b791[_0x427591(0x1cf)]())[_0x427591(0x1c8)](_0x20ffe0=>_0x20ffe0[_0x427591(0x1c6)]===_0x15e5aa):_0x4eadc6=_0x48b791[_0x427591(0x1d3)](_0x15e5aa),_0x4eadc6;};let _0x43db96=_0x3e9a2d();return!_0x43db96&&(_0x48b791=await NTQQGroupApi[_0x1cd4c0(0x1c2)](_0xb751f8),_0x43db96=_0x3c4a71[_0x1cd4c0(0x1d5)](_0x3e9a2d)),_0x43db96;}export const uid2UinMap={};export function getUidByUin(_0x22c742){const _0x12d8fa=_0x3f6401,_0x71df34={'MDnhQ':function(_0x174769,_0x57a243){return _0x174769===_0x57a243;}};for(const _0x25cd2e in uid2UinMap){if(_0x71df34[_0x12d8fa(0x1ce)](uid2UinMap[_0x25cd2e],_0x22c742))return _0x25cd2e;}}export const tempGroupCodeMap={}; \ No newline at end of file diff --git a/src/core.lib/src/entities/cache.js b/src/core.lib/src/entities/cache.js index 8db09c80..54eb7057 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x595ae3,_0x23182f){var _0x208eaa=_0x4d5d,_0x469909=_0x595ae3();while(!![]){try{var _0x494dd3=parseInt(_0x208eaa(0xd5))/0x1+parseInt(_0x208eaa(0xd8))/0x2+-parseInt(_0x208eaa(0xda))/0x3*(-parseInt(_0x208eaa(0xdb))/0x4)+-parseInt(_0x208eaa(0xdc))/0x5+parseInt(_0x208eaa(0xde))/0x6+-parseInt(_0x208eaa(0xd7))/0x7*(-parseInt(_0x208eaa(0xcd))/0x8)+parseInt(_0x208eaa(0xdf))/0x9*(-parseInt(_0x208eaa(0xd6))/0xa);if(_0x494dd3===_0x23182f)break;else _0x469909['push'](_0x469909['shift']());}catch(_0x2c5c45){_0x469909['push'](_0x469909['shift']());}}}(_0x12c8,0x700d4));function _0x4d5d(_0x13dc3e,_0x57c3e0){var _0x12c864=_0x12c8();return _0x4d5d=function(_0x4d5d05,_0x143f82){_0x4d5d05=_0x4d5d05-0xcd;var _0x241188=_0x12c864[_0x4d5d05];return _0x241188;},_0x4d5d(_0x13dc3e,_0x57c3e0);}export var CacheFileType;(function(_0x4a3b7e){var _0x1187a5=_0x4d5d,_0x2d115c={'anykz':'IMAGE','UNuEH':_0x1187a5(0xd3),'gCXqp':_0x1187a5(0xce),'IkGEs':'DOCUMENT','HurKq':_0x1187a5(0xd1)},_0x27eb26='0|1|4|3|2'[_0x1187a5(0xdd)]('|'),_0x22f341=0x0;while(!![]){switch(_0x27eb26[_0x22f341++]){case'0':_0x4a3b7e[_0x4a3b7e[_0x1187a5(0xd2)]=0x0]=_0x2d115c['anykz'];continue;case'1':_0x4a3b7e[_0x4a3b7e[_0x2d115c[_0x1187a5(0xd9)]]=0x1]=_0x2d115c[_0x1187a5(0xd9)];continue;case'2':_0x4a3b7e[_0x4a3b7e[_0x2d115c[_0x1187a5(0xcf)]]=0x4]=_0x2d115c[_0x1187a5(0xcf)];continue;case'3':_0x4a3b7e[_0x4a3b7e[_0x2d115c[_0x1187a5(0xd4)]]=0x3]=_0x2d115c['IkGEs'];continue;case'4':_0x4a3b7e[_0x4a3b7e[_0x2d115c[_0x1187a5(0xd0)]]=0x2]=_0x2d115c[_0x1187a5(0xd0)];continue;}break;}}(CacheFileType||(CacheFileType={})));function _0x12c8(){var _0x52b088=['OTHER','gCXqp','HurKq','AUDIO','IMAGE','VIDEO','IkGEs','636329zLvUtS','3173270evIJbq','56CHorpc','953790DwgbvE','UNuEH','3kJufjF','1438876RSFyCm','321345azFrbR','split','467928bXSdtb','54WYmwHo','876264YfyjEv'];_0x12c8=function(){return _0x52b088;};return _0x12c8();} \ No newline at end of file +function _0xd382(){var _0x10c2ba=['vYUpA','30EoYePl','5376000vDwHpn','1625514RnlHND','VIDEO','1943140XSOsPU','575447rYoqyp','1511960NNXxNI','split','DOCUMENT','gwRCI','1421700FRZnsS','TFNZm','AUDIO','104020qwDLuv','OTHER','2|3|0|1|4'];_0xd382=function(){return _0x10c2ba;};return _0xd382();}function _0x2034(_0x41cf7a,_0x18fd5e){var _0xd38288=_0xd382();return _0x2034=function(_0x203481,_0x3d077e){_0x203481=_0x203481-0x1d7;var _0x1b23d2=_0xd38288[_0x203481];return _0x1b23d2;},_0x2034(_0x41cf7a,_0x18fd5e);}(function(_0x37d3b8,_0x3a8f36){var _0x41cc54=_0x2034,_0x38cf8e=_0x37d3b8();while(!![]){try{var _0x1866e6=-parseInt(_0x41cc54(0x1dd))/0x1+parseInt(_0x41cc54(0x1e5))/0x2*(parseInt(_0x41cc54(0x1d8))/0x3)+-parseInt(_0x41cc54(0x1dc))/0x4+-parseInt(_0x41cc54(0x1de))/0x5+parseInt(_0x41cc54(0x1da))/0x6+parseInt(_0x41cc54(0x1e2))/0x7+parseInt(_0x41cc54(0x1d9))/0x8;if(_0x1866e6===_0x3a8f36)break;else _0x38cf8e['push'](_0x38cf8e['shift']());}catch(_0x3d3ef1){_0x38cf8e['push'](_0x38cf8e['shift']());}}}(_0xd382,0x49d9f));export var CacheFileType;(function(_0x8f35){var _0x3944a9=_0x2034,_0x2ccb55={'vYUpA':_0x3944a9(0x1e4),'gwRCI':_0x3944a9(0x1e0),'TFNZm':'IMAGE','TGqAa':_0x3944a9(0x1db),'OrEnj':_0x3944a9(0x1e6)},_0x3954ba=_0x3944a9(0x1e7)[_0x3944a9(0x1df)]('|'),_0x21fb63=0x0;while(!![]){switch(_0x3954ba[_0x21fb63++]){case'0':_0x8f35[_0x8f35[_0x2ccb55[_0x3944a9(0x1d7)]]=0x2]=_0x2ccb55[_0x3944a9(0x1d7)];continue;case'1':_0x8f35[_0x8f35[_0x3944a9(0x1e0)]=0x3]=_0x2ccb55[_0x3944a9(0x1e1)];continue;case'2':_0x8f35[_0x8f35[_0x2ccb55[_0x3944a9(0x1e3)]]=0x0]=_0x2ccb55[_0x3944a9(0x1e3)];continue;case'3':_0x8f35[_0x8f35[_0x2ccb55['TGqAa']]=0x1]=_0x3944a9(0x1db);continue;case'4':_0x8f35[_0x8f35['OTHER']=0x4]=_0x2ccb55['OrEnj'];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index d259caf7..1c37df9e 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x1c9102=_0x3ec8;(function(_0x5c59f1,_0x5cf118){const _0x486894=_0x3ec8,_0x536e94=_0x5c59f1();while(!![]){try{const _0x3082c2=parseInt(_0x486894(0x1fa))/0x1+parseInt(_0x486894(0x200))/0x2*(-parseInt(_0x486894(0x21b))/0x3)+-parseInt(_0x486894(0x1ea))/0x4+parseInt(_0x486894(0x1d6))/0x5+parseInt(_0x486894(0x202))/0x6+parseInt(_0x486894(0x206))/0x7*(-parseInt(_0x486894(0x1e4))/0x8)+parseInt(_0x486894(0x20e))/0x9;if(_0x3082c2===_0x5cf118)break;else _0x536e94['push'](_0x536e94['shift']());}catch(_0x50c04a){_0x536e94['push'](_0x536e94['shift']());}}}(_0x12e4,0xbf11c));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x1e44a5}from'node:fs';import _0xc13242 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';function _0x3ec8(_0x5e526f,_0x3c9358){const _0x12e402=_0x12e4();return _0x3ec8=function(_0x3ec825,_0x258e52){_0x3ec825=_0x3ec825-0x1d4;let _0x3fe486=_0x12e402[_0x3ec825];return _0x3fe486;},_0x3ec8(_0x5e526f,_0x3c9358);}function _0x12e4(){const _0x3da23e=['stat','UzLEM','1776icXnVh','EnYUn','RPS','KVtGM','视频信息','normal','text','GRDgr','PIC','sep','copyFile','ark','69295ahWoPa','EJLJM','获取视频封面失败,使用默认封面','normal2','rtAWJ','jpg','lLSTQ','获取视频信息失败','hzVTN','wbsdb','uPLYX','VIDEO','replace','screenshots','21968MXTrIU','face','TEXT','pGvSd','[包剪锤]','REPLY','5782004mBqEiG','kFdmT','FACE','toString','catch','width','FILE','MWHxv','ypaGK','stringify','ptt','FOGfE','join','height','图片信息','GYjkC','96244TYZJju','dice','unlink','gif','path','fDcAi','2060QXDQsd','wkOVJ','6645864CMVYkG','uploadFile','writeFile','[骰子]','2513ZVCaUd','Thumb','FwxcX','set','reply','PTT','then','markdown','23453532QUbNxp','文件异常,大小为0','getImageSize','ARK','NObFO','AsUbA','MARKDOWN','notAt','jdMqk','pdfbW','语音转换失败,\x20请检查语音文件是否正常'];_0x12e4=function(){return _0x3da23e;};return _0x12e4();}import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';export class SendMsgElementConstructor{static[_0x1c9102(0x221)](_0x1a5ca9){const _0x41d4a4=_0x1c9102;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x1a5ca9,'atType':AtType[_0x41d4a4(0x215)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x19ad72,_0x38d7ee,_0x52b830,_0x3a9016){const _0x36efa6=_0x1c9102;return{'elementType':ElementType[_0x36efa6(0x1e6)],'elementId':'','textElement':{'content':'@'+_0x3a9016,'atType':_0x52b830,'atUid':_0x19ad72,'atTinyId':'','atNtUid':_0x38d7ee}};}static[_0x1c9102(0x20a)](_0x13744b,_0x51ceaa,_0xde672,_0x4d6188){const _0x29ec9d=_0x1c9102;return{'elementType':ElementType[_0x29ec9d(0x1e9)],'elementId':'','replyElement':{'replayMsgSeq':_0x13744b,'replayMsgId':_0x51ceaa,'senderUin':_0xde672,'senderUinStr':_0x4d6188}};}static async['pic'](_0x5ec640,_0x58353d='',_0x4c6588=0x0){const _0x536bf6=_0x1c9102,_0x4fbe23={'wkOVJ':function(_0x267e86,_0x31ee2c){return _0x267e86===_0x31ee2c;},'GRDgr':_0x536bf6(0x20f),'FOGfE':function(_0x578f74,_0x35152b){return _0x578f74(_0x35152b);},'dRvho':_0x536bf6(0x1f8)},{md5:_0x1c5447,fileName:_0x49442e,path:_0x5411f0,fileSize:_0x5686b7}=await NTQQFileApi[_0x536bf6(0x203)](_0x5ec640,ElementType['PIC'],_0x4c6588);if(_0x4fbe23[_0x536bf6(0x201)](_0x5686b7,0x0))throw _0x4fbe23[_0x536bf6(0x222)];const _0x4e8dfb=await NTQQFileApi[_0x536bf6(0x210)](_0x5ec640),_0x98fec7={'md5HexStr':_0x1c5447,'fileSize':_0x5686b7['toString'](),'picWidth':_0x4e8dfb?.[_0x536bf6(0x1ef)],'picHeight':_0x4e8dfb?.[_0x536bf6(0x1f7)],'fileName':_0x49442e,'sourcePath':_0x5411f0,'original':!![],'picType':_0x4fbe23[_0x536bf6(0x1f5)](isGIF,_0x5ec640)?PicType[_0x536bf6(0x1fd)]:PicType[_0x536bf6(0x1db)],'picSubType':_0x4c6588,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x58353d};return logDebug(_0x4fbe23['dRvho'],_0x98fec7),{'elementType':ElementType[_0x536bf6(0x223)],'elementId':'','picElement':_0x98fec7};}static async['file'](_0xd2db22,_0x288e75=''){const _0x5b563f=_0x1c9102,_0x2e59ec={'hzVTN':function(_0x5ae302,_0x45496f){return _0x5ae302===_0x45496f;},'NObFO':_0x5b563f(0x20f),'wbsdb':function(_0xc683c3,_0x21ec10){return _0xc683c3||_0x21ec10;}},{md5:_0x8eab5b,fileName:_0x2a2904,path:_0x1d1f73,fileSize:_0x2110dc}=await NTQQFileApi[_0x5b563f(0x203)](_0xd2db22,ElementType[_0x5b563f(0x1f0)]);if(_0x2e59ec[_0x5b563f(0x1de)](_0x2110dc,0x0))throw _0x2e59ec[_0x5b563f(0x212)];const _0x5e3014={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x2e59ec[_0x5b563f(0x1df)](_0x288e75,_0x2a2904),'filePath':_0x1d1f73,'fileSize':_0x2110dc[_0x5b563f(0x1ed)]()}};return _0x5e3014;}static async['video'](_0xe1c204,_0x226ab8='',_0x28dae6=''){const _0x2e037c=_0x1c9102,_0x4dc4fa={'EnYUn':function(_0x205af0,_0x18648e){return _0x205af0(_0x18648e);},'QpoYy':function(_0x85c19d,_0x4b8ef4,_0x5c924a){return _0x85c19d(_0x4b8ef4,_0x5c924a);},'XLXDo':_0x2e037c(0x1d8),'fDcAi':'end','ypaGK':function(_0x4471f0,_0x2a5230){return _0x4471f0+_0x2a5230;},'FwxcX':function(_0x4c3a22,_0x16c6de){return _0x4c3a22===_0x16c6de;},'GYjkC':function(_0x1db8c1,_0x22d56f){return _0x1db8c1(_0x22d56f);},'AsUbA':'mp4','kFdmT':function(_0x2e3d4b,_0x23fcdc,_0x283f2a){return _0x2e3d4b(_0x23fcdc,_0x283f2a);},'jdMqk':_0x2e037c(0x21f),'pdfbW':function(_0xcad02f,_0x21fa98,_0x572721){return _0xcad02f(_0x21fa98,_0x572721);},'BLHgN':function(_0x597d63,_0x2d7bdf){return _0x597d63||_0x2d7bdf;},'UzLEM':function(_0x54e814,_0x16331b){return _0x54e814+_0x16331b;}},{fileName:_0x538f02,path:_0x3f49a5,fileSize:_0x369b9c,md5:_0x44f0d1}=await NTQQFileApi[_0x2e037c(0x203)](_0xe1c204,ElementType[_0x2e037c(0x1e1)]);if(_0x4dc4fa[_0x2e037c(0x208)](_0x369b9c,0x0))throw'文件异常,大小为0';const _0x478a9b=_0x4dc4fa[_0x2e037c(0x1f9)](require,_0x2e037c(0x1fe));let _0x377e05=_0x3f49a5[_0x2e037c(0x1e2)](_0x478a9b[_0x2e037c(0x224)]+'Ori'+_0x478a9b[_0x2e037c(0x224)],_0x478a9b[_0x2e037c(0x224)]+_0x2e037c(0x207)+_0x478a9b[_0x2e037c(0x224)]);_0x377e05=_0x478a9b['dirname'](_0x377e05);let _0x2cd5dd={'width':0x780,'height':0x438,'time':0xf,'format':_0x4dc4fa[_0x2e037c(0x213)],'size':_0x369b9c,'filePath':_0xe1c204};try{_0x2cd5dd=await _0x4dc4fa[_0x2e037c(0x1f9)](getVideoInfo,_0x3f49a5),_0x4dc4fa[_0x2e037c(0x1eb)](logDebug,_0x4dc4fa[_0x2e037c(0x216)],_0x2cd5dd);}catch(_0x4bd73f){_0x4dc4fa[_0x2e037c(0x217)](logError,_0x2e037c(0x1dd),_0x4bd73f);}const _0x177e82=new Promise((_0x1a3f50,_0x22addd)=>{const _0x401c3d=_0x2e037c,_0x14a5dd={'XknuP':function(_0x33d492,_0x414967){const _0x1fde8a=_0x3ec8;return _0x4dc4fa[_0x1fde8a(0x21c)](_0x33d492,_0x414967);},'pAfrn':function(_0x528fb1,_0x112bf7,_0xcc8960){return _0x4dc4fa['QpoYy'](_0x528fb1,_0x112bf7,_0xcc8960);},'uPLYX':_0x4dc4fa['XLXDo']},_0x2ff755=_0x44f0d1+'_0.png',_0x1b2224=_0x478a9b[_0x401c3d(0x1f6)](_0x377e05,_0x2ff755);_0x4dc4fa[_0x401c3d(0x21c)](_0xc13242,_0xe1c204)['on'](_0x4dc4fa[_0x401c3d(0x1ff)],()=>{})['on']('error',_0x3cb5f0=>{const _0x317e55=_0x401c3d,_0x919f60={'rtAWJ':function(_0x303681,_0x2df939){return _0x14a5dd['XknuP'](_0x303681,_0x2df939);}};_0x14a5dd['pAfrn'](logDebug,_0x14a5dd[_0x317e55(0x1e0)],_0x3cb5f0),_0x28dae6?_0x1e44a5[_0x317e55(0x1d4)](_0x28dae6,_0x1b2224)['then'](()=>{const _0x5080ef=_0x317e55;_0x919f60[_0x5080ef(0x1da)](_0x1a3f50,_0x1b2224);})['catch'](_0x22addd):_0x1e44a5[_0x317e55(0x204)](_0x1b2224,defaultVideoThumb)[_0x317e55(0x20c)](()=>{_0x1a3f50(_0x1b2224);})[_0x317e55(0x1ee)](_0x22addd);})[_0x401c3d(0x1e3)]({'timestamps':[0x0],'filename':_0x2ff755,'folder':_0x377e05,'size':_0x4dc4fa[_0x401c3d(0x1f2)](_0x4dc4fa[_0x401c3d(0x1f2)](_0x2cd5dd[_0x401c3d(0x1ef)],'x'),_0x2cd5dd['height'])})['on'](_0x4dc4fa[_0x401c3d(0x1ff)],()=>{const _0x138c58=_0x401c3d;_0x4dc4fa[_0x138c58(0x21c)](_0x1a3f50,_0x1b2224);});}),_0x37fecf=new Map(),_0x3a8a54=await _0x177e82,_0xf1489e=(await _0x1e44a5[_0x2e037c(0x219)](_0x3a8a54))['size'];_0x37fecf[_0x2e037c(0x209)](0x0,_0x3a8a54);const _0x8d0bb4=await _0x4dc4fa[_0x2e037c(0x21c)](calculateFileMD5,_0x3a8a54),_0x4144c4={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x4dc4fa['BLHgN'](_0x226ab8,_0x538f02),'filePath':_0x3f49a5,'videoMd5':_0x44f0d1,'thumbMd5':_0x8d0bb4,'fileTime':_0x2cd5dd['time'],'thumbPath':_0x37fecf,'thumbSize':_0xf1489e,'thumbWidth':_0x2cd5dd[_0x2e037c(0x1ef)],'thumbHeight':_0x2cd5dd['height'],'fileSize':_0x4dc4fa[_0x2e037c(0x21a)]('',_0x369b9c)}};return _0x4144c4;}static async[_0x1c9102(0x1f4)](_0x300822){const _0x607b9c=_0x1c9102,_0x348330={'UOfQV':function(_0x2a6a93,_0x241af8){return _0x2a6a93(_0x241af8);},'GnZkz':_0x607b9c(0x218),'MWHxv':_0x607b9c(0x20f),'EJLJM':function(_0x2f780d,_0xba1633){return _0x2f780d||_0xba1633;}},{converted:_0x29243a,path:_0x29ba32,duration:_0x4388b2}=await _0x348330['UOfQV'](encodeSilk,_0x300822);if(!_0x29ba32)throw _0x348330['GnZkz'];const {md5:_0x397816,fileName:_0x4822f1,path:_0xf07d57,fileSize:_0x18a545}=await NTQQFileApi[_0x607b9c(0x203)](_0x29ba32,ElementType['PTT']);if(_0x18a545===0x0)throw _0x348330[_0x607b9c(0x1f1)];return _0x29243a&&_0x1e44a5[_0x607b9c(0x1fc)](_0x29ba32)[_0x607b9c(0x20c)](),{'elementType':ElementType[_0x607b9c(0x20b)],'elementId':'','pttElement':{'fileName':_0x4822f1,'filePath':_0xf07d57,'md5HexStr':_0x397816,'fileSize':_0x18a545,'duration':_0x348330[_0x607b9c(0x1d7)](_0x4388b2,0x1),'formatType':0x1,'voiceType':0x1,'voiceChangeType':0x0,'canConvert2Text':!![],'waveAmplitudes':[0x0,0x12,0x9,0x17,0x10,0x11,0x10,0xf,0x2c,0x11,0x18,0x14,0xe,0xf,0x11],'fileSubId':'','playState':0x1,'autoConvertText':0x0}};}static[_0x1c9102(0x1e5)](_0xea2b0e){const _0x561cf1=_0x1c9102,_0x3740c1={'lLSTQ':function(_0x383de1,_0x28a63c){return _0x383de1<_0x28a63c;}};return{'elementType':ElementType[_0x561cf1(0x1ec)],'elementId':'','faceElement':{'faceIndex':_0xea2b0e,'faceType':_0x3740c1[_0x561cf1(0x1dc)](_0xea2b0e,0xde)?FaceType[_0x561cf1(0x220)]:FaceType[_0x561cf1(0x1d9)]}};}static[_0x1c9102(0x1fb)](_0x3cd1c7){const _0xbd4544=_0x1c9102;return{'elementType':ElementType[_0xbd4544(0x1ec)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0xbd4544(0x1fb)],'faceType':FaceType['dice'],'faceText':_0xbd4544(0x205),'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x4ffcd7){const _0x450786=_0x1c9102;return{'elementType':ElementType[_0x450786(0x1ec)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x450786(0x21d)],'faceText':_0x450786(0x1e8),'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x1c9102(0x1d5)](_0x285b50){const _0x19832d=_0x1c9102,_0x517a2e={'KVtGM':function(_0x54ef7f,_0x45ea28){return _0x54ef7f!==_0x45ea28;},'pGvSd':'string'};return _0x517a2e[_0x19832d(0x21e)](typeof _0x285b50,_0x517a2e[_0x19832d(0x1e7)])&&(_0x285b50=JSON[_0x19832d(0x1f3)](_0x285b50)),{'elementType':ElementType[_0x19832d(0x211)],'elementId':'','arkElement':{'bytesData':_0x285b50,'linkInfo':null,'subElementType':null}};}static[_0x1c9102(0x20d)](_0x4566b8){const _0x3ab7a1=_0x1c9102;return{'elementType':ElementType[_0x3ab7a1(0x214)],'elementId':'','markdownElement':{'content':_0x4566b8}};}} \ No newline at end of file +const _0x5294ca=_0x18e6;(function(_0x2d8590,_0x446afd){const _0x18e06e=_0x18e6,_0x7505c8=_0x2d8590();while(!![]){try{const _0x141aa6=parseInt(_0x18e06e(0x134))/0x1*(parseInt(_0x18e06e(0x10b))/0x2)+parseInt(_0x18e06e(0x118))/0x3*(-parseInt(_0x18e06e(0x11a))/0x4)+-parseInt(_0x18e06e(0x109))/0x5+-parseInt(_0x18e06e(0x112))/0x6*(-parseInt(_0x18e06e(0x132))/0x7)+-parseInt(_0x18e06e(0xfb))/0x8+-parseInt(_0x18e06e(0xfe))/0x9+parseInt(_0x18e06e(0x127))/0xa;if(_0x141aa6===_0x446afd)break;else _0x7505c8['push'](_0x7505c8['shift']());}catch(_0x56f768){_0x7505c8['push'](_0x7505c8['shift']());}}}(_0x351b,0xca069));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';function _0x351b(){const _0x6b943c=['4151295nYCLSj','Hjwbk','18brkMAu','time','AfzYK','Ori','PIC','BHYQr','CGgjz','234hCbrBO','replace','VIDEO','markdown','PTT','width','3210558VtmdXk','FACE','4IVdNsQ','LOHZz','end','Thumb','uploadFile','语音转换失败,\x20请检查语音文件是否正常','获取视频信息失败','dXWYb','getImageSize','video','normal','join','normal2','27748070uwOyZh','then','copyFile','face','coJQO','cLYMb','FILE','catch','EEHHs','视频信息','vzOqM','105959ZxWfip','aoQJA','29881JkJouT','jlleq','vfzxE','height','TEXT','notAt','MARKDOWN','rcfhh','stringify','文件异常,大小为0','mp4','text','ark','JrFvM','path','error','TcEmn','snNjF','string','ptt','jpg','_0.png','获取视频封面失败,使用默认封面','iOhgo','writeFile','screenshots','[骰子]','4903016inUSnK','dice','set','2639340fJkPVu','XLNFE','ejXwy','图片信息','file','sep','toString','RPS','gif','dirname','mucvy'];_0x351b=function(){return _0x6b943c;};return _0x351b();}import{promises as _0x1ac955}from'node:fs';import _0xebb3d2 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';function _0x18e6(_0x32258a,_0x5c46c7){const _0x351bb4=_0x351b();return _0x18e6=function(_0x18e693,_0x540fe9){_0x18e693=_0x18e693-0xed;let _0x4105af=_0x351bb4[_0x18e693];return _0x4105af;},_0x18e6(_0x32258a,_0x5c46c7);}export class SendMsgElementConstructor{static[_0x5294ca(0x13f)](_0x20ecd2){const _0x360791=_0x5294ca;return{'elementType':ElementType[_0x360791(0x138)],'elementId':'','textElement':{'content':_0x20ecd2,'atType':AtType[_0x360791(0x139)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x52642d,_0x3f00a2,_0x4f0b79,_0x50d213){const _0x1e0cf0=_0x5294ca;return{'elementType':ElementType[_0x1e0cf0(0x138)],'elementId':'','textElement':{'content':'@'+_0x50d213,'atType':_0x4f0b79,'atUid':_0x52642d,'atTinyId':'','atNtUid':_0x3f00a2}};}static['reply'](_0x5e2854,_0x54d363,_0x55cbab,_0xc60292){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x5e2854,'replayMsgId':_0x54d363,'senderUin':_0x55cbab,'senderUinStr':_0xc60292}};}static async['pic'](_0x339774,_0x3636ef='',_0xd3e49c=0x0){const _0x4fd27c=_0x5294ca,_0x3f7189={'mucvy':function(_0x27a557,_0x2740a6){return _0x27a557===_0x2740a6;},'rcfhh':_0x4fd27c(0x13d),'jlJIe':function(_0x58eb69,_0x580c4c){return _0x58eb69(_0x580c4c);},'XLNFE':function(_0xbea493,_0x14fc17,_0x1abea2){return _0xbea493(_0x14fc17,_0x1abea2);}},{md5:_0x312b99,fileName:_0xa87643,path:_0x4586a9,fileSize:_0x107b2d}=await NTQQFileApi['uploadFile'](_0x339774,ElementType[_0x4fd27c(0x10f)],_0xd3e49c);if(_0x3f7189[_0x4fd27c(0x108)](_0x107b2d,0x0))throw _0x3f7189[_0x4fd27c(0x13b)];const _0x3d7c8b=await NTQQFileApi[_0x4fd27c(0x122)](_0x339774),_0x25325d={'md5HexStr':_0x312b99,'fileSize':_0x107b2d[_0x4fd27c(0x104)](),'picWidth':_0x3d7c8b?.[_0x4fd27c(0x117)],'picHeight':_0x3d7c8b?.[_0x4fd27c(0x137)],'fileName':_0xa87643,'sourcePath':_0x4586a9,'original':!![],'picType':_0x3f7189['jlJIe'](isGIF,_0x339774)?PicType[_0x4fd27c(0x106)]:PicType[_0x4fd27c(0xf4)],'picSubType':_0xd3e49c,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x3636ef};return _0x3f7189[_0x4fd27c(0xff)](logDebug,_0x4fd27c(0x101),_0x25325d),{'elementType':ElementType[_0x4fd27c(0x10f)],'elementId':'','picElement':_0x25325d};}static async[_0x5294ca(0x102)](_0x5bbb6a,_0x23dc64=''){const _0x49fd8b=_0x5294ca,_0x2dc23c={'KaaDl':function(_0x57d3a4,_0x2cd101){return _0x57d3a4||_0x2cd101;}},{md5:_0x88a9b8,fileName:_0x6e8e7a,path:_0x9ae96a,fileSize:_0x40ddbd}=await NTQQFileApi[_0x49fd8b(0x11e)](_0x5bbb6a,ElementType[_0x49fd8b(0x12d)]);if(_0x40ddbd===0x0)throw _0x49fd8b(0x13d);const _0x1004e7={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x2dc23c['KaaDl'](_0x23dc64,_0x6e8e7a),'filePath':_0x9ae96a,'fileSize':_0x40ddbd[_0x49fd8b(0x104)]()}};return _0x1004e7;}static async[_0x5294ca(0x123)](_0x5693e7,_0x29c2f8='',_0x5ae564=''){const _0x254cf4=_0x5294ca,_0x411d51={'LOHZz':function(_0x5f2f68,_0x3b60d8){return _0x5f2f68(_0x3b60d8);},'CGgjz':_0x254cf4(0xf6),'EEHHs':function(_0x38c522,_0x2ba941){return _0x38c522(_0x2ba941);},'dXWYb':_0x254cf4(0x11c),'jlleq':_0x254cf4(0xef),'BHYQr':function(_0x4bea7e,_0x7a6ce4){return _0x4bea7e+_0x7a6ce4;},'Hjwbk':function(_0xaf7ac0,_0x1c0413){return _0xaf7ac0===_0x1c0413;},'TcEmn':_0x254cf4(0x13d),'vfzxE':_0x254cf4(0xee),'ejXwy':_0x254cf4(0x13e),'iOhgo':function(_0x4e8aa6,_0x3730ae,_0x39cbc4){return _0x4e8aa6(_0x3730ae,_0x39cbc4);},'cLYMb':_0x254cf4(0x120)},{fileName:_0x23e46d,path:_0x46c7ae,fileSize:_0x3c905e,md5:_0x591f28}=await NTQQFileApi[_0x254cf4(0x11e)](_0x5693e7,ElementType[_0x254cf4(0x114)]);if(_0x411d51[_0x254cf4(0x10a)](_0x3c905e,0x0))throw _0x411d51[_0x254cf4(0xf0)];const _0x270fc6=_0x411d51[_0x254cf4(0x11b)](require,_0x411d51[_0x254cf4(0x136)]);let _0x1d83f5=_0x46c7ae[_0x254cf4(0x113)](_0x270fc6[_0x254cf4(0x103)]+_0x254cf4(0x10e)+_0x270fc6[_0x254cf4(0x103)],_0x270fc6[_0x254cf4(0x103)]+_0x254cf4(0x11d)+_0x270fc6['sep']);_0x1d83f5=_0x270fc6[_0x254cf4(0x107)](_0x1d83f5);let _0x55aaea={'width':0x780,'height':0x438,'time':0xf,'format':_0x411d51[_0x254cf4(0x100)],'size':_0x3c905e,'filePath':_0x5693e7};try{_0x55aaea=await _0x411d51[_0x254cf4(0x12f)](getVideoInfo,_0x46c7ae),_0x411d51[_0x254cf4(0xf7)](logDebug,_0x254cf4(0x130),_0x55aaea);}catch(_0x4b6f2f){_0x411d51[_0x254cf4(0xf7)](logError,_0x411d51[_0x254cf4(0x12c)],_0x4b6f2f);}const _0x4cd681=new Promise((_0x3701e1,_0x5f2fce)=>{const _0x2e7932=_0x254cf4,_0x355e91={'JrFvM':function(_0x2b180d,_0x2c042d){const _0x58cdf5=_0x18e6;return _0x411d51[_0x58cdf5(0x11b)](_0x2b180d,_0x2c042d);}},_0x59736a=_0x591f28+_0x2e7932(0xf5),_0x1f967d=_0x270fc6[_0x2e7932(0x125)](_0x1d83f5,_0x59736a);_0x411d51[_0x2e7932(0x12f)](_0xebb3d2,_0x5693e7)['on'](_0x411d51[_0x2e7932(0x121)],()=>{})['on'](_0x411d51[_0x2e7932(0x135)],_0x59ead4=>{const _0x40ad1c=_0x2e7932,_0x29d7d0={'vzOqM':function(_0x229bf5,_0xaa812c){const _0x307544=_0x18e6;return _0x411d51[_0x307544(0x11b)](_0x229bf5,_0xaa812c);}};logDebug(_0x411d51[_0x40ad1c(0x111)],_0x59ead4),_0x5ae564?_0x1ac955[_0x40ad1c(0x129)](_0x5ae564,_0x1f967d)['then'](()=>{const _0x1211a1=_0x40ad1c;_0x29d7d0[_0x1211a1(0x131)](_0x3701e1,_0x1f967d);})[_0x40ad1c(0x12e)](_0x5f2fce):_0x1ac955[_0x40ad1c(0xf8)](_0x1f967d,defaultVideoThumb)['then'](()=>{const _0x391c48=_0x40ad1c;_0x29d7d0[_0x391c48(0x131)](_0x3701e1,_0x1f967d);})[_0x40ad1c(0x12e)](_0x5f2fce);})[_0x2e7932(0xf9)]({'timestamps':[0x0],'filename':_0x59736a,'folder':_0x1d83f5,'size':_0x411d51[_0x2e7932(0x110)](_0x55aaea['width']+'x',_0x55aaea[_0x2e7932(0x137)])})['on'](_0x411d51[_0x2e7932(0x121)],()=>{const _0x51dd87=_0x2e7932;_0x355e91[_0x51dd87(0xed)](_0x3701e1,_0x1f967d);});}),_0x10848d=new Map(),_0x1ee739=await _0x4cd681,_0xf7560a=(await _0x1ac955['stat'](_0x1ee739))['size'];_0x10848d[_0x254cf4(0xfd)](0x0,_0x1ee739);const _0x5a88cc=await calculateFileMD5(_0x1ee739),_0x4cb28e={'elementType':ElementType[_0x254cf4(0x114)],'elementId':'','videoElement':{'fileName':_0x29c2f8||_0x23e46d,'filePath':_0x46c7ae,'videoMd5':_0x591f28,'thumbMd5':_0x5a88cc,'fileTime':_0x55aaea[_0x254cf4(0x10c)],'thumbPath':_0x10848d,'thumbSize':_0xf7560a,'thumbWidth':_0x55aaea['width'],'thumbHeight':_0x55aaea['height'],'fileSize':''+_0x3c905e}};return _0x4cb28e;}static async[_0x5294ca(0xf3)](_0x4ce23c){const _0x6f09f1=_0x5294ca,_0x5c6b67={'AfzYK':function(_0x2dc061,_0x2a666f){return _0x2dc061(_0x2a666f);},'HxICh':_0x6f09f1(0x11f),'coJQO':function(_0x629cd1,_0x419a4e){return _0x629cd1===_0x419a4e;},'aiYXW':_0x6f09f1(0x13d)},{converted:_0x5bcf30,path:_0x53fc3b,duration:_0x118c67}=await _0x5c6b67[_0x6f09f1(0x10d)](encodeSilk,_0x4ce23c);if(!_0x53fc3b)throw _0x5c6b67['HxICh'];const {md5:_0x33bab4,fileName:_0x323d51,path:_0x1d2af8,fileSize:_0x421e14}=await NTQQFileApi[_0x6f09f1(0x11e)](_0x53fc3b,ElementType[_0x6f09f1(0x116)]);if(_0x5c6b67[_0x6f09f1(0x12b)](_0x421e14,0x0))throw _0x5c6b67['aiYXW'];return _0x5bcf30&&_0x1ac955['unlink'](_0x53fc3b)[_0x6f09f1(0x128)](),{'elementType':ElementType[_0x6f09f1(0x116)],'elementId':'','pttElement':{'fileName':_0x323d51,'filePath':_0x1d2af8,'md5HexStr':_0x33bab4,'fileSize':_0x421e14,'duration':_0x118c67||0x1,'formatType':0x1,'voiceType':0x1,'voiceChangeType':0x0,'canConvert2Text':!![],'waveAmplitudes':[0x0,0x12,0x9,0x17,0x10,0x11,0x10,0xf,0x2c,0x11,0x18,0x14,0xe,0xf,0x11],'fileSubId':'','playState':0x1,'autoConvertText':0x0}};}static[_0x5294ca(0x12a)](_0x1bf5f5){const _0x2921d1=_0x5294ca;return{'elementType':ElementType[_0x2921d1(0x119)],'elementId':'','faceElement':{'faceIndex':_0x1bf5f5,'faceType':_0x1bf5f5<0xde?FaceType[_0x2921d1(0x124)]:FaceType[_0x2921d1(0x126)]}};}static[_0x5294ca(0xfc)](_0x525fa0){const _0x1ab916=_0x5294ca,_0x286f4e={'aoQJA':_0x1ab916(0xfa)};return{'elementType':ElementType[_0x1ab916(0x119)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x1ab916(0xfc)],'faceType':FaceType[_0x1ab916(0xfc)],'faceText':_0x286f4e[_0x1ab916(0x133)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x1264c2){const _0x1956bc=_0x5294ca,_0x5b3936={'snNjF':'[包剪锤]'};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x1956bc(0x105)],'faceText':_0x5b3936[_0x1956bc(0xf1)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5294ca(0x140)](_0x2f0741){const _0xe0c16b=_0x5294ca,_0x536daa={'NskSF':function(_0x3e4aeb,_0x4bc036){return _0x3e4aeb!==_0x4bc036;},'zzfOx':_0xe0c16b(0xf2)};return _0x536daa['NskSF'](typeof _0x2f0741,_0x536daa['zzfOx'])&&(_0x2f0741=JSON[_0xe0c16b(0x13c)](_0x2f0741)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x2f0741,'linkInfo':null,'subElementType':null}};}static[_0x5294ca(0x115)](_0x1e9934){const _0xce017d=_0x5294ca;return{'elementType':ElementType[_0xce017d(0x13a)],'elementId':'','markdownElement':{'content':_0x1e9934}};}} \ No newline at end of file diff --git a/src/core.lib/src/entities/group.js b/src/core.lib/src/entities/group.js index ea6fbbd8..95d39779 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x7749b4,_0x1c9be4){var _0x1d5029=_0x3385,_0x7421dd=_0x7749b4();while(!![]){try{var _0x536ce4=parseInt(_0x1d5029(0x1d3))/0x1+parseInt(_0x1d5029(0x1d7))/0x2*(parseInt(_0x1d5029(0x1d2))/0x3)+-parseInt(_0x1d5029(0x1db))/0x4+-parseInt(_0x1d5029(0x1d5))/0x5+parseInt(_0x1d5029(0x1dd))/0x6*(parseInt(_0x1d5029(0x1d6))/0x7)+parseInt(_0x1d5029(0x1dc))/0x8+parseInt(_0x1d5029(0x1cf))/0x9;if(_0x536ce4===_0x1c9be4)break;else _0x7421dd['push'](_0x7421dd['shift']());}catch(_0x36e53d){_0x7421dd['push'](_0x7421dd['shift']());}}}(_0x21e4,0xe9437));export var GroupMemberRole;function _0x3385(_0xf46a60,_0x4e5ee7){var _0x21e489=_0x21e4();return _0x3385=function(_0x338516,_0x5b7ac1){_0x338516=_0x338516-0x1cf;var _0x42ba7e=_0x21e489[_0x338516];return _0x42ba7e;},_0x3385(_0xf46a60,_0x4e5ee7);}(function(_0xa1b96a){var _0x1ed765=_0x3385,_0x2ca72a={'EONfr':_0x1ed765(0x1d8),'ssoHQ':'admin','MeZzr':_0x1ed765(0x1d4)};_0xa1b96a[_0xa1b96a[_0x2ca72a[_0x1ed765(0x1da)]]=0x2]=_0x2ca72a[_0x1ed765(0x1da)],_0xa1b96a[_0xa1b96a[_0x1ed765(0x1d0)]=0x3]=_0x2ca72a[_0x1ed765(0x1d1)],_0xa1b96a[_0xa1b96a[_0x1ed765(0x1d4)]=0x4]=_0x2ca72a[_0x1ed765(0x1d9)];}(GroupMemberRole||(GroupMemberRole={})));function _0x21e4(){var _0x15a8ee=['ssoHQ','686097ddkTAV','262742qpWfeI','owner','6656460eTjbDb','1483167qjAgJM','10uqSyfv','normal','MeZzr','EONfr','5770960gVzoIC','6652192GgzwKH','18uVsrxt','7704675vqscgO','admin'];_0x21e4=function(){return _0x15a8ee;};return _0x21e4();} \ No newline at end of file +(function(_0x386120,_0x105f2b){var _0x34ddc1=_0x2238,_0x29bd56=_0x386120();while(!![]){try{var _0x529ddc=-parseInt(_0x34ddc1(0x12b))/0x1*(parseInt(_0x34ddc1(0x130))/0x2)+-parseInt(_0x34ddc1(0x129))/0x3+parseInt(_0x34ddc1(0x12a))/0x4+parseInt(_0x34ddc1(0x127))/0x5+-parseInt(_0x34ddc1(0x12e))/0x6*(parseInt(_0x34ddc1(0x128))/0x7)+parseInt(_0x34ddc1(0x12c))/0x8+parseInt(_0x34ddc1(0x131))/0x9;if(_0x529ddc===_0x105f2b)break;else _0x29bd56['push'](_0x29bd56['shift']());}catch(_0x27152c){_0x29bd56['push'](_0x29bd56['shift']());}}}(_0x45dc,0x3935c));export var GroupMemberRole;function _0x45dc(){var _0x166830=['110XezFKI','1361700OaksNf','normal','admin','HiLQR','1463780exYTfY','2343607gPcgho','351828RnNnVy','1275448NjsIDS','7405oACyJm','2646128KvPQax','ylhwz','6VpgXMQ','owner'];_0x45dc=function(){return _0x166830;};return _0x45dc();}function _0x2238(_0x3186f8,_0x3b4202){var _0x45dce4=_0x45dc();return _0x2238=function(_0x22382a,_0x4828f0){_0x22382a=_0x22382a-0x125;var _0x3ce346=_0x45dce4[_0x22382a];return _0x3ce346;},_0x2238(_0x3186f8,_0x3b4202);}(function(_0x32c10b){var _0x28ab73=_0x2238,_0x4f3ac8={'HiLQR':_0x28ab73(0x132),'YxmHs':_0x28ab73(0x125),'ylhwz':_0x28ab73(0x12f)};_0x32c10b[_0x32c10b[_0x4f3ac8[_0x28ab73(0x126)]]=0x2]=_0x4f3ac8['HiLQR'],_0x32c10b[_0x32c10b['admin']=0x3]=_0x4f3ac8['YxmHs'],_0x32c10b[_0x32c10b[_0x4f3ac8[_0x28ab73(0x12d)]]=0x4]=_0x4f3ac8['ylhwz'];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/index.js b/src/core.lib/src/entities/index.js index ddc0bed9..b57e9000 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x23e59d,_0x4e6cae){var _0x49fe9d=_0x4c4a,_0x35d0a4=_0x23e59d();while(!![]){try{var _0x47d3b7=-parseInt(_0x49fe9d(0x12e))/0x1*(parseInt(_0x49fe9d(0x132))/0x2)+parseInt(_0x49fe9d(0x130))/0x3*(-parseInt(_0x49fe9d(0x137))/0x4)+parseInt(_0x49fe9d(0x138))/0x5*(-parseInt(_0x49fe9d(0x135))/0x6)+parseInt(_0x49fe9d(0x12f))/0x7*(-parseInt(_0x49fe9d(0x134))/0x8)+parseInt(_0x49fe9d(0x136))/0x9+parseInt(_0x49fe9d(0x133))/0xa*(parseInt(_0x49fe9d(0x139))/0xb)+parseInt(_0x49fe9d(0x131))/0xc;if(_0x47d3b7===_0x4e6cae)break;else _0x35d0a4['push'](_0x35d0a4['shift']());}catch(_0x18e913){_0x35d0a4['push'](_0x35d0a4['shift']());}}}(_0xfcf6,0xc2f40));function _0x4c4a(_0x59d1d8,_0x27c5b4){var _0xfcf634=_0xfcf6();return _0x4c4a=function(_0x4c4a6f,_0xeba65d){_0x4c4a6f=_0x4c4a6f-0x12e;var _0x54fa05=_0xfcf634[_0x4c4a6f];return _0x54fa05;},_0x4c4a(_0x59d1d8,_0x27c5b4);}export*from'./user';function _0xfcf6(){var _0x391e9f=['19624nGjVaF','1670935BrwsEF','121rLBHRa','1zlyTsn','21UtcJhR','465OJVyei','28808748OelcOo','308510iBaSsI','595890DesFtH','1517640rsiiQz','24iAKsvJ','5065812xMPlAM'];_0xfcf6=function(){return _0x391e9f;};return _0xfcf6();}export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file +(function(_0x22ecf0,_0x5723c8){var _0x2f3ff3=_0x4d87,_0x2c7a01=_0x22ecf0();while(!![]){try{var _0x1ea440=parseInt(_0x2f3ff3(0x131))/0x1+parseInt(_0x2f3ff3(0x135))/0x2*(-parseInt(_0x2f3ff3(0x12f))/0x3)+-parseInt(_0x2f3ff3(0x132))/0x4+-parseInt(_0x2f3ff3(0x12d))/0x5*(-parseInt(_0x2f3ff3(0x133))/0x6)+parseInt(_0x2f3ff3(0x134))/0x7+-parseInt(_0x2f3ff3(0x130))/0x8+parseInt(_0x2f3ff3(0x12e))/0x9;if(_0x1ea440===_0x5723c8)break;else _0x2c7a01['push'](_0x2c7a01['shift']());}catch(_0x1fb045){_0x2c7a01['push'](_0x2c7a01['shift']());}}}(_0x30a5,0xb2f7d));export*from'./user';export*from'./group';function _0x4d87(_0x14e701,_0xdf7e2d){var _0x30a535=_0x30a5();return _0x4d87=function(_0x4d878d,_0x2ae83e){_0x4d878d=_0x4d878d-0x12d;var _0x41fe5c=_0x30a535[_0x4d878d];return _0x41fe5c;},_0x4d87(_0x14e701,_0xdf7e2d);}export*from'./msg';export*from'./notify';function _0x30a5(){var _0x2cba56=['372695gSjshJ','3499904FjeFcW','24eLJvmC','3694320RVjEAy','49332qqDKXp','1003965gulMNN','6053040LeRZpj','84BKSHah','620080ThaSgX'];_0x30a5=function(){return _0x2cba56;};return _0x30a5();}export*from'./cache';export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index 0260afe5..2d03d9df 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x341484=_0x48d8;(function(_0x11f307,_0x23b76b){var _0x308746=_0x48d8,_0x32af3c=_0x11f307();while(!![]){try{var _0x590a2a=-parseInt(_0x308746(0x19a))/0x1*(parseInt(_0x308746(0x19b))/0x2)+parseInt(_0x308746(0x197))/0x3*(-parseInt(_0x308746(0x1a8))/0x4)+-parseInt(_0x308746(0x1a3))/0x5*(-parseInt(_0x308746(0x1ac))/0x6)+parseInt(_0x308746(0x19c))/0x7+-parseInt(_0x308746(0x194))/0x8+parseInt(_0x308746(0x186))/0x9*(-parseInt(_0x308746(0x18c))/0xa)+parseInt(_0x308746(0x189))/0xb*(parseInt(_0x308746(0x18f))/0xc);if(_0x590a2a===_0x23b76b)break;else _0x32af3c['push'](_0x32af3c['shift']());}catch(_0x3e8a4c){_0x32af3c['push'](_0x32af3c['shift']());}}}(_0x1d31,0xa1850));export var ElementType;(function(_0x57ee57){var _0x3aa4b5=_0x48d8,_0x4bbd9f={'uTbGP':_0x3aa4b5(0x1b9),'ZWKAL':'PIC','GouZJ':'FILE','HsPkO':_0x3aa4b5(0x1a4),'Zzpvf':_0x3aa4b5(0x1a1),'IjMVj':_0x3aa4b5(0x1b3),'EqcsN':'REPLY','PWYxd':_0x3aa4b5(0x1aa),'VHkLd':_0x3aa4b5(0x18a)};_0x57ee57[_0x57ee57[_0x4bbd9f[_0x3aa4b5(0x193)]]=0x1]=_0x4bbd9f[_0x3aa4b5(0x193)],_0x57ee57[_0x57ee57[_0x4bbd9f[_0x3aa4b5(0x1b2)]]=0x2]='PIC',_0x57ee57[_0x57ee57[_0x3aa4b5(0x185)]=0x3]=_0x4bbd9f[_0x3aa4b5(0x1a9)],_0x57ee57[_0x57ee57[_0x3aa4b5(0x1a4)]=0x4]=_0x4bbd9f[_0x3aa4b5(0x191)],_0x57ee57[_0x57ee57[_0x4bbd9f['Zzpvf']]=0x5]=_0x4bbd9f[_0x3aa4b5(0x188)],_0x57ee57[_0x57ee57[_0x3aa4b5(0x1b3)]=0x6]=_0x4bbd9f['IjMVj'],_0x57ee57[_0x57ee57[_0x4bbd9f[_0x3aa4b5(0x1b1)]]=0x7]=_0x4bbd9f[_0x3aa4b5(0x1b1)],_0x57ee57[_0x57ee57[_0x4bbd9f['PWYxd']]=0xa]='ARK',_0x57ee57[_0x57ee57[_0x4bbd9f[_0x3aa4b5(0x1b7)]]=0xe]=_0x4bbd9f[_0x3aa4b5(0x1b7)];}(ElementType||(ElementType={})));export var PicType;(function(_0x598308){var _0x102545=_0x48d8,_0x17d8bf={'iVYxG':_0x102545(0x1bc),'IezfD':_0x102545(0x1af)};_0x598308[_0x598308[_0x102545(0x1bc)]=0x7d0]=_0x17d8bf[_0x102545(0x1b8)],_0x598308[_0x598308[_0x17d8bf[_0x102545(0x1a5)]]=0x3e8]='jpg';}(PicType||(PicType={})));export var PicSubType;function _0x48d8(_0x2cc26b,_0x2b2819){var _0x1d319c=_0x1d31();return _0x48d8=function(_0x48d83f,_0x5866f6){_0x48d83f=_0x48d83f-0x183;var _0xc2edb=_0x1d319c[_0x48d83f];return _0xc2edb;},_0x48d8(_0x2cc26b,_0x2b2819);}(function(_0x36a080){var _0x538488=_0x48d8,_0x5cb130={'ifUQN':_0x538488(0x199),'cptkY':_0x538488(0x1b0)};_0x36a080[_0x36a080[_0x5cb130[_0x538488(0x1a2)]]=0x0]=_0x5cb130['ifUQN'],_0x36a080[_0x36a080[_0x5cb130[_0x538488(0x187)]]=0x1]=_0x5cb130[_0x538488(0x187)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x244ab8){var _0x1659f9=_0x48d8,_0x3aa526={'ZDBsy':_0x1659f9(0x1b5),'IFbhW':_0x1659f9(0x1a7),'mnDFj':_0x1659f9(0x18b)};_0x244ab8[_0x244ab8['notAt']=0x0]=_0x3aa526['ZDBsy'],_0x244ab8[_0x244ab8[_0x3aa526[_0x1659f9(0x1ba)]]=0x1]=_0x3aa526[_0x1659f9(0x1ba)],_0x244ab8[_0x244ab8[_0x1659f9(0x18b)]=0x2]=_0x3aa526[_0x1659f9(0x1ab)];}(AtType||(AtType={})));function _0x1d31(){var _0x3378d6=['ARK','mnDFj','40626EzowUZ','YgJTR','https://multimedia.nt.qq.com.cn','jpg','face','EqcsN','ZWKAL','FACE','INVITE_NEW_MEMBER','notAt','RisWo','VHkLd','iVYxG','TEXT','IFbhW','Kitch','gif','https://gchat.qpic.cn','memberIncrease','FILE','9702zMXUng','cptkY','Zzpvf','275FJoLQi','MARKDOWN','atUser','1150ZdaqLZ','SQNbD','temp','529212eUeMWg','bWUYV','HsPkO','ban','uTbGP','1781360SXoMka','rtzdc','WnIXW','1934883NeFrxI','friend','normal','4911kkThfz','124GGPkou','5227642syBrwe','FzNtl','dice','group','RPS','VIDEO','ifUQN','80xKqrRh','PTT','IezfD','cHEnP','atAll','4baeQLi','GouZJ'];_0x1d31=function(){return _0x3378d6;};return _0x1d31();}export var ChatType;(function(_0xf594fb){var _0x180acc=_0x48d8,_0xa50278={'SQNbD':_0x180acc(0x198),'WnIXW':_0x180acc(0x19f),'RisWo':'temp'};_0xf594fb[_0xf594fb[_0xa50278['SQNbD']]=0x1]=_0xa50278[_0x180acc(0x18d)],_0xf594fb[_0xf594fb[_0xa50278[_0x180acc(0x196)]]=0x2]=_0x180acc(0x19f),_0xf594fb[_0xf594fb[_0x180acc(0x18e)]=0x64]=_0xa50278[_0x180acc(0x1b6)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x341484(0x183);export const IMAGE_HTTP_HOST_NT=_0x341484(0x1ae);export var GrayTipElementSubType;(function(_0x1ef0d2){var _0x4b1e8e=_0x341484,_0x36c046={'YgJTR':'INVITE_NEW_MEMBER','rtzdc':'MEMBER_NEW_TITLE'};_0x1ef0d2[_0x1ef0d2[_0x36c046[_0x4b1e8e(0x1ad)]]=0xc]=_0x4b1e8e(0x1b4),_0x1ef0d2[_0x1ef0d2[_0x36c046[_0x4b1e8e(0x195)]]=0x11]=_0x36c046['rtzdc'];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x3c9d79){var _0x1e2cdf=_0x341484,_0x57cc88={'mByCD':_0x1e2cdf(0x199),'bWUYV':'normal2','FzNtl':_0x1e2cdf(0x19e)};_0x3c9d79[_0x3c9d79['normal']=0x1]=_0x57cc88['mByCD'],_0x3c9d79[_0x3c9d79[_0x57cc88['bWUYV']]=0x2]=_0x57cc88[_0x1e2cdf(0x190)],_0x3c9d79[_0x3c9d79[_0x57cc88[_0x1e2cdf(0x19d)]]=0x3]=_0x57cc88[_0x1e2cdf(0x19d)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0xcfad71){var _0x29d374=_0x341484,_0x3c3689={'FkqkM':_0x29d374(0x19e),'VoWjE':_0x29d374(0x1a0)};_0xcfad71[_0xcfad71['dice']=0x166]=_0x3c3689['FkqkM'],_0xcfad71[_0xcfad71[_0x3c3689['VoWjE']]=0x167]=_0x29d374(0x1a0);}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x6853cf){var _0x292ad1=_0x341484,_0x5aac3c={'bBQNh':_0x292ad1(0x184),'Kitch':'kicked','cHEnP':_0x292ad1(0x192)};_0x6853cf[_0x6853cf[_0x5aac3c['bBQNh']]=0x1]=_0x5aac3c['bBQNh'],_0x6853cf[_0x6853cf[_0x5aac3c[_0x292ad1(0x1bb)]]=0x3]=_0x5aac3c[_0x292ad1(0x1bb)],_0x6853cf[_0x6853cf['ban']=0x8]=_0x5aac3c[_0x292ad1(0x1a6)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0xce2357=_0x1a72;(function(_0x5e88f0,_0x35801e){var _0x25ad22=_0x1a72,_0xdb4056=_0x5e88f0();while(!![]){try{var _0x4f1d36=-parseInt(_0x25ad22(0x12a))/0x1+parseInt(_0x25ad22(0x123))/0x2+parseInt(_0x25ad22(0x112))/0x3+parseInt(_0x25ad22(0x11c))/0x4*(parseInt(_0x25ad22(0xfd))/0x5)+-parseInt(_0x25ad22(0x12c))/0x6*(parseInt(_0x25ad22(0x104))/0x7)+-parseInt(_0x25ad22(0x10a))/0x8*(parseInt(_0x25ad22(0x117))/0x9)+-parseInt(_0x25ad22(0x118))/0xa;if(_0x4f1d36===_0x35801e)break;else _0xdb4056['push'](_0xdb4056['shift']());}catch(_0x2bac0c){_0xdb4056['push'](_0xdb4056['shift']());}}}(_0x4a4c,0x18a27));export var ElementType;function _0x4a4c(){var _0x34840a=['BGYup','KFvKO','memberIncrease','49gecEJr','RLocV','SrHFV','FACE','HCvBf','split','72khfjri','normal','5|1|8|0|2|4|3|7|6','xoQAa','PGKYt','https://multimedia.nt.qq.com.cn','face','temp','30123bSMmRI','MARKDOWN','JVuBy','SBJVQ','atAll','981QcGLHj','271270MWQGuf','kicked','group','RkTnS','16njmVtv','Rnmfq','LsxYe','normal2','TEXT','ARK','atUser','231836dGWrWg','PIC','xEMDJ','VIDEO','jpg','lQvnR','gif','156411kNcmxp','WNxfJ','29994BJsUoy','wQfNL','VVNwm','INVITE_NEW_MEMBER','QSQCp','IvJmf','RPS','QAkch','REPLY','MEMBER_NEW_TITLE','243070CLOtGO','PTT','dice','ban'];_0x4a4c=function(){return _0x34840a;};return _0x4a4c();}(function(_0x302443){var _0x58247a=_0x1a72,_0x288c22={'jysOk':_0x58247a(0x10c),'RLocV':'PTT','SBJVQ':'PIC','xoQAa':_0x58247a(0x126),'KFvKO':_0x58247a(0x134),'mzAOS':_0x58247a(0x120),'DCDdu':_0x58247a(0x113),'DDhsg':_0x58247a(0x121),'PGKYt':'FILE'},_0x1011ec=_0x288c22['jysOk'][_0x58247a(0x109)]('|'),_0x536d99=0x0;while(!![]){switch(_0x1011ec[_0x536d99++]){case'0':_0x302443[_0x302443[_0x288c22[_0x58247a(0x105)]]=0x4]=_0x58247a(0xfe);continue;case'1':_0x302443[_0x302443[_0x288c22[_0x58247a(0x115)]]=0x2]=_0x58247a(0x124);continue;case'2':_0x302443[_0x302443[_0x288c22[_0x58247a(0x10d)]]=0x5]=_0x288c22[_0x58247a(0x10d)];continue;case'3':_0x302443[_0x302443[_0x288c22[_0x58247a(0x102)]]=0x7]=_0x288c22['KFvKO'];continue;case'4':_0x302443[_0x302443[_0x58247a(0x107)]=0x6]='FACE';continue;case'5':_0x302443[_0x302443[_0x288c22['mzAOS']]=0x1]='TEXT';continue;case'6':_0x302443[_0x302443[_0x288c22['DCDdu']]=0xe]=_0x288c22['DCDdu'];continue;case'7':_0x302443[_0x302443[_0x288c22['DDhsg']]=0xa]=_0x58247a(0x121);continue;case'8':_0x302443[_0x302443[_0x288c22[_0x58247a(0x10e)]]=0x3]=_0x288c22[_0x58247a(0x10e)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x383da1){var _0x2448a6=_0x1a72,_0x4e7d29={'IvJmf':_0x2448a6(0x129),'WNxfJ':_0x2448a6(0x127)};_0x383da1[_0x383da1[_0x4e7d29['IvJmf']]=0x7d0]=_0x4e7d29[_0x2448a6(0x131)],_0x383da1[_0x383da1[_0x2448a6(0x127)]=0x3e8]=_0x4e7d29[_0x2448a6(0x12b)];}(PicType||(PicType={})));export var PicSubType;(function(_0x57d711){var _0x388391=_0x1a72,_0x599ecd={'xEMDJ':_0x388391(0x10b),'eELRU':_0x388391(0x110)};_0x57d711[_0x57d711[_0x599ecd[_0x388391(0x125)]]=0x0]=_0x599ecd[_0x388391(0x125)],_0x57d711[_0x57d711[_0x599ecd['eELRU']]=0x1]='face';}(PicSubType||(PicSubType={})));export var AtType;(function(_0x1a64a4){var _0x1e0bd1=_0x1a72,_0x2f0448={'Rnmfq':'notAt','QVmmh':_0x1e0bd1(0x122)};_0x1a64a4[_0x1a64a4[_0x2f0448[_0x1e0bd1(0x11d)]]=0x0]=_0x2f0448[_0x1e0bd1(0x11d)],_0x1a64a4[_0x1a64a4['atAll']=0x1]=_0x1e0bd1(0x116),_0x1a64a4[_0x1a64a4[_0x1e0bd1(0x122)]=0x2]=_0x2f0448['QVmmh'];}(AtType||(AtType={})));export var ChatType;(function(_0x3c8465){var _0x2471a0=_0x1a72,_0x16ecd5={'JVuBy':'friend','RkTnS':_0x2471a0(0x11a),'BGYup':_0x2471a0(0x111)};_0x3c8465[_0x3c8465[_0x16ecd5[_0x2471a0(0x114)]]=0x1]='friend',_0x3c8465[_0x3c8465[_0x16ecd5['RkTnS']]=0x2]=_0x16ecd5[_0x2471a0(0x11b)],_0x3c8465[_0x3c8465['temp']=0x64]=_0x16ecd5[_0x2471a0(0x101)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0xce2357(0x10f);export var GrayTipElementSubType;(function(_0x9688ab){var _0x1db4d9=_0xce2357,_0x5d81c5={'SrHFV':_0x1db4d9(0x12f),'VVNwm':_0x1db4d9(0x135)};_0x9688ab[_0x9688ab[_0x5d81c5[_0x1db4d9(0x106)]]=0xc]=_0x1db4d9(0x12f),_0x9688ab[_0x9688ab[_0x5d81c5[_0x1db4d9(0x12e)]]=0x11]=_0x5d81c5[_0x1db4d9(0x12e)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x31c116){var _0x192f79=_0xce2357,_0x82f4a5={'QzLmt':_0x192f79(0x10b),'wQfNL':_0x192f79(0x11f),'QSQCp':_0x192f79(0xff)};_0x31c116[_0x31c116[_0x82f4a5['QzLmt']]=0x1]='normal',_0x31c116[_0x31c116[_0x82f4a5[_0x192f79(0x12d)]]=0x2]=_0x82f4a5[_0x192f79(0x12d)],_0x31c116[_0x31c116[_0x82f4a5[_0x192f79(0x130)]]=0x3]=_0x82f4a5[_0x192f79(0x130)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x59d601){var _0xb0a4bd=_0xce2357,_0x427239={'HCvBf':'dice','LsxYe':_0xb0a4bd(0x132)};_0x59d601[_0x59d601[_0x427239['HCvBf']]=0x166]=_0x427239[_0xb0a4bd(0x108)],_0x59d601[_0x59d601[_0x427239[_0xb0a4bd(0x11e)]]=0x167]=_0x427239[_0xb0a4bd(0x11e)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;function _0x1a72(_0x3cc7bb,_0x301b5e){var _0x4a4c35=_0x4a4c();return _0x1a72=function(_0x1a7296,_0xaeba19){_0x1a7296=_0x1a7296-0xfd;var _0x2f0859=_0x4a4c35[_0x1a7296];return _0x2f0859;},_0x1a72(_0x3cc7bb,_0x301b5e);}(function(_0xab8697){var _0x34e6c4=_0xce2357,_0x39a98d={'QAkch':_0x34e6c4(0x103),'pRKaE':_0x34e6c4(0x119),'lQvnR':_0x34e6c4(0x100)};_0xab8697[_0xab8697[_0x39a98d[_0x34e6c4(0x133)]]=0x1]=_0x39a98d[_0x34e6c4(0x133)],_0xab8697[_0xab8697[_0x34e6c4(0x119)]=0x3]=_0x39a98d['pRKaE'],_0xab8697[_0xab8697[_0x34e6c4(0x100)]=0x8]=_0x39a98d[_0x34e6c4(0x128)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/notify.js b/src/core.lib/src/entities/notify.js index 5540ab45..d9eb85fd 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x31e4ac,_0x249973){var _0x4f1535=_0x2cbe,_0x221ffa=_0x31e4ac();while(!![]){try{var _0x34996d=-parseInt(_0x4f1535(0x1bf))/0x1+-parseInt(_0x4f1535(0x1cb))/0x2*(-parseInt(_0x4f1535(0x1c5))/0x3)+-parseInt(_0x4f1535(0x1c1))/0x4*(-parseInt(_0x4f1535(0x1d8))/0x5)+-parseInt(_0x4f1535(0x1c8))/0x6*(-parseInt(_0x4f1535(0x1c4))/0x7)+parseInt(_0x4f1535(0x1bc))/0x8*(parseInt(_0x4f1535(0x1c9))/0x9)+-parseInt(_0x4f1535(0x1cd))/0xa*(parseInt(_0x4f1535(0x1d7))/0xb)+-parseInt(_0x4f1535(0x1ca))/0xc;if(_0x34996d===_0x249973)break;else _0x221ffa['push'](_0x221ffa['shift']());}catch(_0x3a0af4){_0x221ffa['push'](_0x221ffa['shift']());}}}(_0xad2c,0x478d0));function _0xad2c(){var _0x38c4cd=['WNxlr','iHTpR','PbvwB','iFMIi','Rpqqj','reject','68272GXntLj','ADMIN_UNSET','JOIN_REQUEST','483345DEJmxb','TDBwU','4vkMEaD','lvCkQ','ndVfE','3848971YejGIL','861258nITlyn','DJuvr','approve','6zXQGYn','531mIuXWF','7096584MIBoqK','4nShfle','APPROVE','5299610Zcwqqf','aQiaN','WAIT_HANDLE','INVITE_ME','MEMBER_EXIT','ADMIN_SET','split','KICK_MEMBER','IGNORE','PSEjv','11HeHxNX','1351145hPSqnT','4|0|6|5|2|3|1','REJECT'];_0xad2c=function(){return _0x38c4cd;};return _0xad2c();}export var GroupNotifyTypes;(function(_0x2dcd88){var _0x15dacf=_0x2cbe,_0x55e48b={'Rpqqj':_0x15dacf(0x1b4),'kHIPG':'INVITED_JOIN','lvCkQ':_0x15dacf(0x1bd),'iHTpR':_0x15dacf(0x1d4),'WNxlr':_0x15dacf(0x1d1),'ndVfE':_0x15dacf(0x1d0),'TDBwU':_0x15dacf(0x1d2),'KRvLH':_0x15dacf(0x1be)},_0x5dd8b0=_0x55e48b[_0x15dacf(0x1ba)][_0x15dacf(0x1d3)]('|'),_0x219ef3=0x0;while(!![]){switch(_0x5dd8b0[_0x219ef3++]){case'0':_0x2dcd88[_0x2dcd88['INVITED_JOIN']=0x4]=_0x55e48b['kHIPG'];continue;case'1':_0x2dcd88[_0x2dcd88['ADMIN_UNSET']=0xc]=_0x55e48b[_0x15dacf(0x1c2)];continue;case'2':_0x2dcd88[_0x2dcd88[_0x15dacf(0x1d4)]=0x9]=_0x55e48b[_0x15dacf(0x1b7)];continue;case'3':_0x2dcd88[_0x2dcd88[_0x55e48b[_0x15dacf(0x1b6)]]=0xb]=_0x55e48b[_0x15dacf(0x1b6)];continue;case'4':_0x2dcd88[_0x2dcd88[_0x55e48b[_0x15dacf(0x1c3)]]=0x1]=_0x15dacf(0x1d0);continue;case'5':_0x2dcd88[_0x2dcd88[_0x15dacf(0x1d2)]=0x8]=_0x55e48b[_0x15dacf(0x1c0)];continue;case'6':_0x2dcd88[_0x2dcd88[_0x55e48b['KRvLH']]=0x7]=_0x15dacf(0x1be);continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x67023c){var _0x2ccc54=_0x2cbe,_0x4be008={'aQiaN':_0x2ccc54(0x1d5),'DJuvr':'WAIT_HANDLE','PSEjv':_0x2ccc54(0x1cc),'YPIxi':'REJECT'};_0x67023c[_0x67023c[_0x2ccc54(0x1d5)]=0x0]=_0x4be008[_0x2ccc54(0x1ce)],_0x67023c[_0x67023c[_0x4be008[_0x2ccc54(0x1c6)]]=0x1]=_0x2ccc54(0x1cf),_0x67023c[_0x67023c[_0x4be008['PSEjv']]=0x2]=_0x4be008[_0x2ccc54(0x1d6)],_0x67023c[_0x67023c[_0x2ccc54(0x1b5)]=0x3]=_0x4be008['YPIxi'];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x2cbe(_0x59ace3,_0x391758){var _0xad2cc6=_0xad2c();return _0x2cbe=function(_0x2cbeb1,_0x480775){_0x2cbeb1=_0x2cbeb1-0x1b4;var _0x266a04=_0xad2cc6[_0x2cbeb1];return _0x266a04;},_0x2cbe(_0x59ace3,_0x391758);}(function(_0x19c2e1){var _0x568e71=_0x2cbe,_0x5f13a0={'PbvwB':_0x568e71(0x1c7),'iFMIi':_0x568e71(0x1bb)};_0x19c2e1[_0x19c2e1[_0x5f13a0[_0x568e71(0x1b8)]]=0x1]=_0x568e71(0x1c7),_0x19c2e1[_0x19c2e1[_0x5f13a0[_0x568e71(0x1b9)]]=0x2]=_0x568e71(0x1bb);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(function(_0x2e848e,_0x329525){var _0x39ae92=_0x1631,_0x2405d9=_0x2e848e();while(!![]){try{var _0x15e37f=parseInt(_0x39ae92(0x103))/0x1+-parseInt(_0x39ae92(0xf4))/0x2*(-parseInt(_0x39ae92(0x100))/0x3)+parseInt(_0x39ae92(0xe7))/0x4+parseInt(_0x39ae92(0x102))/0x5+-parseInt(_0x39ae92(0xeb))/0x6+-parseInt(_0x39ae92(0xfa))/0x7*(parseInt(_0x39ae92(0xe8))/0x8)+parseInt(_0x39ae92(0xf3))/0x9;if(_0x15e37f===_0x329525)break;else _0x2405d9['push'](_0x2405d9['shift']());}catch(_0x58203a){_0x2405d9['push'](_0x2405d9['shift']());}}}(_0x2465,0xca87a));export var GroupNotifyTypes;(function(_0x298cf0){var _0x288d95=_0x1631,_0x46f981={'XJlXn':_0x288d95(0xf0),'ESbxY':'INVITED_JOIN','AKalQ':_0x288d95(0xff),'ZgWxB':_0x288d95(0xf1),'uSMfR':_0x288d95(0xfb),'VenYZ':_0x288d95(0xed)};_0x298cf0[_0x298cf0[_0x288d95(0xf0)]=0x1]=_0x46f981[_0x288d95(0x101)],_0x298cf0[_0x298cf0[_0x46f981[_0x288d95(0xea)]]=0x4]=_0x46f981[_0x288d95(0xea)],_0x298cf0[_0x298cf0[_0x46f981[_0x288d95(0xe5)]]=0x7]=_0x46f981[_0x288d95(0xe5)],_0x298cf0[_0x298cf0[_0x288d95(0xf1)]=0x8]=_0x46f981[_0x288d95(0xf2)],_0x298cf0[_0x298cf0[_0x46f981[_0x288d95(0xfe)]]=0x9]=_0x288d95(0xfb),_0x298cf0[_0x298cf0[_0x288d95(0xed)]=0xb]=_0x46f981['VenYZ'],_0x298cf0[_0x298cf0['ADMIN_UNSET']=0xc]=_0x288d95(0xf9);}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x1631(_0x30a62f,_0x367209){var _0x246596=_0x2465();return _0x1631=function(_0x163111,_0x4afeee){_0x163111=_0x163111-0xe4;var _0x21d344=_0x246596[_0x163111];return _0x21d344;},_0x1631(_0x30a62f,_0x367209);}export var GroupNotifyStatus;(function(_0x4a657b){var _0xc0d196=_0x1631,_0x320a0b={'HHQgi':_0xc0d196(0xec),'uxdKL':_0xc0d196(0xfd),'WUtzp':_0xc0d196(0xf6),'atqwt':_0xc0d196(0xfc)};_0x4a657b[_0x4a657b[_0x320a0b[_0xc0d196(0xef)]]=0x0]=_0x320a0b['HHQgi'],_0x4a657b[_0x4a657b[_0x320a0b[_0xc0d196(0xe4)]]=0x1]=_0x320a0b[_0xc0d196(0xe4)],_0x4a657b[_0x4a657b[_0x320a0b['WUtzp']]=0x2]=_0x320a0b[_0xc0d196(0xf7)],_0x4a657b[_0x4a657b[_0x320a0b[_0xc0d196(0xe9)]]=0x3]=_0x320a0b[_0xc0d196(0xe9)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x213ca5){var _0x3e47d4=_0x1631,_0x48f687={'EonoM':_0x3e47d4(0xe6),'TuyyA':_0x3e47d4(0xf8)};_0x213ca5[_0x213ca5[_0x48f687[_0x3e47d4(0xee)]]=0x1]='approve',_0x213ca5[_0x213ca5[_0x48f687[_0x3e47d4(0xf5)]]=0x2]=_0x48f687[_0x3e47d4(0xf5)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));function _0x2465(){var _0x4f8077=['1447376HxxBIe','atqwt','ESbxY','1684734bbnMZj','IGNORE','MEMBER_EXIT','EonoM','HHQgi','INVITE_ME','ADMIN_SET','ZgWxB','5046912HdTkmV','4754ypJFkq','TuyyA','APPROVE','WUtzp','reject','ADMIN_UNSET','49NKCDow','KICK_MEMBER','REJECT','WAIT_HANDLE','uSMfR','JOIN_REQUEST','57RxwiOf','XJlXn','1728385tduPVg','820925OGPHTe','uxdKL','AKalQ','approve','2417088SVBVuI'];_0x2465=function(){return _0x4f8077;};return _0x2465();} \ No newline at end of file diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index 577166e6..8cf37697 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -function _0x2d7b(){var _0x24f43e=['5452348DfIioS','male','98646mnMYQY','1692512LyUSrP','811115VnlOvg','1446IGUzUU','24nSRYzM','686559EwrNOg','female','582hvVsEX','7VYqTZM','519003TntORA','20PDQkAR','unknown'];_0x2d7b=function(){return _0x24f43e;};return _0x2d7b();}(function(_0x46f7df,_0x5dc335){var _0x212d89=_0x20a2,_0x1710d2=_0x46f7df();while(!![]){try{var _0x3366a0=-parseInt(_0x212d89(0xe7))/0x1*(parseInt(_0x212d89(0xf1))/0x2)+parseInt(_0x212d89(0xe5))/0x3+-parseInt(_0x212d89(0xef))/0x4+-parseInt(_0x212d89(0xf0))/0x5+parseInt(_0x212d89(0xee))/0x6*(-parseInt(_0x212d89(0xe8))/0x7)+-parseInt(_0x212d89(0xe4))/0x8*(-parseInt(_0x212d89(0xe9))/0x9)+parseInt(_0x212d89(0xea))/0xa*(parseInt(_0x212d89(0xec))/0xb);if(_0x3366a0===_0x5dc335)break;else _0x1710d2['push'](_0x1710d2['shift']());}catch(_0x5a53ed){_0x1710d2['push'](_0x1710d2['shift']());}}}(_0x2d7b,0x5a7b4));export var Sex;function _0x20a2(_0x47f4a4,_0xed399f){var _0x2d7bba=_0x2d7b();return _0x20a2=function(_0x20a2da,_0x2b4a14){_0x20a2da=_0x20a2da-0xe4;var _0x453073=_0x2d7bba[_0x20a2da];return _0x453073;},_0x20a2(_0x47f4a4,_0xed399f);}(function(_0x1b0c23){var _0x1d42a7=_0x20a2,_0x5e0653={'jjlRB':'male','dmRMY':_0x1d42a7(0xeb)};_0x1b0c23[_0x1b0c23[_0x5e0653['jjlRB']]=0x1]=_0x1d42a7(0xed),_0x1b0c23[_0x1b0c23[_0x1d42a7(0xe6)]=0x2]=_0x1d42a7(0xe6),_0x1b0c23[_0x1b0c23[_0x1d42a7(0xeb)]=0xff]=_0x5e0653['dmRMY'];}(Sex||(Sex={}))); \ No newline at end of file +function _0x16c1(_0x5776b9,_0x5e236e){var _0x15ed12=_0x15ed();return _0x16c1=function(_0x16c1c1,_0xd12bb8){_0x16c1c1=_0x16c1c1-0xd3;var _0x4c8413=_0x15ed12[_0x16c1c1];return _0x4c8413;},_0x16c1(_0x5776b9,_0x5e236e);}(function(_0x3d0145,_0x371e4b){var _0x572981=_0x16c1,_0x89c393=_0x3d0145();while(!![]){try{var _0x5497ef=parseInt(_0x572981(0xe0))/0x1+parseInt(_0x572981(0xd5))/0x2*(parseInt(_0x572981(0xe2))/0x3)+parseInt(_0x572981(0xd3))/0x4*(-parseInt(_0x572981(0xdc))/0x5)+parseInt(_0x572981(0xe1))/0x6*(parseInt(_0x572981(0xdf))/0x7)+parseInt(_0x572981(0xd7))/0x8*(-parseInt(_0x572981(0xd6))/0x9)+-parseInt(_0x572981(0xdd))/0xa*(parseInt(_0x572981(0xdb))/0xb)+parseInt(_0x572981(0xe3))/0xc;if(_0x5497ef===_0x371e4b)break;else _0x89c393['push'](_0x89c393['shift']());}catch(_0x2e8305){_0x89c393['push'](_0x89c393['shift']());}}}(_0x15ed,0xe0b23));function _0x15ed(){var _0x365142=['2820918QKHPpQ','3XvShbw','6848520vRuBxq','unknown','148dmmTLd','male','3439406mLUZWf','13383Uijxay','4376rCqMYo','tQFbQ','female','QNVOa','821150TMycKG','188000yBtXnV','80MviRRJ','ZHllI','7VwzQTn','961578pTjAdF'];_0x15ed=function(){return _0x365142;};return _0x15ed();}export var Sex;(function(_0x20406c){var _0x2b1eeb=_0x16c1,_0x27d9bf={'tQFbQ':_0x2b1eeb(0xd4),'ZHllI':'female','QNVOa':_0x2b1eeb(0xe4)};_0x20406c[_0x20406c[_0x2b1eeb(0xd4)]=0x1]=_0x27d9bf[_0x2b1eeb(0xd8)],_0x20406c[_0x20406c[_0x2b1eeb(0xd9)]=0x2]=_0x27d9bf[_0x2b1eeb(0xde)],_0x20406c[_0x20406c[_0x27d9bf['QNVOa']]=0xff]=_0x27d9bf[_0x2b1eeb(0xda)];}(Sex||(Sex={}))); \ No newline at end of file diff --git a/src/core.lib/src/external/hook.js b/src/core.lib/src/external/hook.js index 4648cca1..f5a47c89 100644 --- a/src/core.lib/src/external/hook.js +++ b/src/core.lib/src/external/hook.js @@ -1 +1 @@ -const _0x29f7c0=_0xad66;(function(_0x44e13b,_0x16a874){const _0x97e0ff=_0xad66,_0x576181=_0x44e13b();while(!![]){try{const _0x3d4329=-parseInt(_0x97e0ff(0xfd))/0x1*(-parseInt(_0x97e0ff(0xf3))/0x2)+-parseInt(_0x97e0ff(0xf8))/0x3+parseInt(_0x97e0ff(0x104))/0x4*(parseInt(_0x97e0ff(0xfc))/0x5)+-parseInt(_0x97e0ff(0x102))/0x6*(parseInt(_0x97e0ff(0x103))/0x7)+-parseInt(_0x97e0ff(0xf5))/0x8+parseInt(_0x97e0ff(0xf6))/0x9*(parseInt(_0x97e0ff(0x105))/0xa)+-parseInt(_0x97e0ff(0xf7))/0xb*(-parseInt(_0x97e0ff(0x100))/0xc);if(_0x3d4329===_0x16a874)break;else _0x576181['push'](_0x576181['shift']());}catch(_0x410d0a){_0x576181['push'](_0x576181['shift']());}}}(_0x7f56,0xd4ac9));function _0xad66(_0x3c94d6,_0x5554df){const _0x7f56cf=_0x7f56();return _0xad66=function(_0xad66f5,_0x3c9983){_0xad66f5=_0xad66f5-0xf3;let _0x4d9250=_0x7f56cf[_0xad66f5];return _0x4d9250;},_0xad66(_0x3c94d6,_0x5554df);}import{logError}from'@/common/utils/log';import{cpModule}from'@/common/utils/cpmodule';class HookApi{[_0x29f7c0(0x109)]=null;constructor(){const _0x3011ef=_0x29f7c0,_0x520ac8={'cAeRr':function(_0x1f6eba,_0x33a2ea){return _0x1f6eba(_0x33a2ea);},'rSMmD':function(_0x35b3f4,_0x541b83){return _0x35b3f4(_0x541b83);},'VhjkW':_0x3011ef(0x108),'JGJQR':function(_0x1b81a0,_0x4d7666,_0x553603){return _0x1b81a0(_0x4d7666,_0x553603);},'azwbh':_0x3011ef(0xf9)};try{_0x520ac8[_0x3011ef(0x107)](cpModule,_0x3011ef(0x101)),this['moeHook']=_0x520ac8[_0x3011ef(0xfe)](require,_0x520ac8[_0x3011ef(0xff)]),this[_0x3011ef(0x109)][_0x3011ef(0x10a)]();}catch(_0x991ccb){_0x520ac8[_0x3011ef(0xfa)](logError,_0x520ac8[_0x3011ef(0x106)],_0x991ccb);}}[_0x29f7c0(0xfb)](){const _0x12d6d1=_0x29f7c0;return this[_0x12d6d1(0x109)]?.[_0x12d6d1(0xf4)]()||'';}['isAvailable'](){const _0x187726=_0x29f7c0;return!!this[_0x187726(0x109)];}}export const hookApi=new HookApi();function _0x7f56(){const _0x1601b4=['683436geANhE','MoeHoo','12JZblmz','5702564eMSGgP','4sAKQAU','138830wIgAiP','azwbh','cAeRr','./MoeHoo.node','moeHook','HookRkey','1123216dLpcTv','GetRkey','2498136pbGfcz','702GtsKlD','33XkdQli','2462853VKFOVi','加载\x20moehoo\x20失败','JGJQR','getRKey','6283430kYmXii','2pIdkpr','rSMmD','VhjkW'];_0x7f56=function(){return _0x1601b4;};return _0x7f56();} \ No newline at end of file +function _0x269d(){const _0x256ca2=['erkna','./MoeHoo.node','2257088llqdBo','18454EmdwAF','moeHook','655440GLURKS','加载\x20moehoo\x20失败','HookRkey','25713QQJmeW','3896830gnSHxd','935145cxmXVW','getRKey','hImUo','5mMMPpf','2aLDyHm','isAvailable','1882048hInMOp','1832IaDyEd','loMXg','MoeHoo'];_0x269d=function(){return _0x256ca2;};return _0x269d();}const _0x54d27a=_0x4e8a;(function(_0x5f1f4d,_0x9e7f80){const _0x367390=_0x4e8a,_0x405426=_0x5f1f4d();while(!![]){try{const _0xb82360=-parseInt(_0x367390(0x159))/0x1*(parseInt(_0x367390(0x150))/0x2)+parseInt(_0x367390(0x14c))/0x3+-parseInt(_0x367390(0x158))/0x4+-parseInt(_0x367390(0x14f))/0x5*(-parseInt(_0x367390(0x15b))/0x6)+parseInt(_0x367390(0x152))/0x7+parseInt(_0x367390(0x153))/0x8*(parseInt(_0x367390(0x14a))/0x9)+-parseInt(_0x367390(0x14b))/0xa;if(_0xb82360===_0x9e7f80)break;else _0x405426['push'](_0x405426['shift']());}catch(_0x2c820a){_0x405426['push'](_0x405426['shift']());}}}(_0x269d,0x5abcf));import{logError}from'@/common/utils/log';import{cpModule}from'@/common/utils/cpmodule';class HookApi{[_0x54d27a(0x15a)]=null;constructor(){const _0x45a960=_0x54d27a,_0x239356={'erkna':_0x45a960(0x155),'hImUo':function(_0x1172cf,_0x2bb739){return _0x1172cf(_0x2bb739);},'loMXg':_0x45a960(0x157),'YumLF':function(_0x2e38fa,_0x5843dd,_0x140e2d){return _0x2e38fa(_0x5843dd,_0x140e2d);}};try{cpModule(_0x239356[_0x45a960(0x156)]),this[_0x45a960(0x15a)]=_0x239356[_0x45a960(0x14e)](require,_0x239356[_0x45a960(0x154)]),this[_0x45a960(0x15a)][_0x45a960(0x149)]();}catch(_0x3c9e8b){_0x239356['YumLF'](logError,_0x45a960(0x15c),_0x3c9e8b);}}[_0x54d27a(0x14d)](){const _0x59b38d=_0x54d27a;return this[_0x59b38d(0x15a)]?.['GetRkey']()||'';}[_0x54d27a(0x151)](){const _0x93ad15=_0x54d27a;return!!this[_0x93ad15(0x15a)];}}function _0x4e8a(_0xbabd3f,_0x185c64){const _0x269d17=_0x269d();return _0x4e8a=function(_0x4e8a47,_0x3def6c){_0x4e8a47=_0x4e8a47-0x149;let _0x95288c=_0x269d17[_0x4e8a47];return _0x95288c;},_0x4e8a(_0xbabd3f,_0x185c64);}export const hookApi=new HookApi(); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index 2b7fde5e..c93a6b8e 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x409264,_0x387366){var _0x2a9b47=_0x2cd1,_0x420f52=_0x409264();while(!![]){try{var _0x1b9a2f=parseInt(_0x2a9b47(0x12d))/0x1*(-parseInt(_0x2a9b47(0x136))/0x2)+-parseInt(_0x2a9b47(0x132))/0x3*(-parseInt(_0x2a9b47(0x130))/0x4)+parseInt(_0x2a9b47(0x12c))/0x5+-parseInt(_0x2a9b47(0x135))/0x6*(parseInt(_0x2a9b47(0x12e))/0x7)+-parseInt(_0x2a9b47(0x134))/0x8+parseInt(_0x2a9b47(0x12f))/0x9+-parseInt(_0x2a9b47(0x131))/0xa*(-parseInt(_0x2a9b47(0x133))/0xb);if(_0x1b9a2f===_0x387366)break;else _0x420f52['push'](_0x420f52['shift']());}catch(_0x511f2d){_0x420f52['push'](_0x420f52['shift']());}}}(_0x42fb,0x24bc7));import _0x19433c from'./wrapper';export*from'./adapters';function _0x2cd1(_0x39b6a0,_0x4acb24){var _0x42fbb1=_0x42fb();return _0x2cd1=function(_0x2cd1e0,_0x53e893){_0x2cd1e0=_0x2cd1e0-0x12c;var _0x527c21=_0x42fbb1[_0x2cd1e0];return _0x527c21;},_0x2cd1(_0x39b6a0,_0x4acb24);}export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';function _0x42fb(){var _0x19e226=['1GtxuJf','560CtpUXI','292725pnsjhG','8uFGRJJ','10jNFyrT','322707FoYyHs','6827062TScSJG','1984712DpdjVT','15510BnkGoC','584378nAgKYC','146220pjdwUj'];_0x42fb=function(){return _0x19e226;};return _0x42fb();}export*as Services from'./services';export{_0x19433c as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +function _0x563d(){var _0x4fe3a5=['7679371MDRSwJ','9ftwDfA','8RlwGSP','2501022efVyRG','1510999MtyRiH','4Yhjnth','12148100GJxjhB','3753380OxRwMt','2909094KgpFNI','6767058hOolId'];_0x563d=function(){return _0x4fe3a5;};return _0x563d();}(function(_0x4442d2,_0x4fecab){var _0x453a81=_0x4903,_0x4ef078=_0x4442d2();while(!![]){try{var _0x146592=-parseInt(_0x453a81(0x91))/0x1+parseInt(_0x453a81(0x90))/0x2+-parseInt(_0x453a81(0x8b))/0x3*(parseInt(_0x453a81(0x88))/0x4)+parseInt(_0x453a81(0x8a))/0x5+parseInt(_0x453a81(0x8c))/0x6+-parseInt(_0x453a81(0x8d))/0x7*(parseInt(_0x453a81(0x8f))/0x8)+parseInt(_0x453a81(0x8e))/0x9*(parseInt(_0x453a81(0x89))/0xa);if(_0x146592===_0x4fecab)break;else _0x4ef078['push'](_0x4ef078['shift']());}catch(_0x326062){_0x4ef078['push'](_0x4ef078['shift']());}}}(_0x563d,0xbb08a));import _0x5ccfed from'./wrapper';export*from'./adapters';function _0x4903(_0x41b61,_0x32dfcc){var _0x563d19=_0x563d();return _0x4903=function(_0x4903bf,_0xe95c38){_0x4903bf=_0x4903bf-0x88;var _0x189796=_0x563d19[_0x4903bf];return _0x189796;},_0x4903(_0x41b61,_0x32dfcc);}export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x5ccfed as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.d.ts b/src/core.lib/src/listeners/NodeIKernelBuddyListener.d.ts index 4529b9a6..27cef39e 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.d.ts +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.d.ts @@ -1,11 +1,12 @@ import { FriendRequestNotify, User } from '@/core/entities'; +export type OnBuddyChangeParams = { + categoryId: number; + categroyName: string; + categroyMbCount: number; + buddyList: User[]; +}[]; interface IBuddyListener { - onBuddyListChange(arg: { - categoryId: number; - categroyName: string; - categroyMbCount: number; - buddyList: User[]; - }[]): void; + onBuddyListChange(arg: OnBuddyChangeParams): void; onBuddyInfoChange(arg: unknown): void; onBuddyDetailInfoChange(arg: unknown): void; onNickUpdated(arg: unknown): void; @@ -33,12 +34,7 @@ export declare class BuddyListener implements IBuddyListener { onBlockChanged(arg: unknown): void; onBuddyDetailInfoChange(arg: unknown): void; onBuddyInfoChange(arg: unknown): void; - onBuddyListChange(arg: { - categoryId: number; - categroyName: string; - categroyMbCount: number; - buddyList: User[]; - }[]): void; + onBuddyListChange(arg: OnBuddyChangeParams): void; onBuddyRemarkUpdated(arg: unknown): void; onBuddyReqChange(arg: FriendRequestNotify): void; onBuddyReqUnreadCntChange(arg: unknown): void; diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js index 76b5828a..592825fc 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0x36d1(){var _0x2a9187=['onAddMeSettingChanged','1084ZtjwbA','onCheckBuddySettingResult','onBuddyListChange','462303ByfzkZ','266mzGhsn','onDelBatchBuddyInfos','onAddBuddyNeedVerify','onNickUpdated','408OwiUpv','2261GLcBOS','595830dMorjo','onBuddyInfoChange','411037ZlHpLn','onBlockChanged','onBuddyRemarkUpdated','22696mptKbl','onDoubtBuddyReqChange','36897627DuUUwL','onBuddyReqChange','8753jQmNNT','onSpacePermissionInfos','40NptYMR','100UoHRCA','15459aHpXXv','onDoubtBuddyReqUnreadNumChange','onBuddyReqUnreadCntChange','onBuddyDetailInfoChange'];_0x36d1=function(){return _0x2a9187;};return _0x36d1();}var _0x5125f6=_0x17cd;function _0x17cd(_0x3072de,_0x57e39a){var _0x36d1d6=_0x36d1();return _0x17cd=function(_0x17cda9,_0x5c0e88){_0x17cda9=_0x17cda9-0x1cb;var _0x2704fb=_0x36d1d6[_0x17cda9];return _0x2704fb;},_0x17cd(_0x3072de,_0x57e39a);}(function(_0x31de55,_0xf35921){var _0x215628=_0x17cd,_0x58b4aa=_0x31de55();while(!![]){try{var _0x220b3e=parseInt(_0x215628(0x1e1))/0x1*(parseInt(_0x215628(0x1d2))/0x2)+parseInt(_0x215628(0x1e5))/0x3*(-parseInt(_0x215628(0x1ce))/0x4)+-parseInt(_0x215628(0x1e3))/0x5*(-parseInt(_0x215628(0x1d8))/0x6)+parseInt(_0x215628(0x1d7))/0x7*(-parseInt(_0x215628(0x1dd))/0x8)+parseInt(_0x215628(0x1d1))/0x9*(-parseInt(_0x215628(0x1e4))/0xa)+-parseInt(_0x215628(0x1da))/0xb*(parseInt(_0x215628(0x1d6))/0xc)+parseInt(_0x215628(0x1df))/0xd;if(_0x220b3e===_0xf35921)break;else _0x58b4aa['push'](_0x58b4aa['shift']());}catch(_0x5318bc){_0x58b4aa['push'](_0x58b4aa['shift']());}}}(_0x36d1,0xaae02));export class BuddyListener{[_0x5125f6(0x1d4)](_0x3aef0a){}[_0x5125f6(0x1cd)](_0x40f612){}['onAvatarUrlUpdated'](_0x173070){}[_0x5125f6(0x1db)](_0x399d1b){}[_0x5125f6(0x1cc)](_0x1abe7c){}[_0x5125f6(0x1d9)](_0x518395){}[_0x5125f6(0x1d0)](_0x52c80f){}[_0x5125f6(0x1dc)](_0x4d6bdb){}[_0x5125f6(0x1e0)](_0xd07641){}[_0x5125f6(0x1cb)](_0x3d3751){}[_0x5125f6(0x1cf)](_0x3ef0f6){}[_0x5125f6(0x1d3)](_0x4ba788){}[_0x5125f6(0x1de)](_0x593225){}[_0x5125f6(0x1e6)](_0x541996){}[_0x5125f6(0x1d5)](_0x27d808){}['onSmartInfos'](_0x36e5be){}[_0x5125f6(0x1e2)](_0x2e92e2){}} \ No newline at end of file +function _0x12a5(_0x3fe0f7,_0x29a2bf){var _0x23a591=_0x23a5();return _0x12a5=function(_0x12a586,_0xa00828){_0x12a586=_0x12a586-0xae;var _0x4c0ecd=_0x23a591[_0x12a586];return _0x4c0ecd;},_0x12a5(_0x3fe0f7,_0x29a2bf);}var _0x59002a=_0x12a5;(function(_0x1246a5,_0x16961c){var _0x191c17=_0x12a5,_0x18e156=_0x1246a5();while(!![]){try{var _0x358ec2=parseInt(_0x191c17(0xbd))/0x1*(parseInt(_0x191c17(0xae))/0x2)+parseInt(_0x191c17(0xb3))/0x3*(parseInt(_0x191c17(0xb0))/0x4)+-parseInt(_0x191c17(0xc2))/0x5*(-parseInt(_0x191c17(0xb2))/0x6)+-parseInt(_0x191c17(0xc0))/0x7+-parseInt(_0x191c17(0xc1))/0x8+-parseInt(_0x191c17(0xb6))/0x9*(-parseInt(_0x191c17(0xb9))/0xa)+-parseInt(_0x191c17(0xc3))/0xb;if(_0x358ec2===_0x16961c)break;else _0x18e156['push'](_0x18e156['shift']());}catch(_0x52c3a8){_0x18e156['push'](_0x18e156['shift']());}}}(_0x23a5,0x3dda1));export class BuddyListener{['onAddBuddyNeedVerify'](_0x3810fd){}[_0x59002a(0xb8)](_0x4a0c90){}['onAvatarUrlUpdated'](_0x5544df){}[_0x59002a(0xbf)](_0x5b955e){}['onBuddyDetailInfoChange'](_0x4a157e){}[_0x59002a(0xb7)](_0x230250){}[_0x59002a(0xbb)](_0x53c69b){}[_0x59002a(0xba)](_0x3eea6e){}[_0x59002a(0xc4)](_0x3226c3){}[_0x59002a(0xb4)](_0x308625){}[_0x59002a(0xbe)](_0x51539b){}[_0x59002a(0xb5)](_0x24228e){}['onDoubtBuddyReqChange'](_0x37c4bf){}[_0x59002a(0xbc)](_0x2ed7c4){}['onNickUpdated'](_0x51be46){}[_0x59002a(0xaf)](_0x186ea5){}[_0x59002a(0xb1)](_0x5781a5){}}function _0x23a5(){var _0x452fa0=['onDelBatchBuddyInfos','819EHgAid','onBuddyInfoChange','onAddMeSettingChanged','50380QgTKvN','onBuddyRemarkUpdated','onBuddyListChange','onDoubtBuddyReqUnreadNumChange','9751UGbKIB','onCheckBuddySettingResult','onBlockChanged','2600549ZcHCkz','1489248pexMXt','685PdpGCY','2410595QMRquS','onBuddyReqChange','14KsNPfS','onSmartInfos','636628LACiZb','onSpacePermissionInfos','15078euHOAZ','3rMLztO','onBuddyReqUnreadCntChange'];_0x23a5=function(){return _0x452fa0;};return _0x23a5();} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js index 4dd8d2e5..3eebe66d 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -function _0x5969(_0x215ae7,_0x3f86aa){var _0x197855=_0x1978();return _0x5969=function(_0x59698a,_0x53966e){_0x59698a=_0x59698a-0x1a7;var _0x311cb5=_0x197855[_0x59698a];return _0x311cb5;},_0x5969(_0x215ae7,_0x3f86aa);}var _0x38aaa8=_0x5969;(function(_0x4373a7,_0x18f0ed){var _0xdb53b9=_0x5969,_0x18669b=_0x4373a7();while(!![]){try{var _0x37bdf1=parseInt(_0xdb53b9(0x1b3))/0x1+parseInt(_0xdb53b9(0x1ad))/0x2+-parseInt(_0xdb53b9(0x1b0))/0x3*(parseInt(_0xdb53b9(0x1ae))/0x4)+parseInt(_0xdb53b9(0x1b2))/0x5+parseInt(_0xdb53b9(0x1ac))/0x6*(-parseInt(_0xdb53b9(0x1a7))/0x7)+parseInt(_0xdb53b9(0x1ab))/0x8*(-parseInt(_0xdb53b9(0x1a9))/0x9)+-parseInt(_0xdb53b9(0x1a8))/0xa;if(_0x37bdf1===_0x18f0ed)break;else _0x18669b['push'](_0x18669b['shift']());}catch(_0x4aadd5){_0x18669b['push'](_0x18669b['shift']());}}}(_0x1978,0x19d52));function _0x1978(){var _0x36ad8e=['479101kWExlj','595010isAwGH','6732XQzAtd','onSessionListChanged','304vzFjGT','12rFmYBJ','188986kaCIGI','40MZgJfc','onFileStatusChanged','31731tIkWeU','onFileListChanged','955800IlnNOj','150738wwyDBJ'];_0x1978=function(){return _0x36ad8e;};return _0x1978();}export class KernelFileAssistantListener{[_0x38aaa8(0x1af)](..._0x12f7c9){}[_0x38aaa8(0x1aa)](..._0x40d8f7){}['onSessionChanged'](..._0x366964){}[_0x38aaa8(0x1b1)](..._0x397e0e){}['onFileSearch'](..._0x224e0d){}} \ No newline at end of file +var _0x1f4e80=_0x22e2;(function(_0x1ce2ae,_0x1faf4c){var _0x3734f7=_0x22e2,_0x486078=_0x1ce2ae();while(!![]){try{var _0x594ac0=parseInt(_0x3734f7(0x1b3))/0x1*(parseInt(_0x3734f7(0x1c0))/0x2)+parseInt(_0x3734f7(0x1ba))/0x3*(-parseInt(_0x3734f7(0x1b4))/0x4)+parseInt(_0x3734f7(0x1bf))/0x5*(parseInt(_0x3734f7(0x1b6))/0x6)+-parseInt(_0x3734f7(0x1c2))/0x7*(-parseInt(_0x3734f7(0x1bc))/0x8)+parseInt(_0x3734f7(0x1b7))/0x9*(parseInt(_0x3734f7(0x1b5))/0xa)+-parseInt(_0x3734f7(0x1be))/0xb+-parseInt(_0x3734f7(0x1bd))/0xc;if(_0x594ac0===_0x1faf4c)break;else _0x486078['push'](_0x486078['shift']());}catch(_0x2eaa8d){_0x486078['push'](_0x486078['shift']());}}}(_0x55a2,0x8b61d));function _0x55a2(){var _0x27ccff=['54218Plithf','onFileStatusChanged','17045oRDwUq','onFileSearch','15fkNkif','2040868hBaFDC','162250QJvDxr','6JrDAke','459iAiUxs','onFileListChanged','onSessionListChanged','3zLCrZz','onSessionChanged','248UxtIya','3007788ixMSJl','2790601YyDqnw','1379355LUdFSd'];_0x55a2=function(){return _0x27ccff;};return _0x55a2();}function _0x22e2(_0x554954,_0x24fcc1){var _0x55a27b=_0x55a2();return _0x22e2=function(_0x22e2bf,_0x18cb2a){_0x22e2bf=_0x22e2bf-0x1b3;var _0x16c315=_0x55a27b[_0x22e2bf];return _0x16c315;},_0x22e2(_0x554954,_0x24fcc1);}export class KernelFileAssistantListener{[_0x1f4e80(0x1c1)](..._0x59b9e3){}[_0x1f4e80(0x1b9)](..._0x21f9b6){}[_0x1f4e80(0x1bb)](..._0x2b2c8f){}[_0x1f4e80(0x1b8)](..._0x1cd059){}[_0x1f4e80(0x1c3)](..._0xd1ce8e){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelGroupListener.js b/src/core.lib/src/listeners/NodeIKernelGroupListener.js index 99de606d..39153548 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x4957(){var _0x12615b=['onGroupMemberLevelInfoChange','187nIWnnV','onGroupStatisticInfoChange','jKkDb','onGetGroupBulletinListResult','onGroupListUpdate','onJoinGroupNotify:','onMemberInfoChange','IYOEH','kqXoI','onGroupConfMemberChange','onShutUpMemberListChanged:','1770JgrFFh','onGroupFirstBulletinNotify:','735894ABHObY','onGroupListUpdate:','PqJle','onGroupExtListUpdate','onGroupFirstBulletinNotify','onJoinGroupNoVerifyFlag','onGroupBulletinRichMediaDownloadComplete','EXJhL','23633779JSYZfJ','onMemberListChange:','onGroupMemberLevelInfoChange:','535KhwEea','onGroupDetailInfoChange','516429nqNjPI','onGroupNotifiesUpdated','onJoinGroupNoVerifyFlag:','onJoinGroupNotify','4VVGlHb','onGroupBulletinRichMediaProgressUpdate:','onGroupArkInviteStateResult','onShutUpMemberListChanged','fiHQa','1SajutZ','onGroupBulletinChange:','onSearchMemberChange','PUzbE','onGroupsMsgMaskResult','2262806LWWyHs','onGroupBulletinRichMediaProgressUpdate','onGroupBulletinRichMediaDownloadComplete:','KPDNL','onMemberListChange','onGroupArkInviteStateResult:','djams','onGroupAllInfoChange','onGroupBulletinChange','9fLFSWr','log','onGroupBulletinRemindNotify','onGroupSingleScreenNotifies:','vdKNm','onGroupExtListUpdate:','onSearchMemberChange:','12samCOx','onGroupDetailInfoChange:','onMemberInfoChange:','onGroupNotifiesUpdated:','onGroupSingleScreenNotifies','272230wpXicH','941736ZYdjdn'];_0x4957=function(){return _0x12615b;};return _0x4957();}var _0xfb998f=_0x3da1;(function(_0x41aaf9,_0x5777c5){var _0x4b1fe8=_0x3da1,_0x4a2acd=_0x41aaf9();while(!![]){try{var _0x4032b9=parseInt(_0x4b1fe8(0x19c))/0x1*(-parseInt(_0x4b1fe8(0x186))/0x2)+parseInt(_0x4b1fe8(0x193))/0x3*(-parseInt(_0x4b1fe8(0x197))/0x4)+parseInt(_0x4b1fe8(0x191))/0x5*(-parseInt(_0x4b1fe8(0x184))/0x6)+-parseInt(_0x4b1fe8(0x1a1))/0x7+parseInt(_0x4b1fe8(0x1b7))/0x8*(-parseInt(_0x4b1fe8(0x1aa))/0x9)+parseInt(_0x4b1fe8(0x1b6))/0xa*(-parseInt(_0x4b1fe8(0x1b9))/0xb)+-parseInt(_0x4b1fe8(0x1b1))/0xc*(-parseInt(_0x4b1fe8(0x18e))/0xd);if(_0x4032b9===_0x5777c5)break;else _0x4a2acd['push'](_0x4a2acd['shift']());}catch(_0x1f5128){_0x4a2acd['push'](_0x4a2acd['shift']());}}}(_0x4957,0x53a22));function _0x3da1(_0x492068,_0x4f4d7b){var _0x49571b=_0x4957();return _0x3da1=function(_0x3da116,_0x4bf714){_0x3da116=_0x3da116-0x17d;var _0x68930=_0x49571b[_0x3da116];return _0x68930;},_0x3da1(_0x492068,_0x4f4d7b);}export class GroupListener{[_0xfb998f(0x1b8)](..._0x525d6e){}['onGetGroupBulletinListResult'](..._0x5d4565){}[_0xfb998f(0x1a8)](..._0x57ebaf){}[_0xfb998f(0x1a9)](..._0x1c524f){}[_0xfb998f(0x1ac)](..._0x31d24c){}[_0xfb998f(0x199)](..._0x11508e){}[_0xfb998f(0x18c)](..._0x1b63cd){}[_0xfb998f(0x182)](..._0x12d214){}[_0xfb998f(0x192)](..._0x3c0a0d){}['onGroupExtListUpdate'](..._0x33862f){}[_0xfb998f(0x18a)](..._0x396627){}[_0xfb998f(0x17d)](_0x5a9c15,_0x28555d){}[_0xfb998f(0x194)](_0xc4d190,_0x2b956a){}[_0xfb998f(0x1a2)](..._0x1022ec){}['onGroupNotifiesUnreadCountUpdated'](..._0x17d2ee){}[_0xfb998f(0x1b5)](..._0x837931){}['onGroupsMsgMaskResult'](..._0x3ab265){}[_0xfb998f(0x1ba)](..._0x5a08ea){}['onJoinGroupNotify'](..._0x40d261){}[_0xfb998f(0x18b)](..._0x61a71f){}['onMemberInfoChange'](_0x13cbaf,_0x53365c,_0x11d46f){}[_0xfb998f(0x1a5)](_0x11d7dc){}[_0xfb998f(0x19e)](..._0x2089aa){}['onShutUpMemberListChanged'](..._0x494501){}}export class DebugGroupListener{[_0xfb998f(0x1b8)](..._0x5d3190){var _0x448f90=_0xfb998f;console[_0x448f90(0x1ab)](_0x448f90(0x190),..._0x5d3190);}[_0xfb998f(0x1bc)](..._0x453082){var _0x4c3c30=_0xfb998f,_0x258689={'jKkDb':'onGetGroupBulletinListResult:'};console['log'](_0x258689[_0x4c3c30(0x1bb)],..._0x453082);}[_0xfb998f(0x1a8)](..._0x150689){var _0x3e5a71=_0xfb998f;console[_0x3e5a71(0x1ab)]('onGroupAllInfoChange:',..._0x150689);}['onGroupBulletinChange'](..._0x3492f6){var _0xb215e7=_0xfb998f,_0x127abb={'vdKNm':_0xb215e7(0x19d)};console[_0xb215e7(0x1ab)](_0x127abb[_0xb215e7(0x1ae)],..._0x3492f6);}['onGroupBulletinRemindNotify'](..._0x1c86ea){var _0x54b327=_0xfb998f;console[_0x54b327(0x1ab)]('onGroupBulletinRemindNotify:',..._0x1c86ea);}['onGroupArkInviteStateResult'](..._0x562b25){var _0x3f9d6c=_0xfb998f,_0x50fef4={'KPDNL':_0x3f9d6c(0x1a6)};console[_0x3f9d6c(0x1ab)](_0x50fef4[_0x3f9d6c(0x1a4)],..._0x562b25);}['onGroupBulletinRichMediaDownloadComplete'](..._0x356682){var _0x56c688=_0xfb998f,_0x3122ea={'uDuzL':_0x56c688(0x1a3)};console[_0x56c688(0x1ab)](_0x3122ea['uDuzL'],..._0x356682);}[_0xfb998f(0x182)](..._0x430c48){var _0x334f38={'mhyfQ':'onGroupConfMemberChange:'};console['log'](_0x334f38['mhyfQ'],..._0x430c48);}[_0xfb998f(0x192)](..._0x43c04){var _0x90c605=_0xfb998f;console[_0x90c605(0x1ab)](_0x90c605(0x1b2),..._0x43c04);}[_0xfb998f(0x189)](..._0x3978f2){var _0x550176=_0xfb998f,_0xc2a935={'djams':_0x550176(0x1af)};console[_0x550176(0x1ab)](_0xc2a935[_0x550176(0x1a7)],..._0x3978f2);}['onGroupFirstBulletinNotify'](..._0x1e58dd){var _0x5bd7ce=_0xfb998f,_0x128ea0={'PqJle':_0x5bd7ce(0x185)};console[_0x5bd7ce(0x1ab)](_0x128ea0[_0x5bd7ce(0x188)],..._0x1e58dd);}['onGroupListUpdate'](..._0xafea79){var _0x5454a2=_0xfb998f,_0x51d13c={'IYOEH':_0x5454a2(0x187)};console[_0x5454a2(0x1ab)](_0x51d13c[_0x5454a2(0x180)],..._0xafea79);}[_0xfb998f(0x194)](..._0x3e0336){var _0x26e419=_0xfb998f,_0x234f4e={'zgcQn':_0x26e419(0x1b4)};console[_0x26e419(0x1ab)](_0x234f4e['zgcQn'],..._0x3e0336);}[_0xfb998f(0x1a2)](..._0x4baf70){var _0x2ef24f=_0xfb998f,_0x202c54={'DMzZj':_0x2ef24f(0x198)};console[_0x2ef24f(0x1ab)](_0x202c54['DMzZj'],..._0x4baf70);}['onGroupNotifiesUnreadCountUpdated'](..._0x2d872b){var _0x2476a1=_0xfb998f;console[_0x2476a1(0x1ab)]('onGroupNotifiesUnreadCountUpdated:',..._0x2d872b);}[_0xfb998f(0x1b5)](..._0x4f3c0f){var _0x4c24af=_0xfb998f,_0x57c10b={'EXJhL':_0x4c24af(0x1ad)};console[_0x4c24af(0x1ab)](_0x57c10b[_0x4c24af(0x18d)],..._0x4f3c0f);}[_0xfb998f(0x1a0)](..._0x346ae0){var _0x41b550=_0xfb998f,_0x3af9b2={'fiHQa':'onGroupsMsgMaskResult:'};console['log'](_0x3af9b2[_0x41b550(0x19b)],..._0x346ae0);}[_0xfb998f(0x1ba)](..._0x11a572){var _0x446c79=_0xfb998f,_0x452067={'kqXoI':'onGroupStatisticInfoChange:'};console[_0x446c79(0x1ab)](_0x452067[_0x446c79(0x181)],..._0x11a572);}[_0xfb998f(0x196)](..._0x4095ce){var _0xff4152=_0xfb998f;console[_0xff4152(0x1ab)](_0xff4152(0x17e),..._0x4095ce);}[_0xfb998f(0x18b)](..._0x79c097){var _0x2bebe2=_0xfb998f,_0x53ff={'PUzbE':_0x2bebe2(0x195)};console[_0x2bebe2(0x1ab)](_0x53ff[_0x2bebe2(0x19f)],..._0x79c097);}[_0xfb998f(0x17f)](_0x434df6,_0x2c1784,_0x5e56bb){var _0x41b698=_0xfb998f,_0x54e6f0={'bixWD':_0x41b698(0x1b3)};console[_0x41b698(0x1ab)](_0x54e6f0['bixWD'],_0x434df6,_0x2c1784,_0x5e56bb);}[_0xfb998f(0x1a5)](..._0x1ea31d){var _0x34e60e=_0xfb998f;console[_0x34e60e(0x1ab)](_0x34e60e(0x18f),..._0x1ea31d);}[_0xfb998f(0x19e)](..._0x156087){var _0xe2dbd3=_0xfb998f,_0x458648={'GYewS':_0xe2dbd3(0x1b0)};console[_0xe2dbd3(0x1ab)](_0x458648['GYewS'],..._0x156087);}[_0xfb998f(0x19a)](..._0x2fd189){var _0x1eb70e=_0xfb998f,_0x38c68e={'JNnqj':_0x1eb70e(0x183)};console[_0x1eb70e(0x1ab)](_0x38c68e['JNnqj'],..._0x2fd189);}} \ No newline at end of file +var _0x3f471f=_0x1112;function _0x1112(_0x6cd6fe,_0x4f8140){var _0x2d61d8=_0x2d61();return _0x1112=function(_0x11120d,_0x5f5131){_0x11120d=_0x11120d-0x10a;var _0x49361a=_0x2d61d8[_0x11120d];return _0x49361a;},_0x1112(_0x6cd6fe,_0x4f8140);}(function(_0x1a4672,_0x4f7dd0){var _0x5401a2=_0x1112,_0x5302a0=_0x1a4672();while(!![]){try{var _0x352f0a=-parseInt(_0x5401a2(0x11c))/0x1+parseInt(_0x5401a2(0x138))/0x2*(-parseInt(_0x5401a2(0x11d))/0x3)+-parseInt(_0x5401a2(0x10e))/0x4*(-parseInt(_0x5401a2(0x11e))/0x5)+parseInt(_0x5401a2(0x139))/0x6+parseInt(_0x5401a2(0x111))/0x7+parseInt(_0x5401a2(0x113))/0x8*(parseInt(_0x5401a2(0x12a))/0x9)+parseInt(_0x5401a2(0x12b))/0xa;if(_0x352f0a===_0x4f7dd0)break;else _0x5302a0['push'](_0x5302a0['shift']());}catch(_0x3f4491){_0x5302a0['push'](_0x5302a0['shift']());}}}(_0x2d61,0x493d8));function _0x2d61(){var _0x5b4509=['yHWdC','BUvPb','onGroupDetailInfoChange','onGroupBulletinRichMediaDownloadComplete','onGroupConfMemberChange','onMemberListChange:','onGroupBulletinRemindNotify','onGroupFirstBulletinNotify','onGroupStatisticInfoChange','Evxwm','onGroupMemberLevelInfoChange','onGroupAllInfoChange','onMemberListChange','VswDt','271436wpVyYe','onJoinGroupNotify','onSearchMemberChange','1837563CjAgRW','onGroupListUpdate','620344lcPdBg','CczCk','onGetGroupBulletinListResult:','onGroupsMsgMaskResult','PFSkW','onMemberInfoChange:','onGroupStatisticInfoChange:','onGroupBulletinChange','onGroupMemberLevelInfoChange:','103218tLOMRC','3ohWKJg','25ahsPSr','iZijB','DJpmQ','onGroupsMsgMaskResult:','onGroupFirstBulletinNotify:','mcWqx','eRpzS','onShutUpMemberListChanged:','onGroupConfMemberChange:','onJoinGroupNotify:','onGroupListUpdate:','onGroupNotifiesUpdated','9FpEQOA','1681900klmIjU','onGetGroupBulletinListResult','onGroupArkInviteStateResult','onGroupArkInviteStateResult:','atXKp','onSearchMemberChange:','onGroupBulletinRemindNotify:','log','onGroupBulletinChange:','onGroupDetailInfoChange:','onJoinGroupNoVerifyFlag','onGroupNotifiesUpdated:','onGroupExtListUpdate','946618NSleQF','173892ZXUfzx','onGroupNotifiesUnreadCountUpdated:','onGroupSingleScreenNotifies','onGroupNotifiesUnreadCountUpdated','onMemberInfoChange','qlCpy','EBRZP'];_0x2d61=function(){return _0x5b4509;};return _0x2d61();}export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x537e4e){}[_0x3f471f(0x12c)](..._0xce6023){}[_0x3f471f(0x10b)](..._0x226b9b){}[_0x3f471f(0x11a)](..._0x33fa7a){}[_0x3f471f(0x146)](..._0x50b7d5){}[_0x3f471f(0x12d)](..._0x2d891e){}['onGroupBulletinRichMediaDownloadComplete'](..._0x43b2d3){}[_0x3f471f(0x144)](..._0x534a36){}['onGroupDetailInfoChange'](..._0x3d1234){}[_0x3f471f(0x137)](..._0x4af23b){}[_0x3f471f(0x147)](..._0x19f905){}[_0x3f471f(0x112)](_0xe53d6e,_0x41d1ac){}['onGroupNotifiesUpdated'](_0x3deafa,_0x19c9f4){}['onGroupBulletinRichMediaProgressUpdate'](..._0x4104dd){}[_0x3f471f(0x13c)](..._0x42f86f){}['onGroupSingleScreenNotifies'](..._0x3e18d9){}[_0x3f471f(0x116)](..._0x309491){}[_0x3f471f(0x148)](..._0x30b449){}['onJoinGroupNotify'](..._0x15acf6){}[_0x3f471f(0x135)](..._0xe1d6c9){}[_0x3f471f(0x13d)](_0x23c55b,_0x5ecb10,_0x25bf29){}['onMemberListChange'](_0x222763){}['onSearchMemberChange'](..._0x5dfbc2){}['onShutUpMemberListChanged'](..._0x24ff8b){}}export class DebugGroupListener{[_0x3f471f(0x10a)](..._0x45bfaa){var _0xbcf208=_0x3f471f;console['log'](_0xbcf208(0x11b),..._0x45bfaa);}['onGetGroupBulletinListResult'](..._0x50f204){var _0x119f52=_0x3f471f,_0x4809d6={'yHWdC':_0x119f52(0x115)};console[_0x119f52(0x132)](_0x4809d6[_0x119f52(0x140)],..._0x50f204);}[_0x3f471f(0x10b)](..._0x3d3ba9){var _0x3dc5cb=_0x3f471f,_0x32a1d1={'eRpzS':'onGroupAllInfoChange:'};console[_0x3dc5cb(0x132)](_0x32a1d1[_0x3dc5cb(0x124)],..._0x3d3ba9);}['onGroupBulletinChange'](..._0x5af2bb){var _0x320ec7=_0x3f471f,_0x1fe5f0={'iZijB':_0x320ec7(0x133)};console['log'](_0x1fe5f0[_0x320ec7(0x11f)],..._0x5af2bb);}[_0x3f471f(0x146)](..._0x3f5e92){var _0x341119=_0x3f471f,_0x5f5559={'DJpmQ':_0x341119(0x131)};console[_0x341119(0x132)](_0x5f5559[_0x341119(0x120)],..._0x3f5e92);}[_0x3f471f(0x12d)](..._0x478ba1){var _0x1248ac=_0x3f471f;console[_0x1248ac(0x132)](_0x1248ac(0x12e),..._0x478ba1);}[_0x3f471f(0x143)](..._0x141e6c){var _0x40179c=_0x3f471f,_0x5a392e={'atXKp':'onGroupBulletinRichMediaDownloadComplete:'};console[_0x40179c(0x132)](_0x5a392e[_0x40179c(0x12f)],..._0x141e6c);}[_0x3f471f(0x144)](..._0x3b640f){var _0x27fb16=_0x3f471f;console[_0x27fb16(0x132)](_0x27fb16(0x126),..._0x3b640f);}[_0x3f471f(0x142)](..._0x49135b){var _0x277109=_0x3f471f,_0x5ccd2a={'PFSkW':_0x277109(0x134)};console[_0x277109(0x132)](_0x5ccd2a[_0x277109(0x117)],..._0x49135b);}['onGroupExtListUpdate'](..._0x1102fa){var _0x36e845=_0x3f471f,_0x1f09ac={'EBRZP':'onGroupExtListUpdate:'};console[_0x36e845(0x132)](_0x1f09ac[_0x36e845(0x13f)],..._0x1102fa);}['onGroupFirstBulletinNotify'](..._0x30cef3){var _0x4969a7=_0x3f471f;console[_0x4969a7(0x132)](_0x4969a7(0x122),..._0x30cef3);}['onGroupListUpdate'](..._0x38ac9d){var _0x1dc672=_0x3f471f,_0x48b6d2={'Evxwm':_0x1dc672(0x128)};console[_0x1dc672(0x132)](_0x48b6d2[_0x1dc672(0x149)],..._0x38ac9d);}[_0x3f471f(0x129)](..._0x56d6f9){var _0x1239bd=_0x3f471f,_0x33d51a={'VswDt':_0x1239bd(0x136)};console[_0x1239bd(0x132)](_0x33d51a[_0x1239bd(0x10d)],..._0x56d6f9);}['onGroupBulletinRichMediaProgressUpdate'](..._0x30b8ba){var _0x4e45ad=_0x3f471f;console[_0x4e45ad(0x132)]('onGroupBulletinRichMediaProgressUpdate:',..._0x30b8ba);}[_0x3f471f(0x13c)](..._0x590044){var _0x163951=_0x3f471f,_0x170f38={'waQzP':_0x163951(0x13a)};console['log'](_0x170f38['waQzP'],..._0x590044);}[_0x3f471f(0x13b)](..._0x3158e2){var _0x570c4d=_0x3f471f;console[_0x570c4d(0x132)]('onGroupSingleScreenNotifies:',..._0x3158e2);}[_0x3f471f(0x116)](..._0x1ca963){var _0x38bdfb=_0x3f471f;console['log'](_0x38bdfb(0x121),..._0x1ca963);}[_0x3f471f(0x148)](..._0x4dc178){var _0x2ab36b=_0x3f471f;console[_0x2ab36b(0x132)](_0x2ab36b(0x119),..._0x4dc178);}[_0x3f471f(0x10f)](..._0x11ba51){var _0x5dc14f=_0x3f471f,_0x4645c6={'qlCpy':_0x5dc14f(0x127)};console[_0x5dc14f(0x132)](_0x4645c6[_0x5dc14f(0x13e)],..._0x11ba51);}[_0x3f471f(0x135)](..._0x510964){var _0x35f710=_0x3f471f,_0x420564={'BUvPb':'onJoinGroupNoVerifyFlag:'};console['log'](_0x420564[_0x35f710(0x141)],..._0x510964);}[_0x3f471f(0x13d)](_0x198a79,_0x481f2c,_0xb39f6f){var _0x311d5a=_0x3f471f;console['log'](_0x311d5a(0x118),_0x198a79,_0x481f2c,_0xb39f6f);}[_0x3f471f(0x10c)](..._0x391cdd){var _0x5ae68b=_0x3f471f,_0x149849={'CczCk':_0x5ae68b(0x145)};console[_0x5ae68b(0x132)](_0x149849[_0x5ae68b(0x114)],..._0x391cdd);}[_0x3f471f(0x110)](..._0x2e2970){var _0x4ce621=_0x3f471f,_0x1a469b={'mcWqx':_0x4ce621(0x130)};console[_0x4ce621(0x132)](_0x1a469b[_0x4ce621(0x123)],..._0x2e2970);}['onShutUpMemberListChanged'](..._0x1d7525){var _0x3ee359=_0x3f471f,_0x296831={'Knpaq':_0x3ee359(0x125)};console[_0x3ee359(0x132)](_0x296831['Knpaq'],..._0x1d7525);}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelLoginListener.js b/src/core.lib/src/listeners/NodeIKernelLoginListener.js index 7a204b62..600f93e6 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -function _0xe81d(_0x24d85e,_0xb9f5af){var _0x390dc7=_0x390d();return _0xe81d=function(_0xe81d01,_0xe36ba4){_0xe81d01=_0xe81d01-0x162;var _0x425223=_0x390dc7[_0xe81d01];return _0x425223;},_0xe81d(_0x24d85e,_0xb9f5af);}var _0x35dbeb=_0xe81d;function _0x390d(){var _0x408a75=['127746GBwZox','onQRCodeSessionUserScaned','930159FpmJjW','onLogoutSucceed','6qhbFEd','onLogoutFailed','14irDBVf','813980dSydzw','onUserLoggedIn','onQRCodeLoginPollingStarted','2994929SAVDKP','onLoginDisConnected','onQQLoginNumLimited','onQRCodeSessionQuickLoginFailed','24279Jpgaio','onQRCodeLoginSucceed','onLoginState','1676896fZCWJK','26412RQxvfa','165OKZtCp','onLoginConnecting','onLoginConnected','onPasswordLoginFailed'];_0x390d=function(){return _0x408a75;};return _0x390d();}(function(_0x485952,_0x4de4a3){var _0xa1fe=_0xe81d,_0x5cf2a3=_0x485952();while(!![]){try{var _0x5612b4=-parseInt(_0xa1fe(0x16d))/0x1+parseInt(_0xa1fe(0x173))/0x2*(parseInt(_0xa1fe(0x164))/0x3)+parseInt(_0xa1fe(0x168))/0x4*(parseInt(_0xa1fe(0x169))/0x5)+-parseInt(_0xa1fe(0x171))/0x6*(-parseInt(_0xa1fe(0x177))/0x7)+-parseInt(_0xa1fe(0x167))/0x8+parseInt(_0xa1fe(0x16f))/0x9+-parseInt(_0xa1fe(0x174))/0xa;if(_0x5612b4===_0x4de4a3)break;else _0x5cf2a3['push'](_0x5cf2a3['shift']());}catch(_0x16489c){_0x5cf2a3['push'](_0x5cf2a3['shift']());}}}(_0x390d,0x5e7b0));export class LoginListener{[_0x35dbeb(0x16b)](..._0x3ca13e){}[_0x35dbeb(0x178)](..._0x1428f2){}[_0x35dbeb(0x16a)](..._0x11856a){}['onQRCodeGetPicture'](_0x14f900){}[_0x35dbeb(0x176)](..._0x1867f){}[_0x35dbeb(0x16e)](..._0x412a74){}[_0x35dbeb(0x165)](_0x504ab4){}['onQRCodeSessionFailed'](..._0x5e97a9){}['onLoginFailed'](..._0x314126){}[_0x35dbeb(0x170)](..._0x5df9d6){}[_0x35dbeb(0x172)](..._0x85d898){}[_0x35dbeb(0x175)](..._0x2391e4){}[_0x35dbeb(0x163)](..._0x1c9e95){}[_0x35dbeb(0x16c)](..._0x5e402b){}['OnConfirmUnusualDeviceFailed'](..._0x342488){}[_0x35dbeb(0x162)](..._0x1f859c){}[_0x35dbeb(0x166)](..._0x6d0900){}} \ No newline at end of file +function _0x582b(){var _0x5d0961=['onLoginFailed','onLogoutFailed','onQRCodeSessionQuickLoginFailed','onLoginConnected','onUserLoggedIn','onLoginState','7RzOPKB','3sDcZWz','175808qclkaI','1456180LtkSHk','onQRCodeSessionFailed','onLoginConnecting','248bKZkcs','onQRCodeGetPicture','OnConfirmUnusualDeviceFailed','27QGZqhd','907992lLYYlt','70314PgzoOI','6486294WXDzFZ','onQRCodeLoginPollingStarted','onPasswordLoginFailed','2774270rKJftz','3869140TbYJMo'];_0x582b=function(){return _0x5d0961;};return _0x582b();}var _0x2c2b5a=_0x5dca;function _0x5dca(_0x59c7b7,_0xc2c639){var _0x582b2f=_0x582b();return _0x5dca=function(_0x5dca4e,_0x57466c){_0x5dca4e=_0x5dca4e-0xb6;var _0x1b9d92=_0x582b2f[_0x5dca4e];return _0x1b9d92;},_0x5dca(_0x59c7b7,_0xc2c639);}(function(_0x10e212,_0x4fa8cb){var _0x2910d8=_0x5dca,_0x493dd6=_0x10e212();while(!![]){try{var _0xab017d=parseInt(_0x2910d8(0xc5))/0x1*(-parseInt(_0x2910d8(0xc6))/0x2)+-parseInt(_0x2910d8(0xb8))/0x3*(-parseInt(_0x2910d8(0xca))/0x4)+-parseInt(_0x2910d8(0xc7))/0x5+-parseInt(_0x2910d8(0xb9))/0x6*(parseInt(_0x2910d8(0xc4))/0x7)+-parseInt(_0x2910d8(0xb7))/0x8+parseInt(_0x2910d8(0xb6))/0x9*(parseInt(_0x2910d8(0xbc))/0xa)+parseInt(_0x2910d8(0xbd))/0xb;if(_0xab017d===_0x4fa8cb)break;else _0x493dd6['push'](_0x493dd6['shift']());}catch(_0x541992){_0x493dd6['push'](_0x493dd6['shift']());}}}(_0x582b,0xd8b81));export class LoginListener{[_0x2c2b5a(0xc1)](..._0x56a31b){}['onLoginDisConnected'](..._0x4472ec){}[_0x2c2b5a(0xc9)](..._0x170f19){}[_0x2c2b5a(0xcb)](_0x4be3ab){}[_0x2c2b5a(0xba)](..._0x594745){}['onQRCodeSessionUserScaned'](..._0x5a0399){}['onQRCodeLoginSucceed'](_0x20184f){}[_0x2c2b5a(0xc8)](..._0x21e99d){}[_0x2c2b5a(0xbe)](..._0x2e1ae9){}['onLogoutSucceed'](..._0x431595){}[_0x2c2b5a(0xbf)](..._0xe75afb){}[_0x2c2b5a(0xc2)](..._0x4d160e){}[_0x2c2b5a(0xc0)](..._0x55dcec){}[_0x2c2b5a(0xbb)](..._0x4f6f73){}[_0x2c2b5a(0xcc)](..._0x58e066){}['onQQLoginNumLimited'](..._0x228e64){}[_0x2c2b5a(0xc3)](..._0x208827){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelMsgListener.js b/src/core.lib/src/listeners/NodeIKernelMsgListener.js index 459e18b1..33836cc5 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x5efc55=_0x1f98;function _0x1f98(_0x29e6ef,_0x5b2fa6){var _0x473f76=_0x473f();return _0x1f98=function(_0x1f989b,_0x4e88b9){_0x1f989b=_0x1f989b-0x128;var _0x348390=_0x473f76[_0x1f989b];return _0x348390;},_0x1f98(_0x29e6ef,_0x5b2fa6);}function _0x473f(){var _0x1fa2e4=['onFirstViewGroupGuildMapping','onFileMsgCome','574240TeksZZ','609726XEmlkG','onRecvOnlineFileMsg','onMsgWithRichLinkInfoUpdate','onGroupTransferInfoAdd','onFeedEventUpdate','onMsgAbstractUpdate','onSysMsgNotification','onMsgRecall','onCustomWithdrawConfigUpdate','onMsgSettingUpdate','onlineStatusSmallIconDownloadPush','onDraftUpdate','onGroupGuildUpdate','3238568flkBsr','224926kurWNu','onRecvS2CMsg','onRichMediaDownloadComplete','1990gFSkCi','onMsgBoxChanged','onEmojiDownloadComplete','onGroupFileInfoUpdate','onUnreadCntAfterFirstView','onRecvSysMsg','onUserSecQualityChanged','21yiXIUM','4176MANnsc','onUnreadCntUpdate','onMsgDelete','onBroadcastHelperDownloadComplete','onGuildInteractiveUpdate','onUserTabStatusChanged','onGuildMsgAbFlagChanged','onlineStatusBigIconDownloadPush','onMsgSecurityNotify','onRedTouchChanged','onImportOldDbProgressUpdate','onHitEmojiKeywordResult','onInputStatusPush','18BBaZbN','onLineDev','onGroupFileInfoAdd','onMsgInfoListAdd','onNtMsgSyncStart','10161880FAciTq','onEmojiResourceUpdate','onRecvMsgSvrRspTransInfo','onNtFirstViewMsgSyncEnd','onHitRelatedEmojiResult','onLogLevelChanged','onRecvMsg','477972iMAkmf','onMsgInfoListUpdate'];_0x473f=function(){return _0x1fa2e4;};return _0x473f();}(function(_0x3f987d,_0x3216ab){var _0x339ec4=_0x1f98,_0x5e8a67=_0x3f987d();while(!![]){try{var _0xe78358=parseInt(_0x339ec4(0x157))/0x1+parseInt(_0x339ec4(0x12f))/0x2+-parseInt(_0x339ec4(0x153))/0x3+parseInt(_0x339ec4(0x13a))/0x4*(parseInt(_0x339ec4(0x132))/0x5)+parseInt(_0x339ec4(0x158))/0x6*(-parseInt(_0x339ec4(0x139))/0x7)+parseInt(_0x339ec4(0x12e))/0x8*(parseInt(_0x339ec4(0x147))/0x9)+-parseInt(_0x339ec4(0x14c))/0xa;if(_0xe78358===_0x3216ab)break;else _0x5e8a67['push'](_0x5e8a67['shift']());}catch(_0x1f13c3){_0x5e8a67['push'](_0x5e8a67['shift']());}}}(_0x473f,0x6957a));export class MsgListener{['onAddSendMsg'](_0x340d57){}[_0x5efc55(0x13d)](_0x21bc54){}['onBroadcastHelperProgressUpdate'](_0x2897d6){}['onChannelFreqLimitInfoUpdate'](_0x23b0c9,_0x44b9b5,_0x3fee7b){}['onContactUnreadCntUpdate'](_0x3f5ab8){}[_0x5efc55(0x129)](_0x314df4){}[_0x5efc55(0x12c)](_0xff533a,_0x5c09a6,_0x3d3c48){}[_0x5efc55(0x134)](_0x28d81e){}[_0x5efc55(0x14d)](_0x1b7c2c){}[_0x5efc55(0x15c)](_0x3adf6a){}[_0x5efc55(0x156)](_0x18a49d){}['onFirstViewDirectMsgUpdate'](_0x3927f9){}[_0x5efc55(0x155)](_0x274568){}['onGrabPasswordRedBag'](_0x42c744,_0x4e7aca,_0x3124d4,_0xc47d12,_0xa00366){}[_0x5efc55(0x149)](_0x57aa41){}[_0x5efc55(0x135)](_0x4c664a){}[_0x5efc55(0x12d)](_0x3753fb){}[_0x5efc55(0x15b)](_0x61abd9){}['onGroupTransferInfoUpdate'](_0x1f17fc){}[_0x5efc55(0x13e)](_0x29e296){}[_0x5efc55(0x140)](_0x4b4c0e){}['onGuildNotificationAbstractUpdate'](_0x412881){}['onHitCsRelatedEmojiResult'](_0x74fe78){}[_0x5efc55(0x145)](_0x167da5){}[_0x5efc55(0x150)](_0x1e2166){}[_0x5efc55(0x144)](_0x247a84){}[_0x5efc55(0x146)](_0x1d64b0){}['onKickedOffLine'](_0x1d75c8){}[_0x5efc55(0x148)](_0x38b6ea){}[_0x5efc55(0x151)](_0x321552){}[_0x5efc55(0x15d)](_0x4788cd){}[_0x5efc55(0x133)](_0x5c6f7e){}[_0x5efc55(0x13c)](_0x22ccdd,_0x5dd45d){}['onMsgEventListUpdate'](_0x5caa7a){}[_0x5efc55(0x14a)](_0x4e00bf){}[_0x5efc55(0x154)](_0x4af7d5){}['onMsgQRCodeStatusChanged'](_0x507e88){}[_0x5efc55(0x128)](_0x13647c,_0x1e4391,_0x2a08fd){}[_0x5efc55(0x142)](_0xbf6375){}[_0x5efc55(0x12a)](_0x59995d){}[_0x5efc55(0x14f)](){}['onNtMsgSyncEnd'](){}[_0x5efc55(0x14b)](){}['onReadFeedEventUpdate'](_0xbbc99c){}['onRecvGroupGuildFlag'](_0x1b0c12){}[_0x5efc55(0x152)](_0x819725){}[_0x5efc55(0x14e)](_0x26800d,_0xd365e8,_0x169c7f,_0x22c260,_0x3f7002,_0x134336){}[_0x5efc55(0x159)](_0x6bb65a){}[_0x5efc55(0x130)](_0x1a334a){}[_0x5efc55(0x137)](_0x52c9ee){}['onRecvUDCFlag'](_0x58f4bf){}[_0x5efc55(0x131)](_0x1ba648){}['onRichMediaProgerssUpdate'](_0x1cd66d){}['onRichMediaUploadComplete'](_0x31aaea){}['onSearchGroupFileInfoUpdate'](_0x56c624){}['onSendMsgError'](_0x5e649a,_0x2d10c6,_0x144e83,_0x5be97e){}[_0x5efc55(0x15e)](_0x599320,_0x24e131,_0x4b90f1,_0x3e71e9){}['onTempChatInfoUpdate'](_0x2b8fd1){}[_0x5efc55(0x136)](_0x63908f){}[_0x5efc55(0x13b)](_0x16d872){}['onUserChannelTabStatusChanged'](_0x148646){}['onUserOnlineStatusChanged'](_0x2e26fd){}[_0x5efc55(0x13f)](_0x37c691){}[_0x5efc55(0x141)](_0xbc0ece,_0x213bac,_0x1b0374){}[_0x5efc55(0x12b)](_0x2fdcc3,_0x149636,_0x1f970a){}[_0x5efc55(0x138)](..._0x23c60a){}[_0x5efc55(0x15a)](..._0x40eeee){}[_0x5efc55(0x143)](..._0x2c333b){}['onBroadcastHelperProgerssUpdate'](..._0x4b19c5){}} \ No newline at end of file +function _0x218c(){var _0x105ea5=['onUnreadCntUpdate','onFeedEventUpdate','380548ltVsCA','onRichMediaDownloadComplete','onGroupFileInfoAdd','onRecvS2CMsg','onRedTouchChanged','48fWMTdj','onBroadcastHelperDownloadComplete','onContactUnreadCntUpdate','2621744EOFDzB','onNtFirstViewMsgSyncEnd','onFirstViewDirectMsgUpdate','onRecvSysMsg','5FjkwqL','onRichMediaUploadComplete','onlineStatusBigIconDownloadPush','onRecvGroupGuildFlag','onMsgRecall','onUserSecQualityChanged','onMsgInfoListAdd','141172vFiuWz','onTempChatInfoUpdate','onHitEmojiKeywordResult','onlineStatusSmallIconDownloadPush','7986573eSOgiF','onGroupTransferInfoUpdate','2140868hdruUl','onGroupTransferInfoAdd','120lsErTA','onUnreadCntAfterFirstView','onGroupGuildUpdate','970516hRhJnW','onGroupFileInfoUpdate','22908960tdkcUP','onSearchGroupFileInfoUpdate','onGrabPasswordRedBag','onLineDev','onLogLevelChanged','onSysMsgNotification','onUserOnlineStatusChanged','onUserChannelTabStatusChanged','onBroadcastHelperProgerssUpdate','onMsgBoxChanged','onGuildMsgAbFlagChanged','onAddSendMsg','onRichMediaProgerssUpdate','onGuildNotificationAbstractUpdate','onRecvOnlineFileMsg','onMsgAbstractUpdate','onMsgSettingUpdate','onMsgWithRichLinkInfoUpdate','onBroadcastHelperProgressUpdate','onFileMsgCome','onInputStatusPush','onEmojiDownloadComplete','onHitCsRelatedEmojiResult','onUserTabStatusChanged','onDraftUpdate','onFirstViewGroupGuildMapping','onMsgSecurityNotify','onHitRelatedEmojiResult','onRecvUDCFlag','onMsgEventListUpdate'];_0x218c=function(){return _0x105ea5;};return _0x218c();}var _0x22bd07=_0xb647;(function(_0x3d4901,_0x38e564){var _0x188c81=_0xb647,_0x282308=_0x3d4901();while(!![]){try{var _0x4b2510=-parseInt(_0x188c81(0x13c))/0x1+parseInt(_0x188c81(0x131))/0x2*(-parseInt(_0x188c81(0x123))/0x3)+-parseInt(_0x188c81(0x137))/0x4*(-parseInt(_0x188c81(0x12a))/0x5)+-parseInt(_0x188c81(0x139))/0x6*(-parseInt(_0x188c81(0x11e))/0x7)+-parseInt(_0x188c81(0x126))/0x8+-parseInt(_0x188c81(0x135))/0x9+parseInt(_0x188c81(0x13e))/0xa;if(_0x4b2510===_0x38e564)break;else _0x282308['push'](_0x282308['shift']());}catch(_0x52a7af){_0x282308['push'](_0x282308['shift']());}}}(_0x218c,0x92172));function _0xb647(_0x500d81,_0x1ec910){var _0x218c01=_0x218c();return _0xb647=function(_0xb64745,_0x1455b3){_0xb64745=_0xb64745-0x104;var _0x35f73b=_0x218c01[_0xb64745];return _0x35f73b;},_0xb647(_0x500d81,_0x1ec910);}export class MsgListener{[_0x22bd07(0x109)](_0x3d571e){}[_0x22bd07(0x124)](_0x1cab30){}[_0x22bd07(0x110)](_0x558124){}['onChannelFreqLimitInfoUpdate'](_0x3438ca,_0x3e3633,_0x3268ea){}[_0x22bd07(0x125)](_0x2867e4){}['onCustomWithdrawConfigUpdate'](_0x4a3c77){}[_0x22bd07(0x116)](_0x58dd3d,_0x5aec32,_0x1254cb){}[_0x22bd07(0x113)](_0x185e6e){}['onEmojiResourceUpdate'](_0x31519f){}[_0x22bd07(0x11d)](_0x5e22f6){}[_0x22bd07(0x111)](_0x5d51e4){}[_0x22bd07(0x128)](_0x5926e2){}[_0x22bd07(0x117)](_0x5254e3){}[_0x22bd07(0x140)](_0x575ae3,_0x4b697b,_0x28ad71,_0x35c61e,_0x3b8270){}[_0x22bd07(0x120)](_0x1ab9bb){}[_0x22bd07(0x13d)](_0x437239){}[_0x22bd07(0x13b)](_0x405b58){}[_0x22bd07(0x138)](_0x2b5a52){}[_0x22bd07(0x136)](_0x3cab22){}['onGuildInteractiveUpdate'](_0x52cb30){}[_0x22bd07(0x108)](_0x5043ba){}[_0x22bd07(0x10b)](_0x1d8b36){}[_0x22bd07(0x114)](_0x81a6b){}[_0x22bd07(0x133)](_0x142d4b){}[_0x22bd07(0x119)](_0x2eca08){}['onImportOldDbProgressUpdate'](_0x3210e1){}[_0x22bd07(0x112)](_0x181ef1){}['onKickedOffLine'](_0x529c5b){}[_0x22bd07(0x141)](_0x37489f){}[_0x22bd07(0x142)](_0x568f3d){}[_0x22bd07(0x10d)](_0x5b6cc5){}[_0x22bd07(0x107)](_0x5df4f2){}['onMsgDelete'](_0x29dbe2,_0x6dd4f4){}[_0x22bd07(0x11b)](_0x467bcd){}[_0x22bd07(0x130)](_0x2514f9){}['onMsgInfoListUpdate'](_0x59f5df){}['onMsgQRCodeStatusChanged'](_0x3b7bf9){}[_0x22bd07(0x12e)](_0x28f599,_0x1ad17c,_0x230cdd){}[_0x22bd07(0x118)](_0x57a3d2){}[_0x22bd07(0x10e)](_0x56deaf){}[_0x22bd07(0x127)](){}['onNtMsgSyncEnd'](){}['onNtMsgSyncStart'](){}['onReadFeedEventUpdate'](_0x7bf450){}[_0x22bd07(0x12d)](_0x1f03d1){}['onRecvMsg'](_0x1994a8){}['onRecvMsgSvrRspTransInfo'](_0x23b040,_0x2858c1,_0x10f2b1,_0x5958e9,_0x12521a,_0x14f5a5){}[_0x22bd07(0x10c)](_0x1a7510){}[_0x22bd07(0x121)](_0x2f7d27){}[_0x22bd07(0x129)](_0x2527e5){}[_0x22bd07(0x11a)](_0x22b50c){}[_0x22bd07(0x11f)](_0x4d12a2){}[_0x22bd07(0x10a)](_0x5e4789){}[_0x22bd07(0x12b)](_0x3c869d){}[_0x22bd07(0x13f)](_0x3e6222){}['onSendMsgError'](_0x4a1748,_0xe0a1d8,_0x2c25b0,_0x49406d){}[_0x22bd07(0x143)](_0x38c274,_0x2b37af,_0x43181e,_0x919505){}[_0x22bd07(0x132)](_0x226f78){}[_0x22bd07(0x13a)](_0x18de31){}[_0x22bd07(0x11c)](_0x5cf896){}[_0x22bd07(0x105)](_0x50df4c){}[_0x22bd07(0x104)](_0x492368){}[_0x22bd07(0x115)](_0x125721){}[_0x22bd07(0x12c)](_0x439b41,_0x1259cc,_0x477cf8){}[_0x22bd07(0x134)](_0x2cc4cb,_0x354888,_0x54921e){}[_0x22bd07(0x12f)](..._0x424710){}[_0x22bd07(0x10f)](..._0xc3e7b3){}[_0x22bd07(0x122)](..._0x11dd16){}[_0x22bd07(0x106)](..._0x3a3683){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelProfileListener.js b/src/core.lib/src/listeners/NodeIKernelProfileListener.js index c6669105..6a3f7482 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -function _0x1e9e(){var _0xd354d9=['279344bXjOqh','onStrangerRemarkChanged','54768pYqOHz','6BRyPYX','onProfileSimpleChanged','6310115AgRUtg','1371802IEXZwf','6gEogHk','25aJcCwu','onStatusUpdate','10858990oKTPcu','onProfileDetailInfoChanged','821404RKaJjC','1863KswbNd','20706202cMPXJg'];_0x1e9e=function(){return _0xd354d9;};return _0x1e9e();}function _0x2f22(_0x1a476c,_0x3b695e){var _0x1e9e5d=_0x1e9e();return _0x2f22=function(_0x2f223b,_0x53c055){_0x2f223b=_0x2f223b-0x6f;var _0x26b5dd=_0x1e9e5d[_0x2f223b];return _0x26b5dd;},_0x2f22(_0x1a476c,_0x3b695e);}var _0x2cf302=_0x2f22;(function(_0xb23c07,_0x3feee8){var _0x235faa=_0x2f22,_0x1b03b6=_0xb23c07();while(!![]){try{var _0x252e12=-parseInt(_0x235faa(0x7c))/0x1+-parseInt(_0x235faa(0x73))/0x2*(parseInt(_0x235faa(0x74))/0x3)+-parseInt(_0x235faa(0x79))/0x4*(parseInt(_0x235faa(0x75))/0x5)+parseInt(_0x235faa(0x70))/0x6*(-parseInt(_0x235faa(0x72))/0x7)+-parseInt(_0x235faa(0x6f))/0x8*(-parseInt(_0x235faa(0x7a))/0x9)+parseInt(_0x235faa(0x77))/0xa+parseInt(_0x235faa(0x7b))/0xb;if(_0x252e12===_0x3feee8)break;else _0x1b03b6['push'](_0x1b03b6['shift']());}catch(_0x25d075){_0x1b03b6['push'](_0x1b03b6['shift']());}}}(_0x1e9e,0xc4ca9));export class ProfileListener{[_0x2cf302(0x71)](..._0x596c3c){}[_0x2cf302(0x78)](_0x311f65){}[_0x2cf302(0x76)](..._0x4910de){}['onSelfStatusChanged'](..._0x2415bf){}[_0x2cf302(0x7d)](..._0x391015){}} \ No newline at end of file +function _0x5968(_0x10a104,_0x4b350c){var _0x2ae14e=_0x2ae1();return _0x5968=function(_0x596849,_0x2995db){_0x596849=_0x596849-0x1c9;var _0x4fc6b7=_0x2ae14e[_0x596849];return _0x4fc6b7;},_0x5968(_0x10a104,_0x4b350c);}var _0x43a2cb=_0x5968;(function(_0x98cb85,_0x5e7b60){var _0x2161a1=_0x5968,_0x137d08=_0x98cb85();while(!![]){try{var _0x58ad88=parseInt(_0x2161a1(0x1ce))/0x1*(parseInt(_0x2161a1(0x1d1))/0x2)+parseInt(_0x2161a1(0x1d5))/0x3*(-parseInt(_0x2161a1(0x1cc))/0x4)+-parseInt(_0x2161a1(0x1cf))/0x5*(-parseInt(_0x2161a1(0x1ca))/0x6)+-parseInt(_0x2161a1(0x1d7))/0x7+-parseInt(_0x2161a1(0x1d0))/0x8*(-parseInt(_0x2161a1(0x1cb))/0x9)+-parseInt(_0x2161a1(0x1d4))/0xa*(parseInt(_0x2161a1(0x1c9))/0xb)+parseInt(_0x2161a1(0x1d3))/0xc;if(_0x58ad88===_0x5e7b60)break;else _0x137d08['push'](_0x137d08['shift']());}catch(_0x2d0309){_0x137d08['push'](_0x137d08['shift']());}}}(_0x2ae1,0xf3b3b));export class ProfileListener{[_0x43a2cb(0x1d6)](..._0x2ac0e9){}['onProfileDetailInfoChanged'](_0x5af307){}[_0x43a2cb(0x1cd)](..._0xc72f31){}[_0x43a2cb(0x1d2)](..._0x542477){}[_0x43a2cb(0x1d8)](..._0x362175){}}function _0x2ae1(){var _0x4826ae=['16466ZVCKHq','1213130YnVQdC','6318920eqgucL','72FogOUm','onSelfStatusChanged','12817008digalS','10LejEzx','1044XTyXpE','onProfileSimpleChanged','10474002urjhmT','onStrangerRemarkChanged','5096487outKyX','12CJkfXA','18sRoWYY','8828rIZJHb','onStatusUpdate'];_0x2ae1=function(){return _0x4826ae;};return _0x2ae1();} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelRobotListener.js b/src/core.lib/src/listeners/NodeIKernelRobotListener.js index 5fa15f8d..54cd8df6 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -function _0x2814(_0x4b60a3,_0x50dc43){var _0x37f5db=_0x37f5();return _0x2814=function(_0x281466,_0x297c8a){_0x281466=_0x281466-0xf0;var _0x490194=_0x37f5db[_0x281466];return _0x490194;},_0x2814(_0x4b60a3,_0x50dc43);}var _0x33329f=_0x2814;(function(_0x389486,_0x3a9423){var _0xe0f197=_0x2814,_0x45e983=_0x389486();while(!![]){try{var _0x3eadfe=parseInt(_0xe0f197(0xf2))/0x1*(parseInt(_0xe0f197(0xf8))/0x2)+parseInt(_0xe0f197(0xf0))/0x3*(-parseInt(_0xe0f197(0xf3))/0x4)+-parseInt(_0xe0f197(0xf7))/0x5+parseInt(_0xe0f197(0xfb))/0x6+parseInt(_0xe0f197(0xf6))/0x7+-parseInt(_0xe0f197(0xf1))/0x8+parseInt(_0xe0f197(0xf5))/0x9;if(_0x3eadfe===_0x3a9423)break;else _0x45e983['push'](_0x45e983['shift']());}catch(_0x491786){_0x45e983['push'](_0x45e983['shift']());}}}(_0x37f5,0xc9dee));export class KernelRobotListener{[_0x33329f(0xf4)](..._0x5f0737){}[_0x33329f(0xfa)](..._0x4bf031){}[_0x33329f(0xf9)](..._0x316566){}}function _0x37f5(){var _0x471680=['10852779CBZJQA','3306865ULjLKe','166qCjMvC','onRobotProfileChanged','onRobotListChanged','3631998fNXnSR','2238nuwwqW','1144440oDFaNH','6170PmziLg','5800jieqJG','onRobotFriendListChanged','406350UhFceb'];_0x37f5=function(){return _0x471680;};return _0x37f5();} \ No newline at end of file +var _0x4f5e3c=_0x24f9;function _0x24f9(_0x41c9dc,_0x5ed004){var _0x15d7ee=_0x15d7();return _0x24f9=function(_0x24f9d5,_0x350725){_0x24f9d5=_0x24f9d5-0xd9;var _0x16f5bf=_0x15d7ee[_0x24f9d5];return _0x16f5bf;},_0x24f9(_0x41c9dc,_0x5ed004);}(function(_0x2a5932,_0x5155e9){var _0x1bac60=_0x24f9,_0x2366c2=_0x2a5932();while(!![]){try{var _0x3c62d2=parseInt(_0x1bac60(0xdc))/0x1*(parseInt(_0x1bac60(0xe4))/0x2)+-parseInt(_0x1bac60(0xe2))/0x3+-parseInt(_0x1bac60(0xe5))/0x4+parseInt(_0x1bac60(0xde))/0x5+-parseInt(_0x1bac60(0xe0))/0x6*(-parseInt(_0x1bac60(0xda))/0x7)+parseInt(_0x1bac60(0xe3))/0x8*(parseInt(_0x1bac60(0xdd))/0x9)+-parseInt(_0x1bac60(0xdf))/0xa*(parseInt(_0x1bac60(0xe1))/0xb);if(_0x3c62d2===_0x5155e9)break;else _0x2366c2['push'](_0x2366c2['shift']());}catch(_0x1c0c2f){_0x2366c2['push'](_0x2366c2['shift']());}}}(_0x15d7,0x212a0));function _0x15d7(){var _0x15e045=['32951ldCltf','10872rahaSW','799265pDCMQv','62590STTdqb','1251672LjwWxA','363AkDrbp','566994plsVMU','1712MFMEge','10BwXoYk','1041388dmuCuo','onRobotProfileChanged','7AKSKCA','onRobotListChanged'];_0x15d7=function(){return _0x15e045;};return _0x15d7();}export class KernelRobotListener{['onRobotFriendListChanged'](..._0x1e7be8){}[_0x4f5e3c(0xdb)](..._0x1247d0){}[_0x4f5e3c(0xd9)](..._0x1ac5df){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelSessionListener.js b/src/core.lib/src/listeners/NodeIKernelSessionListener.js index 3b40c8d5..086d6f1c 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x2f44(_0x49d5de,_0x4675b6){var _0x4f5b6a=_0x4f5b();return _0x2f44=function(_0x2f4437,_0x4c49bb){_0x2f4437=_0x2f4437-0x163;var _0x39250b=_0x4f5b6a[_0x2f4437];return _0x39250b;},_0x2f44(_0x49d5de,_0x4675b6);}var _0x619f54=_0x2f44;function _0x4f5b(){var _0x4af813=['3567033XjQBuY','7uTsyNC','125980laDdxt','onSessionInitComplete','onNTSessionCreate','onOpentelemetryInit','13njTGyX','50cRknOO','5036752HwGRHR','1658459crrISm','150jzIHgD','232toyMyn','6470556IUthYT','62803RVwHCK','4533TAQFlM','onUserOnlineResult','4GWTRAH'];_0x4f5b=function(){return _0x4af813;};return _0x4f5b();}(function(_0x3fd2f2,_0x50ce8b){var _0x17c3ff=_0x2f44,_0x845a4c=_0x3fd2f2();while(!![]){try{var _0x4e816a=-parseInt(_0x17c3ff(0x16b))/0x1*(parseInt(_0x17c3ff(0x16e))/0x2)+parseInt(_0x17c3ff(0x16c))/0x3*(-parseInt(_0x17c3ff(0x169))/0x4)+parseInt(_0x17c3ff(0x171))/0x5*(parseInt(_0x17c3ff(0x168))/0x6)+-parseInt(_0x17c3ff(0x170))/0x7*(parseInt(_0x17c3ff(0x166))/0x8)+parseInt(_0x17c3ff(0x16f))/0x9+-parseInt(_0x17c3ff(0x165))/0xa*(-parseInt(_0x17c3ff(0x167))/0xb)+-parseInt(_0x17c3ff(0x16a))/0xc*(parseInt(_0x17c3ff(0x164))/0xd);if(_0x4e816a===_0x50ce8b)break;else _0x845a4c['push'](_0x845a4c['shift']());}catch(_0x42af5f){_0x845a4c['push'](_0x845a4c['shift']());}}}(_0x4f5b,0x612cf));export class SessionListener{[_0x619f54(0x173)](_0x251d84){}['onGProSessionCreate'](_0x814b73){}[_0x619f54(0x172)](_0x3c55f2){}[_0x619f54(0x163)](_0x13d3e7){}[_0x619f54(0x16d)](_0x330456){}['onGetSelfTinyId'](_0x1b0e7e){}} \ No newline at end of file +function _0x1b91(){var _0x409bbe=['7888342yxUuib','537522fXRTcs','64646dLKRvj','onOpentelemetryInit','onGProSessionCreate','7019560wYaRar','onSessionInitComplete','5791370efnpzk','1839200QfKidS','69CxGLai','onGetSelfTinyId','1070044GDIwWk'];_0x1b91=function(){return _0x409bbe;};return _0x1b91();}var _0x35fcc1=_0x406e;(function(_0x5f0222,_0x17fda4){var _0x3f8463=_0x406e,_0x294564=_0x5f0222();while(!![]){try{var _0x5bd5b5=parseInt(_0x3f8463(0x1e5))/0x1+-parseInt(_0x3f8463(0x1e8))/0x2*(-parseInt(_0x3f8463(0x1ef))/0x3)+-parseInt(_0x3f8463(0x1ee))/0x4+parseInt(_0x3f8463(0x1ed))/0x5+parseInt(_0x3f8463(0x1e7))/0x6+-parseInt(_0x3f8463(0x1e6))/0x7+-parseInt(_0x3f8463(0x1eb))/0x8;if(_0x5bd5b5===_0x17fda4)break;else _0x294564['push'](_0x294564['shift']());}catch(_0x128f3d){_0x294564['push'](_0x294564['shift']());}}}(_0x1b91,0x91cbf));function _0x406e(_0x31312e,_0x5bb25a){var _0x1b91c6=_0x1b91();return _0x406e=function(_0x406e9f,_0x3b4532){_0x406e9f=_0x406e9f-0x1e5;var _0x5c55b2=_0x1b91c6[_0x406e9f];return _0x5c55b2;},_0x406e(_0x31312e,_0x5bb25a);}export class SessionListener{['onNTSessionCreate'](_0x449150){}[_0x35fcc1(0x1ea)](_0x246d30){}[_0x35fcc1(0x1ec)](_0x5de750){}[_0x35fcc1(0x1e9)](_0x2f51c9){}['onUserOnlineResult'](_0x54eb75){}[_0x35fcc1(0x1f0)](_0x662ac4){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js index bfa06425..6ff9fae4 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0x379b(_0x5d5d55,_0x324a79){var _0x50686b=_0x5068();return _0x379b=function(_0x379b6f,_0x4c62a9){_0x379b6f=_0x379b6f-0x82;var _0x1a0908=_0x50686b[_0x379b6f];return _0x1a0908;},_0x379b(_0x5d5d55,_0x324a79);}var _0x163422=_0x379b;(function(_0x4c9de8,_0x449f4c){var _0x2fe582=_0x379b,_0x387a16=_0x4c9de8();while(!![]){try{var _0x2dc803=-parseInt(_0x2fe582(0x82))/0x1*(parseInt(_0x2fe582(0x8d))/0x2)+-parseInt(_0x2fe582(0x83))/0x3+-parseInt(_0x2fe582(0x8b))/0x4+parseInt(_0x2fe582(0x84))/0x5*(-parseInt(_0x2fe582(0x8e))/0x6)+parseInt(_0x2fe582(0x85))/0x7+-parseInt(_0x2fe582(0x87))/0x8*(-parseInt(_0x2fe582(0x86))/0x9)+parseInt(_0x2fe582(0x89))/0xa;if(_0x2dc803===_0x449f4c)break;else _0x387a16['push'](_0x387a16['shift']());}catch(_0x36bdb2){_0x387a16['push'](_0x387a16['shift']());}}}(_0x5068,0xb38de));export class StorageCleanListener{[_0x163422(0x8c)](_0x113603){}[_0x163422(0x8f)](_0x250527){}[_0x163422(0x88)](_0x46ef5){}['onFinishScan'](_0x21ba95){}[_0x163422(0x8a)](_0x409ad5){}}function _0x5068(){var _0x5616df=['onScanCacheProgressChanged','6OnnOMs','983481VzfFJl','10FdtDyd','7277984UrDWKe','1521bNkzdn','12328RQiELe','onCleanCacheStorageChanged','22514860tLcDce','onChatCleanDone','1984672fmyKLL','onCleanCacheProgressChanged','413302KfZMcK','2256816nemQCY'];_0x5068=function(){return _0x5616df;};return _0x5068();} \ No newline at end of file +function _0x21cd(){var _0x250c48=['6iWEdUq','190110rPgztq','9635HZABYq','56942NyVQHy','onChatCleanDone','716067VhlcbM','296cToAUo','3MAksHa','63JNStRC','472WJWFTI','117418rKoFqf','6195360yAPYZa','onFinishScan','9543ZplJog'];_0x21cd=function(){return _0x250c48;};return _0x21cd();}function _0x5c3c(_0x62de6b,_0x4a7340){var _0x21cdc8=_0x21cd();return _0x5c3c=function(_0x5c3c1d,_0x398e44){_0x5c3c1d=_0x5c3c1d-0xc6;var _0x5292c2=_0x21cdc8[_0x5c3c1d];return _0x5292c2;},_0x5c3c(_0x62de6b,_0x4a7340);}var _0x32f1f3=_0x5c3c;(function(_0x5b3d2a,_0x495ba1){var _0x8b812c=_0x5c3c,_0x5564fb=_0x5b3d2a();while(!![]){try{var _0x227902=parseInt(_0x8b812c(0xca))/0x1*(parseInt(_0x8b812c(0xc6))/0x2)+parseInt(_0x8b812c(0xd0))/0x3*(parseInt(_0x8b812c(0xcc))/0x4)+-parseInt(_0x8b812c(0xd3))/0x5*(parseInt(_0x8b812c(0xd1))/0x6)+-parseInt(_0x8b812c(0xcd))/0x7*(parseInt(_0x8b812c(0xc9))/0x8)+-parseInt(_0x8b812c(0xcb))/0x9*(-parseInt(_0x8b812c(0xd2))/0xa)+-parseInt(_0x8b812c(0xc8))/0xb+parseInt(_0x8b812c(0xce))/0xc;if(_0x227902===_0x495ba1)break;else _0x5564fb['push'](_0x5564fb['shift']());}catch(_0x3679bf){_0x5564fb['push'](_0x5564fb['shift']());}}}(_0x21cd,0x67242));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x106422){}['onScanCacheProgressChanged'](_0x41f2b1){}['onCleanCacheStorageChanged'](_0x5adade){}[_0x32f1f3(0xcf)](_0xd43430){}[_0x32f1f3(0xc7)](_0x1e5543){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/index.js b/src/core.lib/src/listeners/index.js index 466ad611..6354441c 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x3a0460,_0x35036c){var _0x44e1d9=_0x3256,_0x5aafeb=_0x3a0460();while(!![]){try{var _0x37207c=-parseInt(_0x44e1d9(0x103))/0x1+parseInt(_0x44e1d9(0x108))/0x2+parseInt(_0x44e1d9(0x10a))/0x3*(parseInt(_0x44e1d9(0x107))/0x4)+parseInt(_0x44e1d9(0x106))/0x5+-parseInt(_0x44e1d9(0x104))/0x6+parseInt(_0x44e1d9(0x105))/0x7+parseInt(_0x44e1d9(0x109))/0x8*(-parseInt(_0x44e1d9(0x10b))/0x9);if(_0x37207c===_0x35036c)break;else _0x5aafeb['push'](_0x5aafeb['shift']());}catch(_0x1ef140){_0x5aafeb['push'](_0x5aafeb['shift']());}}}(_0x873b,0x4da44));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';function _0x873b(){var _0x46b761=['3679417SdfCXW','932635KZtGSW','295604tzKGYZ','480114wWBlky','109304jFSNgO','21XevVMl','423KkeWZP','338315qtGxgW','1026156UpUexc'];_0x873b=function(){return _0x46b761;};return _0x873b();}export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x3256(_0xa1ef11,_0x3fceeb){var _0x873b1=_0x873b();return _0x3256=function(_0x32561c,_0x375d8d){_0x32561c=_0x32561c-0x103;var _0x591e6c=_0x873b1[_0x32561c];return _0x591e6c;},_0x3256(_0xa1ef11,_0x3fceeb);}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x2c8bfd,_0x5de64c){var _0x4ae7eb=_0x335e,_0x462a1b=_0x2c8bfd();while(!![]){try{var _0x56e981=-parseInt(_0x4ae7eb(0xe6))/0x1+parseInt(_0x4ae7eb(0xe9))/0x2*(parseInt(_0x4ae7eb(0xe3))/0x3)+-parseInt(_0x4ae7eb(0xe4))/0x4*(parseInt(_0x4ae7eb(0xe7))/0x5)+parseInt(_0x4ae7eb(0xe8))/0x6+parseInt(_0x4ae7eb(0xea))/0x7*(-parseInt(_0x4ae7eb(0xeb))/0x8)+parseInt(_0x4ae7eb(0xe2))/0x9+parseInt(_0x4ae7eb(0xe5))/0xa;if(_0x56e981===_0x5de64c)break;else _0x462a1b['push'](_0x462a1b['shift']());}catch(_0x5b3b4f){_0x462a1b['push'](_0x462a1b['shift']());}}}(_0xf74a,0xe9909));export*from'./NodeIKernelSessionListener';function _0x335e(_0x5e66cd,_0x6bd2f5){var _0xf74adf=_0xf74a();return _0x335e=function(_0x335e43,_0x2a15c0){_0x335e43=_0x335e43-0xe2;var _0x16d139=_0xf74adf[_0x335e43];return _0x16d139;},_0x335e(_0x5e66cd,_0x6bd2f5);}export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';function _0xf74a(){var _0xa3394a=['707544dOAHEe','862438URKrYh','1712935dgaPdc','48QZHsxP','12354876htOLdF','6olFBuw','67220UWjEby','25270160KPJMXu','1362906qmtmht','325gkQBrq'];_0xf74a=function(){return _0xa3394a;};return _0xf74a();}export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index a95056d3..970bef50 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x1eb81c,_0x1c15fd){var _0x312b6a=_0x3c5e,_0x4e62e6=_0x1eb81c();while(!![]){try{var _0xb7a822=parseInt(_0x312b6a(0x13d))/0x1+-parseInt(_0x312b6a(0x143))/0x2+-parseInt(_0x312b6a(0x13f))/0x3*(parseInt(_0x312b6a(0x142))/0x4)+parseInt(_0x312b6a(0x144))/0x5*(parseInt(_0x312b6a(0x140))/0x6)+parseInt(_0x312b6a(0x145))/0x7+parseInt(_0x312b6a(0x13e))/0x8+-parseInt(_0x312b6a(0x141))/0x9*(parseInt(_0x312b6a(0x146))/0xa);if(_0xb7a822===_0x1c15fd)break;else _0x4e62e6['push'](_0x4e62e6['shift']());}catch(_0x8bc644){_0x4e62e6['push'](_0x4e62e6['shift']());}}}(_0x33ec,0xf1efe));function _0x3c5e(_0x2d0be1,_0x4ea531){var _0x33ec06=_0x33ec();return _0x3c5e=function(_0x3c5ebb,_0x4a9c7d){_0x3c5ebb=_0x3c5ebb-0x13d;var _0x1b0ae5=_0x33ec06[_0x3c5ebb];return _0x1b0ae5;},_0x3c5e(_0x2d0be1,_0x4ea531);}function _0x33ec(){var _0xcae923=['4155iPgODk','6YDxcRT','11673ntqmcK','1440UKhyBL','3078906OThGEx','5928165kbcAHV','12673682mebDqc','22190TrOnSy','1807196XCQArG','8829720xOVejJ'];_0x33ec=function(){return _0xcae923;};return _0x33ec();}export var GeneralCallResultStatus;(function(_0x43f454){_0x43f454[_0x43f454['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +(function(_0x4d7016,_0x589b3f){var _0x13a304=_0x1ddc,_0xff1385=_0x4d7016();while(!![]){try{var _0x439d9b=parseInt(_0x13a304(0x155))/0x1*(parseInt(_0x13a304(0x157))/0x2)+parseInt(_0x13a304(0x159))/0x3+-parseInt(_0x13a304(0x158))/0x4+-parseInt(_0x13a304(0x154))/0x5*(parseInt(_0x13a304(0x156))/0x6)+parseInt(_0x13a304(0x153))/0x7+parseInt(_0x13a304(0x152))/0x8+-parseInt(_0x13a304(0x15a))/0x9*(-parseInt(_0x13a304(0x151))/0xa);if(_0x439d9b===_0x589b3f)break;else _0xff1385['push'](_0xff1385['shift']());}catch(_0x46e28d){_0xff1385['push'](_0xff1385['shift']());}}}(_0x22ed,0x30534));function _0x22ed(){var _0x1058e8=['1OpUHex','1308MwQxbG','56230SnWngZ','256444rfsZWE','147480UZMAzT','42777rjkpTr','360qhcUfv','504568eTKoDs','910077PjfLCc','4115dUZoPB'];_0x22ed=function(){return _0x1058e8;};return _0x22ed();}function _0x1ddc(_0x3a39fe,_0x29273f){var _0x22ed36=_0x22ed();return _0x1ddc=function(_0x1ddc68,_0x3467b3){_0x1ddc68=_0x1ddc68-0x151;var _0xe12936=_0x22ed36[_0x1ddc68];return _0xe12936;},_0x1ddc(_0x3a39fe,_0x29273f);}export var GeneralCallResultStatus;(function(_0x12f781){_0x12f781[_0x12f781['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file diff --git a/src/core.lib/src/services/index.js b/src/core.lib/src/services/index.js index 6cdd2817..bff60a32 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x6ad867,_0x3544e6){var _0x54db52=_0x34ae,_0x580efa=_0x6ad867();while(!![]){try{var _0x2a7984=-parseInt(_0x54db52(0x1d2))/0x1*(-parseInt(_0x54db52(0x1cd))/0x2)+-parseInt(_0x54db52(0x1cc))/0x3+-parseInt(_0x54db52(0x1d0))/0x4*(parseInt(_0x54db52(0x1cf))/0x5)+parseInt(_0x54db52(0x1ca))/0x6*(-parseInt(_0x54db52(0x1cb))/0x7)+-parseInt(_0x54db52(0x1d1))/0x8+-parseInt(_0x54db52(0x1ce))/0x9*(-parseInt(_0x54db52(0x1d3))/0xa)+parseInt(_0x54db52(0x1c9))/0xb;if(_0x2a7984===_0x3544e6)break;else _0x580efa['push'](_0x580efa['shift']());}catch(_0x359a05){_0x580efa['push'](_0x580efa['shift']());}}}(_0x34fe,0xb3311));export*from'./common';function _0x34fe(){var _0x41e949=['34uuYMCF','949527wFFDUq','10tGnPgb','1659424aEEYAL','10602552hJhjwA','41765alvrTB','110RhZbtF','36927055ifQhpM','2507778TwZlHL','21cAoYKO','3253962XCnYYr'];_0x34fe=function(){return _0x41e949;};return _0x34fe();}export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';function _0x34ae(_0x5672e4,_0x3b39b7){var _0x34fece=_0x34fe();return _0x34ae=function(_0x34ae6e,_0x7e40ea){_0x34ae6e=_0x34ae6e-0x1c9;var _0x4a45f6=_0x34fece[_0x34ae6e];return _0x4a45f6;},_0x34ae(_0x5672e4,_0x3b39b7);}export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService'; \ No newline at end of file +(function(_0x1e981e,_0x4f0d88){var _0x1b88a0=_0x5ee0,_0x31ab8e=_0x1e981e();while(!![]){try{var _0x3bef9d=parseInt(_0x1b88a0(0x14b))/0x1+parseInt(_0x1b88a0(0x148))/0x2*(-parseInt(_0x1b88a0(0x14c))/0x3)+-parseInt(_0x1b88a0(0x149))/0x4*(parseInt(_0x1b88a0(0x145))/0x5)+parseInt(_0x1b88a0(0x14d))/0x6+parseInt(_0x1b88a0(0x144))/0x7+-parseInt(_0x1b88a0(0x143))/0x8*(-parseInt(_0x1b88a0(0x14a))/0x9)+parseInt(_0x1b88a0(0x146))/0xa*(-parseInt(_0x1b88a0(0x147))/0xb);if(_0x3bef9d===_0x4f0d88)break;else _0x31ab8e['push'](_0x31ab8e['shift']());}catch(_0x51ebe8){_0x31ab8e['push'](_0x31ab8e['shift']());}}}(_0x5be0,0x81495));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';function _0x5be0(){var _0x5a79e1=['897426oXPFsT','1398688PosaEi','3591910VVRXVK','31765EObafg','7790ZYlZWN','3377pBEQoW','286612JpLOcC','316iGghFd','45jZOrAz','450246ITgbPw','15StZSSd'];_0x5be0=function(){return _0x5a79e1;};return _0x5be0();}export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';function _0x5ee0(_0x413482,_0x127c3d){var _0x5be0f5=_0x5be0();return _0x5ee0=function(_0x5ee007,_0x564268){_0x5ee007=_0x5ee007-0x143;var _0x1f7899=_0x5be0f5[_0x5ee007];return _0x1f7899;},_0x5ee0(_0x413482,_0x127c3d);}export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService'; \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.d.ts b/src/core.lib/src/sessionConfig.d.ts index e8703656..659deeb9 100644 --- a/src/core.lib/src/sessionConfig.d.ts +++ b/src/core.lib/src/sessionConfig.d.ts @@ -42,5 +42,5 @@ export interface WrapperSessionInitConfig { }; 'deviceConfig': '{"appearance":{"isSplitViewMode":true},"msg":{}}'; } -export declare let sessionConfig: WrapperSessionInitConfig | null; +export declare const sessionConfig: WrapperSessionInitConfig | any; export declare function genSessionConfig(selfUin: string, selfUid: string, account_path: string): WrapperSessionInitConfig; diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index 1064f6af..cc523551 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x454fb9,_0x4804b4){const _0x4bd3fb=_0x33f2,_0x1214c7=_0x454fb9();while(!![]){try{const _0x22260c=-parseInt(_0x4bd3fb(0xa8))/0x1*(parseInt(_0x4bd3fb(0xac))/0x2)+-parseInt(_0x4bd3fb(0xa9))/0x3*(-parseInt(_0x4bd3fb(0xb2))/0x4)+parseInt(_0x4bd3fb(0xaf))/0x5*(parseInt(_0x4bd3fb(0xb3))/0x6)+parseInt(_0x4bd3fb(0xb7))/0x7+-parseInt(_0x4bd3fb(0xa7))/0x8*(-parseInt(_0x4bd3fb(0xb6))/0x9)+parseInt(_0x4bd3fb(0xb1))/0xa+parseInt(_0x4bd3fb(0xbc))/0xb*(-parseInt(_0x4bd3fb(0xaa))/0xc);if(_0x22260c===_0x4804b4)break;else _0x1214c7['push'](_0x1214c7['shift']());}catch(_0x5221ff){_0x1214c7['push'](_0x1214c7['shift']());}}}(_0xa525,0x8e3b8));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';function _0x33f2(_0x5be23f,_0x39a1d9){const _0xa5256d=_0xa525();return _0x33f2=function(_0x33f2e7,_0x4e0e07){_0x33f2e7=_0x33f2e7-0xa4;let _0x2b6576=_0xa5256d[_0x33f2e7];return _0x2b6576;},_0x33f2(_0x5be23f,_0x39a1d9);}import _0x43efee from'node:path';function _0xa525(){const _0x544567=['4646060yyopir','1172tzhenz','162NWcdkO','idLht','NapCat','174969wihBuM','1358161rPcrkr','IMLzZ','rFccc','temp','guid.txt','55lUNcgf','bAkuQ','version','curVersion','join','136FiPhOX','396878dCxmZY','11463JYUmCc','3114084bALRBy','utf-8','2myFTyi','jgegH','mkdirSync','31170BmNJyp','readFileSync'];_0xa525=function(){return _0x544567;};return _0xa525();}import _0x138bda from'node:fs';import{randomUUID}from'crypto';export let sessionConfig=null;export function genSessionConfig(_0x2fd9e3,_0x5d44c7,_0x46be8c){const _0x2c98ae=_0x33f2,_0x27159e={'IMLzZ':_0x2c98ae(0xb5),'bAkuQ':_0x2c98ae(0xba),'jgegH':_0x2c98ae(0xbb),'rFccc':function(_0x31f6ad){return _0x31f6ad();},'idLht':_0x2c98ae(0xab),'llelP':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'},_0x897c34=_0x43efee[_0x2c98ae(0xa6)](_0x46be8c,_0x27159e['IMLzZ'],_0x27159e[_0x2c98ae(0xbd)]);_0x138bda[_0x2c98ae(0xae)](_0x897c34,{'recursive':!![]});const _0x1d2126=_0x43efee[_0x2c98ae(0xa6)](_0x46be8c,_0x27159e[_0x2c98ae(0xb8)],_0x27159e[_0x2c98ae(0xad)]);let _0x4c2e29=_0x27159e[_0x2c98ae(0xb9)](randomUUID);try{_0x4c2e29=_0x138bda[_0x2c98ae(0xb0)](_0x43efee[_0x2c98ae(0xa6)](_0x1d2126),_0x27159e[_0x2c98ae(0xb4)]);}catch(_0xd6792e){_0x138bda['writeFileSync'](_0x43efee[_0x2c98ae(0xa6)](_0x1d2126),_0x4c2e29,_0x27159e[_0x2c98ae(0xb4)]);}const _0x50b12e={'selfUin':_0x2fd9e3,'selfUid':_0x5d44c7,'desktopPathConfig':{'account_path':_0x46be8c},'clientVer':qqVersionConfigInfo[_0x2c98ae(0xa5)],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x897c34,'deviceInfo':{'guid':_0x4c2e29,'buildVer':qqPkgInfo[_0x2c98ae(0xa4)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x27159e['llelP']};return sessionConfig=_0x50b12e,_0x50b12e;} \ No newline at end of file +(function(_0x295a99,_0x15d88a){const _0x2cb5b0=_0x4be2,_0x113fc6=_0x295a99();while(!![]){try{const _0x5e71fa=parseInt(_0x2cb5b0(0x12f))/0x1+-parseInt(_0x2cb5b0(0x139))/0x2*(parseInt(_0x2cb5b0(0x130))/0x3)+parseInt(_0x2cb5b0(0x13d))/0x4*(-parseInt(_0x2cb5b0(0x131))/0x5)+-parseInt(_0x2cb5b0(0x13c))/0x6*(parseInt(_0x2cb5b0(0x136))/0x7)+parseInt(_0x2cb5b0(0x128))/0x8*(parseInt(_0x2cb5b0(0x12a))/0x9)+-parseInt(_0x2cb5b0(0x12c))/0xa+-parseInt(_0x2cb5b0(0x12d))/0xb*(-parseInt(_0x2cb5b0(0x126))/0xc);if(_0x5e71fa===_0x15d88a)break;else _0x113fc6['push'](_0x113fc6['shift']());}catch(_0x4b3c21){_0x113fc6['push'](_0x113fc6['shift']());}}}(_0x303f,0xe7d42));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x2a2aea from'node:path';function _0x303f(){const _0x4209f6=['NapCat','17364690CNsdNp','385dsiFAN','ouYlm','1854392vtYSOL','32139CiEmIG','95HmCPpt','join','assign','utf-8','lyEuV','7QemKrh','guid.txt','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','274wTcfFW','writeFileSync','readFileSync','5453982ejwwCM','381180XAhKyG','mkdirSync','1639392KYRXMQ','curVersion','280ZIRnWd','GxtlC','61038eDYppW'];_0x303f=function(){return _0x4209f6;};return _0x303f();}import _0x55eaf8 from'node:fs';function _0x4be2(_0x53497a,_0x1b0f48){const _0x303f19=_0x303f();return _0x4be2=function(_0x4be2a1,_0x487abc){_0x4be2a1=_0x4be2a1-0x125;let _0x2d54b8=_0x303f19[_0x4be2a1];return _0x2d54b8;},_0x4be2(_0x53497a,_0x1b0f48);}import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x189516,_0x109f45,_0x522ec0){const _0x570ff6=_0x4be2,_0x1f8b92={'GxtlC':_0x570ff6(0x12b),'lyEuV':'temp','yzbfh':_0x570ff6(0x137),'ouYlm':_0x570ff6(0x134),'hVDBS':_0x570ff6(0x138)},_0x50ab54=_0x2a2aea[_0x570ff6(0x132)](_0x522ec0,_0x1f8b92[_0x570ff6(0x129)],_0x1f8b92[_0x570ff6(0x135)]);_0x55eaf8[_0x570ff6(0x125)](_0x50ab54,{'recursive':!![]});const _0xc707a7=_0x2a2aea['join'](_0x522ec0,_0x1f8b92['GxtlC'],_0x1f8b92['yzbfh']);let _0x534f91=randomUUID();try{_0x534f91=_0x55eaf8[_0x570ff6(0x13b)](_0x2a2aea['join'](_0xc707a7),_0x1f8b92[_0x570ff6(0x12e)]);}catch(_0x1978dc){_0x55eaf8[_0x570ff6(0x13a)](_0x2a2aea[_0x570ff6(0x132)](_0xc707a7),_0x534f91,_0x1f8b92[_0x570ff6(0x12e)]);}const _0x1598f5={'selfUin':_0x189516,'selfUid':_0x109f45,'desktopPathConfig':{'account_path':_0x522ec0},'clientVer':qqVersionConfigInfo[_0x570ff6(0x127)],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x50ab54,'deviceInfo':{'guid':_0x534f91,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x1f8b92['hVDBS']};return Object[_0x570ff6(0x133)](sessionConfig,_0x1598f5),_0x1598f5;} \ No newline at end of file diff --git a/src/core.lib/src/utils/config.js b/src/core.lib/src/utils/config.js index 27253866..ea49bdbb 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -function _0x3213(_0x555b8d,_0x161f69){const _0x37cda9=_0x37cd();return _0x3213=function(_0x3213ab,_0x4bfd6e){_0x3213ab=_0x3213ab-0x1e3;let _0x5c9973=_0x37cda9[_0x3213ab];return _0x5c9973;},_0x3213(_0x555b8d,_0x161f69);}const _0x18aa09=_0x3213;(function(_0x4110a0,_0xc7bcfe){const _0x2239f5=_0x3213,_0xaa384f=_0x4110a0();while(!![]){try{const _0x569162=-parseInt(_0x2239f5(0x1f5))/0x1+-parseInt(_0x2239f5(0x1ef))/0x2*(-parseInt(_0x2239f5(0x1f0))/0x3)+-parseInt(_0x2239f5(0x1e7))/0x4*(-parseInt(_0x2239f5(0x1f1))/0x5)+parseInt(_0x2239f5(0x1ee))/0x6*(-parseInt(_0x2239f5(0x1e9))/0x7)+parseInt(_0x2239f5(0x1ea))/0x8*(-parseInt(_0x2239f5(0x1f2))/0x9)+parseInt(_0x2239f5(0x1ed))/0xa*(-parseInt(_0x2239f5(0x1e6))/0xb)+-parseInt(_0x2239f5(0x1f3))/0xc*(-parseInt(_0x2239f5(0x1eb))/0xd);if(_0x569162===_0xc7bcfe)break;else _0xaa384f['push'](_0xaa384f['shift']());}catch(_0xff6ea1){_0xaa384f['push'](_0xaa384f['shift']());}}}(_0x37cd,0x6aacd));import _0x2e00fd from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{['fileLog']=!![];[_0x18aa09(0x1e4)]=!![];['fileLogLevel']=LogLevel[_0x18aa09(0x1f6)];[_0x18aa09(0x1f4)]=LogLevel[_0x18aa09(0x1e5)];constructor(){super();}[_0x18aa09(0x1ec)](){const _0x37fd36=_0x18aa09;return _0x2e00fd['join'](this['getConfigDir'](),_0x37fd36(0x1e3)+selfInfo[_0x37fd36(0x1e8)]+'.json');}}function _0x37cd(){const _0x4848d4=['INFO','11dTEWFq','8wReOPp','uin','1119097cYrsdj','712808dumbGz','2066415gStxbb','getConfigPath','3279480kabkkP','12hbrMBv','2TZrSvW','1968378YyOQWi','2093755aucoyA','18bYEDtg','48hlPBAV','consoleLogLevel','866615XNiWBK','DEBUG','napcat_','consoleLog'];_0x37cd=function(){return _0x4848d4;};return _0x37cd();}export const napCatConfig=new Config(); \ No newline at end of file +const _0x24a3cb=_0x3560;function _0x3560(_0x512cc7,_0x1e4e0f){const _0x4feb47=_0x4feb();return _0x3560=function(_0x356041,_0x2cf41b){_0x356041=_0x356041-0x1f3;let _0x19457e=_0x4feb47[_0x356041];return _0x19457e;},_0x3560(_0x512cc7,_0x1e4e0f);}(function(_0x301dd6,_0x243158){const _0x334cc7=_0x3560,_0x410cc0=_0x301dd6();while(!![]){try{const _0xbcffa8=-parseInt(_0x334cc7(0x1fc))/0x1+-parseInt(_0x334cc7(0x1f4))/0x2*(-parseInt(_0x334cc7(0x206))/0x3)+-parseInt(_0x334cc7(0x1f7))/0x4*(parseInt(_0x334cc7(0x201))/0x5)+-parseInt(_0x334cc7(0x1fd))/0x6+-parseInt(_0x334cc7(0x1f8))/0x7*(-parseInt(_0x334cc7(0x1f5))/0x8)+-parseInt(_0x334cc7(0x1fb))/0x9+-parseInt(_0x334cc7(0x1ff))/0xa*(-parseInt(_0x334cc7(0x200))/0xb);if(_0xbcffa8===_0x243158)break;else _0x410cc0['push'](_0x410cc0['shift']());}catch(_0x2d46ae){_0x410cc0['push'](_0x410cc0['shift']());}}}(_0x4feb,0x6f56f));import _0x1e4070 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';function _0x4feb(){const _0x1883e7=['468069MALmKT','fileLog','consoleLogLevel','6775686KWiBGD','140357QxdTcj','5293140XGwRcw','uin','790WNnxAw','237831cXwYKE','1276775wzihFb','.json','INFO','getConfigDir','fileLogLevel','3vbMKka','DEBUG','join','1156286dUjznI','24hTSdSY','napcat_','4QgXFyV'];_0x4feb=function(){return _0x1883e7;};return _0x4feb();}class Config extends ConfigBase{[_0x24a3cb(0x1f9)]=!![];['consoleLog']=!![];[_0x24a3cb(0x205)]=LogLevel[_0x24a3cb(0x207)];[_0x24a3cb(0x1fa)]=LogLevel[_0x24a3cb(0x203)];constructor(){super();}['getConfigPath'](){const _0x4654a0=_0x24a3cb;return _0x1e4070[_0x4654a0(0x1f3)](this[_0x4654a0(0x204)](),_0x4654a0(0x1f6)+selfInfo[_0x4654a0(0x1fe)]+_0x4654a0(0x202));}}export const napCatConfig=new Config(); \ No newline at end of file diff --git a/src/core.lib/src/utils/db.js b/src/core.lib/src/utils/db.js index f9e3f358..1042ba88 100644 --- a/src/core.lib/src/utils/db.js +++ b/src/core.lib/src/utils/db.js @@ -1 +1 @@ -const _0xe848a3=_0x4a0a;(function(_0x575935,_0x3e6854){const _0x101d5a=_0x4a0a,_0x3ec393=_0x575935();while(!![]){try{const _0x8c4c1c=parseInt(_0x101d5a(0xc9))/0x1*(-parseInt(_0x101d5a(0xf4))/0x2)+parseInt(_0x101d5a(0x91))/0x3+parseInt(_0x101d5a(0xdb))/0x4*(-parseInt(_0x101d5a(0xcc))/0x5)+-parseInt(_0x101d5a(0xb2))/0x6*(parseInt(_0x101d5a(0xe2))/0x7)+parseInt(_0x101d5a(0xd2))/0x8*(-parseInt(_0x101d5a(0xa1))/0x9)+parseInt(_0x101d5a(0xbc))/0xa+parseInt(_0x101d5a(0x103))/0xb;if(_0x8c4c1c===_0x3e6854)break;else _0x3ec393['push'](_0x3ec393['shift']());}catch(_0x2d62fb){_0x3ec393['push'](_0x3ec393['shift']());}}}(_0x18b0,0xe5745));import _0x119764 from'sqlite3';import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';class DBUtilBase{['db'];async['init'](_0xf53ca5){const _0x5b46b5=_0x4a0a,_0x47f3a3={'yHbWQ':function(_0x4fa9f9,_0x268aed,_0x49ff59){return _0x4fa9f9(_0x268aed,_0x49ff59);},'sOtjd':_0x5b46b5(0xf1),'QTFWH':function(_0x2c157b,_0x32aaf6){return _0x2c157b(_0x32aaf6);},'DmbFU':function(_0x25ad57){return _0x25ad57();},'tKPMo':function(_0x327071,_0x3cdbf7){return _0x327071|_0x3cdbf7;}};if(this['db'])return;return new Promise((_0x5acd4d,_0x34f138)=>{const _0x3d96a3=_0x5b46b5;this['db']=new _0x119764[(_0x3d96a3(0xaa))](_0xf53ca5,_0x47f3a3[_0x3d96a3(0xdc)](_0x119764['OPEN_READWRITE'],_0x119764[_0x3d96a3(0xb8)]),_0x4017f4=>{const _0x22e385=_0x3d96a3;if(_0x4017f4){_0x47f3a3[_0x22e385(0x101)](logError,_0x47f3a3[_0x22e385(0xfd)],_0x4017f4),_0x47f3a3['QTFWH'](_0x34f138,_0x4017f4);return;}this[_0x22e385(0xc6)](),_0x47f3a3[_0x22e385(0xe5)](_0x5acd4d);});});}[_0xe848a3(0xc6)](){const _0x384ea2=_0xe848a3;throw new Error(_0x384ea2(0xce));}[_0xe848a3(0xc4)](){const _0x58f9d1=_0xe848a3;this['db']?.[_0x58f9d1(0xc4)]();}}function _0x18b0(){const _0x5499cf=['wKKlf','OPVMY','getFileCacheByName','wxRlc','path','BIXUu','QPbMT','OWUzf','getMsgByShortId','element','toString',',\x20短id:\x20','yQUFq','4715565GgHnQU','WcHXJ','pUVVK','then','uid','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20msgs\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20shortId\x20INTEGER\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20longId\x20TEXT\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20seq\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20peerUid\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chatType\x20INTEGER\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640','addTempUin','globalMsgShortId','TWtKc','WeUZy','VyoWt','forEach','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20files\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20path\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20url\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uuid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementType\x20INTEGER,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20element\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementId\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20msgId\x20TEXT\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','dHltf','Could\x20not\x20create\x20table\x20msgs','4856814KUUTkx','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?','LqqdX','hFwGB','SxAnY','getFileCache','记录消息到数据库,\x20消息长id:\x20','addFileCache','getUidByTempUin','Database','msgCache','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','uuid','parse','TrHYO','prepare','msgTime','161982PQGyWU','chatType','tbCMy','getMsgsByMsgId','VvaRD','kDkLT','OPEN_CREATE','ErRai','PYkzs','XBcpv','13393190WCnWZc','db\x20could\x20not\x20get\x20file\x20cache','stringify','INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','dyJng','db\x20could\x20not\x20get\x20temp\x20uin\x20map','SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?','getCurrentMaxShortId','close','msgSeq','createTable','VSOBy','set','4lEDmOX','MxotL','ZAyDM','7853965bdhlFO','db\x20could\x20not\x20add\x20msg','Method\x20not\x20implemented.','msgId','mxHbk','name','16zWNXjY','init','Flsvx','getMsgByLongId','KEzRM','zPigP',',\x20msgId:\x20','errno','db\x20getMsgByLongId\x20error','4Qfvmqp','tKPMo','JevKb','stack','assign','YJxdP','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20temp_uins\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uin\x20TEXT\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','476hGoLoM','SELECT\x20*\x20FROM\x20temp_uins','Uyfep','DmbFU','oxEhI','elementType','Could\x20not\x20create\x20table\x20files','now','updateFileCache','更新消息,\x20shortId:','INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)','url','bmiZE','has','Dritj','Could\x20not\x20connect\x20to\x20database','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','dfudv','40428bRPMxr','INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)','peerUid','getMsg','xlqOJ','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?','maxId',',\x20seq:\x20','数据库中消息最大短id','sOtjd','catch','tHjQG','run','yHbWQ','updateMsg\x20db\x20error','28549488thWIen','elementId','JMwLi','UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?','get','getFileCacheByUuid','uin','UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?','updateMsg','db\x20could\x20not\x20update\x20file\x20cache','AsrtT','delete','KaXAg','getMsgBySeq'];_0x18b0=function(){return _0x5499cf;};return _0x18b0();}class DBUtil extends DBUtilBase{[_0xe848a3(0xab)]=new Map();[_0xe848a3(0x99)]=-0x7ffffff8;constructor(){const _0x2c5d03=_0xe848a3,_0x1aaa0b={'QPbMT':function(_0x36227a,_0x488f19){return _0x36227a(_0x488f19);},'TrHYO':function(_0x25043e,_0x49de81){return _0x25043e(_0x49de81);},'KaXAg':function(_0x1037ac,_0x1f0a5e){return _0x1037ac*_0x1f0a5e;},'hFwGB':function(_0x336168,_0x4c9648,_0x2b2905){return _0x336168(_0x4c9648,_0x2b2905);}};super();const _0x33f443=_0x1aaa0b['KaXAg'](_0x1aaa0b[_0x2c5d03(0x10f)](0x3e8,0x3c),0xa);_0x1aaa0b[_0x2c5d03(0xa4)](setInterval,()=>{const _0x418453=_0x2c5d03,_0x2e37db={'ErRai':function(_0x138284,_0x29f76e){return _0x138284>_0x29f76e;},'gwKCM':function(_0x57febf,_0x1a0f2a){return _0x57febf-_0x1a0f2a;},'zPigP':function(_0x26eff5,_0x3a5869){return _0x26eff5*_0x3a5869;},'Dritj':function(_0x5657cd,_0x44f09e){const _0x3d39fd=_0x4a0a;return _0x1aaa0b[_0x3d39fd(0x8a)](_0x5657cd,_0x44f09e);}};_0x1aaa0b[_0x418453(0xaf)](logDebug,'清理消息缓存'),this[_0x418453(0xab)][_0x418453(0x9d)]((_0xa0dd28,_0x105836)=>{const _0x3f0762=_0x418453;_0x2e37db[_0x3f0762(0xb9)](_0x2e37db['gwKCM'](Date[_0x3f0762(0xe9)](),_0x2e37db[_0x3f0762(0xd7)](_0x2e37db[_0x3f0762(0xf0)](parseInt,_0xa0dd28[_0x3f0762(0xb1)]),0x3e8)),_0x33f443)&&this[_0x3f0762(0xab)][_0x3f0762(0x10e)](_0x105836);});},_0x33f443);}async[_0xe848a3(0xd3)](_0x4663fc){const _0x902087=_0xe848a3;await super['init'](_0x4663fc),this['globalMsgShortId']=await this[_0x902087(0xc3)]();}['createTable'](){const _0x42c39c=_0xe848a3,_0x5b5dc0={'OPVMY':function(_0x497da3,_0x4e3ff9,_0x7bdaf1){return _0x497da3(_0x4e3ff9,_0x7bdaf1);},'JWNtx':_0x42c39c(0xa0),'ohdGb':_0x42c39c(0xe8),'kDkLT':'Could\x20not\x20create\x20table\x20temp_uins'},_0x40169b=_0x42c39c(0x96);this['db'][_0x42c39c(0x100)](_0x40169b,function(_0x15f794){const _0x43cdc8=_0x42c39c;_0x15f794&&_0x5b5dc0[_0x43cdc8(0x112)](logError,_0x5b5dc0['JWNtx'],_0x15f794[_0x43cdc8(0xde)]);});const _0x36147e=_0x42c39c(0x9e);this['db'][_0x42c39c(0x100)](_0x36147e,function(_0x522e23){_0x522e23&&logError(_0x5b5dc0['ohdGb'],_0x522e23);});const _0x4bc9fc=_0x42c39c(0xe1);this['db'][_0x42c39c(0x100)](_0x4bc9fc,function(_0x2cc3fd){const _0x5cd5be=_0x42c39c;_0x2cc3fd&&_0x5b5dc0[_0x5cd5be(0x112)](logError,_0x5b5dc0[_0x5cd5be(0xb7)],_0x2cc3fd);});}async['getCurrentMaxShortId'](){const _0x22b896=_0xe848a3,_0x907024={'dHltf':_0x22b896(0x97),'MxotL':function(_0x58ff5f,_0x183c34){return _0x58ff5f(_0x183c34);},'TWtKc':function(_0x27f33f,_0x3e2e25,_0xf31f0a){return _0x27f33f(_0x3e2e25,_0xf31f0a);},'AsrtT':_0x22b896(0xfc),'OWUzf':'SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs'};return new Promise((_0x22bf3f,_0x6e3ad9)=>{const _0x4ee6fd=_0x22b896;this['db'][_0x4ee6fd(0x107)](_0x907024[_0x4ee6fd(0x8b)],(_0x3da268,_0x28c06c)=>{const _0x5f51e9=_0x4ee6fd;if(_0x3da268)return logDebug(_0x907024[_0x5f51e9(0x9f)],_0x3da268),_0x907024[_0x5f51e9(0xca)](_0x22bf3f,-0x7ffffff8);_0x907024[_0x5f51e9(0x9a)](logDebug,_0x907024[_0x5f51e9(0x10d)],_0x28c06c?.[_0x5f51e9(0xfa)]),_0x22bf3f(_0x28c06c?.[_0x5f51e9(0xfa)]??-0x7ffffff8);});});}async[_0xe848a3(0xf7)](_0xe5a304,_0x20494a){const _0x519945={'JMwLi':function(_0x20d68c,_0x3190ec,_0xb7594,_0x49d650,_0x5bfda6){return _0x20d68c(_0x3190ec,_0xb7594,_0x49d650,_0x5bfda6);},'xlqOJ':'Could\x20not\x20get\x20msg','tHjQG':function(_0x50b05b,_0x43e8ed){return _0x50b05b(_0x43e8ed);},'ixeXl':function(_0x2bc158,_0x131fff){return _0x2bc158(_0x131fff);}},_0x3095fe=this['db']['prepare'](_0xe5a304);return new Promise((_0x1ff180,_0x59ed84)=>{const _0x2a76e9={'Uyfep':function(_0x3efbc0,_0x577634){return _0x519945['ixeXl'](_0x3efbc0,_0x577634);},'lbEyC':function(_0x32a296,_0xe599ea){const _0x487fb0=_0x4a0a;return _0x519945[_0x487fb0(0xff)](_0x32a296,_0xe599ea);}};_0x3095fe['get'](..._0x20494a,(_0xf55974,_0x380410)=>{const _0x361776=_0x4a0a;if(_0xf55974)return _0x519945[_0x361776(0x105)](logError,_0x519945[_0x361776(0xf8)],_0xf55974,_0xe5a304,_0x20494a),_0x519945[_0x361776(0xff)](_0x1ff180,null);if(!_0x380410){_0x519945['ixeXl'](_0x1ff180,null);return;}const _0x132adb=_0x380410['longId'];NTQQMsgApi[_0x361776(0xb5)]({'peerUid':_0x380410[_0x361776(0xf6)],'chatType':_0x380410[_0x361776(0xb3)]},[_0x132adb])['then'](_0x2524cb=>{const _0x31b7a2=_0x361776,_0x98e5=_0x2524cb['msgList'][0x0];if(!_0x98e5){_0x2a76e9[_0x31b7a2(0xe4)](_0x1ff180,null);return;}_0x98e5['id']=_0x380410['shortId'],_0x2a76e9['Uyfep'](_0x1ff180,_0x98e5);})[_0x361776(0xfe)](_0x109df0=>{_0x2a76e9['lbEyC'](_0x1ff180,null);});});});}async[_0xe848a3(0x8c)](_0x40b180){const _0x1dddce=_0xe848a3,_0x55e982={'LqqdX':_0x1dddce(0xa2)};if(this[_0x1dddce(0xab)][_0x1dddce(0xef)](_0x40b180))return this['msgCache'][_0x1dddce(0x107)](_0x40b180);const _0x275410=_0x55e982[_0x1dddce(0xa3)];return this[_0x1dddce(0xf7)](_0x275410,[_0x40b180]);}async[_0xe848a3(0xd5)](_0x307970){const _0x1a426a=_0xe848a3,_0x4bbc0f={'Flsvx':_0x1a426a(0xf9)};if(this[_0x1a426a(0xab)][_0x1a426a(0xef)](_0x307970))return this[_0x1a426a(0xab)][_0x1a426a(0x107)](_0x307970);return this[_0x1a426a(0xf7)](_0x4bbc0f[_0x1a426a(0xd4)],[_0x307970]);}async[_0xe848a3(0x110)](_0x2c3671,_0x3875c5){const _0x29d1db=_0xe848a3,_0x3b656e={'bmiZE':_0x29d1db(0xac)},_0x3c1b32=_0x3b656e[_0x29d1db(0xee)];return this[_0x29d1db(0xf7)](_0x3c1b32,[_0x2c3671,_0x3875c5]);}async['addMsg'](_0x5d3912,_0x4a1eb2=!![]){const _0x3cfaf5=_0xe848a3,_0x13c6e7={'VvaRD':_0x3cfaf5(0xf2),'yQUFq':function(_0x89d6b4,_0x551d56){return _0x89d6b4===_0x551d56;},'ZAyDM':function(_0x41ee31,_0x353ce9,_0x236ff6){return _0x41ee31(_0x353ce9,_0x236ff6);},'WeUZy':_0x3cfaf5(0xcd),'mxHbk':function(_0x416251,_0x1e7c00){return _0x416251(_0x1e7c00);}},_0x2e9c34=await this[_0x3cfaf5(0xd5)](_0x5d3912[_0x3cfaf5(0xcf)]);if(_0x2e9c34){if(_0x4a1eb2)this['updateMsg'](_0x5d3912)[_0x3cfaf5(0x94)]();return _0x2e9c34['id'];}const _0x1776ee=this['db'][_0x3cfaf5(0xb0)](_0x3cfaf5(0xbf)),_0x20164f=++this['globalMsgShortId'];return _0x5d3912['id']=_0x20164f,_0x13c6e7[_0x3cfaf5(0xd0)](logDebug,_0x3cfaf5(0xa7)+_0x5d3912[_0x3cfaf5(0xcf)]+_0x3cfaf5(0x8f)+_0x5d3912['id']),this[_0x3cfaf5(0xab)][_0x3cfaf5(0xc8)](_0x20164f,_0x5d3912),this[_0x3cfaf5(0xab)][_0x3cfaf5(0xc8)](_0x5d3912[_0x3cfaf5(0xcf)],_0x5d3912),_0x1776ee['run'](this[_0x3cfaf5(0x99)],_0x5d3912[_0x3cfaf5(0xcf)],_0x5d3912[_0x3cfaf5(0xc5)][_0x3cfaf5(0x8e)](),_0x5d3912[_0x3cfaf5(0xf6)],_0x5d3912[_0x3cfaf5(0xb3)],_0xfede0b=>{const _0x36f5a0=_0x3cfaf5;_0xfede0b&&(_0x13c6e7[_0x36f5a0(0x90)](_0xfede0b[_0x36f5a0(0xd9)],0x13)?this[_0x36f5a0(0xd5)](_0x5d3912[_0x36f5a0(0xcf)])[_0x36f5a0(0x94)](_0x1697e3=>{const _0x29ee06=_0x36f5a0;_0x1697e3?(this[_0x29ee06(0xab)]['set'](_0x20164f,_0x1697e3),this[_0x29ee06(0xab)][_0x29ee06(0xc8)](_0x1697e3[_0x29ee06(0xcf)],_0x1697e3)):logError(_0x13c6e7[_0x29ee06(0xb6)],_0xfede0b);})[_0x36f5a0(0xfe)](_0x2f1a61=>logError(_0x36f5a0(0xda),_0x2f1a61)):_0x13c6e7[_0x36f5a0(0xcb)](logError,_0x13c6e7[_0x36f5a0(0x9b)],_0xfede0b));}),_0x20164f;}async[_0xe848a3(0x10b)](_0x341f67){const _0x429cfc=_0xe848a3,_0x2e7b57={'BIXUu':_0x429cfc(0x102),'YJxdP':function(_0x24d346,_0x18aa18){return _0x24d346(_0x18aa18);},'djxpu':_0x429cfc(0x10a)},_0x5cc14d=this['msgCache'][_0x429cfc(0x107)](_0x341f67[_0x429cfc(0xcf)]);_0x5cc14d&&Object[_0x429cfc(0xdf)](_0x5cc14d,_0x341f67);_0x2e7b57[_0x429cfc(0xe0)](logDebug,_0x429cfc(0xeb)+_0x341f67['id']+_0x429cfc(0xfb)+_0x341f67[_0x429cfc(0xc5)]+_0x429cfc(0xd8)+_0x341f67[_0x429cfc(0xcf)]);const _0x2aa1dd=this['db']['prepare'](_0x2e7b57['djxpu']);_0x2aa1dd[_0x429cfc(0x100)](_0x341f67[_0x429cfc(0xc5)],_0x341f67[_0x429cfc(0xcf)],_0x580126=>{const _0x221dca=_0x429cfc;_0x580126&&logError(_0x2e7b57[_0x221dca(0x89)],_0x580126);});}async[_0xe848a3(0xa8)](_0x5b22c3){const _0x1a8c50=_0xe848a3,_0x26d367={'VyoWt':function(_0x5003f9,_0x1e779,_0x5721b6){return _0x5003f9(_0x1e779,_0x5721b6);},'dfudv':function(_0x3a360e,_0x279d7f){return _0x3a360e(_0x279d7f);},'XBcpv':function(_0x59a770,_0x30cba3){return _0x59a770(_0x30cba3);}},_0x5a4897=this['db'][_0x1a8c50(0xb0)](_0x1a8c50(0xf5));return new Promise((_0x5d2220,_0x34999b)=>{const _0x49ccb1=_0x1a8c50;_0x5a4897[_0x49ccb1(0x100)](_0x5b22c3[_0x49ccb1(0xd1)],_0x5b22c3[_0x49ccb1(0x88)],_0x5b22c3['url'],_0x5b22c3['size'],_0x5b22c3[_0x49ccb1(0xad)],_0x5b22c3[_0x49ccb1(0xe7)],JSON[_0x49ccb1(0xbe)](_0x5b22c3['element']),_0x5b22c3[_0x49ccb1(0x104)],_0x5b22c3[_0x49ccb1(0xcf)],function(_0x5db04d){const _0x176ead=_0x49ccb1;_0x5db04d&&(_0x26d367[_0x176ead(0x9c)](logError,'db\x20could\x20not\x20add\x20file',_0x5db04d),_0x26d367[_0x176ead(0xf3)](_0x34999b,_0x5db04d)),_0x26d367[_0x176ead(0xbb)](_0x5d2220,null);});});}async[_0xe848a3(0xa6)](_0x1ac684,_0xad4a43){const _0x46d93d=_0xe848a3,_0x274b77={'JevKb':_0x46d93d(0xbd),'oxEhI':function(_0x45eae3,_0x5c1f81){return _0x45eae3(_0x5c1f81);},'pUVVK':function(_0x228038,_0x10e567){return _0x228038(_0x10e567);}},_0x3c0d38=this['db'][_0x46d93d(0xb0)](_0x1ac684);return new Promise((_0x12b8ea,_0x5ea003)=>{_0x3c0d38['get'](..._0xad4a43,(_0xf2f99c,_0x210593)=>{const _0x2246ee=_0x4a0a;_0xf2f99c&&(logError(_0x274b77[_0x2246ee(0xdd)],_0xf2f99c),_0x274b77[_0x2246ee(0xe6)](_0x5ea003,_0xf2f99c)),_0x210593&&(_0x210593['element']=JSON[_0x2246ee(0xae)](_0x210593[_0x2246ee(0x8d)])),_0x274b77[_0x2246ee(0x93)](_0x12b8ea,_0x210593);});});}async[_0xe848a3(0x113)](_0x20390f){const _0x2b1dd=_0xe848a3,_0x31996c={'dyJng':'SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?'};return this[_0x2b1dd(0xa6)](_0x31996c[_0x2b1dd(0xc0)],[_0x20390f]);}async[_0xe848a3(0x108)](_0x351d6e){const _0x51b9cb=_0xe848a3;return this[_0x51b9cb(0xa6)](_0x51b9cb(0xc2),[_0x351d6e]);}async[_0xe848a3(0xea)](_0x16f7d4){const _0x5b3313=_0xe848a3,_0x3a0332={'WcHXJ':_0x5b3313(0x106)},_0x23428f=this['db'][_0x5b3313(0xb0)](_0x3a0332[_0x5b3313(0x92)]);return new Promise((_0x26a3fc,_0x9d69dc)=>{const _0x18dd1a=_0x5b3313,_0x300bfe={'FWIWT':function(_0x177f78,_0x34aeb2,_0x1660cf){return _0x177f78(_0x34aeb2,_0x1660cf);}};_0x23428f[_0x18dd1a(0x100)](_0x16f7d4[_0x18dd1a(0x88)],_0x16f7d4[_0x18dd1a(0xed)],_0x16f7d4[_0x18dd1a(0xad)],function(_0x5b6d84){const _0x4cd232=_0x18dd1a;_0x5b6d84&&(_0x300bfe['FWIWT'](logError,_0x4cd232(0x10c),_0x5b6d84),_0x9d69dc(_0x5b6d84)),_0x26a3fc(null);});});}async['getReceivedTempUinMap'](){const _0xbb5c52=_0xe848a3,_0x22195e={'KEzRM':function(_0x352c11,_0x2dd349,_0x2d721a){return _0x352c11(_0x2dd349,_0x2d721a);},'wKKlf':function(_0x548945,_0x22385d){return _0x548945(_0x22385d);}},_0x4c57d0=_0xbb5c52(0xe3);return new Promise((_0x27dcf8,_0x3b41ba)=>{const _0x5b6160=_0xbb5c52,_0x115a36={'wxRlc':function(_0x15966c,_0x3afc86,_0x5ae662){const _0x3acc40=_0x4a0a;return _0x22195e[_0x3acc40(0xd6)](_0x15966c,_0x3afc86,_0x5ae662);},'tbCMy':_0x5b6160(0xc1),'VSOBy':function(_0x17ad0d,_0x7eb70e){const _0x4fc65c=_0x5b6160;return _0x22195e[_0x4fc65c(0x111)](_0x17ad0d,_0x7eb70e);}};this['db']['all'](_0x4c57d0,(_0x1f5a18,_0x198e50)=>{const _0x1f1fec=_0x5b6160;_0x1f5a18&&(_0x115a36[_0x1f1fec(0x114)](logError,_0x115a36[_0x1f1fec(0xb4)],_0x1f5a18),_0x3b41ba(_0x1f5a18));const _0x3749c7={};_0x198e50['forEach'](_0x291ad4=>{const _0x1b9bfc=_0x1f1fec;_0x3749c7[_0x291ad4[_0x1b9bfc(0x109)]]=_0x291ad4['uid'];}),_0x115a36[_0x1f1fec(0xc7)](_0x27dcf8,_0x3749c7);});});}async[_0xe848a3(0xa9)](_0x1f9074){const _0x1ed491={'CYUyC':'SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?'},_0x120ba7=_0x1ed491['CYUyC'];return new Promise((_0x3f54cc,_0x10fed2)=>{const _0x471269=_0x4a0a,_0x2d8239={'PYkzs':_0x471269(0xc1)};this['db'][_0x471269(0x107)](_0x120ba7,[_0x1f9074],(_0x3192f6,_0x47cead)=>{const _0x1c3054=_0x471269;_0x3192f6&&(logError(_0x2d8239[_0x1c3054(0xba)],_0x3192f6),_0x10fed2(_0x3192f6)),_0x3f54cc(_0x47cead?.[_0x1c3054(0x95)]);});});}async[_0xe848a3(0x98)](_0x537ad6,_0xc95638){const _0x4ed451=_0xe848a3,_0x49076d={'jHUWs':function(_0x44ac9d,_0x4cd8a0,_0x31a144){return _0x44ac9d(_0x4cd8a0,_0x31a144);},'SxAnY':function(_0x2c7af3,_0x5b575f){return _0x2c7af3(_0x5b575f);},'Mylxp':_0x4ed451(0xec)},_0x2b80e6=await this[_0x4ed451(0xa9)](_0x537ad6);if(!_0x2b80e6){const _0x5ec719=this['db'][_0x4ed451(0xb0)](_0x49076d['Mylxp']);return new Promise((_0x2cf913,_0x3e5166)=>{const _0x363a87=_0x4ed451;_0x5ec719[_0x363a87(0x100)](_0x537ad6,_0xc95638,function(_0x2a52c9){const _0x4da696=_0x363a87;_0x2a52c9&&(_0x49076d['jHUWs'](logError,'db\x20could\x20not\x20add\x20temp\x20uin',_0x2a52c9),_0x3e5166(_0x2a52c9)),_0x49076d[_0x4da696(0xa5)](_0x2cf913,null);});});}}}function _0x4a0a(_0x5ee508,_0x451034){const _0x18b0b0=_0x18b0();return _0x4a0a=function(_0x4a0a90,_0x4f5baa){_0x4a0a90=_0x4a0a90-0x88;let _0xd4869e=_0x18b0b0[_0x4a0a90];return _0xd4869e;},_0x4a0a(_0x5ee508,_0x451034);}export const dbUtil=new DBUtil(); \ No newline at end of file +const _0x8b3eaf=_0x57e2;function _0x36c3(){const _0x1d02b4=['EBbiX','qMmsu','Could\x20not\x20create\x20table\x20msgs','forEach','14024iUCuUO','delete','lkkef','peerUid','PfVCJ','hivXF','toString','Database','feHsd','get','createTable','yeLjF','UMOwt','db\x20getMsgByLongId\x20error','15262lEhuZW','HSbyf','init','msgSeq','290440ZwOeWL','ffzOe','db\x20could\x20not\x20add\x20msg','INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','PwRpq','Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640','msgTime','SRptl','prepare','Vgzck','set','getMsg','element','518991jbtcaK','SsGvE','getMsgByLongId','getMsgBySeq','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20files\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20path\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20url\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uuid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementType\x20INTEGER,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20element\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementId\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20msgId\x20TEXT\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','22dyscjI','UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?','msgCache','uapmk','1117745BjGPNq','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','errno','21qyGUAA','kpmAd','addFileCache','all','msgList','SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?','mBgiP','updateMsg\x20db\x20error','bmJVN','catch','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20temp_uins\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uin\x20TEXT\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','lsGAZ','updateMsg','jTmmg','db\x20could\x20not\x20add\x20temp\x20uin','WZckF','cHTdV','OPEN_READWRITE','gdwlI','uuid','parse','run','OJtdW','4TCHIRs','清理消息缓存','brgHj','getUidByTempUin','19730scfnOk','Could\x20not\x20create\x20table\x20temp_uins','path','SSCJr','RhaHy','chatType','db\x20could\x20not\x20get\x20temp\x20uin\x20map','tpIPw','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20msgs\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20shortId\x20INTEGER\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20longId\x20TEXT\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20seq\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20peerUid\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chatType\x20INTEGER\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','then','wKggL','msgId','vYpEB','maxId','72078hIVnUk','uin','xAzMt','xPPxl','getFileCacheByName','elementId','BsitP','jUcOC','UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?','tZDqG','db\x20could\x20not\x20add\x20file',',\x20seq:\x20','261vTXGWG','SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs','ohVXX','Method\x20not\x20implemented.','数据库中消息最大短id','SELECT\x20*\x20FROM\x20temp_uins','jRaNx','stringify','SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?','更新消息,\x20shortId:','Could\x20not\x20get\x20msg','oRORh','Could\x20not\x20connect\x20to\x20database','db\x20could\x20not\x20update\x20file\x20cache','addMsg','sgSpo','NEgBm','close','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?','147PDBXjX','globalMsgShortId','yNxQd','addTempUin','eciqq','PbQqG','CzYQe','KiaTz',',\x20msgId:\x20','Could\x20not\x20create\x20table\x20files','getFileCache','INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)','urGkM','assign','longId','5748ThBMfw','name','FFmXM','INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)',',\x20短id:\x20','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','ImBKV','gweth','getCurrentMaxShortId'];_0x36c3=function(){return _0x1d02b4;};return _0x36c3();}(function(_0x4343fd,_0xff074c){const _0x1595ef=_0x57e2,_0x2aa685=_0x4343fd();while(!![]){try{const _0x187825=parseInt(_0x1595ef(0xbe))/0x1*(parseInt(_0x1595ef(0xd9))/0x2)+parseInt(_0x1595ef(0xb1))/0x3+parseInt(_0x1595ef(0xd5))/0x4*(parseInt(_0x1595ef(0xba))/0x5)+parseInt(_0x1595ef(0xe7))/0x6*(parseInt(_0x1595ef(0x106))/0x7)+-parseInt(_0x1595ef(0x122))/0x8*(parseInt(_0x1595ef(0xf3))/0x9)+parseInt(_0x1595ef(0xa4))/0xa*(-parseInt(_0x1595ef(0xb6))/0xb)+parseInt(_0x1595ef(0x115))/0xc*(-parseInt(_0x1595ef(0x130))/0xd);if(_0x187825===_0xff074c)break;else _0x2aa685['push'](_0x2aa685['shift']());}catch(_0x22abc1){_0x2aa685['push'](_0x2aa685['shift']());}}}(_0x36c3,0x2d189));import _0x572174 from'sqlite3';import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';class DBUtilBase{['db'];async['init'](_0x592273){const _0x316180={'BsitP':function(_0x57481b){return _0x57481b();},'eciqq':function(_0x1487a2,_0x36147e){return _0x1487a2|_0x36147e;}};if(this['db'])return;return new Promise((_0x453b7a,_0x25ae6b)=>{const _0x2d9547=_0x57e2;this['db']=new _0x572174[(_0x2d9547(0x129))](_0x592273,_0x316180[_0x2d9547(0x10a)](_0x572174[_0x2d9547(0xcf)],_0x572174['OPEN_CREATE']),_0x2cd0f8=>{const _0x15d60d=_0x2d9547;if(_0x2cd0f8){logError(_0x15d60d(0xff),_0x2cd0f8),_0x25ae6b(_0x2cd0f8);return;}this[_0x15d60d(0x12c)](),_0x316180[_0x15d60d(0xed)](_0x453b7a);});});}[_0x8b3eaf(0x12c)](){const _0x155cd0=_0x8b3eaf,_0x4317f0={'sgSpo':_0x155cd0(0xf6)};throw new Error(_0x4317f0[_0x155cd0(0x102)]);}['close'](){const _0x2e9e09=_0x8b3eaf;this['db']?.[_0x2e9e09(0x104)]();}}class DBUtil extends DBUtilBase{[_0x8b3eaf(0xb8)]=new Map();['globalMsgShortId']=-0x7ffffff8;constructor(){const _0x39417f=_0x8b3eaf,_0x2b22de={'kdXno':function(_0x305e3a,_0x582546){return _0x305e3a>_0x582546;},'tpIPw':function(_0x5a4ffa,_0x27c444){return _0x5a4ffa-_0x27c444;},'hochJ':function(_0x219a01,_0x79abae){return _0x219a01*_0x79abae;},'yNxQd':function(_0x59c5f3,_0x48cc11){return _0x59c5f3(_0x48cc11);},'eUlWT':function(_0xa482ff,_0x272526){return _0xa482ff(_0x272526);},'HSbyf':_0x39417f(0xd6),'yeLjF':function(_0x36d1b5,_0x3f4f5f){return _0x36d1b5*_0x3f4f5f;},'gweth':function(_0x351154,_0x225a38,_0x567a8a){return _0x351154(_0x225a38,_0x567a8a);}};super();const _0x255717=_0x2b22de[_0x39417f(0x12d)](0x3e8,0x3c)*0xa;_0x2b22de[_0x39417f(0x11c)](setInterval,()=>{const _0x31bda1=_0x39417f;_0x2b22de['eUlWT'](logDebug,_0x2b22de[_0x31bda1(0x131)]),this[_0x31bda1(0xb8)][_0x31bda1(0x121)]((_0x38d4a4,_0x40b704)=>{const _0x18444d=_0x31bda1;_0x2b22de['kdXno'](_0x2b22de[_0x18444d(0xe0)](Date['now'](),_0x2b22de['hochJ'](_0x2b22de[_0x18444d(0x108)](parseInt,_0x38d4a4[_0x18444d(0xaa)]),0x3e8)),_0x255717)&&this['msgCache'][_0x18444d(0x123)](_0x40b704);});},_0x255717);}async['init'](_0x1804f1){const _0x406d33=_0x8b3eaf;await super[_0x406d33(0x132)](_0x1804f1),this[_0x406d33(0x107)]=await this[_0x406d33(0x11d)]();}[_0x8b3eaf(0x12c)](){const _0x1164c8=_0x8b3eaf,_0x5eaa2c={'ffzOe':function(_0x365d89,_0x14b45f,_0x12f597){return _0x365d89(_0x14b45f,_0x12f597);},'UMOwt':_0x1164c8(0x120),'PfVCJ':_0x1164c8(0x10f),'jUcOC':_0x1164c8(0xda)},_0x2d4f99=_0x1164c8(0xe1);this['db']['run'](_0x2d4f99,function(_0x4c44d8){const _0x4ca0e1=_0x1164c8;_0x4c44d8&&_0x5eaa2c[_0x4ca0e1(0xa5)](logError,_0x5eaa2c[_0x4ca0e1(0x12e)],_0x4c44d8['stack']);});const _0x5cfbc6=_0x1164c8(0xb5);this['db'][_0x1164c8(0xd3)](_0x5cfbc6,function(_0xd2703e){const _0x5512b9=_0x1164c8;_0xd2703e&&_0x5eaa2c[_0x5512b9(0xa5)](logError,_0x5eaa2c[_0x5512b9(0x126)],_0xd2703e);});const _0xde1b0e=_0x1164c8(0xc8);this['db'][_0x1164c8(0xd3)](_0xde1b0e,function(_0x5190a2){const _0x161fa0=_0x1164c8;_0x5190a2&&_0x5eaa2c[_0x161fa0(0xa5)](logError,_0x5eaa2c[_0x161fa0(0xee)],_0x5190a2);});}async[_0x8b3eaf(0x11d)](){const _0x18f60b=_0x8b3eaf,_0x4d98d3={'RhaHy':function(_0x3469b7,_0x51ec2d,_0x72b6c9){return _0x3469b7(_0x51ec2d,_0x72b6c9);},'kpmAd':_0x18f60b(0xa9),'RHZoE':function(_0x5978b5,_0x3e6072){return _0x5978b5(_0x3e6072);},'hivXF':function(_0x2374d6,_0x57bc77,_0x4f0dff){return _0x2374d6(_0x57bc77,_0x4f0dff);},'Vgzck':_0x18f60b(0xf7),'oStla':_0x18f60b(0xf4)};return new Promise((_0x16e80e,_0x48e61d)=>{const _0x442de5=_0x18f60b;this['db'][_0x442de5(0x12b)](_0x4d98d3['oStla'],(_0x1630ec,_0x369b16)=>{const _0x9b0c13=_0x442de5;if(_0x1630ec)return _0x4d98d3[_0x9b0c13(0xdd)](logDebug,_0x4d98d3[_0x9b0c13(0xbf)],_0x1630ec),_0x4d98d3['RHZoE'](_0x16e80e,-0x7ffffff8);_0x4d98d3[_0x9b0c13(0x127)](logDebug,_0x4d98d3[_0x9b0c13(0xad)],_0x369b16?.[_0x9b0c13(0xe6)]),_0x16e80e(_0x369b16?.[_0x9b0c13(0xe6)]??-0x7ffffff8);});});}async['getMsg'](_0x5662d7,_0x5d2a5b){const _0x1fc012=_0x8b3eaf,_0x38b93a={'uapmk':function(_0xdeb563,_0x4d3a85){return _0xdeb563(_0x4d3a85);},'feHsd':_0x1fc012(0xfd)},_0x154055=this['db'][_0x1fc012(0xac)](_0x5662d7);return new Promise((_0x2918c8,_0x2429d4)=>{const _0x257edd=_0x1fc012,_0x1a2e87={'wKggL':function(_0x259d83,_0xea1195){const _0x1fdc7d=_0x57e2;return _0x38b93a[_0x1fdc7d(0xb9)](_0x259d83,_0xea1195);},'PbQqG':function(_0x4f5b97,_0x12916c,_0x1b8165,_0x338308,_0x8a17bb){return _0x4f5b97(_0x12916c,_0x1b8165,_0x338308,_0x8a17bb);},'NEgBm':_0x38b93a[_0x257edd(0x12a)]};_0x154055[_0x257edd(0x12b)](..._0x5d2a5b,(_0x3400a5,_0x285eaa)=>{const _0x502f0c=_0x257edd;if(_0x3400a5)return _0x1a2e87[_0x502f0c(0x10b)](logError,_0x1a2e87[_0x502f0c(0x103)],_0x3400a5,_0x5662d7,_0x5d2a5b),_0x1a2e87['wKggL'](_0x2918c8,null);if(!_0x285eaa){_0x1a2e87[_0x502f0c(0xe3)](_0x2918c8,null);return;}const _0xc897d8=_0x285eaa[_0x502f0c(0x114)];NTQQMsgApi['getMsgsByMsgId']({'peerUid':_0x285eaa['peerUid'],'chatType':_0x285eaa[_0x502f0c(0xde)]},[_0xc897d8])['then'](_0x42a228=>{const _0x5a4869=_0x502f0c,_0x415b52=_0x42a228[_0x5a4869(0xc2)][0x0];if(!_0x415b52){_0x1a2e87[_0x5a4869(0xe3)](_0x2918c8,null);return;}_0x415b52['id']=_0x285eaa['shortId'],_0x2918c8(_0x415b52);})[_0x502f0c(0xc7)](_0x58500e=>{_0x2918c8(null);});});});}async['getMsgByShortId'](_0x514bdd){const _0x5ad528=_0x8b3eaf,_0x393b8c={'SSCJr':_0x5ad528(0x105)};if(this[_0x5ad528(0xb8)]['has'](_0x514bdd))return this['msgCache'][_0x5ad528(0x12b)](_0x514bdd);const _0xd58a5a=_0x393b8c[_0x5ad528(0xdc)];return this[_0x5ad528(0xaf)](_0xd58a5a,[_0x514bdd]);}async[_0x8b3eaf(0xb3)](_0x4a0e2){const _0x58e88e=_0x8b3eaf,_0x20d465={'jRaNx':_0x58e88e(0xbb)};if(this['msgCache']['has'](_0x4a0e2))return this[_0x58e88e(0xb8)]['get'](_0x4a0e2);return this[_0x58e88e(0xaf)](_0x20d465[_0x58e88e(0xf9)],[_0x4a0e2]);}async[_0x8b3eaf(0xb4)](_0x2cf764,_0x55c396){const _0x35bfa1=_0x8b3eaf,_0x524b14=_0x35bfa1(0xbc);return this[_0x35bfa1(0xaf)](_0x524b14,[_0x2cf764,_0x55c396]);}async[_0x8b3eaf(0x101)](_0x51c46b,_0xc117b8=!![]){const _0x5f2345=_0x8b3eaf,_0x2f9bbb={'CzYQe':function(_0x329f49,_0x874686){return _0x329f49===_0x874686;},'ohVXX':_0x5f2345(0xa6),'ocBrU':_0x5f2345(0xa7)},_0x508f03=await this['getMsgByLongId'](_0x51c46b[_0x5f2345(0xe4)]);if(_0x508f03){if(_0xc117b8)this[_0x5f2345(0xca)](_0x51c46b)[_0x5f2345(0xe2)]();return _0x508f03['id'];}const _0x2fdf6e=this['db']['prepare'](_0x2f9bbb['ocBrU']),_0x31e5ac=++this[_0x5f2345(0x107)];return _0x51c46b['id']=_0x31e5ac,logDebug('记录消息到数据库,\x20消息长id:\x20'+_0x51c46b[_0x5f2345(0xe4)]+_0x5f2345(0x119)+_0x51c46b['id']),this['msgCache'][_0x5f2345(0xae)](_0x31e5ac,_0x51c46b),this[_0x5f2345(0xb8)][_0x5f2345(0xae)](_0x51c46b['msgId'],_0x51c46b),_0x2fdf6e[_0x5f2345(0xd3)](this[_0x5f2345(0x107)],_0x51c46b[_0x5f2345(0xe4)],_0x51c46b['msgSeq'][_0x5f2345(0x128)](),_0x51c46b[_0x5f2345(0x125)],_0x51c46b['chatType'],_0x5b4737=>{const _0x36ba60=_0x5f2345;_0x5b4737&&(_0x2f9bbb[_0x36ba60(0x10c)](_0x5b4737[_0x36ba60(0xbd)],0x13)?this[_0x36ba60(0xb3)](_0x51c46b[_0x36ba60(0xe4)])['then'](_0x543858=>{const _0xe9a579=_0x36ba60;_0x543858?(this[_0xe9a579(0xb8)][_0xe9a579(0xae)](_0x31e5ac,_0x543858),this['msgCache'][_0xe9a579(0xae)](_0x543858[_0xe9a579(0xe4)],_0x543858)):logError(_0xe9a579(0x11a),_0x5b4737);})[_0x36ba60(0xc7)](_0x52939e=>logError(_0x36ba60(0x12f),_0x52939e)):logError(_0x2f9bbb[_0x36ba60(0xf5)],_0x5b4737));}),_0x31e5ac;}async[_0x8b3eaf(0xca)](_0x416696){const _0x167683=_0x8b3eaf,_0x2fd8ba={'ycwQp':function(_0x268b7c,_0x205350,_0x43d0a8){return _0x268b7c(_0x205350,_0x43d0a8);},'urGkM':_0x167683(0xc5),'FFmXM':function(_0x359e20,_0x3cb1ef){return _0x359e20(_0x3cb1ef);},'bmJVN':_0x167683(0xef)},_0x3723b0=this['msgCache']['get'](_0x416696[_0x167683(0xe4)]);_0x3723b0&&Object[_0x167683(0x113)](_0x3723b0,_0x416696);_0x2fd8ba[_0x167683(0x117)](logDebug,_0x167683(0xfc)+_0x416696['id']+_0x167683(0xf2)+_0x416696[_0x167683(0x133)]+_0x167683(0x10e)+_0x416696['msgId']);const _0x127d57=this['db'][_0x167683(0xac)](_0x2fd8ba[_0x167683(0xc6)]);_0x127d57[_0x167683(0xd3)](_0x416696[_0x167683(0x133)],_0x416696[_0x167683(0xe4)],_0xbac90d=>{const _0xb2a2ff=_0x167683;_0xbac90d&&_0x2fd8ba['ycwQp'](logError,_0x2fd8ba[_0xb2a2ff(0x112)],_0xbac90d);});}async[_0x8b3eaf(0xc0)](_0x453328){const _0xfdb65a=_0x8b3eaf,_0x671d59={'lsGAZ':function(_0x548e26,_0x3228e3,_0x28d167){return _0x548e26(_0x3228e3,_0x28d167);},'zQuer':_0xfdb65a(0x118)},_0x3640aa=this['db'][_0xfdb65a(0xac)](_0x671d59['zQuer']);return new Promise((_0xbfa9b4,_0x4720f1)=>{const _0x1aa9af=_0xfdb65a,_0x2afee9={'gdwlI':function(_0x7c5ba,_0x4aa27e,_0x4e9b64){const _0xbca27f=_0x57e2;return _0x671d59[_0xbca27f(0xc9)](_0x7c5ba,_0x4aa27e,_0x4e9b64);},'vYpEB':function(_0x494708,_0x5014c7){return _0x494708(_0x5014c7);}};_0x3640aa[_0x1aa9af(0xd3)](_0x453328[_0x1aa9af(0x116)],_0x453328[_0x1aa9af(0xdb)],_0x453328['url'],_0x453328['size'],_0x453328[_0x1aa9af(0xd1)],_0x453328['elementType'],JSON[_0x1aa9af(0xfa)](_0x453328['element']),_0x453328[_0x1aa9af(0xec)],_0x453328[_0x1aa9af(0xe4)],function(_0x35bf8b){const _0x10c3be=_0x1aa9af;_0x35bf8b&&(_0x2afee9[_0x10c3be(0xd0)](logError,_0x10c3be(0xf1),_0x35bf8b),_0x4720f1(_0x35bf8b)),_0x2afee9[_0x10c3be(0xe5)](_0xbfa9b4,null);});});}async[_0x8b3eaf(0x110)](_0x3993cb,_0x2bcc50){const _0x4230e2={'xAzMt':'db\x20could\x20not\x20get\x20file\x20cache','lCTuk':function(_0x4aa945,_0x12daa8){return _0x4aa945(_0x12daa8);}},_0x3458c8=this['db']['prepare'](_0x3993cb);return new Promise((_0x37de5f,_0x2c37ea)=>{const _0x133ddb=_0x57e2,_0x51dec6={'ImBKV':_0x4230e2[_0x133ddb(0xe9)],'brgHj':function(_0x1721e8,_0x212d1e){return _0x4230e2['lCTuk'](_0x1721e8,_0x212d1e);},'SRptl':function(_0x4ca43e,_0x5987ea){return _0x4ca43e(_0x5987ea);}};_0x3458c8['get'](..._0x2bcc50,(_0x1751f7,_0x51ddc4)=>{const _0x26e2a8=_0x133ddb;_0x1751f7&&(logError(_0x51dec6[_0x26e2a8(0x11b)],_0x1751f7),_0x51dec6[_0x26e2a8(0xd7)](_0x2c37ea,_0x1751f7)),_0x51ddc4&&(_0x51ddc4[_0x26e2a8(0xb0)]=JSON[_0x26e2a8(0xd2)](_0x51ddc4['element'])),_0x51dec6[_0x26e2a8(0xab)](_0x37de5f,_0x51ddc4);});});}async[_0x8b3eaf(0xeb)](_0x52978a){const _0x8587dd=_0x8b3eaf,_0x5340ed={'lkkef':_0x8587dd(0xfb)};return this[_0x8587dd(0x110)](_0x5340ed[_0x8587dd(0x124)],[_0x52978a]);}async['getFileCacheByUuid'](_0x48e540){const _0x49043a=_0x8b3eaf;return this[_0x49043a(0x110)]('SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?',[_0x48e540]);}async['updateFileCache'](_0x80ca58){const _0x574b24=_0x8b3eaf,_0x4ccbda={'XdiXE':function(_0x1a3c1a,_0x5da923,_0x3d2ffd){return _0x1a3c1a(_0x5da923,_0x3d2ffd);},'jTmmg':function(_0x29ff3a,_0x314644){return _0x29ff3a(_0x314644);},'qMmsu':_0x574b24(0xb7)},_0x3d3293=this['db'][_0x574b24(0xac)](_0x4ccbda[_0x574b24(0x11f)]);return new Promise((_0x541971,_0x1e9912)=>{const _0x30432b=_0x574b24;_0x3d3293[_0x30432b(0xd3)](_0x80ca58['path'],_0x80ca58['url'],_0x80ca58[_0x30432b(0xd1)],function(_0x521a58){const _0x3d5d16=_0x30432b;_0x521a58&&(_0x4ccbda['XdiXE'](logError,_0x3d5d16(0x100),_0x521a58),_0x4ccbda[_0x3d5d16(0xcb)](_0x1e9912,_0x521a58)),_0x4ccbda['jTmmg'](_0x541971,null);});});}async['getReceivedTempUinMap'](){const _0x315bec=_0x8b3eaf,_0x1ffe44={'KiaTz':function(_0x2c17a6,_0x38af86,_0x3a06d6){return _0x2c17a6(_0x38af86,_0x3a06d6);},'EBbiX':function(_0x294dbe,_0x3a57e5){return _0x294dbe(_0x3a57e5);},'cHTdV':function(_0x3b2a7b,_0x1ac70c){return _0x3b2a7b(_0x1ac70c);}},_0x358d00=_0x315bec(0xf8);return new Promise((_0x47fa89,_0x697131)=>{const _0x5ba772=_0x315bec;this['db'][_0x5ba772(0xc1)](_0x358d00,(_0x549a04,_0x1cb179)=>{const _0x1366ac=_0x5ba772;_0x549a04&&(_0x1ffe44[_0x1366ac(0x10d)](logError,_0x1366ac(0xdf),_0x549a04),_0x1ffe44[_0x1366ac(0x11e)](_0x697131,_0x549a04));const _0x2add75={};_0x1cb179['forEach'](_0x5cc30e=>{const _0xdcec97=_0x1366ac;_0x2add75[_0x5cc30e[_0xdcec97(0xe8)]]=_0x5cc30e['uid'];}),_0x1ffe44[_0x1366ac(0xce)](_0x47fa89,_0x2add75);});});}async[_0x8b3eaf(0xd8)](_0x2abc04){const _0x385f04=_0x8b3eaf,_0x4082be={'PwRpq':function(_0x1960d1,_0x307305,_0x25780d){return _0x1960d1(_0x307305,_0x25780d);},'OJtdW':'db\x20could\x20not\x20get\x20temp\x20uin\x20map','tZDqG':function(_0x51fb98,_0x2a91fe){return _0x51fb98(_0x2a91fe);},'xPPxl':_0x385f04(0xc3)},_0x5ba749=_0x4082be[_0x385f04(0xea)];return new Promise((_0x979ea6,_0x330855)=>{const _0x24c6f0=_0x385f04;this['db'][_0x24c6f0(0x12b)](_0x5ba749,[_0x2abc04],(_0x3b9bc2,_0x374438)=>{const _0x55638b=_0x24c6f0;_0x3b9bc2&&(_0x4082be[_0x55638b(0xa8)](logError,_0x4082be[_0x55638b(0xd4)],_0x3b9bc2),_0x4082be['tZDqG'](_0x330855,_0x3b9bc2)),_0x4082be[_0x55638b(0xf0)](_0x979ea6,_0x374438?.['uid']);});});}async[_0x8b3eaf(0x109)](_0x534bd1,_0x526078){const _0x64b795=_0x8b3eaf,_0xcfd4d2={'WZckF':function(_0x1311d0,_0x23757d,_0x59762e){return _0x1311d0(_0x23757d,_0x59762e);},'mBgiP':_0x64b795(0xcc),'SsGvE':function(_0x2e45bb,_0x4c267e){return _0x2e45bb(_0x4c267e);},'oRORh':_0x64b795(0x111)},_0xeedbc7=await this[_0x64b795(0xd8)](_0x534bd1);if(!_0xeedbc7){const _0xbf199=this['db'][_0x64b795(0xac)](_0xcfd4d2[_0x64b795(0xfe)]);return new Promise((_0xf2f4a2,_0x3d7bd4)=>{_0xbf199['run'](_0x534bd1,_0x526078,function(_0x146044){const _0x47fadb=_0x57e2;_0x146044&&(_0xcfd4d2[_0x47fadb(0xcd)](logError,_0xcfd4d2[_0x47fadb(0xc4)],_0x146044),_0xcfd4d2[_0x47fadb(0xb2)](_0x3d7bd4,_0x146044)),_0xcfd4d2[_0x47fadb(0xb2)](_0xf2f4a2,null);});});}}}function _0x57e2(_0x4e478c,_0x1fed25){const _0x36c381=_0x36c3();return _0x57e2=function(_0x57e24f,_0xdec2ae){_0x57e24f=_0x57e24f-0xa4;let _0xbabb8c=_0x36c381[_0x57e24f];return _0xbabb8c;},_0x57e2(_0x4e478c,_0x1fed25);}export const dbUtil=new DBUtil(); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 66dda6d4..4727be23 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -function _0x52d2(){const _0x26b715=['3573588BWUysC','13914TKvSmm','2205DpeYQc','6334629PArUKC','12984184Sdqwjh','27NkqAQi','resolve','/wrapper.node','3308308FEkbFh','./resources/app/wrapper.node','3114980RddoQp','existsSync','dirname','1599995EAHyXP'];_0x52d2=function(){return _0x26b715;};return _0x52d2();}const _0x4adf10=_0x1930;(function(_0x1e5852,_0x3a20f9){const _0x1bac4a=_0x1930,_0xcb2435=_0x1e5852();while(!![]){try{const _0x366df2=-parseInt(_0x1bac4a(0x126))/0x1+parseInt(_0x1bac4a(0x131))/0x2+-parseInt(_0x1bac4a(0x127))/0x3+-parseInt(_0x1bac4a(0x12f))/0x4+-parseInt(_0x1bac4a(0x129))/0x5*(parseInt(_0x1bac4a(0x128))/0x6)+-parseInt(_0x1bac4a(0x12a))/0x7+-parseInt(_0x1bac4a(0x12b))/0x8*(-parseInt(_0x1bac4a(0x12c))/0x9);if(_0x366df2===_0x3a20f9)break;else _0xcb2435['push'](_0xcb2435['shift']());}catch(_0x3f1900){_0xcb2435['push'](_0xcb2435['shift']());}}}(_0x52d2,0xd7019));import _0x295c3d from'node:path';import _0x2c126a from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x295c3d[_0x4adf10(0x12d)](_0x295c3d[_0x4adf10(0x125)](process['execPath']),_0x4adf10(0x130));!_0x2c126a[_0x4adf10(0x124)](wrapperNodePath)&&(wrapperNodePath=_0x295c3d['join'](_0x295c3d['dirname'](process['execPath']),'resources/app/versions/'+qqVersionConfigInfo['curVersion']+_0x4adf10(0x12e)));const QQWrapper=require(wrapperNodePath);function _0x1930(_0x49127b,_0x200fc6){const _0x52d236=_0x52d2();return _0x1930=function(_0x19300b,_0x336f9a){_0x19300b=_0x19300b-0x124;let _0x575645=_0x52d236[_0x19300b];return _0x575645;},_0x1930(_0x49127b,_0x200fc6);}export default QQWrapper; \ No newline at end of file +const _0x15b232=_0x1bae;(function(_0x41abec,_0x495522){const _0xbfdf93=_0x1bae,_0x335898=_0x41abec();while(!![]){try{const _0x284676=-parseInt(_0xbfdf93(0x13c))/0x1+parseInt(_0xbfdf93(0x139))/0x2*(-parseInt(_0xbfdf93(0x13a))/0x3)+parseInt(_0xbfdf93(0x137))/0x4*(parseInt(_0xbfdf93(0x143))/0x5)+-parseInt(_0xbfdf93(0x13b))/0x6*(parseInt(_0xbfdf93(0x144))/0x7)+-parseInt(_0xbfdf93(0x13d))/0x8+parseInt(_0xbfdf93(0x145))/0x9+parseInt(_0xbfdf93(0x138))/0xa;if(_0x284676===_0x495522)break;else _0x335898['push'](_0x335898['shift']());}catch(_0x115e46){_0x335898['push'](_0x335898['shift']());}}}(_0x2f37,0x6e2c8));import _0x2e2ccd from'node:path';import _0x44ba15 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x2f37(){const _0x164cac=['24458520PsWVLm','576762cPxkPS','9vxjFpx','12HcbeCD','845028hGHkDW','6939088hpvGKx','execPath','dirname','curVersion','join','/wrapper.node','140fkWzvi','1352442ddLOZI','612117wXPXzI','existsSync','128768jSkPgh'];_0x2f37=function(){return _0x164cac;};return _0x2f37();}let wrapperNodePath=_0x2e2ccd['resolve'](_0x2e2ccd[_0x15b232(0x13f)](process[_0x15b232(0x13e)]),'./resources/app/wrapper.node');!_0x44ba15[_0x15b232(0x136)](wrapperNodePath)&&(wrapperNodePath=_0x2e2ccd[_0x15b232(0x141)](_0x2e2ccd[_0x15b232(0x13f)](process[_0x15b232(0x13e)]),'resources/app/versions/'+qqVersionConfigInfo[_0x15b232(0x140)]+_0x15b232(0x142)));const QQWrapper=require(wrapperNodePath);function _0x1bae(_0x5172ea,_0x530561){const _0x2f375e=_0x2f37();return _0x1bae=function(_0x1bae55,_0x3d7bf0){_0x1bae55=_0x1bae55-0x136;let _0x2b4ab5=_0x2f375e[_0x1bae55];return _0x2b4ab5;},_0x1bae(_0x5172ea,_0x530561);}export default QQWrapper; \ No newline at end of file