From 875fed8d77a72200a93d8c02b3d6292d1772bf01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Wed, 8 May 2024 19:59:42 +0800 Subject: [PATCH] fix: qrcode expired try --- src/core | 2 +- src/core.lib/src/adapters/NodeIDependsAdapter.js | 2 +- .../src/adapters/NodeIDispatcherAdapter.js | 2 +- src/core.lib/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.d.ts | 6 +++++- 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 +- .../src/listeners/NodeIKernelBuddyListener.js | 2 +- .../listeners/NodeIKernelFileAssistantListener.js | 2 +- .../src/listeners/NodeIKernelGroupListener.js | 2 +- .../src/listeners/NodeIKernelLoginListener.js | 2 +- .../src/listeners/NodeIKernelMsgListener.js | 2 +- .../src/listeners/NodeIKernelProfileListener.js | 2 +- .../src/listeners/NodeIKernelRobotListener.js | 2 +- .../src/listeners/NodeIKernelSessionListener.js | 2 +- .../listeners/NodeIKernelStorageCleanListener.js | 2 +- src/core.lib/src/listeners/index.js | 2 +- .../src/services/NodeIKernelMsgService.d.ts | 4 ++-- src/core.lib/src/services/common.js | 2 +- src/core.lib/src/services/index.js | 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 +- src/index.ts | 14 +++++++------- 44 files changed, 55 insertions(+), 51 deletions(-) diff --git a/src/core b/src/core index 45388bd3..b506d4cb 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 45388bd385eb0090d86a968ca7946ef14484037f +Subproject commit b506d4cbdd1c69b1468b8deffd45314fc8b3160d diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index b91f2416..bbf4a8a2 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x35f0(_0x45ddbe,_0x15ce72){var _0x41fcaa=_0x41fc();return _0x35f0=function(_0x35f012,_0x5c443d){_0x35f012=_0x35f012-0x1e7;var _0x2431a3=_0x41fcaa[_0x35f012];return _0x2431a3;},_0x35f0(_0x45ddbe,_0x15ce72);}var _0x50a689=_0x35f0;(function(_0x4e4cea,_0x2cb259){var _0x26f5b3=_0x35f0,_0x47327c=_0x4e4cea();while(!![]){try{var _0x2f9002=-parseInt(_0x26f5b3(0x1eb))/0x1*(parseInt(_0x26f5b3(0x1ec))/0x2)+-parseInt(_0x26f5b3(0x1e8))/0x3+-parseInt(_0x26f5b3(0x1ee))/0x4+-parseInt(_0x26f5b3(0x1ed))/0x5*(parseInt(_0x26f5b3(0x1f2))/0x6)+parseInt(_0x26f5b3(0x1e9))/0x7*(-parseInt(_0x26f5b3(0x1e7))/0x8)+-parseInt(_0x26f5b3(0x1f1))/0x9+parseInt(_0x26f5b3(0x1ea))/0xa*(parseInt(_0x26f5b3(0x1f3))/0xb);if(_0x2f9002===_0x2cb259)break;else _0x47327c['push'](_0x47327c['shift']());}catch(_0x58de6a){_0x47327c['push'](_0x47327c['shift']());}}}(_0x41fc,0xe527e));function _0x41fc(){var _0x1bac65=['onMSFSsoError','104xAmgXP','1860831vjVaYv','124159MhYHgL','28570vJMsjR','1217551jLmOfM','2KWFgeJ','5RGkNhQ','1151148Kohjqr','onMSFStatusChange','getGroupCode','13120497UCElMF','5596674NKstHr','21890HUurpZ'];_0x41fc=function(){return _0x1bac65;};return _0x41fc();}export class DependsAdapter{[_0x50a689(0x1ef)](_0x58e085,_0x10b01c){}[_0x50a689(0x1f4)](_0x87265c){}[_0x50a689(0x1f0)](_0xd9a8f1){}} \ No newline at end of file +var _0x2564b4=_0x2c3d;function _0x2c3d(_0x1f72da,_0x253af8){var _0x3b9082=_0x3b90();return _0x2c3d=function(_0x2c3d6e,_0x3bd0c9){_0x2c3d6e=_0x2c3d6e-0xe5;var _0x2b42cd=_0x3b9082[_0x2c3d6e];return _0x2b42cd;},_0x2c3d(_0x1f72da,_0x253af8);}(function(_0x9758a,_0x160e4e){var _0x43316d=_0x2c3d,_0x504a80=_0x9758a();while(!![]){try{var _0x406ddb=parseInt(_0x43316d(0xe8))/0x1+parseInt(_0x43316d(0xe9))/0x2+-parseInt(_0x43316d(0xeb))/0x3+parseInt(_0x43316d(0xf1))/0x4*(-parseInt(_0x43316d(0xec))/0x5)+parseInt(_0x43316d(0xef))/0x6*(parseInt(_0x43316d(0xed))/0x7)+parseInt(_0x43316d(0xee))/0x8*(-parseInt(_0x43316d(0xf0))/0x9)+parseInt(_0x43316d(0xea))/0xa*(-parseInt(_0x43316d(0xe7))/0xb);if(_0x406ddb===_0x160e4e)break;else _0x504a80['push'](_0x504a80['shift']());}catch(_0x543419){_0x504a80['push'](_0x504a80['shift']());}}}(_0x3b90,0xd612b));function _0x3b90(){var _0x4bf1f9=['1760fBNDzj','onMSFStatusChange','getGroupCode','1353KkyXRX','1683342qPoCOI','2637312OImmXE','30EXTbYw','4280370HgztMj','7735ckPbLY','4319BUXYFq','8070680arWHnd','9642GBZezp','9aSLuuh'];_0x3b90=function(){return _0x4bf1f9;};return _0x3b90();}export class DependsAdapter{[_0x2564b4(0xe5)](_0x2e20e2,_0x290792){}['onMSFSsoError'](_0x3fc2c9){}[_0x2564b4(0xe6)](_0x2b4981){}} \ 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 a63509bb..1dfb0b7d 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x21a73c=_0x4ca0;function _0x4525(){var _0x1e7189=['4599944QUIjiF','5686318nlZYGW','3616750RrpwJs','1589MNnUkC','9697644tGhTDj','dispatchCall','dispatchCallWithJson','8TjmnJr','469501TnIPei','70VQjiNX','1091106pclQTY','4OrLowl','dispatchRequest','5628kisnit'];_0x4525=function(){return _0x1e7189;};return _0x4525();}(function(_0x2ec7a8,_0xbd9ca1){var _0x2e4250=_0x4ca0,_0x46c833=_0x2ec7a8();while(!![]){try{var _0x404bf5=parseInt(_0x2e4250(0xd1))/0x1*(-parseInt(_0x2e4250(0xd4))/0x2)+parseInt(_0x2e4250(0xd3))/0x3*(-parseInt(_0x2e4250(0xd0))/0x4)+parseInt(_0x2e4250(0xd9))/0x5+-parseInt(_0x2e4250(0xd6))/0x6*(parseInt(_0x2e4250(0xcc))/0x7)+-parseInt(_0x2e4250(0xd7))/0x8+-parseInt(_0x2e4250(0xcd))/0x9+parseInt(_0x2e4250(0xd2))/0xa*(parseInt(_0x2e4250(0xd8))/0xb);if(_0x404bf5===_0xbd9ca1)break;else _0x46c833['push'](_0x46c833['shift']());}catch(_0x36afcd){_0x46c833['push'](_0x46c833['shift']());}}}(_0x4525,0xc5c5b));function _0x4ca0(_0x35533e,_0x465b8e){var _0x45250e=_0x4525();return _0x4ca0=function(_0x4ca06b,_0x473284){_0x4ca06b=_0x4ca06b-0xcc;var _0x480802=_0x45250e[_0x4ca06b];return _0x480802;},_0x4ca0(_0x35533e,_0x465b8e);}export class DispatcherAdapter{[_0x21a73c(0xd5)](_0x4c3cea){}[_0x21a73c(0xce)](_0x1fc5e3){}[_0x21a73c(0xcf)](_0xf64265){}} \ No newline at end of file +function _0x17f2(_0x357ae3,_0x5c62f5){var _0x5e1ff5=_0x5e1f();return _0x17f2=function(_0x17f283,_0x47af1a){_0x17f283=_0x17f283-0x145;var _0x32afc1=_0x5e1ff5[_0x17f283];return _0x32afc1;},_0x17f2(_0x357ae3,_0x5c62f5);}function _0x5e1f(){var _0x1cdc41=['21186024ivKGDu','24fQDkoA','604005XsVObV','27ealWwL','dispatchRequest','1826rpatca','2271344HerWfs','366HYoHwA','143017VOQERz','2NZQFuE','dispatchCallWithJson','944165YrEfSk','71870fQnUOm','dispatchCall','2554269cjIsnZ'];_0x5e1f=function(){return _0x1cdc41;};return _0x5e1f();}var _0x2fefa8=_0x17f2;(function(_0x589cc5,_0x114912){var _0x4891ce=_0x17f2,_0x2a3ab8=_0x589cc5();while(!![]){try{var _0x5527cb=parseInt(_0x4891ce(0x14d))/0x1+-parseInt(_0x4891ce(0x145))/0x2*(parseInt(_0x4891ce(0x14a))/0x3)+-parseInt(_0x4891ce(0x14c))/0x4*(-parseInt(_0x4891ce(0x147))/0x5)+-parseInt(_0x4891ce(0x152))/0x6*(-parseInt(_0x4891ce(0x153))/0x7)+parseInt(_0x4891ce(0x151))/0x8*(-parseInt(_0x4891ce(0x14e))/0x9)+-parseInt(_0x4891ce(0x148))/0xa*(-parseInt(_0x4891ce(0x150))/0xb)+-parseInt(_0x4891ce(0x14b))/0xc;if(_0x5527cb===_0x114912)break;else _0x2a3ab8['push'](_0x2a3ab8['shift']());}catch(_0x22b80e){_0x2a3ab8['push'](_0x2a3ab8['shift']());}}}(_0x5e1f,0xacc49));export class DispatcherAdapter{[_0x2fefa8(0x14f)](_0x3d1f39){}[_0x2fefa8(0x149)](_0x40198b){}[_0x2fefa8(0x146)](_0x14ea96){}} \ 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 322cfdab..b251e60c 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0xa24c(_0x16bf78,_0x29075d){var _0x2607d8=_0x2607();return _0xa24c=function(_0xa24c0f,_0x12f123){_0xa24c0f=_0xa24c0f-0x1c4;var _0x34bc9b=_0x2607d8[_0xa24c0f];return _0x34bc9b;},_0xa24c(_0x16bf78,_0x29075d);}var _0x5d1bb8=_0xa24c;(function(_0x50fcbd,_0x407c0b){var _0x566ec1=_0xa24c,_0x127408=_0x50fcbd();while(!![]){try{var _0x26f0a2=-parseInt(_0x566ec1(0x1d0))/0x1*(parseInt(_0x566ec1(0x1c8))/0x2)+parseInt(_0x566ec1(0x1c6))/0x3+-parseInt(_0x566ec1(0x1ca))/0x4*(-parseInt(_0x566ec1(0x1cc))/0x5)+-parseInt(_0x566ec1(0x1c7))/0x6+parseInt(_0x566ec1(0x1c4))/0x7+-parseInt(_0x566ec1(0x1cb))/0x8+parseInt(_0x566ec1(0x1cd))/0x9*(parseInt(_0x566ec1(0x1c9))/0xa);if(_0x26f0a2===_0x407c0b)break;else _0x127408['push'](_0x127408['shift']());}catch(_0x139fa0){_0x127408['push'](_0x127408['shift']());}}}(_0x2607,0x6ed0b));function _0x2607(){var _0x418d09=['201164QNiUMs','1125344pWcjHO','25ldmyUF','414324nwAetn','onGetSrvCalTime','fixPicImgType','19LZWjWQ','onLog','onGetOfflineMsg','907018WnimWw','onInstallFinished','785340UJtbPP','3468078BYxLbv','65382oszsZa','250cTpAFF'];_0x2607=function(){return _0x418d09;};return _0x2607();}export class GlobalAdapter{[_0x5d1bb8(0x1d1)](..._0x598d79){}[_0x5d1bb8(0x1ce)](..._0x278086){}['onShowErrUITips'](..._0x25426e){}[_0x5d1bb8(0x1cf)](..._0x4b3224){}['getAppSetting'](..._0x48977f){}[_0x5d1bb8(0x1c5)](..._0x2ee602){}['onUpdateGeneralFlag'](..._0x554afa){}[_0x5d1bb8(0x1d2)](..._0x25c0f9){}} \ No newline at end of file +var _0x5a7427=_0x437c;(function(_0x8de97e,_0x54661a){var _0x49c16b=_0x437c,_0xbbb222=_0x8de97e();while(!![]){try{var _0x3bbfd7=parseInt(_0x49c16b(0x181))/0x1*(parseInt(_0x49c16b(0x174))/0x2)+parseInt(_0x49c16b(0x17e))/0x3+parseInt(_0x49c16b(0x17d))/0x4+-parseInt(_0x49c16b(0x17f))/0x5*(parseInt(_0x49c16b(0x170))/0x6)+-parseInt(_0x49c16b(0x180))/0x7*(parseInt(_0x49c16b(0x171))/0x8)+parseInt(_0x49c16b(0x17c))/0x9+-parseInt(_0x49c16b(0x173))/0xa;if(_0x3bbfd7===_0x54661a)break;else _0xbbb222['push'](_0xbbb222['shift']());}catch(_0x544cb9){_0xbbb222['push'](_0xbbb222['shift']());}}}(_0x41b1,0xb97d7));function _0x437c(_0x1b972a,_0x3e2769){var _0x41b195=_0x41b1();return _0x437c=function(_0x437c54,_0x38c4cf){_0x437c54=_0x437c54-0x170;var _0x5dc0d5=_0x41b195[_0x437c54];return _0x5dc0d5;},_0x437c(_0x1b972a,_0x3e2769);}function _0x41b1(){var _0x2cbc6e=['19684660LinzzI','11514pObBRX','getAppSetting','fixPicImgType','onLog','onInstallFinished','onGetSrvCalTime','onUpdateGeneralFlag','onGetOfflineMsg','7238664woKzPX','2348088FkwONg','1727406GanMJg','5MnHHBe','7veHbxi','204VDaBLT','804642wscRRf','2233664KiqXVh','onShowErrUITips'];_0x41b1=function(){return _0x2cbc6e;};return _0x41b1();}export class GlobalAdapter{[_0x5a7427(0x177)](..._0x191b1b){}[_0x5a7427(0x179)](..._0xdb8f9b){}[_0x5a7427(0x172)](..._0x2a478f){}[_0x5a7427(0x176)](..._0x3fcde7){}[_0x5a7427(0x175)](..._0x263905){}[_0x5a7427(0x178)](..._0x257603){}[_0x5a7427(0x17a)](..._0xca2393){}[_0x5a7427(0x17b)](..._0x5dbbc9){}} \ 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 4aab2ae9..6530b035 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x8e90de,_0x371735){var _0x4324d8=_0x2404,_0x2f8d7f=_0x8e90de();while(!![]){try{var _0x1f44a6=parseInt(_0x4324d8(0xf5))/0x1*(parseInt(_0x4324d8(0xf1))/0x2)+-parseInt(_0x4324d8(0xfb))/0x3*(-parseInt(_0x4324d8(0xf4))/0x4)+parseInt(_0x4324d8(0xf9))/0x5*(parseInt(_0x4324d8(0xf3))/0x6)+parseInt(_0x4324d8(0xf2))/0x7*(-parseInt(_0x4324d8(0xf0))/0x8)+-parseInt(_0x4324d8(0xf8))/0x9+parseInt(_0x4324d8(0xf6))/0xa*(parseInt(_0x4324d8(0xf7))/0xb)+-parseInt(_0x4324d8(0xfa))/0xc;if(_0x1f44a6===_0x371735)break;else _0x2f8d7f['push'](_0x2f8d7f['shift']());}catch(_0x480fb3){_0x2f8d7f['push'](_0x2f8d7f['shift']());}}}(_0x4afd,0x2b9ab));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x2404(_0x42f249,_0x3aec01){var _0x4afdd2=_0x4afd();return _0x2404=function(_0x24045f,_0x2d2154){_0x24045f=_0x24045f-0xf0;var _0x400b54=_0x4afdd2[_0x24045f];return _0x400b54;},_0x2404(_0x42f249,_0x3aec01);}export*from'./NodeIGlobalAdapter';function _0x4afd(){var _0x598a58=['10SgqMYE','1606693swhDXQ','2077083yfSuSy','872725ARtBFM','2060088UQjiPC','549018ZNkPxt','2204104GxrsJI','2dICIxG','7IrzGDX','12MjDovD','4tDQKNz','178418pdpvRa'];_0x4afd=function(){return _0x598a58;};return _0x4afd();} \ No newline at end of file +function _0x4cda(){var _0x3aa0dd=['20KqzWfd','1704564PgHUnJ','938672HFYwid','4gCJGbp','1725840EPLVsb','77036RkORjl','123990rdvTml','1486710yXpufs','664330rHHCvU'];_0x4cda=function(){return _0x3aa0dd;};return _0x4cda();}(function(_0xbb8617,_0x1250d9){var _0x17cd44=_0x40b0,_0x2ace9f=_0xbb8617();while(!![]){try{var _0x44090f=-parseInt(_0x17cd44(0x153))/0x1*(-parseInt(_0x17cd44(0x14c))/0x2)+-parseInt(_0x17cd44(0x14d))/0x3*(-parseInt(_0x17cd44(0x150))/0x4)+-parseInt(_0x17cd44(0x14f))/0x5+-parseInt(_0x17cd44(0x14e))/0x6+parseInt(_0x17cd44(0x152))/0x7+parseInt(_0x17cd44(0x14b))/0x8+-parseInt(_0x17cd44(0x151))/0x9;if(_0x44090f===_0x1250d9)break;else _0x2ace9f['push'](_0x2ace9f['shift']());}catch(_0x4943ec){_0x2ace9f['push'](_0x2ace9f['shift']());}}}(_0x4cda,0x224d5));export*from'./NodeIDependsAdapter';function _0x40b0(_0x10c0a3,_0x1d0cd6){var _0x4cda53=_0x4cda();return _0x40b0=function(_0x40b094,_0x2e6031){_0x40b094=_0x40b094-0x14b;var _0x24bfab=_0x4cda53[_0x40b094];return _0x24bfab;},_0x40b0(_0x10c0a3,_0x1d0cd6);}export*from'./NodeIDispatcherAdapter';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 76babcff..f9a3769d 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x79193a=_0x3d55;(function(_0x57a2b2,_0x1f3aa7){const _0x2e8692=_0x3d55,_0x1f1c10=_0x57a2b2();while(!![]){try{const _0x42813e=parseInt(_0x2e8692(0x203))/0x1+-parseInt(_0x2e8692(0x1f7))/0x2*(-parseInt(_0x2e8692(0x1c8))/0x3)+-parseInt(_0x2e8692(0x232))/0x4+-parseInt(_0x2e8692(0x1e6))/0x5*(parseInt(_0x2e8692(0x1cb))/0x6)+parseInt(_0x2e8692(0x1d0))/0x7*(parseInt(_0x2e8692(0x1f6))/0x8)+parseInt(_0x2e8692(0x20e))/0x9+-parseInt(_0x2e8692(0x210))/0xa;if(_0x42813e===_0x1f3aa7)break;else _0x1f1c10['push'](_0x1f1c10['shift']());}catch(_0x409210){_0x1f1c10['push'](_0x1f1c10['shift']());}}}(_0x5d07,0xe6960));import{ChatType,ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x11ddd4 from'path';import _0x394ffc from'fs';import _0x5861c3 from'fs/promises';import{logDebug,logError}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x327abe from'file-type';import{MsgListener}from'@/core/listeners';import _0x9ea2b2 from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{hookApi}from'@/core/external/hook';import{randomUUID}from'crypto';import{AsyncQueue}from'@/common/utils/AsyncQueue';function _0x5d07(){const _0x5148ef=['fBpAu','isAvailable','join','图片rkey获取失败','getStorageCleanService','ZBfBv','defaultFileDownloadPath','ext','set','117837gVWKth','getDesktopTmpPath','获取图片rkey...','4908WcFWYn','receive\x20downloadMedia\x20task',',\x20rkey:','getChatCacheList','Fasci','269934nkupxz','KlQKq','then','NBqlM','onLoginSuccess','yxXtE','sourcePath','rIFME','copyFile','includes','getCacheSessionPathList','group','downloadMedia','TcjCI','PIC','WVmWV','scanCache','eJvaZ','startsWith','getRKey','EdYcr','clearChatCache','3660pRPksk','MRfCj','fileTypeFromFile','getFileType','getMsgService','qfDCs','util','图片rkey有效','uploadFile','picElement','TBlGy','fileUuid','RoPJq','indexOf','downloadMedia\x20complete','downloadPath','352MXTFtr','12EbVsWh','get','clearCache','gKNLB','downloadRichMedia','getImageSize','AdNob','catch','getHotUpdateCachePath','HzgVo','md5HexStr','tnGre','1662318jopzFj','TVZig','originImageUrl','getChatCacheInfo','HnRIY','session','nIOgg','/download','xVOAo','unlink','find','12731913SMXIBN','hotUpdate','34554640mROKyX','onRichMediaDownloadComplete','GdiIX','clearChatCacheInfo','iJbJM','now','msgId','TtzGs','ayzkw','filePath','tmp','rjXeu','lmFQE','xkwna','QVYNs','setCacheSilentScan','addTask','qoyaf','ntBIe','addCacheScanedPaths','peerUid','existsSync','delete','getFileSize','JJITc','图片rkey有误','BcIQO','DdaZg','getRichMediaFilePathForGuild','hookApi\x20is\x20not\x20available','NUjiU','IkwQC','addListener','&rkey=','42628emlPes','addCacheScannedPaths','clearCacheDataByKeys','FgmjH','start\x20downloadMedia','/gchatpic_new/0/0-0-','getImageUrl','AHjez'];_0x5d07=function(){return _0x5148ef;};return _0x5d07();}import{sleep}from'@/common/utils/helper';import _0x546ee0 from'https';let privateImageRKey='',groupImageRKey='',lastGetPrivateRKeyTime=0x0,lastGetGroupRKeyTime=0x0;const rkeyExpireTime=0x3e8*0x3c*0x1e,getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x79193a(0x211)]=_0x32deb1=>{const _0x4236a2=_0x79193a,_0x1572c2={'GdiIX':function(_0x5c147b,_0x3aaa42){return _0x5c147b(_0x3aaa42);}};for(const [_0x3996ef,_0x1b1b7b]of downloadMediaTasks){_0x1572c2[_0x4236a2(0x212)](_0x1b1b7b,_0x32deb1),downloadMediaTasks[_0x4236a2(0x226)](_0x3996ef);}},setTimeout(()=>{const _0x4f860f=_0x79193a;napCatCore[_0x4f860f(0x1d4)](()=>{const _0x2a68e7=_0x4f860f;napCatCore[_0x2a68e7(0x230)](downloadMediaListener);});},0x64);function _0x3d55(_0x4ad99d,_0x2584a3){const _0x5d07bd=_0x5d07();return _0x3d55=function(_0x3d559b,_0x26db11){_0x3d559b=_0x3d559b-0x1bc;let _0x3d17ec=_0x5d07bd[_0x3d559b];return _0x3d17ec;},_0x3d55(_0x4ad99d,_0x2584a3);}export class NTQQFileApi{static async['getFileType'](_0x5bd7f9){const _0x4d22c2=_0x79193a;return _0x327abe[_0x4d22c2(0x1e8)](_0x5bd7f9);}static async[_0x79193a(0x1d8)](_0x6bb784,_0x10af1c){const _0x540b60=_0x79193a;await napCatCore[_0x540b60(0x1ec)][_0x540b60(0x1d8)](_0x6bb784,_0x10af1c);}static async[_0x79193a(0x227)](_0x1e0a2a){const _0x4fa3e8=_0x79193a;return await napCatCore[_0x4fa3e8(0x1ec)]['getFileSize'](_0x1e0a2a);}static async[_0x79193a(0x1ee)](_0x4f2f51,_0x86986a=ElementType[_0x79193a(0x1de)],_0xa98b66=0x0){const _0xe9424e=_0x79193a,_0x191e91={'LEbkU':function(_0x129279,_0x4000ac){return _0x129279+_0x4000ac;},'ayzkw':function(_0x591447,_0x324d94){return _0x591447===_0x324d94;}},_0x344cd7=await calculateFileMD5(_0x4f2f51);let _0x82f36=(await NTQQFileApi[_0xe9424e(0x1e9)](_0x4f2f51))?.[_0xe9424e(0x1c6)]||'';_0x82f36&&(_0x82f36=_0x191e91['LEbkU']('.',_0x82f36));let _0x14597b=''+_0x11ddd4['basename'](_0x4f2f51);_0x191e91[_0xe9424e(0x218)](_0x14597b[_0xe9424e(0x1f3)]('.'),-0x1)&&(_0x14597b+=_0x82f36);const _0x36a799=napCatCore[_0xe9424e(0x208)]['getMsgService']()[_0xe9424e(0x22c)]({'md5HexStr':_0x344cd7,'fileName':_0x14597b,'elementType':_0x86986a,'elementSubType':_0xa98b66,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x4f2f51,_0x36a799);const _0x3fda23=await NTQQFileApi['getFileSize'](_0x4f2f51);return{'md5':_0x344cd7,'fileName':_0x14597b,'path':_0x36a799,'fileSize':_0x3fda23,'ext':_0x82f36};}static async[_0x79193a(0x1dc)](_0x3bd254,_0x416fc8,_0x494bb2,_0x3747d2,_0x4c14f2,_0xd27fe6,_0xc06f33=0x3e8*0x3c*0x2,_0x5df687=![]){const _0x3d25a0=_0x79193a,_0x8164a7={'iJbJM':'下载超时','fBpAu':function(_0x31a3bf,_0x13181a,_0xfd50a8,_0x5156a3){return _0x31a3bf(_0x13181a,_0xfd50a8,_0x5156a3);},'ntBIe':function(_0x25a739,_0xce8cbf){return _0x25a739===_0xce8cbf;},'IkwQC':function(_0x220bb0,_0x45cc4f,_0x3db81f){return _0x220bb0(_0x45cc4f,_0x3db81f);},'DdaZg':function(_0x284789,_0x21d5b9){return _0x284789(_0x21d5b9);},'RoPJq':function(_0x25a8c4){return _0x25a8c4();},'TBlGy':function(_0x474977,_0x29292a,_0x3ad35b,_0x35d145,_0x4ca98e,_0x57ee25,_0x224bc3,_0x504b7e,_0xa89cf7,_0x43bc29){return _0x474977(_0x29292a,_0x3ad35b,_0x35d145,_0x4ca98e,_0x57ee25,_0x224bc3,_0x504b7e,_0xa89cf7,_0x43bc29);},'MRfCj':_0x3d25a0(0x236)};logDebug(_0x3d25a0(0x1cc),_0x3bd254,_0x416fc8,_0x494bb2,_0x3747d2,_0x4c14f2,_0xd27fe6,_0xc06f33,_0x5df687);if(_0xd27fe6&&_0x394ffc[_0x3d25a0(0x225)](_0xd27fe6)){if(_0x5df687)try{await _0x5861c3[_0x3d25a0(0x20c)](_0xd27fe6);}catch(_0x1f3683){}else return _0xd27fe6;}return _0x8164a7[_0x3d25a0(0x1f0)](logDebug,_0x8164a7[_0x3d25a0(0x1e7)],_0x3bd254,_0x416fc8,_0x494bb2,_0x3747d2,_0x4c14f2,_0xd27fe6,_0xc06f33,_0x5df687),new Promise((_0x3ec4a5,_0x579d1f)=>{const _0x6d9a1b=_0x3d25a0,_0x23435f={'nXdaN':function(_0x59c9e4,_0x4bc7f1,_0x2236c0,_0x3920ee){const _0x1578d3=_0x3d55;return _0x8164a7[_0x1578d3(0x1bf)](_0x59c9e4,_0x4bc7f1,_0x2236c0,_0x3920ee);},'AdNob':_0x6d9a1b(0x1f4),'eJvaZ':function(_0x25671d,_0x356e3b){const _0x2c2a64=_0x6d9a1b;return _0x8164a7[_0x2c2a64(0x222)](_0x25671d,_0x356e3b);},'rjXeu':function(_0x1f7a93,_0x1ed41b,_0x37d8d1){const _0x1cdd74=_0x6d9a1b;return _0x8164a7[_0x1cdd74(0x22f)](_0x1f7a93,_0x1ed41b,_0x37d8d1);},'lQyoi':function(_0x4b6440,_0x5e810b){const _0x5310b2=_0x6d9a1b;return _0x8164a7[_0x5310b2(0x22b)](_0x4b6440,_0x5e810b);}};let _0x519d4c=![];const _0x18ccb7=_0x1e9987=>{const _0x5afcde=_0x6d9a1b;_0x23435f['nXdaN'](logDebug,_0x23435f[_0x5afcde(0x1fd)],_0x1e9987,_0x3bd254);if(_0x23435f[_0x5afcde(0x1e1)](_0x1e9987[_0x5afcde(0x216)],_0x3bd254)){_0x519d4c=!![];let _0x286a5d=_0x1e9987[_0x5afcde(0x219)];if(_0x286a5d[_0x5afcde(0x1e2)]('\x5c')){const _0x3b9979=sessionConfig[_0x5afcde(0x1c5)];_0x23435f[_0x5afcde(0x21b)](logDebug,_0x5afcde(0x1f5),_0x3b9979),_0x286a5d=_0x11ddd4[_0x5afcde(0x1c1)](_0x3b9979,_0x286a5d);}_0x23435f['lQyoi'](_0x3ec4a5,_0x286a5d);}};downloadMediaTasks[_0x6d9a1b(0x1c7)](_0x8164a7[_0x6d9a1b(0x1f2)](randomUUID),_0x18ccb7),_0x8164a7[_0x6d9a1b(0x22f)](setTimeout,()=>{const _0x10ea67=_0x6d9a1b;!_0x519d4c&&_0x579d1f(_0x8164a7[_0x10ea67(0x214)]);},_0xc06f33),napCatCore[_0x6d9a1b(0x208)][_0x6d9a1b(0x1ea)]()[_0x6d9a1b(0x1fb)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x3bd254,'chatType':_0x416fc8,'peerUid':_0x494bb2,'elementId':_0x3747d2,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x4c14f2});});}static async[_0x79193a(0x1fc)](_0x3d7ebe){const _0x4a7ae9={'JJITc':function(_0x2712e7,_0x1aba86){return _0x2712e7(_0x1aba86);}};return new Promise((_0x513954,_0x1d8728)=>{_0x9ea2b2(_0x3d7ebe,(_0x42a0eb,_0x42d518)=>{const _0xd2a8b8=_0x3d55;_0x42a0eb?_0x4a7ae9[_0xd2a8b8(0x228)](_0x1d8728,_0x42a0eb):_0x513954(_0x42d518);});});}static async[_0x79193a(0x1bd)](_0x3c3363){const _0x21460d=_0x79193a,_0x55a5db={'nIOgg':function(_0x3d2cf9,_0xec7512){return _0x3d2cf9!==_0xec7512;},'TtzGs':function(_0x5f20dd,_0x2132eb){return _0x5f20dd(_0x2132eb);},'EdYcr':function(_0x998559,_0x415987){return _0x998559(_0x415987);},'zxzlq':_0x21460d(0x1ca),'NUjiU':function(_0x4673de,_0xebdb94){return _0x4673de*_0xebdb94;},'gekZQ':function(_0x1afbe5,_0x34538d){return _0x1afbe5(_0x34538d);},'yxXtE':function(_0x185cb9,_0x3be538){return _0x185cb9(_0x3be538);},'NBqlM':'开始调用moeHook获取rkey','gKNLB':function(_0x381aa9,_0x380328){return _0x381aa9+_0x380328;},'FgmjH':function(_0x4fbc85,_0x67e9e3){return _0x4fbc85+_0x67e9e3;},'qoyaf':function(_0x37a392,_0x4e391f,_0x48e9c2){return _0x37a392(_0x4e391f,_0x48e9c2);},'AHjez':'检查rkey是否有效','QVYNs':_0x21460d(0x1ed),'HnRIY':function(_0x20c63c,_0x39ec78,_0x110226,_0x1ce96c){return _0x20c63c(_0x39ec78,_0x110226,_0x1ce96c);},'xkwna':_0x21460d(0x229),'YIiCg':function(_0x1f397b){return _0x1f397b();},'ZBfBv':_0x21460d(0x20a),'BcIQO':_0x21460d(0x231),'IRfWF':_0x21460d(0x22d),'tnGre':function(_0x4f1779,_0x3be286){return _0x4f1779-_0x3be286;},'WVmWV':function(_0x4a4b5b){return _0x4a4b5b();},'rIFME':function(_0x42d1a5,_0x3779d6){return _0x42d1a5+_0x3779d6;},'TVZig':function(_0x47a29f,_0x347ed1,_0x11a74d){return _0x47a29f(_0x347ed1,_0x11a74d);},'KlQKq':function(_0x312209,_0x169211){return _0x312209+_0x169211;},'xVOAo':function(_0x38ed56,_0x1e0758){return _0x38ed56||_0x1e0758;},'qfDCs':function(_0x2ae1f6,_0x562ca9,_0x51f5d7){return _0x2ae1f6(_0x562ca9,_0x51f5d7);},'lmFQE':'图片url获取失败'},_0x4beee3=_0x55a5db[_0x21460d(0x209)](_0x3c3363['chatType'],ChatType[_0x21460d(0x1db)]),_0x32c2df=_0x3c3363['elements'][_0x21460d(0x20d)](_0x46d833=>!!_0x46d833[_0x21460d(0x1ef)]);if(!_0x32c2df)return'';const _0x43f572=_0x32c2df[_0x21460d(0x1ef)][_0x21460d(0x205)],_0x193c71=_0x32c2df[_0x21460d(0x1ef)]['md5HexStr'],_0x21270f=_0x32c2df[_0x21460d(0x1ef)][_0x21460d(0x201)],_0x14adbe=_0x32c2df['picElement'][_0x21460d(0x1f1)],_0x104c4d=_0x5757dc=>{const _0x2ce3f5=_0x21460d;_0x4beee3?(privateImageRKey=_0x5757dc,lastGetPrivateRKeyTime=Date[_0x2ce3f5(0x215)]()):(groupImageRKey=_0x5757dc,lastGetGroupRKeyTime=Date[_0x2ce3f5(0x215)]());};if(_0x43f572){if(_0x43f572[_0x21460d(0x1e2)](_0x55a5db[_0x21460d(0x1c4)])){if(_0x43f572[_0x21460d(0x1d9)](_0x55a5db[_0x21460d(0x22a)]))return IMAGE_HTTP_HOST_NT+_0x43f572;if(!hookApi[_0x21460d(0x1c0)]())return _0x55a5db[_0x21460d(0x217)](logDebug,_0x55a5db['IRfWF']),'';const _0x21aafa=async()=>{const _0xd292d0=_0x21460d,_0x3e040b={'Fasci':function(_0x4453a5,_0x3a2ba3){const _0x44d339=_0x3d55;return _0x55a5db[_0x44d339(0x209)](_0x4453a5,_0x3a2ba3);},'HzgVo':function(_0x13ac20,_0x43ba4c){const _0x1b046e=_0x3d55;return _0x55a5db[_0x1b046e(0x217)](_0x13ac20,_0x43ba4c);}};_0x55a5db[_0xd292d0(0x1e4)](logDebug,_0x55a5db['zxzlq']),NTQQFileApi[_0xd292d0(0x1dc)](_0x3c3363[_0xd292d0(0x216)],_0x3c3363['chatType'],_0x3c3363[_0xd292d0(0x224)],_0x32c2df['elementId'],'',_0x32c2df[_0xd292d0(0x1ef)][_0xd292d0(0x1d6)],_0x55a5db[_0xd292d0(0x22e)](0x3e8,0x1e),!![])[_0xd292d0(0x1d2)](_0x1e1de3=>{})[_0xd292d0(0x1fe)](logError),await _0x55a5db['gekZQ'](sleep,0x3e8),_0x55a5db[_0xd292d0(0x1d5)](logDebug,_0x55a5db[_0xd292d0(0x1d3)]);const _0x59bc30=hookApi[_0xd292d0(0x1e3)]()||'',_0x3265a8=_0x55a5db[_0xd292d0(0x1fa)](_0x55a5db[_0xd292d0(0x235)](IMAGE_HTTP_HOST_NT,_0x43f572),_0x59bc30);if(_0x59bc30)try{_0x55a5db[_0xd292d0(0x221)](logDebug,_0x55a5db[_0xd292d0(0x1be)],_0x3265a8),await new Promise((_0x1035f6,_0x95c3ef)=>{const _0x547ed0=_0xd292d0,_0x3d8f70={'TcjCI':function(_0x334a96,_0x5f2b50){const _0x570714=_0x3d55;return _0x3e040b[_0x570714(0x200)](_0x334a96,_0x5f2b50);}};_0x546ee0[_0x547ed0(0x1f8)](_0x3265a8,_0x55ded8=>{const _0x2fb144=_0x547ed0;_0x3e040b[_0x2fb144(0x1cf)](_0x55ded8['statusCode'],0xc8)?_0x95c3ef(_0x2fb144(0x1c2)):_0x3e040b[_0x2fb144(0x200)](_0x1035f6,_0x55ded8);})['on']('error',_0x579eb6=>{const _0x1b324d=_0x547ed0;_0x3d8f70[_0x1b324d(0x1dd)](_0x95c3ef,_0x579eb6);});}),_0x55a5db[_0xd292d0(0x221)](logDebug,_0x55a5db[_0xd292d0(0x21e)],_0x3265a8),_0x55a5db[_0xd292d0(0x1e4)](_0x104c4d,_0x59bc30);}catch(_0x39ef05){return _0x55a5db[_0xd292d0(0x207)](logError,_0x55a5db[_0xd292d0(0x21d)],_0x3265a8,_0x39ef05),'';}return _0x59bc30;},_0x2d060e=()=>new Promise((_0x52ecb8,_0x59074b)=>{const _0x3ca003=_0x21460d;getRKeyTaskQueue[_0x3ca003(0x220)](async()=>{const _0x23e3db=_0x3ca003,_0x19e93b=await _0x55a5db['YIiCg'](_0x21aafa);_0x55a5db[_0x23e3db(0x1d5)](_0x52ecb8,_0x19e93b);});}),_0x47ace2=_0x4beee3?privateImageRKey:groupImageRKey,_0xc25533=_0x4beee3?lastGetPrivateRKeyTime:lastGetGroupRKeyTime;if(_0x55a5db[_0x21460d(0x202)](Date[_0x21460d(0x215)](),_0xc25533)>rkeyExpireTime||!_0x47ace2){_0x55a5db[_0x21460d(0x1e4)](logDebug,'rkey过期或着未获取,\x20url:'+_0x43f572+_0x21460d(0x1cd)+_0x47ace2);const _0x3c4455=await _0x55a5db[_0x21460d(0x1df)](_0x2d060e);if(_0x3c4455)return _0x55a5db['FgmjH'](_0x55a5db[_0x21460d(0x1d7)](IMAGE_HTTP_HOST_NT,_0x43f572),''+_0x3c4455);else _0x55a5db[_0x21460d(0x204)](logError,_0x21460d(0x1c2),_0x43f572);}if(_0x47ace2)return _0x55a5db['rIFME'](_0x55a5db[_0x21460d(0x1d1)](IMAGE_HTTP_HOST_NT,_0x43f572),''+_0x47ace2);return'';}else return IMAGE_HTTP_HOST+_0x43f572;}else{if(_0x21270f||_0x193c71)return IMAGE_HTTP_HOST+_0x21460d(0x1bc)+_0x55a5db[_0x21460d(0x20b)](_0x21270f,_0x193c71)['toUpperCase']()+'/0';}return _0x55a5db[_0x21460d(0x1eb)](logDebug,_0x55a5db[_0x21460d(0x21c)],_0x3c3363),'';}}export class NTQQFileCacheApi{static async[_0x79193a(0x21f)](_0x3e3bb6=!![]){return'';}static[_0x79193a(0x1da)](){return'';}static[_0x79193a(0x1f9)](_0x7c4d4=[_0x79193a(0x21a),_0x79193a(0x20f)]){const _0x235a5c=_0x79193a;return napCatCore['session'][_0x235a5c(0x1c3)]()[_0x235a5c(0x234)](_0x7c4d4);}static[_0x79193a(0x233)](_0x3a9287={}){const _0x2784f5=_0x79193a;return napCatCore[_0x2784f5(0x208)][_0x2784f5(0x1c3)]()[_0x2784f5(0x223)](_0x3a9287);}static[_0x79193a(0x1e0)](){const _0x13fe7d=_0x79193a;return napCatCore[_0x13fe7d(0x208)][_0x13fe7d(0x1c3)]()[_0x13fe7d(0x1e0)]();}static[_0x79193a(0x1ff)](){return'';}static[_0x79193a(0x1c9)](){return'';}static[_0x79193a(0x1ce)](_0x584a2a,_0x36ea17=0x3e8,_0x4275b2=0x0){const _0x3648d8=_0x79193a;return napCatCore[_0x3648d8(0x208)][_0x3648d8(0x1c3)]()[_0x3648d8(0x206)](_0x584a2a,_0x36ea17,0x1,_0x4275b2);}static['getFileCacheInfo'](_0x12da18,_0x3a22ce=0x3e8,_0x31fbf3){const _0x31da90=_0x31fbf3?_0x31fbf3:{'fileType':_0x12da18};}static async[_0x79193a(0x1e5)](_0x4d0230=[],_0x24ba03=[]){const _0x399877=_0x79193a;return napCatCore[_0x399877(0x208)][_0x399877(0x1c3)]()[_0x399877(0x213)](_0x4d0230,_0x24ba03);}} \ No newline at end of file +const _0x19f735=_0x3e7e;function _0x6f54(){const _0x34ef1c=['QLhaq','图片url获取失败','uEbsJ','getHotUpdateCachePath','LeWYu','下载超时','hookApi\x20is\x20not\x20available','ext','getFileType','nOxuj','20490VNLzPS','setCacheSilentScan','342uDamlp','chatType','clearCacheDataByKeys','existsSync','cSgyT','25798FtKGso','clearChatCache','PIC','qSYDr','getStorageCleanService','4uvSqKW','MHsia','basename','getChatCacheInfo','clearChatCacheInfo','peerUid','session','copyFile','tvdzS','util','dEEBj','fileTypeFromFile','wMmRU','Ceggj','开始调用moeHook获取rkey','getImageSize','hotUpdate','receive\x20downloadMedia\x20task','OIzSF','6FluXOy','dBjmf','PcEYD','then','sourcePath','1771777HgCPLT','defaultFileDownloadPath','nQzJx','heojl','start\x20downloadMedia','13FmHOUG','group','1771328clYIai','LpEzz','mGvYZ','rkey过期或着未获取,\x20url:','getFileSize','OjrJI','unlink','getRKey','RWxOT','onRichMediaDownloadComplete','XyDWQ','usjPm','tqwWO','getMsgService',',\x20rkey:','ubnbu','1367245cUyUJX','177711iwwufg','bpIDj','图片rkey有误','oTYfq','set','downloadPath','join','2302960BfudES','find','图片rkey有效','BKoDW','YRXYH','tQRNh','fileUuid','now','md5HexStr','图片rkey获取失败','get','hMitz','KwyyX','12SVNZuz','msgId','TnJZT','获取图片rkey...','clearCache','isAvailable','getChatCacheList','startsWith','indexOf','bydmN','statusCode','pHele','downloadMedia','qOpkV','picElement','/download','MGEgZ','addCacheScannedPaths','toUpperCase'];_0x6f54=function(){return _0x34ef1c;};return _0x6f54();}(function(_0x25af31,_0x4da732){const _0x270ec2=_0x3e7e,_0x570ce7=_0x25af31();while(!![]){try{const _0x5ec5cc=-parseInt(_0x270ec2(0x236))/0x1*(-parseInt(_0x270ec2(0x214))/0x2)+parseInt(_0x270ec2(0x1dc))/0x3*(-parseInt(_0x270ec2(0x219))/0x4)+-parseInt(_0x270ec2(0x1e3))/0x5+-parseInt(_0x270ec2(0x22c))/0x6*(-parseInt(_0x270ec2(0x231))/0x7)+parseInt(_0x270ec2(0x238))/0x8+parseInt(_0x270ec2(0x20f))/0x9*(parseInt(_0x270ec2(0x20d))/0xa)+parseInt(_0x270ec2(0x1db))/0xb*(parseInt(_0x270ec2(0x1f0))/0xc);if(_0x5ec5cc===_0x4da732)break;else _0x570ce7['push'](_0x570ce7['shift']());}catch(_0x5f246c){_0x570ce7['push'](_0x570ce7['shift']());}}}(_0x6f54,0x4f3be));import{ChatType,ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x127dac from'path';import _0x4b880a from'fs';import _0x2a9177 from'fs/promises';import{logDebug,logError}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x48d2d1 from'file-type';import{MsgListener}from'@/core/listeners';import _0x44901f 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';import _0xee6306 from'https';let privateImageRKey='',groupImageRKey='',lastGetPrivateRKeyTime=0x0,lastGetGroupRKeyTime=0x0;function _0x3e7e(_0x3c9e7a,_0x4d0e1a){const _0x6f548c=_0x6f54();return _0x3e7e=function(_0x3e7e90,_0x5aeb2c){_0x3e7e90=_0x3e7e90-0x1d7;let _0x1e158d=_0x6f548c[_0x3e7e90];return _0x1e158d;},_0x3e7e(_0x3c9e7a,_0x4d0e1a);}const rkeyExpireTime=0x3e8*0x3c*0x1e,getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x19f735(0x241)]=_0x883817=>{const _0x44ebfd=_0x19f735,_0x4173b4={'mGvYZ':function(_0xfb91ac,_0x2fea7f){return _0xfb91ac(_0x2fea7f);}};for(const [_0x5ad17d,_0x684851]of downloadMediaTasks){_0x4173b4[_0x44ebfd(0x23a)](_0x684851,_0x883817),downloadMediaTasks['delete'](_0x5ad17d);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{napCatCore['addListener'](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x437fe5){const _0x22e4cd=_0x19f735;return _0x48d2d1[_0x22e4cd(0x224)](_0x437fe5);}static async[_0x19f735(0x220)](_0x4227c0,_0x1a2da2){const _0x119447=_0x19f735;await napCatCore[_0x119447(0x222)][_0x119447(0x220)](_0x4227c0,_0x1a2da2);}static async[_0x19f735(0x23c)](_0x24d1de){const _0x484cac=_0x19f735;return await napCatCore[_0x484cac(0x222)][_0x484cac(0x23c)](_0x24d1de);}static async['uploadFile'](_0x1f32a4,_0x5b6e46=ElementType[_0x19f735(0x216)],_0x282f7b=0x0){const _0x5c7aec=_0x19f735,_0x30d2d6={'INHfg':function(_0x5397d2,_0x58cdc2){return _0x5397d2(_0x58cdc2);},'cSgyT':function(_0x22e3d2,_0x2d05f6){return _0x22e3d2+_0x2d05f6;},'MGEgZ':function(_0x29c5a1,_0x54d2bd){return _0x29c5a1===_0x54d2bd;}},_0x5b90d2=await _0x30d2d6['INHfg'](calculateFileMD5,_0x1f32a4);let _0x456073=(await NTQQFileApi[_0x5c7aec(0x20b)](_0x1f32a4))?.[_0x5c7aec(0x20a)]||'';_0x456073&&(_0x456073=_0x30d2d6[_0x5c7aec(0x213)]('.',_0x456073));let _0x26d64f=''+_0x127dac[_0x5c7aec(0x21b)](_0x1f32a4);_0x30d2d6[_0x5c7aec(0x200)](_0x26d64f[_0x5c7aec(0x1f8)]('.'),-0x1)&&(_0x26d64f+=_0x456073);const _0x18f12c=napCatCore['session']['getMsgService']()['getRichMediaFilePathForGuild']({'md5HexStr':_0x5b90d2,'fileName':_0x26d64f,'elementType':_0x5b6e46,'elementSubType':_0x282f7b,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x1f32a4,_0x18f12c);const _0x529054=await NTQQFileApi['getFileSize'](_0x1f32a4);return{'md5':_0x5b90d2,'fileName':_0x26d64f,'path':_0x18f12c,'fileSize':_0x529054,'ext':_0x456073};}static async[_0x19f735(0x1fc)](_0x4d18bb,_0x24d434,_0x21aeba,_0xb42446,_0x5342b8,_0x1b7184,_0x25328b=0x3e8*0x3c*0x2,_0x3d05ca=![]){const _0x23ac63=_0x19f735,_0x9a5452={'wMmRU':function(_0x5741a3,_0x429dd9,_0x15e3c9,_0x3073f4){return _0x5741a3(_0x429dd9,_0x15e3c9,_0x3073f4);},'nOxuj':function(_0x52a77c,_0x23fa9c){return _0x52a77c===_0x23fa9c;},'TnJZT':function(_0x1857d7,_0x592c96,_0x22accc){return _0x1857d7(_0x592c96,_0x22accc);},'qOpkV':function(_0x4851d9,_0x30a9e5){return _0x4851d9(_0x30a9e5);},'GdFpz':_0x23ac63(0x208),'LeWYu':function(_0x42f302,_0xe6e872,_0x2f6f90,_0x3399b0,_0x3d7f6e,_0x4871f5,_0x724a92,_0x105a5c,_0x1613df,_0x320030){return _0x42f302(_0xe6e872,_0x2f6f90,_0x3399b0,_0x3d7f6e,_0x4871f5,_0x724a92,_0x105a5c,_0x1613df,_0x320030);},'qSYDr':_0x23ac63(0x235)};logDebug(_0x23ac63(0x22a),_0x4d18bb,_0x24d434,_0x21aeba,_0xb42446,_0x5342b8,_0x1b7184,_0x25328b,_0x3d05ca);if(_0x1b7184&&_0x4b880a[_0x23ac63(0x212)](_0x1b7184)){if(_0x3d05ca)try{await _0x2a9177[_0x23ac63(0x23e)](_0x1b7184);}catch(_0x152ca9){}else return _0x1b7184;}return _0x9a5452[_0x23ac63(0x207)](logDebug,_0x9a5452[_0x23ac63(0x217)],_0x4d18bb,_0x24d434,_0x21aeba,_0xb42446,_0x5342b8,_0x1b7184,_0x25328b,_0x3d05ca),new Promise((_0x5a7761,_0x5829ab)=>{const _0x12340d=_0x23ac63,_0x198110={'dBjmf':function(_0x10c50b,_0x28d13e,_0x2c2ec4,_0x211242){const _0x11a5dc=_0x3e7e;return _0x9a5452[_0x11a5dc(0x225)](_0x10c50b,_0x28d13e,_0x2c2ec4,_0x211242);},'YRXYH':'downloadMedia\x20complete','ZVogk':function(_0x688897,_0x2f95b7){const _0x4cf572=_0x3e7e;return _0x9a5452[_0x4cf572(0x20c)](_0x688897,_0x2f95b7);},'dEEBj':function(_0x1ea666,_0x120226,_0x8ea1ac){const _0xeee501=_0x3e7e;return _0x9a5452[_0xeee501(0x1f2)](_0x1ea666,_0x120226,_0x8ea1ac);},'PcEYD':function(_0x179646,_0x2e639f){const _0x418722=_0x3e7e;return _0x9a5452[_0x418722(0x1fd)](_0x179646,_0x2e639f);},'XyDWQ':_0x9a5452['GdFpz']};let _0x4b793b=![];const _0x56c489=_0x23a448=>{const _0x294d33=_0x3e7e;_0x198110[_0x294d33(0x22d)](logDebug,_0x198110[_0x294d33(0x1e7)],_0x23a448,_0x4d18bb);if(_0x198110['ZVogk'](_0x23a448[_0x294d33(0x1f1)],_0x4d18bb)){_0x4b793b=!![];let _0x3154a9=_0x23a448['filePath'];if(_0x3154a9[_0x294d33(0x1f7)]('\x5c')){const _0x31daef=sessionConfig[_0x294d33(0x232)];_0x198110[_0x294d33(0x223)](logDebug,_0x294d33(0x1e1),_0x31daef),_0x3154a9=_0x127dac[_0x294d33(0x1e2)](_0x31daef,_0x3154a9);}_0x198110[_0x294d33(0x22e)](_0x5a7761,_0x3154a9);}};downloadMediaTasks[_0x12340d(0x1e0)](randomUUID(),_0x56c489),_0x9a5452[_0x12340d(0x1f2)](setTimeout,()=>{const _0x284e15=_0x12340d;!_0x4b793b&&_0x5829ab(_0x198110[_0x284e15(0x242)]);},_0x25328b),napCatCore[_0x12340d(0x21f)][_0x12340d(0x1d8)]()['downloadRichMedia']({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x4d18bb,'chatType':_0x24d434,'peerUid':_0x21aeba,'elementId':_0xb42446,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x5342b8});});}static async[_0x19f735(0x228)](_0x179aa8){const _0x237699={'MHsia':function(_0x14ca65,_0x168830,_0xc00978){return _0x14ca65(_0x168830,_0xc00978);}};return new Promise((_0x5ccdb9,_0x584e83)=>{const _0x3fff9f=_0x3e7e;_0x237699[_0x3fff9f(0x21a)](_0x44901f,_0x179aa8,(_0x324e91,_0xc888fd)=>{_0x324e91?_0x584e83(_0x324e91):_0x5ccdb9(_0xc888fd);});});}static async['getImageUrl'](_0x2de459){const _0x33ee58=_0x19f735,_0x2947d9={'uEbsJ':function(_0x450c95,_0x1ba2d6){return _0x450c95(_0x1ba2d6);},'CdNpH':_0x33ee58(0x1f3),'BKoDW':function(_0x49dc57,_0x3a6fee){return _0x49dc57*_0x3a6fee;},'ubnbu':_0x33ee58(0x227),'KwyyX':function(_0x1a353d,_0x2c0ba2){return _0x1a353d+_0x2c0ba2;},'OjrJI':function(_0x429633,_0x153c30){return _0x429633+_0x153c30;},'yMAwH':function(_0x40e78e,_0x11dbda,_0x29286f){return _0x40e78e(_0x11dbda,_0x29286f);},'OIzSF':'检查rkey是否有效','RWxOT':function(_0x287f60,_0x45ce78,_0x5dca72,_0x3bb6d7){return _0x287f60(_0x45ce78,_0x5dca72,_0x3bb6d7);},'eoiCv':_0x33ee58(0x1de),'btucf':function(_0x176615){return _0x176615();},'oTYfq':function(_0x28c322,_0x242727){return _0x28c322(_0x242727);},'pHele':_0x33ee58(0x1ff),'usjPm':function(_0x44b79d,_0x2b701d){return _0x44b79d(_0x2b701d);},'VLIWD':_0x33ee58(0x209),'tQRNh':function(_0x5f5056,_0x4bb175){return _0x5f5056>_0x4bb175;},'Ceggj':function(_0x21fa30,_0x2e7e96){return _0x21fa30-_0x2e7e96;},'tqwWO':function(_0x5b81d8,_0x2c1661){return _0x5b81d8+_0x2c1661;},'QLhaq':_0x33ee58(0x1ec),'gVIDZ':function(_0x50fcc3,_0x45dea4){return _0x50fcc3+_0x45dea4;},'tLVKW':function(_0x41f8c8,_0x12f695){return _0x41f8c8+_0x12f695;},'tvdzS':function(_0x295874,_0x30e6c7){return _0x295874+_0x30e6c7;},'hMitz':function(_0x4864e5,_0x5ccc1d){return _0x4864e5||_0x5ccc1d;},'Pzteq':function(_0x1e28b9,_0x8aaae3){return _0x1e28b9||_0x8aaae3;}},_0x3fe94a=_0x2de459['chatType']!==ChatType[_0x33ee58(0x237)],_0x6a69eb=_0x2de459['elements'][_0x33ee58(0x1e4)](_0x360d87=>!!_0x360d87[_0x33ee58(0x1fe)]);if(!_0x6a69eb)return'';const _0xb3672e=_0x6a69eb['picElement']['originImageUrl'],_0x3b66a3=_0x6a69eb['picElement']['md5HexStr'],_0x3063a4=_0x6a69eb[_0x33ee58(0x1fe)][_0x33ee58(0x1eb)],_0x4964b0=_0x6a69eb[_0x33ee58(0x1fe)][_0x33ee58(0x1e9)],_0x4ab856=_0x37bff3=>{_0x3fe94a?(privateImageRKey=_0x37bff3,lastGetPrivateRKeyTime=Date['now']()):(groupImageRKey=_0x37bff3,lastGetGroupRKeyTime=Date['now']());};if(_0xb3672e){if(_0xb3672e[_0x33ee58(0x1f7)](_0x2947d9[_0x33ee58(0x1fb)])){if(_0xb3672e['includes']('&rkey='))return _0x2947d9[_0x33ee58(0x23d)](IMAGE_HTTP_HOST_NT,_0xb3672e);if(!hookApi[_0x33ee58(0x1f5)]())return _0x2947d9[_0x33ee58(0x243)](logDebug,_0x2947d9['VLIWD']),'';const _0x288f81=async()=>{const _0x5af6c1=_0x33ee58,_0x4cd145={'bpIDj':function(_0x475e52,_0x1e7c6a){const _0x1714ba=_0x3e7e;return _0x2947d9[_0x1714ba(0x205)](_0x475e52,_0x1e7c6a);},'LpEzz':'error'};_0x2947d9[_0x5af6c1(0x205)](logDebug,_0x2947d9['CdNpH']),NTQQFileApi[_0x5af6c1(0x1fc)](_0x2de459[_0x5af6c1(0x1f1)],_0x2de459[_0x5af6c1(0x210)],_0x2de459[_0x5af6c1(0x21e)],_0x6a69eb['elementId'],'',_0x6a69eb[_0x5af6c1(0x1fe)][_0x5af6c1(0x230)],_0x2947d9[_0x5af6c1(0x1e6)](0x3e8,0x1e),!![])[_0x5af6c1(0x22f)](_0x1f2a34=>{})['catch'](logError),await _0x2947d9[_0x5af6c1(0x205)](sleep,0x3e8),_0x2947d9[_0x5af6c1(0x205)](logDebug,_0x2947d9[_0x5af6c1(0x1da)]);const _0x1f49dc=hookApi[_0x5af6c1(0x23f)]()||'',_0x8207=_0x2947d9[_0x5af6c1(0x1ef)](_0x2947d9['OjrJI'](IMAGE_HTTP_HOST_NT,_0xb3672e),_0x1f49dc);if(_0x1f49dc)try{_0x2947d9['yMAwH'](logDebug,_0x2947d9[_0x5af6c1(0x22b)],_0x8207),await new Promise((_0x21ca16,_0xa919e0)=>{const _0x290f06=_0x5af6c1,_0x5ad92d={'bydmN':function(_0x4ec0ab,_0x9ccdff){const _0x4aa1c1=_0x3e7e;return _0x4cd145[_0x4aa1c1(0x1dd)](_0x4ec0ab,_0x9ccdff);}};_0xee6306[_0x290f06(0x1ed)](_0x8207,_0x546385=>{const _0x20ba0a=_0x290f06;_0x546385[_0x20ba0a(0x1fa)]!==0xc8?_0xa919e0(_0x20ba0a(0x1ec)):_0x5ad92d[_0x20ba0a(0x1f9)](_0x21ca16,_0x546385);})['on'](_0x4cd145[_0x290f06(0x239)],_0x1d7a8d=>{_0xa919e0(_0x1d7a8d);});}),_0x2947d9['yMAwH'](logDebug,_0x5af6c1(0x1e5),_0x8207),_0x4ab856(_0x1f49dc);}catch(_0x4dc96b){return _0x2947d9[_0x5af6c1(0x240)](logError,_0x2947d9['eoiCv'],_0x8207,_0x4dc96b),'';}return _0x1f49dc;},_0x3d8f92=()=>new Promise((_0x65c021,_0x867003)=>{const _0x194f79={'nQzJx':function(_0x3ff29a){return _0x2947d9['btucf'](_0x3ff29a);},'heojl':function(_0x36da10,_0x2973b7){const _0x2e0d59=_0x3e7e;return _0x2947d9[_0x2e0d59(0x1df)](_0x36da10,_0x2973b7);}};getRKeyTaskQueue['addTask'](async()=>{const _0x4a3c89=_0x3e7e,_0x3f35f2=await _0x194f79[_0x4a3c89(0x233)](_0x288f81);_0x194f79[_0x4a3c89(0x234)](_0x65c021,_0x3f35f2);});}),_0x4a0cb6=_0x3fe94a?privateImageRKey:groupImageRKey,_0x59434c=_0x3fe94a?lastGetPrivateRKeyTime:lastGetGroupRKeyTime;if(_0x2947d9[_0x33ee58(0x1e8)](_0x2947d9[_0x33ee58(0x226)](Date[_0x33ee58(0x1ea)](),_0x59434c),rkeyExpireTime)||!_0x4a0cb6){_0x2947d9[_0x33ee58(0x205)](logDebug,_0x33ee58(0x23b)+_0xb3672e+_0x33ee58(0x1d9)+_0x4a0cb6);const _0x2382e2=await _0x3d8f92();if(_0x2382e2)return _0x2947d9[_0x33ee58(0x1d7)](IMAGE_HTTP_HOST_NT+_0xb3672e,''+_0x2382e2);else _0x2947d9['yMAwH'](logError,_0x2947d9[_0x33ee58(0x203)],_0xb3672e);}if(_0x4a0cb6)return _0x2947d9['gVIDZ'](_0x2947d9['tLVKW'](IMAGE_HTTP_HOST_NT,_0xb3672e),''+_0x4a0cb6);return'';}else return _0x2947d9[_0x33ee58(0x221)](IMAGE_HTTP_HOST,_0xb3672e);}else{if(_0x2947d9[_0x33ee58(0x1ee)](_0x3063a4,_0x3b66a3))return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0x2947d9['Pzteq'](_0x3063a4,_0x3b66a3)[_0x33ee58(0x202)]()+'/0';}return _0x2947d9['yMAwH'](logDebug,_0x33ee58(0x204),_0x2de459),'';}}export class NTQQFileCacheApi{static async[_0x19f735(0x20e)](_0x336677=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0x19f735(0x1f4)](_0x50ebba=['tmp',_0x19f735(0x229)]){const _0x52279d=_0x19f735;return napCatCore['session'][_0x52279d(0x218)]()[_0x52279d(0x211)](_0x50ebba);}static[_0x19f735(0x201)](_0x2a47bc={}){const _0x53e22f=_0x19f735;return napCatCore[_0x53e22f(0x21f)]['getStorageCleanService']()['addCacheScanedPaths'](_0x2a47bc);}static['scanCache'](){const _0x51bdef=_0x19f735;return napCatCore[_0x51bdef(0x21f)][_0x51bdef(0x218)]()['scanCache']();}static[_0x19f735(0x206)](){return'';}static['getDesktopTmpPath'](){return'';}static[_0x19f735(0x1f6)](_0x1430af,_0x27528a=0x3e8,_0x53c5a1=0x0){const _0xfa538a=_0x19f735;return napCatCore[_0xfa538a(0x21f)][_0xfa538a(0x218)]()[_0xfa538a(0x21c)](_0x1430af,_0x27528a,0x1,_0x53c5a1);}static['getFileCacheInfo'](_0x341886,_0x108031=0x3e8,_0x443254){const _0xf9eda1=_0x443254?_0x443254:{'fileType':_0x341886};}static async[_0x19f735(0x215)](_0x4c4468=[],_0x180477=[]){const _0x269f1f=_0x19f735;return napCatCore[_0x269f1f(0x21f)][_0x269f1f(0x218)]()[_0x269f1f(0x21d)](_0x4c4468,_0x180477);}} \ 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 2534d17a..2b7f1d98 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -function _0xb09b(_0x3902ca,_0x5bd42c){const _0x4432f1=_0x4432();return _0xb09b=function(_0xb09bf5,_0x163f10){_0xb09bf5=_0xb09bf5-0xb6;let _0x2f0a8f=_0x4432f1[_0xb09bf5];return _0x2f0a8f;},_0xb09b(_0x3902ca,_0x5bd42c);}const _0x22e06b=_0xb09b;function _0x4432(){const _0x5d96e2=['3870748zQAcfX','获取好友列表完成','VzHxy','session','getBuddyList','addListener','friendUid','5990952OFepUu','buddyList','uin','getBuddyService','IKnOp','1OsKycs','approvalFriendRequest','delete','5ANtKHN','onBuddyListChange','set','getFriends','4134708lpobqD','bFlpM','handleFriendRequest','3395020wMKrke','1282540pXHNdP','1587980qMWvIt','4329102uMLkSV','NEgwk','CXwZd','push','开始获取好友列表','CmzzQ','275ewzTTo','then','reqTime','获取好友列表超时','LqKrS','24NDNFRX'];_0x4432=function(){return _0x5d96e2;};return _0x4432();}(function(_0x5c5445,_0x34db48){const _0x1f5785=_0xb09b,_0x5998d9=_0x5c5445();while(!![]){try{const _0x4c6061=parseInt(_0x1f5785(0xce))/0x1*(-parseInt(_0x1f5785(0xd9))/0x2)+-parseInt(_0x1f5785(0xb6))/0x3+parseInt(_0x1f5785(0xd8))/0x4*(-parseInt(_0x1f5785(0xd1))/0x5)+parseInt(_0x1f5785(0xc9))/0x6+-parseInt(_0x1f5785(0xc2))/0x7*(parseInt(_0x1f5785(0xc1))/0x8)+parseInt(_0x1f5785(0xd5))/0x9+parseInt(_0x1f5785(0xda))/0xa*(parseInt(_0x1f5785(0xbc))/0xb);if(_0x4c6061===_0x34db48)break;else _0x5998d9['push'](_0x5998d9['shift']());}catch(_0x3de18b){_0x5998d9['push'](_0x5998d9['shift']());}}}(_0x4432,0xcc13f));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x22e06b(0xd2)]=_0x44e19c=>{const _0x534c33=_0x22e06b,_0x89e98e={'IKnOp':function(_0x3ec822,_0x54d3ab){return _0x3ec822(_0x54d3ab);}};for(const [_0x31e6d8,_0x57b237]of buddyChangeTasks){_0x89e98e[_0x534c33(0xcd)](_0x57b237,_0x44e19c),buddyChangeTasks[_0x534c33(0xd0)](_0x31e6d8);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x4da5d6=_0xb09b;napCatCore[_0x4da5d6(0xc7)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x22e06b(0xd4)](_0xcf1309=![]){const _0x456b1b=_0x22e06b,_0x24a8ae={'NEgwk':function(_0x1f1149,_0x340ce1){return _0x1f1149(_0x340ce1);},'CXwZd':function(_0x589eae,_0x1076b3,_0x42c9b6){return _0x589eae(_0x1076b3,_0x42c9b6);},'CmzzQ':function(_0x46db28,_0x194f6d,_0x5670e2){return _0x46db28(_0x194f6d,_0x5670e2);},'bFlpM':_0x456b1b(0xc3),'LqKrS':function(_0x15932a,_0x388f1a,_0x2dde37){return _0x15932a(_0x388f1a,_0x2dde37);},'VzHxy':function(_0x437d5c){return _0x437d5c();}};return new Promise((_0xe4cc26,_0x40d77a)=>{const _0x2de5e1=_0x456b1b,_0x479a40={'gBqCh':function(_0x203a44,_0x3e206c,_0x1887eb){const _0x4a2ec3=_0xb09b;return _0x24a8ae[_0x4a2ec3(0xbb)](_0x203a44,_0x3e206c,_0x1887eb);},'urBaJ':_0x24a8ae[_0x2de5e1(0xd6)]};let _0x5e864e=![];_0x24a8ae[_0x2de5e1(0xc0)](setTimeout,()=>{const _0x5c22d5=_0x2de5e1;!_0x5e864e&&(_0x24a8ae['NEgwk'](logDebug,_0x5c22d5(0xbf)),_0x24a8ae[_0x5c22d5(0xb7)](_0x40d77a,_0x5c22d5(0xbf)));},0x1388);const _0x238ccd=[],_0x40a6f5=_0x186eeb=>{const _0x457a7c=_0x2de5e1;for(const _0x596ae0 of _0x186eeb){for(const _0xa4b72b of _0x596ae0[_0x457a7c(0xca)]){_0x238ccd[_0x457a7c(0xb9)](_0xa4b72b),uid2UinMap[_0xa4b72b['uid']]=_0xa4b72b[_0x457a7c(0xcb)];}}_0x5e864e=!![],_0x479a40['gBqCh'](logDebug,_0x479a40['urBaJ'],_0x238ccd),_0xe4cc26(_0x238ccd);};buddyChangeTasks[_0x2de5e1(0xd3)](_0x24a8ae[_0x2de5e1(0xc4)](randomUUID),_0x40a6f5),napCatCore[_0x2de5e1(0xc5)][_0x2de5e1(0xcc)]()[_0x2de5e1(0xc6)](_0xcf1309)[_0x2de5e1(0xbd)](_0x2a6d53=>{const _0x4bf9e1=_0x2de5e1;_0x24a8ae[_0x4bf9e1(0xb8)](logDebug,_0x4bf9e1(0xba),_0x2a6d53);});});}static async[_0x22e06b(0xd7)](_0xde3646,_0x2d48fd){const _0x2d5293=_0x22e06b;napCatCore['session']['getBuddyService']()?.[_0x2d5293(0xcf)]({'friendUid':_0xde3646[_0x2d5293(0xc8)],'reqTime':_0xde3646[_0x2d5293(0xbe)],'accept':_0x2d48fd});}} \ No newline at end of file +const _0x54a974=_0x9db2;(function(_0x49fb47,_0x231607){const _0x32af71=_0x9db2,_0x27a806=_0x49fb47();while(!![]){try{const _0x5f0d9f=parseInt(_0x32af71(0x146))/0x1*(-parseInt(_0x32af71(0x148))/0x2)+-parseInt(_0x32af71(0x154))/0x3*(-parseInt(_0x32af71(0x165))/0x4)+parseInt(_0x32af71(0x14a))/0x5*(parseInt(_0x32af71(0x14d))/0x6)+parseInt(_0x32af71(0x15f))/0x7+-parseInt(_0x32af71(0x155))/0x8+-parseInt(_0x32af71(0x147))/0x9*(-parseInt(_0x32af71(0x151))/0xa)+-parseInt(_0x32af71(0x160))/0xb*(parseInt(_0x32af71(0x152))/0xc);if(_0x5f0d9f===_0x231607)break;else _0x27a806['push'](_0x27a806['shift']());}catch(_0x9c49bc){_0x27a806['push'](_0x27a806['shift']());}}}(_0x1df9,0xc4567));function _0x9db2(_0xee4340,_0x29a5d0){const _0x1df950=_0x1df9();return _0x9db2=function(_0x9db2ac,_0x10be7d){_0x9db2ac=_0x9db2ac-0x142;let _0x57c600=_0x1df950[_0x9db2ac];return _0x57c600;},_0x9db2(_0xee4340,_0x29a5d0);}import{BuddyListener,napCatCore}from'@/core';function _0x1df9(){const _0x307a67=['friendUid','RxHgX','mFHnR','handleFriendRequest','fHYEM','uin','XobqP','set','2433151Iawooo','2136222FtDjPE','pITkB','KFBlB','addListener','then','517612fQTQVg','approvalFriendRequest','buddyList','zDGYY','cytqX','获取好友列表完成','373nfsDdT','9OaJiZZ','5150lGhlAP','getFriends','55YdATjr','开始获取好友列表','vkcsH','337608IXDmWD','获取好友列表超时','getBuddyList','onBuddyListChange','12325550eUmias','12tODLsH','push','15ZkGfPn','7097880MTuJmR','getBuddyService'];_0x1df9=function(){return _0x307a67;};return _0x1df9();}import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x54a974(0x150)]=_0x18a6f1=>{const _0xef0c3c=_0x54a974,_0x104f9b={'pITkB':function(_0x4154ba,_0x332fea){return _0x4154ba(_0x332fea);}};for(const [_0x2c6990,_0xcf6570]of buddyChangeTasks){_0x104f9b[_0xef0c3c(0x161)](_0xcf6570,_0x18a6f1),buddyChangeTasks['delete'](_0x2c6990);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x5c87db=_0x9db2;napCatCore[_0x5c87db(0x163)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x54a974(0x149)](_0x1f1279=![]){const _0x1faf7e=_0x54a974,_0x40f9d6={'vkcsH':function(_0x2d3385,_0x19af58,_0x42038d){return _0x2d3385(_0x19af58,_0x42038d);},'XobqP':_0x1faf7e(0x14b),'gMlLw':function(_0x2b6a67,_0x3d10e6){return _0x2b6a67(_0x3d10e6);},'zDGYY':_0x1faf7e(0x14e),'mFHnR':_0x1faf7e(0x145),'RxHgX':function(_0xdb390d,_0x25f0d8,_0xb6c586){return _0xdb390d(_0x25f0d8,_0xb6c586);},'yppTL':function(_0xad1cc2){return _0xad1cc2();}};return new Promise((_0x59fb0b,_0x4f26ff)=>{const _0x198d2d=_0x1faf7e,_0x21e2e0={'BtxKf':function(_0x205836,_0x4f624b){return _0x40f9d6['gMlLw'](_0x205836,_0x4f624b);},'fHYEM':_0x40f9d6[_0x198d2d(0x143)],'RxAVB':function(_0x1eb0f6,_0x356083){return _0x1eb0f6(_0x356083);},'KFBlB':function(_0x1f8df6,_0x1c1162,_0x42944b){const _0x410bea=_0x198d2d;return _0x40f9d6[_0x410bea(0x14c)](_0x1f8df6,_0x1c1162,_0x42944b);},'cytqX':_0x40f9d6[_0x198d2d(0x159)]};let _0x582f69=![];_0x40f9d6[_0x198d2d(0x158)](setTimeout,()=>{const _0x42e7ea=_0x198d2d;!_0x582f69&&(_0x21e2e0['BtxKf'](logDebug,_0x21e2e0[_0x42e7ea(0x15b)]),_0x21e2e0['RxAVB'](_0x4f26ff,_0x21e2e0[_0x42e7ea(0x15b)]));},0x1388);const _0x3ae3f8=[],_0x3de50c=_0x4c1cfb=>{const _0x30092c=_0x198d2d;for(const _0xe506d9 of _0x4c1cfb){for(const _0x38a629 of _0xe506d9[_0x30092c(0x142)]){_0x3ae3f8[_0x30092c(0x153)](_0x38a629),uid2UinMap[_0x38a629['uid']]=_0x38a629[_0x30092c(0x15c)];}}_0x582f69=!![],_0x21e2e0[_0x30092c(0x162)](logDebug,_0x21e2e0[_0x30092c(0x144)],_0x3ae3f8),_0x21e2e0['RxAVB'](_0x59fb0b,_0x3ae3f8);};buddyChangeTasks[_0x198d2d(0x15e)](_0x40f9d6['yppTL'](randomUUID),_0x3de50c),napCatCore['session'][_0x198d2d(0x156)]()[_0x198d2d(0x14f)](_0x1f1279)[_0x198d2d(0x164)](_0x3c1a15=>{const _0x3481ff=_0x198d2d;_0x40f9d6['vkcsH'](logDebug,_0x40f9d6[_0x3481ff(0x15d)],_0x3c1a15);});});}static async[_0x54a974(0x15a)](_0x358805,_0x34e58d){const _0x21129b=_0x54a974;napCatCore['session'][_0x21129b(0x156)]()?.[_0x21129b(0x166)]({'friendUid':_0x358805[_0x21129b(0x157)],'reqTime':_0x358805['reqTime'],'accept':_0x34e58d});}} \ 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 58f90481..647e1fae 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0x39a501=_0x5df3;(function(_0x12ff6f,_0x4d3ad9){const _0x1d7e57=_0x5df3,_0x2ab790=_0x12ff6f();while(!![]){try{const _0x5a7ed3=-parseInt(_0x1d7e57(0x110))/0x1+-parseInt(_0x1d7e57(0x115))/0x2+parseInt(_0x1d7e57(0xea))/0x3*(parseInt(_0x1d7e57(0xf2))/0x4)+parseInt(_0x1d7e57(0xfb))/0x5+parseInt(_0x1d7e57(0x11b))/0x6*(-parseInt(_0x1d7e57(0x111))/0x7)+parseInt(_0x1d7e57(0x113))/0x8+-parseInt(_0x1d7e57(0xeb))/0x9*(-parseInt(_0x1d7e57(0x11a))/0xa);if(_0x5a7ed3===_0x4d3ad9)break;else _0x2ab790['push'](_0x2ab790['shift']());}catch(_0x362fda){_0x2ab790['push'](_0x2ab790['shift']());}}}(_0x26a8,0x28caf));import{napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),groupListener=new GroupListener();groupListener[_0x39a501(0x10c)]=(_0x1dbae9,_0x354d80)=>{const _0xafd13d=_0x39a501,_0x246630={'prDaW':function(_0x1230c7,_0x4d4aa2,_0x483caf){return _0x1230c7(_0x4d4aa2,_0x483caf);}};for(const [_0x3b1a58,_0x263356]of groupMemberTasks){_0x246630[_0xafd13d(0xef)](_0x263356,_0x1dbae9,_0x354d80),groupMemberTasks['delete'](_0x3b1a58);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x4095a9=_0x5df3;napCatCore[_0x4095a9(0x107)](groupListener);});},0x64);function _0x5df3(_0x56cf14,_0x7ff5dc){const _0x26a8ba=_0x26a8();return _0x5df3=function(_0x5df373,_0x4a7850){_0x5df373=_0x5df373-0xea;let _0x858a79=_0x26a8ba[_0x5df373];return _0x858a79;},_0x5df3(_0x56cf14,_0x7ff5dc);}function _0x26a8(){const _0xdf9030=['addListener','getGroupMembers','session','rkUBn','seq','onGroupListUpdate','errCode','infos','setGroupName','332675iPqxCs','61159ZQjaDE','getGroupService','1039448fXkNWo','quitGroup','554884cNjrVu','result','kickMember','获取群成员列表出错,','modifyMemberRole','150810gHucHr','156FTTHOt','获取群(','1011WIUSIQ','441XFQCaA','errMsg','QdhPT','setMemberCard','prDaW','then','publishGroupBulletin','12bFCWEC','getGroupIgnoreNotifies','groupCode','operateSysNotify','handleGroupRequest','获取群列表完成','forEach','Ndwrg','uid','672275WQFKQB','setMemberShutUp',')成员列表结果:','banGroup','getGroups','finish:\x20','uin','setGroupTitle','getGroupNotifies','modifyMemberCardName','WOayb','finish'];_0x26a8=function(){return _0xdf9030;};return _0x26a8();}export class NTQQGroupApi{static async[_0x39a501(0xff)](_0x4f41da=![]){const _0x34b1ab={'bEzGs':function(_0x377fff,_0x18f90e){return _0x377fff(_0x18f90e);},'QdhPT':function(_0x5c7d90,_0x4e8246){return _0x5c7d90(_0x4e8246);},'rkUBn':function(_0x105b96,_0x2a3fac,_0x417ffb){return _0x105b96(_0x2a3fac,_0x417ffb);},'Ndwrg':function(_0x2ad1aa){return _0x2ad1aa();}};let _0x564dcb=![];return new Promise((_0x482702,_0x222d66)=>{const _0x3227d3=_0x5df3,_0x14610f={'WOayb':function(_0x2f469f,_0x891f52){const _0x28455d=_0x5df3;return _0x34b1ab[_0x28455d(0xed)](_0x2f469f,_0x891f52);}};_0x34b1ab[_0x3227d3(0x10a)](setTimeout,()=>{const _0x3b8146=_0x3227d3;!_0x564dcb&&(_0x14610f[_0x3b8146(0x105)](logDebug,'获取群列表超时'),_0x14610f[_0x3b8146(0x105)](_0x222d66,'获取群列表超时'));},0x1388);const _0x264b4b=(_0xd213e0,_0x257067)=>{const _0x16c7e3=_0x3227d3;_0x564dcb=!![],logDebug(_0x16c7e3(0xf7),_0x257067),_0x34b1ab['bEzGs'](_0x482702,_0x257067);};groupMemberTasks['set'](_0x34b1ab[_0x3227d3(0xf9)](randomUUID),_0x264b4b),napCatCore[_0x3227d3(0x109)][_0x3227d3(0x112)]()['getGroupList'](_0x4f41da)[_0x3227d3(0xf0)]();});}static async[_0x39a501(0x108)](_0x35c845,_0x349906=0xbb8){const _0x2aa977=_0x39a501,_0x51571d={'BDjXL':'groupMemberList_MainWindow'},_0x2a6e33=napCatCore[_0x2aa977(0x109)]['getGroupService'](),_0x53a7f3=_0x2a6e33['createMemberListScene'](_0x35c845,_0x51571d['BDjXL']),_0x20fb0b=await _0x2a6e33['getNextMemberList'](_0x53a7f3,undefined,_0x349906);if(_0x20fb0b[_0x2aa977(0x10d)]!==0x0)throw _0x2aa977(0x118)+_0x20fb0b[_0x2aa977(0xec)];return logDebug(_0x2aa977(0x11c)+_0x35c845+_0x2aa977(0xfd),_0x2aa977(0x100)+_0x20fb0b['result'][_0x2aa977(0x106)]),_0x20fb0b[_0x2aa977(0x116)][_0x2aa977(0x10e)][_0x2aa977(0xf8)](_0x2d65eb=>{const _0x20d232=_0x2aa977;uid2UinMap[_0x2d65eb[_0x20d232(0xfa)]]=_0x2d65eb[_0x20d232(0x101)];}),_0x20fb0b['result'][_0x2aa977(0x10e)];}static async[_0x39a501(0x103)](){}static async[_0x39a501(0xf3)](){}static async[_0x39a501(0xf6)](_0x3f3d5e,_0x4a6000,_0x571017){const _0x2abf93=_0x39a501,_0x280574={'UNyon':function(_0x10271a,_0x196191){return _0x10271a||_0x196191;}};return napCatCore[_0x2abf93(0x109)][_0x2abf93(0x112)]()[_0x2abf93(0xf5)](![],{'operateType':_0x4a6000,'targetMsg':{'seq':_0x3f3d5e[_0x2abf93(0x10b)],'type':_0x3f3d5e['type'],'groupCode':_0x3f3d5e['group'][_0x2abf93(0xf4)],'postscript':_0x280574['UNyon'](_0x571017,'')}});}static async[_0x39a501(0x114)](_0x163e32){const _0xd09ab6=_0x39a501;return napCatCore[_0xd09ab6(0x109)]['getGroupService']()[_0xd09ab6(0x114)](_0x163e32);}static async[_0x39a501(0x117)](_0x1a19a0,_0xf5e3c8,_0x3f5bfb=![],_0x11568c=''){const _0x3e7ee7=_0x39a501;return napCatCore['session'][_0x3e7ee7(0x112)]()[_0x3e7ee7(0x117)](_0x1a19a0,_0xf5e3c8,_0x3f5bfb,_0x11568c);}static async['banMember'](_0x441af1,_0x4455d9){const _0x50904a=_0x39a501;return napCatCore[_0x50904a(0x109)]['getGroupService']()[_0x50904a(0xfc)](_0x441af1,_0x4455d9);}static async[_0x39a501(0xfe)](_0x4bf7cd,_0x364f50){return napCatCore['session']['getGroupService']()['setGroupShutUp'](_0x4bf7cd,_0x364f50);}static async[_0x39a501(0xee)](_0x192361,_0x5beb16,_0x24c238){const _0x29277b=_0x39a501;return napCatCore[_0x29277b(0x109)][_0x29277b(0x112)]()[_0x29277b(0x104)](_0x192361,_0x5beb16,_0x24c238);}static async['setMemberRole'](_0x5becfc,_0x3215d7,_0x4a097f){const _0x4edbf6=_0x39a501;return napCatCore[_0x4edbf6(0x109)][_0x4edbf6(0x112)]()[_0x4edbf6(0x119)](_0x5becfc,_0x3215d7,_0x4a097f);}static async[_0x39a501(0x10f)](_0x451289,_0x478be5){const _0x425294=_0x39a501;return napCatCore[_0x425294(0x109)][_0x425294(0x112)]()['modifyGroupName'](_0x451289,_0x478be5,![]);}static async[_0x39a501(0x102)](_0x3831e9,_0x582dae,_0x27ce89){}static[_0x39a501(0xf1)](_0x4f7e4e,_0x193796,_0x523b0d){}} \ No newline at end of file +const _0x594268=_0x38c9;function _0x38c9(_0x1a6d48,_0x50e8a0){const _0x3069bb=_0x3069();return _0x38c9=function(_0x38c9b7,_0x5f2cc7){_0x38c9b7=_0x38c9b7-0x113;let _0x1ee897=_0x3069bb[_0x38c9b7];return _0x1ee897;},_0x38c9(_0x1a6d48,_0x50e8a0);}(function(_0x2d0096,_0x38cc33){const _0x4f82e3=_0x38c9,_0x5e2c59=_0x2d0096();while(!![]){try{const _0x6beece=-parseInt(_0x4f82e3(0x149))/0x1*(-parseInt(_0x4f82e3(0x11e))/0x2)+parseInt(_0x4f82e3(0x11d))/0x3+parseInt(_0x4f82e3(0x13e))/0x4*(parseInt(_0x4f82e3(0x144))/0x5)+-parseInt(_0x4f82e3(0x142))/0x6*(parseInt(_0x4f82e3(0x119))/0x7)+-parseInt(_0x4f82e3(0x139))/0x8*(-parseInt(_0x4f82e3(0x12f))/0x9)+-parseInt(_0x4f82e3(0x135))/0xa+-parseInt(_0x4f82e3(0x131))/0xb;if(_0x6beece===_0x38cc33)break;else _0x5e2c59['push'](_0x5e2c59['shift']());}catch(_0x29b68b){_0x5e2c59['push'](_0x5e2c59['shift']());}}}(_0x3069,0x53a4f));import{napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';function _0x3069(){const _0x34d2d5=['tQMpU','quitGroup','SuDtj','4509lGwLwX','type','8737179SpfqMo','delete','ZardY','groupCode','5649770jJostM','session','operateSysNotify','uhIqR','7264dObsoE','forEach','MHrZo','uin','modifyMemberCardName','38932GlVEfu','lLoYc','publishGroupBulletin',')成员列表结果:','1776DNwjfL','infos','55DiSBdF','onLoginSuccess','ssxgF','qvHjI','setMemberCard','3YWRZFF','setMemberRole','getGroupMembers','then','seq','uStzL','xEMKf','wVieq','2933zrXltz','banGroup','errMsg','modifyMemberRole','1744179AovAEb','455022HJnZHc','finish','kickMember','pwRQl','errCode','getGroupService','getGroupList','uid','addListener','handleGroupRequest','获取群列表超时','result','XBqsr','setGroupTitle'];_0x3069=function(){return _0x34d2d5;};return _0x3069();}const groupMemberTasks=new Map(),groupListener=new GroupListener();groupListener['onGroupListUpdate']=(_0x14ffc5,_0x2c5cae)=>{const _0x2f8390=_0x38c9,_0x220e91={'ssxgF':function(_0x4c9435,_0x2d63cb,_0x1dedde){return _0x4c9435(_0x2d63cb,_0x1dedde);}};for(const [_0x226d1e,_0xac1f30]of groupMemberTasks){_0x220e91[_0x2f8390(0x146)](_0xac1f30,_0x14ffc5,_0x2c5cae),groupMemberTasks[_0x2f8390(0x132)](_0x226d1e);}},setTimeout(()=>{const _0x1beffb=_0x38c9;napCatCore[_0x1beffb(0x145)](()=>{const _0x399899=_0x1beffb;napCatCore[_0x399899(0x126)](groupListener);});},0x64);export class NTQQGroupApi{static async['getGroups'](_0x4c46a8=![]){const _0x1f0178=_0x38c9,_0x19cac6={'lLoYc':function(_0x12dba2,_0x301d62,_0x1afb39){return _0x12dba2(_0x301d62,_0x1afb39);},'pwRQl':'获取群列表完成','tQMpU':function(_0x5306d9,_0x5006b4){return _0x5306d9(_0x5006b4);},'uhIqR':function(_0x34c1e0,_0x410d91){return _0x34c1e0(_0x410d91);},'wVieq':_0x1f0178(0x128),'uStzL':function(_0xe6d176){return _0xe6d176();}};let _0x4148a7=![];return new Promise((_0x16dc44,_0x5583fd)=>{const _0x619a83=_0x1f0178,_0x3d6d66={'SuDtj':function(_0x33b519,_0x38e85e){const _0x1a05a4=_0x38c9;return _0x19cac6[_0x1a05a4(0x138)](_0x33b519,_0x38e85e);},'qvHjI':_0x19cac6[_0x619a83(0x118)]};_0x19cac6[_0x619a83(0x13f)](setTimeout,()=>{const _0x29437b=_0x619a83;!_0x4148a7&&(_0x3d6d66[_0x29437b(0x12e)](logDebug,_0x3d6d66[_0x29437b(0x147)]),_0x3d6d66['SuDtj'](_0x5583fd,_0x3d6d66[_0x29437b(0x147)]));},0x1388);const _0x520475=(_0x323b50,_0x4cc9cb)=>{const _0x2ca9e3=_0x619a83;_0x4148a7=!![],_0x19cac6[_0x2ca9e3(0x13f)](logDebug,_0x19cac6[_0x2ca9e3(0x121)],_0x4cc9cb),_0x19cac6[_0x2ca9e3(0x12c)](_0x16dc44,_0x4cc9cb);};groupMemberTasks['set'](_0x19cac6[_0x619a83(0x116)](randomUUID),_0x520475),napCatCore[_0x619a83(0x136)][_0x619a83(0x123)]()[_0x619a83(0x124)](_0x4c46a8)[_0x619a83(0x114)]();});}static async[_0x594268(0x113)](_0x5ec172,_0x2e900b=0xbb8){const _0x449025=_0x594268,_0x37a3aa={'XBqsr':'groupMemberList_MainWindow','MHrZo':function(_0x54726e,_0x21cc9c){return _0x54726e!==_0x21cc9c;},'xEMKf':'获取群成员列表出错,'},_0x425038=napCatCore['session'][_0x449025(0x123)](),_0x53dfd0=_0x425038['createMemberListScene'](_0x5ec172,_0x37a3aa[_0x449025(0x12a)]),_0x1f02e8=await _0x425038['getNextMemberList'](_0x53dfd0,undefined,_0x2e900b);if(_0x37a3aa[_0x449025(0x13b)](_0x1f02e8[_0x449025(0x122)],0x0))throw _0x37a3aa[_0x449025(0x117)]+_0x1f02e8[_0x449025(0x11b)];return logDebug('获取群('+_0x5ec172+_0x449025(0x141),'finish:\x20'+_0x1f02e8['result'][_0x449025(0x11f)]),_0x1f02e8[_0x449025(0x129)][_0x449025(0x143)][_0x449025(0x13a)](_0x4a728d=>{const _0x2c40ce=_0x449025;uid2UinMap[_0x4a728d[_0x2c40ce(0x125)]]=_0x4a728d[_0x2c40ce(0x13c)];}),_0x1f02e8['result'][_0x449025(0x143)];}static async['getGroupNotifies'](){}static async['getGroupIgnoreNotifies'](){}static async[_0x594268(0x127)](_0x4e6463,_0x114cb5,_0xb61dfe){const _0x3413ae=_0x594268,_0x40aed9={'ZardY':function(_0x65aacf,_0x5a7421){return _0x65aacf||_0x5a7421;}};return napCatCore[_0x3413ae(0x136)][_0x3413ae(0x123)]()[_0x3413ae(0x137)](![],{'operateType':_0x114cb5,'targetMsg':{'seq':_0x4e6463[_0x3413ae(0x115)],'type':_0x4e6463[_0x3413ae(0x130)],'groupCode':_0x4e6463['group'][_0x3413ae(0x134)],'postscript':_0x40aed9[_0x3413ae(0x133)](_0xb61dfe,'')}});}static async['quitGroup'](_0x274813){const _0x4caa0d=_0x594268;return napCatCore[_0x4caa0d(0x136)][_0x4caa0d(0x123)]()[_0x4caa0d(0x12d)](_0x274813);}static async[_0x594268(0x120)](_0x57f4df,_0x2b1a1d,_0xfda2b5=![],_0x4cf15a=''){const _0x442c62=_0x594268;return napCatCore[_0x442c62(0x136)]['getGroupService']()[_0x442c62(0x120)](_0x57f4df,_0x2b1a1d,_0xfda2b5,_0x4cf15a);}static async['banMember'](_0x37b731,_0x194d49){const _0x25977e=_0x594268;return napCatCore[_0x25977e(0x136)]['getGroupService']()['setMemberShutUp'](_0x37b731,_0x194d49);}static async[_0x594268(0x11a)](_0x767fd5,_0x482781){const _0x2410f6=_0x594268;return napCatCore[_0x2410f6(0x136)][_0x2410f6(0x123)]()['setGroupShutUp'](_0x767fd5,_0x482781);}static async[_0x594268(0x148)](_0x5b17f7,_0x589b90,_0x310c4d){const _0x1c1f08=_0x594268;return napCatCore['session']['getGroupService']()[_0x1c1f08(0x13d)](_0x5b17f7,_0x589b90,_0x310c4d);}static async[_0x594268(0x14a)](_0x5d4670,_0x520f02,_0x11f3f2){const _0x2a972d=_0x594268;return napCatCore[_0x2a972d(0x136)]['getGroupService']()[_0x2a972d(0x11c)](_0x5d4670,_0x520f02,_0x11f3f2);}static async['setGroupName'](_0x37be85,_0x2480bc){return napCatCore['session']['getGroupService']()['modifyGroupName'](_0x37be85,_0x2480bc,![]);}static async[_0x594268(0x12b)](_0x109a4d,_0x41c82b,_0x198b89){}static[_0x594268(0x140)](_0x1a5338,_0x5f47b3,_0x57efdb){}} \ 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 edeaff39..a1dd6efd 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x2a1bf8,_0x443a8f){var _0x2ed26b=_0x1003,_0x132155=_0x2a1bf8();while(!![]){try{var _0x5ae44d=-parseInt(_0x2ed26b(0xcb))/0x1*(parseInt(_0x2ed26b(0xc9))/0x2)+-parseInt(_0x2ed26b(0xcd))/0x3*(parseInt(_0x2ed26b(0xcf))/0x4)+parseInt(_0x2ed26b(0xd1))/0x5+-parseInt(_0x2ed26b(0xca))/0x6+parseInt(_0x2ed26b(0xd0))/0x7+-parseInt(_0x2ed26b(0xce))/0x8*(-parseInt(_0x2ed26b(0xc8))/0x9)+-parseInt(_0x2ed26b(0xd2))/0xa*(-parseInt(_0x2ed26b(0xcc))/0xb);if(_0x5ae44d===_0x443a8f)break;else _0x132155['push'](_0x132155['shift']());}catch(_0x1c9ada){_0x132155['push'](_0x132155['shift']());}}}(_0x2e10,0xbe598));export*from'./file';export*from'./friend';export*from'./group';function _0x2e10(){var _0x15d5e2=['10DvYQuQ','4393008CzkvLv','233797xcTrHA','11WWEqzq','21jkqPcb','8CJNKMh','717324JIRAdo','7825090wSFXaf','4878020LMorRL','4700390pfkWuj','12353661Xuwrtk'];_0x2e10=function(){return _0x15d5e2;};return _0x2e10();}export*from'./msg';function _0x1003(_0xfd512,_0x1c0a1e){var _0x2e1079=_0x2e10();return _0x1003=function(_0x100319,_0x188be6){_0x100319=_0x100319-0xc8;var _0x1b7d19=_0x2e1079[_0x100319];return _0x1b7d19;},_0x1003(_0xfd512,_0x1c0a1e);}export*from'./user';export*from'./webapi'; \ No newline at end of file +(function(_0x5ca291,_0x1d696a){var _0x4e59be=_0x4438,_0x4ed5c0=_0x5ca291();while(!![]){try{var _0x27e9b6=parseInt(_0x4e59be(0x11b))/0x1+-parseInt(_0x4e59be(0x112))/0x2*(-parseInt(_0x4e59be(0x111))/0x3)+-parseInt(_0x4e59be(0x119))/0x4*(-parseInt(_0x4e59be(0x113))/0x5)+parseInt(_0x4e59be(0x114))/0x6*(parseInt(_0x4e59be(0x11c))/0x7)+parseInt(_0x4e59be(0x118))/0x8*(-parseInt(_0x4e59be(0x117))/0x9)+-parseInt(_0x4e59be(0x116))/0xa+-parseInt(_0x4e59be(0x115))/0xb*(parseInt(_0x4e59be(0x11a))/0xc);if(_0x27e9b6===_0x1d696a)break;else _0x4ed5c0['push'](_0x4ed5c0['shift']());}catch(_0x400d83){_0x4ed5c0['push'](_0x4ed5c0['shift']());}}}(_0x5151,0xd7b17));export*from'./file';export*from'./friend';function _0x5151(){var _0x4524c4=['315IAxdVB','3ZRJqOp','3002408wkwdlU','5kTGqFe','204738GvDjgX','88CJHbEH','13985420Iejqfp','21438ePIYse','4488hlJyAE','2867028JdssoM','1132032YAUEDs','619515aKuQhf'];_0x5151=function(){return _0x4524c4;};return _0x5151();}export*from'./group';export*from'./msg';function _0x4438(_0x5e12d9,_0x482a60){var _0x51513c=_0x5151();return _0x4438=function(_0x443871,_0x1ae1a8){_0x443871=_0x443871-0x111;var _0x59e7b4=_0x51513c[_0x443871];return _0x59e7b4;},_0x4438(_0x5e12d9,_0x482a60);}export*from'./user';export*from'./webapi'; \ 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 fb8e801f..d19a0ebb 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x414d3c=_0x2cfc;function _0x5a2d(){const _0xc4534b=['466216AoVtur','ZBktu','peerUid','map','getMsgsByMsgId','then','30657DOLBwe','bjVAH','getMsgsIncludeSelf','getMsgsBySeqAndCount','arkElement','28xgzBnX','com.tencent.multimsg','activateChat','parse','set','toString','sendMsg','setEmojiLike','OOuut','11181XyqGqx','sendStatus','499131SQIQRi','vMHDW','pOrdq','JuchC','forwardMsg','bwcgx','chatType','kcZGH','ChyNY','multiForwardMsg','988659JAofMd','FVxzY','1170wKnDPQ','setMsgEmojiLikes','addListener','onMsgInfoListUpdate','catch','nick','onAddSendMsg','find','boLZp','转发消息超时','417516WnjPTp','senderUid','forEach','zYPHR','6MROegi','guildId','recallMsg','69797ZSgTkx','FGkyA','发送超时','session','elements','getMultiMsg','YpYjl','length','5QiGPvY','onLoginSuccess','setMsgRead','getMsgService'];_0x5a2d=function(){return _0xc4534b;};return _0x5a2d();}(function(_0x3f5eee,_0x8d773a){const _0xf3b93e=_0x2cfc,_0x33a1a3=_0x3f5eee();while(!![]){try{const _0x353c26=-parseInt(_0xf3b93e(0x119))/0x1*(parseInt(_0xf3b93e(0x110))/0x2)+parseInt(_0xf3b93e(0x125))/0x3+parseInt(_0xf3b93e(0x131))/0x4*(-parseInt(_0xf3b93e(0x140))/0x5)+-parseInt(_0xf3b93e(0x135))/0x6*(parseInt(_0xf3b93e(0x138))/0x7)+-parseInt(_0xf3b93e(0x144))/0x8+parseInt(_0xf3b93e(0x11b))/0x9+-parseInt(_0xf3b93e(0x127))/0xa*(-parseInt(_0xf3b93e(0x10b))/0xb);if(_0x353c26===_0x8d773a)break;else _0x33a1a3['push'](_0x33a1a3['shift']());}catch(_0x47fb40){_0x33a1a3['push'](_0x33a1a3['shift']());}}}(_0x5a2d,0x5d3ea));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';function _0x2cfc(_0x239eb7,_0x56e040){const _0x5a2dbd=_0x5a2d();return _0x2cfc=function(_0x2cfc58,_0x217baa){_0x2cfc58=_0x2cfc58-0x10a;let _0x4a57ba=_0x5a2dbd[_0x2cfc58];return _0x4a57ba;},_0x2cfc(_0x239eb7,_0x56e040);}import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x414d3c(0x12d)]=_0x38e869=>{const _0x3c5a20=_0x414d3c,_0x4ae9f6={'zYPHR':function(_0x2f84cc,_0x2ba8a0){return _0x2f84cc(_0x2ba8a0);},'bwcgx':function(_0x581299,_0x29169d){return _0x581299 instanceof _0x29169d;}};for(const [_0x2d98d2,_0x489b68]of sentMsgTasks){_0x4ae9f6[_0x3c5a20(0x134)](_0x489b68,_0x38e869),sentMsgTasks['delete'](_0x2d98d2);}if(sendMessagePool[_0x38e869[_0x3c5a20(0x146)]]){const _0x1db6e7=sendMessagePool[_0x38e869[_0x3c5a20(0x146)]]?.(_0x38e869);_0x4ae9f6[_0x3c5a20(0x120)](_0x1db6e7,Promise)&&_0x1db6e7[_0x3c5a20(0x10a)]()[_0x3c5a20(0x12b)](logError);}},msgListener[_0x414d3c(0x12a)]=_0x13f287=>{const _0x307db7=_0x414d3c,_0x4b763c={'FGkyA':function(_0xad7ea5,_0x47e78e){return _0xad7ea5(_0x47e78e);}};_0x13f287[_0x307db7(0x133)](_0x57fbda=>{const _0x30a6f8=_0x307db7,_0x29d905={'bjVAH':function(_0x30d23b,_0x3a81f1){const _0x23c434=_0x2cfc;return _0x4b763c[_0x23c434(0x139)](_0x30d23b,_0x3a81f1);},'ChyNY':function(_0x2419c3,_0x2972fe){const _0x597899=_0x2cfc;return _0x4b763c[_0x597899(0x139)](_0x2419c3,_0x2972fe);}};new Promise((_0x531b77,_0x1055ca)=>{const _0x216cff=_0x2cfc;for(const _0x51362c in sendSuccessCBMap){const _0x408061=sendSuccessCBMap[_0x51362c],_0x1152d6=_0x29d905[_0x216cff(0x10c)](_0x408061,_0x57fbda),_0x55bf42=_0xdd69a=>{_0xdd69a&&delete sendSuccessCBMap[_0x51362c];};_0x1152d6 instanceof Promise?_0x1152d6[_0x216cff(0x10a)](_0x55bf42):_0x29d905[_0x216cff(0x123)](_0x55bf42,_0x1152d6);}})['then']()[_0x30a6f8(0x12b)](log);});},setTimeout(()=>{const _0x5bac6c=_0x414d3c;napCatCore[_0x5bac6c(0x141)](()=>{const _0x14e2f7=_0x5bac6c;napCatCore[_0x14e2f7(0x129)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x414d3c(0x117)](_0x26691d,_0x449dbb,_0x5b0429,_0x2efa22=!![]){const _0x532b2a=_0x414d3c,_0x3cad10={'vMHDW':function(_0x2c7f3a,_0x1600f0){return _0x2c7f3a>_0x1600f0;}};return _0x5b0429=_0x5b0429[_0x532b2a(0x115)](),napCatCore['session'][_0x532b2a(0x143)]()[_0x532b2a(0x128)](_0x26691d,_0x449dbb,_0x5b0429,_0x3cad10[_0x532b2a(0x11c)](_0x5b0429[_0x532b2a(0x13f)],0x3)?'2':'1',_0x2efa22);}static async[_0x414d3c(0x13d)](_0x85b34e,_0x521204,_0x312adc){const _0x4a7186=_0x414d3c;return napCatCore[_0x4a7186(0x13b)][_0x4a7186(0x143)]()['getMultiMsg'](_0x85b34e,_0x521204,_0x312adc);}static async[_0x414d3c(0x148)](_0x48a0c6,_0x5ea101){const _0x3bd958=_0x414d3c;return await napCatCore[_0x3bd958(0x13b)]['getMsgService']()[_0x3bd958(0x148)](_0x48a0c6,_0x5ea101);}static async[_0x414d3c(0x10e)](_0x104c7,_0x2ed430,_0x1cea28,_0x2ce65a,_0x13b369){const _0x2fee2b=_0x414d3c;return await napCatCore[_0x2fee2b(0x13b)][_0x2fee2b(0x143)]()['getMsgsBySeqAndCount'](_0x104c7,_0x2ed430,_0x1cea28,_0x2ce65a,_0x13b369);}static async[_0x414d3c(0x112)](_0x2c8541){}static async['activateChatAndGetHistory'](_0x31fb3f){}static async[_0x414d3c(0x142)](_0x151f63){const _0x38e078=_0x414d3c;return napCatCore['session']['getMsgService']()[_0x38e078(0x142)](_0x151f63[_0x38e078(0x121)],_0x151f63[_0x38e078(0x146)],_0x151f63[_0x38e078(0x136)]);}static async['getMsgHistory'](_0x5d7855,_0xaacfdc,_0x1c7063){const _0x5d96da=_0x414d3c;return napCatCore[_0x5d96da(0x13b)][_0x5d96da(0x143)]()[_0x5d96da(0x10d)](_0x5d7855,_0xaacfdc,_0x1c7063,!![]);}static async['fetchRecentContact'](){}static async[_0x414d3c(0x137)](_0x277624,_0x4e4c7b){const _0x508451=_0x414d3c;await napCatCore[_0x508451(0x13b)][_0x508451(0x143)]()['recallMsg']({'chatType':_0x277624[_0x508451(0x121)],'peerUid':_0x277624[_0x508451(0x146)]},_0x4e4c7b);}static async[_0x414d3c(0x116)](_0x4d818a,_0x374591,_0x22cac7=!![],_0x4b049c=0x2710){const _0x16dd95=_0x414d3c,_0x57724a={'YpYjl':function(_0x2fc296,_0x36f882){return _0x2fc296>_0x36f882;},'Fuskz':function(_0x2cae92,_0x53974c){return _0x2cae92(_0x53974c);},'OOuut':function(_0x38ed5b){return _0x38ed5b();},'boLZp':function(_0x5587c5,_0x506a51,_0x3f6c3d){return _0x5587c5(_0x506a51,_0x3f6c3d);},'xeSCf':function(_0x540a1){return _0x540a1();}},_0x5dc317=_0x4d818a[_0x16dd95(0x146)];let _0x428307=0x0;const _0x2c0ab=async()=>{const _0x465080=_0x16dd95;if(_0x57724a[_0x465080(0x13e)](_0x428307,_0x4b049c))throw _0x465080(0x13a);const _0x24dba2=sendMessagePool[_0x4d818a[_0x465080(0x146)]];if(_0x24dba2)return await _0x57724a['Fuskz'](sleep,0x1f4),_0x428307+=0x1f4,await _0x57724a['OOuut'](_0x2c0ab);else return;};return await _0x57724a['xeSCf'](_0x2c0ab),new Promise((_0x4e8a2b,_0x2660e1)=>{const _0x1ef2a7=_0x16dd95,_0x230158={'kcZGH':'发送超时'};let _0x3edf25=![],_0x4e249e=null;const _0x189495=_0x57724a[_0x1ef2a7(0x118)](randomUUID);sendSuccessCBMap[_0x189495]=_0x298eb4=>{const _0x293b54=_0x1ef2a7;if(_0x298eb4['msgId']===_0x4e249e?.['msgId']){if(_0x298eb4[_0x293b54(0x11a)]===0x2)return delete sendSuccessCBMap[_0x189495],_0x3edf25=!![],_0x4e8a2b(_0x298eb4),!![];return![];}return![];},sendMessagePool[_0x5dc317]=async _0x285a64=>{delete sendMessagePool[_0x5dc317],_0x4e249e=_0x285a64;},_0x57724a[_0x1ef2a7(0x12f)](setTimeout,()=>{const _0x2419eb=_0x1ef2a7;if(_0x3edf25)return;delete sendMessagePool[_0x5dc317],delete sendSuccessCBMap[_0x189495],_0x2660e1(_0x230158[_0x2419eb(0x122)]);},_0x4b049c);const _0x27991e=napCatCore[_0x1ef2a7(0x13b)][_0x1ef2a7(0x143)]()[_0x1ef2a7(0x116)]('0',_0x4d818a,_0x374591,new Map());});}static async[_0x414d3c(0x11f)](_0x1cfc5a,_0x328d4e,_0x16bf76){const _0x4dc678=_0x414d3c;return napCatCore[_0x4dc678(0x13b)]['getMsgService']()[_0x4dc678(0x11f)](_0x16bf76,_0x1cfc5a,[_0x328d4e],new Map());}static async[_0x414d3c(0x124)](_0x294464,_0x4fa026,_0x4600d4){const _0x27f8a9=_0x414d3c,_0x2f7524={'viiDM':function(_0xc09cd7,_0x12b994){return _0xc09cd7(_0x12b994);},'JuchC':function(_0x3fafc6,_0x5cac83){return _0x3fafc6!=_0x5cac83;},'QRtZX':_0x27f8a9(0x111),'pOrdq':function(_0x553789,_0x2dc40a){return _0x553789==_0x2dc40a;}},_0x463996=_0x4600d4[_0x27f8a9(0x147)](_0x52f80d=>{const _0x4751fb=_0x27f8a9;return{'msgId':_0x52f80d,'senderShowName':selfInfo[_0x4751fb(0x12c)]};});return new Promise((_0x531233,_0x1b490d)=>{const _0x38eea5=_0x27f8a9,_0x4571e6={'jmeNy':function(_0x352dee,_0xcc528a){const _0x4bf559=_0x2cfc;return _0x2f7524[_0x4bf559(0x11e)](_0x352dee,_0xcc528a);},'ZBktu':_0x2f7524['QRtZX'],'FVxzY':function(_0x6c8269,_0xc457dd){const _0x23e91c=_0x2cfc;return _0x2f7524[_0x23e91c(0x11d)](_0x6c8269,_0xc457dd);}};let _0x4e7c9b=![];const _0x318abe=_0x4bb370=>{const _0x2cdae2=_0x2cfc,_0x2055fd=_0x4bb370[_0x2cdae2(0x13c)][_0x2cdae2(0x12e)](_0x170be4=>_0x170be4[_0x2cdae2(0x10f)]);if(!_0x2055fd)return;const _0x328257=JSON[_0x2cdae2(0x113)](_0x2055fd[_0x2cdae2(0x10f)]['bytesData']);if(_0x4571e6['jmeNy'](_0x328257['app'],_0x4571e6[_0x2cdae2(0x145)]))return;_0x4571e6[_0x2cdae2(0x126)](_0x4bb370[_0x2cdae2(0x146)],_0x4fa026['peerUid'])&&_0x4571e6[_0x2cdae2(0x126)](_0x4bb370[_0x2cdae2(0x132)],selfInfo['uid'])&&(_0x4e7c9b=!![],_0x531233(_0x4bb370));};sentMsgTasks[_0x38eea5(0x114)](randomUUID(),_0x318abe),setTimeout(()=>{const _0x201c0a=_0x38eea5;!_0x4e7c9b&&_0x2f7524['viiDM'](_0x1b490d,_0x201c0a(0x130));},0x1388),napCatCore[_0x38eea5(0x13b)][_0x38eea5(0x143)]()['multiForwardMsgWithComment'](_0x463996,_0x294464,_0x4fa026,[],new Map());});}} \ No newline at end of file +const _0x55aabf=_0x21d8;(function(_0x1cca2c,_0x1ad6a2){const _0x32f4fa=_0x21d8,_0x2da407=_0x1cca2c();while(!![]){try{const _0x42c6d4=-parseInt(_0x32f4fa(0x1da))/0x1*(-parseInt(_0x32f4fa(0x1dd))/0x2)+parseInt(_0x32f4fa(0x1b0))/0x3+parseInt(_0x32f4fa(0x1a9))/0x4+parseInt(_0x32f4fa(0x1b7))/0x5*(-parseInt(_0x32f4fa(0x1af))/0x6)+-parseInt(_0x32f4fa(0x19c))/0x7+parseInt(_0x32f4fa(0x19f))/0x8+-parseInt(_0x32f4fa(0x1a2))/0x9*(-parseInt(_0x32f4fa(0x1ac))/0xa);if(_0x42c6d4===_0x1ad6a2)break;else _0x2da407['push'](_0x2da407['shift']());}catch(_0x4ea31c){_0x2da407['push'](_0x2da407['shift']());}}}(_0x210b,0x6fed5));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';function _0x210b(){const _0x39a037=['session','37890MEXZSe','78981Bngeoz','fetchRecentContact','hOAfT','parse','com.tencent.multimsg','JiZIs','getMsgHistory','255RifQvs','tcKKY','getMultiMsg','sendStatus','map','peerUid','then','uid','onLoginSuccess','BUiUn','eAZCd','gqcil','chatType','multiForwardMsg','onAddSendMsg','sendMsg','activateChat','delete','jvCcm','nick','AvDsy','catch','getMsgsBySeqAndCount','XntIv','getMsgsByMsgId','senderUid','onMsgInfoListUpdate','ASceQ','发送超时','activateChatAndGetHistory','转发消息超时','msgId','elements','bytesData','QkaVN','1psqQxC','setMsgRead','set','35642ZFPdIQ','ZXWmf','getMsgService','ACVmT','forwardMsg','ClPzU','arkElement','2715356YdfVHX','getMsgsIncludeSelf','WFsRt','937384NDIgFc','RiQbv','PhQQy','1467JJsLIK','toString','DZmEm','wiYmd','SuwAj','recallMsg','EzNkq','274856tOCmJO','length','setEmojiLike','57570EaCgGT','forEach'];_0x210b=function(){return _0x39a037;};return _0x210b();}import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';function _0x21d8(_0x1f0e9a,_0x287703){const _0x210b6f=_0x210b();return _0x21d8=function(_0x21d8e1,_0x19d99d){_0x21d8e1=_0x21d8e1-0x19c;let _0x39b068=_0x210b6f[_0x21d8e1];return _0x39b068;},_0x21d8(_0x1f0e9a,_0x287703);}import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x55aabf(0x1c5)]=_0x19d4fc=>{const _0xf1a36f=_0x55aabf,_0x3ad92c={'eAZCd':function(_0x51f75c,_0xe00f89){return _0x51f75c instanceof _0xe00f89;}};for(const [_0xff5c83,_0xa20ac0]of sentMsgTasks){_0xa20ac0(_0x19d4fc),sentMsgTasks[_0xf1a36f(0x1c8)](_0xff5c83);}if(sendMessagePool[_0x19d4fc['peerUid']]){const _0x1bd997=sendMessagePool[_0x19d4fc[_0xf1a36f(0x1bc)]]?.(_0x19d4fc);_0x3ad92c[_0xf1a36f(0x1c1)](_0x1bd997,Promise)&&_0x1bd997[_0xf1a36f(0x1bd)]()[_0xf1a36f(0x1cc)](logError);}},msgListener[_0x55aabf(0x1d1)]=_0x17a023=>{const _0x1de420=_0x55aabf,_0x30c6ec={'whrEG':function(_0x3ed1cd,_0x341906){return _0x3ed1cd(_0x341906);},'ZXWmf':function(_0x2c14e7,_0x2070f3){return _0x2c14e7 instanceof _0x2070f3;}};_0x17a023[_0x1de420(0x1ad)](_0x3e6a80=>{const _0x4d94ad=_0x1de420,_0x49969d={'BUiUn':function(_0x46f250,_0x3b43da){return _0x30c6ec['whrEG'](_0x46f250,_0x3b43da);},'tcKKY':function(_0x46c641,_0x3fb71e){const _0x30e5af=_0x21d8;return _0x30c6ec[_0x30e5af(0x1de)](_0x46c641,_0x3fb71e);},'ASceQ':function(_0x3aeb7e,_0x2f963e){return _0x3aeb7e(_0x2f963e);}};new Promise((_0x373184,_0x392f91)=>{const _0x68c7ae=_0x21d8;for(const _0x53b9ef in sendSuccessCBMap){const _0x503f2e=sendSuccessCBMap[_0x53b9ef],_0x1c067d=_0x49969d[_0x68c7ae(0x1c0)](_0x503f2e,_0x3e6a80),_0x23aea8=_0x1b75b3=>{_0x1b75b3&&delete sendSuccessCBMap[_0x53b9ef];};_0x49969d[_0x68c7ae(0x1b8)](_0x1c067d,Promise)?_0x1c067d[_0x68c7ae(0x1bd)](_0x23aea8):_0x49969d[_0x68c7ae(0x1d2)](_0x23aea8,_0x1c067d);}})[_0x4d94ad(0x1bd)]()['catch'](log);});},setTimeout(()=>{const _0x165e79=_0x55aabf;napCatCore[_0x165e79(0x1bf)](()=>{napCatCore['addListener'](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x55aabf(0x1ab)](_0x71aa1f,_0x6e8fb8,_0x523ece,_0x2dec91=!![]){const _0x1cfdb7=_0x55aabf,_0x4c516f={'ACVmT':function(_0x18a1ee,_0x429cf5){return _0x18a1ee>_0x429cf5;}};return _0x523ece=_0x523ece[_0x1cfdb7(0x1a3)](),napCatCore[_0x1cfdb7(0x1ae)][_0x1cfdb7(0x1df)]()['setMsgEmojiLikes'](_0x71aa1f,_0x6e8fb8,_0x523ece,_0x4c516f[_0x1cfdb7(0x1e0)](_0x523ece[_0x1cfdb7(0x1aa)],0x3)?'2':'1',_0x2dec91);}static async[_0x55aabf(0x1b9)](_0x23f460,_0x4c321b,_0x14d7e3){const _0x655f3b=_0x55aabf;return napCatCore['session'][_0x655f3b(0x1df)]()[_0x655f3b(0x1b9)](_0x23f460,_0x4c321b,_0x14d7e3);}static async[_0x55aabf(0x1cf)](_0x2b61e6,_0xa5e89c){const _0x384db7=_0x55aabf;return await napCatCore[_0x384db7(0x1ae)][_0x384db7(0x1df)]()[_0x384db7(0x1cf)](_0x2b61e6,_0xa5e89c);}static async[_0x55aabf(0x1cd)](_0x6b374a,_0xe38fb6,_0x2cdc24,_0x4677f1,_0x238c31){const _0x4911fa=_0x55aabf;return await napCatCore[_0x4911fa(0x1ae)][_0x4911fa(0x1df)]()[_0x4911fa(0x1cd)](_0x6b374a,_0xe38fb6,_0x2cdc24,_0x4677f1,_0x238c31);}static async[_0x55aabf(0x1c7)](_0x475d75){}static async[_0x55aabf(0x1d4)](_0x10883f){}static async[_0x55aabf(0x1db)](_0x510d10){const _0x54e161=_0x55aabf;return napCatCore[_0x54e161(0x1ae)][_0x54e161(0x1df)]()[_0x54e161(0x1db)](_0x510d10);}static async[_0x55aabf(0x1b6)](_0x1a4e6a,_0x4a4ee2,_0x5e1a6a){const _0x4bbcf9=_0x55aabf;return napCatCore[_0x4bbcf9(0x1ae)][_0x4bbcf9(0x1df)]()[_0x4bbcf9(0x19d)](_0x1a4e6a,_0x4a4ee2,_0x5e1a6a,!![]);}static async[_0x55aabf(0x1b1)](){}static async[_0x55aabf(0x1a7)](_0x11dd81,_0x104be8){const _0x38aa78=_0x55aabf;await napCatCore[_0x38aa78(0x1ae)][_0x38aa78(0x1df)]()[_0x38aa78(0x1a7)]({'chatType':_0x11dd81[_0x38aa78(0x1c3)],'peerUid':_0x11dd81[_0x38aa78(0x1bc)]},_0x104be8);}static async[_0x55aabf(0x1c6)](_0x52fbee,_0x2c6587,_0x55d4bf=!![],_0x4c5ceb=0x2710){const _0x3b97c4={'gqcil':function(_0x429a44,_0x338f39){return _0x429a44>_0x338f39;},'wiYmd':function(_0x5dece4,_0x360e8a){return _0x5dece4(_0x360e8a);},'PhQQy':function(_0x123ebe,_0x54d0ae){return _0x123ebe===_0x54d0ae;},'QkaVN':function(_0x29a74c,_0x2320ec){return _0x29a74c(_0x2320ec);},'ClPzU':'发送超时','DZmEm':function(_0x5252,_0x1fef63,_0x47baf7){return _0x5252(_0x1fef63,_0x47baf7);}},_0x112086=_0x52fbee['peerUid'];let _0x5e99e8=0x0;const _0x2a3fbf=async()=>{const _0x5e570a=_0x21d8;if(_0x3b97c4[_0x5e570a(0x1c2)](_0x5e99e8,_0x4c5ceb))throw _0x5e570a(0x1d3);const _0x23d60b=sendMessagePool[_0x52fbee[_0x5e570a(0x1bc)]];if(_0x23d60b)return await _0x3b97c4[_0x5e570a(0x1a5)](sleep,0x1f4),_0x5e99e8+=0x1f4,await _0x2a3fbf();else return;};return await _0x2a3fbf(),new Promise((_0x4d9ca0,_0x5e4198)=>{const _0x44faf8=_0x21d8;let _0x3204b2=![],_0xf82496=null;const _0x121132=randomUUID();sendSuccessCBMap[_0x121132]=_0x36c341=>{const _0x3626af=_0x21d8;if(_0x3b97c4[_0x3626af(0x1a1)](_0x36c341[_0x3626af(0x1d6)],_0xf82496?.[_0x3626af(0x1d6)])){if(_0x36c341[_0x3626af(0x1ba)]===0x2)return delete sendSuccessCBMap[_0x121132],_0x3204b2=!![],_0x3b97c4[_0x3626af(0x1d9)](_0x4d9ca0,_0x36c341),!![];return![];}return![];},sendMessagePool[_0x112086]=async _0x4475a2=>{delete sendMessagePool[_0x112086],_0xf82496=_0x4475a2;},_0x3b97c4[_0x44faf8(0x1a4)](setTimeout,()=>{const _0x15c9c4=_0x44faf8;if(_0x3204b2)return;delete sendMessagePool[_0x112086],delete sendSuccessCBMap[_0x121132],_0x5e4198(_0x3b97c4[_0x15c9c4(0x1e2)]);},_0x4c5ceb);const _0x5aa7c2=napCatCore[_0x44faf8(0x1ae)]['getMsgService']()[_0x44faf8(0x1c6)]('0',_0x52fbee,_0x2c6587,new Map());});}static async[_0x55aabf(0x1e1)](_0x1912fe,_0xd7fb75,_0x599d8a){const _0xbae72c=_0x55aabf;return napCatCore[_0xbae72c(0x1ae)][_0xbae72c(0x1df)]()['forwardMsg'](_0x599d8a,_0x1912fe,[_0xd7fb75],new Map());}static async[_0x55aabf(0x1c4)](_0x2ca7cc,_0x551754,_0x2f7fa1){const _0x5af828=_0x55aabf,_0x11813e={'WFsRt':function(_0x5d72e4,_0x551dca){return _0x5d72e4(_0x551dca);},'GRQTn':_0x5af828(0x1d5),'aziSK':function(_0x19f9f0,_0x519c90){return _0x19f9f0!=_0x519c90;},'SuwAj':_0x5af828(0x1b4),'AvDsy':function(_0x481ff2,_0x22f52b){return _0x481ff2==_0x22f52b;},'JiZIs':function(_0x305397,_0x44f5ac){return _0x305397==_0x44f5ac;},'dxETS':function(_0x4b057a){return _0x4b057a();}},_0x5a113f=_0x2f7fa1[_0x5af828(0x1bb)](_0x12dde4=>{const _0x36a7fd=_0x5af828;return{'msgId':_0x12dde4,'senderShowName':selfInfo[_0x36a7fd(0x1ca)]};});return new Promise((_0x32bf29,_0x2c410e)=>{const _0x31d4a9=_0x5af828,_0x36e009={'EzNkq':function(_0x467892,_0x103767){return _0x11813e['aziSK'](_0x467892,_0x103767);},'RiQbv':_0x11813e[_0x31d4a9(0x1a6)],'hOAfT':function(_0xff6a37,_0x5d29ab){const _0xd1c3dd=_0x31d4a9;return _0x11813e[_0xd1c3dd(0x1cb)](_0xff6a37,_0x5d29ab);},'jvCcm':function(_0x1b236d,_0x675e61){const _0x35e0ef=_0x31d4a9;return _0x11813e[_0x35e0ef(0x1b5)](_0x1b236d,_0x675e61);},'XntIv':function(_0x13ca99,_0x1b8189){const _0x244320=_0x31d4a9;return _0x11813e[_0x244320(0x19e)](_0x13ca99,_0x1b8189);}};let _0x374535=![];const _0x2f1953=_0x5b9f70=>{const _0x36cc04=_0x31d4a9,_0x5d8026=_0x5b9f70[_0x36cc04(0x1d7)]['find'](_0x5f0849=>_0x5f0849[_0x36cc04(0x1e3)]);if(!_0x5d8026)return;const _0xea0a12=JSON[_0x36cc04(0x1b3)](_0x5d8026[_0x36cc04(0x1e3)][_0x36cc04(0x1d8)]);if(_0x36e009[_0x36cc04(0x1a8)](_0xea0a12['app'],_0x36e009[_0x36cc04(0x1a0)]))return;_0x36e009[_0x36cc04(0x1b2)](_0x5b9f70['peerUid'],_0x551754[_0x36cc04(0x1bc)])&&_0x36e009[_0x36cc04(0x1c9)](_0x5b9f70[_0x36cc04(0x1d0)],selfInfo[_0x36cc04(0x1be)])&&(_0x374535=!![],_0x36e009[_0x36cc04(0x1ce)](_0x32bf29,_0x5b9f70));};sentMsgTasks[_0x31d4a9(0x1dc)](_0x11813e['dxETS'](randomUUID),_0x2f1953),setTimeout(()=>{!_0x374535&&_0x11813e['WFsRt'](_0x2c410e,_0x11813e['GRQTn']);},0x1388),napCatCore[_0x31d4a9(0x1ae)][_0x31d4a9(0x1df)]()['multiForwardMsgWithComment'](_0x5a113f,_0x2ca7cc,_0x551754,[],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 7f112565..e4855fee 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -var _0x358d61=_0x524c;function _0x524c(_0x25ab69,_0x44c7b5){var _0x181375=_0x1813();return _0x524c=function(_0x524c9e,_0x488120){_0x524c9e=_0x524c9e-0x17b;var _0x15f1a0=_0x181375[_0x524c9e];return _0x15f1a0;},_0x524c(_0x25ab69,_0x44c7b5);}(function(_0x2fe22c,_0x3f19c7){var _0xcbe38c=_0x524c,_0x6b40e6=_0x2fe22c();while(!![]){try{var _0x5ade29=parseInt(_0xcbe38c(0x193))/0x1*(-parseInt(_0xcbe38c(0x17e))/0x2)+parseInt(_0xcbe38c(0x184))/0x3*(-parseInt(_0xcbe38c(0x183))/0x4)+-parseInt(_0xcbe38c(0x180))/0x5+-parseInt(_0xcbe38c(0x192))/0x6+-parseInt(_0xcbe38c(0x17b))/0x7+parseInt(_0xcbe38c(0x181))/0x8+parseInt(_0xcbe38c(0x189))/0x9*(parseInt(_0xcbe38c(0x18f))/0xa);if(_0x5ade29===_0x3f19c7)break;else _0x6b40e6['push'](_0x6b40e6['shift']());}catch(_0x234be1){_0x6b40e6['push'](_0x6b40e6['shift']());}}}(_0x1813,0xcad91));function _0x1813(){var _0x47c2a7=['statusText','AdmXV','音乐消息生成成功','then','RmuuT','210MRzOKh','SVMwI','QIUVb','1874058IrutMz','203611csRrwA','nFTvd','7603764PiYvHP','mryvH','MluQd','2rpzmtA','json','6831925aQNqEE','3120976MHSbHc','url','1796Uzqpiz','11031tQpKbP','aXgzN','POST','catch','stringify','2168703kKTEsC'];_0x1813=function(){return _0x47c2a7;};return _0x1813();}import{logDebug}from'@/common/utils/log';export class MusicSign{[_0x358d61(0x182)];constructor(_0x377beb){var _0x1b2f7a=_0x358d61;this[_0x1b2f7a(0x182)]=_0x377beb;}['sign'](_0x5d2d43){var _0x23db92=_0x358d61,_0x404f99={'MluQd':function(_0x4e3d20,_0x17a615){return _0x4e3d20(_0x17a615);},'AdmXV':function(_0x3d0a6b,_0x3cfc31,_0x462ff0){return _0x3d0a6b(_0x3cfc31,_0x462ff0);},'SVMwI':_0x23db92(0x18c),'aXgzN':function(_0x26eb51,_0x4e8026){return _0x26eb51(_0x4e8026);},'nFTvd':function(_0x4b56ba,_0x23d143,_0x24bf6a){return _0x4b56ba(_0x23d143,_0x24bf6a);},'kPYRu':_0x23db92(0x186)};return new Promise((_0x3a0208,_0x2c8fd1)=>{var _0x53ff0e=_0x23db92,_0x3a8a19={'QIUVb':function(_0x587e19,_0x262637,_0x521ca1){var _0x5839d7=_0x524c;return _0x404f99[_0x5839d7(0x18b)](_0x587e19,_0x262637,_0x521ca1);},'mryvH':_0x404f99[_0x53ff0e(0x190)],'RmuuT':function(_0x1f70b4,_0x24e527){var _0x2d8e4b=_0x53ff0e;return _0x404f99[_0x2d8e4b(0x185)](_0x1f70b4,_0x24e527);}};_0x404f99[_0x53ff0e(0x194)](fetch,this[_0x53ff0e(0x182)],{'method':_0x404f99['kPYRu'],'headers':{'Content-Type':'application/json'},'body':JSON[_0x53ff0e(0x188)](_0x5d2d43)})[_0x53ff0e(0x18d)](_0x49d4a7=>{var _0x36bf28=_0x53ff0e;return!_0x49d4a7['ok']&&_0x404f99[_0x36bf28(0x17d)](_0x2c8fd1,_0x49d4a7[_0x36bf28(0x18a)]),_0x49d4a7[_0x36bf28(0x17f)]();})[_0x53ff0e(0x18d)](_0x2d08a3=>{var _0x43c24d=_0x53ff0e;_0x3a8a19[_0x43c24d(0x191)](logDebug,_0x3a8a19[_0x43c24d(0x17c)],_0x2d08a3),_0x3a8a19[_0x43c24d(0x18e)](_0x3a0208,_0x2d08a3);})[_0x53ff0e(0x187)](_0x42174a=>{_0x404f99['MluQd'](_0x2c8fd1,_0x42174a);});});}} \ No newline at end of file +function _0x1c91(_0x1da34b,_0x1467e3){var _0x39777b=_0x3977();return _0x1c91=function(_0x1c916f,_0x11d5ae){_0x1c916f=_0x1c916f-0xd0;var _0x495ce4=_0x39777b[_0x1c916f];return _0x495ce4;},_0x1c91(_0x1da34b,_0x1467e3);}function _0x3977(){var _0x1d5700=['pzNpQ','1804992rszast','22257znwlPK','url','kudWc','778234OoKXjY','LUUmq','56208ZnFqCq','12aBABwo','1280osdacR','application/json','then','255496LVTGcz','sign','646520uwBZRB','statusText','catch','json','1XjclOz','485261dDrIyQ','stringify','POST','56qfUMjp','nLcTy','QcUHM','3113DGGoZE','MOlNJ'];_0x3977=function(){return _0x1d5700;};return _0x3977();}var _0x5a1b21=_0x1c91;(function(_0x8d72d7,_0x211eaa){var _0x4e42be=_0x1c91,_0x2fcdab=_0x8d72d7();while(!![]){try{var _0x458f95=parseInt(_0x4e42be(0xd2))/0x1*(-parseInt(_0x4e42be(0xe0))/0x2)+-parseInt(_0x4e42be(0xdc))/0x3+parseInt(_0x4e42be(0xe7))/0x4+-parseInt(_0x4e42be(0xe9))/0x5*(parseInt(_0x4e42be(0xe3))/0x6)+-parseInt(_0x4e42be(0xd3))/0x7*(-parseInt(_0x4e42be(0xd6))/0x8)+-parseInt(_0x4e42be(0xdd))/0x9*(parseInt(_0x4e42be(0xe4))/0xa)+parseInt(_0x4e42be(0xd9))/0xb*(parseInt(_0x4e42be(0xe2))/0xc);if(_0x458f95===_0x211eaa)break;else _0x2fcdab['push'](_0x2fcdab['shift']());}catch(_0x50c748){_0x2fcdab['push'](_0x2fcdab['shift']());}}}(_0x3977,0x4b626));import{logDebug}from'@/common/utils/log';export class MusicSign{[_0x5a1b21(0xde)];constructor(_0x5d02e5){var _0x372438=_0x5a1b21;this[_0x372438(0xde)]=_0x5d02e5;}[_0x5a1b21(0xe8)](_0x2edbd4){var _0x34d197=_0x5a1b21,_0x3c5da4={'kudWc':function(_0x448210,_0x7f5f67){return _0x448210(_0x7f5f67);},'pzNpQ':function(_0x26028b,_0x1a4151,_0x3fb62a){return _0x26028b(_0x1a4151,_0x3fb62a);},'LUUmq':'音乐消息生成成功','nLcTy':_0x34d197(0xd5)};return new Promise((_0x32ccc5,_0x58a1e6)=>{var _0x44ab3f=_0x34d197,_0x143330={'QcUHM':function(_0x18f300,_0x6f6e52,_0x513f55){return _0x3c5da4['pzNpQ'](_0x18f300,_0x6f6e52,_0x513f55);},'MOlNJ':_0x3c5da4[_0x44ab3f(0xe1)]};_0x3c5da4[_0x44ab3f(0xdb)](fetch,this[_0x44ab3f(0xde)],{'method':_0x3c5da4[_0x44ab3f(0xd7)],'headers':{'Content-Type':_0x44ab3f(0xe5)},'body':JSON[_0x44ab3f(0xd4)](_0x2edbd4)})[_0x44ab3f(0xe6)](_0x23d62d=>{var _0x428b65=_0x44ab3f;return!_0x23d62d['ok']&&_0x3c5da4[_0x428b65(0xdf)](_0x58a1e6,_0x23d62d[_0x428b65(0xea)]),_0x23d62d[_0x428b65(0xd1)]();})[_0x44ab3f(0xe6)](_0x49f4c4=>{var _0xd87e24=_0x44ab3f;_0x143330[_0xd87e24(0xd8)](logDebug,_0x143330[_0xd87e24(0xda)],_0x49f4c4),_0x32ccc5(_0x49f4c4);})[_0x44ab3f(0xd0)](_0x20ca5d=>{_0x58a1e6(_0x20ca5d);});});}} \ 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 6f7097ec..86f3bc0f 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x49a647=_0x3411;(function(_0x2c10a8,_0x5baea3){const _0x11d725=_0x3411,_0x522753=_0x2c10a8();while(!![]){try{const _0x7fd982=parseInt(_0x11d725(0x21f))/0x1*(parseInt(_0x11d725(0x21a))/0x2)+-parseInt(_0x11d725(0x224))/0x3*(parseInt(_0x11d725(0x211))/0x4)+parseInt(_0x11d725(0x229))/0x5*(parseInt(_0x11d725(0x1e7))/0x6)+-parseInt(_0x11d725(0x1e9))/0x7*(parseInt(_0x11d725(0x209))/0x8)+parseInt(_0x11d725(0x204))/0x9*(parseInt(_0x11d725(0x1fc))/0xa)+parseInt(_0x11d725(0x21c))/0xb*(parseInt(_0x11d725(0x1f7))/0xc)+-parseInt(_0x11d725(0x1e2))/0xd;if(_0x7fd982===_0x5baea3)break;else _0x522753['push'](_0x522753['shift']());}catch(_0x36cb76){_0x522753['push'](_0x522753['shift']());}}}(_0x4bce,0x736bc));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x3411(_0x3c8ab2,_0x2ec85c){const _0x4bce81=_0x4bce();return _0x3411=function(_0x341128,_0x109f66){_0x341128=_0x341128-0x1e1;let _0x2295b3=_0x4bce81[_0x341128];return _0x2295b3;},_0x3411(_0x3c8ab2,_0x2ec85c);}function _0x4bce(){const _0xaff4a0=['aUzIs','swWxo','getSelfInfo','40uaDkCQ','clientKey','11ghPuXM','get','setHeader','29113SiLHxF','DlXUU','assign','BsnzQ','kZgcg','42AnYxre','errMsg','getRobotUinRange','oOreJ','PskeyData','175dowVKp','KjJnp','PskeyTime','10237487irdeSK','set','getRobotService','CreatTime','ekWOU','142134ofEDvL','NaShT','14QjSivT','keyIndex','getProfileService','LuNLX','push','uin','getPSkey','ZWvKG','iKfSK','Skey','yRhet','getSkey','getMsgService','setStatus','1895244uotJnL','gxxrD','entries','robotUinRanges','result','10vPdlRO','KScrK','onLoginSuccess','onProfileDetailInfoChanged','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','response','pMmjV','getProfileLikeService','178497VpKSnR','setQQAvatar','forceFetchClientKey','skey','forEach','625160wobZKp','session','then','getUserDetailInfo\x20timeout','like','length','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','now','49312bIbUES','setSelfOnlineStatus','getUserDetailInfoWithBizInfo','YnyeI','uid','fromEntries'];_0x4bce=function(){return _0xaff4a0;};return _0x4bce();}import{HttpGetCookies}from'../../../common/utils/request';import{logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x49a647(0x1ff)]=_0x32d816=>{const _0x2453e9=_0x49a647;userInfoCache[_0x32d816[_0x2453e9(0x215)]]=_0x32d816,userDetailHandlers[_0x2453e9(0x208)](_0x238679=>_0x238679(_0x32d816));},setTimeout(()=>{const _0x2f19f9=_0x49a647;napCatCore[_0x2f19f9(0x1fe)](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async[_0x49a647(0x212)](_0x14cead,_0x17759b,_0x5e548a){const _0x31b817=_0x49a647;return napCatCore['session'][_0x31b817(0x1f5)]()[_0x31b817(0x1f6)]({'status':_0x14cead,'extStatus':_0x17759b,'batteryStatus':_0x5e548a});}static async[_0x49a647(0x20d)](_0x18f1ea,_0x476f91=0x1){const _0x55224b=_0x49a647;return napCatCore[_0x55224b(0x20a)][_0x55224b(0x203)]()['setBuddyProfileLike']({'friendUid':_0x18f1ea,'sourceId':0x47,'doLikeCount':_0x476f91,'doLikeTollCount':0x0});}static async[_0x49a647(0x205)](_0x47f3a9){const _0x55a8fe=_0x49a647,_0x127593=napCatCore[_0x55a8fe(0x20a)][_0x55a8fe(0x1eb)]()[_0x55a8fe(0x21e)](_0x47f3a9);return{'result':_0x127593?.[_0x55a8fe(0x1fb)],'errMsg':_0x127593?.['errMsg']};}static async[_0x49a647(0x219)](){}static async['getUserInfo'](_0xb26268){}static async['getUserDetailInfo'](_0x429ba4){const _0x232b97=_0x49a647,_0x3ab293={'yRhet':_0x232b97(0x20c),'DlXUU':function(_0x5e87bd,_0x16b0fa){return _0x5e87bd===_0x16b0fa;},'visyy':function(_0x2ee567){return _0x2ee567();}},_0x47ac05=napCatCore[_0x232b97(0x20a)][_0x232b97(0x1eb)]();return new Promise((_0x235f67,_0x132988)=>{const _0x1c7194=_0x232b97,_0x4dbbdf={'kZgcg':function(_0x2b9678,_0x1acc3c){const _0x471783=_0x3411;return _0x3ab293[_0x471783(0x220)](_0x2b9678,_0x1acc3c);},'ZWvKG':function(_0x533ed1,_0x58af3a){return _0x533ed1(_0x58af3a);}},_0x308583=_0x3ab293['visyy'](randomUUID);let _0x154db4=![];setTimeout(()=>{const _0x17ec71=_0x3411;!_0x154db4&&_0x132988(_0x3ab293[_0x17ec71(0x1f3)]);},0x1388),userDetailHandlers[_0x1c7194(0x1e3)](_0x308583,_0x1e98c9=>{const _0x22877b=_0x1c7194;_0x4dbbdf[_0x22877b(0x223)](_0x1e98c9['uid'],_0x429ba4)&&(_0x154db4=!![],userDetailHandlers['delete'](_0x308583),_0x4dbbdf[_0x22877b(0x1f0)](_0x235f67,_0x1e98c9));}),_0x47ac05[_0x1c7194(0x213)](_0x429ba4,[0x0])[_0x1c7194(0x20b)](_0xab2ed6=>{});});}static async[_0x49a647(0x1ef)](_0x480f6d,_0x1ef817=!![]){const _0x13fd20=_0x49a647,_0xc90908={'YnyeI':function(_0x44c738,_0x4f2968){return _0x44c738||_0x4f2968;},'aUzIs':function(_0x2e9959,_0x29d94a){return _0x2e9959>_0x29d94a;},'IwumI':function(_0x4b78fb,_0x4fc415){return _0x4b78fb-_0x4fc415;},'BsnzQ':function(_0x44a251,_0x4d86b7){return _0x44a251>_0x4d86b7;},'KjJnp':function(_0x12150f,_0x4cb6ea){return _0x12150f===_0x4cb6ea;},'oOreJ':'获取Pskey失败'};let _0x3b0f1e=[],_0x5286df={};for(let _0x102427 in _0x480f6d){let _0x3a8a84=Credentials['PskeyData'][_0x13fd20(0x21d)](_0x480f6d[_0x102427]),_0x590bc7=Credentials[_0x13fd20(0x1e1)][_0x13fd20(0x21d)](_0x480f6d[_0x102427]);_0xc90908[_0x13fd20(0x214)](!_0x3a8a84,!_0x590bc7)||_0xc90908[_0x13fd20(0x217)](_0xc90908['IwumI'](Date[_0x13fd20(0x210)](),_0x590bc7),0x708*0x3e8)||!_0x1ef817?_0x3b0f1e[_0x13fd20(0x1ed)](_0x480f6d[_0x102427]):_0x5286df[_0x480f6d[_0x102427]]=_0x3a8a84;}let _0x4731c9={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0xc90908[_0x13fd20(0x222)](_0x3b0f1e[_0x13fd20(0x20e)],0x0)&&(_0x4731c9=await napCatCore[_0x13fd20(0x20a)]['getTipOffService']()['getPskey'](_0x3b0f1e,!![]));let _0x19750e=_0x4731c9['domainPskeyMap'];for(let _0x12f340 of _0x19750e[_0x13fd20(0x1f9)]()){Credentials[_0x13fd20(0x228)][_0x13fd20(0x1e3)](_0x12f340[0x0],_0x12f340[0x1]),Credentials[_0x13fd20(0x1e1)][_0x13fd20(0x1e3)](_0x12f340[0x0],Date['now']());}let _0xbb9627=Object[_0x13fd20(0x221)](Object[_0x13fd20(0x216)](_0x19750e),_0x5286df);if(_0xc90908[_0x13fd20(0x22a)](_0x4731c9[_0x13fd20(0x1fb)],0x0))return _0xbb9627;else logError(_0xc90908[_0x13fd20(0x227)],_0x4731c9[_0x13fd20(0x225)]);return{};}static async[_0x49a647(0x226)](){const _0x586921=_0x49a647,_0x51933d=await napCatCore[_0x586921(0x20a)][_0x586921(0x1e4)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x51933d?.[_0x586921(0x201)]?.[_0x586921(0x1fa)];}static async[_0x49a647(0x1f4)](_0x294c84=!![]){const _0xaef6e1=_0x49a647,_0x2fd556={'NaShT':function(_0x553a00,_0xbaf0e4){return _0x553a00==_0xbaf0e4;},'dhYlC':function(_0x44caaf,_0xa1751f){return _0x44caaf>_0xa1751f;},'pMmjV':function(_0x1fb5fa,_0xb70270){return _0x1fb5fa-_0xb70270;},'ekWOU':function(_0x3bbbf8,_0x5c74c4){return _0x3bbbf8*_0x5c74c4;},'swWxo':function(_0x396266,_0x5c8280){return _0x396266!==_0x5c8280;},'gxxrD':function(_0x5df8f8,_0x2a44ee){return _0x5df8f8+_0x2a44ee;},'iKfSK':function(_0xd16177,_0x3d4dbd){return _0xd16177+_0x3d4dbd;},'KbCWy':function(_0x10f1c7,_0x39667b){return _0x10f1c7+_0x39667b;},'XvVvg':'&clientkey=','KScrK':_0xaef6e1(0x20f),'hmyAy':function(_0x4b394e,_0xfd7a6f){return _0x4b394e(_0xfd7a6f);},'LuNLX':_0xaef6e1(0x207)};try{if(_0x2fd556[_0xaef6e1(0x1e8)](Credentials['CreatTime'],0x0)||_0x2fd556['dhYlC'](_0x2fd556[_0xaef6e1(0x202)](Date[_0xaef6e1(0x210)](),Credentials[_0xaef6e1(0x1e5)]),_0x2fd556[_0xaef6e1(0x1e6)](0x3e8,0xe10))||!_0x294c84){const _0x3933d1=await napCatCore[_0xaef6e1(0x20a)]['getTicketService']()[_0xaef6e1(0x206)]('');if(_0x2fd556[_0xaef6e1(0x218)](_0x3933d1['result'],0x0))return'';const _0x33010a=_0x3933d1[_0xaef6e1(0x21b)],_0x261f2b=_0x3933d1[_0xaef6e1(0x1ea)],_0x318f4c=_0x2fd556[_0xaef6e1(0x1f8)](_0x2fd556[_0xaef6e1(0x1f1)](_0x2fd556['gxxrD'](_0x2fd556['KbCWy'](_0xaef6e1(0x200),selfInfo[_0xaef6e1(0x1ee)]),_0x2fd556['XvVvg']),_0x33010a)+_0x2fd556[_0xaef6e1(0x1fd)],_0x261f2b),_0x5d7b4e=await _0x2fd556['hmyAy'](HttpGetCookies,_0x318f4c),_0x1d03bc=_0x5d7b4e['get'](_0x2fd556[_0xaef6e1(0x1ec)]);if(!_0x1d03bc)return'';return Credentials[_0xaef6e1(0x1e5)]=Date[_0xaef6e1(0x210)](),Credentials[_0xaef6e1(0x1f2)]=_0x1d03bc,_0x1d03bc;}return Credentials[_0xaef6e1(0x1f2)];}catch(_0x37f399){}return undefined;}} \ No newline at end of file +function _0x2f24(){const _0xb7bf2e=['delete','set','skey','onProfileDetailInfoChanged','7gTSctb','getRobotUinRange','result','session','getUserDetailInfoWithBizInfo','uid','getTicketService','&clientkey=','rRLKC','askli','onLoginSuccess','ohsIN','forceFetchClientKey','lfeYZ','11147150tdPYpw','6840305pZpJcw','atlNm','robotUinRanges','errMsg','get','DwrQA','keyIndex','5484087ksACaL','uin','14711103oBgRAm','HvrBa','232908TwycBi','push','setHeader','pBgLm','PskeyTime','BSedR','getPskey','Skey','148flQhBg','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','getTipOffService','forEach','获取Pskey失败','16XbPnMc','5tcqxeZ','545782JlaPRp','getPSkey','zAejj','domainPskeyMap','jPSlv','PskeyData','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','setSelfOnlineStatus','SbCCB','entries','getSkey','now','RAhPG','20778OSlnDm','getRobotService','GXlJI','getProfileService','lrGdt','CreatTime','getUserInfo','length','setStatus','response','clientKey','getUserDetailInfo\x20timeout','setBuddyProfileLike','fromEntries'];_0x2f24=function(){return _0xb7bf2e;};return _0x2f24();}const _0x315752=_0x3cb3;(function(_0x26292c,_0x4ff3ef){const _0x3a6ae8=_0x3cb3,_0x109125=_0x26292c();while(!![]){try{const _0x5bdd16=-parseInt(_0x3a6ae8(0x9b))/0x1*(parseInt(_0x3a6ae8(0x9c))/0x2)+-parseInt(_0x3a6ae8(0xa9))/0x3*(parseInt(_0x3a6ae8(0x95))/0x4)+parseInt(_0x3a6ae8(0xca))/0x5+-parseInt(_0x3a6ae8(0x8d))/0x6*(parseInt(_0x3a6ae8(0xbb))/0x7)+-parseInt(_0x3a6ae8(0x9a))/0x8*(-parseInt(_0x3a6ae8(0x89))/0x9)+parseInt(_0x3a6ae8(0xc9))/0xa+-parseInt(_0x3a6ae8(0x8b))/0xb;if(_0x5bdd16===_0x4ff3ef)break;else _0x109125['push'](_0x109125['shift']());}catch(_0x515139){_0x109125['push'](_0x109125['shift']());}}}(_0x2f24,0xac02a));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';function _0x3cb3(_0x5f2f47,_0x2f7b05){const _0x2f2485=_0x2f24();return _0x3cb3=function(_0x3cb39f,_0x2ae1cc){_0x3cb39f=_0x3cb39f-0x88;let _0x4b40db=_0x2f2485[_0x3cb39f];return _0x4b40db;},_0x3cb3(_0x5f2f47,_0x2f7b05);}import{randomUUID}from'crypto';import{HttpGetCookies}from'../../../common/utils/request';import{logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x315752(0xba)]=_0x41d7db=>{const _0xab3d51=_0x315752;userInfoCache[_0x41d7db[_0xab3d51(0xc0)]]=_0x41d7db,userDetailHandlers[_0xab3d51(0x98)](_0x18768f=>_0x18768f(_0x41d7db));},setTimeout(()=>{const _0x3ee0c4=_0x315752;napCatCore[_0x3ee0c4(0xc5)](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async[_0x315752(0xa3)](_0x3b58bb,_0x3dad2b,_0x5510a7){const _0x42ec84=_0x315752;return napCatCore['session']['getMsgService']()[_0x42ec84(0xb1)]({'status':_0x3b58bb,'extStatus':_0x3dad2b,'batteryStatus':_0x5510a7});}static async['like'](_0x1217c5,_0xbbbff2=0x1){const _0x1e039d=_0x315752;return napCatCore[_0x1e039d(0xbe)]['getProfileLikeService']()[_0x1e039d(0xb5)]({'friendUid':_0x1217c5,'sourceId':0x47,'doLikeCount':_0xbbbff2,'doLikeTollCount':0x0});}static async['setQQAvatar'](_0x332b22){const _0x16817a=_0x315752,_0x135bea=napCatCore[_0x16817a(0xbe)][_0x16817a(0xac)]()[_0x16817a(0x8f)](_0x332b22);return{'result':_0x135bea?.[_0x16817a(0xbd)],'errMsg':_0x135bea?.[_0x16817a(0xcd)]};}static async['getSelfInfo'](){}static async[_0x315752(0xaf)](_0x5747ce){}static async['getUserDetailInfo'](_0x48f559){const _0x2e41d1=_0x315752,_0x11d0a4={'DwrQA':function(_0x5ec645,_0x1b4c2a){return _0x5ec645(_0x1b4c2a);},'ohsIN':_0x2e41d1(0xb4),'lrGdt':function(_0x17f0f5){return _0x17f0f5();},'hRHoW':function(_0x577d24,_0xbb43fc,_0x2b6d63){return _0x577d24(_0xbb43fc,_0x2b6d63);}},_0x45b681=napCatCore['session'][_0x2e41d1(0xac)]();return new Promise((_0x15920c,_0x1b2074)=>{const _0x4872f2=_0x2e41d1,_0x2d0c4e={'lfeYZ':function(_0x5551de,_0x58470f){const _0xa4ffe9=_0x3cb3;return _0x11d0a4[_0xa4ffe9(0xcf)](_0x5551de,_0x58470f);},'bZhMw':_0x11d0a4[_0x4872f2(0xc6)]},_0x4237d8=_0x11d0a4[_0x4872f2(0xad)](randomUUID);let _0xdbb731=![];_0x11d0a4['hRHoW'](setTimeout,()=>{const _0x245e54=_0x4872f2;!_0xdbb731&&_0x2d0c4e[_0x245e54(0xc8)](_0x1b2074,_0x2d0c4e['bZhMw']);},0x1388),userDetailHandlers[_0x4872f2(0xb8)](_0x4237d8,_0x33f8f0=>{const _0x2fd92b=_0x4872f2;_0x33f8f0[_0x2fd92b(0xc0)]===_0x48f559&&(_0xdbb731=!![],userDetailHandlers[_0x2fd92b(0xb7)](_0x4237d8),_0x15920c(_0x33f8f0));}),_0x45b681[_0x4872f2(0xbf)](_0x48f559,[0x0])['then'](_0x5084d7=>{});});}static async[_0x315752(0x9d)](_0x40dd01,_0x507570=!![]){const _0x53eeb8=_0x315752,_0x26bbc0={'RAhPG':function(_0x595fc8,_0x1f124f){return _0x595fc8>_0x1f124f;},'rRLKC':function(_0x5b69c9,_0x556e65){return _0x5b69c9-_0x556e65;},'mEwsw':_0x53eeb8(0x99)};let _0x44b520=[],_0x53425d={};for(let _0x2df0f0 in _0x40dd01){let _0x5e6026=Credentials[_0x53eeb8(0xa1)][_0x53eeb8(0xce)](_0x40dd01[_0x2df0f0]),_0x9f5fdf=Credentials['PskeyTime']['get'](_0x40dd01[_0x2df0f0]);!_0x5e6026||!_0x9f5fdf||_0x26bbc0[_0x53eeb8(0xa8)](_0x26bbc0[_0x53eeb8(0xc3)](Date[_0x53eeb8(0xa7)](),_0x9f5fdf),0x708*0x3e8)||!_0x507570?_0x44b520[_0x53eeb8(0x8e)](_0x40dd01[_0x2df0f0]):_0x53425d[_0x40dd01[_0x2df0f0]]=_0x5e6026;}let _0x7a93a2={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x26bbc0[_0x53eeb8(0xa8)](_0x44b520[_0x53eeb8(0xb0)],0x0)&&(_0x7a93a2=await napCatCore[_0x53eeb8(0xbe)][_0x53eeb8(0x97)]()[_0x53eeb8(0x93)](_0x44b520,!![]));let _0x1064d2=_0x7a93a2[_0x53eeb8(0x9f)];for(let _0x3fd8d5 of _0x1064d2[_0x53eeb8(0xa5)]()){Credentials[_0x53eeb8(0xa1)][_0x53eeb8(0xb8)](_0x3fd8d5[0x0],_0x3fd8d5[0x1]),Credentials[_0x53eeb8(0x91)]['set'](_0x3fd8d5[0x0],Date['now']());}let _0x954148=Object['assign'](Object[_0x53eeb8(0xb6)](_0x1064d2),_0x53425d);if(_0x7a93a2[_0x53eeb8(0xbd)]===0x0)return _0x954148;else logError(_0x26bbc0['mEwsw'],_0x7a93a2[_0x53eeb8(0xcd)]);return{};}static async[_0x315752(0xbc)](){const _0x28eabf=_0x315752,_0x32d75f=await napCatCore['session'][_0x28eabf(0xaa)]()[_0x28eabf(0xbc)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x32d75f?.[_0x28eabf(0xb2)]?.[_0x28eabf(0xcc)];}static async[_0x315752(0xa6)](_0x478ffa=!![]){const _0x3dbebd=_0x315752,_0x216874={'zAejj':function(_0x1e04aa,_0x57eddf){return _0x1e04aa==_0x57eddf;},'bUhzF':function(_0x4ae02c,_0x157478){return _0x4ae02c>_0x157478;},'pBgLm':function(_0x2948af,_0x130cff){return _0x2948af*_0x130cff;},'mPfFp':function(_0xd8cdc2,_0x1a808e){return _0xd8cdc2!==_0x1a808e;},'askli':function(_0x10fff6,_0x5ebf26){return _0x10fff6+_0x5ebf26;},'GXlJI':function(_0x2a7c6c,_0x1bc684){return _0x2a7c6c+_0x1bc684;},'HvrBa':_0x3dbebd(0xa2),'atlNm':_0x3dbebd(0xc2),'jPSlv':_0x3dbebd(0x96),'SbCCB':function(_0x418c3a,_0x54bb92){return _0x418c3a(_0x54bb92);},'BSedR':_0x3dbebd(0xb9)};try{if(_0x216874[_0x3dbebd(0x9e)](Credentials[_0x3dbebd(0xae)],0x0)||_0x216874['bUhzF'](Date[_0x3dbebd(0xa7)]()-Credentials['CreatTime'],_0x216874[_0x3dbebd(0x90)](0x3e8,0xe10))||!_0x478ffa){const _0x1d111c=await napCatCore[_0x3dbebd(0xbe)][_0x3dbebd(0xc1)]()[_0x3dbebd(0xc7)]('');if(_0x216874['mPfFp'](_0x1d111c[_0x3dbebd(0xbd)],0x0))return'';const _0x4aac0e=_0x1d111c[_0x3dbebd(0xb3)],_0x3e5b58=_0x1d111c[_0x3dbebd(0x88)],_0x241ff4=_0x216874[_0x3dbebd(0xc4)](_0x216874['GXlJI'](_0x216874[_0x3dbebd(0xab)](_0x216874[_0x3dbebd(0xc4)](_0x216874[_0x3dbebd(0x8c)],selfInfo[_0x3dbebd(0x8a)]),_0x216874[_0x3dbebd(0xcb)])+_0x4aac0e,_0x216874[_0x3dbebd(0xa0)]),_0x3e5b58),_0x48705a=await _0x216874[_0x3dbebd(0xa4)](HttpGetCookies,_0x241ff4),_0x4c2e65=_0x48705a['get'](_0x216874[_0x3dbebd(0x92)]);if(!_0x4c2e65)return'';return Credentials[_0x3dbebd(0xae)]=Date[_0x3dbebd(0xa7)](),Credentials[_0x3dbebd(0x94)]=_0x4c2e65,_0x4c2e65;}return Credentials[_0x3dbebd(0x94)];}catch(_0xce16ad){}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 1aa0d322..1bb3efd9 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -function _0x5918(){const _0x2dae9f=['getPSkey','webapi\x20获取群成员','DKyKS','YniTt','POST','application/x-www-form-urlencoded','7973900MppQQX','mems','HifCK','HbpET',';\x20p_uin=o','SlRWI','HEAD','charCodeAt','xxqMY','oLhYR','&page_limit=20','31643573OMBnJJ','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','bMBWv','GGlET',';\x20uin=o','CZnJX','QwVMl','aRizY','qun.qq.com','GET','httpDataText','push','tVHoR','WCkFW','&bkn=','vlkPi','COOrU','TkpwW','thcqS','getGrouptNotice','getGroupMembers','128040nqcApf','tlhwB','BtXrW','hQhLz','BBpxF','wJgFm','genBkn','oHUbG','&sort=1&gc=','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','559092swvXuT','qid=','396MrZgjD','YiCCm','189QJQWrm','Ecwuj','pIKkA','BUpUd','&page_start=','AjbYH','15JNpSde','SoqaD','text','axyRs','12xWQbQJ','wuGuB','&group_code=','iyeiz','XzLHx','HoZVD','HRXgL','GroupTime','IHYqI','ZrseO','FwjGj','18310opBAym','AFopo','MBWKm','unXBt','&qid=','get','RzMTr','KQDFF','kTwNE','VZxeZ',';\x20skey=','fcYet','kQRSk','3942aEETBC','NYLXW','BtZHX','OTOIp','&text=','2EwChrC','oJJdw','p_skey=','GroupData','json','dRaMf','xhzWJ','now','acWir','set','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','gAIsI','IZouy','setGroupNotice','65055ALONMW','ceil','uin','httpDataJson','aEdKF','getSkey','count','&end=','errcode','258202gyzGME'];_0x5918=function(){return _0x2dae9f;};return _0x5918();}function _0x3e7b(_0x17d059,_0x5cb90a){const _0x5918d2=_0x5918();return _0x3e7b=function(_0x3e7ba3,_0x39d4d7){_0x3e7ba3=_0x3e7ba3-0x11a;let _0x5ec9df=_0x5918d2[_0x3e7ba3];return _0x5ec9df;},_0x3e7b(_0x17d059,_0x5cb90a);}const _0x4fd49f=_0x3e7b;(function(_0x10448a,_0x4d584b){const _0x28bc51=_0x3e7b,_0x2c02b5=_0x10448a();while(!![]){try{const _0x31a2c9=parseInt(_0x28bc51(0x141))/0x1*(-parseInt(_0x28bc51(0x12a))/0x2)+-parseInt(_0x28bc51(0x17c))/0x3*(-parseInt(_0x28bc51(0x172))/0x4)+-parseInt(_0x28bc51(0x138))/0x5*(-parseInt(_0x28bc51(0x174))/0x6)+parseInt(_0x28bc51(0x176))/0x7*(parseInt(_0x28bc51(0x168))/0x8)+parseInt(_0x28bc51(0x125))/0x9*(parseInt(_0x28bc51(0x18b))/0xa)+parseInt(_0x28bc51(0x148))/0xb+-parseInt(_0x28bc51(0x180))/0xc*(parseInt(_0x28bc51(0x153))/0xd);if(_0x31a2c9===_0x4d584b)break;else _0x2c02b5['push'](_0x2c02b5['shift']());}catch(_0x3f8d18){_0x2c02b5['push'](_0x2c02b5['shift']());}}}(_0x5918,0xc93d9));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';export class WebApi{static async['getGroupEssenceMsg'](_0x9c24a7,_0x20fc67){const _0x333572=_0x3e7b,_0x4afba1={'YniTt':'qun.qq.com','Ecwuj':function(_0x4231ce,_0x5d0add){return _0x4231ce+_0x5d0add;},'unXBt':function(_0x516026,_0x29d773){return _0x516026+_0x29d773;},'hQhLz':function(_0x74f9e9,_0x41a7b5){return _0x74f9e9+_0x41a7b5;},'oLhYR':';\x20skey=','EDpJW':function(_0x552844,_0x4e2a51){return _0x552844||_0x4e2a51;},'SoqaD':function(_0x593773,_0x1333b5){return _0x593773+_0x1333b5;},'TkpwW':function(_0x1acd63,_0x2d41fe){return _0x1acd63+_0x2d41fe;},'nBnSv':function(_0xe37bc,_0x4378bc){return _0xe37bc+_0x4378bc;},'tVHoR':_0x333572(0x182),'oHUbG':_0x333572(0x152),'kQRSk':function(_0x41c491,_0xa6beff){return _0x41c491!==_0xa6beff;}},_0x2fd12f=(await NTQQUserApi[_0x333572(0x142)]([_0x4afba1[_0x333572(0x145)]]))[_0x4afba1[_0x333572(0x145)]],_0xd408ef=await NTQQUserApi[_0x333572(0x13d)](),_0x217088=_0x4afba1[_0x333572(0x177)](_0x4afba1[_0x333572(0x11b)](_0x4afba1['Ecwuj'](_0x4afba1[_0x333572(0x16b)]('p_skey=',_0x2fd12f)+_0x4afba1[_0x333572(0x151)],_0xd408ef),_0x333572(0x14c))+selfInfo[_0x333572(0x13a)]+_0x333572(0x157),selfInfo[_0x333572(0x13a)]);if(_0x4afba1['EDpJW'](!_0xd408ef,!_0x2fd12f))return undefined;const _0x3b4a68=WebApi['genBkn'](_0xd408ef),_0x673dc1=_0x4afba1[_0x333572(0x11b)](_0x4afba1[_0x333572(0x17d)](_0x4afba1[_0x333572(0x164)](_0x4afba1['nBnSv']('https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=',_0x3b4a68),_0x4afba1[_0x333572(0x15f)]),_0x9c24a7)+_0x333572(0x17a)+_0x20fc67,_0x4afba1[_0x333572(0x16f)]),_0x2ca919=await WebApi[_0x333572(0x13b)](_0x673dc1,'GET','',_0x217088);if(_0x4afba1[_0x333572(0x124)](_0x2ca919['retcode'],0x0))return undefined;return _0x2ca919;}static async[_0x4fd49f(0x167)](_0x394d7c,_0x3b334e=!![]){const _0x42c1d6=_0x4fd49f,_0x498a77={'gAIsI':_0x42c1d6(0x143),'HLnrN':function(_0x5be84f,_0x56b7f6){return _0x5be84f-_0x56b7f6;},'CkWnu':_0x42c1d6(0x15b),'GGlET':function(_0x4bc487,_0x2792f5){return _0x4bc487+_0x2792f5;},'wJgFm':function(_0x5af371,_0x91626f){return _0x5af371+_0x91626f;},'EnGTk':_0x42c1d6(0x12c),'CZnJX':_0x42c1d6(0x122),'IHYqI':';\x20p_uin=o','tlhwB':function(_0x383ce7,_0x29246e){return _0x383ce7+_0x29246e;},'COOrU':function(_0x59f571,_0x596106){return _0x59f571+_0x596106;},'ZrseO':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','bMBWv':_0x42c1d6(0x146),'BBpxF':function(_0x27cca4,_0x6deee9){return _0x27cca4!==_0x6deee9;},'DKyKS':function(_0xeadd17,_0x50055a){return _0xeadd17/_0x50055a;},'YKLxK':function(_0x447f20,_0x23db9c){return _0x447f20<=_0x23db9c;},'oJJdw':function(_0x1594e0,_0x285be0){return _0x1594e0+_0x285be0;},'PuvSc':function(_0x21e73d,_0x1cbc95){return _0x21e73d+_0x1cbc95;},'HifCK':function(_0x5c404c,_0x7d211e){return _0x5c404c+_0x7d211e;},'kvXkT':_0x42c1d6(0x171),'QwVMl':function(_0x4de4db,_0x182729){return _0x4de4db-_0x182729;},'xhzWJ':function(_0x3443a0,_0x275163){return _0x3443a0*_0x275163;},'gmEJT':_0x42c1d6(0x170),'vlkPi':function(_0x316af6,_0x2bb9c6){return _0x316af6!==_0x2bb9c6;}};logDebug(_0x498a77[_0x42c1d6(0x135)],_0x394d7c);let _0x23c8bd=WebGroupData[_0x42c1d6(0x12d)][_0x42c1d6(0x11d)](_0x394d7c),_0x5632f0=WebGroupData[_0x42c1d6(0x187)][_0x42c1d6(0x11d)](_0x394d7c),_0x2f8d56=new Array();if(!_0x5632f0||_0x498a77['HLnrN'](Date[_0x42c1d6(0x131)](),_0x5632f0)>0x708*0x3e8||!_0x3b334e){const _0x315e4b=(await NTQQUserApi[_0x42c1d6(0x142)]([_0x42c1d6(0x15b)]))[_0x498a77['CkWnu']],_0x24ca0b=await NTQQUserApi[_0x42c1d6(0x13d)](),_0x3555b7=_0x498a77['GGlET'](_0x498a77[_0x42c1d6(0x156)](_0x498a77['GGlET'](_0x498a77[_0x42c1d6(0x16d)](_0x498a77['EnGTk'],_0x315e4b),_0x498a77[_0x42c1d6(0x158)]),_0x24ca0b)+_0x498a77[_0x42c1d6(0x188)],selfInfo[_0x42c1d6(0x13a)]);if(!_0x24ca0b||!_0x315e4b)return _0x2f8d56;const _0x517bcc=WebApi[_0x42c1d6(0x16e)](_0x24ca0b),_0x363bff=[],_0x3ac7a0=await WebApi[_0x42c1d6(0x13b)](_0x498a77[_0x42c1d6(0x169)](_0x498a77[_0x42c1d6(0x163)](_0x498a77[_0x42c1d6(0x189)]+_0x394d7c,_0x42c1d6(0x161)),_0x517bcc),_0x498a77[_0x42c1d6(0x155)],'',_0x3555b7);if(!_0x3ac7a0?.['count']||_0x498a77[_0x42c1d6(0x16c)](_0x3ac7a0?.[_0x42c1d6(0x140)],0x0)||!_0x3ac7a0?.[_0x42c1d6(0x149)])return[];else for(const _0xea3213 in _0x3ac7a0[_0x42c1d6(0x149)]){_0x2f8d56['push'](_0x3ac7a0['mems'][_0xea3213]);}const _0x12e61a=Math[_0x42c1d6(0x139)](_0x498a77[_0x42c1d6(0x144)](_0x3ac7a0['count'],0x28));for(let _0x586566=0x2;_0x498a77['YKLxK'](_0x586566,_0x12e61a);_0x586566++){const _0x2d6e8b=WebApi[_0x42c1d6(0x13b)](_0x498a77['COOrU'](_0x498a77[_0x42c1d6(0x12b)](_0x498a77[_0x42c1d6(0x12b)](_0x498a77['PuvSc'](_0x498a77['PuvSc'](_0x498a77[_0x42c1d6(0x14a)](_0x498a77['kvXkT'],_0x498a77[_0x42c1d6(0x159)](_0x586566,0x1)*0x28),_0x42c1d6(0x13f)),_0x498a77[_0x42c1d6(0x130)](_0x586566,0x28)),_0x498a77['gmEJT']),_0x394d7c)+_0x42c1d6(0x161),_0x517bcc),_0x498a77[_0x42c1d6(0x155)],'',_0x3555b7);_0x363bff[_0x42c1d6(0x15e)](_0x2d6e8b);}for(let _0x39631d=0x1;_0x39631d<=_0x12e61a;_0x39631d++){const _0x5605c6=await _0x363bff[_0x39631d];if(!_0x5605c6?.[_0x42c1d6(0x13e)]||_0x498a77[_0x42c1d6(0x162)](_0x5605c6?.['errcode'],0x0)||!_0x5605c6?.[_0x42c1d6(0x149)])continue;for(const _0x291701 in _0x5605c6[_0x42c1d6(0x149)]){_0x2f8d56[_0x42c1d6(0x15e)](_0x5605c6[_0x42c1d6(0x149)][_0x291701]);}}WebGroupData[_0x42c1d6(0x12d)][_0x42c1d6(0x133)](_0x394d7c,_0x2f8d56),WebGroupData[_0x42c1d6(0x187)][_0x42c1d6(0x133)](_0x394d7c,Date[_0x42c1d6(0x131)]());}else _0x2f8d56=_0x23c8bd;return _0x2f8d56;}static async[_0x4fd49f(0x137)](_0x1d5bde,_0x5cf013=''){const _0x382bc2=_0x4fd49f,_0x110c2e={'fcYet':_0x382bc2(0x15b),'HoZVD':function(_0x5a4218,_0x2d520c){return _0x5a4218+_0x2d520c;},'HRXgL':_0x382bc2(0x12c),'IZouy':';\x20p_uin=o','SlRWI':function(_0x1146ea,_0x454add){return _0x1146ea+_0x454add;},'wuGuB':_0x382bc2(0x173),'dRaMf':_0x382bc2(0x129),'aRizY':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','pbVnk':_0x382bc2(0x134),'MBWKm':'GET'},_0x357d56=(await NTQQUserApi[_0x382bc2(0x142)]([_0x110c2e[_0x382bc2(0x123)]]))['qun.qq.com'],_0x109a27=await NTQQUserApi['getSkey'](),_0x22e48a=_0x110c2e[_0x382bc2(0x185)](_0x110c2e[_0x382bc2(0x185)](_0x110c2e[_0x382bc2(0x185)](_0x110c2e[_0x382bc2(0x185)](_0x110c2e[_0x382bc2(0x186)]+_0x357d56,_0x382bc2(0x122)),_0x109a27),_0x110c2e[_0x382bc2(0x136)]),selfInfo['uin']);let _0x2d9e39=undefined;if(!_0x109a27||!_0x357d56)return undefined;const _0x3652e8=WebApi[_0x382bc2(0x16e)](_0x109a27),_0x2f7cea=_0x110c2e[_0x382bc2(0x185)](_0x110c2e[_0x382bc2(0x185)](_0x110c2e['HoZVD'](_0x110c2e[_0x382bc2(0x14d)](_0x110c2e[_0x382bc2(0x181)],_0x1d5bde),_0x382bc2(0x161)),_0x3652e8),_0x110c2e[_0x382bc2(0x12f)])+_0x5cf013+_0x110c2e[_0x382bc2(0x15a)],_0x462eec=_0x110c2e['pbVnk']+_0x3652e8;try{return _0x2d9e39=await WebApi['httpDataJson'](_0x462eec,_0x110c2e[_0x382bc2(0x11a)],'',_0x22e48a),_0x2d9e39;}catch(_0x760758){return undefined;}return undefined;}static async[_0x4fd49f(0x166)](_0x536d30){const _0x5485d5=_0x4fd49f,_0x1c4ca0={'axyRs':_0x5485d5(0x15b),'fdfNP':function(_0x23f67b,_0x3629fe){return _0x23f67b+_0x3629fe;},'BtXrW':function(_0x2c29d0,_0x58e5ce){return _0x2c29d0+_0x58e5ce;},'xxqMY':function(_0x5efbf9,_0x10a567){return _0x5efbf9+_0x10a567;},'sLRrH':';\x20skey=','YiCCm':';\x20p_uin=o','thcqS':function(_0x25a8a4,_0x2f7da2){return _0x25a8a4+_0x2f7da2;},'aEdKF':function(_0x3927c0,_0x2d8c1f){return _0x3927c0+_0x2d8c1f;},'Hppws':'https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','XzLHx':_0x5485d5(0x11c),'kTwNE':_0x5485d5(0x154),'iyeiz':_0x5485d5(0x15c),'pIKkA':function(_0x12e0d7,_0x270cdd){return _0x12e0d7!==_0x270cdd;}},_0x3b9292=(await NTQQUserApi[_0x5485d5(0x142)]([_0x1c4ca0[_0x5485d5(0x17f)]]))[_0x5485d5(0x15b)],_0x48b8ec=await NTQQUserApi[_0x5485d5(0x13d)](),_0x5bb049=_0x1c4ca0['fdfNP'](_0x1c4ca0[_0x5485d5(0x16a)](_0x1c4ca0['xxqMY'](_0x1c4ca0[_0x5485d5(0x16a)](_0x1c4ca0[_0x5485d5(0x16a)](_0x5485d5(0x12c),_0x3b9292),_0x1c4ca0['sLRrH']),_0x48b8ec),_0x1c4ca0[_0x5485d5(0x175)]),selfInfo[_0x5485d5(0x13a)]);let _0x140b9a=undefined;if(!_0x48b8ec||!_0x3b9292)return undefined;const _0x5789b8=WebApi['genBkn'](_0x48b8ec),_0x23302f=_0x1c4ca0[_0x5485d5(0x150)](_0x1c4ca0[_0x5485d5(0x165)](_0x1c4ca0[_0x5485d5(0x13c)](_0x1c4ca0['Hppws'],_0x5789b8)+_0x1c4ca0[_0x5485d5(0x184)],_0x536d30),_0x1c4ca0[_0x5485d5(0x120)]);try{_0x140b9a=await WebApi[_0x5485d5(0x13b)](_0x23302f,_0x1c4ca0[_0x5485d5(0x183)],'',_0x5bb049);if(_0x1c4ca0[_0x5485d5(0x178)](_0x140b9a?.['ec'],0x0))return undefined;return _0x140b9a;}catch(_0x359f14){return undefined;}return undefined;}static async[_0x4fd49f(0x15d)](_0x3a74d4='',_0xf9f252='GET',_0x3ebd89='',_0x2dc76f=''){const _0x12fb8e=_0x4fd49f,_0x1c1743={'bfvwd':function(_0x1e4224,_0x101f3c){return _0x1e4224===_0x101f3c;},'VZxeZ':_0x12fb8e(0x15c),'BUpUd':function(_0x420710,_0x32e8a9){return _0x420710===_0x32e8a9;},'acWir':_0x12fb8e(0x14e),'FwjGj':function(_0x4f433d,_0x2c0bf1,_0x8d7cce){return _0x4f433d(_0x2c0bf1,_0x8d7cce);},'OTOIp':_0x12fb8e(0x147),'AFopo':function(_0x564b09,_0x31a29d){return _0x564b09(_0x31a29d);}};let _0x56a4e1='';return new Promise(async(_0x4c1a42,_0x2c7556)=>{const _0x1f4c6e=_0x12fb8e;try{let _0x5a80a8=undefined;_0x1c1743['bfvwd'](_0xf9f252,_0x1c1743[_0x1f4c6e(0x121)])||_0x1c1743[_0x1f4c6e(0x179)](_0xf9f252,_0x1c1743[_0x1f4c6e(0x132)])?_0x5a80a8=await _0x1c1743[_0x1f4c6e(0x18a)](fetch,_0x3a74d4,{'method':_0xf9f252,'headers':{'Content-Type':_0x1c1743[_0x1f4c6e(0x128)],'Cookie':_0x2dc76f}}):_0x5a80a8=await fetch(_0x3a74d4,{'method':_0xf9f252,'headers':{'Content-Type':_0x1c1743[_0x1f4c6e(0x128)],'Cookie':_0x2dc76f},'body':_0x3ebd89});if(_0x5a80a8['ok'])_0x56a4e1=await _0x5a80a8[_0x1f4c6e(0x17e)]();else{}}catch(_0xa99c4e){}_0x1c1743[_0x1f4c6e(0x18c)](_0x4c1a42,_0x56a4e1);});}static async[_0x4fd49f(0x13b)](_0x86a70a='',_0x7dcab6=_0x4fd49f(0x15c),_0x4172dc='',_0x4298df=''){const _0x312b44=_0x4fd49f,_0x2a97e6={'AjbYH':function(_0x2e7eb0,_0x21e6cf){return _0x2e7eb0===_0x21e6cf;},'NYLXW':_0x312b44(0x15c),'HbpET':function(_0x44cfd4,_0x4a8f0f,_0x2728fc){return _0x44cfd4(_0x4a8f0f,_0x2728fc);},'RzMTr':_0x312b44(0x147),'BtZHX':function(_0x3b4c66,_0x38716b,_0x42deb3){return _0x3b4c66(_0x38716b,_0x42deb3);},'ZGkoP':function(_0xc3b31b,_0x1b1ec0){return _0xc3b31b(_0x1b1ec0);}};let _0x458ef1=undefined;return new Promise(async(_0x2c4090,_0x57cf9f)=>{const _0x75a8a8=_0x312b44;try{let _0x1974d0=undefined;_0x2a97e6[_0x75a8a8(0x17b)](_0x7dcab6,_0x2a97e6[_0x75a8a8(0x126)])||_0x2a97e6[_0x75a8a8(0x17b)](_0x7dcab6,_0x75a8a8(0x14e))?_0x1974d0=await _0x2a97e6[_0x75a8a8(0x14b)](fetch,_0x86a70a,{'method':_0x7dcab6,'headers':{'Content-Type':_0x2a97e6[_0x75a8a8(0x11e)],'Cookie':_0x4298df}}):_0x1974d0=await _0x2a97e6[_0x75a8a8(0x127)](fetch,_0x86a70a,{'method':_0x7dcab6,'headers':{'Content-Type':_0x75a8a8(0x147),'Cookie':_0x4298df},'body':_0x4172dc});if(_0x1974d0['ok'])_0x458ef1=await _0x1974d0[_0x75a8a8(0x12e)]();else{}}catch(_0x4a8201){}_0x2a97e6['ZGkoP'](_0x2c4090,_0x458ef1);});}static[_0x4fd49f(0x16e)](_0x1ab708){const _0x395fb9=_0x4fd49f,_0x1a29bd={'nvBdy':function(_0x32b237,_0x37393f){return _0x32b237||_0x37393f;},'estpc':function(_0x578ce2,_0x2b1bae){return _0x578ce2<_0x2b1bae;},'KQDFF':function(_0x411edc,_0x382f16){return _0x411edc+_0x382f16;},'WCkFW':function(_0x5f3351,_0x511c52){return _0x5f3351<<_0x511c52;},'byjvA':function(_0x2aa57c,_0x5032af){return _0x2aa57c&_0x5032af;}};_0x1ab708=_0x1a29bd['nvBdy'](_0x1ab708,'');let _0x56e44c=0x1505;for(let _0x486974=0x0;_0x1a29bd['estpc'](_0x486974,_0x1ab708['length']);_0x486974++){const _0x142734=_0x1ab708[_0x395fb9(0x14f)](_0x486974);_0x56e44c=_0x1a29bd[_0x395fb9(0x11f)](_0x56e44c+_0x1a29bd[_0x395fb9(0x160)](_0x56e44c,0x5),_0x142734);}return _0x1a29bd['byjvA'](_0x56e44c,0x7fffffff)['toString']();}} \ No newline at end of file +const _0x5997aa=_0x5871;(function(_0x3ca36a,_0x459117){const _0x1198af=_0x5871,_0xf20753=_0x3ca36a();while(!![]){try{const _0x10cfd4=parseInt(_0x1198af(0x155))/0x1*(parseInt(_0x1198af(0x10e))/0x2)+parseInt(_0x1198af(0x10d))/0x3+parseInt(_0x1198af(0x15c))/0x4*(-parseInt(_0x1198af(0x148))/0x5)+-parseInt(_0x1198af(0x14e))/0x6*(parseInt(_0x1198af(0x141))/0x7)+-parseInt(_0x1198af(0x10b))/0x8*(-parseInt(_0x1198af(0x123))/0x9)+parseInt(_0x1198af(0x15b))/0xa*(parseInt(_0x1198af(0x135))/0xb)+-parseInt(_0x1198af(0x11a))/0xc;if(_0x10cfd4===_0x459117)break;else _0xf20753['push'](_0xf20753['shift']());}catch(_0x47b236){_0xf20753['push'](_0xf20753['shift']());}}}(_0x1054,0x1c57a));function _0x1054(){const _0xa1264f=['pDuXd','genBkn','cGHOd','aDhWl','WobBw','httpDataJson','toString','64552HmOHbc','pCdtV','87654kwoLKn','132506qbjLON','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','set','LhaTh','jqicW','vuhjP','dqSlZ','UlGRT','UbGnM','nbBWW','getGroupEssenceMsg','get','1134492WXSGJg','qun.qq.com','SfhFC',';\x20skey=','vwpwD','&page_start=','xfhxZ','httpDataText','text','207DvhjcT','QrqSr','QdVzJ','&text=','mems','ERMbI','json','RBmNC','egyXM','Uwyzs','BscZE','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','&bkn=','xoitr','unYQe','RpDED','&sort=1&gc=','charCodeAt','55yuelRT','hlaDh','hZsCT','kUVxs','DUQHb','now','ghYGU','sjyUN','MEYhP','BMpXL','lkbAT','wMnee','7hoyRYi','getPSkey','qid=','euKBt','push','nBAfp','oWrAO','125unHzXw','ilVgj','qeVoV','retcode','getSkey','getGrouptNotice','719490VMbEID','webapi\x20获取群成员','HhrOU','XAbVK','PfONh','application/x-www-form-urlencoded','kcVTf','2fCYiUN','uin','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','FBzkY','gONxF','RsQKK','60020YUYBiZ','7484ZVPxwF','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','&group_code=','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','ZGjEs','HEAD','tCgFl','pApVa','UXRZQ','ouxih','beiFX','POST','ULORE','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','errcode','ceil','&end=','length','BrJea','ZySMj','count','eUVlj','DyVAA','GroupTime',';\x20p_uin=o',';\x20uin=o','IlFij','kZhZD','GroupData','LjuHh','GET','p_skey='];_0x1054=function(){return _0xa1264f;};return _0x1054();}import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x5871(_0x313cb3,_0x11b810){const _0x1054db=_0x1054();return _0x5871=function(_0x5871af,_0x575519){_0x5871af=_0x5871af-0xf2;let _0x20a57a=_0x1054db[_0x5871af];return _0x20a57a;},_0x5871(_0x313cb3,_0x11b810);}import{NTQQUserApi}from'./user';export class WebApi{static async[_0x5997aa(0x118)](_0xcff568,_0x5927a4){const _0x519be2=_0x5997aa,_0x2be47e={'RsQKK':_0x519be2(0x11b),'RpDED':function(_0x30120b,_0x24f15e){return _0x30120b+_0x24f15e;},'IlFij':function(_0x8133fa,_0x3c3eeb){return _0x8133fa+_0x3c3eeb;},'hlaDh':function(_0x5e8677,_0x55d096){return _0x5e8677+_0x55d096;},'lkbAT':_0x519be2(0x11d),'ZySMj':_0x519be2(0xfc),'hZsCT':_0x519be2(0xfd),'rrfVd':function(_0x4591f0,_0x4e6786){return _0x4591f0||_0x4e6786;},'LjuHh':function(_0x245855,_0x242b0c){return _0x245855+_0x242b0c;},'egyXM':function(_0x171798,_0x5b28d1){return _0x171798+_0x5b28d1;},'ERMbI':function(_0x15f727,_0x3b533d){return _0x15f727+_0x3b533d;},'unYQe':_0x519be2(0x15f),'EGgaS':_0x519be2(0x15e),'IciWu':_0x519be2(0x11f),'kZhZD':'&page_limit=20','pCdtV':function(_0x2ee554,_0x59266e){return _0x2ee554!==_0x59266e;}},_0x2c1b94=(await NTQQUserApi['getPSkey'](['qun.qq.com']))[_0x2be47e[_0x519be2(0x15a)]],_0x37fc09=await NTQQUserApi['getSkey'](),_0x55d34e=_0x2be47e['RpDED'](_0x2be47e[_0x519be2(0x132)](_0x2be47e[_0x519be2(0x132)](_0x2be47e[_0x519be2(0xfe)](_0x2be47e[_0x519be2(0x132)](_0x2be47e[_0x519be2(0xfe)](_0x2be47e[_0x519be2(0x136)](_0x519be2(0x103),_0x2c1b94),_0x2be47e[_0x519be2(0x13f)]),_0x37fc09),_0x2be47e[_0x519be2(0xf7)]),selfInfo[_0x519be2(0x156)]),_0x2be47e[_0x519be2(0x137)]),selfInfo[_0x519be2(0x156)]);if(_0x2be47e['rrfVd'](!_0x37fc09,!_0x2c1b94))return undefined;const _0x5c79e5=WebApi['genBkn'](_0x37fc09),_0x5953e3=_0x2be47e[_0x519be2(0x101)](_0x2be47e[_0x519be2(0x136)](_0x2be47e[_0x519be2(0x12b)](_0x2be47e[_0x519be2(0x128)](_0x2be47e[_0x519be2(0x131)]+_0x5c79e5,_0x2be47e['EGgaS']),_0xcff568),_0x2be47e['IciWu'])+_0x5927a4,_0x2be47e[_0x519be2(0xff)]),_0xe08fb7=await WebApi[_0x519be2(0x109)](_0x5953e3,_0x519be2(0x102),'',_0x55d34e);if(_0x2be47e[_0x519be2(0x10c)](_0xe08fb7[_0x519be2(0x14b)],0x0))return undefined;return _0xe08fb7;}static async['getGroupMembers'](_0xb1b14b,_0x428d0b=!![]){const _0x217bd6=_0x5997aa,_0x1300a4={'uhNYz':function(_0x47feb2,_0xafaa47,_0x4e65a9){return _0x47feb2(_0xafaa47,_0x4e65a9);},'sjyUN':function(_0x267404,_0x55d6a1){return _0x267404>_0x55d6a1;},'gONxF':function(_0x1c3f60,_0x51630c){return _0x1c3f60*_0x51630c;},'jedbP':'qun.qq.com','Uwyzs':function(_0x1daf6a,_0x395c16){return _0x1daf6a+_0x395c16;},'MEYhP':function(_0x203194,_0x4c3906){return _0x203194+_0x4c3906;},'RIlTm':_0x217bd6(0xfc),'BMpXL':function(_0x1095e1,_0x29985e){return _0x1095e1||_0x29985e;},'ghYGU':function(_0x31aa64,_0x9929ca){return _0x31aa64+_0x9929ca;},'nbBWW':function(_0x98ec7c,_0x220bf4){return _0x98ec7c+_0x220bf4;},'QdVzJ':_0x217bd6(0x15d),'euKBt':'&bkn=','FBzkY':_0x217bd6(0x167),'QrqSr':function(_0xa3bb7e,_0xd40eb0){return _0xa3bb7e!==_0xd40eb0;},'CkNgG':function(_0x100b8c,_0x465f61){return _0x100b8c/_0x465f61;},'vuhjP':function(_0x224daa,_0x41bb0d){return _0x224daa<=_0x41bb0d;},'kUVxs':function(_0x59ad7d,_0x481098){return _0x59ad7d+_0x481098;},'jqicW':function(_0x230ee3,_0x370bd1){return _0x230ee3+_0x370bd1;},'jdRBX':function(_0x4119a1,_0xb08684){return _0x4119a1+_0xb08684;},'HhrOU':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','FDHxg':_0x217bd6(0xf4),'BrJea':_0x217bd6(0x133),'DyVAA':function(_0x229f88,_0xf86dc2){return _0x229f88<=_0xf86dc2;}};_0x1300a4['uhNYz'](logDebug,_0x217bd6(0x14f),_0xb1b14b);let _0x192c34=WebGroupData[_0x217bd6(0x100)][_0x217bd6(0x119)](_0xb1b14b),_0x576a20=WebGroupData[_0x217bd6(0xfb)]['get'](_0xb1b14b),_0x39c310=new Array();if(!_0x576a20||_0x1300a4[_0x217bd6(0x13c)](Date[_0x217bd6(0x13a)]()-_0x576a20,_0x1300a4[_0x217bd6(0x159)](0x708,0x3e8))||!_0x428d0b){const _0x2ced7d=(await NTQQUserApi[_0x217bd6(0x142)]([_0x1300a4['jedbP']]))[_0x1300a4['jedbP']],_0x2412c3=await NTQQUserApi[_0x217bd6(0x14c)](),_0x479a64=_0x1300a4[_0x217bd6(0x12c)](_0x1300a4['MEYhP'](_0x1300a4['Uwyzs'](_0x1300a4[_0x217bd6(0x13d)]('p_skey=',_0x2ced7d),_0x217bd6(0x11d)),_0x2412c3),_0x1300a4['RIlTm'])+selfInfo[_0x217bd6(0x156)];if(_0x1300a4[_0x217bd6(0x13e)](!_0x2412c3,!_0x2ced7d))return _0x39c310;const _0x15aa50=WebApi[_0x217bd6(0x105)](_0x2412c3),_0x1d9b04=[],_0x42d30d=await WebApi[_0x217bd6(0x109)](_0x1300a4['ghYGU'](_0x1300a4[_0x217bd6(0x117)](_0x1300a4[_0x217bd6(0x125)]+_0xb1b14b,_0x1300a4[_0x217bd6(0x144)]),_0x15aa50),_0x1300a4[_0x217bd6(0x158)],'',_0x479a64);if(!_0x42d30d?.[_0x217bd6(0xf8)]||_0x1300a4['QrqSr'](_0x42d30d?.[_0x217bd6(0xf2)],0x0)||!_0x42d30d?.[_0x217bd6(0x127)])return[];else for(const _0x3be668 in _0x42d30d['mems']){_0x39c310['push'](_0x42d30d[_0x217bd6(0x127)][_0x3be668]);}const _0x250e50=Math[_0x217bd6(0xf3)](_0x1300a4['CkNgG'](_0x42d30d['count'],0x28));for(let _0x405363=0x2;_0x1300a4[_0x217bd6(0x113)](_0x405363,_0x250e50);_0x405363++){const _0x57f2fd=WebApi['httpDataJson'](_0x1300a4[_0x217bd6(0x13b)](_0x1300a4[_0x217bd6(0x138)](_0x1300a4[_0x217bd6(0x112)](_0x1300a4[_0x217bd6(0x12c)](_0x1300a4['jdRBX'](_0x1300a4[_0x217bd6(0x12c)](_0x1300a4[_0x217bd6(0x150)],_0x1300a4[_0x217bd6(0x159)](_0x405363-0x1,0x28)),_0x1300a4['FDHxg']),_0x405363*0x28)+_0x1300a4[_0x217bd6(0xf6)],_0xb1b14b),_0x217bd6(0x12f)),_0x15aa50),_0x1300a4['FBzkY'],'',_0x479a64);_0x1d9b04[_0x217bd6(0x145)](_0x57f2fd);}for(let _0x20da52=0x1;_0x1300a4[_0x217bd6(0xfa)](_0x20da52,_0x250e50);_0x20da52++){const _0x358ab8=await _0x1d9b04[_0x20da52];if(!_0x358ab8?.[_0x217bd6(0xf8)]||_0x1300a4[_0x217bd6(0x124)](_0x358ab8?.['errcode'],0x0)||!_0x358ab8?.[_0x217bd6(0x127)])continue;for(const _0x4ac4e9 in _0x358ab8[_0x217bd6(0x127)]){_0x39c310[_0x217bd6(0x145)](_0x358ab8[_0x217bd6(0x127)][_0x4ac4e9]);}}WebGroupData['GroupData'][_0x217bd6(0x110)](_0xb1b14b,_0x39c310),WebGroupData['GroupTime'][_0x217bd6(0x110)](_0xb1b14b,Date[_0x217bd6(0x13a)]());}else _0x39c310=_0x192c34;return _0x39c310;}static async['setGroupNotice'](_0x12e1ac,_0x187fa4=''){const _0x3e90eb=_0x5997aa,_0x4e8dba={'ilVgj':'qun.qq.com','aDhWl':function(_0x2559b0,_0x2e09fd){return _0x2559b0+_0x2e09fd;},'tCgFl':function(_0x536872,_0x32ac39){return _0x536872+_0x32ac39;},'vwpwD':function(_0xda6faf,_0x2253f9){return _0xda6faf+_0x2253f9;},'pDuXd':function(_0x4527be,_0x3a3c24){return _0x4527be+_0x3a3c24;},'ZNqAj':_0x3e90eb(0xfc),'ouxih':function(_0x3c44b1,_0x267f0e){return _0x3c44b1+_0x267f0e;},'LhaTh':function(_0x4174fa,_0x5e805c){return _0x4174fa+_0x5e805c;},'UbGnM':_0x3e90eb(0x126),'WobBw':_0x3e90eb(0x12e),'dqSlZ':_0x3e90eb(0x102)},_0x1eafc6=(await NTQQUserApi[_0x3e90eb(0x142)]([_0x3e90eb(0x11b)]))[_0x4e8dba[_0x3e90eb(0x149)]],_0x359379=await NTQQUserApi[_0x3e90eb(0x14c)](),_0x5d313c=_0x4e8dba['aDhWl'](_0x4e8dba['tCgFl'](_0x4e8dba[_0x3e90eb(0x107)](_0x4e8dba[_0x3e90eb(0x11e)](_0x4e8dba[_0x3e90eb(0x104)]('p_skey=',_0x1eafc6),_0x3e90eb(0x11d)),_0x359379),_0x4e8dba['ZNqAj']),selfInfo[_0x3e90eb(0x156)]);let _0x4fb847=undefined;if(!_0x359379||!_0x1eafc6)return undefined;const _0x14cd16=WebApi['genBkn'](_0x359379),_0x4921e2=_0x4e8dba[_0x3e90eb(0x162)](_0x4e8dba[_0x3e90eb(0x165)](_0x4e8dba[_0x3e90eb(0x11e)](_0x4e8dba[_0x3e90eb(0x104)](_0x4e8dba[_0x3e90eb(0x111)](_0x3e90eb(0x143),_0x12e1ac),_0x3e90eb(0x12f)),_0x14cd16),_0x4e8dba[_0x3e90eb(0x116)])+_0x187fa4,_0x4e8dba[_0x3e90eb(0x108)]),_0x55b674=_0x4e8dba['aDhWl'](_0x3e90eb(0x169),_0x14cd16);try{return _0x4fb847=await WebApi[_0x3e90eb(0x109)](_0x55b674,_0x4e8dba[_0x3e90eb(0x114)],'',_0x5d313c),_0x4fb847;}catch(_0x328233){return undefined;}return undefined;}static async[_0x5997aa(0x14d)](_0x32195d){const _0x5a936b=_0x5997aa,_0x318f50={'Uymez':'qun.qq.com','beiFX':function(_0x240f87,_0xa0efcb){return _0x240f87+_0xa0efcb;},'kcVTf':_0x5a936b(0x103),'HFpzv':';\x20skey=','qeVoV':_0x5a936b(0xfc),'EHacE':function(_0x4eaee0,_0x69fb18){return _0x4eaee0||_0x69fb18;},'hAUGN':function(_0x481a8c,_0x20b095){return _0x481a8c+_0x20b095;},'nBAfp':function(_0x2a457d,_0xa7a28d){return _0x2a457d+_0xa7a28d;},'PfONh':_0x5a936b(0x10f),'cGHOd':_0x5a936b(0x157),'kbPbt':_0x5a936b(0x102),'XAbVK':function(_0x4e4be3,_0x2eef65){return _0x4e4be3!==_0x2eef65;}},_0xea14f4=(await NTQQUserApi['getPSkey']([_0x318f50['Uymez']]))[_0x5a936b(0x11b)],_0x1be267=await NTQQUserApi['getSkey'](),_0x99097b=_0x318f50[_0x5a936b(0x166)](_0x318f50[_0x5a936b(0x166)](_0x318f50['beiFX'](_0x318f50[_0x5a936b(0x154)]+_0xea14f4,_0x318f50['HFpzv'])+_0x1be267,_0x318f50[_0x5a936b(0x14a)]),selfInfo[_0x5a936b(0x156)]);let _0x5b03a9=undefined;if(_0x318f50['EHacE'](!_0x1be267,!_0xea14f4))return undefined;const _0x2a7470=WebApi[_0x5a936b(0x105)](_0x1be267),_0x5c05cf=_0x318f50[_0x5a936b(0x166)](_0x318f50['hAUGN'](_0x318f50[_0x5a936b(0x146)](_0x318f50[_0x5a936b(0x152)],_0x2a7470)+'&qid=',_0x32195d),_0x318f50[_0x5a936b(0x106)]);try{_0x5b03a9=await WebApi[_0x5a936b(0x109)](_0x5c05cf,_0x318f50['kbPbt'],'',_0x99097b);if(_0x318f50[_0x5a936b(0x151)](_0x5b03a9?.['ec'],0x0))return undefined;return _0x5b03a9;}catch(_0x1beef4){return undefined;}return undefined;}static async[_0x5997aa(0x121)](_0x45fd05='',_0x3e4c9d=_0x5997aa(0x102),_0x5a17f7='',_0x4688cb=''){const _0x46c82e=_0x5997aa,_0x4ed4a3={'UlGRT':function(_0xc1fb80,_0xf909dc){return _0xc1fb80===_0xf909dc;},'xfhxZ':_0x46c82e(0x102),'SfhFC':_0x46c82e(0x161),'ULORE':function(_0x439102,_0x11939c,_0x5dd7b8){return _0x439102(_0x11939c,_0x5dd7b8);},'wMnee':_0x46c82e(0x153)};let _0x48f617='';return new Promise(async(_0x3e4e79,_0x9d25c2)=>{const _0x1317ba=_0x46c82e;try{let _0x73bc46=undefined;_0x4ed4a3['UlGRT'](_0x3e4c9d,_0x4ed4a3[_0x1317ba(0x120)])||_0x4ed4a3[_0x1317ba(0x115)](_0x3e4c9d,_0x4ed4a3[_0x1317ba(0x11c)])?_0x73bc46=await _0x4ed4a3[_0x1317ba(0x168)](fetch,_0x45fd05,{'method':_0x3e4c9d,'headers':{'Content-Type':_0x4ed4a3['wMnee'],'Cookie':_0x4688cb}}):_0x73bc46=await _0x4ed4a3[_0x1317ba(0x168)](fetch,_0x45fd05,{'method':_0x3e4c9d,'headers':{'Content-Type':_0x4ed4a3[_0x1317ba(0x140)],'Cookie':_0x4688cb},'body':_0x5a17f7});if(_0x73bc46['ok'])_0x48f617=await _0x73bc46[_0x1317ba(0x122)]();else{}}catch(_0x1dffa7){}_0x3e4e79(_0x48f617);});}static async[_0x5997aa(0x109)](_0xbf8c7f='',_0x5d6742=_0x5997aa(0x102),_0x5ba8f5='',_0x19a927=''){const _0x1a74f6=_0x5997aa,_0x53dff5={'tTgrB':function(_0x1bdaa4,_0x28d572){return _0x1bdaa4===_0x28d572;},'BscZE':_0x1a74f6(0x102),'oWrAO':function(_0x308d40,_0x5c846d){return _0x308d40===_0x5c846d;},'eUVlj':function(_0x5b71b0,_0x1a8a9a,_0x5e3830){return _0x5b71b0(_0x1a8a9a,_0x5e3830);},'ZGjEs':function(_0x229972,_0x323fe9,_0x57d258){return _0x229972(_0x323fe9,_0x57d258);},'PVErZ':_0x1a74f6(0x153),'acZhC':function(_0x4ea160,_0x48a064){return _0x4ea160(_0x48a064);}};let _0x39be79=undefined;return new Promise(async(_0x4c2804,_0x19b595)=>{const _0x418438=_0x1a74f6;try{let _0x557bc1=undefined;_0x53dff5['tTgrB'](_0x5d6742,_0x53dff5[_0x418438(0x12d)])||_0x53dff5[_0x418438(0x147)](_0x5d6742,_0x418438(0x161))?_0x557bc1=await _0x53dff5[_0x418438(0xf9)](fetch,_0xbf8c7f,{'method':_0x5d6742,'headers':{'Content-Type':_0x418438(0x153),'Cookie':_0x19a927}}):_0x557bc1=await _0x53dff5[_0x418438(0x160)](fetch,_0xbf8c7f,{'method':_0x5d6742,'headers':{'Content-Type':_0x53dff5['PVErZ'],'Cookie':_0x19a927},'body':_0x5ba8f5});if(_0x557bc1['ok'])_0x39be79=await _0x557bc1[_0x418438(0x129)]();else{}}catch(_0x2110dc){}_0x53dff5['acZhC'](_0x4c2804,_0x39be79);});}static[_0x5997aa(0x105)](_0x244553){const _0x9e69a1=_0x5997aa,_0x52aab8={'UXRZQ':function(_0x4c8f24,_0x3e63e3){return _0x4c8f24||_0x3e63e3;},'DUQHb':function(_0x5465fc,_0x2364ed){return _0x5465fc<_0x2364ed;},'RBmNC':function(_0x150166,_0x218709){return _0x150166+_0x218709;},'pApVa':function(_0x437c31,_0x3684f3){return _0x437c31<<_0x3684f3;},'xoitr':function(_0x4be181,_0x2c89e8){return _0x4be181&_0x2c89e8;}};_0x244553=_0x52aab8[_0x9e69a1(0x164)](_0x244553,'');let _0x53f6f5=0x1505;for(let _0x2de643=0x0;_0x52aab8[_0x9e69a1(0x139)](_0x2de643,_0x244553[_0x9e69a1(0xf5)]);_0x2de643++){const _0xa3840c=_0x244553[_0x9e69a1(0x134)](_0x2de643);_0x53f6f5=_0x52aab8[_0x9e69a1(0x12a)](_0x52aab8['RBmNC'](_0x53f6f5,_0x52aab8[_0x9e69a1(0x163)](_0x53f6f5,0x5)),_0xa3840c);}return _0x52aab8[_0x9e69a1(0x130)](_0x53f6f5,0x7fffffff)[_0x9e69a1(0x10a)]();}} \ 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 5676170a..3e821eac 100644 --- a/src/core.lib/src/apis/window.js +++ b/src/core.lib/src/apis/window.js @@ -1 +1 @@ -var _0x165ea7=_0x2ac8;(function(_0x8161b4,_0x4517c6){var _0x287554=_0x2ac8,_0x55ca4e=_0x8161b4();while(!![]){try{var _0x2f20f0=parseInt(_0x287554(0x1aa))/0x1*(parseInt(_0x287554(0x233))/0x2)+parseInt(_0x287554(0x232))/0x3*(parseInt(_0x287554(0x1df))/0x4)+parseInt(_0x287554(0x20c))/0x5*(-parseInt(_0x287554(0x229))/0x6)+parseInt(_0x287554(0x1db))/0x7*(parseInt(_0x287554(0x1f7))/0x8)+parseInt(_0x287554(0x1c0))/0x9*(parseInt(_0x287554(0x1ec))/0xa)+parseInt(_0x287554(0x1ad))/0xb+-parseInt(_0x287554(0x1e3))/0xc*(parseInt(_0x287554(0x1ea))/0xd);if(_0x2f20f0===_0x4517c6)break;else _0x55ca4e['push'](_0x55ca4e['shift']());}catch(_0x9f260c){_0x55ca4e['push'](_0x55ca4e['shift']());}}}(_0x4029,0xbfd12));var _0x3a785e=_0xec23;(function(_0x2a00bc,_0xb7fd5d){var _0x328631=_0x2ac8,_0x41c2ff={'yVvpj':function(_0x24e6cf){return _0x24e6cf();},'Shsrx':function(_0x407f7c,_0x215d86){return _0x407f7c+_0x215d86;},'tHMAl':function(_0x3158aa,_0x236720){return _0x3158aa+_0x236720;},'wfRIl':function(_0x4f4a79,_0x5ed5db){return _0x4f4a79*_0x5ed5db;},'eVtBP':function(_0x47bd0a,_0x1b606a){return _0x47bd0a(_0x1b606a);},'Fmsff':function(_0x3bb05a,_0x27bfed){return _0x3bb05a/_0x27bfed;},'Zhdlr':function(_0x228ca2,_0x3efc9d){return _0x228ca2(_0x3efc9d);},'CcWuy':function(_0x4828fc,_0x1eb22e){return _0x4828fc(_0x1eb22e);},'jbHSi':function(_0x5f2cfb,_0x16ad27){return _0x5f2cfb/_0x16ad27;},'Duths':function(_0x30999d,_0x351ef4){return _0x30999d(_0x351ef4);},'yjWzY':function(_0x413e27,_0x4e8572){return _0x413e27(_0x4e8572);},'UXtbM':function(_0x3c05c5,_0x575303){return _0x3c05c5/_0x575303;},'WBEOe':function(_0x4fe0bc,_0x3ee6ce){return _0x4fe0bc(_0x3ee6ce);},'ZfGiv':function(_0x26959e,_0xca9987){return _0x26959e/_0xca9987;},'lJObl':function(_0x2e38d2,_0x33e6e5){return _0x2e38d2(_0x33e6e5);},'LwfrH':function(_0x4fd096,_0x13cbce){return _0x4fd096/_0x13cbce;},'TRmCb':function(_0x5aace7,_0x3dee68){return _0x5aace7(_0x3dee68);},'NWPDj':_0x328631(0x216),'msfWR':'shift'},_0x321c18=_0xec23,_0x4c0316=_0x41c2ff[_0x328631(0x21e)](_0x2a00bc);while(!![]){try{var _0xe2a548=_0x41c2ff['Shsrx'](_0x41c2ff[_0x328631(0x221)](_0x41c2ff['Shsrx'](_0x41c2ff[_0x328631(0x221)](_0x41c2ff[_0x328631(0x209)](_0x41c2ff[_0x328631(0x22e)](_0x41c2ff[_0x328631(0x1ab)](parseInt,_0x41c2ff['eVtBP'](_0x321c18,0x16e))/0x1,_0x41c2ff[_0x328631(0x210)](_0x41c2ff['eVtBP'](parseInt,_0x41c2ff['Zhdlr'](_0x321c18,0x158)),0x2)),-_0x41c2ff['eVtBP'](parseInt,_0x41c2ff[_0x328631(0x1ab)](_0x321c18,0x179))/0x3*_0x41c2ff[_0x328631(0x210)](_0x41c2ff['CcWuy'](parseInt,_0x41c2ff[_0x328631(0x226)](_0x321c18,0x189)),0x4)),_0x41c2ff['jbHSi'](_0x41c2ff[_0x328631(0x1cc)](parseInt,_0x321c18(0x17c)),0x5))+-_0x41c2ff['yjWzY'](parseInt,_0x321c18(0x17d))/0x6,_0x41c2ff['UXtbM'](_0x41c2ff[_0x328631(0x212)](parseInt,_0x321c18(0x16d)),0x7)*(-_0x41c2ff[_0x328631(0x1ab)](parseInt,_0x321c18(0x175))/0x8)),_0x41c2ff[_0x328631(0x224)](_0x41c2ff[_0x328631(0x1ab)](parseInt,_0x41c2ff[_0x328631(0x225)](_0x321c18,0x182)),0x9)),_0x41c2ff[_0x328631(0x22f)](_0x41c2ff[_0x328631(0x226)](parseInt,_0x41c2ff['TRmCb'](_0x321c18,0x15a)),0xa));if(_0xe2a548===_0xb7fd5d)break;else _0x4c0316[_0x41c2ff[_0x328631(0x21b)]](_0x4c0316[_0x328631(0x22a)]());}catch(_0x22dedf){_0x4c0316[_0x41c2ff[_0x328631(0x21b)]](_0x4c0316[_0x41c2ff[_0x328631(0x1e7)]]());}}}(_0x586f,0xea3cf));var _0x46abb0=_0x502b;(function(_0x1150f6,_0x4b7d41){var _0x7aacd3=_0x2ac8,_0x56db03={'RfPTh':function(_0x393b58){return _0x393b58();},'bpEmq':function(_0x3a8231,_0x40677b){return _0x3a8231+_0x40677b;},'sOTyF':function(_0x5f2c23,_0x28abe7){return _0x5f2c23+_0x28abe7;},'QgHRx':function(_0x47c055,_0x5431b8){return _0x47c055/_0x5431b8;},'pUFTl':function(_0x2c8663,_0x1d04b0){return _0x2c8663*_0x1d04b0;},'bRqRU':function(_0x2eb73a,_0x5e3578){return _0x2eb73a(_0x5e3578);},'DKdSZ':function(_0x3a1346,_0x4d2f17){return _0x3a1346/_0x4d2f17;},'PGOvi':function(_0x58861c,_0x173370){return _0x58861c/_0x173370;},'PECst':function(_0x3ca9ab,_0x2efed1){return _0x3ca9ab/_0x2efed1;},'SqHTV':function(_0x3841b1,_0x5c94a8){return _0x3841b1(_0x5c94a8);},'qRKHG':function(_0x3bafbd,_0x2fdde0){return _0x3bafbd===_0x2fdde0;},'SzDsL':function(_0x8194bf,_0x2aba97){return _0x8194bf(_0x2aba97);},'yBxAQ':function(_0x4d3a62,_0x21a1c8){return _0x4d3a62(_0x21a1c8);},'qXnRq':function(_0x126524,_0xeda3d0){return _0x126524(_0xeda3d0);},'GBlwS':function(_0x448ada,_0x736887){return _0x448ada(_0x736887);},'ruGOq':function(_0x1f09eb,_0x5c0ab4){return _0x1f09eb(_0x5c0ab4);},'tETwW':function(_0x50a083,_0x57420c){return _0x50a083(_0x57420c);},'PqnIA':_0x7aacd3(0x230),'ipLyd':_0x7aacd3(0x217),'ZhUkh':function(_0x517653,_0x3ffb56){return _0x517653(_0x3ffb56);},'SSQgZ':function(_0x2b862b,_0x3d415f){return _0x2b862b(_0x3d415f);},'IjUzz':function(_0x30531b,_0x3d33b4){return _0x30531b(_0x3d33b4);},'VKdjp':function(_0x4b0b4e,_0xfc55d1){return _0x4b0b4e(_0xfc55d1);},'CHkAs':function(_0x2d8bfb,_0x4d74ef){return _0x2d8bfb(_0x4d74ef);},'KSLLN':function(_0x5014f5,_0x52128e){return _0x5014f5(_0x52128e);},'xFyxr':_0x7aacd3(0x1d9),'hGGbZ':function(_0xf2595a,_0x34d337){return _0xf2595a(_0x34d337);},'xKOGu':function(_0x19ea0c,_0xa37a87){return _0x19ea0c(_0xa37a87);},'gILKq':function(_0x10ec0b,_0x100ae5){return _0x10ec0b(_0x100ae5);},'mxTkS':function(_0xf1555d,_0x14045b){return _0xf1555d(_0x14045b);},'dYOib':function(_0x35a180,_0x2c21fd){return _0x35a180(_0x2c21fd);}},_0x2600dd=_0xec23,_0x305f95={'mXiyC':function(_0x4f0da0){var _0x8dea15=_0x7aacd3;return _0x56db03[_0x8dea15(0x1e8)](_0x4f0da0);},'ZqqJp':function(_0x828405,_0x1d7604){return _0x56db03['bpEmq'](_0x828405,_0x1d7604);},'mOPTs':function(_0x3e2e7a,_0x4aa57c){var _0x329465=_0x7aacd3;return _0x56db03[_0x329465(0x208)](_0x3e2e7a,_0x4aa57c);},'PpXJM':function(_0x7f5a25,_0x1b69c7){var _0x26b8c4=_0x7aacd3;return _0x56db03[_0x26b8c4(0x208)](_0x7f5a25,_0x1b69c7);},'cyvNM':function(_0x427cb5,_0x126040){var _0x4b096d=_0x7aacd3;return _0x56db03[_0x4b096d(0x207)](_0x427cb5,_0x126040);},'SeOqC':function(_0xd5b6b4,_0x3c4c1d){var _0x21c977=_0x7aacd3;return _0x56db03[_0x21c977(0x234)](_0xd5b6b4,_0x3c4c1d);},'hxffF':function(_0x48c568,_0x385926){return _0x48c568(_0x385926);},'LbAlE':function(_0x901d0d,_0x3067f1){return _0x56db03['bRqRU'](_0x901d0d,_0x3067f1);},'IYuxk':function(_0x58322b,_0x3a6d96){return _0x56db03['DKdSZ'](_0x58322b,_0x3a6d96);},'Jmegu':function(_0x37a05e,_0xe6bddb){var _0x4f969d=_0x7aacd3;return _0x56db03[_0x4f969d(0x1fd)](_0x37a05e,_0xe6bddb);},'sZaNj':function(_0x223914,_0x3f58dc){return _0x223914(_0x3f58dc);},'hfTtG':function(_0x47a5e9,_0x5bf11c){var _0x44a3b1=_0x7aacd3;return _0x56db03[_0x44a3b1(0x1c6)](_0x47a5e9,_0x5bf11c);},'MFICa':function(_0x5049e5,_0x232e59){var _0x51dd31=_0x7aacd3;return _0x56db03[_0x51dd31(0x1c6)](_0x5049e5,_0x232e59);},'EzcmA':function(_0x644523,_0x18fce2){var _0x548029=_0x7aacd3;return _0x56db03[_0x548029(0x1c5)](_0x644523,_0x18fce2);},'aEQhs':function(_0x540846,_0x320106){var _0x41d16c=_0x7aacd3;return _0x56db03[_0x41d16c(0x204)](_0x540846,_0x320106);},'TJpiV':function(_0x258640,_0x15ae49){var _0x48f340=_0x7aacd3;return _0x56db03[_0x48f340(0x1fd)](_0x258640,_0x15ae49);},'Keian':function(_0x4625db,_0x470715){var _0x500bfa=_0x7aacd3;return _0x56db03[_0x500bfa(0x207)](_0x4625db,_0x470715);},'YEPFS':function(_0x5b8c53,_0x2f5be1){var _0x247621=_0x7aacd3;return _0x56db03[_0x247621(0x1b6)](_0x5b8c53,_0x2f5be1);},'GzgAE':_0x56db03[_0x7aacd3(0x21d)](_0x2600dd,0x172)},_0x54ccb3=_0x502b,_0x4d9f6b=_0x305f95[_0x56db03[_0x7aacd3(0x204)](_0x2600dd,0x170)](_0x1150f6);while(!![]){try{var _0x5d255a=_0x305f95[_0x56db03[_0x7aacd3(0x239)](_0x2600dd,0x153)](_0x305f95[_0x56db03[_0x7aacd3(0x238)](_0x2600dd,0x153)](_0x305f95[_0x56db03[_0x7aacd3(0x1fd)](_0x2600dd,0x153)](_0x305f95[_0x56db03[_0x7aacd3(0x238)](_0x2600dd,0x153)](_0x305f95[_0x56db03[_0x7aacd3(0x238)](_0x2600dd,0x164)](_0x305f95[_0x56db03[_0x7aacd3(0x238)](_0x2600dd,0x152)](_0x305f95[_0x56db03[_0x7aacd3(0x204)](_0x2600dd,0x185)](_0x56db03[_0x7aacd3(0x239)](parseInt,_0x54ccb3(0x81)),0x1),_0x305f95[_0x56db03['GBlwS'](_0x2600dd,0x16a)](_0x305f95[_0x56db03[_0x7aacd3(0x21d)](_0x2600dd,0x185)](-_0x305f95[_0x56db03[_0x7aacd3(0x215)](_0x2600dd,0x156)](parseInt,_0x305f95[_0x56db03['tETwW'](_0x2600dd,0x162)](_0x54ccb3,0x75)),0x2),_0x305f95[_0x56db03[_0x7aacd3(0x1c4)]](_0x305f95[_0x56db03[_0x7aacd3(0x21d)](_0x2600dd,0x17f)](parseInt,_0x305f95[_0x56db03[_0x7aacd3(0x235)]](_0x54ccb3,0x83)),0x3))),_0x305f95[_0x56db03[_0x7aacd3(0x1f5)](_0x2600dd,0x157)](-_0x305f95[_0x56db03[_0x7aacd3(0x1af)](_0x2600dd,0x17f)](parseInt,_0x54ccb3(0x80)),0x4)),_0x305f95[_0x2600dd(0x157)](-_0x305f95[_0x56db03[_0x7aacd3(0x1ae)](_0x2600dd,0x156)](parseInt,_0x56db03[_0x7aacd3(0x21d)](_0x54ccb3,0x78)),0x5)),_0x305f95[_0x2600dd(0x16a)](_0x305f95[_0x56db03[_0x7aacd3(0x1c2)](_0x2600dd,0x185)](-_0x305f95[_0x56db03[_0x7aacd3(0x1be)](_0x2600dd,0x169)](parseInt,_0x56db03[_0x7aacd3(0x1c2)](_0x54ccb3,0x7d)),0x6),_0x305f95[_0x56db03[_0x7aacd3(0x1f4)](_0x2600dd,0x15c)](_0x305f95[_0x2600dd(0x169)](parseInt,_0x54ccb3(0x79)),0x7))),_0x305f95[_0x56db03[_0x7aacd3(0x1fd)](_0x2600dd,0x15b)](_0x305f95[_0x7aacd3(0x22c)](parseInt,_0x305f95[_0x56db03['xFyxr']](_0x54ccb3,0x7e)),0x8)),_0x305f95[_0x56db03[_0x7aacd3(0x21d)](_0x2600dd,0x16a)](_0x305f95[_0x2600dd(0x157)](_0x305f95[_0x56db03['hGGbZ'](_0x2600dd,0x169)](parseInt,_0x305f95[_0x56db03[_0x7aacd3(0x1c2)](_0x2600dd,0x162)](_0x54ccb3,0x77)),0x9),_0x305f95[_0x56db03['xKOGu'](_0x2600dd,0x154)](_0x56db03[_0x7aacd3(0x1ae)](parseInt,_0x305f95[_0x2600dd(0x169)](_0x54ccb3,0x7f)),0xa)));if(_0x305f95[_0x2600dd(0x174)](_0x5d255a,_0x4b7d41))break;else _0x4d9f6b[_0x7aacd3(0x216)](_0x4d9f6b[_0x305f95[_0x56db03[_0x7aacd3(0x1f2)](_0x2600dd,0x163)]]());}catch(_0x5b933b){_0x4d9f6b[_0x56db03[_0x7aacd3(0x1d7)](_0x2600dd,0x161)](_0x4d9f6b[_0x305f95[_0x56db03[_0x7aacd3(0x1dd)](_0x2600dd,0x163)]]());}}}(_0x207e,0x874c8));function _0x4029(){var _0x29d145=['YEPFS','qXnRq','yBxAQ','1141470dQduNl','119fdcbbS','28eFvzGQ','JcCwE','529aerpyL','eVtBP','YHpRR','3488298yIIxdM','IjUzz','SSQgZ','#/group-home-work','675999ZZagbh','YTHeI','196743kqmlyE','QscXX','ccOWO','qRKHG','28xJooIp','vbwAU','8972094BmtwkU','1245952qwucxb','14559759FVoksr','3311215pDPMVa','GzgAE','CHkAs','gwDkl','16749PUKrcC','107704XPvske','VKdjp','SJPjU','PqnIA','PECst','PGOvi','RJWmM','GroupHomeWorkWindow','Qwbsi','tYoeZ','oGjTG','Duths','QrIOT','fiAwX','bOHtH','MUxPy','HCzLh','SeOqC','MpagQ','cyvNM','MPTxb','XUNzV','mxTkS','wgoLC','TJpiV','SOLmU','196nTDdCc','tAmFo','dYOib','uNlaQ','3692goYSqe','SrRTl','IfdoN','318629hCyoUw','36FLJPKS','190OnGUBS','JvlmR','pleDE','msfWR','RfPTh','VgDJI','8171332IvBHdO','1138vCgEGK','1370BoezjQ','azVsE','bCTzs','2374XXeqxQ','mxtdv','pqbmM','gILKq','cUkog','KSLLN','ZhUkh','GroupEssenceWindow','135512ntnaXZ','#/group-notify-filter','77HOBIWb','DcgCp','eLOWw','xDcDB','bRqRU','jnDMM','puGRf','dujNL','GroupNotifyFilterWindow','TXAys','Keian','SqHTV','VxUXF','FNKwh','QgHRx','sOTyF','tHMAl','eLAHe','DECZD','27180fzXsPn','IzLam','HMdJI','TfNPO','Fmsff','IrfeH','WBEOe','LVkOQ','SJEzf','ruGOq','push','sZaNj','fxhLN','IQGEr','fArcP','NWPDj','EJPnl','SzDsL','yVvpj','QnnpF','MFICa','Shsrx','VozrX','PbrEc','ZfGiv','lJObl','Zhdlr','mOPTs','nGSPw','420pPPQlK','shift','hxffF','aEQhs','6837928tHkGlb','wfRIl','LwfrH','IYuxk','vllMi','1491kFOeYI','5848bOnJES','pUFTl','ipLyd','hfTtG'];_0x4029=function(){return _0x29d145;};return _0x4029();}function _0x2ac8(_0x442051,_0x1e62fe){var _0x402948=_0x4029();return _0x2ac8=function(_0x2ac8dd,_0x5ceb20){_0x2ac8dd=_0x2ac8dd-0x1a6;var _0x203403=_0x402948[_0x2ac8dd];return _0x203403;},_0x2ac8(_0x442051,_0x1e62fe);}function _0xec23(_0x58f055,_0x36653b){var _0x3dd745=_0x2ac8,_0x59ccf9={'RJWmM':function(_0xccfd1a,_0x4bdc1a,_0x21150c){return _0xccfd1a(_0x4bdc1a,_0x21150c);}},_0x4ca4a0=_0x586f();return _0xec23=function(_0x4920c5,_0x58850e){_0x4920c5=_0x4920c5-0x151;var _0x12878d=_0x4ca4a0[_0x4920c5];return _0x12878d;},_0x59ccf9[_0x3dd745(0x1c7)](_0xec23,_0x58f055,_0x36653b);}export class NTQQWindows{static [_0x165ea7(0x1c8)]={'windowName':_0x3a785e(0x16b),'windowUrlHash':_0x46abb0(0x7c)};static [_0x46abb0(0x7a)]={'windowName':_0x3a785e(0x151),'windowUrlHash':_0x46abb0(0x7b)};static [_0x3a785e(0x15d)]={'windowName':_0x46abb0(0x82),'windowUrlHash':_0x46abb0(0x76)};}function _0x502b(_0x1e1f9b,_0x421d48){var _0x6f9788=_0x165ea7,_0x5395dc={'JTPOY':function(_0x11f665,_0x3b3d28){return _0x11f665-_0x3b3d28;},'xCmOf':function(_0x54321d){return _0x54321d();},'FNKwh':function(_0x549037,_0x51394e){return _0x549037(_0x51394e);},'fPKey':function(_0x24d5f1,_0x21948b){return _0x24d5f1(_0x21948b);}},_0x3d6325=_0x3a785e,_0x39be76={'pleDE':function(_0x28238b,_0x1b8c85){return _0x5395dc['JTPOY'](_0x28238b,_0x1b8c85);},'LVkOQ':function(_0xc9f79b){return _0x5395dc['xCmOf'](_0xc9f79b);},'ccOWO':function(_0x350f42,_0x2f805b,_0x5b72c7){return _0x350f42(_0x2f805b,_0x5b72c7);}},_0x3294e1=_0x39be76[_0x5395dc['fPKey'](_0x3d6325,0x159)](_0x207e);return _0x502b=function(_0x3db597,_0x1e0f2f){var _0x507738=_0x2ac8,_0x18a7cf=_0x3d6325;_0x3db597=_0x39be76[_0x5395dc[_0x507738(0x206)](_0x18a7cf,0x16f)](_0x3db597,0x75);var _0x4d90b6=_0x3294e1[_0x3db597];return _0x4d90b6;},_0x39be76[_0x5395dc[_0x6f9788(0x206)](_0x3d6325,0x166)](_0x502b,_0x1e1f9b,_0x421d48);}function _0x207e(){var _0x474e19=_0x165ea7,_0x37673d={'wHzGd':function(_0x2c04f8){return _0x2c04f8();},'jnDMM':function(_0x562781,_0x50acc0){return _0x562781(_0x50acc0);},'xDcDB':_0x474e19(0x1e4),'dUsOz':_0x474e19(0x1b3),'EESZb':function(_0x28409d,_0x3dda1b){return _0x28409d(_0x3dda1b);},'DcgCp':function(_0x2ca705,_0x4f45d5){return _0x2ca705(_0x4f45d5);},'SJPjU':function(_0x3f344a,_0x1b9ddd){return _0x3f344a(_0x1b9ddd);},'eLAHe':function(_0x1d05f7,_0x471d93){return _0x1d05f7(_0x471d93);},'VxUXF':function(_0x477e2d,_0x197e07){return _0x477e2d(_0x197e07);},'XUNzV':function(_0xb414aa,_0x35610c){return _0xb414aa(_0x35610c);},'VgDJI':function(_0x4c344a,_0x37458e){return _0x4c344a(_0x37458e);},'zmzXD':function(_0xd25d6f,_0x2841d4){return _0xd25d6f(_0x2841d4);}},_0x332ee5=_0x3a785e,_0x5eb350={'MPTxb':_0x37673d[_0x474e19(0x1fe)](_0x332ee5,0x15e),'ZTlLy':_0x332ee5(0x151),'IrfeH':_0x37673d[_0x474e19(0x1fe)](_0x332ee5,0x165),'Holzq':_0x37673d[_0x474e19(0x1fe)](_0x332ee5,0x181),'IQGEr':'320934RniygA','mxtdv':_0x332ee5(0x176),'eLOWw':_0x37673d[_0x474e19(0x1fc)],'azVsE':_0x37673d['jnDMM'](_0x332ee5,0x160),'oGjTG':_0x37673d[_0x474e19(0x1fe)](_0x332ee5,0x15f),'gwDkl':_0x37673d['dUsOz'],'fxhLN':_0x37673d['EESZb'](_0x332ee5,0x173),'JcCwE':_0x37673d[_0x474e19(0x1fe)](_0x332ee5,0x186),'dujNL':_0x37673d[_0x474e19(0x1fa)](_0x332ee5,0x16c),'YHpRR':_0x332ee5(0x155),'EJPnl':function(_0x1cb9eb){return _0x37673d['wHzGd'](_0x1cb9eb);}},_0x499d54=[_0x5eb350[_0x37673d[_0x474e19(0x1fe)](_0x332ee5,0x178)],_0x5eb350[_0x37673d['jnDMM'](_0x332ee5,0x167)],_0x5eb350[_0x37673d[_0x474e19(0x1c3)](_0x332ee5,0x17b)],_0x5eb350[_0x332ee5(0x188)],_0x5eb350[_0x332ee5(0x17e)],_0x5eb350[_0x332ee5(0x184)],_0x5eb350[_0x332ee5(0x171)],_0x5eb350[_0x474e19(0x1ed)],_0x5eb350[_0x37673d[_0x474e19(0x20a)](_0x332ee5,0x168)],_0x37673d[_0x474e19(0x205)](_0x332ee5,0x15d),_0x5eb350[_0x37673d[_0x474e19(0x1d6)](_0x332ee5,0x187)],_0x5eb350[_0x332ee5(0x177)],_0x5eb350[_0x37673d[_0x474e19(0x1e9)](_0x332ee5,0x17a)],_0x5eb350[_0x332ee5(0x180)],_0x5eb350[_0x37673d['zmzXD'](_0x332ee5,0x18a)]];return _0x207e=function(){return _0x499d54;},_0x5eb350[_0x37673d[_0x474e19(0x20a)](_0x332ee5,0x183)](_0x207e);}function _0x586f(){var _0x1211e7=_0x165ea7,_0x17d5b1={'ZUKLo':_0x1211e7(0x1b9),'SJEzf':_0x1211e7(0x219),'QscXX':'Jmegu','YyMOe':_0x1211e7(0x200),'PbrEc':_0x1211e7(0x1bb),'WldNE':_0x1211e7(0x1f0),'mExhP':_0x1211e7(0x1d4),'fArcP':_0x1211e7(0x1bf),'vllMi':'Holzq','bCTzs':_0x1211e7(0x1b7),'PdDsQ':_0x1211e7(0x201),'dpzub':'PpXJM','uNlaQ':'ZqqJp','vbwAU':_0x1211e7(0x203),'cUkog':_0x1211e7(0x1a6),'TykrY':_0x1211e7(0x22b),'VVawY':_0x1211e7(0x1ef),'YTHeI':_0x1211e7(0x213),'HCzLh':'8096280sGCCwn','IzLam':'EzcmA','VozrX':_0x1211e7(0x220),'tYoeZ':_0x1211e7(0x1f6),'fiAwX':_0x1211e7(0x1f9),'JvlmR':_0x1211e7(0x1e2),'SrRTl':'push','QnnpF':_0x1211e7(0x1bd),'MpagQ':_0x1211e7(0x227),'nNZfW':_0x1211e7(0x1f8),'wgoLC':_0x1211e7(0x1b5),'TfNPO':_0x1211e7(0x1cb),'MUxPy':_0x1211e7(0x217),'SOLmU':_0x1211e7(0x1d2),'QrIOT':_0x1211e7(0x1b1),'nGSPw':_0x1211e7(0x1a7),'IfdoN':_0x1211e7(0x1eb),'pqbmM':'mXiyC','uKNqW':_0x1211e7(0x1fb),'TXAys':'shift','DECZD':_0x1211e7(0x237),'puGRf':_0x1211e7(0x22d),'HMdJI':_0x1211e7(0x218),'DpKQo':_0x1211e7(0x1d5),'Qwbsi':'752901PueHfK','tAmFo':_0x1211e7(0x211),'bOHtH':_0x1211e7(0x1bc)},_0x4ebc0b=[_0x17d5b1['ZUKLo'],_0x17d5b1[_0x1211e7(0x214)],_0x17d5b1[_0x1211e7(0x1b4)],_0x17d5b1['YyMOe'],_0x1211e7(0x1b0),_0x17d5b1[_0x1211e7(0x223)],_0x1211e7(0x21c),_0x17d5b1['WldNE'],_0x17d5b1['mExhP'],'#/group-essence',_0x17d5b1[_0x1211e7(0x21a)],_0x17d5b1[_0x1211e7(0x231)],_0x17d5b1[_0x1211e7(0x1ee)],_0x1211e7(0x1ac),_0x17d5b1['PdDsQ'],_0x17d5b1['dpzub'],_0x17d5b1[_0x1211e7(0x1de)],_0x17d5b1[_0x1211e7(0x1b8)],_0x17d5b1[_0x1211e7(0x1f3)],_0x17d5b1['TykrY'],_0x1211e7(0x236),_0x17d5b1['VVawY'],_0x17d5b1[_0x1211e7(0x1b2)],_0x17d5b1[_0x1211e7(0x1d1)],_0x17d5b1[_0x1211e7(0x20d)],_0x17d5b1[_0x1211e7(0x222)],_0x17d5b1[_0x1211e7(0x1ca)],_0x17d5b1[_0x1211e7(0x1ce)],_0x17d5b1[_0x1211e7(0x1e5)],_0x1211e7(0x1ba),_0x17d5b1[_0x1211e7(0x1e0)],'LbAlE',_0x17d5b1[_0x1211e7(0x21f)],_0x17d5b1[_0x1211e7(0x1d3)],_0x17d5b1['nNZfW'],_0x17d5b1[_0x1211e7(0x1d8)],'ZTlLy',_0x17d5b1[_0x1211e7(0x20f)],_0x17d5b1[_0x1211e7(0x1d0)],_0x17d5b1[_0x1211e7(0x1da)],_0x1211e7(0x1c8),_0x17d5b1[_0x1211e7(0x1cd)],_0x17d5b1[_0x1211e7(0x228)],_0x17d5b1[_0x1211e7(0x1e1)],_0x1211e7(0x1e6),_0x17d5b1[_0x1211e7(0x1f1)],_0x17d5b1['uKNqW'],_0x17d5b1[_0x1211e7(0x202)],_0x1211e7(0x1a8),_0x17d5b1[_0x1211e7(0x20b)],_0x1211e7(0x1c1),_0x17d5b1[_0x1211e7(0x1ff)],_0x17d5b1[_0x1211e7(0x20e)],_0x17d5b1['DpKQo'],_0x17d5b1[_0x1211e7(0x1c9)],_0x1211e7(0x1a9),_0x17d5b1[_0x1211e7(0x1dc)],_0x17d5b1[_0x1211e7(0x1cf)]];return _0x586f=function(){return _0x4ebc0b;},_0x586f();}export class NTQQWindowApi{} \ No newline at end of file +(function(_0x3a5e6a,_0x126d70){var _0x1b8859=_0x42f4,_0x431a64=_0x3a5e6a();while(!![]){try{var _0x5a0306=parseInt(_0x1b8859(0x215))/0x1+parseInt(_0x1b8859(0x296))/0x2*(-parseInt(_0x1b8859(0x138))/0x3)+-parseInt(_0x1b8859(0x26b))/0x4*(-parseInt(_0x1b8859(0x20a))/0x5)+parseInt(_0x1b8859(0x1d8))/0x6*(parseInt(_0x1b8859(0x256))/0x7)+-parseInt(_0x1b8859(0x1df))/0x8+-parseInt(_0x1b8859(0x150))/0x9+parseInt(_0x1b8859(0x1c8))/0xa*(parseInt(_0x1b8859(0x16b))/0xb);if(_0x5a0306===_0x126d70)break;else _0x431a64['push'](_0x431a64['shift']());}catch(_0x190518){_0x431a64['push'](_0x431a64['shift']());}}}(_0x526e,0x6f4d4));var _0x165ea7=_0x2ac8;(function(_0x202d06,_0x5b4751){var _0x37a34c=_0x42f4,_0x3bfec4={'sGnsE':function(_0x5a5b43){return _0x5a5b43();},'wsRpw':function(_0x22d89a,_0x47f0ba){return _0x22d89a+_0x47f0ba;},'jfQKv':function(_0xd2552d,_0x3ff04d){return _0xd2552d+_0x3ff04d;},'gJWti':function(_0x29c58b,_0x3e28a9){return _0x29c58b+_0x3e28a9;},'rTHbw':function(_0x126d79,_0x3ba458){return _0x126d79+_0x3ba458;},'nflVY':function(_0x141207,_0x5d4e2c){return _0x141207(_0x5d4e2c);},'rMEGn':function(_0xcd351c,_0x5e8a0e){return _0xcd351c(_0x5e8a0e);},'nEyXY':function(_0x398cb8,_0x580370){return _0x398cb8*_0x580370;},'TjhpJ':function(_0x223fde,_0x4a127a){return _0x223fde/_0x4a127a;},'ldGWH':function(_0x360c5b,_0x55b70f){return _0x360c5b/_0x55b70f;},'kfETY':function(_0x13d437,_0x19b133){return _0x13d437(_0x19b133);},'eaBAI':function(_0x43c2cd,_0x2bb6f3){return _0x43c2cd(_0x2bb6f3);},'GuxfP':function(_0x1ba69c,_0x4d059b){return _0x1ba69c/_0x4d059b;},'ZVPlF':function(_0x170057,_0x20d110){return _0x170057(_0x20d110);},'YTPmV':function(_0x513f1c,_0x342ed6){return _0x513f1c(_0x342ed6);},'PUzvA':function(_0x4b9cac,_0x580d60){return _0x4b9cac/_0x580d60;},'kOhlk':function(_0x41d542,_0x244f22){return _0x41d542(_0x244f22);},'tlmTU':function(_0x4567fc,_0x3e637a){return _0x4567fc/_0x3e637a;},'WCGAb':function(_0x11dff6,_0x5d939b){return _0x11dff6/_0x5d939b;},'hAPKw':function(_0x28d39b,_0x4f4042){return _0x28d39b(_0x4f4042);},'nXOPy':function(_0x2a295b,_0xda2315){return _0x2a295b===_0xda2315;},'lGRUV':'push','murrQ':_0x37a34c(0x23c)},_0x3975d2=_0x2ac8,_0x232c57=_0x3bfec4['sGnsE'](_0x202d06);while(!![]){try{var _0x4adf3a=_0x3bfec4[_0x37a34c(0x1a5)](_0x3bfec4[_0x37a34c(0x1a5)](_0x3bfec4[_0x37a34c(0x24d)](_0x3bfec4[_0x37a34c(0x28b)](_0x3bfec4['rTHbw'](_0x3bfec4['jfQKv'](_0x3bfec4['nflVY'](parseInt,_0x3bfec4['nflVY'](_0x3975d2,0x1aa))/0x1*(_0x3bfec4['rMEGn'](parseInt,_0x3bfec4[_0x37a34c(0x1c9)](_0x3975d2,0x233))/0x2),_0x3bfec4[_0x37a34c(0x202)](_0x3bfec4[_0x37a34c(0x208)](_0x3bfec4[_0x37a34c(0x191)](parseInt,_0x3975d2(0x232)),0x3),_0x3bfec4[_0x37a34c(0x14d)](_0x3bfec4[_0x37a34c(0x160)](parseInt,_0x3bfec4['eaBAI'](_0x3975d2,0x1df)),0x4))),_0x3bfec4[_0x37a34c(0x202)](_0x3bfec4[_0x37a34c(0x208)](parseInt(_0x3bfec4[_0x37a34c(0x12c)](_0x3975d2,0x20c)),0x5),_0x3bfec4[_0x37a34c(0x208)](-_0x3bfec4[_0x37a34c(0x1c9)](parseInt,_0x3bfec4[_0x37a34c(0x1c9)](_0x3975d2,0x229)),0x6))),_0x3bfec4[_0x37a34c(0x202)](_0x3bfec4['GuxfP'](_0x3bfec4['ZVPlF'](parseInt,_0x3975d2(0x1db)),0x7),_0x3bfec4['ldGWH'](parseInt(_0x3bfec4[_0x37a34c(0x164)](_0x3975d2,0x1f7)),0x8))),_0x3bfec4[_0x37a34c(0x202)](_0x3bfec4[_0x37a34c(0x26d)](_0x3bfec4['eaBAI'](parseInt,_0x3bfec4['ZVPlF'](_0x3975d2,0x1c0)),0x9),_0x3bfec4[_0x37a34c(0x29e)](parseInt,_0x3bfec4[_0x37a34c(0x12c)](_0x3975d2,0x1ec))/0xa)),_0x3bfec4['tlmTU'](_0x3bfec4[_0x37a34c(0x29e)](parseInt,_0x3975d2(0x1ad)),0xb)),_0x3bfec4[_0x37a34c(0x202)](_0x3bfec4['WCGAb'](-_0x3bfec4[_0x37a34c(0x164)](parseInt,_0x3bfec4[_0x37a34c(0x164)](_0x3975d2,0x1e3)),0xc),_0x3bfec4[_0x37a34c(0x23b)](_0x3bfec4[_0x37a34c(0x12c)](parseInt,_0x3bfec4[_0x37a34c(0x135)](_0x3975d2,0x1ea)),0xd)));if(_0x3bfec4[_0x37a34c(0x292)](_0x4adf3a,_0x5b4751))break;else _0x232c57[_0x3bfec4['lGRUV']](_0x232c57[_0x37a34c(0x23c)]());}catch(_0x652fce){_0x232c57[_0x3bfec4[_0x37a34c(0x1a3)]](_0x232c57[_0x3bfec4[_0x37a34c(0x236)]]());}}}(_0x4029,0xbfd12));var _0x3a785e=_0xec23;(function(_0x8f794,_0x1adabe){var _0x4c73c2=_0x42f4,_0x1092b0={'paKND':function(_0x1a60df){return _0x1a60df();},'bEpdI':function(_0x437df5,_0x2f2891){return _0x437df5+_0x2f2891;},'pcAxn':function(_0x18abb5,_0x220787){return _0x18abb5+_0x220787;},'pHZCM':function(_0x56dac8,_0x2aa957){return _0x56dac8*_0x2aa957;},'quhRH':function(_0x3de90c,_0x268e5e){return _0x3de90c/_0x268e5e;},'aPmqf':function(_0x44be94,_0x54f3e0){return _0x44be94(_0x54f3e0);},'gYaCx':function(_0xdd1d5c,_0x2ec7e4){return _0xdd1d5c(_0x2ec7e4);},'sJBdv':function(_0x285106,_0xc83009){return _0x285106/_0xc83009;},'ehJyd':function(_0x399083,_0x10de68){return _0x399083/_0x10de68;},'EYzJI':function(_0x217796,_0x2a064d){return _0x217796(_0x2a064d);},'tVJwU':_0x4c73c2(0x23c),'FVmoj':function(_0x442e55,_0x57cb28){return _0x442e55(_0x57cb28);},'pVtZs':_0x4c73c2(0x279),'BCkbD':function(_0x1a142a,_0xfc53bc){return _0x1a142a+_0xfc53bc;},'Nrfhs':function(_0x3dee53,_0x30d788){return _0x3dee53(_0x30d788);},'QCGfM':function(_0x555415,_0x1b0558){return _0x555415(_0x1b0558);},'sXTGg':_0x4c73c2(0x205),'gjjnv':_0x4c73c2(0x240),'JMNaV':function(_0x3cd7f,_0xb8757c){return _0x3cd7f*_0xb8757c;},'jENfm':function(_0x2436cb,_0x5282fc){return _0x2436cb(_0x5282fc);},'CKXGo':'CcWuy','DqtkK':function(_0x509d55,_0x3516d8){return _0x509d55(_0x3516d8);},'GgKYy':_0x4c73c2(0x175),'dRpQo':function(_0x123f46,_0x4ed263){return _0x123f46(_0x4ed263);},'yjCeM':function(_0x2f26e4,_0x1d1923){return _0x2f26e4(_0x1d1923);},'XHFqe':function(_0x2b044f,_0x1222db){return _0x2b044f(_0x1222db);},'bNxgl':function(_0x4350f5,_0xee6e0){return _0x4350f5(_0xee6e0);},'WcCPf':function(_0x3d4351,_0x402466){return _0x3d4351===_0x402466;},'KeavG':function(_0x4a8605,_0xad09c4){return _0x4a8605(_0xad09c4);}},_0x702045=_0x2ac8,_0x233a3f={'yVvpj':function(_0x5e6dbd){var _0x3d5250=_0x4c73c2;return _0x1092b0[_0x3d5250(0x1ca)](_0x5e6dbd);},'Shsrx':function(_0x2ab816,_0x415482){return _0x1092b0['bEpdI'](_0x2ab816,_0x415482);},'tHMAl':function(_0x5365ea,_0x439be2){var _0x148a61=_0x4c73c2;return _0x1092b0[_0x148a61(0x1ff)](_0x5365ea,_0x439be2);},'wfRIl':function(_0x459142,_0x5cee16){return _0x1092b0['pHZCM'](_0x459142,_0x5cee16);},'eVtBP':function(_0x1a63a9,_0x32a03b){return _0x1a63a9(_0x32a03b);},'Fmsff':function(_0x99e158,_0x5a037f){var _0xef0de8=_0x4c73c2;return _0x1092b0[_0xef0de8(0x173)](_0x99e158,_0x5a037f);},'Zhdlr':function(_0x5f3d79,_0x2377ec){var _0x575f59=_0x4c73c2;return _0x1092b0[_0x575f59(0x225)](_0x5f3d79,_0x2377ec);},'CcWuy':function(_0x253003,_0x4d37bb){var _0x53215b=_0x4c73c2;return _0x1092b0[_0x53215b(0x225)](_0x253003,_0x4d37bb);},'jbHSi':function(_0x5aa924,_0x40b391){var _0x4852d0=_0x4c73c2;return _0x1092b0[_0x4852d0(0x173)](_0x5aa924,_0x40b391);},'Duths':function(_0x766460,_0x28bfdc){return _0x766460(_0x28bfdc);},'yjWzY':function(_0x3798c0,_0x12507e){var _0x1b9451=_0x4c73c2;return _0x1092b0[_0x1b9451(0x225)](_0x3798c0,_0x12507e);},'UXtbM':function(_0x563f8f,_0x195192){var _0x2cd1f8=_0x4c73c2;return _0x1092b0[_0x2cd1f8(0x173)](_0x563f8f,_0x195192);},'WBEOe':function(_0x3c43bb,_0x425a1d){var _0x1c3de6=_0x4c73c2;return _0x1092b0[_0x1c3de6(0x13d)](_0x3c43bb,_0x425a1d);},'ZfGiv':function(_0x293488,_0x38ac99){var _0x3e15d5=_0x4c73c2;return _0x1092b0[_0x3e15d5(0x18c)](_0x293488,_0x38ac99);},'lJObl':function(_0x5c4f07,_0x4f993d){var _0x581ee7=_0x4c73c2;return _0x1092b0[_0x581ee7(0x225)](_0x5c4f07,_0x4f993d);},'LwfrH':function(_0x5b5f1c,_0x54a36c){var _0x3f75e2=_0x4c73c2;return _0x1092b0[_0x3f75e2(0x241)](_0x5b5f1c,_0x54a36c);},'TRmCb':function(_0x24c82f,_0x1918bf){return _0x24c82f(_0x1918bf);},'NWPDj':_0x1092b0[_0x4c73c2(0x151)](_0x702045,0x216),'msfWR':_0x1092b0[_0x4c73c2(0x1ee)]},_0x1e3b0d=_0xec23,_0x55356c=_0x233a3f[_0x1092b0[_0x4c73c2(0x136)](_0x702045,0x21e)](_0x8f794);while(!![]){try{var _0x19d7fa=_0x233a3f[_0x1092b0[_0x4c73c2(0x207)]](_0x233a3f[_0x1092b0['FVmoj'](_0x702045,0x221)](_0x233a3f[_0x4c73c2(0x279)](_0x1092b0[_0x4c73c2(0x21a)](_0x233a3f[_0x1092b0[_0x4c73c2(0x11e)](_0x702045,0x221)](_0x233a3f[_0x702045(0x209)](_0x233a3f[_0x1092b0[_0x4c73c2(0x1b0)](_0x702045,0x22e)](_0x233a3f[_0x1092b0[_0x4c73c2(0x225)](_0x702045,0x1ab)](parseInt,_0x233a3f[_0x1092b0[_0x4c73c2(0x11f)]](_0x1e3b0d,0x16e))/0x1,_0x233a3f[_0x702045(0x210)](_0x233a3f[_0x1092b0['sXTGg']](parseInt,_0x233a3f[_0x1092b0[_0x4c73c2(0x126)]](_0x1e3b0d,0x158)),0x2)),_0x1092b0['JMNaV'](-_0x233a3f[_0x1092b0[_0x4c73c2(0x11f)]](parseInt,_0x233a3f[_0x1092b0[_0x4c73c2(0x151)](_0x702045,0x1ab)](_0x1e3b0d,0x179))/0x3,_0x233a3f[_0x1092b0[_0x4c73c2(0x25b)](_0x702045,0x210)](_0x233a3f[_0x1092b0['CKXGo']](parseInt,_0x233a3f[_0x1092b0['EYzJI'](_0x702045,0x226)](_0x1e3b0d,0x189)),0x4))),_0x233a3f[_0x4c73c2(0x22b)](_0x233a3f[_0x702045(0x1cc)](parseInt,_0x1092b0[_0x4c73c2(0x254)](_0x1e3b0d,0x17c)),0x5)),_0x1092b0[_0x4c73c2(0x18c)](-_0x233a3f[_0x1092b0[_0x4c73c2(0x23f)]](parseInt,_0x1092b0['dRpQo'](_0x1e3b0d,0x17d)),0x6)),_0x233a3f['UXtbM'](_0x233a3f[_0x1092b0[_0x4c73c2(0x270)](_0x702045,0x212)](parseInt,_0x1092b0['XHFqe'](_0x1e3b0d,0x16d)),0x7)*(-_0x233a3f[_0x702045(0x1ab)](parseInt,_0x1092b0[_0x4c73c2(0x136)](_0x1e3b0d,0x175))/0x8)),_0x233a3f[_0x1092b0[_0x4c73c2(0x13d)](_0x702045,0x224)](_0x233a3f[_0x702045(0x1ab)](parseInt,_0x233a3f[_0x1092b0[_0x4c73c2(0x275)](_0x702045,0x225)](_0x1e3b0d,0x182)),0x9)),_0x233a3f[_0x1092b0[_0x4c73c2(0x28e)](_0x702045,0x22f)](_0x233a3f[_0x702045(0x226)](parseInt,_0x233a3f[_0x4c73c2(0x280)](_0x1e3b0d,0x15a)),0xa));if(_0x1092b0['WcCPf'](_0x19d7fa,_0x1adabe))break;else _0x55356c[_0x233a3f[_0x1092b0[_0x4c73c2(0x225)](_0x702045,0x21b)]](_0x55356c[_0x1092b0[_0x4c73c2(0x251)](_0x702045,0x22a)]());}catch(_0x1c9eec){_0x55356c[_0x233a3f[_0x702045(0x21b)]](_0x55356c[_0x233a3f[_0x702045(0x1e7)]]());}}}(_0x586f,0xea3cf));var _0x46abb0=_0x502b;function _0x42f4(_0x522d3b,_0x47b156){var _0x526e88=_0x526e();return _0x42f4=function(_0x42f473,_0x112a5d){_0x42f473=_0x42f473-0x11d;var _0xe01668=_0x526e88[_0x42f473];return _0xe01668;},_0x42f4(_0x522d3b,_0x47b156);}(function(_0x20bf50,_0x399fcb){var _0x5205a8=_0x42f4,_0x1d3f04={'PEMnz':function(_0x43e13a){return _0x43e13a();},'fJKnZ':function(_0x5cb0e3,_0x2b765){return _0x5cb0e3+_0x2b765;},'YIULa':function(_0xc69ed,_0x5f181c){return _0xc69ed*_0x5f181c;},'UMDTf':function(_0x465506,_0x142b7d){return _0x465506(_0x142b7d);},'rAEvv':function(_0x3004a7,_0x4350e4){return _0x3004a7/_0x4350e4;},'CGQJw':function(_0x4d8991,_0x2a56c5){return _0x4d8991/_0x2a56c5;},'RIbwv':function(_0x2d8e4a,_0x42a300){return _0x2d8e4a===_0x42a300;},'cAKNE':function(_0xf93676,_0x427029){return _0xf93676(_0x427029);},'fTXvW':function(_0x4fb58f,_0x947eda){return _0x4fb58f(_0x947eda);},'HsxTp':function(_0x400162,_0x1bf95e){return _0x400162(_0x1bf95e);},'eJzjO':function(_0x23c4b9,_0x1fccb4){return _0x23c4b9(_0x1fccb4);},'yQBoj':function(_0x5967f8,_0x5ba592){return _0x5967f8(_0x5ba592);},'OBWeR':function(_0x5c7905,_0x5eb186){return _0x5c7905(_0x5eb186);},'SXSnI':function(_0x56b909,_0x159822){return _0x56b909(_0x159822);},'QXrCX':'bpEmq','xHpov':function(_0xbf9d8c,_0x180f7f){return _0xbf9d8c(_0x180f7f);},'XubjD':function(_0x4c0e7c,_0x5ad893){return _0x4c0e7c(_0x5ad893);},'jlrvC':function(_0x30bee1,_0x54ea3f){return _0x30bee1(_0x54ea3f);},'NiePY':_0x5205a8(0x1f4),'tyuEc':_0x5205a8(0x221),'HmPWQ':function(_0x56ccdc,_0x43c103){return _0x56ccdc(_0x43c103);},'nKJGC':function(_0x14d88d,_0x121466){return _0x14d88d(_0x121466);},'tjSSS':function(_0x3db846,_0x40e283){return _0x3db846(_0x40e283);},'LIxYw':function(_0x4b7e15,_0x4057f6){return _0x4b7e15(_0x4057f6);},'ZnRas':function(_0x4d53ae,_0x3633d2){return _0x4d53ae(_0x3633d2);},'nuhJJ':function(_0x2bc41c,_0x1574e2){return _0x2bc41c(_0x1574e2);},'YCJkb':function(_0x540871,_0x4bf255){return _0x540871(_0x4bf255);},'vZQvP':function(_0x2348b5,_0x906db0){return _0x2348b5(_0x906db0);},'NPteO':function(_0xe82436,_0x249a4c){return _0xe82436(_0x249a4c);},'SMXEb':function(_0x34819b,_0xa4893c){return _0x34819b(_0xa4893c);},'cQndj':function(_0x37ddd5,_0x1e3bc7){return _0x37ddd5(_0x1e3bc7);},'dPIBd':function(_0x5db699,_0x375f8a){return _0x5db699(_0x375f8a);},'GayTN':_0x5205a8(0x125),'yKSoO':function(_0x4a501f,_0x2bfbaa){return _0x4a501f(_0x2bfbaa);},'JZUws':_0x5205a8(0x1ce),'OPqJG':function(_0xebf354,_0x5aadaf){return _0xebf354(_0x5aadaf);},'SQDUE':function(_0x567993,_0x26d1ba){return _0x567993(_0x26d1ba);},'QwcPS':function(_0x33e853,_0x338d9a){return _0x33e853(_0x338d9a);},'KbmcY':function(_0x494217,_0x4d2143){return _0x494217(_0x4d2143);},'FFZuk':function(_0x1bbb42,_0x4bb4dc){return _0x1bbb42(_0x4bb4dc);},'NNdRq':function(_0x29bfdd,_0x4259ab){return _0x29bfdd(_0x4259ab);},'yOMKU':function(_0xb2461d,_0x3d63bf){return _0xb2461d(_0x3d63bf);},'KlnoP':function(_0x3459c1,_0x47a2a1){return _0x3459c1(_0x47a2a1);},'ACLIS':_0x5205a8(0x15c),'dDldJ':function(_0x3f2ad6,_0x1489f3){return _0x3f2ad6(_0x1489f3);}},_0x514c38=_0x2ac8,_0x3f2cf8={'RfPTh':function(_0x12bed3){var _0x4bcf81=_0x5205a8;return _0x1d3f04[_0x4bcf81(0x287)](_0x12bed3);},'bpEmq':function(_0x48f872,_0x2f799f){var _0x4d398d=_0x5205a8;return _0x1d3f04[_0x4d398d(0x148)](_0x48f872,_0x2f799f);},'sOTyF':function(_0x4f3c98,_0x530f6b){var _0x3c38b8=_0x5205a8;return _0x1d3f04[_0x3c38b8(0x148)](_0x4f3c98,_0x530f6b);},'QgHRx':function(_0x3d3953,_0x444f3f){return _0x3d3953/_0x444f3f;},'pUFTl':function(_0x467df8,_0x2a3b94){var _0x3e4fe3=_0x5205a8;return _0x1d3f04[_0x3e4fe3(0x27e)](_0x467df8,_0x2a3b94);},'bRqRU':function(_0x15718a,_0x561b6a){var _0x5b9671=_0x5205a8;return _0x1d3f04[_0x5b9671(0x1c6)](_0x15718a,_0x561b6a);},'DKdSZ':function(_0x42d5c2,_0x3097b2){var _0xa83111=_0x5205a8;return _0x1d3f04[_0xa83111(0x1aa)](_0x42d5c2,_0x3097b2);},'PGOvi':function(_0x457e5e,_0x133c69){var _0x39f038=_0x5205a8;return _0x1d3f04[_0x39f038(0x1aa)](_0x457e5e,_0x133c69);},'PECst':function(_0x2f0a3a,_0x3ed1ac){var _0x3aea75=_0x5205a8;return _0x1d3f04[_0x3aea75(0x128)](_0x2f0a3a,_0x3ed1ac);},'SqHTV':function(_0x182d86,_0x377455){var _0x32a819=_0x5205a8;return _0x1d3f04[_0x32a819(0x1c6)](_0x182d86,_0x377455);},'qRKHG':function(_0x146448,_0x407ecf){var _0x5ca30a=_0x5205a8;return _0x1d3f04[_0x5ca30a(0x229)](_0x146448,_0x407ecf);},'SzDsL':function(_0x105375,_0x987dc9){var _0x1ef24d=_0x5205a8;return _0x1d3f04[_0x1ef24d(0x161)](_0x105375,_0x987dc9);},'yBxAQ':function(_0x53a289,_0x2c8340){var _0x9b4d67=_0x5205a8;return _0x1d3f04[_0x9b4d67(0x161)](_0x53a289,_0x2c8340);},'qXnRq':function(_0x3742f5,_0xf5d846){return _0x3742f5(_0xf5d846);},'GBlwS':function(_0x12ec16,_0x4c0bd8){return _0x12ec16(_0x4c0bd8);},'ruGOq':function(_0x421b01,_0xae92bb){var _0xce0620=_0x5205a8;return _0x1d3f04[_0xce0620(0x1d9)](_0x421b01,_0xae92bb);},'tETwW':function(_0x4b4dd9,_0x221379){var _0x409210=_0x5205a8;return _0x1d3f04[_0x409210(0x24c)](_0x4b4dd9,_0x221379);},'PqnIA':_0x1d3f04['YCJkb'](_0x514c38,0x230),'ipLyd':_0x1d3f04[_0x5205a8(0x1d2)](_0x514c38,0x217),'ZhUkh':function(_0x32cb28,_0xa4785c){return _0x1d3f04['eJzjO'](_0x32cb28,_0xa4785c);},'SSQgZ':function(_0x3c6637,_0x52e58a){return _0x3c6637(_0x52e58a);},'IjUzz':function(_0x119cc4,_0x5faaf4){return _0x119cc4(_0x5faaf4);},'VKdjp':function(_0xb6096a,_0xf102b){var _0x5563e9=_0x5205a8;return _0x1d3f04[_0x5563e9(0x161)](_0xb6096a,_0xf102b);},'CHkAs':function(_0xc5ce65,_0x4682f9){var _0x453f07=_0x5205a8;return _0x1d3f04[_0x453f07(0x161)](_0xc5ce65,_0x4682f9);},'KSLLN':function(_0xea9dcd,_0xe0747e){var _0x304327=_0x5205a8;return _0x1d3f04[_0x304327(0x1d9)](_0xea9dcd,_0xe0747e);},'xFyxr':_0x1d3f04['nuhJJ'](_0x514c38,0x1d9),'hGGbZ':function(_0x27e263,_0x45b1cb){var _0x2a04dc=_0x5205a8;return _0x1d3f04[_0x2a04dc(0x161)](_0x27e263,_0x45b1cb);},'xKOGu':function(_0x4a684b,_0x5aa780){return _0x1d3f04['yQBoj'](_0x4a684b,_0x5aa780);},'gILKq':function(_0x5ec6d7,_0x41030d){var _0x56eb1f=_0x5205a8;return _0x1d3f04[_0x56eb1f(0x28a)](_0x5ec6d7,_0x41030d);},'mxTkS':function(_0x4ea6c0,_0x3be769){var _0x4fa94a=_0x5205a8;return _0x1d3f04[_0x4fa94a(0x27a)](_0x4ea6c0,_0x3be769);},'dYOib':function(_0x2b4766,_0x1bb21f){var _0x526d55=_0x5205a8;return _0x1d3f04[_0x526d55(0x1c6)](_0x2b4766,_0x1bb21f);}},_0x96f18e=_0xec23,_0x57166e={'mXiyC':function(_0x3f0c4a){var _0x3b3794=_0x514c38;return _0x3f2cf8[_0x1d3f04['fTXvW'](_0x3b3794,0x1e8)](_0x3f0c4a);},'ZqqJp':function(_0x13eac7,_0x187e0c){var _0x30b82f=_0x5205a8;return _0x3f2cf8[_0x1d3f04[_0x30b82f(0x288)]](_0x13eac7,_0x187e0c);},'mOPTs':function(_0x2a5362,_0x276d17){var _0x3e2a1b=_0x5205a8,_0xfae88e=_0x514c38;return _0x3f2cf8[_0x1d3f04[_0x3e2a1b(0x1cb)](_0xfae88e,0x208)](_0x2a5362,_0x276d17);},'PpXJM':function(_0x555750,_0x46c7ad){var _0x41d6c1=_0x5205a8,_0x3a141a=_0x514c38;return _0x3f2cf8[_0x1d3f04[_0x41d6c1(0x28d)](_0x3a141a,0x208)](_0x555750,_0x46c7ad);},'cyvNM':function(_0x39cd1a,_0x1eec84){var _0x549407=_0x5205a8,_0x351995=_0x514c38;return _0x3f2cf8[_0x1d3f04[_0x549407(0x127)](_0x351995,0x207)](_0x39cd1a,_0x1eec84);},'SeOqC':function(_0x3a08c9,_0x16374e){var _0x2380d3=_0x5205a8,_0x17f298=_0x514c38;return _0x3f2cf8[_0x1d3f04[_0x2380d3(0x15b)](_0x17f298,0x234)](_0x3a08c9,_0x16374e);},'hxffF':function(_0x40845a,_0x44963f){return _0x40845a(_0x44963f);},'LbAlE':function(_0x7c1c89,_0x777da8){var _0x99aacd=_0x5205a8;return _0x3f2cf8[_0x1d3f04[_0x99aacd(0x1be)]](_0x7c1c89,_0x777da8);},'IYuxk':function(_0x1d30a0,_0x521153){var _0x8b8e02=_0x5205a8;return _0x3f2cf8[_0x1d3f04[_0x8b8e02(0x13a)]](_0x1d30a0,_0x521153);},'Jmegu':function(_0x1466b6,_0x18a144){var _0x3cbb24=_0x5205a8,_0x35017c=_0x514c38;return _0x3f2cf8[_0x1d3f04[_0x3cbb24(0x20f)](_0x35017c,0x1fd)](_0x1466b6,_0x18a144);},'sZaNj':function(_0x52ae87,_0x25984d){var _0xd92eb9=_0x5205a8;return _0x1d3f04[_0xd92eb9(0x266)](_0x52ae87,_0x25984d);},'hfTtG':function(_0x48d01a,_0x298579){var _0x36372d=_0x514c38;return _0x3f2cf8[_0x36372d(0x1c6)](_0x48d01a,_0x298579);},'MFICa':function(_0x5b1518,_0x5b2f4d){var _0x387123=_0x5205a8,_0x152481=_0x514c38;return _0x3f2cf8[_0x1d3f04[_0x387123(0x19d)](_0x152481,0x1c6)](_0x5b1518,_0x5b2f4d);},'EzcmA':function(_0x46d3f6,_0x268903){var _0x25e356=_0x514c38;return _0x3f2cf8[_0x1d3f04['LIxYw'](_0x25e356,0x1c5)](_0x46d3f6,_0x268903);},'aEQhs':function(_0x28906b,_0x4070d1){var _0x44e372=_0x514c38;return _0x3f2cf8[_0x1d3f04['fTXvW'](_0x44e372,0x204)](_0x28906b,_0x4070d1);},'TJpiV':function(_0xd771c4,_0x4b1581){var _0x13051c=_0x5205a8,_0x2a38be=_0x514c38;return _0x3f2cf8[_0x1d3f04[_0x13051c(0x1e3)](_0x2a38be,0x1fd)](_0xd771c4,_0x4b1581);},'Keian':function(_0x156d53,_0x3f8258){var _0x242eca=_0x514c38;return _0x3f2cf8[_0x242eca(0x207)](_0x156d53,_0x3f8258);},'YEPFS':function(_0x348267,_0x50e296){var _0x2e1877=_0x514c38;return _0x3f2cf8[_0x1d3f04['nuhJJ'](_0x2e1877,0x1b6)](_0x348267,_0x50e296);},'GzgAE':_0x3f2cf8[_0x1d3f04[_0x5205a8(0x28a)](_0x514c38,0x21d)](_0x96f18e,0x172)},_0x1e5fbf=_0x502b,_0x380d90=_0x57166e[_0x3f2cf8[_0x1d3f04[_0x5205a8(0x1a9)](_0x514c38,0x204)](_0x96f18e,0x170)](_0x20bf50);while(!![]){try{var _0x272676=_0x57166e[_0x3f2cf8[_0x514c38(0x239)](_0x96f18e,0x153)](_0x57166e[_0x3f2cf8[_0x514c38(0x238)](_0x96f18e,0x153)](_0x57166e[_0x3f2cf8[_0x1d3f04[_0x5205a8(0x17b)](_0x514c38,0x1fd)](_0x96f18e,0x153)](_0x57166e[_0x3f2cf8[_0x1d3f04[_0x5205a8(0x226)](_0x514c38,0x238)](_0x96f18e,0x153)](_0x57166e[_0x3f2cf8[_0x1d3f04[_0x5205a8(0x127)](_0x514c38,0x238)](_0x96f18e,0x164)](_0x57166e[_0x3f2cf8[_0x1d3f04['cQndj'](_0x514c38,0x238)](_0x96f18e,0x152)](_0x57166e[_0x3f2cf8[_0x1d3f04[_0x5205a8(0x21c)](_0x514c38,0x204)](_0x96f18e,0x185)](_0x3f2cf8[_0x514c38(0x239)](parseInt,_0x1d3f04[_0x5205a8(0x1c6)](_0x1e5fbf,0x81)),0x1),_0x57166e[_0x3f2cf8[_0x1d3f04['GayTN']](_0x96f18e,0x16a)](_0x57166e[_0x3f2cf8[_0x1d3f04[_0x5205a8(0x1cb)](_0x514c38,0x21d)](_0x96f18e,0x185)](-_0x57166e[_0x3f2cf8[_0x1d3f04[_0x5205a8(0x24e)](_0x514c38,0x215)](_0x96f18e,0x156)](parseInt,_0x57166e[_0x3f2cf8[_0x1d3f04[_0x5205a8(0x21d)]](_0x96f18e,0x162)](_0x1e5fbf,0x75)),0x2),_0x57166e[_0x3f2cf8[_0x514c38(0x1c4)]](_0x57166e[_0x3f2cf8[_0x1d3f04[_0x5205a8(0x26f)](_0x514c38,0x21d)](_0x96f18e,0x17f)](parseInt,_0x57166e[_0x3f2cf8[_0x514c38(0x235)]](_0x1e5fbf,0x83)),0x3))),_0x57166e[_0x3f2cf8[_0x1d3f04[_0x5205a8(0x28a)](_0x514c38,0x1f5)](_0x96f18e,0x157)](-_0x57166e[_0x3f2cf8[_0x1d3f04[_0x5205a8(0x24a)](_0x514c38,0x1af)](_0x96f18e,0x17f)](parseInt,_0x1d3f04[_0x5205a8(0x1cd)](_0x1e5fbf,0x80)),0x4)),_0x57166e[_0x1d3f04[_0x5205a8(0x1ef)](_0x96f18e,0x157)](-_0x57166e[_0x3f2cf8[_0x1d3f04['FFZuk'](_0x514c38,0x1ae)](_0x96f18e,0x156)](parseInt,_0x3f2cf8[_0x1d3f04[_0x5205a8(0x1d9)](_0x514c38,0x21d)](_0x1e5fbf,0x78)),0x5)),_0x57166e[_0x96f18e(0x16a)](_0x57166e[_0x3f2cf8[_0x514c38(0x1c2)](_0x96f18e,0x185)](-_0x57166e[_0x3f2cf8[_0x1d3f04[_0x5205a8(0x21e)](_0x514c38,0x1be)](_0x96f18e,0x169)](parseInt,_0x3f2cf8[_0x514c38(0x1c2)](_0x1e5fbf,0x7d)),0x6),_0x57166e[_0x3f2cf8[_0x514c38(0x1f4)](_0x96f18e,0x15c)](_0x57166e[_0x1d3f04['NNdRq'](_0x96f18e,0x169)](parseInt,_0x1d3f04[_0x5205a8(0x1d9)](_0x1e5fbf,0x79)),0x7))),_0x57166e[_0x3f2cf8[_0x1d3f04[_0x5205a8(0x223)](_0x514c38,0x1fd)](_0x96f18e,0x15b)](_0x57166e[_0x1d3f04[_0x5205a8(0x19d)](_0x514c38,0x22c)](parseInt,_0x57166e[_0x3f2cf8[_0x5205a8(0x1b4)]](_0x1e5fbf,0x7e)),0x8)),_0x57166e[_0x3f2cf8[_0x1d3f04[_0x5205a8(0x29b)](_0x514c38,0x21d)](_0x96f18e,0x16a)](_0x57166e[_0x1d3f04[_0x5205a8(0x157)](_0x96f18e,0x157)](_0x57166e[_0x3f2cf8[_0x1d3f04[_0x5205a8(0x217)]](_0x96f18e,0x169)](parseInt,_0x57166e[_0x3f2cf8[_0x514c38(0x1c2)](_0x96f18e,0x162)](_0x1e5fbf,0x77)),0x9),_0x57166e[_0x3f2cf8['xKOGu'](_0x96f18e,0x154)](_0x3f2cf8[_0x1d3f04['dDldJ'](_0x514c38,0x1ae)](parseInt,_0x57166e[_0x1d3f04[_0x5205a8(0x127)](_0x96f18e,0x169)](_0x1e5fbf,0x7f)),0xa)));if(_0x57166e[_0x96f18e(0x174)](_0x272676,_0x399fcb))break;else _0x380d90[_0x514c38(0x216)](_0x380d90[_0x57166e[_0x3f2cf8[_0x514c38(0x1f2)](_0x96f18e,0x163)]]());}catch(_0x489977){_0x380d90[_0x3f2cf8[_0x514c38(0x1d7)](_0x96f18e,0x161)](_0x380d90[_0x57166e[_0x3f2cf8[_0x514c38(0x1dd)](_0x96f18e,0x163)]]());}}}(_0x207e,0x874c8));function _0x4029(){var _0x4111bb=_0x42f4,_0x18f9f3={'bXkjn':'YEPFS','uyZaG':_0x4111bb(0x15f),'tkQxg':_0x4111bb(0x1d6),'uiHKN':_0x4111bb(0x198),'qUsGL':_0x4111bb(0x209),'DRtsn':_0x4111bb(0x156),'JIlkH':'eVtBP','gZLIW':_0x4111bb(0x1b3),'hmzBP':_0x4111bb(0x18b),'vTINn':_0x4111bb(0x19b),'PkMpU':_0x4111bb(0x20b),'fTubu':_0x4111bb(0x265),'bEmdW':_0x4111bb(0x1ab),'pAUJs':_0x4111bb(0x1d7),'nzKpa':_0x4111bb(0x17d),'fsJmP':'qRKHG','Ayakr':_0x4111bb(0x237),'MUyAg':_0x4111bb(0x1c0),'WZHym':'14559759FVoksr','fQvMe':_0x4111bb(0x248),'kbPIq':_0x4111bb(0x23e),'tfsEm':'CHkAs','OxwEJ':_0x4111bb(0x267),'HViup':_0x4111bb(0x1e0),'RrGYb':_0x4111bb(0x17f),'aWmex':_0x4111bb(0x289),'EfHJP':_0x4111bb(0x200),'aFbnf':_0x4111bb(0x20d),'mHJkV':_0x4111bb(0x204),'rurwr':_0x4111bb(0x172),'kziGr':'tYoeZ','nKaNd':_0x4111bb(0x139),'SuVtw':_0x4111bb(0x268),'VuGZk':_0x4111bb(0x24b),'ClVis':_0x4111bb(0x245),'ZKBaY':'MUxPy','fVnut':_0x4111bb(0x194),'RZFCV':_0x4111bb(0x167),'Yvhsg':'cyvNM','dvHLO':_0x4111bb(0x1f7),'ZDiQb':_0x4111bb(0x1e9),'KJmfJ':'wgoLC','HLvIY':'TJpiV','BCxkD':_0x4111bb(0x232),'pBeEV':_0x4111bb(0x255),'JmTNe':_0x4111bb(0x1fb),'sBtKz':_0x4111bb(0x1a2),'SbJzJ':_0x4111bb(0x16e),'LdbqD':_0x4111bb(0x14f),'IjVqv':_0x4111bb(0x195),'bUCmy':'36FLJPKS','eJLMD':_0x4111bb(0x1af),'vPAHe':'JvlmR','ZGQwb':'pleDE','JXLBy':_0x4111bb(0x201),'yUKtk':_0x4111bb(0x231),'pCSmm':_0x4111bb(0x1a0),'vcFxP':'1138vCgEGK','uUWwB':'1370BoezjQ','imkgh':_0x4111bb(0x22a),'omVPh':_0x4111bb(0x247),'Wwuzk':_0x4111bb(0x123),'Gxflq':_0x4111bb(0x124),'OdYuC':_0x4111bb(0x1f9),'YQzQV':'KSLLN','WNogi':_0x4111bb(0x233),'jPsfR':_0x4111bb(0x179),'XObYw':_0x4111bb(0x178),'sIYEq':'DcgCp','behKn':_0x4111bb(0x154),'BMKnm':_0x4111bb(0x12a),'qpexT':_0x4111bb(0x1f4),'WZQrX':_0x4111bb(0x259),'YvYHY':_0x4111bb(0x155),'YqLHJ':_0x4111bb(0x284),'IIAiA':_0x4111bb(0x1bf),'CMxrh':_0x4111bb(0x25d),'zUPhl':'tHMAl','WqdFd':_0x4111bb(0x192),'TLIVp':_0x4111bb(0x144),'UECvN':_0x4111bb(0x1ae),'GRejo':_0x4111bb(0x21b),'OvZzo':'LVkOQ','pNkRo':_0x4111bb(0x257),'NDPVH':_0x4111bb(0x252),'NpivX':'push','mXHee':_0x4111bb(0x146),'KtDJc':'IQGEr','YwYkb':_0x4111bb(0x1c1),'nHOnS':_0x4111bb(0x211),'HSdoF':_0x4111bb(0x121),'ITFdx':'yVvpj','XaDLM':_0x4111bb(0x20c),'urkOk':_0x4111bb(0x286),'WueqD':_0x4111bb(0x14e),'GZwGH':'PbrEc','ptoLb':_0x4111bb(0x1fa),'nNker':_0x4111bb(0x235),'GeQcP':_0x4111bb(0x240),'ZERNm':_0x4111bb(0x238),'rJlen':'nGSPw','oIysz':_0x4111bb(0x1e1),'aHTza':_0x4111bb(0x260),'EOCus':_0x4111bb(0x15d),'XFIpt':_0x4111bb(0x1a7),'kQItI':_0x4111bb(0x16d),'EVpdo':_0x4111bb(0x243),'KxwRG':_0x4111bb(0x26c),'OHBVk':'5848bOnJES','GGSof':'ipLyd','YqiGa':_0x4111bb(0x187),'dPvys':function(_0x134428){return _0x134428();}},_0x2bb83b=[_0x18f9f3[_0x4111bb(0x298)],_0x18f9f3[_0x4111bb(0x285)],_0x4111bb(0x13e),_0x18f9f3[_0x4111bb(0x283)],_0x18f9f3['uiHKN'],_0x4111bb(0x15e),_0x18f9f3[_0x4111bb(0x185)],_0x18f9f3[_0x4111bb(0x295)],_0x18f9f3[_0x4111bb(0x1fd)],_0x18f9f3[_0x4111bb(0x25c)],_0x18f9f3[_0x4111bb(0x1fe)],_0x18f9f3[_0x4111bb(0x234)],_0x18f9f3[_0x4111bb(0x1b1)],_0x18f9f3['fTubu'],_0x4111bb(0x29a),_0x18f9f3[_0x4111bb(0x162)],_0x4111bb(0x219),_0x18f9f3[_0x4111bb(0x1da)],_0x18f9f3[_0x4111bb(0x1cf)],_0x18f9f3[_0x4111bb(0x17c)],_0x18f9f3[_0x4111bb(0x163)],_0x18f9f3[_0x4111bb(0x1e6)],_0x4111bb(0x18a),_0x4111bb(0x1c7),_0x18f9f3[_0x4111bb(0x170)],_0x18f9f3[_0x4111bb(0x27c)],_0x18f9f3['kbPIq'],_0x18f9f3[_0x4111bb(0x18e)],_0x18f9f3[_0x4111bb(0x17a)],_0x18f9f3['HViup'],_0x18f9f3[_0x4111bb(0x1bb)],_0x18f9f3[_0x4111bb(0x1ad)],_0x18f9f3['EfHJP'],_0x4111bb(0x29c),'PECst',_0x18f9f3[_0x4111bb(0x1cc)],_0x18f9f3[_0x4111bb(0x25f)],'GroupHomeWorkWindow',_0x18f9f3['rurwr'],_0x18f9f3[_0x4111bb(0x1ed)],_0x18f9f3[_0x4111bb(0x12f)],_0x4111bb(0x1c2),_0x18f9f3[_0x4111bb(0x132)],_0x18f9f3[_0x4111bb(0x23d)],_0x18f9f3[_0x4111bb(0x168)],_0x18f9f3[_0x4111bb(0x299)],_0x18f9f3[_0x4111bb(0x26e)],_0x4111bb(0x1b8),_0x18f9f3[_0x4111bb(0x158)],_0x18f9f3[_0x4111bb(0x1b6)],_0x18f9f3[_0x4111bb(0x19c)],_0x18f9f3[_0x4111bb(0x210)],'mxTkS',_0x18f9f3[_0x4111bb(0x263)],_0x18f9f3[_0x4111bb(0x14c)],_0x18f9f3['BCxkD'],_0x18f9f3[_0x4111bb(0x184)],_0x18f9f3[_0x4111bb(0x199)],_0x4111bb(0x22d),_0x4111bb(0x1b2),_0x18f9f3['sBtKz'],_0x18f9f3[_0x4111bb(0x193)],_0x18f9f3['LdbqD'],_0x18f9f3[_0x4111bb(0x281)],_0x18f9f3['bUCmy'],_0x18f9f3[_0x4111bb(0x246)],_0x18f9f3[_0x4111bb(0x1ea)],_0x18f9f3[_0x4111bb(0x145)],_0x18f9f3['JXLBy'],_0x18f9f3[_0x4111bb(0x294)],'VgDJI',_0x18f9f3['pCSmm'],_0x18f9f3[_0x4111bb(0x186)],_0x18f9f3[_0x4111bb(0x13f)],_0x18f9f3[_0x4111bb(0x271)],_0x18f9f3[_0x4111bb(0x129)],'2374XXeqxQ',_0x18f9f3[_0x4111bb(0x239)],_0x4111bb(0x262),_0x18f9f3[_0x4111bb(0x1f5)],_0x18f9f3[_0x4111bb(0x1c3)],_0x18f9f3['YQzQV'],_0x18f9f3['WNogi'],_0x4111bb(0x142),_0x18f9f3[_0x4111bb(0x134)],_0x18f9f3[_0x4111bb(0x1a4)],_0x4111bb(0x16c),_0x18f9f3[_0x4111bb(0x28f)],_0x18f9f3[_0x4111bb(0x22c)],_0x18f9f3[_0x4111bb(0x261)],_0x18f9f3[_0x4111bb(0x1d4)],_0x4111bb(0x1de),_0x4111bb(0x17e),_0x4111bb(0x130),_0x18f9f3['WZQrX'],_0x18f9f3[_0x4111bb(0x278)],_0x18f9f3[_0x4111bb(0x13c)],_0x4111bb(0x1e8),_0x18f9f3[_0x4111bb(0x12b)],_0x18f9f3[_0x4111bb(0x230)],'QgHRx',_0x4111bb(0x203),_0x18f9f3[_0x4111bb(0x264)],_0x18f9f3[_0x4111bb(0x1e2)],_0x4111bb(0x29d),'27180fzXsPn',_0x4111bb(0x1fc),_0x18f9f3[_0x4111bb(0x13b)],_0x4111bb(0x23a),_0x18f9f3[_0x4111bb(0x196)],_0x18f9f3[_0x4111bb(0x1f2)],_0x4111bb(0x297),_0x18f9f3['OvZzo'],_0x18f9f3[_0x4111bb(0x140)],_0x18f9f3['NDPVH'],_0x18f9f3[_0x4111bb(0x1e4)],_0x4111bb(0x1c5),_0x18f9f3[_0x4111bb(0x1e5)],_0x18f9f3[_0x4111bb(0x20e)],_0x18f9f3[_0x4111bb(0x22e)],_0x4111bb(0x133),_0x18f9f3[_0x4111bb(0x1d3)],_0x18f9f3[_0x4111bb(0x1d1)],_0x18f9f3[_0x4111bb(0x15a)],_0x18f9f3[_0x4111bb(0x137)],_0x18f9f3[_0x4111bb(0x1dc)],_0x4111bb(0x279),_0x18f9f3[_0x4111bb(0x22f)],_0x18f9f3[_0x4111bb(0x269)],_0x18f9f3[_0x4111bb(0x1a8)],_0x18f9f3[_0x4111bb(0x1bc)],_0x18f9f3[_0x4111bb(0x1f3)],_0x18f9f3[_0x4111bb(0x1e7)],_0x18f9f3[_0x4111bb(0x190)],_0x18f9f3[_0x4111bb(0x26a)],'shift',_0x18f9f3[_0x4111bb(0x1a6)],'aEQhs',_0x18f9f3['EOCus'],_0x18f9f3[_0x4111bb(0x19f)],_0x18f9f3[_0x4111bb(0x166)],_0x18f9f3[_0x4111bb(0x1a1)],'vllMi',_0x18f9f3[_0x4111bb(0x228)],_0x18f9f3['OHBVk'],_0x4111bb(0x290),_0x18f9f3[_0x4111bb(0x222)],_0x18f9f3['YqiGa']];return _0x4029=function(){return _0x2bb83b;},_0x18f9f3[_0x4111bb(0x120)](_0x4029);}function _0x2ac8(_0x144121,_0x52485c){var _0x4b2cc7=_0x42f4,_0x31cb06={'fmbuK':function(_0xde774b,_0x4a5ce0){return _0xde774b-_0x4a5ce0;},'NVGaP':function(_0x573afd){return _0x573afd();}},_0x4afb07=_0x31cb06[_0x4b2cc7(0x1ac)](_0x4029);return _0x2ac8=function(_0x14d34a,_0x56526f){var _0x4993d5=_0x4b2cc7;_0x14d34a=_0x31cb06[_0x4993d5(0x25e)](_0x14d34a,0x1a6);var _0x659f0c=_0x4afb07[_0x14d34a];return _0x659f0c;},_0x2ac8(_0x144121,_0x52485c);}function _0x526e(){var _0x499cb9=['28xJooIp','mOPTs','Wwuzk','TfNPO','GuxfP','shift','VuGZk','GzgAE','GgKYy','Zhdlr','ehJyd','Ejyav','IYuxk','KxlWX','bOHtH','eJLMD','bCTzs','3311215pDPMVa','wHzGd','SQDUE','fiAwX','HsxTp','jfQKv','yKSoO','fPKey','JpMwI','KeavG','ruGOq','REyUx','DqtkK','196nTDdCc','775159RLTSDN','SJEzf','QtktO','GroupNotifyFilterWindow','avlSj','jENfm','gZLIW','FNKwh','fmbuK','mHJkV','hxffF','BMKnm','pqbmM','KJmfJ','zUPhl','#/group-home-work','nKJGC','gwDkl','QrIOT','GZwGH','oIysz','16TFbhuI','1491kFOeYI','PUzvA','fVnut','OPqJG','yjCeM','imkgh','MEiQO','IQHJN','VNjin','dRpQo','FHkyn','push','YvYHY','Shsrx','SXSnI','IFZdy','fQvMe','jbjwT','YIULa','nNZfW','TRmCb','IjVqv','RalBQ','tkQxg','Keian','uyZaG','MFICa','PEMnz','QXrCX','VKdjp','OBWeR','gJWti','UOeYY','eJzjO','bNxgl','sIYEq','pUFTl','oYAOv','nXOPy','zEmtE','yUKtk','DRtsn','2bPIBug','WBEOe','bXkjn','ZKBaY','675999ZZagbh','yOMKU','PqnIA','DECZD','kOhlk','vwQKd','Nrfhs','sXTGg','dPvys','SzDsL','GLAav','mxtdv','gILKq','GBlwS','gjjnv','XubjD','CGQJw','omVPh','xDcDB','IIAiA','eaBAI','hXhPF','AHMuq','nKaNd','dujNL','bnkAF','SuVtw','NWPDj','jPsfR','hAPKw','FVmoj','XaDLM','362787vGxdNm','oGjTG','tyuEc','TLIVp','YqLHJ','gYaCx','yBxAQ','uUWwB','pNkRo','HVedt','GroupEssenceWindow','wSGEb','HMdJI','ZGQwb','fxhLN','8096280sGCCwn','fJKnZ','CAQXa','VVawY','tRyIl','HLvIY','ldGWH','VozrX','IfdoN','5757795xFPohv','EYzJI','TXGmq','hJJnM','eLOWw','TXAys','529aerpyL','KlnoP','RZFCV','FXcMk','ITFdx','jlrvC','hGGbZ','6837928tHkGlb','28eFvzGQ','qXnRq','kfETY','cAKNE','bEmdW','Ayakr','YTPmV','ChdsI','kQItI','MpagQ','ClVis','chgsj','uwTVZ','1562GGyTQc','77HOBIWb','LwfrH','SrRTl','dpzub','WZHym','aIHEA','Qwbsi','quhRH','aGGft','yjWzY','mExhP','EmdXU','#/group-notify-filter','135512ntnaXZ','OxwEJ','NPteO','fsJmP','ccOWO','puGRf','107704XPvske','xCmOf','Ukvmx','fyplf','kEYYv','pBeEV','qUsGL','vcFxP','hfTtG','IJxEI','752901PueHfK','8972094BmtwkU','3488298yIIxdM','sJBdv','BHsnz','tfsEm','AkPgc','rJlen','nflVY','eLAHe','SbJzJ','HCzLh','318629hCyoUw','UECvN','JTPOY','119fdcbbS','JmTNe','fIoju','IjUzz','dvHLO','tjSSS','VWklw','XFIpt','8171332IvBHdO','EVpdo','3692goYSqe','lGRUV','XObYw','wsRpw','aHTza','wfRIl','ptoLb','vZQvP','rAEvv','YTHeI','NVGaP','aWmex','Fmsff','190OnGUBS','QCGfM','PkMpU','uNlaQ','YHpRR','xFyxr','uKNqW','Yvhsg','Holzq','SeOqC','Jmegu','acCLv','RrGYb','nNker','uYhzu','NiePY','VxUXF','vbwAU','fArcP','Duths','OdYuC','EMBzB','sZaNj','UMDTf','1245952qwucxb','8030lTlOyG','rMEGn','paKND','xHpov','aFbnf','QwcPS','tETwW','nzKpa','eaVHf','HSdoF','LIxYw','nHOnS','qpexT','DqBCH','1141470dQduNl','QscXX','48udqTwb','fTXvW','pAUJs','TjieW','urkOk','BXbeF','jnDMM','5834528obZbVH','16749PUKrcC','420pPPQlK','WqdFd','ZnRas','NpivX','mXHee','MUyAg','ZERNm','SqHTV','XUNzV','vPAHe','ZUKLo','vFeAc','kziGr','tVJwU','KbmcY','zmzXD','XUWeP','GRejo','GeQcP','bRqRU','Gxflq','WscNI','MPTxb','gClym','cUkog','ZfGiv','tAmFo','IzLam','JIlkH','hmzBP','pcAxn','SJPjU','msfWR','nEyXY','sOTyF','RJWmM','eVtBP','YkHfa','pVtZs','TjhpJ','JcCwE','129790OCSOAt','SSQgZ','QnnpF','PGOvi','KtDJc','HmPWQ','ZDiQb','EJPnl','Dnzqd','XdhEP','LTLef','842138HMMnJw','WsuLW','ACLIS','RaCWG','196743kqmlyE','BCkbD','IrfeH','dPIBd','JZUws','FFZuk','CyXSr','EzcmA','DKdSZ','GGSof','yQBoj','320934RniygA','aPmqf','SMXEb','LAQIT','KxwRG','RIbwv','azVsE','jbHSi','behKn','dYOib','YwYkb','WueqD','CMxrh','RfPTh','SOLmU','ZhUkh','vTINn','lJObl','murrQ'];_0x526e=function(){return _0x499cb9;};return _0x526e();}function _0xec23(_0x23cfb0,_0x15d2da){var _0x54d0a7={'JpMwI':function(_0x55285a,_0x329127,_0x103511){return _0x55285a(_0x329127,_0x103511);},'RCEYg':function(_0x459b7a){return _0x459b7a();},'cuyjI':function(_0x3819be,_0x273a95){return _0x3819be(_0x273a95);}},_0x4ad241=_0x2ac8,_0x19902e={'RJWmM':function(_0x1087a6,_0x569de9,_0x8ae864){var _0x370fa4=_0x42f4;return _0x54d0a7[_0x370fa4(0x250)](_0x1087a6,_0x569de9,_0x8ae864);}},_0x367473=_0x54d0a7['RCEYg'](_0x586f);return _0xec23=function(_0x561833,_0xfb6dd6){_0x561833=_0x561833-0x151;var _0xe7c195=_0x367473[_0x561833];return _0xe7c195;},_0x19902e[_0x54d0a7['cuyjI'](_0x4ad241,0x1c7)](_0xec23,_0x23cfb0,_0x15d2da);}export class NTQQWindows{static [_0x165ea7(0x1c8)]={'windowName':_0x3a785e(0x16b),'windowUrlHash':_0x46abb0(0x7c)};static [_0x46abb0(0x7a)]={'windowName':_0x3a785e(0x151),'windowUrlHash':_0x46abb0(0x7b)};static [_0x3a785e(0x15d)]={'windowName':_0x46abb0(0x82),'windowUrlHash':_0x46abb0(0x76)};}function _0x502b(_0x4ba73d,_0x56129a){var _0x2cd0ae=_0x42f4,_0x5c3f73={'wSGEb':function(_0x21022b,_0x5b76c1){return _0x21022b-_0x5b76c1;},'qcRxt':function(_0x4fdeaf){return _0x4fdeaf();},'Ukvmx':function(_0x4c5870,_0x4df2e1){return _0x4c5870(_0x4df2e1);},'uYhzu':function(_0x67193b,_0x459861,_0x53b10f){return _0x67193b(_0x459861,_0x53b10f);},'CyXSr':_0x2cd0ae(0x24f)},_0x174d02=_0x165ea7,_0x53546b={'JTPOY':function(_0x368c36,_0x1a76ac){var _0x2178fc=_0x2cd0ae;return _0x5c3f73[_0x2178fc(0x143)](_0x368c36,_0x1a76ac);},'xCmOf':function(_0x16d2ef){return _0x5c3f73['qcRxt'](_0x16d2ef);},'FNKwh':function(_0x1d4586,_0x51f0ce){var _0x4aa015=_0x2cd0ae;return _0x5c3f73[_0x4aa015(0x181)](_0x1d4586,_0x51f0ce);},'fPKey':function(_0x55e5bf,_0x2d540d){return _0x55e5bf(_0x2d540d);}},_0x164eb1=_0x3a785e,_0x3f31ff={'pleDE':function(_0x696938,_0x5ac11b){var _0x35c332=_0x2cd0ae;return _0x53546b[_0x35c332(0x197)](_0x696938,_0x5ac11b);},'LVkOQ':function(_0x1749f1){var _0x25b0e9=_0x2cd0ae;return _0x53546b[_0x25b0e9(0x180)](_0x1749f1);},'ccOWO':function(_0x5cffc3,_0x36e0dc,_0x598d43){var _0x458b48=_0x2cd0ae;return _0x5c3f73[_0x458b48(0x1bd)](_0x5cffc3,_0x36e0dc,_0x598d43);}},_0x54b051=_0x3f31ff[_0x53546b[_0x5c3f73[_0x2cd0ae(0x21f)]](_0x164eb1,0x159)](_0x207e);return _0x502b=function(_0x57a8a1,_0xabeded){var _0x757b3=_0x2cd0ae,_0x397f86=_0x2ac8,_0x2e1376=_0x164eb1;_0x57a8a1=_0x3f31ff[_0x53546b[_0x5c3f73[_0x757b3(0x181)](_0x397f86,0x206)](_0x2e1376,0x16f)](_0x57a8a1,0x75);var _0x755bf5=_0x54b051[_0x57a8a1];return _0x755bf5;},_0x3f31ff[_0x53546b[_0x5c3f73[_0x2cd0ae(0x181)](_0x174d02,0x206)](_0x164eb1,0x166)](_0x502b,_0x4ba73d,_0x56129a);}function _0x207e(){var _0x55d8e6=_0x42f4,_0x125394={'WscNI':function(_0x1f1ffa){return _0x1f1ffa();},'hXhPF':function(_0x39e91a,_0x171416){return _0x39e91a(_0x171416);},'CAQXa':function(_0x5db33e,_0x1b1c3e){return _0x5db33e(_0x1b1c3e);},'eaVHf':function(_0x446a06,_0x9d00a6){return _0x446a06(_0x9d00a6);},'BHsnz':function(_0x56f692,_0x595df1){return _0x56f692(_0x595df1);},'zEmtE':_0x55d8e6(0x249),'UOeYY':function(_0x3dc85e,_0x1d0937){return _0x3dc85e(_0x1d0937);},'VNjin':function(_0xc37657,_0x4a70b7){return _0xc37657(_0x4a70b7);},'uwTVZ':function(_0x2674f0,_0x4d7972){return _0x2674f0(_0x4d7972);},'EMBzB':function(_0x4a81de,_0x4e8b28){return _0x4a81de(_0x4e8b28);},'MEiQO':function(_0x71fde9,_0x20d0f0){return _0x71fde9(_0x20d0f0);},'HVedt':'jnDMM','bnkAF':'dUsOz','LTLef':'EESZb','EmdXU':function(_0x4fb63a,_0x5677e2){return _0x4fb63a(_0x5677e2);},'KxlWX':function(_0x38bba1,_0x3d20e1){return _0x38bba1(_0x3d20e1);},'WsuLW':function(_0x33cbe8,_0xa7a18b){return _0x33cbe8(_0xa7a18b);},'TXGmq':function(_0x3f1df0,_0x541bfd){return _0x3f1df0(_0x541bfd);},'fIoju':function(_0x26ca7e,_0x1ae2b5){return _0x26ca7e(_0x1ae2b5);},'VWklw':function(_0x2a3520,_0x1911ea){return _0x2a3520(_0x1911ea);},'acCLv':_0x55d8e6(0x1f0),'OiflU':function(_0x753773,_0x56c013){return _0x753773(_0x56c013);}},_0x4a86c3=_0x165ea7,_0xbf7ebe={'wHzGd':function(_0x4d0892){var _0x111bcd=_0x55d8e6;return _0x125394[_0x111bcd(0x1f6)](_0x4d0892);},'jnDMM':function(_0x42eaea,_0x3850f0){var _0xb8b185=_0x55d8e6;return _0x125394[_0xb8b185(0x12d)](_0x42eaea,_0x3850f0);},'xDcDB':_0x125394['UOeYY'](_0x4a86c3,0x1e4),'dUsOz':_0x125394[_0x55d8e6(0x274)](_0x4a86c3,0x1b3),'EESZb':function(_0xcd232e,_0x43392f){return _0x125394['CAQXa'](_0xcd232e,_0x43392f);},'DcgCp':function(_0x3d3d5,_0x500150){return _0x125394['eaVHf'](_0x3d3d5,_0x500150);},'SJPjU':function(_0x340d25,_0xa0ccf5){return _0x125394['eaVHf'](_0x340d25,_0xa0ccf5);},'eLAHe':function(_0x497303,_0x4545fb){return _0x497303(_0x4545fb);},'VxUXF':function(_0x5e28ac,_0x50e15d){var _0x7ea959=_0x55d8e6;return _0x125394[_0x7ea959(0x149)](_0x5e28ac,_0x50e15d);},'XUNzV':function(_0x33e6dc,_0xb8a70d){var _0x21bd46=_0x55d8e6;return _0x125394[_0x21bd46(0x149)](_0x33e6dc,_0xb8a70d);},'VgDJI':function(_0x43bd37,_0x30ed15){var _0x266622=_0x55d8e6;return _0x125394[_0x266622(0x149)](_0x43bd37,_0x30ed15);},'zmzXD':function(_0x139a36,_0x5077f1){var _0x57732b=_0x55d8e6;return _0x125394[_0x57732b(0x18d)](_0x139a36,_0x5077f1);}},_0x27b12f=_0x3a785e,_0x5e5876={'MPTxb':_0xbf7ebe[_0x125394[_0x55d8e6(0x16a)](_0x4a86c3,0x1fe)](_0x27b12f,0x15e),'ZTlLy':_0x125394[_0x55d8e6(0x1d0)](_0x27b12f,0x151),'IrfeH':_0xbf7ebe[_0x125394[_0x55d8e6(0x1c4)](_0x4a86c3,0x1fe)](_0x27b12f,0x165),'Holzq':_0xbf7ebe[_0x125394[_0x55d8e6(0x18d)](_0x4a86c3,0x1fe)](_0x27b12f,0x181),'IQGEr':_0x55d8e6(0x224),'mxtdv':_0x125394[_0x55d8e6(0x1d0)](_0x27b12f,0x176),'eLOWw':_0xbf7ebe[_0x125394[_0x55d8e6(0x272)](_0x4a86c3,0x1fc)],'azVsE':_0xbf7ebe[_0x125394['HVedt']](_0x27b12f,0x160),'oGjTG':_0xbf7ebe[_0x4a86c3(0x1fe)](_0x27b12f,0x15f),'gwDkl':_0xbf7ebe[_0x125394[_0x55d8e6(0x131)]],'fxhLN':_0xbf7ebe[_0x125394[_0x55d8e6(0x214)]](_0x27b12f,0x173),'JcCwE':_0xbf7ebe[_0x125394[_0x55d8e6(0x177)](_0x4a86c3,0x1fe)](_0x27b12f,0x186),'dujNL':_0xbf7ebe[_0x125394[_0x55d8e6(0x149)](_0x4a86c3,0x1fa)](_0x27b12f,0x16c),'YHpRR':_0x27b12f(0x155),'EJPnl':function(_0x4c6835){var _0x12e2c4=_0x55d8e6;return _0xbf7ebe[_0x125394[_0x12e2c4(0x293)]](_0x4c6835);}},_0xa5b5c2=[_0x5e5876[_0xbf7ebe[_0x125394[_0x55d8e6(0x28c)](_0x4a86c3,0x1fe)](_0x27b12f,0x178)],_0x5e5876[_0xbf7ebe[_0x125394[_0x55d8e6(0x141)]](_0x27b12f,0x167)],_0x5e5876[_0xbf7ebe[_0x125394[_0x55d8e6(0x244)](_0x4a86c3,0x1c3)](_0x27b12f,0x17b)],_0x5e5876[_0x27b12f(0x188)],_0x5e5876[_0x125394[_0x55d8e6(0x216)](_0x27b12f,0x17e)],_0x5e5876[_0x125394['TXGmq'](_0x27b12f,0x184)],_0x5e5876[_0x125394[_0x55d8e6(0x216)](_0x27b12f,0x171)],_0x5e5876[_0x125394[_0x55d8e6(0x19a)](_0x4a86c3,0x1ed)],_0x5e5876[_0xbf7ebe[_0x125394['EMBzB'](_0x4a86c3,0x20a)](_0x27b12f,0x168)],_0xbf7ebe[_0x125394[_0x55d8e6(0x19e)](_0x4a86c3,0x205)](_0x27b12f,0x15d),_0x5e5876[_0xbf7ebe[_0x125394[_0x55d8e6(0x152)](_0x4a86c3,0x1d6)](_0x27b12f,0x187)],_0x5e5876[_0x125394[_0x55d8e6(0x216)](_0x27b12f,0x177)],_0x5e5876[_0xbf7ebe[_0x4a86c3(0x1e9)](_0x27b12f,0x17a)],_0x5e5876[_0x125394[_0x55d8e6(0x1d0)](_0x27b12f,0x180)],_0x5e5876[_0xbf7ebe[_0x125394[_0x55d8e6(0x1ba)]](_0x27b12f,0x18a)]];return _0x207e=function(){return _0xa5b5c2;},_0x5e5876[_0xbf7ebe[_0x125394['OiflU'](_0x4a86c3,0x20a)](_0x27b12f,0x183)](_0x207e);}function _0x586f(){var _0x217a9a=_0x42f4,_0x53bbeb={'Dnzqd':function(_0x4cb466,_0x5102a5){return _0x4cb466(_0x5102a5);},'OmMeX':_0x217a9a(0x1b9),'tRyIl':function(_0x2a6e79,_0x6dbc47){return _0x2a6e79(_0x6dbc47);},'gClym':function(_0x526a6a,_0x3cfaa0){return _0x526a6a(_0x3cfaa0);},'YkHfa':function(_0xfbcb59,_0x49f0e8){return _0xfbcb59(_0x49f0e8);},'DqBCH':'PpXJM','IJxEI':'ZqqJp','ChdsI':function(_0x477ec2,_0x53a606){return _0x477ec2(_0x53a606);},'IQHJN':_0x217a9a(0x147),'Ejyav':function(_0x3844c2,_0x1f2acc){return _0x3844c2(_0x1f2acc);},'vFeAc':function(_0x81433d,_0x2ba5f3){return _0x81433d(_0x2ba5f3);},'aGGft':function(_0x1765e7,_0x5835fe){return _0x1765e7(_0x5835fe);},'wOugq':_0x217a9a(0x277),'TjieW':function(_0x314dd9,_0x322620){return _0x314dd9(_0x322620);},'kEYYv':function(_0x4545b5,_0x45a188){return _0x4545b5(_0x45a188);},'QtktO':function(_0x299d27,_0x422e05){return _0x299d27(_0x422e05);},'FXcMk':'mXiyC','SvsMD':'shift','jbjwT':function(_0x53cd31,_0x1e7c81){return _0x53cd31(_0x1e7c81);},'RalBQ':function(_0x96f3cd,_0x40c563){return _0x96f3cd(_0x40c563);},'BXbeF':_0x217a9a(0x1eb),'chgsj':function(_0x15c3b6,_0x1f4027){return _0x15c3b6(_0x1f4027);},'LAQIT':'YyMOe','REyUx':'WldNE','FHkyn':'#/group-essence','jiXLk':function(_0x1793db,_0x20b7bd){return _0x1793db(_0x20b7bd);},'XdhEP':function(_0x593de2,_0x30fcbc){return _0x593de2(_0x30fcbc);},'avlSj':'PdDsQ','AYwDl':_0x217a9a(0x16f),'LMXAQ':_0x217a9a(0x14a),'GLAav':function(_0x356e6b,_0x3fdff5){return _0x356e6b(_0x3fdff5);},'aIHEA':function(_0x41483c,_0x207f99){return _0x41483c(_0x207f99);},'RaCWG':function(_0x4f4a65,_0x2fc9b3){return _0x4f4a65(_0x2fc9b3);},'AkPgc':function(_0x158037,_0x41149e){return _0x158037(_0x41149e);},'BSzOK':function(_0x50af2c,_0x68d592){return _0x50af2c(_0x68d592);},'hJJnM':'LbAlE','XUWeP':_0x217a9a(0x27f),'IFZdy':'ZTlLy','vwQKd':function(_0x1565d7,_0x53b50f){return _0x1565d7(_0x53b50f);},'sqpIV':function(_0x2657dd,_0x15302d){return _0x2657dd(_0x15302d);},'fyplf':function(_0x480820,_0x5cd241){return _0x480820(_0x5cd241);},'oYAOv':_0x217a9a(0x1b5),'ogpBU':function(_0x587112,_0x28fe02){return _0x587112(_0x28fe02);},'AHMuq':function(_0x198475,_0x5ab748){return _0x198475(_0x5ab748);},'GtHil':'DpKQo','IZlmJ':function(_0x4ba20b){return _0x4ba20b();}},_0x2dde85=_0x165ea7,_0xaa8417={'ZUKLo':_0x53bbeb[_0x217a9a(0x212)](_0x2dde85,0x1b9),'SJEzf':_0x2dde85(0x219),'QscXX':_0x53bbeb['OmMeX'],'YyMOe':_0x53bbeb['tRyIl'](_0x2dde85,0x200),'PbrEc':_0x53bbeb[_0x217a9a(0x1f8)](_0x2dde85,0x1bb),'WldNE':_0x53bbeb[_0x217a9a(0x206)](_0x2dde85,0x1f0),'mExhP':_0x53bbeb['Dnzqd'](_0x2dde85,0x1d4),'fArcP':_0x53bbeb[_0x217a9a(0x14b)](_0x2dde85,0x1bf),'vllMi':_0x217a9a(0x1b7),'bCTzs':_0x53bbeb['Dnzqd'](_0x2dde85,0x1b7),'PdDsQ':_0x2dde85(0x201),'dpzub':_0x53bbeb[_0x217a9a(0x1d5)],'uNlaQ':_0x53bbeb[_0x217a9a(0x188)],'vbwAU':_0x53bbeb[_0x217a9a(0x206)](_0x2dde85,0x203),'cUkog':_0x53bbeb[_0x217a9a(0x206)](_0x2dde85,0x1a6),'TykrY':_0x53bbeb[_0x217a9a(0x14b)](_0x2dde85,0x22b),'VVawY':_0x53bbeb[_0x217a9a(0x14b)](_0x2dde85,0x1ef),'YTHeI':_0x53bbeb['ChdsI'](_0x2dde85,0x213),'HCzLh':_0x53bbeb[_0x217a9a(0x273)],'IzLam':_0x217a9a(0x220),'VozrX':_0x53bbeb[_0x217a9a(0x242)](_0x2dde85,0x220),'tYoeZ':_0x2dde85(0x1f6),'fiAwX':_0x53bbeb[_0x217a9a(0x1ec)](_0x2dde85,0x1f9),'JvlmR':_0x53bbeb[_0x217a9a(0x174)](_0x2dde85,0x1e2),'SrRTl':_0x53bbeb['wOugq'],'QnnpF':_0x53bbeb[_0x217a9a(0x1db)](_0x2dde85,0x1bd),'MpagQ':_0x53bbeb[_0x217a9a(0x165)](_0x2dde85,0x227),'nNZfW':_0x53bbeb['Ejyav'](_0x2dde85,0x1f8),'wgoLC':_0x53bbeb[_0x217a9a(0x183)](_0x2dde85,0x1b5),'TfNPO':_0x53bbeb[_0x217a9a(0x1f8)](_0x2dde85,0x1cb),'MUxPy':_0x2dde85(0x217),'SOLmU':_0x53bbeb['QtktO'](_0x2dde85,0x1d2),'QrIOT':_0x2dde85(0x1b1),'nGSPw':_0x53bbeb[_0x217a9a(0x258)](_0x2dde85,0x1a7),'IfdoN':_0x2dde85(0x1eb),'pqbmM':_0x53bbeb[_0x217a9a(0x159)],'uKNqW':_0x2dde85(0x1fb),'TXAys':_0x53bbeb['SvsMD'],'DECZD':_0x2dde85(0x237),'puGRf':_0x53bbeb[_0x217a9a(0x212)](_0x2dde85,0x22d),'HMdJI':_0x2dde85(0x218),'DpKQo':_0x53bbeb[_0x217a9a(0x165)](_0x2dde85,0x1d5),'Qwbsi':_0x217a9a(0x189),'tAmFo':_0x53bbeb[_0x217a9a(0x27d)](_0x2dde85,0x211),'bOHtH':_0x53bbeb[_0x217a9a(0x282)](_0x2dde85,0x1bc)},_0x593ea7=[_0xaa8417[_0x53bbeb[_0x217a9a(0x1dd)]],_0xaa8417[_0x53bbeb[_0x217a9a(0x169)](_0x2dde85,0x214)],_0xaa8417[_0x2dde85(0x1b4)],_0xaa8417[_0x53bbeb[_0x217a9a(0x227)]],_0x53bbeb[_0x217a9a(0x27d)](_0x2dde85,0x1b0),_0xaa8417[_0x2dde85(0x223)],_0x2dde85(0x21c),_0xaa8417[_0x53bbeb[_0x217a9a(0x253)]],_0xaa8417[_0x217a9a(0x176)],_0x53bbeb[_0x217a9a(0x276)],_0xaa8417[_0x53bbeb['jiXLk'](_0x2dde85,0x21a)],_0xaa8417[_0x53bbeb[_0x217a9a(0x282)](_0x2dde85,0x231)],_0xaa8417[_0x53bbeb[_0x217a9a(0x213)](_0x2dde85,0x1ee)],_0x53bbeb[_0x217a9a(0x1db)](_0x2dde85,0x1ac),_0xaa8417[_0x53bbeb[_0x217a9a(0x25a)]],_0xaa8417[_0x53bbeb['AYwDl']],_0xaa8417[_0x2dde85(0x1de)],_0xaa8417[_0x53bbeb['YkHfa'](_0x2dde85,0x1b8)],_0xaa8417[_0x2dde85(0x1f3)],_0xaa8417['TykrY'],_0x2dde85(0x236),_0xaa8417[_0x53bbeb['LMXAQ']],_0xaa8417[_0x53bbeb[_0x217a9a(0x122)](_0x2dde85,0x1b2)],_0xaa8417[_0x53bbeb[_0x217a9a(0x282)](_0x2dde85,0x1d1)],_0xaa8417[_0x53bbeb['aIHEA'](_0x2dde85,0x20d)],_0xaa8417[_0x53bbeb[_0x217a9a(0x218)](_0x2dde85,0x222)],_0xaa8417[_0x2dde85(0x1ca)],_0xaa8417[_0x53bbeb[_0x217a9a(0x183)](_0x2dde85,0x1ce)],_0xaa8417[_0x53bbeb['TjieW'](_0x2dde85,0x1e5)],_0x53bbeb['AkPgc'](_0x2dde85,0x1ba),_0xaa8417[_0x53bbeb['BSzOK'](_0x2dde85,0x1e0)],_0x53bbeb[_0x217a9a(0x153)],_0xaa8417[_0x2dde85(0x21f)],_0xaa8417[_0x53bbeb[_0x217a9a(0x206)](_0x2dde85,0x1d3)],_0xaa8417[_0x53bbeb[_0x217a9a(0x1f1)]],_0xaa8417[_0x53bbeb[_0x217a9a(0x18f)](_0x2dde85,0x1d8)],_0x53bbeb[_0x217a9a(0x27b)],_0xaa8417[_0x53bbeb[_0x217a9a(0x1db)](_0x2dde85,0x20f)],_0xaa8417[_0x53bbeb[_0x217a9a(0x14b)](_0x2dde85,0x1d0)],_0xaa8417[_0x53bbeb['vwQKd'](_0x2dde85,0x1da)],_0x53bbeb['BSzOK'](_0x2dde85,0x1c8),_0xaa8417[_0x53bbeb['sqpIV'](_0x2dde85,0x1cd)],_0xaa8417[_0x53bbeb[_0x217a9a(0x182)](_0x2dde85,0x228)],_0xaa8417[_0x53bbeb[_0x217a9a(0x258)](_0x2dde85,0x1e1)],_0x2dde85(0x1e6),_0xaa8417[_0x2dde85(0x1f1)],_0xaa8417[_0x53bbeb[_0x217a9a(0x291)]],_0xaa8417[_0x53bbeb['ogpBU'](_0x2dde85,0x202)],_0x2dde85(0x1a8),_0xaa8417[_0x2dde85(0x20b)],_0x53bbeb[_0x217a9a(0x12e)](_0x2dde85,0x1c1),_0xaa8417[_0x53bbeb[_0x217a9a(0x11d)](_0x2dde85,0x1ff)],_0xaa8417[_0x53bbeb[_0x217a9a(0x14b)](_0x2dde85,0x20e)],_0xaa8417[_0x53bbeb['GtHil']],_0xaa8417[_0x53bbeb['kEYYv'](_0x2dde85,0x1c9)],_0x2dde85(0x1a9),_0xaa8417[_0x53bbeb[_0x217a9a(0x171)](_0x2dde85,0x1dc)],_0xaa8417[_0x2dde85(0x1cf)]];return _0x586f=function(){return _0x593ea7;},_0x53bbeb['IZlmJ'](_0x586f);}export class NTQQWindowApi{} \ No newline at end of file diff --git a/src/core.lib/src/core.d.ts b/src/core.lib/src/core.d.ts index bfbea4b2..216e28e3 100644 --- a/src/core.lib/src/core.d.ts +++ b/src/core.lib/src/core.d.ts @@ -22,11 +22,15 @@ export declare class NapCatCore { addListener(listener: BuddyListener | GroupListener | MsgListener | ProfileListener): number; onLoginSuccess(func: OnLoginSuccess): void; quickLogin(uin: string): Promise; - qrLogin(): Promise<{ + qrLogin(cb: (url: string, base64: string, buffer: Buffer) => Promise): Promise<{ url: string; base64: string; buffer: Buffer; }>; passwordLogin(uin: string, password: string, proofSig?: string, proofRand?: string, proofSid?: string): Promise; + getQuickLoginList(): Promise<{ + result: number; + LocalLoginInfoList: import("@/core/services").LoginListItem[]; + }>; } export declare const napCatCore: NapCatCore; diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 352c8fde..5b97bfd7 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x368ad9=_0x352e;(function(_0xffd36,_0x5bb761){const _0x3c35ad=_0x352e,_0x3ad062=_0xffd36();while(!![]){try{const _0x4aa288=parseInt(_0x3c35ad(0x130))/0x1+parseInt(_0x3c35ad(0x10d))/0x2*(-parseInt(_0x3c35ad(0x103))/0x3)+parseInt(_0x3c35ad(0x148))/0x4*(parseInt(_0x3c35ad(0x13d))/0x5)+-parseInt(_0x3c35ad(0x168))/0x6*(parseInt(_0x3c35ad(0x110))/0x7)+-parseInt(_0x3c35ad(0x10a))/0x8+-parseInt(_0x3c35ad(0xed))/0x9*(-parseInt(_0x3c35ad(0x13a))/0xa)+-parseInt(_0x3c35ad(0xd4))/0xb*(parseInt(_0x3c35ad(0xd7))/0xc);if(_0x4aa288===_0x5bb761)break;else _0x3ad062['push'](_0x3ad062['shift']());}catch(_0x105e93){_0x3ad062['push'](_0x3ad062['shift']());}}}(_0x295d,0x4273a));import _0x334000 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x1d0e83 from'node:path';import _0x35f8e9 from'node:os';import _0x2fd441 from'node:fs';function _0x352e(_0x1fc6f6,_0x238261){const _0x295db=_0x295d();return _0x352e=function(_0x352ed4,_0x1118cd){_0x352ed4=_0x352ed4-0xd1;let _0x5d540d=_0x295db[_0x352ed4];return _0x5d540d;},_0x352e(_0x1fc6f6,_0x238261);}import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';function _0x295d(){const _0x5ef1c5=['getLoginList','map','groupCode','onBuddyListChange','mkdirSync','buddyList','./NapCat/data','sMFir','fODkU','TyHLT','ZeAhw','engine','xobdC','getQRCodePicture','GuAxR','OSLUW','pngBase64QrcodeData','NBgZW','1242PMdrFL','onGroupListUpdate','push','GroupListener','consoleLogLevel','QBYLq','iBalV','infos','获取二维码登录超时','YTFOo','find','\x20has\x20no\x20method\x20','split','-v2.db','initDataListener','jEnFV','没有可快速登录的QQ号','OTQGw','UwZSE','curVersion','assign','uoeYq','657pBPJtr','onMemberInfoChange','qrLogin','onLoginSuccess','getMsgByLongId','addKernelMsgListener','result','2807792eLQDqT','get','VHBLC','628JbLUOH','addKernelGroupListener','MsgListener','392lcqOvD','onUserLoggedIn','homedir','session',')已登录,无法重复登录','read','[KickedOffLine]\x20[','fileLog','has','msgId','xiuEH','md5','initWithDeskTopConfig','qrcodeUrl','NodeIKernelProfileListener','PSfNN','onSessionInitComplete','getNextMemberList','启动失败:\x20','pBvJC','sceneId','initSession\x20failed','onSelfStatusChanged','addKernelLoginListener','init\x20failed\x20','oVbWH','FqYVS','onLoginFailed','isQuickLogin','init','errMsg','quickLoginWithUin','440965MYxnak','floor','LCZlD','CMeoQ','nbszr','resolve','dataPathGlobal','length','Kkopt','proxyHandler','30100ohrjso','passwordLogin','uin','121385WGBUXl','onProfileDetailInfoChanged','etuKP','message_sent','etlrz','getBuddyService','NodeIKernelLoginService','onQRCodeLoginSucceed','V1_WIN_NQ_','NodeIKernelSessionListener','账号设备(','44IQPzdH','initSession','util','dnjKf','now','keqTN','set','快速登录失败\x20','from','onRecvMsg','onQRCodeGetPicture','catch','Lygcq','onMemberListChange','当前账号(','BuddyListener','digest','NodeQQNTWrapperUtil','NomvM',')\x20在线状态变更','140022013','KweUi','getNTUserDataInfoConfig','快速登录不可用','./nt_qq/global','NodeIQQNTWrapperSession','HPWXI','RiQDn','dOeeA','140022008','onRecvSysMsg','loginErrorInfo','34536bjcsya','devUid','last_message_time','packet_sent','loginListener','NodeIDependsAdapter','Hcrov','onQRCodeSessionFailed','createHash','NodeIKernelLoginListener','replace','GvuJK','uexDX','onMsgInfoListUpdate','tYTfc','quickLogin','getMsgService','addListener','getProfileService','startNT','getBuddyList','NodeIKernelGroupListener','then','packet_received','ACTzv','data:image/png;base64,','stringify','clientType','tipsDesc','getGroupService','forEach','wzzSb','onAddSendMsg','onLoginSuccessFuncList','NodeIKernelMsgListener','constructor','uid','VxMjE','recallTime','xSPDY','base64','HrZKa','createMemberListScene','数据库初始化失败','dataPath','本账号数据/缓存目录:','undefined','name','oCJIh','NABLL','loginService','登录失败','bcWRy','NodeIKernelBuddyListener','addMsg','sKifE','Windows\x2010\x20Pro','1200430roWQav','update','initConfig','12VBLxrv','consoleLog','pXuwy','NodeIQQNTWrapperEngine'];_0x295d=function(){return _0x5ef1c5;};return _0x295d();}import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/core/utils/db';import{sleep}from'@/common/utils/helper';import _0x41e555 from'node:crypto';import{friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x368ad9(0x113)];[_0x368ad9(0x14a)];[_0x368ad9(0xe6)];[_0x368ad9(0x19a)];[_0x368ad9(0x16c)];[_0x368ad9(0x189)]=[];[_0x368ad9(0x139)]={'get'(target,prop,receiver){const _0x510f18=_0x368ad9,zUYCXC={'keqTN':function(x,y){return x===y;},'NomvM':_0x510f18(0x196)};if(zUYCXC[_0x510f18(0x14d)](typeof target[prop],zUYCXC[_0x510f18(0x15a)]))return(...args)=>{const _0x23edb0=_0x510f18;logDebug(target['constructor']['name']+_0x23edb0(0xf8)+prop);};return Reflect[_0x510f18(0x10b)](target,prop,receiver);}};constructor(){const _0x415e69=_0x368ad9,_0x106a6c={'xSPDY':function(_0x55859d,_0x175234){return _0x55859d+_0x175234;},'tYTfc':_0x415e69(0x156),'HPWXI':_0x415e69(0x114),'PSfNN':function(_0x4f2ec6,_0x37e7ee,_0x55d426){return _0x4f2ec6(_0x37e7ee,_0x55d426);},'pXuwy':_0x415e69(0x125),'uexDX':_0x415e69(0x193),'GuAxR':function(_0xba12d5,_0x1b58fc,_0xe63dfd){return _0xba12d5(_0x1b58fc,_0xe63dfd);},'nbszr':function(_0x2a5b82,_0x580229){return _0x2a5b82(_0x580229);},'UwZSE':_0x415e69(0xe1),'vNRoZ':_0x415e69(0x195),'NABLL':_0x415e69(0x19b)};this[_0x415e69(0xe6)]=new _0x334000[(_0x415e69(0xda))](),this[_0x415e69(0x14a)]=new _0x334000[(_0x415e69(0x159))](),this[_0x415e69(0x19a)]=new _0x334000[(_0x415e69(0x143))](),this['session']=new _0x334000[(_0x415e69(0x161))](),this[_0x415e69(0x16c)]=new LoginListener(),this['loginListener'][_0x415e69(0x111)]=_0x3ca7c4=>{const _0x362760=_0x415e69;logError(_0x106a6c[_0x362760(0x18f)](_0x106a6c[_0x362760(0x176)]+_0x3ca7c4,_0x106a6c[_0x362760(0x162)]));},this['loginListener'][_0x415e69(0x144)]=_0x40d3aa=>{const _0x5c1dbe=_0x415e69,_0x224356={'OSLUW':_0x106a6c[_0x5c1dbe(0x174)],'wzzSb':function(_0x3b2c94,_0x44dd6b,_0x38864b){const _0x3e68b3=_0x5c1dbe;return _0x106a6c[_0x3e68b3(0xe9)](_0x3b2c94,_0x44dd6b,_0x38864b);},'QBYLq':function(_0x2f5ea6,_0x4de21b){return _0x2f5ea6(_0x4de21b);},'oCJIh':function(_0x138e6b,_0x930da0){const _0x29add4=_0x5c1dbe;return _0x106a6c[_0x29add4(0x134)](_0x138e6b,_0x930da0);},'uoeYq':_0x106a6c[_0x5c1dbe(0xff)],'CMeoQ':_0x106a6c['vNRoZ']};this[_0x5c1dbe(0x149)](_0x40d3aa[_0x5c1dbe(0x13c)],_0x40d3aa[_0x5c1dbe(0x18c)])[_0x5c1dbe(0x17e)](_0x34fe6e=>{const _0x8ac347=_0x5c1dbe,_0xc5b473={'KweUi':_0x224356[_0x8ac347(0xea)]};selfInfo[_0x8ac347(0x13c)]=_0x40d3aa['uin'],selfInfo['uid']=_0x40d3aa[_0x8ac347(0x18c)],napCatConfig[_0x8ac347(0x115)](),_0x224356[_0x8ac347(0x187)](setLogLevel,napCatConfig['fileLogLevel'],napCatConfig[_0x8ac347(0xf1)]),_0x224356[_0x8ac347(0xf2)](enableFileLog,napCatConfig[_0x8ac347(0x117)]),_0x224356[_0x8ac347(0x198)](enableConsoleLog,napCatConfig[_0x8ac347(0xd8)]),_0x224356[_0x8ac347(0xf2)](setLogSelfInfo,selfInfo);const _0x4ec488=_0x1d0e83[_0x8ac347(0x135)](this['dataPath'],_0x224356[_0x8ac347(0x102)]);_0x2fd441[_0x8ac347(0xdf)](_0x4ec488,{'recursive':!![]}),_0x224356[_0x8ac347(0x187)](logDebug,_0x224356[_0x8ac347(0x133)],_0x4ec488),dbUtil['init'](_0x1d0e83[_0x8ac347(0x135)](_0x4ec488,'./'+_0x40d3aa['uin']+_0x8ac347(0xfa)))[_0x8ac347(0x17e)](()=>{const _0x31b565=_0x8ac347,_0x32c5b1={'dOeeA':function(_0x39df3e,_0x49cd93,_0x164297){return _0x39df3e(_0x49cd93,_0x164297);}};this[_0x31b565(0xfb)](),this[_0x31b565(0x189)][_0x31b565(0xdc)](_0x520c38=>{const _0x59171d=_0x31b565,_0x195d09={'dnjKf':function(_0x70b4e0,_0x54939d,_0x1eb621){const _0x2414f5=_0x352e;return _0x32c5b1[_0x2414f5(0x164)](_0x70b4e0,_0x54939d,_0x1eb621);},'ZeAhw':function(_0x9ae186,_0x241f5f){return _0x9ae186 instanceof _0x241f5f;}};new Promise((_0xf0555d,_0x1580a0)=>{const _0x2f2761=_0x352e,_0x54f9dd=_0x195d09[_0x2f2761(0x14b)](_0x520c38,_0x40d3aa[_0x2f2761(0x13c)],_0x40d3aa[_0x2f2761(0x18c)]);_0x195d09[_0x2f2761(0xe5)](_0x54f9dd,Promise)&&_0x54f9dd[_0x2f2761(0x17e)](_0xf0555d)[_0x2f2761(0x153)](_0x1580a0);})[_0x59171d(0x17e)]();});})[_0x8ac347(0x153)](_0x2769a1=>{const _0x35aa03=_0x8ac347;logError(_0xc5b473[_0x35aa03(0x15d)],_0x2769a1);});})['catch'](_0x3a1ae4=>{const _0x25d704=_0x5c1dbe;_0x106a6c[_0x25d704(0x11f)](logError,_0x106a6c[_0x25d704(0xd9)],_0x3a1ae4);throw new Error(_0x25d704(0x122)+JSON[_0x25d704(0x182)](_0x3a1ae4));});},this['loginListener'][_0x415e69(0x16f)]=_0x562dd3=>{const _0x42aa6a=_0x415e69;logError(_0x106a6c[_0x42aa6a(0x199)],_0x562dd3);},this[_0x415e69(0x16c)][_0x415e69(0x12b)]=_0x61f34e=>{const _0x7331b2=_0x415e69;logError(_0x106a6c[_0x7331b2(0x199)],_0x61f34e);},this[_0x415e69(0x16c)]=new Proxy(this['loginListener'],this[_0x415e69(0x139)]),this[_0x415e69(0x19a)][_0x415e69(0x127)](new _0x334000[(_0x415e69(0x171))](this[_0x415e69(0x16c)])),this[_0x415e69(0xd6)]();}get['dataPath'](){const _0x257d6a=_0x368ad9,_0x19e333={'WEdZL':'./.config/QQ'};let _0x4b3eee=this[_0x257d6a(0x14a)][_0x257d6a(0x15e)]();return!_0x4b3eee&&(_0x4b3eee=_0x1d0e83[_0x257d6a(0x135)](_0x35f8e9[_0x257d6a(0x112)](),_0x19e333['WEdZL']),_0x2fd441['mkdirSync'](_0x4b3eee,{'recursive':!![]})),_0x4b3eee;}get[_0x368ad9(0x136)](){const _0x46beea=_0x368ad9,_0xab06ce={'IbMHU':_0x46beea(0x160)};return _0x1d0e83[_0x46beea(0x135)](this[_0x46beea(0x194)],_0xab06ce['IbMHU']);}['initConfig'](){const _0x513f83=_0x368ad9,_0x2cc7e1={'FqYVS':_0x513f83(0xd3)};this['engine'][_0x513f83(0x11c)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x513f83(0x100)],'os_version':_0x2cc7e1[_0x513f83(0x12a)],'use_xlog':!![],'qua':_0x513f83(0x145)+qqVersionConfigInfo[_0x513f83(0x100)][_0x513f83(0x172)]('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this[_0x513f83(0x136)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x334000['NodeIGlobalAdapter'](new GlobalAdapter())),this[_0x513f83(0x19a)]['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo[_0x513f83(0x100)],'hostName':hostname});}[_0x368ad9(0x149)](_0x7b323d,_0x37f981){const _0x38520f={'sqQmJ':function(_0x437e44,_0x263916){return _0x437e44===_0x263916;},'RiQDn':function(_0x237dbe,_0x4cd0b1){return _0x237dbe(_0x4cd0b1);},'etlrz':function(_0x2ab980,_0x26ec22,_0x4c7f69,_0x40b99d){return _0x2ab980(_0x26ec22,_0x4c7f69,_0x40b99d);},'NBgZW':function(_0x52996e,_0xf68629){return _0x52996e+_0xf68629;}};return new Promise((_0x5d5d4b,_0x411774)=>{const _0x484d6b=_0x352e,_0x57c426=_0x38520f[_0x484d6b(0x141)](genSessionConfig,_0x7b323d,_0x37f981,this['dataPath']),_0x11e583=new SessionListener();_0x11e583[_0x484d6b(0x120)]=_0x2a30fd=>{const _0xec3573=_0x484d6b;if(_0x38520f['sqQmJ'](_0x2a30fd,0x0))return _0x38520f[_0xec3573(0x163)](_0x5d5d4b,0x0);_0x411774(_0x2a30fd);},this['session'][_0x484d6b(0x12d)](_0x57c426,new _0x334000[(_0x484d6b(0x16d))](new DependsAdapter()),new _0x334000['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x334000[(_0x484d6b(0x146))](_0x11e583));try{this['session']['startNT'](0x0);}catch(_0x128d68){try{this[_0x484d6b(0x113)][_0x484d6b(0x17b)]();}catch(_0x39f29e){_0x38520f[_0x484d6b(0x163)](_0x411774,_0x38520f[_0x484d6b(0xec)](_0x484d6b(0x128),_0x39f29e));}}});}[_0x368ad9(0xfb)](){const _0x3b403d=_0x368ad9,_0x28e9ed={'sosug':function(_0x5b1b82,_0xf362ae){return _0x5b1b82===_0xf362ae;},'oVbWH':function(_0x3702de,_0x8fc395){return _0x3702de+_0x8fc395;},'pBvJC':_0x3b403d(0x147),'amFLY':_0x3b403d(0x15b),'StbsN':function(_0x325a23,_0x4cec7d){return _0x325a23(_0x4cec7d);},'UjGwz':function(_0x185aac,_0xf62f91){return _0x185aac+_0xf62f91;},'ACTzv':function(_0x57173b,_0x46ae90){return _0x57173b+_0x46ae90;},'lmsKb':function(_0x2581c4,_0x1408dc){return _0x2581c4+_0x1408dc;},'sKifE':_0x3b403d(0x116),'iBalV':function(_0xd236c2,_0x31aede){return _0xd236c2===_0x31aede;},'TyHLT':function(_0x34eb58,_0xf63c4e){return _0x34eb58/_0xf63c4e;},'OTQGw':function(_0x3881bc,_0x2c614f){return _0x3881bc/_0x2c614f;}},_0x304ec6=new MsgListener();_0x304ec6['onLineDev']=_0x4b6afd=>{const _0x5c9161=_0x3b403d;_0x4b6afd[_0x5c9161(0xdc)](_0x25a830=>{const _0xde5a52=_0x5c9161;_0x28e9ed['sosug'](_0x25a830[_0xde5a52(0x183)],0x2)&&log(_0x28e9ed[_0xde5a52(0x129)](_0x28e9ed['oVbWH'](_0x28e9ed[_0xde5a52(0x123)],_0x25a830[_0xde5a52(0x169)]),_0x28e9ed['amFLY']));});},_0x304ec6['onKickedOffLine']=_0x3fa783=>{const _0x1654f6=_0x3b403d;_0x28e9ed['StbsN'](log,_0x28e9ed['UjGwz'](_0x28e9ed[_0x1654f6(0x180)](_0x28e9ed['lmsKb'](_0x28e9ed[_0x1654f6(0xd2)],_0x3fa783['tipsTitle']),']\x20'),_0x3fa783[_0x1654f6(0x184)]));},_0x304ec6[_0x3b403d(0x175)]=_0x312d6d=>{const _0x348fc4=_0x3b403d;stat[_0x348fc4(0x17f)]+=0x1,_0x312d6d[_0x348fc4(0xdc)](_0x4d0471=>{const _0x5c4ddb=_0x348fc4;_0x28e9ed[_0x5c4ddb(0xf3)](_0x4d0471[_0x5c4ddb(0x18e)],'0')?dbUtil[_0x5c4ddb(0xd1)](_0x4d0471)['then']()['catch']():dbUtil[_0x5c4ddb(0x107)](_0x4d0471[_0x5c4ddb(0x119)])['then'](_0x1a2d99=>{const _0x2207a4=_0x5c4ddb;_0x1a2d99&&(_0x1a2d99[_0x2207a4(0x18e)]=_0x4d0471[_0x2207a4(0x18e)],dbUtil['updateMsg'](_0x1a2d99)['then']());});});},_0x304ec6[_0x3b403d(0x188)]=_0x25604e=>{const _0x4064d8=_0x3b403d;stat[_0x4064d8(0x16b)]+=0x1,stat[_0x4064d8(0x140)]+=0x1,stat[_0x4064d8(0x16a)]=Math[_0x4064d8(0x131)](_0x28e9ed[_0x4064d8(0xe4)](Date[_0x4064d8(0x14c)](),0x3e8));},_0x304ec6[_0x3b403d(0x151)]=_0x4e630c=>{const _0x1c4691=_0x3b403d;stat[_0x1c4691(0x17f)]+=0x1,stat['message_received']+=_0x4e630c[_0x1c4691(0x137)],stat[_0x1c4691(0x16a)]=Math['floor'](_0x28e9ed[_0x1c4691(0xfe)](Date[_0x1c4691(0x14c)](),0x3e8));},_0x304ec6[_0x3b403d(0x166)]=(..._0x5a03be)=>{const _0x1a7a9f=_0x3b403d;stat[_0x1a7a9f(0x17f)]+=0x1;},this[_0x3b403d(0x179)](_0x304ec6);const _0x2aee0f=new BuddyListener();_0x2aee0f[_0x3b403d(0xde)]=_0x955368=>{const _0x280af3=_0x3b403d;for(const _0x51f591 of _0x955368){for(const _0x453e9b of _0x51f591[_0x280af3(0xe0)]){const _0x3cc983=friends[_0x280af3(0x10b)](_0x453e9b[_0x280af3(0x18c)]);uid2UinMap[_0x453e9b[_0x280af3(0x18c)]]=_0x453e9b['uin'],_0x3cc983?Object[_0x280af3(0x101)](_0x3cc983,_0x453e9b):friends[_0x280af3(0x14e)](_0x453e9b[_0x280af3(0x18c)],_0x453e9b);}}},this[_0x3b403d(0x179)](_0x2aee0f),this[_0x3b403d(0x113)][_0x3b403d(0x142)]()[_0x3b403d(0x17c)](!![])[_0x3b403d(0x17e)](_0x205217=>{});const _0x491dcc=new ProfileListener();_0x491dcc[_0x3b403d(0x13e)]=_0x22e52d=>{const _0x306609=_0x3b403d;_0x22e52d[_0x306609(0x18c)]===selfInfo[_0x306609(0x18c)]&&Object[_0x306609(0x101)](selfInfo,_0x22e52d);},_0x491dcc[_0x3b403d(0x126)]=_0x1e7ac2=>{},this[_0x3b403d(0x179)](_0x491dcc);const _0x49880f=new GroupListener();_0x49880f[_0x3b403d(0xee)]=(_0x3a000b,_0x550786)=>{const _0x465081=_0x3b403d;_0x550786[_0x465081(0xdc)](_0x24663e=>{const _0xc9a45b=_0x465081,_0x3e378a=groups[_0xc9a45b(0x10b)](_0x24663e[_0xc9a45b(0xdd)]);if(_0x3e378a)Object[_0xc9a45b(0x101)](_0x3e378a,_0x24663e);else{groups['set'](_0x24663e[_0xc9a45b(0xdd)],_0x24663e);const _0x2c0492=this[_0xc9a45b(0x113)]['getGroupService']()[_0xc9a45b(0x192)](_0x24663e[_0xc9a45b(0xdd)],'groupMemberList_MainWindow');this[_0xc9a45b(0x113)][_0xc9a45b(0x185)]()[_0xc9a45b(0x121)](_0x2c0492,undefined,0xbb8)[_0xc9a45b(0x17e)](_0x341b88=>{});}});},_0x49880f[_0x3b403d(0x155)]=_0x61204e=>{const _0xa079d=_0x3b403d,_0x71c66b=_0x61204e[_0xa079d(0x124)]['split']('_')[0x0];if(groupMembers[_0xa079d(0x118)](_0x71c66b)){const _0x1ba8be=groupMembers['get'](_0x71c66b);_0x61204e[_0xa079d(0xf4)][_0xa079d(0x186)]((_0x15b1d4,_0x2a0a8d)=>{const _0x542d0c=_0xa079d,_0x1771d8=_0x1ba8be[_0x542d0c(0x10b)](_0x2a0a8d);_0x1771d8?Object['assign'](_0x1771d8,_0x15b1d4):_0x1ba8be[_0x542d0c(0x14e)](_0x2a0a8d,_0x15b1d4);});}else groupMembers[_0xa079d(0x14e)](_0x71c66b,_0x61204e[_0xa079d(0xf4)]);},_0x49880f[_0x3b403d(0x104)]=(_0x28166c,_0x5c7962,_0x1bd262)=>{const _0x461930=_0x3b403d;_0x1bd262[_0x461930(0x186)]((_0x6588b9,_0x1d682b)=>{const _0x19c32d=_0x461930;uid2UinMap[_0x1d682b]=_0x6588b9[_0x19c32d(0x13c)];});const _0x1e8382=groupMembers[_0x461930(0x10b)](_0x28166c);_0x1e8382?_0x1bd262[_0x461930(0x186)]((_0x55ce0d,_0x5c4099)=>{const _0x5abd82=_0x461930,_0x1f9bb3=_0x1e8382[_0x5abd82(0x10b)](_0x5c4099);_0x1f9bb3?Object[_0x5abd82(0x101)](_0x1f9bb3,_0x55ce0d):_0x1e8382[_0x5abd82(0x14e)](_0x5c4099,_0x55ce0d);}):groupMembers[_0x461930(0x14e)](_0x28166c,_0x1bd262);},this['addListener'](_0x49880f);}[_0x368ad9(0x179)](_0x27c99a){const _0x89b1a9=_0x368ad9,_0x34fed1={'xiuEH':_0x89b1a9(0x157),'etuKP':_0x89b1a9(0xf0),'sMFir':_0x89b1a9(0x10f)};_0x27c99a=new Proxy(_0x27c99a,this[_0x89b1a9(0x139)]);switch(_0x27c99a[_0x89b1a9(0x18b)][_0x89b1a9(0x197)]){case _0x34fed1[_0x89b1a9(0x11a)]:{return this[_0x89b1a9(0x113)]['getBuddyService']()['addKernelBuddyListener'](new _0x334000[(_0x89b1a9(0x19d))](_0x27c99a));}case _0x34fed1[_0x89b1a9(0x13f)]:{return this[_0x89b1a9(0x113)][_0x89b1a9(0x185)]()[_0x89b1a9(0x10e)](new _0x334000[(_0x89b1a9(0x17d))](_0x27c99a));}case _0x34fed1[_0x89b1a9(0xe2)]:{return this['session'][_0x89b1a9(0x178)]()[_0x89b1a9(0x108)](new _0x334000[(_0x89b1a9(0x18a))](_0x27c99a));}case'ProfileListener':{return this[_0x89b1a9(0x113)][_0x89b1a9(0x17a)]()['addKernelProfileListener'](new _0x334000[(_0x89b1a9(0x11e))](_0x27c99a));}default:return-0x1;}}[_0x368ad9(0x106)](_0x376bcb){const _0xe1a501=_0x368ad9;this[_0xe1a501(0x189)][_0xe1a501(0xef)](_0x376bcb);}async[_0x368ad9(0x177)](_0x5a7460){const _0x2620ff=_0x368ad9,_0x4e2a58={'Hcrov':function(_0x3d049d,_0x3fb154){return _0x3d049d!==_0x3fb154;},'bcWRy':_0x2620ff(0xfd),'Lygcq':function(_0x2447f4,_0x6ad7e9){return _0x2447f4(_0x6ad7e9);},'jEnFV':function(_0x1036c4,_0x258b7a){return _0x1036c4+_0x258b7a;},'VHBLC':_0x2620ff(0x14f)},_0x45f28a=await this['loginService'][_0x2620ff(0xdb)]();if(_0x4e2a58[_0x2620ff(0x16e)](_0x45f28a[_0x2620ff(0x109)],0x0))throw new Error(_0x4e2a58[_0x2620ff(0x19c)]);const _0x30561c=_0x45f28a['LocalLoginInfoList'][_0x2620ff(0xf7)](_0x37c5a1=>_0x37c5a1[_0x2620ff(0x13c)]===_0x5a7460);if(!_0x30561c||!_0x30561c?.[_0x2620ff(0x12c)])throw new Error(_0x5a7460+_0x2620ff(0x15f));await _0x4e2a58[_0x2620ff(0x154)](sleep,0x3e8);const _0x536a75=await this['loginService'][_0x2620ff(0x12f)](_0x5a7460);if(!_0x536a75[_0x2620ff(0x109)])throw new Error(_0x4e2a58[_0x2620ff(0xfc)](_0x4e2a58[_0x2620ff(0x10c)],_0x536a75[_0x2620ff(0x167)][_0x2620ff(0x12e)]));return _0x536a75;}async[_0x368ad9(0x105)](){const _0x331cd4=_0x368ad9,_0x384ff1={'LCZlD':function(_0x105975,_0x31e2f6){return _0x105975(_0x31e2f6);},'VxMjE':_0x331cd4(0x181),'YTFOo':_0x331cd4(0x190),'Kkopt':function(_0xac0911,_0x3e1368,_0x2f10b7){return _0xac0911(_0x3e1368,_0x2f10b7);}};let _0x3dd2e3=![];return new Promise((_0xf30bc6,_0x347cf0)=>{const _0x295eec=_0x331cd4;_0x384ff1[_0x295eec(0x138)](setTimeout,()=>{const _0x439fb5=_0x295eec;!_0x3dd2e3&&_0x384ff1[_0x439fb5(0x132)](_0x347cf0,_0x439fb5(0xf5));},0x2710),this[_0x295eec(0x16c)][_0x295eec(0x152)]=_0x43809f=>{const _0xa01e65=_0x295eec;_0x3dd2e3=!![];const _0x46e738=_0x43809f[_0xa01e65(0xeb)][_0xa01e65(0xf9)](_0x384ff1[_0xa01e65(0x18d)])[0x1],_0x221300=Buffer[_0xa01e65(0x150)](_0x46e738,_0x384ff1[_0xa01e65(0xf6)]);_0xf30bc6({'url':_0x43809f[_0xa01e65(0x11d)],'base64':_0x43809f[_0xa01e65(0xeb)],'buffer':_0x221300});},this['loginService'][_0x295eec(0xe8)]();});}async[_0x368ad9(0x13b)](_0x2ea8b0,_0x1137dd,_0xfd8040,_0x46de45,_0x507861){const _0x46996a=_0x368ad9,_0x4906d0={'fODkU':_0x46996a(0x11b),'GvuJK':'hex','xobdC':function(_0x404151,_0xebecf){return _0x404151||_0xebecf;},'HrZKa':_0x46996a(0x15c)},_0xc002f8=_0x41e555[_0x46996a(0x170)](_0x4906d0[_0x46996a(0xe3)])[_0x46996a(0xd5)](_0x1137dd)[_0x46996a(0x158)](_0x4906d0[_0x46996a(0x173)]),_0x800ee7={'uin':_0x2ea8b0,'passwordMd5':_0xc002f8,'step':_0xfd8040&&_0x46de45&&_0x507861?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0xfd8040||'','proofWaterRand':_0x4906d0[_0x46996a(0xe7)](_0x46de45,''),'proofWaterSid':_0x507861||''};await this[_0x46996a(0x19a)][_0x46996a(0xdb)](),await sleep(0x3e8);const _0x102483=await this['loginService'][_0x46996a(0x13b)](_0x800ee7);switch(_0x102483[_0x46996a(0x109)]){case'0':{break;}case _0x46996a(0x165):{break;}case'4':case _0x4906d0[_0x46996a(0x191)]:default:}}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x3bff4f=_0x286d;(function(_0x41d2a5,_0x32e362){const _0x2a24a5=_0x286d,_0x397ded=_0x41d2a5();while(!![]){try{const _0x537a37=-parseInt(_0x2a24a5(0x11a))/0x1+parseInt(_0x2a24a5(0x154))/0x2*(parseInt(_0x2a24a5(0x16b))/0x3)+parseInt(_0x2a24a5(0x103))/0x4*(parseInt(_0x2a24a5(0x110))/0x5)+-parseInt(_0x2a24a5(0x180))/0x6+-parseInt(_0x2a24a5(0x179))/0x7+-parseInt(_0x2a24a5(0x121))/0x8+parseInt(_0x2a24a5(0x115))/0x9;if(_0x537a37===_0x32e362)break;else _0x397ded['push'](_0x397ded['shift']());}catch(_0x58a7e7){_0x397ded['push'](_0x397ded['shift']());}}}(_0x40eb,0xd0fe2));import _0x1e4688 from'@/core/wrapper';function _0x40eb(){const _0xe0fe95=['then','clientType','IydXf','NodeIQQNTWrapperSession','gyJOB','devUid','homedir','./.config/QQ','NJxuS','vtWDD','infos','izKAU','getBuddyList','dataPath','dataPathGlobal','initSession\x20failed','resolve','EEFyc','onMemberListChange','XyoIB','BuddyListener','getProfileService','pngBase64QrcodeData','onUserLoggedIn','onRecvMsg','YqoPO','quickLoginWithUin','140022008','onLoginFailed','onRecvSysMsg','mkdirSync','replace','now','YPKJB','fJVzS','onBuddyListChange','forEach','NodeIDependsAdapter','onProfileDetailInfoChanged','result','NodeIQQNTWrapperEngine','dQfcS','fileLogLevel','nogBB','LFcwC','V1_WIN_NQ_','\x20has\x20no\x20method\x20','get','onLineDev','启动失败:\x20','base64','curVersion','Windows\x2010\x20Pro','createHash','20FakZmM','util','loginListener','quickLogin','fileLog','proxyHandler','NodeIGlobalAdapter','bYOsy','SojFU','MhirA','msgId','BZbSe','140022013','1261360wEDsDg','length','init\x20failed\x20','loginErrorInfo','onSelfStatusChanged','18361341xZPbKQ','Rkwxc','NodeIKernelBuddyListener','errMsg','llNXn','302985nDuClz','md5','hsmig','mQDVO','message_received','isQuickLogin','floor','9597352LuELkd','buddyList','本账号数据/缓存目录:','gAnqj','zfPqc','assign','快速登录失败\x20','createMemberListScene','from','sCYui','NodeIKernelSessionListener','addKernelGroupListener','sceneId','btVPY','initDataListener','Ocamv','vPaeC','onKickedOffLine','getMsgService','data:image/png;base64,','set','initConfig','packet_received','onGroupListUpdate','OKcun','NKrLZ','undefined','getMsgByLongId','tipsTitle','map','LocalLoginInfoList','passwordLogin','uin','recallTime','engine','XSgbu','groupCode','huVhu','packet_sent','message_sent','KefSO','qHsdm','NodeIDispatcherAdapter','Vculm','loginService','hYFgw','getGroupService','没有可快速登录的QQ号','zeriv','[KickedOffLine]\x20[','wpcYy','1032obCuCi','MsgListener','ttzmN','getQRCodePicture','onMsgInfoListUpdate','addListener','session','tipsDesc','-v2.db','./NapCat/data','clPDP','onQRCodeLoginSucceed','catch','addKernelProfileListener','has','wOixm','getLoginList','onQRCodeGetPicture','addKernelLoginListener','登录失败','快速登录不可用','账号设备(','addKernelMsgListener','8682LyJhaw','YjXKx','NodeIKernelMsgListener','PyIMj','initSession','onSessionInitComplete','uid','hBDfJ','NodeIKernelLoginListener','name','onAddSendMsg','sERCS','rUruq','initWithDeskTopConfig','8974693ZDdkYX','last_message_time','mEJaz','IVahv','SGIrG','nwPxN','FhOmN','6924156vZCJgg','constructor','startNT','NodeIKernelProfileListener','getBuddyService','jqzgk','katCC','init','vgsVk','onLoginSuccess','addKernelBuddyListener','vdhDz','wFcGF','当前账号(','xiZbf','consoleLog'];_0x40eb=function(){return _0xe0fe95;};return _0x40eb();}import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x1a1974 from'node:path';import _0x603062 from'node:os';import _0x296cd6 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/core/utils/db';import{sleep}from'@/common/utils/helper';import _0x332bd0 from'node:crypto';function _0x286d(_0x1887d5,_0x4235a8){const _0x40ebc6=_0x40eb();return _0x286d=function(_0x286dc3,_0x1552ab){_0x286dc3=_0x286dc3-0xd4;let _0x4befa4=_0x40ebc6[_0x286dc3];return _0x4befa4;},_0x286d(_0x1887d5,_0x4235a8);}import{friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x3bff4f(0x15a)];[_0x3bff4f(0x104)];[_0x3bff4f(0x143)];['loginService'];[_0x3bff4f(0x105)];['onLoginSuccessFuncList']=[];[_0x3bff4f(0x108)]={'get'(target,prop,receiver){const _0x26f71b=_0x3bff4f,HZpZfI={'NJxuS':function(callee,param1){return callee(param1);},'XSgbu':function(x,y){return x===y;},'fJVzS':_0x26f71b(0x13b)};if(HZpZfI[_0x26f71b(0x144)](typeof target[prop],HZpZfI[_0x26f71b(0xef)]))return(...args)=>{const _0x334788=_0x26f71b;HZpZfI[_0x334788(0xd5)](logDebug,target[_0x334788(0x181)][_0x334788(0x174)]+_0x334788(0xfb)+prop);};return Reflect[_0x26f71b(0xfc)](target,prop,receiver);}};constructor(){const _0x5d6c30=_0x3bff4f,_0x8165b6={'wOixm':function(_0x4b1818,_0x518034){return _0x4b1818(_0x518034);},'huVhu':function(_0x5e5511,_0x5815fe){return _0x5e5511+_0x5815fe;},'jqzgk':function(_0xfae2e7,_0x42088b){return _0xfae2e7+_0x42088b;},'mEJaz':_0x5d6c30(0x18d),'izKAU':function(_0x45afde,_0x3fd017,_0x23686f){return _0x45afde(_0x3fd017,_0x23686f);},'ufhFJ':function(_0xca9b69,_0x26436d){return _0xca9b69 instanceof _0x26436d;},'gyJOB':function(_0x1d40dc,_0x57bec6,_0x5dc573){return _0x1d40dc(_0x57bec6,_0x5dc573);},'vtWDD':function(_0x346ea4,_0x147737,_0x30e1a5){return _0x346ea4(_0x147737,_0x30e1a5);},'Krzjn':function(_0x12b825,_0x5211b4){return _0x12b825(_0x5211b4);},'yQthG':_0x5d6c30(0x15d),'clPDP':function(_0x52ff51,_0x4287db,_0x2afc4d){return _0x52ff51(_0x4287db,_0x2afc4d);},'YqoPO':_0x5d6c30(0x123),'Rkwxc':_0x5d6c30(0xdc),'KefSO':_0x5d6c30(0x167),'ngpOZ':function(_0x58199f,_0x2c864b){return _0x58199f==_0x2c864b;},'OKcun':function(_0x30ffc2,_0x593461){return _0x30ffc2==_0x593461;},'nogBB':function(_0x3ff1c1,_0x255d90,_0x561b35){return _0x3ff1c1(_0x255d90,_0x561b35);}};this['engine']=new _0x1e4688[(_0x5d6c30(0xf5))](),this['util']=new _0x1e4688['NodeQQNTWrapperUtil'](),this['loginService']=new _0x1e4688['NodeIKernelLoginService'](),this['session']=new _0x1e4688[(_0x5d6c30(0x193))](),this['loginListener']=new LoginListener(),this[_0x5d6c30(0x105)][_0x5d6c30(0xe4)]=_0x2d10c9=>{const _0x1f497f=_0x5d6c30;_0x8165b6[_0x1f497f(0x163)](logError,_0x8165b6[_0x1f497f(0x146)](_0x8165b6[_0x1f497f(0x185)](_0x8165b6[_0x1f497f(0x17b)],_0x2d10c9),')已登录,无法重复登录'));},this[_0x5d6c30(0x105)][_0x5d6c30(0x15f)]=_0x142e12=>{const _0x513ee9=_0x5d6c30,_0x301a75={'LFcwC':function(_0x5dc3f0,_0x4438f0,_0x21614e){const _0x1bbef8=_0x286d;return _0x8165b6[_0x1bbef8(0xd8)](_0x5dc3f0,_0x4438f0,_0x21614e);},'MhirA':function(_0xa74bcf,_0x188362){return _0x8165b6['ufhFJ'](_0xa74bcf,_0x188362);},'btVPY':function(_0x3f1352,_0xa6bf71,_0x19415d){const _0x2cf2a7=_0x286d;return _0x8165b6[_0x2cf2a7(0x194)](_0x3f1352,_0xa6bf71,_0x19415d);},'BZbSe':'数据库初始化失败','zeriv':function(_0x2328c5,_0x55189b,_0x45be01){const _0x5e8979=_0x286d;return _0x8165b6[_0x5e8979(0xd6)](_0x2328c5,_0x55189b,_0x45be01);},'llNXn':function(_0x5d4b0d,_0x52a4d3){const _0xdfa100=_0x286d;return _0x8165b6[_0xdfa100(0x163)](_0x5d4b0d,_0x52a4d3);},'vTJYH':function(_0x3a09cc,_0x434069){return _0x8165b6['Krzjn'](_0x3a09cc,_0x434069);},'YjXKx':_0x8165b6['yQthG'],'dQfcS':function(_0x322e00,_0x404b2e,_0x4dce2b){const _0x56dfd8=_0x286d;return _0x8165b6[_0x56dfd8(0x15e)](_0x322e00,_0x404b2e,_0x4dce2b);},'SojFU':_0x8165b6[_0x513ee9(0xe6)],'FhOmN':_0x8165b6[_0x513ee9(0x116)]};this[_0x513ee9(0x16f)](_0x142e12[_0x513ee9(0x141)],_0x142e12['uid'])[_0x513ee9(0x190)](_0x231e31=>{const _0x347d99=_0x513ee9;selfInfo[_0x347d99(0x141)]=_0x142e12[_0x347d99(0x141)],selfInfo[_0x347d99(0x171)]=_0x142e12[_0x347d99(0x171)],napCatConfig['read'](),_0x301a75[_0x347d99(0x151)](setLogLevel,napCatConfig[_0x347d99(0xf7)],napCatConfig['consoleLogLevel']),_0x301a75[_0x347d99(0x119)](enableFileLog,napCatConfig[_0x347d99(0x107)]),_0x301a75['vTJYH'](enableConsoleLog,napCatConfig[_0x347d99(0x18f)]),_0x301a75[_0x347d99(0x119)](setLogSelfInfo,selfInfo);const _0xc92e9a=_0x1a1974[_0x347d99(0xdd)](this[_0x347d99(0xda)],_0x301a75[_0x347d99(0x16c)]);_0x296cd6['mkdirSync'](_0xc92e9a,{'recursive':!![]}),_0x301a75[_0x347d99(0xf6)](logDebug,_0x301a75[_0x347d99(0x10b)],_0xc92e9a),dbUtil[_0x347d99(0x187)](_0x1a1974[_0x347d99(0xdd)](_0xc92e9a,'./'+_0x142e12[_0x347d99(0x141)]+_0x347d99(0x15c)))[_0x347d99(0x190)](()=>{const _0x17dbb8=_0x347d99,_0x16237c={'XyoIB':function(_0xf36ca6,_0x49d308,_0x38c9e1){const _0x3baa08=_0x286d;return _0x301a75[_0x3baa08(0xf9)](_0xf36ca6,_0x49d308,_0x38c9e1);},'IydXf':function(_0x204410,_0x55b302){const _0x23ff16=_0x286d;return _0x301a75[_0x23ff16(0x10c)](_0x204410,_0x55b302);}};this[_0x17dbb8(0x12f)](),this['onLoginSuccessFuncList'][_0x17dbb8(0x13e)](_0x3c3229=>{const _0x5a363b=_0x17dbb8;new Promise((_0x1bfc6c,_0x2e479c)=>{const _0x44d6fa=_0x286d,_0x151d8c=_0x16237c[_0x44d6fa(0xe0)](_0x3c3229,_0x142e12[_0x44d6fa(0x141)],_0x142e12[_0x44d6fa(0x171)]);_0x16237c[_0x44d6fa(0x192)](_0x151d8c,Promise)&&_0x151d8c['then'](_0x1bfc6c)['catch'](_0x2e479c);})[_0x5a363b(0x190)]();});})['catch'](_0x403020=>{const _0x586b04=_0x347d99;_0x301a75[_0x586b04(0x12e)](logError,_0x301a75[_0x586b04(0x10e)],_0x403020);});})[_0x513ee9(0x160)](_0x4b1217=>{const _0x15abb8=_0x513ee9;_0x301a75[_0x15abb8(0x151)](logError,_0x301a75[_0x15abb8(0x17f)],_0x4b1217);throw new Error(_0x15abb8(0xfe)+JSON['stringify'](_0x4b1217));});},this['loginListener']['onQRCodeSessionFailed']=(_0x368317,_0x17331d,_0x2cc6ef)=>{const _0x31044d=_0x5d6c30;_0x8165b6['vtWDD'](logError,_0x8165b6['KefSO'],_0x2cc6ef),_0x8165b6['ngpOZ'](_0x368317,0x1)&&_0x8165b6[_0x31044d(0x139)](_0x17331d,0x3)&&this['loginService'][_0x31044d(0x157)]();},this[_0x5d6c30(0x105)][_0x5d6c30(0xe9)]=_0x339dd0=>{const _0x15fee5=_0x5d6c30;_0x8165b6[_0x15fee5(0xf8)](logError,_0x8165b6[_0x15fee5(0x149)],_0x339dd0);},this['loginListener']=new Proxy(this[_0x5d6c30(0x105)],this[_0x5d6c30(0x108)]),this[_0x5d6c30(0x14d)][_0x5d6c30(0x166)](new _0x1e4688[(_0x5d6c30(0x173))](this[_0x5d6c30(0x105)])),this['initConfig']();}get[_0x3bff4f(0xda)](){const _0xd6a7bb=_0x3bff4f,_0x2b6402={'katCC':_0xd6a7bb(0xd4)};let _0x56553a=this[_0xd6a7bb(0x104)]['getNTUserDataInfoConfig']();return!_0x56553a&&(_0x56553a=_0x1a1974['resolve'](_0x603062[_0xd6a7bb(0x196)](),_0x2b6402[_0xd6a7bb(0x186)]),_0x296cd6[_0xd6a7bb(0xeb)](_0x56553a,{'recursive':!![]})),_0x56553a;}get[_0x3bff4f(0xdb)](){const _0x5e0f59=_0x3bff4f,_0x198d4e={'qHsdm':'./nt_qq/global'};return _0x1a1974['resolve'](this[_0x5e0f59(0xda)],_0x198d4e[_0x5e0f59(0x14a)]);}['initConfig'](){const _0x43e0e8=_0x3bff4f,_0x5edb6a={'vABuL':_0x43e0e8(0x101)};this[_0x43e0e8(0x143)][_0x43e0e8(0x178)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x43e0e8(0x100)],'os_version':_0x5edb6a['vABuL'],'use_xlog':!![],'qua':_0x43e0e8(0xfa)+qqVersionConfigInfo[_0x43e0e8(0x100)][_0x43e0e8(0xec)]('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x1e4688[(_0x43e0e8(0x109))](new GlobalAdapter())),this[_0x43e0e8(0x14d)][_0x43e0e8(0x136)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x43e0e8(0xdb)],'clientVer':qqVersionConfigInfo[_0x43e0e8(0x100)],'hostName':hostname});}['initSession'](_0x154645,_0x2d55db){const _0x160f8c={'hBDfJ':function(_0x2e1104,_0x5b0eca){return _0x2e1104===_0x5b0eca;},'sERCS':function(_0xb78ff8,_0x24f395){return _0xb78ff8(_0x24f395);},'hsmig':function(_0xaa784e,_0x4e82e5,_0x12a442,_0x124a51){return _0xaa784e(_0x4e82e5,_0x12a442,_0x124a51);},'UWWPe':function(_0x3ee3d7,_0x459952){return _0x3ee3d7+_0x459952;}};return new Promise((_0x57df9a,_0x39e2a6)=>{const _0x8ce50a=_0x286d,_0xa05692=_0x160f8c[_0x8ce50a(0x11c)](genSessionConfig,_0x154645,_0x2d55db,this[_0x8ce50a(0xda)]),_0x5294fe=new SessionListener();_0x5294fe[_0x8ce50a(0x170)]=_0x228479=>{const _0x53f20c=_0x8ce50a;if(_0x160f8c[_0x53f20c(0x172)](_0x228479,0x0))return _0x57df9a(0x0);_0x160f8c[_0x53f20c(0x176)](_0x39e2a6,_0x228479);},this[_0x8ce50a(0x15a)][_0x8ce50a(0x187)](_0xa05692,new _0x1e4688[(_0x8ce50a(0xf2))](new DependsAdapter()),new _0x1e4688[(_0x8ce50a(0x14b))](new DispatcherAdapter()),new _0x1e4688[(_0x8ce50a(0x12b))](_0x5294fe));try{this[_0x8ce50a(0x15a)][_0x8ce50a(0x182)](0x0);}catch(_0x592bb8){try{this[_0x8ce50a(0x15a)][_0x8ce50a(0x182)]();}catch(_0x33a049){_0x160f8c[_0x8ce50a(0x176)](_0x39e2a6,_0x160f8c['UWWPe'](_0x8ce50a(0x112),_0x33a049));}}});}['initDataListener'](){const _0x48a35d=_0x3bff4f,_0x4f2f36={'vdhDz':function(_0x2b57c8,_0x1d2078){return _0x2b57c8===_0x1d2078;},'mQDVO':function(_0x410d5e,_0x1dab06){return _0x410d5e(_0x1dab06);},'hYFgw':function(_0x5c97dd,_0x4830ef){return _0x5c97dd+_0x4830ef;},'gAnqj':')\x20在线状态变更','xiZbf':function(_0x5abf16,_0x40b17c){return _0x5abf16(_0x40b17c);},'lLqSc':function(_0x27253f,_0x41a2f6){return _0x27253f+_0x41a2f6;},'vPaeC':function(_0x30a0c8,_0x4afb97){return _0x30a0c8+_0x4afb97;},'IVahv':_0x48a35d(0x152),'sCYui':function(_0x3ce56f,_0x37776c){return _0x3ce56f/_0x37776c;},'vgsVk':'groupMemberList_MainWindow'},_0x50eaba=new MsgListener();_0x50eaba[_0x48a35d(0xfd)]=_0x3d8a0e=>{const _0x567895=_0x48a35d;_0x3d8a0e[_0x567895(0x13e)](_0x3ca44b=>{const _0x334b96=_0x567895;_0x4f2f36[_0x334b96(0x18b)](_0x3ca44b[_0x334b96(0x191)],0x2)&&_0x4f2f36[_0x334b96(0x11d)](log,_0x4f2f36[_0x334b96(0x14e)](_0x334b96(0x169),_0x3ca44b[_0x334b96(0x195)])+_0x4f2f36[_0x334b96(0x124)]);});},_0x50eaba[_0x48a35d(0x132)]=_0x3c7902=>{const _0x4fad0e=_0x48a35d;_0x4f2f36[_0x4fad0e(0x18e)](log,_0x4f2f36['lLqSc'](_0x4f2f36[_0x4fad0e(0x14e)](_0x4f2f36[_0x4fad0e(0x131)](_0x4f2f36[_0x4fad0e(0x17c)],_0x3c7902[_0x4fad0e(0x13d)]),']\x20'),_0x3c7902[_0x4fad0e(0x15b)]));},_0x50eaba[_0x48a35d(0x158)]=_0x4bd083=>{stat['packet_received']+=0x1,_0x4bd083['map'](_0x2f30c5=>{const _0x272fe8=_0x286d;_0x4f2f36[_0x272fe8(0x18b)](_0x2f30c5[_0x272fe8(0x142)],'0')?dbUtil['addMsg'](_0x2f30c5)[_0x272fe8(0x190)]()[_0x272fe8(0x160)]():dbUtil[_0x272fe8(0x13c)](_0x2f30c5[_0x272fe8(0x10d)])['then'](_0x400b91=>{const _0x116276=_0x272fe8;_0x400b91&&(_0x400b91['recallTime']=_0x2f30c5[_0x116276(0x142)],dbUtil['updateMsg'](_0x400b91)[_0x116276(0x190)]());});});},_0x50eaba[_0x48a35d(0x175)]=_0x4a9e8e=>{const _0x35ba41=_0x48a35d;stat[_0x35ba41(0x147)]+=0x1,stat[_0x35ba41(0x148)]+=0x1,stat[_0x35ba41(0x17a)]=Math[_0x35ba41(0x120)](Date[_0x35ba41(0xed)]()/0x3e8);},_0x50eaba[_0x48a35d(0xe5)]=_0x50ebf9=>{const _0x3b7ab1=_0x48a35d;stat[_0x3b7ab1(0x137)]+=0x1,stat[_0x3b7ab1(0x11e)]+=_0x50ebf9[_0x3b7ab1(0x111)],stat[_0x3b7ab1(0x17a)]=Math[_0x3b7ab1(0x120)](_0x4f2f36[_0x3b7ab1(0x12a)](Date[_0x3b7ab1(0xed)](),0x3e8));},_0x50eaba[_0x48a35d(0xea)]=(..._0x29a39a)=>{const _0x2addf7=_0x48a35d;stat[_0x2addf7(0x137)]+=0x1;},this['addListener'](_0x50eaba);const _0x80c993=new BuddyListener();_0x80c993[_0x48a35d(0xf0)]=_0x2d9c78=>{const _0x3fd32f=_0x48a35d;for(const _0x4e8d0c of _0x2d9c78){for(const _0xcc6b98 of _0x4e8d0c[_0x3fd32f(0x122)]){const _0x47e987=friends[_0x3fd32f(0xfc)](_0xcc6b98[_0x3fd32f(0x171)]);uid2UinMap[_0xcc6b98['uid']]=_0xcc6b98[_0x3fd32f(0x141)],_0x47e987?Object[_0x3fd32f(0x126)](_0x47e987,_0xcc6b98):friends[_0x3fd32f(0x135)](_0xcc6b98['uid'],_0xcc6b98);}}},this[_0x48a35d(0x159)](_0x80c993),this['session']['getBuddyService']()[_0x48a35d(0xd9)](!![])[_0x48a35d(0x190)](_0x3af5a2=>{});const _0x16c737=new ProfileListener();_0x16c737[_0x48a35d(0xf3)]=_0x4160ed=>{const _0x982963=_0x48a35d;_0x4160ed[_0x982963(0x171)]===selfInfo['uid']&&Object[_0x982963(0x126)](selfInfo,_0x4160ed);},_0x16c737[_0x48a35d(0x114)]=_0x372aee=>{},this[_0x48a35d(0x159)](_0x16c737);const _0x2bcd30=new GroupListener();_0x2bcd30[_0x48a35d(0x138)]=(_0x21b5fe,_0x5ba39e)=>{const _0x27ca5f=_0x48a35d,_0x70d48f={'wpcYy':_0x4f2f36[_0x27ca5f(0x188)]};_0x5ba39e[_0x27ca5f(0x13e)](_0x3a0955=>{const _0x3a93af=_0x27ca5f,_0x30be71=groups['get'](_0x3a0955[_0x3a93af(0x145)]);if(_0x30be71)Object[_0x3a93af(0x126)](_0x30be71,_0x3a0955);else{groups[_0x3a93af(0x135)](_0x3a0955[_0x3a93af(0x145)],_0x3a0955);const _0x3139a7=this[_0x3a93af(0x15a)][_0x3a93af(0x14f)]()[_0x3a93af(0x128)](_0x3a0955['groupCode'],_0x70d48f[_0x3a93af(0x153)]);this[_0x3a93af(0x15a)][_0x3a93af(0x14f)]()['getNextMemberList'](_0x3139a7,undefined,0xbb8)[_0x3a93af(0x190)](_0x44b6e0=>{});}});},_0x2bcd30[_0x48a35d(0xdf)]=_0x3289d7=>{const _0x59cc93=_0x48a35d,_0xcd8411=_0x3289d7[_0x59cc93(0x12d)]['split']('_')[0x0];if(groupMembers[_0x59cc93(0x162)](_0xcd8411)){const _0x2d027f=groupMembers['get'](_0xcd8411);_0x3289d7[_0x59cc93(0xd7)][_0x59cc93(0xf1)]((_0x3474a1,_0x316472)=>{const _0x4a0002=_0x59cc93,_0x57f508=_0x2d027f['get'](_0x316472);_0x57f508?Object[_0x4a0002(0x126)](_0x57f508,_0x3474a1):_0x2d027f[_0x4a0002(0x135)](_0x316472,_0x3474a1);});}else groupMembers[_0x59cc93(0x135)](_0xcd8411,_0x3289d7[_0x59cc93(0xd7)]);},_0x2bcd30['onMemberInfoChange']=(_0xbbe66f,_0x4e2357,_0x1f4864)=>{const _0x5d3133=_0x48a35d;_0x1f4864[_0x5d3133(0xf1)]((_0x27dbe9,_0x20286f)=>{uid2UinMap[_0x20286f]=_0x27dbe9['uin'];});const _0x4f4b90=groupMembers['get'](_0xbbe66f);_0x4f4b90?_0x1f4864[_0x5d3133(0xf1)]((_0x3362af,_0x164da5)=>{const _0x2d9c36=_0x5d3133,_0xbf8c2d=_0x4f4b90['get'](_0x164da5);_0xbf8c2d?Object['assign'](_0xbf8c2d,_0x3362af):_0x4f4b90[_0x2d9c36(0x135)](_0x164da5,_0x3362af);}):groupMembers['set'](_0xbbe66f,_0x1f4864);},this['addListener'](_0x2bcd30);}['addListener'](_0x3a96da){const _0x40c89c=_0x3bff4f,_0x58d33b={'sFhkR':_0x40c89c(0xe1),'pZHtD':'GroupListener','rUruq':_0x40c89c(0x155),'fPgRP':'ProfileListener'};_0x3a96da=new Proxy(_0x3a96da,this[_0x40c89c(0x108)]);switch(_0x3a96da['constructor'][_0x40c89c(0x174)]){case _0x58d33b['sFhkR']:{return this[_0x40c89c(0x15a)][_0x40c89c(0x184)]()[_0x40c89c(0x18a)](new _0x1e4688[(_0x40c89c(0x117))](_0x3a96da));}case _0x58d33b['pZHtD']:{return this[_0x40c89c(0x15a)][_0x40c89c(0x14f)]()[_0x40c89c(0x12c)](new _0x1e4688['NodeIKernelGroupListener'](_0x3a96da));}case _0x58d33b[_0x40c89c(0x177)]:{return this['session'][_0x40c89c(0x133)]()[_0x40c89c(0x16a)](new _0x1e4688[(_0x40c89c(0x16d))](_0x3a96da));}case _0x58d33b['fPgRP']:{return this['session'][_0x40c89c(0xe2)]()[_0x40c89c(0x161)](new _0x1e4688[(_0x40c89c(0x183))](_0x3a96da));}default:return-0x1;}}[_0x3bff4f(0x189)](_0xe6c55e){this['onLoginSuccessFuncList']['push'](_0xe6c55e);}async[_0x3bff4f(0x106)](_0x158773){const _0x14d9ae=_0x3bff4f,_0x336860={'nwPxN':function(_0x2e3a50,_0x28eb59){return _0x2e3a50!==_0x28eb59;},'ttzmN':_0x14d9ae(0x150),'cqvDf':function(_0x5e923c,_0x37b248){return _0x5e923c+_0x37b248;},'YPKJB':_0x14d9ae(0x127)},_0x393908=await this[_0x14d9ae(0x14d)][_0x14d9ae(0x164)]();if(_0x336860[_0x14d9ae(0x17e)](_0x393908[_0x14d9ae(0xf4)],0x0))throw new Error(_0x336860[_0x14d9ae(0x156)]);const _0x5cd216=_0x393908[_0x14d9ae(0x13f)]['find'](_0x4a157f=>_0x4a157f[_0x14d9ae(0x141)]===_0x158773);if(!_0x5cd216||!_0x5cd216?.[_0x14d9ae(0x11f)])throw new Error(_0x158773+_0x14d9ae(0x168));await sleep(0x3e8);const _0x2d05bb=await this[_0x14d9ae(0x14d)][_0x14d9ae(0xe7)](_0x158773);if(!_0x2d05bb[_0x14d9ae(0xf4)])throw new Error(_0x336860['cqvDf'](_0x336860[_0x14d9ae(0xee)],_0x2d05bb[_0x14d9ae(0x113)][_0x14d9ae(0x118)]));return _0x2d05bb;}async['qrLogin'](_0x24975b){const _0x26b67f=_0x3bff4f,_0x575f20={'Ocamv':_0x26b67f(0x134),'wFcGF':_0x26b67f(0xff),'PyIMj':function(_0x3615c5,_0x216c49,_0x58852b,_0x1f384e){return _0x3615c5(_0x216c49,_0x58852b,_0x1f384e);}};return new Promise((_0x108729,_0x4c362d)=>{const _0x2adca3=_0x26b67f;this[_0x2adca3(0x105)][_0x2adca3(0x165)]=_0x20bf73=>{const _0xd4ac86=_0x2adca3,_0x4b2506=_0x20bf73[_0xd4ac86(0xe3)]['split'](_0x575f20[_0xd4ac86(0x130)])[0x1],_0x104bc8=Buffer[_0xd4ac86(0x129)](_0x4b2506,_0x575f20[_0xd4ac86(0x18c)]);_0x575f20[_0xd4ac86(0x16e)](_0x24975b,_0x20bf73['qrcodeUrl'],_0x20bf73[_0xd4ac86(0xe3)],_0x104bc8);},this[_0x2adca3(0x14d)][_0x2adca3(0x157)]();});}async[_0x3bff4f(0x140)](_0x23eb5b,_0x4a8300,_0x129dd3,_0x49401d,_0x16d65d){const _0x9cfc0f=_0x3bff4f,_0x4839ae={'EEFyc':_0x9cfc0f(0x11b),'SGIrG':'hex','Vculm':function(_0x2e03a8,_0x3755bd){return _0x2e03a8||_0x3755bd;},'zfPqc':function(_0x4b68ba,_0x42f9ad){return _0x4b68ba(_0x42f9ad);},'NKrLZ':_0x9cfc0f(0xe8),'bYOsy':_0x9cfc0f(0x10f)},_0xfa6261=_0x332bd0[_0x9cfc0f(0x102)](_0x4839ae[_0x9cfc0f(0xde)])['update'](_0x4a8300)['digest'](_0x4839ae[_0x9cfc0f(0x17d)]),_0x18617a={'uin':_0x23eb5b,'passwordMd5':_0xfa6261,'step':_0x129dd3&&_0x49401d&&_0x16d65d?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x4839ae[_0x9cfc0f(0x14c)](_0x129dd3,''),'proofWaterRand':_0x49401d||'','proofWaterSid':_0x16d65d||''};await this[_0x9cfc0f(0x14d)][_0x9cfc0f(0x164)](),await _0x4839ae[_0x9cfc0f(0x125)](sleep,0x3e8);const _0x1b5cb7=await this[_0x9cfc0f(0x14d)][_0x9cfc0f(0x140)](_0x18617a);switch(_0x1b5cb7['result']){case'0':{break;}case _0x4839ae[_0x9cfc0f(0x13a)]:{break;}case'4':case _0x4839ae[_0x9cfc0f(0x10a)]:default:}}async['getQuickLoginList'](){const _0x435bfd=_0x3bff4f,_0x56e5cd=await this['loginService'][_0x435bfd(0x164)]();return _0x56e5cd;}}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 530b5b17..686bbe15 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -const _0x58b778=_0x1f40;(function(_0x5c4d9d,_0x432197){const _0x2051b8=_0x1f40,_0x50af37=_0x5c4d9d();while(!![]){try{const _0x5d57fe=parseInt(_0x2051b8(0x198))/0x1+parseInt(_0x2051b8(0x19b))/0x2+parseInt(_0x2051b8(0x18a))/0x3+parseInt(_0x2051b8(0x18c))/0x4*(-parseInt(_0x2051b8(0x1a0))/0x5)+parseInt(_0x2051b8(0x195))/0x6*(parseInt(_0x2051b8(0x19c))/0x7)+parseInt(_0x2051b8(0x193))/0x8+parseInt(_0x2051b8(0x19e))/0x9*(-parseInt(_0x2051b8(0x194))/0xa);if(_0x5d57fe===_0x432197)break;else _0x50af37['push'](_0x50af37['shift']());}catch(_0x218640){_0x50af37['push'](_0x50af37['shift']());}}}(_0x42b8,0x397f0));import{isNumeric}from'@/common/utils/helper';function _0x1f40(_0x1d000a,_0xc96dee){const _0x42b83a=_0x42b8();return _0x1f40=function(_0x1f40c8,_0x55ce58){_0x1f40c8=_0x1f40c8-0x189;let _0x851118=_0x42b83a[_0x1f40c8];return _0x851118;},_0x1f40(_0x1d000a,_0xc96dee);}import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();function _0x42b8(){const _0x319fbe=['2357780rNIjYj','6MMsswc','groupCode','QvfEs','235074FZfPDI','toString','XLWpS','717430uIWvLJ','3205097xlOJJg','set','36sEcJsA','NapCat未能正常启动,请检查日志查看错误','2269805IVhaIL','find','forEach','629751pmuQjQ','getGroupMembers','4CJmbjD','uin','get','values','WUbAO','delete','getGroups','2968000GzGbqg'];_0x42b8=function(){return _0x319fbe;};return _0x42b8();}export function deleteGroup(_0x917e2d){const _0x32c655=_0x1f40;groups['delete'](_0x917e2d),groupMembers[_0x32c655(0x191)](_0x917e2d);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x58b778(0x19f)};export async function getFriend(_0x267319){const _0x49be8e=_0x58b778;_0x267319=_0x267319['toString']();if(isNumeric(_0x267319)){const _0x4e1084=Array['from'](friends[_0x49be8e(0x18f)]());return _0x4e1084[_0x49be8e(0x1a1)](_0x37f896=>_0x37f896[_0x49be8e(0x18d)]===_0x267319);}else return friends[_0x49be8e(0x18e)](_0x267319);}export async function getGroup(_0x5daf95){const _0x5740ec=_0x58b778;let _0x21ba1b=groups[_0x5740ec(0x18e)](_0x5daf95['toString']());if(!_0x21ba1b)try{const _0x5e80b7=await NTQQGroupApi[_0x5740ec(0x192)]();_0x5e80b7['length']&&_0x5e80b7[_0x5740ec(0x189)](_0x118e1c=>{const _0x2a69f9=_0x5740ec;groups['set'](_0x118e1c[_0x2a69f9(0x196)],_0x118e1c);});}catch(_0x3aad8f){return undefined;}return _0x21ba1b=groups[_0x5740ec(0x18e)](_0x5daf95[_0x5740ec(0x199)]()),_0x21ba1b;}export async function getGroupMember(_0x4a1362,_0x5e2205){const _0x42e90a=_0x58b778,_0x548216={'QvfEs':function(_0x18b775,_0x22a190){return _0x18b775(_0x22a190);},'WUbAO':function(_0xb00809){return _0xb00809();}};_0x4a1362=_0x4a1362[_0x42e90a(0x199)](),_0x5e2205=_0x5e2205[_0x42e90a(0x199)]();let _0x6b495=groupMembers['get'](_0x4a1362);if(!_0x6b495)try{_0x6b495=await NTQQGroupApi[_0x42e90a(0x18b)](_0x4a1362),groupMembers[_0x42e90a(0x19d)](_0x4a1362,_0x6b495);}catch(_0x589d8c){return null;}const _0x253c52=()=>{const _0x40dde8=_0x42e90a;let _0x5a78b7=undefined;return _0x548216[_0x40dde8(0x197)](isNumeric,_0x5e2205)?_0x5a78b7=Array['from'](_0x6b495[_0x40dde8(0x18f)]())[_0x40dde8(0x1a1)](_0x40168f=>_0x40168f[_0x40dde8(0x18d)]===_0x5e2205):_0x5a78b7=_0x6b495['get'](_0x5e2205),_0x5a78b7;};let _0x1e76b5=_0x253c52();return!_0x1e76b5&&(_0x6b495=await NTQQGroupApi[_0x42e90a(0x18b)](_0x4a1362),_0x1e76b5=_0x548216[_0x42e90a(0x190)](_0x253c52)),_0x1e76b5;}export const uid2UinMap={};export function getUidByUin(_0x294750){const _0x593173=_0x58b778,_0x17d2c5={'XLWpS':function(_0x1ed55d,_0x31d9bc){return _0x1ed55d===_0x31d9bc;}};for(const _0x47d2e6 in uid2UinMap){if(_0x17d2c5[_0x593173(0x19a)](uid2UinMap[_0x47d2e6],_0x294750))return _0x47d2e6;}}export const tempGroupCodeMap={};export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file +const _0x342c92=_0x42ec;(function(_0x5ad2f5,_0x2a5bc7){const _0x3abb9f=_0x42ec,_0x325515=_0x5ad2f5();while(!![]){try{const _0x228d95=-parseInt(_0x3abb9f(0x1f1))/0x1+-parseInt(_0x3abb9f(0x1e4))/0x2*(-parseInt(_0x3abb9f(0x1ef))/0x3)+-parseInt(_0x3abb9f(0x1f0))/0x4*(parseInt(_0x3abb9f(0x1e1))/0x5)+parseInt(_0x3abb9f(0x1df))/0x6*(-parseInt(_0x3abb9f(0x1dd))/0x7)+parseInt(_0x3abb9f(0x1e5))/0x8+-parseInt(_0x3abb9f(0x1d9))/0x9*(-parseInt(_0x3abb9f(0x1f2))/0xa)+-parseInt(_0x3abb9f(0x1e3))/0xb;if(_0x228d95===_0x2a5bc7)break;else _0x325515['push'](_0x325515['shift']());}catch(_0xa7ac6a){_0x325515['push'](_0x325515['shift']());}}}(_0x4fac,0x4f5c2));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';function _0x42ec(_0x2a2762,_0x823fd7){const _0x4fac1c=_0x4fac();return _0x42ec=function(_0x42ec96,_0x182ba5){_0x42ec96=_0x42ec96-0x1d9;let _0x14757b=_0x4fac1c[_0x42ec96];return _0x14757b;},_0x42ec(_0x2a2762,_0x823fd7);}export const Credentials={'Skey':'','CreatTime':0x0,'PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x50c10d){const _0x136603=_0x42ec;groups[_0x136603(0x1e0)](_0x50c10d),groupMembers[_0x136603(0x1e0)](_0x50c10d);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x342c92(0x1e9)};export async function getFriend(_0x133db0){const _0x161ddc=_0x342c92,_0x1c9265={'DWbAV':function(_0x155e6e,_0x27f52e){return _0x155e6e(_0x27f52e);}};_0x133db0=_0x133db0['toString']();if(_0x1c9265['DWbAV'](isNumeric,_0x133db0)){const _0x2d6ed8=Array[_0x161ddc(0x1db)](friends[_0x161ddc(0x1e2)]());return _0x2d6ed8[_0x161ddc(0x1ec)](_0x2ae97c=>_0x2ae97c[_0x161ddc(0x1da)]===_0x133db0);}else return friends[_0x161ddc(0x1ed)](_0x133db0);}export async function getGroup(_0xa74143){const _0x626808=_0x342c92;let _0x3b365e=groups[_0x626808(0x1ed)](_0xa74143[_0x626808(0x1e7)]());if(!_0x3b365e)try{const _0x1e3667=await NTQQGroupApi[_0x626808(0x1ee)]();_0x1e3667[_0x626808(0x1e6)]&&_0x1e3667['forEach'](_0x5a7def=>{const _0x5d55ba=_0x626808;groups[_0x5d55ba(0x1eb)](_0x5a7def['groupCode'],_0x5a7def);});}catch(_0x137f15){return undefined;}return _0x3b365e=groups[_0x626808(0x1ed)](_0xa74143['toString']()),_0x3b365e;}export async function getGroupMember(_0x55d333,_0x37c06e){const _0x39eb41=_0x342c92,_0x2dcafd={'mIfBY':function(_0x3cfeab,_0x36429a){return _0x3cfeab(_0x36429a);},'BsvpF':function(_0x36865f){return _0x36865f();}};_0x55d333=_0x55d333[_0x39eb41(0x1e7)](),_0x37c06e=_0x37c06e[_0x39eb41(0x1e7)]();let _0x4eb044=groupMembers['get'](_0x55d333);if(!_0x4eb044)try{_0x4eb044=await NTQQGroupApi[_0x39eb41(0x1dc)](_0x55d333),groupMembers['set'](_0x55d333,_0x4eb044);}catch(_0x96fdc2){return null;}const _0x55899f=()=>{const _0x936464=_0x39eb41;let _0x5eb8f5=undefined;return _0x2dcafd[_0x936464(0x1e8)](isNumeric,_0x37c06e)?_0x5eb8f5=Array[_0x936464(0x1db)](_0x4eb044['values']())[_0x936464(0x1ec)](_0x48ee56=>_0x48ee56[_0x936464(0x1da)]===_0x37c06e):_0x5eb8f5=_0x4eb044[_0x936464(0x1ed)](_0x37c06e),_0x5eb8f5;};let _0x2c1c06=_0x2dcafd[_0x39eb41(0x1ea)](_0x55899f);return!_0x2c1c06&&(_0x4eb044=await NTQQGroupApi[_0x39eb41(0x1dc)](_0x55d333),_0x2c1c06=_0x55899f()),_0x2c1c06;}export const uid2UinMap={};export function getUidByUin(_0x15488f){const _0x5f27f0=_0x342c92,_0x126fd0={'ZPUnu':function(_0x1d4000,_0x30d109){return _0x1d4000===_0x30d109;}};for(const _0x3e1c25 in uid2UinMap){if(_0x126fd0[_0x5f27f0(0x1de)](uid2UinMap[_0x3e1c25],_0x15488f))return _0x3e1c25;}}export const tempGroupCodeMap={};export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0};function _0x4fac(){const _0x487f82=['delete','15230ihXjND','values','2838143uIxxCd','10MkRRKW','2844816UrtMRo','length','toString','mIfBY','NapCat未能正常启动,请检查日志查看错误','BsvpF','set','find','get','getGroups','152169nlrShv','344yAwjBF','127648uULtAP','5819430viURzJ','9EKyRKE','uin','from','getGroupMembers','41335nFKNzz','ZPUnu','222SFKXTn'];_0x4fac=function(){return _0x487f82;};return _0x4fac();} \ 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 306cb83e..f652dcca 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -function _0x3810(_0x366983,_0x19f28b){var _0x242e09=_0x242e();return _0x3810=function(_0x3810f2,_0x53f69b){_0x3810f2=_0x3810f2-0x1e0;var _0x209b7b=_0x242e09[_0x3810f2];return _0x209b7b;},_0x3810(_0x366983,_0x19f28b);}function _0x242e(){var _0x2aacaa=['311307sKdMKM','179062DuGlVV','ertHG','VIDEO','kCNJG','621jmScxj','1746438VAxVbK','split','YnYQK','1164905mxUIdQ','5830ghwype','851736WKdIJx','OTHER','5yESkFv','2|0|4|1|3','aPBIR','DOCUMENT','1408388FJtqmr','2UXMfwA','IMAGE','AUDIO'];_0x242e=function(){return _0x2aacaa;};return _0x242e();}(function(_0x248ef5,_0x23cbd3){var _0x28daec=_0x3810,_0x393067=_0x248ef5();while(!![]){try{var _0x278951=parseInt(_0x28daec(0x1ea))/0x1+-parseInt(_0x28daec(0x1e6))/0x2*(-parseInt(_0x28daec(0x1e9))/0x3)+-parseInt(_0x28daec(0x1e5))/0x4*(-parseInt(_0x28daec(0x1e1))/0x5)+-parseInt(_0x28daec(0x1ef))/0x6+-parseInt(_0x28daec(0x1f2))/0x7+parseInt(_0x28daec(0x1f4))/0x8+parseInt(_0x28daec(0x1ee))/0x9*(-parseInt(_0x28daec(0x1f3))/0xa);if(_0x278951===_0x23cbd3)break;else _0x393067['push'](_0x393067['shift']());}catch(_0x146772){_0x393067['push'](_0x393067['shift']());}}}(_0x242e,0x3b7e0));export var CacheFileType;(function(_0x17f029){var _0x52d3e7=_0x3810,_0x5e14af={'DLKYt':_0x52d3e7(0x1e2),'YnYQK':_0x52d3e7(0x1ec),'ertHG':_0x52d3e7(0x1e4),'kCNJG':_0x52d3e7(0x1e7),'aPBIR':_0x52d3e7(0x1e0),'szmey':_0x52d3e7(0x1e8)},_0x101b43=_0x5e14af['DLKYt'][_0x52d3e7(0x1f0)]('|'),_0x7acc09=0x0;while(!![]){switch(_0x101b43[_0x7acc09++]){case'0':_0x17f029[_0x17f029[_0x5e14af[_0x52d3e7(0x1f1)]]=0x1]=_0x5e14af[_0x52d3e7(0x1f1)];continue;case'1':_0x17f029[_0x17f029[_0x5e14af['ertHG']]=0x3]=_0x5e14af[_0x52d3e7(0x1eb)];continue;case'2':_0x17f029[_0x17f029[_0x5e14af[_0x52d3e7(0x1ed)]]=0x0]=_0x5e14af[_0x52d3e7(0x1ed)];continue;case'3':_0x17f029[_0x17f029[_0x5e14af['aPBIR']]=0x4]=_0x5e14af[_0x52d3e7(0x1e3)];continue;case'4':_0x17f029[_0x17f029[_0x5e14af['szmey']]=0x2]=_0x52d3e7(0x1e8);continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +function _0x3bf6(){var _0x1974b8=['OTHER','DOCUMENT','6KGKZaX','89496TZAqjW','175311gcdTuk','bglBi','586580aGxmXm','LmkpC','6OtNTAc','296020CYgWvF','204erEZrY','VIDEO','53779peYHLh','IMAGE','HNLnH','3425632EUilWt','15kWUrFK','136vUPoxo','AUDIO','2688300ccDnsK'];_0x3bf6=function(){return _0x1974b8;};return _0x3bf6();}(function(_0xe18f6c,_0x2f1f4c){var _0x5cc854=_0x4750,_0x3846db=_0xe18f6c();while(!![]){try{var _0x5efccb=-parseInt(_0x5cc854(0x12b))/0x1+-parseInt(_0x5cc854(0x12e))/0x2*(-parseInt(_0x5cc854(0x12a))/0x3)+-parseInt(_0x5cc854(0x131))/0x4*(parseInt(_0x5cc854(0x124))/0x5)+parseInt(_0x5cc854(0x130))/0x6*(-parseInt(_0x5cc854(0x123))/0x7)+parseInt(_0x5cc854(0x125))/0x8*(parseInt(_0x5cc854(0x12c))/0x9)+parseInt(_0x5cc854(0x127))/0xa+-parseInt(_0x5cc854(0x120))/0xb*(parseInt(_0x5cc854(0x11e))/0xc);if(_0x5efccb===_0x2f1f4c)break;else _0x3846db['push'](_0x3846db['shift']());}catch(_0xff4983){_0x3846db['push'](_0x3846db['shift']());}}}(_0x3bf6,0x49dd9));export var CacheFileType;function _0x4750(_0x2e7725,_0x7d8e72){var _0x3bf66a=_0x3bf6();return _0x4750=function(_0x475070,_0x1cf93a){_0x475070=_0x475070-0x11e;var _0x3c1276=_0x3bf66a[_0x475070];return _0x3c1276;},_0x4750(_0x2e7725,_0x7d8e72);}(function(_0xf8e09b){var _0x3f8ae6=_0x4750,_0x57f0ba={'HNLnH':_0x3f8ae6(0x121),'JTaqe':_0x3f8ae6(0x11f),'lbnQQ':_0x3f8ae6(0x126),'bglBi':_0x3f8ae6(0x129),'LmkpC':'OTHER'};_0xf8e09b[_0xf8e09b[_0x57f0ba['HNLnH']]=0x0]=_0x57f0ba[_0x3f8ae6(0x122)],_0xf8e09b[_0xf8e09b[_0x57f0ba['JTaqe']]=0x1]=_0x3f8ae6(0x11f),_0xf8e09b[_0xf8e09b[_0x3f8ae6(0x126)]=0x2]=_0x57f0ba['lbnQQ'],_0xf8e09b[_0xf8e09b[_0x57f0ba[_0x3f8ae6(0x12d)]]=0x3]='DOCUMENT',_0xf8e09b[_0xf8e09b[_0x3f8ae6(0x128)]=0x4]=_0x57f0ba[_0x3f8ae6(0x12f)];}(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 3e5ad2d6..62210feb 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -function _0x3505(_0x3115ce,_0x5cdeb5){const _0x3fdb8a=_0x3fdb();return _0x3505=function(_0x3505a5,_0x1337d1){_0x3505a5=_0x3505a5-0xfc;let _0x343a2e=_0x3fdb8a[_0x3505a5];return _0x343a2e;},_0x3505(_0x3115ce,_0x5cdeb5);}function _0x3fdb(){const _0x468b47=['语音转换失败,\x20请检查语音文件是否正常','hPEHR','获取视频信息失败','[骰子]','file','FACE','1443804qraERo','文件异常,大小为0','PTT','width','sep','end','ark','PvCml','20297616fKJVIi','[商城表情]','FILE','get','path','BbqCa','ptt','face','Ori','REPLY','eamPz','stringify','[包剪锤]','copyFile','HBzfW','769526PxVhwH','height','aMZrP','3801620JjCYsW','yrNFB','hcbRe','Thumb','dirname','set','error','dice','markdown','27579gxgoZC','DmDJB','pHqeh','reply','uploadFile','wINSn','701712jYetuV','yDEsu','图片信息','GbeGw','KPHiJ','RmOrv','writeFile','yhDIl','normal','PIWAR','mface','mp4','screenshots','toString','oihlx','weTor','MARKDOWN','KwEwl','catch','then','size','text','normal2','rps','PiuAA','128HQvUEZ','time','PIC','getImageSize','OinEV','MFACE','jpg','获取视频封面失败,使用默认封面','TEXT','ARK','notAt','Auxmy','KrhvP','_0.png','8317974VythMB'];_0x3fdb=function(){return _0x468b47;};return _0x3fdb();}const _0x5a89e0=_0x3505;(function(_0x2c4bb7,_0x3d47c6){const _0xd854ae=_0x3505,_0x9e99f6=_0x2c4bb7();while(!![]){try{const _0x14e671=-parseInt(_0xd854ae(0x118))/0x1+parseInt(_0xd854ae(0x143))/0x2*(-parseInt(_0xd854ae(0x124))/0x3)+parseInt(_0xd854ae(0x12a))/0x4+parseInt(_0xd854ae(0x11b))/0x5+-parseInt(_0xd854ae(0x101))/0x6+-parseInt(_0xd854ae(0x151))/0x7+parseInt(_0xd854ae(0x109))/0x8;if(_0x14e671===_0x3d47c6)break;else _0x9e99f6['push'](_0x9e99f6['shift']());}catch(_0x17bdbc){_0x9e99f6['push'](_0x9e99f6['shift']());}}}(_0x3fdb,0xa7850));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0xf72998}from'node:fs';import _0x1698a9 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';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x5a89e0(0x13f)](_0xb35236){const _0x49d867=_0x5a89e0;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0xb35236,'atType':AtType[_0x49d867(0x14d)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x330b8d,_0x5519a9,_0x55395b,_0x522f1a){const _0x3915d1=_0x5a89e0;return{'elementType':ElementType[_0x3915d1(0x14b)],'elementId':'','textElement':{'content':'@'+_0x522f1a,'atType':_0x55395b,'atUid':_0x330b8d,'atTinyId':'','atNtUid':_0x5519a9}};}static[_0x5a89e0(0x127)](_0x2cee85,_0x14ee7f,_0x32e412,_0x16bab3){const _0x1d831c=_0x5a89e0;return{'elementType':ElementType[_0x1d831c(0x112)],'elementId':'','replyElement':{'replayMsgSeq':_0x2cee85,'replayMsgId':_0x14ee7f,'senderUin':_0x32e412,'senderUinStr':_0x16bab3}};}static async['pic'](_0x4746fb,_0x3e0939='',_0x2f4ef8=0x0){const _0x53f698=_0x5a89e0,_0x456c6b={'CRFjQ':function(_0x55babe,_0x5ed018){return _0x55babe===_0x5ed018;},'Auxmy':'文件异常,大小为0','HWeAT':function(_0x411eff,_0x518c3e){return _0x411eff(_0x518c3e);},'hcbRe':_0x53f698(0x12c)},{md5:_0x24b600,fileName:_0x5b08ef,path:_0x39a6b4,fileSize:_0x165f14}=await NTQQFileApi[_0x53f698(0x128)](_0x4746fb,ElementType[_0x53f698(0x145)],_0x2f4ef8);if(_0x456c6b['CRFjQ'](_0x165f14,0x0))throw _0x456c6b[_0x53f698(0x14e)];const _0x31faa6=await NTQQFileApi[_0x53f698(0x146)](_0x4746fb),_0x1d1e8b={'md5HexStr':_0x24b600,'fileSize':_0x165f14[_0x53f698(0x137)](),'picWidth':_0x31faa6?.[_0x53f698(0x104)],'picHeight':_0x31faa6?.[_0x53f698(0x119)],'fileName':_0x5b08ef,'sourcePath':_0x39a6b4,'original':!![],'picType':_0x456c6b['HWeAT'](isGIF,_0x4746fb)?PicType['gif']:PicType[_0x53f698(0x149)],'picSubType':_0x2f4ef8,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x3e0939};return logDebug(_0x456c6b[_0x53f698(0x11d)],_0x1d1e8b),{'elementType':ElementType[_0x53f698(0x145)],'elementId':'','picElement':_0x1d1e8b};}static async[_0x5a89e0(0xff)](_0x5be058,_0xe620d4=''){const _0x37f04b=_0x5a89e0,_0x31e900={'HBzfW':function(_0x4e8e19,_0x1a901f){return _0x4e8e19===_0x1a901f;},'yrNFB':_0x37f04b(0x102),'DmDJB':function(_0x5cf528,_0x2a5e78){return _0x5cf528||_0x2a5e78;}},{md5:_0x17d08f,fileName:_0x34e4ed,path:_0x57ef90,fileSize:_0x3640c7}=await NTQQFileApi[_0x37f04b(0x128)](_0x5be058,ElementType[_0x37f04b(0x10b)]);if(_0x31e900[_0x37f04b(0x117)](_0x3640c7,0x0))throw _0x31e900[_0x37f04b(0x11c)];const _0x2acc42={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x31e900[_0x37f04b(0x125)](_0xe620d4,_0x34e4ed),'filePath':_0x57ef90,'fileSize':_0x3640c7[_0x37f04b(0x137)]()}};return _0x2acc42;}static async['video'](_0x154c2c,_0x3c0653='',_0x5f27b0=''){const _0x555839=_0x5a89e0,_0x3819a6={'wINSn':function(_0x3c346c,_0x34c587,_0x74abe3){return _0x3c346c(_0x34c587,_0x74abe3);},'aMZrP':_0x555839(0x14a),'eamPz':_0x555839(0x106),'KrhvP':_0x555839(0x121),'yDEsu':function(_0x16e928,_0x389c3e){return _0x16e928+_0x389c3e;},'LnBnu':_0x555839(0x102),'yhDIl':function(_0x2df881,_0x502897){return _0x2df881(_0x502897);},'KwEwl':_0x555839(0x10d),'RmOrv':_0x555839(0x135),'PiuAA':function(_0x477d64,_0x391ca6){return _0x477d64(_0x391ca6);},'hPEHR':'视频信息','PrtYU':_0x555839(0xfd),'BbqCa':function(_0x502e02,_0x388fe7){return _0x502e02(_0x388fe7);},'GbeGw':function(_0x2b9432,_0x3d9b6a){return _0x2b9432+_0x3d9b6a;}},{fileName:_0x24fe98,path:_0x1f89b6,fileSize:_0x5e7c7b,md5:_0x59d572}=await NTQQFileApi[_0x555839(0x128)](_0x154c2c,ElementType['VIDEO']);if(_0x5e7c7b===0x0)throw _0x3819a6['LnBnu'];const _0x50eeac=_0x3819a6[_0x555839(0x131)](require,_0x3819a6[_0x555839(0x13b)]);let _0x113ef8=_0x1f89b6['replace'](_0x50eeac['sep']+_0x555839(0x111)+_0x50eeac[_0x555839(0x105)],_0x50eeac[_0x555839(0x105)]+_0x555839(0x11e)+_0x50eeac[_0x555839(0x105)]);_0x113ef8=_0x50eeac[_0x555839(0x11f)](_0x113ef8);let _0x178207={'width':0x780,'height':0x438,'time':0xf,'format':_0x3819a6[_0x555839(0x12f)],'size':_0x5e7c7b,'filePath':_0x154c2c};try{_0x178207=await _0x3819a6[_0x555839(0x142)](getVideoInfo,_0x1f89b6),_0x3819a6[_0x555839(0x129)](logDebug,_0x3819a6[_0x555839(0xfc)],_0x178207);}catch(_0x3f20f4){_0x3819a6[_0x555839(0x129)](logError,_0x3819a6['PrtYU'],_0x3f20f4);}const _0x37421a=new Promise((_0x2b87b4,_0x42e2f4)=>{const _0x2ae8a8=_0x555839,_0x161795={'KPHiJ':function(_0x5c6f82,_0x2e84c0){return _0x5c6f82(_0x2e84c0);}},_0x3d45df=_0x59d572+_0x2ae8a8(0x150),_0x2493f5=_0x50eeac['join'](_0x113ef8,_0x3d45df);_0x1698a9(_0x154c2c)['on'](_0x3819a6[_0x2ae8a8(0x113)],()=>{})['on'](_0x3819a6[_0x2ae8a8(0x14f)],_0x4d0763=>{const _0x1f9681=_0x2ae8a8;_0x3819a6[_0x1f9681(0x129)](logDebug,_0x3819a6[_0x1f9681(0x11a)],_0x4d0763),_0x5f27b0?_0xf72998[_0x1f9681(0x116)](_0x5f27b0,_0x2493f5)['then'](()=>{const _0x24ec0b=_0x1f9681;_0x161795[_0x24ec0b(0x12e)](_0x2b87b4,_0x2493f5);})[_0x1f9681(0x13c)](_0x42e2f4):_0xf72998[_0x1f9681(0x130)](_0x2493f5,defaultVideoThumb)[_0x1f9681(0x13d)](()=>{_0x2b87b4(_0x2493f5);})['catch'](_0x42e2f4);})[_0x2ae8a8(0x136)]({'timestamps':[0x0],'filename':_0x3d45df,'folder':_0x113ef8,'size':_0x3819a6[_0x2ae8a8(0x12b)](_0x178207['width']+'x',_0x178207[_0x2ae8a8(0x119)])})['on'](_0x3819a6[_0x2ae8a8(0x113)],()=>{_0x2b87b4(_0x2493f5);});}),_0x13ac9e=new Map(),_0x44735b=await _0x37421a,_0xc8e93e=(await _0xf72998['stat'](_0x44735b))[_0x555839(0x13e)];_0x13ac9e[_0x555839(0x120)](0x0,_0x44735b);const _0x4b1ee1=await _0x3819a6[_0x555839(0x10e)](calculateFileMD5,_0x44735b),_0x353bea={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x3c0653||_0x24fe98,'filePath':_0x1f89b6,'videoMd5':_0x59d572,'thumbMd5':_0x4b1ee1,'fileTime':_0x178207[_0x555839(0x144)],'thumbPath':_0x13ac9e,'thumbSize':_0xc8e93e,'thumbWidth':_0x178207[_0x555839(0x104)],'thumbHeight':_0x178207[_0x555839(0x119)],'fileSize':_0x3819a6[_0x555839(0x12d)]('',_0x5e7c7b)}};return _0x353bea;}static async[_0x5a89e0(0x10f)](_0x1bef7a){const _0x24001b=_0x5a89e0,_0x1f0d62={'weTor':function(_0x59cf84,_0x3117c4){return _0x59cf84(_0x3117c4);},'PIWAR':_0x24001b(0x152),'pHqeh':function(_0x1879fb,_0x13730f){return _0x1879fb===_0x13730f;},'iwkEY':'文件异常,大小为0','OinEV':function(_0x4cde8e,_0x2b7a9a){return _0x4cde8e||_0x2b7a9a;}},{converted:_0x2148b5,path:_0x4bc9b7,duration:_0x567b6b}=await _0x1f0d62[_0x24001b(0x139)](encodeSilk,_0x1bef7a);if(!_0x4bc9b7)throw _0x1f0d62[_0x24001b(0x133)];const {md5:_0x509e78,fileName:_0x4bf71b,path:_0x480e5c,fileSize:_0x1c30e2}=await NTQQFileApi[_0x24001b(0x128)](_0x4bc9b7,ElementType['PTT']);if(_0x1f0d62[_0x24001b(0x126)](_0x1c30e2,0x0))throw _0x1f0d62['iwkEY'];return _0x2148b5&&_0xf72998['unlink'](_0x4bc9b7)['then'](),{'elementType':ElementType[_0x24001b(0x103)],'elementId':'','pttElement':{'fileName':_0x4bf71b,'filePath':_0x480e5c,'md5HexStr':_0x509e78,'fileSize':_0x1c30e2,'duration':_0x1f0d62[_0x24001b(0x147)](_0x567b6b,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[_0x5a89e0(0x110)](_0xf5aed2){const _0x113a1e=_0x5a89e0,_0x150637={'PvCml':function(_0x1e436b,_0x3d89a0){return _0x1e436b<_0x3d89a0;}};return{'elementType':ElementType[_0x113a1e(0x100)],'elementId':'','faceElement':{'faceIndex':_0xf5aed2,'faceType':_0x150637[_0x113a1e(0x108)](_0xf5aed2,0xde)?FaceType[_0x113a1e(0x132)]:FaceType[_0x113a1e(0x140)]}};}static[_0x5a89e0(0x134)](_0xbbd5e1,_0xecc3ae,_0x117935,_0x1b6e40){const _0x300877=_0x5a89e0,_0x346779={'UhwTX':_0x300877(0x10a)};return{'elementType':ElementType[_0x300877(0x148)],'marketFaceElement':{'emojiPackageId':_0xbbd5e1,'emojiId':_0xecc3ae,'key':_0x117935,'faceName':_0x1b6e40||mFaceCache[_0x300877(0x10c)](_0xecc3ae)||_0x346779['UhwTX']}};}static[_0x5a89e0(0x122)](_0x574746){const _0x8fd682=_0x5a89e0;return{'elementType':ElementType[_0x8fd682(0x100)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x8fd682(0x122)],'faceType':FaceType[_0x8fd682(0x122)],'faceText':_0x8fd682(0xfe),'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5a89e0(0x141)](_0x191cbd){const _0x1612e2=_0x5a89e0,_0x3b58b7={'gsvAk':_0x1612e2(0x115)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x3b58b7['gsvAk'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5a89e0(0x107)](_0x311cb1){const _0x59760e=_0x5a89e0,_0x215893={'oihlx':'string'};return typeof _0x311cb1!==_0x215893[_0x59760e(0x138)]&&(_0x311cb1=JSON[_0x59760e(0x114)](_0x311cb1)),{'elementType':ElementType[_0x59760e(0x14c)],'elementId':'','arkElement':{'bytesData':_0x311cb1,'linkInfo':null,'subElementType':null}};}static[_0x5a89e0(0x123)](_0x38c45e){const _0x16a607=_0x5a89e0;return{'elementType':ElementType[_0x16a607(0x13a)],'elementId':'','markdownElement':{'content':_0x38c45e}};}} \ No newline at end of file +const _0x511d3a=_0x2e8a;(function(_0x44af4e,_0x221560){const _0x5bc22d=_0x2e8a,_0x2f9b04=_0x44af4e();while(!![]){try{const _0x5d606a=-parseInt(_0x5bc22d(0x122))/0x1*(parseInt(_0x5bc22d(0x17b))/0x2)+parseInt(_0x5bc22d(0x15c))/0x3+-parseInt(_0x5bc22d(0x13c))/0x4*(parseInt(_0x5bc22d(0x15a))/0x5)+-parseInt(_0x5bc22d(0x150))/0x6*(-parseInt(_0x5bc22d(0x13b))/0x7)+parseInt(_0x5bc22d(0x152))/0x8+-parseInt(_0x5bc22d(0x148))/0x9*(-parseInt(_0x5bc22d(0x149))/0xa)+-parseInt(_0x5bc22d(0x12c))/0xb*(parseInt(_0x5bc22d(0x166))/0xc);if(_0x5d606a===_0x221560)break;else _0x2f9b04['push'](_0x2f9b04['shift']());}catch(_0x119583){_0x2f9b04['push'](_0x2f9b04['shift']());}}}(_0x14f6,0x7f5b3));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x145507}from'node:fs';import _0x114969 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';function _0x14f6(){const _0x43c516=['rMHBl','face','ark','normal','OPhsV','yJVmp','4764AJxAMk','width','join','dice','视频信息','end','catch','获取视频信息失败','ljalJ','PIC','pic','KIuad','FACE','markdown','jpg','replace','文件异常,大小为0','then','sep','rps','vhbYe','1002QSMwdh','string','307XBIyMw','kfcHC','PTT','YEFDo','[包剪锤]','bIBhy','mp4','RYNEg','[商城表情]','[骰子]','27929KGxVdP','REPLY','图片信息','time','FILE','VIDEO','WaABo','fSFkV','Thumb','video','RPS','IExgw','stringify','ptt','uploadFile','43477kvElXI','284KctFxX','getImageSize','reply','path','ApQQW','TEXT','unlink','xpvOU','CQNAK','YRPom','语音转换失败,\x20请检查语音文件是否正常','error','823131KunaSy','20SVoHuS','enfya','NjihB','NJNXY','text','ARK','writeFile','690LLyXuP','notAt','6801664dmryNa','stat','WLoin','dGJcx','MARKDOWN','Ori','WhAwA','file','35305wTINbd','_0.png','1312143iEtZGG','pJsMX','gwJvD','height'];_0x14f6=function(){return _0x43c516;};return _0x14f6();}import{calculateFileMD5,isGIF}from'@/common/utils/file';function _0x2e8a(_0x120814,_0x3bff73){const _0x14f670=_0x14f6();return _0x2e8a=function(_0x2e8a35,_0x2150dd){_0x2e8a35=_0x2e8a35-0x121;let _0x213023=_0x14f670[_0x2e8a35];return _0x213023;},_0x2e8a(_0x120814,_0x3bff73);}import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x511d3a(0x14d)](_0x1c546f){const _0x4e63b5=_0x511d3a;return{'elementType':ElementType[_0x4e63b5(0x141)],'elementId':'','textElement':{'content':_0x1c546f,'atType':AtType[_0x4e63b5(0x151)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x4ab41a,_0x24e413,_0x49d02a,_0x13898a){const _0x146178=_0x511d3a;return{'elementType':ElementType[_0x146178(0x141)],'elementId':'','textElement':{'content':'@'+_0x13898a,'atType':_0x49d02a,'atUid':_0x4ab41a,'atTinyId':'','atNtUid':_0x24e413}};}static[_0x511d3a(0x13e)](_0x2b5db6,_0x58c894,_0x8ed06d,_0x200fde){const _0x5097a3=_0x511d3a;return{'elementType':ElementType[_0x5097a3(0x12d)],'elementId':'','replyElement':{'replayMsgSeq':_0x2b5db6,'replayMsgId':_0x58c894,'senderUin':_0x8ed06d,'senderUinStr':_0x200fde}};}static async[_0x511d3a(0x170)](_0x23bf62,_0x2abf07='',_0x14d425=0x0){const _0x3198fa=_0x511d3a,_0x4e4f98={'dGJcx':function(_0x3a8651,_0x5dfc84){return _0x3a8651===_0x5dfc84;},'vhbYe':'文件异常,大小为0','WLoin':function(_0x5d8f61,_0x66fca9){return _0x5d8f61(_0x66fca9);},'enfya':function(_0x5789b8,_0x4de5a3,_0x283d33){return _0x5789b8(_0x4de5a3,_0x283d33);},'udefF':_0x3198fa(0x12e)},{md5:_0x1a1289,fileName:_0x14ec97,path:_0x135378,fileSize:_0x3f913b}=await NTQQFileApi[_0x3198fa(0x13a)](_0x23bf62,ElementType[_0x3198fa(0x16f)],_0x14d425);if(_0x4e4f98[_0x3198fa(0x155)](_0x3f913b,0x0))throw _0x4e4f98[_0x3198fa(0x17a)];const _0x214dea=await NTQQFileApi[_0x3198fa(0x13d)](_0x23bf62),_0x5d6d7e={'md5HexStr':_0x1a1289,'fileSize':_0x3f913b['toString'](),'picWidth':_0x214dea?.['width'],'picHeight':_0x214dea?.[_0x3198fa(0x15f)],'fileName':_0x14ec97,'sourcePath':_0x135378,'original':!![],'picType':_0x4e4f98[_0x3198fa(0x154)](isGIF,_0x23bf62)?PicType['gif']:PicType[_0x3198fa(0x174)],'picSubType':_0x14d425,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x2abf07};return _0x4e4f98[_0x3198fa(0x14a)](logDebug,_0x4e4f98['udefF'],_0x5d6d7e),{'elementType':ElementType[_0x3198fa(0x16f)],'elementId':'','picElement':_0x5d6d7e};}static async[_0x511d3a(0x159)](_0x2b53aa,_0x4c2fb3=''){const _0x48592b=_0x511d3a,_0x13ddca={'YRPom':function(_0x1bdc6e,_0x3908bd){return _0x1bdc6e===_0x3908bd;},'bIBhy':'文件异常,大小为0','WaABo':function(_0xc44dc8,_0x12e927){return _0xc44dc8||_0x12e927;}},{md5:_0x593112,fileName:_0x5c8c11,path:_0x4d522e,fileSize:_0x361e21}=await NTQQFileApi[_0x48592b(0x13a)](_0x2b53aa,ElementType[_0x48592b(0x130)]);if(_0x13ddca[_0x48592b(0x145)](_0x361e21,0x0))throw _0x13ddca[_0x48592b(0x127)];const _0x31621d={'elementType':ElementType[_0x48592b(0x130)],'elementId':'','fileElement':{'fileName':_0x13ddca[_0x48592b(0x132)](_0x4c2fb3,_0x5c8c11),'filePath':_0x4d522e,'fileSize':_0x361e21['toString']()}};return _0x31621d;}static async[_0x511d3a(0x135)](_0x5191c6,_0x166481='',_0x277937=''){const _0x202319=_0x511d3a,_0x391ab3={'rMHBl':function(_0x11511a,_0x28861f){return _0x11511a(_0x28861f);},'IExgw':'获取视频封面失败,使用默认封面','kfcHC':function(_0x24c4a0,_0xcbcac2){return _0x24c4a0(_0xcbcac2);},'RYNEg':_0x202319(0x16b),'NjihB':_0x202319(0x147),'OPhsV':function(_0x536140,_0x540294){return _0x536140+_0x540294;},'CQNAK':function(_0x18a8d4,_0x5f2569){return _0x18a8d4===_0x5f2569;},'GBHfo':'文件异常,大小为0','KIuad':_0x202319(0x13f),'zeiAo':_0x202319(0x128),'gwJvD':function(_0x29bc52,_0x24f490,_0x11d5a9){return _0x29bc52(_0x24f490,_0x11d5a9);},'ApQQW':_0x202319(0x16a),'yJVmp':_0x202319(0x16d)},{fileName:_0xd827bb,path:_0x1ab0bc,fileSize:_0x157f47,md5:_0x2f2493}=await NTQQFileApi['uploadFile'](_0x5191c6,ElementType[_0x202319(0x131)]);if(_0x391ab3[_0x202319(0x144)](_0x157f47,0x0))throw _0x391ab3['GBHfo'];const _0x1f8f6a=_0x391ab3[_0x202319(0x160)](require,_0x391ab3[_0x202319(0x171)]);let _0x2cb778=_0x1ab0bc[_0x202319(0x175)](_0x1f8f6a[_0x202319(0x178)]+_0x202319(0x157)+_0x1f8f6a[_0x202319(0x178)],_0x1f8f6a[_0x202319(0x178)]+_0x202319(0x134)+_0x1f8f6a[_0x202319(0x178)]);_0x2cb778=_0x1f8f6a['dirname'](_0x2cb778);let _0x4b7eea={'width':0x780,'height':0x438,'time':0xf,'format':_0x391ab3['zeiAo'],'size':_0x157f47,'filePath':_0x5191c6};try{_0x4b7eea=await _0x391ab3[_0x202319(0x160)](getVideoInfo,_0x1ab0bc),_0x391ab3[_0x202319(0x15e)](logDebug,_0x391ab3[_0x202319(0x140)],_0x4b7eea);}catch(_0x3307b4){_0x391ab3[_0x202319(0x15e)](logError,_0x391ab3[_0x202319(0x165)],_0x3307b4);}const _0x4cbeca=new Promise((_0x5e3093,_0x121fec)=>{const _0x19182a=_0x202319,_0x17ff7f={'fSFkV':function(_0x47b9de,_0x23e643){const _0x2b5c89=_0x2e8a;return _0x391ab3[_0x2b5c89(0x160)](_0x47b9de,_0x23e643);},'pJsMX':function(_0x3e5666,_0x30fad1,_0x3d6b2a){return _0x3e5666(_0x30fad1,_0x3d6b2a);},'ljalJ':_0x391ab3[_0x19182a(0x137)]},_0x2854cb=_0x2f2493+_0x19182a(0x15b),_0x5ae98a=_0x1f8f6a[_0x19182a(0x168)](_0x2cb778,_0x2854cb);_0x391ab3[_0x19182a(0x123)](_0x114969,_0x5191c6)['on'](_0x391ab3[_0x19182a(0x129)],()=>{})['on'](_0x391ab3[_0x19182a(0x14b)],_0x367188=>{const _0x27a3a9=_0x19182a;_0x17ff7f[_0x27a3a9(0x15d)](logDebug,_0x17ff7f[_0x27a3a9(0x16e)],_0x367188),_0x277937?_0x145507['copyFile'](_0x277937,_0x5ae98a)['then'](()=>{const _0x9d8a72=_0x27a3a9;_0x17ff7f[_0x9d8a72(0x133)](_0x5e3093,_0x5ae98a);})[_0x27a3a9(0x16c)](_0x121fec):_0x145507[_0x27a3a9(0x14f)](_0x5ae98a,defaultVideoThumb)[_0x27a3a9(0x177)](()=>{_0x5e3093(_0x5ae98a);})['catch'](_0x121fec);})['screenshots']({'timestamps':[0x0],'filename':_0x2854cb,'folder':_0x2cb778,'size':_0x391ab3[_0x19182a(0x164)](_0x4b7eea[_0x19182a(0x167)]+'x',_0x4b7eea[_0x19182a(0x15f)])})['on'](_0x391ab3[_0x19182a(0x129)],()=>{const _0x5338ad=_0x19182a;_0x17ff7f[_0x5338ad(0x133)](_0x5e3093,_0x5ae98a);});}),_0xf9c4d9=new Map(),_0x3c45eb=await _0x4cbeca,_0xd65ca6=(await _0x145507[_0x202319(0x153)](_0x3c45eb))['size'];_0xf9c4d9['set'](0x0,_0x3c45eb);const _0x49f7dc=await _0x391ab3[_0x202319(0x160)](calculateFileMD5,_0x3c45eb),_0x422ede={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x166481||_0xd827bb,'filePath':_0x1ab0bc,'videoMd5':_0x2f2493,'thumbMd5':_0x49f7dc,'fileTime':_0x4b7eea[_0x202319(0x12f)],'thumbPath':_0xf9c4d9,'thumbSize':_0xd65ca6,'thumbWidth':_0x4b7eea[_0x202319(0x167)],'thumbHeight':_0x4b7eea[_0x202319(0x15f)],'fileSize':_0x391ab3[_0x202319(0x164)]('',_0x157f47)}};return _0x422ede;}static async[_0x511d3a(0x139)](_0x184c34){const _0x5e83aa=_0x511d3a,_0x2b5ce3={'sCQar':function(_0xf95fbb,_0x3bfbaf){return _0xf95fbb(_0x3bfbaf);},'YEFDo':_0x5e83aa(0x146),'NyBQd':function(_0x274449,_0x17a4f0){return _0x274449===_0x17a4f0;},'ejTFu':_0x5e83aa(0x176),'WhAwA':function(_0x115f09,_0xcd342d){return _0x115f09||_0xcd342d;}},{converted:_0x1619c9,path:_0x97f63e,duration:_0x96a0e}=await _0x2b5ce3['sCQar'](encodeSilk,_0x184c34);if(!_0x97f63e)throw _0x2b5ce3[_0x5e83aa(0x125)];const {md5:_0x4acd3e,fileName:_0x40ba81,path:_0x125ae4,fileSize:_0x5a14ba}=await NTQQFileApi['uploadFile'](_0x97f63e,ElementType['PTT']);if(_0x2b5ce3['NyBQd'](_0x5a14ba,0x0))throw _0x2b5ce3['ejTFu'];return _0x1619c9&&_0x145507[_0x5e83aa(0x142)](_0x97f63e)[_0x5e83aa(0x177)](),{'elementType':ElementType[_0x5e83aa(0x124)],'elementId':'','pttElement':{'fileName':_0x40ba81,'filePath':_0x125ae4,'md5HexStr':_0x4acd3e,'fileSize':_0x5a14ba,'duration':_0x2b5ce3[_0x5e83aa(0x158)](_0x96a0e,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[_0x511d3a(0x161)](_0xc1e257){const _0x4fa038=_0x511d3a;return{'elementType':ElementType[_0x4fa038(0x172)],'elementId':'','faceElement':{'faceIndex':_0xc1e257,'faceType':_0xc1e257<0xde?FaceType[_0x4fa038(0x163)]:FaceType['normal2']}};}static['mface'](_0x2d8c5b,_0x51c9f8,_0x2587d6,_0x2d3542){const _0x27f8b5=_0x511d3a,_0x3dd963={'YJxAC':_0x27f8b5(0x12a)};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x2d8c5b,'emojiId':_0x51c9f8,'key':_0x2587d6,'faceName':_0x2d3542||mFaceCache['get'](_0x51c9f8)||_0x3dd963['YJxAC']}};}static['dice'](_0x29dc9e){const _0x3c002f=_0x511d3a,_0xd7c10c={'qoyRt':_0x3c002f(0x12b)};return{'elementType':ElementType[_0x3c002f(0x172)],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType[_0x3c002f(0x169)],'faceText':_0xd7c10c['qoyRt'],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x511d3a(0x179)](_0x32b3a0){const _0xea73bb=_0x511d3a,_0x13efab={'xpvOU':_0xea73bb(0x126)};return{'elementType':ElementType[_0xea73bb(0x172)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0xea73bb(0x136)],'faceText':_0x13efab[_0xea73bb(0x143)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x511d3a(0x162)](_0x228057){const _0x276ae9=_0x511d3a,_0x407ec7={'NJNXY':_0x276ae9(0x121)};return typeof _0x228057!==_0x407ec7[_0x276ae9(0x14c)]&&(_0x228057=JSON[_0x276ae9(0x138)](_0x228057)),{'elementType':ElementType[_0x276ae9(0x14e)],'elementId':'','arkElement':{'bytesData':_0x228057,'linkInfo':null,'subElementType':null}};}static[_0x511d3a(0x173)](_0x1991a4){const _0x51fe36=_0x511d3a;return{'elementType':ElementType[_0x51fe36(0x156)],'elementId':'','markdownElement':{'content':_0x1991a4}};}} \ 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 ac4b2b70..17e0f1d5 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x524f51,_0x43ba6f){var _0x2bd5f9=_0x59fb,_0x5e2c19=_0x524f51();while(!![]){try{var _0x36c211=parseInt(_0x2bd5f9(0xf3))/0x1*(parseInt(_0x2bd5f9(0xed))/0x2)+-parseInt(_0x2bd5f9(0xee))/0x3+-parseInt(_0x2bd5f9(0xe7))/0x4*(parseInt(_0x2bd5f9(0xe5))/0x5)+-parseInt(_0x2bd5f9(0xf1))/0x6+-parseInt(_0x2bd5f9(0xea))/0x7*(-parseInt(_0x2bd5f9(0xeb))/0x8)+-parseInt(_0x2bd5f9(0xe8))/0x9+parseInt(_0x2bd5f9(0xe9))/0xa;if(_0x36c211===_0x43ba6f)break;else _0x5e2c19['push'](_0x5e2c19['shift']());}catch(_0x2a950c){_0x5e2c19['push'](_0x5e2c19['shift']());}}}(_0x5c59,0xa33b7));function _0x59fb(_0x148c46,_0x570cec){var _0x5c592b=_0x5c59();return _0x59fb=function(_0x59fbc3,_0x802899){_0x59fbc3=_0x59fbc3-0xe5;var _0x1baec8=_0x5c592b[_0x59fbc3];return _0x1baec8;},_0x59fb(_0x148c46,_0x570cec);}function _0x5c59(){var _0x198e48=['20544770bpewZy','8404151UUGUWN','8SiDXTm','XxomN','2136090JxakPg','3996768ZPXGSx','admin','poTdz','1863510aNzWWV','normal','1vESvbO','35XwKkQy','Tqltg','679268BJhBBN','7406604gamjnP'];_0x5c59=function(){return _0x198e48;};return _0x5c59();}export var GroupMemberRole;(function(_0x4724ad){var _0x12c6bf=_0x59fb,_0x20ab51={'poTdz':_0x12c6bf(0xf2),'XxomN':_0x12c6bf(0xef),'Tqltg':'owner'};_0x4724ad[_0x4724ad[_0x20ab51[_0x12c6bf(0xf0)]]=0x2]=_0x20ab51['poTdz'],_0x4724ad[_0x4724ad[_0x20ab51[_0x12c6bf(0xec)]]=0x3]=_0x20ab51[_0x12c6bf(0xec)],_0x4724ad[_0x4724ad[_0x20ab51['Tqltg']]=0x4]=_0x20ab51[_0x12c6bf(0xe6)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +function _0x2388(){var _0x3d0e34=['666056CVLRDE','qQLvq','63MdJvTn','normal','RncYy','391634IDkHIv','6530705FoJqAT','6wcPoXp','532648OOEmyI','owner','1088600ZtOjDG','6VGeDqd','1298341MvhvSE','admin','otKHF','247709JAncom','190tXyYVh'];_0x2388=function(){return _0x3d0e34;};return _0x2388();}function _0x3149(_0x1af82b,_0x5c1b47){var _0x2388de=_0x2388();return _0x3149=function(_0x3149f8,_0x24083f){_0x3149f8=_0x3149f8-0x1ca;var _0x11a304=_0x2388de[_0x3149f8];return _0x11a304;},_0x3149(_0x1af82b,_0x5c1b47);}(function(_0x125cd8,_0x21316b){var _0x20589d=_0x3149,_0x505537=_0x125cd8();while(!![]){try{var _0x5aa6ac=parseInt(_0x20589d(0x1d5))/0x1+parseInt(_0x20589d(0x1d0))/0x2+parseInt(_0x20589d(0x1d6))/0x3*(-parseInt(_0x20589d(0x1d3))/0x4)+parseInt(_0x20589d(0x1d1))/0x5+parseInt(_0x20589d(0x1d2))/0x6*(parseInt(_0x20589d(0x1da))/0x7)+parseInt(_0x20589d(0x1cb))/0x8*(parseInt(_0x20589d(0x1cd))/0x9)+-parseInt(_0x20589d(0x1ca))/0xa*(parseInt(_0x20589d(0x1d7))/0xb);if(_0x5aa6ac===_0x21316b)break;else _0x505537['push'](_0x505537['shift']());}catch(_0x8de4c2){_0x505537['push'](_0x505537['shift']());}}}(_0x2388,0xaadb7));export var GroupMemberRole;(function(_0x228846){var _0x15c4e2=_0x3149,_0x2c7070={'otKHF':_0x15c4e2(0x1ce),'RncYy':_0x15c4e2(0x1d8),'qQLvq':_0x15c4e2(0x1d4)};_0x228846[_0x228846[_0x2c7070[_0x15c4e2(0x1d9)]]=0x2]=_0x15c4e2(0x1ce),_0x228846[_0x228846[_0x2c7070[_0x15c4e2(0x1cf)]]=0x3]='admin',_0x228846[_0x228846[_0x15c4e2(0x1d4)]=0x4]=_0x2c7070[_0x15c4e2(0x1cc)];}(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 41aeb7c6..307f5e22 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x45b209,_0x32587a){var _0x16774b=_0x29c2,_0x11a345=_0x45b209();while(!![]){try{var _0x1dc6a5=-parseInt(_0x16774b(0x101))/0x1*(parseInt(_0x16774b(0xfb))/0x2)+-parseInt(_0x16774b(0x100))/0x3*(-parseInt(_0x16774b(0x104))/0x4)+parseInt(_0x16774b(0x105))/0x5+-parseInt(_0x16774b(0xff))/0x6+parseInt(_0x16774b(0x102))/0x7+parseInt(_0x16774b(0xfd))/0x8*(parseInt(_0x16774b(0xfe))/0x9)+parseInt(_0x16774b(0x103))/0xa*(-parseInt(_0x16774b(0xfc))/0xb);if(_0x1dc6a5===_0x32587a)break;else _0x11a345['push'](_0x11a345['shift']());}catch(_0x584f13){_0x11a345['push'](_0x11a345['shift']());}}}(_0x55ee,0xf0a11));export*from'./user';export*from'./group';function _0x29c2(_0xa2d5c8,_0x29ca22){var _0x55eeef=_0x55ee();return _0x29c2=function(_0x29c2ed,_0x48d0c6){_0x29c2ed=_0x29c2ed-0xfb;var _0x2bb8d6=_0x55eeef[_0x29c2ed];return _0x2bb8d6;},_0x29c2(_0xa2d5c8,_0x29ca22);}export*from'./msg';export*from'./notify';export*from'./cache';function _0x55ee(){var _0x4a53d6=['8rzjLmF','4622409twucwT','5352060QSTvlI','363972pSQkWq','1008853AZhiiG','1646036qVavZL','60aIZqFi','32sejcQW','9835415oGkTLA','2MWpHqt','1466564oKgaOd'];_0x55ee=function(){return _0x4a53d6;};return _0x55ee();}export*from'./constructor'; \ No newline at end of file +function _0x2580(){var _0x14759f=['1661752sjZwug','55605PjKHfv','1039578uEvErE','28224xOxCmT','111158yVSpbv','740155uCRnVP','7aktBXc','1532923MlehYh'];_0x2580=function(){return _0x14759f;};return _0x2580();}(function(_0x5a9ef5,_0x3eb91c){var _0x581a86=_0x81e9,_0x39a5a=_0x5a9ef5();while(!![]){try{var _0x25df36=parseInt(_0x581a86(0x12e))/0x1*(-parseInt(_0x581a86(0x12c))/0x2)+-parseInt(_0x581a86(0x129))/0x3+parseInt(_0x581a86(0x12b))/0x4+parseInt(_0x581a86(0x12d))/0x5+parseInt(_0x581a86(0x12a))/0x6+parseInt(_0x581a86(0x12f))/0x7+parseInt(_0x581a86(0x130))/0x8;if(_0x25df36===_0x3eb91c)break;else _0x39a5a['push'](_0x39a5a['shift']());}catch(_0x26f222){_0x39a5a['push'](_0x39a5a['shift']());}}}(_0x2580,0x54d4e));export*from'./user';function _0x81e9(_0x1e096e,_0x28ca2c){var _0x258030=_0x2580();return _0x81e9=function(_0x81e96c,_0x4cc916){_0x81e96c=_0x81e96c-0x129;var _0x43b3ab=_0x258030[_0x81e96c];return _0x43b3ab;},_0x81e9(_0x1e096e,_0x28ca2c);}export*from'./group';export*from'./msg';export*from'./notify';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 29f8f73f..482fb024 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x488be0=_0x43e5;(function(_0x3b9968,_0x578304){var _0x19c75d=_0x43e5,_0x5320f5=_0x3b9968();while(!![]){try{var _0x6febbd=parseInt(_0x19c75d(0x95))/0x1*(-parseInt(_0x19c75d(0x85))/0x2)+-parseInt(_0x19c75d(0x86))/0x3+-parseInt(_0x19c75d(0x9b))/0x4*(parseInt(_0x19c75d(0xa8))/0x5)+parseInt(_0x19c75d(0xa0))/0x6*(-parseInt(_0x19c75d(0x93))/0x7)+-parseInt(_0x19c75d(0xa1))/0x8+parseInt(_0x19c75d(0x8a))/0x9+parseInt(_0x19c75d(0x9a))/0xa;if(_0x6febbd===_0x578304)break;else _0x5320f5['push'](_0x5320f5['shift']());}catch(_0x390a2e){_0x5320f5['push'](_0x5320f5['shift']());}}}(_0x1079,0x83958));export var ElementType;(function(_0x34b300){var _0x1a7e09=_0x43e5,_0x50a690={'DpEao':'VIDEO','eyyuN':_0x1a7e09(0xb3),'EVNKH':'ARK','hQbHW':_0x1a7e09(0x82),'UvGcD':_0x1a7e09(0xad),'SEKSV':_0x1a7e09(0x81),'YVezW':_0x1a7e09(0xa2),'nDBiR':'MARKDOWN','RuKBB':_0x1a7e09(0x87),'OHNqD':'PIC'},_0x369532='6|9|1|3|0|4|5|2|8|7'[_0x1a7e09(0x90)]('|'),_0x76260e=0x0;while(!![]){switch(_0x369532[_0x76260e++]){case'0':_0x34b300[_0x34b300[_0x50a690['DpEao']]=0x5]=_0x1a7e09(0x8e);continue;case'1':_0x34b300[_0x34b300[_0x50a690[_0x1a7e09(0x8b)]]=0x3]='FILE';continue;case'2':_0x34b300[_0x34b300[_0x50a690['EVNKH']]=0xa]=_0x50a690['EVNKH'];continue;case'3':_0x34b300[_0x34b300[_0x50a690[_0x1a7e09(0xaa)]]=0x4]=_0x50a690[_0x1a7e09(0xaa)];continue;case'4':_0x34b300[_0x34b300[_0x50a690[_0x1a7e09(0x8d)]]=0x6]=_0x1a7e09(0xad);continue;case'5':_0x34b300[_0x34b300[_0x50a690[_0x1a7e09(0x88)]]=0x7]=_0x50a690[_0x1a7e09(0x88)];continue;case'6':_0x34b300[_0x34b300[_0x50a690['YVezW']]=0x1]=_0x50a690[_0x1a7e09(0xa9)];continue;case'7':_0x34b300[_0x34b300['MARKDOWN']=0xe]=_0x50a690[_0x1a7e09(0xb1)];continue;case'8':_0x34b300[_0x34b300[_0x50a690[_0x1a7e09(0x9f)]]=0xb]='MFACE';continue;case'9':_0x34b300[_0x34b300[_0x50a690['OHNqD']]=0x2]=_0x50a690['OHNqD'];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x33e3e6){var _0x3d15c3=_0x43e5,_0x73d9a={'RvRTD':'gif'};_0x33e3e6[_0x33e3e6[_0x73d9a[_0x3d15c3(0x92)]]=0x7d0]=_0x3d15c3(0x97),_0x33e3e6[_0x33e3e6['jpg']=0x3e8]=_0x3d15c3(0xa3);}(PicType||(PicType={})));export var PicSubType;(function(_0x40710d){var _0x1ff1d3=_0x43e5,_0x309a23={'rnlTP':'normal','LAQEw':_0x1ff1d3(0x94)};_0x40710d[_0x40710d[_0x1ff1d3(0xa7)]=0x0]=_0x309a23['rnlTP'],_0x40710d[_0x40710d[_0x309a23['LAQEw']]=0x1]=_0x309a23[_0x1ff1d3(0x91)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x39233e){var _0x5f547a=_0x43e5,_0x50950c={'YAgIZ':_0x5f547a(0x9e),'VKCPh':_0x5f547a(0xb5),'nfrnN':'atUser'};_0x39233e[_0x39233e[_0x50950c['YAgIZ']]=0x0]=_0x50950c[_0x5f547a(0xae)],_0x39233e[_0x39233e[_0x50950c['VKCPh']]=0x1]=_0x50950c['VKCPh'],_0x39233e[_0x39233e[_0x5f547a(0x80)]=0x2]=_0x50950c[_0x5f547a(0x98)];}(AtType||(AtType={})));export var ChatType;(function(_0x42b044){var _0x540b1e=_0x43e5,_0x352437={'eAjWS':_0x540b1e(0xb4),'GPOkL':_0x540b1e(0xa4),'UwnAE':_0x540b1e(0x8c)};_0x42b044[_0x42b044[_0x352437[_0x540b1e(0xb0)]]=0x1]='friend',_0x42b044[_0x42b044[_0x540b1e(0xa4)]=0x2]=_0x352437['GPOkL'],_0x42b044[_0x42b044[_0x352437[_0x540b1e(0xab)]]=0x64]=_0x540b1e(0x8c);}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x488be0(0x83);function _0x43e5(_0x2da7ee,_0x159a3c){var _0x10793b=_0x1079();return _0x43e5=function(_0x43e543,_0x2bae32){_0x43e543=_0x43e543-0x80;var _0x35e264=_0x10793b[_0x43e543];return _0x35e264;},_0x43e5(_0x2da7ee,_0x159a3c);}export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x24da2f){var _0x3d4dfa=_0x488be0,_0x9ee84c={'oVUvm':'MEMBER_NEW_TITLE'};_0x24da2f[_0x24da2f['INVITE_NEW_MEMBER']=0xc]=_0x3d4dfa(0x99),_0x24da2f[_0x24da2f[_0x9ee84c[_0x3d4dfa(0x84)]]=0x11]=_0x9ee84c[_0x3d4dfa(0x84)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x220b87){var _0x334418=_0x488be0,_0x19454d={'FKtNI':_0x334418(0xa7),'OKhUI':'normal2','AwkxU':_0x334418(0x89)};_0x220b87[_0x220b87[_0x19454d[_0x334418(0x9d)]]=0x1]=_0x19454d[_0x334418(0x9d)],_0x220b87[_0x220b87[_0x334418(0xa6)]=0x2]=_0x19454d[_0x334418(0xb2)],_0x220b87[_0x220b87[_0x19454d[_0x334418(0xaf)]]=0x3]=_0x19454d[_0x334418(0xaf)];}(FaceType||(FaceType={})));function _0x1079(){var _0x5f6588=['ban','FKtNI','notAt','RuKBB','3872658IbKuEI','1892232OOADNY','TEXT','jpg','group','wwLGM','normal2','normal','5Otrxgz','YVezW','hQbHW','UwnAE','kicked','FACE','YAgIZ','AwkxU','eAjWS','nDBiR','OKhUI','FILE','friend','atAll','atUser','REPLY','PTT','https://gchat.qpic.cn','oVUvm','2CMRAUc','3079302FydkBj','MFACE','SEKSV','dice','3656070IsCzyN','eyyuN','temp','UvGcD','VIDEO','unaRt','split','LAQEw','RvRTD','7fgRvtE','face','521791uKLlQn','RPS','gif','nfrnN','INVITE_NEW_MEMBER','32303960CqZaFi','2669844IFdNcC'];_0x1079=function(){return _0x5f6588;};return _0x1079();}export var FaceIndex;(function(_0x87e5bc){var _0x4e1e51=_0x488be0,_0x135262={'unaRt':_0x4e1e51(0x89)};_0x87e5bc[_0x87e5bc[_0x135262[_0x4e1e51(0x8f)]]=0x166]=_0x135262['unaRt'],_0x87e5bc[_0x87e5bc[_0x4e1e51(0x96)]=0x167]=_0x4e1e51(0x96);}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x17948d){var _0x4a4fd3=_0x488be0,_0x20358={'dWDCm':'memberIncrease','wwLGM':_0x4a4fd3(0xac),'gJksp':'ban'};_0x17948d[_0x17948d[_0x20358['dWDCm']]=0x1]=_0x20358['dWDCm'],_0x17948d[_0x17948d[_0x20358[_0x4a4fd3(0xa5)]]=0x3]=_0x4a4fd3(0xac),_0x17948d[_0x17948d[_0x20358['gJksp']]=0x8]=_0x4a4fd3(0x9c);}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x29b643=_0xf768;function _0xf768(_0x3c97f1,_0x4691cb){var _0x2e0bca=_0x2e0b();return _0xf768=function(_0xf7681d,_0x5d0165){_0xf7681d=_0xf7681d-0xdb;var _0x206617=_0x2e0bca[_0xf7681d];return _0x206617;},_0xf768(_0x3c97f1,_0x4691cb);}(function(_0x5b654b,_0x1444fc){var _0x111084=_0xf768,_0x4fdd1d=_0x5b654b();while(!![]){try{var _0x437adb=parseInt(_0x111084(0x113))/0x1+-parseInt(_0x111084(0xec))/0x2*(-parseInt(_0x111084(0x106))/0x3)+-parseInt(_0x111084(0x105))/0x4*(-parseInt(_0x111084(0xf9))/0x5)+parseInt(_0x111084(0xe8))/0x6*(-parseInt(_0x111084(0xe0))/0x7)+parseInt(_0x111084(0xdc))/0x8+parseInt(_0x111084(0xf8))/0x9*(parseInt(_0x111084(0x10d))/0xa)+-parseInt(_0x111084(0xf1))/0xb;if(_0x437adb===_0x1444fc)break;else _0x4fdd1d['push'](_0x4fdd1d['shift']());}catch(_0x271fe8){_0x4fdd1d['push'](_0x4fdd1d['shift']());}}}(_0x2e0b,0xa4715));export var ElementType;(function(_0x2895ac){var _0x1a81af=_0xf768,_0x5c05f0={'zCjBP':_0x1a81af(0xe2),'SxBgJ':'PIC','AELfo':'FILE','zqWhl':_0x1a81af(0x115),'HBvUZ':'VIDEO','GAWDD':'FACE','kqsPD':_0x1a81af(0x109),'hHuqI':_0x1a81af(0x104),'ymnnI':_0x1a81af(0x110),'uVNpW':_0x1a81af(0xe3)};_0x2895ac[_0x2895ac[_0x5c05f0[_0x1a81af(0x10a)]]=0x1]=_0x1a81af(0xe2),_0x2895ac[_0x2895ac['PIC']=0x2]=_0x5c05f0[_0x1a81af(0xe6)],_0x2895ac[_0x2895ac[_0x5c05f0[_0x1a81af(0xf7)]]=0x3]=_0x5c05f0[_0x1a81af(0xf7)],_0x2895ac[_0x2895ac[_0x5c05f0[_0x1a81af(0xfb)]]=0x4]=_0x5c05f0[_0x1a81af(0xfb)],_0x2895ac[_0x2895ac[_0x1a81af(0x111)]=0x5]=_0x5c05f0[_0x1a81af(0x10b)],_0x2895ac[_0x2895ac[_0x5c05f0[_0x1a81af(0xe4)]]=0x6]=_0x5c05f0[_0x1a81af(0xe4)],_0x2895ac[_0x2895ac[_0x5c05f0[_0x1a81af(0xfa)]]=0x7]=_0x5c05f0[_0x1a81af(0xfa)],_0x2895ac[_0x2895ac[_0x5c05f0[_0x1a81af(0x114)]]=0xa]=_0x5c05f0[_0x1a81af(0x114)],_0x2895ac[_0x2895ac[_0x5c05f0['ymnnI']]=0xb]=_0x5c05f0[_0x1a81af(0xe9)],_0x2895ac[_0x2895ac[_0x5c05f0[_0x1a81af(0x117)]]=0xe]=_0x5c05f0['uVNpW'];}(ElementType||(ElementType={})));export var PicType;function _0x2e0b(){var _0x12e738=['MARKDOWN','GAWDD','atAll','SxBgJ','dice','12TxRJMk','ymnnI','PAUWU','lIhkg','322bNCFYu','normal','UTtnz','jpg','face','32930865MJtHLo','RPS','atUser','RcpJK','mMXWK','MEMBER_NEW_TITLE','AELfo','8077194kxHOZE','420RRXfEO','kqsPD','zqWhl','CkSPR','kicked','JWniw','NagKj','https://gchat.qpic.cn','bFPhl','INVITE_NEW_MEMBER','eNfGY','ARK','62972ecETtz','1131HIxEeT','gif','ban','REPLY','zCjBP','HBvUZ','kVpbe','10MOWNCd','memberIncrease','notAt','MFACE','VIDEO','friend','1249492FetKzz','hHuqI','PTT','Joeoq','uVNpW','hwBIk','zCBhS','6344088IcyCwA','normal2','cxMyd','temp','2295321YYzKWy','https://multimedia.nt.qq.com.cn','TEXT'];_0x2e0b=function(){return _0x12e738;};return _0x2e0b();}(function(_0x2267b2){var _0x46469a=_0xf768,_0x50eaab={'TgYbp':_0x46469a(0x107),'mMXWK':_0x46469a(0xef)};_0x2267b2[_0x2267b2['gif']=0x7d0]=_0x50eaab['TgYbp'],_0x2267b2[_0x2267b2[_0x50eaab[_0x46469a(0xf5)]]=0x3e8]=_0x50eaab[_0x46469a(0xf5)];}(PicType||(PicType={})));export var PicSubType;(function(_0x1c748b){var _0x1d4950=_0xf768,_0x4bc383={'Joeoq':'normal','cxMyd':_0x1d4950(0xf0)};_0x1c748b[_0x1c748b[_0x4bc383[_0x1d4950(0x116)]]=0x0]=_0x4bc383[_0x1d4950(0x116)],_0x1c748b[_0x1c748b[_0x4bc383[_0x1d4950(0xde)]]=0x1]=_0x1d4950(0xf0);}(PicSubType||(PicSubType={})));export var AtType;(function(_0x5e3eab){var _0x8748fc=_0xf768,_0x3ce358={'zCBhS':'notAt','PAUWU':_0x8748fc(0xe5),'sTOvA':_0x8748fc(0xf3)};_0x5e3eab[_0x5e3eab[_0x3ce358[_0x8748fc(0xdb)]]=0x0]=_0x8748fc(0x10f),_0x5e3eab[_0x5e3eab[_0x3ce358[_0x8748fc(0xea)]]=0x1]=_0x3ce358['PAUWU'],_0x5e3eab[_0x5e3eab[_0x8748fc(0xf3)]=0x2]=_0x3ce358['sTOvA'];}(AtType||(AtType={})));export var ChatType;(function(_0x4f2e6d){var _0x255af6=_0xf768,_0x306e0d={'CkSPR':_0x255af6(0x112),'bFPhl':'group','aYjPR':_0x255af6(0xdf)};_0x4f2e6d[_0x4f2e6d[_0x306e0d[_0x255af6(0xfc)]]=0x1]=_0x306e0d[_0x255af6(0xfc)],_0x4f2e6d[_0x4f2e6d[_0x306e0d[_0x255af6(0x101)]]=0x2]=_0x306e0d[_0x255af6(0x101)],_0x4f2e6d[_0x4f2e6d[_0x306e0d['aYjPR']]=0x64]='temp';}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x29b643(0x100);export const IMAGE_HTTP_HOST_NT=_0x29b643(0xe1);export var GrayTipElementSubType;(function(_0x4928e0){var _0x5e3df1=_0x29b643,_0x1af785={'lIhkg':_0x5e3df1(0x102),'RcpJK':_0x5e3df1(0xf6)};_0x4928e0[_0x4928e0[_0x1af785['lIhkg']]=0xc]=_0x1af785[_0x5e3df1(0xeb)],_0x4928e0[_0x4928e0[_0x1af785['RcpJK']]=0x11]=_0x1af785[_0x5e3df1(0xf4)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x169c2c){var _0x4f9607=_0x29b643,_0x1c06c7={'NagKj':_0x4f9607(0xdd),'hwBIk':_0x4f9607(0xe7)};_0x169c2c[_0x169c2c['normal']=0x1]=_0x4f9607(0xed),_0x169c2c[_0x169c2c[_0x1c06c7[_0x4f9607(0xff)]]=0x2]=_0x1c06c7[_0x4f9607(0xff)],_0x169c2c[_0x169c2c[_0x1c06c7[_0x4f9607(0x118)]]=0x3]=_0x1c06c7['hwBIk'];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x4affd0){var _0x42d1ce=_0x29b643,_0x3fb72d={'UTtnz':'dice','kVpbe':_0x42d1ce(0xf2)};_0x4affd0[_0x4affd0[_0x3fb72d[_0x42d1ce(0xee)]]=0x166]=_0x3fb72d[_0x42d1ce(0xee)],_0x4affd0[_0x4affd0[_0x3fb72d[_0x42d1ce(0x10c)]]=0x167]=_0x3fb72d[_0x42d1ce(0x10c)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x3d2d7a){var _0x33ddf7=_0x29b643,_0x8a6d6b={'rlQdn':_0x33ddf7(0x10e),'eNfGY':_0x33ddf7(0xfd),'JWniw':'ban'};_0x3d2d7a[_0x3d2d7a[_0x8a6d6b['rlQdn']]=0x1]=_0x33ddf7(0x10e),_0x3d2d7a[_0x3d2d7a[_0x8a6d6b[_0x33ddf7(0x103)]]=0x3]=_0x33ddf7(0xfd),_0x3d2d7a[_0x3d2d7a[_0x8a6d6b[_0x33ddf7(0xfe)]]=0x8]=_0x33ddf7(0x108);}(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 524b023e..79685438 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x4b0b90,_0x491576){var _0x48d13b=_0x231e,_0x43659d=_0x4b0b90();while(!![]){try{var _0x17f563=-parseInt(_0x48d13b(0x1f4))/0x1*(-parseInt(_0x48d13b(0x1e5))/0x2)+-parseInt(_0x48d13b(0x1fa))/0x3*(parseInt(_0x48d13b(0x1f0))/0x4)+parseInt(_0x48d13b(0x203))/0x5+parseInt(_0x48d13b(0x1fb))/0x6+parseInt(_0x48d13b(0x1fc))/0x7+parseInt(_0x48d13b(0x1f6))/0x8+parseInt(_0x48d13b(0x1ff))/0x9*(-parseInt(_0x48d13b(0x1f9))/0xa);if(_0x17f563===_0x491576)break;else _0x43659d['push'](_0x43659d['shift']());}catch(_0x7e9cd2){_0x43659d['push'](_0x43659d['shift']());}}}(_0x31a9,0x9aa12));export var GroupNotifyTypes;function _0x31a9(){var _0x59aa77=['APPROVE','4113WnxSVD','REJECT','ADMIN_SET','zaCoH','4100345BkGKkp','KICK_MEMBER','INVITE_ME','reject','37886xnbAti','INVITED_JOIN','THSPT','iyHMX','split','5|6|0|1|7|4|3|2','FRwwu','BzRpU','VmPBx','SDRSc','JOIN_REQUEST','4421452IjHyvg','ADMIN_UNSET','WAIT_HANDLE','iobFF','61oMCVqj','TGIzP','7995224AClIHf','IGNORE','EaFMM','45070KLchkl','3RrmTfq','2198418IVbdOu','3199182WOCnur','approve'];_0x31a9=function(){return _0x59aa77;};return _0x31a9();}(function(_0x51f78d){var _0xe21b33=_0x231e,_0x40cd0f={'iyHMX':_0xe21b33(0x1ea),'EaFMM':_0xe21b33(0x201),'BzRpU':'ADMIN_UNSET_OTHER','VmPBx':'MEMBER_EXIT','iobFF':_0xe21b33(0x1e3),'zaCoH':_0xe21b33(0x1e6)},_0x3358c6=_0x40cd0f[_0xe21b33(0x1e8)][_0xe21b33(0x1e9)]('|'),_0x825d3e=0x0;while(!![]){switch(_0x3358c6[_0x825d3e++]){case'0':_0x51f78d[_0x51f78d['JOIN_REQUEST']=0x7]=_0xe21b33(0x1ef);continue;case'1':_0x51f78d[_0x51f78d[_0x40cd0f[_0xe21b33(0x1f8)]]=0x8]=_0x40cd0f['EaFMM'];continue;case'2':_0x51f78d[_0x51f78d[_0x40cd0f['BzRpU']]=0xd]=_0x40cd0f[_0xe21b33(0x1ec)];continue;case'3':_0x51f78d[_0x51f78d['ADMIN_UNSET']=0xc]=_0xe21b33(0x1f1);continue;case'4':_0x51f78d[_0x51f78d[_0x40cd0f[_0xe21b33(0x1ed)]]=0xb]=_0x40cd0f['VmPBx'];continue;case'5':_0x51f78d[_0x51f78d[_0x40cd0f[_0xe21b33(0x1f3)]]=0x1]=_0xe21b33(0x1e3);continue;case'6':_0x51f78d[_0x51f78d[_0x40cd0f[_0xe21b33(0x202)]]=0x4]=_0x40cd0f[_0xe21b33(0x202)];continue;case'7':_0x51f78d[_0x51f78d['KICK_MEMBER']=0x9]=_0xe21b33(0x204);continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x2a1a1e){var _0x46d189=_0x231e,_0x1ffc95={'SDRSc':_0x46d189(0x1f7),'FRwwu':_0x46d189(0x1f2),'MxEgB':_0x46d189(0x1fe),'TGIzP':_0x46d189(0x200)};_0x2a1a1e[_0x2a1a1e[_0x46d189(0x1f7)]=0x0]=_0x1ffc95[_0x46d189(0x1ee)],_0x2a1a1e[_0x2a1a1e[_0x1ffc95[_0x46d189(0x1eb)]]=0x1]=_0x1ffc95[_0x46d189(0x1eb)],_0x2a1a1e[_0x2a1a1e[_0x1ffc95['MxEgB']]=0x2]=_0x1ffc95['MxEgB'],_0x2a1a1e[_0x2a1a1e[_0x1ffc95[_0x46d189(0x1f5)]]=0x3]=_0x1ffc95[_0x46d189(0x1f5)];}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x231e(_0x409670,_0x5758ff){var _0x31a913=_0x31a9();return _0x231e=function(_0x231e65,_0x46f733){_0x231e65=_0x231e65-0x1e3;var _0x43bcdc=_0x31a913[_0x231e65];return _0x43bcdc;},_0x231e(_0x409670,_0x5758ff);}export var GroupRequestOperateTypes;(function(_0x3769de){var _0x2282bb=_0x231e,_0x36edef={'THSPT':_0x2282bb(0x1e4)};_0x3769de[_0x3769de['approve']=0x1]=_0x2282bb(0x1fd),_0x3769de[_0x3769de[_0x36edef[_0x2282bb(0x1e7)]]=0x2]=_0x36edef[_0x2282bb(0x1e7)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(function(_0x625032,_0xf0f067){var _0x1acaf6=_0x27f5,_0x45754e=_0x625032();while(!![]){try{var _0x37d4e2=-parseInt(_0x1acaf6(0xee))/0x1*(parseInt(_0x1acaf6(0xe9))/0x2)+parseInt(_0x1acaf6(0xed))/0x3*(-parseInt(_0x1acaf6(0x103))/0x4)+-parseInt(_0x1acaf6(0xf4))/0x5*(-parseInt(_0x1acaf6(0x105))/0x6)+parseInt(_0x1acaf6(0xe7))/0x7+parseInt(_0x1acaf6(0xe5))/0x8+parseInt(_0x1acaf6(0x104))/0x9*(parseInt(_0x1acaf6(0xf2))/0xa)+parseInt(_0x1acaf6(0xf6))/0xb*(-parseInt(_0x1acaf6(0xf5))/0xc);if(_0x37d4e2===_0xf0f067)break;else _0x45754e['push'](_0x45754e['shift']());}catch(_0x5a5e68){_0x45754e['push'](_0x45754e['shift']());}}}(_0x509f,0x3b4c8));export var GroupNotifyTypes;(function(_0xd39e00){var _0x166076=_0x27f5,_0x2c972d={'eCRPf':'1|6|3|7|2|0|4|5','ocdaO':_0x166076(0xf8),'DsISI':_0x166076(0xe8),'RBeJP':_0x166076(0xe3),'hgiJT':_0x166076(0xea),'xQdHQ':'ADMIN_UNSET','qmoYx':_0x166076(0xfc),'ZtlDL':_0x166076(0xf9),'cmubx':_0x166076(0xe4)},_0x2c9c5f=_0x2c972d[_0x166076(0xff)]['split']('|'),_0x32fa49=0x0;while(!![]){switch(_0x2c9c5f[_0x32fa49++]){case'0':_0xd39e00[_0xd39e00[_0x2c972d[_0x166076(0x102)]]=0xb]=_0x166076(0xf8);continue;case'1':_0xd39e00[_0xd39e00[_0x166076(0xe8)]=0x1]=_0x2c972d[_0x166076(0xfb)];continue;case'2':_0xd39e00[_0xd39e00[_0x2c972d[_0x166076(0xfa)]]=0x9]=_0x2c972d[_0x166076(0xfa)];continue;case'3':_0xd39e00[_0xd39e00[_0x2c972d[_0x166076(0xfe)]]=0x7]=_0x166076(0xea);continue;case'4':_0xd39e00[_0xd39e00['ADMIN_UNSET']=0xc]=_0x2c972d[_0x166076(0xf0)];continue;case'5':_0xd39e00[_0xd39e00[_0x2c972d['qmoYx']]=0xd]=_0x2c972d['qmoYx'];continue;case'6':_0xd39e00[_0xd39e00[_0x166076(0xf9)]=0x4]=_0x2c972d['ZtlDL'];continue;case'7':_0xd39e00[_0xd39e00['ADMIN_SET']=0x8]=_0x2c972d[_0x166076(0xf7)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x27f5(_0x8b9338,_0x211b5b){var _0x509f68=_0x509f();return _0x27f5=function(_0x27f5cc,_0x267872){_0x27f5cc=_0x27f5cc-0xe3;var _0x5886da=_0x509f68[_0x27f5cc];return _0x5886da;},_0x27f5(_0x8b9338,_0x211b5b);}function _0x509f(){var _0x2ace73=['129292QrQwGZ','1890396hkIwNG','18378XbVazS','KICK_MEMBER','ADMIN_SET','1940904oLDKvo','FdGIB','3007144TnEjkc','INVITE_ME','4726nbHwLZ','JOIN_REQUEST','reject','IGNORE','6dAUcDm','157YzwfhV','FJday','xQdHQ','approve','10MVdXoC','hjuzS','505qBpuyE','2052348mcuuVK','33JzxpuD','cmubx','MEMBER_EXIT','INVITED_JOIN','RBeJP','DsISI','ADMIN_UNSET_OTHER','WAIT_HANDLE','hgiJT','eCRPf','REJECT','zSdQn','ocdaO'];_0x509f=function(){return _0x2ace73;};return _0x509f();}(function(_0x4899d8){var _0x368a94=_0x27f5,_0xf73874={'zSdQn':_0x368a94(0xfd),'FJday':'APPROVE','NaLJm':_0x368a94(0x100)};_0x4899d8[_0x4899d8[_0x368a94(0xec)]=0x0]='IGNORE',_0x4899d8[_0x4899d8[_0xf73874[_0x368a94(0x101)]]=0x1]=_0x368a94(0xfd),_0x4899d8[_0x4899d8[_0xf73874[_0x368a94(0xef)]]=0x2]=_0xf73874['FJday'],_0x4899d8[_0x4899d8[_0xf73874['NaLJm']]=0x3]=_0xf73874['NaLJm'];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x35fc77){var _0x1acabb=_0x27f5,_0x7c2b56={'FdGIB':_0x1acabb(0xf1),'hjuzS':_0x1acabb(0xeb)};_0x35fc77[_0x35fc77[_0x7c2b56[_0x1acabb(0xe6)]]=0x1]=_0x7c2b56[_0x1acabb(0xe6)],_0x35fc77[_0x35fc77[_0x7c2b56[_0x1acabb(0xf3)]]=0x2]='reject';}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ 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 af600995..ca693087 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -function _0x3208(_0x45d081,_0x4696e8){var _0x166863=_0x1668();return _0x3208=function(_0x320865,_0x3474c7){_0x320865=_0x320865-0xbe;var _0x42584f=_0x166863[_0x320865];return _0x42584f;},_0x3208(_0x45d081,_0x4696e8);}function _0x1668(){var _0x37824a=['12bvNSjb','27RoAWqz','40670rDqbHe','RqKLY','2066572MLbBEz','4182854eSVicR','female','20diTusk','1482952AOvXnx','35rWZkGH','3qTyuci','lIYMj','unknown','1100175zKeCBU','aBpgK','4775826RmqFlW','38jXDoAP','560442wnhEQS','male'];_0x1668=function(){return _0x37824a;};return _0x1668();}(function(_0x3db104,_0x1a089c){var _0x1646a5=_0x3208,_0x28a4d5=_0x3db104();while(!![]){try{var _0x34fbf1=parseInt(_0x1646a5(0xc5))/0x1*(-parseInt(_0x1646a5(0xca))/0x2)+-parseInt(_0x1646a5(0xbf))/0x3*(parseInt(_0x1646a5(0xcc))/0x4)+parseInt(_0x1646a5(0xc2))/0x5+parseInt(_0x1646a5(0xc6))/0x6*(parseInt(_0x1646a5(0xbe))/0x7)+-parseInt(_0x1646a5(0xd0))/0x8*(-parseInt(_0x1646a5(0xc9))/0x9)+parseInt(_0x1646a5(0xcf))/0xa*(parseInt(_0x1646a5(0xc4))/0xb)+parseInt(_0x1646a5(0xc8))/0xc*(-parseInt(_0x1646a5(0xcd))/0xd);if(_0x34fbf1===_0x1a089c)break;else _0x28a4d5['push'](_0x28a4d5['shift']());}catch(_0x248298){_0x28a4d5['push'](_0x28a4d5['shift']());}}}(_0x1668,0x7a29a));export var Sex;(function(_0x1e0705){var _0x46429d=_0x3208,_0x48f60d={'aBpgK':_0x46429d(0xc7),'lIYMj':'female','RqKLY':_0x46429d(0xc1)};_0x1e0705[_0x1e0705[_0x46429d(0xc7)]=0x1]=_0x48f60d[_0x46429d(0xc3)],_0x1e0705[_0x1e0705[_0x48f60d[_0x46429d(0xc0)]]=0x2]=_0x46429d(0xce),_0x1e0705[_0x1e0705[_0x48f60d[_0x46429d(0xcb)]]=0xff]=_0x48f60d[_0x46429d(0xcb)];}(Sex||(Sex={}))); \ No newline at end of file +(function(_0x5f3690,_0x2686f0){var _0x230f03=_0x24fd,_0x426e12=_0x5f3690();while(!![]){try{var _0x2e640e=parseInt(_0x230f03(0xd7))/0x1+parseInt(_0x230f03(0xd9))/0x2+parseInt(_0x230f03(0xdf))/0x3+-parseInt(_0x230f03(0xd4))/0x4+parseInt(_0x230f03(0xdb))/0x5+-parseInt(_0x230f03(0xde))/0x6+parseInt(_0x230f03(0xdd))/0x7*(-parseInt(_0x230f03(0xd8))/0x8);if(_0x2e640e===_0x2686f0)break;else _0x426e12['push'](_0x426e12['shift']());}catch(_0x22cffc){_0x426e12['push'](_0x426e12['shift']());}}}(_0x3728,0x3336c));function _0x24fd(_0x2505b5,_0x48a419){var _0x3728d9=_0x3728();return _0x24fd=function(_0x24fdda,_0x3a6837){_0x24fdda=_0x24fdda-0xd3;var _0x15a992=_0x3728d9[_0x24fdda];return _0x15a992;},_0x24fd(_0x2505b5,_0x48a419);}export var Sex;(function(_0x51c9ed){var _0x1fd6c2=_0x24fd,_0x52a455={'odhLM':'male','jePFB':_0x1fd6c2(0xda),'lkXVr':_0x1fd6c2(0xd6)};_0x51c9ed[_0x51c9ed[_0x52a455[_0x1fd6c2(0xd3)]]=0x1]=_0x52a455[_0x1fd6c2(0xd3)],_0x51c9ed[_0x51c9ed[_0x52a455['jePFB']]=0x2]=_0x52a455[_0x1fd6c2(0xdc)],_0x51c9ed[_0x51c9ed[_0x52a455[_0x1fd6c2(0xd5)]]=0xff]=_0x1fd6c2(0xd6);}(Sex||(Sex={})));function _0x3728(){var _0x38b39c=['786102hcSems','odhLM','334504ROQfbm','lkXVr','unknown','306241DeObSR','293224KuYehz','424970UaIpUq','female','376480aWsPVq','jePFB','91LgycPC','517014ZRWDQk'];_0x3728=function(){return _0x38b39c;};return _0x3728();} \ 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 84644e5f..8c6c8b02 100644 --- a/src/core.lib/src/external/hook.js +++ b/src/core.lib/src/external/hook.js @@ -1 +1 @@ -const _0xda4c7d=_0x1013;(function(_0x34124d,_0x5d9a8a){const _0x1069fe=_0x1013,_0x2baa18=_0x34124d();while(!![]){try{const _0x4638af=-parseInt(_0x1069fe(0x1c7))/0x1+-parseInt(_0x1069fe(0x1d7))/0x2+-parseInt(_0x1069fe(0x1d4))/0x3+-parseInt(_0x1069fe(0x1cb))/0x4+-parseInt(_0x1069fe(0x1d9))/0x5+parseInt(_0x1069fe(0x1d1))/0x6*(-parseInt(_0x1069fe(0x1cc))/0x7)+parseInt(_0x1069fe(0x1d6))/0x8;if(_0x4638af===_0x5d9a8a)break;else _0x2baa18['push'](_0x2baa18['shift']());}catch(_0x2989cf){_0x2baa18['push'](_0x2baa18['shift']());}}}(_0x3df0,0xcf7a3));import{logError}from'@/common/utils/log';function _0x3df0(){const _0x57bf37=['MoeHoo','ykxsb','tJNqz','ZUytJ','6HKiMLb','HookRkey','moeHook','3737574qBjNjk','EeSnY','46200240EFzNSo','2401890TrnKpV','isAvailable','3024915PzQaXR','iWSeH','getRKey','加载\x20moehoo\x20失败','156233kNgAXU','version','GetRkey','./MoeHoo.node','6469260TinxrL','699083uOjDev'];_0x3df0=function(){return _0x57bf37;};return _0x3df0();}import{cpModule}from'@/common/utils/cpmodule';import{qqPkgInfo}from'@/common/utils/QQBasicInfo';function _0x1013(_0x5cb0d7,_0x34c309){const _0x3df096=_0x3df0();return _0x1013=function(_0x101318,_0x28167e){_0x101318=_0x101318-0x1c5;let _0x722f8f=_0x3df096[_0x101318];return _0x722f8f;},_0x1013(_0x5cb0d7,_0x34c309);}class HookApi{['moeHook']=null;constructor(){const _0x4c04bc=_0x1013,_0x1407f8={'iWSeH':function(_0x571a69,_0x468963){return _0x571a69(_0x468963);},'ykxsb':_0x4c04bc(0x1cd),'EeSnY':_0x4c04bc(0x1ca),'tJNqz':function(_0x25d1bc,_0xdb6706,_0x51a3da){return _0x25d1bc(_0xdb6706,_0x51a3da);},'ZUytJ':_0x4c04bc(0x1c6)};try{_0x1407f8[_0x4c04bc(0x1da)](cpModule,_0x1407f8[_0x4c04bc(0x1ce)]),this[_0x4c04bc(0x1d3)]=require(_0x1407f8[_0x4c04bc(0x1d5)]),this[_0x4c04bc(0x1d3)][_0x4c04bc(0x1d2)](qqPkgInfo[_0x4c04bc(0x1c8)]);}catch(_0x460cac){_0x1407f8[_0x4c04bc(0x1cf)](logError,_0x1407f8[_0x4c04bc(0x1d0)],_0x460cac);}}[_0xda4c7d(0x1c5)](){const _0x5d6f96=_0xda4c7d;return this['moeHook']?.[_0x5d6f96(0x1c9)]()||'';}[_0xda4c7d(0x1d8)](){const _0x4bec7f=_0xda4c7d;return!!this[_0x4bec7f(0x1d3)];}}export const hookApi=new HookApi(); \ No newline at end of file +const _0x1c1827=_0x5d21;(function(_0x306bb5,_0x40b0c4){const _0x3a7e1a=_0x5d21,_0x238228=_0x306bb5();while(!![]){try{const _0x58614e=parseInt(_0x3a7e1a(0xd9))/0x1*(-parseInt(_0x3a7e1a(0xd8))/0x2)+-parseInt(_0x3a7e1a(0xcc))/0x3+-parseInt(_0x3a7e1a(0xd5))/0x4+parseInt(_0x3a7e1a(0xce))/0x5*(-parseInt(_0x3a7e1a(0xcd))/0x6)+parseInt(_0x3a7e1a(0xcf))/0x7+parseInt(_0x3a7e1a(0xd7))/0x8+parseInt(_0x3a7e1a(0xda))/0x9;if(_0x58614e===_0x40b0c4)break;else _0x238228['push'](_0x238228['shift']());}catch(_0xe97019){_0x238228['push'](_0x238228['shift']());}}}(_0x5574,0x4502e));import{logError}from'@/common/utils/log';import{cpModule}from'@/common/utils/cpmodule';import{qqPkgInfo}from'@/common/utils/QQBasicInfo';function _0x5574(){const _0x3ccdd2=['7432470zZkABk','XnOWy','BSMiz','HUFMt','moeHook','572607PhVACR','12LaWZul','67565xoMyXC','2915101tMcwHP','version','MoeHoo','getRKey','GEIcS','HookRkey','2153956vcXcrr','isAvailable','877256VNQrUU','5794gGHtjj','108tOhtMl'];_0x5574=function(){return _0x3ccdd2;};return _0x5574();}function _0x5d21(_0x2b884a,_0x18eb97){const _0x55744e=_0x5574();return _0x5d21=function(_0x5d2114,_0x3218b7){_0x5d2114=_0x5d2114-0xc9;let _0x3cf894=_0x55744e[_0x5d2114];return _0x3cf894;},_0x5d21(_0x2b884a,_0x18eb97);}class HookApi{['moeHook']=null;constructor(){const _0x5c96c7=_0x5d21,_0x45326d={'BSMiz':function(_0x24a6e4,_0x3b23f4){return _0x24a6e4(_0x3b23f4);},'GEIcS':_0x5c96c7(0xd1),'HUFMt':'./MoeHoo.node','XnOWy':'加载\x20moehoo\x20失败'};try{_0x45326d[_0x5c96c7(0xc9)](cpModule,_0x45326d[_0x5c96c7(0xd3)]),this[_0x5c96c7(0xcb)]=require(_0x45326d[_0x5c96c7(0xca)]),this[_0x5c96c7(0xcb)][_0x5c96c7(0xd4)](qqPkgInfo[_0x5c96c7(0xd0)]);}catch(_0x91aff7){logError(_0x45326d[_0x5c96c7(0xdb)],_0x91aff7);}}[_0x1c1827(0xd2)](){const _0x4758ba=_0x1c1827;return this[_0x4758ba(0xcb)]?.['GetRkey']()||'';}[_0x1c1827(0xd6)](){const _0x323a0b=_0x1c1827;return!!this[_0x323a0b(0xcb)];}}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 43ee8e51..2ca35c0b 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x4764bf,_0x26e8ec){var _0x295cd7=_0x2452,_0x1b043b=_0x4764bf();while(!![]){try{var _0x55a5b7=parseInt(_0x295cd7(0xfe))/0x1*(-parseInt(_0x295cd7(0xf6))/0x2)+parseInt(_0x295cd7(0xfb))/0x3*(-parseInt(_0x295cd7(0xfa))/0x4)+parseInt(_0x295cd7(0xfc))/0x5+parseInt(_0x295cd7(0xfd))/0x6*(parseInt(_0x295cd7(0xf7))/0x7)+-parseInt(_0x295cd7(0xf9))/0x8*(parseInt(_0x295cd7(0xff))/0x9)+parseInt(_0x295cd7(0xf8))/0xa+-parseInt(_0x295cd7(0x100))/0xb;if(_0x55a5b7===_0x26e8ec)break;else _0x1b043b['push'](_0x1b043b['shift']());}catch(_0x5c2e15){_0x1b043b['push'](_0x1b043b['shift']());}}}(_0x26ef,0x3efbf));function _0x26ef(){var _0x406473=['346293BLdMuP','5683227KeMFjo','260574hfHIeA','7owvotb','4231480ugLKrH','8DrzDHW','6444lYPiOR','282rOlytM','1949025UGxbtZ','1691310EvpKTQ','1ZquTzs'];_0x26ef=function(){return _0x406473;};return _0x26ef();}import _0x4fbfb4 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';function _0x2452(_0x375aca,_0x1f7986){var _0x26ef77=_0x26ef();return _0x2452=function(_0x245241,_0x2971da){_0x245241=_0x245241-0xf6;var _0x13599d=_0x26ef77[_0x245241];return _0x13599d;},_0x2452(_0x375aca,_0x1f7986);}export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x4fbfb4 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x363429,_0x4f0148){var _0x52fe4d=_0xcad0,_0xdaa6f8=_0x363429();while(!![]){try{var _0x26e162=-parseInt(_0x52fe4d(0xd7))/0x1+-parseInt(_0x52fe4d(0xcf))/0x2*(parseInt(_0x52fe4d(0xd5))/0x3)+-parseInt(_0x52fe4d(0xd2))/0x4+-parseInt(_0x52fe4d(0xd4))/0x5*(-parseInt(_0x52fe4d(0xd0))/0x6)+parseInt(_0x52fe4d(0xd6))/0x7*(parseInt(_0x52fe4d(0xd8))/0x8)+parseInt(_0x52fe4d(0xd3))/0x9+parseInt(_0x52fe4d(0xd1))/0xa;if(_0x26e162===_0x4f0148)break;else _0xdaa6f8['push'](_0xdaa6f8['shift']());}catch(_0x4ed49b){_0xdaa6f8['push'](_0xdaa6f8['shift']());}}}(_0x46a8,0x193db));import _0xb4d1bb from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';function _0x46a8(){var _0x463ec5=['493708WOVRkY','99243PxRrkf','13935STDCCJ','150ghArMC','4375vtuKTN','13743OVrugu','88LJvJhX','7478elWsdC','24YBTFvh','3984570ZBQlPm'];_0x46a8=function(){return _0x463ec5;};return _0x46a8();}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{_0xb4d1bb as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';function _0xcad0(_0x396fe7,_0x6d52cc){var _0x46a87f=_0x46a8();return _0xcad0=function(_0xcad011,_0x27302a){_0xcad011=_0xcad011-0xcf;var _0x7544b3=_0x46a87f[_0xcad011];return _0x7544b3;},_0xcad0(_0x396fe7,_0x6d52cc);}export{napCatCore}from'./core'; \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js index f4fda665..a6ade729 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x14cda7=_0x37ed;(function(_0x2f4593,_0x5f5a11){var _0x5d5892=_0x37ed,_0x54b1a5=_0x2f4593();while(!![]){try{var _0x5273f7=-parseInt(_0x5d5892(0xc8))/0x1+-parseInt(_0x5d5892(0xd0))/0x2+parseInt(_0x5d5892(0xc7))/0x3*(-parseInt(_0x5d5892(0xbf))/0x4)+parseInt(_0x5d5892(0xd2))/0x5+-parseInt(_0x5d5892(0xca))/0x6*(-parseInt(_0x5d5892(0xc6))/0x7)+-parseInt(_0x5d5892(0xcc))/0x8+parseInt(_0x5d5892(0xc0))/0x9*(parseInt(_0x5d5892(0xce))/0xa);if(_0x5273f7===_0x5f5a11)break;else _0x54b1a5['push'](_0x54b1a5['shift']());}catch(_0x5dd0f5){_0x54b1a5['push'](_0x54b1a5['shift']());}}}(_0x38b2,0x4d29b));export class BuddyListener{[_0x14cda7(0xcd)](_0x178491){}[_0x14cda7(0xd5)](_0x3da378){}['onAvatarUrlUpdated'](_0x3b8ba1){}[_0x14cda7(0xcb)](_0x244a14){}[_0x14cda7(0xd4)](_0x23e8ba){}['onBuddyInfoChange'](_0x2b971a){}['onBuddyListChange'](_0x235f2d){}[_0x14cda7(0xc1)](_0xc6a92){}[_0x14cda7(0xd1)](_0x2b62a3){}[_0x14cda7(0xc3)](_0x143fe7){}[_0x14cda7(0xc5)](_0x586005){}['onDelBatchBuddyInfos'](_0x1d7e3b){}[_0x14cda7(0xc9)](_0x3b569b){}[_0x14cda7(0xd3)](_0x553a50){}[_0x14cda7(0xcf)](_0x233484){}[_0x14cda7(0xc4)](_0x57334c){}[_0x14cda7(0xc2)](_0x5ebb8f){}}function _0x37ed(_0x244def,_0x19110f){var _0x38b20d=_0x38b2();return _0x37ed=function(_0x37ed5e,_0x5dacad){_0x37ed5e=_0x37ed5e-0xbf;var _0xdf660d=_0x38b20d[_0x37ed5e];return _0xdf660d;},_0x37ed(_0x244def,_0x19110f);}function _0x38b2(){var _0x328b2b=['7AlszXT','1427145osVPfv','129130fqDcco','onDoubtBuddyReqChange','295698THSsPV','onBlockChanged','669528XCWxoL','onAddBuddyNeedVerify','39820wYliNO','onNickUpdated','314510UTtCbL','onBuddyReqChange','3153725VKvpZt','onDoubtBuddyReqUnreadNumChange','onBuddyDetailInfoChange','onAddMeSettingChanged','4dDlEpy','1089QzDqYN','onBuddyRemarkUpdated','onSpacePermissionInfos','onBuddyReqUnreadCntChange','onSmartInfos','onCheckBuddySettingResult'];_0x38b2=function(){return _0x328b2b;};return _0x38b2();} \ No newline at end of file +var _0x3469a3=_0x4e44;function _0x4e44(_0x5d2f61,_0x23fa62){var _0x1ab9d7=_0x1ab9();return _0x4e44=function(_0x4e44e9,_0x1eb160){_0x4e44e9=_0x4e44e9-0x17c;var _0x175450=_0x1ab9d7[_0x4e44e9];return _0x175450;},_0x4e44(_0x5d2f61,_0x23fa62);}(function(_0xb6caa9,_0x273a3d){var _0x320595=_0x4e44,_0x448bd9=_0xb6caa9();while(!![]){try{var _0x8fba39=parseInt(_0x320595(0x190))/0x1*(parseInt(_0x320595(0x189))/0x2)+-parseInt(_0x320595(0x182))/0x3*(-parseInt(_0x320595(0x185))/0x4)+parseInt(_0x320595(0x192))/0x5*(-parseInt(_0x320595(0x18e))/0x6)+-parseInt(_0x320595(0x184))/0x7*(parseInt(_0x320595(0x188))/0x8)+-parseInt(_0x320595(0x186))/0x9*(parseInt(_0x320595(0x18b))/0xa)+-parseInt(_0x320595(0x18f))/0xb+-parseInt(_0x320595(0x193))/0xc*(-parseInt(_0x320595(0x17f))/0xd);if(_0x8fba39===_0x273a3d)break;else _0x448bd9['push'](_0x448bd9['shift']());}catch(_0x1463e0){_0x448bd9['push'](_0x448bd9['shift']());}}}(_0x1ab9,0xd285c));export class BuddyListener{[_0x3469a3(0x18d)](_0x66445d){}['onAddMeSettingChanged'](_0x58927d){}[_0x3469a3(0x18c)](_0x3a9ecf){}['onBlockChanged'](_0x455dee){}[_0x3469a3(0x191)](_0x4e5a9e){}[_0x3469a3(0x17e)](_0x4d6a8d){}['onBuddyListChange'](_0x370204){}['onBuddyRemarkUpdated'](_0xb02748){}[_0x3469a3(0x181)](_0x5b076f){}[_0x3469a3(0x17c)](_0x138723){}[_0x3469a3(0x187)](_0x39923b){}['onDelBatchBuddyInfos'](_0xa861bd){}[_0x3469a3(0x18a)](_0x4c7b03){}[_0x3469a3(0x17d)](_0x1eced3){}[_0x3469a3(0x183)](_0x30ff81){}[_0x3469a3(0x180)](_0x261f2d){}['onSpacePermissionInfos'](_0x5557a6){}}function _0x1ab9(){var _0xd42e16=['onBuddyReqChange','1194921IjeKvY','onNickUpdated','161jVOtqq','8HKeBve','18rJTJqP','onCheckBuddySettingResult','545368mJyAEn','258NIvRNq','onDoubtBuddyReqChange','7686210cIUXQX','onAvatarUrlUpdated','onAddBuddyNeedVerify','12xjvCTh','5785098CcovST','6011xfqQIe','onBuddyDetailInfoChange','1532955EWmqdB','12qZRiNW','onBuddyReqUnreadCntChange','onDoubtBuddyReqUnreadNumChange','onBuddyInfoChange','45949046CadCDM','onSmartInfos'];_0x1ab9=function(){return _0xd42e16;};return _0x1ab9();} \ 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 a6e3310d..1449f084 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -function _0x133e(_0x43a552,_0x2a0793){var _0xecf01b=_0xecf0();return _0x133e=function(_0x133e1b,_0x528b7e){_0x133e1b=_0x133e1b-0x10c;var _0x37848b=_0xecf01b[_0x133e1b];return _0x37848b;},_0x133e(_0x43a552,_0x2a0793);}function _0xecf0(){var _0x887cb3=['10930MvJPBS','onFileSearch','510JBAkQQ','5555msxDSq','1288RUgVUt','287637jsorHh','9500kKizif','onFileListChanged','55727SRpkcy','10bvgpib','3056560NGgSPc','266499eUuBto','onFileStatusChanged','107cOfYCW','35988nAVnLu','onSessionChanged'];_0xecf0=function(){return _0x887cb3;};return _0xecf0();}var _0x103a4a=_0x133e;(function(_0x3bdb95,_0x5e2d9a){var _0x5f0f8b=_0x133e,_0x3b3127=_0x3bdb95();while(!![]){try{var _0x3adaab=-parseInt(_0x5f0f8b(0x114))/0x1*(-parseInt(_0x5f0f8b(0x10d))/0x2)+parseInt(_0x5f0f8b(0x10c))/0x3+-parseInt(_0x5f0f8b(0x11b))/0x4*(parseInt(_0x5f0f8b(0x117))/0x5)+-parseInt(_0x5f0f8b(0x119))/0x6*(parseInt(_0x5f0f8b(0x10f))/0x7)+-parseInt(_0x5f0f8b(0x111))/0x8+parseInt(_0x5f0f8b(0x112))/0x9*(parseInt(_0x5f0f8b(0x110))/0xa)+parseInt(_0x5f0f8b(0x11a))/0xb*(parseInt(_0x5f0f8b(0x115))/0xc);if(_0x3adaab===_0x5e2d9a)break;else _0x3b3127['push'](_0x3b3127['shift']());}catch(_0x1ae0b0){_0x3b3127['push'](_0x3b3127['shift']());}}}(_0xecf0,0x5e234));export class KernelFileAssistantListener{[_0x103a4a(0x113)](..._0x5809e7){}['onSessionListChanged'](..._0x3b1b7b){}[_0x103a4a(0x116)](..._0x1a1768){}[_0x103a4a(0x10e)](..._0xb97bb1){}[_0x103a4a(0x118)](..._0x41b512){}} \ No newline at end of file +var _0x456f45=_0x3df2;function _0x3df2(_0x3c4778,_0x195668){var _0x35535f=_0x3553();return _0x3df2=function(_0x3df262,_0x447f38){_0x3df262=_0x3df262-0x16a;var _0x22f21a=_0x35535f[_0x3df262];return _0x22f21a;},_0x3df2(_0x3c4778,_0x195668);}function _0x3553(){var _0x39f5d1=['182472mTnSpN','198983exQcPF','onFileStatusChanged','28xbODdm','611338juHULk','7915WlcdvW','onSessionChanged','602721NMUUxq','393408bVHDFQ','8vHvZRG','onFileListChanged','867102kMzcGa'];_0x3553=function(){return _0x39f5d1;};return _0x3553();}(function(_0x106f0b,_0x1f4fa2){var _0x15cfef=_0x3df2,_0x1d4944=_0x106f0b();while(!![]){try{var _0x3e54aa=parseInt(_0x15cfef(0x173))/0x1+-parseInt(_0x15cfef(0x172))/0x2+-parseInt(_0x15cfef(0x16d))/0x3+-parseInt(_0x15cfef(0x175))/0x4*(-parseInt(_0x15cfef(0x16b))/0x5)+parseInt(_0x15cfef(0x171))/0x6+-parseInt(_0x15cfef(0x16a))/0x7*(-parseInt(_0x15cfef(0x16f))/0x8)+-parseInt(_0x15cfef(0x16e))/0x9;if(_0x3e54aa===_0x1f4fa2)break;else _0x1d4944['push'](_0x1d4944['shift']());}catch(_0x586dc4){_0x1d4944['push'](_0x1d4944['shift']());}}}(_0x3553,0x19e4c));export class KernelFileAssistantListener{[_0x456f45(0x174)](..._0x22d49e){}['onSessionListChanged'](..._0x1257d8){}[_0x456f45(0x16c)](..._0xc6689d){}[_0x456f45(0x170)](..._0x3aa41d){}['onFileSearch'](..._0x1b721c){}} \ 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 5e0b2520..c5c4cf11 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0xb4b798=_0xbc70;(function(_0x5db542,_0x442cf4){var _0x4e6a12=_0xbc70,_0x19a498=_0x5db542();while(!![]){try{var _0x5e8790=parseInt(_0x4e6a12(0x1e7))/0x1+parseInt(_0x4e6a12(0x217))/0x2*(parseInt(_0x4e6a12(0x207))/0x3)+parseInt(_0x4e6a12(0x1f5))/0x4*(parseInt(_0x4e6a12(0x1f9))/0x5)+parseInt(_0x4e6a12(0x1df))/0x6*(parseInt(_0x4e6a12(0x1fc))/0x7)+-parseInt(_0x4e6a12(0x203))/0x8*(-parseInt(_0x4e6a12(0x20d))/0x9)+-parseInt(_0x4e6a12(0x215))/0xa+-parseInt(_0x4e6a12(0x1ee))/0xb;if(_0x5e8790===_0x442cf4)break;else _0x19a498['push'](_0x19a498['shift']());}catch(_0x34238b){_0x19a498['push'](_0x19a498['shift']());}}}(_0x5df2,0x78d02));function _0xbc70(_0x36bbd7,_0x4cef2){var _0x5df2b2=_0x5df2();return _0xbc70=function(_0xbc70a7,_0x291912){_0xbc70a7=_0xbc70a7-0x1de;var _0x249051=_0x5df2b2[_0xbc70a7];return _0x249051;},_0xbc70(_0x36bbd7,_0x4cef2);}export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x5c7096){}['onGetGroupBulletinListResult'](..._0x90ffd5){}[_0xb4b798(0x1f4)](..._0xfeb12e){}[_0xb4b798(0x208)](..._0x139b54){}[_0xb4b798(0x1ea)](..._0x13a919){}[_0xb4b798(0x1e1)](..._0xa50f8){}[_0xb4b798(0x211)](..._0x3c7140){}[_0xb4b798(0x1ed)](..._0x82b60a){}[_0xb4b798(0x1e0)](..._0x3b7c26){}[_0xb4b798(0x1e2)](..._0x2bba41){}[_0xb4b798(0x214)](..._0x4c6045){}[_0xb4b798(0x202)](_0x3b8c87,_0x1ea73c){}[_0xb4b798(0x1fe)](_0xd10f85,_0x15dddb){}[_0xb4b798(0x204)](..._0x3fcab0){}[_0xb4b798(0x1fa)](..._0x206225){}[_0xb4b798(0x1e3)](..._0x585c93){}[_0xb4b798(0x1f0)](..._0xb681ae){}[_0xb4b798(0x1f1)](..._0x30b714){}[_0xb4b798(0x1e8)](..._0x570a95){}[_0xb4b798(0x205)](..._0x51ee3d){}['onMemberInfoChange'](_0x4c45b6,_0x4ef187,_0x1bedb8){}[_0xb4b798(0x206)](_0x321f1b){}[_0xb4b798(0x1f6)](..._0x5f0eaa){}[_0xb4b798(0x210)](..._0x510cfd){}}export class DebugGroupListener{[_0xb4b798(0x209)](..._0x188d60){var _0x902a63=_0xb4b798,_0x13b6d2={'wKMqP':'onGroupMemberLevelInfoChange:'};console[_0x902a63(0x20c)](_0x13b6d2[_0x902a63(0x1ff)],..._0x188d60);}['onGetGroupBulletinListResult'](..._0x1bea70){var _0x483798=_0xb4b798;console[_0x483798(0x20c)]('onGetGroupBulletinListResult:',..._0x1bea70);}['onGroupAllInfoChange'](..._0x45074f){var _0x44fd1b=_0xb4b798;console[_0x44fd1b(0x20c)](_0x44fd1b(0x20e),..._0x45074f);}[_0xb4b798(0x208)](..._0x1794eb){var _0x2ed059=_0xb4b798,_0xc46cf0={'VeFwn':'onGroupBulletinChange:'};console[_0x2ed059(0x20c)](_0xc46cf0['VeFwn'],..._0x1794eb);}[_0xb4b798(0x1ea)](..._0x4dd412){var _0x4b84c7=_0xb4b798;console[_0x4b84c7(0x20c)]('onGroupBulletinRemindNotify:',..._0x4dd412);}[_0xb4b798(0x1e1)](..._0x2e7df5){var _0xed1ddc=_0xb4b798,_0x1f1095={'Dovtq':_0xed1ddc(0x20b)};console[_0xed1ddc(0x20c)](_0x1f1095[_0xed1ddc(0x1ef)],..._0x2e7df5);}[_0xb4b798(0x211)](..._0x39aa33){var _0x8c5b01={'Ecrrj':'onGroupBulletinRichMediaDownloadComplete:'};console['log'](_0x8c5b01['Ecrrj'],..._0x39aa33);}[_0xb4b798(0x1ed)](..._0x370b8e){var _0x28bce9=_0xb4b798;console[_0x28bce9(0x20c)](_0x28bce9(0x200),..._0x370b8e);}[_0xb4b798(0x1e0)](..._0x1e9b0b){var _0x116486=_0xb4b798;console[_0x116486(0x20c)](_0x116486(0x1eb),..._0x1e9b0b);}[_0xb4b798(0x1e2)](..._0x3c9898){var _0x33bd1c=_0xb4b798,_0x49649c={'SSlHw':'onGroupExtListUpdate:'};console[_0x33bd1c(0x20c)](_0x49649c[_0x33bd1c(0x1e5)],..._0x3c9898);}['onGroupFirstBulletinNotify'](..._0x16572d){var _0x141b60=_0xb4b798,_0x4cb7b3={'PMWYj':_0x141b60(0x1f2)};console[_0x141b60(0x20c)](_0x4cb7b3['PMWYj'],..._0x16572d);}[_0xb4b798(0x202)](..._0xe70d32){var _0x33e77d=_0xb4b798,_0x1d5e42={'keGRA':_0x33e77d(0x1e6)};console[_0x33e77d(0x20c)](_0x1d5e42['keGRA'],..._0xe70d32);}[_0xb4b798(0x1fe)](..._0x4cfb69){var _0x5b0a25=_0xb4b798;console[_0x5b0a25(0x20c)](_0x5b0a25(0x1f3),..._0x4cfb69);}[_0xb4b798(0x204)](..._0x161db){var _0x2a2014=_0xb4b798;console[_0x2a2014(0x20c)]('onGroupBulletinRichMediaProgressUpdate:',..._0x161db);}[_0xb4b798(0x1fa)](..._0x2d11a7){var _0x4d7d6f=_0xb4b798,_0x207c2b={'HaZds':_0x4d7d6f(0x212)};console[_0x4d7d6f(0x20c)](_0x207c2b[_0x4d7d6f(0x1ec)],..._0x2d11a7);}[_0xb4b798(0x1e3)](..._0x271f50){var _0x564e5d=_0xb4b798;console[_0x564e5d(0x20c)](_0x564e5d(0x1f8),..._0x271f50);}[_0xb4b798(0x1f0)](..._0x50674f){var _0x47751b=_0xb4b798;console['log'](_0x47751b(0x213),..._0x50674f);}[_0xb4b798(0x1f1)](..._0x221192){var _0x41bdf6=_0xb4b798,_0xd145cb={'WgDSy':_0x41bdf6(0x1e4)};console[_0x41bdf6(0x20c)](_0xd145cb[_0x41bdf6(0x1f7)],..._0x221192);}['onJoinGroupNotify'](..._0x45454b){var _0x56fe41={'rARaD':'onJoinGroupNotify:'};console['log'](_0x56fe41['rARaD'],..._0x45454b);}[_0xb4b798(0x205)](..._0xf41556){var _0x1c165d=_0xb4b798,_0x17905f={'bcPbM':_0x1c165d(0x1de)};console[_0x1c165d(0x20c)](_0x17905f[_0x1c165d(0x1e9)],..._0xf41556);}[_0xb4b798(0x216)](_0x50d130,_0x8567e6,_0x4c0d7b){var _0xcc530c=_0xb4b798,_0x5955f5={'uQqEF':_0xcc530c(0x20a)};console[_0xcc530c(0x20c)](_0x5955f5[_0xcc530c(0x201)],_0x50d130,_0x8567e6,_0x4c0d7b);}[_0xb4b798(0x206)](..._0x1b070a){var _0x4e1e4a=_0xb4b798,_0x5cac32={'titSW':'onMemberListChange:'};console[_0x4e1e4a(0x20c)](_0x5cac32[_0x4e1e4a(0x20f)],..._0x1b070a);}[_0xb4b798(0x1f6)](..._0x5676ea){var _0x2d90ee=_0xb4b798,_0x56ba9c={'GNTOC':_0x2d90ee(0x1fb)};console[_0x2d90ee(0x20c)](_0x56ba9c[_0x2d90ee(0x1fd)],..._0x5676ea);}['onShutUpMemberListChanged'](..._0x4840aa){var _0x3b3b7a=_0xb4b798;console[_0x3b3b7a(0x20c)](_0x3b3b7a(0x218),..._0x4840aa);}}function _0x5df2(){var _0x33192b=['onGroupStatisticInfoChange:','SSlHw','onGroupListUpdate:','442562edsIMG','onJoinGroupNotify','bcPbM','onGroupBulletinRemindNotify','onGroupDetailInfoChange:','HaZds','onGroupConfMemberChange','9992037eFjLzS','Dovtq','onGroupsMsgMaskResult','onGroupStatisticInfoChange','onGroupFirstBulletinNotify:','onGroupNotifiesUpdated:','onGroupAllInfoChange','124328uqYgoI','onSearchMemberChange','WgDSy','onGroupSingleScreenNotifies:','115TwjFzz','onGroupNotifiesUnreadCountUpdated','onSearchMemberChange:','126babgYz','GNTOC','onGroupNotifiesUpdated','wKMqP','onGroupConfMemberChange:','uQqEF','onGroupListUpdate','1608iLnDqE','onGroupBulletinRichMediaProgressUpdate','onJoinGroupNoVerifyFlag','onMemberListChange','1178091XyttcE','onGroupBulletinChange','onGroupMemberLevelInfoChange','onMemberInfoChange:','onGroupArkInviteStateResult:','log','21537nKzMjo','onGroupAllInfoChange:','titSW','onShutUpMemberListChanged','onGroupBulletinRichMediaDownloadComplete','onGroupNotifiesUnreadCountUpdated:','onGroupsMsgMaskResult:','onGroupFirstBulletinNotify','8831790JDcVkT','onMemberInfoChange','2EQKKCZ','onShutUpMemberListChanged:','onJoinGroupNoVerifyFlag:','85086IoyLyc','onGroupDetailInfoChange','onGroupArkInviteStateResult','onGroupExtListUpdate','onGroupSingleScreenNotifies'];_0x5df2=function(){return _0x33192b;};return _0x5df2();} \ No newline at end of file +var _0x205c17=_0x1efc;(function(_0x42af64,_0x38feae){var _0x59bc68=_0x1efc,_0x3eea35=_0x42af64();while(!![]){try{var _0x33bf54=parseInt(_0x59bc68(0x1d3))/0x1+parseInt(_0x59bc68(0x1d6))/0x2*(-parseInt(_0x59bc68(0x1da))/0x3)+-parseInt(_0x59bc68(0x1d4))/0x4+-parseInt(_0x59bc68(0x1e8))/0x5+parseInt(_0x59bc68(0x1fd))/0x6+parseInt(_0x59bc68(0x1eb))/0x7+-parseInt(_0x59bc68(0x204))/0x8*(-parseInt(_0x59bc68(0x1e4))/0x9);if(_0x33bf54===_0x38feae)break;else _0x3eea35['push'](_0x3eea35['shift']());}catch(_0x3ec965){_0x3eea35['push'](_0x3eea35['shift']());}}}(_0x4b49,0xe9536));export class GroupListener{[_0x205c17(0x1ef)](..._0x357d82){}[_0x205c17(0x208)](..._0x531219){}[_0x205c17(0x1f0)](..._0xa34642){}[_0x205c17(0x209)](..._0x1dee7c){}[_0x205c17(0x202)](..._0x56dc49){}[_0x205c17(0x20a)](..._0x2422f9){}['onGroupBulletinRichMediaDownloadComplete'](..._0x35595a){}[_0x205c17(0x1f8)](..._0x144a71){}[_0x205c17(0x1dd)](..._0x3fec78){}[_0x205c17(0x1f2)](..._0x5d7fae){}[_0x205c17(0x1db)](..._0x436f21){}[_0x205c17(0x1fe)](_0x5cc0d4,_0x2a670a){}['onGroupNotifiesUpdated'](_0x345719,_0x1df697){}['onGroupBulletinRichMediaProgressUpdate'](..._0x8ee00f){}[_0x205c17(0x1ce)](..._0x14ea95){}[_0x205c17(0x1f3)](..._0x4d3ded){}[_0x205c17(0x20b)](..._0x5e23ad){}[_0x205c17(0x1d1)](..._0x3a8a52){}[_0x205c17(0x1d9)](..._0x48975d){}[_0x205c17(0x1d5)](..._0x840156){}[_0x205c17(0x1f5)](_0x59d9d7,_0x1e4806,_0x203743){}[_0x205c17(0x203)](_0x584f41){}[_0x205c17(0x1ca)](..._0x2d04a0){}[_0x205c17(0x1fc)](..._0x1a45bb){}}function _0x1efc(_0x1544c8,_0x49b345){var _0x4b49ae=_0x4b49();return _0x1efc=function(_0x1efcd6,_0x1dca57){_0x1efcd6=_0x1efcd6-0x1c8;var _0x4de2c3=_0x4b49ae[_0x1efcd6];return _0x4de2c3;},_0x1efc(_0x1544c8,_0x49b345);}function _0x4b49(){var _0x4c2dc2=['onGroupNotifiesUnreadCountUpdated:','onGroupConfMemberChange','GvbgK','onGroupExtListUpdate:','onGroupBulletinChange:','onShutUpMemberListChanged','1948728ondBSZ','onGroupListUpdate','onGroupArkInviteStateResult:','onGroupFirstBulletinNotify:','tkrJx','onGroupBulletinRemindNotify','onMemberListChange','32bKdeUD','UqIpu','onGroupBulletinRichMediaProgressUpdate','onGroupBulletinRemindNotify:','onGetGroupBulletinListResult','onGroupBulletinChange','onGroupArkInviteStateResult','onGroupsMsgMaskResult','onMemberInfoChange:','onGroupAllInfoChange:','onSearchMemberChange','onGroupDetailInfoChange:','onGroupNotifiesUpdated:','onGroupConfMemberChange:','onGroupNotifiesUnreadCountUpdated','JzRXQ','onGroupListUpdate:','onGroupStatisticInfoChange','onGroupMemberLevelInfoChange:','350598LasBZq','2517704QZFATH','onJoinGroupNoVerifyFlag','42974sBQFxB','onGroupNotifiesUpdated','hJBKO','onJoinGroupNotify','207RkyQUG','onGroupFirstBulletinNotify','onJoinGroupNoVerifyFlag:','onGroupDetailInfoChange','rxvja','onGroupBulletinRichMediaDownloadComplete:','onGroupStatisticInfoChange:','pflTq','MPlZT','IHSzn','5911677LmgshZ','onGroupBulletinRichMediaProgressUpdate:','uIHxn','yjonh','1741540RWbgLx','flHCa','log','792687zoqvrO','qbPPg','aXCsZ','WkTqt','onGroupMemberLevelInfoChange','onGroupAllInfoChange','onGetGroupBulletinListResult:','onGroupExtListUpdate','onGroupSingleScreenNotifies','LjLyb','onMemberInfoChange','onMemberListChange:'];_0x4b49=function(){return _0x4c2dc2;};return _0x4b49();}export class DebugGroupListener{[_0x205c17(0x1ef)](..._0x4716d3){var _0x4b4cf0=_0x205c17,_0x1db7c0={'LjLyb':_0x4b4cf0(0x1d2)};console['log'](_0x1db7c0[_0x4b4cf0(0x1f4)],..._0x4716d3);}['onGetGroupBulletinListResult'](..._0x2ff711){var _0x4db0c3=_0x205c17,_0x50dfcb={'rxvja':_0x4db0c3(0x1f1)};console[_0x4db0c3(0x1ea)](_0x50dfcb[_0x4db0c3(0x1de)],..._0x2ff711);}[_0x205c17(0x1f0)](..._0x22a2c1){var _0x116a5f=_0x205c17,_0x817701={'MPlZT':_0x116a5f(0x1c9)};console['log'](_0x817701[_0x116a5f(0x1e2)],..._0x22a2c1);}[_0x205c17(0x209)](..._0x2fb72c){var _0x37b45c=_0x205c17;console[_0x37b45c(0x1ea)](_0x37b45c(0x1fb),..._0x2fb72c);}[_0x205c17(0x202)](..._0x241f47){var _0x4d5496=_0x205c17,_0x2b2c1e={'flHCa':_0x4d5496(0x207)};console[_0x4d5496(0x1ea)](_0x2b2c1e[_0x4d5496(0x1e9)],..._0x241f47);}[_0x205c17(0x20a)](..._0x1c3a28){var _0x4ead21=_0x205c17,_0x423c04={'WkTqt':_0x4ead21(0x1ff)};console[_0x4ead21(0x1ea)](_0x423c04[_0x4ead21(0x1ee)],..._0x1c3a28);}['onGroupBulletinRichMediaDownloadComplete'](..._0x3e0efa){var _0x42e289=_0x205c17,_0xa8fbab={'hJBKO':_0x42e289(0x1df)};console[_0x42e289(0x1ea)](_0xa8fbab[_0x42e289(0x1d8)],..._0x3e0efa);}[_0x205c17(0x1f8)](..._0x339039){var _0x4b9b9d=_0x205c17,_0x4d8a7c={'IHSzn':_0x4b9b9d(0x1cd)};console[_0x4b9b9d(0x1ea)](_0x4d8a7c[_0x4b9b9d(0x1e3)],..._0x339039);}[_0x205c17(0x1dd)](..._0x1eae59){var _0x590459=_0x205c17,_0x4fe1dd={'tkrJx':_0x590459(0x1cb)};console[_0x590459(0x1ea)](_0x4fe1dd[_0x590459(0x201)],..._0x1eae59);}[_0x205c17(0x1f2)](..._0x59b562){var _0x570919=_0x205c17,_0x169204={'ScwoR':_0x570919(0x1fa)};console[_0x570919(0x1ea)](_0x169204['ScwoR'],..._0x59b562);}[_0x205c17(0x1db)](..._0x387cf4){var _0xf9e86d=_0x205c17,_0x4df54e={'pflTq':_0xf9e86d(0x200)};console[_0xf9e86d(0x1ea)](_0x4df54e[_0xf9e86d(0x1e1)],..._0x387cf4);}[_0x205c17(0x1fe)](..._0x1510db){var _0x146fe4=_0x205c17,_0x5a084f={'GvbgK':_0x146fe4(0x1d0)};console[_0x146fe4(0x1ea)](_0x5a084f[_0x146fe4(0x1f9)],..._0x1510db);}[_0x205c17(0x1d7)](..._0x36ddd1){var _0x3e3879=_0x205c17;console[_0x3e3879(0x1ea)](_0x3e3879(0x1cc),..._0x36ddd1);}[_0x205c17(0x206)](..._0x1d459f){var _0x3be47c=_0x205c17,_0xe77060={'UqIpu':_0x3be47c(0x1e5)};console[_0x3be47c(0x1ea)](_0xe77060[_0x3be47c(0x205)],..._0x1d459f);}[_0x205c17(0x1ce)](..._0x147592){var _0xc832ed=_0x205c17,_0x140b6d={'qbPPg':_0xc832ed(0x1f7)};console['log'](_0x140b6d[_0xc832ed(0x1ec)],..._0x147592);}[_0x205c17(0x1f3)](..._0x5a296f){var _0x18f79e={'eOkgS':'onGroupSingleScreenNotifies:'};console['log'](_0x18f79e['eOkgS'],..._0x5a296f);}[_0x205c17(0x20b)](..._0x57f901){var _0x6ae4d0=_0x205c17,_0x59bdc7={'xmheF':'onGroupsMsgMaskResult:'};console[_0x6ae4d0(0x1ea)](_0x59bdc7['xmheF'],..._0x57f901);}['onGroupStatisticInfoChange'](..._0x564d8d){var _0x2a1ced=_0x205c17,_0x1d3ffa={'sRebO':_0x2a1ced(0x1e0)};console[_0x2a1ced(0x1ea)](_0x1d3ffa['sRebO'],..._0x564d8d);}[_0x205c17(0x1d9)](..._0x61bda3){var _0x46bc54=_0x205c17,_0x2413b4={'aXCsZ':'onJoinGroupNotify:'};console[_0x46bc54(0x1ea)](_0x2413b4[_0x46bc54(0x1ed)],..._0x61bda3);}['onJoinGroupNoVerifyFlag'](..._0xaad903){var _0x1dc2c2=_0x205c17,_0x7a2cad={'uIHxn':_0x1dc2c2(0x1dc)};console[_0x1dc2c2(0x1ea)](_0x7a2cad[_0x1dc2c2(0x1e6)],..._0xaad903);}[_0x205c17(0x1f5)](_0x33f472,_0x15524d,_0x273e88){var _0x444f18=_0x205c17,_0x49d878={'JzRXQ':_0x444f18(0x1c8)};console[_0x444f18(0x1ea)](_0x49d878[_0x444f18(0x1cf)],_0x33f472,_0x15524d,_0x273e88);}[_0x205c17(0x203)](..._0x5c9dda){var _0xe2d083=_0x205c17,_0x584581={'ecGwW':_0xe2d083(0x1f6)};console[_0xe2d083(0x1ea)](_0x584581['ecGwW'],..._0x5c9dda);}[_0x205c17(0x1ca)](..._0x259022){var _0x2c2b3d=_0x205c17,_0x411ddf={'NKVrI':'onSearchMemberChange:'};console[_0x2c2b3d(0x1ea)](_0x411ddf['NKVrI'],..._0x259022);}['onShutUpMemberListChanged'](..._0x35e0da){var _0x3751ef=_0x205c17,_0x1fc0a5={'yjonh':'onShutUpMemberListChanged:'};console[_0x3751ef(0x1ea)](_0x1fc0a5[_0x3751ef(0x1e7)],..._0x35e0da);}} \ 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 9638806c..62ce0f2b 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -function _0x4ed5(_0x28814c,_0x2e391d){var _0x59d145=_0x59d1();return _0x4ed5=function(_0x4ed578,_0x5007e9){_0x4ed578=_0x4ed578-0x118;var _0x421423=_0x59d145[_0x4ed578];return _0x421423;},_0x4ed5(_0x28814c,_0x2e391d);}var _0x22e9be=_0x4ed5;(function(_0x233385,_0x50dee2){var _0x50f7f1=_0x4ed5,_0x4e6742=_0x233385();while(!![]){try{var _0x5da09d=parseInt(_0x50f7f1(0x12c))/0x1*(-parseInt(_0x50f7f1(0x128))/0x2)+parseInt(_0x50f7f1(0x12b))/0x3*(-parseInt(_0x50f7f1(0x127))/0x4)+-parseInt(_0x50f7f1(0x12e))/0x5+-parseInt(_0x50f7f1(0x124))/0x6+parseInt(_0x50f7f1(0x119))/0x7*(parseInt(_0x50f7f1(0x12a))/0x8)+-parseInt(_0x50f7f1(0x118))/0x9+-parseInt(_0x50f7f1(0x11b))/0xa*(-parseInt(_0x50f7f1(0x12f))/0xb);if(_0x5da09d===_0x50dee2)break;else _0x4e6742['push'](_0x4e6742['shift']());}catch(_0x5413eb){_0x4e6742['push'](_0x4e6742['shift']());}}}(_0x59d1,0x1d2ae));export class LoginListener{[_0x22e9be(0x130)](..._0xcbc5ef){}['onLoginDisConnected'](..._0x5be225){}[_0x22e9be(0x125)](..._0x21675f){}['onQRCodeGetPicture'](_0x304b4d){}[_0x22e9be(0x11f)](..._0x4883ab){}[_0x22e9be(0x129)](..._0x1ffa61){}[_0x22e9be(0x11e)](_0x25a309){}[_0x22e9be(0x121)](..._0xf1a1bc){}[_0x22e9be(0x126)](..._0x5f110c){}[_0x22e9be(0x123)](..._0x328c73){}[_0x22e9be(0x120)](..._0x20c32f){}[_0x22e9be(0x12d)](..._0x2910e1){}[_0x22e9be(0x122)](..._0x475f3f){}[_0x22e9be(0x11c)](..._0x2590d6){}[_0x22e9be(0x131)](..._0x3c61b6){}[_0x22e9be(0x11a)](..._0x2e42b4){}[_0x22e9be(0x11d)](..._0x3db500){}}function _0x59d1(){var _0x1a3765=['476sUcpjI','10RDLGqM','onQRCodeSessionUserScaned','8SWQTCY','1257WLvsLG','32865OCCBbF','onUserLoggedIn','629790MavfUa','2057YjyPwG','onLoginConnected','OnConfirmUnusualDeviceFailed','1979694ceRtsc','489377JWNfmX','onQQLoginNumLimited','40580USfxIQ','onPasswordLoginFailed','onLoginState','onQRCodeLoginSucceed','onQRCodeLoginPollingStarted','onLogoutFailed','onQRCodeSessionFailed','onQRCodeSessionQuickLoginFailed','onLogoutSucceed','895062oXrHjq','onLoginConnecting','onLoginFailed'];_0x59d1=function(){return _0x1a3765;};return _0x59d1();} \ No newline at end of file +function _0x2db5(){var _0x3bd645=['onLogoutFailed','108PXhvRU','onQRCodeGetPicture','onLoginConnected','219534fPkJcw','onQRCodeSessionUserScaned','onUserLoggedIn','onLoginDisConnected','2475690fHTSbn','829480gDqqTm','66847dJLbIo','3521142AkLmVN','onLogoutSucceed','onLoginState','onLoginConnecting','7324835CSJSoo','onQRCodeSessionFailed','onPasswordLoginFailed','onQRCodeLoginPollingStarted','onLoginFailed','154rabYxL','onQRCodeSessionQuickLoginFailed','onQRCodeLoginSucceed','onQQLoginNumLimited','4bSmdGN','1697920NveQPh'];_0x2db5=function(){return _0x3bd645;};return _0x2db5();}var _0x708f1d=_0x143c;(function(_0x235708,_0x2d0c11){var _0x3e6506=_0x143c,_0x30ee26=_0x235708();while(!![]){try{var _0x470657=-parseInt(_0x3e6506(0xa5))/0x1+parseInt(_0x3e6506(0xa3))/0x2+parseInt(_0x3e6506(0xa6))/0x3*(-parseInt(_0x3e6506(0x99))/0x4)+-parseInt(_0x3e6506(0xaa))/0x5+-parseInt(_0x3e6506(0x9f))/0x6*(-parseInt(_0x3e6506(0x95))/0x7)+-parseInt(_0x3e6506(0xa4))/0x8*(-parseInt(_0x3e6506(0x9c))/0x9)+parseInt(_0x3e6506(0x9a))/0xa;if(_0x470657===_0x2d0c11)break;else _0x30ee26['push'](_0x30ee26['shift']());}catch(_0x2f5c77){_0x30ee26['push'](_0x30ee26['shift']());}}}(_0x2db5,0xb76b7));function _0x143c(_0x2a6e2b,_0x5b2cb3){var _0x2db591=_0x2db5();return _0x143c=function(_0x143c1f,_0xee229c){_0x143c1f=_0x143c1f-0x94;var _0x21b742=_0x2db591[_0x143c1f];return _0x21b742;},_0x143c(_0x2a6e2b,_0x5b2cb3);}export class LoginListener{[_0x708f1d(0x9e)](..._0x1cd17c){}[_0x708f1d(0xa2)](..._0x5b1403){}[_0x708f1d(0xa9)](..._0x5bfb6f){}[_0x708f1d(0x9d)](_0x1eb185){}[_0x708f1d(0xad)](..._0x301ca7){}[_0x708f1d(0xa0)](..._0x3a9e09){}[_0x708f1d(0x97)](_0x359a3e){}[_0x708f1d(0xab)](..._0x373973){}[_0x708f1d(0x94)](..._0x1c4acd){}[_0x708f1d(0xa7)](..._0xb5e3f5){}[_0x708f1d(0x9b)](..._0x139515){}[_0x708f1d(0xa1)](..._0x1b43fe){}[_0x708f1d(0x96)](..._0x21a776){}[_0x708f1d(0xac)](..._0x29825f){}['OnConfirmUnusualDeviceFailed'](..._0x5a29f4){}[_0x708f1d(0x98)](..._0x4f7a61){}[_0x708f1d(0xa8)](..._0x40c64a){}} \ 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 ed2871fb..79b64469 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x53ed65=_0x951b;function _0x951b(_0x503f0a,_0x9eb39){var _0x35364f=_0x3536();return _0x951b=function(_0x951b92,_0x4936af){_0x951b92=_0x951b92-0xfe;var _0x2212d8=_0x35364f[_0x951b92];return _0x2212d8;},_0x951b(_0x503f0a,_0x9eb39);}(function(_0x4ec41d,_0x4637aa){var _0x546765=_0x951b,_0x282f6d=_0x4ec41d();while(!![]){try{var _0x12566b=-parseInt(_0x546765(0x114))/0x1+parseInt(_0x546765(0x117))/0x2+-parseInt(_0x546765(0x110))/0x3+parseInt(_0x546765(0x113))/0x4+parseInt(_0x546765(0x13d))/0x5+-parseInt(_0x546765(0x10f))/0x6*(parseInt(_0x546765(0x139))/0x7)+-parseInt(_0x546765(0x121))/0x8*(-parseInt(_0x546765(0x13c))/0x9);if(_0x12566b===_0x4637aa)break;else _0x282f6d['push'](_0x282f6d['shift']());}catch(_0x490daa){_0x282f6d['push'](_0x282f6d['shift']());}}}(_0x3536,0x4c1c2));function _0x3536(){var _0x563ad9=['onContactUnreadCntUpdate','687060PugjTS','46249TuQKED','onGuildInteractiveUpdate','onSearchGroupFileInfoUpdate','1011520OpfwAl','onLineDev','onUserChannelTabStatusChanged','onNtMsgSyncEnd','onGroupGuildUpdate','onSendMsgError','onRecvS2CMsg','onDraftUpdate','onUnreadCntAfterFirstView','onTempChatInfoUpdate','16YxYrae','onGroupTransferInfoAdd','onHitCsRelatedEmojiResult','onRecvUDCFlag','onUserTabStatusChanged','onMsgEventListUpdate','onCustomWithdrawConfigUpdate','onNtFirstViewMsgSyncEnd','onMsgQRCodeStatusChanged','onUnreadCntUpdate','onKickedOffLine','onMsgSettingUpdate','onHitRelatedEmojiResult','onHitEmojiKeywordResult','onlineStatusBigIconDownloadPush','onGuildMsgAbFlagChanged','onFirstViewGroupGuildMapping','onEmojiResourceUpdate','onRecvOnlineFileMsg','onRecvMsg','onInputStatusPush','onFeedEventUpdate','onRecvSysMsg','onAddSendMsg','7nilcdv','onLogLevelChanged','onFirstViewDirectMsgUpdate','435663rVBFfi','1614570xefAjE','onBroadcastHelperProgressUpdate','onRecvGroupGuildFlag','onGroupTransferInfoUpdate','onImportOldDbProgressUpdate','onRedTouchChanged','onRichMediaUploadComplete','onChannelFreqLimitInfoUpdate','onRecvMsgSvrRspTransInfo','onMsgDelete','onMsgRecall','onBroadcastHelperDownloadComplete','onMsgInfoListAdd','onNtMsgSyncStart','onUserSecQualityChanged','onRichMediaDownloadComplete','onRichMediaProgerssUpdate','onBroadcastHelperProgerssUpdate','onGrabPasswordRedBag','onFileMsgCome','onGroupFileInfoAdd','onGroupFileInfoUpdate','1296174dfCxIy','1569687pxDEAO','onEmojiDownloadComplete'];_0x3536=function(){return _0x563ad9;};return _0x3536();}export class MsgListener{[_0x53ed65(0x138)](_0x5847ba){}[_0x53ed65(0x104)](_0x3cf810){}[_0x53ed65(0x13e)](_0x286d6a){}[_0x53ed65(0x100)](_0x1bfc6b,_0x36256b,_0x5b2737){}[_0x53ed65(0x112)](_0x2afb8d){}[_0x53ed65(0x127)](_0x2e67ba){}[_0x53ed65(0x11e)](_0x418a66,_0x48c566,_0x1ec67d){}[_0x53ed65(0x111)](_0x3f32d6){}[_0x53ed65(0x132)](_0x389b7c){}[_0x53ed65(0x136)](_0x430bd8){}[_0x53ed65(0x10c)](_0x397bd9){}[_0x53ed65(0x13b)](_0x5bf30f){}[_0x53ed65(0x131)](_0x40f908){}[_0x53ed65(0x10b)](_0x3e9fcb,_0x4579b5,_0x264ba8,_0x2af183,_0x2b4f47){}[_0x53ed65(0x10d)](_0x3c8aa6){}[_0x53ed65(0x10e)](_0x170315){}[_0x53ed65(0x11b)](_0x45e36e){}[_0x53ed65(0x122)](_0x1028e7){}[_0x53ed65(0x140)](_0x4fa8a6){}[_0x53ed65(0x115)](_0x28d2fe){}[_0x53ed65(0x130)](_0x44e0bf){}['onGuildNotificationAbstractUpdate'](_0x2663ff){}[_0x53ed65(0x123)](_0x35de95){}[_0x53ed65(0x12e)](_0x30f61a){}[_0x53ed65(0x12d)](_0x419cf1){}[_0x53ed65(0x141)](_0x2428e3){}[_0x53ed65(0x135)](_0x49135e){}[_0x53ed65(0x12b)](_0x1efed0){}[_0x53ed65(0x118)](_0x490ccd){}[_0x53ed65(0x13a)](_0x62b297){}['onMsgAbstractUpdate'](_0x170e26){}['onMsgBoxChanged'](_0x5e9cb7){}[_0x53ed65(0x102)](_0x215414,_0xd4b197){}[_0x53ed65(0x126)](_0x3c369d){}[_0x53ed65(0x105)](_0x639258){}['onMsgInfoListUpdate'](_0xe7f90f){}[_0x53ed65(0x129)](_0x56f1e1){}[_0x53ed65(0x103)](_0x23fefa,_0x553cef,_0x54009e){}['onMsgSecurityNotify'](_0x3bd758){}[_0x53ed65(0x12c)](_0x1f0cec){}[_0x53ed65(0x128)](){}[_0x53ed65(0x11a)](){}[_0x53ed65(0x106)](){}['onReadFeedEventUpdate'](_0x4d3bc5){}[_0x53ed65(0x13f)](_0x3e2b5d){}[_0x53ed65(0x134)](_0x4ac726){}[_0x53ed65(0x101)](_0x1d8b32,_0x338c84,_0x3dd16d,_0x339b9e,_0x7b496,_0x364dc4){}[_0x53ed65(0x133)](_0x55cbdb){}[_0x53ed65(0x11d)](_0xba65b0){}[_0x53ed65(0x137)](_0x59e5f2){}[_0x53ed65(0x124)](_0x4288a1){}[_0x53ed65(0x108)](_0x10b6ec){}[_0x53ed65(0x109)](_0x1cb4c3){}[_0x53ed65(0xff)](_0x50b485){}[_0x53ed65(0x116)](_0x41dd11){}[_0x53ed65(0x11c)](_0x5f0abf,_0x5e3892,_0xf5403a,_0x1f653c){}['onSysMsgNotification'](_0x956b63,_0x9ea47f,_0x38dad8,_0x3809e6){}[_0x53ed65(0x120)](_0x59a11e){}[_0x53ed65(0x11f)](_0x2dfeda){}[_0x53ed65(0x12a)](_0x2de399){}[_0x53ed65(0x119)](_0x51c2b2){}['onUserOnlineStatusChanged'](_0x3aa520){}[_0x53ed65(0x125)](_0x1c5afa){}[_0x53ed65(0x12f)](_0x1690b1,_0x1e5942,_0x2ff654){}['onlineStatusSmallIconDownloadPush'](_0x7596cf,_0x22987c,_0x11eaa3){}[_0x53ed65(0x107)](..._0x17d325){}['onMsgWithRichLinkInfoUpdate'](..._0x2ddd4c){}[_0x53ed65(0xfe)](..._0x1628c6){}[_0x53ed65(0x10a)](..._0x1f6df8){}} \ No newline at end of file +var _0x18b34c=_0x58bf;function _0x4eb8(){var _0x47280c=['onMsgAbstractUpdate','onBroadcastHelperProgerssUpdate','onMsgRecall','onUserChannelTabStatusChanged','onRecvSysMsg','onEmojiDownloadComplete','9pTeSTH','onSysMsgNotification','onUserOnlineStatusChanged','onRecvMsgSvrRspTransInfo','1344220ReMQvh','onNtMsgSyncStart','1313195qHgjny','onEmojiResourceUpdate','onReadFeedEventUpdate','onFileMsgCome','onMsgDelete','onlineStatusSmallIconDownloadPush','onHitEmojiKeywordResult','8207128lhkXBB','onHitCsRelatedEmojiResult','onFirstViewGroupGuildMapping','onLogLevelChanged','onUserTabStatusChanged','onDraftUpdate','onMsgInfoListAdd','onLineDev','onRecvS2CMsg','onRedTouchChanged','onGrabPasswordRedBag','onKickedOffLine','onlineStatusBigIconDownloadPush','onAddSendMsg','onMsgWithRichLinkInfoUpdate','onMsgInfoListUpdate','onUnreadCntUpdate','onUserSecQualityChanged','onChannelFreqLimitInfoUpdate','onMsgEventListUpdate','onGuildInteractiveUpdate','onGroupGuildUpdate','onUnreadCntAfterFirstView','onRecvUDCFlag','onFeedEventUpdate','1198759bomsUv','onRichMediaProgerssUpdate','1378384VvtdCA','onRecvOnlineFileMsg','onRecvMsg','49236500HfRcUQ','408QlNIsw','4652dNLRVh','onFirstViewDirectMsgUpdate','onMsgBoxChanged','onMsgSettingUpdate','onNtMsgSyncEnd','onGroupFileInfoUpdate','onGroupTransferInfoUpdate','onMsgSecurityNotify','onImportOldDbProgressUpdate','30ezoAjc','onTempChatInfoUpdate'];_0x4eb8=function(){return _0x47280c;};return _0x4eb8();}function _0x58bf(_0x1368d1,_0x1f98b1){var _0x4eb8fa=_0x4eb8();return _0x58bf=function(_0x58bfa0,_0x3afc4e){_0x58bfa0=_0x58bfa0-0x1f3;var _0x5e71be=_0x4eb8fa[_0x58bfa0];return _0x5e71be;},_0x58bf(_0x1368d1,_0x1f98b1);}(function(_0x2d9db3,_0x523405){var _0x404ebb=_0x58bf,_0x9c90c9=_0x2d9db3();while(!![]){try{var _0x372e50=-parseInt(_0x404ebb(0x20a))/0x1+-parseInt(_0x404ebb(0x226))/0x2+parseInt(_0x404ebb(0x210))/0x3*(parseInt(_0x404ebb(0x211))/0x4)+-parseInt(_0x404ebb(0x228))/0x5*(parseInt(_0x404ebb(0x21a))/0x6)+-parseInt(_0x404ebb(0x20c))/0x7+parseInt(_0x404ebb(0x22f))/0x8*(-parseInt(_0x404ebb(0x222))/0x9)+parseInt(_0x404ebb(0x20f))/0xa;if(_0x372e50===_0x523405)break;else _0x9c90c9['push'](_0x9c90c9['shift']());}catch(_0x472ccc){_0x9c90c9['push'](_0x9c90c9['shift']());}}}(_0x4eb8,0xa4c87));export class MsgListener{[_0x18b34c(0x1fe)](_0x50826b){}['onBroadcastHelperDownloadComplete'](_0x3ef56e){}['onBroadcastHelperProgressUpdate'](_0x3a4190){}[_0x18b34c(0x203)](_0x5d7711,_0x5a1a54,_0x59bfe8){}['onContactUnreadCntUpdate'](_0x24be12){}['onCustomWithdrawConfigUpdate'](_0x5c055a){}[_0x18b34c(0x1f6)](_0x27477c,_0x4dd224,_0x1008d5){}[_0x18b34c(0x221)](_0x3dc160){}[_0x18b34c(0x229)](_0x3c9724){}[_0x18b34c(0x209)](_0xfcd3c7){}[_0x18b34c(0x22b)](_0x2fac49){}[_0x18b34c(0x212)](_0x3960d1){}[_0x18b34c(0x1f3)](_0x320295){}[_0x18b34c(0x1fb)](_0x5cf133,_0x3f40bd,_0x3ac839,_0x5728df,_0x1420c5){}['onGroupFileInfoAdd'](_0x1aec18){}[_0x18b34c(0x216)](_0x1d4942){}[_0x18b34c(0x206)](_0xd815ab){}['onGroupTransferInfoAdd'](_0x582ea6){}[_0x18b34c(0x217)](_0x53c3ff){}[_0x18b34c(0x205)](_0x42862b){}['onGuildMsgAbFlagChanged'](_0x35a073){}['onGuildNotificationAbstractUpdate'](_0x1faf46){}[_0x18b34c(0x230)](_0x24d6c8){}[_0x18b34c(0x22e)](_0x4a7e2b){}['onHitRelatedEmojiResult'](_0x2ab713){}[_0x18b34c(0x219)](_0x124ec7){}['onInputStatusPush'](_0x16ba65){}[_0x18b34c(0x1fc)](_0x2e6e0c){}[_0x18b34c(0x1f8)](_0x17e2b4){}[_0x18b34c(0x1f4)](_0x394eeb){}[_0x18b34c(0x21c)](_0x2425af){}[_0x18b34c(0x213)](_0x2dead3){}[_0x18b34c(0x22c)](_0x1e7583,_0x10ab97){}[_0x18b34c(0x204)](_0x24add2){}[_0x18b34c(0x1f7)](_0x237ffa){}[_0x18b34c(0x200)](_0x3690f7){}['onMsgQRCodeStatusChanged'](_0x547c44){}[_0x18b34c(0x21e)](_0x494053,_0x5d8fd9,_0x5137b1){}[_0x18b34c(0x218)](_0x3d9f43){}[_0x18b34c(0x214)](_0x559794){}['onNtFirstViewMsgSyncEnd'](){}[_0x18b34c(0x215)](){}[_0x18b34c(0x227)](){}[_0x18b34c(0x22a)](_0x4b7b86){}['onRecvGroupGuildFlag'](_0x4314ff){}[_0x18b34c(0x20e)](_0xc479c7){}[_0x18b34c(0x225)](_0x2c4166,_0x57809d,_0x19dd1f,_0x1eb5ab,_0x2bac7c,_0x31e198){}[_0x18b34c(0x20d)](_0x112e9a){}[_0x18b34c(0x1f9)](_0x17ae61){}[_0x18b34c(0x220)](_0x10d8ce){}[_0x18b34c(0x208)](_0x564a4e){}['onRichMediaDownloadComplete'](_0x3d7a71){}[_0x18b34c(0x20b)](_0x8ec71a){}['onRichMediaUploadComplete'](_0x2a55fa){}['onSearchGroupFileInfoUpdate'](_0x1218a9){}['onSendMsgError'](_0x2afe09,_0x3c4e09,_0x13065e,_0x23d476){}[_0x18b34c(0x223)](_0x20ce83,_0x304b67,_0x338380,_0x2df0a2){}[_0x18b34c(0x21b)](_0x4c20d5){}[_0x18b34c(0x207)](_0x3c0c04){}[_0x18b34c(0x201)](_0x354cd9){}[_0x18b34c(0x21f)](_0x448a49){}[_0x18b34c(0x224)](_0x1a8a21){}[_0x18b34c(0x1f5)](_0x2a27a0){}[_0x18b34c(0x1fd)](_0x57e00a,_0x48a2dc,_0x2dcfd9){}[_0x18b34c(0x22d)](_0x43b2ec,_0x19303f,_0x155469){}[_0x18b34c(0x202)](..._0xf9ee24){}[_0x18b34c(0x1ff)](..._0x4c2c08){}[_0x18b34c(0x1fa)](..._0x46de58){}[_0x18b34c(0x21d)](..._0x56ffe7){}} \ 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 6dbd6b8b..dd7f620b 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x10f17f=_0x44a8;function _0x44a8(_0x17b54f,_0x37f364){var _0xaeb33a=_0xaeb3();return _0x44a8=function(_0x44a851,_0x22b692){_0x44a851=_0x44a851-0x1e6;var _0x16cf69=_0xaeb33a[_0x44a851];return _0x16cf69;},_0x44a8(_0x17b54f,_0x37f364);}function _0xaeb3(){var _0x2490d1=['1767290juiFoJ','1702AiiESZ','58257AKjcFL','onStrangerRemarkChanged','27384730quTDDz','839456PukhpJ','2634FvLWYa','20vZeJen','66772uAyfRr','onSelfStatusChanged','8rDGuVN','3177102tyFifN'];_0xaeb3=function(){return _0x2490d1;};return _0xaeb3();}(function(_0x230b1a,_0x1183c4){var _0x121e3a=_0x44a8,_0x1de9da=_0x230b1a();while(!![]){try{var _0x54faab=parseInt(_0x121e3a(0x1ec))/0x1+-parseInt(_0x121e3a(0x1f1))/0x2*(parseInt(_0x121e3a(0x1ea))/0x3)+-parseInt(_0x121e3a(0x1e9))/0x4*(parseInt(_0x121e3a(0x1eb))/0x5)+-parseInt(_0x121e3a(0x1ef))/0x6+-parseInt(_0x121e3a(0x1f0))/0x7+parseInt(_0x121e3a(0x1ee))/0x8*(-parseInt(_0x121e3a(0x1e6))/0x9)+parseInt(_0x121e3a(0x1e8))/0xa;if(_0x54faab===_0x1183c4)break;else _0x1de9da['push'](_0x1de9da['shift']());}catch(_0x215033){_0x1de9da['push'](_0x1de9da['shift']());}}}(_0xaeb3,0x69047));export class ProfileListener{['onProfileSimpleChanged'](..._0x88681d){}['onProfileDetailInfoChanged'](_0x4cb677){}['onStatusUpdate'](..._0x3c7028){}[_0x10f17f(0x1ed)](..._0x308104){}[_0x10f17f(0x1e7)](..._0x3192ea){}} \ No newline at end of file +var _0x2a808b=_0x11f4;function _0x174d(){var _0xa12852=['3779973jKOinw','14452250BWPySl','2198903eAyutW','26097SwdfQn','12abTFjy','onStrangerRemarkChanged','46464icPrTn','1414thgWnr','onSelfStatusChanged','onProfileSimpleChanged','64bbJTDD','223230rARMMl','730RGTQqb'];_0x174d=function(){return _0xa12852;};return _0x174d();}function _0x11f4(_0x2c87b4,_0x38e10d){var _0x174d1f=_0x174d();return _0x11f4=function(_0x11f42f,_0x305afc){_0x11f42f=_0x11f42f-0x118;var _0x5a306f=_0x174d1f[_0x11f42f];return _0x5a306f;},_0x11f4(_0x2c87b4,_0x38e10d);}(function(_0x212ef0,_0x23b84a){var _0x434bdf=_0x11f4,_0x402605=_0x212ef0();while(!![]){try{var _0x6b109d=-parseInt(_0x434bdf(0x121))/0x1*(parseInt(_0x434bdf(0x11c))/0x2)+parseInt(_0x434bdf(0x118))/0x3+-parseInt(_0x434bdf(0x11f))/0x4*(parseInt(_0x434bdf(0x120))/0x5)+parseInt(_0x434bdf(0x119))/0x6*(parseInt(_0x434bdf(0x124))/0x7)+-parseInt(_0x434bdf(0x11b))/0x8+-parseInt(_0x434bdf(0x122))/0x9+parseInt(_0x434bdf(0x123))/0xa;if(_0x6b109d===_0x23b84a)break;else _0x402605['push'](_0x402605['shift']());}catch(_0x1b3a7a){_0x402605['push'](_0x402605['shift']());}}}(_0x174d,0x67fcb));export class ProfileListener{[_0x2a808b(0x11e)](..._0x56491d){}['onProfileDetailInfoChanged'](_0x281113){}['onStatusUpdate'](..._0x42af5c){}[_0x2a808b(0x11d)](..._0x45a546){}[_0x2a808b(0x11a)](..._0x19f523){}} \ 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 aed49e0a..f6e326dc 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0x166874=_0xd238;(function(_0x208eee,_0x1aae3f){var _0x5db895=_0xd238,_0x1c1e49=_0x208eee();while(!![]){try{var _0x35324d=-parseInt(_0x5db895(0x18d))/0x1*(-parseInt(_0x5db895(0x197))/0x2)+-parseInt(_0x5db895(0x18e))/0x3*(-parseInt(_0x5db895(0x194))/0x4)+parseInt(_0x5db895(0x193))/0x5+-parseInt(_0x5db895(0x195))/0x6+parseInt(_0x5db895(0x192))/0x7+-parseInt(_0x5db895(0x18f))/0x8+-parseInt(_0x5db895(0x196))/0x9;if(_0x35324d===_0x1aae3f)break;else _0x1c1e49['push'](_0x1c1e49['shift']());}catch(_0x3fb7c5){_0x1c1e49['push'](_0x1c1e49['shift']());}}}(_0x3699,0xc12f1));function _0xd238(_0x3618b4,_0x3f43dd){var _0x3699a3=_0x3699();return _0xd238=function(_0xd23828,_0x1bd8b4){_0xd23828=_0xd23828-0x18d;var _0x27f8c6=_0x3699a3[_0xd23828];return _0x27f8c6;},_0xd238(_0x3618b4,_0x3f43dd);}function _0x3699(){var _0x5544c3=['5kDxiBE','3jhVwVe','221344MSaMok','onRobotFriendListChanged','onRobotProfileChanged','5044326vUvpRn','2515600qsLTOu','4265104ASacMr','3175086RVgBxn','14445801NsCqtI','265282RsIBHo'];_0x3699=function(){return _0x5544c3;};return _0x3699();}export class KernelRobotListener{[_0x166874(0x190)](..._0x54b6fc){}['onRobotListChanged'](..._0xe300ae){}[_0x166874(0x191)](..._0x340c9a){}} \ No newline at end of file +function _0x357c(_0x246d6f,_0x5c36e0){var _0x56be32=_0x56be();return _0x357c=function(_0x357c8c,_0x6a1dd1){_0x357c8c=_0x357c8c-0x1e6;var _0x196608=_0x56be32[_0x357c8c];return _0x196608;},_0x357c(_0x246d6f,_0x5c36e0);}function _0x56be(){var _0x33c45b=['890814vnIbIA','21HYKtIZ','onRobotProfileChanged','1040432ahspiB','4IMrMjg','400844lnaajw','onRobotListChanged','134573nAMqXO','6444297pHVggG','1047740ssHkKb','741498XXDBzc'];_0x56be=function(){return _0x33c45b;};return _0x56be();}var _0x520af8=_0x357c;(function(_0x526f7c,_0x399b58){var _0x3379cd=_0x357c,_0x5bbc56=_0x526f7c();while(!![]){try{var _0x499101=-parseInt(_0x3379cd(0x1eb))/0x1*(parseInt(_0x3379cd(0x1e8))/0x2)+parseInt(_0x3379cd(0x1ef))/0x3+-parseInt(_0x3379cd(0x1e9))/0x4+-parseInt(_0x3379cd(0x1ed))/0x5+-parseInt(_0x3379cd(0x1ee))/0x6*(parseInt(_0x3379cd(0x1f0))/0x7)+parseInt(_0x3379cd(0x1e7))/0x8+parseInt(_0x3379cd(0x1ec))/0x9;if(_0x499101===_0x399b58)break;else _0x5bbc56['push'](_0x5bbc56['shift']());}catch(_0x2030ba){_0x5bbc56['push'](_0x5bbc56['shift']());}}}(_0x56be,0x2f35b));export class KernelRobotListener{['onRobotFriendListChanged'](..._0x3f9bf1){}[_0x520af8(0x1ea)](..._0x5b7301){}[_0x520af8(0x1e6)](..._0x1e3eee){}} \ 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 1a3049e8..069fd590 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x185c(){var _0x2f38d3=['onGetSelfTinyId','4XKPtpu','20VOkBQk','348sLuYar','onGProSessionCreate','1776OOIaDp','48AYtxSh','13592020WZiyFf','onOpentelemetryInit','143gxOtoB','514450VOBean','597084BYqBTs','590466tRrHEY','3706056nYMDVA','8xdfJnZ','3012436YylxHP'];_0x185c=function(){return _0x2f38d3;};return _0x185c();}function _0xc1cb(_0x16b1f3,_0x55f30c){var _0x185cbf=_0x185c();return _0xc1cb=function(_0xc1cb8c,_0x4e4f2e){_0xc1cb8c=_0xc1cb8c-0xbd;var _0x32025b=_0x185cbf[_0xc1cb8c];return _0x32025b;},_0xc1cb(_0x16b1f3,_0x55f30c);}var _0xc90870=_0xc1cb;(function(_0x5ddc49,_0x5c7544){var _0x3b71de=_0xc1cb,_0x8e0bdf=_0x5ddc49();while(!![]){try{var _0x2eda22=parseInt(_0x3b71de(0xc7))/0x1*(parseInt(_0x3b71de(0xc9))/0x2)+-parseInt(_0x3b71de(0xc0))/0x3*(parseInt(_0x3b71de(0xc5))/0x4)+-parseInt(_0x3b71de(0xbe))/0x5*(-parseInt(_0x3b71de(0xca))/0x6)+parseInt(_0x3b71de(0xc3))/0x7*(parseInt(_0x3b71de(0xc2))/0x8)+-parseInt(_0x3b71de(0xc1))/0x9*(-parseInt(_0x3b71de(0xc6))/0xa)+parseInt(_0x3b71de(0xbd))/0xb*(-parseInt(_0x3b71de(0xbf))/0xc)+-parseInt(_0x3b71de(0xcb))/0xd;if(_0x2eda22===_0x5c7544)break;else _0x8e0bdf['push'](_0x8e0bdf['shift']());}catch(_0x5aa33f){_0x8e0bdf['push'](_0x8e0bdf['shift']());}}}(_0x185c,0x794d9));export class SessionListener{['onNTSessionCreate'](_0xebce91){}[_0xc90870(0xc8)](_0x2e7b77){}['onSessionInitComplete'](_0x2c81d4){}[_0xc90870(0xcc)](_0x2c337c){}['onUserOnlineResult'](_0x45b22a){}[_0xc90870(0xc4)](_0x58cbbb){}} \ No newline at end of file +var _0x372714=_0x2ab5;function _0x38df(){var _0x457751=['343165GkMGMQ','1253812KuCfuN','579822HNZGFg','1465272DpdGhr','onSessionInitComplete','7nTdhOF','3rhWvIt','4470830qJOXDu','onNTSessionCreate','onUserOnlineResult','3155682rwanCZ','onGProSessionCreate','27921339TEfqzw'];_0x38df=function(){return _0x457751;};return _0x38df();}function _0x2ab5(_0x3753ec,_0x5adfef){var _0x38dfe0=_0x38df();return _0x2ab5=function(_0x2ab564,_0x5d8a3d){_0x2ab564=_0x2ab564-0x1e3;var _0x2ed421=_0x38dfe0[_0x2ab564];return _0x2ed421;},_0x2ab5(_0x3753ec,_0x5adfef);}(function(_0x17d96e,_0x2442fa){var _0x2fadde=_0x2ab5,_0xb90000=_0x17d96e();while(!![]){try{var _0x5e9df6=-parseInt(_0x2fadde(0x1e3))/0x1+-parseInt(_0x2fadde(0x1e5))/0x2+-parseInt(_0x2fadde(0x1e9))/0x3*(parseInt(_0x2fadde(0x1e4))/0x4)+-parseInt(_0x2fadde(0x1ea))/0x5+-parseInt(_0x2fadde(0x1ed))/0x6*(parseInt(_0x2fadde(0x1e8))/0x7)+-parseInt(_0x2fadde(0x1e6))/0x8+parseInt(_0x2fadde(0x1ef))/0x9;if(_0x5e9df6===_0x2442fa)break;else _0xb90000['push'](_0xb90000['shift']());}catch(_0x2694ba){_0xb90000['push'](_0xb90000['shift']());}}}(_0x38df,0x86e7a));export class SessionListener{[_0x372714(0x1eb)](_0x9ec0d2){}[_0x372714(0x1ee)](_0x397b58){}[_0x372714(0x1e7)](_0x5d3c4e){}['onOpentelemetryInit'](_0x3bd832){}[_0x372714(0x1ec)](_0x3b8cdc){}['onGetSelfTinyId'](_0x57a8cd){}} \ 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 885f356e..adc2e6e7 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x291a4b=_0x31c3;(function(_0x4c1328,_0x567f45){var _0x237d14=_0x31c3,_0x317048=_0x4c1328();while(!![]){try{var _0x199a44=parseInt(_0x237d14(0x123))/0x1+parseInt(_0x237d14(0x121))/0x2*(-parseInt(_0x237d14(0x12a))/0x3)+parseInt(_0x237d14(0x127))/0x4+-parseInt(_0x237d14(0x11e))/0x5+-parseInt(_0x237d14(0x128))/0x6+parseInt(_0x237d14(0x126))/0x7*(parseInt(_0x237d14(0x122))/0x8)+-parseInt(_0x237d14(0x11f))/0x9*(-parseInt(_0x237d14(0x129))/0xa);if(_0x199a44===_0x567f45)break;else _0x317048['push'](_0x317048['shift']());}catch(_0x309c66){_0x317048['push'](_0x317048['shift']());}}}(_0x1623,0xd3607));function _0x31c3(_0x58d8d8,_0x474766){var _0x162306=_0x1623();return _0x31c3=function(_0x31c321,_0x550172){_0x31c321=_0x31c321-0x11e;var _0x21d5d1=_0x162306[_0x31c321];return _0x21d5d1;},_0x31c3(_0x58d8d8,_0x474766);}export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x27c190){}[_0x291a4b(0x120)](_0x2b2aa5){}[_0x291a4b(0x125)](_0x40ce58){}[_0x291a4b(0x124)](_0x546190){}[_0x291a4b(0x12b)](_0x40bff4){}}function _0x1623(){var _0x161eac=['7XfTldK','5479176GxWSet','3991086RqaKdh','10YDosSJ','6EXOtpp','onChatCleanDone','7462755GaPBme','2628972iKMArt','onScanCacheProgressChanged','509508CtviAF','2607888erHXsl','1545151xEiEcJ','onFinishScan','onCleanCacheStorageChanged'];_0x1623=function(){return _0x161eac;};return _0x1623();} \ No newline at end of file +function _0xc9b5(){var _0x54cbfd=['2829025rdqhEt','240562NuLzzp','15304mGiRZJ','24600132ZOMaEK','114CsbFgr','719125yJlJtJ','onCleanCacheStorageChanged','26RpRYmf','2045ovkEhf','1683AqmRuQ','228aeggaT','25167FKkBHm','30nImRTh','onFinishScan'];_0xc9b5=function(){return _0x54cbfd;};return _0xc9b5();}var _0x38842a=_0x2eda;function _0x2eda(_0x17e049,_0x146915){var _0xc9b52c=_0xc9b5();return _0x2eda=function(_0x2eda3a,_0xb2b762){_0x2eda3a=_0x2eda3a-0x180;var _0x3c297a=_0xc9b52c[_0x2eda3a];return _0x3c297a;},_0x2eda(_0x17e049,_0x146915);}(function(_0x13e2d6,_0x1b86d5){var _0x520741=_0x2eda,_0x51d2d4=_0x13e2d6();while(!![]){try{var _0x5e45ef=parseInt(_0x520741(0x187))/0x1*(parseInt(_0x520741(0x186))/0x2)+parseInt(_0x520741(0x18a))/0x3*(-parseInt(_0x520741(0x189))/0x4)+-parseInt(_0x520741(0x18d))/0x5+parseInt(_0x520741(0x183))/0x6*(-parseInt(_0x520741(0x180))/0x7)+-parseInt(_0x520741(0x181))/0x8*(-parseInt(_0x520741(0x188))/0x9)+-parseInt(_0x520741(0x18b))/0xa*(parseInt(_0x520741(0x184))/0xb)+parseInt(_0x520741(0x182))/0xc;if(_0x5e45ef===_0x1b86d5)break;else _0x51d2d4['push'](_0x51d2d4['shift']());}catch(_0x4bda33){_0x51d2d4['push'](_0x51d2d4['shift']());}}}(_0xc9b5,0x84256));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x5d1cf7){}['onScanCacheProgressChanged'](_0x96f592){}[_0x38842a(0x185)](_0x732cb2){}[_0x38842a(0x18c)](_0x2ca46f){}['onChatCleanDone'](_0x53bdd6){}} \ 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 9072c9b9..d7b5dc52 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x2e9c06,_0x42879d){var _0xd32a88=_0x144f,_0x3e897e=_0x2e9c06();while(!![]){try{var _0x5122ef=parseInt(_0xd32a88(0x1ee))/0x1*(-parseInt(_0xd32a88(0x1f3))/0x2)+-parseInt(_0xd32a88(0x1f7))/0x3*(parseInt(_0xd32a88(0x1f1))/0x4)+-parseInt(_0xd32a88(0x1f0))/0x5*(parseInt(_0xd32a88(0x1ef))/0x6)+parseInt(_0xd32a88(0x1ed))/0x7*(-parseInt(_0xd32a88(0x1f5))/0x8)+-parseInt(_0xd32a88(0x1f8))/0x9+-parseInt(_0xd32a88(0x1f6))/0xa*(-parseInt(_0xd32a88(0x1f2))/0xb)+-parseInt(_0xd32a88(0x1f4))/0xc*(-parseInt(_0xd32a88(0x1f9))/0xd);if(_0x5122ef===_0x42879d)break;else _0x3e897e['push'](_0x3e897e['shift']());}catch(_0x290729){_0x3e897e['push'](_0x3e897e['shift']());}}}(_0x1b2d,0xe2551));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';function _0x144f(_0x3d7303,_0x2369f0){var _0x1b2dbb=_0x1b2d();return _0x144f=function(_0x144f9a,_0x2f32d0){_0x144f9a=_0x144f9a-0x1ed;var _0xa69a2=_0x1b2dbb[_0x144f9a];return _0xa69a2;},_0x144f(_0x3d7303,_0x2369f0);}export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';function _0x1b2d(){var _0x3930b0=['1028452XzJRHQ','9027258qTmrLP','5BDVpte','276VzMBvv','38093dIYzTD','2lsyTKW','25171548SGHbgX','32BQAaAt','450RPAkDb','77829lSzHCU','14236596TJdlFX','52fPNQpF','3000179jySpil'];_0x1b2d=function(){return _0x3930b0;};return _0x1b2d();} \ No newline at end of file +(function(_0x346c7a,_0x138c92){var _0x45eaa5=_0x4651,_0x5e76e4=_0x346c7a();while(!![]){try{var _0x513786=parseInt(_0x45eaa5(0x9a))/0x1*(parseInt(_0x45eaa5(0x9b))/0x2)+parseInt(_0x45eaa5(0x96))/0x3*(parseInt(_0x45eaa5(0x9f))/0x4)+parseInt(_0x45eaa5(0x9e))/0x5*(parseInt(_0x45eaa5(0x9c))/0x6)+-parseInt(_0x45eaa5(0x99))/0x7+parseInt(_0x45eaa5(0x97))/0x8*(-parseInt(_0x45eaa5(0xa0))/0x9)+parseInt(_0x45eaa5(0x9d))/0xa+-parseInt(_0x45eaa5(0x98))/0xb;if(_0x513786===_0x138c92)break;else _0x5e76e4['push'](_0x5e76e4['shift']());}catch(_0x15a4e9){_0x5e76e4['push'](_0x5e76e4['shift']());}}}(_0x49d5,0x3aacc));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';function _0x4651(_0x238aa4,_0x246738){var _0x49d52d=_0x49d5();return _0x4651=function(_0x46514d,_0x3a05d6){_0x46514d=_0x46514d-0x96;var _0x360053=_0x49d52d[_0x46514d];return _0x360053;},_0x4651(_0x238aa4,_0x246738);}export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';function _0x49d5(){var _0x3a394c=['126rSUnsZ','2904PIPVjE','2663705YQCKSv','3022019Ierdlc','2qXlCDK','116636CkObsS','192vQpTvO','1331010mbEMuI','48225vOaSeo','40768ifPfCe','1791PSvqzS'];_0x49d5=function(){return _0x3a394c;};return _0x49d5();}export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelMsgService.d.ts b/src/core.lib/src/services/NodeIKernelMsgService.d.ts index 10b547be..d704ae20 100644 --- a/src/core.lib/src/services/NodeIKernelMsgService.d.ts +++ b/src/core.lib/src/services/NodeIKernelMsgService.d.ts @@ -1,4 +1,4 @@ -import { ChatType, ElementType, Peer, RawMessage, SendMessageElement } from '@/core/entities'; +import { ElementType, Peer, RawMessage, SendMessageElement } from '@/core/entities'; import { NodeIKernelMsgListener } from '@/core/listeners/NodeIKernelMsgListener'; import { GeneralCallResult } from '@/core/services/common'; export interface NodeIKernelMsgService { @@ -119,7 +119,7 @@ export interface NodeIKernelMsgService { setUnVisibleChannelCntInfo(...args: unknown[]): unknown; setUnVisibleChannelTypeCntInfo(...args: unknown[]): unknown; setVisibleGuildCntInfo(...args: unknown[]): unknown; - setMsgRead(chatType: ChatType, peerUid: string, guildId: string): Promise; + setMsgRead(peer: Peer): Promise; setAllC2CAndGroupMsgRead(...args: unknown[]): unknown; setGuildMsgRead(...args: unknown[]): unknown; setAllGuildMsgRead(...args: unknown[]): unknown; diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index 268718f6..8a79f968 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x1a9b55,_0x2dc370){var _0x5692a8=_0x8e85,_0x301b1c=_0x1a9b55();while(!![]){try{var _0x48a9ac=-parseInt(_0x5692a8(0x73))/0x1+parseInt(_0x5692a8(0x68))/0x2*(-parseInt(_0x5692a8(0x6c))/0x3)+-parseInt(_0x5692a8(0x6b))/0x4*(parseInt(_0x5692a8(0x71))/0x5)+parseInt(_0x5692a8(0x74))/0x6*(-parseInt(_0x5692a8(0x6a))/0x7)+-parseInt(_0x5692a8(0x6f))/0x8*(parseInt(_0x5692a8(0x72))/0x9)+parseInt(_0x5692a8(0x69))/0xa*(parseInt(_0x5692a8(0x6e))/0xb)+parseInt(_0x5692a8(0x70))/0xc*(parseInt(_0x5692a8(0x6d))/0xd);if(_0x48a9ac===_0x2dc370)break;else _0x301b1c['push'](_0x301b1c['shift']());}catch(_0x300323){_0x301b1c['push'](_0x301b1c['shift']());}}}(_0x4d53,0xcd3f3));function _0x8e85(_0x2121ff,_0x401222){var _0x4d53a3=_0x4d53();return _0x8e85=function(_0x8e8544,_0x424754){_0x8e8544=_0x8e8544-0x68;var _0x230501=_0x4d53a3[_0x8e8544];return _0x230501;},_0x8e85(_0x2121ff,_0x401222);}export var GeneralCallResultStatus;function _0x4d53(){var _0x44ed55=['175295gnNmCE','106866cdvNso','959090yteQlk','370ixGrYl','105QMamWR','30944njmRnI','6YCTHpH','364767LORzOr','312906LaGMLd','8jHmvum','648UiSBDJ','205ZOPgoL','74439bqVDKN'];_0x4d53=function(){return _0x44ed55;};return _0x4d53();}(function(_0x364a87){_0x364a87[_0x364a87['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +function _0x5c04(_0x303aec,_0x5d8a6b){var _0x778470=_0x7784();return _0x5c04=function(_0x5c0491,_0x5e69ac){_0x5c0491=_0x5c0491-0x1d3;var _0x129d73=_0x778470[_0x5c0491];return _0x129d73;},_0x5c04(_0x303aec,_0x5d8a6b);}function _0x7784(){var _0x55a379=['27431305QCTDAF','1904274uLaBxx','3567630DiWhqe','8qDihOW','10616PNnMyH','28OCgDPR','2714cxwchB','131rNHmea','11128170GpzHfs','6453855bRkDkV','2470zPXiSk'];_0x7784=function(){return _0x55a379;};return _0x7784();}(function(_0x5bac17,_0x1c739b){var _0x48ce1a=_0x5c04,_0x57358f=_0x5bac17();while(!![]){try{var _0xa89a0c=-parseInt(_0x48ce1a(0x1d3))/0x1*(parseInt(_0x48ce1a(0x1dd))/0x2)+parseInt(_0x48ce1a(0x1d9))/0x3+parseInt(_0x48ce1a(0x1db))/0x4*(parseInt(_0x48ce1a(0x1d6))/0x5)+-parseInt(_0x48ce1a(0x1d8))/0x6*(-parseInt(_0x48ce1a(0x1dc))/0x7)+-parseInt(_0x48ce1a(0x1da))/0x8*(-parseInt(_0x48ce1a(0x1d5))/0x9)+-parseInt(_0x48ce1a(0x1d4))/0xa+-parseInt(_0x48ce1a(0x1d7))/0xb;if(_0xa89a0c===_0x1c739b)break;else _0x57358f['push'](_0x57358f['shift']());}catch(_0x2d2547){_0x57358f['push'](_0x57358f['shift']());}}}(_0x7784,0xab85e));export var GeneralCallResultStatus;(function(_0x50bab9){_0x50bab9[_0x50bab9['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 618dc1a6..7d23a2cc 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x218915,_0x9f3e38){var _0x26dfbf=_0x19e2,_0x26e5f0=_0x218915();while(!![]){try{var _0x3d55f0=-parseInt(_0x26dfbf(0x126))/0x1*(-parseInt(_0x26dfbf(0x128))/0x2)+-parseInt(_0x26dfbf(0x129))/0x3*(parseInt(_0x26dfbf(0x12e))/0x4)+-parseInt(_0x26dfbf(0x12c))/0x5+-parseInt(_0x26dfbf(0x130))/0x6*(-parseInt(_0x26dfbf(0x12a))/0x7)+-parseInt(_0x26dfbf(0x12f))/0x8+-parseInt(_0x26dfbf(0x12b))/0x9+parseInt(_0x26dfbf(0x12d))/0xa*(parseInt(_0x26dfbf(0x127))/0xb);if(_0x3d55f0===_0x9f3e38)break;else _0x26e5f0['push'](_0x26e5f0['shift']());}catch(_0x3266aa){_0x26e5f0['push'](_0x26e5f0['shift']());}}}(_0x5d1b,0xeb9fb));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';function _0x19e2(_0x44706a,_0x387c70){var _0x5d1bc7=_0x5d1b();return _0x19e2=function(_0x19e268,_0x39a1db){_0x19e268=_0x19e268-0x126;var _0x4ac24e=_0x5d1bc7[_0x19e268];return _0x4ac24e;},_0x19e2(_0x44706a,_0x387c70);}export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService';function _0x5d1b(){var _0x3b63ad=['237969ryBywu','517CtiSJG','16nkhCsn','1676043vIHXmJ','1246NcvklL','6666021HNCAss','833800zvaVup','206200yMRsdZ','8bbSakt','4832512iYXsXh','24306oVBnLW'];_0x5d1b=function(){return _0x3b63ad;};return _0x5d1b();} \ No newline at end of file +(function(_0x4ae0da,_0x22af89){var _0x1f76ef=_0x2254,_0x33b0ff=_0x4ae0da();while(!![]){try{var _0x17a805=parseInt(_0x1f76ef(0xc3))/0x1+-parseInt(_0x1f76ef(0xc1))/0x2+parseInt(_0x1f76ef(0xbe))/0x3*(-parseInt(_0x1f76ef(0xbd))/0x4)+-parseInt(_0x1f76ef(0xbb))/0x5+-parseInt(_0x1f76ef(0xbc))/0x6+parseInt(_0x1f76ef(0xc0))/0x7*(parseInt(_0x1f76ef(0xc2))/0x8)+parseInt(_0x1f76ef(0xbf))/0x9;if(_0x17a805===_0x22af89)break;else _0x33b0ff['push'](_0x33b0ff['shift']());}catch(_0x224131){_0x33b0ff['push'](_0x33b0ff['shift']());}}}(_0x42f7,0x5c040));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';function _0x42f7(){var _0x3bf3f4=['1366260OHsiVD','2852072mMoexh','205240XaaiEC','3608160BliXby','378786kVLTKz','4WnuinK','1713966eDRnKm','13480677boxioS','14uOoYWO'];_0x42f7=function(){return _0x3bf3f4;};return _0x42f7();}export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';function _0x2254(_0x22ac0f,_0x64d883){var _0x42f7c8=_0x42f7();return _0x2254=function(_0x225424,_0x1488d3){_0x225424=_0x225424-0xbb;var _0x3f2985=_0x42f7c8[_0x225424];return _0x3f2985;},_0x2254(_0x22ac0f,_0x64d883);}export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index a554de77..d11818f1 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x55fa57,_0x3fa8fd){const _0x7d0509=_0x252c,_0x3495e5=_0x55fa57();while(!![]){try{const _0x11dd83=parseInt(_0x7d0509(0xa5))/0x1*(parseInt(_0x7d0509(0xa6))/0x2)+parseInt(_0x7d0509(0xb2))/0x3+parseInt(_0x7d0509(0xb1))/0x4*(parseInt(_0x7d0509(0xb4))/0x5)+parseInt(_0x7d0509(0xb9))/0x6+parseInt(_0x7d0509(0xa8))/0x7*(-parseInt(_0x7d0509(0xb3))/0x8)+parseInt(_0x7d0509(0xaa))/0x9*(-parseInt(_0x7d0509(0xb7))/0xa)+-parseInt(_0x7d0509(0xad))/0xb*(-parseInt(_0x7d0509(0xba))/0xc);if(_0x11dd83===_0x3fa8fd)break;else _0x3495e5['push'](_0x3495e5['shift']());}catch(_0x123921){_0x3495e5['push'](_0x3495e5['shift']());}}}(_0x48ac,0x5d4c8));function _0x48ac(){const _0x173512=['5366502QmGSxz','BLmih','assign','77aoHrRm','lEmRm','join','rHloX','40SucuSG','1562454rAjgfO','201080OiDulP','205890LfDEDJ','peoBK','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','10KsWLlz','hZNOw','222906gFbquo','76152SlPpCm','writeFileSync','guid.txt','version','23XakQTL','10006BcjAKq','NapCat','42YrZrQK','readFileSync'];_0x48ac=function(){return _0x173512;};return _0x48ac();}function _0x252c(_0x302e15,_0x5c4555){const _0x48acf6=_0x48ac();return _0x252c=function(_0x252cb8,_0x3bbb6b){_0x252cb8=_0x252cb8-0xa3;let _0x20c318=_0x48acf6[_0x252cb8];return _0x20c318;},_0x252c(_0x302e15,_0x5c4555);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x113e05 from'node:path';import _0x318cd3 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x516791,_0x396a50,_0xb1dc51){const _0xa5035b=_0x252c,_0x2eef46={'rHloX':_0xa5035b(0xa7),'BLmih':'temp','peoBK':_0xa5035b(0xa3),'lEmRm':function(_0x219350){return _0x219350();},'hZNOw':'utf-8'},_0x1bce6a=_0x113e05[_0xa5035b(0xaf)](_0xb1dc51,_0x2eef46[_0xa5035b(0xb0)],_0x2eef46[_0xa5035b(0xab)]);_0x318cd3['mkdirSync'](_0x1bce6a,{'recursive':!![]});const _0x1bd58a=_0x113e05[_0xa5035b(0xaf)](_0xb1dc51,'NapCat',_0x2eef46[_0xa5035b(0xb5)]);let _0x145ff2=_0x2eef46[_0xa5035b(0xae)](randomUUID);try{_0x145ff2=_0x318cd3[_0xa5035b(0xa9)](_0x113e05['join'](_0x1bd58a),_0x2eef46[_0xa5035b(0xb8)]);}catch(_0xd1ab63){_0x318cd3[_0xa5035b(0xbb)](_0x113e05['join'](_0x1bd58a),_0x145ff2,_0x2eef46[_0xa5035b(0xb8)]);}const _0x169398={'selfUin':_0x516791,'selfUid':_0x396a50,'desktopPathConfig':{'account_path':_0xb1dc51},'clientVer':qqVersionConfigInfo['curVersion'],'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':_0x1bce6a,'deviceInfo':{'guid':_0x145ff2,'buildVer':qqPkgInfo[_0xa5035b(0xa4)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0xa5035b(0xb6)};return Object[_0xa5035b(0xac)](sessionConfig,_0x169398),_0x169398;} \ No newline at end of file +function _0x3f6b(){const _0xc240ea=['629421CMyAqU','readFileSync','assign','mtfYW','8cfXZwD','DjlNo','FjGfO','11971092bjcZfP','NapCat','6XqTDLZ','curVersion','1778224ecfRbo','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','9315LXjthw','4484665ABJEmf','guid.txt','5222440eZYApL','43490CAUYRN','94546OXPxCF','eGnOZ','join'];_0x3f6b=function(){return _0xc240ea;};return _0x3f6b();}(function(_0x4ac1a5,_0x3b7b01){const _0x5506dd=_0x57eb,_0x319683=_0x4ac1a5();while(!![]){try{const _0x2902b0=parseInt(_0x5506dd(0xba))/0x1+parseInt(_0x5506dd(0xc1))/0x2*(-parseInt(_0x5506dd(0xbd))/0x3)+parseInt(_0x5506dd(0xb3))/0x4+-parseInt(_0x5506dd(0xb6))/0x5+parseInt(_0x5506dd(0xb1))/0x6*(-parseInt(_0x5506dd(0xc4))/0x7)+-parseInt(_0x5506dd(0xb8))/0x8+-parseInt(_0x5506dd(0xb5))/0x9*(-parseInt(_0x5506dd(0xb9))/0xa);if(_0x2902b0===_0x3b7b01)break;else _0x319683['push'](_0x319683['shift']());}catch(_0x3f4d8e){_0x319683['push'](_0x319683['shift']());}}}(_0x3f6b,0xe5c8b));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';function _0x57eb(_0x1c729e,_0x312f98){const _0x3f6bad=_0x3f6b();return _0x57eb=function(_0x57ebcb,_0x25d071){_0x57ebcb=_0x57ebcb-0xb0;let _0x38bafa=_0x3f6bad[_0x57ebcb];return _0x38bafa;},_0x57eb(_0x1c729e,_0x312f98);}import _0x596df8 from'node:path';import _0x117200 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x5efe37,_0xf674ce,_0x259ac2){const _0x47fe4c=_0x57eb,_0x168aa2={'eGnOZ':_0x47fe4c(0xb0),'FjGfO':'temp','SUUUf':_0x47fe4c(0xb7),'bxvDj':function(_0x67ffb1){return _0x67ffb1();},'DjlNo':'utf-8','mtfYW':_0x47fe4c(0xb4)},_0x277e22=_0x596df8[_0x47fe4c(0xbc)](_0x259ac2,_0x168aa2[_0x47fe4c(0xbb)],_0x168aa2[_0x47fe4c(0xc3)]);_0x117200['mkdirSync'](_0x277e22,{'recursive':!![]});const _0x1cc7a7=_0x596df8[_0x47fe4c(0xbc)](_0x259ac2,_0x47fe4c(0xb0),_0x168aa2['SUUUf']);let _0x5c1e85=_0x168aa2['bxvDj'](randomUUID);try{_0x5c1e85=_0x117200[_0x47fe4c(0xbe)](_0x596df8[_0x47fe4c(0xbc)](_0x1cc7a7),_0x168aa2[_0x47fe4c(0xc2)]);}catch(_0x331f54){_0x117200['writeFileSync'](_0x596df8[_0x47fe4c(0xbc)](_0x1cc7a7),_0x5c1e85,_0x168aa2[_0x47fe4c(0xc2)]);}const _0x496a11={'selfUin':_0x5efe37,'selfUid':_0xf674ce,'desktopPathConfig':{'account_path':_0x259ac2},'clientVer':qqVersionConfigInfo[_0x47fe4c(0xb2)],'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':_0x277e22,'deviceInfo':{'guid':_0x5c1e85,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x168aa2[_0x47fe4c(0xc0)]};return Object[_0x47fe4c(0xbf)](sessionConfig,_0x496a11),_0x496a11;} \ 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 249c45ab..c19dc9ae 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x1bffbc=_0x481a;(function(_0x31b7ca,_0x55e348){const _0x3288f8=_0x481a,_0x5f2eab=_0x31b7ca();while(!![]){try{const _0x2de4b3=-parseInt(_0x3288f8(0x12b))/0x1*(parseInt(_0x3288f8(0x127))/0x2)+-parseInt(_0x3288f8(0x133))/0x3+parseInt(_0x3288f8(0x124))/0x4*(-parseInt(_0x3288f8(0x12c))/0x5)+parseInt(_0x3288f8(0x129))/0x6+-parseInt(_0x3288f8(0x12f))/0x7+-parseInt(_0x3288f8(0x136))/0x8*(-parseInt(_0x3288f8(0x126))/0x9)+parseInt(_0x3288f8(0x135))/0xa*(parseInt(_0x3288f8(0x128))/0xb);if(_0x2de4b3===_0x55e348)break;else _0x5f2eab['push'](_0x5f2eab['shift']());}catch(_0x2110d6){_0x5f2eab['push'](_0x5f2eab['shift']());}}}(_0x3538,0x685df));function _0x3538(){const _0x21fc00=['consoleLogLevel','INFO','395697bVpjUI','join','490UNirOS','8FAebaI','getConfigPath','DEBUG','316wSNqjT','getConfigDir','5760486gEEjJN','410cCAswl','59169wfmFui','1604598ikyxcp','napcat_','393leXlHW','29765jQtJiN','uin','.json','425740xSlzxD','fileLog'];_0x3538=function(){return _0x21fc00;};return _0x3538();}import _0x319717 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0x481a(_0x265df7,_0x15aca2){const _0x353879=_0x3538();return _0x481a=function(_0x481ad2,_0x3e6afa){_0x481ad2=_0x481ad2-0x124;let _0x9beecf=_0x353879[_0x481ad2];return _0x9beecf;},_0x481a(_0x265df7,_0x15aca2);}import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x1bffbc(0x130)]=!![];['consoleLog']=!![];['fileLogLevel']=LogLevel[_0x1bffbc(0x138)];[_0x1bffbc(0x131)]=LogLevel[_0x1bffbc(0x132)];constructor(){super();}[_0x1bffbc(0x137)](){const _0x2a592e=_0x1bffbc;return _0x319717[_0x2a592e(0x134)](this[_0x2a592e(0x125)](),_0x2a592e(0x12a)+selfInfo[_0x2a592e(0x12d)]+_0x2a592e(0x12e));}}export const napCatConfig=new Config(); \ No newline at end of file +const _0x4c594b=_0x25af;(function(_0x4db52e,_0x11d009){const _0x142bef=_0x25af,_0x1690dc=_0x4db52e();while(!![]){try{const _0x3c3854=parseInt(_0x142bef(0x129))/0x1*(parseInt(_0x142bef(0x11e))/0x2)+parseInt(_0x142bef(0x11f))/0x3+-parseInt(_0x142bef(0x126))/0x4*(parseInt(_0x142bef(0x11b))/0x5)+parseInt(_0x142bef(0x12b))/0x6+-parseInt(_0x142bef(0x11d))/0x7+-parseInt(_0x142bef(0x11c))/0x8*(parseInt(_0x142bef(0x121))/0x9)+parseInt(_0x142bef(0x124))/0xa;if(_0x3c3854===_0x11d009)break;else _0x1690dc['push'](_0x1690dc['shift']());}catch(_0x72351d){_0x1690dc['push'](_0x1690dc['shift']());}}}(_0x3a46,0xd4f2b));import _0x2a1223 from'node:path';function _0x3a46(){const _0x4dbcae=['getConfigPath','9947064kVBupV','join','15xCbWxv','1264040egeCaa','6678161lRdAIT','37200wONdsK','828186yxwJLQ','fileLogLevel','63MqaZLk','.json','DEBUG','2005550xKsznd','uin','1019424VKTgFU','consoleLogLevel','INFO','84gNRIyT'];_0x3a46=function(){return _0x4dbcae;};return _0x3a46();}function _0x25af(_0x35d66f,_0x58d9d6){const _0x3a46ae=_0x3a46();return _0x25af=function(_0x25aff8,_0x552b6a){_0x25aff8=_0x25aff8-0x11a;let _0x1f407c=_0x3a46ae[_0x25aff8];return _0x1f407c;},_0x25af(_0x35d66f,_0x58d9d6);}import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{['fileLog']=!![];['consoleLog']=!![];[_0x4c594b(0x120)]=LogLevel[_0x4c594b(0x123)];[_0x4c594b(0x127)]=LogLevel[_0x4c594b(0x128)];constructor(){super();}[_0x4c594b(0x12a)](){const _0x136cdd=_0x4c594b;return _0x2a1223[_0x136cdd(0x11a)](this['getConfigDir'](),'napcat_'+selfInfo[_0x136cdd(0x125)]+_0x136cdd(0x122));}}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 0a2a6b8c..c17c7b7b 100644 --- a/src/core.lib/src/utils/db.js +++ b/src/core.lib/src/utils/db.js @@ -1 +1 @@ -const _0x55333a=_0x57e7;(function(_0x20272c,_0x56587f){const _0x395291=_0x57e7,_0x41d5be=_0x20272c();while(!![]){try{const _0x43eb25=parseInt(_0x395291(0x199))/0x1+-parseInt(_0x395291(0x1a1))/0x2+-parseInt(_0x395291(0x14e))/0x3+parseInt(_0x395291(0x164))/0x4+-parseInt(_0x395291(0x1a7))/0x5+parseInt(_0x395291(0x146))/0x6+parseInt(_0x395291(0x154))/0x7*(-parseInt(_0x395291(0x1a9))/0x8);if(_0x43eb25===_0x56587f)break;else _0x41d5be['push'](_0x41d5be['shift']());}catch(_0x191a23){_0x41d5be['push'](_0x41d5be['shift']());}}}(_0x5545,0xa6517));import _0x4548cb from'sqlite3';function _0x57e7(_0x4619d1,_0x391fd3){const _0x554563=_0x5545();return _0x57e7=function(_0x57e7c9,_0x81bf93){_0x57e7c9=_0x57e7c9-0x138;let _0x43d0b7=_0x554563[_0x57e7c9];return _0x43d0b7;},_0x57e7(_0x4619d1,_0x391fd3);}import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';class DBUtilBase{['db'];async[_0x55333a(0x194)](_0x35b02c){const _0x52fabd=_0x55333a,_0x59d17f={'WaUtu':_0x52fabd(0x190),'LLZlV':function(_0x4a0c82,_0x457575){return _0x4a0c82(_0x457575);},'ErDHH':function(_0x437fa5,_0x279eb8){return _0x437fa5|_0x279eb8;}};if(this['db'])return;return new Promise((_0x415213,_0x1bea17)=>{const _0x3b1109=_0x52fabd,_0x52c24b={'YlBcF':_0x59d17f['WaUtu'],'iklMm':function(_0x24425e,_0x336461){return _0x59d17f['LLZlV'](_0x24425e,_0x336461);}};this['db']=new _0x4548cb[(_0x3b1109(0x177))](_0x35b02c,_0x59d17f['ErDHH'](_0x4548cb[_0x3b1109(0x1a2)],_0x4548cb[_0x3b1109(0x171)]),_0x219f07=>{const _0x28a6c3=_0x3b1109;if(_0x219f07){logError(_0x52c24b['YlBcF'],_0x219f07),_0x52c24b[_0x28a6c3(0x1b7)](_0x1bea17,_0x219f07);return;}this[_0x28a6c3(0x1aa)](),_0x415213();});});}['createTable'](){const _0x4c9b73=_0x55333a,_0x2e0c16={'hpOxZ':_0x4c9b73(0x1ad)};throw new Error(_0x2e0c16[_0x4c9b73(0x1b8)]);}[_0x55333a(0x155)](){const _0x5b4eaa=_0x55333a;this['db']?.[_0x5b4eaa(0x155)]();}}class DBUtil extends DBUtilBase{['msgCache']=new Map();[_0x55333a(0x163)]=-0x7ffffff8;constructor(){const _0x65a4d5=_0x55333a,_0x37e539={'ovZNg':function(_0x1d002b,_0x10c2de){return _0x1d002b>_0x10c2de;},'cOmQy':function(_0x59990a,_0x1a8246){return _0x59990a-_0x1a8246;},'fMEWV':function(_0x47dc0d,_0x1574b8){return _0x47dc0d*_0x1574b8;},'NACOT':function(_0x1f17c2,_0x4aced6){return _0x1f17c2(_0x4aced6);},'lAWhb':function(_0x26e294,_0x348364){return _0x26e294*_0x348364;},'GbsgQ':function(_0x25de4f,_0xff233f,_0x3bdf49){return _0x25de4f(_0xff233f,_0x3bdf49);}};super();const _0x45095c=_0x37e539[_0x65a4d5(0x16d)](0x3e8,0x3c)*0xa;_0x37e539[_0x65a4d5(0x1ae)](setInterval,()=>{const _0x6fb0a9=_0x65a4d5;_0x37e539[_0x6fb0a9(0x148)](logDebug,_0x6fb0a9(0x183)),this[_0x6fb0a9(0x14b)][_0x6fb0a9(0x1b4)]((_0x2fc6dc,_0x5f5da6)=>{const _0x1a0bc7=_0x6fb0a9;_0x37e539[_0x1a0bc7(0x1bf)](_0x37e539['cOmQy'](Date['now'](),_0x37e539[_0x1a0bc7(0x165)](_0x37e539[_0x1a0bc7(0x148)](parseInt,_0x2fc6dc[_0x1a0bc7(0x1c8)]),0x3e8)),_0x45095c)&&this['msgCache'][_0x1a0bc7(0x18b)](_0x5f5da6);});},_0x45095c);}async['init'](_0x40cb04){const _0x458029=_0x55333a;await super[_0x458029(0x194)](_0x40cb04),this[_0x458029(0x163)]=await this[_0x458029(0x188)]();}[_0x55333a(0x1aa)](){const _0x304d9c=_0x55333a,_0x4f284d={'rcvnn':function(_0x333909,_0x2dfc4d,_0x36cc34){return _0x333909(_0x2dfc4d,_0x36cc34);},'naIzY':_0x304d9c(0x16b),'eQWtu':_0x304d9c(0x19d),'obxkm':function(_0x2a3a93,_0x2c2603,_0x73460d){return _0x2a3a93(_0x2c2603,_0x73460d);}},_0xc0b6f2=_0x304d9c(0x13a);this['db'][_0x304d9c(0x1be)](_0xc0b6f2,function(_0x37d01f){const _0x3fb4fd=_0x304d9c;_0x37d01f&&_0x4f284d[_0x3fb4fd(0x19e)](logError,_0x4f284d[_0x3fb4fd(0x14a)],_0x37d01f[_0x3fb4fd(0x156)]);});const _0x1a5fbd=_0x304d9c(0x16f);this['db'][_0x304d9c(0x1be)](_0x1a5fbd,function(_0x44bd40){const _0x4dc565=_0x304d9c;_0x44bd40&&_0x4f284d[_0x4dc565(0x19e)](logError,_0x4f284d[_0x4dc565(0x1bc)],_0x44bd40);});const _0x2f1faa=_0x304d9c(0x15f);this['db'][_0x304d9c(0x1be)](_0x2f1faa,function(_0x5e532d){const _0x226e17=_0x304d9c;_0x5e532d&&_0x4f284d[_0x226e17(0x191)](logError,_0x226e17(0x17d),_0x5e532d);});}async['getCurrentMaxShortId'](){const _0x36841a=_0x55333a,_0x57d1fe={'FHeeq':_0x36841a(0x168),'acQlK':function(_0x5762ee,_0x230970){return _0x5762ee(_0x230970);},'nSsKQ':_0x36841a(0x13f),'qJuRy':_0x36841a(0x16e)};return new Promise((_0x13a87b,_0x31a22c)=>{const _0x3f27d7=_0x36841a;this['db'][_0x3f27d7(0x174)](_0x57d1fe[_0x3f27d7(0x13e)],(_0x5822dd,_0x4bcdef)=>{const _0x2daa50=_0x3f27d7;if(_0x5822dd)return logDebug(_0x57d1fe[_0x2daa50(0x1b2)],_0x5822dd),_0x57d1fe[_0x2daa50(0x142)](_0x13a87b,-0x7ffffff8);logDebug(_0x57d1fe[_0x2daa50(0x147)],_0x4bcdef?.['maxId']),_0x57d1fe[_0x2daa50(0x142)](_0x13a87b,_0x4bcdef?.[_0x2daa50(0x144)]??-0x7ffffff8);});});}async[_0x55333a(0x1a5)](_0x48a1d6,_0x517fb9){const _0xc85ec2=_0x55333a,_0x4efeef={'vaidL':function(_0x38f1f5,_0x2c0d9c,_0x59882e,_0x197926,_0x34d0bc){return _0x38f1f5(_0x2c0d9c,_0x59882e,_0x197926,_0x34d0bc);},'UOGeD':function(_0x23a016,_0x22e71e){return _0x23a016(_0x22e71e);}},_0x4e474a=this['db'][_0xc85ec2(0x1a0)](_0x48a1d6);return new Promise((_0x41b23d,_0x658f3d)=>{const _0x651823=_0xc85ec2,_0x228a76={'eIlSu':function(_0xfca80f,_0x90bd72){const _0x294fb3=_0x57e7;return _0x4efeef[_0x294fb3(0x13c)](_0xfca80f,_0x90bd72);}};_0x4e474a[_0x651823(0x174)](..._0x517fb9,(_0x3e4b43,_0x43a872)=>{const _0x46526f=_0x651823,_0x252b3c={'WBJrq':function(_0x12eb9d,_0x385241){return _0x12eb9d(_0x385241);}};if(_0x3e4b43)return _0x4efeef[_0x46526f(0x145)](logError,'Could\x20not\x20get\x20msg',_0x3e4b43,_0x48a1d6,_0x517fb9),_0x41b23d(null);if(!_0x43a872){_0x4efeef[_0x46526f(0x13c)](_0x41b23d,null);return;}const _0x19e9f0=_0x43a872[_0x46526f(0x14d)];NTQQMsgApi[_0x46526f(0x17b)]({'peerUid':_0x43a872['peerUid'],'chatType':_0x43a872['chatType']},[_0x19e9f0])['then'](_0x39af58=>{const _0x252044=_0x46526f,_0x58465b=_0x39af58[_0x252044(0x1ab)][0x0];if(!_0x58465b){_0x228a76[_0x252044(0x1c6)](_0x41b23d,null);return;}_0x58465b['id']=_0x43a872[_0x252044(0x1bb)],_0x41b23d(_0x58465b);})[_0x46526f(0x175)](_0x3530aa=>{const _0x562753=_0x46526f;_0x252b3c[_0x562753(0x15c)](_0x41b23d,null);});});});}async[_0x55333a(0x181)](_0x4fbd76){const _0x592561=_0x55333a,_0x16e6bb={'KPGzJ':'SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?'};if(this[_0x592561(0x14b)][_0x592561(0x169)](_0x4fbd76))return this[_0x592561(0x14b)][_0x592561(0x174)](_0x4fbd76);const _0x231fe8=_0x16e6bb[_0x592561(0x14c)];return this['getMsg'](_0x231fe8,[_0x4fbd76]);}async[_0x55333a(0x139)](_0x1d6395){const _0x27d9c4=_0x55333a,_0x804c05={'WRHWA':'SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?'};if(this[_0x27d9c4(0x14b)][_0x27d9c4(0x169)](_0x1d6395))return this[_0x27d9c4(0x14b)][_0x27d9c4(0x174)](_0x1d6395);return this['getMsg'](_0x804c05[_0x27d9c4(0x141)],[_0x1d6395]);}async[_0x55333a(0x1a8)](_0x3a6f33,_0x3a787e){const _0x2b890d=_0x55333a,_0x368988={'CADef':_0x2b890d(0x172)},_0x39100c=_0x368988[_0x2b890d(0x18a)];return this['getMsg'](_0x39100c,[_0x3a6f33,_0x3a787e]);}async['addMsg'](_0x41680f,_0x43453a=!![]){const _0x408a13=_0x55333a,_0x33cbba={'IEjJE':function(_0x45d333,_0x17ea18,_0x4e2182){return _0x45d333(_0x17ea18,_0x4e2182);},'juCqs':function(_0x5d6516,_0x11cd76){return _0x5d6516===_0x11cd76;},'GyiCW':function(_0xe2e0f4,_0x9619a6,_0x284770){return _0xe2e0f4(_0x9619a6,_0x284770);},'AfLdX':'db\x20could\x20not\x20add\x20msg','GhyWe':'INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','BdBGu':function(_0x52b4bd,_0x5710b2){return _0x52b4bd(_0x5710b2);}},_0x34f511=await this[_0x408a13(0x139)](_0x41680f[_0x408a13(0x1bd)]);if(_0x34f511){if(_0x43453a)this[_0x408a13(0x17f)](_0x41680f)[_0x408a13(0x152)]();return _0x34f511['id'];}const _0x10c7f0=this['db'][_0x408a13(0x1a0)](_0x33cbba[_0x408a13(0x178)]),_0x2d9493=++this[_0x408a13(0x163)];return _0x41680f['id']=_0x2d9493,_0x33cbba['BdBGu'](logDebug,'记录消息到数据库,\x20消息长id:\x20'+_0x41680f['msgId']+_0x408a13(0x1a4)+_0x41680f['id']),this['msgCache'][_0x408a13(0x196)](_0x2d9493,_0x41680f),this[_0x408a13(0x14b)][_0x408a13(0x196)](_0x41680f[_0x408a13(0x1bd)],_0x41680f),_0x10c7f0['run'](this['globalMsgShortId'],_0x41680f[_0x408a13(0x1bd)],_0x41680f[_0x408a13(0x14f)][_0x408a13(0x1b6)](),_0x41680f[_0x408a13(0x1c7)],_0x41680f[_0x408a13(0x1c4)],_0x361f81=>{const _0x1e77b6=_0x408a13;_0x361f81&&(_0x33cbba[_0x1e77b6(0x15a)](_0x361f81[_0x1e77b6(0x15d)],0x13)?this[_0x1e77b6(0x139)](_0x41680f['msgId'])[_0x1e77b6(0x152)](_0x51a57a=>{const _0x180c83=_0x1e77b6;_0x51a57a?(this[_0x180c83(0x14b)][_0x180c83(0x196)](_0x2d9493,_0x51a57a),this[_0x180c83(0x14b)]['set'](_0x51a57a[_0x180c83(0x1bd)],_0x51a57a)):_0x33cbba['IEjJE'](logError,_0x180c83(0x179),_0x361f81);})[_0x1e77b6(0x175)](_0xb7296a=>logError(_0x1e77b6(0x1b1),_0xb7296a)):_0x33cbba[_0x1e77b6(0x157)](logError,_0x33cbba[_0x1e77b6(0x185)],_0x361f81));}),_0x2d9493;}async['updateMsg'](_0x4109d9){const _0x25715d=_0x55333a,_0x578f2c={'XvCJS':function(_0x45df94,_0x7a8732,_0xb7d731){return _0x45df94(_0x7a8732,_0xb7d731);},'ybuKK':_0x25715d(0x1c0)},_0x79cefd=this[_0x25715d(0x14b)]['get'](_0x4109d9['msgId']);_0x79cefd&&Object[_0x25715d(0x176)](_0x79cefd,_0x4109d9);logDebug(_0x25715d(0x189)+_0x4109d9['id']+_0x25715d(0x170)+_0x4109d9[_0x25715d(0x14f)]+_0x25715d(0x195)+_0x4109d9[_0x25715d(0x1bd)]);const _0x1d5b65=this['db']['prepare'](_0x25715d(0x1b9));_0x1d5b65[_0x25715d(0x1be)](_0x4109d9[_0x25715d(0x14f)],_0x4109d9[_0x25715d(0x1bd)],_0x1e330f=>{const _0xcb1e8e=_0x25715d;_0x1e330f&&_0x578f2c[_0xcb1e8e(0x180)](logError,_0x578f2c[_0xcb1e8e(0x18e)],_0x1e330f);});}async[_0x55333a(0x1c3)](_0xbe638c){const _0x2d8432=_0x55333a,_0x1e44c6={'QZlck':_0x2d8432(0x140),'RNOmN':function(_0x2ff2a5,_0x148050){return _0x2ff2a5(_0x148050);},'FotMW':function(_0x80960d,_0x49bc64){return _0x80960d(_0x49bc64);}},_0x3d51d5=this['db']['prepare'](_0x2d8432(0x1a6));return new Promise((_0x32de76,_0x459711)=>{const _0x11de84=_0x2d8432,_0x3f61c4={'HODWe':function(_0x362292,_0x36c590,_0x3df70b){return _0x362292(_0x36c590,_0x3df70b);},'tAPWU':_0x1e44c6['QZlck'],'Wsghj':function(_0x364eac,_0x38c198){const _0x5ea061=_0x57e7;return _0x1e44c6[_0x5ea061(0x159)](_0x364eac,_0x38c198);},'ZvrHL':function(_0x177cea,_0x4139cf){const _0x459403=_0x57e7;return _0x1e44c6[_0x459403(0x17c)](_0x177cea,_0x4139cf);}};_0x3d51d5['run'](_0xbe638c[_0x11de84(0x182)],_0xbe638c[_0x11de84(0x16c)],_0xbe638c['url'],_0xbe638c[_0x11de84(0x13b)],_0xbe638c[_0x11de84(0x149)],_0xbe638c['elementType'],JSON[_0x11de84(0x18c)](_0xbe638c['element']),_0xbe638c[_0x11de84(0x1c5)],_0xbe638c[_0x11de84(0x1bd)],function(_0x5c5c85){const _0x45e53f=_0x11de84;_0x5c5c85&&(_0x3f61c4['HODWe'](logError,_0x3f61c4[_0x45e53f(0x184)],_0x5c5c85),_0x3f61c4['Wsghj'](_0x459711,_0x5c5c85)),_0x3f61c4['ZvrHL'](_0x32de76,null);});});}async['getFileCache'](_0x396663,_0x4c7fb0){const _0x33b8ba=_0x55333a,_0x25912d={'wrqou':function(_0x415fdd,_0x1b2b0a,_0x250935){return _0x415fdd(_0x1b2b0a,_0x250935);},'JFtoc':_0x33b8ba(0x19f),'qtTjw':function(_0x15c9e8,_0x5dd1ae){return _0x15c9e8(_0x5dd1ae);}},_0x58713d=this['db']['prepare'](_0x396663);return new Promise((_0x2923c1,_0x4a2c37)=>{const _0x421017=_0x33b8ba,_0x54559d={'ceacB':function(_0xe184e6,_0x4f5665,_0x243485){const _0x7890c8=_0x57e7;return _0x25912d[_0x7890c8(0x150)](_0xe184e6,_0x4f5665,_0x243485);},'Iwhxk':_0x25912d[_0x421017(0x17a)],'irfqv':function(_0x588e08,_0x5aa858){return _0x25912d['qtTjw'](_0x588e08,_0x5aa858);}};_0x58713d['get'](..._0x4c7fb0,(_0x2430da,_0x42f3ac)=>{const _0x44bbf8=_0x421017;_0x2430da&&(_0x54559d['ceacB'](logError,_0x54559d[_0x44bbf8(0x1b0)],_0x2430da),_0x4a2c37(_0x2430da)),_0x42f3ac&&(_0x42f3ac['element']=JSON[_0x44bbf8(0x18d)](_0x42f3ac['element'])),_0x54559d[_0x44bbf8(0x19c)](_0x2923c1,_0x42f3ac);});});}async['getFileCacheByName'](_0x451e23){const _0x46e721=_0x55333a;return this[_0x46e721(0x186)]('SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?',[_0x451e23]);}async['getFileCacheByUuid'](_0x1c48f6){const _0x5a73eb=_0x55333a,_0x44af42={'zkTEv':_0x5a73eb(0x153)};return this['getFileCache'](_0x44af42[_0x5a73eb(0x17e)],[_0x1c48f6]);}async[_0x55333a(0x166)](_0x3ccd5e){const _0x113de0=_0x55333a,_0x7156f1={'TzfPv':_0x113de0(0x162)},_0x325035=this['db'][_0x113de0(0x1a0)](_0x7156f1[_0x113de0(0x1c1)]);return new Promise((_0x2faa46,_0x1a0f78)=>{const _0x1cba0c=_0x113de0,_0x87c693={'iYiva':function(_0x2f6b98,_0x521cfc,_0x3190c7){return _0x2f6b98(_0x521cfc,_0x3190c7);}};_0x325035[_0x1cba0c(0x1be)](_0x3ccd5e[_0x1cba0c(0x16c)],_0x3ccd5e[_0x1cba0c(0x13d)],_0x3ccd5e[_0x1cba0c(0x149)],function(_0x352c50){const _0x563fb5=_0x1cba0c;_0x352c50&&(_0x87c693[_0x563fb5(0x193)](logError,_0x563fb5(0x192),_0x352c50),_0x1a0f78(_0x352c50)),_0x2faa46(null);});});}async[_0x55333a(0x1a3)](){const _0x5049e8=_0x55333a,_0x5ac977={'Bfuuf':function(_0x3baf21,_0x99752a,_0xf90c16){return _0x3baf21(_0x99752a,_0xf90c16);},'sBUVU':'db\x20could\x20not\x20get\x20temp\x20uin\x20map','YHaJt':function(_0x4a9457,_0x4bd39d){return _0x4a9457(_0x4bd39d);}},_0x15f820=_0x5049e8(0x173);return new Promise((_0x55323e,_0x1bab7a)=>{const _0x32d83a=_0x5049e8,_0x247c82={'zQaPP':function(_0x4e0a7d,_0x4218fb,_0x174acb){const _0x369353=_0x57e7;return _0x5ac977[_0x369353(0x18f)](_0x4e0a7d,_0x4218fb,_0x174acb);},'NPqGk':_0x5ac977[_0x32d83a(0x1b5)],'gNEUJ':function(_0x4bcba0,_0x335976){const _0x1150c6=_0x32d83a;return _0x5ac977[_0x1150c6(0x15e)](_0x4bcba0,_0x335976);}};this['db'][_0x32d83a(0x15b)](_0x15f820,(_0x2565a7,_0x468ecf)=>{const _0x15bcdc=_0x32d83a;_0x2565a7&&(_0x247c82[_0x15bcdc(0x138)](logError,_0x247c82['NPqGk'],_0x2565a7),_0x247c82['gNEUJ'](_0x1bab7a,_0x2565a7));const _0x2ea7fa={};_0x468ecf[_0x15bcdc(0x1b4)](_0x283e78=>{const _0x639d6=_0x15bcdc;_0x2ea7fa[_0x283e78[_0x639d6(0x198)]]=_0x283e78[_0x639d6(0x16a)];}),_0x247c82['gNEUJ'](_0x55323e,_0x2ea7fa);});});}async[_0x55333a(0x1c2)](_0xb98ebf){const _0x451e58=_0x55333a,_0x1ada7d={'rNRTu':function(_0x484bed,_0x1acb64,_0x530f3c){return _0x484bed(_0x1acb64,_0x530f3c);},'BfJsq':_0x451e58(0x19b),'WnXeD':function(_0x1e9544,_0x57e00e){return _0x1e9544(_0x57e00e);},'HAxmK':_0x451e58(0x19a)},_0x174810=_0x1ada7d['HAxmK'];return new Promise((_0x35b20c,_0x15312b)=>{const _0x180066=_0x451e58,_0x155715={'SnMqx':function(_0x24534c,_0x2e5735,_0x4d4f36){return _0x1ada7d['rNRTu'](_0x24534c,_0x2e5735,_0x4d4f36);},'bBuyV':_0x1ada7d[_0x180066(0x167)],'GjgKK':function(_0x20548d,_0x356553){return _0x20548d(_0x356553);},'UMnpZ':function(_0x23b7b4,_0x4721ee){const _0x29b8a8=_0x180066;return _0x1ada7d[_0x29b8a8(0x160)](_0x23b7b4,_0x4721ee);}};this['db'][_0x180066(0x174)](_0x174810,[_0xb98ebf],(_0x451f31,_0x3a8c06)=>{const _0x1acff2=_0x180066;_0x451f31&&(_0x155715[_0x1acff2(0x197)](logError,_0x155715[_0x1acff2(0x1b3)],_0x451f31),_0x155715['GjgKK'](_0x15312b,_0x451f31)),_0x155715[_0x1acff2(0x151)](_0x35b20c,_0x3a8c06?.['uid']);});});}async[_0x55333a(0x161)](_0x26bdd5,_0x37a798){const _0x32b273=_0x55333a,_0x26052f={'KIoPM':function(_0x337ee1,_0x4ee2f4,_0x425a4c){return _0x337ee1(_0x4ee2f4,_0x425a4c);},'QnIyA':_0x32b273(0x158),'yjsVO':function(_0x5e7c06,_0x291ffa){return _0x5e7c06(_0x291ffa);},'PTuCe':_0x32b273(0x187)},_0x14539b=await this[_0x32b273(0x1c2)](_0x26bdd5);if(!_0x14539b){const _0x20a6b5=this['db'][_0x32b273(0x1a0)](_0x26052f[_0x32b273(0x1af)]);return new Promise((_0x5e9025,_0x296e6d)=>{_0x20a6b5['run'](_0x26bdd5,_0x37a798,function(_0x3fc0d7){const _0x4c3f72=_0x57e7;_0x3fc0d7&&(_0x26052f[_0x4c3f72(0x1ac)](logError,_0x26052f[_0x4c3f72(0x1ba)],_0x3fc0d7),_0x26052f[_0x4c3f72(0x143)](_0x296e6d,_0x3fc0d7)),_0x5e9025(null);});});}}}function _0x5545(){const _0x2c0557=['\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)','size','UOGeD','url','qJuRy','数据库中消息最大短id','db\x20could\x20not\x20add\x20file','WRHWA','acQlK','yjsVO','maxId','vaidL','5417706DQBGwc','nSsKQ','NACOT','uuid','naIzY','msgCache','KPGzJ','longId','482247GcIbWf','msgSeq','wrqou','UMnpZ','then','SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?','305333pcqZnF','close','stack','GyiCW','db\x20could\x20not\x20add\x20temp\x20uin','RNOmN','juCqs','all','WBJrq','errno','YHaJt','\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)','WnXeD','addTempUin','UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?','globalMsgShortId','4912300TqJmyJ','fMEWV','updateFileCache','BfJsq','Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640','has','uid','Could\x20not\x20create\x20table\x20msgs','path','lAWhb','SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs','\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)',',\x20seq:\x20','OPEN_CREATE','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','SELECT\x20*\x20FROM\x20temp_uins','get','catch','assign','Database','GhyWe','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','JFtoc','getMsgsByMsgId','FotMW','Could\x20not\x20create\x20table\x20temp_uins','zkTEv','updateMsg','XvCJS','getMsgByShortId','name','清理消息缓存','tAPWU','AfLdX','getFileCache','INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)','getCurrentMaxShortId','更新消息,\x20shortId:','CADef','delete','stringify','parse','ybuKK','Bfuuf','Could\x20not\x20connect\x20to\x20database','obxkm','db\x20could\x20not\x20update\x20file\x20cache','iYiva','init',',\x20msgId:\x20','set','SnMqx','uin','265676tVSLzH','SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?','db\x20could\x20not\x20get\x20temp\x20uin\x20map','irfqv','Could\x20not\x20create\x20table\x20files','rcvnn','db\x20could\x20not\x20get\x20file\x20cache','prepare','230052krHvcs','OPEN_READWRITE','getReceivedTempUinMap',',\x20短id:\x20','getMsg','INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)','1091780swQTab','getMsgBySeq','224UoLltO','createTable','msgList','KIoPM','Method\x20not\x20implemented.','GbsgQ','PTuCe','Iwhxk','db\x20getMsgByLongId\x20error','FHeeq','bBuyV','forEach','sBUVU','toString','iklMm','hpOxZ','UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?','QnIyA','shortId','eQWtu','msgId','run','ovZNg','updateMsg\x20db\x20error','TzfPv','getUidByTempUin','addFileCache','chatType','elementId','eIlSu','peerUid','msgTime','zQaPP','getMsgByLongId'];_0x5545=function(){return _0x2c0557;};return _0x5545();}export const dbUtil=new DBUtil(); \ No newline at end of file +const _0xfb6eb3=_0x324b;function _0x4c77(){const _0x336864=['close','NGPkH','JUFJF','db\x20could\x20not\x20update\x20file\x20cache','BjAcL','toString','qLakw','maxId','nZjbL','UTRYo','updateMsg\x20db\x20error','LtPlG','db\x20getMsgByLongId\x20error','addTempUin','更新消息,\x20shortId:','msgList','\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)','uuid','getMsgByLongId','has','Database','Could\x20not\x20create\x20table\x20msgs','mvJMX','getMsg','getUidByTempUin','uaOtc','HcHhI','db\x20could\x20not\x20add\x20temp\x20uin','\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)','olgtQ','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','ejKNr','rycKB','stack','poWPl','lGMWQ','then','path','ZdjrE','uxyld','REEWj','getMsgBySeq','174216chFuEj','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','getFileCacheByName','数据库中消息最大短id','INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','1642310YkPaFf','uid','stringify','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?','fUSgF','oYxMB','Qszwi','SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?','gvZWj','KKeco','forEach','getFileCache','KGEIH','UoHdo','sXLAE','tAOBg','191469DKLyGJ','addMsg','updateFileCache','OPrrW','elementType','ewCDM','SELECT\x20*\x20FROM\x20temp_uins','getFileCacheByUuid','prepare','chatType','RVQZb','XbZro','createTable','1539384iToodc','SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?','MoLqe','zrdIM','lYiwo','updateMsg','LQglk','srtFe','INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)','CLqVj','msgId','TCPkS','db\x20could\x20not\x20get\x20temp\x20uin\x20map','1311642vEItDp','Could\x20not\x20connect\x20to\x20database','set','msgCache','tUqlB','getMsgsByMsgId','JZnFB','globalMsgShortId','GWaMI','oQWht','getReceivedTempUinMap','dyHWV','catch','juhqV','msgTime','KxnMO','swPuT','peerUid','75176FqOuzD','cGvWs','errno','getCurrentMaxShortId','element','KjQdd','SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs','addFileCache','elementId','get','Could\x20not\x20create\x20table\x20temp_uins','12deDJzH','run','all','gwuND','name','db\x20could\x20not\x20get\x20file\x20cache','UhMnQ','SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?','Yfquj','eXyIR',',\x20msgId:\x20','DqGHT','Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640','ecYPo','XMyWa','msgSeq','init','BoKXD','shortId','nfqpD','parse','SwXlx','XdrXk',',\x20短id:\x20','INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)','mFOwd','hUwJz','1705277NnzdSo','qBzeE'];_0x4c77=function(){return _0x336864;};return _0x4c77();}(function(_0xe26476,_0x1412ee){const _0x39061b=_0x324b,_0x54f17e=_0xe26476();while(!![]){try{const _0x1cf635=parseInt(_0x39061b(0x17e))/0x1+parseInt(_0x39061b(0x1bf))/0x2+-parseInt(_0x39061b(0x193))/0x3*(parseInt(_0x39061b(0x1ca))/0x4)+parseInt(_0x39061b(0x183))/0x5+-parseInt(_0x39061b(0x1ad))/0x6+parseInt(_0x39061b(0x1e5))/0x7+-parseInt(_0x39061b(0x1a0))/0x8;if(_0x1cf635===_0x1412ee)break;else _0x54f17e['push'](_0x54f17e['shift']());}catch(_0x5bab58){_0x54f17e['push'](_0x54f17e['shift']());}}}(_0x4c77,0x2c482));import _0x501cbf from'sqlite3';import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';class DBUtilBase{['db'];async[_0xfb6eb3(0x1da)](_0x29e53b){const _0x5dea05=_0xfb6eb3,_0x4df3b5={'uaOtc':function(_0xd848e9,_0x77dd8d,_0x3bed45){return _0xd848e9(_0x77dd8d,_0x3bed45);},'MoLqe':_0x5dea05(0x1ae),'XdrXk':function(_0x8062b2,_0x1cab90){return _0x8062b2(_0x1cab90);},'KxnMO':function(_0x325be5,_0x5be77e){return _0x325be5|_0x5be77e;}};if(this['db'])return;return new Promise((_0x7e97a2,_0x3183e4)=>{const _0x4c66ff=_0x5dea05,_0x38c774={'fbkyB':function(_0x1651f8,_0x49777f,_0xcff395){const _0x5d27c3=_0x324b;return _0x4df3b5[_0x5d27c3(0x200)](_0x1651f8,_0x49777f,_0xcff395);},'hUwJz':_0x4df3b5[_0x4c66ff(0x1a2)],'RVQZb':function(_0x43afbd,_0x5926b9){const _0x2aa192=_0x4c66ff;return _0x4df3b5[_0x2aa192(0x1e0)](_0x43afbd,_0x5926b9);},'sXLAE':function(_0x47f40b){return _0x47f40b();}};this['db']=new _0x501cbf[(_0x4c66ff(0x1fb))](_0x29e53b,_0x4df3b5[_0x4c66ff(0x1bc)](_0x501cbf['OPEN_READWRITE'],_0x501cbf['OPEN_CREATE']),_0x379a5b=>{const _0x5f5b1c=_0x4c66ff;if(_0x379a5b){_0x38c774['fbkyB'](logError,_0x38c774[_0x5f5b1c(0x1e4)],_0x379a5b),_0x38c774[_0x5f5b1c(0x19d)](_0x3183e4,_0x379a5b);return;}this[_0x5f5b1c(0x19f)](),_0x38c774[_0x5f5b1c(0x191)](_0x7e97a2);});});}[_0xfb6eb3(0x19f)](){const _0x56a880=_0xfb6eb3,_0x155041={'nZjbL':'Method\x20not\x20implemented.'};throw new Error(_0x155041[_0x56a880(0x1ef)]);}[_0xfb6eb3(0x1e7)](){const _0x2e4f79=_0xfb6eb3;this['db']?.[_0x2e4f79(0x1e7)]();}}class DBUtil extends DBUtilBase{[_0xfb6eb3(0x1b0)]=new Map();[_0xfb6eb3(0x1b4)]=-0x7ffffff8;constructor(){const _0x26247b=_0xfb6eb3,_0x83fa29={'ecYPo':function(_0x5a0227,_0x4b4749){return _0x5a0227>_0x4b4749;},'KKeco':function(_0x14f971,_0x3def39){return _0x14f971-_0x3def39;},'klHqv':'清理消息缓存','qLakw':function(_0xcd36a7,_0x188d58){return _0xcd36a7*_0x188d58;},'GWaMI':function(_0x496357,_0x3fb9f1){return _0x496357*_0x3fb9f1;},'ejKNr':function(_0x3b803c,_0x4abd13,_0x3d1bad){return _0x3b803c(_0x4abd13,_0x3d1bad);}};super();const _0x538c96=_0x83fa29[_0x26247b(0x1ed)](_0x83fa29[_0x26247b(0x1b5)](0x3e8,0x3c),0xa);_0x83fa29[_0x26247b(0x206)](setInterval,()=>{const _0x226f1c=_0x26247b;logDebug(_0x83fa29['klHqv']),this['msgCache'][_0x226f1c(0x18d)]((_0x4b97ab,_0xffa58e)=>{const _0x491746=_0x226f1c;_0x83fa29[_0x491746(0x1d7)](_0x83fa29[_0x491746(0x18c)](Date['now'](),parseInt(_0x4b97ab[_0x491746(0x1bb)])*0x3e8),_0x538c96)&&this['msgCache']['delete'](_0xffa58e);});},_0x538c96);}async[_0xfb6eb3(0x1da)](_0x468c17){const _0x596bd9=_0xfb6eb3;await super[_0x596bd9(0x1da)](_0x468c17),this['globalMsgShortId']=await this[_0x596bd9(0x1c2)]();}[_0xfb6eb3(0x19f)](){const _0x12b1ff=_0xfb6eb3,_0x4c0f58={'mFOwd':_0x12b1ff(0x1fc),'qBzeE':function(_0xa20849,_0xb68f9b,_0x5e4c14){return _0xa20849(_0xb68f9b,_0x5e4c14);},'tAOBg':'Could\x20not\x20create\x20table\x20files','juhqV':function(_0x3fae92,_0x35724a,_0x19cfd9){return _0x3fae92(_0x35724a,_0x19cfd9);},'ZdjrE':_0x12b1ff(0x1c9)},_0x37be0f='\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)';this['db']['run'](_0x37be0f,function(_0x1a6162){const _0x48a619=_0x12b1ff;_0x1a6162&&logError(_0x4c0f58[_0x48a619(0x1e3)],_0x1a6162[_0x48a619(0x208)]);});const _0x53ca2c=_0x12b1ff(0x203);this['db']['run'](_0x53ca2c,function(_0x53d773){const _0x5355fa=_0x12b1ff;_0x53d773&&_0x4c0f58[_0x5355fa(0x1e6)](logError,_0x4c0f58[_0x5355fa(0x192)],_0x53d773);});const _0x249e16=_0x12b1ff(0x1f7);this['db'][_0x12b1ff(0x1cb)](_0x249e16,function(_0x5c777b){const _0x1740b9=_0x12b1ff;_0x5c777b&&_0x4c0f58[_0x1740b9(0x1ba)](logError,_0x4c0f58[_0x1740b9(0x20d)],_0x5c777b);});}async[_0xfb6eb3(0x1c2)](){const _0x599543=_0xfb6eb3,_0xc1d9a2={'CLqVj':_0x599543(0x181),'lGMWQ':_0x599543(0x1c5)};return new Promise((_0x924241,_0xf8ffd2)=>{const _0x433480=_0x599543,_0x4767f8={'oQWht':function(_0x2d4db0,_0x1dbe4e){return _0x2d4db0(_0x1dbe4e);},'nfqpD':_0xc1d9a2[_0x433480(0x1a9)]};this['db'][_0x433480(0x1c8)](_0xc1d9a2[_0x433480(0x20a)],(_0x49efad,_0x55d19d)=>{const _0x552399=_0x433480;if(_0x49efad)return logDebug(_0x552399(0x1d6),_0x49efad),_0x4767f8['oQWht'](_0x924241,-0x7ffffff8);logDebug(_0x4767f8[_0x552399(0x1dd)],_0x55d19d?.['maxId']),_0x4767f8[_0x552399(0x1b6)](_0x924241,_0x55d19d?.[_0x552399(0x1ee)]??-0x7ffffff8);});});}async[_0xfb6eb3(0x1fe)](_0x419caf,_0x1d341e){const _0x1aae8b={'UoHdo':function(_0xd8d52c,_0x3bd047){return _0xd8d52c(_0x3bd047);},'ZUCSL':function(_0x3c95df,_0x2c59bd){return _0x3c95df(_0x2c59bd);},'gwuND':'Could\x20not\x20get\x20msg'},_0x4ecfac=this['db']['prepare'](_0x419caf);return new Promise((_0x5c1697,_0x2f6f6d)=>{const _0x3d3824=_0x324b,_0x152da9={'HcHhI':function(_0x3d1568,_0x4b25f7){const _0xfa31a8=_0x324b;return _0x1aae8b[_0xfa31a8(0x190)](_0x3d1568,_0x4b25f7);},'REEWj':function(_0x5d404e,_0x10660e){return _0x1aae8b['ZUCSL'](_0x5d404e,_0x10660e);},'poWPl':_0x1aae8b[_0x3d3824(0x1cd)]};_0x4ecfac[_0x3d3824(0x1c8)](..._0x1d341e,(_0x365f92,_0x2fa78d)=>{const _0x4acb31=_0x3d3824,_0x59172b={'XMyWa':function(_0x35fb89,_0x1a2dce){const _0x9d5e8f=_0x324b;return _0x152da9[_0x9d5e8f(0x17c)](_0x35fb89,_0x1a2dce);},'OPrrW':function(_0x1778ef,_0x30f367){return _0x1778ef(_0x30f367);}};if(_0x365f92)return logError(_0x152da9[_0x4acb31(0x209)],_0x365f92,_0x419caf,_0x1d341e),_0x152da9[_0x4acb31(0x17c)](_0x5c1697,null);if(!_0x2fa78d){_0x5c1697(null);return;}const _0x51b500=_0x2fa78d['longId'];NTQQMsgApi[_0x4acb31(0x1b2)]({'peerUid':_0x2fa78d[_0x4acb31(0x1be)],'chatType':_0x2fa78d[_0x4acb31(0x19c)]},[_0x51b500])[_0x4acb31(0x20b)](_0x5dd77f=>{const _0x1791f1=_0x4acb31,_0x4e64e8=_0x5dd77f[_0x1791f1(0x1f6)][0x0];if(!_0x4e64e8){_0x59172b[_0x1791f1(0x1d8)](_0x5c1697,null);return;}_0x4e64e8['id']=_0x2fa78d[_0x1791f1(0x1dc)],_0x59172b[_0x1791f1(0x196)](_0x5c1697,_0x4e64e8);})['catch'](_0x596754=>{const _0x2899f8=_0x4acb31;_0x152da9[_0x2899f8(0x201)](_0x5c1697,null);});});});}async['getMsgByShortId'](_0x3de23e){const _0x166f62=_0xfb6eb3,_0x448f06={'srtFe':_0x166f62(0x186)};if(this[_0x166f62(0x1b0)]['has'](_0x3de23e))return this[_0x166f62(0x1b0)][_0x166f62(0x1c8)](_0x3de23e);const _0x20259a=_0x448f06[_0x166f62(0x1a7)];return this[_0x166f62(0x1fe)](_0x20259a,[_0x3de23e]);}async['getMsgByLongId'](_0x4a4ddc){const _0x2a8217=_0xfb6eb3,_0x3cb299={'BoKXD':'SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?'};if(this[_0x2a8217(0x1b0)][_0x2a8217(0x1fa)](_0x4a4ddc))return this[_0x2a8217(0x1b0)][_0x2a8217(0x1c8)](_0x4a4ddc);return this[_0x2a8217(0x1fe)](_0x3cb299[_0x2a8217(0x1db)],[_0x4a4ddc]);}async[_0xfb6eb3(0x17d)](_0x1ca9c9,_0x4ed4f8){const _0xaeb017=_0xfb6eb3,_0x409503={'LmYND':_0xaeb017(0x205)},_0x1e04f3=_0x409503['LmYND'];return this[_0xaeb017(0x1fe)](_0x1e04f3,[_0x1ca9c9,_0x4ed4f8]);}async[_0xfb6eb3(0x194)](_0x4bdcf0,_0x3fcf32=!![]){const _0x3dfb99=_0xfb6eb3,_0x2c7fd7={'uxyld':function(_0x22bb04,_0x3886f5,_0x2a4f59){return _0x22bb04(_0x3886f5,_0x2a4f59);},'DowfW':_0x3dfb99(0x17f),'eXyIR':function(_0x48647a,_0x161f61){return _0x48647a===_0x161f61;},'LtPlG':'db\x20could\x20not\x20add\x20msg','dyHWV':_0x3dfb99(0x182)},_0x4d5bef=await this['getMsgByLongId'](_0x4bdcf0[_0x3dfb99(0x1aa)]);if(_0x4d5bef){if(_0x3fcf32)this[_0x3dfb99(0x1a5)](_0x4bdcf0)['then']();return _0x4d5bef['id'];}const _0x1a4e0f=this['db']['prepare'](_0x2c7fd7[_0x3dfb99(0x1b8)]),_0x2088d3=++this['globalMsgShortId'];return _0x4bdcf0['id']=_0x2088d3,logDebug('记录消息到数据库,\x20消息长id:\x20'+_0x4bdcf0[_0x3dfb99(0x1aa)]+_0x3dfb99(0x1e1)+_0x4bdcf0['id']),this[_0x3dfb99(0x1b0)][_0x3dfb99(0x1af)](_0x2088d3,_0x4bdcf0),this[_0x3dfb99(0x1b0)]['set'](_0x4bdcf0[_0x3dfb99(0x1aa)],_0x4bdcf0),_0x1a4e0f[_0x3dfb99(0x1cb)](this[_0x3dfb99(0x1b4)],_0x4bdcf0[_0x3dfb99(0x1aa)],_0x4bdcf0[_0x3dfb99(0x1d9)][_0x3dfb99(0x1ec)](),_0x4bdcf0[_0x3dfb99(0x1be)],_0x4bdcf0[_0x3dfb99(0x19c)],_0x17ff66=>{const _0x492b00=_0x3dfb99,_0x47a874={'cikUr':function(_0x251fe7,_0x5d4c1c,_0x55fc1a){const _0x71b50e=_0x324b;return _0x2c7fd7[_0x71b50e(0x20e)](_0x251fe7,_0x5d4c1c,_0x55fc1a);},'ewCDM':_0x2c7fd7['DowfW']};_0x17ff66&&(_0x2c7fd7[_0x492b00(0x1d3)](_0x17ff66[_0x492b00(0x1c1)],0x13)?this[_0x492b00(0x1f9)](_0x4bdcf0[_0x492b00(0x1aa)])[_0x492b00(0x20b)](_0x109538=>{const _0x1a07ee=_0x492b00;_0x109538?(this[_0x1a07ee(0x1b0)]['set'](_0x2088d3,_0x109538),this[_0x1a07ee(0x1b0)]['set'](_0x109538['msgId'],_0x109538)):_0x47a874['cikUr'](logError,_0x47a874[_0x1a07ee(0x198)],_0x17ff66);})[_0x492b00(0x1b9)](_0x2e0c72=>logError(_0x492b00(0x1f3),_0x2e0c72)):logError(_0x2c7fd7[_0x492b00(0x1f2)],_0x17ff66));}),_0x2088d3;}async[_0xfb6eb3(0x1a5)](_0x591a8d){const _0x3f21cc=_0xfb6eb3,_0x2a4b72={'DqGHT':function(_0x4ce47b,_0x515361,_0x7d03fe){return _0x4ce47b(_0x515361,_0x7d03fe);},'LQglk':_0x3f21cc(0x1f1),'JZnFB':function(_0x2c9d7e,_0x3da821){return _0x2c9d7e(_0x3da821);},'JUFJF':'UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?'},_0x219453=this[_0x3f21cc(0x1b0)]['get'](_0x591a8d['msgId']);_0x219453&&Object['assign'](_0x219453,_0x591a8d);_0x2a4b72[_0x3f21cc(0x1b3)](logDebug,_0x3f21cc(0x1f5)+_0x591a8d['id']+',\x20seq:\x20'+_0x591a8d[_0x3f21cc(0x1d9)]+_0x3f21cc(0x1d4)+_0x591a8d[_0x3f21cc(0x1aa)]);const _0x5ab095=this['db'][_0x3f21cc(0x19b)](_0x2a4b72[_0x3f21cc(0x1e9)]);_0x5ab095[_0x3f21cc(0x1cb)](_0x591a8d[_0x3f21cc(0x1d9)],_0x591a8d[_0x3f21cc(0x1aa)],_0x35e983=>{const _0x1812eb=_0x3f21cc;_0x35e983&&_0x2a4b72[_0x1812eb(0x1d5)](logError,_0x2a4b72[_0x1812eb(0x1a6)],_0x35e983);});}async[_0xfb6eb3(0x1c6)](_0x3f52db){const _0x17ced6=_0xfb6eb3,_0x47979c={'ZToFP':function(_0x14fdd9,_0x152da5,_0x1d67d1){return _0x14fdd9(_0x152da5,_0x1d67d1);},'tUqlB':'db\x20could\x20not\x20add\x20file','Yfquj':function(_0x3e7615,_0x34a0e5){return _0x3e7615(_0x34a0e5);}},_0x2922e8=this['db'][_0x17ced6(0x19b)](_0x17ced6(0x1a8));return new Promise((_0x1fa173,_0xfadf8)=>{const _0x132219=_0x17ced6,_0x3a27fd={'TCPkS':function(_0x53116c,_0x284cad,_0x7b0de0){return _0x47979c['ZToFP'](_0x53116c,_0x284cad,_0x7b0de0);},'BjAcL':_0x47979c[_0x132219(0x1b1)],'swPuT':function(_0xf12baa,_0x106d27){const _0x4dff78=_0x132219;return _0x47979c[_0x4dff78(0x1d2)](_0xf12baa,_0x106d27);}};_0x2922e8[_0x132219(0x1cb)](_0x3f52db[_0x132219(0x1ce)],_0x3f52db['path'],_0x3f52db['url'],_0x3f52db['size'],_0x3f52db[_0x132219(0x1f8)],_0x3f52db[_0x132219(0x197)],JSON[_0x132219(0x185)](_0x3f52db[_0x132219(0x1c3)]),_0x3f52db[_0x132219(0x1c7)],_0x3f52db[_0x132219(0x1aa)],function(_0x50b221){const _0x1e4b52=_0x132219;_0x50b221&&(_0x3a27fd[_0x1e4b52(0x1ab)](logError,_0x3a27fd[_0x1e4b52(0x1eb)],_0x50b221),_0x3a27fd['swPuT'](_0xfadf8,_0x50b221)),_0x3a27fd[_0x1e4b52(0x1bd)](_0x1fa173,null);});});}async[_0xfb6eb3(0x18e)](_0x56b1fa,_0x2918b5){const _0x38d9f7=_0xfb6eb3,_0x14ea45={'SwXlx':_0x38d9f7(0x1cf),'oYxMB':function(_0x169356,_0x57048d){return _0x169356(_0x57048d);}},_0x482e0b=this['db']['prepare'](_0x56b1fa);return new Promise((_0x329a7b,_0x2baa73)=>{const _0x175092=_0x38d9f7;_0x482e0b[_0x175092(0x1c8)](..._0x2918b5,(_0xb96a4f,_0x5674b8)=>{const _0x155967=_0x175092;_0xb96a4f&&(logError(_0x14ea45[_0x155967(0x1df)],_0xb96a4f),_0x14ea45['oYxMB'](_0x2baa73,_0xb96a4f)),_0x5674b8&&(_0x5674b8[_0x155967(0x1c3)]=JSON[_0x155967(0x1de)](_0x5674b8[_0x155967(0x1c3)])),_0x14ea45[_0x155967(0x188)](_0x329a7b,_0x5674b8);});});}async[_0xfb6eb3(0x180)](_0x22dbf1){const _0x4dadd9=_0xfb6eb3,_0xd30668={'XbZro':_0x4dadd9(0x18a)};return this[_0x4dadd9(0x18e)](_0xd30668[_0x4dadd9(0x19e)],[_0x22dbf1]);}async[_0xfb6eb3(0x19a)](_0x4e2751){const _0x53a2be=_0xfb6eb3;return this[_0x53a2be(0x18e)](_0x53a2be(0x1a1),[_0x4e2751]);}async[_0xfb6eb3(0x195)](_0xb8e1be){const _0x2ca3d9=_0xfb6eb3,_0x3c0734={'tPIed':function(_0x185ab4,_0x15d164,_0x251e1b){return _0x185ab4(_0x15d164,_0x251e1b);},'zrdIM':_0x2ca3d9(0x1ea),'lYiwo':function(_0x55b279,_0x26a850){return _0x55b279(_0x26a850);},'NGPkH':'UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?'},_0x2c45d9=this['db'][_0x2ca3d9(0x19b)](_0x3c0734[_0x2ca3d9(0x1e8)]);return new Promise((_0x1d568c,_0x3be3c2)=>{const _0x86643a=_0x2ca3d9;_0x2c45d9[_0x86643a(0x1cb)](_0xb8e1be[_0x86643a(0x20c)],_0xb8e1be['url'],_0xb8e1be[_0x86643a(0x1f8)],function(_0x528ed8){const _0x2c5872=_0x86643a;_0x528ed8&&(_0x3c0734['tPIed'](logError,_0x3c0734[_0x2c5872(0x1a3)],_0x528ed8),_0x3c0734['lYiwo'](_0x3be3c2,_0x528ed8)),_0x3c0734[_0x2c5872(0x1a4)](_0x1d568c,null);});});}async[_0xfb6eb3(0x1b7)](){const _0x372ca9=_0xfb6eb3,_0x22e2cd={'Qszwi':_0x372ca9(0x1ac),'cGvWs':function(_0x5d11f9,_0x464658){return _0x5d11f9(_0x464658);},'fUSgF':_0x372ca9(0x199)},_0x1e40a3=_0x22e2cd[_0x372ca9(0x187)];return new Promise((_0x907fd6,_0x2b86e9)=>{const _0x126c12=_0x372ca9;this['db'][_0x126c12(0x1cc)](_0x1e40a3,(_0x401309,_0x59e341)=>{const _0x5dc077=_0x126c12;_0x401309&&(logError(_0x22e2cd[_0x5dc077(0x189)],_0x401309),_0x22e2cd['cGvWs'](_0x2b86e9,_0x401309));const _0x4540b3={};_0x59e341['forEach'](_0x2e87e5=>{const _0x56ff95=_0x5dc077;_0x4540b3[_0x2e87e5['uin']]=_0x2e87e5[_0x56ff95(0x184)];}),_0x22e2cd[_0x5dc077(0x1c0)](_0x907fd6,_0x4540b3);});});}async[_0xfb6eb3(0x1ff)](_0x35087f){const _0x1d4947=_0xfb6eb3,_0x189c18={'olgtQ':function(_0x5aa1bb,_0x38b04b,_0x185d1b){return _0x5aa1bb(_0x38b04b,_0x185d1b);},'KGEIH':'db\x20could\x20not\x20get\x20temp\x20uin\x20map','gvZWj':function(_0x2dfa5f,_0x563823){return _0x2dfa5f(_0x563823);},'mvJMX':_0x1d4947(0x1d1)},_0x3d2452=_0x189c18[_0x1d4947(0x1fd)];return new Promise((_0x3d5984,_0x290be8)=>{const _0x2629f0=_0x1d4947;this['db'][_0x2629f0(0x1c8)](_0x3d2452,[_0x35087f],(_0x2a3dca,_0x1f1ce5)=>{const _0x3af483=_0x2629f0;_0x2a3dca&&(_0x189c18[_0x3af483(0x204)](logError,_0x189c18[_0x3af483(0x18f)],_0x2a3dca),_0x189c18[_0x3af483(0x18b)](_0x290be8,_0x2a3dca)),_0x3d5984(_0x1f1ce5?.[_0x3af483(0x184)]);});});}async[_0xfb6eb3(0x1f4)](_0x28453c,_0xb4e916){const _0x5ba53e=_0xfb6eb3,_0x5b62cc={'rycKB':function(_0x367dc9,_0x310534){return _0x367dc9(_0x310534);},'UhMnQ':function(_0x4c01fd,_0xa160e8){return _0x4c01fd(_0xa160e8);}},_0x6451a0=await this[_0x5ba53e(0x1ff)](_0x28453c);if(!_0x6451a0){const _0x136e4b=this['db'][_0x5ba53e(0x19b)](_0x5ba53e(0x1e2));return new Promise((_0x2ffe21,_0x81944d)=>{const _0x52d402=_0x5ba53e,_0x65b3c8={'UTRYo':function(_0x2d4b0c,_0x6b23e6,_0x5cd237){return _0x2d4b0c(_0x6b23e6,_0x5cd237);},'DCcxb':function(_0x4df429,_0x40e96c){const _0x2a8525=_0x324b;return _0x5b62cc[_0x2a8525(0x207)](_0x4df429,_0x40e96c);},'KjQdd':function(_0x36803a,_0xec5b69){const _0x1658b1=_0x324b;return _0x5b62cc[_0x1658b1(0x1d0)](_0x36803a,_0xec5b69);}};_0x136e4b[_0x52d402(0x1cb)](_0x28453c,_0xb4e916,function(_0x1da85e){const _0x39e265=_0x52d402;_0x1da85e&&(_0x65b3c8[_0x39e265(0x1f0)](logError,_0x39e265(0x202),_0x1da85e),_0x65b3c8['DCcxb'](_0x81944d,_0x1da85e)),_0x65b3c8[_0x39e265(0x1c4)](_0x2ffe21,null);});});}}}function _0x324b(_0x40c7ca,_0x2d9ae6){const _0x4c7760=_0x4c77();return _0x324b=function(_0x324b1b,_0x31f0fc){_0x324b1b=_0x324b1b-0x17c;let _0x163a71=_0x4c7760[_0x324b1b];return _0x163a71;},_0x324b(_0x40c7ca,_0x2d9ae6);}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 e142899a..7a9b36db 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -function _0x26ba(_0x47e092,_0x20f262){const _0x451e83=_0x451e();return _0x26ba=function(_0x26bafb,_0x34a8a5){_0x26bafb=_0x26bafb-0x13d;let _0x48fff8=_0x451e83[_0x26bafb];return _0x48fff8;},_0x26ba(_0x47e092,_0x20f262);}function _0x451e(){const _0x5de46e=['1544LnzOjv','26042148rvrGDF','dirname','join','48162BnmIxC','555708yipXRt','2492785asIJUJ','resolve','execPath','277835jCZrrw','30cyeBHU','curVersion','/wrapper.node','4066296ZBScPy','31969qpODnE'];_0x451e=function(){return _0x5de46e;};return _0x451e();}const _0x949678=_0x26ba;(function(_0x538f9e,_0xae9b32){const _0x4b42bf=_0x26ba,_0x5d95b6=_0x538f9e();while(!![]){try{const _0x47437b=-parseInt(_0x4b42bf(0x146))/0x1+-parseInt(_0x4b42bf(0x141))/0x2*(parseInt(_0x4b42bf(0x147))/0x3)+parseInt(_0x4b42bf(0x142))/0x4+-parseInt(_0x4b42bf(0x143))/0x5+-parseInt(_0x4b42bf(0x14a))/0x6+-parseInt(_0x4b42bf(0x14b))/0x7*(parseInt(_0x4b42bf(0x13d))/0x8)+parseInt(_0x4b42bf(0x13e))/0x9;if(_0x47437b===_0xae9b32)break;else _0x5d95b6['push'](_0x5d95b6['shift']());}catch(_0x1cdd1f){_0x5d95b6['push'](_0x5d95b6['shift']());}}}(_0x451e,0x6f5d6));import _0xc19b2e from'node:path';import _0x43a083 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0xc19b2e[_0x949678(0x144)](_0xc19b2e[_0x949678(0x13f)](process[_0x949678(0x145)]),'./resources/app/wrapper.node');!_0x43a083['existsSync'](wrapperNodePath)&&(wrapperNodePath=_0xc19b2e[_0x949678(0x140)](_0xc19b2e[_0x949678(0x13f)](process[_0x949678(0x145)]),'resources/app/versions/'+qqVersionConfigInfo[_0x949678(0x148)]+_0x949678(0x149)));const QQWrapper=require(wrapperNodePath);export default QQWrapper; \ No newline at end of file +const _0x4ae949=_0x16a9;(function(_0x16170b,_0xb408c){const _0x2320aa=_0x16a9,_0xc6720e=_0x16170b();while(!![]){try{const _0x4abf64=parseInt(_0x2320aa(0x1a8))/0x1+-parseInt(_0x2320aa(0x1ad))/0x2*(-parseInt(_0x2320aa(0x1ac))/0x3)+-parseInt(_0x2320aa(0x1a7))/0x4*(-parseInt(_0x2320aa(0x1ab))/0x5)+parseInt(_0x2320aa(0x1a4))/0x6+-parseInt(_0x2320aa(0x1b0))/0x7*(parseInt(_0x2320aa(0x1aa))/0x8)+parseInt(_0x2320aa(0x1b1))/0x9*(parseInt(_0x2320aa(0x1af))/0xa)+-parseInt(_0x2320aa(0x1a3))/0xb;if(_0x4abf64===_0xb408c)break;else _0xc6720e['push'](_0xc6720e['shift']());}catch(_0x259e9d){_0xc6720e['push'](_0xc6720e['shift']());}}}(_0x1e6e,0xed6a2));import _0x273d8e from'node:path';import _0x4d0113 from'node:fs';function _0x16a9(_0x3ddc15,_0x357eba){const _0x1e6e8f=_0x1e6e();return _0x16a9=function(_0x16a9c5,_0x424eaa){_0x16a9c5=_0x16a9c5-0x1a2;let _0xd257=_0x1e6e8f[_0x16a9c5];return _0xd257;},_0x16a9(_0x3ddc15,_0x357eba);}import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x273d8e[_0x4ae949(0x1ae)](_0x273d8e[_0x4ae949(0x1a2)](process['execPath']),_0x4ae949(0x1a5));!_0x4d0113[_0x4ae949(0x1a6)](wrapperNodePath)&&(wrapperNodePath=_0x273d8e[_0x4ae949(0x1b2)](_0x273d8e[_0x4ae949(0x1a2)](process['execPath']),_0x4ae949(0x1a9)+qqVersionConfigInfo['curVersion']+'/wrapper.node'));const QQWrapper=require(wrapperNodePath);function _0x1e6e(){const _0x4d1ad3=['join','dirname','46524610YYgcfY','9327678USdeZx','./resources/app/wrapper.node','existsSync','160tJgILy','919366sgosHx','resources/app/versions/','2536AWBbsJ','130085DjyKxY','2119902RGCFFp','2nYtgdz','resolve','130oudNYa','10612qzQsZE','1011627QMSzPM'];_0x1e6e=function(){return _0x4d1ad3;};return _0x1e6e();}export default QQWrapper; \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index e678353e..71f81430 100644 --- a/src/index.ts +++ b/src/index.ts @@ -48,13 +48,13 @@ napCatCore.onLoginSuccess((uin, uid) => { DataRuntime.setQQLoginUin(uin.toString()); postLoginStatus(); }); -const showQRCode = async (qrCodeData: { url: string, base64: string, buffer: Buffer }) => { - await DataRuntime.setQQLoginQrcodeURL(qrCodeData.url); +const showQRCode = async (url: string, base64: string, buffer: Buffer) => { + await DataRuntime.setQQLoginQrcodeURL(url); console.log('请扫描下面的二维码,然后在手Q上授权登录:'); const qrcodePath = path.join(__dirname, 'qrcode.png'); - qrcode.generate(qrCodeData.url, { small: true }, (res) => { - console.log(`${res}\n二维码解码URL: ${qrCodeData.url}\n如果控制台二维码无法扫码,可以复制解码url到二维码生成网站生成二维码再扫码,也可以打开下方的二维码路径图片进行扫码`); - fs.writeFile(qrcodePath, qrCodeData.buffer).then(() => { + qrcode.generate(url, { small: true }, (res) => { + console.log(`${res}\n二维码解码URL: ${url}\n如果控制台二维码无法扫码,可以复制解码url到二维码生成网站生成二维码再扫码,也可以打开下方的二维码路径图片进行扫码`); + fs.writeFile(qrcodePath, buffer).then(() => { console.log('二维码已保存到', qrcodePath); }); }); @@ -98,11 +98,11 @@ if (quickLoginQQ) { } }).catch((e) => { console.error(e); - napCatCore.qrLogin().then(showQRCode); + napCatCore.qrLogin(showQRCode); }); } else { log('没有 -q 参数指定快速登录的QQ,将使用二维码登录方式'); - napCatCore.qrLogin().then(showQRCode); + napCatCore.qrLogin(showQRCode); } // napCatCore.login.service.getLoginList().then((res) => {