From 15d4bb3c768f5566297fbaff0eba2315dd7086e9 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: Sun, 9 Jun 2024 17:30:30 +0800 Subject: [PATCH] feat: new api --- docs/develop/Msg常量NTAndroid.md | 889 +++++++++--------- src/core | 2 +- .../src/adapters/NodeIDependsAdapter.js | 2 +- .../src/adapters/NodeIDispatcherAdapter.js | 2 +- .../src/adapters/NodeIGlobalAdapter.js | 2 +- src/core.lib/src/adapters/index.js | 2 +- src/core.lib/src/apis/collection.d.ts | 3 + src/core.lib/src/apis/collection.js | 1 + src/core.lib/src/apis/file.js | 2 +- src/core.lib/src/apis/friend.js | 2 +- src/core.lib/src/apis/group.d.ts | 1 + 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/system.js | 2 +- src/core.lib/src/apis/user.js | 2 +- src/core.lib/src/apis/webapi.js | 2 +- src/core.lib/src/core.js | 2 +- src/core.lib/src/data.js | 2 +- src/core.lib/src/entities/cache.js | 2 +- src/core.lib/src/entities/constructor.js | 2 +- src/core.lib/src/entities/group.js | 2 +- src/core.lib/src/entities/index.js | 2 +- src/core.lib/src/entities/msg.js | 2 +- src/core.lib/src/entities/notify.js | 2 +- src/core.lib/src/entities/user.js | 2 +- src/core.lib/src/index.js | 2 +- .../src/listeners/NodeIKernelBuddyListener.js | 2 +- .../NodeIKernelFileAssistantListener.js | 2 +- .../src/listeners/NodeIKernelGroupListener.js | 2 +- .../src/listeners/NodeIKernelLoginListener.js | 2 +- .../src/listeners/NodeIKernelMsgListener.js | 2 +- .../listeners/NodeIKernelProfileListener.js | 2 +- .../src/listeners/NodeIKernelRobotListener.js | 2 +- .../listeners/NodeIKernelSessionListener.js | 2 +- .../NodeIKernelStorageCleanListener.js | 2 +- src/core.lib/src/listeners/index.js | 2 +- .../src/services/NodeIKernelBuddyService.d.ts | 2 +- .../services/NodeIKernelNodeMiscService.d.ts | 1 + .../src/services/NodeIYellowFaceService.js | 2 +- 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/rkey.js | 2 +- src/core.lib/src/wrapper.js | 2 +- .../action/extends/CreateCollection.ts | 26 + src/onebot11/action/extends/SetSelfProfile.ts | 2 +- src/onebot11/action/extends/sharePeer.ts | 45 + src/onebot11/action/index.ts | 5 + src/onebot11/action/types.ts | 5 +- 52 files changed, 571 insertions(+), 491 deletions(-) create mode 100644 src/core.lib/src/apis/collection.d.ts create mode 100644 src/core.lib/src/apis/collection.js create mode 100644 src/onebot11/action/extends/CreateCollection.ts create mode 100644 src/onebot11/action/extends/sharePeer.ts diff --git a/docs/develop/Msg常量NTAndroid.md b/docs/develop/Msg常量NTAndroid.md index df17ac81..1f208142 100644 --- a/docs/develop/Msg常量NTAndroid.md +++ b/docs/develop/Msg常量NTAndroid.md @@ -1,449 +1,444 @@ ```java -public final class MsgConstant { - public static final int ARKSTRUCTELEMENTSUBTYPETENCENTDOCFROMMINIAPP = 1; - public static final int ARKSTRUCTELEMENTSUBTYPETENCENTDOCFROMPLUSPANEL = 2; - public static final int ARKSTRUCTELEMENTSUBTYPEUNKNOWN = 0; - public static final int ATTYPEALL = 1; - public static final int ATTYPECATEGORY = 512; - public static final int ATTYPECHANNEL = 16; - public static final int ATTYPEME = 4; - public static final int ATTYPEONE = 2; - public static final int ATTYPEONLINE = 64; - public static final int ATTYPEROLE = 8; - public static final int ATTYPESUMMON = 32; - public static final int ATTYPESUMMONONLINE = 128; - public static final int ATTYPESUMMONROLE = 256; - public static final int ATTYPEUNKNOWN = 0; - public static final int CALENDARELEMSUBTYPECOMMON = 3; - public static final int CALENDARELEMSUBTYPESTRONG = 1; - public static final int CALENDARELEMSUBTYPEUNKNOWN = 0; - public static final int CALENDARELEMSUBTYPEWEAK = 2; - public static final int FACEBUBBLEELEMSUBTYPENORMAL = 1; - public static final int FACEBUBBLEELEMSUBTYPEUNKNOWN = 0; - public static final int FETCHLONGMSGERRCODEMSGEXPIRED = 196; - public static final int FILEELEMENTSUBTYPEAI = 16; - public static final int FILEELEMENTSUBTYPEAPP = 11; - public static final int FILEELEMENTSUBTYPEAUDIO = 3; - public static final int FILEELEMENTSUBTYPEDOC = 4; - public static final int FILEELEMENTSUBTYPEEMOTICON = 15; - public static final int FILEELEMENTSUBTYPEEXCEL = 6; - public static final int FILEELEMENTSUBTYPEFOLDER = 13; - public static final int FILEELEMENTSUBTYPEHTML = 10; - public static final int FILEELEMENTSUBTYPEIPA = 14; - public static final int FILEELEMENTSUBTYPENORMAL = 0; - public static final int FILEELEMENTSUBTYPEPDF = 7; - public static final int FILEELEMENTSUBTYPEPIC = 1; - public static final int FILEELEMENTSUBTYPEPPT = 5; - public static final int FILEELEMENTSUBTYPEPSD = 12; - public static final int FILEELEMENTSUBTYPETXT = 8; - public static final int FILEELEMENTSUBTYPEVIDEO = 2; - public static final int FILEELEMENTSUBTYPEZIP = 9; - public static final int GRAYTIPELEMENTSUBTYPEAIOOP = 15; - public static final int GRAYTIPELEMENTSUBTYPEBLOCK = 14; - public static final int GRAYTIPELEMENTSUBTYPEBUDDY = 5; - public static final int GRAYTIPELEMENTSUBTYPEBUDDYNOTIFY = 9; - public static final int GRAYTIPELEMENTSUBTYPEEMOJIREPLY = 3; - public static final int GRAYTIPELEMENTSUBTYPEESSENCE = 7; - public static final int GRAYTIPELEMENTSUBTYPEFEED = 6; - public static final int GRAYTIPELEMENTSUBTYPEFEEDCHANNELMSG = 11; - public static final int GRAYTIPELEMENTSUBTYPEFILE = 10; - public static final int GRAYTIPELEMENTSUBTYPEGROUP = 4; - public static final int GRAYTIPELEMENTSUBTYPEGROUPNOTIFY = 8; - public static final int GRAYTIPELEMENTSUBTYPEJSON = 17; - public static final int GRAYTIPELEMENTSUBTYPELOCALMSG = 13; - public static final int GRAYTIPELEMENTSUBTYPEPROCLAMATION = 2; - public static final int GRAYTIPELEMENTSUBTYPEREVOKE = 1; - public static final int GRAYTIPELEMENTSUBTYPEUNKNOWN = 0; - public static final int GRAYTIPELEMENTSUBTYPEWALLET = 16; - public static final int GRAYTIPELEMENTSUBTYPEXMLMSG = 12; - public static final int INLINEKEYBOARDBUTTONRENDERSTYLEBLUEBLACKGROUND = 4; - public static final int INLINEKEYBOARDBUTTONRENDERSTYLEBLUEBORDER = 1; - public static final int INLINEKEYBOARDBUTTONRENDERSTYLEGRAYBORDER = 0; - public static final int INLINEKEYBOARDBUTTONRENDERSTYLENOBORDER = 2; - public static final int INLINEKEYBOARDBUTTONRENDERSTYLEREDCHARACTER = 3; - public static final int INPUTSTATUSTYPECANCEL = 2; - public static final int INPUTSTATUSTYPESPEAK = 3; - public static final int INPUTSTATUSTYPETEXT = 1; - public static final int KACTIVITYMSG = 22; - public static final int KADDLOCALMSGEXTINFOTYPEPROLOGUEMSG = 1; - public static final int KANONYMOUSATMEMSGTYPEINMSGBOX = 1001; - public static final int KANONYMOUSFLAGFROMOTHERPEOPLE = 1; - public static final int KANONYMOUSFLAGFROMOWN = 2; - public static final int KANONYMOUSFLAGINVALID = 0; - public static final int KAPPCHANNELMSG = 16; - public static final int KATALLMSGTYPEINMSGBOX = 2000; - public static final int KATMEMSGTYPEINMSGBOX = 1000; - public static final int KATTRIBUTETYPEADELIEMSG = 16; - public static final int KATTRIBUTETYPEEXTENDBUSINESS = 13; - public static final int KATTRIBUTETYPEFEEDBACKSTATE = 17; - public static final int KATTRIBUTETYPEGROUPHONOR = 2; - public static final int KATTRIBUTETYPEKINGHONOR = 3; - public static final int KATTRIBUTETYPELONGMSG = 8; - public static final int KATTRIBUTETYPEMEMORYSTATEMSGINFO = 18; - public static final int KATTRIBUTETYPEMSG = 0; - public static final int KATTRIBUTETYPEMSGBOXEVENTTYPE = 14; - public static final int KATTRIBUTETYPEPERSONAL = 1; - public static final int KATTRIBUTETYPEPUBLICACCOUNT = 4; - public static final int KATTRIBUTETYPEQQCONNECT = 12; - public static final int KATTRIBUTETYPESENDMSGRSPTRANSSVRINFO = 15; - public static final int KATTRIBUTETYPESHAREDMSGINFO = 5; - public static final int KATTRIBUTETYPETEMPCHATGAMESESSION = 6; - public static final int KATTRIBUTETYPETOROBOTMSG = 9; - public static final int KATTRIBUTETYPEUININFO = 7; - public static final int KATTRIBUTETYPEZPLAN = 11; - public static final int KAUTOREPLYTEXTNONEINDEX = -1; - public static final int KAVRECORDMSG = 19; - public static final int KBUSINESSTYPGUILD = 1; - public static final int KBUSINESSTYPNT = 0; - public static final int KCHATTYPEADELIE = 42; - public static final int KCHATTYPEBUDDYNOTIFY = 5; - public static final int KCHATTYPEC2C = 1; - public static final int KCHATTYPECIRCLE = 113; - public static final int KCHATTYPEDATALINE = 8; - public static final int KCHATTYPEDATALINEMQQ = 134; - public static final int KCHATTYPEDISC = 3; - public static final int KCHATTYPEFAV = 41; - public static final int KCHATTYPEGAMEMESSAGE = 105; - public static final int KCHATTYPEGAMEMESSAGEFOLDER = 116; - public static final int KCHATTYPEGROUP = 2; - public static final int KCHATTYPEGROUPBLESS = 133; - public static final int KCHATTYPEGROUPGUILD = 9; - public static final int KCHATTYPEGROUPHELPER = 7; - public static final int KCHATTYPEGROUPNOTIFY = 6; - public static final int KCHATTYPEGUILD = 4; - public static final int KCHATTYPEGUILDMETA = 16; - public static final int KCHATTYPEMATCHFRIEND = 104; - public static final int KCHATTYPEMATCHFRIENDFOLDER = 109; - public static final int KCHATTYPENEARBY = 106; - public static final int KCHATTYPENEARBYASSISTANT = 107; - public static final int KCHATTYPENEARBYFOLDER = 110; - public static final int KCHATTYPENEARBYHELLOFOLDER = 112; - public static final int KCHATTYPENEARBYINTERACT = 108; - public static final int KCHATTYPEQQNOTIFY = 132; - public static final int KCHATTYPERELATEACCOUNT = 131; - public static final int KCHATTYPESERVICEASSISTANT = 118; - public static final int KCHATTYPESERVICEASSISTANTSUB = 201; - public static final int KCHATTYPESQUAREPUBLIC = 115; - public static final int KCHATTYPESUBSCRIBEFOLDER = 30; - public static final int KCHATTYPETEMPADDRESSBOOK = 111; - public static final int KCHATTYPETEMPBUSSINESSCRM = 102; - public static final int KCHATTYPETEMPC2CFROMGROUP = 100; - public static final int KCHATTYPETEMPC2CFROMUNKNOWN = 99; - public static final int KCHATTYPETEMPFRIENDVERIFY = 101; - public static final int KCHATTYPETEMPNEARBYPRO = 119; - public static final int KCHATTYPETEMPPUBLICACCOUNT = 103; - public static final int KCHATTYPETEMPWPA = 117; - public static final int KCHATTYPEUNKNOWN = 0; - public static final int KCHATTYPEWEIYUN = 40; - public static final int KCOMMONREDENVELOPEMSGTYPEINMSGBOX = 1007; - public static final int KDOWNSOURCETYPEAIOINNER = 1; - public static final int KDOWNSOURCETYPEBIGSCREEN = 2; - public static final int KDOWNSOURCETYPEHISTORY = 3; - public static final int KDOWNSOURCETYPEUNKNOWN = 0; - public static final int KELEMTYPEACTIVITY = 25; - public static final int KELEMTYPEACTIVITYSTATE = 41; - public static final int KELEMTYPEACTIVITYSUBTYPECREATEMOBATEAM = 12; - public static final int KELEMTYPEACTIVITYSUBTYPEDISBANDMOBATEAM = 11; - public static final int KELEMTYPEACTIVITYSUBTYPEFEEDSQUARE = 10001; - public static final int KELEMTYPEACTIVITYSUBTYPEFINISHGAME = 16; - public static final int KELEMTYPEACTIVITYSUBTYPEFINISHMATCHTEAM = 14; - public static final int KELEMTYPEACTIVITYSUBTYPEHOTCHAT = 10000; - public static final int KELEMTYPEACTIVITYSUBTYPEMINIGAME = 18; - public static final int KELEMTYPEACTIVITYSUBTYPEMUSICPLAY = 17; - public static final int KELEMTYPEACTIVITYSUBTYPENEWSMOBA = 9; - public static final int KELEMTYPEACTIVITYSUBTYPENOLIVE = 2; - public static final int KELEMTYPEACTIVITYSUBTYPENOSCREENSHARE = 7; - public static final int KELEMTYPEACTIVITYSUBTYPENOVOICE = 3; - public static final int KELEMTYPEACTIVITYSUBTYPEONLIVE = 1; - public static final int KELEMTYPEACTIVITYSUBTYPEONSCREENSHARE = 6; - public static final int KELEMTYPEACTIVITYSUBTYPEONVOICE = 4; - public static final int KELEMTYPEACTIVITYSUBTYPESTARTMATCHTEAM = 13; - public static final int KELEMTYPEACTIVITYSUBTYPETARTGAME = 15; - public static final int KELEMTYPEACTIVITYSUBTYPEUNKNOWN = 0; - public static final int KELEMTYPEADELIEACTIONBAR = 44; - public static final int KELEMTYPEADELIERECOMMENDEDMSG = 43; - public static final int KELEMTYPEARKSTRUCT = 10; - public static final int KELEMTYPEAVRECORD = 21; - public static final int KELEMTYPECALENDAR = 19; - public static final int KELEMTYPEFACE = 6; - public static final int KELEMTYPEFACEBUBBLE = 27; - public static final int KELEMTYPEFEED = 22; - public static final int KELEMTYPEFILE = 3; - public static final int KELEMTYPEGIPHY = 15; - public static final int KELEMTYPEGRAYTIP = 8; - public static final int KELEMTYPEINLINEKEYBOARD = 17; - public static final int KELEMTYPEINTEXTGIFT = 18; - public static final int KELEMTYPELIVEGIFT = 12; - public static final int KELEMTYPEMARKDOWN = 14; - public static final int KELEMTYPEMARKETFACE = 11; - public static final int KELEMTYPEMULTIFORWARD = 16; - public static final int KELEMTYPEONLINEFILE = 23; - public static final int KELEMTYPEPIC = 2; - public static final int KELEMTYPEPROLOGUE = 46; - public static final int KELEMTYPEPTT = 4; - public static final int KELEMTYPEREPLY = 7; - public static final int KELEMTYPESHARELOCATION = 28; - public static final int KELEMTYPESTRUCTLONGMSG = 13; - public static final int KELEMTYPETASKTOPMSG = 29; - public static final int KELEMTYPETEXT = 1; - public static final int KELEMTYPETOFU = 26; - public static final int KELEMTYPEUNKNOWN = 0; - public static final int KELEMTYPEVIDEO = 5; - public static final int KELEMTYPEWALLET = 9; - public static final int KELEMTYPEYOLOGAMERESULT = 20; - public static final int KENTERAIO = 1; - public static final int KEXITAIO = 2; - public static final int KFEEDBACKBUTTONTYPEDISLIKE = 2; - public static final int KFEEDBACKBUTTONTYPELIKE = 1; - public static final int KFEEDBACKBUTTONTYPEPROMPTCLICK = 5; - public static final int KFEEDBACKBUTTONTYPEREGENERATE = 4; - public static final int KFEEDBACKBUTTONTYPEUNKNOWN = 0; - public static final int KFEEDBACKOPTLIKE = 1; - public static final int KFEEDBACKOPTUNKNOWN = 0; - public static final int KFEEDBACKOPTUNLIKE = 2; - public static final int KFRIENDNEWADDEDMSGTYPEINMSGBOX = 1008; - public static final int KGAMEBOXNEWMSGTYPEINMSGBOX = 3000; - public static final int KGIFTATMEMSGTYPEINMSGBOX = 1005; - public static final int KGROUPFILEATALLMSGTYPEINMSGBOX = 2001; - public static final int KGROUPHOMEWORK = 20000; - public static final int KGROUPHOMEWORKTASK = 20001; - public static final int KGROUPKEYWORDMSGTYPEINMSGBOX = 2006; - public static final int KGROUPMANNOUNCEATALLMSGTYPEINMSGBOX = 2004; - public static final int KGROUPTASKATALLMSGTYPEINMSGBOX = 2003; - public static final int KGROUPUNREADTYPEINMSGBOX = 2007; - public static final int KGUILDCHANNELLIST = 10; - public static final int KHIGHLIGHTWORDINTEMPCHATTYPEINMSGBOX = 1009; - public static final int KHOMEWORKREMINDER = 10000; - public static final int KLIKEORDISLIKESTATEDISLIKE = 2; - public static final int KLIKEORDISLIKESTATELIKE = 1; - public static final int KLIKEORDISLIKESTATENONESELECTED = 0; - public static final int KMARKETFACE = 17; - public static final int KMEMORYSTATEMSGTYPEADELIEWELCOME = 1; - public static final int KMEMORYSTATEMSGTYPEUNKNOWN = 0; - public static final int KMINIPROGRAMNOTICE = 114; - public static final int KMSGSUBTYPEARKGROUPANNOUNCE = 3; - public static final int KMSGSUBTYPEARKGROUPANNOUNCECONFIRMREQUIRED = 4; - public static final int KMSGSUBTYPEARKGROUPGIFTATME = 5; - public static final int KMSGSUBTYPEARKGROUPTASKATALL = 6; - public static final int KMSGSUBTYPEARKMULTIMSG = 7; - public static final int KMSGSUBTYPEARKNORMAL = 0; - public static final int KMSGSUBTYPEARKTENCENTDOCFROMMINIAPP = 1; - public static final int KMSGSUBTYPEARKTENCENTDOCFROMPLUSPANEL = 2; - public static final int KMSGSUBTYPEEMOTICON = 15; - public static final int KMSGSUBTYPEFILEAPP = 11; - public static final int KMSGSUBTYPEFILEAUDIO = 3; - public static final int KMSGSUBTYPEFILEDOC = 4; - public static final int KMSGSUBTYPEFILEEXCEL = 6; - public static final int KMSGSUBTYPEFILEFOLDER = 13; - public static final int KMSGSUBTYPEFILEHTML = 10; - public static final int KMSGSUBTYPEFILEIPA = 14; - public static final int KMSGSUBTYPEFILENORMAL = 0; - public static final int KMSGSUBTYPEFILEPDF = 7; - public static final int KMSGSUBTYPEFILEPIC = 1; - public static final int KMSGSUBTYPEFILEPPT = 5; - public static final int KMSGSUBTYPEFILEPSD = 12; - public static final int KMSGSUBTYPEFILETXT = 8; - public static final int KMSGSUBTYPEFILEVIDEO = 2; - public static final int KMSGSUBTYPEFILEZIP = 9; - public static final int KMSGSUBTYPELINK = 5; - public static final int KMSGSUBTYPEMARKETFACE = 1; - public static final int KMSGSUBTYPEMIXEMOTICON = 7; - public static final int KMSGSUBTYPEMIXFACE = 3; - public static final int KMSGSUBTYPEMIXMARKETFACE = 2; - public static final int KMSGSUBTYPEMIXPIC = 1; - public static final int KMSGSUBTYPEMIXREPLY = 4; - public static final int KMSGSUBTYPEMIXTEXT = 0; - public static final int KMSGSUBTYPETENCENTDOC = 6; - public static final int KMSGTYPEARKSTRUCT = 11; - public static final int KMSGTYPEFACEBUBBLE = 24; - public static final int KMSGTYPEFILE = 3; - public static final int KMSGTYPEGIFT = 14; - public static final int KMSGTYPEGIPHY = 13; - public static final int KMSGTYPEGRAYTIPS = 5; - public static final int KMSGTYPEMIX = 2; - public static final int KMSGTYPEMULTIMSGFORWARD = 8; - public static final int KMSGTYPENULL = 1; - public static final int KMSGTYPEONLINEFILE = 21; - public static final int KMSGTYPEONLINEFOLDER = 27; - public static final int KMSGTYPEPROLOGUE = 29; - public static final int KMSGTYPEPTT = 6; - public static final int KMSGTYPEREPLY = 9; - public static final int KMSGTYPESHARELOCATION = 25; - public static final int KMSGTYPESTRUCT = 4; - public static final int KMSGTYPESTRUCTLONGMSG = 12; - public static final int KMSGTYPETEXTGIFT = 15; - public static final int KMSGTYPEUNKNOWN = 0; - public static final int KMSGTYPEVIDEO = 7; - public static final int KMSGTYPEWALLET = 10; - public static final int KNEEDCONFIRMGROUPMANNOUNCEATALLMSGTYPEINMSGBOX = 2005; - public static final int KNOTPASSTHROUGHEVENTTYPEUPPERBOUNDARY = 9999; - public static final int KPTTFORMATTYPEAMR = 0; - public static final int KPTTFORMATTYPESILK = 1; - public static final int KPTTTRANSLATESTATUSFAIL = 3; - public static final int KPTTTRANSLATESTATUSSUC = 2; - public static final int KPTTTRANSLATESTATUSTRANSLATING = 1; - public static final int KPTTTRANSLATESTATUSUNKNOWN = 0; - public static final int KPTTVIPLEVELTYPENONE = 0; - public static final int KPTTVIPLEVELTYPEQQVIP = 0; - public static final int KPTTVIPLEVELTYPESVIP = 0; - public static final int KPTTVOICECHANGETYPEBEASTMACHINE = 7; - public static final int KPTTVOICECHANGETYPEBOY = 2; - public static final int KPTTVOICECHANGETYPECATCHCOLD = 13; - public static final int KPTTVOICECHANGETYPEECHO = 5; - public static final int KPTTVOICECHANGETYPEFATGUY = 16; - public static final int KPTTVOICECHANGETYPEFLASHING = 9; - public static final int KPTTVOICECHANGETYPEGIRL = 1; - public static final int KPTTVOICECHANGETYPEHORRIBLE = 3; - public static final int KPTTVOICECHANGETYPEKINDERGARTEN = 6; - public static final int KPTTVOICECHANGETYPEMEDAROT = 15; - public static final int KPTTVOICECHANGETYPENONE = 0; - public static final int KPTTVOICECHANGETYPEOPTIMUSPRIME = 8; - public static final int KPTTVOICECHANGETYPEOUTOFDATE = 14; - public static final int KPTTVOICECHANGETYPEPAPI = 11; - public static final int KPTTVOICECHANGETYPEQUICK = 4; - public static final int KPTTVOICECHANGETYPESTUTTER = 10; - public static final int KPTTVOICECHANGETYPETRAPPEDBEAST = 12; - public static final int KPTTVOICETYPEINTERCOM = 1; - public static final int KPTTVOICETYPESOUNDRECORD = 2; - public static final int KPTTVOICETYPEUNKNOW = 0; - public static final int KPTTVOICETYPEVOICECHANGE = 3; - public static final int KPUBLICACCOUNTTIANSHUHIGHLIGHTWORDTYPEINMSGBOX = 1010; - public static final int KREPLYABSELEMTYPEFACE = 2; - public static final int KREPLYABSELEMTYPEPIC = 3; - public static final int KREPLYABSELEMTYPETEXT = 1; - public static final int KREPLYABSELEMTYPEUNKNOWN = 0; - public static final int KREPLYATMEMSGTYPEINMSGBOX = 1002; - public static final int KRMDOWNTYPEORIG = 1; - public static final int KRMDOWNTYPETHUMB = 2; - public static final int KRMDOWNTYPEUNKNOWN = 0; - public static final int KRMFILETHUMBSIZE128 = 128; - public static final int KRMFILETHUMBSIZE320 = 320; - public static final int KRMFILETHUMBSIZE384 = 384; - public static final int KRMFILETHUMBSIZE750 = 750; - public static final int KRMPICAIOTHUMBSIZE = 0; - public static final int KRMPICTHUMBSIZE198 = 198; - public static final int KRMPICTHUMBSIZE720 = 720; - public static final int KRMPICTYPEBMP = 3; - public static final int KRMPICTYPECHECKOTHER = 900; - public static final int KRMPICTYPEGIF = 2; - public static final int KRMPICTYPEJPG = 0; - public static final int KRMPICTYPENEWPICAPNG = 2001; - public static final int KRMPICTYPENEWPICBMP = 1005; - public static final int KRMPICTYPENEWPICGIF = 2000; - public static final int KRMPICTYPENEWPICJPEG = 1000; - public static final int KRMPICTYPENEWPICPNG = 1001; - public static final int KRMPICTYPENEWPICPROGERSSIVJPEG = 1003; - public static final int KRMPICTYPENEWPICSHARPP = 1004; - public static final int KRMPICTYPENEWPICWEBP = 1002; - public static final int KRMPICTYPEPNG = 1; - public static final int KRMPICTYPEUNKOWN = 0; - public static final int KRMTHUMBSIZEZERO = 0; - public static final int KRMTRNASFERSTATUSDOWNLOADING = 3; - public static final int KRMTRNASFERSTATUSFAIL = 5; - public static final int KRMTRNASFERSTATUSINIT = 1; - public static final int KRMTRNASFERSTATUSSUC = 4; - public static final int KRMTRNASFERSTATUSUNKOW = 0; - public static final int KRMTRNASFERSTATUSUPLOADING = 2; - public static final int KRMTRNASFERSTATUSUSERCANCEL = 6; - public static final int KSEEKINGPARTNERFLAGSEEKING = 1; - public static final int KSEEKINGPARTNERFLAGUNKNOWN = 0; - public static final int KSENDSTATUSFAILED = 0; - public static final int KSENDSTATUSSENDING = 1; - public static final int KSENDSTATUSSUCCESS = 2; - public static final int KSENDSTATUSSUCCESSNOSEQ = 3; - public static final int KSENDTYPEDROPPED = 6; - public static final int KSENDTYPELOCAL = 3; - public static final int KSENDTYPEOTHERDEVICE = 2; - public static final int KSENDTYPERECV = 0; - public static final int KSENDTYPESELF = 1; - public static final int KSENDTYPESELFFORWARD = 4; - public static final int KSENDTYPESELFMULTIFORWARD = 5; - public static final int KSESSIONTYPEADDRESSBOOK = 5; - public static final int KSESSIONTYPEC2C = 1; - public static final int KSESSIONTYPEDISC = 3; - public static final int KSESSIONTYPEFAV = 41; - public static final int KSESSIONTYPEGROUP = 2; - public static final int KSESSIONTYPEGROUPBLESS = 52; - public static final int KSESSIONTYPEGUILD = 4; - public static final int KSESSIONTYPEGUILDMETA = 16; - public static final int KSESSIONTYPENEARBYPRO = 54; - public static final int KSESSIONTYPEQQNOTIFY = 51; - public static final int KSESSIONTYPERELATEACCOUNT = 50; - public static final int KSESSIONTYPESERVICEASSISTANT = 19; - public static final int KSESSIONTYPESUBSCRIBEFOLDER = 30; - public static final int KSESSIONTYPETYPEBUDDYNOTIFY = 7; - public static final int KSESSIONTYPETYPEGROUPHELPER = 9; - public static final int KSESSIONTYPETYPEGROUPNOTIFY = 8; - public static final int KSESSIONTYPEUNKNOWN = 0; - public static final int KSESSIONTYPEWEIYUN = 40; - public static final int KSPECIALCAREMSGTYPEINMSGBOX = 1006; - public static final int KSPECIFIEDREDENVELOPEATMEMSGTYPEINMSGBOX = 1004; - public static final int KSPECIFIEDREDENVELOPEATONEMSGTYPEINMSGBOX = 1003; - public static final int KTENCENTDOCTYPEADDON = 110; - public static final int KTENCENTDOCTYPEDOC = 0; - public static final int KTENCENTDOCTYPEDRAWING = 89; - public static final int KTENCENTDOCTYPEDRIVE = 101; - public static final int KTENCENTDOCTYPEFILE = 100; - public static final int KTENCENTDOCTYPEFLOWCHART = 91; - public static final int KTENCENTDOCTYPEFOLDER = 3; - public static final int KTENCENTDOCTYPEFORM = 2; - public static final int KTENCENTDOCTYPEMIND = 90; - public static final int KTENCENTDOCTYPENOTES = 5; - public static final int KTENCENTDOCTYPEPDF = 6; - public static final int KTENCENTDOCTYPEPROGRAM = 7; - public static final int KTENCENTDOCTYPESHEET = 1; - public static final int KTENCENTDOCTYPESLIDE = 4; - public static final int KTENCENTDOCTYPESMARTCANVAS = 8; - public static final int KTENCENTDOCTYPESMARTSHEET = 9; - public static final int KTENCENTDOCTYPESPEECH = 102; - public static final int KTENCENTDOCTYPEUNKNOWN = 10; - public static final int KTOFURECORDMSG = 23; - public static final int KTOPMSGTYPETASK = 1; - public static final int KTOPMSGTYPEUNKNOWN = 0; - public static final int KTRIGGERTYPEAUTO = 1; - public static final int KTRIGGERTYPEMANUAL = 0; - public static final int KUNKNOWN = 0; - public static final int KUNKNOWNTYPEINMSGBOX = 0; - public static final int KUNREADCNTUPTYPEALLDIRECTSESSION = 4; - public static final int KUNREADCNTUPTYPEALLFEEDSINGUILD = 6; - public static final int KUNREADCNTUPTYPEALLGUILD = 3; - public static final int KUNREADCNTUPTYPECATEGORY = 5; - public static final int KUNREADCNTUPTYPECHANNEL = 1; - public static final int KUNREADCNTUPTYPECONTACT = 0; - public static final int KUNREADCNTUPTYPEGUILD = 2; - public static final int KUNREADCNTUPTYPEGUILDGROUP = 7; - public static final int KUNREADSHOWTTYPEGRAYPOINT = 2; - public static final int KUNREADSHOWTYPEREDPOINT = 1; - public static final int KUNREADSHOWTYPESMALLGRAYPOINT = 4; - public static final int KUNREADSHOWTYPESMALLREDPOINT = 3; - public static final int KUNREADSHOWTYPEUNKNOWN = 0; - public static final int KVASGIFTCOINTYPECOIN = 0; - public static final int KVASGIFTCOINTYPEMARKETCOIN = 1; - public static final int KYOLOGAMERESULTMSG = 18; - public static final int PIC_800_RECOMMENDED = 7; - public static final int PIC_AIGC_EMOJI = 14; - public static final int PIC_ALBUM_GIF = 11; - public static final int PIC_COMMERCIAL_ADVERTISING = 9; - public static final int PIC_FIND = 10; - public static final int PIC_HOT = 2; - public static final int PIC_HOT_EMOJI = 13; - public static final int PIC_NORMAL = 0; - public static final int PIC_PK = 3; - public static final int PIC_QQZONE = 5; - public static final int PIC_SELFIE_GIF = 8; - public static final int PIC_SEND_FROM_TAB_SEARCH_BOX = 12; - public static final int PIC_USER = 1; - public static final int PIC_WISDOM_FIGURE = 4; - public static final int REPLYORIGINALMSGSTATEHASRECALL = 1; - public static final int REPLYORIGINALMSGSTATEUNKNOWN = 0; - public static final int SHARELOCATIONELEMSUBTYPENORMAL = 1; - public static final int SHARELOCATIONELEMSUBTYPEUNKNOWN = 0; - public static final int TEXTELEMENTSUBTYPELINK = 1; - public static final int TEXTELEMENTSUBTYPETENCENTDOC = 2; - public static final int TEXTELEMENTSUBTYPEUNKNOWN = 0; - - public String toString() { - return "MsgConstant{}"; - } -} +MsgConstant + int ARKSTRUCTELEMENTSUBTYPETENCENTDOCFROMMINIAPP = 1; + int ARKSTRUCTELEMENTSUBTYPETENCENTDOCFROMPLUSPANEL = 2; + int ARKSTRUCTELEMENTSUBTYPEUNKNOWN = 0; + int ATTYPEALL = 1; + int ATTYPECATEGORY = 512; + int ATTYPECHANNEL = 16; + int ATTYPEME = 4; + int ATTYPEONE = 2; + int ATTYPEONLINE = 64; + int ATTYPEROLE = 8; + int ATTYPESUMMON = 32; + int ATTYPESUMMONONLINE = 128; + int ATTYPESUMMONROLE = 256; + int ATTYPEUNKNOWN = 0; + int CALENDARELEMSUBTYPECOMMON = 3; + int CALENDARELEMSUBTYPESTRONG = 1; + int CALENDARELEMSUBTYPEUNKNOWN = 0; + int CALENDARELEMSUBTYPEWEAK = 2; + int FACEBUBBLEELEMSUBTYPENORMAL = 1; + int FACEBUBBLEELEMSUBTYPEUNKNOWN = 0; + int FETCHLONGMSGERRCODEMSGEXPIRED = 196; + int FILEELEMENTSUBTYPEAI = 16; + int FILEELEMENTSUBTYPEAPP = 11; + int FILEELEMENTSUBTYPEAUDIO = 3; + int FILEELEMENTSUBTYPEDOC = 4; + int FILEELEMENTSUBTYPEEMOTICON = 15; + int FILEELEMENTSUBTYPEEXCEL = 6; + int FILEELEMENTSUBTYPEFOLDER = 13; + int FILEELEMENTSUBTYPEHTML = 10; + int FILEELEMENTSUBTYPEIPA = 14; + int FILEELEMENTSUBTYPENORMAL = 0; + int FILEELEMENTSUBTYPEPDF = 7; + int FILEELEMENTSUBTYPEPIC = 1; + int FILEELEMENTSUBTYPEPPT = 5; + int FILEELEMENTSUBTYPEPSD = 12; + int FILEELEMENTSUBTYPETXT = 8; + int FILEELEMENTSUBTYPEVIDEO = 2; + int FILEELEMENTSUBTYPEZIP = 9; + int GRAYTIPELEMENTSUBTYPEAIOOP = 15; + int GRAYTIPELEMENTSUBTYPEBLOCK = 14; + int GRAYTIPELEMENTSUBTYPEBUDDY = 5; + int GRAYTIPELEMENTSUBTYPEBUDDYNOTIFY = 9; + int GRAYTIPELEMENTSUBTYPEEMOJIREPLY = 3; + int GRAYTIPELEMENTSUBTYPEESSENCE = 7; + int GRAYTIPELEMENTSUBTYPEFEED = 6; + int GRAYTIPELEMENTSUBTYPEFEEDCHANNELMSG = 11; + int GRAYTIPELEMENTSUBTYPEFILE = 10; + int GRAYTIPELEMENTSUBTYPEGROUP = 4; + int GRAYTIPELEMENTSUBTYPEGROUPNOTIFY = 8; + int GRAYTIPELEMENTSUBTYPEJSON = 17; + int GRAYTIPELEMENTSUBTYPELOCALMSG = 13; + int GRAYTIPELEMENTSUBTYPEPROCLAMATION = 2; + int GRAYTIPELEMENTSUBTYPEREVOKE = 1; + int GRAYTIPELEMENTSUBTYPEUNKNOWN = 0; + int GRAYTIPELEMENTSUBTYPEWALLET = 16; + int GRAYTIPELEMENTSUBTYPEXMLMSG = 12; + int INLINEKEYBOARDBUTTONRENDERSTYLEBLUEBLACKGROUND = 4; + int INLINEKEYBOARDBUTTONRENDERSTYLEBLUEBORDER = 1; + int INLINEKEYBOARDBUTTONRENDERSTYLEGRAYBORDER = 0; + int INLINEKEYBOARDBUTTONRENDERSTYLENOBORDER = 2; + int INLINEKEYBOARDBUTTONRENDERSTYLEREDCHARACTER = 3; + int INPUTSTATUSTYPECANCEL = 2; + int INPUTSTATUSTYPESPEAK = 3; + int INPUTSTATUSTYPETEXT = 1; + int KACTIVITYMSG = 22; + int KADDLOCALMSGEXTINFOTYPEPROLOGUEMSG = 1; + int KANONYMOUSATMEMSGTYPEINMSGBOX = 1001; + int KANONYMOUSFLAGFROMOTHERPEOPLE = 1; + int KANONYMOUSFLAGFROMOWN = 2; + int KANONYMOUSFLAGINVALID = 0; + int KAPPCHANNELMSG = 16; + int KATALLMSGTYPEINMSGBOX = 2000; + int KATMEMSGTYPEINMSGBOX = 1000; + int KATTRIBUTETYPEADELIEMSG = 16; + int KATTRIBUTETYPEEXTENDBUSINESS = 13; + int KATTRIBUTETYPEFEEDBACKSTATE = 17; + int KATTRIBUTETYPEGROUPHONOR = 2; + int KATTRIBUTETYPEKINGHONOR = 3; + int KATTRIBUTETYPELONGMSG = 8; + int KATTRIBUTETYPEMEMORYSTATEMSGINFO = 18; + int KATTRIBUTETYPEMSG = 0; + int KATTRIBUTETYPEMSGBOXEVENTTYPE = 14; + int KATTRIBUTETYPEPERSONAL = 1; + int KATTRIBUTETYPEPUBLICACCOUNT = 4; + int KATTRIBUTETYPEQQCONNECT = 12; + int KATTRIBUTETYPESENDMSGRSPTRANSSVRINFO = 15; + int KATTRIBUTETYPESHAREDMSGINFO = 5; + int KATTRIBUTETYPETEMPCHATGAMESESSION = 6; + int KATTRIBUTETYPETOROBOTMSG = 9; + int KATTRIBUTETYPEUININFO = 7; + int KATTRIBUTETYPEZPLAN = 11; + int KAUTOREPLYTEXTNONEINDEX = -1; + int KAVRECORDMSG = 19; + int KBUSINESSTYPGUILD = 1; + int KBUSINESSTYPNT = 0; + int KCHATTYPEADELIE = 42; + int KCHATTYPEBUDDYNOTIFY = 5; + int KCHATTYPEC2C = 1; + int KCHATTYPECIRCLE = 113; + int KCHATTYPEDATALINE = 8; + int KCHATTYPEDATALINEMQQ = 134; + int KCHATTYPEDISC = 3; + int KCHATTYPEFAV = 41; + int KCHATTYPEGAMEMESSAGE = 105; + int KCHATTYPEGAMEMESSAGEFOLDER = 116; + int KCHATTYPEGROUP = 2; + int KCHATTYPEGROUPBLESS = 133; + int KCHATTYPEGROUPGUILD = 9; + int KCHATTYPEGROUPHELPER = 7; + int KCHATTYPEGROUPNOTIFY = 6; + int KCHATTYPEGUILD = 4; + int KCHATTYPEGUILDMETA = 16; + int KCHATTYPEMATCHFRIEND = 104; + int KCHATTYPEMATCHFRIENDFOLDER = 109; + int KCHATTYPENEARBY = 106; + int KCHATTYPENEARBYASSISTANT = 107; + int KCHATTYPENEARBYFOLDER = 110; + int KCHATTYPENEARBYHELLOFOLDER = 112; + int KCHATTYPENEARBYINTERACT = 108; + int KCHATTYPEQQNOTIFY = 132; + int KCHATTYPERELATEACCOUNT = 131; + int KCHATTYPESERVICEASSISTANT = 118; + int KCHATTYPESERVICEASSISTANTSUB = 201; + int KCHATTYPESQUAREPUBLIC = 115; + int KCHATTYPESUBSCRIBEFOLDER = 30; + int KCHATTYPETEMPADDRESSBOOK = 111; + int KCHATTYPETEMPBUSSINESSCRM = 102; + int KCHATTYPETEMPC2CFROMGROUP = 100; + int KCHATTYPETEMPC2CFROMUNKNOWN = 99; + int KCHATTYPETEMPFRIENDVERIFY = 101; + int KCHATTYPETEMPNEARBYPRO = 119; + int KCHATTYPETEMPPUBLICACCOUNT = 103; + int KCHATTYPETEMPWPA = 117; + int KCHATTYPEUNKNOWN = 0; + int KCHATTYPEWEIYUN = 40; + int KCOMMONREDENVELOPEMSGTYPEINMSGBOX = 1007; + int KDOWNSOURCETYPEAIOINNER = 1; + int KDOWNSOURCETYPEBIGSCREEN = 2; + int KDOWNSOURCETYPEHISTORY = 3; + int KDOWNSOURCETYPEUNKNOWN = 0; + int KELEMTYPEACTIVITY = 25; + int KELEMTYPEACTIVITYSTATE = 41; + int KELEMTYPEACTIVITYSUBTYPECREATEMOBATEAM = 12; + int KELEMTYPEACTIVITYSUBTYPEDISBANDMOBATEAM = 11; + int KELEMTYPEACTIVITYSUBTYPEFEEDSQUARE = 10001; + int KELEMTYPEACTIVITYSUBTYPEFINISHGAME = 16; + int KELEMTYPEACTIVITYSUBTYPEFINISHMATCHTEAM = 14; + int KELEMTYPEACTIVITYSUBTYPEHOTCHAT = 10000; + int KELEMTYPEACTIVITYSUBTYPEMINIGAME = 18; + int KELEMTYPEACTIVITYSUBTYPEMUSICPLAY = 17; + int KELEMTYPEACTIVITYSUBTYPENEWSMOBA = 9; + int KELEMTYPEACTIVITYSUBTYPENOLIVE = 2; + int KELEMTYPEACTIVITYSUBTYPENOSCREENSHARE = 7; + int KELEMTYPEACTIVITYSUBTYPENOVOICE = 3; + int KELEMTYPEACTIVITYSUBTYPEONLIVE = 1; + int KELEMTYPEACTIVITYSUBTYPEONSCREENSHARE = 6; + int KELEMTYPEACTIVITYSUBTYPEONVOICE = 4; + int KELEMTYPEACTIVITYSUBTYPESTARTMATCHTEAM = 13; + int KELEMTYPEACTIVITYSUBTYPETARTGAME = 15; + int KELEMTYPEACTIVITYSUBTYPEUNKNOWN = 0; + int KELEMTYPEADELIEACTIONBAR = 44; + int KELEMTYPEADELIERECOMMENDEDMSG = 43; + int KELEMTYPEARKSTRUCT = 10; + int KELEMTYPEAVRECORD = 21; + int KELEMTYPECALENDAR = 19; + int KELEMTYPEFACE = 6; + int KELEMTYPEFACEBUBBLE = 27; + int KELEMTYPEFEED = 22; + int KELEMTYPEFILE = 3; + int KELEMTYPEGIPHY = 15; + int KELEMTYPEGRAYTIP = 8; + int KELEMTYPEINLINEKEYBOARD = 17; + int KELEMTYPEINTEXTGIFT = 18; + int KELEMTYPELIVEGIFT = 12; + int KELEMTYPEMARKDOWN = 14; + int KELEMTYPEMARKETFACE = 11; + int KELEMTYPEMULTIFORWARD = 16; + int KELEMTYPEONLINEFILE = 23; + int KELEMTYPEPIC = 2; + int KELEMTYPEPROLOGUE = 46; + int KELEMTYPEPTT = 4; + int KELEMTYPEREPLY = 7; + int KELEMTYPESHARELOCATION = 28; + int KELEMTYPESTRUCTLONGMSG = 13; + int KELEMTYPETASKTOPMSG = 29; + int KELEMTYPETEXT = 1; + int KELEMTYPETOFU = 26; + int KELEMTYPEUNKNOWN = 0; + int KELEMTYPEVIDEO = 5; + int KELEMTYPEWALLET = 9; + int KELEMTYPEYOLOGAMERESULT = 20; + int KENTERAIO = 1; + int KEXITAIO = 2; + int KFEEDBACKBUTTONTYPEDISLIKE = 2; + int KFEEDBACKBUTTONTYPELIKE = 1; + int KFEEDBACKBUTTONTYPEPROMPTCLICK = 5; + int KFEEDBACKBUTTONTYPEREGENERATE = 4; + int KFEEDBACKBUTTONTYPEUNKNOWN = 0; + int KFEEDBACKOPTLIKE = 1; + int KFEEDBACKOPTUNKNOWN = 0; + int KFEEDBACKOPTUNLIKE = 2; + int KFRIENDNEWADDEDMSGTYPEINMSGBOX = 1008; + int KGAMEBOXNEWMSGTYPEINMSGBOX = 3000; + int KGIFTATMEMSGTYPEINMSGBOX = 1005; + int KGROUPFILEATALLMSGTYPEINMSGBOX = 2001; + int KGROUPHOMEWORK = 20000; + int KGROUPHOMEWORKTASK = 20001; + int KGROUPKEYWORDMSGTYPEINMSGBOX = 2006; + int KGROUPMANNOUNCEATALLMSGTYPEINMSGBOX = 2004; + int KGROUPTASKATALLMSGTYPEINMSGBOX = 2003; + int KGROUPUNREADTYPEINMSGBOX = 2007; + int KGUILDCHANNELLIST = 10; + int KHIGHLIGHTWORDINTEMPCHATTYPEINMSGBOX = 1009; + int KHOMEWORKREMINDER = 10000; + int KLIKEORDISLIKESTATEDISLIKE = 2; + int KLIKEORDISLIKESTATELIKE = 1; + int KLIKEORDISLIKESTATENONESELECTED = 0; + int KMARKETFACE = 17; + int KMEMORYSTATEMSGTYPEADELIEWELCOME = 1; + int KMEMORYSTATEMSGTYPEUNKNOWN = 0; + int KMINIPROGRAMNOTICE = 114; + int KMSGSUBTYPEARKGROUPANNOUNCE = 3; + int KMSGSUBTYPEARKGROUPANNOUNCECONFIRMREQUIRED = 4; + int KMSGSUBTYPEARKGROUPGIFTATME = 5; + int KMSGSUBTYPEARKGROUPTASKATALL = 6; + int KMSGSUBTYPEARKMULTIMSG = 7; + int KMSGSUBTYPEARKNORMAL = 0; + int KMSGSUBTYPEARKTENCENTDOCFROMMINIAPP = 1; + int KMSGSUBTYPEARKTENCENTDOCFROMPLUSPANEL = 2; + int KMSGSUBTYPEEMOTICON = 15; + int KMSGSUBTYPEFILEAPP = 11; + int KMSGSUBTYPEFILEAUDIO = 3; + int KMSGSUBTYPEFILEDOC = 4; + int KMSGSUBTYPEFILEEXCEL = 6; + int KMSGSUBTYPEFILEFOLDER = 13; + int KMSGSUBTYPEFILEHTML = 10; + int KMSGSUBTYPEFILEIPA = 14; + int KMSGSUBTYPEFILENORMAL = 0; + int KMSGSUBTYPEFILEPDF = 7; + int KMSGSUBTYPEFILEPIC = 1; + int KMSGSUBTYPEFILEPPT = 5; + int KMSGSUBTYPEFILEPSD = 12; + int KMSGSUBTYPEFILETXT = 8; + int KMSGSUBTYPEFILEVIDEO = 2; + int KMSGSUBTYPEFILEZIP = 9; + int KMSGSUBTYPELINK = 5; + int KMSGSUBTYPEMARKETFACE = 1; + int KMSGSUBTYPEMIXEMOTICON = 7; + int KMSGSUBTYPEMIXFACE = 3; + int KMSGSUBTYPEMIXMARKETFACE = 2; + int KMSGSUBTYPEMIXPIC = 1; + int KMSGSUBTYPEMIXREPLY = 4; + int KMSGSUBTYPEMIXTEXT = 0; + int KMSGSUBTYPETENCENTDOC = 6; + int KMSGTYPEARKSTRUCT = 11; + int KMSGTYPEFACEBUBBLE = 24; + int KMSGTYPEFILE = 3; + int KMSGTYPEGIFT = 14; + int KMSGTYPEGIPHY = 13; + int KMSGTYPEGRAYTIPS = 5; + int KMSGTYPEMIX = 2; + int KMSGTYPEMULTIMSGFORWARD = 8; + int KMSGTYPENULL = 1; + int KMSGTYPEONLINEFILE = 21; + int KMSGTYPEONLINEFOLDER = 27; + int KMSGTYPEPROLOGUE = 29; + int KMSGTYPEPTT = 6; + int KMSGTYPEREPLY = 9; + int KMSGTYPESHARELOCATION = 25; + int KMSGTYPESTRUCT = 4; + int KMSGTYPESTRUCTLONGMSG = 12; + int KMSGTYPETEXTGIFT = 15; + int KMSGTYPEUNKNOWN = 0; + int KMSGTYPEVIDEO = 7; + int KMSGTYPEWALLET = 10; + int KNEEDCONFIRMGROUPMANNOUNCEATALLMSGTYPEINMSGBOX = 2005; + int KNOTPASSTHROUGHEVENTTYPEUPPERBOUNDARY = 9999; + int KPTTFORMATTYPEAMR = 0; + int KPTTFORMATTYPESILK = 1; + int KPTTTRANSLATESTATUSFAIL = 3; + int KPTTTRANSLATESTATUSSUC = 2; + int KPTTTRANSLATESTATUSTRANSLATING = 1; + int KPTTTRANSLATESTATUSUNKNOWN = 0; + int KPTTVIPLEVELTYPENONE = 0; + int KPTTVIPLEVELTYPEQQVIP = 0; + int KPTTVIPLEVELTYPESVIP = 0; + int KPTTVOICECHANGETYPEBEASTMACHINE = 7; + int KPTTVOICECHANGETYPEBOY = 2; + int KPTTVOICECHANGETYPECATCHCOLD = 13; + int KPTTVOICECHANGETYPEECHO = 5; + int KPTTVOICECHANGETYPEFATGUY = 16; + int KPTTVOICECHANGETYPEFLASHING = 9; + int KPTTVOICECHANGETYPEGIRL = 1; + int KPTTVOICECHANGETYPEHORRIBLE = 3; + int KPTTVOICECHANGETYPEKINDERGARTEN = 6; + int KPTTVOICECHANGETYPEMEDAROT = 15; + int KPTTVOICECHANGETYPENONE = 0; + int KPTTVOICECHANGETYPEOPTIMUSPRIME = 8; + int KPTTVOICECHANGETYPEOUTOFDATE = 14; + int KPTTVOICECHANGETYPEPAPI = 11; + int KPTTVOICECHANGETYPEQUICK = 4; + int KPTTVOICECHANGETYPESTUTTER = 10; + int KPTTVOICECHANGETYPETRAPPEDBEAST = 12; + int KPTTVOICETYPEINTERCOM = 1; + int KPTTVOICETYPESOUNDRECORD = 2; + int KPTTVOICETYPEUNKNOW = 0; + int KPTTVOICETYPEVOICECHANGE = 3; + int KPUBLICACCOUNTTIANSHUHIGHLIGHTWORDTYPEINMSGBOX = 1010; + int KREPLYABSELEMTYPEFACE = 2; + int KREPLYABSELEMTYPEPIC = 3; + int KREPLYABSELEMTYPETEXT = 1; + int KREPLYABSELEMTYPEUNKNOWN = 0; + int KREPLYATMEMSGTYPEINMSGBOX = 1002; + int KRMDOWNTYPEORIG = 1; + int KRMDOWNTYPETHUMB = 2; + int KRMDOWNTYPEUNKNOWN = 0; + int KRMFILETHUMBSIZE128 = 128; + int KRMFILETHUMBSIZE320 = 320; + int KRMFILETHUMBSIZE384 = 384; + int KRMFILETHUMBSIZE750 = 750; + int KRMPICAIOTHUMBSIZE = 0; + int KRMPICTHUMBSIZE198 = 198; + int KRMPICTHUMBSIZE720 = 720; + int KRMPICTYPEBMP = 3; + int KRMPICTYPECHECKOTHER = 900; + int KRMPICTYPEGIF = 2; + int KRMPICTYPEJPG = 0; + int KRMPICTYPENEWPICAPNG = 2001; + int KRMPICTYPENEWPICBMP = 1005; + int KRMPICTYPENEWPICGIF = 2000; + int KRMPICTYPENEWPICJPEG = 1000; + int KRMPICTYPENEWPICPNG = 1001; + int KRMPICTYPENEWPICPROGERSSIVJPEG = 1003; + int KRMPICTYPENEWPICSHARPP = 1004; + int KRMPICTYPENEWPICWEBP = 1002; + int KRMPICTYPEPNG = 1; + int KRMPICTYPEUNKOWN = 0; + int KRMTHUMBSIZEZERO = 0; + int KRMTRNASFERSTATUSDOWNLOADING = 3; + int KRMTRNASFERSTATUSFAIL = 5; + int KRMTRNASFERSTATUSINIT = 1; + int KRMTRNASFERSTATUSSUC = 4; + int KRMTRNASFERSTATUSUNKOW = 0; + int KRMTRNASFERSTATUSUPLOADING = 2; + int KRMTRNASFERSTATUSUSERCANCEL = 6; + int KSEEKINGPARTNERFLAGSEEKING = 1; + int KSEEKINGPARTNERFLAGUNKNOWN = 0; + int KSENDSTATUSFAILED = 0; + int KSENDSTATUSSENDING = 1; + int KSENDSTATUSSUCCESS = 2; + int KSENDSTATUSSUCCESSNOSEQ = 3; + int KSENDTYPEDROPPED = 6; + int KSENDTYPELOCAL = 3; + int KSENDTYPEOTHERDEVICE = 2; + int KSENDTYPERECV = 0; + int KSENDTYPESELF = 1; + int KSENDTYPESELFFORWARD = 4; + int KSENDTYPESELFMULTIFORWARD = 5; + int KSESSIONTYPEADDRESSBOOK = 5; + int KSESSIONTYPEC2C = 1; + int KSESSIONTYPEDISC = 3; + int KSESSIONTYPEFAV = 41; + int KSESSIONTYPEGROUP = 2; + int KSESSIONTYPEGROUPBLESS = 52; + int KSESSIONTYPEGUILD = 4; + int KSESSIONTYPEGUILDMETA = 16; + int KSESSIONTYPENEARBYPRO = 54; + int KSESSIONTYPEQQNOTIFY = 51; + int KSESSIONTYPERELATEACCOUNT = 50; + int KSESSIONTYPESERVICEASSISTANT = 19; + int KSESSIONTYPESUBSCRIBEFOLDER = 30; + int KSESSIONTYPETYPEBUDDYNOTIFY = 7; + int KSESSIONTYPETYPEGROUPHELPER = 9; + int KSESSIONTYPETYPEGROUPNOTIFY = 8; + int KSESSIONTYPEUNKNOWN = 0; + int KSESSIONTYPEWEIYUN = 40; + int KSPECIALCAREMSGTYPEINMSGBOX = 1006; + int KSPECIFIEDREDENVELOPEATMEMSGTYPEINMSGBOX = 1004; + int KSPECIFIEDREDENVELOPEATONEMSGTYPEINMSGBOX = 1003; + int KTENCENTDOCTYPEADDON = 110; + int KTENCENTDOCTYPEDOC = 0; + int KTENCENTDOCTYPEDRAWING = 89; + int KTENCENTDOCTYPEDRIVE = 101; + int KTENCENTDOCTYPEFILE = 100; + int KTENCENTDOCTYPEFLOWCHART = 91; + int KTENCENTDOCTYPEFOLDER = 3; + int KTENCENTDOCTYPEFORM = 2; + int KTENCENTDOCTYPEMIND = 90; + int KTENCENTDOCTYPENOTES = 5; + int KTENCENTDOCTYPEPDF = 6; + int KTENCENTDOCTYPEPROGRAM = 7; + int KTENCENTDOCTYPESHEET = 1; + int KTENCENTDOCTYPESLIDE = 4; + int KTENCENTDOCTYPESMARTCANVAS = 8; + int KTENCENTDOCTYPESMARTSHEET = 9; + int KTENCENTDOCTYPESPEECH = 102; + int KTENCENTDOCTYPEUNKNOWN = 10; + int KTOFURECORDMSG = 23; + int KTOPMSGTYPETASK = 1; + int KTOPMSGTYPEUNKNOWN = 0; + int KTRIGGERTYPEAUTO = 1; + int KTRIGGERTYPEMANUAL = 0; + int KUNKNOWN = 0; + int KUNKNOWNTYPEINMSGBOX = 0; + int KUNREADCNTUPTYPEALLDIRECTSESSION = 4; + int KUNREADCNTUPTYPEALLFEEDSINGUILD = 6; + int KUNREADCNTUPTYPEALLGUILD = 3; + int KUNREADCNTUPTYPECATEGORY = 5; + int KUNREADCNTUPTYPECHANNEL = 1; + int KUNREADCNTUPTYPECONTACT = 0; + int KUNREADCNTUPTYPEGUILD = 2; + int KUNREADCNTUPTYPEGUILDGROUP = 7; + int KUNREADSHOWTTYPEGRAYPOINT = 2; + int KUNREADSHOWTYPEREDPOINT = 1; + int KUNREADSHOWTYPESMALLGRAYPOINT = 4; + int KUNREADSHOWTYPESMALLREDPOINT = 3; + int KUNREADSHOWTYPEUNKNOWN = 0; + int KVASGIFTCOINTYPECOIN = 0; + int KVASGIFTCOINTYPEMARKETCOIN = 1; + int KYOLOGAMERESULTMSG = 18; + int PIC_800_RECOMMENDED = 7; + int PIC_AIGC_EMOJI = 14; + int PIC_ALBUM_GIF = 11; + int PIC_COMMERCIAL_ADVERTISING = 9; + int PIC_FIND = 10; + int PIC_HOT = 2; + int PIC_HOT_EMOJI = 13; + int PIC_NORMAL = 0; + int PIC_PK = 3; + int PIC_QQZONE = 5; + int PIC_SELFIE_GIF = 8; + int PIC_SEND_FROM_TAB_SEARCH_BOX = 12; + int PIC_USER = 1; + int PIC_WISDOM_FIGURE = 4; + int REPLYORIGINALMSGSTATEHASRECALL = 1; + int REPLYORIGINALMSGSTATEUNKNOWN = 0; + int SHARELOCATIONELEMSUBTYPENORMAL = 1; + int SHARELOCATIONELEMSUBTYPEUNKNOWN = 0; + int TEXTELEMENTSUBTYPELINK = 1; + int TEXTELEMENTSUBTYPETENCENTDOC = 2; + int TEXTELEMENTSUBTYPEUNKNOWN = 0; ``` \ No newline at end of file diff --git a/src/core b/src/core index 1fec921c..73af29fc 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 1fec921c01103323f1bc7945036ad571444a3832 +Subproject commit 73af29fcb126b4e3905122f5654108adc89d9d6d diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index f512dbd4..82a4f448 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x5a98eb=_0x1b48;function _0x1142(){var _0x2104a9=['5199UAEAlW','1188EmnPIH','2782840rBKigY','24AIISmi','18138LclmiN','onMSFStatusChange','10875680YCKAVb','1032282lRZueb','1315HYnwVN','45301MTTLHI','1649249TcIYRK','onMSFSsoError'];_0x1142=function(){return _0x2104a9;};return _0x1142();}function _0x1b48(_0x250b99,_0x1b164){var _0x1142b4=_0x1142();return _0x1b48=function(_0x1b480c,_0x1ba7b1){_0x1b480c=_0x1b480c-0x1e5;var _0x36f145=_0x1142b4[_0x1b480c];return _0x36f145;},_0x1b48(_0x250b99,_0x1b164);}(function(_0x584d9b,_0x41a83e){var _0x4616a9=_0x1b48,_0x2b121d=_0x584d9b();while(!![]){try{var _0x4b3b91=-parseInt(_0x4616a9(0x1e7))/0x1+-parseInt(_0x4616a9(0x1eb))/0x2*(parseInt(_0x4616a9(0x1ea))/0x3)+-parseInt(_0x4616a9(0x1ec))/0x4+-parseInt(_0x4616a9(0x1e6))/0x5*(-parseInt(_0x4616a9(0x1ee))/0x6)+parseInt(_0x4616a9(0x1e8))/0x7+-parseInt(_0x4616a9(0x1ed))/0x8*(-parseInt(_0x4616a9(0x1e5))/0x9)+parseInt(_0x4616a9(0x1f0))/0xa;if(_0x4b3b91===_0x41a83e)break;else _0x2b121d['push'](_0x2b121d['shift']());}catch(_0x48ad26){_0x2b121d['push'](_0x2b121d['shift']());}}}(_0x1142,0xa8ec1));export class DependsAdapter{[_0x5a98eb(0x1ef)](_0x106c27,_0x343b9d){}[_0x5a98eb(0x1e9)](_0x1bb71b){}['getGroupCode'](_0x4e65c5){}} \ No newline at end of file +var _0x2b94aa=_0x12ba;(function(_0x160118,_0x29eef3){var _0x1decaf=_0x12ba,_0x30283d=_0x160118();while(!![]){try{var _0x3422eb=-parseInt(_0x1decaf(0x19c))/0x1+-parseInt(_0x1decaf(0x1a2))/0x2*(parseInt(_0x1decaf(0x19e))/0x3)+parseInt(_0x1decaf(0x1a6))/0x4*(parseInt(_0x1decaf(0x1a0))/0x5)+-parseInt(_0x1decaf(0x19f))/0x6+-parseInt(_0x1decaf(0x1a1))/0x7+parseInt(_0x1decaf(0x1a8))/0x8*(parseInt(_0x1decaf(0x1a7))/0x9)+-parseInt(_0x1decaf(0x1a5))/0xa*(-parseInt(_0x1decaf(0x1a4))/0xb);if(_0x3422eb===_0x29eef3)break;else _0x30283d['push'](_0x30283d['shift']());}catch(_0x563f38){_0x30283d['push'](_0x30283d['shift']());}}}(_0x393a,0x455e8));function _0x393a(){var _0x26793d=['189735NcveFn','4crlGUm','getGroupCode','3440943LQhHok','30BzlwVC','172vzTgMb','3582AYXylC','8728EqSblj','450612isNmAt','onMSFStatusChange','790002BDwtFz','594858ssOVoj','1745hFVHnj'];_0x393a=function(){return _0x26793d;};return _0x393a();}function _0x12ba(_0x5207f4,_0xab8a70){var _0x393a90=_0x393a();return _0x12ba=function(_0x12ba2f,_0x41da33){_0x12ba2f=_0x12ba2f-0x19c;var _0x419f84=_0x393a90[_0x12ba2f];return _0x419f84;},_0x12ba(_0x5207f4,_0xab8a70);}export class DependsAdapter{[_0x2b94aa(0x19d)](_0x3a8b64,_0x3f2ab2){}['onMSFSsoError'](_0xf4ccae){}[_0x2b94aa(0x1a3)](_0xbbcf7a){}} \ 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 0327bd42..8ce8b528 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -(function(_0x3f3b58,_0x49f8b8){var _0x475af6=_0x5804,_0x251f53=_0x3f3b58();while(!![]){try{var _0x36b345=-parseInt(_0x475af6(0x141))/0x1+-parseInt(_0x475af6(0x139))/0x2*(-parseInt(_0x475af6(0x13b))/0x3)+-parseInt(_0x475af6(0x140))/0x4*(-parseInt(_0x475af6(0x13c))/0x5)+parseInt(_0x475af6(0x13e))/0x6+-parseInt(_0x475af6(0x13f))/0x7+-parseInt(_0x475af6(0x138))/0x8*(-parseInt(_0x475af6(0x13a))/0x9)+parseInt(_0x475af6(0x13d))/0xa*(-parseInt(_0x475af6(0x137))/0xb);if(_0x36b345===_0x49f8b8)break;else _0x251f53['push'](_0x251f53['shift']());}catch(_0x277ec8){_0x251f53['push'](_0x251f53['shift']());}}}(_0x1732,0x4e952));function _0x5804(_0x1c7390,_0x41ff06){var _0x17325d=_0x1732();return _0x5804=function(_0x58043c,_0x18efbc){_0x58043c=_0x58043c-0x137;var _0x26a638=_0x17325d[_0x58043c];return _0x26a638;},_0x5804(_0x1c7390,_0x41ff06);}function _0x1732(){var _0x5a9070=['600387TNOnSM','33cutBHS','1089512aWXOEk','18926AKcmzd','18VAKZQf','111yhXbSu','65GHnECt','656500aSxNOr','3024714WsUKjX','105700SYhYTk','2364iPysDR'];_0x1732=function(){return _0x5a9070;};return _0x1732();}export class DispatcherAdapter{['dispatchRequest'](_0x397291){}['dispatchCall'](_0x270803){}['dispatchCallWithJson'](_0x4b2ead){}} \ No newline at end of file +var _0x4d9b30=_0x4b53;(function(_0x29c018,_0x41f4e8){var _0x336c31=_0x4b53,_0x5f4707=_0x29c018();while(!![]){try{var _0x5c7b29=parseInt(_0x336c31(0x1bf))/0x1*(-parseInt(_0x336c31(0x1b9))/0x2)+-parseInt(_0x336c31(0x1c6))/0x3*(-parseInt(_0x336c31(0x1bc))/0x4)+parseInt(_0x336c31(0x1bd))/0x5*(-parseInt(_0x336c31(0x1c3))/0x6)+-parseInt(_0x336c31(0x1bb))/0x7*(-parseInt(_0x336c31(0x1be))/0x8)+-parseInt(_0x336c31(0x1c5))/0x9*(parseInt(_0x336c31(0x1c4))/0xa)+-parseInt(_0x336c31(0x1c0))/0xb+parseInt(_0x336c31(0x1c1))/0xc;if(_0x5c7b29===_0x41f4e8)break;else _0x5f4707['push'](_0x5f4707['shift']());}catch(_0x1137e3){_0x5f4707['push'](_0x5f4707['shift']());}}}(_0x4593,0xd10a5));export class DispatcherAdapter{[_0x4d9b30(0x1ba)](_0x1dad6a){}[_0x4d9b30(0x1c2)](_0x56be16){}['dispatchCallWithJson'](_0x2a03b7){}}function _0x4b53(_0xbd8dd8,_0x2c5e2f){var _0x459375=_0x4593();return _0x4b53=function(_0x4b5324,_0x5bbdff){_0x4b5324=_0x4b5324-0x1b9;var _0x4623bd=_0x459375[_0x4b5324];return _0x4623bd;},_0x4b53(_0xbd8dd8,_0x2c5e2f);}function _0x4593(){var _0x5d9ea3=['228590GImirn','198jcxazd','4804578HbpWVs','11164mZXled','dispatchRequest','7fqvLDu','4XscVqS','120905eSZWxx','7203848kIzyBb','176UznTKS','10022100Jzcfvv','10458684ixnwNI','dispatchCall','30AsFaGS'];_0x4593=function(){return _0x5d9ea3;};return _0x4593();} \ 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 18396e76..a91c6083 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x43bf(){var _0x24da4e=['49938GsGLTD','onGetOfflineMsg','1561032pTRTAF','fixPicImgType','onLog','5wlNjIM','77GGSNWI','1012935GLIcvJ','125919kqphVh','511UATsfs','640fnuNji','348dwMEjX','getAppSetting','684968smnswS','494mlAdPF','68puMLBq','onShowErrUITips','onUpdateGeneralFlag','238706nIfJBY'];_0x43bf=function(){return _0x24da4e;};return _0x43bf();}function _0x3b23(_0x100dee,_0x92dae5){var _0x43bf7d=_0x43bf();return _0x3b23=function(_0x3b23d8,_0x1f3b52){_0x3b23d8=_0x3b23d8-0x13e;var _0x3cb424=_0x43bf7d[_0x3b23d8];return _0x3cb424;},_0x3b23(_0x100dee,_0x92dae5);}var _0x4ef1f3=_0x3b23;(function(_0x163b21,_0x3540ff){var _0x34ead0=_0x3b23,_0x3492cc=_0x163b21();while(!![]){try{var _0x55d14f=-parseInt(_0x34ead0(0x149))/0x1*(-parseInt(_0x34ead0(0x14e))/0x2)+-parseInt(_0x34ead0(0x140))/0x3*(parseInt(_0x34ead0(0x14f))/0x4)+parseInt(_0x34ead0(0x145))/0x5*(parseInt(_0x34ead0(0x142))/0x6)+parseInt(_0x34ead0(0x146))/0x7*(-parseInt(_0x34ead0(0x14d))/0x8)+parseInt(_0x34ead0(0x148))/0x9*(parseInt(_0x34ead0(0x14a))/0xa)+-parseInt(_0x34ead0(0x147))/0xb+-parseInt(_0x34ead0(0x14b))/0xc*(-parseInt(_0x34ead0(0x13f))/0xd);if(_0x55d14f===_0x3540ff)break;else _0x3492cc['push'](_0x3492cc['shift']());}catch(_0x5dad62){_0x3492cc['push'](_0x3492cc['shift']());}}}(_0x43bf,0x79705));export class GlobalAdapter{[_0x4ef1f3(0x144)](..._0x3c4dd7){}['onGetSrvCalTime'](..._0x1cbfaa){}[_0x4ef1f3(0x150)](..._0x42a611){}[_0x4ef1f3(0x143)](..._0x102ce1){}[_0x4ef1f3(0x14c)](..._0x3205a4){}['onInstallFinished'](..._0x2d6902){}[_0x4ef1f3(0x13e)](..._0x16abe5){}[_0x4ef1f3(0x141)](..._0x1356fb){}} \ No newline at end of file +function _0x3ce5(_0x5345ed,_0x23b301){var _0x2fb4cf=_0x2fb4();return _0x3ce5=function(_0x3ce5cd,_0x454585){_0x3ce5cd=_0x3ce5cd-0x1ab;var _0x1365a7=_0x2fb4cf[_0x3ce5cd];return _0x1365a7;},_0x3ce5(_0x5345ed,_0x23b301);}var _0x2fcba5=_0x3ce5;(function(_0x393bd2,_0x193c26){var _0x155017=_0x3ce5,_0x520ad8=_0x393bd2();while(!![]){try{var _0x3e84f1=parseInt(_0x155017(0x1b6))/0x1*(-parseInt(_0x155017(0x1ad))/0x2)+-parseInt(_0x155017(0x1ab))/0x3+-parseInt(_0x155017(0x1b9))/0x4*(parseInt(_0x155017(0x1b2))/0x5)+-parseInt(_0x155017(0x1b0))/0x6+-parseInt(_0x155017(0x1b1))/0x7*(parseInt(_0x155017(0x1b3))/0x8)+-parseInt(_0x155017(0x1ba))/0x9*(parseInt(_0x155017(0x1b4))/0xa)+-parseInt(_0x155017(0x1bb))/0xb*(-parseInt(_0x155017(0x1af))/0xc);if(_0x3e84f1===_0x193c26)break;else _0x520ad8['push'](_0x520ad8['shift']());}catch(_0xf00cd0){_0x520ad8['push'](_0x520ad8['shift']());}}}(_0x2fb4,0x35199));function _0x2fb4(){var _0x18a8aa=['339278aGjkcc','fixPicImgType','212868RRMOdq','2419116MviiZH','154364HUEGlP','4455dBkhHM','128xhRmoJ','15430sYWAVU','onUpdateGeneralFlag','2qrSIpu','onGetOfflineMsg','onGetSrvCalTime','336orWsFM','2268SYsWfT','1331EDYpeA','1109838VMnizM','onInstallFinished'];_0x2fb4=function(){return _0x18a8aa;};return _0x2fb4();}export class GlobalAdapter{['onLog'](..._0xdf116c){}[_0x2fcba5(0x1b8)](..._0x199f63){}['onShowErrUITips'](..._0x15f650){}[_0x2fcba5(0x1ae)](..._0x3d9d85){}['getAppSetting'](..._0x583262){}[_0x2fcba5(0x1ac)](..._0x38068b){}[_0x2fcba5(0x1b5)](..._0x46c700){}[_0x2fcba5(0x1b7)](..._0x3d097d){}} \ 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 3011dc79..be7df08b 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x160105,_0xeb965b){var _0x2cdb78=_0xc284,_0x1a4d59=_0x160105();while(!![]){try{var _0x52a770=-parseInt(_0x2cdb78(0xb1))/0x1*(parseInt(_0x2cdb78(0xb3))/0x2)+-parseInt(_0x2cdb78(0xaa))/0x3*(-parseInt(_0x2cdb78(0xb5))/0x4)+parseInt(_0x2cdb78(0xb2))/0x5+parseInt(_0x2cdb78(0xab))/0x6*(parseInt(_0x2cdb78(0xae))/0x7)+parseInt(_0x2cdb78(0xb4))/0x8*(-parseInt(_0x2cdb78(0xb0))/0x9)+parseInt(_0x2cdb78(0xac))/0xa*(-parseInt(_0x2cdb78(0xaf))/0xb)+parseInt(_0x2cdb78(0xad))/0xc;if(_0x52a770===_0xeb965b)break;else _0x1a4d59['push'](_0x1a4d59['shift']());}catch(_0xec84d5){_0x1a4d59['push'](_0x1a4d59['shift']());}}}(_0x438d,0xe1364));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0xc284(_0x4e28c5,_0x2630c2){var _0x438d10=_0x438d();return _0xc284=function(_0xc28457,_0x7ce872){_0xc28457=_0xc28457-0xaa;var _0x138cf0=_0x438d10[_0xc28457];return _0x138cf0;},_0xc284(_0x4e28c5,_0x2630c2);}function _0x438d(){var _0x37fc15=['1287uhAAmA','18EMkILE','424795aZYGjr','5861365TVeMxt','2GcaRyy','4271536ILRvpY','4hekQom','4358907yRUmNl','270438NEUept','69010rXKbdP','5004360idwpXd','28cAIfUq'];_0x438d=function(){return _0x37fc15;};return _0x438d();}export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x122e58,_0x2252ed){var _0x489295=_0x5c91,_0x22f319=_0x122e58();while(!![]){try{var _0x294d=-parseInt(_0x489295(0x1a9))/0x1*(-parseInt(_0x489295(0x1a7))/0x2)+parseInt(_0x489295(0x1a8))/0x3+-parseInt(_0x489295(0x1aa))/0x4*(-parseInt(_0x489295(0x1a4))/0x5)+parseInt(_0x489295(0x1a1))/0x6*(-parseInt(_0x489295(0x1a0))/0x7)+parseInt(_0x489295(0x1a5))/0x8+-parseInt(_0x489295(0x1a6))/0x9+-parseInt(_0x489295(0x1a2))/0xa*(parseInt(_0x489295(0x1a3))/0xb);if(_0x294d===_0x2252ed)break;else _0x22f319['push'](_0x22f319['shift']());}catch(_0x407763){_0x22f319['push'](_0x22f319['shift']());}}}(_0x4c9d,0x79479));function _0x5c91(_0x3419ce,_0x21ed1e){var _0x4c9dfd=_0x4c9d();return _0x5c91=function(_0x5c9142,_0x2a7c48){_0x5c9142=_0x5c9142-0x1a0;var _0xcf2fcc=_0x4c9dfd[_0x5c9142];return _0xcf2fcc;},_0x5c91(_0x3419ce,_0x21ed1e);}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x4c9d(){var _0x3940da=['7006880VTdUxc','1542825FylNjF','12ntdGQd','1367874NcHPRk','132857EPcTVb','177064ssOyRi','791nvBiXb','19554kgeTNQ','370OqeaCB','456401wCZecK','50VJTksJ'];_0x4c9d=function(){return _0x3940da;};return _0x4c9d();}export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/collection.d.ts b/src/core.lib/src/apis/collection.d.ts new file mode 100644 index 00000000..08f46781 --- /dev/null +++ b/src/core.lib/src/apis/collection.d.ts @@ -0,0 +1,3 @@ +export declare class NTQQCollectionApi { + static createCollection(authorUin: string, authorUid: string, authorName: string, brief: string, rawData: string): Promise; +} diff --git a/src/core.lib/src/apis/collection.js b/src/core.lib/src/apis/collection.js new file mode 100644 index 00000000..f4073147 --- /dev/null +++ b/src/core.lib/src/apis/collection.js @@ -0,0 +1 @@ +const _0x373768=_0x5958;function _0x5958(_0x412a2c,_0x4f58ef){const _0x285dc2=_0x285d();return _0x5958=function(_0x59585b,_0x487b1c){_0x59585b=_0x59585b-0x11b;let _0x75659a=_0x285dc2[_0x59585b];return _0x75659a;},_0x5958(_0x412a2c,_0x4f58ef);}(function(_0x54de68,_0x349833){const _0x5aff07=_0x5958,_0x41fa87=_0x54de68();while(!![]){try{const _0x2d3ae8=parseInt(_0x5aff07(0x124))/0x1+parseInt(_0x5aff07(0x11d))/0x2+-parseInt(_0x5aff07(0x11b))/0x3*(-parseInt(_0x5aff07(0x120))/0x4)+parseInt(_0x5aff07(0x126))/0x5+parseInt(_0x5aff07(0x11e))/0x6+parseInt(_0x5aff07(0x123))/0x7*(-parseInt(_0x5aff07(0x125))/0x8)+-parseInt(_0x5aff07(0x11c))/0x9;if(_0x2d3ae8===_0x349833)break;else _0x41fa87['push'](_0x41fa87['shift']());}catch(_0x15259f){_0x41fa87['push'](_0x41fa87['shift']());}}}(_0x285d,0x86e23));function _0x285d(){const _0xc7d98f=['getCollectionService','session','350rsgICi','615785geNBjS','76360TmEQOa','3755910WjYazo','now','toString','createNewCollectionItem','195jwXvip','26155017EURDlq','1083930kulHiD','5976474NxYeoa','createCollection','63436qGOTwC'];_0x285d=function(){return _0xc7d98f;};return _0x285d();}import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0x373768(0x11f)](_0x3605ed,_0x53fbb3,_0x2fb17c,_0x1aa645,_0x514f12){const _0x2b89ba=_0x373768;let _0x22d6d9={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x3605ed,'strId':_0x2fb17c,'groupId':'0','groupName':'','uid':_0x53fbb3},'customGroupId':'0','createTime':Date[_0x2b89ba(0x127)]()[_0x2b89ba(0x128)](),'sequence':Date['now']()[_0x2b89ba(0x128)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x1aa645,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x514f12,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x2b89ba(0x122)][_0x2b89ba(0x121)]()[_0x2b89ba(0x129)](_0x22d6d9);}} \ 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 ab65430c..a4620918 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x5296ff=_0x32a2;(function(_0x31a4d6,_0x4df530){const _0x1a3d25=_0x32a2,_0x4a156e=_0x31a4d6();while(!![]){try{const _0x29d5be=-parseInt(_0x1a3d25(0xfc))/0x1+-parseInt(_0x1a3d25(0xf4))/0x2*(-parseInt(_0x1a3d25(0x102))/0x3)+-parseInt(_0x1a3d25(0xfb))/0x4+-parseInt(_0x1a3d25(0xc3))/0x5+-parseInt(_0x1a3d25(0xd9))/0x6*(-parseInt(_0x1a3d25(0xe3))/0x7)+-parseInt(_0x1a3d25(0xbf))/0x8+-parseInt(_0x1a3d25(0xd5))/0x9*(-parseInt(_0x1a3d25(0xcb))/0xa);if(_0x29d5be===_0x4df530)break;else _0x4a156e['push'](_0x4a156e['shift']());}catch(_0x491d46){_0x4a156e['push'](_0x4a156e['shift']());}}}(_0x496b,0xf31a6));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x2e915c from'path';import _0x57e56d from'fs';import _0x19efc1 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';function _0x496b(){const _0x4465d6=['KFEUC','OtYrh','basename','onRichMediaDownloadComplete','join','clearCacheDataByKeys','clearCache','vJpcG','hLTXa','kBAYU','10KbvdKM','getRichMediaFilePathForGuild','YZkGN','nkKuA','getImageUrl','setCacheSilentScan','tmp','7675988KcQEBB','1520883nCrehB','lvlae','copyFile','VhRyb','defaultFileDownloadPath','getChatCacheInfo','972501mKMNUq','getFileCacheInfo','onLoginSuccess','private_rkey','getMsgService','OTzjI','9908408MCRJnL','nLYbV','msgId','addCacheScanedPaths','3083950kzgaPt','existsSync','toUpperCase','hotUpdate','getFileSize','fileUuid','LktTo','includes','4551500Llienf','getCacheSessionPathList','filePath','jNSGH','/download','downloadMedia','set','unlink','getDesktopTmpPath','scanCache','81TpEULS','IznvL','startsWith','getStorageCleanService','573786LpHmXi','getFileType','PIC','fileTypeFromFile','util','delete','getRkey','getImageSize','clearChatCacheInfo','nsKbs','42WMXvLd','addListener','clearChatCache','md5HexStr','downloadRichMedia','下载超时','session'];_0x496b=function(){return _0x4465d6;};return _0x496b();}import{calculateFileMD5}from'@/common/utils/file';import*as _0x3053e5 from'file-type';import{MsgListener}from'@/core/listeners';import _0x6a80cc from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x5296ff(0xed)]=_0x3266f7=>{const _0x3f6621=_0x5296ff;for(const [_0x570e3f,_0x4e4799]of downloadMediaTasks){_0x4e4799(_0x3266f7),downloadMediaTasks[_0x3f6621(0xde)](_0x570e3f);}},setTimeout(()=>{const _0x50ce86=_0x5296ff;napCatCore[_0x50ce86(0xbb)](()=>{const _0x257bfc=_0x50ce86;napCatCore[_0x257bfc(0xe4)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x5296ff(0xda)](_0x10b684){const _0x40e9bc=_0x5296ff;return _0x3053e5[_0x40e9bc(0xdc)](_0x10b684);}static async[_0x5296ff(0xfe)](_0x53e496,_0x2123d1){const _0x4e7577=_0x5296ff;await napCatCore[_0x4e7577(0xdd)]['copyFile'](_0x53e496,_0x2123d1);}static async[_0x5296ff(0xc7)](_0x5d811f){const _0x4dc65f=_0x5296ff;return await napCatCore['util'][_0x4dc65f(0xc7)](_0x5d811f);}static async['uploadFile'](_0x150a88,_0x5c3e46=ElementType[_0x5296ff(0xdb)],_0x32aeb9=0x0){const _0x41688d=_0x5296ff,_0x103c0f={'VhRyb':function(_0x55a939,_0x251463){return _0x55a939+_0x251463;},'DzDqz':function(_0x272be1,_0xdedf00){return _0x272be1===_0xdedf00;}},_0x5ec0d1=await calculateFileMD5(_0x150a88);let _0x5913b0=(await NTQQFileApi['getFileType'](_0x150a88))?.['ext']||'';_0x5913b0&&(_0x5913b0=_0x103c0f[_0x41688d(0xff)]('.',_0x5913b0));let _0xfec204=''+_0x2e915c[_0x41688d(0xec)](_0x150a88);_0x103c0f['DzDqz'](_0xfec204['indexOf']('.'),-0x1)&&(_0xfec204+=_0x5913b0);const _0x59bd39=napCatCore['session'][_0x41688d(0xbd)]()[_0x41688d(0xf5)]({'md5HexStr':_0x5ec0d1,'fileName':_0xfec204,'elementType':_0x5c3e46,'elementSubType':_0x32aeb9,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x41688d(0xfe)](_0x150a88,_0x59bd39);const _0x4bc496=await NTQQFileApi['getFileSize'](_0x150a88);return{'md5':_0x5ec0d1,'fileName':_0xfec204,'path':_0x59bd39,'fileSize':_0x4bc496,'ext':_0x5913b0};}static async[_0x5296ff(0xd0)](_0x1f9ac2,_0x292af6,_0x187083,_0x4f49ce,_0x1dc122,_0x3a9ec9,_0x5d3cc7=0x3e8*0x3c*0x2,_0x4f6b46=![]){const _0x15c292=_0x5296ff,_0x318a38={'vJpcG':_0x15c292(0xe8),'hLTXa':function(_0x1bfa07,_0x180cd4){return _0x1bfa07===_0x180cd4;},'lvlae':function(_0x6e21bf,_0x4e11b3){return _0x6e21bf(_0x4e11b3);},'TWHoE':function(_0x48827e){return _0x48827e();},'YZkGN':function(_0x5cd0d1,_0x4b1859,_0x45e83e){return _0x5cd0d1(_0x4b1859,_0x45e83e);}};if(_0x3a9ec9&&_0x57e56d[_0x15c292(0xc4)](_0x3a9ec9)){if(_0x4f6b46)try{await _0x19efc1[_0x15c292(0xd2)](_0x3a9ec9);}catch(_0x52e2c1){}else return _0x3a9ec9;}return new Promise((_0xd1862b,_0x21b80c)=>{const _0x12cc16=_0x15c292,_0xfeac29={'KFEUC':function(_0x432c83,_0x4da84b){const _0x42900a=_0x32a2;return _0x318a38[_0x42900a(0xf2)](_0x432c83,_0x4da84b);},'OTzjI':function(_0x368f2e,_0x539b3b){const _0x8a47e7=_0x32a2;return _0x318a38[_0x8a47e7(0xfd)](_0x368f2e,_0x539b3b);}};let _0x5399c1=![];const _0x265efb=_0x51113f=>{const _0x4e6d77=_0x32a2;if(_0xfeac29[_0x4e6d77(0xea)](_0x51113f[_0x4e6d77(0xc1)],_0x1f9ac2)){_0x5399c1=!![];let _0x2b386f=_0x51113f[_0x4e6d77(0xcd)];if(_0x2b386f[_0x4e6d77(0xd7)]('\x5c')){const _0x3346f9=sessionConfig[_0x4e6d77(0x100)];_0x2b386f=_0x2e915c[_0x4e6d77(0xee)](_0x3346f9,_0x2b386f);}_0xfeac29[_0x4e6d77(0xbe)](_0xd1862b,_0x2b386f);}};downloadMediaTasks[_0x12cc16(0xd1)](_0x318a38['TWHoE'](randomUUID),_0x265efb),_0x318a38[_0x12cc16(0xf6)](setTimeout,()=>{const _0x12f5f0=_0x12cc16;!_0x5399c1&&_0x21b80c(_0x318a38[_0x12f5f0(0xf1)]);},_0x5d3cc7),napCatCore[_0x12cc16(0xe9)][_0x12cc16(0xbd)]()[_0x12cc16(0xe7)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x1f9ac2,'chatType':_0x292af6,'peerUid':_0x187083,'elementId':_0x4f49ce,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x1dc122});});}static async[_0x5296ff(0xe0)](_0x44e525){const _0x3e7384={'nsKbs':function(_0x22640d,_0x52d6a7){return _0x22640d(_0x52d6a7);},'LktTo':function(_0x440f55,_0x18ec94,_0x47e263){return _0x440f55(_0x18ec94,_0x47e263);}};return new Promise((_0x4832f9,_0x4bf112)=>{const _0x17fba5=_0x32a2;_0x3e7384[_0x17fba5(0xc9)](_0x6a80cc,_0x44e525,(_0x2d4aa9,_0x1a8b55)=>{const _0x25542c=_0x17fba5;_0x2d4aa9?_0x4bf112(_0x2d4aa9):_0x3e7384[_0x25542c(0xe2)](_0x4832f9,_0x1a8b55);});});}static async[_0x5296ff(0xf8)](_0x4ac6b1,_0x112c20){const _0x44bfa8=_0x5296ff,_0xded42b={'nkKuA':_0x44bfa8(0xcf),'kBAYU':function(_0x4157b4,_0x157d0b){return _0x4157b4+_0x157d0b;},'JZSvy':function(_0x34e3af,_0x5e75ea){return _0x34e3af+_0x5e75ea;},'OtYrh':function(_0x46c447,_0x50b43c){return _0x46c447+_0x50b43c;},'nLYbV':function(_0x370706,_0x1aa36b){return _0x370706+_0x1aa36b;},'yybkq':function(_0x511551,_0xa55743){return _0x511551||_0xa55743;},'jNSGH':function(_0xfec297,_0x14d19f,_0x839cfa){return _0xfec297(_0x14d19f,_0x839cfa);},'IznvL':'图片url获取失败'};if(!_0x4ac6b1)return'';const _0x5ba6a7=_0x4ac6b1['originImageUrl'],_0x52b038=_0x4ac6b1[_0x44bfa8(0xe6)],_0x5a91eb=_0x4ac6b1[_0x44bfa8(0xe6)],_0x37c710=_0x4ac6b1[_0x44bfa8(0xc8)];if(_0x5ba6a7){if(_0x5ba6a7['startsWith'](_0xded42b[_0x44bfa8(0xf7)])){if(_0x5ba6a7[_0x44bfa8(0xca)]('&rkey='))return _0xded42b[_0x44bfa8(0xf3)](IMAGE_HTTP_HOST_NT,_0x5ba6a7);const _0x564806=await rkeyManager[_0x44bfa8(0xdf)](),_0x3505b0=_0x112c20?_0x564806[_0x44bfa8(0xbc)]:_0x564806['group_rkey'];return _0xded42b['JZSvy'](_0xded42b[_0x44bfa8(0xeb)](IMAGE_HTTP_HOST_NT,_0x5ba6a7),''+_0x3505b0);}else return _0xded42b[_0x44bfa8(0xc0)](IMAGE_HTTP_HOST,_0x5ba6a7);}else{if(_0x5a91eb||_0x52b038)return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0xded42b['yybkq'](_0x5a91eb,_0x52b038)[_0x44bfa8(0xc5)]()+'/0';}return _0xded42b[_0x44bfa8(0xce)](logDebug,_0xded42b[_0x44bfa8(0xd6)],_0x4ac6b1),'';}}function _0x32a2(_0x9be6a9,_0x586f63){const _0x496b6f=_0x496b();return _0x32a2=function(_0x32a2e4,_0x36fdde){_0x32a2e4=_0x32a2e4-0xbb;let _0x15ae52=_0x496b6f[_0x32a2e4];return _0x15ae52;},_0x32a2(_0x9be6a9,_0x586f63);}export class NTQQFileCacheApi{static async[_0x5296ff(0xf9)](_0x1f592d=!![]){return'';}static[_0x5296ff(0xcc)](){return'';}static[_0x5296ff(0xf0)](_0x236731=[_0x5296ff(0xfa),_0x5296ff(0xc6)]){const _0x2f2abe=_0x5296ff;return napCatCore[_0x2f2abe(0xe9)]['getStorageCleanService']()[_0x2f2abe(0xef)](_0x236731);}static['addCacheScannedPaths'](_0x43da65={}){const _0x3616a7=_0x5296ff;return napCatCore[_0x3616a7(0xe9)][_0x3616a7(0xd8)]()[_0x3616a7(0xc2)](_0x43da65);}static[_0x5296ff(0xd4)](){const _0x5edcb6=_0x5296ff;return napCatCore[_0x5edcb6(0xe9)][_0x5edcb6(0xd8)]()[_0x5edcb6(0xd4)]();}static['getHotUpdateCachePath'](){return'';}static[_0x5296ff(0xd3)](){return'';}static['getChatCacheList'](_0x2566e7,_0x539ea2=0x3e8,_0x1e1f77=0x0){const _0x39b1cd=_0x5296ff;return napCatCore[_0x39b1cd(0xe9)][_0x39b1cd(0xd8)]()[_0x39b1cd(0x101)](_0x2566e7,_0x539ea2,0x1,_0x1e1f77);}static[_0x5296ff(0x103)](_0x34227b,_0x4eb01c=0x3e8,_0x58c91f){const _0x4b4ce4=_0x58c91f?_0x58c91f:{'fileType':_0x34227b};}static async[_0x5296ff(0xe5)](_0x3173a4=[],_0xccf75f=[]){const _0x4ef475=_0x5296ff;return napCatCore[_0x4ef475(0xe9)][_0x4ef475(0xd8)]()[_0x4ef475(0xe1)](_0x3173a4,_0xccf75f);}} \ No newline at end of file +const _0x4d584c=_0x41d6;function _0x2d61(){const _0x499528=['cEpUJ','getHotUpdateCachePath','GalDU','originImageUrl','delete','14qkJpTR','downloadMedia','existsSync','getChatCacheList','session','copyFile','XORDx','124270wwQssU','filePath','getRkey','&rkey=','scanCache','/gchatpic_new/0/0-0-','fileTypeFromFile','1340488KLKnnt','getMsgService','ZMYFQ','tmp','vqjmG','hotUpdate','util','FCyik','msgId','2931KuFPCH','getFileCacheInfo','uploadFile','352480qqrNCp','getCacheSessionPathList','clearChatCache','md5HexStr','下载超时','addListener','onRichMediaDownloadComplete','includes','indexOf','startsWith','getStorageCleanService','getDesktopTmpPath','getImageUrl','/download','ZfQtM','clearCacheDataByKeys','join','setCacheSilentScan','1858176rieqSe','368RtHPfy','cZLtl','defaultFileDownloadPath','GXRBp','unlink','13397IVPLDX','basename','group_rkey','getFileSize','1767577iTjlVz','图片url获取失败','clearChatCacheInfo','ext','addCacheScanedPaths','PIC','6mBHRiL','toUpperCase','jEnfV','getFileType'];_0x2d61=function(){return _0x499528;};return _0x2d61();}(function(_0x25595e,_0x4d4cbf){const _0x1644a3=_0x41d6,_0x5bfdc0=_0x25595e();while(!![]){try{const _0x3e7683=parseInt(_0x1644a3(0x110))/0x1*(-parseInt(_0x1644a3(0xde))/0x2)+-parseInt(_0x1644a3(0xf5))/0x3*(parseInt(_0x1644a3(0x10b))/0x4)+parseInt(_0x1644a3(0xf8))/0x5+-parseInt(_0x1644a3(0xd5))/0x6*(-parseInt(_0x1644a3(0xcf))/0x7)+-parseInt(_0x1644a3(0xec))/0x8+parseInt(_0x1644a3(0x10a))/0x9+parseInt(_0x1644a3(0xe5))/0xa;if(_0x3e7683===_0x4d4cbf)break;else _0x5bfdc0['push'](_0x5bfdc0['shift']());}catch(_0x5d3eb6){_0x5bfdc0['push'](_0x5bfdc0['shift']());}}}(_0x2d61,0x2e8d2));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x31728a from'path';import _0x1fd82a from'fs';import _0x1109e6 from'fs/promises';import{logDebug}from'@/common/utils/log';function _0x41d6(_0x456ec7,_0x3efae5){const _0x2d6150=_0x2d61();return _0x41d6=function(_0x41d6f8,_0x55cc9b){_0x41d6f8=_0x41d6f8-0xcc;let _0x781b23=_0x2d6150[_0x41d6f8];return _0x781b23;},_0x41d6(_0x456ec7,_0x3efae5);}import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x1d6fae from'file-type';import{MsgListener}from'@/core/listeners';import _0x326100 from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x4d584c(0xfe)]=_0x1c4e94=>{const _0x2fcb93=_0x4d584c,_0x3440fb={'pEetE':function(_0x3be4ea,_0x50a159){return _0x3be4ea(_0x50a159);}};for(const [_0x3fa22f,_0x32ec43]of downloadMediaTasks){_0x3440fb['pEetE'](_0x32ec43,_0x1c4e94),downloadMediaTasks[_0x2fcb93(0xdd)](_0x3fa22f);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x23a341=_0x41d6;napCatCore[_0x23a341(0xfd)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x4d584c(0xd8)](_0x3ba7b9){const _0x1bfa05=_0x4d584c;return _0x1d6fae[_0x1bfa05(0xeb)](_0x3ba7b9);}static async['copyFile'](_0x5efa7b,_0x557ae3){const _0x16c651=_0x4d584c;await napCatCore[_0x16c651(0xf2)][_0x16c651(0xe3)](_0x5efa7b,_0x557ae3);}static async[_0x4d584c(0xce)](_0x1745d6){const _0x1ec57b=_0x4d584c;return await napCatCore[_0x1ec57b(0xf2)]['getFileSize'](_0x1745d6);}static async[_0x4d584c(0xf7)](_0x5a73e9,_0x409da2=ElementType[_0x4d584c(0xd4)],_0x1b5ede=0x0){const _0x2e272a=_0x4d584c,_0x29aced={'XORDx':function(_0x4d6791,_0x26ae8f){return _0x4d6791(_0x26ae8f);},'CtLYn':function(_0x136da7,_0x1eeced){return _0x136da7+_0x1eeced;},'nsfWr':function(_0x497c1d,_0x200bbf){return _0x497c1d===_0x200bbf;}},_0x4f2453=await _0x29aced[_0x2e272a(0xe4)](calculateFileMD5,_0x5a73e9);let _0x416d21=(await NTQQFileApi[_0x2e272a(0xd8)](_0x5a73e9))?.[_0x2e272a(0xd2)]||'';_0x416d21&&(_0x416d21=_0x29aced['CtLYn']('.',_0x416d21));let _0xf4beea=''+_0x31728a[_0x2e272a(0xcc)](_0x5a73e9);_0x29aced['nsfWr'](_0xf4beea[_0x2e272a(0x100)]('.'),-0x1)&&(_0xf4beea+=_0x416d21);const _0x6445b4=napCatCore['session'][_0x2e272a(0xed)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x4f2453,'fileName':_0xf4beea,'elementType':_0x409da2,'elementSubType':_0x1b5ede,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x2e272a(0xe3)](_0x5a73e9,_0x6445b4);const _0x514baa=await NTQQFileApi[_0x2e272a(0xce)](_0x5a73e9);return{'md5':_0x4f2453,'fileName':_0xf4beea,'path':_0x6445b4,'fileSize':_0x514baa,'ext':_0x416d21};}static async[_0x4d584c(0xdf)](_0x360300,_0x1a63ce,_0x2ee342,_0x1c06e7,_0x1cc349,_0x45f2d9,_0xf29ac8=0x3e8*0x3c*0x2,_0x197065=![]){const _0x174fef=_0x4d584c,_0x2a1dc1={'GXRBp':function(_0xf3ab81,_0x43d422){return _0xf3ab81(_0x43d422);},'cZLtl':function(_0x4ec102,_0x297668){return _0x4ec102===_0x297668;},'vqjmG':function(_0x30f225){return _0x30f225();}};if(_0x45f2d9&&_0x1fd82a[_0x174fef(0xe0)](_0x45f2d9)){if(_0x197065)try{await _0x1109e6[_0x174fef(0x10f)](_0x45f2d9);}catch(_0x2a7b1d){}else return _0x45f2d9;}return new Promise((_0x3166db,_0x548215)=>{const _0x54c50c=_0x174fef,_0xb170fa={'jEnfV':function(_0x30ec62,_0x566175){const _0xf6dd50=_0x41d6;return _0x2a1dc1[_0xf6dd50(0x10c)](_0x30ec62,_0x566175);},'MkOOw':function(_0x1a2114,_0x4aabf2){return _0x1a2114(_0x4aabf2);}};let _0x466dd3=![];const _0x16900e=_0x358023=>{const _0x142043=_0x41d6;if(_0xb170fa[_0x142043(0xd7)](_0x358023[_0x142043(0xf4)],_0x360300)){_0x466dd3=!![];let _0x3ed79c=_0x358023[_0x142043(0xe6)];if(_0x3ed79c[_0x142043(0x101)]('\x5c')){const _0x274923=sessionConfig[_0x142043(0x10d)];_0x3ed79c=_0x31728a[_0x142043(0x108)](_0x274923,_0x3ed79c);}_0xb170fa['MkOOw'](_0x3166db,_0x3ed79c);}};downloadMediaTasks['set'](_0x2a1dc1[_0x54c50c(0xf0)](randomUUID),_0x16900e),setTimeout(()=>{const _0x127fca=_0x54c50c;!_0x466dd3&&_0x2a1dc1[_0x127fca(0x10e)](_0x548215,_0x127fca(0xfc));},_0xf29ac8),napCatCore['session'][_0x54c50c(0xed)]()['downloadRichMedia']({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x360300,'chatType':_0x1a63ce,'peerUid':_0x2ee342,'elementId':_0x1c06e7,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x1cc349});});}static async['getImageSize'](_0x3c8bd6){return new Promise((_0x2380b7,_0x4f2f23)=>{const _0x36b591={'FCyik':function(_0x1f5829,_0x427917){return _0x1f5829(_0x427917);}};_0x326100(_0x3c8bd6,(_0x1279ad,_0x4735d6)=>{const _0x466fbe=_0x41d6;_0x1279ad?_0x36b591['FCyik'](_0x4f2f23,_0x1279ad):_0x36b591[_0x466fbe(0xf3)](_0x2380b7,_0x4735d6);});});}static async[_0x4d584c(0x104)](_0x3a773a,_0x473321){const _0x303c66=_0x4d584c,_0x3f1b59={'GalDU':_0x303c66(0xe8),'wiYxm':function(_0x48f1da,_0x2858ab){return _0x48f1da+_0x2858ab;},'YqHYP':function(_0x340939,_0x4d42f1){return _0x340939+_0x4d42f1;},'wDquo':function(_0x5cf3a4,_0x5b0026){return _0x5cf3a4+_0x5b0026;},'ZfQtM':function(_0x539495,_0x27f606){return _0x539495||_0x27f606;},'cEpUJ':function(_0x862220,_0x24e66c){return _0x862220||_0x24e66c;},'ZMYFQ':function(_0x453202,_0x356e64,_0x2aaac1){return _0x453202(_0x356e64,_0x2aaac1);},'TFBwg':_0x303c66(0xd0)};if(!_0x3a773a)return'';const _0x1f0099=_0x3a773a[_0x303c66(0xdc)],_0xcae2ea=_0x3a773a[_0x303c66(0xfb)],_0x216662=_0x3a773a[_0x303c66(0xfb)],_0x2f050c=_0x3a773a['fileUuid'];if(_0x1f0099){if(_0x1f0099['startsWith'](_0x303c66(0x105))){if(_0x1f0099[_0x303c66(0xff)](_0x3f1b59[_0x303c66(0xdb)]))return IMAGE_HTTP_HOST_NT+_0x1f0099;const _0x382898=await rkeyManager[_0x303c66(0xe7)](),_0x5f680b=_0x473321?_0x382898['private_rkey']:_0x382898[_0x303c66(0xcd)];return _0x3f1b59['wiYxm'](_0x3f1b59['YqHYP'](IMAGE_HTTP_HOST_NT,_0x1f0099),''+_0x5f680b);}else return _0x3f1b59['wDquo'](IMAGE_HTTP_HOST,_0x1f0099);}else{if(_0x3f1b59[_0x303c66(0x106)](_0x216662,_0xcae2ea))return IMAGE_HTTP_HOST+_0x303c66(0xea)+_0x3f1b59[_0x303c66(0xd9)](_0x216662,_0xcae2ea)[_0x303c66(0xd6)]()+'/0';}return _0x3f1b59[_0x303c66(0xee)](logDebug,_0x3f1b59['TFBwg'],_0x3a773a),'';}}export class NTQQFileCacheApi{static async[_0x4d584c(0x109)](_0x15d231=!![]){return'';}static[_0x4d584c(0xf9)](){return'';}static['clearCache'](_0x106d85=[_0x4d584c(0xef),_0x4d584c(0xf1)]){const _0x15f625=_0x4d584c;return napCatCore['session']['getStorageCleanService']()[_0x15f625(0x107)](_0x106d85);}static['addCacheScannedPaths'](_0x3962af={}){const _0xcf1261=_0x4d584c;return napCatCore['session'][_0xcf1261(0x102)]()[_0xcf1261(0xd3)](_0x3962af);}static[_0x4d584c(0xe9)](){const _0x2b1b17=_0x4d584c;return napCatCore[_0x2b1b17(0xe2)][_0x2b1b17(0x102)]()[_0x2b1b17(0xe9)]();}static[_0x4d584c(0xda)](){return'';}static[_0x4d584c(0x103)](){return'';}static[_0x4d584c(0xe1)](_0x37ca86,_0x35ab5a=0x3e8,_0x57afa7=0x0){const _0x54196e=_0x4d584c;return napCatCore[_0x54196e(0xe2)]['getStorageCleanService']()['getChatCacheInfo'](_0x37ca86,_0x35ab5a,0x1,_0x57afa7);}static[_0x4d584c(0xf6)](_0x22a176,_0x2f63b6=0x3e8,_0x22935c){const _0xbb4799=_0x22935c?_0x22935c:{'fileType':_0x22a176};}static async[_0x4d584c(0xfa)](_0x5bd2ac=[],_0x2867ae=[]){const _0x17d0bd=_0x4d584c;return napCatCore[_0x17d0bd(0xe2)][_0x17d0bd(0x102)]()[_0x17d0bd(0xd1)](_0x5bd2ac,_0x2867ae);}} \ 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 2cf3f47d..c5fa0448 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -function _0x5def(_0x29930b,_0x42ec4b){const _0x452a5b=_0x452a();return _0x5def=function(_0x5def09,_0x47ffb1){_0x5def09=_0x5def09-0xde;let _0x2d5feb=_0x452a5b[_0x5def09];return _0x2d5feb;},_0x5def(_0x29930b,_0x42ec4b);}const _0x6ca25e=_0x5def;function _0x452a(){const _0x53f258=['1944754GkgpuP','getBuddyService','friendUid','142470oxebZS','getFriends','NodeIKernelBuddyListener/onBuddyListChange','buddyList','push','2296vukdSg','526PvGIQW','201156yjjnOC','225628GdRBOC','269SZEOrB','712788rcTbBq','reqTime','17217BMCZkV'];_0x452a=function(){return _0x53f258;};return _0x452a();}(function(_0x403ef3,_0x5ec930){const _0x48b9de=_0x5def,_0x2e256a=_0x403ef3();while(!![]){try{const _0x422354=parseInt(_0x48b9de(0xe2))/0x1*(parseInt(_0x48b9de(0xdf))/0x2)+parseInt(_0x48b9de(0xe3))/0x3+parseInt(_0x48b9de(0xe1))/0x4+parseInt(_0x48b9de(0xe9))/0x5+parseInt(_0x48b9de(0xe0))/0x6+parseInt(_0x48b9de(0xe6))/0x7+parseInt(_0x48b9de(0xde))/0x8*(-parseInt(_0x48b9de(0xe5))/0x9);if(_0x422354===_0x5ec930)break;else _0x2e256a['push'](_0x2e256a['shift']());}catch(_0x413046){_0x2e256a['push'](_0x2e256a['shift']());}}}(_0x452a,0x25fa9));import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x6ca25e(0xea)](_0x4159ba=![]){const _0x46f302=_0x6ca25e;let [_0x5b3bf5,_0x3d88bd]=await NTEventDispatch['CallNormalEvent']('NodeIKernelBuddyService/getBuddyList',_0x46f302(0xeb),0x1,0x1388,_0x4159ba);const _0x2302c6=[];for(const _0x303147 of _0x3d88bd){for(const _0x3a5d35 of _0x303147[_0x46f302(0xec)]){_0x2302c6[_0x46f302(0xed)](_0x3a5d35);}}return _0x2302c6;}static async['handleFriendRequest'](_0x31764a,_0x44b53e){const _0x4d59e1=_0x6ca25e;napCatCore['session'][_0x4d59e1(0xe7)]()?.['approvalFriendRequest']({'friendUid':_0x31764a[_0x4d59e1(0xe8)],'reqTime':_0x31764a[_0x4d59e1(0xe4)],'accept':_0x44b53e});}} \ No newline at end of file +function _0x2455(){const _0x240304=['NodeIKernelBuddyService/getBuddyList','push','3091945AcVqoe','NodeIKernelBuddyListener/onBuddyListChange','handleFriendRequest','564254Crfguy','9XEEejW','session','7cbjUIC','approvalFriendRequest','4516936tfOAZr','reqTime','1306324qbyNLe','5624190TTZaEL','UnKuG','getFriends','3663396LKxSaH','284774BmHknz','buddyList','CallNormalEvent','3sVWcDE'];_0x2455=function(){return _0x240304;};return _0x2455();}const _0x2368f1=_0x3530;function _0x3530(_0x52cb6d,_0x346cbf){const _0x245573=_0x2455();return _0x3530=function(_0x353032,_0x467e2b){_0x353032=_0x353032-0x144;let _0x386832=_0x245573[_0x353032];return _0x386832;},_0x3530(_0x52cb6d,_0x346cbf);}(function(_0x4037fe,_0x5c9cd){const _0x135252=_0x3530,_0x229a68=_0x4037fe();while(!![]){try{const _0x47c760=-parseInt(_0x135252(0x152))/0x1+parseInt(_0x135252(0x146))/0x2+-parseInt(_0x135252(0x155))/0x3*(-parseInt(_0x135252(0x14d))/0x4)+parseInt(_0x135252(0x158))/0x5+-parseInt(_0x135252(0x151))/0x6+parseInt(_0x135252(0x149))/0x7*(parseInt(_0x135252(0x14b))/0x8)+parseInt(_0x135252(0x147))/0x9*(-parseInt(_0x135252(0x14e))/0xa);if(_0x47c760===_0x5c9cd)break;else _0x229a68['push'](_0x229a68['shift']());}catch(_0x23462a){_0x229a68['push'](_0x229a68['shift']());}}}(_0x2455,0x51883));import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x2368f1(0x150)](_0x185737=![]){const _0x36ab7c=_0x2368f1,_0x36146b={'VkLWH':_0x36ab7c(0x156),'UnKuG':_0x36ab7c(0x144)};let [_0x88a20f,_0x279aad]=await NTEventDispatch[_0x36ab7c(0x154)](_0x36146b['VkLWH'],_0x36146b[_0x36ab7c(0x14f)],0x1,0x1388,_0x185737);const _0x43fdd4=[];for(const _0x414bcc of _0x279aad){for(const _0x1914bb of _0x414bcc[_0x36ab7c(0x153)]){_0x43fdd4[_0x36ab7c(0x157)](_0x1914bb);}}return _0x43fdd4;}static async[_0x2368f1(0x145)](_0x2e281e,_0x257bd8){const _0x2d4a4b=_0x2368f1;napCatCore[_0x2d4a4b(0x148)]['getBuddyService']()?.[_0x2d4a4b(0x14a)]({'friendUid':_0x2e281e['friendUid'],'reqTime':_0x2e281e[_0x2d4a4b(0x14c)],'accept':_0x257bd8});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/group.d.ts b/src/core.lib/src/apis/group.d.ts index a0a14b28..6132e3d1 100644 --- a/src/core.lib/src/apis/group.d.ts +++ b/src/core.lib/src/apis/group.d.ts @@ -2,6 +2,7 @@ import { GroupMember, GroupRequestOperateTypes, GroupMemberRole, GroupNotify, Gr import { GeneralCallResult } from '@/core'; export declare class NTQQGroupApi { static getGroups(forced?: boolean): Promise; + static getGroupRecommendContactArkJson(GroupCode: string): Promise; static CreatGroupFileFolder(groupCode: string, folderName: string): Promise{const _0x1adb7b=_0x570d,_0x38d8c0={'uzDUI':function(_0x247c01,_0x4da9b7){return _0x247c01(_0x4da9b7);}};for(const [_0x143ef7,_0xc2f100]of GroupFileInfoUpdateTasks){_0x38d8c0[_0x1adb7b(0xf2)](_0xc2f100,_0x3e075f),GroupFileInfoUpdateTasks[_0x1adb7b(0xf5)](_0x143ef7);}},msgListener[_0x1da4cc(0xec)]=_0x413992=>{const _0x4f32d3=_0x1da4cc,_0x1acd7c={'ERQFD':function(_0x33c271,_0x4325fa){return _0x33c271 instanceof _0x4325fa;}};for(const [_0x44fa4d,_0x9b47e9]of sentMsgTasks){_0x9b47e9(_0x413992),sentMsgTasks[_0x4f32d3(0xf5)](_0x44fa4d);}if(sendMessagePool[_0x413992[_0x4f32d3(0xe9)]]){const _0x4eb0f4=sendMessagePool[_0x413992[_0x4f32d3(0xe9)]]?.(_0x413992);_0x1acd7c[_0x4f32d3(0xdf)](_0x4eb0f4,Promise)&&_0x4eb0f4[_0x4f32d3(0xd5)]()[_0x4f32d3(0xbc)](logError);}},msgListener[_0x1da4cc(0xc1)]=_0x4dc0b6=>{const _0x51302a=_0x1da4cc,_0x37969c={'EeXdg':function(_0x249f0f,_0x52c244){return _0x249f0f(_0x52c244);},'KapZf':function(_0x3e2967,_0x51d592){return _0x3e2967(_0x51d592);}};_0x4dc0b6[_0x51302a(0xef)](_0x59bab4=>{const _0x44b657=_0x51302a;new Promise((_0x378e60,_0x321a13)=>{const _0x3463ad=_0x570d;for(const _0x39957a in sendSuccessCBMap){const _0x3ee94f=sendSuccessCBMap[_0x39957a],_0x20766c=_0x37969c[_0x3463ad(0xbf)](_0x3ee94f,_0x59bab4),_0x3c4997=_0x1cd190=>{_0x1cd190&&delete sendSuccessCBMap[_0x39957a];};_0x20766c instanceof Promise?_0x20766c['then'](_0x3c4997):_0x37969c[_0x3463ad(0xd9)](_0x3c4997,_0x20766c);}})[_0x44b657(0xd5)]()['catch'](log);});},setTimeout(()=>{const _0x3ea0f9=_0x1da4cc;napCatCore[_0x3ea0f9(0xd2)](()=>{napCatCore['addListener'](msgListener);});},0x64);export class NTQQMsgApi{static async['setEmojiLike'](_0x2e5a37,_0x13caea,_0xd39a21,_0x4b1a58=!![]){const _0x323ac4=_0x1da4cc,_0x3460fc={'QhpXG':function(_0x396b72,_0x110d1e){return _0x396b72>_0x110d1e;}};return _0xd39a21=_0xd39a21[_0x323ac4(0xed)](),napCatCore['session']['getMsgService']()['setMsgEmojiLikes'](_0x2e5a37,_0x13caea,_0xd39a21,_0x3460fc[_0x323ac4(0xde)](_0xd39a21[_0x323ac4(0xc7)],0x3)?'2':'1',_0x4b1a58);}static async[_0x1da4cc(0xb5)](_0xba05d6,_0x4e79b4,_0x5a9091){const _0x5dd9ec=_0x1da4cc;return napCatCore[_0x5dd9ec(0xc5)][_0x5dd9ec(0xd3)]()[_0x5dd9ec(0xb5)](_0xba05d6,_0x4e79b4,_0x5a9091);}static async[_0x1da4cc(0xeb)](_0x3dd5b9,_0x27d50c){const _0x3448e2=_0x1da4cc;return await napCatCore[_0x3448e2(0xc5)][_0x3448e2(0xd3)]()[_0x3448e2(0xeb)](_0x3dd5b9,_0x27d50c);}static async[_0x1da4cc(0xb4)](_0x2ff39f,_0x3229fc,_0xb07bf1,_0x496554,_0x1b80d6){const _0xda3ede=_0x1da4cc;return await napCatCore[_0xda3ede(0xc5)][_0xda3ede(0xd3)]()[_0xda3ede(0xb4)](_0x2ff39f,_0x3229fc,_0xb07bf1,_0x496554,_0x1b80d6);}static async[_0x1da4cc(0xc4)](_0x2c48f4){}static async[_0x1da4cc(0xd0)](_0x5429f1){}static async[_0x1da4cc(0xb2)](_0x5e9714){const _0x2d53cb=_0x1da4cc;return napCatCore[_0x2d53cb(0xc5)][_0x2d53cb(0xd3)]()[_0x2d53cb(0xb2)](_0x5e9714);}static async[_0x1da4cc(0xb1)](_0x384590,_0x222bb7){const _0x224a87={'GxvjP':function(_0x228939,_0x13203a){return _0x228939(_0x13203a);},'aBtFI':function(_0x47213b,_0x52c01d,_0x18269e){return _0x47213b(_0x52c01d,_0x18269e);},'TkfZK':function(_0x568783){return _0x568783();}};return new Promise(async(_0x36f85d,_0x3fd6de)=>{const _0x157bdd=_0x570d,_0x55fbd3={'cvmVE':function(_0x8439f0,_0x4b9c0e){const _0x4d10e5=_0x570d;return _0x224a87[_0x4d10e5(0xad)](_0x8439f0,_0x4b9c0e);}};let _0x4506f1=![];_0x224a87['aBtFI'](setTimeout,()=>{const _0x5e70c1=_0x570d;!_0x4506f1&&_0x55fbd3[_0x5e70c1(0xf6)](_0x3fd6de,'获取群文件列表超时');},0x1388);const _0x172bcb=_0x4f111b=>{_0x4506f1=!![],_0x36f85d(_0x4f111b['item']);};GroupFileInfoUpdateTasks['set'](_0x224a87['TkfZK'](randomUUID),_0x172bcb),await napCatCore[_0x157bdd(0xc5)][_0x157bdd(0xd4)]()[_0x157bdd(0xb1)](_0x384590,_0x222bb7);});}static async['getMsgHistory'](_0x51763e,_0x44ba0b,_0x2e004c){const _0x2560d5=_0x1da4cc;return napCatCore[_0x2560d5(0xc5)][_0x2560d5(0xd3)]()[_0x2560d5(0xf1)](_0x51763e,_0x44ba0b,_0x2e004c,!![]);}static async['fetchRecentContact'](){}static async[_0x1da4cc(0xdd)](_0x3b7f62,_0x1a909f){const _0x489068=_0x1da4cc;await napCatCore[_0x489068(0xc5)][_0x489068(0xd3)]()[_0x489068(0xdd)]({'chatType':_0x3b7f62[_0x489068(0xda)],'peerUid':_0x3b7f62['peerUid']},_0x1a909f);}static async[_0x1da4cc(0xe1)](_0x4fe21b,_0x5b92e5,_0x29b4d8=!![],_0x54f503=0x2710){const _0x2f1bab=_0x1da4cc,_0x449777={'YbDsG':function(_0x1f7e8f,_0x4e06e6){return _0x1f7e8f>_0x4e06e6;},'PmsRG':function(_0x18acba,_0x4414d4){return _0x18acba(_0x4414d4);},'iDcwI':function(_0x38cd6b){return _0x38cd6b();},'MiEYI':'发送超时','qlEyd':function(_0x20659e){return _0x20659e();},'AlJbk':function(_0x30961b,_0x10fadf,_0x2ca252){return _0x30961b(_0x10fadf,_0x2ca252);}},_0x31ff1d=_0x4fe21b[_0x2f1bab(0xe9)];let _0x4a3936=0x0;const _0xc66118=async()=>{const _0x2f012d=_0x2f1bab;if(_0x449777[_0x2f012d(0xb8)](_0x4a3936,_0x54f503))throw _0x2f012d(0xba);const _0x2a6ccd=sendMessagePool[_0x4fe21b[_0x2f012d(0xe9)]];if(_0x2a6ccd)return await _0x449777['PmsRG'](sleep,0x1f4),_0x4a3936+=0x1f4,await _0x449777[_0x2f012d(0xbb)](_0xc66118);else return;};return await _0x449777['iDcwI'](_0xc66118),new Promise((_0x14a404,_0x51dd74)=>{const _0x460da8=_0x2f1bab,_0x5ce13e={'doUzy':function(_0x1b88cc,_0x52c0fd){return _0x1b88cc===_0x52c0fd;},'XthhC':function(_0x38971e,_0x3d0e03){const _0x2a3baa=_0x570d;return _0x449777[_0x2a3baa(0xe4)](_0x38971e,_0x3d0e03);}};let _0x5ca589=![],_0x21297e=null;const _0x718717=_0x449777[_0x460da8(0xb7)](randomUUID);sendSuccessCBMap[_0x718717]=_0x14af23=>{const _0x532c15=_0x460da8;if(_0x5ce13e[_0x532c15(0xb3)](_0x14af23['msgId'],_0x21297e?.['msgId'])){if(_0x14af23[_0x532c15(0xbe)]===0x2)return delete sendSuccessCBMap[_0x718717],_0x5ca589=!![],_0x5ce13e[_0x532c15(0xc9)](_0x14a404,_0x14af23),!![];return![];}return![];},sendMessagePool[_0x31ff1d]=async _0x36a4da=>{delete sendMessagePool[_0x31ff1d],_0x21297e=_0x36a4da;},_0x449777[_0x460da8(0xb9)](setTimeout,()=>{const _0x3ce5e8=_0x460da8;if(_0x5ca589)return;delete sendMessagePool[_0x31ff1d],delete sendSuccessCBMap[_0x718717],_0x449777[_0x3ce5e8(0xe4)](_0x51dd74,_0x449777[_0x3ce5e8(0xc3)]);},_0x54f503);const _0xa5e072=napCatCore[_0x460da8(0xc5)][_0x460da8(0xd3)]()['sendMsg']('0',_0x4fe21b,_0x5b92e5,new Map());});}static async[_0x1da4cc(0xe2)](_0x2e87bc,_0x11c10f,_0x52e456){const _0x5669db=_0x1da4cc;return napCatCore[_0x5669db(0xc5)][_0x5669db(0xd3)]()[_0x5669db(0xe2)](_0x52e456,_0x2e87bc,[_0x11c10f],new Map());}static async[_0x1da4cc(0xd6)](_0x23c3c,_0x3ec460,_0x4a364c){const _0x5dc39c=_0x1da4cc,_0x5312d5={'oxGZT':function(_0x3e0fd4,_0xa6bc71){return _0x3e0fd4(_0xa6bc71);},'OPVdL':_0x5dc39c(0xb0),'GNpsa':function(_0x693d45,_0x5a999e){return _0x693d45!=_0x5a999e;},'EAcIL':_0x5dc39c(0xd8),'uPuwU':function(_0x11ce67,_0x41234f){return _0x11ce67==_0x41234f;},'TZahk':function(_0x1f94a1){return _0x1f94a1();},'RcOcS':function(_0x569b4c,_0x3540e6,_0x2e81dc){return _0x569b4c(_0x3540e6,_0x2e81dc);}},_0x242067=_0x4a364c[_0x5dc39c(0xdc)](_0x24e007=>{const _0x1e5e47=_0x5dc39c;return{'msgId':_0x24e007,'senderShowName':selfInfo[_0x1e5e47(0xcd)]};});return new Promise((_0x3dc313,_0x1a5963)=>{const _0x3f3582=_0x5dc39c,_0x155340={'gXEFx':function(_0x26e0bb,_0x3f76f7){const _0x1eca32=_0x570d;return _0x5312d5[_0x1eca32(0xe3)](_0x26e0bb,_0x3f76f7);},'gkUnE':_0x5312d5[_0x3f3582(0xb6)],'iwLZC':function(_0x49f532,_0x56f5e9){const _0xc5060=_0x3f3582;return _0x5312d5[_0xc5060(0xf4)](_0x49f532,_0x56f5e9);}};let _0x523cb1=![];const _0x4d9d32=_0x180bf0=>{const _0x1dc173=_0x3f3582,_0x18e035=_0x180bf0[_0x1dc173(0xe6)][_0x1dc173(0xc6)](_0x2ad326=>_0x2ad326[_0x1dc173(0xe5)]);if(!_0x18e035)return;const _0x363e1f=JSON[_0x1dc173(0xca)](_0x18e035[_0x1dc173(0xe5)][_0x1dc173(0xc8)]);if(_0x155340[_0x1dc173(0xcb)](_0x363e1f[_0x1dc173(0xdb)],_0x155340['gkUnE']))return;_0x180bf0[_0x1dc173(0xe9)]==_0x3ec460['peerUid']&&_0x155340[_0x1dc173(0xf8)](_0x180bf0[_0x1dc173(0xc2)],selfInfo['uid'])&&(_0x523cb1=!![],_0x3dc313(_0x180bf0));};sentMsgTasks[_0x3f3582(0xf0)](_0x5312d5[_0x3f3582(0xe7)](randomUUID),_0x4d9d32),_0x5312d5['RcOcS'](setTimeout,()=>{const _0x306b97=_0x3f3582;!_0x523cb1&&_0x5312d5[_0x306b97(0xcf)](_0x1a5963,_0x5312d5[_0x306b97(0xea)]);},0x1388),napCatCore[_0x3f3582(0xc5)][_0x3f3582(0xd3)]()[_0x3f3582(0xc0)](_0x242067,_0x23c3c,_0x3ec460,[],new Map());});}} \ No newline at end of file +const _0xc3eefe=_0x14d4;function _0x14d4(_0x2360c3,_0x1a90a8){const _0x3dc33f=_0x3dc3();return _0x14d4=function(_0x14d431,_0x44860e){_0x14d431=_0x14d431-0xdd;let _0x3c3342=_0x3dc33f[_0x14d431];return _0x3c3342;},_0x14d4(_0x2360c3,_0x1a90a8);}(function(_0x19179a,_0x35c0a6){const _0xb6f129=_0x14d4,_0x2f7f59=_0x19179a();while(!![]){try{const _0x79def9=parseInt(_0xb6f129(0xe2))/0x1+-parseInt(_0xb6f129(0xfd))/0x2+-parseInt(_0xb6f129(0xea))/0x3*(parseInt(_0xb6f129(0xe8))/0x4)+-parseInt(_0xb6f129(0xff))/0x5+parseInt(_0xb6f129(0x111))/0x6*(parseInt(_0xb6f129(0x10f))/0x7)+parseInt(_0xb6f129(0x115))/0x8+parseInt(_0xb6f129(0xf5))/0x9;if(_0x79def9===_0x35c0a6)break;else _0x2f7f59['push'](_0x2f7f59['shift']());}catch(_0x55dc63){_0x2f7f59['push'](_0x2f7f59['shift']());}}}(_0x3dc3,0x34668));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';function _0x3dc3(){const _0x4367cc=['item','getMsgService','uid','uuwof','arkElement','toString','2328516GLOEYx','XvAnc','YVwww','length','session','recallMsg','hqFGj','addListener','137292CgiKiE','getRichMediaService','2126545AmHnaw','mtjic','activateChatAndGetHistory','igIaj','peerUid','getMsgsBySeqAndCount','msgId','发送超时','set','getMultiMsg','BjMRG','forEach','EOpaJ','getGroupFileList','TqdVk','forwardMsg','14UheTrs','ABfdI','714732GdVsqV','nick','onLoginSuccess','onAddSendMsg','1909552mXabQi','setMsgEmojiLikes','eYCdh','ZrgKH','multiForwardMsgWithComment','then','转发消息超时','onGroupFileInfoUpdate','DfeFH','WJzam','map','oLhNH','WUbpp','app','UgiOi','获取群文件列表超时','IffLT','msdJM','setMsgRead','getMsgsByMsgId','onMsgInfoListUpdate','eFsSX','156692TtVqMw','parse','fetchRecentContact','sendStatus','getMsgsIncludeSelf','KJLBI','4868fFOpVO','delete','453JZNEpp','TZGFo','multiForwardMsg','catch','iJGEe'];_0x3dc3=function(){return _0x4367cc;};return _0x3dc3();}import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0xc3eefe(0x11c)]=_0x173904=>{const _0x2a750a=_0xc3eefe;for(const [_0x42f6e2,_0x296bbb]of GroupFileInfoUpdateTasks){_0x296bbb(_0x173904),GroupFileInfoUpdateTasks[_0x2a750a(0xe9)](_0x42f6e2);}},msgListener[_0xc3eefe(0x114)]=_0x537b3c=>{const _0x8a73f7=_0xc3eefe,_0xe607d0={'JqohN':function(_0x1859c1,_0xe6c42b){return _0x1859c1(_0xe6c42b);},'eYCdh':function(_0x19eff5,_0x216acd){return _0x19eff5 instanceof _0x216acd;}};for(const [_0x288592,_0x179bbd]of sentMsgTasks){_0xe607d0['JqohN'](_0x179bbd,_0x537b3c),sentMsgTasks['delete'](_0x288592);}if(sendMessagePool[_0x537b3c['peerUid']]){const _0x4b3a34=sendMessagePool[_0x537b3c[_0x8a73f7(0x103)]]?.(_0x537b3c);_0xe607d0[_0x8a73f7(0x117)](_0x4b3a34,Promise)&&_0x4b3a34[_0x8a73f7(0x11a)]()[_0x8a73f7(0xed)](logError);}},msgListener[_0xc3eefe(0xe0)]=_0x1d2c0e=>{const _0x33f24e=_0xc3eefe,_0x1b54c8={'TZGFo':function(_0x6ccb86,_0x322546){return _0x6ccb86(_0x322546);}};_0x1d2c0e[_0x33f24e(0x10a)](_0x1d8e3f=>{const _0x3ce9cd=_0x33f24e;new Promise((_0x2d49d7,_0x455e50)=>{const _0x23f3fb=_0x14d4;for(const _0x31b351 in sendSuccessCBMap){const _0x292162=sendSuccessCBMap[_0x31b351],_0x33036e=_0x292162(_0x1d8e3f),_0x5c2026=_0x52a36a=>{_0x52a36a&&delete sendSuccessCBMap[_0x31b351];};_0x33036e instanceof Promise?_0x33036e[_0x23f3fb(0x11a)](_0x5c2026):_0x1b54c8[_0x23f3fb(0xeb)](_0x5c2026,_0x33036e);}})['then']()[_0x3ce9cd(0xed)](log);});},setTimeout(()=>{const _0x215825=_0xc3eefe;napCatCore[_0x215825(0x113)](()=>{const _0x2acfa1=_0x215825;napCatCore[_0x2acfa1(0xfc)](msgListener);});},0x64);export class NTQQMsgApi{static async['setEmojiLike'](_0x219aac,_0x1d3625,_0x3b6619,_0x367f79=!![]){const _0x2cf91a=_0xc3eefe;return _0x3b6619=_0x3b6619[_0x2cf91a(0xf4)](),napCatCore['session'][_0x2cf91a(0xf0)]()[_0x2cf91a(0x116)](_0x219aac,_0x1d3625,_0x3b6619,_0x3b6619[_0x2cf91a(0xf8)]>0x3?'2':'1',_0x367f79);}static async['getMultiMsg'](_0x2fbaab,_0x4fe29a,_0x595c93){const _0x4308ce=_0xc3eefe;return napCatCore[_0x4308ce(0xf9)]['getMsgService']()[_0x4308ce(0x108)](_0x2fbaab,_0x4fe29a,_0x595c93);}static async[_0xc3eefe(0xdf)](_0x562b01,_0x5e5c53){const _0x6b945b=_0xc3eefe;return await napCatCore[_0x6b945b(0xf9)]['getMsgService']()[_0x6b945b(0xdf)](_0x562b01,_0x5e5c53);}static async[_0xc3eefe(0x104)](_0x2c8250,_0x3ac101,_0x1dd2f6,_0x176bfd,_0x2f6c84){const _0x5b9f09=_0xc3eefe;return await napCatCore[_0x5b9f09(0xf9)][_0x5b9f09(0xf0)]()[_0x5b9f09(0x104)](_0x2c8250,_0x3ac101,_0x1dd2f6,_0x176bfd,_0x2f6c84);}static async['activateChat'](_0x1957ba){}static async[_0xc3eefe(0x101)](_0x4c0eed){}static async[_0xc3eefe(0xde)](_0x452fc4){const _0x19e87f=_0xc3eefe;return napCatCore[_0x19e87f(0xf9)][_0x19e87f(0xf0)]()[_0x19e87f(0xde)](_0x452fc4);}static async[_0xc3eefe(0x10c)](_0x3b576d,_0x217eb8){const _0x1c80a3=_0xc3eefe,_0x213570={'WUbpp':function(_0x4516f7,_0x283528){return _0x4516f7(_0x283528);},'IwqzR':_0x1c80a3(0x124),'qMUJR':function(_0x456420,_0x345e3d){return _0x456420(_0x345e3d);},'mtjic':function(_0x1646aa,_0x27c93a,_0x224b58){return _0x1646aa(_0x27c93a,_0x224b58);},'oLhNH':function(_0x2c2116){return _0x2c2116();}};return new Promise(async(_0x4db179,_0x2ced10)=>{const _0x46fff7=_0x1c80a3,_0x46c1a9={'JZSJT':function(_0x314064,_0x2f474c){const _0x187a26=_0x14d4;return _0x213570[_0x187a26(0x121)](_0x314064,_0x2f474c);},'eFsSX':_0x213570['IwqzR'],'WJzam':function(_0x2bc45e,_0x1c17e3){return _0x213570['qMUJR'](_0x2bc45e,_0x1c17e3);}};let _0x4dc4c5=![];_0x213570[_0x46fff7(0x100)](setTimeout,()=>{const _0x5d2f4f=_0x46fff7;!_0x4dc4c5&&_0x46c1a9['JZSJT'](_0x2ced10,_0x46c1a9[_0x5d2f4f(0xe1)]);},0x1388);const _0x2b35a8=_0x369d12=>{const _0x260a23=_0x46fff7;_0x4dc4c5=!![],_0x46c1a9[_0x260a23(0x11e)](_0x4db179,_0x369d12[_0x260a23(0xef)]);};GroupFileInfoUpdateTasks[_0x46fff7(0x107)](_0x213570[_0x46fff7(0x120)](randomUUID),_0x2b35a8),await napCatCore[_0x46fff7(0xf9)][_0x46fff7(0xfe)]()[_0x46fff7(0x10c)](_0x3b576d,_0x217eb8);});}static async['getMsgHistory'](_0x19728c,_0x45f041,_0x233653){const _0x1fb6da=_0xc3eefe;return napCatCore['session'][_0x1fb6da(0xf0)]()[_0x1fb6da(0xe6)](_0x19728c,_0x45f041,_0x233653,!![]);}static async[_0xc3eefe(0xe4)](){}static async[_0xc3eefe(0xfa)](_0x359dca,_0x21f5d9){const _0x1b95bd=_0xc3eefe;await napCatCore['session'][_0x1b95bd(0xf0)]()[_0x1b95bd(0xfa)]({'chatType':_0x359dca['chatType'],'peerUid':_0x359dca[_0x1b95bd(0x103)]},_0x21f5d9);}static async['sendMsg'](_0x5078a8,_0x5df708,_0x40cb5b=!![],_0x54ef60=0x2710){const _0xfc06ad=_0xc3eefe,_0x41d2ca={'BFxfy':function(_0xbacc7f,_0x2c2031){return _0xbacc7f>_0x2c2031;},'igIaj':_0xfc06ad(0x106),'BjMRG':function(_0x554f38,_0x25582d){return _0x554f38(_0x25582d);},'hqFGj':function(_0x3f8b54){return _0x3f8b54();},'ZrgKH':function(_0x514794,_0x3d991d){return _0x514794===_0x3d991d;},'iJGEe':function(_0x2f5eb6,_0x2dfaa7,_0x5a5f48){return _0x2f5eb6(_0x2dfaa7,_0x5a5f48);}},_0x52481b=_0x5078a8[_0xfc06ad(0x103)];let _0x1e9f0b=0x0;const _0x18f246=async()=>{const _0x57f925=_0xfc06ad;if(_0x41d2ca['BFxfy'](_0x1e9f0b,_0x54ef60))throw _0x41d2ca[_0x57f925(0x102)];const _0x4cd88b=sendMessagePool[_0x5078a8[_0x57f925(0x103)]];if(_0x4cd88b)return await _0x41d2ca['BjMRG'](sleep,0x1f4),_0x1e9f0b+=0x1f4,await _0x41d2ca[_0x57f925(0xfb)](_0x18f246);else return;};return await _0x41d2ca['hqFGj'](_0x18f246),new Promise((_0x51962c,_0x46c20a)=>{const _0x14eceb=_0xfc06ad,_0x500a2f={'XvAnc':function(_0x1819cd,_0x6f39c4){const _0xa18212=_0x14d4;return _0x41d2ca[_0xa18212(0x118)](_0x1819cd,_0x6f39c4);},'UgiOi':function(_0x35ce0a,_0x194ede){return _0x35ce0a(_0x194ede);}};let _0x33fcb4=![],_0x150b3d=null;const _0x4ff615=_0x41d2ca[_0x14eceb(0xfb)](randomUUID);sendSuccessCBMap[_0x4ff615]=_0x232828=>{const _0x1360bc=_0x14eceb;if(_0x500a2f[_0x1360bc(0xf6)](_0x232828[_0x1360bc(0x105)],_0x150b3d?.[_0x1360bc(0x105)])){if(_0x500a2f[_0x1360bc(0xf6)](_0x232828[_0x1360bc(0xe5)],0x2))return delete sendSuccessCBMap[_0x4ff615],_0x33fcb4=!![],_0x500a2f[_0x1360bc(0x123)](_0x51962c,_0x232828),!![];return![];}return![];},sendMessagePool[_0x52481b]=async _0x203689=>{delete sendMessagePool[_0x52481b],_0x150b3d=_0x203689;},_0x41d2ca[_0x14eceb(0xee)](setTimeout,()=>{const _0x26fbf5=_0x14eceb;if(_0x33fcb4)return;delete sendMessagePool[_0x52481b],delete sendSuccessCBMap[_0x4ff615],_0x41d2ca[_0x26fbf5(0x109)](_0x46c20a,_0x26fbf5(0x106));},_0x54ef60);const _0x2dcf6e=napCatCore[_0x14eceb(0xf9)][_0x14eceb(0xf0)]()['sendMsg']('0',_0x5078a8,_0x5df708,new Map());});}static async[_0xc3eefe(0x10e)](_0x3eb0e2,_0x5b8943,_0x5c4198){const _0x6bff6=_0xc3eefe;return napCatCore['session'][_0x6bff6(0xf0)]()[_0x6bff6(0x10e)](_0x5c4198,_0x3eb0e2,[_0x5b8943],new Map());}static async[_0xc3eefe(0xec)](_0x3a943b,_0x3e9635,_0x47429c){const _0x58e061=_0xc3eefe,_0x2abc96={'YVwww':function(_0x70b1b7,_0x17f913){return _0x70b1b7!=_0x17f913;},'TqdVk':'com.tencent.multimsg','DfeFH':function(_0x37f817,_0x34af0a){return _0x37f817==_0x34af0a;},'IffLT':function(_0x11cdc1,_0x224b8e){return _0x11cdc1(_0x224b8e);},'USzOM':_0x58e061(0x11b),'EOpaJ':function(_0x1d601c){return _0x1d601c();},'uuwof':function(_0x1cf9f6,_0x89bd92,_0x34397a){return _0x1cf9f6(_0x89bd92,_0x34397a);}},_0x524d8b=_0x47429c[_0x58e061(0x11f)](_0x3f42ee=>{const _0x5efd32=_0x58e061;return{'msgId':_0x3f42ee,'senderShowName':selfInfo[_0x5efd32(0x112)]};});return new Promise((_0x3ca129,_0x4202f3)=>{const _0x1508ab=_0x58e061,_0x38ddef={'aDNWX':function(_0x370016,_0x3caefa){const _0x5d3339=_0x14d4;return _0x2abc96[_0x5d3339(0xf7)](_0x370016,_0x3caefa);},'ndqYs':_0x2abc96[_0x1508ab(0x10d)],'msdJM':function(_0x16977c,_0x2c82f3){const _0x4832a0=_0x1508ab;return _0x2abc96[_0x4832a0(0x11d)](_0x16977c,_0x2c82f3);},'ABfdI':function(_0x2ac73a,_0x468ecb){const _0x2154c4=_0x1508ab;return _0x2abc96[_0x2154c4(0x125)](_0x2ac73a,_0x468ecb);},'KJLBI':_0x2abc96['USzOM']};let _0x16ef41=![];const _0x4c192f=_0x254844=>{const _0x57e43b=_0x1508ab,_0x278d55=_0x254844['elements']['find'](_0x59df1c=>_0x59df1c[_0x57e43b(0xf3)]);if(!_0x278d55)return;const _0x44cbf6=JSON[_0x57e43b(0xe3)](_0x278d55['arkElement']['bytesData']);if(_0x38ddef['aDNWX'](_0x44cbf6[_0x57e43b(0x122)],_0x38ddef['ndqYs']))return;_0x38ddef[_0x57e43b(0xdd)](_0x254844[_0x57e43b(0x103)],_0x3e9635[_0x57e43b(0x103)])&&_0x254844['senderUid']==selfInfo[_0x57e43b(0xf1)]&&(_0x16ef41=!![],_0x38ddef['ABfdI'](_0x3ca129,_0x254844));};sentMsgTasks[_0x1508ab(0x107)](_0x2abc96[_0x1508ab(0x10b)](randomUUID),_0x4c192f),_0x2abc96[_0x1508ab(0xf2)](setTimeout,()=>{const _0x2ede83=_0x1508ab;!_0x16ef41&&_0x38ddef[_0x2ede83(0x110)](_0x4202f3,_0x38ddef[_0x2ede83(0xe7)]);},0x1388),napCatCore[_0x1508ab(0xf9)][_0x1508ab(0xf0)]()[_0x1508ab(0x119)](_0x524d8b,_0x3a943b,_0x3e9635,[],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 a1a9b65a..98163fac 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -function _0x3b42(_0x5a704d,_0x1f302d){const _0x552aac=_0x552a();return _0x3b42=function(_0x3b42af,_0x47cec7){_0x3b42af=_0x3b42af-0x6e;let _0x50ea84=_0x552aac[_0x3b42af];return _0x50ea84;},_0x3b42(_0x5a704d,_0x1f302d);}(function(_0x5ae99d,_0x14309a){const _0x3e098f=_0x3b42,_0x344600=_0x5ae99d();while(!![]){try{const _0x56888f=-parseInt(_0x3e098f(0x95))/0x1+parseInt(_0x3e098f(0x6e))/0x2+parseInt(_0x3e098f(0x72))/0x3+-parseInt(_0x3e098f(0x74))/0x4*(-parseInt(_0x3e098f(0x89))/0x5)+parseInt(_0x3e098f(0x8e))/0x6*(-parseInt(_0x3e098f(0x97))/0x7)+-parseInt(_0x3e098f(0x8f))/0x8+-parseInt(_0x3e098f(0x86))/0x9*(parseInt(_0x3e098f(0x80))/0xa);if(_0x56888f===_0x14309a)break;else _0x344600['push'](_0x344600['shift']());}catch(_0x4675d5){_0x344600['push'](_0x344600['shift']());}}}(_0x552a,0x42d65));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x5e1218){const _0x2711bb=_0x3b42,_0x326c0c={'DaLHz':_0x2711bb(0x93),'uUtAI':_0x2711bb(0x6f),'ozory':_0x2711bb(0x96),'PGKum':_0x2711bb(0x73),'vFTnt':function(_0x188126,_0xc280e9){return _0x188126+_0xc280e9;},'wBzyM':function(_0x393ace,_0x23b4ac){return _0x393ace+_0x23b4ac;},'aVqtS':function(_0x7dd5f,_0x53db90){return _0x7dd5f+_0x53db90;},'Dlnem':function(_0x3a6d77,_0x5b9977){return _0x3a6d77+_0x5b9977;},'uOdwv':function(_0x26d330,_0x1cda79){return _0x26d330+_0x1cda79;},'jSjuE':_0x2711bb(0x84),'ioJoR':';\x20p_uin=o','FEvcz':_0x2711bb(0x8a),'HYYsz':_0x2711bb(0x7c),'JctUc':function(_0x5b6ed8,_0x7d5a2c,_0x4e5511){return _0x5b6ed8(_0x7d5a2c,_0x4e5511);},'QjLRT':_0x2711bb(0x81)};let _0x3396d2={'app':_0x326c0c['DaLHz'],'bizsrc':_0x326c0c['uUtAI'],'view':_0x326c0c[_0x2711bb(0x77)],'prompt':_0x5e1218[_0x2711bb(0x70)],'config':{'type':_0x2711bb(0x94),'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x5e1218[_0x2711bb(0x99)],'preview':_0x5e1218[_0x2711bb(0x7e)][_0x2711bb(0x82)](/\\/g,_0x326c0c['PGKum']),'jumpUrl':_0x5e1218['jumpUrl'][_0x2711bb(0x82)](/\\/g,_0x2711bb(0x73)),'tag':_0x5e1218[_0x2711bb(0x75)],'tagIcon':_0x5e1218[_0x2711bb(0x78)][_0x2711bb(0x82)](/\\/g,_0x326c0c[_0x2711bb(0x71)]),'source':_0x5e1218[_0x2711bb(0x8b)],'sourcelogo':_0x5e1218['sourcelogo'][_0x2711bb(0x82)](/\\/g,_0x326c0c[_0x2711bb(0x71)])}}};const _0x36ad98=await NTQQUserApi[_0x2711bb(0x83)]();let _0x183ed6=await NTQQUserApi['getQzoneCookies']();const _0x179e53=WebApi['genBkn'](_0x183ed6[_0x2711bb(0x7b)]),_0x2f33a1=_0x326c0c['vFTnt'](_0x326c0c[_0x2711bb(0x79)](_0x326c0c[_0x2711bb(0x92)](_0x326c0c[_0x2711bb(0x92)](_0x326c0c['Dlnem'](_0x326c0c[_0x2711bb(0x8c)](_0x326c0c['jSjuE'],_0x183ed6[_0x2711bb(0x7b)]),_0x2711bb(0x98))+_0x183ed6[_0x2711bb(0x8d)],_0x326c0c[_0x2711bb(0x91)]),selfInfo[_0x2711bb(0x7a)]),_0x326c0c[_0x2711bb(0x90)]),selfInfo[_0x2711bb(0x7a)]);let _0x45da53=_0x326c0c[_0x2711bb(0x76)](_0x2711bb(0x7f)+_0x179e53,'&ark=')+encodeURIComponent(JSON[_0x2711bb(0x87)](_0x3396d2)),_0x103d22='';try{let _0x3d2828=await RequestUtil[_0x2711bb(0x85)](_0x45da53,_0x326c0c['HYYsz'],undefined,{'Cookie':_0x2f33a1});_0x103d22=_0x3d2828['data']['signed_ark'];}catch(_0x4b3ef1){_0x326c0c[_0x2711bb(0x7d)](logDebug,_0x326c0c[_0x2711bb(0x88)],_0x4b3ef1);}return _0x103d22;}function _0x552a(){const _0x48b0fa=['com.tencent.miniapp.lua','normal','156634iRArtj','miniapp','1430443GMBuRU',';\x20skey=','title','894396HKFago','tianxuan.imgJumpArk','prompt','PGKum','1074795pCrpvV','\x5c/\x5c/','300AweZOt','tag','vFTnt','ozory','tagIcon','wBzyM','uin','p_skey','GET','JctUc','preview','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','10dEahvp','MiniApp\x20JSON\x20消息生成失败','replace','getSkey','p_skey=','HttpGetJson','4445937UJfPFP','stringify','QjLRT','22910sUfpyP',';\x20uin=o','source','uOdwv','skey','6viwZJh','162976rYjLDe','FEvcz','ioJoR','aVqtS'];_0x552a=function(){return _0x48b0fa;};return _0x552a();} \ No newline at end of file +function _0x1ec3(_0x105504,_0x49875e){const _0x436a4f=_0x436a();return _0x1ec3=function(_0x1ec37b,_0xa71066){_0x1ec37b=_0x1ec37b-0x90;let _0x470453=_0x436a4f[_0x1ec37b];return _0x470453;},_0x1ec3(_0x105504,_0x49875e);}function _0x436a(){const _0x278261=['778722SQvduD','3208219QvKUXl','125595FlyxdW','replace','1272488vAqonL','XJbYW','gUTpp','VhUdS','yzxiA','stringify','title','WRDXs','data','getQzoneCookies','p_skey','prompt','\x5c/\x5c/','hiUnk','miniapp','sourcelogo','HttpGetJson','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','94016prOWYL','cCdeo',';\x20skey=','GkEij','source','JzCIZ','mAGaf','GET','wOjDS','MiniApp\x20JSON\x20消息生成失败','cCnBG','DqtuC','1948302NySGgc','2AtthbQ','1298142HYiNHU',';\x20uin=o','com.tencent.miniapp.lua','skey','5ghjpDV','uin','jumpUrl','p_skey='];_0x436a=function(){return _0x278261;};return _0x436a();}(function(_0x1be915,_0x5f4768){const _0x1719f3=_0x1ec3,_0x51af70=_0x1be915();while(!![]){try{const _0x1006a9=parseInt(_0x1719f3(0x95))/0x1+-parseInt(_0x1719f3(0xb6))/0x2*(-parseInt(_0x1719f3(0x93))/0x3)+parseInt(_0x1719f3(0x97))/0x4+-parseInt(_0x1719f3(0xbb))/0x5*(-parseInt(_0x1719f3(0xb7))/0x6)+-parseInt(_0x1719f3(0x94))/0x7+-parseInt(_0x1719f3(0xa9))/0x8+-parseInt(_0x1719f3(0xb5))/0x9;if(_0x1006a9===_0x5f4768)break;else _0x51af70['push'](_0x51af70['shift']());}catch(_0x322c02){_0x51af70['push'](_0x51af70['shift']());}}}(_0x436a,0x38e8d));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x149b66){const _0x22a0ce=_0x1ec3,_0x3f877a={'yzxiA':_0x22a0ce(0xb9),'JzCIZ':'tianxuan.imgJumpArk','cCnBG':_0x22a0ce(0xa3),'XJbYW':function(_0x352e29,_0x18db3e){return _0x352e29+_0x18db3e;},'gUTpp':function(_0x25d363,_0x1b8921){return _0x25d363+_0x1b8921;},'hiUnk':_0x22a0ce(0x92),'VhUdS':_0x22a0ce(0xab),'WRDXs':';\x20p_uin=o','ZqsHW':_0x22a0ce(0xb8),'mAGaf':function(_0x26ed51,_0x31bf6b){return _0x26ed51+_0x31bf6b;},'GkEij':_0x22a0ce(0xa8),'wOjDS':'&ark=','YCLeU':function(_0x540e6b,_0x423be7){return _0x540e6b(_0x423be7);},'cCdeo':function(_0x2046e2,_0x3aba18,_0x589ef2){return _0x2046e2(_0x3aba18,_0x589ef2);},'DqtuC':_0x22a0ce(0xb2)};let _0x3b0e5b={'app':_0x3f877a[_0x22a0ce(0x9b)],'bizsrc':_0x3f877a[_0x22a0ce(0xae)],'view':_0x22a0ce(0xa5),'prompt':_0x149b66[_0x22a0ce(0xa2)],'config':{'type':'normal','forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x149b66[_0x22a0ce(0x9d)],'preview':_0x149b66['preview'][_0x22a0ce(0x96)](/\\/g,_0x3f877a[_0x22a0ce(0xb3)]),'jumpUrl':_0x149b66[_0x22a0ce(0x91)][_0x22a0ce(0x96)](/\\/g,_0x3f877a['cCnBG']),'tag':_0x149b66['tag'],'tagIcon':_0x149b66['tagIcon'][_0x22a0ce(0x96)](/\\/g,_0x3f877a[_0x22a0ce(0xb3)]),'source':_0x149b66[_0x22a0ce(0xad)],'sourcelogo':_0x149b66[_0x22a0ce(0xa6)][_0x22a0ce(0x96)](/\\/g,_0x3f877a['cCnBG'])}}};const _0x58bc12=await NTQQUserApi['getSkey']();let _0x32b7bf=await NTQQUserApi[_0x22a0ce(0xa0)]();const _0xe80cf0=WebApi['genBkn'](_0x32b7bf['p_skey']),_0x35ef3b=_0x3f877a['XJbYW'](_0x3f877a['XJbYW'](_0x3f877a[_0x22a0ce(0x98)](_0x3f877a['gUTpp'](_0x3f877a[_0x22a0ce(0x99)](_0x3f877a[_0x22a0ce(0xa4)],_0x32b7bf[_0x22a0ce(0xa1)]),_0x3f877a[_0x22a0ce(0x9a)]),_0x32b7bf[_0x22a0ce(0xba)]),_0x3f877a[_0x22a0ce(0x9e)])+selfInfo[_0x22a0ce(0x90)]+_0x3f877a['ZqsHW'],selfInfo['uin']);let _0xeed383=_0x3f877a['mAGaf'](_0x3f877a[_0x22a0ce(0xaf)](_0x3f877a[_0x22a0ce(0x98)](_0x3f877a[_0x22a0ce(0xac)],_0xe80cf0),_0x3f877a[_0x22a0ce(0xb1)]),_0x3f877a['YCLeU'](encodeURIComponent,JSON[_0x22a0ce(0x9c)](_0x3b0e5b))),_0x27b359='';try{let _0x321530=await RequestUtil[_0x22a0ce(0xa7)](_0xeed383,_0x22a0ce(0xb0),undefined,{'Cookie':_0x35ef3b});_0x27b359=_0x321530[_0x22a0ce(0x9f)]['signed_ark'];}catch(_0x508b09){_0x3f877a[_0x22a0ce(0xaa)](logDebug,_0x3f877a[_0x22a0ce(0xb4)],_0x508b09);}return _0x27b359;} \ No newline at end of file diff --git a/src/core.lib/src/apis/system.js b/src/core.lib/src/apis/system.js index 97544fe0..3df31499 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -function _0x3a63(){const _0x274dc5=['getOnlineDev','1356120oecDsT','translateEnWordToZn','fimoV','2pdOrvJ','2238vQIhVe','1551cLONob','getMsgService','session','158986kCAHLd','getRichMediaService','OVTby','161QSJMWM','hasOtherRunningQQProcess','983600lAThKM','18nVRybT','getNodeMiscService','wantWinScreenOCR','274168gDVJHv','1717662698058','ORCImage','511960Rytamw','CallNoListenerEvent','util','53712MrpeTF','6KuMmSz','NodeIKernelCollectionService/collectionArkShare','getOnLineDev'];_0x3a63=function(){return _0x274dc5;};return _0x3a63();}function _0x1632(_0x4cb1bc,_0x59ac70){const _0x3a6300=_0x3a63();return _0x1632=function(_0x16322f,_0x2827a8){_0x16322f=_0x16322f-0xa2;let _0x5c69ca=_0x3a6300[_0x16322f];return _0x5c69ca;},_0x1632(_0x4cb1bc,_0x59ac70);}const _0x5966c2=_0x1632;(function(_0x521438,_0x3b904c){const _0x56f562=_0x1632,_0x3d398d=_0x521438();while(!![]){try{const _0x10d3a8=-parseInt(_0x56f562(0xb8))/0x1*(-parseInt(_0x56f562(0xbd))/0x2)+-parseInt(_0x56f562(0xb1))/0x3*(parseInt(_0x56f562(0xaa))/0x4)+-parseInt(_0x56f562(0xad))/0x5+-parseInt(_0x56f562(0xb9))/0x6*(parseInt(_0x56f562(0xa4))/0x7)+parseInt(_0x56f562(0xa6))/0x8*(-parseInt(_0x56f562(0xa7))/0x9)+-parseInt(_0x56f562(0xb5))/0xa+parseInt(_0x56f562(0xba))/0xb*(parseInt(_0x56f562(0xb0))/0xc);if(_0x10d3a8===_0x3b904c)break;else _0x3d398d['push'](_0x3d398d['shift']());}catch(_0x37fa6f){_0x3d398d['push'](_0x3d398d['shift']());}}}(_0x3a63,0x27317));import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x5966c2(0xa5)](){const _0x4fc9b5=_0x5966c2;return napCatCore[_0x4fc9b5(0xaf)]['hasOtherRunningQQProcess']();}static async[_0x5966c2(0xac)](_0x98eae2){const _0x5cc484=_0x5966c2;return napCatCore[_0x5cc484(0xbc)][_0x5cc484(0xa8)]()[_0x5cc484(0xa9)](_0x98eae2);}static async[_0x5966c2(0xb6)](_0x4333f4){const _0x1da35f=_0x5966c2;return napCatCore[_0x1da35f(0xbc)][_0x1da35f(0xa2)]()['translateEnWordToZn'](_0x4333f4);}static async[_0x5966c2(0xb4)](){const _0x1c6893=_0x5966c2;return napCatCore[_0x1c6893(0xbc)][_0x1c6893(0xbb)]()[_0x1c6893(0xb3)]();}static async['getArkJsonCollection'](_0x7fbd8d){const _0x589ed7=_0x5966c2,_0x1c8668={'OVTby':_0x589ed7(0xb2),'fimoV':_0x589ed7(0xab)};let _0x2a5a56=await NTEventDispatch[_0x589ed7(0xae)](_0x1c8668[_0x589ed7(0xa3)],0x1388,_0x1c8668[_0x589ed7(0xb7)]);return _0x2a5a56;}} \ No newline at end of file +function _0x46dc(_0x252205,_0x596a7e){const _0x9cf560=_0x9cf5();return _0x46dc=function(_0x46dc5e,_0x1fbdbd){_0x46dc5e=_0x46dc5e-0x84;let _0x98d3b0=_0x9cf560[_0x46dc5e];return _0x98d3b0;},_0x46dc(_0x252205,_0x596a7e);}const _0x5f1731=_0x46dc;(function(_0x131e94,_0x339d89){const _0x13e4fb=_0x46dc,_0x4acac7=_0x131e94();while(!![]){try{const _0x4a4228=-parseInt(_0x13e4fb(0x8f))/0x1+-parseInt(_0x13e4fb(0x96))/0x2+-parseInt(_0x13e4fb(0x88))/0x3+parseInt(_0x13e4fb(0x94))/0x4*(-parseInt(_0x13e4fb(0x84))/0x5)+parseInt(_0x13e4fb(0x86))/0x6*(parseInt(_0x13e4fb(0x8e))/0x7)+parseInt(_0x13e4fb(0x8d))/0x8+parseInt(_0x13e4fb(0x8a))/0x9*(parseInt(_0x13e4fb(0x92))/0xa);if(_0x4a4228===_0x339d89)break;else _0x4acac7['push'](_0x4acac7['shift']());}catch(_0x315da7){_0x4acac7['push'](_0x4acac7['shift']());}}}(_0x9cf5,0x44204));import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x5f1731(0x8c)](){const _0x21427f=_0x5f1731;return napCatCore[_0x21427f(0x85)][_0x21427f(0x8c)]();}static async['ORCImage'](_0x137341){const _0x491145=_0x5f1731;return napCatCore[_0x491145(0x95)][_0x491145(0x87)]()[_0x491145(0x97)](_0x137341);}static async[_0x5f1731(0x89)](_0x550cfd){const _0x3ba626=_0x5f1731;return napCatCore[_0x3ba626(0x95)][_0x3ba626(0x98)]()[_0x3ba626(0x89)](_0x550cfd);}static async[_0x5f1731(0x90)](){const _0x233ebe=_0x5f1731;return napCatCore['session'][_0x233ebe(0x8b)]()[_0x233ebe(0x91)]();}static async['getArkJsonCollection'](_0x5c97af){const _0xdca503=_0x5f1731,_0x25587b={'XPwbl':'NodeIKernelCollectionService/collectionArkShare','gSFvM':'1717662698058'};let _0x174920=await NTEventDispatch[_0xdca503(0x93)](_0x25587b['XPwbl'],0x1388,_0x25587b['gSFvM']);return _0x174920;}}function _0x9cf5(){const _0x2379ff=['16854jhGezX','getNodeMiscService','854847cjuHNZ','translateEnWordToZn','9RGVtBv','getMsgService','hasOtherRunningQQProcess','3677600dTUOuf','651nEKLwo','108927JDRqDc','getOnlineDev','getOnLineDev','4551990fvHFBw','CallNoListenerEvent','75496DJMJOy','session','666700WHYFjx','wantWinScreenOCR','getRichMediaService','45wafYzL','util'];_0x9cf5=function(){return _0x2379ff;};return _0x9cf5();} \ 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 b3b5be9a..f780dfed 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x2d81b2=_0x34d2;(function(_0x2b935c,_0x4927eb){const _0x468e52=_0x34d2,_0x48a9db=_0x2b935c();while(!![]){try{const _0x595b18=parseInt(_0x468e52(0x1e4))/0x1+-parseInt(_0x468e52(0x19a))/0x2+-parseInt(_0x468e52(0x1a8))/0x3*(parseInt(_0x468e52(0x1da))/0x4)+-parseInt(_0x468e52(0x1cb))/0x5*(parseInt(_0x468e52(0x1cc))/0x6)+-parseInt(_0x468e52(0x1d5))/0x7+parseInt(_0x468e52(0x1d8))/0x8+-parseInt(_0x468e52(0x1e0))/0x9*(-parseInt(_0x468e52(0x1f4))/0xa);if(_0x595b18===_0x4927eb)break;else _0x48a9db['push'](_0x48a9db['shift']());}catch(_0x1d96c1){_0x48a9db['push'](_0x48a9db['shift']());}}}(_0x58fd,0x6da06));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';function _0x34d2(_0x558d3d,_0x1c524a){const _0x58fdfa=_0x58fd();return _0x34d2=function(_0x34d2cf,_0x4126f9){_0x34d2cf=_0x34d2cf-0x19a;let _0x3c8265=_0x58fdfa[_0x34d2cf];return _0x3c8265;},_0x34d2(_0x558d3d,_0x1c524a);}import{logDebug,logError}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x2d81b2(0x1c9)]=_0x203cf1=>{userInfoCache[_0x203cf1['uid']]=_0x203cf1,userDetailHandlers['forEach'](_0x4c8642=>_0x4c8642(_0x203cf1));},setTimeout(()=>{const _0x4a5687=_0x2d81b2;napCatCore[_0x4a5687(0x1e5)](()=>{const _0x1c98c7=_0x4a5687;napCatCore[_0x1c98c7(0x1b1)](profileListener);});},0x64);function _0x58fd(){const _0x34c5b6=['onProfileDetailInfoChanged','getPSkey','77710CXQvcB','120FYUoud','push','iDbBr','then','uinInfo','modifyDesktopMiniProfile','getProfileLikeService','CallNoListenerEvent','session','2792293eHAlRs','RdDWO','PskeyData','3301592Fwgmqn','skey','8HxnWPs','keyIndex','NodeIKernelProfileService/getUserDetailInfoByUin','ecULi','请求获取Cookies时失败','KeyIndex','4509QZWKhg','bJUzd','getSelfInfo','uin','192118cTzqMf','onLoginSuccess','eTjuJ','OqCfJ','请求获取Skey时失败','getSkey','mMjlO','getMsgService','tUzpY','getUserDetailInfoByUin','getBuddyService','setHeader','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','forceFetchClientKey','uid','rJIjp','26900RSUsvZ','GMxAo','qEpnf','zqWhS','errMsg','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','result','1100904dmWipp','NodeIKernelUixConvertService/getUin','DQtSY','setSelfOnlineStatus','modifySelfProfile','getUinByUid','getProfileService','getQzoneCookies','获取Pskey失败','entries','get','PskeyTime','opfnB','getUserDetailInfo','364929wBaEhN','getUidByUin','Skey','&clientkey=','pFmWz','ClientKey','YMeJO','%2Finfocenter&keyindex=19%27','HttpsGetCookies','addListener','getUserDetailInfo\x20timeout','fromEntries','getUserInfo','PhLxH','XtYoz','TJdVk','vEMqK','getTicketService','OGaGP','kUzAP','length','gHRdx','CreatTime','getRobotUinRange','setBuddyProfileLike','delete','uidInfo','JFLze','set','setQQAvatar','LBZtC','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','now'];_0x58fd=function(){return _0x34c5b6;};return _0x58fd();}export class NTQQUserApi{static async[_0x2d81b2(0x19d)](_0x4561ce,_0x645300,_0xb145cd){const _0x41eb6e=_0x2d81b2;return napCatCore[_0x41eb6e(0x1d4)][_0x41eb6e(0x1eb)]()['setStatus']({'status':_0x4561ce,'extStatus':_0x645300,'batteryStatus':_0xb145cd});}static async['getBuddyRecommendContactArkJson'](_0x2c8a1e,_0x23fc8e=''){const _0x50924e=_0x2d81b2;return napCatCore[_0x50924e(0x1d4)][_0x50924e(0x1ee)]()['getBuddyRecommendContactArkJson'](_0x2c8a1e,_0x23fc8e);}static async['like'](_0x1d686f,_0x4143e2=0x1){const _0x24140e=_0x2d81b2;return napCatCore[_0x24140e(0x1d4)][_0x24140e(0x1d2)]()[_0x24140e(0x1c0)]({'friendUid':_0x1d686f,'sourceId':0x47,'doLikeCount':_0x4143e2,'doLikeTollCount':0x0});}static async[_0x2d81b2(0x1c5)](_0x1539a6){const _0x33aaf3=_0x2d81b2,_0x540074=await napCatCore[_0x33aaf3(0x1d4)][_0x33aaf3(0x1a0)]()[_0x33aaf3(0x1ef)](_0x1539a6);return{'result':_0x540074?.[_0x33aaf3(0x1fa)],'errMsg':_0x540074?.[_0x33aaf3(0x1f8)]};}static async[_0x2d81b2(0x1e2)](){}static async[_0x2d81b2(0x1b4)](_0x34e8b4){}static async[_0x2d81b2(0x1a7)](_0x289a7c){const _0x1e864d=_0x2d81b2,_0x1849f3={'bJUzd':function(_0x1b8920,_0x44cdff){return _0x1b8920(_0x44cdff);},'tUzpY':function(_0x3be868,_0xc98cff){return _0x3be868===_0xc98cff;},'PhLxH':function(_0x1a749a){return _0x1a749a();}},_0x793f8d=napCatCore[_0x1e864d(0x1d4)]['getProfileService']();return new Promise((_0x2ad4bd,_0x3dc097)=>{const _0x4fc5a4=_0x1e864d,_0x4d494d=_0x1849f3[_0x4fc5a4(0x1b5)](randomUUID);let _0x242256=![],_0x513c7f=undefined,_0x44bfaf=!![];setTimeout(()=>{const _0x23344e=_0x4fc5a4;!_0x242256&&(_0x513c7f?_0x1849f3['bJUzd'](_0x2ad4bd,_0x513c7f):_0x1849f3[_0x23344e(0x1e1)](_0x3dc097,_0x23344e(0x1b2))),userDetailHandlers[_0x23344e(0x1c1)](_0x4d494d);},0x1388),userDetailHandlers['set'](_0x4d494d,_0x2f5259=>{const _0x239fbd=_0x4fc5a4;_0x1849f3[_0x239fbd(0x1ec)](_0x2f5259[_0x239fbd(0x1f2)],_0x289a7c)&&(_0x44bfaf?(_0x513c7f=_0x2f5259,_0x44bfaf=![]):(_0x242256=!![],_0x2ad4bd(_0x2f5259)));}),_0x793f8d['getUserDetailInfoWithBizInfo'](_0x289a7c,[0x0])[_0x4fc5a4(0x1cf)](_0x3e5ae5=>{});});}static async[_0x2d81b2(0x19e)](_0x48986a){const _0x349fc0=_0x2d81b2;return napCatCore[_0x349fc0(0x1d4)][_0x349fc0(0x1a0)]()[_0x349fc0(0x1d1)](_0x48986a);}static async[_0x2d81b2(0x1ca)](_0x21c1a0,_0x4f9e7c=!![]){const _0x249100=_0x2d81b2,_0x595a15={'rJIjp':function(_0x22a7aa,_0xd3cde5){return _0x22a7aa||_0xd3cde5;},'GMxAo':function(_0xd279d8,_0x5094b7){return _0xd279d8-_0x5094b7;},'YMeJO':function(_0x5b9038,_0x253a66){return _0x5b9038*_0x253a66;},'TJdVk':function(_0x39527f,_0x35cdfb){return _0x39527f>_0x35cdfb;},'OqCfJ':function(_0x44a657,_0x4860b3){return _0x44a657===_0x4860b3;},'DQtSY':function(_0x55e952,_0x1eda33,_0x5e7140){return _0x55e952(_0x1eda33,_0x5e7140);},'RdDWO':_0x249100(0x1a2)},_0x148499=[],_0x80684c={};for(const _0x26d355 in _0x21c1a0){const _0x3271d3=Credentials[_0x249100(0x1d7)][_0x249100(0x1a4)](_0x21c1a0[_0x26d355]),_0xd56936=Credentials[_0x249100(0x1a5)]['get'](_0x21c1a0[_0x26d355]);_0x595a15[_0x249100(0x1f3)](!_0x3271d3,!_0xd56936)||_0x595a15[_0x249100(0x1f5)](Date[_0x249100(0x1c8)](),_0xd56936)>_0x595a15[_0x249100(0x1ae)](0x708,0x3e8)||!_0x4f9e7c?_0x148499[_0x249100(0x1cd)](_0x21c1a0[_0x26d355]):_0x80684c[_0x21c1a0[_0x26d355]]=_0x3271d3;}let _0x5d541d={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x595a15[_0x249100(0x1b7)](_0x148499[_0x249100(0x1bc)],0x0)&&(_0x5d541d=await napCatCore['session']['getTipOffService']()['getPskey'](_0x148499,!![]));const _0x3c0b52=_0x5d541d['domainPskeyMap'];for(const _0x2fdd3f of _0x3c0b52[_0x249100(0x1a3)]()){Credentials[_0x249100(0x1d7)][_0x249100(0x1c4)](_0x2fdd3f[0x0],_0x2fdd3f[0x1]),Credentials[_0x249100(0x1a5)][_0x249100(0x1c4)](_0x2fdd3f[0x0],Date[_0x249100(0x1c8)]());}const _0x1431e5=Object['assign'](Object[_0x249100(0x1b3)](_0x3c0b52),_0x80684c);if(_0x595a15[_0x249100(0x1e7)](_0x5d541d['result'],0x0))return _0x1431e5;else _0x595a15[_0x249100(0x19c)](logError,_0x595a15[_0x249100(0x1d6)],_0x5d541d[_0x249100(0x1f8)]);return{};}static async[_0x2d81b2(0x1bf)](){const _0x158ccc=_0x2d81b2,_0x7fb4c0=await napCatCore['session']['getRobotService']()[_0x158ccc(0x1bf)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x7fb4c0?.['response']?.['robotUinRanges'];}static async[_0x2d81b2(0x1a1)](){const _0x434052=_0x2d81b2,_0x4659ca={'zqWhS':function(_0x46e525,_0x56e0ee){return _0x46e525+_0x56e0ee;},'opfnB':function(_0x2dc2b0,_0x61f49){return _0x2dc2b0+_0x61f49;},'kUzAP':function(_0x512e8c,_0x358e62){return _0x512e8c+_0x358e62;},'qEpnf':_0x434052(0x1f0),'OGaGP':'&clientkey=','eTjuJ':_0x434052(0x1f9),'mMjlO':_0x434052(0x1af),'gHRdx':function(_0x53af4c,_0x38929a,_0x2f40c5){return _0x53af4c(_0x38929a,_0x2f40c5);}},_0x1d1297=_0x4659ca[_0x434052(0x1f7)](_0x4659ca[_0x434052(0x1f7)](_0x4659ca[_0x434052(0x1f7)](_0x4659ca[_0x434052(0x1a6)](_0x4659ca[_0x434052(0x1a6)](_0x4659ca[_0x434052(0x1bb)](_0x4659ca[_0x434052(0x1f6)],selfInfo[_0x434052(0x1e3)]),_0x4659ca[_0x434052(0x1ba)]),Credentials['ClientKey']),_0x4659ca[_0x434052(0x1e6)]),selfInfo[_0x434052(0x1e3)]),_0x4659ca[_0x434052(0x1ea)]);let _0x1c8137={};try{_0x1c8137=await RequestUtil[_0x434052(0x1b0)](_0x1d1297);}catch(_0x430276){_0x4659ca[_0x434052(0x1bd)](logDebug,_0x434052(0x1de),_0x430276),_0x1c8137={};}return _0x1c8137;}static async[_0x2d81b2(0x1e9)](_0x298453=!![]){const _0x21b87a=_0x2d81b2,_0x1f99a2={'iDbBr':function(_0x272ee3,_0x1cce55){return _0x272ee3==_0x1cce55;},'XtYoz':function(_0x24b6bf,_0x35df96){return _0x24b6bf>_0x35df96;},'vEMqK':function(_0x5c05e9,_0x569892){return _0x5c05e9-_0x569892;},'vjOhW':function(_0x366117,_0x222352){return _0x366117!==_0x222352;},'JFLze':function(_0xbdd77a,_0x5bb0fc){return _0xbdd77a+_0x5bb0fc;},'ecULi':function(_0x2bc159,_0x23b153){return _0x2bc159+_0x23b153;},'iznNJ':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','LBZtC':_0x21b87a(0x1e8)};try{if(_0x1f99a2[_0x21b87a(0x1ce)](Credentials['CreatTime'],0x0)||_0x1f99a2[_0x21b87a(0x1b6)](_0x1f99a2[_0x21b87a(0x1b8)](Date[_0x21b87a(0x1c8)](),Credentials[_0x21b87a(0x1be)]),0x3e8*0xe10)||!_0x298453){const _0xcf3936=await napCatCore[_0x21b87a(0x1d4)][_0x21b87a(0x1b9)]()[_0x21b87a(0x1f1)]('');if(_0x1f99a2['vjOhW'](_0xcf3936['result'],0x0))return'';const _0xa7ebbb=_0xcf3936['clientKey'],_0x1ca59c=_0xcf3936[_0x21b87a(0x1db)],_0x36ebd6=_0x1f99a2['JFLze'](_0x1f99a2[_0x21b87a(0x1c3)](_0x1f99a2[_0x21b87a(0x1dd)](_0x1f99a2['iznNJ']+selfInfo[_0x21b87a(0x1e3)],_0x21b87a(0x1ab)),_0xa7ebbb)+_0x21b87a(0x1c7),_0x1ca59c);let _0x47f4c8={};try{_0x47f4c8=await RequestUtil[_0x21b87a(0x1b0)](_0x36ebd6);}catch(_0x33c423){logDebug(_0x1f99a2[_0x21b87a(0x1c6)],_0x33c423),_0x47f4c8={};}const _0x1e1783=_0x47f4c8[_0x21b87a(0x1d9)];if(!_0x1e1783)return'';return Credentials[_0x21b87a(0x1ad)]=_0xa7ebbb,Credentials[_0x21b87a(0x1df)]=_0x1ca59c,Credentials[_0x21b87a(0x1be)]=Date[_0x21b87a(0x1c8)](),Credentials[_0x21b87a(0x1aa)]=_0x1e1783,_0x1e1783;}return Credentials[_0x21b87a(0x1aa)];}catch(_0x59c80e){}return undefined;}static async[_0x2d81b2(0x1a9)](_0x8ff1cd){const _0x354742=_0x2d81b2,_0x421022={'pFmWz':'NodeIKernelUixConvertService/getUid'};let _0x33b054=await NTEventDispatch['CallNoListenerEvent'](_0x421022[_0x354742(0x1ac)],0x1388,[_0x8ff1cd]);return _0x33b054[_0x354742(0x1c2)]['get'](_0x8ff1cd);}static async[_0x2d81b2(0x19f)](_0x420a86){const _0xcf2004=_0x2d81b2;if(!_0x420a86)return'';let _0xd82180=await NTEventDispatch[_0xcf2004(0x1d3)](_0xcf2004(0x19b),0x1388,[_0x420a86]);return _0xd82180[_0xcf2004(0x1d0)][_0xcf2004(0x1a4)](_0x420a86);}static async[_0x2d81b2(0x1ed)](_0x2b03c0){const _0x5175c1=_0x2d81b2,_0x4763b3={'JZpPu':_0x5175c1(0x1dc)};return NTEventDispatch[_0x5175c1(0x1d3)](_0x4763b3['JZpPu'],0x1388,_0x2b03c0);}} \ No newline at end of file +const _0x2812ba=_0x245f;(function(_0x261bce,_0x540c46){const _0x1510d4=_0x245f,_0x45c3a5=_0x261bce();while(!![]){try{const _0x47edd9=parseInt(_0x1510d4(0xdc))/0x1+-parseInt(_0x1510d4(0x105))/0x2+parseInt(_0x1510d4(0x119))/0x3+-parseInt(_0x1510d4(0xee))/0x4*(-parseInt(_0x1510d4(0x11b))/0x5)+-parseInt(_0x1510d4(0xe7))/0x6*(-parseInt(_0x1510d4(0x109))/0x7)+-parseInt(_0x1510d4(0xdf))/0x8+parseInt(_0x1510d4(0x10f))/0x9*(-parseInt(_0x1510d4(0x108))/0xa);if(_0x47edd9===_0x540c46)break;else _0x45c3a5['push'](_0x45c3a5['shift']());}catch(_0x59744b){_0x45c3a5['push'](_0x45c3a5['shift']());}}}(_0x4d97,0xd7c83));import{Credentials,selfInfo}from'@/core/data';function _0x4d97(){const _0x2ee077=['onLoginSuccess','XcRrK','VZCsV','mbKjw','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','get','VKBKW','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','NodeIKernelUixConvertService/getUin','getBuddyService','CreatTime','getBuddyRecommendContactArkJson','2530214mzKFiM','获取Pskey失败','keyIndex','2950OAAjCW','14AczwsI','clientKey','robotUinRanges','addListener','gyUUg','getUserInfo','26541WpXlGm','MUKku','modifyDesktopMiniProfile','GOwlm','CpivC','setStatus','getSkey','lSoRr','aMFhx','HttpsGetCookies','2901726SbmdkY','uDfDw','5884090QLRedS','getUserDetailInfoWithBizInfo','TYpyL','getPskey','Skey','now','TgdYQ','getQzoneCookies','getProfileService','NodeIKernelProfileService/getUserDetailInfoByUin','ZtlVm','CallNoListenerEvent','setBuddyProfileLike','result','modifySelfProfile','ucCGH','getTicketService','set','uinInfo','getRobotUinRange','getUinByUid','plJif','uidInfo','&clientkey=','assign','MBNzI','fromEntries','getRobotService','length','FNnfi','uqVqF','getUidByUin','setHeader','then','AqTjg','1686546dMrMVc','getUserDetailInfo\x20timeout','rCGSw','8077784UYZHqZ','请求获取Skey时失败','delete','getProfileLikeService','avAKD','forEach','skey','vMuoD','594066aVuhZI','HKOag','PskeyTime','uid','getUserDetailInfoByUin','errMsg','domainPskeyMap','4SkxmAx','uin','setQQAvatar','ClientKey','NodeIKernelUixConvertService/getUid','push','KeyIndex','PskeyData','qYnVJ','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','session'];_0x4d97=function(){return _0x2ee077;};return _0x4d97();}function _0x245f(_0x371dcf,_0x4ac1e4){const _0x4d9783=_0x4d97();return _0x245f=function(_0x245fdf,_0x36b12e){_0x245fdf=_0x245fdf-0xbd;let _0x2178b1=_0x4d9783[_0x245fdf];return _0x2178b1;},_0x245f(_0x371dcf,_0x4ac1e4);}import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener['onProfileDetailInfoChanged']=_0x11fdf5=>{const _0x4abeb2=_0x245f;userInfoCache[_0x11fdf5['uid']]=_0x11fdf5,userDetailHandlers[_0x4abeb2(0xe4)](_0x2d3c81=>_0x2d3c81(_0x11fdf5));},setTimeout(()=>{const _0x1ae95b=_0x245f;napCatCore[_0x1ae95b(0xf9)](()=>{const _0x1005e3=_0x1ae95b;napCatCore[_0x1005e3(0x10c)](profileListener);});},0x64);export class NTQQUserApi{static async['setSelfOnlineStatus'](_0x51dbd9,_0x3d7d7a,_0x1dacf6){const _0x4e505d=_0x245f;return napCatCore['session']['getMsgService']()[_0x4e505d(0x114)]({'status':_0x51dbd9,'extStatus':_0x3d7d7a,'batteryStatus':_0x1dacf6});}static async[_0x2812ba(0x104)](_0x2a2e56,_0x50ddc8=''){const _0x33746e=_0x2812ba;return napCatCore[_0x33746e(0xf8)][_0x33746e(0x102)]()['getBuddyRecommendContactArkJson'](_0x2a2e56,_0x50ddc8);}static async['like'](_0x3048a7,_0x21e474=0x1){const _0x1d7f40=_0x2812ba;return napCatCore[_0x1d7f40(0xf8)][_0x1d7f40(0xe2)]()[_0x1d7f40(0xc5)]({'friendUid':_0x3048a7,'sourceId':0x47,'doLikeCount':_0x21e474,'doLikeTollCount':0x0});}static async[_0x2812ba(0xf0)](_0x31bc0e){const _0x1d3a78=_0x2812ba,_0x417f3d=await napCatCore[_0x1d3a78(0xf8)][_0x1d3a78(0xc1)]()[_0x1d3a78(0xd9)](_0x31bc0e);return{'result':_0x417f3d?.[_0x1d3a78(0xc6)],'errMsg':_0x417f3d?.[_0x1d3a78(0xec)]};}static async['getSelfInfo'](){}static async[_0x2812ba(0x10e)](_0x24861d){}static async['getUserDetailInfo'](_0x243b0e){const _0x33378c=_0x2812ba,_0x43373e={'rCGSw':function(_0x543930,_0x389d3f){return _0x543930(_0x389d3f);},'qYnVJ':_0x33378c(0xdd),'XcRrK':function(_0x50ad93){return _0x50ad93();},'aMFhx':function(_0x47b084,_0x7444f5,_0xd096d1){return _0x47b084(_0x7444f5,_0xd096d1);}},_0x3ece46=napCatCore['session'][_0x33378c(0xc1)]();return new Promise((_0x24b457,_0xee99a1)=>{const _0x32c337=_0x33378c,_0x3866db={'uqVqF':function(_0x3cfd8d,_0x2350dc){const _0x3bf55f=_0x245f;return _0x43373e[_0x3bf55f(0xde)](_0x3cfd8d,_0x2350dc);}},_0x1ea85f=_0x43373e[_0x32c337(0xfa)](randomUUID);let _0x101682=![],_0x2824cd=undefined,_0xeed443=!![];_0x43373e[_0x32c337(0x117)](setTimeout,()=>{const _0x56cac3=_0x32c337;!_0x101682&&(_0x2824cd?_0x43373e[_0x56cac3(0xde)](_0x24b457,_0x2824cd):_0xee99a1(_0x43373e[_0x56cac3(0xf6)])),userDetailHandlers[_0x56cac3(0xe1)](_0x1ea85f);},0x1388),userDetailHandlers[_0x32c337(0xca)](_0x1ea85f,_0x4eb223=>{const _0xeb731e=_0x32c337;_0x4eb223[_0xeb731e(0xea)]===_0x243b0e&&(_0xeed443?(_0x2824cd=_0x4eb223,_0xeed443=![]):(_0x101682=!![],_0x3866db[_0xeb731e(0xd7)](_0x24b457,_0x4eb223)));}),_0x3ece46[_0x32c337(0x11c)](_0x243b0e,[0x0])[_0x32c337(0xda)](_0x6b4efc=>{});});}static async[_0x2812ba(0xc7)](_0x395e58){const _0x27e0be=_0x2812ba;return napCatCore[_0x27e0be(0xf8)]['getProfileService']()[_0x27e0be(0x111)](_0x395e58);}static async['getPSkey'](_0x43a52a,_0x50fa14=!![]){const _0x497e79=_0x2812ba,_0x558b1c={'AqTjg':function(_0x4ecaf5,_0x35c9e3){return _0x4ecaf5||_0x35c9e3;},'mbKjw':function(_0x142a09,_0x37022f){return _0x142a09>_0x37022f;},'TYpyL':function(_0x3335b5,_0x2be280){return _0x3335b5-_0x2be280;},'FNnfi':function(_0xfe68ea,_0x486dd9){return _0xfe68ea*_0x486dd9;},'GOwlm':function(_0x431215,_0x2bb9be){return _0x431215===_0x2bb9be;},'avAKD':function(_0x45d40c,_0x1f7fb9,_0x40e0c5){return _0x45d40c(_0x1f7fb9,_0x40e0c5);},'uDfDw':_0x497e79(0x106)},_0x1a957c=[],_0x2329df={};for(const _0x1c022f in _0x43a52a){const _0x18f491=Credentials['PskeyData'][_0x497e79(0xfe)](_0x43a52a[_0x1c022f]),_0x53c50e=Credentials[_0x497e79(0xe9)]['get'](_0x43a52a[_0x1c022f]);_0x558b1c[_0x497e79(0xdb)](!_0x18f491,!_0x53c50e)||_0x558b1c['mbKjw'](_0x558b1c[_0x497e79(0x11d)](Date[_0x497e79(0xbe)](),_0x53c50e),_0x558b1c[_0x497e79(0xd6)](0x708,0x3e8))||!_0x50fa14?_0x1a957c[_0x497e79(0xf3)](_0x43a52a[_0x1c022f]):_0x2329df[_0x43a52a[_0x1c022f]]=_0x18f491;}let _0x14aa36={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x558b1c[_0x497e79(0xfc)](_0x1a957c[_0x497e79(0xd5)],0x0)&&(_0x14aa36=await napCatCore[_0x497e79(0xf8)]['getTipOffService']()[_0x497e79(0x11e)](_0x1a957c,!![]));const _0x55afb2=_0x14aa36[_0x497e79(0xed)];for(const _0x558ca7 of _0x55afb2['entries']()){Credentials[_0x497e79(0xf5)][_0x497e79(0xca)](_0x558ca7[0x0],_0x558ca7[0x1]),Credentials[_0x497e79(0xe9)][_0x497e79(0xca)](_0x558ca7[0x0],Date['now']());}const _0x571e1d=Object[_0x497e79(0xd1)](Object[_0x497e79(0xd3)](_0x55afb2),_0x2329df);if(_0x558b1c[_0x497e79(0x112)](_0x14aa36[_0x497e79(0xc6)],0x0))return _0x571e1d;else _0x558b1c[_0x497e79(0xe3)](logError,_0x558b1c[_0x497e79(0x11a)],_0x14aa36['errMsg']);return{};}static async['getRobotUinRange'](){const _0x5b1d73=_0x2812ba,_0x25f253=await napCatCore[_0x5b1d73(0xf8)][_0x5b1d73(0xd4)]()[_0x5b1d73(0xcc)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x25f253?.['response']?.[_0x5b1d73(0x10b)];}static async[_0x2812ba(0xc0)](){const _0x18ef40=_0x2812ba,_0x172ffd={'cREFO':function(_0x45f02d,_0x3e0269){return _0x45f02d+_0x3e0269;},'HKOag':function(_0x29ff22,_0x518705){return _0x29ff22+_0x518705;},'ucCGH':function(_0x1f7de1,_0x3910ef){return _0x1f7de1+_0x3910ef;},'vMuoD':function(_0x3a3cee,_0x480574){return _0x3a3cee+_0x480574;},'MBNzI':_0x18ef40(0x100)},_0x2611ad=_0x172ffd['cREFO'](_0x172ffd[_0x18ef40(0xe8)](_0x172ffd[_0x18ef40(0xc8)](_0x172ffd[_0x18ef40(0xe6)](_0x18ef40(0xfd),selfInfo[_0x18ef40(0xef)])+'&clientkey=',Credentials[_0x18ef40(0xf1)]),_0x172ffd[_0x18ef40(0xd2)])+selfInfo[_0x18ef40(0xef)],'%2Finfocenter&keyindex=19%27');let _0x4f7b25={};try{_0x4f7b25=await RequestUtil[_0x18ef40(0x118)](_0x2611ad);}catch(_0x2213f3){logDebug('请求获取Cookies时失败',_0x2213f3),_0x4f7b25={};}return _0x4f7b25;}static async[_0x2812ba(0x115)](_0x799889=!![]){const _0x5a59b7=_0x2812ba,_0x434bc0={'VKBKW':function(_0x4fb0a2,_0x4e4ab0){return _0x4fb0a2==_0x4e4ab0;},'gyUUg':function(_0x31c790,_0xfaed1a){return _0x31c790!==_0xfaed1a;},'CpivC':function(_0x32bd63,_0x41de76){return _0x32bd63+_0x41de76;},'CmYxv':function(_0x504b27,_0x4950b2){return _0x504b27+_0x4950b2;},'MUKku':function(_0x48dded,_0x155ca7){return _0x48dded+_0x155ca7;},'ZtlVm':_0x5a59b7(0xfd),'VZCsV':_0x5a59b7(0xd0),'TgdYQ':function(_0x311b2f,_0x5d0ec2,_0x3d770a){return _0x311b2f(_0x5d0ec2,_0x3d770a);},'xyvvI':_0x5a59b7(0xe5)};try{if(_0x434bc0[_0x5a59b7(0xff)](Credentials['CreatTime'],0x0)||Date['now']()-Credentials['CreatTime']>0x3e8*0xe10||!_0x799889){const _0x22fd94=await napCatCore['session'][_0x5a59b7(0xc9)]()['forceFetchClientKey']('');if(_0x434bc0[_0x5a59b7(0x10d)](_0x22fd94['result'],0x0))return'';const _0x140b1d=_0x22fd94[_0x5a59b7(0x10a)],_0x52bc33=_0x22fd94[_0x5a59b7(0x107)],_0x4cc85b=_0x434bc0[_0x5a59b7(0x113)](_0x434bc0['CmYxv'](_0x434bc0[_0x5a59b7(0x110)](_0x434bc0[_0x5a59b7(0x113)](_0x434bc0[_0x5a59b7(0xc3)]+selfInfo['uin'],_0x434bc0[_0x5a59b7(0xfb)]),_0x140b1d),_0x5a59b7(0xf7)),_0x52bc33);let _0x18f14b={};try{_0x18f14b=await RequestUtil[_0x5a59b7(0x118)](_0x4cc85b);}catch(_0x4fb52e){_0x434bc0[_0x5a59b7(0xbf)](logDebug,_0x5a59b7(0xe0),_0x4fb52e),_0x18f14b={};}const _0x817c43=_0x18f14b[_0x434bc0['xyvvI']];if(!_0x817c43)return'';return Credentials[_0x5a59b7(0xf1)]=_0x140b1d,Credentials[_0x5a59b7(0xf4)]=_0x52bc33,Credentials[_0x5a59b7(0x103)]=Date[_0x5a59b7(0xbe)](),Credentials[_0x5a59b7(0xbd)]=_0x817c43,_0x817c43;}return Credentials[_0x5a59b7(0xbd)];}catch(_0x27f52a){}return undefined;}static async[_0x2812ba(0xd8)](_0x1f45c6){const _0x3b4bf6=_0x2812ba,_0x159e55={'lSoRr':_0x3b4bf6(0xf2)};let _0x14059a=await NTEventDispatch[_0x3b4bf6(0xc4)](_0x159e55[_0x3b4bf6(0x116)],0x1388,[_0x1f45c6]);return _0x14059a[_0x3b4bf6(0xcf)][_0x3b4bf6(0xfe)](_0x1f45c6);}static async[_0x2812ba(0xcd)](_0x401124){const _0x508c7f=_0x2812ba,_0x277040={'plJif':_0x508c7f(0x101)};if(!_0x401124)return'';let _0x5aabe2=await NTEventDispatch['CallNoListenerEvent'](_0x277040[_0x508c7f(0xce)],0x1388,[_0x401124]);return _0x5aabe2[_0x508c7f(0xcb)]['get'](_0x401124);}static async[_0x2812ba(0xeb)](_0x20ee5f){const _0x134ec6=_0x2812ba;return NTEventDispatch[_0x134ec6(0xc4)](_0x134ec6(0xc2),0x1388,_0x20ee5f);}} \ 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 5e235385..692c1d08 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0xd91a7e=_0x1036;(function(_0x31b868,_0x13295c){const _0x57a1a9=_0x1036,_0x616f2d=_0x31b868();while(!![]){try{const _0x193798=parseInt(_0x57a1a9(0x153))/0x1*(-parseInt(_0x57a1a9(0x162))/0x2)+parseInt(_0x57a1a9(0x131))/0x3*(-parseInt(_0x57a1a9(0x116))/0x4)+-parseInt(_0x57a1a9(0x123))/0x5+-parseInt(_0x57a1a9(0x11e))/0x6*(-parseInt(_0x57a1a9(0x139))/0x7)+parseInt(_0x57a1a9(0x174))/0x8*(-parseInt(_0x57a1a9(0x10d))/0x9)+parseInt(_0x57a1a9(0x181))/0xa*(-parseInt(_0x57a1a9(0x14a))/0xb)+parseInt(_0x57a1a9(0x132))/0xc*(parseInt(_0x57a1a9(0x165))/0xd);if(_0x193798===_0x13295c)break;else _0x616f2d['push'](_0x616f2d['shift']());}catch(_0x847a75){_0x616f2d['push'](_0x616f2d['shift']());}}}(_0x53bf,0x21b6c));function _0x1036(_0x19f994,_0x5d1cf1){const _0x53bf6c=_0x53bf();return _0x1036=function(_0x1036c5,_0x444271){_0x1036c5=_0x1036c5-0xea;let _0x4a08aa=_0x53bf6c[_0x1036c5];return _0x4a08aa;},_0x1036(_0x19f994,_0x5d1cf1);}import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x53bf(){const _0x51baad=['6UONIbm','OubFh','getGrouptNotice','xiOkF','获取当前群荣耀失败','476145uZCiHv','dYign','tJWnL',';\x20skey=','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','TXKCY','RfISU','zySTS','ttUJq','getSkey','QiPgq','AMfYP','qun.qq.com','ZxWnY','12YgzWth','13164mdeYYe','ZPluD','STORONGE_NEWBI','hQDNa','&page_start=','rhUQK','PERFROMER','779303WvteCa','talkative_list','mXwBc','PwySt','current_talkative','HttpGetJson','length','https://qun.qq.com/interactive/honorlist?gc=','aqNGP','GroupData','genBkn','获取龙王信息失败','actorList','avatar','Yykwz',';\x20uin=o','mems','11WdVluH','&text=','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','JrwNT','aYxrD','LFhnF','desc','p_skey=','Lhpxt','1rPJYsz','AIlrL','xgYWq','SxFzn','performer_list','FKbwh','lzgzf','&type=','KWZmQ','GroupTime','GvVGI','ZusAp','UFzBg','strong_newbie_list','LEGEND','159906kFxWnN','IFCUQ','getPSkey','8983twTAmr','GpsDh','parse','aWqbK','luUVW','lajjU','getGroupHonorInfo','jFFgH','gPEfF','count','kZLEO','JZiDR','NbLEj','getGroupEssenceMsg','dgWxq','6544LlhLhG','BYPDV','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','YEEKK','push','talkativeList','toString','bixYK','gDKHZ','name','bfzjY','JBZFK','qIoGJ','1449640gedsCq','&qid=','legend_list','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','GET','yPOmO','DWYdq','bQXqz','now','&group_code=','ZkeHU','QMZdy','emotion_list','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','EMOTION','ALL','trim','lNxDl','errcode','HttpGetText','wZBgf','charCodeAt','获取群聊之火失败','FhRpg','TALKACTIVE','POST','meWMZ','&sort=1&gc=',';\x20p_uin=o','mfPnb','uin','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','&bkn=','description','&end=','lqWrd','VsFvB','&page_limit=20','hOWuQ','RSmCD','xLNzk','1737ljYoNK','feqNE','LuylW','获取快乐源泉失败','retcode','MKfzD','match','talkative','ceil','253244eJUbKk','gQaRp','IVPJT','all','qdXOW','OLNFk','setGroupNotice','kXbvp'];_0x53bf=function(){return _0x51baad;};return _0x53bf();}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x3fad5b){const _0x632c34=_0x1036,_0x201a87={'OubFh':_0x632c34(0x119),'ZusAp':'PERFROMER','invrN':'performer','bREbR':_0x632c34(0x161),'riAjV':'legend','kZLEO':_0x632c34(0x134),'hOWuQ':_0x632c34(0xf2),'RUcQJ':'emotion'};_0x3fad5b[_0x632c34(0xf3)]=_0x201a87[_0x632c34(0x11f)],_0x3fad5b[_0x632c34(0xfc)]=_0x632c34(0x114),_0x3fad5b[_0x201a87[_0x632c34(0x15e)]]=_0x201a87['invrN'],_0x3fad5b[_0x201a87['bREbR']]=_0x201a87['riAjV'],_0x3fad5b[_0x201a87[_0x632c34(0x16f)]]='strong_newbie',_0x3fad5b[_0x201a87[_0x632c34(0x10a)]]=_0x201a87['RUcQJ'];}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0xd91a7e(0x172)](_0x48abf4,_0x2b252c){const _0x5e1fb4=_0xd91a7e,_0x2385ab={'AMfYP':'qun.qq.com','dgWxq':function(_0x2f6c12,_0x1ac515){return _0x2f6c12+_0x1ac515;},'meWMZ':function(_0x34f0bc,_0x1b7498){return _0x34f0bc+_0x1b7498;},'VsFvB':';\x20skey=','SFebQ':';\x20p_uin=o','dYign':_0x5e1fb4(0x148),'yPOmO':function(_0x512cf5,_0x46f6a0){return _0x512cf5||_0x46f6a0;},'FhRpg':_0x5e1fb4(0xed),'xLNzk':_0x5e1fb4(0x136),'lqWrd':_0x5e1fb4(0x109),'wISON':'GET','RfISU':function(_0xf13da3,_0xb3c0eb){return _0xf13da3!==_0xb3c0eb;}},_0x5a9f7f=(await NTQQUserApi[_0x5e1fb4(0x164)]([_0x2385ab[_0x5e1fb4(0x12e)]]))[_0x2385ab[_0x5e1fb4(0x12e)]],_0x59c62c=await NTQQUserApi[_0x5e1fb4(0x12c)](),_0x2c98fd=_0x2385ab[_0x5e1fb4(0x173)](_0x2385ab[_0x5e1fb4(0x173)](_0x2385ab['dgWxq'](_0x2385ab[_0x5e1fb4(0xfe)](_0x2385ab[_0x5e1fb4(0xfe)](_0x5e1fb4(0x151),_0x5a9f7f)+_0x2385ab[_0x5e1fb4(0x108)],_0x59c62c),_0x2385ab['SFebQ'])+selfInfo['uin'],_0x2385ab[_0x5e1fb4(0x124)]),selfInfo[_0x5e1fb4(0x102)]);if(_0x2385ab[_0x5e1fb4(0x186)](!_0x59c62c,!_0x5a9f7f))return undefined;const _0x17250b=WebApi['genBkn'](_0x59c62c),_0x43bb53=_0x2385ab['dgWxq'](_0x2385ab[_0x5e1fb4(0x173)](_0x2385ab[_0x5e1fb4(0x173)](_0x2385ab['meWMZ'](_0x5e1fb4(0xf1)+_0x17250b,_0x2385ab[_0x5e1fb4(0xfb)]),_0x48abf4),_0x2385ab[_0x5e1fb4(0x10c)]),_0x2b252c)+_0x2385ab[_0x5e1fb4(0x107)];let _0x4ec31c;try{_0x4ec31c=await RequestUtil[_0x5e1fb4(0x13e)](_0x43bb53,_0x2385ab['wISON'],'',{'Cookie':_0x2c98fd});}catch{return undefined;}if(_0x2385ab[_0x5e1fb4(0x129)](_0x4ec31c[_0x5e1fb4(0x111)],0x0))return undefined;return _0x4ec31c;}static async['getGroupMembers'](_0x3b14b6,_0x39ecbb=!![]){const _0x2610b4=_0xd91a7e,_0xbfb067={'Yykwz':function(_0x23daa3,_0x195d55){return _0x23daa3>_0x195d55;},'gDKHZ':function(_0x59fc4f,_0x4ebcf9){return _0x59fc4f*_0x4ebcf9;},'lNxDl':_0x2610b4(0x12f),'lajjU':function(_0xc60efb,_0x18c40){return _0xc60efb+_0x18c40;},'bfzjY':function(_0x3ac5c5,_0x3d3d7f){return _0x3ac5c5+_0x3d3d7f;},'rRfaZ':function(_0x20e27f,_0x4819fe){return _0x20e27f+_0x4819fe;},'ZPluD':function(_0x5dc822,_0xc2e16b){return _0x5dc822+_0xc2e16b;},'BYPDV':_0x2610b4(0x151),'Lhpxt':_0x2610b4(0x126),'DWYdq':_0x2610b4(0x100),'OLNFk':function(_0x5e49fd,_0xbf022d){return _0x5e49fd||_0xbf022d;},'PwySt':function(_0x4f14a1,_0x445388){return _0x4f14a1+_0x445388;},'luUVW':function(_0x155384,_0x52a5b5){return _0x155384+_0x52a5b5;},'kXbvp':_0x2610b4(0x184),'rUryo':_0x2610b4(0x104),'mXwBc':_0x2610b4(0xfd),'QiPgq':function(_0x389086,_0x475ab8){return _0x389086!==_0x475ab8;},'lzgzf':_0x2610b4(0x14c),'nxsXb':_0x2610b4(0x106),'jFFgH':_0x2610b4(0xff),'ttUJq':function(_0x403e4c,_0x91867c){return _0x403e4c<=_0x91867c;}};let _0x2c7f99=new Array();try{let _0x19fded=WebGroupData[_0x2610b4(0x142)]['get'](_0x3b14b6),_0x34734c=WebGroupData['GroupTime']['get'](_0x3b14b6);if(!_0x34734c||_0xbfb067[_0x2610b4(0x147)](Date[_0x2610b4(0xec)]()-_0x34734c,_0xbfb067[_0x2610b4(0x17c)](0x708,0x3e8))||!_0x39ecbb){const _0x673b87=(await NTQQUserApi['getPSkey'](['qun.qq.com']))[_0xbfb067[_0x2610b4(0xf5)]],_0x4a6236=await NTQQUserApi[_0x2610b4(0x12c)](),_0x32fa94=_0xbfb067[_0x2610b4(0x16a)](_0xbfb067[_0x2610b4(0x17e)](_0xbfb067['rRfaZ'](_0xbfb067[_0x2610b4(0x17e)](_0xbfb067[_0x2610b4(0x133)](_0xbfb067[_0x2610b4(0x175)],_0x673b87),_0xbfb067[_0x2610b4(0x152)]),_0x4a6236),_0xbfb067[_0x2610b4(0xea)]),selfInfo[_0x2610b4(0x102)]);if(_0xbfb067[_0x2610b4(0x11b)](!_0x4a6236,!_0x673b87))return _0x2c7f99;const _0x4fb71d=WebApi[_0x2610b4(0x143)](_0x4a6236),_0x380c79=[],_0x3a7ca2=await RequestUtil[_0x2610b4(0x13e)](_0xbfb067[_0x2610b4(0x13c)](_0xbfb067[_0x2610b4(0x13c)](_0xbfb067[_0x2610b4(0x169)](_0xbfb067[_0x2610b4(0x11d)],_0x3b14b6),_0xbfb067['rUryo']),_0x4fb71d),_0xbfb067[_0x2610b4(0x13b)],'',{'Cookie':_0x32fa94});if(!_0x3a7ca2?.[_0x2610b4(0x16e)]||_0xbfb067[_0x2610b4(0x12d)](_0x3a7ca2?.[_0x2610b4(0xf6)],0x0)||!_0x3a7ca2?.[_0x2610b4(0x149)])return[];else for(const _0x51561a in _0x3a7ca2[_0x2610b4(0x149)]){_0x2c7f99[_0x2610b4(0x178)](_0x3a7ca2[_0x2610b4(0x149)][_0x51561a]);}const _0x13262c=Math[_0x2610b4(0x115)](_0x3a7ca2['count']/0x28);for(let _0x437744=0x2;_0x437744<=_0x13262c;_0x437744++){const _0x38a941=RequestUtil[_0x2610b4(0x13e)](_0xbfb067[_0x2610b4(0x169)](_0xbfb067[_0x2610b4(0x133)](_0xbfb067[_0x2610b4(0x16a)](_0xbfb067[_0x2610b4(0x17e)](_0xbfb067[_0x2610b4(0x16a)](_0xbfb067[_0x2610b4(0x159)],_0xbfb067[_0x2610b4(0x17c)](_0x437744-0x1,0x28)),_0xbfb067['nxsXb']),_0xbfb067[_0x2610b4(0x17c)](_0x437744,0x28))+_0xbfb067[_0x2610b4(0x16c)],_0x3b14b6)+_0xbfb067['rUryo'],_0x4fb71d),_0x2610b4(0xfd),'',{'Cookie':_0x32fa94});_0x380c79['push'](_0x38a941);}for(let _0x46d0d5=0x1;_0xbfb067[_0x2610b4(0x12b)](_0x46d0d5,_0x13262c);_0x46d0d5++){const _0x5c3602=await _0x380c79[_0x46d0d5];if(!_0x5c3602?.[_0x2610b4(0x16e)]||_0x5c3602?.[_0x2610b4(0xf6)]!==0x0||!_0x5c3602?.['mems'])continue;for(const _0x1347eb in _0x5c3602['mems']){_0x2c7f99['push'](_0x5c3602[_0x2610b4(0x149)][_0x1347eb]);}}WebGroupData['GroupData']['set'](_0x3b14b6,_0x2c7f99),WebGroupData[_0x2610b4(0x15c)]['set'](_0x3b14b6,Date[_0x2610b4(0xec)]());}else _0x2c7f99=_0x19fded;}catch{return _0x2c7f99;}return _0x2c7f99;}static async[_0xd91a7e(0x11c)](_0x2f00f3,_0x2f863c=''){const _0x11b3ee=_0xd91a7e,_0x2e1de3={'GvVGI':_0x11b3ee(0x12f),'aYxrD':function(_0x25be35,_0x4f840b){return _0x25be35+_0x4f840b;},'cWFrX':_0x11b3ee(0x151),'JJynb':_0x11b3ee(0x126),'DjRiY':_0x11b3ee(0x100),'Pvtwj':function(_0x527a14,_0x14c8c1){return _0x527a14||_0x14c8c1;},'xgYWq':function(_0x1e5474,_0xe6bbe9){return _0x1e5474+_0xe6bbe9;},'JrwNT':function(_0x2ed753,_0x42862d){return _0x2ed753+_0x42862d;},'aqNGP':function(_0x19d4bb,_0x209054){return _0x19d4bb+_0x209054;},'mfPnb':_0x11b3ee(0x14b),'bixYK':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','hQDNa':_0x11b3ee(0x176),'AIlrL':_0x11b3ee(0x185)},_0x24b06=(await NTQQUserApi[_0x11b3ee(0x164)]([_0x2e1de3[_0x11b3ee(0x15d)]]))[_0x2e1de3['GvVGI']],_0x4d2f17=await NTQQUserApi['getSkey'](),_0x3e63c8=_0x2e1de3[_0x11b3ee(0x14e)](_0x2e1de3[_0x11b3ee(0x14e)](_0x2e1de3[_0x11b3ee(0x14e)](_0x2e1de3[_0x11b3ee(0x14e)](_0x2e1de3['cWFrX']+_0x24b06,_0x2e1de3['JJynb']),_0x4d2f17),_0x2e1de3['DjRiY']),selfInfo[_0x11b3ee(0x102)]);let _0x469946=undefined;if(_0x2e1de3['Pvtwj'](!_0x4d2f17,!_0x24b06))return undefined;const _0x310e7b=WebApi[_0x11b3ee(0x143)](_0x4d2f17),_0x45165a=_0x2e1de3[_0x11b3ee(0x155)](_0x2e1de3[_0x11b3ee(0x14d)](_0x2e1de3[_0x11b3ee(0x155)](_0x2e1de3[_0x11b3ee(0x141)](_0x2e1de3[_0x11b3ee(0x141)]('qid=',_0x2f00f3),_0x11b3ee(0x104)),_0x310e7b),_0x2e1de3[_0x11b3ee(0x101)])+_0x2f863c,_0x2e1de3[_0x11b3ee(0x17b)]),_0x5b6277=_0x2e1de3[_0x11b3ee(0x141)](_0x2e1de3[_0x11b3ee(0x135)],_0x310e7b);try{return _0x469946=await RequestUtil[_0x11b3ee(0x13e)](_0x5b6277,_0x2e1de3[_0x11b3ee(0x154)],'',{'Cookie':_0x3e63c8}),_0x469946;}catch(_0x38081d){return undefined;}return undefined;}static async[_0xd91a7e(0x120)](_0x566077){const _0x5504a0=_0xd91a7e,_0xa3f80a={'SxFzn':_0x5504a0(0x12f),'wZBgf':function(_0x4253e5,_0x27234c){return _0x4253e5+_0x27234c;},'qIoGJ':function(_0x4e64a8,_0x5be51c){return _0x4e64a8+_0x5be51c;},'ZBLmU':'p_skey=','IVPJT':_0x5504a0(0x126),'LFhnF':_0x5504a0(0x100),'zySTS':function(_0x258776,_0x206d71){return _0x258776+_0x206d71;},'QMZdy':_0x5504a0(0x127),'ZkeHU':_0x5504a0(0x182),'fWioZ':_0x5504a0(0x103)},_0x34ff04=(await NTQQUserApi[_0x5504a0(0x164)]([_0xa3f80a[_0x5504a0(0x156)]]))[_0xa3f80a[_0x5504a0(0x156)]],_0x425833=await NTQQUserApi['getSkey'](),_0x322cc6=_0xa3f80a[_0x5504a0(0xf8)](_0xa3f80a['qIoGJ'](_0xa3f80a['ZBLmU']+_0x34ff04+_0xa3f80a[_0x5504a0(0x118)]+_0x425833,_0xa3f80a[_0x5504a0(0x14f)]),selfInfo[_0x5504a0(0x102)]);let _0x31561e=undefined;if(!_0x425833||!_0x34ff04)return undefined;const _0x41a70f=WebApi[_0x5504a0(0x143)](_0x425833),_0x374ead=_0xa3f80a[_0x5504a0(0x180)](_0xa3f80a['qIoGJ'](_0xa3f80a['qIoGJ'](_0xa3f80a[_0x5504a0(0x12a)](_0xa3f80a[_0x5504a0(0xef)],_0x41a70f),_0xa3f80a[_0x5504a0(0xee)]),_0x566077),_0xa3f80a['fWioZ']);try{_0x31561e=await RequestUtil[_0x5504a0(0x13e)](_0x374ead,_0x5504a0(0x185),'',{'Cookie':_0x322cc6});if(_0x31561e?.['ec']!==0x0)return undefined;return _0x31561e;}catch(_0xefd87b){return undefined;}return undefined;}static[_0xd91a7e(0x143)](_0x3573f1){const _0x365a1b=_0xd91a7e,_0x4541aa={'LuylW':function(_0x24a9cb,_0x48a998){return _0x24a9cb<_0x48a998;},'CQGjX':function(_0x33167b,_0x9e0b0c){return _0x33167b+_0x9e0b0c;},'ZxWnY':function(_0x1c7b6b,_0x23e247){return _0x1c7b6b<<_0x23e247;},'xiOkF':function(_0x1af049,_0x504eb0){return _0x1af049&_0x504eb0;}};_0x3573f1=_0x3573f1||'';let _0x2673d7=0x1505;for(let _0xf2a964=0x0;_0x4541aa[_0x365a1b(0x10f)](_0xf2a964,_0x3573f1[_0x365a1b(0x13f)]);_0xf2a964++){const _0x5414bc=_0x3573f1[_0x365a1b(0xf9)](_0xf2a964);_0x2673d7=_0x4541aa['CQGjX'](_0x2673d7,_0x4541aa[_0x365a1b(0x130)](_0x2673d7,0x5))+_0x5414bc;}return _0x4541aa[_0x365a1b(0x121)](_0x2673d7,0x7fffffff)['toString']();}static async[_0xd91a7e(0x16b)](_0x3d34ff,_0x430ca7){const _0x504621=_0xd91a7e,_0x480342={'feqNE':function(_0x252e45,_0x54a607){return _0x252e45+_0x54a607;},'rhUQK':function(_0x511415,_0x3c8ef2){return _0x511415+_0x3c8ef2;},'gPEfF':function(_0x56669e,_0x5a86d4){return _0x56669e+_0x5a86d4;},'GpsDh':_0x504621(0x140),'tJWnL':_0x504621(0x15a),'aWqbK':_0x504621(0x185),'FBzmg':function(_0x245a7a,_0x40c7b3,_0x2bb9a2,_0x26a026){return _0x245a7a(_0x40c7b3,_0x2bb9a2,_0x26a026);},'IFCUQ':_0x504621(0x122),'qdXOW':_0x504621(0x12f),'MKfzD':function(_0x47941f,_0x2b99e9){return _0x47941f||_0x2b99e9;},'JZiDR':function(_0x40ab92,_0x59a00b){return _0x40ab92+_0x59a00b;},'gQaRp':_0x504621(0x151),'sbwTA':_0x504621(0x100),'Lviyg':';\x20uin=o','YEEKK':function(_0x33e004,_0x3c0f18){return _0x33e004===_0x3c0f18;},'FKbwh':function(_0x492b46,_0x34d56e){return _0x492b46===_0x34d56e;},'TXKCY':function(_0x56a06f,_0x17c670,_0x1e8584){return _0x56a06f(_0x17c670,_0x1e8584);},'RSmCD':_0x504621(0x144),'UFzBg':function(_0x56ade4,_0x36b7bf){return _0x56ade4(_0x36b7bf);},'NbLEj':function(_0x1e0d52,_0x56e99f){return _0x1e0d52===_0x56e99f;},'KWZmQ':'获取群聊炽焰失败','JBZFK':_0x504621(0x110),'bQXqz':function(_0x5a951f,_0x54601d){return _0x5a951f===_0x54601d;}},_0x1a7812=(await NTQQUserApi[_0x504621(0x164)]([_0x504621(0x12f)]))[_0x480342[_0x504621(0x11a)]],_0xe743ea=await NTQQUserApi['getSkey']();if(_0x480342[_0x504621(0x112)](!_0xe743ea,!_0x1a7812))return undefined;async function _0x8d3ee3(_0x22763d,_0x3aa16b){const _0x4bba73=_0x504621;let _0x24d9f8=_0x480342[_0x4bba73(0x10e)](_0x480342[_0x4bba73(0x137)](_0x480342[_0x4bba73(0x16d)](_0x480342[_0x4bba73(0x166)],_0x22763d),_0x480342[_0x4bba73(0x125)]),_0x3aa16b[_0x4bba73(0x17a)]()),_0x283bdd='',_0x30a04c;try{_0x283bdd=await RequestUtil[_0x4bba73(0xf7)](_0x24d9f8,_0x480342[_0x4bba73(0x168)],'',{'Cookie':_0x2a9723});const _0x5984df=_0x283bdd[_0x4bba73(0x113)](/window\.__INITIAL_STATE__=(.*?);/);return _0x5984df&&(_0x30a04c=JSON[_0x4bba73(0x167)](_0x5984df[0x1][_0x4bba73(0xf4)]())),_0x3aa16b===0x1?_0x30a04c?.[_0x4bba73(0x179)]:_0x30a04c?.[_0x4bba73(0x145)];}catch(_0x1b1284){_0x480342['FBzmg'](logDebug,_0x480342[_0x4bba73(0x163)],_0x24d9f8,_0x1b1284);}return undefined;}let _0x24162f={'group_id':_0x3d34ff};const _0x2a9723=_0x480342['rhUQK'](_0x480342['rhUQK'](_0x480342[_0x504621(0x16d)](_0x480342[_0x504621(0x137)](_0x480342[_0x504621(0x170)](_0x480342[_0x504621(0x10e)](_0x480342[_0x504621(0x117)]+_0x1a7812,_0x504621(0x126)),_0xe743ea),_0x480342['sbwTA']),selfInfo[_0x504621(0x102)]),_0x480342['Lviyg']),selfInfo['uin']);if(_0x480342[_0x504621(0x177)](_0x430ca7,WebHonorType[_0x504621(0xfc)])||_0x480342[_0x504621(0x158)](_0x430ca7,WebHonorType['ALL']))try{let _0x181da5=await _0x480342[_0x504621(0x128)](_0x8d3ee3,_0x3d34ff,0x1);if(!_0x181da5)throw new Error(_0x480342[_0x504621(0x10b)]);_0x24162f[_0x504621(0x13d)]={'user_id':_0x181da5[0x0]?.[_0x504621(0x102)],'avatar':_0x181da5[0x0]?.[_0x504621(0x146)],'nickname':_0x181da5[0x0]?.['name'],'day_count':0x0,'description':_0x181da5[0x0]?.[_0x504621(0x150)]},_0x24162f[_0x504621(0x13a)]=[];for(const _0x1095a1 of _0x181da5){_0x24162f[_0x504621(0x13a)][_0x504621(0x178)]({'user_id':_0x1095a1?.['uin'],'avatar':_0x1095a1?.[_0x504621(0x146)],'description':_0x1095a1?.['desc'],'day_count':0x0,'nickname':_0x1095a1?.[_0x504621(0x17d)]});}}catch(_0x59e308){_0x480342[_0x504621(0x15f)](logDebug,_0x59e308);}if(_0x480342['FKbwh'](_0x430ca7,WebHonorType[_0x504621(0x138)])||_0x480342[_0x504621(0x171)](_0x430ca7,WebHonorType[_0x504621(0xf3)]))try{let _0x34e00b=await _0x480342[_0x504621(0x128)](_0x8d3ee3,_0x3d34ff,0x2);if(!_0x34e00b)throw new Error(_0x504621(0xfa));_0x24162f[_0x504621(0x157)]=[];for(const _0x329da6 of _0x34e00b){_0x24162f[_0x504621(0x157)][_0x504621(0x178)]({'user_id':_0x329da6?.[_0x504621(0x102)],'nickname':_0x329da6?.[_0x504621(0x17d)],'avatar':_0x329da6?.[_0x504621(0x146)],'description':_0x329da6?.[_0x504621(0x150)]});}}catch(_0x374fba){_0x480342[_0x504621(0x15f)](logDebug,_0x374fba);}if(_0x430ca7===WebHonorType[_0x504621(0x138)]||_0x480342['NbLEj'](_0x430ca7,WebHonorType[_0x504621(0xf3)]))try{let _0x40b177=await _0x8d3ee3(_0x3d34ff,0x3);if(!_0x40b177)throw new Error(_0x480342[_0x504621(0x15b)]);_0x24162f['legend_list']=[];for(const _0x1d489c of _0x40b177){_0x24162f[_0x504621(0x183)][_0x504621(0x178)]({'user_id':_0x1d489c?.[_0x504621(0x102)],'nickname':_0x1d489c?.[_0x504621(0x17d)],'avatar':_0x1d489c?.[_0x504621(0x146)],'desc':_0x1d489c?.['description']});}}catch(_0x2f68f9){logDebug(_0x480342[_0x504621(0x15b)],_0x2f68f9);}if(_0x430ca7===WebHonorType[_0x504621(0xf2)]||_0x430ca7===WebHonorType[_0x504621(0xf3)])try{let _0x38ec55=await _0x8d3ee3(_0x3d34ff,0x6);if(!_0x38ec55)throw new Error(_0x480342[_0x504621(0x17f)]);_0x24162f[_0x504621(0xf0)]=[];for(const _0x132057 of _0x38ec55){_0x24162f[_0x504621(0xf0)][_0x504621(0x178)]({'user_id':_0x132057?.[_0x504621(0x102)],'nickname':_0x132057?.['name'],'avatar':_0x132057?.['avatar'],'desc':_0x132057?.[_0x504621(0x105)]});}}catch(_0x19a389){_0x480342[_0x504621(0x128)](logDebug,'获取快乐源泉失败',_0x19a389);}return(_0x430ca7===WebHonorType['EMOTION']||_0x480342[_0x504621(0xeb)](_0x430ca7,WebHonorType['ALL']))&&(_0x24162f[_0x504621(0x160)]=[]),_0x24162f;}} \ No newline at end of file +function _0x23e1(_0x2cdd28,_0x43189a){const _0x3bc5e0=_0x3bc5();return _0x23e1=function(_0x23e122,_0x461574){_0x23e122=_0x23e122-0x181;let _0x5cf09a=_0x3bc5e0[_0x23e122];return _0x5cf09a;},_0x23e1(_0x2cdd28,_0x43189a);}const _0xfc9634=_0x23e1;function _0x3bc5(){const _0x288d33=['zoyao','14296nWbDgi','189NxRDHw','getSkey','xnfdd','SkJWT','moQwa','VKeRb','HnnJF','caahL','PAXKr','YiKwj','IYxJN','retcode','trim','oFOQE','XrLpk','&end=','AasPo','1357696qsQedk','talkative','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','p_skey=','AqiiJ','dycWU','获取当前群荣耀失败','getGroupEssenceMsg','JtQQb','3SCZRGZ','获取龙王信息失败','&bkn=','GDtLV','LGGMs','gvUkq','getPSkey','3166115EAzMFe','siXtU','gFaCk','toString','https://qun.qq.com/interactive/honorlist?gc=','GqpJs','getGroupHonorInfo','KgOKe','split','legend_list','&group_code=','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','errcode','BBWVD','PLmVH','TUeSX','description','oaIUo','StYcN','uQPth','DIIbN','fmNjE','get','avwlp','&page_limit=20','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','Vlwzv','SZcpa','desc','qmWrW','udwjf','&qid=','uin','oEaNJ','mems','xRfvg','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','setGroupNotice','616780yEmJIJ','RZpxn','niFPD','avatar','WGHyE','all','YCgmB','legend','emotion_list','talkative_list','auCEt','TALKACTIVE','now','match','GroupData','Wottt','count','qHxbB','541882pZnMpB','charCodeAt','VPtZa','JhgDA','MqSOU','HttpGetJson',';\x20p_uin=o','KlNvs','4718777vvQYcV','talkativeList','&page_start=','emotion','push','获取快乐源泉失败','tYfjC','GET','2064336DAKVCS','EMOTION','POST','NqqEt','&type=',';\x20skey=','CTBCl','length','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','name','HkFkB','MZrUu','performer','nGqvh','HttpGetText','ebChm','getGroupMembers','GvbUz',';\x20uin=o','qun.qq.com','genBkn','dlNxZ','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','ATplc','UlTld','oASpv','qzqcx','Atumy','XfVlQ','0|4|2|5|1|3','Mkaxj','zqTMH','xTpto','ALL','PERFROMER','set','strong_newbie','qid=','ARlOU','laWPE','IeVys','performer_list','GroupTime','&text=','XlwAp','cvBpp','MYLmn','JRYLu','LEGEND','MXWow','icOiw'];_0x3bc5=function(){return _0x288d33;};return _0x3bc5();}(function(_0x3072d3,_0x4f2f5a){const _0x2e615f=_0x23e1,_0x2f218f=_0x3072d3();while(!![]){try{const _0x4e1be1=parseInt(_0x2e615f(0x20f))/0x1+-parseInt(_0x2e615f(0x1c7))/0x2+-parseInt(_0x2e615f(0x1d0))/0x3*(-parseInt(_0x2e615f(0x1fd))/0x4)+parseInt(_0x2e615f(0x1d7))/0x5+parseInt(_0x2e615f(0x181))/0x6+-parseInt(_0x2e615f(0x217))/0x7+parseInt(_0x2e615f(0x1b5))/0x8*(parseInt(_0x2e615f(0x1b6))/0x9);if(_0x4e1be1===_0x4f2f5a)break;else _0x2f218f['push'](_0x2f218f['shift']());}catch(_0x1bfe4e){_0x2f218f['push'](_0x2f218f['shift']());}}}(_0x3bc5,0x57624));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x10babd){const _0x30eba9=_0x23e1,_0x116e5f={'KgOKe':'STORONGE_NEWBI','SZcpa':_0x30eba9(0x1a5),'qzqcx':_0x30eba9(0x18d),'fDJGt':_0x30eba9(0x21a),'BBWVD':_0x30eba9(0x1c8),'GczZN':_0x30eba9(0x1b1),'KlNvs':_0x30eba9(0x204)},_0x1fac32=_0x30eba9(0x19e)[_0x30eba9(0x1df)]('|');let _0x40be88=0x0;while(!![]){switch(_0x1fac32[_0x40be88++]){case'0':_0x10babd[_0x30eba9(0x1a2)]=_0x30eba9(0x202);continue;case'1':_0x10babd[_0x116e5f[_0x30eba9(0x1de)]]=_0x116e5f[_0x30eba9(0x1f2)];continue;case'2':_0x10babd[_0x30eba9(0x1a3)]=_0x116e5f[_0x30eba9(0x19b)];continue;case'3':_0x10babd[_0x30eba9(0x182)]=_0x116e5f['fDJGt'];continue;case'4':_0x10babd[_0x30eba9(0x208)]=_0x116e5f[_0x30eba9(0x1e4)];continue;case'5':_0x10babd[_0x116e5f['GczZN']]=_0x116e5f[_0x30eba9(0x216)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0xfc9634(0x1ce)](_0x342f26,_0x51874d){const _0x3148d8=_0xfc9634,_0x2f301a={'qHxbB':_0x3148d8(0x194),'dlNxZ':function(_0x11ae76,_0x512c0d){return _0x11ae76+_0x512c0d;},'DIIbN':function(_0x2215d7,_0x48554c){return _0x2215d7+_0x48554c;},'VKeRb':function(_0x3177c6,_0x3f83fb){return _0x3177c6+_0x3f83fb;},'jzsqg':_0x3148d8(0x1ca),'IYxJN':_0x3148d8(0x193),'UlTld':function(_0x1b3f77,_0x513135){return _0x1b3f77||_0x513135;},'NqqEt':function(_0x21cee5,_0x9c2698){return _0x21cee5+_0x9c2698;},'qmWrW':_0x3148d8(0x1e1),'Vlwzv':_0x3148d8(0x219),'jPhWU':_0x3148d8(0x1ef)},_0x5a28fb=(await NTQQUserApi[_0x3148d8(0x1d6)]([_0x2f301a[_0x3148d8(0x20e)]]))[_0x2f301a['qHxbB']],_0x1e5bc5=await NTQQUserApi[_0x3148d8(0x1b7)](),_0x283d=_0x2f301a[_0x3148d8(0x196)](_0x2f301a[_0x3148d8(0x1eb)](_0x2f301a[_0x3148d8(0x1bb)](_0x2f301a[_0x3148d8(0x196)](_0x2f301a['jzsqg']+_0x5a28fb,_0x3148d8(0x186)),_0x1e5bc5)+';\x20p_uin=o'+selfInfo[_0x3148d8(0x1f7)],_0x2f301a[_0x3148d8(0x1c0)]),selfInfo[_0x3148d8(0x1f7)]);if(_0x2f301a[_0x3148d8(0x199)](!_0x1e5bc5,!_0x5a28fb))return undefined;const _0x3a3616=WebApi[_0x3148d8(0x195)](_0x1e5bc5),_0x1c5777=_0x2f301a[_0x3148d8(0x184)](_0x2f301a[_0x3148d8(0x1eb)](_0x2f301a[_0x3148d8(0x196)](_0x2f301a['dlNxZ'](_0x2f301a[_0x3148d8(0x1eb)]('https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=',_0x3a3616),_0x2f301a[_0x3148d8(0x1f4)])+_0x342f26,_0x2f301a[_0x3148d8(0x1f1)]),_0x51874d),_0x2f301a['jPhWU']);let _0x4ef546;try{_0x4ef546=await RequestUtil[_0x3148d8(0x214)](_0x1c5777,_0x3148d8(0x21e),'',{'Cookie':_0x283d});}catch{return undefined;}if(_0x4ef546[_0x3148d8(0x1c1)]!==0x0)return undefined;return _0x4ef546;}static async[_0xfc9634(0x191)](_0x25e4b2,_0x15fd14=!![]){const _0x5bba2d=_0xfc9634,_0x3f9aa8={'VPtZa':function(_0x43ea96,_0xa044ad){return _0x43ea96>_0xa044ad;},'Wottt':function(_0x1e8e2f,_0x6fba1c){return _0x1e8e2f-_0x6fba1c;},'TUeSX':_0x5bba2d(0x194),'WGHyE':function(_0x2c4bfc,_0x26797d){return _0x2c4bfc+_0x26797d;},'JvtgI':function(_0x9533fd,_0x771baf){return _0x9533fd+_0x771baf;},'GDtLV':_0x5bba2d(0x1ca),'eOUsm':_0x5bba2d(0x186),'ErikS':_0x5bba2d(0x215),'GvbUz':function(_0x2d42b1,_0x56ecb3){return _0x2d42b1||_0x56ecb3;},'WgpRS':function(_0x462774,_0x346ad5){return _0x462774+_0x346ad5;},'nGqvh':function(_0x287d2e,_0x47ad6d){return _0x287d2e+_0x47ad6d;},'XfVlQ':_0x5bba2d(0x183),'uQPth':function(_0x20c77a,_0xb4afb8){return _0x20c77a/_0xb4afb8;},'SzZma':function(_0x399f50,_0x460103){return _0x399f50<=_0x460103;},'gvUkq':function(_0x5a5da8,_0x5f3a89){return _0x5a5da8+_0x5f3a89;},'RZpxn':function(_0x1ed720,_0x2a0b9b){return _0x1ed720+_0x2a0b9b;},'gFaCk':function(_0x4cf14b,_0x44b838){return _0x4cf14b+_0x44b838;},'XrLpk':function(_0x2f97fa,_0x3f39f7){return _0x2f97fa+_0x3f39f7;},'SkJWT':_0x5bba2d(0x1fb),'MYLmn':function(_0x4c87eb,_0x5b683a){return _0x4c87eb*_0x5b683a;},'fmNjE':function(_0x6294ca,_0x4bca28){return _0x6294ca-_0x4bca28;},'niFPD':_0x5bba2d(0x1c5),'GqpJs':'&sort=1&gc=','ucnrR':function(_0x27b7df,_0x415b98){return _0x27b7df!==_0x415b98;}};let _0x59cb05=new Array();try{let _0x3c38a9=WebGroupData[_0x5bba2d(0x20b)][_0x5bba2d(0x1ed)](_0x25e4b2),_0x312013=WebGroupData[_0x5bba2d(0x1ab)][_0x5bba2d(0x1ed)](_0x25e4b2);if(!_0x312013||_0x3f9aa8[_0x5bba2d(0x211)](_0x3f9aa8[_0x5bba2d(0x20c)](Date[_0x5bba2d(0x209)](),_0x312013),0x708*0x3e8)||!_0x15fd14){const _0x1fee7a=(await NTQQUserApi[_0x5bba2d(0x1d6)]([_0x3f9aa8[_0x5bba2d(0x1e6)]]))[_0x3f9aa8['TUeSX']],_0x497a8e=await NTQQUserApi[_0x5bba2d(0x1b7)](),_0x5f46a4=_0x3f9aa8[_0x5bba2d(0x201)](_0x3f9aa8[_0x5bba2d(0x201)](_0x3f9aa8[_0x5bba2d(0x201)](_0x3f9aa8['JvtgI'](_0x3f9aa8['JvtgI'](_0x3f9aa8[_0x5bba2d(0x1d3)],_0x1fee7a),_0x3f9aa8['eOUsm']),_0x497a8e),_0x3f9aa8['ErikS']),selfInfo[_0x5bba2d(0x1f7)]);if(_0x3f9aa8[_0x5bba2d(0x192)](!_0x497a8e,!_0x1fee7a))return _0x59cb05;const _0x39e4ea=WebApi[_0x5bba2d(0x195)](_0x497a8e),_0x213a2a=[],_0x281ddb=await RequestUtil[_0x5bba2d(0x214)](_0x3f9aa8['WgpRS'](_0x3f9aa8[_0x5bba2d(0x18e)](_0x5bba2d(0x1c9),_0x25e4b2),_0x5bba2d(0x1d2))+_0x39e4ea,_0x3f9aa8[_0x5bba2d(0x19d)],'',{'Cookie':_0x5f46a4});if(!_0x281ddb?.[_0x5bba2d(0x20d)]||_0x281ddb?.[_0x5bba2d(0x1e3)]!==0x0||!_0x281ddb?.['mems'])return[];else for(const _0x1cbee5 in _0x281ddb[_0x5bba2d(0x1f9)]){_0x59cb05['push'](_0x281ddb[_0x5bba2d(0x1f9)][_0x1cbee5]);}const _0x5c4f4c=Math['ceil'](_0x3f9aa8[_0x5bba2d(0x1ea)](_0x281ddb[_0x5bba2d(0x20d)],0x28));for(let _0x279017=0x2;_0x3f9aa8['SzZma'](_0x279017,_0x5c4f4c);_0x279017++){const _0x5a9a2a=RequestUtil['HttpGetJson'](_0x3f9aa8['nGqvh'](_0x3f9aa8[_0x5bba2d(0x18e)](_0x3f9aa8[_0x5bba2d(0x1d5)](_0x3f9aa8[_0x5bba2d(0x1fe)](_0x3f9aa8[_0x5bba2d(0x1d9)](_0x3f9aa8[_0x5bba2d(0x1c4)](_0x3f9aa8[_0x5bba2d(0x1b9)],_0x3f9aa8[_0x5bba2d(0x1af)](_0x3f9aa8[_0x5bba2d(0x1ec)](_0x279017,0x1),0x28))+_0x3f9aa8[_0x5bba2d(0x1ff)],_0x279017*0x28),_0x3f9aa8[_0x5bba2d(0x1dc)]),_0x25e4b2),_0x5bba2d(0x1d2)),_0x39e4ea),_0x3f9aa8['XfVlQ'],'',{'Cookie':_0x5f46a4});_0x213a2a[_0x5bba2d(0x21b)](_0x5a9a2a);}for(let _0x284184=0x1;_0x3f9aa8['SzZma'](_0x284184,_0x5c4f4c);_0x284184++){const _0x23bcaf=await _0x213a2a[_0x284184];if(!_0x23bcaf?.[_0x5bba2d(0x20d)]||_0x3f9aa8['ucnrR'](_0x23bcaf?.[_0x5bba2d(0x1e3)],0x0)||!_0x23bcaf?.['mems'])continue;for(const _0x301311 in _0x23bcaf[_0x5bba2d(0x1f9)]){_0x59cb05[_0x5bba2d(0x21b)](_0x23bcaf['mems'][_0x301311]);}}WebGroupData['GroupData'][_0x5bba2d(0x1a4)](_0x25e4b2,_0x59cb05),WebGroupData['GroupTime'][_0x5bba2d(0x1a4)](_0x25e4b2,Date[_0x5bba2d(0x209)]());}else _0x59cb05=_0x3c38a9;}catch{return _0x59cb05;}return _0x59cb05;}static async[_0xfc9634(0x1fc)](_0x35ba20,_0x41e3c9=''){const _0x4d2367=_0xfc9634,_0x145185={'caahL':'qun.qq.com','udwjf':function(_0xbfb134,_0x20ade5){return _0xbfb134+_0x20ade5;},'PAXKr':_0x4d2367(0x1ca),'Mkaxj':function(_0x248341,_0x389658){return _0x248341||_0x389658;},'xRfvg':function(_0x30513e,_0x48b186){return _0x30513e+_0x48b186;},'anemr':function(_0x36c8cb,_0x3a3bf5){return _0x36c8cb+_0x3a3bf5;},'xTpto':function(_0xeca7da,_0x5021de){return _0xeca7da+_0x5021de;},'PLmVH':_0x4d2367(0x1a6),'ARlOU':'&bkn=','Atumy':_0x4d2367(0x1ac),'MqSOU':_0x4d2367(0x189),'AqiiJ':function(_0x1c0140,_0x4dde28){return _0x1c0140+_0x4dde28;},'tYfjC':_0x4d2367(0x21e)},_0x3e1319=(await NTQQUserApi[_0x4d2367(0x1d6)]([_0x145185['caahL']]))[_0x145185[_0x4d2367(0x1bd)]],_0x9e60e0=await NTQQUserApi[_0x4d2367(0x1b7)](),_0x3c5db7=_0x145185[_0x4d2367(0x1f5)](_0x145185[_0x4d2367(0x1f5)](_0x145185[_0x4d2367(0x1f5)](_0x145185[_0x4d2367(0x1be)],_0x3e1319)+_0x4d2367(0x186)+_0x9e60e0,_0x4d2367(0x215)),selfInfo[_0x4d2367(0x1f7)]);let _0x2f6883=undefined;if(_0x145185[_0x4d2367(0x19f)](!_0x9e60e0,!_0x3e1319))return undefined;const _0xd5b6ac=WebApi[_0x4d2367(0x195)](_0x9e60e0),_0x3df3b1=_0x145185[_0x4d2367(0x1fa)](_0x145185[_0x4d2367(0x1f5)](_0x145185['anemr'](_0x145185[_0x4d2367(0x1a1)](_0x145185[_0x4d2367(0x1e5)]+_0x35ba20,_0x145185[_0x4d2367(0x1a7)]),_0xd5b6ac)+_0x145185[_0x4d2367(0x19c)],_0x41e3c9),_0x145185[_0x4d2367(0x213)]),_0x10cc03=_0x145185[_0x4d2367(0x1cb)](_0x4d2367(0x1e2),_0xd5b6ac);try{return _0x2f6883=await RequestUtil[_0x4d2367(0x214)](_0x10cc03,_0x145185[_0x4d2367(0x21d)],'',{'Cookie':_0x3c5db7}),_0x2f6883;}catch(_0x576ed1){return undefined;}return undefined;}static async['getGrouptNotice'](_0xb9a98f){const _0x299d49=_0xfc9634,_0x444f86={'xnfdd':_0x299d49(0x194),'YiKwj':function(_0x1196ac,_0x37c5b3){return _0x1196ac+_0x37c5b3;},'auCEt':function(_0x3629f0,_0x6aabdb){return _0x3629f0+_0x6aabdb;},'Asotc':'p_skey=','qYfSL':function(_0x15f9a8,_0x8378ce){return _0x15f9a8||_0x8378ce;},'oaIUo':function(_0x16ebfc,_0xde6fe9){return _0x16ebfc+_0xde6fe9;},'oEaNJ':_0x299d49(0x197),'RSBhO':_0x299d49(0x1f6),'uUprL':_0x299d49(0x1f0),'moQwa':_0x299d49(0x21e),'fLjbh':function(_0x433072,_0x4a57d6){return _0x433072!==_0x4a57d6;}},_0x87727a=(await NTQQUserApi['getPSkey']([_0x444f86[_0x299d49(0x1b8)]]))[_0x444f86[_0x299d49(0x1b8)]],_0x51b9a1=await NTQQUserApi[_0x299d49(0x1b7)](),_0x1d536a=_0x444f86[_0x299d49(0x1bf)](_0x444f86[_0x299d49(0x207)](_0x444f86[_0x299d49(0x1bf)](_0x444f86[_0x299d49(0x207)](_0x444f86['Asotc'],_0x87727a),_0x299d49(0x186))+_0x51b9a1,_0x299d49(0x215)),selfInfo[_0x299d49(0x1f7)]);let _0x128b49=undefined;if(_0x444f86['qYfSL'](!_0x51b9a1,!_0x87727a))return undefined;const _0x54a403=WebApi[_0x299d49(0x195)](_0x51b9a1),_0x24fa69=_0x444f86['auCEt'](_0x444f86['YiKwj'](_0x444f86[_0x299d49(0x1e8)](_0x444f86[_0x299d49(0x1f8)],_0x54a403)+_0x444f86['RSBhO'],_0xb9a98f),_0x444f86['uUprL']);try{_0x128b49=await RequestUtil[_0x299d49(0x214)](_0x24fa69,_0x444f86[_0x299d49(0x1ba)],'',{'Cookie':_0x1d536a});if(_0x444f86['fLjbh'](_0x128b49?.['ec'],0x0))return undefined;return _0x128b49;}catch(_0x58f08f){return undefined;}return undefined;}static[_0xfc9634(0x195)](_0x166182){const _0x441759=_0xfc9634,_0x3a0b8f={'JRYLu':function(_0x5be52a,_0x419df3){return _0x5be52a||_0x419df3;},'StYcN':function(_0x114198,_0x52c5bb){return _0x114198<_0x52c5bb;},'cvBpp':function(_0x5d0da8,_0x2df7f2){return _0x5d0da8+_0x2df7f2;},'mQbSc':function(_0x135f95,_0x4096ee){return _0x135f95&_0x4096ee;}};_0x166182=_0x3a0b8f[_0x441759(0x1b0)](_0x166182,'');let _0x13dcd8=0x1505;for(let _0x4a62fa=0x0;_0x3a0b8f[_0x441759(0x1e9)](_0x4a62fa,_0x166182[_0x441759(0x188)]);_0x4a62fa++){const _0x5def57=_0x166182[_0x441759(0x210)](_0x4a62fa);_0x13dcd8=_0x3a0b8f[_0x441759(0x1ae)](_0x3a0b8f[_0x441759(0x1ae)](_0x13dcd8,_0x13dcd8<<0x5),_0x5def57);}return _0x3a0b8f['mQbSc'](_0x13dcd8,0x7fffffff)['toString']();}static async[_0xfc9634(0x1dd)](_0x37730b,_0x15b2d2){const _0x284dee=_0xfc9634,_0x403d2f={'LGGMs':function(_0x4bea7d,_0x127848){return _0x4bea7d+_0x127848;},'oFOQE':_0x284dee(0x1db),'zoyao':'GET','hgKGw':function(_0x5ca578,_0x208952,_0x5c0a1e,_0x2995f8){return _0x5ca578(_0x208952,_0x5c0a1e,_0x2995f8);},'LBjly':_0x284dee(0x1cd),'HkFkB':_0x284dee(0x194),'dycWU':function(_0xae46a0,_0xa1936f){return _0xae46a0+_0xa1936f;},'oASpv':function(_0xb3f683,_0x3f977a){return _0xb3f683+_0x3f977a;},'siXtU':function(_0x298813,_0x516054){return _0x298813+_0x516054;},'laWPE':_0x284dee(0x1ca),'MXWow':_0x284dee(0x186),'YCgmB':_0x284dee(0x215),'JtQQb':_0x284dee(0x193),'icOiw':function(_0x37beac,_0x391f58){return _0x37beac===_0x391f58;},'CTBCl':function(_0x509c64,_0x552f63,_0x439c30){return _0x509c64(_0x552f63,_0x439c30);},'ebChm':_0x284dee(0x1d1),'MZrUu':function(_0x5b707e,_0x98c265){return _0x5b707e(_0x98c265);},'AasPo':function(_0x5265e8,_0x3ee4be){return _0x5265e8===_0x3ee4be;},'Ryjto':'获取群聊之火失败','IeVys':function(_0x2cbd98,_0x44e825){return _0x2cbd98===_0x44e825;},'avwlp':function(_0x1b9942,_0x209ade){return _0x1b9942===_0x209ade;},'zqTMH':function(_0x5c482e,_0x2a830d,_0x4f6de5){return _0x5c482e(_0x2a830d,_0x4f6de5);},'HnnJF':'获取群聊炽焰失败','JhgDA':function(_0x1289f5,_0x2f0f53,_0x16a445){return _0x1289f5(_0x2f0f53,_0x16a445);},'dyaYo':function(_0x402d1b,_0x2200f6){return _0x402d1b===_0x2200f6;},'ATplc':function(_0x240677,_0xa8fe34,_0x12af6a){return _0x240677(_0xa8fe34,_0x12af6a);},'XlwAp':_0x284dee(0x21c),'lALBc':function(_0x4d377d,_0x98ad8b){return _0x4d377d===_0x98ad8b;},'mxhFn':function(_0x428bf9,_0x5e7c65){return _0x428bf9===_0x5e7c65;}},_0x4a5f39=(await NTQQUserApi['getPSkey']([_0x403d2f['HkFkB']]))[_0x403d2f[_0x284dee(0x18b)]],_0x188b8e=await NTQQUserApi['getSkey']();if(!_0x188b8e||!_0x4a5f39)return undefined;async function _0x1a8407(_0x5c5976,_0x5ad2df){const _0x4613aa=_0x284dee;let _0x5dced0=_0x403d2f[_0x4613aa(0x1d4)](_0x403d2f[_0x4613aa(0x1d4)](_0x403d2f[_0x4613aa(0x1d4)](_0x403d2f[_0x4613aa(0x1c3)],_0x5c5976),_0x4613aa(0x185)),_0x5ad2df[_0x4613aa(0x1da)]()),_0x37a421='',_0x4b0a93;try{_0x37a421=await RequestUtil[_0x4613aa(0x18f)](_0x5dced0,_0x403d2f[_0x4613aa(0x1b4)],'',{'Cookie':_0x56b762});const _0x3e9151=_0x37a421[_0x4613aa(0x20a)](/window\.__INITIAL_STATE__=(.*?);/);return _0x3e9151&&(_0x4b0a93=JSON['parse'](_0x3e9151[0x1][_0x4613aa(0x1c2)]())),_0x5ad2df===0x1?_0x4b0a93?.[_0x4613aa(0x218)]:_0x4b0a93?.['actorList'];}catch(_0x152494){_0x403d2f['hgKGw'](logDebug,_0x403d2f['LBjly'],_0x5dced0,_0x152494);}return undefined;}let _0x20f9a0={'group_id':_0x37730b};const _0x56b762=_0x403d2f[_0x284dee(0x1cc)](_0x403d2f[_0x284dee(0x1d4)](_0x403d2f[_0x284dee(0x19a)](_0x403d2f[_0x284dee(0x19a)](_0x403d2f[_0x284dee(0x19a)](_0x403d2f['LGGMs'](_0x403d2f[_0x284dee(0x1d8)](_0x403d2f[_0x284dee(0x1a8)],_0x4a5f39),_0x403d2f[_0x284dee(0x1b2)]),_0x188b8e),_0x403d2f[_0x284dee(0x203)]),selfInfo[_0x284dee(0x1f7)]),_0x403d2f[_0x284dee(0x1cf)]),selfInfo[_0x284dee(0x1f7)]);if(_0x403d2f[_0x284dee(0x1b3)](_0x15b2d2,WebHonorType[_0x284dee(0x208)])||_0x15b2d2===WebHonorType[_0x284dee(0x1a2)])try{let _0x599725=await _0x403d2f[_0x284dee(0x187)](_0x1a8407,_0x37730b,0x1);if(!_0x599725)throw new Error(_0x403d2f[_0x284dee(0x190)]);_0x20f9a0['current_talkative']={'user_id':_0x599725[0x0]?.[_0x284dee(0x1f7)],'avatar':_0x599725[0x0]?.[_0x284dee(0x200)],'nickname':_0x599725[0x0]?.[_0x284dee(0x18a)],'day_count':0x0,'description':_0x599725[0x0]?.[_0x284dee(0x1f3)]},_0x20f9a0[_0x284dee(0x206)]=[];for(const _0x5c4780 of _0x599725){_0x20f9a0[_0x284dee(0x206)]['push']({'user_id':_0x5c4780?.['uin'],'avatar':_0x5c4780?.['avatar'],'description':_0x5c4780?.[_0x284dee(0x1f3)],'day_count':0x0,'nickname':_0x5c4780?.['name']});}}catch(_0x3a5a4f){_0x403d2f[_0x284dee(0x18c)](logDebug,_0x3a5a4f);}if(_0x403d2f[_0x284dee(0x1c6)](_0x15b2d2,WebHonorType[_0x284dee(0x1a3)])||_0x403d2f[_0x284dee(0x1b3)](_0x15b2d2,WebHonorType[_0x284dee(0x1a2)]))try{let _0x32c68e=await _0x1a8407(_0x37730b,0x2);if(!_0x32c68e)throw new Error(_0x403d2f['Ryjto']);_0x20f9a0[_0x284dee(0x1aa)]=[];for(const _0x4c93e0 of _0x32c68e){_0x20f9a0[_0x284dee(0x1aa)][_0x284dee(0x21b)]({'user_id':_0x4c93e0?.[_0x284dee(0x1f7)],'nickname':_0x4c93e0?.[_0x284dee(0x18a)],'avatar':_0x4c93e0?.[_0x284dee(0x200)],'description':_0x4c93e0?.['desc']});}}catch(_0x328668){_0x403d2f[_0x284dee(0x18c)](logDebug,_0x328668);}if(_0x403d2f[_0x284dee(0x1a9)](_0x15b2d2,WebHonorType[_0x284dee(0x1a3)])||_0x403d2f[_0x284dee(0x1ee)](_0x15b2d2,WebHonorType[_0x284dee(0x1a2)]))try{let _0x2a5a09=await _0x403d2f[_0x284dee(0x1a0)](_0x1a8407,_0x37730b,0x3);if(!_0x2a5a09)throw new Error(_0x403d2f[_0x284dee(0x1bc)]);_0x20f9a0[_0x284dee(0x1e0)]=[];for(const _0x257ae2 of _0x2a5a09){_0x20f9a0[_0x284dee(0x1e0)]['push']({'user_id':_0x257ae2?.[_0x284dee(0x1f7)],'nickname':_0x257ae2?.[_0x284dee(0x18a)],'avatar':_0x257ae2?.['avatar'],'desc':_0x257ae2?.[_0x284dee(0x1e7)]});}}catch(_0x42d825){_0x403d2f[_0x284dee(0x212)](logDebug,_0x403d2f['HnnJF'],_0x42d825);}if(_0x403d2f['dyaYo'](_0x15b2d2,WebHonorType['EMOTION'])||_0x15b2d2===WebHonorType[_0x284dee(0x1a2)])try{let _0x2d53b3=await _0x1a8407(_0x37730b,0x6);if(!_0x2d53b3)throw new Error(_0x284dee(0x21c));_0x20f9a0[_0x284dee(0x205)]=[];for(const _0x383192 of _0x2d53b3){_0x20f9a0[_0x284dee(0x205)][_0x284dee(0x21b)]({'user_id':_0x383192?.[_0x284dee(0x1f7)],'nickname':_0x383192?.[_0x284dee(0x18a)],'avatar':_0x383192?.[_0x284dee(0x200)],'desc':_0x383192?.[_0x284dee(0x1e7)]});}}catch(_0xf7525a){_0x403d2f[_0x284dee(0x198)](logDebug,_0x403d2f[_0x284dee(0x1ad)],_0xf7525a);}return(_0x403d2f['lALBc'](_0x15b2d2,WebHonorType[_0x284dee(0x182)])||_0x403d2f['mxhFn'](_0x15b2d2,WebHonorType[_0x284dee(0x1a2)]))&&(_0x20f9a0['strong_newbie_list']=[]),_0x20f9a0;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index e64e5756..3662d66f 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x49c14f=_0x3b4b;(function(_0x6ac628,_0x2e2347){const _0xc98fc6=_0x3b4b,_0x284caf=_0x6ac628();while(!![]){try{const _0x244235=parseInt(_0xc98fc6(0x233))/0x1+parseInt(_0xc98fc6(0x1ff))/0x2+-parseInt(_0xc98fc6(0x253))/0x3+parseInt(_0xc98fc6(0x222))/0x4+parseInt(_0xc98fc6(0x239))/0x5*(-parseInt(_0xc98fc6(0x284))/0x6)+-parseInt(_0xc98fc6(0x1f7))/0x7*(parseInt(_0xc98fc6(0x22f))/0x8)+-parseInt(_0xc98fc6(0x275))/0x9;if(_0x244235===_0x2e2347)break;else _0x284caf['push'](_0x284caf['shift']());}catch(_0x2c10d7){_0x284caf['push'](_0x284caf['shift']());}}}(_0x3ec6,0xec2f8));import _0x146d48 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x3c7b3f from'node:path';import _0x1c3e52 from'node:os';import _0x1fce66 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';function _0x3b4b(_0x41a13b,_0x260bd9){const _0x3ec6dc=_0x3ec6();return _0x3b4b=function(_0x3b4b53,_0x4dbe3e){_0x3b4b53=_0x3b4b53-0x1ec;let _0x59f1dc=_0x3ec6dc[_0x3b4b53];return _0x59f1dc;},_0x3b4b(_0x41a13b,_0x260bd9);}import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x278f55 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{['session'];[_0x49c14f(0x259)];[_0x49c14f(0x255)];[_0x49c14f(0x261)];[_0x49c14f(0x27e)];[_0x49c14f(0x258)]=[];['proxyHandler']={'get'(target,prop,receiver){const _0x192660=_0x49c14f,sDUOBL={'OAAZM':function(x,y){return x===y;},'caBRh':_0x192660(0x269)};if(sDUOBL[_0x192660(0x218)](typeof target[prop],sDUOBL[_0x192660(0x211)]))return(...args)=>{const _0x52e383=_0x192660;logDebug(target[_0x52e383(0x221)]['name']+_0x52e383(0x280)+prop);};return Reflect[_0x192660(0x273)](target,prop,receiver);}};constructor(){const _0x4ae22b=_0x49c14f,_0x2c88ec={'iHNGT':function(_0x3bd50a,_0x38a7e7){return _0x3bd50a+_0x38a7e7;},'jVvNT':'当前账号(','LBqnV':_0x4ae22b(0x24b),'qSMXJ':_0x4ae22b(0x225),'LwvrT':function(_0x1a92b3,_0x4d7a55){return _0x1a92b3 instanceof _0x4d7a55;},'FYOIV':_0x4ae22b(0x22c),'zIGcr':function(_0x55f3e,_0x4d29b2){return _0x55f3e==_0x4d29b2;},'GFPUc':function(_0xa7d393,_0x5abf85){return _0xa7d393==_0x5abf85;},'aonTk':function(_0x159321,_0x3434e7,_0x38fe76){return _0x159321(_0x3434e7,_0x38fe76);},'QFKsB':_0x4ae22b(0x24e)};this['engine']=new _0x146d48[(_0x4ae22b(0x26a))](),this['util']=new _0x146d48['NodeQQNTWrapperUtil'](),this[_0x4ae22b(0x27e)]=new _0x146d48[(_0x4ae22b(0x267))](),this[_0x4ae22b(0x28a)]=new _0x146d48['NodeIQQNTWrapperSession'](),this[_0x4ae22b(0x261)]=new LoginListener(),this[_0x4ae22b(0x261)]['onUserLoggedIn']=_0x577a0a=>{const _0x1f101a=_0x4ae22b;logError(_0x2c88ec[_0x1f101a(0x237)](_0x2c88ec['jVvNT'],_0x577a0a)+_0x2c88ec[_0x1f101a(0x204)]);},this[_0x4ae22b(0x261)][_0x4ae22b(0x287)]=_0x101e5f=>{const _0x348eca=_0x4ae22b,_0x56550f={'LJkdY':_0x2c88ec[_0x348eca(0x227)],'FQCYK':function(_0x116543,_0x3c2cf9){return _0x2c88ec['LwvrT'](_0x116543,_0x3c2cf9);},'bpJuO':function(_0x3ad191,_0xc738a9){return _0x3ad191(_0xc738a9);},'nnfCq':_0x348eca(0x270),'OBBHw':function(_0x418744,_0x16f53c,_0x1b571d){return _0x418744(_0x16f53c,_0x1b571d);},'eaoUJ':_0x2c88ec[_0x348eca(0x265)]};this[_0x348eca(0x26c)](_0x101e5f['uin'],_0x101e5f[_0x348eca(0x28d)])['then'](_0x108112=>{const _0x13749d=_0x348eca,_0x2ecb60={'IVoTd':function(_0x53e039,_0x3182c6,_0x527948){return _0x53e039(_0x3182c6,_0x527948);},'FqCQN':function(_0x8274db,_0x360fd7){return _0x56550f['FQCYK'](_0x8274db,_0x360fd7);}};selfInfo['uin']=_0x101e5f['uin'],selfInfo[_0x13749d(0x28d)]=_0x101e5f[_0x13749d(0x28d)],napCatConfig[_0x13749d(0x25f)](),setLogLevel(napCatConfig['fileLogLevel'],napCatConfig[_0x13749d(0x1fa)]),enableFileLog(napCatConfig[_0x13749d(0x229)]),enableConsoleLog(napCatConfig[_0x13749d(0x26d)]),_0x56550f[_0x13749d(0x23d)](setLogSelfInfo,selfInfo);const _0x31dbd8=_0x3c7b3f['resolve'](this[_0x13749d(0x24c)],_0x13749d(0x282));_0x1fce66['mkdirSync'](_0x31dbd8,{'recursive':!![]}),logDebug(_0x56550f['nnfCq'],_0x31dbd8),dbUtil[_0x13749d(0x23e)](_0x3c7b3f['resolve'](_0x31dbd8,'./'+_0x101e5f[_0x13749d(0x215)]+_0x13749d(0x27f)))[_0x13749d(0x1ef)](()=>{const _0x1c9c5f=_0x13749d;this['initDataListener'](),this[_0x1c9c5f(0x258)][_0x1c9c5f(0x1f2)](_0x1032d4=>{const _0x473904=_0x1c9c5f,_0x2a3d98={'EbZbg':function(_0x300231,_0x2f8582,_0x271a05){const _0x352e96=_0x3b4b;return _0x2ecb60[_0x352e96(0x1fc)](_0x300231,_0x2f8582,_0x271a05);},'jizcn':function(_0x17ebf8,_0x11d587){return _0x2ecb60['FqCQN'](_0x17ebf8,_0x11d587);}};new Promise((_0x34852d,_0x44e13b)=>{const _0x43e1fe=_0x3b4b,_0x28e8c1=_0x2a3d98[_0x43e1fe(0x281)](_0x1032d4,_0x101e5f[_0x43e1fe(0x215)],_0x101e5f['uid']);_0x2a3d98[_0x43e1fe(0x208)](_0x28e8c1,Promise)&&_0x28e8c1[_0x43e1fe(0x1ef)](_0x34852d)[_0x43e1fe(0x274)](_0x44e13b);})[_0x473904(0x1ef)]();});})[_0x13749d(0x274)](_0x2a4ba5=>{logError(_0x56550f['LJkdY'],_0x2a4ba5);});})['catch'](_0x3818c8=>{const _0x569f43=_0x348eca;_0x56550f['OBBHw'](logError,_0x56550f['eaoUJ'],_0x3818c8);throw new Error('启动失败:\x20'+JSON[_0x569f43(0x21a)](_0x3818c8));});},this[_0x4ae22b(0x261)][_0x4ae22b(0x21c)]=(_0xec5d87,_0x872d75,_0x407363)=>{const _0x72e95d=_0x4ae22b;logError(_0x72e95d(0x24e),_0x407363),_0x2c88ec[_0x72e95d(0x1f0)](_0xec5d87,0x1)&&_0x2c88ec[_0x72e95d(0x203)](_0x872d75,0x3)&&this[_0x72e95d(0x27e)][_0x72e95d(0x1f9)]();},this['loginListener'][_0x4ae22b(0x257)]=_0x39d059=>{const _0x468675=_0x4ae22b;_0x2c88ec[_0x468675(0x243)](logError,_0x2c88ec[_0x468675(0x246)],_0x39d059);},this[_0x4ae22b(0x261)]=new Proxy(this['loginListener'],this[_0x4ae22b(0x213)]),this['loginService'][_0x4ae22b(0x276)](new _0x146d48[(_0x4ae22b(0x230))](this['loginListener'])),this[_0x4ae22b(0x238)]();}get[_0x49c14f(0x24c)](){const _0x4efb5f=_0x49c14f,_0x1c72e3={'IwdIi':_0x4efb5f(0x244)};let _0x43bda3=this[_0x4efb5f(0x259)][_0x4efb5f(0x254)]();return!_0x43bda3&&(_0x43bda3=_0x3c7b3f[_0x4efb5f(0x22e)](_0x1c3e52[_0x4efb5f(0x27d)](),_0x1c72e3[_0x4efb5f(0x216)]),_0x1fce66[_0x4efb5f(0x286)](_0x43bda3,{'recursive':!![]})),_0x43bda3;}get[_0x49c14f(0x202)](){const _0x713d66=_0x49c14f;return _0x3c7b3f['resolve'](this[_0x713d66(0x24c)],'./nt_qq/global');}[_0x49c14f(0x238)](){const _0x438908=_0x49c14f;this[_0x438908(0x255)][_0x438908(0x224)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0x438908(0x20e),'use_xlog':!![],'qua':_0x438908(0x235)+qqVersionConfigInfo['curVersion'][_0x438908(0x23b)]('-','_')+_0x438908(0x27b),'global_path_config':{'desktopGlobalPath':this[_0x438908(0x202)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x146d48[(_0x438908(0x21e))](new GlobalAdapter())),this[_0x438908(0x27e)][_0x438908(0x238)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x438908(0x202)],'clientVer':qqVersionConfigInfo[_0x438908(0x25d)],'hostName':hostname});}[_0x49c14f(0x26c)](_0x26f98c,_0x142d5c){const _0x3bf5ce={'gZtTe':function(_0x4c84cb,_0x437a28){return _0x4c84cb===_0x437a28;},'yIAxb':function(_0x1bdbe0,_0x450129){return _0x1bdbe0(_0x450129);},'CnUvQ':function(_0x4e1bbd,_0x4ff368,_0x4c29f8,_0x5e9a24){return _0x4e1bbd(_0x4ff368,_0x4c29f8,_0x5e9a24);},'yTTMx':function(_0x883abb,_0x1ae49c){return _0x883abb+_0x1ae49c;}};return new Promise(async(_0x380a22,_0xe716a0)=>{const _0x332aa5=_0x3b4b,_0x417965={'UpwyZ':function(_0x1940aa,_0x46a0e6){const _0x1e4f88=_0x3b4b;return _0x3bf5ce[_0x1e4f88(0x248)](_0x1940aa,_0x46a0e6);},'mTXzj':function(_0x3cbec9,_0x566144){const _0x29a469=_0x3b4b;return _0x3bf5ce[_0x29a469(0x249)](_0x3cbec9,_0x566144);}},_0x574254=await _0x3bf5ce[_0x332aa5(0x226)](genSessionConfig,_0x26f98c,_0x142d5c,this[_0x332aa5(0x24c)]),_0x51a478=new SessionListener();_0x51a478[_0x332aa5(0x223)]=_0x46f4fe=>{const _0x537b84=_0x332aa5;if(_0x417965[_0x537b84(0x234)](_0x46f4fe,0x0))return _0x380a22(0x0);_0x417965[_0x537b84(0x21f)](_0xe716a0,_0x46f4fe);},this[_0x332aa5(0x28a)]['init'](_0x574254,new _0x146d48[(_0x332aa5(0x1fe))](new DependsAdapter()),new _0x146d48[(_0x332aa5(0x212))](new DispatcherAdapter()),new _0x146d48['NodeIKernelSessionListener'](_0x51a478));try{this[_0x332aa5(0x28a)]['startNT'](0x0);}catch(_0x45a45b){try{this[_0x332aa5(0x28a)][_0x332aa5(0x25c)]();}catch(_0x581d5f){_0x3bf5ce['yIAxb'](_0xe716a0,_0x3bf5ce[_0x332aa5(0x21d)]('init\x20failed\x20',_0x581d5f));}}});}['initDataListener'](){const _0x26a3ba=_0x49c14f,_0x3641fa={'KNMGf':function(_0x44428a,_0x370c37){return _0x44428a===_0x370c37;},'PmLTy':function(_0x30b9eb,_0x1546c5){return _0x30b9eb(_0x1546c5);},'HSWvj':function(_0x48e206,_0x3556ad){return _0x48e206+_0x3556ad;},'uNYMN':_0x26a3ba(0x217),'KiIkw':_0x26a3ba(0x20f),'bcfCy':function(_0x423a2b,_0xac8c77){return _0x423a2b+_0xac8c77;},'npYkT':'[KickedOffLine]\x20[','yCkSv':function(_0x591477,_0xb16416){return _0x591477/_0xb16416;},'NModQ':function(_0x3a8d8b,_0x196563){return _0x3a8d8b===_0x196563;},'mWMGK':function(_0x29e76d,_0x3bdbd0,_0x505b64){return _0x29e76d(_0x3bdbd0,_0x505b64);}},_0x113a92=new MsgListener();_0x113a92['onLineDev']=_0x51b4be=>{const _0x53e53d=_0x26a3ba;_0x51b4be[_0x53e53d(0x1f2)](_0xc802ee=>{const _0x563268=_0x53e53d;_0x3641fa[_0x563268(0x1ee)](_0xc802ee[_0x563268(0x1fd)],0x2)&&_0x3641fa[_0x563268(0x240)](log,_0x3641fa[_0x563268(0x231)](_0x3641fa['uNYMN'],_0xc802ee[_0x563268(0x266)])+_0x3641fa[_0x563268(0x271)]);});},_0x113a92[_0x26a3ba(0x1f5)]=_0x10fa7d=>{const _0x10bfed=_0x26a3ba;log(_0x3641fa['HSWvj'](_0x3641fa[_0x10bfed(0x256)](_0x3641fa['npYkT']+_0x10fa7d[_0x10bfed(0x25e)],']\x20'),_0x10fa7d[_0x10bfed(0x28e)]));},_0x113a92[_0x26a3ba(0x20c)]=_0x26ff74=>{const _0x575df9=_0x26a3ba;stat[_0x575df9(0x209)]+=0x1,stat[_0x575df9(0x210)]+=0x1,stat['last_message_time']=Math[_0x575df9(0x23f)](_0x3641fa[_0x575df9(0x1fb)](Date[_0x575df9(0x251)](),0x3e8));},_0x113a92[_0x26a3ba(0x289)]=_0x137785=>{const _0x15eac4=_0x26a3ba;stat['packet_received']+=0x1,stat[_0x15eac4(0x232)]+=_0x137785['length'],stat[_0x15eac4(0x228)]=Math[_0x15eac4(0x23f)](Date[_0x15eac4(0x251)]()/0x3e8);},_0x113a92['onRecvSysMsg']=(..._0x28a86a)=>{const _0x14a2d9=_0x26a3ba;stat[_0x14a2d9(0x268)]+=0x1;},this[_0x26a3ba(0x262)](_0x113a92);const _0x70823d=new BuddyListener();_0x70823d[_0x26a3ba(0x283)]=_0xa55470=>{const _0x23fa23=_0x26a3ba;rawFriends['length']=0x0,rawFriends['push'](..._0xa55470);for(const _0x2175cd of _0xa55470){for(const _0x15ed1d of _0x2175cd[_0x23fa23(0x1f4)]){const _0x13dd8d=friends[_0x23fa23(0x273)](_0x15ed1d[_0x23fa23(0x28d)]);_0x13dd8d?Object[_0x23fa23(0x28f)](_0x13dd8d,_0x15ed1d):friends[_0x23fa23(0x236)](_0x15ed1d['uid'],_0x15ed1d);}}},this[_0x26a3ba(0x262)](_0x70823d),this['session']['getBuddyService']()[_0x26a3ba(0x1f6)](!![])['then'](_0x3cd8ed=>{});const _0x381170=new ProfileListener();_0x381170['onProfileDetailInfoChanged']=_0x145d67=>{const _0x4fc02e=_0x26a3ba;_0x3641fa['KNMGf'](_0x145d67[_0x4fc02e(0x28d)],selfInfo[_0x4fc02e(0x28d)])&&Object['assign'](selfInfo,_0x145d67);},_0x381170[_0x26a3ba(0x20b)]=_0x1c3c02=>{},this[_0x26a3ba(0x262)](_0x381170);const _0x3da2d8=new GroupListener();_0x3da2d8[_0x26a3ba(0x25a)]=(_0x2f9744,_0x28f331)=>{const _0x7abb2f=_0x26a3ba;_0x28f331[_0x7abb2f(0x1f2)](_0x44e2d1=>{const _0x7b5fca=_0x7abb2f,_0x5d85b6=groups[_0x7b5fca(0x273)](_0x44e2d1['groupCode']);_0x5d85b6&&_0x44e2d1[_0x7b5fca(0x1f3)]===_0x5d85b6[_0x7b5fca(0x1f3)]?Object[_0x7b5fca(0x28f)](_0x5d85b6,_0x44e2d1):groups[_0x7b5fca(0x236)](_0x44e2d1[_0x7b5fca(0x245)],_0x44e2d1);const _0x5dd84b=this[_0x7b5fca(0x28a)][_0x7b5fca(0x26b)]()[_0x7b5fca(0x242)](_0x44e2d1[_0x7b5fca(0x245)],'groupMemberList_MainWindow');this[_0x7b5fca(0x28a)][_0x7b5fca(0x26b)]()[_0x7b5fca(0x28b)](_0x5dd84b,undefined,0xbb8)[_0x7b5fca(0x1ef)](_0xf353f7=>{});});},_0x3da2d8[_0x26a3ba(0x27c)]=_0x1af85f=>{const _0x364df3=_0x26a3ba,_0xbe3ec7=_0x1af85f[_0x364df3(0x206)][_0x364df3(0x272)]('_')[0x0];if(groupMembers[_0x364df3(0x288)](_0xbe3ec7)){const _0x29c5e4=groupMembers[_0x364df3(0x273)](_0xbe3ec7);_0x1af85f['infos'][_0x364df3(0x25b)]((_0x520b23,_0x387125)=>{const _0x9aa10=_0x364df3,_0x521265=_0x29c5e4[_0x9aa10(0x273)](_0x387125);_0x521265?Object[_0x9aa10(0x28f)](_0x521265,_0x520b23):_0x29c5e4['set'](_0x387125,_0x520b23);});}else groupMembers['set'](_0xbe3ec7,_0x1af85f[_0x364df3(0x23c)]);},_0x3da2d8[_0x26a3ba(0x20d)]=(_0x4df47f,_0x46035e,_0x2b0d79)=>{const _0x144890=_0x26a3ba;_0x3641fa[_0x144890(0x247)](_0x46035e,0x0)&&_0x2b0d79[_0x144890(0x273)](selfInfo[_0x144890(0x28d)])&&_0x2b0d79[_0x144890(0x273)](selfInfo[_0x144890(0x28d)])?.[_0x144890(0x26f)]&&_0x3641fa[_0x144890(0x219)](setTimeout,()=>{const _0x1fdbc1=_0x144890;groups[_0x1fdbc1(0x241)](_0x4df47f);},0x1388);const _0x8deb95=groupMembers['get'](_0x4df47f);_0x8deb95?_0x2b0d79[_0x144890(0x25b)]((_0x4567fa,_0x555322)=>{const _0x547871=_0x144890,_0x4d77a5=_0x8deb95[_0x547871(0x273)](_0x555322);_0x4d77a5?Object['assign'](_0x4d77a5,_0x4567fa):_0x8deb95[_0x547871(0x236)](_0x555322,_0x4567fa);}):groupMembers[_0x144890(0x236)](_0x4df47f,_0x2b0d79);},this[_0x26a3ba(0x262)](_0x3da2d8);}[_0x49c14f(0x262)](_0x1c5fd8){const _0x2f3c9b=_0x49c14f,_0x1ca4dd={'nHqdv':_0x2f3c9b(0x205),'wOLCW':_0x2f3c9b(0x24d),'JLYhE':'MsgListener'};_0x1c5fd8=new Proxy(_0x1c5fd8,this['proxyHandler']);switch(_0x1c5fd8['constructor']['name']){case _0x1ca4dd['nHqdv']:{return this[_0x2f3c9b(0x28a)][_0x2f3c9b(0x200)]()[_0x2f3c9b(0x22a)](new _0x146d48['NodeIKernelBuddyListener'](_0x1c5fd8));}case _0x1ca4dd['wOLCW']:{return this['session'][_0x2f3c9b(0x26b)]()[_0x2f3c9b(0x260)](new _0x146d48[(_0x2f3c9b(0x1ec))](_0x1c5fd8));}case _0x1ca4dd['JLYhE']:{return this[_0x2f3c9b(0x28a)][_0x2f3c9b(0x214)]()['addKernelMsgListener'](new _0x146d48['NodeIKernelMsgListener'](_0x1c5fd8));}case _0x2f3c9b(0x201):{return this[_0x2f3c9b(0x28a)][_0x2f3c9b(0x252)]()['addKernelProfileListener'](new _0x146d48[(_0x2f3c9b(0x20a))](_0x1c5fd8));}default:return-0x1;}}['onLoginSuccess'](_0x4bf55b){const _0x56861a=_0x49c14f;NTEventDispatch[_0x56861a(0x23e)]({'ListenerMap':_0x146d48,'WrapperSession':this[_0x56861a(0x28a)]}),this[_0x56861a(0x258)][_0x56861a(0x1f8)](_0x4bf55b);}async['quickLogin'](_0x28dcba){const _0x11227f=_0x49c14f,_0x3459e0={'VqSqS':_0x11227f(0x278),'bOZDO':function(_0x5372dd,_0x1a0c44){return _0x5372dd(_0x1a0c44);},'nDpEF':function(_0x1e8ee1,_0x439f8c){return _0x1e8ee1+_0x439f8c;},'pPVGv':'快速登录失败\x20'},_0x1b4e8e=await this[_0x11227f(0x27e)][_0x11227f(0x21b)]();if(_0x1b4e8e[_0x11227f(0x220)]!==0x0)throw new Error(_0x3459e0[_0x11227f(0x279)]);const _0x305aba=_0x1b4e8e['LocalLoginInfoList'][_0x11227f(0x23a)](_0x337d4b=>_0x337d4b[_0x11227f(0x215)]===_0x28dcba);if(!_0x305aba||!_0x305aba?.['isQuickLogin'])throw new Error(_0x28dcba+'快速登录不可用');await _0x3459e0[_0x11227f(0x22d)](sleep,0x3e8);const _0x2df17e=await this[_0x11227f(0x27e)]['quickLoginWithUin'](_0x28dcba);if(!_0x2df17e[_0x11227f(0x220)])throw new Error(_0x3459e0[_0x11227f(0x250)](_0x3459e0['pPVGv'],_0x2df17e['loginErrorInfo'][_0x11227f(0x263)]));return _0x2df17e;}async[_0x49c14f(0x24f)](_0x1c5513){const _0x375527={'SEQYi':function(_0x31e405,_0x268404,_0x540175,_0x470328){return _0x31e405(_0x268404,_0x540175,_0x470328);}};return new Promise((_0xe2ef79,_0x5eeb8b)=>{const _0x5d3b01=_0x3b4b;this[_0x5d3b01(0x261)]['onQRCodeGetPicture']=_0xb547f6=>{const _0x3bf419=_0x5d3b01,_0xa8e1f7=_0xb547f6['pngBase64QrcodeData'][_0x3bf419(0x272)]('data:image/png;base64,')[0x1],_0x55fa04=Buffer['from'](_0xa8e1f7,'base64');_0x375527['SEQYi'](_0x1c5513,_0xb547f6[_0x3bf419(0x207)],_0xb547f6['pngBase64QrcodeData'],_0x55fa04);},this[_0x5d3b01(0x27e)]['getQRCodePicture']();});}async[_0x49c14f(0x27a)](_0x3ee9f1,_0x2987dc,_0x279b6a,_0x3c7e13,_0x149217){const _0x4b937b=_0x49c14f,_0x227325={'VOUhF':'md5','Kkprn':function(_0x3cc028,_0x4912db){return _0x3cc028&&_0x4912db;},'rYYXs':function(_0x395381,_0x19e783){return _0x395381||_0x19e783;},'QgVGa':function(_0x48194b,_0x5c1fb7){return _0x48194b(_0x5c1fb7);},'NAajH':_0x4b937b(0x22b),'glbmT':'140022013'},_0x5525ca=_0x278f55['createHash'](_0x227325[_0x4b937b(0x277)])['update'](_0x2987dc)[_0x4b937b(0x28c)](_0x4b937b(0x1f1)),_0x3b5a42={'uin':_0x3ee9f1,'passwordMd5':_0x5525ca,'step':_0x227325[_0x4b937b(0x264)](_0x279b6a,_0x3c7e13)&&_0x149217?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x279b6a||'','proofWaterRand':_0x3c7e13||'','proofWaterSid':_0x227325[_0x4b937b(0x1ed)](_0x149217,'')};await this['loginService'][_0x4b937b(0x21b)](),await _0x227325[_0x4b937b(0x285)](sleep,0x3e8);const _0x2f87a7=await this['loginService'][_0x4b937b(0x27a)](_0x3b5a42);switch(_0x2f87a7['result']){case'0':{break;}case _0x227325[_0x4b937b(0x24a)]:{break;}case'4':case _0x227325[_0x4b937b(0x26e)]:default:}}async['getQuickLoginList'](){const _0x3e8cc5=_0x49c14f,_0x9f02a2=await this[_0x3e8cc5(0x27e)][_0x3e8cc5(0x21b)]();return _0x9f02a2;}}function _0x3ec6(){const _0x282e85=['140022008','initSession\x20failed','bOZDO','resolve','32KhfZga','NodeIKernelLoginListener','HSWvj','message_received','1005538SprJXJ','UpwyZ','V1_WIN_NQ_','set','iHNGT','initConfig','335DqFeSV','find','replace','infos','bpJuO','init','floor','PmLTy','delete','createMemberListScene','aonTk','./.config/QQ','groupCode','QFKsB','NModQ','gZtTe','yIAxb','NAajH',')已登录,无法重复登录','dataPath','GroupListener','登录失败','qrLogin','nDpEF','now','getProfileService','1555617Abrelm','getNTUserDataInfoConfig','engine','bcfCy','onLoginFailed','onLoginSuccessFuncList','util','onGroupListUpdate','forEach','startNT','curVersion','tipsTitle','read','addKernelGroupListener','loginListener','addListener','errMsg','Kkprn','FYOIV','devUid','NodeIKernelLoginService','packet_received','undefined','NodeIQQNTWrapperEngine','getGroupService','initSession','consoleLog','glbmT','isDelete','本账号数据/缓存目录:','KiIkw','split','get','catch','13017771CpJIBz','addKernelLoginListener','VOUhF','没有可快速登录的QQ号','VqSqS','passwordLogin','_GW_B','onMemberListChange','homedir','loginService','-v2.db','\x20has\x20no\x20method\x20','EbZbg','./NapCat/data','onBuddyListChange','83958KvHkGp','QgVGa','mkdirSync','onQRCodeLoginSucceed','has','onRecvMsg','session','getNextMemberList','digest','uid','tipsDesc','assign','NodeIKernelGroupListener','rYYXs','KNMGf','then','zIGcr','hex','map','memberCount','buddyList','onKickedOffLine','getBuddyList','330127UYFEOB','push','getQRCodePicture','consoleLogLevel','yCkSv','IVoTd','clientType','NodeIDependsAdapter','3821184VAQoHu','getBuddyService','ProfileListener','dataPathGlobal','GFPUc','LBqnV','BuddyListener','sceneId','qrcodeUrl','jizcn','packet_sent','NodeIKernelProfileListener','onSelfStatusChanged','onAddSendMsg','onMemberInfoChange','Windows\x2010\x20Pro',')\x20在线状态变更','message_sent','caBRh','NodeIDispatcherAdapter','proxyHandler','getMsgService','uin','IwdIi','账号设备(','OAAZM','mWMGK','stringify','getLoginList','onQRCodeSessionFailed','yTTMx','NodeIGlobalAdapter','mTXzj','result','constructor','4569676aQEBBu','onSessionInitComplete','initWithDeskTopConfig','数据库初始化失败','CnUvQ','qSMXJ','last_message_time','fileLog','addKernelBuddyListener'];_0x3ec6=function(){return _0x282e85;};return _0x3ec6();}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x10dfe3=_0x2e92;(function(_0x5cc18b,_0x54f07f){const _0x4426f0=_0x2e92,_0x516b9c=_0x5cc18b();while(!![]){try{const _0x13f994=-parseInt(_0x4426f0(0x22e))/0x1+-parseInt(_0x4426f0(0x237))/0x2+-parseInt(_0x4426f0(0x1c6))/0x3+-parseInt(_0x4426f0(0x21f))/0x4+parseInt(_0x4426f0(0x1ca))/0x5+parseInt(_0x4426f0(0x267))/0x6*(-parseInt(_0x4426f0(0x1d1))/0x7)+parseInt(_0x4426f0(0x201))/0x8;if(_0x13f994===_0x54f07f)break;else _0x516b9c['push'](_0x516b9c['shift']());}catch(_0x4d24a7){_0x516b9c['push'](_0x516b9c['shift']());}}}(_0x3091,0x2ecd3));import _0x3c5fe2 from'@/core/wrapper';function _0x2e92(_0x495dfc,_0x2fea4f){const _0x309172=_0x3091();return _0x2e92=function(_0x2e92e8,_0x4744b0){_0x2e92e8=_0x2e92e8-0x1be;let _0x195a16=_0x309172[_0x2e92e8];return _0x195a16;},_0x2e92(_0x495dfc,_0x2fea4f);}import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x384fdb from'node:path';import _0x37e6ee from'node:os';import _0x3ba07b 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'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x419e0d from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x10dfe3(0x212)];[_0x10dfe3(0x245)];['engine'];[_0x10dfe3(0x234)];[_0x10dfe3(0x219)];['onLoginSuccessFuncList']=[];[_0x10dfe3(0x209)]={'get'(target,prop,receiver){const _0xc54216=_0x10dfe3,tHeNFG={'AkGkS':function(callee,param1){return callee(param1);},'wdNCe':function(x,y){return x===y;},'BQkJE':_0xc54216(0x1dc)};if(tHeNFG[_0xc54216(0x1f1)](typeof target[prop],tHeNFG['BQkJE']))return(...args)=>{const _0x25b170=_0xc54216;tHeNFG[_0x25b170(0x222)](logDebug,target[_0x25b170(0x26d)][_0x25b170(0x236)]+_0x25b170(0x223)+prop);};return Reflect['get'](target,prop,receiver);}};constructor(){const _0x1bec3d=_0x10dfe3,_0x17921e={'SUWNQ':function(_0x33aec2,_0x1a11b0){return _0x33aec2(_0x1a11b0);},'apWEx':function(_0x3d0f0c,_0x3f3695){return _0x3d0f0c+_0x3f3695;},'uGCMZ':_0x1bec3d(0x1c9),'NcXYK':function(_0x3f29c4,_0x478c40,_0x43cf08){return _0x3f29c4(_0x478c40,_0x43cf08);},'POyZs':function(_0x4e3dfe,_0x255a38){return _0x4e3dfe(_0x255a38);},'kIdJP':_0x1bec3d(0x22b),'VWMzI':function(_0x213cfe,_0x8c30b2,_0xe0dcad){return _0x213cfe(_0x8c30b2,_0xe0dcad);},'waDjT':'本账号数据/缓存目录:','RwXWY':function(_0x4e48f3,_0x56ab17,_0x47f9fc){return _0x4e48f3(_0x56ab17,_0x47f9fc);},'kNKun':_0x1bec3d(0x1e2),'EcpJs':function(_0x364b0f,_0x130d47){return _0x364b0f==_0x130d47;},'poZxJ':function(_0x2afe5b,_0x5a3e8d){return _0x2afe5b==_0x5a3e8d;},'AbgCn':_0x1bec3d(0x1d3)};this[_0x1bec3d(0x1d0)]=new _0x3c5fe2['NodeIQQNTWrapperEngine'](),this[_0x1bec3d(0x245)]=new _0x3c5fe2['NodeQQNTWrapperUtil'](),this[_0x1bec3d(0x219)]=new _0x3c5fe2['NodeIKernelLoginService'](),this[_0x1bec3d(0x212)]=new _0x3c5fe2[(_0x1bec3d(0x1f5))](),this[_0x1bec3d(0x234)]=new LoginListener(),this['loginListener'][_0x1bec3d(0x232)]=_0x30339c=>{const _0x44b115=_0x1bec3d;_0x17921e[_0x44b115(0x1fd)](logError,_0x17921e[_0x44b115(0x25d)]('当前账号(',_0x30339c)+_0x17921e[_0x44b115(0x1e1)]);},this[_0x1bec3d(0x234)][_0x1bec3d(0x262)]=_0x40f27b=>{const _0x4dcce1=_0x1bec3d,_0x27afb7={'tZmVg':_0x4dcce1(0x1f8),'hKOgC':function(_0x3a5661,_0x4d3083,_0x9079b9){const _0x4387fc=_0x4dcce1;return _0x17921e[_0x4387fc(0x1fa)](_0x3a5661,_0x4d3083,_0x9079b9);},'OXsfq':_0x17921e[_0x4dcce1(0x20f)]};this['initSession'](_0x40f27b['uin'],_0x40f27b[_0x4dcce1(0x1cf)])[_0x4dcce1(0x218)](_0x453586=>{const _0x1beb56=_0x4dcce1,_0x24e776={'IGEvM':function(_0xe16727,_0x2c7d14,_0x47ea0e){return _0x17921e['NcXYK'](_0xe16727,_0x2c7d14,_0x47ea0e);}};selfInfo['uin']=_0x40f27b[_0x1beb56(0x1f7)],selfInfo[_0x1beb56(0x1cf)]=_0x40f27b[_0x1beb56(0x1cf)],napCatConfig[_0x1beb56(0x227)](),_0x17921e[_0x1beb56(0x20b)](setLogLevel,napCatConfig[_0x1beb56(0x1d2)],napCatConfig[_0x1beb56(0x1f2)]),_0x17921e[_0x1beb56(0x26f)](enableFileLog,napCatConfig['fileLog']),enableConsoleLog(napCatConfig['consoleLog']),_0x17921e['SUWNQ'](setLogSelfInfo,selfInfo);const _0x3db127=_0x384fdb['resolve'](this[_0x1beb56(0x228)],_0x17921e['kIdJP']);_0x3ba07b[_0x1beb56(0x268)](_0x3db127,{'recursive':!![]}),_0x17921e['VWMzI'](logDebug,_0x17921e[_0x1beb56(0x1fc)],_0x3db127),dbUtil[_0x1beb56(0x21c)](_0x384fdb[_0x1beb56(0x220)](_0x3db127,'./'+_0x40f27b[_0x1beb56(0x1f7)]+_0x1beb56(0x271)))[_0x1beb56(0x218)](()=>{const _0x18ed3a=_0x1beb56,_0x2b9c60={'dHZln':function(_0x152764,_0xd31852,_0x36119d){const _0xde4d61=_0x2e92;return _0x24e776[_0xde4d61(0x1de)](_0x152764,_0xd31852,_0x36119d);}};this['initDataListener'](),this[_0x18ed3a(0x200)][_0x18ed3a(0x20d)](_0x202adf=>{const _0x4354d9=_0x18ed3a;new Promise((_0x40c8ea,_0x336193)=>{const _0xaac7fb=_0x2e92,_0x141d16=_0x2b9c60['dHZln'](_0x202adf,_0x40f27b[_0xaac7fb(0x1f7)],_0x40f27b['uid']);_0x141d16 instanceof Promise&&_0x141d16['then'](_0x40c8ea)['catch'](_0x336193);})[_0x4354d9(0x218)]();});})[_0x1beb56(0x22a)](_0x169e1a=>{const _0x337d9b=_0x1beb56;logError(_0x27afb7[_0x337d9b(0x23b)],_0x169e1a);});})[_0x4dcce1(0x22a)](_0x2e8c99=>{const _0x1a942c=_0x4dcce1;_0x27afb7[_0x1a942c(0x251)](logError,_0x27afb7[_0x1a942c(0x1df)],_0x2e8c99);throw new Error(_0x1a942c(0x1bf)+JSON[_0x1a942c(0x25b)](_0x2e8c99));});},this[_0x1bec3d(0x234)][_0x1bec3d(0x27a)]=(_0x5eea50,_0x12bd32,_0x2e4695)=>{const _0x468497=_0x1bec3d;logError(_0x468497(0x1d3),_0x2e4695),_0x17921e[_0x468497(0x278)](_0x5eea50,0x1)&&_0x17921e[_0x468497(0x270)](_0x12bd32,0x3)&&this['loginService'][_0x468497(0x272)]();},this['loginListener']['onLoginFailed']=_0x3b5320=>{const _0x2e3d9a=_0x1bec3d;_0x17921e[_0x2e3d9a(0x20b)](logError,_0x17921e[_0x2e3d9a(0x1c2)],_0x3b5320);},this[_0x1bec3d(0x234)]=new Proxy(this[_0x1bec3d(0x234)],this[_0x1bec3d(0x209)]),this[_0x1bec3d(0x219)][_0x1bec3d(0x275)](new _0x3c5fe2[(_0x1bec3d(0x1f3))](this[_0x1bec3d(0x234)])),this[_0x1bec3d(0x1d6)]();}get['dataPath'](){const _0x5d5c0e=_0x10dfe3,_0x11f96f={'wBOsE':_0x5d5c0e(0x217)};let _0x9e5ee9=this['util'][_0x5d5c0e(0x1d8)]();return!_0x9e5ee9&&(_0x9e5ee9=_0x384fdb[_0x5d5c0e(0x220)](_0x37e6ee[_0x5d5c0e(0x247)](),_0x11f96f[_0x5d5c0e(0x23d)]),_0x3ba07b[_0x5d5c0e(0x268)](_0x9e5ee9,{'recursive':!![]})),_0x9e5ee9;}get[_0x10dfe3(0x252)](){const _0x4dadc6=_0x10dfe3,_0x797f29={'kLiIx':_0x4dadc6(0x1ed)};return _0x384fdb['resolve'](this[_0x4dadc6(0x228)],_0x797f29[_0x4dadc6(0x21d)]);}[_0x10dfe3(0x1d6)](){const _0xf10dd9=_0x10dfe3,_0x4b113e={'HLTeg':'Windows\x2010\x20Pro'};this[_0xf10dd9(0x1d0)][_0xf10dd9(0x25f)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0xf10dd9(0x24b)],'os_version':_0x4b113e[_0xf10dd9(0x265)],'use_xlog':!![],'qua':_0xf10dd9(0x22f)+qqVersionConfigInfo[_0xf10dd9(0x24b)]['replace']('-','_')+_0xf10dd9(0x26c),'global_path_config':{'desktopGlobalPath':this[_0xf10dd9(0x252)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x3c5fe2[(_0xf10dd9(0x258))](new GlobalAdapter())),this[_0xf10dd9(0x219)]['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0xf10dd9(0x252)],'clientVer':qqVersionConfigInfo[_0xf10dd9(0x24b)],'hostName':hostname});}['initSession'](_0x2331b1,_0x52930d){const _0x4d2cfb=_0x10dfe3,_0x5563c3={'ryfuT':function(_0x16d67b,_0x56eaa8){return _0x16d67b===_0x56eaa8;},'LNscL':function(_0x2dbe48,_0x49163d){return _0x2dbe48(_0x49163d);},'vWThy':function(_0x38cccd,_0x2c532a,_0x4b0890,_0x30e3e1){return _0x38cccd(_0x2c532a,_0x4b0890,_0x30e3e1);},'awMWl':function(_0x370324,_0x3e40c9){return _0x370324+_0x3e40c9;},'wFcWy':_0x4d2cfb(0x22d)};return new Promise(async(_0x89c169,_0x196ee9)=>{const _0x2e28cf=_0x4d2cfb,_0x1f6a2a=await _0x5563c3['vWThy'](genSessionConfig,_0x2331b1,_0x52930d,this['dataPath']),_0x312ad2=new SessionListener();_0x312ad2[_0x2e28cf(0x1c1)]=_0x2cf17d=>{const _0x5b40b7=_0x2e28cf;if(_0x5563c3[_0x5b40b7(0x202)](_0x2cf17d,0x0))return _0x89c169(0x0);_0x5563c3[_0x5b40b7(0x273)](_0x196ee9,_0x2cf17d);},this[_0x2e28cf(0x212)]['init'](_0x1f6a2a,new _0x3c5fe2['NodeIDependsAdapter'](new DependsAdapter()),new _0x3c5fe2[(_0x2e28cf(0x1be))](new DispatcherAdapter()),new _0x3c5fe2['NodeIKernelSessionListener'](_0x312ad2));try{this[_0x2e28cf(0x212)][_0x2e28cf(0x246)](0x0);}catch(_0x4292ec){try{this[_0x2e28cf(0x212)][_0x2e28cf(0x246)]();}catch(_0x11aea8){_0x5563c3[_0x2e28cf(0x273)](_0x196ee9,_0x5563c3[_0x2e28cf(0x25c)](_0x5563c3['wFcWy'],_0x11aea8));}}});}[_0x10dfe3(0x248)](){const _0x1cf2be=_0x10dfe3,_0x352cb8={'ZiOaE':function(_0x30d35d,_0x53134d){return _0x30d35d===_0x53134d;},'UvpAr':function(_0x137afe,_0x7d8da8){return _0x137afe(_0x7d8da8);},'PahWO':'账号设备(','rdsXv':_0x1cf2be(0x269),'vkmjg':function(_0x5be580,_0x1fd4f6){return _0x5be580+_0x1fd4f6;},'wyOZX':_0x1cf2be(0x1ce),'QWlAx':function(_0x59fac7,_0x11325f){return _0x59fac7/_0x11325f;},'CXlfV':function(_0x1d8f91,_0x572e9a){return _0x1d8f91/_0x572e9a;},'EVPmL':function(_0x4eb525,_0x1e5e9a){return _0x4eb525===_0x1e5e9a;},'OSpvB':function(_0x595fa6,_0x1a0bc1,_0xf35cdc){return _0x595fa6(_0x1a0bc1,_0xf35cdc);}},_0x246831=new MsgListener();_0x246831[_0x1cf2be(0x231)]=_0x2fd826=>{const _0x3723b0=_0x1cf2be,_0x518643={'YgHRH':function(_0x3cfd3b,_0x7dd2bb){const _0x27eea5=_0x2e92;return _0x352cb8[_0x27eea5(0x250)](_0x3cfd3b,_0x7dd2bb);},'lplnl':function(_0x2bf857,_0x1b9d95){const _0x1734b9=_0x2e92;return _0x352cb8[_0x1734b9(0x261)](_0x2bf857,_0x1b9d95);},'guymS':_0x352cb8[_0x3723b0(0x25a)],'ePqRj':_0x352cb8['rdsXv']};_0x2fd826[_0x3723b0(0x20d)](_0x2be5b7=>{const _0x2d75e7=_0x3723b0;_0x518643[_0x2d75e7(0x243)](_0x2be5b7[_0x2d75e7(0x224)],0x2)&&_0x518643[_0x2d75e7(0x1db)](log,_0x518643[_0x2d75e7(0x1dd)]+_0x2be5b7['devUid']+_0x518643['ePqRj']);});},_0x246831[_0x1cf2be(0x1ef)]=_0x3bbf9f=>{const _0x4753a9=_0x1cf2be;log(_0x352cb8[_0x4753a9(0x21b)](_0x352cb8[_0x4753a9(0x21b)](_0x352cb8[_0x4753a9(0x23a)],_0x3bbf9f[_0x4753a9(0x23c)]),']\x20')+_0x3bbf9f[_0x4753a9(0x256)]);},_0x246831['onAddSendMsg']=_0x360c10=>{const _0x191ebc=_0x1cf2be;stat[_0x191ebc(0x24d)]+=0x1,stat[_0x191ebc(0x276)]+=0x1,stat[_0x191ebc(0x1eb)]=Math[_0x191ebc(0x1c0)](_0x352cb8[_0x191ebc(0x257)](Date[_0x191ebc(0x211)](),0x3e8));},_0x246831[_0x1cf2be(0x205)]=_0x581214=>{const _0x5d53b6=_0x1cf2be;stat['packet_received']+=0x1,stat[_0x5d53b6(0x266)]+=_0x581214[_0x5d53b6(0x239)],stat['last_message_time']=Math['floor'](_0x352cb8[_0x5d53b6(0x26a)](Date['now'](),0x3e8));},_0x246831[_0x1cf2be(0x1ff)]=(..._0x5142d9)=>{const _0x2a4fee=_0x1cf2be;stat[_0x2a4fee(0x259)]+=0x1;},this['addListener'](_0x246831);const _0x1407d3=new BuddyListener();_0x1407d3[_0x1cf2be(0x1f0)]=_0x2d2cbe=>{const _0x3470c3=_0x1cf2be;rawFriends[_0x3470c3(0x239)]=0x0,rawFriends[_0x3470c3(0x23e)](..._0x2d2cbe);for(const _0x1844b3 of _0x2d2cbe){for(const _0x16763f of _0x1844b3[_0x3470c3(0x214)]){const _0x243914=friends[_0x3470c3(0x1e8)](_0x16763f['uid']);_0x243914?Object[_0x3470c3(0x230)](_0x243914,_0x16763f):friends[_0x3470c3(0x226)](_0x16763f[_0x3470c3(0x1cf)],_0x16763f);}}},this[_0x1cf2be(0x1d4)](_0x1407d3),this['session'][_0x1cf2be(0x1cb)]()[_0x1cf2be(0x1d5)](!![])[_0x1cf2be(0x218)](_0x13fd06=>{});const _0xb25931=new ProfileListener();_0xb25931['onProfileDetailInfoChanged']=_0x46e636=>{const _0x1dbe71=_0x1cf2be;_0x46e636[_0x1dbe71(0x1cf)]===selfInfo[_0x1dbe71(0x1cf)]&&Object['assign'](selfInfo,_0x46e636);},_0xb25931[_0x1cf2be(0x1e5)]=_0x23a7ab=>{},this[_0x1cf2be(0x1d4)](_0xb25931);const _0x331974=new GroupListener();_0x331974[_0x1cf2be(0x1fb)]=(_0x3648b6,_0x58d34f)=>{const _0x18573f={'IORsj':function(_0x1dff77,_0x5969a1){const _0x49b27c=_0x2e92;return _0x352cb8[_0x49b27c(0x250)](_0x1dff77,_0x5969a1);}};_0x58d34f['map'](_0x54a38f=>{const _0x24bbe8=_0x2e92,_0x26c21f=groups[_0x24bbe8(0x1e8)](_0x54a38f[_0x24bbe8(0x215)]);_0x26c21f&&_0x18573f[_0x24bbe8(0x213)](_0x54a38f['memberCount'],_0x26c21f['memberCount'])?Object['assign'](_0x26c21f,_0x54a38f):groups[_0x24bbe8(0x226)](_0x54a38f[_0x24bbe8(0x215)],_0x54a38f);const _0x35026c=this[_0x24bbe8(0x212)][_0x24bbe8(0x1c5)]()['createMemberListScene'](_0x54a38f[_0x24bbe8(0x215)],_0x24bbe8(0x1da));this[_0x24bbe8(0x212)][_0x24bbe8(0x1c5)]()[_0x24bbe8(0x22c)](_0x35026c,undefined,0xbb8)[_0x24bbe8(0x218)](_0x338ba3=>{});});},_0x331974[_0x1cf2be(0x24c)]=_0x411f44=>{const _0xabf42f=_0x1cf2be,_0x5799b3=_0x411f44[_0xabf42f(0x26b)]['split']('_')[0x0];if(groupMembers[_0xabf42f(0x1e9)](_0x5799b3)){const _0x3ff0bf=groupMembers[_0xabf42f(0x1e8)](_0x5799b3);_0x411f44[_0xabf42f(0x24a)][_0xabf42f(0x1c4)]((_0x23a392,_0x48e015)=>{const _0x1fe6f0=_0xabf42f,_0x4829bf=_0x3ff0bf[_0x1fe6f0(0x1e8)](_0x48e015);_0x4829bf?Object[_0x1fe6f0(0x230)](_0x4829bf,_0x23a392):_0x3ff0bf[_0x1fe6f0(0x226)](_0x48e015,_0x23a392);});}else groupMembers[_0xabf42f(0x226)](_0x5799b3,_0x411f44['infos']);},_0x331974[_0x1cf2be(0x1c3)]=(_0x3dbe08,_0x4705c3,_0x9a73ce)=>{const _0x42810c=_0x1cf2be;_0x352cb8[_0x42810c(0x20e)](_0x4705c3,0x0)&&_0x9a73ce['get'](selfInfo[_0x42810c(0x1cf)])&&_0x9a73ce[_0x42810c(0x1e8)](selfInfo[_0x42810c(0x1cf)])?.[_0x42810c(0x1ea)]&&_0x352cb8[_0x42810c(0x1cc)](setTimeout,()=>{const _0x3b4f0a=_0x42810c;groups[_0x3b4f0a(0x1cd)](_0x3dbe08);},0x1388);const _0x12be78=groupMembers['get'](_0x3dbe08);_0x12be78?_0x9a73ce[_0x42810c(0x1c4)]((_0xd5a00d,_0x42c57a)=>{const _0x8f613e=_0x42810c,_0x4acdf7=_0x12be78['get'](_0x42c57a);_0x4acdf7?Object[_0x8f613e(0x230)](_0x4acdf7,_0xd5a00d):_0x12be78[_0x8f613e(0x226)](_0x42c57a,_0xd5a00d);}):groupMembers[_0x42810c(0x226)](_0x3dbe08,_0x9a73ce);},this[_0x1cf2be(0x1d4)](_0x331974);}[_0x10dfe3(0x1d4)](_0x58189d){const _0x34d3d7=_0x10dfe3,_0x1217b2={'DkqqM':_0x34d3d7(0x1e6),'IFHUb':_0x34d3d7(0x24e),'UGoKx':_0x34d3d7(0x210)};_0x58189d=new Proxy(_0x58189d,this[_0x34d3d7(0x209)]);switch(_0x58189d['constructor'][_0x34d3d7(0x236)]){case _0x1217b2[_0x34d3d7(0x24f)]:{return this[_0x34d3d7(0x212)][_0x34d3d7(0x1cb)]()[_0x34d3d7(0x1fe)](new _0x3c5fe2[(_0x34d3d7(0x254))](_0x58189d));}case _0x1217b2[_0x34d3d7(0x225)]:{return this[_0x34d3d7(0x212)]['getGroupService']()[_0x34d3d7(0x1f4)](new _0x3c5fe2[(_0x34d3d7(0x1ee))](_0x58189d));}case _0x34d3d7(0x1ec):{return this[_0x34d3d7(0x212)][_0x34d3d7(0x263)]()[_0x34d3d7(0x1c7)](new _0x3c5fe2[(_0x34d3d7(0x229))](_0x58189d));}case _0x1217b2[_0x34d3d7(0x206)]:{return this[_0x34d3d7(0x212)][_0x34d3d7(0x21e)]()['addKernelProfileListener'](new _0x3c5fe2['NodeIKernelProfileListener'](_0x58189d));}default:return-0x1;}}[_0x10dfe3(0x240)](_0x38d972){const _0x31bf8f=_0x10dfe3;NTEventDispatch['init']({'ListenerMap':_0x3c5fe2,'WrapperSession':this['session']}),this[_0x31bf8f(0x200)][_0x31bf8f(0x23e)](_0x38d972);}async[_0x10dfe3(0x233)](_0x537f4d){const _0x51d983=_0x10dfe3,_0x30eb6d={'bJhJQ':_0x51d983(0x238),'wyPTf':_0x51d983(0x23f)},_0x106575=await this[_0x51d983(0x219)][_0x51d983(0x274)]();if(_0x106575[_0x51d983(0x242)]!==0x0)throw new Error(_0x30eb6d[_0x51d983(0x1e3)]);const _0x448ac5=_0x106575[_0x51d983(0x216)][_0x51d983(0x1f9)](_0x17445f=>_0x17445f[_0x51d983(0x1f7)]===_0x537f4d);if(!_0x448ac5||!_0x448ac5?.[_0x51d983(0x249)])throw new Error(_0x537f4d+_0x51d983(0x21a));await sleep(0x3e8);const _0x429a02=await this['loginService'][_0x51d983(0x1e7)](_0x537f4d);if(!_0x429a02[_0x51d983(0x242)])throw new Error(_0x30eb6d[_0x51d983(0x1e4)]+_0x429a02[_0x51d983(0x1d7)][_0x51d983(0x279)]);return _0x429a02;}async[_0x10dfe3(0x244)](_0x54d919){const _0x1eb7da=_0x10dfe3,_0x4103ac={'CKmLn':_0x1eb7da(0x277),'rdQII':function(_0x353f98,_0x407361,_0x1a6724,_0x4350c6){return _0x353f98(_0x407361,_0x1a6724,_0x4350c6);}};return new Promise((_0xe75e7b,_0x4243e7)=>{const _0x161e41=_0x1eb7da,_0x5265af={'dbazU':_0x4103ac['CKmLn'],'gqwDe':function(_0x5d44ed,_0x519dd5,_0x57bff9,_0x5346dd){const _0x3be7f3=_0x2e92;return _0x4103ac[_0x3be7f3(0x25e)](_0x5d44ed,_0x519dd5,_0x57bff9,_0x5346dd);}};this['loginListener'][_0x161e41(0x264)]=_0x423eeb=>{const _0x8da649=_0x161e41,_0x51df69=_0x423eeb['pngBase64QrcodeData'][_0x8da649(0x20a)](_0x8da649(0x208))[0x1],_0x282a7c=Buffer[_0x8da649(0x255)](_0x51df69,_0x5265af['dbazU']);_0x5265af[_0x8da649(0x20c)](_0x54d919,_0x423eeb['qrcodeUrl'],_0x423eeb[_0x8da649(0x260)],_0x282a7c);},this['loginService'][_0x161e41(0x272)]();});}async[_0x10dfe3(0x207)](_0x586f31,_0x105709,_0x718359,_0x11279c,_0x3aab19){const _0x47d740=_0x10dfe3,_0x6fdc69={'HMwZO':_0x47d740(0x241),'wGyKb':'hex','AgHSP':function(_0x26b54a,_0x24d583){return _0x26b54a||_0x24d583;},'uUJxz':function(_0x26fad9,_0x26807a){return _0x26fad9(_0x26807a);},'vhNIp':_0x47d740(0x1e0)},_0x428075=_0x419e0d[_0x47d740(0x221)](_0x6fdc69[_0x47d740(0x26e)])[_0x47d740(0x203)](_0x105709)[_0x47d740(0x1d9)](_0x6fdc69[_0x47d740(0x1f6)]),_0x3cc122={'uin':_0x586f31,'passwordMd5':_0x428075,'step':_0x718359&&_0x11279c&&_0x3aab19?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x718359||'','proofWaterRand':_0x6fdc69[_0x47d740(0x204)](_0x11279c,''),'proofWaterSid':_0x3aab19||''};await this[_0x47d740(0x219)]['getLoginList'](),await _0x6fdc69[_0x47d740(0x235)](sleep,0x3e8);const _0xa5d4a1=await this['loginService'][_0x47d740(0x207)](_0x3cc122);switch(_0xa5d4a1[_0x47d740(0x242)]){case'0':{break;}case'140022008':{break;}case'4':case _0x6fdc69[_0x47d740(0x253)]:default:}}async[_0x10dfe3(0x1c8)](){const _0x3dd8b4=_0x10dfe3,_0x39006c=await this[_0x3dd8b4(0x219)][_0x3dd8b4(0x274)]();return _0x39006c;}}function _0x3091(){const _0x12553a=['map','EVPmL','kNKun','ProfileListener','now','session','IORsj','buddyList','groupCode','LocalLoginInfoList','./.config/QQ','then','loginService','快速登录不可用','vkmjg','init','kLiIx','getProfileService','464708ynfbNb','resolve','createHash','AkGkS','\x20has\x20no\x20method\x20','clientType','IFHUb','set','read','dataPath','NodeIKernelMsgListener','catch','./NapCat/data','getNextMemberList','init\x20failed\x20','211826nrOgPL','V1_WIN_NQ_','assign','onLineDev','onUserLoggedIn','quickLogin','loginListener','uUJxz','name','206132kJmYhL','没有可快速登录的QQ号','length','wyOZX','tZmVg','tipsTitle','wBOsE','push','快速登录失败\x20','onLoginSuccess','md5','result','YgHRH','qrLogin','util','startNT','homedir','initDataListener','isQuickLogin','infos','curVersion','onMemberListChange','packet_sent','GroupListener','DkqqM','ZiOaE','hKOgC','dataPathGlobal','vhNIp','NodeIKernelBuddyListener','from','tipsDesc','QWlAx','NodeIGlobalAdapter','packet_received','PahWO','stringify','awMWl','apWEx','rdQII','initWithDeskTopConfig','pngBase64QrcodeData','UvpAr','onQRCodeLoginSucceed','getMsgService','onQRCodeGetPicture','HLTeg','message_received','106284jeOxUL','mkdirSync',')\x20在线状态变更','CXlfV','sceneId','_GW_B','constructor','HMwZO','POyZs','poZxJ','-v2.db','getQRCodePicture','LNscL','getLoginList','addKernelLoginListener','message_sent','base64','EcpJs','errMsg','onQRCodeSessionFailed','NodeIDispatcherAdapter','启动失败:\x20','floor','onSessionInitComplete','AbgCn','onMemberInfoChange','forEach','getGroupService','1070400GFJhtb','addKernelMsgListener','getQuickLoginList',')已登录,无法重复登录','998285JifYfC','getBuddyService','OSpvB','delete','[KickedOffLine]\x20[','uid','engine','7SjlTri','fileLogLevel','登录失败','addListener','getBuddyList','initConfig','loginErrorInfo','getNTUserDataInfoConfig','digest','groupMemberList_MainWindow','lplnl','undefined','guymS','IGEvM','OXsfq','140022013','uGCMZ','initSession\x20failed','bJhJQ','wyPTf','onSelfStatusChanged','BuddyListener','quickLoginWithUin','get','has','isDelete','last_message_time','MsgListener','./nt_qq/global','NodeIKernelGroupListener','onKickedOffLine','onBuddyListChange','wdNCe','consoleLogLevel','NodeIKernelLoginListener','addKernelGroupListener','NodeIQQNTWrapperSession','wGyKb','uin','数据库初始化失败','find','RwXWY','onGroupListUpdate','waDjT','SUWNQ','addKernelBuddyListener','onRecvSysMsg','onLoginSuccessFuncList','6381000IwCeHR','ryfuT','update','AgHSP','onRecvMsg','UGoKx','passwordLogin','data:image/png;base64,','proxyHandler','split','NcXYK','gqwDe'];_0x3091=function(){return _0x12553a;};return _0x3091();}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 7d1c70b6..68f91a10 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x25ad36,_0x44511e){const _0x5014bf=_0x236c,_0x139b98=_0x25ad36();while(!![]){try{const _0x4a1046=parseInt(_0x5014bf(0x18a))/0x1*(parseInt(_0x5014bf(0x18e))/0x2)+-parseInt(_0x5014bf(0x18b))/0x3+parseInt(_0x5014bf(0x198))/0x4*(-parseInt(_0x5014bf(0x192))/0x5)+parseInt(_0x5014bf(0x19c))/0x6+-parseInt(_0x5014bf(0x18c))/0x7+-parseInt(_0x5014bf(0x19e))/0x8+-parseInt(_0x5014bf(0x19d))/0x9*(-parseInt(_0x5014bf(0x18d))/0xa);if(_0x4a1046===_0x44511e)break;else _0x139b98['push'](_0x139b98['shift']());}catch(_0x59b899){_0x139b98['push'](_0x139b98['shift']());}}}(_0x8865,0x989e9));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','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(_0x20b010){const _0x479fa7=_0x236c;groups[_0x479fa7(0x194)](_0x20b010),groupMembers[_0x479fa7(0x194)](_0x20b010);}function _0x8865(){const _0x5c3568=['toString','length','4395qglUFt','from','delete','forEach','get','set','2864cyPQJp','uin','getGroups','values','6158712QfKoFE','1021401qtKBFa','489264tnaMBL','find','MfaXZ','2mYRXBP','2252184ztaqKP','7280476lVmVAk','130uZNLYO','604638tFjwwd','getGroupMembers'];_0x8865=function(){return _0x5c3568;};return _0x8865();}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};function _0x236c(_0x2b3554,_0x125ca3){const _0x8865c9=_0x8865();return _0x236c=function(_0x236cad,_0x4abe7e){_0x236cad=_0x236cad-0x188;let _0x527255=_0x8865c9[_0x236cad];return _0x527255;},_0x236c(_0x2b3554,_0x125ca3);}export async function getFriend(_0x35df6f){const _0x5b5736=_0x236c;_0x35df6f=_0x35df6f[_0x5b5736(0x190)]();if(isNumeric(_0x35df6f)){const _0x1ec635=Array[_0x5b5736(0x193)](friends['values']());return _0x1ec635['find'](_0x3e89ed=>_0x3e89ed[_0x5b5736(0x199)]===_0x35df6f);}else return friends[_0x5b5736(0x196)](_0x35df6f);}export async function getGroup(_0x4bb731){const _0x547f77=_0x236c;let _0x117676=groups[_0x547f77(0x196)](_0x4bb731[_0x547f77(0x190)]());if(!_0x117676)try{const _0x5a5c6f=await NTQQGroupApi[_0x547f77(0x19a)]();_0x5a5c6f[_0x547f77(0x191)]&&_0x5a5c6f[_0x547f77(0x195)](_0x5bf4ee=>{const _0x1e4dac=_0x547f77;groups[_0x1e4dac(0x197)](_0x5bf4ee['groupCode'],_0x5bf4ee);});}catch(_0x154cce){return undefined;}return _0x117676=groups[_0x547f77(0x196)](_0x4bb731[_0x547f77(0x190)]()),_0x117676;}export async function getGroupMember(_0x395ec1,_0x5ddbbb){const _0x518666=_0x236c,_0x3d6586={'MfaXZ':function(_0x202433,_0x25c7f3){return _0x202433(_0x25c7f3);},'GqRwF':function(_0x1f7626){return _0x1f7626();}};_0x395ec1=_0x395ec1['toString'](),_0x5ddbbb=_0x5ddbbb['toString']();let _0x4463f5=groupMembers[_0x518666(0x196)](_0x395ec1);if(!_0x4463f5)try{_0x4463f5=await NTQQGroupApi['getGroupMembers'](_0x395ec1),groupMembers[_0x518666(0x197)](_0x395ec1,_0x4463f5);}catch(_0x232996){return null;}const _0x3a67be=()=>{const _0x56307b=_0x518666;let _0x3272b9=undefined;return _0x3d6586[_0x56307b(0x189)](isNumeric,_0x5ddbbb)?_0x3272b9=Array[_0x56307b(0x193)](_0x4463f5[_0x56307b(0x19b)]())[_0x56307b(0x188)](_0x3cc32d=>_0x3cc32d[_0x56307b(0x199)]===_0x5ddbbb):_0x3272b9=_0x4463f5['get'](_0x5ddbbb),_0x3272b9;};let _0x258076=_0x3d6586['GqRwF'](_0x3a67be);return!_0x258076&&(_0x4463f5=await NTQQGroupApi[_0x518666(0x18f)](_0x395ec1),_0x258076=_0x3a67be()),_0x258076;}export const tempGroupCodeMap={};export const rawFriends=[];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 +(function(_0x5f847,_0x5b6f00){const _0x438814=_0x2ba1,_0x2de119=_0x5f847();while(!![]){try{const _0x5f49c4=parseInt(_0x438814(0x157))/0x1*(-parseInt(_0x438814(0x14b))/0x2)+parseInt(_0x438814(0x14d))/0x3*(-parseInt(_0x438814(0x153))/0x4)+-parseInt(_0x438814(0x154))/0x5*(-parseInt(_0x438814(0x15e))/0x6)+parseInt(_0x438814(0x158))/0x7+parseInt(_0x438814(0x15a))/0x8+-parseInt(_0x438814(0x14c))/0x9*(parseInt(_0x438814(0x151))/0xa)+parseInt(_0x438814(0x159))/0xb*(parseInt(_0x438814(0x148))/0xc);if(_0x5f49c4===_0x5b6f00)break;else _0x2de119['push'](_0x2de119['shift']());}catch(_0x5aaef7){_0x2de119['push'](_0x2de119['shift']());}}}(_0x1bef,0x9ecc5));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','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(_0x43b6df){const _0x5ab10b=_0x2ba1;groups[_0x5ab10b(0x155)](_0x43b6df),groupMembers[_0x5ab10b(0x155)](_0x43b6df);}function _0x2ba1(_0x32c227,_0x388a20){const _0x1beff3=_0x1bef();return _0x2ba1=function(_0x2ba195,_0xed449e){_0x2ba195=_0x2ba195-0x144;let _0x3c3e50=_0x1beff3[_0x2ba195];return _0x3c3e50;},_0x2ba1(_0x32c227,_0x388a20);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export async function getFriend(_0x15d28e){const _0x29cb84=_0x2ba1,_0x5032b5={'uDqDx':function(_0x2e8160,_0x1ec669){return _0x2e8160(_0x1ec669);}};_0x15d28e=_0x15d28e[_0x29cb84(0x156)]();if(_0x5032b5[_0x29cb84(0x14e)](isNumeric,_0x15d28e)){const _0x471e1d=Array[_0x29cb84(0x147)](friends['values']());return _0x471e1d[_0x29cb84(0x15d)](_0x148f5d=>_0x148f5d['uin']===_0x15d28e);}else return friends[_0x29cb84(0x152)](_0x15d28e);}export async function getGroup(_0x57dfeb){const _0x5dcc44=_0x2ba1;let _0x45c8c0=groups[_0x5dcc44(0x152)](_0x57dfeb[_0x5dcc44(0x156)]());if(!_0x45c8c0)try{const _0x507d7b=await NTQQGroupApi[_0x5dcc44(0x145)]();_0x507d7b[_0x5dcc44(0x15c)]&&_0x507d7b['forEach'](_0x376127=>{const _0x42103a=_0x5dcc44;groups[_0x42103a(0x146)](_0x376127[_0x42103a(0x15b)],_0x376127);});}catch(_0x25668e){return undefined;}return _0x45c8c0=groups[_0x5dcc44(0x152)](_0x57dfeb[_0x5dcc44(0x156)]()),_0x45c8c0;}export async function getGroupMember(_0x4d449a,_0x1518c4){const _0x510f93=_0x2ba1,_0x45548e={'gRcvC':function(_0x1076fe,_0x4ed11b){return _0x1076fe(_0x4ed11b);},'JDLhK':function(_0x5dca4d){return _0x5dca4d();}};_0x4d449a=_0x4d449a[_0x510f93(0x156)](),_0x1518c4=_0x1518c4[_0x510f93(0x156)]();let _0x4ad33e=groupMembers[_0x510f93(0x152)](_0x4d449a);if(!_0x4ad33e)try{_0x4ad33e=await NTQQGroupApi['getGroupMembers'](_0x4d449a),groupMembers[_0x510f93(0x146)](_0x4d449a,_0x4ad33e);}catch(_0xe39ae3){return null;}const _0x27f733=()=>{const _0x4f8869=_0x510f93;let _0x1c0fa8=undefined;return _0x45548e[_0x4f8869(0x150)](isNumeric,_0x1518c4)?_0x1c0fa8=Array[_0x4f8869(0x147)](_0x4ad33e[_0x4f8869(0x14a)]())[_0x4f8869(0x15d)](_0x17a4e9=>_0x17a4e9[_0x4f8869(0x14f)]===_0x1518c4):_0x1c0fa8=_0x4ad33e['get'](_0x1518c4),_0x1c0fa8;};let _0x3a4ce6=_0x45548e[_0x510f93(0x149)](_0x27f733);return!_0x3a4ce6&&(_0x4ad33e=await NTQQGroupApi[_0x510f93(0x144)](_0x4d449a),_0x3a4ce6=_0x45548e[_0x510f93(0x149)](_0x27f733)),_0x3a4ce6;}function _0x1bef(){const _0xf5c73f=['47228NNraZf','35495rHUaEi','delete','toString','604965qEcPPJ','7189224wKCVTh','4763PZQaiJ','3033080yKOnwM','groupCode','length','find','690RAYYyL','getGroupMembers','getGroups','set','from','59748RzaKNV','JDLhK','values','4dwRkgd','7947pGZNmv','321pMTFex','uDqDx','uin','gRcvC','14210tejkna','get'];_0x1bef=function(){return _0xf5c73f;};return _0x1bef();}export const tempGroupCodeMap={};export const rawFriends=[];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 diff --git a/src/core.lib/src/entities/cache.js b/src/core.lib/src/entities/cache.js index ab12ec4a..b5e20445 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x1418ca,_0x1a87f3){var _0x252c0a=_0x4469,_0x1f4802=_0x1418ca();while(!![]){try{var _0x416995=-parseInt(_0x252c0a(0xad))/0x1*(parseInt(_0x252c0a(0xb5))/0x2)+-parseInt(_0x252c0a(0xbc))/0x3+-parseInt(_0x252c0a(0xb0))/0x4+-parseInt(_0x252c0a(0xbb))/0x5+-parseInt(_0x252c0a(0xb9))/0x6*(-parseInt(_0x252c0a(0xb4))/0x7)+parseInt(_0x252c0a(0xb2))/0x8+parseInt(_0x252c0a(0xba))/0x9;if(_0x416995===_0x1a87f3)break;else _0x1f4802['push'](_0x1f4802['shift']());}catch(_0x3b0337){_0x1f4802['push'](_0x1f4802['shift']());}}}(_0x4acf,0xea763));;export var CacheFileType;(function(_0x66415e){var _0x213b0d=_0x4469,_0x275191={'wWrLC':'IMAGE','RyFwe':_0x213b0d(0xb6),'RixpL':_0x213b0d(0xb7),'ZwKFg':_0x213b0d(0xb1),'KNHVD':'OTHER'};_0x66415e[_0x66415e[_0x275191[_0x213b0d(0xb3)]]=0x0]=_0x275191[_0x213b0d(0xb3)],_0x66415e[_0x66415e[_0x275191[_0x213b0d(0xab)]]=0x1]=_0x275191[_0x213b0d(0xab)],_0x66415e[_0x66415e[_0x275191['RixpL']]=0x2]=_0x275191[_0x213b0d(0xac)],_0x66415e[_0x66415e[_0x275191[_0x213b0d(0xae)]]=0x3]=_0x275191['ZwKFg'],_0x66415e[_0x66415e[_0x213b0d(0xaf)]=0x4]=_0x275191[_0x213b0d(0xb8)];}(CacheFileType||(CacheFileType={})));function _0x4469(_0x41ea10,_0x4e3e26){var _0x4acf27=_0x4acf();return _0x4469=function(_0x446955,_0x286c37){_0x446955=_0x446955-0xab;var _0x5328c3=_0x4acf27[_0x446955];return _0x5328c3;},_0x4469(_0x41ea10,_0x4e3e26);}function _0x4acf(){var _0x186dd1=['DOCUMENT','7426168IrJvTb','wWrLC','21wYMYCw','14uKoPrF','VIDEO','AUDIO','KNHVD','1882410veBQwL','22288995rwCvuQ','2919720qtwQEf','403980urKyID','RyFwe','RixpL','182218nfuDhL','ZwKFg','OTHER','5566184OSHwcF'];_0x4acf=function(){return _0x186dd1;};return _0x4acf();} \ No newline at end of file +(function(_0x12f5ed,_0x4a454a){var _0x5b88fb=_0x5b36,_0x4ec383=_0x12f5ed();while(!![]){try{var _0x2b149c=parseInt(_0x5b88fb(0xa7))/0x1+parseInt(_0x5b88fb(0xab))/0x2*(parseInt(_0x5b88fb(0xaa))/0x3)+parseInt(_0x5b88fb(0xa4))/0x4+parseInt(_0x5b88fb(0xa6))/0x5+parseInt(_0x5b88fb(0xa0))/0x6*(-parseInt(_0x5b88fb(0xac))/0x7)+-parseInt(_0x5b88fb(0x9d))/0x8+-parseInt(_0x5b88fb(0xa3))/0x9;if(_0x2b149c===_0x4a454a)break;else _0x4ec383['push'](_0x4ec383['shift']());}catch(_0x1dff76){_0x4ec383['push'](_0x4ec383['shift']());}}}(_0x1f30,0x862d3));function _0x5b36(_0x209919,_0x3d2e0a){var _0x1f3039=_0x1f30();return _0x5b36=function(_0x5b367b,_0x5cea63){_0x5b367b=_0x5b367b-0x9d;var _0xeddd4c=_0x1f3039[_0x5b367b];return _0xeddd4c;},_0x5b36(_0x209919,_0x3d2e0a);};function _0x1f30(){var _0x1c7ccb=['ggVZP','ycRwV','12zLFEwC','uktSW','AUDIO','4711095kMFUJc','2552300ZaaeoW','OTHER','2926740hutIVa','754036vhwBNh','JsFxn','IMAGE','252rYTwFx','4682hMONcB','309428dWhkqv','1|4|0|3|2','DOCUMENT','PJXKO','VIDEO','8101224PBbMmr'];_0x1f30=function(){return _0x1c7ccb;};return _0x1f30();}export var CacheFileType;(function(_0x29af6a){var _0x494f1f=_0x5b36,_0x285405={'JsFxn':_0x494f1f(0xad),'ggVZP':_0x494f1f(0xa2),'PJXKO':_0x494f1f(0xa9),'nTsEl':_0x494f1f(0xa5),'uktSW':_0x494f1f(0xae),'ycRwV':_0x494f1f(0xb0)},_0x379861=_0x285405[_0x494f1f(0xa8)]['split']('|'),_0x25c34d=0x0;while(!![]){switch(_0x379861[_0x25c34d++]){case'0':_0x29af6a[_0x29af6a[_0x285405[_0x494f1f(0x9e)]]=0x2]=_0x494f1f(0xa2);continue;case'1':_0x29af6a[_0x29af6a[_0x285405[_0x494f1f(0xaf)]]=0x0]=_0x494f1f(0xa9);continue;case'2':_0x29af6a[_0x29af6a[_0x494f1f(0xa5)]=0x4]=_0x285405['nTsEl'];continue;case'3':_0x29af6a[_0x29af6a[_0x285405['uktSW']]=0x3]=_0x285405[_0x494f1f(0xa1)];continue;case'4':_0x29af6a[_0x29af6a[_0x285405[_0x494f1f(0x9f)]]=0x1]=_0x285405[_0x494f1f(0x9f)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index 8e7efe0b..dac3520e 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x2b1e51=_0x53e0;(function(_0x54cf5f,_0x2bfc5f){const _0xd90fc2=_0x53e0,_0x21d1a0=_0x54cf5f();while(!![]){try{const _0x30497e=parseInt(_0xd90fc2(0x1f5))/0x1+-parseInt(_0xd90fc2(0x1f8))/0x2+parseInt(_0xd90fc2(0x1d5))/0x3+-parseInt(_0xd90fc2(0x1e2))/0x4*(-parseInt(_0xd90fc2(0x1ce))/0x5)+-parseInt(_0xd90fc2(0x210))/0x6*(-parseInt(_0xd90fc2(0x1e1))/0x7)+-parseInt(_0xd90fc2(0x1fe))/0x8+-parseInt(_0xd90fc2(0x1de))/0x9;if(_0x30497e===_0x2bfc5f)break;else _0x21d1a0['push'](_0x21d1a0['shift']());}catch(_0x132392){_0x21d1a0['push'](_0x21d1a0['shift']());}}}(_0x2d97,0x64db7));function _0x53e0(_0xe79374,_0x4ee8bb){const _0x2d97f2=_0x2d97();return _0x53e0=function(_0x53e0d0,_0x49a94a){_0x53e0d0=_0x53e0d0-0x1c6;let _0x1624c0=_0x2d97f2[_0x53e0d0];return _0x1624c0;},_0x53e0(_0xe79374,_0x4ee8bb);}function _0x2d97(){const _0x5c6dc7=['iiGdG','face','rpzkw','bckue','uploadFile','end','pic','PTT','DZPfX','Ori','video','sysface','ptt','TEXT','get','ARK','4778694krZtpC','获取视频信息失败','获取视频封面失败,使用默认封面','unlink','文件异常,大小为0','time','join','RPS','QSid','file','lczrN','toString','getImageSize','then','_0.png','FRRUU','mp4','sep','EbXDX','FILE','reply','stat','VIDEO','writeFile','replace','gif','2980DxAXMV','UfpTW','FACE','RNSNK','XYOOi','Thumb','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','2252472SmiibT','[骰子]','AniStickerPackId','string','ZjPvu','AniStickerType','find','catch','height','19312317nYYdqe','copyFile','[包剪锤]','7EBSTgD','3604iJcDUa','Bot\x20Test','MARKDOWN','width','tLeea','PIC','jpg','stringify','dvRvN','REPLY','rps','tMkcz','MFACE','ZMxlI','screenshots','SMWHQ','dice','jesep','mface','754051VqnvVF','qMlUz','语音转换失败,\x20请检查语音文件是否正常','398418FrSqBe','trlEc','YolIg','size','hzmXc','ZnyyW','641496CNFnwu','markdown'];_0x2d97=function(){return _0x5c6dc7;};return _0x2d97();}import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x39151b}from'node:fs';import _0x35f2dd 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';import _0x55295e from'./face_config.json';import*as _0x35301f from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0x5174ac){const _0x6cbe35=_0x53e0;return{'elementType':ElementType[_0x6cbe35(0x20d)],'elementId':'','textElement':{'content':_0x5174ac,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x88c26,_0x441957,_0x3af8c0,_0x255f3a){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x255f3a,'atType':_0x3af8c0,'atUid':_0x88c26,'atTinyId':'','atNtUid':_0x441957}};}static[_0x2b1e51(0x1c8)](_0x41f691,_0x427b76,_0x21c0b7,_0x47c705){const _0x4dc9f5=_0x2b1e51;return{'elementType':ElementType[_0x4dc9f5(0x1eb)],'elementId':'','replyElement':{'replayMsgSeq':_0x41f691,'replayMsgId':_0x427b76,'senderUin':_0x21c0b7,'senderUinStr':_0x47c705}};}static async[_0x2b1e51(0x206)](_0x4800e0,_0x29497c='',_0x93ff3e=0x0){const _0x5bc5d0=_0x2b1e51,_0x2f98b3={'qQdOF':function(_0x57f00e,_0x511898){return _0x57f00e===_0x511898;},'XYOOi':'文件异常,大小为0','lczrN':function(_0xea791b,_0x49ce32){return _0xea791b(_0x49ce32);}},{md5:_0x3dc29e,fileName:_0x4cc014,path:_0x26cf5d,fileSize:_0x41c8f0}=await NTQQFileApi['uploadFile'](_0x4800e0,ElementType[_0x5bc5d0(0x1e7)],_0x93ff3e);if(_0x2f98b3['qQdOF'](_0x41c8f0,0x0))throw _0x2f98b3[_0x5bc5d0(0x1d2)];const _0x1255ac=await NTQQFileApi[_0x5bc5d0(0x21c)](_0x4800e0),_0x519895={'md5HexStr':_0x3dc29e,'fileSize':_0x41c8f0['toString'](),'picWidth':_0x1255ac?.[_0x5bc5d0(0x1e5)],'picHeight':_0x1255ac?.[_0x5bc5d0(0x1dd)],'fileName':_0x4cc014,'sourcePath':_0x26cf5d,'original':!![],'picType':_0x2f98b3[_0x5bc5d0(0x21a)](isGIF,_0x4800e0)?PicType[_0x5bc5d0(0x1cd)]:PicType[_0x5bc5d0(0x1e8)],'picSubType':_0x93ff3e,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x29497c};return{'elementType':ElementType[_0x5bc5d0(0x1e7)],'elementId':'','picElement':_0x519895};}static async[_0x2b1e51(0x219)](_0x213329,_0x867b01='',_0x1447d0=''){const _0x202c97=_0x2b1e51,_0x190c56={'UfpTW':_0x202c97(0x214),'YaHQZ':function(_0x13453f,_0x48ce45){return _0x13453f||_0x48ce45;}},{md5:_0x1741b8,fileName:_0x15e0e7,path:_0x258e0a,fileSize:_0xeb2522}=await NTQQFileApi[_0x202c97(0x204)](_0x213329,ElementType[_0x202c97(0x1c7)]);if(_0xeb2522===0x0)throw _0x190c56[_0x202c97(0x1cf)];const _0x1db23a={'elementType':ElementType[_0x202c97(0x1c7)],'elementId':'','fileElement':{'fileName':_0x190c56['YaHQZ'](_0x867b01,_0x15e0e7),'folderId':_0x1447d0,'filePath':_0x258e0a,'fileSize':_0xeb2522[_0x202c97(0x21b)]()}};return _0x1db23a;}static async[_0x2b1e51(0x20a)](_0x56112f,_0x3f0dc3='',_0x220bcc=''){const _0x168f7b=_0x2b1e51,_0x586d9a={'EbXDX':function(_0x4fe7ba,_0x3670cc,_0x3ef63e){return _0x4fe7ba(_0x3670cc,_0x3ef63e);},'iiGdG':_0x168f7b(0x212),'tLeea':function(_0x5e2b70,_0x154a85){return _0x5e2b70(_0x154a85);},'rpzkw':'error','IgauL':function(_0x159ad9,_0xbce91f){return _0x159ad9+_0xbce91f;},'SMWHQ':function(_0x37de2c,_0x1bca4b){return _0x37de2c===_0x1bca4b;},'tMkcz':_0x168f7b(0x214),'bckue':_0x168f7b(0x220),'RNSNK':_0x168f7b(0x211),'qMlUz':function(_0x3a111e,_0x3f17ab){return _0x3a111e||_0x3f17ab;}},{fileName:_0x2e469b,path:_0x1003cd,fileSize:_0x4451e2,md5:_0x47a983}=await NTQQFileApi[_0x168f7b(0x204)](_0x56112f,ElementType[_0x168f7b(0x1ca)]);if(_0x586d9a[_0x168f7b(0x1f1)](_0x4451e2,0x0))throw _0x586d9a[_0x168f7b(0x1ed)];let _0x1e315b=_0x1003cd[_0x168f7b(0x1cc)](_0x35301f['sep']+_0x168f7b(0x209)+_0x35301f[_0x168f7b(0x221)],_0x35301f[_0x168f7b(0x221)]+_0x168f7b(0x1d3)+_0x35301f[_0x168f7b(0x221)]);_0x1e315b=_0x35301f['dirname'](_0x1e315b);let _0x382378={'width':0x780,'height':0x438,'time':0xf,'format':_0x586d9a[_0x168f7b(0x203)],'size':_0x4451e2,'filePath':_0x56112f};try{_0x382378=await getVideoInfo(_0x1003cd);}catch(_0x400f4c){logError(_0x586d9a[_0x168f7b(0x1d1)],_0x400f4c);}const _0x2e59d0=new Promise((_0xbdaa95,_0x51ffbe)=>{const _0x38ce28=_0x168f7b,_0x1a67ff={'YolIg':function(_0x47f1ee,_0x3bc04e){const _0x44ed61=_0x53e0;return _0x586d9a[_0x44ed61(0x1e6)](_0x47f1ee,_0x3bc04e);}},_0x439440=_0x47a983+_0x38ce28(0x21e),_0x2b4ed1=_0x35301f[_0x38ce28(0x216)](_0x1e315b,_0x439440);_0x586d9a[_0x38ce28(0x1e6)](_0x35f2dd,_0x56112f)['on']('end',()=>{})['on'](_0x586d9a[_0x38ce28(0x202)],_0x126e54=>{const _0x197d21=_0x38ce28;_0x586d9a[_0x197d21(0x1c6)](logDebug,_0x586d9a[_0x197d21(0x200)],_0x126e54),_0x220bcc?_0x39151b[_0x197d21(0x1df)](_0x220bcc,_0x2b4ed1)[_0x197d21(0x21d)](()=>{const _0x81e3ec=_0x197d21;_0x1a67ff[_0x81e3ec(0x1fa)](_0xbdaa95,_0x2b4ed1);})['catch'](_0x51ffbe):_0x39151b[_0x197d21(0x1cb)](_0x2b4ed1,defaultVideoThumb)[_0x197d21(0x21d)](()=>{_0xbdaa95(_0x2b4ed1);})[_0x197d21(0x1dc)](_0x51ffbe);})[_0x38ce28(0x1f0)]({'timestamps':[0x0],'filename':_0x439440,'folder':_0x1e315b,'size':_0x586d9a['IgauL'](_0x382378[_0x38ce28(0x1e5)],'x')+_0x382378[_0x38ce28(0x1dd)]})['on'](_0x38ce28(0x205),()=>{_0xbdaa95(_0x2b4ed1);});}),_0x1326c4=new Map(),_0x3e0448=await _0x2e59d0,_0x3958a5=(await _0x39151b[_0x168f7b(0x1c9)](_0x3e0448))[_0x168f7b(0x1fb)];_0x1326c4['set'](0x0,_0x3e0448);const _0xac7284=await _0x586d9a[_0x168f7b(0x1e6)](calculateFileMD5,_0x3e0448),_0x2ec9c8={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x586d9a[_0x168f7b(0x1f6)](_0x3f0dc3,_0x2e469b),'filePath':_0x1003cd,'videoMd5':_0x47a983,'thumbMd5':_0xac7284,'fileTime':_0x382378[_0x168f7b(0x215)],'thumbPath':_0x1326c4,'thumbSize':_0x3958a5,'thumbWidth':_0x382378['width'],'thumbHeight':_0x382378[_0x168f7b(0x1dd)],'fileSize':''+_0x4451e2}};return _0x2ec9c8;}static async[_0x2b1e51(0x20c)](_0x14d532){const _0x3765ac=_0x2b1e51,_0x29ba02={'ZjPvu':function(_0x47489d,_0x368818){return _0x47489d(_0x368818);},'afkco':_0x3765ac(0x1f7),'nHGAn':function(_0x5948da,_0xc36f4c){return _0x5948da===_0xc36f4c;},'trlEc':_0x3765ac(0x214),'ZMxlI':function(_0x11392a,_0x297254){return _0x11392a||_0x297254;}},{converted:_0x2f04c4,path:_0x4187f5,duration:_0x115ae6}=await _0x29ba02[_0x3765ac(0x1d9)](encodeSilk,_0x14d532);if(!_0x4187f5)throw _0x29ba02['afkco'];const {md5:_0x40042c,fileName:_0x2703a5,path:_0x2c4d42,fileSize:_0x136dde}=await NTQQFileApi[_0x3765ac(0x204)](_0x4187f5,ElementType[_0x3765ac(0x207)]);if(_0x29ba02['nHGAn'](_0x136dde,0x0))throw _0x29ba02[_0x3765ac(0x1f9)];return _0x2f04c4&&_0x39151b[_0x3765ac(0x213)](_0x4187f5)['then'](),{'elementType':ElementType['PTT'],'elementId':'','pttElement':{'fileName':_0x2703a5,'filePath':_0x2c4d42,'md5HexStr':_0x40042c,'fileSize':_0x136dde,'duration':_0x29ba02[_0x3765ac(0x1ef)](_0x115ae6,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[_0x2b1e51(0x201)](_0x115390){const _0x358570=_0x2b1e51,_0x30c8ac={'dvRvN':function(_0x2154ce,_0x2f1777){return _0x2154ce>=_0x2f1777;}},_0x9255de=_0x55295e[_0x358570(0x20b)],_0x2991d3=_0x55295e['emoji'],_0xe387ab=_0x9255de[_0x358570(0x1db)](_0x290c06=>_0x290c06[_0x358570(0x218)]===_0x115390['toString']());_0x115390=parseInt(_0x115390[_0x358570(0x21b)]());let _0x15c319=0x1;return _0x30c8ac[_0x358570(0x1ea)](_0x115390,0xde)&&(_0x15c319=0x2),_0xe387ab['AniStickerType']&&(_0x15c319=0x3),{'elementType':ElementType[_0x358570(0x1d0)],'elementId':'','faceElement':{'faceIndex':_0x115390,'faceType':_0x15c319,'faceText':_0xe387ab['QDes'],'stickerId':_0xe387ab['AniStickerId'],'stickerType':_0xe387ab[_0x358570(0x1da)],'packId':_0xe387ab[_0x358570(0x1d7)],'sourceType':0x1}};}static[_0x2b1e51(0x1f4)](_0x3e7e83,_0x258046,_0x5801c3,_0x5ec15f){const _0x4c1889=_0x2b1e51,_0x148710={'jesep':'[商城表情]'};return{'elementType':ElementType[_0x4c1889(0x1ee)],'marketFaceElement':{'emojiPackageId':_0x3e7e83,'emojiId':_0x258046,'key':_0x5801c3,'faceName':_0x5ec15f||mFaceCache[_0x4c1889(0x20e)](_0x258046)||_0x148710[_0x4c1889(0x1f3)]}};}static[_0x2b1e51(0x1f2)](_0x1e7a24){const _0x2808ac=_0x2b1e51;return{'elementType':ElementType[_0x2808ac(0x1d0)],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType[_0x2808ac(0x1f2)],'faceText':_0x2808ac(0x1d6),'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x2b1e51(0x1ec)](_0x378102){const _0x3518f5=_0x2b1e51,_0x2c6116={'FawxQ':_0x3518f5(0x1e0)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x3518f5(0x217)],'faceText':_0x2c6116['FawxQ'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x2770ca){const _0x34c2d5=_0x2b1e51,_0x4d4d75={'DZPfX':function(_0x546716,_0x3fbfa3){return _0x546716!==_0x3fbfa3;},'FRRUU':_0x34c2d5(0x1d8)};return _0x4d4d75[_0x34c2d5(0x208)](typeof _0x2770ca,_0x4d4d75[_0x34c2d5(0x21f)])&&(_0x2770ca=JSON[_0x34c2d5(0x1e9)](_0x2770ca)),{'elementType':ElementType[_0x34c2d5(0x20f)],'elementId':'','arkElement':{'bytesData':_0x2770ca,'linkInfo':null,'subElementType':null}};}static[_0x2b1e51(0x1ff)](_0x439ed5){const _0x375eed=_0x2b1e51;return{'elementType':ElementType[_0x375eed(0x1e4)],'elementId':'','markdownElement':{'content':_0x439ed5}};}static async['miniapp'](){const _0x39a05a=_0x2b1e51,_0x5b6d2a={'ZnyyW':_0x39a05a(0x1e3),'uqwLI':'https://www.bilibili.com/','hzmXc':'https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png'};let _0xf1efd8=await SignMiniApp({'prompt':_0x5b6d2a[_0x39a05a(0x1fd)],'title':_0x39a05a(0x1e3),'preview':_0x39a05a(0x1d4),'jumpUrl':_0x5b6d2a['uqwLI'],'tag':_0x5b6d2a[_0x39a05a(0x1fd)],'tagIcon':_0x5b6d2a['hzmXc'],'source':_0x5b6d2a['ZnyyW'],'sourcelogo':_0x5b6d2a[_0x39a05a(0x1fc)]});return{'elementType':ElementType[_0x39a05a(0x20f)],'elementId':'','arkElement':{'bytesData':_0xf1efd8,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x3e2e7f=_0x3170;(function(_0x5bf13c,_0x2d5534){const _0x4b489c=_0x3170,_0x32152b=_0x5bf13c();while(!![]){try{const _0x407e0a=-parseInt(_0x4b489c(0xc2))/0x1+-parseInt(_0x4b489c(0xde))/0x2+-parseInt(_0x4b489c(0xd7))/0x3*(parseInt(_0x4b489c(0xd1))/0x4)+parseInt(_0x4b489c(0xc6))/0x5*(-parseInt(_0x4b489c(0xd5))/0x6)+parseInt(_0x4b489c(0xeb))/0x7+-parseInt(_0x4b489c(0xb8))/0x8*(parseInt(_0x4b489c(0xad))/0x9)+parseInt(_0x4b489c(0xd8))/0xa*(parseInt(_0x4b489c(0xf3))/0xb);if(_0x407e0a===_0x2d5534)break;else _0x32152b['push'](_0x32152b['shift']());}catch(_0x1ecfc2){_0x32152b['push'](_0x32152b['shift']());}}}(_0x1e8b,0x3f54d));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x437127}from'node:fs';function _0x3170(_0x388d19,_0x2e8a92){const _0x1e8b9e=_0x1e8b();return _0x3170=function(_0x317035,_0xdab5b2){_0x317035=_0x317035-0x9b;let _0x74b564=_0x1e8b9e[_0x317035];return _0x74b564;},_0x3170(_0x388d19,_0x2e8a92);}import _0x6b24c7 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';import _0x40f180 from'./face_config.json';function _0x1e8b(){const _0x5b7337=['Ttheg','PTT','eCFUf','PIC','388572tvYmhE','replace','AniStickerType','mface','200435mAhsxg','get','REPLY','qjFOi','end','TEXT','sysface','ARK','pic','_0.png','time','8hShsns','hxQFc','then','ptt','24jjVXUW','file','482082nFVlKE','1987430mcMOcI','toString','fSsXi','eEQaC','PhFgq','kaTkc','775104BnbRrI','hMXrl','PDXsP','文件异常,大小为0','mCflg','dice','markdown','jpg','https://www.bilibili.com/','stringify','[包剪锤]','InFVm','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','2513833tQyKOJ','mp4','zBmzd','Thumb','PXtId','ShtLc','FACE','screenshots','88lqvUJj','zfpro','LhOkA','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','[商城表情]','QDes','Tloag','find','qyHLX','sep','reply','获取视频封面失败,使用默认封面','catch','height','text','ark','HDziS','QSid','writeFile','FILE','[骰子]','1943091VcnzjL','error','CPUTf','width','CDoID','set','语音转换失败,\x20请检查语音文件是否正常','MFACE','uploadFile','VIDEO','getImageSize','16TEAQop','dBrxw','XhrmW','FRayh','svOOQ','size'];_0x1e8b=function(){return _0x5b7337;};return _0x1e8b();}import*as _0x471201 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x3e2e7f(0xa6)](_0x291580){const _0x372221=_0x3e2e7f;return{'elementType':ElementType[_0x372221(0xcb)],'elementId':'','textElement':{'content':_0x291580,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x1d77c4,_0x4cb618,_0x1254dc,_0x44405c){const _0x46c83e=_0x3e2e7f;return{'elementType':ElementType[_0x46c83e(0xcb)],'elementId':'','textElement':{'content':'@'+_0x44405c,'atType':_0x1254dc,'atUid':_0x1d77c4,'atTinyId':'','atNtUid':_0x4cb618}};}static[_0x3e2e7f(0xa2)](_0x370559,_0x3e8e7c,_0x3ebd49,_0x1c9d04){const _0x4cf800=_0x3e2e7f;return{'elementType':ElementType[_0x4cf800(0xc8)],'elementId':'','replyElement':{'replayMsgSeq':_0x370559,'replayMsgId':_0x3e8e7c,'senderUin':_0x3ebd49,'senderUinStr':_0x1c9d04}};}static async[_0x3e2e7f(0xce)](_0x3ee2ec,_0x1d53f8='',_0x2d2a4e=0x0){const _0x1e91ec=_0x3e2e7f,_0x212f89={'fSsXi':function(_0xefb81d,_0x3b1e80){return _0xefb81d===_0x3b1e80;},'CPUTf':'文件异常,大小为0','Nhmtd':function(_0x11fb96,_0x979ab9){return _0x11fb96(_0x979ab9);}},{md5:_0x2289c4,fileName:_0x4223f7,path:_0x5566cc,fileSize:_0xcd62e7}=await NTQQFileApi[_0x1e91ec(0xb5)](_0x3ee2ec,ElementType[_0x1e91ec(0xc1)],_0x2d2a4e);if(_0x212f89[_0x1e91ec(0xda)](_0xcd62e7,0x0))throw _0x212f89[_0x1e91ec(0xaf)];const _0x341171=await NTQQFileApi[_0x1e91ec(0xb7)](_0x3ee2ec),_0x123565={'md5HexStr':_0x2289c4,'fileSize':_0xcd62e7[_0x1e91ec(0xd9)](),'picWidth':_0x341171?.[_0x1e91ec(0xb0)],'picHeight':_0x341171?.[_0x1e91ec(0xa5)],'fileName':_0x4223f7,'sourcePath':_0x5566cc,'original':!![],'picType':_0x212f89['Nhmtd'](isGIF,_0x3ee2ec)?PicType['gif']:PicType[_0x1e91ec(0xe5)],'picSubType':_0x2d2a4e,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x1d53f8};return{'elementType':ElementType[_0x1e91ec(0xc1)],'elementId':'','picElement':_0x123565};}static async[_0x3e2e7f(0xd6)](_0x49b6a6,_0x41374c='',_0x37e313=''){const _0xcafd22=_0x3e2e7f,_0x5f5263={'LhOkA':_0xcafd22(0xe1),'dBrxw':function(_0x53ce94,_0x4d054f){return _0x53ce94||_0x4d054f;}},{md5:_0x26342b,fileName:_0x165e67,path:_0x95655f,fileSize:_0x510aa4}=await NTQQFileApi[_0xcafd22(0xb5)](_0x49b6a6,ElementType[_0xcafd22(0xab)]);if(_0x510aa4===0x0)throw _0x5f5263[_0xcafd22(0xf5)];const _0x3c40c0={'elementType':ElementType[_0xcafd22(0xab)],'elementId':'','fileElement':{'fileName':_0x5f5263[_0xcafd22(0xb9)](_0x41374c,_0x165e67),'folderId':_0x37e313,'filePath':_0x95655f,'fileSize':_0x510aa4['toString']()}};return _0x3c40c0;}static async['video'](_0x403851,_0x1edb44='',_0x5a42e8=''){const _0x4b0e8d=_0x3e2e7f,_0x5e674b={'zfpro':function(_0x592fa3,_0x44c71b,_0x24c1d3){return _0x592fa3(_0x44c71b,_0x24c1d3);},'kaTkc':_0x4b0e8d(0xa3),'eEQaC':function(_0x3e482f,_0x41a4bf){return _0x3e482f(_0x41a4bf);},'KeZOo':_0x4b0e8d(0xae),'hMXrl':function(_0x3753f7,_0x28fd3d){return _0x3753f7+_0x28fd3d;},'ShtLc':_0x4b0e8d(0xca),'zBmzd':function(_0x583638,_0x5bc511){return _0x583638===_0x5bc511;},'FRayh':_0x4b0e8d(0xe1),'PDXsP':_0x4b0e8d(0xec),'Tloag':'获取视频信息失败','bZgWH':function(_0x1c6049,_0x5a2415){return _0x1c6049(_0x5a2415);},'CDoID':function(_0x365fae,_0x4aafdf){return _0x365fae||_0x4aafdf;},'uDUzx':function(_0x5175eb,_0x322aa8){return _0x5175eb+_0x322aa8;}},{fileName:_0x1e295f,path:_0x551b1e,fileSize:_0xc84740,md5:_0x2f7434}=await NTQQFileApi[_0x4b0e8d(0xb5)](_0x403851,ElementType[_0x4b0e8d(0xb6)]);if(_0x5e674b[_0x4b0e8d(0xed)](_0xc84740,0x0))throw _0x5e674b[_0x4b0e8d(0xbb)];let _0x44bd99=_0x551b1e[_0x4b0e8d(0xc3)](_0x471201[_0x4b0e8d(0xa1)]+'Ori'+_0x471201['sep'],_0x471201['sep']+_0x4b0e8d(0xee)+_0x471201[_0x4b0e8d(0xa1)]);_0x44bd99=_0x471201['dirname'](_0x44bd99);let _0x2c4ca6={'width':0x780,'height':0x438,'time':0xf,'format':_0x5e674b[_0x4b0e8d(0xe0)],'size':_0xc84740,'filePath':_0x403851};try{_0x2c4ca6=await getVideoInfo(_0x551b1e);}catch(_0xe6a438){_0x5e674b[_0x4b0e8d(0xf4)](logError,_0x5e674b[_0x4b0e8d(0x9e)],_0xe6a438);}const _0x33ba52=new Promise((_0x4844ee,_0x39924f)=>{const _0x3c21a1=_0x4b0e8d,_0x2e40cf={'XhrmW':function(_0x37fdb4,_0x245e1d){return _0x5e674b['eEQaC'](_0x37fdb4,_0x245e1d);},'uBxCh':function(_0x559d01,_0x9acfe0){return _0x559d01(_0x9acfe0);}},_0x3c9215=_0x2f7434+_0x3c21a1(0xcf),_0x190c2e=_0x471201['join'](_0x44bd99,_0x3c9215);_0x5e674b[_0x3c21a1(0xdb)](_0x6b24c7,_0x403851)['on']('end',()=>{})['on'](_0x5e674b['KeZOo'],_0x3ceec1=>{const _0x19c624=_0x3c21a1;_0x5e674b['zfpro'](logDebug,_0x5e674b[_0x19c624(0xdd)],_0x3ceec1),_0x5a42e8?_0x437127['copyFile'](_0x5a42e8,_0x190c2e)[_0x19c624(0xd3)](()=>{const _0x484520=_0x19c624;_0x2e40cf[_0x484520(0xba)](_0x4844ee,_0x190c2e);})[_0x19c624(0xa4)](_0x39924f):_0x437127[_0x19c624(0xaa)](_0x190c2e,defaultVideoThumb)[_0x19c624(0xd3)](()=>{_0x2e40cf['uBxCh'](_0x4844ee,_0x190c2e);})[_0x19c624(0xa4)](_0x39924f);})[_0x3c21a1(0xf2)]({'timestamps':[0x0],'filename':_0x3c9215,'folder':_0x44bd99,'size':_0x5e674b[_0x3c21a1(0xdf)](_0x2c4ca6[_0x3c21a1(0xb0)]+'x',_0x2c4ca6[_0x3c21a1(0xa5)])})['on'](_0x5e674b[_0x3c21a1(0xf0)],()=>{_0x2e40cf['XhrmW'](_0x4844ee,_0x190c2e);});}),_0x5b7b3e=new Map(),_0x4ddb9c=await _0x33ba52,_0x388c18=(await _0x437127['stat'](_0x4ddb9c))[_0x4b0e8d(0xbd)];_0x5b7b3e[_0x4b0e8d(0xb2)](0x0,_0x4ddb9c);const _0xebf6e3=await _0x5e674b['bZgWH'](calculateFileMD5,_0x4ddb9c),_0x532924={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x5e674b[_0x4b0e8d(0xb1)](_0x1edb44,_0x1e295f),'filePath':_0x551b1e,'videoMd5':_0x2f7434,'thumbMd5':_0xebf6e3,'fileTime':_0x2c4ca6[_0x4b0e8d(0xd0)],'thumbPath':_0x5b7b3e,'thumbSize':_0x388c18,'thumbWidth':_0x2c4ca6[_0x4b0e8d(0xb0)],'thumbHeight':_0x2c4ca6[_0x4b0e8d(0xa5)],'fileSize':_0x5e674b['uDUzx']('',_0xc84740)}};return _0x532924;}static async[_0x3e2e7f(0xd4)](_0x53af54){const _0x122ffc=_0x3e2e7f,_0x10cab7={'qyHLX':_0x122ffc(0xb3),'InFVm':function(_0x149698,_0x430234){return _0x149698===_0x430234;},'hxQFc':_0x122ffc(0xe1),'svOOQ':function(_0x544dac,_0x440886){return _0x544dac||_0x440886;}},{converted:_0x2cc214,path:_0x318d09,duration:_0x3e0aec}=await encodeSilk(_0x53af54);if(!_0x318d09)throw _0x10cab7[_0x122ffc(0xa0)];const {md5:_0x44d682,fileName:_0x45a660,path:_0x37bd10,fileSize:_0x457927}=await NTQQFileApi[_0x122ffc(0xb5)](_0x318d09,ElementType[_0x122ffc(0xbf)]);if(_0x10cab7[_0x122ffc(0xe9)](_0x457927,0x0))throw _0x10cab7[_0x122ffc(0xd2)];return _0x2cc214&&_0x437127['unlink'](_0x318d09)[_0x122ffc(0xd3)](),{'elementType':ElementType[_0x122ffc(0xbf)],'elementId':'','pttElement':{'fileName':_0x45a660,'filePath':_0x37bd10,'md5HexStr':_0x44d682,'fileSize':_0x457927,'duration':_0x10cab7[_0x122ffc(0xbc)](_0x3e0aec,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['face'](_0x4e2feb){const _0x22e166=_0x3e2e7f,_0x452302={'HDziS':function(_0x1ce93e,_0x29dc9c){return _0x1ce93e>=_0x29dc9c;}},_0x5db382=_0x40f180[_0x22e166(0xcc)],_0xd0f5c7=_0x40f180['emoji'],_0x4782ff=_0x5db382[_0x22e166(0x9f)](_0x4b67af=>_0x4b67af[_0x22e166(0xa9)]===_0x4e2feb[_0x22e166(0xd9)]());_0x4e2feb=parseInt(_0x4e2feb['toString']());let _0x24ee98=0x1;return _0x452302[_0x22e166(0xa8)](_0x4e2feb,0xde)&&(_0x24ee98=0x2),_0x4782ff['AniStickerType']&&(_0x24ee98=0x3),{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':_0x4e2feb,'faceType':_0x24ee98,'faceText':_0x4782ff[_0x22e166(0x9d)],'stickerId':_0x4782ff['AniStickerId'],'stickerType':_0x4782ff[_0x22e166(0xc4)],'packId':_0x4782ff['AniStickerPackId'],'sourceType':0x1}};}static[_0x3e2e7f(0xc5)](_0x44decd,_0x53d885,_0x443e18,_0x5cd546){const _0xd1f51e=_0x3e2e7f,_0x2af485={'qjFOi':_0xd1f51e(0x9c)};return{'elementType':ElementType[_0xd1f51e(0xb4)],'marketFaceElement':{'emojiPackageId':_0x44decd,'emojiId':_0x53d885,'key':_0x443e18,'faceName':_0x5cd546||mFaceCache[_0xd1f51e(0xc7)](_0x53d885)||_0x2af485[_0xd1f51e(0xc9)]}};}static['dice'](_0x2923d7){const _0x9b57bd=_0x3e2e7f;return{'elementType':ElementType[_0x9b57bd(0xf1)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x9b57bd(0xe3)],'faceType':FaceType[_0x9b57bd(0xe3)],'faceText':_0x9b57bd(0xac),'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x571226){const _0x3872b7=_0x3e2e7f;return{'elementType':ElementType[_0x3872b7(0xf1)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x3872b7(0xe8),'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x3e2e7f(0xa7)](_0x3f1619){const _0x3f662a=_0x3e2e7f,_0x5a22c7={'PhFgq':function(_0x38caa6,_0x23e448){return _0x38caa6!==_0x23e448;},'mCflg':'string'};return _0x5a22c7[_0x3f662a(0xdc)](typeof _0x3f1619,_0x5a22c7[_0x3f662a(0xe2)])&&(_0x3f1619=JSON[_0x3f662a(0xe7)](_0x3f1619)),{'elementType':ElementType[_0x3f662a(0xcd)],'elementId':'','arkElement':{'bytesData':_0x3f1619,'linkInfo':null,'subElementType':null}};}static[_0x3e2e7f(0xe4)](_0x11b7ed){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0x11b7ed}};}static async['miniapp'](){const _0x39db12=_0x3e2e7f,_0x1b39b6={'eCFUf':function(_0x246767,_0x3d42ab){return _0x246767(_0x3d42ab);},'PXtId':'Bot\x20Test','Ttheg':_0x39db12(0xea)};let _0x3f7434=await _0x1b39b6[_0x39db12(0xc0)](SignMiniApp,{'prompt':_0x1b39b6[_0x39db12(0xef)],'title':'Bot\x20Test','preview':_0x39db12(0x9b),'jumpUrl':_0x39db12(0xe6),'tag':_0x1b39b6['PXtId'],'tagIcon':_0x1b39b6['Ttheg'],'source':_0x1b39b6['PXtId'],'sourcelogo':_0x1b39b6[_0x39db12(0xbe)]});return{'elementType':ElementType[_0x39db12(0xcd)],'elementId':'','arkElement':{'bytesData':_0x3f7434,'linkInfo':null,'subElementType':null}};}} \ 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 30a2d64f..2e3675a8 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -function _0x361e(){var _0x3a450a=['5385840rYjMpJ','740650howzCl','3490778VxhGJX','yoghs','ymqXU','4463340CSIOwt','admin','426ocniDh','owner','1949264flRriu','77371ZdjUVm','4028865DfOAul'];_0x361e=function(){return _0x3a450a;};return _0x361e();}(function(_0x2c3f15,_0x25cfa8){var _0x34c76c=_0x4817,_0xff83e9=_0x2c3f15();while(!![]){try{var _0x5bfd1f=parseInt(_0x34c76c(0x171))/0x1+parseInt(_0x34c76c(0x172))/0x2+-parseInt(_0x34c76c(0x170))/0x3+-parseInt(_0x34c76c(0x169))/0x4+parseInt(_0x34c76c(0x16f))/0x5+parseInt(_0x34c76c(0x16b))/0x6*(parseInt(_0x34c76c(0x16e))/0x7)+-parseInt(_0x34c76c(0x16d))/0x8;if(_0x5bfd1f===_0x25cfa8)break;else _0xff83e9['push'](_0xff83e9['shift']());}catch(_0x3129e3){_0xff83e9['push'](_0xff83e9['shift']());}}}(_0x361e,0xe10ca));export var GroupMemberRole;function _0x4817(_0x2ae5df,_0x58e12c){var _0x361e6f=_0x361e();return _0x4817=function(_0x481723,_0x12e99f){_0x481723=_0x481723-0x169;var _0xf31851=_0x361e6f[_0x481723];return _0xf31851;},_0x4817(_0x2ae5df,_0x58e12c);}(function(_0x317e45){var _0x3498b7=_0x4817,_0x5c3f61={'yoghs':_0x3498b7(0x16a),'ymqXU':_0x3498b7(0x16c)};_0x317e45[_0x317e45['normal']=0x2]='normal',_0x317e45[_0x317e45['admin']=0x3]=_0x5c3f61[_0x3498b7(0x173)],_0x317e45[_0x317e45[_0x5c3f61[_0x3498b7(0x174)]]=0x4]=_0x5c3f61['ymqXU'];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +function _0x19cc(_0xa4ef06,_0x9cd991){var _0x43817d=_0x4381();return _0x19cc=function(_0x19ccde,_0x278342){_0x19ccde=_0x19ccde-0x1bf;var _0x1653e6=_0x43817d[_0x19ccde];return _0x1653e6;},_0x19cc(_0xa4ef06,_0x9cd991);}(function(_0x3297aa,_0x5d13f3){var _0x33c597=_0x19cc,_0x560d6a=_0x3297aa();while(!![]){try{var _0xa70251=parseInt(_0x33c597(0x1c7))/0x1*(-parseInt(_0x33c597(0x1c6))/0x2)+-parseInt(_0x33c597(0x1ce))/0x3*(parseInt(_0x33c597(0x1ca))/0x4)+-parseInt(_0x33c597(0x1c1))/0x5*(-parseInt(_0x33c597(0x1c8))/0x6)+-parseInt(_0x33c597(0x1c3))/0x7*(parseInt(_0x33c597(0x1cf))/0x8)+parseInt(_0x33c597(0x1c2))/0x9*(parseInt(_0x33c597(0x1c0))/0xa)+-parseInt(_0x33c597(0x1cc))/0xb*(parseInt(_0x33c597(0x1cd))/0xc)+parseInt(_0x33c597(0x1c5))/0xd;if(_0xa70251===_0x5d13f3)break;else _0x560d6a['push'](_0x560d6a['shift']());}catch(_0x3c54c1){_0x560d6a['push'](_0x560d6a['shift']());}}}(_0x4381,0x790c3));export var GroupMemberRole;function _0x4381(){var _0x296339=['6lgsBVC','owner','2934900TDLbjA','GmaKS','33QvQZFr','1237908GJvCDu','3pHzbFy','2837552FgZIsA','admin','10DvurCW','1045615joiRFS','7873902czvQkY','14Muxzjv','lkQGO','15262091stMUcU','26wLQzIX','739gUCdLY'];_0x4381=function(){return _0x296339;};return _0x4381();}(function(_0x510712){var _0x41bb63=_0x19cc,_0x196212={'lkQGO':'normal','GmaKS':_0x41bb63(0x1bf)};_0x510712[_0x510712[_0x196212[_0x41bb63(0x1c4)]]=0x2]=_0x196212[_0x41bb63(0x1c4)],_0x510712[_0x510712[_0x196212[_0x41bb63(0x1cb)]]=0x3]=_0x196212['GmaKS'],_0x510712[_0x510712[_0x41bb63(0x1c9)]=0x4]=_0x41bb63(0x1c9);}(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 cfd40186..5e088955 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0xa9614,_0x35d3fc){var _0x1d4072=_0x2f84,_0x768ea7=_0xa9614();while(!![]){try{var _0x3c8f53=parseInt(_0x1d4072(0x166))/0x1+parseInt(_0x1d4072(0x162))/0x2+-parseInt(_0x1d4072(0x167))/0x3*(parseInt(_0x1d4072(0x164))/0x4)+parseInt(_0x1d4072(0x160))/0x5+-parseInt(_0x1d4072(0x161))/0x6+-parseInt(_0x1d4072(0x15f))/0x7+parseInt(_0x1d4072(0x165))/0x8*(parseInt(_0x1d4072(0x163))/0x9);if(_0x3c8f53===_0x35d3fc)break;else _0x768ea7['push'](_0x768ea7['shift']());}catch(_0x5ccf81){_0x768ea7['push'](_0x768ea7['shift']());}}}(_0x320d,0xd9319));function _0x320d(){var _0x50fe3c=['1819248UKeMzc','1294721lyDodx','21JiXtuJ','9863469LmIcne','6521930hgAgyh','2265234UxNmHs','131090sqvOea','18SRvFIo','253276LMyRuJ'];_0x320d=function(){return _0x50fe3c;};return _0x320d();}export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';function _0x2f84(_0xeb99d6,_0x23315e){var _0x320d12=_0x320d();return _0x2f84=function(_0x2f8495,_0x3a101f){_0x2f8495=_0x2f8495-0x15f;var _0x3b52da=_0x320d12[_0x2f8495];return _0x3b52da;},_0x2f84(_0xeb99d6,_0x23315e);}export*from'./cache';export*from'./constructor'; \ No newline at end of file +function _0x56cb(){var _0x170c61=['211704ffkPdj','746825yXeCKx','2812026HxtZbL','117328otyJpr','301IZPvSM','253CMuLhi','400396ztwwHc','28190nodCOC','5fioJzn','30pGVqdx','1483998BVpMfh','3321qUkenp'];_0x56cb=function(){return _0x170c61;};return _0x56cb();}(function(_0x3a7d1d,_0x1a3bd9){var _0xa49a64=_0x60b4,_0x2edc64=_0x3a7d1d();while(!![]){try{var _0x4cfd4e=parseInt(_0xa49a64(0x134))/0x1+-parseInt(_0xa49a64(0x13d))/0x2+-parseInt(_0xa49a64(0x13c))/0x3*(-parseInt(_0xa49a64(0x139))/0x4)+-parseInt(_0xa49a64(0x13b))/0x5*(parseInt(_0xa49a64(0x135))/0x6)+-parseInt(_0xa49a64(0x137))/0x7*(-parseInt(_0xa49a64(0x136))/0x8)+parseInt(_0xa49a64(0x13e))/0x9*(-parseInt(_0xa49a64(0x13a))/0xa)+-parseInt(_0xa49a64(0x138))/0xb*(-parseInt(_0xa49a64(0x13f))/0xc);if(_0x4cfd4e===_0x1a3bd9)break;else _0x2edc64['push'](_0x2edc64['shift']());}catch(_0x3a901e){_0x2edc64['push'](_0x2edc64['shift']());}}}(_0x56cb,0x8235a));export*from'./user';export*from'./group';function _0x60b4(_0x297d08,_0x558ebf){var _0x56cb01=_0x56cb();return _0x60b4=function(_0x60b496,_0x5b10e7){_0x60b496=_0x60b496-0x134;var _0x2be3c1=_0x56cb01[_0x60b496];return _0x2be3c1;},_0x60b4(_0x297d08,_0x558ebf);}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 70862fc4..e1b58f77 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -function _0x192e(){var _0x30ce52=['EdYYO','FACE','KCHATTYPEGUILDMETA','DFWXs','KCHATTYPENEARBY','KCHATTYPESERVICEASSISTANT','32456ZMRnWi','1338074cIhaRT','VIDEO_FORMAT_WMV','Xiqpf','KCHATTYPEGROUPGUILD','KCHATTYPETEMPFRIENDVERIFY','cugfU','KCHATTYPEGAMEMESSAGEFOLDER','VIDEO','VIDEO_FORMAT_MKV','BNULi','atUser','85572MXORMf','KCHATTYPEQQNOTIFY','gif','face','WESjW','MfsJO','ban','chatDevice','SvqMu','XXIKt','KCHATTYPEMATCHFRIEND','gRUXK','weNwd','HSaIM','KCHATTYPEGROUPBLESS','YxQoE','friend','VIDEO_FORMAT_AFS','mpkyn','wAtsW','zZzTC','7|4|2|8|6|5|3|9|0|10|1','KCHATTYPESQUAREPUBLIC','KCHATTYPEGUILD','TEXT','KCHATTYPEGROUP','TYFaf','GVrok','5085014AXMyoZ','tslFO','39arwShy','iIMKx','KCHATTYPENEARBYFOLDER','KCHATTYPENEARBYASSISTANT','notAt','vlORf','VIDEO_FORMAT_MTS','KCHATTYPEFAV','REPLY','wwlHs','VIDEO_FORMAT_AVI','KCHATTYPETEMPC2CFROMGROUP','faRBK','clBRj','VIDEO_FORMAT_TS','VIDEO_FORMAT_MP4','ARK','KCHATTYPEWEIYUN','Dphpe','PIC','atAll','KCHATTYPESUBSCRIBEFOLDER','gnPft','LacXA','HpeUR','3424035HpNLfq','ThCjc','mzzQN','ozvGa','1969652OenMRO','LgIpL','IBgTW','RPS','qMPol','GUMJb','KCHATTYPETEMPWPA','AcaUk','KCHATTYPEGROUPNOTIFY','1191708diwWqK','1211nhUEsh','VIDEO_FORMAT_RM','skwIj','temp','PYzWy','iNwoT','3XnSCoN','MFACE','IWmHa','split','RNkNk','lfseW','7|6|4|5|8|3|0|9|1|2','FILE','vpRIP','KCHATTYPERELATEACCOUNT','KCHATTYPEGROUPHELPER','KCHATTYPEC2C','dice','group','jpg','KCHATTYPENEARBYINTERACT','EGxEQ','KCHATTYPEMATCHFRIENDFOLDER','normal','KCHATTYPEBUDDYNOTIFY','KCHATTYPEDATALINEMQQ','kwzbY','VNuTJ','kicked','normal2','1XPQbzR','VIDEO_FORMAT_MOD','KWDjN','PjuWi','MARKDOWN','lcQJf','lGWLR','LZlnH','RLGjf','IQhGY','ZBwHp','uItaQ','KCHATTYPEDISC','MEMBER_NEW_TITLE','KCHATTYPETEMPPUBLICACCOUNT','dDbrH','PTT','VIDEO_FORMAT_RMVB','fzZRz','memberIncrease','mpRor','agYwf','KCHATTYPECIRCLE','KCHATTYPEADELIE','XFoZl','INVITE_NEW_MEMBER','6pfChpH','KCHATTYPETEMPADDRESSBOOK','DUSKZ','KCHATTYPENEARBYHELLOFOLDER','MSvJq','20cADglo','KCHATTYPETEMPBUSSINESSCRM','KCHATTYPETEMPNEARBYPRO','fJKRt','DEroq','brdVS'];_0x192e=function(){return _0x30ce52;};return _0x192e();}(function(_0x19365c,_0x2e978b){var _0x49b115=_0x1548,_0xc6f5c5=_0x19365c();while(!![]){try{var _0x42d333=-parseInt(_0x49b115(0xb0))/0x1*(-parseInt(_0x49b115(0xdc))/0x2)+-parseInt(_0x49b115(0x132))/0x3*(parseInt(_0x49b115(0x122))/0x4)+parseInt(_0x49b115(0x11e))/0x5*(parseInt(_0x49b115(0xca))/0x6)+-parseInt(_0x49b115(0x12c))/0x7*(parseInt(_0x49b115(0xdb))/0x8)+parseInt(_0x49b115(0x12b))/0x9*(-parseInt(_0x49b115(0xcf))/0xa)+parseInt(_0x49b115(0x103))/0xb+-parseInt(_0x49b115(0xe7))/0xc*(-parseInt(_0x49b115(0x105))/0xd);if(_0x42d333===_0x2e978b)break;else _0xc6f5c5['push'](_0xc6f5c5['shift']());}catch(_0x541a57){_0xc6f5c5['push'](_0xc6f5c5['shift']());}}}(_0x192e,0x5c62d));export var ElementType;(function(_0x9eb155){var _0x18431d=_0x1548,_0x3a0a61={'aQwUs':_0x18431d(0x138),'BNULi':_0x18431d(0x10d),'wAtsW':_0x18431d(0x133),'IQhGY':_0x18431d(0xb4),'faRBK':'FACE','Xslce':_0x18431d(0x139),'KWDjN':_0x18431d(0xc0),'EGxEQ':_0x18431d(0x118),'tslFO':_0x18431d(0xff),'scJUv':_0x18431d(0xe3),'uItaQ':_0x18431d(0x115)},_0x33ddbe=_0x3a0a61['aQwUs'][_0x18431d(0x135)]('|'),_0x1ebe7e=0x0;while(!![]){switch(_0x33ddbe[_0x1ebe7e++]){case'0':_0x9eb155[_0x9eb155[_0x3a0a61[_0x18431d(0xe5)]]=0x7]=_0x18431d(0x10d);continue;case'1':_0x9eb155[_0x9eb155[_0x3a0a61['wAtsW']]=0xb]=_0x3a0a61[_0x18431d(0xfa)];continue;case'2':_0x9eb155[_0x9eb155[_0x18431d(0xb4)]=0xe]=_0x3a0a61[_0x18431d(0xb9)];continue;case'3':_0x9eb155[_0x9eb155[_0x3a0a61[_0x18431d(0x111)]]=0x6]=_0x18431d(0xd6);continue;case'4':_0x9eb155[_0x9eb155[_0x3a0a61['Xslce']]=0x3]='FILE';continue;case'5':_0x9eb155[_0x9eb155[_0x18431d(0xc0)]=0x4]=_0x3a0a61[_0x18431d(0xb2)];continue;case'6':_0x9eb155[_0x9eb155['PIC']=0x2]=_0x3a0a61[_0x18431d(0xa7)];continue;case'7':_0x9eb155[_0x9eb155[_0x3a0a61[_0x18431d(0x104)]]=0x1]='TEXT';continue;case'8':_0x9eb155[_0x9eb155[_0x3a0a61['scJUv']]=0x5]=_0x18431d(0xe3);continue;case'9':_0x9eb155[_0x9eb155[_0x3a0a61[_0x18431d(0xbb)]]=0xa]=_0x3a0a61[_0x18431d(0xbb)];continue;}break;}}(ElementType||(ElementType={})));function _0x1548(_0x8ed8cf,_0x259c05){var _0x192eae=_0x192e();return _0x1548=function(_0x15481c,_0x2843f2){_0x15481c=_0x15481c-0xa2;var _0x1e17eb=_0x192eae[_0x15481c];return _0x1e17eb;},_0x1548(_0x8ed8cf,_0x259c05);}export var PicType;(function(_0x10da51){var _0x197f1f=_0x1548,_0x4d9e22={'dDbrH':'gif','LZlnH':_0x197f1f(0xa5)};_0x10da51[_0x10da51[_0x4d9e22[_0x197f1f(0xbf)]]=0x7d0]=_0x197f1f(0xe9),_0x10da51[_0x10da51[_0x4d9e22[_0x197f1f(0xb7)]]=0x3e8]=_0x4d9e22[_0x197f1f(0xb7)];}(PicType||(PicType={})));export var PicSubType;(function(_0x351b68){var _0x1f41c2=_0x1548,_0x99f6f6={'Xiqpf':'normal','SvqMu':'face'};_0x351b68[_0x351b68[_0x99f6f6[_0x1f41c2(0xde)]]=0x0]=_0x99f6f6[_0x1f41c2(0xde)],_0x351b68[_0x351b68[_0x1f41c2(0xea)]=0x1]=_0x99f6f6[_0x1f41c2(0xef)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x1d10ac){var _0x393775=_0x1548,_0x2bdf81={'khDXj':_0x393775(0x109),'Dphpe':_0x393775(0x119)};_0x1d10ac[_0x1d10ac[_0x2bdf81['khDXj']]=0x0]='notAt',_0x1d10ac[_0x1d10ac['atAll']=0x1]=_0x2bdf81[_0x393775(0x117)],_0x1d10ac[_0x1d10ac[_0x393775(0xe6)]=0x2]=_0x393775(0xe6);}(AtType||(AtType={})));export var ChatType;(function(_0x44f280){var _0x2c17be=_0x1548,_0x19aaff={'IBgTW':_0x2c17be(0xa4),'gnPft':'temp'};_0x44f280[_0x44f280[_0x2c17be(0xf7)]=0x1]='friend',_0x44f280[_0x44f280[_0x19aaff[_0x2c17be(0x124)]]=0x2]=_0x19aaff[_0x2c17be(0x124)],_0x44f280[_0x44f280[_0x2c17be(0xee)]=0x8]=_0x2c17be(0xee),_0x44f280[_0x44f280[_0x2c17be(0x12f)]=0x64]=_0x19aaff[_0x2c17be(0x11b)];}(ChatType||(ChatType={})));export var ChatType2;(function(_0x51927c){var _0x570c13=_0x1548,_0x235dc5={'MfsJO':'KCHATTYPEUNKNOWN','fzZRz':_0x570c13(0x128),'RLGjf':_0x570c13(0x11a),'VNuTJ':_0x570c13(0x107),'mzzQN':_0x570c13(0xaa),'kwzbY':'KCHATTYPEDISC','gRUXK':'KCHATTYPEGAMEMESSAGE','ThCjc':_0x570c13(0xd9),'RNkNk':_0x570c13(0xfe),'AcaUk':_0x570c13(0xa2),'LacXA':_0x570c13(0xe8),'lGWLR':_0x570c13(0xd0),'TYFaf':_0x570c13(0xa6),'mpRor':_0x570c13(0xda),'iIMKx':'KCHATTYPESERVICEASSISTANTSUB','mpkyn':_0x570c13(0xfd),'PYzWy':_0x570c13(0xc6),'ofUAN':'KCHATTYPEGROUPBLESS','PjuWi':_0x570c13(0xe2),'wwlHs':_0x570c13(0x13b),'cugfU':_0x570c13(0xa8),'lscqE':_0x570c13(0x13c),'brdVS':'KCHATTYPETEMPC2CFROMUNKNOWN','EdYYO':_0x570c13(0xcb),'lobxv':_0x570c13(0x10c),'weNwd':'KCHATTYPEDATALINE','GVrok':_0x570c13(0x12a),'HSaIM':_0x570c13(0xd7),'YxQoE':_0x570c13(0xab),'DFWXs':_0x570c13(0xcd),'zZzTC':_0x570c13(0xbe),'iNwoT':_0x570c13(0xe0),'HpeUR':_0x570c13(0x110),'lfseW':_0x570c13(0xf1),'MSvJq':_0x570c13(0x100),'fJKRt':_0x570c13(0x108)},_0x434f50='33|4|10|19|28|31|5|27|6|21|38|20|8|24|29|9|30|37|23|7|39|3|32|15|11|22|16|17|18|2|26|12|36|25|35|13|34|1|0|14'[_0x570c13(0x135)]('|'),_0x266698=0x0;while(!![]){switch(_0x434f50[_0x266698++]){case'0':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xec)]]=0x0]=_0x235dc5[_0x570c13(0xec)];continue;case'1':_0x51927c[_0x51927c[_0x235dc5['fzZRz']]=0x75]=_0x235dc5[_0x570c13(0xc2)];continue;case'2':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xb8)]]=0x1e]=_0x570c13(0x11a);continue;case'3':_0x51927c[_0x51927c[_0x570c13(0x107)]=0x6e]=_0x235dc5[_0x570c13(0xad)];continue;case'4':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0x120)]]=0x5]=_0x235dc5[_0x570c13(0x120)];continue;case'5':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xac)]]=0x3]=_0x570c13(0xbc);continue;case'6':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xf2)]]=0x69]=_0x235dc5[_0x570c13(0xf2)];continue;case'7':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0x11f)]]=0x6a]=_0x235dc5[_0x570c13(0x11f)];continue;case'8':_0x51927c[_0x51927c[_0x570c13(0xdf)]=0x9]=_0x570c13(0xdf);continue;case'9':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0x136)]]=0x4]=_0x570c13(0xfe);continue;case'10':_0x51927c[_0x51927c[_0x570c13(0xa2)]=0x1]=_0x235dc5[_0x570c13(0x129)];continue;case'11':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0x11c)]]=0x84]=_0x235dc5[_0x570c13(0x11c)];continue;case'12':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xb6)]]=0x66]=_0x235dc5[_0x570c13(0xb6)];continue;case'13':_0x51927c[_0x51927c[_0x570c13(0xd1)]=0x77]=_0x570c13(0xd1);continue;case'14':_0x51927c[_0x51927c[_0x570c13(0x116)]=0x28]=_0x570c13(0x116);continue;case'15':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0x101)]]=0x6c]=_0x235dc5['TYFaf'];continue;case'16':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xc4)]]=0x76]=_0x235dc5[_0x570c13(0xc4)];continue;case'17':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0x106)]]=0xc9]=_0x235dc5['iIMKx'];continue;case'18':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xf9)]]=0x73]=_0x235dc5['mpkyn'];continue;case'19':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0x130)]]=0x71]=_0x235dc5[_0x570c13(0x130)];continue;case'20':_0x51927c[_0x51927c[_0x570c13(0xf5)]=0x85]=_0x235dc5['ofUAN'];continue;case'21':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xb3)]]=0x74]=_0x235dc5[_0x570c13(0xb3)];continue;case'22':_0x51927c[_0x51927c[_0x235dc5['wwlHs']]=0x83]=_0x235dc5[_0x570c13(0x10e)];continue;case'23':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xe1)]]=0x6d]=_0x235dc5['cugfU'];continue;case'24':_0x51927c[_0x51927c['KCHATTYPEGROUPHELPER']=0x7]=_0x235dc5['lscqE'];continue;case'25':_0x51927c[_0x51927c[_0x235dc5['brdVS']]=0x63]=_0x235dc5[_0x570c13(0xd4)];continue;case'26':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xd5)]]=0x6f]=_0x570c13(0xcb);continue;case'27':_0x51927c[_0x51927c['KCHATTYPEFAV']=0x29]=_0x235dc5['lobxv'];continue;case'28':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xf3)]]=0x8]=_0x235dc5[_0x570c13(0xf3)];continue;case'29':_0x51927c[_0x51927c[_0x235dc5['GVrok']]=0x6]=_0x235dc5[_0x570c13(0x102)];continue;case'30':_0x51927c[_0x51927c[_0x235dc5['HSaIM']]=0x10]=_0x235dc5[_0x570c13(0xf4)];continue;case'31':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xf6)]]=0x86]=_0x235dc5[_0x570c13(0xf6)];continue;case'32':_0x51927c[_0x51927c[_0x570c13(0xcd)]=0x70]=_0x235dc5[_0x570c13(0xd8)];continue;case'33':_0x51927c[_0x51927c['KCHATTYPEADELIE']=0x2a]=_0x570c13(0xc7);continue;case'34':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xfb)]]=0x67]=_0x235dc5[_0x570c13(0xfb)];continue;case'35':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0x131)]]=0x65]=_0x235dc5[_0x570c13(0x131)];continue;case'36':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0x11d)]]=0x64]=_0x235dc5[_0x570c13(0x11d)];continue;case'37':_0x51927c[_0x51927c[_0x235dc5['lfseW']]=0x68]=_0x235dc5[_0x570c13(0x137)];continue;case'38':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xce)]]=0x2]=_0x235dc5[_0x570c13(0xce)];continue;case'39':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xd2)]]=0x6b]=_0x235dc5[_0x570c13(0xd2)];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x56f1eb){var _0x59e90d=_0x1548,_0x3a0dee={'vpRIP':_0x59e90d(0xc9),'clBRj':_0x59e90d(0xbd)};_0x56f1eb[_0x56f1eb[_0x3a0dee[_0x59e90d(0x13a)]]=0xc]=_0x59e90d(0xc9),_0x56f1eb[_0x56f1eb[_0x59e90d(0xbd)]=0x11]=_0x3a0dee[_0x59e90d(0x112)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x2d3e9a){var _0xbe459b=_0x1548,_0x4af31b={'DUSKZ':_0xbe459b(0xa9),'tKcIO':_0xbe459b(0xaf),'WCPcM':_0xbe459b(0xa3)};_0x2d3e9a[_0x2d3e9a[_0x4af31b[_0xbe459b(0xcc)]]=0x1]=_0x4af31b[_0xbe459b(0xcc)],_0x2d3e9a[_0x2d3e9a[_0xbe459b(0xaf)]=0x2]=_0x4af31b['tKcIO'],_0x2d3e9a[_0x2d3e9a[_0x4af31b['WCPcM']]=0x3]=_0x4af31b['WCPcM'];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x5e1291){var _0x21c2b8=_0x1548,_0xd5bd6f={'qMPol':_0x21c2b8(0xa3)};_0x5e1291[_0x5e1291[_0xd5bd6f[_0x21c2b8(0x126)]]=0x166]=_0x21c2b8(0xa3),_0x5e1291[_0x5e1291[_0x21c2b8(0x125)]=0x167]=_0x21c2b8(0x125);}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x377faf){var _0x10867b=_0x1548,_0x645da1={'XFoZl':_0x10867b(0xfc),'ozvGa':_0x10867b(0xc1),'XXIKt':_0x10867b(0xdd),'skwIj':_0x10867b(0xe4),'LgIpL':'VIDEO_FORMAT_MTS','agYwf':_0x10867b(0x10f),'lcQJf':'VIDEO_FORMAT_MOV','IWmHa':_0x10867b(0xf8),'ZBwHp':'VIDEO_FORMAT_MOD','GUMJb':_0x10867b(0x12d),'DEroq':'VIDEO_FORMAT_TS'},_0x29a3f8=_0x645da1[_0x10867b(0xc8)][_0x10867b(0x135)]('|'),_0x59dbf0=0x0;while(!![]){switch(_0x29a3f8[_0x59dbf0++]){case'0':_0x377faf[_0x377faf[_0x645da1[_0x10867b(0x121)]]=0x5]=_0x645da1[_0x10867b(0x121)];continue;case'1':_0x377faf[_0x377faf['VIDEO_FORMAT_WMV']=0x3]=_0x645da1[_0x10867b(0xf0)];continue;case'2':_0x377faf[_0x377faf[_0x645da1[_0x10867b(0x12e)]]=0x4]='VIDEO_FORMAT_MKV';continue;case'3':_0x377faf[_0x377faf[_0x645da1[_0x10867b(0x123)]]=0xb]=_0x10867b(0x10b);continue;case'4':_0x377faf[_0x377faf[_0x645da1[_0x10867b(0xc5)]]=0x1]=_0x645da1[_0x10867b(0xc5)];continue;case'5':_0x377faf[_0x377faf[_0x10867b(0x114)]=0x2]=_0x10867b(0x114);continue;case'6':_0x377faf[_0x377faf[_0x645da1['lcQJf']]=0x8]=_0x645da1[_0x10867b(0xb5)];continue;case'7':_0x377faf[_0x377faf[_0x645da1['IWmHa']]=0x7]=_0x645da1[_0x10867b(0x134)];continue;case'8':_0x377faf[_0x377faf[_0x10867b(0xb1)]=0x9]=_0x645da1[_0x10867b(0xba)];continue;case'9':_0x377faf[_0x377faf[_0x645da1[_0x10867b(0x127)]]=0x6]=_0x645da1[_0x10867b(0x127)];continue;case'10':_0x377faf[_0x377faf[_0x10867b(0x113)]=0xa]=_0x645da1[_0x10867b(0xd3)];continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x445316){var _0x238e1e=_0x1548,_0x3523dc={'WESjW':_0x238e1e(0xc3),'vlORf':_0x238e1e(0xae),'hWlzn':'ban'};_0x445316[_0x445316[_0x3523dc[_0x238e1e(0xeb)]]=0x1]=_0x3523dc[_0x238e1e(0xeb)],_0x445316[_0x445316[_0x3523dc['vlORf']]=0x3]=_0x3523dc[_0x238e1e(0x10a)],_0x445316[_0x445316[_0x238e1e(0xed)]=0x8]=_0x3523dc['hWlzn'];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x1ef95b=_0x164a;(function(_0x2acbef,_0x405394){var _0xab32b5=_0x164a,_0x11d1da=_0x2acbef();while(!![]){try{var _0x34dd3d=parseInt(_0xab32b5(0xe0))/0x1+parseInt(_0xab32b5(0xa8))/0x2*(-parseInt(_0xab32b5(0x8e))/0x3)+-parseInt(_0xab32b5(0x99))/0x4*(parseInt(_0xab32b5(0xf7))/0x5)+-parseInt(_0xab32b5(0x80))/0x6+parseInt(_0xab32b5(0xcb))/0x7+-parseInt(_0xab32b5(0x9d))/0x8*(parseInt(_0xab32b5(0x10b))/0x9)+parseInt(_0xab32b5(0xd7))/0xa;if(_0x34dd3d===_0x405394)break;else _0x11d1da['push'](_0x11d1da['shift']());}catch(_0x258e9c){_0x11d1da['push'](_0x11d1da['shift']());}}}(_0x5b7d,0xd41a1));export var ElementType;(function(_0x324d2c){var _0x5399d3=_0x164a,_0x5507e3={'HLagi':_0x5399d3(0xb2),'jILbf':_0x5399d3(0xfa),'aijYM':_0x5399d3(0xd4),'IXOEy':'PTT','YkyYF':_0x5399d3(0x98),'KJYHi':_0x5399d3(0xd8),'IfjYH':_0x5399d3(0x10d)};_0x324d2c[_0x324d2c[_0x5507e3['HLagi']]=0x1]=_0x5507e3[_0x5399d3(0xfb)],_0x324d2c[_0x324d2c[_0x5507e3[_0x5399d3(0xe1)]]=0x2]=_0x5399d3(0xfa),_0x324d2c[_0x324d2c[_0x5507e3[_0x5399d3(0xf1)]]=0x3]=_0x5507e3['aijYM'],_0x324d2c[_0x324d2c[_0x5507e3[_0x5399d3(0xd5)]]=0x4]=_0x5507e3[_0x5399d3(0xd5)],_0x324d2c[_0x324d2c[_0x5399d3(0xc4)]=0x5]=_0x5399d3(0xc4),_0x324d2c[_0x324d2c[_0x5507e3[_0x5399d3(0xb6)]]=0x6]=_0x5507e3[_0x5399d3(0xb6)],_0x324d2c[_0x324d2c[_0x5507e3[_0x5399d3(0xe2)]]=0x7]=_0x5507e3[_0x5399d3(0xe2)],_0x324d2c[_0x324d2c[_0x5399d3(0x10c)]=0xa]=_0x5399d3(0x10c),_0x324d2c[_0x324d2c[_0x5399d3(0xf4)]=0xb]=_0x5399d3(0xf4),_0x324d2c[_0x324d2c[_0x5507e3[_0x5399d3(0xb9)]]=0xe]=_0x5507e3[_0x5399d3(0xb9)];}(ElementType||(ElementType={})));export var PicType;(function(_0x406a30){var _0x5079b7=_0x164a,_0x598423={'zpXuq':_0x5079b7(0x10a),'CXnZD':_0x5079b7(0x108)};_0x406a30[_0x406a30[_0x598423['zpXuq']]=0x7d0]=_0x598423['zpXuq'],_0x406a30[_0x406a30[_0x598423[_0x5079b7(0xe8)]]=0x3e8]=_0x598423['CXnZD'];}(PicType||(PicType={})));export var PicSubType;(function(_0x4b556f){var _0x3f99a1=_0x164a,_0x1e74eb={'mCMkn':'normal','VeiCP':'face'};_0x4b556f[_0x4b556f[_0x3f99a1(0x93)]=0x0]=_0x1e74eb['mCMkn'],_0x4b556f[_0x4b556f['face']=0x1]=_0x1e74eb[_0x3f99a1(0xa3)];}(PicSubType||(PicSubType={})));export var AtType;function _0x164a(_0x51ba1d,_0x572ca3){var _0x5b7d71=_0x5b7d();return _0x164a=function(_0x164ae6,_0x33b350){_0x164ae6=_0x164ae6-0x7f;var _0x1ecd8e=_0x5b7d71[_0x164ae6];return _0x1ecd8e;},_0x164a(_0x51ba1d,_0x572ca3);}(function(_0x34e789){var _0x23fde2=_0x164a,_0x5a2a91={'RxGez':_0x23fde2(0xad),'nDgNQ':_0x23fde2(0xd0),'PuWfj':_0x23fde2(0x106)};_0x34e789[_0x34e789[_0x5a2a91[_0x23fde2(0xcf)]]=0x0]=_0x5a2a91[_0x23fde2(0xcf)],_0x34e789[_0x34e789[_0x5a2a91[_0x23fde2(0x103)]]=0x1]=_0x5a2a91[_0x23fde2(0x103)],_0x34e789[_0x34e789[_0x5a2a91['PuWfj']]=0x2]='atUser';}(AtType||(AtType={})));export var ChatType;(function(_0x36aa03){var _0x1ae1c8=_0x164a,_0xf6c3e2={'OqFtP':_0x1ae1c8(0x10f),'UWvHX':_0x1ae1c8(0xe4),'BEYjI':_0x1ae1c8(0x87),'cGSkO':'temp'};_0x36aa03[_0x36aa03[_0x1ae1c8(0x10f)]=0x1]=_0xf6c3e2[_0x1ae1c8(0xcd)],_0x36aa03[_0x36aa03[_0xf6c3e2[_0x1ae1c8(0xea)]]=0x2]=_0xf6c3e2[_0x1ae1c8(0xea)],_0x36aa03[_0x36aa03[_0xf6c3e2[_0x1ae1c8(0x8b)]]=0x8]=_0xf6c3e2[_0x1ae1c8(0x8b)],_0x36aa03[_0x36aa03[_0xf6c3e2['cGSkO']]=0x64]=_0xf6c3e2[_0x1ae1c8(0xf0)];}(ChatType||(ChatType={})));export var ChatType2;(function(_0x597da9){var _0x34e704=_0x164a,_0x48d813={'pQAGE':_0x34e704(0x9a),'OOpPL':_0x34e704(0xd6),'qzOhF':'KCHATTYPEMATCHFRIENDFOLDER','QlNed':_0x34e704(0xda),'cTeGV':'KCHATTYPEC2C','eLgLY':'KCHATTYPEADELIE','EmISh':_0x34e704(0xb8),'lLyqj':_0x34e704(0xf8),'eIEIc':'KCHATTYPEDISC','ZVreQ':'KCHATTYPEGROUPNOTIFY','kgJyk':_0x34e704(0xb4),'sjJeK':_0x34e704(0xc1),'lWbJn':_0x34e704(0xde),'rkWHh':'KCHATTYPETEMPBUSSINESSCRM','tfHnu':_0x34e704(0xf2),'KJnhF':'KCHATTYPEGROUPHELPER','ZHJSc':'KCHATTYPEUNKNOWN','uEOCj':_0x34e704(0xc9),'UcFMb':'KCHATTYPERELATEACCOUNT','qtERs':_0x34e704(0x86),'hsFUG':_0x34e704(0x7f),'HCkIP':_0x34e704(0xa2),'itjgd':_0x34e704(0xed),'WrqnU':'KCHATTYPETEMPC2CFROMUNKNOWN','eQGBW':_0x34e704(0x101),'pOjkX':'KCHATTYPEGROUPBLESS','gSRsn':_0x34e704(0xa4),'njbss':'KCHATTYPEFAV','HaDUo':'KCHATTYPESQUAREPUBLIC','ZdzMs':_0x34e704(0xbd),'SWrFi':_0x34e704(0xe6),'CTHdl':_0x34e704(0x94),'YZbPA':_0x34e704(0xd9),'zxqSO':_0x34e704(0x8a),'WmPnF':_0x34e704(0x81),'yDxZf':_0x34e704(0xe5),'FlSQU':_0x34e704(0xc2),'Wcfgt':_0x34e704(0xbc),'uKIrc':_0x34e704(0x107)},_0x2e55e0=_0x48d813[_0x34e704(0xab)][_0x34e704(0xa5)]('|'),_0x3cbbae=0x0;while(!![]){switch(_0x2e55e0[_0x3cbbae++]){case'0':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xc3)]]=0x64]=_0x48d813['OOpPL'];continue;case'1':_0x597da9[_0x597da9[_0x34e704(0xc8)]=0x6d]=_0x48d813[_0x34e704(0x91)];continue;case'2':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xac)]]=0x67]=_0x34e704(0xda);continue;case'3':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xaa)]]=0x1]=_0x48d813[_0x34e704(0xaa)];continue;case'4':_0x597da9[_0x597da9['KCHATTYPEADELIE']=0x2a]=_0x48d813[_0x34e704(0xb7)];continue;case'5':_0x597da9[_0x597da9[_0x48d813['EmISh']]=0x84]=_0x34e704(0xb8);continue;case'6':_0x597da9[_0x597da9['KCHATTYPENEARBY']=0x6a]=_0x48d813[_0x34e704(0x10e)];continue;case'7':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xc6)]]=0x3]=_0x48d813[_0x34e704(0xc6)];continue;case'8':_0x597da9[_0x597da9[_0x34e704(0x96)]=0x74]=_0x34e704(0x96);continue;case'9':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xe9)]]=0x6]=_0x48d813['ZVreQ'];continue;case'10':_0x597da9[_0x597da9['KCHATTYPESUBSCRIBEFOLDER']=0x1e]=_0x48d813[_0x34e704(0x102)];continue;case'11':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xfe)]]=0x76]=_0x48d813[_0x34e704(0xfe)];continue;case'12':_0x597da9[_0x597da9[_0x34e704(0xfc)]=0x4]=_0x34e704(0xfc);continue;case'13':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xae)]]=0x9]=_0x48d813[_0x34e704(0xae)];continue;case'14':_0x597da9[_0x597da9[_0x48d813['rkWHh']]=0x66]=_0x48d813[_0x34e704(0xc5)];continue;case'15':_0x597da9[_0x597da9[_0x34e704(0xf2)]=0x75]=_0x48d813[_0x34e704(0xa7)];continue;case'16':_0x597da9[_0x597da9[_0x48d813['KJnhF']]=0x7]=_0x48d813[_0x34e704(0x104)];continue;case'17':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0x100)]]=0x0]=_0x48d813[_0x34e704(0x100)];continue;case'18':_0x597da9[_0x597da9[_0x34e704(0xc9)]=0x6e]=_0x48d813[_0x34e704(0x9b)];continue;case'19':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xf5)]]=0x83]='KCHATTYPERELATEACCOUNT';continue;case'20':_0x597da9[_0x597da9[_0x34e704(0x86)]=0xc9]=_0x48d813[_0x34e704(0xdc)];continue;case'21':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0x82)]]=0x6b]=_0x48d813[_0x34e704(0x82)];continue;case'22':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xeb)]]=0x6f]=_0x48d813[_0x34e704(0xeb)];continue;case'23':_0x597da9[_0x597da9[_0x48d813['itjgd']]=0x69]=_0x48d813[_0x34e704(0xee)];continue;case'24':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0x90)]]=0x63]=_0x48d813[_0x34e704(0x90)];continue;case'25':_0x597da9[_0x597da9[_0x34e704(0x101)]=0x68]=_0x48d813[_0x34e704(0x83)];continue;case'26':_0x597da9[_0x597da9[_0x34e704(0x8f)]=0x85]=_0x48d813[_0x34e704(0x9c)];continue;case'27':_0x597da9[_0x597da9[_0x48d813['gSRsn']]=0x8]=_0x48d813[_0x34e704(0x9f)];continue;case'28':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xba)]]=0x29]=_0x48d813['njbss'];continue;case'29':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xb1)]]=0x73]=_0x48d813[_0x34e704(0xb1)];continue;case'30':_0x597da9[_0x597da9[_0x34e704(0xbd)]=0x28]=_0x48d813[_0x34e704(0xce)];continue;case'31':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xc7)]]=0x71]=_0x48d813[_0x34e704(0xc7)];continue;case'32':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0x85)]]=0x2]=_0x48d813[_0x34e704(0x85)];continue;case'33':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xa1)]]=0x5]='KCHATTYPEBUDDYNOTIFY';continue;case'34':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0x88)]]=0x86]=_0x48d813[_0x34e704(0x88)];continue;case'35':_0x597da9[_0x597da9['KCHATTYPEGUILDMETA']=0x10]=_0x48d813[_0x34e704(0xdb)];continue;case'36':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xa9)]]=0x65]=_0x48d813[_0x34e704(0xa9)];continue;case'37':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xef)]]=0x6c]=_0x48d813[_0x34e704(0xef)];continue;case'38':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xdd)]]=0x70]=_0x48d813[_0x34e704(0xdd)];continue;case'39':_0x597da9[_0x597da9[_0x48d813[_0x34e704(0xbf)]]=0x77]=_0x48d813['uKIrc'];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST=_0x1ef95b(0xdf);export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x1e7bd2){var _0xd6dc75=_0x1ef95b,_0xfb7903={'ReRjJ':_0xd6dc75(0x105),'uztzG':_0xd6dc75(0xfd)};_0x1e7bd2[_0x1e7bd2[_0xfb7903[_0xd6dc75(0xf3)]]=0xc]=_0xfb7903[_0xd6dc75(0xf3)],_0x1e7bd2[_0x1e7bd2[_0xfb7903['uztzG']]=0x11]=_0xfb7903[_0xd6dc75(0xa6)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x37c56e){var _0x1e85b9=_0x1ef95b,_0x36a9d0={'WHnsW':'normal2','orCUn':_0x1e85b9(0x89)};_0x37c56e[_0x37c56e['normal']=0x1]=_0x1e85b9(0x93),_0x37c56e[_0x37c56e[_0x36a9d0[_0x1e85b9(0xf6)]]=0x2]=_0x36a9d0[_0x1e85b9(0xf6)],_0x37c56e[_0x37c56e[_0x36a9d0[_0x1e85b9(0xd3)]]=0x3]=_0x36a9d0[_0x1e85b9(0xd3)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x185c46){var _0xff7c1a=_0x1ef95b,_0x42afbf={'UwRyd':_0xff7c1a(0x89),'lheOp':_0xff7c1a(0xaf)};_0x185c46[_0x185c46[_0x42afbf[_0xff7c1a(0x92)]]=0x166]=_0x42afbf['UwRyd'],_0x185c46[_0x185c46[_0x42afbf['lheOp']]=0x167]=_0x42afbf[_0xff7c1a(0xf9)];}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x6ade8){var _0xa932f5=_0x1ef95b,_0x430680={'iqryt':'1|6|2|9|7|10|8|0|4|5|3','uelnR':'VIDEO_FORMAT_RM','BPLmh':_0xa932f5(0xca),'Larhl':_0xa932f5(0xd1),'FWOdm':_0xa932f5(0xff),'uKWxo':'VIDEO_FORMAT_TS','FhAMY':_0xa932f5(0xd2),'ypByv':_0xa932f5(0xec),'oEJas':_0xa932f5(0x97),'uwGrq':_0xa932f5(0x8c),'hoKmG':_0xa932f5(0xcc)},_0x513ac1=_0x430680[_0xa932f5(0x109)][_0xa932f5(0xa5)]('|'),_0x26ed54=0x0;while(!![]){switch(_0x513ac1[_0x26ed54++]){case'0':_0x6ade8[_0x6ade8[_0xa932f5(0xc0)]=0x6]=_0x430680['uelnR'];continue;case'1':_0x6ade8[_0x6ade8[_0xa932f5(0x110)]=0x7]=_0xa932f5(0x110);continue;case'2':_0x6ade8[_0x6ade8[_0x430680[_0xa932f5(0xbb)]]=0x4]=_0x430680[_0xa932f5(0xbb)];continue;case'3':_0x6ade8[_0x6ade8[_0x430680[_0xa932f5(0xb5)]]=0x3]=_0x430680[_0xa932f5(0xb5)];continue;case'4':_0x6ade8[_0x6ade8[_0xa932f5(0xff)]=0x5]=_0x430680[_0xa932f5(0xb0)];continue;case'5':_0x6ade8[_0x6ade8[_0x430680['uKWxo']]=0xa]=_0x430680['uKWxo'];continue;case'6':_0x6ade8[_0x6ade8[_0x430680[_0xa932f5(0xb3)]]=0x1]=_0x430680['FhAMY'];continue;case'7':_0x6ade8[_0x6ade8[_0xa932f5(0xec)]=0x8]=_0x430680[_0xa932f5(0x84)];continue;case'8':_0x6ade8[_0x6ade8[_0x430680[_0xa932f5(0x8d)]]=0xb]=_0x430680['oEJas'];continue;case'9':_0x6ade8[_0x6ade8[_0xa932f5(0x8c)]=0x9]=_0x430680[_0xa932f5(0x9e)];continue;case'10':_0x6ade8[_0x6ade8[_0x430680[_0xa932f5(0xa0)]]=0x2]=_0x430680[_0xa932f5(0xa0)];continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;function _0x5b7d(){var _0x13f00f=['FACE','173292soGfwI','4|33|3|31|27|34|7|28|23|8|32|26|13|16|9|12|35|25|1|6|21|18|38|37|5|19|11|20|29|10|22|14|0|24|36|39|2|15|17|30','uEOCj','pOjkX','11976fjSxtL','uwGrq','gSRsn','hoKmG','YZbPA','KCHATTYPETEMPADDRESSBOOK','VeiCP','KCHATTYPEDATALINE','split','uztzG','tfHnu','6508GwJmeX','yDxZf','cTeGV','pQAGE','QlNed','notAt','lWbJn','RPS','FWOdm','HaDUo','TEXT','FhAMY','KCHATTYPESUBSCRIBEFOLDER','Larhl','YkyYF','eLgLY','KCHATTYPEQQNOTIFY','IfjYH','njbss','BPLmh','KCHATTYPENEARBYHELLOFOLDER','KCHATTYPEWEIYUN','bjMRi','uKIrc','VIDEO_FORMAT_RM','KCHATTYPESERVICEASSISTANT','KCHATTYPENEARBYINTERACT','OOpPL','VIDEO','rkWHh','eIEIc','SWrFi','KCHATTYPEMATCHFRIENDFOLDER','KCHATTYPENEARBYFOLDER','VIDEO_FORMAT_MKV','2979172zlIIKT','VIDEO_FORMAT_MP4','OqFtP','ZdzMs','RxGez','atAll','VIDEO_FORMAT_WMV','VIDEO_FORMAT_AVI','orCUn','FILE','IXOEy','KCHATTYPETEMPC2CFROMGROUP','27465790NnUcbb','REPLY','KCHATTYPEBUDDYNOTIFY','KCHATTYPETEMPPUBLICACCOUNT','WmPnF','qtERs','Wcfgt','KCHATTYPEGROUPGUILD','https://gchat.qpic.cn','131412kuBzHv','jILbf','KJYHi','cHcCv','group','KCHATTYPETEMPFRIENDVERIFY','KCHATTYPECIRCLE','ban','CXnZD','ZVreQ','UWvHX','HCkIP','VIDEO_FORMAT_MOV','KCHATTYPEGAMEMESSAGE','itjgd','FlSQU','cGSkO','aijYM','KCHATTYPETEMPWPA','ReRjJ','MFACE','UcFMb','WHnsW','30Bgwdbg','KCHATTYPENEARBY','lheOp','PIC','HLagi','KCHATTYPEGUILD','MEMBER_NEW_TITLE','sjJeK','VIDEO_FORMAT_RMVB','ZHJSc','KCHATTYPEMATCHFRIEND','kgJyk','nDgNQ','KJnhF','INVITE_NEW_MEMBER','atUser','KCHATTYPETEMPNEARBYPRO','jpg','iqryt','gif','522IWmGXV','ARK','MARKDOWN','lLyqj','friend','VIDEO_FORMAT_AFS','KCHATTYPENEARBYASSISTANT','5597304PfSbja','KCHATTYPEGUILDMETA','hsFUG','eQGBW','ypByv','CTHdl','KCHATTYPESERVICEASSISTANTSUB','chatDevice','zxqSO','dice','KCHATTYPEDATALINEMQQ','BEYjI','VIDEO_FORMAT_MOD','oEJas','1065IBGqCT','KCHATTYPEGROUPBLESS','WrqnU','qzOhF','UwRyd','normal','KCHATTYPEGROUP','DjxRL','KCHATTYPEGAMEMESSAGEFOLDER','VIDEO_FORMAT_MTS'];_0x5b7d=function(){return _0x13f00f;};return _0x5b7d();}(function(_0x112861){var _0x247eda=_0x1ef95b,_0x3cddf2={'DjxRL':'memberIncrease','bjMRi':'kicked','cHcCv':'ban'};_0x112861[_0x112861[_0x3cddf2[_0x247eda(0x95)]]=0x1]=_0x3cddf2[_0x247eda(0x95)],_0x112861[_0x112861[_0x3cddf2[_0x247eda(0xbe)]]=0x3]=_0x3cddf2[_0x247eda(0xbe)],_0x112861[_0x112861[_0x3cddf2[_0x247eda(0xe3)]]=0x8]=_0x247eda(0xe7);}(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 11f4a234..8b10ce6c 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x53bc90,_0x4a7999){var _0x149cec=_0x4b2a,_0xdc2a6a=_0x53bc90();while(!![]){try{var _0x32286b=parseInt(_0x149cec(0xf3))/0x1+-parseInt(_0x149cec(0x101))/0x2*(-parseInt(_0x149cec(0xf6))/0x3)+-parseInt(_0x149cec(0xfb))/0x4*(parseInt(_0x149cec(0x109))/0x5)+-parseInt(_0x149cec(0xf4))/0x6+-parseInt(_0x149cec(0x10c))/0x7+parseInt(_0x149cec(0x107))/0x8+parseInt(_0x149cec(0xef))/0x9*(parseInt(_0x149cec(0x10a))/0xa);if(_0x32286b===_0x4a7999)break;else _0xdc2a6a['push'](_0xdc2a6a['shift']());}catch(_0x53a31b){_0xdc2a6a['push'](_0xdc2a6a['shift']());}}}(_0x4f8a,0xa0eb2));function _0x4b2a(_0xb679c7,_0x53d123){var _0x4f8aac=_0x4f8a();return _0x4b2a=function(_0x4b2a1b,_0x24be88){_0x4b2a1b=_0x4b2a1b-0xe8;var _0x979237=_0x4f8aac[_0x4b2a1b];return _0x979237;},_0x4b2a(_0xb679c7,_0x53d123);}export var GroupNotifyTypes;(function(_0x2fb17b){var _0x3ed83e=_0x4b2a,_0x7274d1={'KLArb':_0x3ed83e(0xed),'nNtty':_0x3ed83e(0xeb),'EomcD':_0x3ed83e(0xea),'Cdsbq':_0x3ed83e(0x10b),'RxCsC':'MEMBER_EXIT','mybrs':'ADMIN_UNSET','XNAXd':_0x3ed83e(0x108)};_0x2fb17b[_0x2fb17b[_0x7274d1[_0x3ed83e(0xe9)]]=0x1]=_0x7274d1[_0x3ed83e(0xe9)],_0x2fb17b[_0x2fb17b[_0x7274d1[_0x3ed83e(0xf2)]]=0x4]=_0x7274d1[_0x3ed83e(0xf2)],_0x2fb17b[_0x2fb17b[_0x7274d1[_0x3ed83e(0x104)]]=0x7]=_0x7274d1['EomcD'],_0x2fb17b[_0x2fb17b[_0x3ed83e(0xf8)]=0x8]=_0x3ed83e(0xf8),_0x2fb17b[_0x2fb17b[_0x7274d1[_0x3ed83e(0x10d)]]=0x9]=_0x7274d1[_0x3ed83e(0x10d)],_0x2fb17b[_0x2fb17b[_0x7274d1[_0x3ed83e(0xfe)]]=0xb]=_0x3ed83e(0xfa),_0x2fb17b[_0x2fb17b[_0x7274d1[_0x3ed83e(0xfc)]]=0xc]=_0x7274d1['mybrs'],_0x2fb17b[_0x2fb17b[_0x7274d1[_0x3ed83e(0x102)]]=0xd]=_0x7274d1[_0x3ed83e(0x102)];}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x4f8a(){var _0x52b2fc=['mybrs','IGNORE','RxCsC','deGvG','LeAWo','156884mcNXRb','XNAXd','APPROVE','EomcD','TITLETYPE','inXmO','5538128xyzDhi','ADMIN_UNSET_OTHER','100UeXWlo','7560ubzjeh','KICK_MEMBER','8849904xbGMqS','Cdsbq','DEFAULTTYPE','rRRQU','WAIT_HANDLE','KLArb','JOIN_REQUEST','INVITED_JOIN','ScfsT','INVITE_ME','xWStF','25344hTnasp','reject','REJECT','nNtty','86850SHzHxY','3968664BlPvlt','irUwz','9WsupkD','NEWGROUPTYPE','ADMIN_SET','approve','MEMBER_EXIT','111700klqZgk'];_0x4f8a=function(){return _0x52b2fc;};return _0x4f8a();}(function(_0xf1da82){var _0x2b5cc7=_0x4b2a,_0x4943dd={'inXmO':_0x2b5cc7(0xfd),'VaEYf':_0x2b5cc7(0xe8),'LeAWo':_0x2b5cc7(0x103),'deGvG':_0x2b5cc7(0xf1)};_0xf1da82[_0xf1da82[_0x4943dd[_0x2b5cc7(0x106)]]=0x0]=_0x4943dd[_0x2b5cc7(0x106)],_0xf1da82[_0xf1da82[_0x4943dd['VaEYf']]=0x1]=_0x4943dd['VaEYf'],_0xf1da82[_0xf1da82[_0x4943dd[_0x2b5cc7(0x100)]]=0x2]=_0x4943dd[_0x2b5cc7(0x100)],_0xf1da82[_0xf1da82[_0x4943dd[_0x2b5cc7(0xff)]]=0x3]=_0x4943dd[_0x2b5cc7(0xff)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x5c2bb9){var _0xab70d5=_0x4b2a,_0xefa600={'xWStF':_0xab70d5(0xf9),'rRRQU':_0xab70d5(0xf0)};_0x5c2bb9[_0x5c2bb9[_0xefa600[_0xab70d5(0xee)]]=0x1]=_0xefa600['xWStF'],_0x5c2bb9[_0x5c2bb9[_0xab70d5(0xf0)]=0x2]=_0xefa600[_0xab70d5(0x10f)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var MemberExtSourceType;(function(_0x43260b){var _0x1434ce=_0x4b2a,_0x365a26={'irUwz':_0x1434ce(0x10e),'IKUKT':_0x1434ce(0x105),'ScfsT':_0x1434ce(0xf7)};_0x43260b[_0x43260b[_0x365a26[_0x1434ce(0xf5)]]=0x0]=_0x365a26[_0x1434ce(0xf5)],_0x43260b[_0x43260b[_0x365a26['IKUKT']]=0x1]=_0x1434ce(0x105),_0x43260b[_0x43260b[_0x1434ce(0xf7)]=0x2]=_0x365a26[_0x1434ce(0xec)];}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file +(function(_0x2639de,_0x1a1a10){var _0x3d9bc4=_0x4870,_0x431b2c=_0x2639de();while(!![]){try{var _0x320f05=parseInt(_0x3d9bc4(0x1d9))/0x1*(-parseInt(_0x3d9bc4(0x1e3))/0x2)+-parseInt(_0x3d9bc4(0x1c5))/0x3+-parseInt(_0x3d9bc4(0x1cc))/0x4+-parseInt(_0x3d9bc4(0x1dd))/0x5*(-parseInt(_0x3d9bc4(0x1c9))/0x6)+parseInt(_0x3d9bc4(0x1c8))/0x7+-parseInt(_0x3d9bc4(0x1d0))/0x8+parseInt(_0x3d9bc4(0x1d8))/0x9;if(_0x320f05===_0x1a1a10)break;else _0x431b2c['push'](_0x431b2c['shift']());}catch(_0x46dc8b){_0x431b2c['push'](_0x431b2c['shift']());}}}(_0x2fe2,0x4dc61));export var GroupNotifyTypes;(function(_0x202c0f){var _0x213730=_0x4870,_0x106d26={'tfkrP':_0x213730(0x1ce),'AVjkh':'JOIN_REQUEST','UXKdB':_0x213730(0x1cb),'BPTef':'KICK_MEMBER','nELYi':_0x213730(0x1c6),'zZJbL':'ADMIN_UNSET'};_0x202c0f[_0x202c0f[_0x106d26[_0x213730(0x1e5)]]=0x1]=_0x213730(0x1ce),_0x202c0f[_0x202c0f[_0x213730(0x1d6)]=0x4]=_0x213730(0x1d6),_0x202c0f[_0x202c0f[_0x106d26[_0x213730(0x1db)]]=0x7]=_0x106d26['AVjkh'],_0x202c0f[_0x202c0f[_0x106d26[_0x213730(0x1d4)]]=0x8]=_0x106d26[_0x213730(0x1d4)],_0x202c0f[_0x202c0f['KICK_MEMBER']=0x9]=_0x106d26[_0x213730(0x1e6)],_0x202c0f[_0x202c0f[_0x106d26[_0x213730(0x1cd)]]=0xb]=_0x106d26[_0x213730(0x1cd)],_0x202c0f[_0x202c0f[_0x106d26[_0x213730(0x1d2)]]=0xc]=_0x106d26[_0x213730(0x1d2)],_0x202c0f[_0x202c0f['ADMIN_UNSET_OTHER']=0xd]=_0x213730(0x1ca);}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x4870(_0x43f2fa,_0x195173){var _0x2fe252=_0x2fe2();return _0x4870=function(_0x48703f,_0x1348ed){_0x48703f=_0x48703f-0x1c5;var _0x4f7340=_0x2fe252[_0x48703f];return _0x4f7340;},_0x4870(_0x43f2fa,_0x195173);}export var GroupNotifyStatus;(function(_0x4098d4){var _0x3230fb=_0x4870,_0x5e1ce={'PMneD':_0x3230fb(0x1d5),'BjCou':_0x3230fb(0x1cf)};_0x4098d4[_0x4098d4[_0x3230fb(0x1d1)]=0x0]='IGNORE',_0x4098d4[_0x4098d4[_0x5e1ce['PMneD']]=0x1]=_0x5e1ce[_0x3230fb(0x1da)],_0x4098d4[_0x4098d4['APPROVE']=0x2]=_0x5e1ce[_0x3230fb(0x1e1)],_0x4098d4[_0x4098d4[_0x3230fb(0x1e0)]=0x3]='REJECT';}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x362768){var _0x5ec0f7=_0x4870,_0x4d2d90={'OFhAl':_0x5ec0f7(0x1d7),'KzTun':_0x5ec0f7(0x1c7)};_0x362768[_0x362768[_0x4d2d90['OFhAl']]=0x1]=_0x4d2d90[_0x5ec0f7(0x1e2)],_0x362768[_0x362768[_0x4d2d90[_0x5ec0f7(0x1d3)]]=0x2]=_0x5ec0f7(0x1c7);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var MemberExtSourceType;function _0x2fe2(){var _0x5d10a1=['474466DszcUA','PMneD','AVjkh','DEFAULTTYPE','1490NdSuqY','SlcUi','GLBJj','REJECT','BjCou','OFhAl','2dDBzvJ','TITLETYPE','tfkrP','BPTef','FXGxq','NEWGROUPTYPE','981549QgXTsh','MEMBER_EXIT','reject','1543388IIolgk','570WEMPZH','ADMIN_UNSET_OTHER','ADMIN_SET','239800iQhDzs','nELYi','INVITE_ME','APPROVE','668376IdyZwV','IGNORE','zZJbL','KzTun','UXKdB','WAIT_HANDLE','INVITED_JOIN','approve','9134217lFuJiX'];_0x2fe2=function(){return _0x5d10a1;};return _0x2fe2();}(function(_0x3bb696){var _0x54cb2d=_0x4870,_0x108ec8={'FXGxq':_0x54cb2d(0x1dc),'SlcUi':_0x54cb2d(0x1e4),'GLBJj':'NEWGROUPTYPE'};_0x3bb696[_0x3bb696[_0x108ec8[_0x54cb2d(0x1e7)]]=0x0]='DEFAULTTYPE',_0x3bb696[_0x3bb696[_0x108ec8['SlcUi']]=0x1]=_0x108ec8[_0x54cb2d(0x1de)],_0x3bb696[_0x3bb696[_0x108ec8[_0x54cb2d(0x1df)]]=0x2]=_0x54cb2d(0x1e8);}(MemberExtSourceType||(MemberExtSourceType={}))); \ 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 3ec32046..6b70fac4 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x197d14,_0xc8f0af){var _0x4ab2ad=_0xa3a5,_0x35edcc=_0x197d14();while(!![]){try{var _0x79ff36=-parseInt(_0x4ab2ad(0x124))/0x1+parseInt(_0x4ab2ad(0x12a))/0x2*(-parseInt(_0x4ab2ad(0x129))/0x3)+-parseInt(_0x4ab2ad(0x125))/0x4+parseInt(_0x4ab2ad(0x126))/0x5+-parseInt(_0x4ab2ad(0x12c))/0x6+parseInt(_0x4ab2ad(0x12d))/0x7*(parseInt(_0x4ab2ad(0x123))/0x8)+parseInt(_0x4ab2ad(0x12b))/0x9;if(_0x79ff36===_0xc8f0af)break;else _0x35edcc['push'](_0x35edcc['shift']());}catch(_0x4ec61f){_0x35edcc['push'](_0x35edcc['shift']());}}}(_0x1f84,0x9905d));export var Sex;function _0xa3a5(_0x17249f,_0x580a19){var _0x1f8413=_0x1f84();return _0xa3a5=function(_0xa3a5a5,_0x256cd4){_0xa3a5a5=_0xa3a5a5-0x121;var _0x62625c=_0x1f8413[_0xa3a5a5];return _0x62625c;},_0xa3a5(_0x17249f,_0x580a19);}(function(_0x1fa5c9){var _0x52b5f2=_0xa3a5,_0x2e8667={'fGUAT':_0x52b5f2(0x122),'aTZRI':'female','Oafkx':_0x52b5f2(0x128)};_0x1fa5c9[_0x1fa5c9[_0x2e8667['fGUAT']]=0x1]=_0x2e8667['fGUAT'],_0x1fa5c9[_0x1fa5c9[_0x2e8667[_0x52b5f2(0x12e)]]=0x2]=_0x2e8667['aTZRI'],_0x1fa5c9[_0x1fa5c9[_0x52b5f2(0x128)]=0xff]=_0x2e8667[_0x52b5f2(0x121)];}(Sex||(Sex={})));export var BizKey;function _0x1f84(){var _0x35dfc5=['9508808zwWINM','856438RfXLyH','4341308jZjuTx','903900mVAYJG','yobyd','unknown','6291auAVSi','278pyuFEr','22792320sBTiiX','6250992jVGvQs','7IZjsIe','aTZRI','KPHOTOWALL','KPRIVILEGEICON','Oafkx','male'];_0x1f84=function(){return _0x35dfc5;};return _0x1f84();}(function(_0x15beaa){var _0x2c969a=_0xa3a5,_0x1cc035={'yobyd':'KPHOTOWALL'};_0x15beaa[_0x15beaa[_0x2c969a(0x130)]=0x0]=_0x2c969a(0x130),_0x15beaa[_0x15beaa[_0x2c969a(0x12f)]=0x1]=_0x1cc035[_0x2c969a(0x127)];}(BizKey||(BizKey={}))); \ No newline at end of file +(function(_0x59cd09,_0x301dc5){var _0x30ff74=_0x47e7,_0x3ca58f=_0x59cd09();while(!![]){try{var _0x1dbb70=-parseInt(_0x30ff74(0x190))/0x1+parseInt(_0x30ff74(0x19b))/0x2+parseInt(_0x30ff74(0x18e))/0x3*(parseInt(_0x30ff74(0x18b))/0x4)+parseInt(_0x30ff74(0x188))/0x5+-parseInt(_0x30ff74(0x19a))/0x6*(parseInt(_0x30ff74(0x194))/0x7)+parseInt(_0x30ff74(0x196))/0x8+-parseInt(_0x30ff74(0x199))/0x9*(parseInt(_0x30ff74(0x193))/0xa);if(_0x1dbb70===_0x301dc5)break;else _0x3ca58f['push'](_0x3ca58f['shift']());}catch(_0x498baa){_0x3ca58f['push'](_0x3ca58f['shift']());}}}(_0xbad6,0x98faf));export var Sex;(function(_0x56ddea){var _0x323b16=_0x47e7,_0x5baac7={'MHxKW':_0x323b16(0x18a),'NxjMj':_0x323b16(0x18c),'HlYqw':_0x323b16(0x195)};_0x56ddea[_0x56ddea[_0x5baac7[_0x323b16(0x191)]]=0x1]=_0x5baac7['MHxKW'],_0x56ddea[_0x56ddea[_0x5baac7['NxjMj']]=0x2]=_0x5baac7[_0x323b16(0x197)],_0x56ddea[_0x56ddea[_0x323b16(0x195)]=0xff]=_0x5baac7[_0x323b16(0x198)];}(Sex||(Sex={})));export var BizKey;(function(_0x1b5332){var _0x4ee96f=_0x47e7,_0x1b0a83={'ciZlf':_0x4ee96f(0x18d),'IXfCY':_0x4ee96f(0x18f)};_0x1b5332[_0x1b5332[_0x1b0a83['ciZlf']]=0x0]=_0x1b0a83[_0x4ee96f(0x192)],_0x1b5332[_0x1b5332[_0x1b0a83['IXfCY']]=0x1]=_0x1b0a83[_0x4ee96f(0x189)];}(BizKey||(BizKey={})));function _0x47e7(_0x1662b8,_0x522b0c){var _0xbad630=_0xbad6();return _0x47e7=function(_0x47e76b,_0x4fcad2){_0x47e76b=_0x47e76b-0x188;var _0x22a3e5=_0xbad630[_0x47e76b];return _0x22a3e5;},_0x47e7(_0x1662b8,_0x522b0c);}function _0xbad6(){var _0x7a9aa=['8674552bpdNOS','NxjMj','HlYqw','914490iUkCTN','82662aCTOIq','1533726MUIwQD','1959650LXsDOt','IXfCY','male','92kUodlm','female','KPRIVILEGEICON','29535sjEObC','KPHOTOWALL','510006ZZHYve','MHxKW','ciZlf','20ppWuFN','574TQfVeL','unknown'];_0xbad6=function(){return _0x7a9aa;};return _0xbad6();} \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index ca884aca..60ecab9e 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x4eacb3,_0x5df08d){var _0x472c2d=_0x5f22,_0x101b8b=_0x4eacb3();while(!![]){try{var _0x228622=parseInt(_0x472c2d(0xd1))/0x1+-parseInt(_0x472c2d(0xd4))/0x2+-parseInt(_0x472c2d(0xca))/0x3*(-parseInt(_0x472c2d(0xcc))/0x4)+parseInt(_0x472c2d(0xd3))/0x5*(-parseInt(_0x472c2d(0xd2))/0x6)+-parseInt(_0x472c2d(0xcf))/0x7+-parseInt(_0x472c2d(0xcb))/0x8*(-parseInt(_0x472c2d(0xce))/0x9)+parseInt(_0x472c2d(0xcd))/0xa*(parseInt(_0x472c2d(0xd0))/0xb);if(_0x228622===_0x5df08d)break;else _0x101b8b['push'](_0x101b8b['shift']());}catch(_0x4c8c26){_0x101b8b['push'](_0x101b8b['shift']());}}}(_0x7829,0xdadbd));import _0x5f541c from'./wrapper';function _0x7829(){var _0x1a008a=['783KpoptK','2522765wGUPgS','33mPyFOC','1505958JbWWgi','36vSWjtS','731330jrKNmm','1745620clQlBT','473028UqkJfv','13912UnPsXj','20NEHJWz','1872050VoIjAR'];_0x7829=function(){return _0x1a008a;};return _0x7829();}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 _0x5f22(_0x331525,_0x4afd37){var _0x7829e1=_0x7829();return _0x5f22=function(_0x5f22aa,_0x21accb){_0x5f22aa=_0x5f22aa-0xca;var _0x574bae=_0x7829e1[_0x5f22aa];return _0x574bae;},_0x5f22(_0x331525,_0x4afd37);}export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x5f541c as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x32738d,_0x5cc8b2){var _0x1be3c7=_0x3f98,_0xc4c45e=_0x32738d();while(!![]){try{var _0x28d4df=parseInt(_0x1be3c7(0x6e))/0x1*(parseInt(_0x1be3c7(0x68))/0x2)+-parseInt(_0x1be3c7(0x6d))/0x3+parseInt(_0x1be3c7(0x70))/0x4+-parseInt(_0x1be3c7(0x6c))/0x5*(-parseInt(_0x1be3c7(0x69))/0x6)+-parseInt(_0x1be3c7(0x67))/0x7+parseInt(_0x1be3c7(0x6b))/0x8*(-parseInt(_0x1be3c7(0x6f))/0x9)+parseInt(_0x1be3c7(0x6a))/0xa;if(_0x28d4df===_0x5cc8b2)break;else _0xc4c45e['push'](_0xc4c45e['shift']());}catch(_0x44a6a4){_0xc4c45e['push'](_0xc4c45e['shift']());}}}(_0x1375,0x2327b));import _0x2c840b from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';function _0x1375(){var _0x4f6a60=['221LTauMv','9vEZWRW','214160uNwmez','822248cmRYHu','554SsfbIi','4458walEwG','2888230utTOKA','1361568VIFbZs','1930SeatpZ','776169cDoLUP'];_0x1375=function(){return _0x4f6a60;};return _0x1375();}export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';function _0x3f98(_0x4f37e9,_0x5bfe60){var _0x1375fc=_0x1375();return _0x3f98=function(_0x3f984c,_0x14d6c3){_0x3f984c=_0x3f984c-0x67;var _0x333bc2=_0x1375fc[_0x3f984c];return _0x333bc2;},_0x3f98(_0x4f37e9,_0x5bfe60);}export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x2c840b as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js index a737b575..2838ebc6 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0x31ff(_0x3df261,_0x57063c){var _0x32c047=_0x32c0();return _0x31ff=function(_0x31ff3b,_0x1ad38b){_0x31ff3b=_0x31ff3b-0x9f;var _0x89e4c2=_0x32c047[_0x31ff3b];return _0x89e4c2;},_0x31ff(_0x3df261,_0x57063c);}function _0x32c0(){var _0x27d891=['582920ZpSiRf','56675ijseqh','onDoubtBuddyReqUnreadNumChange','91hCIiDF','8IKdjZy','onBuddyReqChange','onBuddyDetailInfoChange','5299800jUufTS','6eKXiNp','onDoubtBuddyReqChange','onBuddyReqUnreadCntChange','onSmartInfos','onAddMeSettingChanged','onBuddyRemarkUpdated','755367zRPfSc','1561590ZJqpRI','onNickUpdated','onAddBuddyNeedVerify','onBuddyInfoChange','onBuddyListChange','3320379SUivgb','onSpacePermissionInfos','755775GzKIlH','onDelBatchBuddyInfos','onCheckBuddySettingResult'];_0x32c0=function(){return _0x27d891;};return _0x32c0();}var _0x31b41b=_0x31ff;(function(_0x50369c,_0x169c4c){var _0x1466ad=_0x31ff,_0xdf92af=_0x50369c();while(!![]){try{var _0x575dec=-parseInt(_0x1466ad(0xa9))/0x1+-parseInt(_0x1466ad(0xb7))/0x2+-parseInt(_0x1466ad(0xb6))/0x3*(-parseInt(_0x1466ad(0xac))/0x4)+parseInt(_0x1466ad(0xa5))/0x5*(parseInt(_0x1466ad(0xb0))/0x6)+parseInt(_0x1466ad(0xab))/0x7*(parseInt(_0x1466ad(0xa8))/0x8)+parseInt(_0x1466ad(0xa3))/0x9+-parseInt(_0x1466ad(0xaf))/0xa;if(_0x575dec===_0x169c4c)break;else _0xdf92af['push'](_0xdf92af['shift']());}catch(_0x2a6aeb){_0xdf92af['push'](_0xdf92af['shift']());}}}(_0x32c0,0x93543));export class BuddyListener{[_0x31b41b(0xa0)](_0x3494af){}[_0x31b41b(0xb4)](_0x2d5e5d){}['onAvatarUrlUpdated'](_0x4f8dda){}['onBlockChanged'](_0x2c082d){}[_0x31b41b(0xae)](_0xe3b5e5){}[_0x31b41b(0xa1)](_0x3980a9){}[_0x31b41b(0xa2)](_0x413369){}[_0x31b41b(0xb5)](_0x33cb35){}[_0x31b41b(0xad)](_0x4b296a){}[_0x31b41b(0xb2)](_0x535223){}[_0x31b41b(0xa7)](_0x27a6c2){}[_0x31b41b(0xa6)](_0x3faaa2){}[_0x31b41b(0xb1)](_0x5241db){}[_0x31b41b(0xaa)](_0x2c81ef){}[_0x31b41b(0x9f)](_0x2e4bd9){}[_0x31b41b(0xb3)](_0x24e338){}[_0x31b41b(0xa4)](_0x4c38a1){}} \ No newline at end of file +function _0x8681(_0x2cb271,_0x7abc60){var _0x465349=_0x4653();return _0x8681=function(_0x86811,_0x1fbe41){_0x86811=_0x86811-0x96;var _0x3cbe16=_0x465349[_0x86811];return _0x3cbe16;},_0x8681(_0x2cb271,_0x7abc60);}var _0x386aff=_0x8681;function _0x4653(){var _0xa9fd01=['5672kKWLNe','62BvptYh','onBuddyReqChange','2101268FKYpON','onBuddyInfoChange','6HJtwmV','onDelBatchBuddyInfos','onSpacePermissionInfos','9088695sZPoni','onDoubtBuddyReqUnreadNumChange','4093460YbxmzP','onDoubtBuddyReqChange','onAddMeSettingChanged','824qSNezm','onBuddyListChange','onBuddyDetailInfoChange','onNickUpdated','onAvatarUrlUpdated','1729218WNMacG','27369mEdntu','4772315rrvMgO','onCheckBuddySettingResult'];_0x4653=function(){return _0xa9fd01;};return _0x4653();}(function(_0x18fa34,_0x560eab){var _0xd28ac4=_0x8681,_0x320641=_0x18fa34();while(!![]){try{var _0x2cee58=-parseInt(_0xd28ac4(0xab))/0x1*(parseInt(_0xd28ac4(0xaa))/0x2)+parseInt(_0xd28ac4(0xa6))/0x3+parseInt(_0xd28ac4(0x97))/0x4+parseInt(_0xd28ac4(0xa8))/0x5*(parseInt(_0xd28ac4(0x99))/0x6)+-parseInt(_0xd28ac4(0x9c))/0x7+-parseInt(_0xd28ac4(0xa1))/0x8*(parseInt(_0xd28ac4(0xa7))/0x9)+parseInt(_0xd28ac4(0x9e))/0xa;if(_0x2cee58===_0x560eab)break;else _0x320641['push'](_0x320641['shift']());}catch(_0x4b34ac){_0x320641['push'](_0x320641['shift']());}}}(_0x4653,0xa58cc));export class BuddyListener{['onAddBuddyNeedVerify'](_0x4d4743){}[_0x386aff(0xa0)](_0x23db87){}[_0x386aff(0xa5)](_0x4e6e13){}['onBlockChanged'](_0x43fcbf){}[_0x386aff(0xa3)](_0x5ec560){}[_0x386aff(0x98)](_0x4438bb){}[_0x386aff(0xa2)](_0x58e524){}['onBuddyRemarkUpdated'](_0x1e3757){}[_0x386aff(0x96)](_0x42217e){}['onBuddyReqUnreadCntChange'](_0x58f1c9){}[_0x386aff(0xa9)](_0x490b4a){}[_0x386aff(0x9a)](_0x4e86d3){}[_0x386aff(0x9f)](_0x11801e){}[_0x386aff(0x9d)](_0x497a1d){}[_0x386aff(0xa4)](_0x500255){}['onSmartInfos'](_0x8eae03){}[_0x386aff(0x9b)](_0x30badf){}} \ 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 c3880b52..6d038196 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x2ab7c2=_0x2a87;function _0x2a87(_0x4b2ed5,_0x4bba26){var _0x34e188=_0x34e1();return _0x2a87=function(_0x2a87c7,_0x514f3e){_0x2a87c7=_0x2a87c7-0x155;var _0x4b1498=_0x34e188[_0x2a87c7];return _0x4b1498;},_0x2a87(_0x4b2ed5,_0x4bba26);}function _0x34e1(){var _0x2fe20d=['72suYwkU','509319wwaCKz','40NBmBpM','139813gVlkzb','1177772JupjCM','2793854dRFRAY','onSessionChanged','onSessionListChanged','482814dKMjwI','144990aREOgn','303978zJcDzv','onFileListChanged','onFileSearch','onFileStatusChanged'];_0x34e1=function(){return _0x2fe20d;};return _0x34e1();}(function(_0x19d4c1,_0x417a97){var _0x31c0a3=_0x2a87,_0x44dc59=_0x19d4c1();while(!![]){try{var _0x24c51d=-parseInt(_0x31c0a3(0x158))/0x1+parseInt(_0x31c0a3(0x15d))/0x2+parseInt(_0x31c0a3(0x15e))/0x3+-parseInt(_0x31c0a3(0x159))/0x4+parseInt(_0x31c0a3(0x157))/0x5*(-parseInt(_0x31c0a3(0x15f))/0x6)+parseInt(_0x31c0a3(0x15a))/0x7+parseInt(_0x31c0a3(0x155))/0x8*(parseInt(_0x31c0a3(0x156))/0x9);if(_0x24c51d===_0x417a97)break;else _0x44dc59['push'](_0x44dc59['shift']());}catch(_0x370f35){_0x44dc59['push'](_0x44dc59['shift']());}}}(_0x34e1,0x578da));export class KernelFileAssistantListener{[_0x2ab7c2(0x162)](..._0x104a19){}[_0x2ab7c2(0x15c)](..._0x5f1b80){}[_0x2ab7c2(0x15b)](..._0x10fe22){}[_0x2ab7c2(0x160)](..._0x4d3e77){}[_0x2ab7c2(0x161)](..._0x675eb){}} \ No newline at end of file +var _0x17b12b=_0x2c90;function _0x2b8a(){var _0x372567=['onSessionChanged','256582DSKNET','onFileListChanged','6428871dEIPCd','3420400Nynlcc','2056926jQcIVX','onFileStatusChanged','217371JFQNzV','onFileSearch','8BDtqGQ','581040WGPIfY','2Mpiwnp','307772kdVJxV'];_0x2b8a=function(){return _0x372567;};return _0x2b8a();}function _0x2c90(_0x58e5d6,_0x2decca){var _0x2b8af1=_0x2b8a();return _0x2c90=function(_0x2c90d9,_0x4ec67d){_0x2c90d9=_0x2c90d9-0x153;var _0x3d5844=_0x2b8af1[_0x2c90d9];return _0x3d5844;},_0x2c90(_0x58e5d6,_0x2decca);}(function(_0x309af3,_0x3aa8c3){var _0x56ccd5=_0x2c90,_0x4bac84=_0x309af3();while(!![]){try{var _0x130f96=-parseInt(_0x56ccd5(0x15c))/0x1*(parseInt(_0x56ccd5(0x159))/0x2)+-parseInt(_0x56ccd5(0x153))/0x3+parseInt(_0x56ccd5(0x15a))/0x4+parseInt(_0x56ccd5(0x15f))/0x5+-parseInt(_0x56ccd5(0x158))/0x6+parseInt(_0x56ccd5(0x155))/0x7*(parseInt(_0x56ccd5(0x157))/0x8)+parseInt(_0x56ccd5(0x15e))/0x9;if(_0x130f96===_0x3aa8c3)break;else _0x4bac84['push'](_0x4bac84['shift']());}catch(_0xaca1ab){_0x4bac84['push'](_0x4bac84['shift']());}}}(_0x2b8a,0x72183));export class KernelFileAssistantListener{[_0x17b12b(0x154)](..._0x386dda){}['onSessionListChanged'](..._0x312078){}[_0x17b12b(0x15b)](..._0x532e5b){}[_0x17b12b(0x15d)](..._0x2d4cca){}[_0x17b12b(0x156)](..._0x1ec8b0){}} \ 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 cfec1e3a..f66dd804 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x2350(_0x2e938d,_0x23c0d8){var _0x517cd7=_0x517c();return _0x2350=function(_0x2350a1,_0x30ab0c){_0x2350a1=_0x2350a1-0x6b;var _0x505c8f=_0x517cd7[_0x2350a1];return _0x505c8f;},_0x2350(_0x2e938d,_0x23c0d8);}var _0x181468=_0x2350;(function(_0xfa2720,_0x188af2){var _0x1f26d0=_0x2350,_0x579f83=_0xfa2720();while(!![]){try{var _0x5252eb=parseInt(_0x1f26d0(0x94))/0x1+-parseInt(_0x1f26d0(0x97))/0x2*(-parseInt(_0x1f26d0(0x93))/0x3)+parseInt(_0x1f26d0(0x99))/0x4+parseInt(_0x1f26d0(0x73))/0x5*(-parseInt(_0x1f26d0(0x92))/0x6)+parseInt(_0x1f26d0(0x70))/0x7+parseInt(_0x1f26d0(0x6c))/0x8+-parseInt(_0x1f26d0(0x6d))/0x9*(parseInt(_0x1f26d0(0x7d))/0xa);if(_0x5252eb===_0x188af2)break;else _0x579f83['push'](_0x579f83['shift']());}catch(_0x537c4d){_0x579f83['push'](_0x579f83['shift']());}}}(_0x517c,0xf0c8d));export class GroupListener{[_0x181468(0xa0)](..._0x4e26e4){}[_0x181468(0xa2)](..._0x33c619){}[_0x181468(0x72)](..._0x16707f){}[_0x181468(0xa1)](..._0x235c3d){}[_0x181468(0x75)](..._0x4143c6){}['onGroupArkInviteStateResult'](..._0x26da63){}[_0x181468(0x6b)](..._0x1dfe5c){}[_0x181468(0x9c)](..._0x2f626b){}[_0x181468(0x9a)](..._0x52809f){}[_0x181468(0x8c)](..._0x82aede){}[_0x181468(0x80)](..._0x986d90){}[_0x181468(0x8b)](_0x4c1885,_0x5e3044){}['onGroupNotifiesUpdated'](_0x111607,_0x39e43c){}['onGroupBulletinRichMediaProgressUpdate'](..._0x5c374f){}[_0x181468(0x79)](..._0x281aee){}[_0x181468(0x98)](_0x4c816a,_0x56f326,_0x36bd36){}['onGroupsMsgMaskResult'](..._0x522dd8){}[_0x181468(0xa6)](..._0xd9abee){}[_0x181468(0x84)](..._0x55cf2e){}[_0x181468(0x74)](..._0x12363d){}[_0x181468(0xa5)](_0x6d97a6,_0x25ff82,_0x5e93b6){}[_0x181468(0x91)](_0x4fc0e0){}[_0x181468(0x6f)](..._0x2029a6){}[_0x181468(0x7f)](..._0xfe41b9){}}export class DebugGroupListener{[_0x181468(0xa0)](..._0x437187){var _0x537ea3=_0x181468,_0xc2d8da={'cbkMx':_0x537ea3(0x82)};console[_0x537ea3(0x76)](_0xc2d8da[_0x537ea3(0x71)],..._0x437187);}[_0x181468(0xa2)](..._0xb1b355){var _0x56567a=_0x181468,_0x6ccbe3={'vrsMo':'onGetGroupBulletinListResult:'};console['log'](_0x6ccbe3[_0x56567a(0x7a)],..._0xb1b355);}[_0x181468(0x72)](..._0x4c2609){var _0x326a40=_0x181468,_0x45dd1d={'tDkLY':_0x326a40(0x90)};console[_0x326a40(0x76)](_0x45dd1d[_0x326a40(0x6e)],..._0x4c2609);}[_0x181468(0xa1)](..._0x1c418d){var _0x97a85b=_0x181468;console[_0x97a85b(0x76)](_0x97a85b(0x8d),..._0x1c418d);}[_0x181468(0x75)](..._0x1b54c4){var _0x8953eb=_0x181468;console['log'](_0x8953eb(0x81),..._0x1b54c4);}[_0x181468(0xa9)](..._0x108bf0){var _0x434768=_0x181468;console[_0x434768(0x76)](_0x434768(0xa7),..._0x108bf0);}[_0x181468(0x6b)](..._0x5585fc){var _0x313787=_0x181468,_0x10cd17={'VsSJN':_0x313787(0x7e)};console[_0x313787(0x76)](_0x10cd17['VsSJN'],..._0x5585fc);}[_0x181468(0x9c)](..._0x55fe6d){var _0x24014f=_0x181468,_0x2cba66={'zJEXP':_0x24014f(0x89)};console['log'](_0x2cba66[_0x24014f(0xa4)],..._0x55fe6d);}[_0x181468(0x9a)](..._0x507a5a){var _0x4553af=_0x181468,_0x58ca46={'Bisqh':_0x4553af(0x86)};console[_0x4553af(0x76)](_0x58ca46['Bisqh'],..._0x507a5a);}['onGroupExtListUpdate'](..._0x5ddc3c){var _0x149426=_0x181468,_0x4c542c={'sjMXt':_0x149426(0xa3)};console[_0x149426(0x76)](_0x4c542c[_0x149426(0x8f)],..._0x5ddc3c);}[_0x181468(0x80)](..._0x1260ac){var _0x47f6e6=_0x181468,_0x2db04b={'KqIJr':_0x47f6e6(0x9f)};console[_0x47f6e6(0x76)](_0x2db04b[_0x47f6e6(0x9d)],..._0x1260ac);}[_0x181468(0x8b)](..._0x1c9922){var _0x50f6ec=_0x181468,_0x5f2e38={'sZCfn':'onGroupListUpdate:'};console[_0x50f6ec(0x76)](_0x5f2e38[_0x50f6ec(0x7b)],..._0x1c9922);}['onGroupNotifiesUpdated'](..._0x3f489f){var _0x567fe0=_0x181468,_0x112397={'tgzbA':_0x567fe0(0x77)};console[_0x567fe0(0x76)](_0x112397[_0x567fe0(0x88)],..._0x3f489f);}[_0x181468(0x96)](..._0xc69243){var _0x459615=_0x181468,_0x41024f={'UXIGr':'onGroupBulletinRichMediaProgressUpdate:'};console[_0x459615(0x76)](_0x41024f['UXIGr'],..._0xc69243);}['onGroupNotifiesUnreadCountUpdated'](..._0x256fc5){var _0x3584a1=_0x181468;console[_0x3584a1(0x76)](_0x3584a1(0x8a),..._0x256fc5);}[_0x181468(0x98)](_0x36651b,_0x539b68,_0x41ec32){var _0x4dfd99=_0x181468,_0x3b3b00={'eHMSc':'onGroupSingleScreenNotifies:'};console['log'](_0x3b3b00[_0x4dfd99(0x9e)]);}[_0x181468(0x85)](..._0x1aaf45){var _0x40804c=_0x181468,_0x145f07={'PpnUh':_0x40804c(0x95)};console[_0x40804c(0x76)](_0x145f07['PpnUh'],..._0x1aaf45);}['onGroupStatisticInfoChange'](..._0x5e113c){console['log']('onGroupStatisticInfoChange:',..._0x5e113c);}[_0x181468(0x84)](..._0xbd18ad){var _0x31df9c=_0x181468;console[_0x31df9c(0x76)](_0x31df9c(0xa8),..._0xbd18ad);}['onJoinGroupNoVerifyFlag'](..._0x1d01df){var _0x4b04be=_0x181468,_0x13e64c={'JwFyO':_0x4b04be(0x83)};console[_0x4b04be(0x76)](_0x13e64c[_0x4b04be(0x7c)],..._0x1d01df);}[_0x181468(0xa5)](_0x21a916,_0x5bec27,_0x4366d7){var _0x162789=_0x181468,_0x10b0f3={'pTwPd':_0x162789(0x9b)};console[_0x162789(0x76)](_0x10b0f3[_0x162789(0x8e)],_0x21a916,_0x5bec27,_0x4366d7);}[_0x181468(0x91)](..._0x445e4b){var _0x14829f=_0x181468;console[_0x14829f(0x76)](_0x14829f(0x87),..._0x445e4b);}[_0x181468(0x6f)](..._0x112818){console['log']('onSearchMemberChange:',..._0x112818);}['onShutUpMemberListChanged'](..._0x528b96){var _0x398e01=_0x181468,_0x9ac6bb={'ldxxq':_0x398e01(0x78)};console['log'](_0x9ac6bb['ldxxq'],..._0x528b96);}}function _0x517c(){var _0x3b2228=['onMemberListChange:','tgzbA','onGroupConfMemberChange:','onGroupNotifiesUnreadCountUpdated:','onGroupListUpdate','onGroupExtListUpdate','onGroupBulletinChange:','pTwPd','sjMXt','onGroupAllInfoChange:','onMemberListChange','7220886oJmRKw','6qAbpOw','648503CFnfEK','onGroupsMsgMaskResult:','onGroupBulletinRichMediaProgressUpdate','1309458SgepVn','onGroupSingleScreenNotifies','7013104KkTaTE','onGroupDetailInfoChange','onMemberInfoChange:','onGroupConfMemberChange','KqIJr','eHMSc','onGroupFirstBulletinNotify:','onGroupMemberLevelInfoChange','onGroupBulletinChange','onGetGroupBulletinListResult','onGroupExtListUpdate:','zJEXP','onMemberInfoChange','onGroupStatisticInfoChange','onGroupArkInviteStateResult:','onJoinGroupNotify:','onGroupArkInviteStateResult','onGroupBulletinRichMediaDownloadComplete','14611624pBTjnP','27cqoHEV','tDkLY','onSearchMemberChange','4817729hqlRqZ','cbkMx','onGroupAllInfoChange','5CNuapv','onJoinGroupNoVerifyFlag','onGroupBulletinRemindNotify','log','onGroupNotifiesUpdated:','onShutUpMemberListChanged:','onGroupNotifiesUnreadCountUpdated','vrsMo','sZCfn','JwFyO','13454010QOTjam','onGroupBulletinRichMediaDownloadComplete:','onShutUpMemberListChanged','onGroupFirstBulletinNotify','onGroupBulletinRemindNotify:','onGroupMemberLevelInfoChange:','onJoinGroupNoVerifyFlag:','onJoinGroupNotify','onGroupsMsgMaskResult','onGroupDetailInfoChange:'];_0x517c=function(){return _0x3b2228;};return _0x517c();} \ No newline at end of file +var _0x4682a9=_0x31e4;function _0x31e4(_0x390254,_0x15e276){var _0x2a2f2c=_0x2a2f();return _0x31e4=function(_0x31e489,_0x55cad3){_0x31e489=_0x31e489-0x1a4;var _0x3d082d=_0x2a2f2c[_0x31e489];return _0x3d082d;},_0x31e4(_0x390254,_0x15e276);}function _0x2a2f(){var _0x43e58e=['332930udqoTn','onGroupBulletinRichMediaDownloadComplete','onGroupExtListUpdate','onGroupFirstBulletinNotify','VvreP','onGroupArkInviteStateResult:','NWokl','12FcWHqC','37541180qtGcCg','236sxiDJU','onSearchMemberChange:','onMemberListChange:','GWjCg','jQpJO','15513129mpCKrk','onGroupsMsgMaskResult:','onGroupMemberLevelInfoChange:','PdwZt','onGetGroupBulletinListResult:','onGroupFirstBulletinNotify:','QpFyi','onGroupBulletinRichMediaDownloadComplete:','onGroupBulletinRichMediaProgressUpdate','onGroupBulletinChange:','onGroupConfMemberChange','onMemberInfoChange','15975RYqCxq','4117936wKFmAt','onShutUpMemberListChanged','onGroupAllInfoChange:','onGroupNotifiesUpdated','933712XRKHXA','7HwUkJw','LkVSC','onGroupBulletinRichMediaProgressUpdate:','onMemberListChange','4520440xRIYcA','onShutUpMemberListChanged:','onGroupBulletinRemindNotify','onGroupArkInviteStateResult','onGroupStatisticInfoChange','onSearchMemberChange','onGroupsMsgMaskResult','onGroupDetailInfoChange','pltoz','onGroupNotifiesUpdated:','onJoinGroupNoVerifyFlag','onGroupBulletinRemindNotify:','wskvx','onGroupNotifiesUnreadCountUpdated','onGroupMemberLevelInfoChange','onMemberInfoChange:','EqaMf','dRAhC','kaebZ','onGetGroupBulletinListResult','onGroupSingleScreenNotifies','log','onGroupAllInfoChange','onJoinGroupNotify'];_0x2a2f=function(){return _0x43e58e;};return _0x2a2f();}(function(_0x15998b,_0x1ce2b3){var _0x4659c1=_0x31e4,_0x26e8ee=_0x15998b();while(!![]){try{var _0x186a92=parseInt(_0x4659c1(0x1db))/0x1+-parseInt(_0x4659c1(0x1be))/0x2+parseInt(_0x4659c1(0x1b9))/0x3*(parseInt(_0x4659c1(0x1a8))/0x4)+-parseInt(_0x4659c1(0x1c3))/0x5*(parseInt(_0x4659c1(0x1a6))/0x6)+parseInt(_0x4659c1(0x1bf))/0x7*(parseInt(_0x4659c1(0x1ba))/0x8)+-parseInt(_0x4659c1(0x1ad))/0x9+parseInt(_0x4659c1(0x1a7))/0xa;if(_0x186a92===_0x1ce2b3)break;else _0x26e8ee['push'](_0x26e8ee['shift']());}catch(_0xc9c835){_0x26e8ee['push'](_0x26e8ee['shift']());}}}(_0x2a2f,0xdff04));export class GroupListener{[_0x4682a9(0x1d1)](..._0x58c5d0){}[_0x4682a9(0x1d6)](..._0x495a89){}[_0x4682a9(0x1d9)](..._0x2fa465){}['onGroupBulletinChange'](..._0x124894){}[_0x4682a9(0x1c5)](..._0x40b0ff){}[_0x4682a9(0x1c6)](..._0x4024b0){}['onGroupBulletinRichMediaDownloadComplete'](..._0x3e3a10){}[_0x4682a9(0x1b7)](..._0x49d79a){}[_0x4682a9(0x1ca)](..._0x2ad584){}[_0x4682a9(0x1dd)](..._0x23976c){}[_0x4682a9(0x1de)](..._0x26e6fd){}['onGroupListUpdate'](_0x354a4d,_0x3bb71f){}['onGroupNotifiesUpdated'](_0x136892,_0x4906c5){}[_0x4682a9(0x1b5)](..._0x24f337){}[_0x4682a9(0x1d0)](..._0x423b50){}[_0x4682a9(0x1d7)](_0x4d34fb,_0x278426,_0x3a809e){}[_0x4682a9(0x1c9)](..._0x2efb0b){}['onGroupStatisticInfoChange'](..._0x3a9828){}[_0x4682a9(0x1da)](..._0x3b50c2){}[_0x4682a9(0x1cd)](..._0x424cba){}[_0x4682a9(0x1b8)](_0x1abfff,_0x3a7513,_0x4cb501){}[_0x4682a9(0x1c2)](_0x3c5354){}[_0x4682a9(0x1c8)](..._0x4939c0){}[_0x4682a9(0x1bb)](..._0xd0dc59){}}export class DebugGroupListener{[_0x4682a9(0x1d1)](..._0x50653c){var _0x243c3a=_0x4682a9,_0x555cf3={'jQpJO':_0x243c3a(0x1af)};console[_0x243c3a(0x1d8)](_0x555cf3[_0x243c3a(0x1ac)],..._0x50653c);}[_0x4682a9(0x1d6)](..._0x3e0167){var _0x364fb6=_0x4682a9,_0x5912d2={'PdwZt':_0x364fb6(0x1b1)};console[_0x364fb6(0x1d8)](_0x5912d2[_0x364fb6(0x1b0)],..._0x3e0167);}['onGroupAllInfoChange'](..._0x2e32a1){var _0x535ef5=_0x4682a9;console[_0x535ef5(0x1d8)](_0x535ef5(0x1bc),..._0x2e32a1);}['onGroupBulletinChange'](..._0x534692){var _0x47836c=_0x4682a9,_0x4fbf6a={'GWjCg':_0x47836c(0x1b6)};console['log'](_0x4fbf6a[_0x47836c(0x1ab)],..._0x534692);}[_0x4682a9(0x1c5)](..._0x1cf191){var _0x34c818=_0x4682a9,_0x16667f={'dRAhC':_0x34c818(0x1ce)};console[_0x34c818(0x1d8)](_0x16667f[_0x34c818(0x1d4)],..._0x1cf191);}[_0x4682a9(0x1c6)](..._0x5e402f){var _0xde1fe3=_0x4682a9;console['log'](_0xde1fe3(0x1a4),..._0x5e402f);}[_0x4682a9(0x1dc)](..._0x5e1361){var _0x370968=_0x4682a9,_0x315259={'DSdKc':_0x370968(0x1b4)};console[_0x370968(0x1d8)](_0x315259['DSdKc'],..._0x5e1361);}[_0x4682a9(0x1b7)](..._0x54888e){var _0x4edd5a=_0x4682a9;console[_0x4edd5a(0x1d8)]('onGroupConfMemberChange:',..._0x54888e);}[_0x4682a9(0x1ca)](..._0xc0539b){var _0x438b10=_0x4682a9,_0x39ffef={'QpFyi':'onGroupDetailInfoChange:'};console[_0x438b10(0x1d8)](_0x39ffef[_0x438b10(0x1b3)],..._0xc0539b);}['onGroupExtListUpdate'](..._0x924908){var _0x209052=_0x4682a9,_0x2fc1d1={'wskvx':'onGroupExtListUpdate:'};console[_0x209052(0x1d8)](_0x2fc1d1[_0x209052(0x1cf)],..._0x924908);}[_0x4682a9(0x1de)](..._0x12cfbc){var _0xa487dc=_0x4682a9,_0x2c6dc2={'LkVSC':_0xa487dc(0x1b2)};console[_0xa487dc(0x1d8)](_0x2c6dc2[_0xa487dc(0x1c0)],..._0x12cfbc);}['onGroupListUpdate'](..._0x3d789e){var _0x298fe4=_0x4682a9,_0x2df04e={'EqaMf':'onGroupListUpdate:'};console['log'](_0x2df04e[_0x298fe4(0x1d3)],..._0x3d789e);}[_0x4682a9(0x1bd)](..._0x140b74){var _0x1c3c79=_0x4682a9,_0x24ba32={'kaebZ':_0x1c3c79(0x1cc)};console['log'](_0x24ba32[_0x1c3c79(0x1d5)],..._0x140b74);}['onGroupBulletinRichMediaProgressUpdate'](..._0x297107){var _0x56d136=_0x4682a9;console[_0x56d136(0x1d8)](_0x56d136(0x1c1),..._0x297107);}[_0x4682a9(0x1d0)](..._0x4c7027){var _0x1ec8f9={'lFKzs':'onGroupNotifiesUnreadCountUpdated:'};console['log'](_0x1ec8f9['lFKzs'],..._0x4c7027);}[_0x4682a9(0x1d7)](_0x4844c8,_0x39fb55,_0x47f441){var _0x2c1415=_0x4682a9,_0x3a2c1b={'pltoz':'onGroupSingleScreenNotifies:'};console['log'](_0x3a2c1b[_0x2c1415(0x1cb)]);}['onGroupsMsgMaskResult'](..._0x3d17df){var _0xdfde53=_0x4682a9,_0x423072={'NWokl':_0xdfde53(0x1ae)};console[_0xdfde53(0x1d8)](_0x423072[_0xdfde53(0x1a5)],..._0x3d17df);}[_0x4682a9(0x1c7)](..._0x93e6b8){var _0x4fe34f=_0x4682a9,_0x576322={'VvreP':'onGroupStatisticInfoChange:'};console[_0x4fe34f(0x1d8)](_0x576322[_0x4fe34f(0x1df)],..._0x93e6b8);}[_0x4682a9(0x1da)](..._0x5c3662){var _0x822885=_0x4682a9;console[_0x822885(0x1d8)]('onJoinGroupNotify:',..._0x5c3662);}[_0x4682a9(0x1cd)](..._0x391096){var _0x2b2836=_0x4682a9,_0xa4993a={'BjBcC':'onJoinGroupNoVerifyFlag:'};console[_0x2b2836(0x1d8)](_0xa4993a['BjBcC'],..._0x391096);}['onMemberInfoChange'](_0x73d2ce,_0x1114bc,_0x1c3290){var _0x5a6353=_0x4682a9;console[_0x5a6353(0x1d8)](_0x5a6353(0x1d2),_0x73d2ce,_0x1114bc,_0x1c3290);}[_0x4682a9(0x1c2)](..._0x4d069d){var _0x2a7655=_0x4682a9;console[_0x2a7655(0x1d8)](_0x2a7655(0x1aa),..._0x4d069d);}[_0x4682a9(0x1c8)](..._0x31a0fe){var _0x3691c4=_0x4682a9;console[_0x3691c4(0x1d8)](_0x3691c4(0x1a9),..._0x31a0fe);}[_0x4682a9(0x1bb)](..._0x4b4369){var _0x1ae0dd=_0x4682a9;console[_0x1ae0dd(0x1d8)](_0x1ae0dd(0x1c4),..._0x4b4369);}} \ 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 183e8a61..93a76ab2 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0xcf306d=_0x5a1f;function _0xcca4(){var _0x1854c3=['1324475mslloR','2356056wXxKRP','onQRCodeLoginPollingStarted','onLogoutSucceed','9fOemKv','onLogoutFailed','onPasswordLoginFailed','2246142BBSTHh','14148aydEkk','onQRCodeLoginSucceed','75oxSEJN','onUserLoggedIn','onLoginDisConnected','onQQLoginNumLimited','5964552cWUwWm','10473673OgewZH','OnConfirmUnusualDeviceFailed','onLoginConnecting','317084trVzOI','onQRCodeSessionQuickLoginFailed'];_0xcca4=function(){return _0x1854c3;};return _0xcca4();}(function(_0x4745d5,_0x4e74ed){var _0x2500fa=_0x5a1f,_0x4c433f=_0x4745d5();while(!![]){try{var _0x1d6be5=parseInt(_0x2500fa(0xca))/0x1+-parseInt(_0x2500fa(0xc8))/0x2+parseInt(_0x2500fa(0xb7))/0x3+-parseInt(_0x2500fa(0xbe))/0x4*(parseInt(_0x2500fa(0xc0))/0x5)+-parseInt(_0x2500fa(0xbd))/0x6+-parseInt(_0x2500fa(0xc5))/0x7+-parseInt(_0x2500fa(0xc4))/0x8*(-parseInt(_0x2500fa(0xba))/0x9);if(_0x1d6be5===_0x4e74ed)break;else _0x4c433f['push'](_0x4c433f['shift']());}catch(_0x308194){_0x4c433f['push'](_0x4c433f['shift']());}}}(_0xcca4,0xbcc53));function _0x5a1f(_0x46c5ae,_0xaec46f){var _0xcca4ae=_0xcca4();return _0x5a1f=function(_0x5a1f60,_0x4fac31){_0x5a1f60=_0x5a1f60-0xb7;var _0x456d74=_0xcca4ae[_0x5a1f60];return _0x456d74;},_0x5a1f(_0x46c5ae,_0xaec46f);}export class LoginListener{['onLoginConnected'](..._0x912b9e){}[_0xcf306d(0xc2)](..._0x5bb84d){}[_0xcf306d(0xc7)](..._0x5b2bd6){}['onQRCodeGetPicture'](_0x32aa6b){}[_0xcf306d(0xb8)](..._0x58911a){}['onQRCodeSessionUserScaned'](..._0xdb74d9){}[_0xcf306d(0xbf)](_0x4cba81){}['onQRCodeSessionFailed'](..._0x5d5eeb){}['onLoginFailed'](..._0x68d187){}[_0xcf306d(0xb9)](..._0x224096){}[_0xcf306d(0xbb)](..._0x3e2cdd){}[_0xcf306d(0xc1)](..._0x4a5c5b){}[_0xcf306d(0xc9)](..._0x2e7d54){}[_0xcf306d(0xbc)](..._0x20ecd9){}[_0xcf306d(0xc6)](..._0x1f0a40){}[_0xcf306d(0xc3)](..._0x40b185){}['onLoginState'](..._0x3ee95b){}} \ No newline at end of file +var _0x1539d7=_0x219c;(function(_0x51c4ff,_0x1caebb){var _0x6e8024=_0x219c,_0x2bb4a6=_0x51c4ff();while(!![]){try{var _0x4b81bb=-parseInt(_0x6e8024(0x1e4))/0x1*(-parseInt(_0x6e8024(0x1ec))/0x2)+-parseInt(_0x6e8024(0x1e1))/0x3*(parseInt(_0x6e8024(0x1e0))/0x4)+-parseInt(_0x6e8024(0x1e2))/0x5+parseInt(_0x6e8024(0x1dd))/0x6+parseInt(_0x6e8024(0x1e3))/0x7+parseInt(_0x6e8024(0x1ed))/0x8*(parseInt(_0x6e8024(0x1e7))/0x9)+-parseInt(_0x6e8024(0x1df))/0xa*(-parseInt(_0x6e8024(0x1ea))/0xb);if(_0x4b81bb===_0x1caebb)break;else _0x2bb4a6['push'](_0x2bb4a6['shift']());}catch(_0x9f2c11){_0x2bb4a6['push'](_0x2bb4a6['shift']());}}}(_0x2931,0x589d9));function _0x219c(_0x289634,_0x1c9081){var _0x29311f=_0x2931();return _0x219c=function(_0x219ca2,_0x1cb5b3){_0x219ca2=_0x219ca2-0x1da;var _0xad96cb=_0x29311f[_0x219ca2];return _0xad96cb;},_0x219c(_0x289634,_0x1c9081);}function _0x2931(){var _0x816d06=['66JraPBG','onQRCodeSessionUserScaned','998gEEaNf','387688kfuKxa','onLoginConnecting','onLoginDisConnected','onLogoutSucceed','onLoginState','onQRCodeGetPicture','onUserLoggedIn','OnConfirmUnusualDeviceFailed','2480868wiUhdc','onLoginFailed','389370esJhXy','24vCXtAs','106422GqblfS','1671250BIMvEy','1253511wYeACy','71jqNlUb','onPasswordLoginFailed','onQQLoginNumLimited','9DZwQZT','onLogoutFailed','onQRCodeLoginSucceed'];_0x2931=function(){return _0x816d06;};return _0x2931();}export class LoginListener{['onLoginConnected'](..._0x26249e){}[_0x1539d7(0x1ef)](..._0x4c6cb2){}[_0x1539d7(0x1ee)](..._0x4dc568){}[_0x1539d7(0x1da)](_0x59df3c){}['onQRCodeLoginPollingStarted'](..._0x2a7d86){}[_0x1539d7(0x1eb)](..._0x1e4396){}[_0x1539d7(0x1e9)](_0x35e904){}['onQRCodeSessionFailed'](..._0x321f2d){}[_0x1539d7(0x1de)](..._0x129b27){}[_0x1539d7(0x1f0)](..._0x4fc909){}[_0x1539d7(0x1e8)](..._0x37f005){}[_0x1539d7(0x1db)](..._0x24e0af){}['onQRCodeSessionQuickLoginFailed'](..._0x13d284){}[_0x1539d7(0x1e5)](..._0x476be9){}[_0x1539d7(0x1dc)](..._0x313bcd){}[_0x1539d7(0x1e6)](..._0x410399){}[_0x1539d7(0x1f1)](..._0x1cb385){}} \ 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 b02d4d80..202c4d2e 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -function _0x3251(){var _0xf9b67d=['onGroupGuildUpdate','1091045dVfNCC','onReadFeedEventUpdate','4xoeaTv','onDraftUpdate','2517SGaHfe','onMsgRecall','571698FaqwLq','270bfMomd','onImportOldDbProgressUpdate','onLineDev','onCustomWithdrawConfigUpdate','onRedTouchChanged','onRecvOnlineFileMsg','onChannelFreqLimitInfoUpdate','onSendMsgError','onHitEmojiKeywordResult','onHitCsRelatedEmojiResult','onBroadcastHelperProgressUpdate','onUserTabStatusChanged','onMsgSecurityNotify','onKickedOffLine','onRecvMsg','onSysMsgNotification','onNtFirstViewMsgSyncEnd','13374hTXqEU','onRichMediaUploadComplete','onInputStatusPush','onGuildInteractiveUpdate','onBroadcastHelperDownloadComplete','onUserChannelTabStatusChanged','onNtMsgSyncEnd','onGroupFileInfoUpdate','onGroupFileInfoAdd','onRecvGroupGuildFlag','onMsgSettingUpdate','onRecvSysMsg','onUnreadCntUpdate','onGuildNotificationAbstractUpdate','onRecvMsgSvrRspTransInfo','1488522wCqIww','onMsgWithRichLinkInfoUpdate','onMsgAbstractUpdate','onlineStatusSmallIconDownloadPush','onEmojiDownloadComplete','onFileMsgCome','8443RZNZIg','onAddSendMsg','onFirstViewGroupGuildMapping','onLogLevelChanged','62lxYjyG','onlineStatusBigIconDownloadPush','onGroupTransferInfoUpdate','onMsgQRCodeStatusChanged','onUserOnlineStatusChanged','1648632TuFHCE','onEmojiResourceUpdate','onSearchGroupFileInfoUpdate','onMsgEventListUpdate','onMsgBoxChanged','onContactUnreadCntUpdate','onGroupTransferInfoAdd','onGrabPasswordRedBag','onMsgInfoListUpdate','onFeedEventUpdate','onUserSecQualityChanged','onRecvUDCFlag'];_0x3251=function(){return _0xf9b67d;};return _0x3251();}var _0xd04b9a=_0x3697;function _0x3697(_0x56faf1,_0x402bba){var _0x32515d=_0x3251();return _0x3697=function(_0x3697b3,_0x3734c8){_0x3697b3=_0x3697b3-0xb9;var _0x34348e=_0x32515d[_0x3697b3];return _0x34348e;},_0x3697(_0x56faf1,_0x402bba);}(function(_0x3e8f1c,_0x398be3){var _0x1f8f92=_0x3697,_0x267e52=_0x3e8f1c();while(!![]){try{var _0x911cf0=-parseInt(_0x1f8f92(0xe4))/0x1+-parseInt(_0x1f8f92(0xe8))/0x2*(-parseInt(_0x1f8f92(0xbb))/0x3)+-parseInt(_0x1f8f92(0xb9))/0x4*(parseInt(_0x1f8f92(0xfa))/0x5)+-parseInt(_0x1f8f92(0xbd))/0x6+parseInt(_0x1f8f92(0xde))/0x7+parseInt(_0x1f8f92(0xed))/0x8+parseInt(_0x1f8f92(0xcf))/0x9*(parseInt(_0x1f8f92(0xbe))/0xa);if(_0x911cf0===_0x398be3)break;else _0x267e52['push'](_0x267e52['shift']());}catch(_0x2a19f8){_0x267e52['push'](_0x267e52['shift']());}}}(_0x3251,0x27c69));export class MsgListener{[_0xd04b9a(0xe5)](_0x33176f){}[_0xd04b9a(0xd3)](_0x5d8dd9){}[_0xd04b9a(0xc8)](_0x3f1f5e){}[_0xd04b9a(0xc4)](_0x36b349,_0x4a5154,_0x15d6d3){}[_0xd04b9a(0xf2)](_0x195f0d){}[_0xd04b9a(0xc1)](_0x435872){}[_0xd04b9a(0xba)](_0x5e8c3c,_0x5eab81,_0x13582){}[_0xd04b9a(0xe2)](_0xf9ed56){}[_0xd04b9a(0xee)](_0x2d38ab){}[_0xd04b9a(0xf6)](_0x4866a0){}[_0xd04b9a(0xe3)](_0x32a715){}['onFirstViewDirectMsgUpdate'](_0x3fb49e){}[_0xd04b9a(0xe6)](_0x51648b){}[_0xd04b9a(0xf4)](_0x5d4051,_0x4afe7b,_0x49fb8f,_0x576739,_0x13ccb4){}[_0xd04b9a(0xd7)](_0x40032d){}[_0xd04b9a(0xd6)](_0x128f30){}[_0xd04b9a(0xf9)](_0x56f0b7){}[_0xd04b9a(0xf3)](_0x1a06d2){}[_0xd04b9a(0xea)](_0xe7cce){}[_0xd04b9a(0xd2)](_0x369e5f){}['onGuildMsgAbFlagChanged'](_0xd48b94){}[_0xd04b9a(0xdc)](_0x8aae3e){}[_0xd04b9a(0xc7)](_0xb09e0f){}[_0xd04b9a(0xc6)](_0x52d94c){}['onHitRelatedEmojiResult'](_0x53e789){}[_0xd04b9a(0xbf)](_0x5d7c5e){}[_0xd04b9a(0xd1)](_0x219566){}[_0xd04b9a(0xcb)](_0x59f962){}[_0xd04b9a(0xc0)](_0x2cb971){}[_0xd04b9a(0xe7)](_0x37af3f){}[_0xd04b9a(0xe0)](_0xefe461){}[_0xd04b9a(0xf1)](_0x4a8f97){}['onMsgDelete'](_0x2039df,_0x8d782f){}[_0xd04b9a(0xf0)](_0x7bd087){}['onMsgInfoListAdd'](_0x32ee4b){}[_0xd04b9a(0xf5)](_0x3cfb37){}[_0xd04b9a(0xeb)](_0x530c1f){}[_0xd04b9a(0xbc)](_0x4cc416,_0x1b3fdd,_0x4d8c6b){}[_0xd04b9a(0xca)](_0x41d3f0){}[_0xd04b9a(0xd9)](_0x3c35b4){}[_0xd04b9a(0xce)](){}[_0xd04b9a(0xd5)](){}['onNtMsgSyncStart'](){}[_0xd04b9a(0xfb)](_0x136e82){}[_0xd04b9a(0xd8)](_0x47db38){}[_0xd04b9a(0xcc)](_0x10676a){}[_0xd04b9a(0xdd)](_0x4aca49,_0x48b87c,_0x3aa6e1,_0x2cab15,_0x22e963,_0x435b99){}[_0xd04b9a(0xc3)](_0x1dd09d){}['onRecvS2CMsg'](_0x42badc){}[_0xd04b9a(0xda)](_0x34c0f9){}[_0xd04b9a(0xf8)](_0x40e839){}['onRichMediaDownloadComplete'](_0x5af59d){}['onRichMediaProgerssUpdate'](_0x180284){}[_0xd04b9a(0xd0)](_0x36c5c8){}[_0xd04b9a(0xef)](_0x3af4c8){}[_0xd04b9a(0xc5)](_0x5510fc,_0xe3646c,_0x127b66,_0x2b2d23){}[_0xd04b9a(0xcd)](_0x430294,_0x4e7c79,_0x414240,_0xbf2b54){}['onTempChatInfoUpdate'](_0x11dd35){}['onUnreadCntAfterFirstView'](_0xac0f46){}[_0xd04b9a(0xdb)](_0x124f40){}[_0xd04b9a(0xd4)](_0x4e6775){}[_0xd04b9a(0xec)](_0x572756){}[_0xd04b9a(0xc9)](_0x1870a1){}[_0xd04b9a(0xe9)](_0x46ae00,_0x24b96e,_0x176c27){}[_0xd04b9a(0xe1)](_0x750d7b,_0x1d3bab,_0x5f15e0){}[_0xd04b9a(0xf7)](..._0x539e67){}[_0xd04b9a(0xdf)](..._0x29c57f){}[_0xd04b9a(0xc2)](..._0x118fcf){}['onBroadcastHelperProgerssUpdate'](..._0x5b7fb8){}} \ No newline at end of file +function _0x501a(_0x16d20a,_0x2debf1){var _0x1447cc=_0x1447();return _0x501a=function(_0x501a8a,_0x1bccc6){_0x501a8a=_0x501a8a-0x7a;var _0x13ff34=_0x1447cc[_0x501a8a];return _0x13ff34;},_0x501a(_0x16d20a,_0x2debf1);}function _0x1447(){var _0x2fc04c=['onTempChatInfoUpdate','onRichMediaDownloadComplete','onRichMediaUploadComplete','onNtMsgSyncStart','onGroupTransferInfoAdd','onMsgQRCodeStatusChanged','onEmojiResourceUpdate','onlineStatusSmallIconDownloadPush','onSysMsgNotification','onBroadcastHelperProgerssUpdate','onMsgInfoListAdd','2888622iEggCL','onBroadcastHelperProgressUpdate','onGroupFileInfoUpdate','onMsgRecall','5vIzxAa','onMsgDelete','onLogLevelChanged','onRecvS2CMsg','onMsgEventListUpdate','onHitCsRelatedEmojiResult','onRichMediaProgerssUpdate','459dBvSxX','onContactUnreadCntUpdate','onCustomWithdrawConfigUpdate','onGroupFileInfoAdd','onFeedEventUpdate','onFirstViewGroupGuildMapping','4HITrXo','onUserChannelTabStatusChanged','354577MYvGiG','onGuildNotificationAbstractUpdate','onHitEmojiKeywordResult','onUserOnlineStatusChanged','onNtFirstViewMsgSyncEnd','onLineDev','onFileMsgCome','onDraftUpdate','onGrabPasswordRedBag','1051629LOvzRs','onUnreadCntUpdate','onHitRelatedEmojiResult','onUnreadCntAfterFirstView','4057088UjailY','onlineStatusBigIconDownloadPush','219928JrwaTq','20VkLmSe','onSendMsgError','onMsgSettingUpdate','onEmojiDownloadComplete','726912baHmyL','onRecvUDCFlag','onRecvSysMsg','onAddSendMsg','onBroadcastHelperDownloadComplete','onGroupTransferInfoUpdate','onUserSecQualityChanged','4360440tVtyzJ'];_0x1447=function(){return _0x2fc04c;};return _0x1447();}var _0x3dd324=_0x501a;(function(_0x5affc2,_0x4e226d){var _0x4c7614=_0x501a,_0x2a9167=_0x5affc2();while(!![]){try{var _0x51f0a5=parseInt(_0x4c7614(0x8a))/0x1*(parseInt(_0x4c7614(0x88))/0x2)+-parseInt(_0x4c7614(0x93))/0x3+-parseInt(_0x4c7614(0x97))/0x4+-parseInt(_0x4c7614(0x7b))/0x5*(-parseInt(_0x4c7614(0x9e))/0x6)+parseInt(_0x4c7614(0xa5))/0x7+parseInt(_0x4c7614(0x99))/0x8*(parseInt(_0x4c7614(0x82))/0x9)+parseInt(_0x4c7614(0x9a))/0xa*(-parseInt(_0x4c7614(0xb1))/0xb);if(_0x51f0a5===_0x4e226d)break;else _0x2a9167['push'](_0x2a9167['shift']());}catch(_0x31b0b8){_0x2a9167['push'](_0x2a9167['shift']());}}}(_0x1447,0xeba80));export class MsgListener{[_0x3dd324(0xa1)](_0x288409){}[_0x3dd324(0xa2)](_0x28d088){}[_0x3dd324(0xb2)](_0x15177f){}['onChannelFreqLimitInfoUpdate'](_0xa73743,_0x11d79a,_0x56db47){}[_0x3dd324(0x83)](_0x2092ed){}[_0x3dd324(0x84)](_0x28d814){}[_0x3dd324(0x91)](_0x18ab1b,_0x15d122,_0x39bbb3){}[_0x3dd324(0x9d)](_0x518fb8){}[_0x3dd324(0xac)](_0x47aa76){}[_0x3dd324(0x86)](_0x5f3ae1){}[_0x3dd324(0x90)](_0xa2075c){}['onFirstViewDirectMsgUpdate'](_0xddfe0){}[_0x3dd324(0x87)](_0xf9a09a){}[_0x3dd324(0x92)](_0x294f8a,_0x1fd97f,_0x1b72a6,_0x246c14,_0x1aff05){}[_0x3dd324(0x85)](_0x18cf4e){}[_0x3dd324(0xb3)](_0x4ad54b){}['onGroupGuildUpdate'](_0x293fbf){}[_0x3dd324(0xaa)](_0x2058d7){}[_0x3dd324(0xa3)](_0x32ad01){}['onGuildInteractiveUpdate'](_0x2a6ffa){}['onGuildMsgAbFlagChanged'](_0x3a4a78){}[_0x3dd324(0x8b)](_0x15b273){}[_0x3dd324(0x80)](_0x14ab9c){}[_0x3dd324(0x8c)](_0x333e97){}[_0x3dd324(0x95)](_0x25f558){}['onImportOldDbProgressUpdate'](_0xafe522){}['onInputStatusPush'](_0x524312){}['onKickedOffLine'](_0xdeca06){}[_0x3dd324(0x8f)](_0xd3da71){}[_0x3dd324(0x7d)](_0x5a30df){}['onMsgAbstractUpdate'](_0x2a8a84){}['onMsgBoxChanged'](_0x406db8){}[_0x3dd324(0x7c)](_0x259f9c,_0x3c0513){}[_0x3dd324(0x7f)](_0x1e1092){}[_0x3dd324(0xb0)](_0x12a9b3){}['onMsgInfoListUpdate'](_0xb9bdd){}[_0x3dd324(0xab)](_0x1b0848){}[_0x3dd324(0x7a)](_0xb3b35f,_0x10ee47,_0x4b6110){}['onMsgSecurityNotify'](_0x2e8668){}[_0x3dd324(0x9c)](_0x5d1495){}[_0x3dd324(0x8e)](){}['onNtMsgSyncEnd'](){}[_0x3dd324(0xa9)](){}['onReadFeedEventUpdate'](_0x538649){}['onRecvGroupGuildFlag'](_0x7da62a){}['onRecvMsg'](_0x37953c){}['onRecvMsgSvrRspTransInfo'](_0x6221b6,_0x4dec8b,_0x51dcec,_0x29ab2d,_0xbcb2cb,_0x4352c9){}['onRecvOnlineFileMsg'](_0x4e8401){}[_0x3dd324(0x7e)](_0x248a57){}[_0x3dd324(0xa0)](_0x7f052e){}[_0x3dd324(0x9f)](_0x24f5f7){}[_0x3dd324(0xa7)](_0x1e8787){}[_0x3dd324(0x81)](_0x3055f3){}[_0x3dd324(0xa8)](_0x3c22da){}['onSearchGroupFileInfoUpdate'](_0xf31bd3){}[_0x3dd324(0x9b)](_0x2147b7,_0x3f0711,_0x19b48b,_0x3a299f){}[_0x3dd324(0xae)](_0x3dc339,_0x4592b3,_0x2e2acd,_0xbc3113){}[_0x3dd324(0xa6)](_0x4f8f00){}[_0x3dd324(0x96)](_0xfc5686){}[_0x3dd324(0x94)](_0xade391){}[_0x3dd324(0x89)](_0x152e6f){}[_0x3dd324(0x8d)](_0x46268e){}['onUserTabStatusChanged'](_0x3071e7){}[_0x3dd324(0x98)](_0x4fd827,_0x4c12ec,_0x244dfb){}[_0x3dd324(0xad)](_0x255dd9,_0x38828a,_0x15e083){}[_0x3dd324(0xa4)](..._0x9a7853){}['onMsgWithRichLinkInfoUpdate'](..._0x124f2d){}['onRedTouchChanged'](..._0x229ffd){}[_0x3dd324(0xaf)](..._0x27ba19){}} \ 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 03e98182..5dc965fe 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x24a31b=_0x8164;(function(_0x4b2dac,_0x218db5){var _0x251246=_0x8164,_0xa80bd4=_0x4b2dac();while(!![]){try{var _0x20f0fe=parseInt(_0x251246(0x147))/0x1+-parseInt(_0x251246(0x150))/0x2+parseInt(_0x251246(0x144))/0x3*(parseInt(_0x251246(0x146))/0x4)+-parseInt(_0x251246(0x142))/0x5*(-parseInt(_0x251246(0x14a))/0x6)+parseInt(_0x251246(0x14f))/0x7+parseInt(_0x251246(0x14e))/0x8*(-parseInt(_0x251246(0x14c))/0x9)+-parseInt(_0x251246(0x143))/0xa*(parseInt(_0x251246(0x145))/0xb);if(_0x20f0fe===_0x218db5)break;else _0xa80bd4['push'](_0xa80bd4['shift']());}catch(_0xd7841a){_0xa80bd4['push'](_0xa80bd4['shift']());}}}(_0x3c9f,0x86901));export class ProfileListener{[_0x24a31b(0x141)](..._0x175841){}[_0x24a31b(0x14b)](_0x32c0d8){}[_0x24a31b(0x148)](..._0x56b6ad){}[_0x24a31b(0x149)](..._0x52d6bb){}[_0x24a31b(0x14d)](..._0x4b1772){}}function _0x8164(_0x457102,_0x23c21f){var _0x3c9ffb=_0x3c9f();return _0x8164=function(_0x8164f0,_0x5ae537){_0x8164f0=_0x8164f0-0x141;var _0x407d0b=_0x3c9ffb[_0x8164f0];return _0x407d0b;},_0x8164(_0x457102,_0x23c21f);}function _0x3c9f(){var _0x5e001f=['3818388nlsNcA','507064iEmAZB','onProfileSimpleChanged','585rzRWYW','10oekUcM','1212nQTtvV','24524203BSRyQR','5416nOYGQv','1090124gQAOpb','onStatusUpdate','onSelfStatusChanged','43824eljpxa','onProfileDetailInfoChanged','13581ccOqMK','onStrangerRemarkChanged','16xAxlSl'];_0x3c9f=function(){return _0x5e001f;};return _0x3c9f();} \ No newline at end of file +var _0xb6ff06=_0x190f;function _0x190f(_0x2b9531,_0x5eebab){var _0x33ba3e=_0x33ba();return _0x190f=function(_0x190f89,_0x398c0b){_0x190f89=_0x190f89-0x189;var _0x2b394a=_0x33ba3e[_0x190f89];return _0x2b394a;},_0x190f(_0x2b9531,_0x5eebab);}(function(_0x12ad70,_0x2f5174){var _0x2f7b6a=_0x190f,_0x4f568f=_0x12ad70();while(!![]){try{var _0x427692=-parseInt(_0x2f7b6a(0x189))/0x1*(parseInt(_0x2f7b6a(0x18d))/0x2)+-parseInt(_0x2f7b6a(0x18c))/0x3+-parseInt(_0x2f7b6a(0x190))/0x4+-parseInt(_0x2f7b6a(0x194))/0x5+-parseInt(_0x2f7b6a(0x18e))/0x6+-parseInt(_0x2f7b6a(0x18b))/0x7+parseInt(_0x2f7b6a(0x193))/0x8;if(_0x427692===_0x2f5174)break;else _0x4f568f['push'](_0x4f568f['shift']());}catch(_0x33c330){_0x4f568f['push'](_0x4f568f['shift']());}}}(_0x33ba,0xe6017));function _0x33ba(){var _0x4d8dc0=['2222990BRwKBy','1417yhsuFs','onStrangerRemarkChanged','1005627MSbeSU','2394435flaBgt','330wvlHId','5389782YxAKyf','onProfileSimpleChanged','5739512yfGlzD','onSelfStatusChanged','onProfileDetailInfoChanged','39163896sRELSt'];_0x33ba=function(){return _0x4d8dc0;};return _0x33ba();}export class ProfileListener{[_0xb6ff06(0x18f)](..._0x3564c9){}[_0xb6ff06(0x192)](_0x163de5){}['onStatusUpdate'](..._0x247c96){}[_0xb6ff06(0x191)](..._0x274005){}[_0xb6ff06(0x18a)](..._0x83bb4c){}} \ 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 f77e7932..a29665a5 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -function _0x12b6(){var _0x178321=['12829dnUksI','1463352EhAoOy','2466325wOXXSS','1039140xBGiZv','26vtxCuz','8KRrEsh','6294609iPFzPt','1652284dcHWBh','onRobotListChanged','490777MekFNu'];_0x12b6=function(){return _0x178321;};return _0x12b6();}var _0x3598a6=_0x42ef;function _0x42ef(_0x3495b0,_0x33b96b){var _0x12b61c=_0x12b6();return _0x42ef=function(_0x42efd8,_0x3a4db7){_0x42efd8=_0x42efd8-0xcc;var _0x451a84=_0x12b61c[_0x42efd8];return _0x451a84;},_0x42ef(_0x3495b0,_0x33b96b);}(function(_0x393be9,_0x101235){var _0x4f89ec=_0x42ef,_0x4bba43=_0x393be9();while(!![]){try{var _0xdf71f2=parseInt(_0x4f89ec(0xd1))/0x1*(parseInt(_0x4f89ec(0xd5))/0x2)+-parseInt(_0x4f89ec(0xd4))/0x3+-parseInt(_0x4f89ec(0xce))/0x4+parseInt(_0x4f89ec(0xd3))/0x5+-parseInt(_0x4f89ec(0xd2))/0x6+-parseInt(_0x4f89ec(0xd0))/0x7+-parseInt(_0x4f89ec(0xcc))/0x8*(-parseInt(_0x4f89ec(0xcd))/0x9);if(_0xdf71f2===_0x101235)break;else _0x4bba43['push'](_0x4bba43['shift']());}catch(_0xaa1314){_0x4bba43['push'](_0x4bba43['shift']());}}}(_0x12b6,0x45d25));export class KernelRobotListener{['onRobotFriendListChanged'](..._0x5259d8){}[_0x3598a6(0xcf)](..._0x17c92d){}['onRobotProfileChanged'](..._0x4c8cf9){}} \ No newline at end of file +function _0x1ac2(_0x503669,_0x929a1f){var _0x891cea=_0x891c();return _0x1ac2=function(_0x1ac231,_0x13e96f){_0x1ac231=_0x1ac231-0x12b;var _0x20ab41=_0x891cea[_0x1ac231];return _0x20ab41;},_0x1ac2(_0x503669,_0x929a1f);}function _0x891c(){var _0x32a8de=['1761tbkelY','onRobotFriendListChanged','1703120EvnAJP','90582LHErXo','onRobotListChanged','onRobotProfileChanged','32yVVnFI','2124117HLNLBn','383586IkLkSp','21898kwCmze','5vUPHID','438680CDOkOz','15IckyxV','1264jNFOaz'];_0x891c=function(){return _0x32a8de;};return _0x891c();}var _0x20555a=_0x1ac2;(function(_0x249772,_0x1a5bab){var _0x45b9cc=_0x1ac2,_0x42250f=_0x249772();while(!![]){try{var _0x3b2ec6=parseInt(_0x45b9cc(0x12c))/0x1*(-parseInt(_0x45b9cc(0x137))/0x2)+parseInt(_0x45b9cc(0x12e))/0x3*(parseInt(_0x45b9cc(0x12d))/0x4)+-parseInt(_0x45b9cc(0x138))/0x5*(parseInt(_0x45b9cc(0x131))/0x6)+parseInt(_0x45b9cc(0x136))/0x7*(parseInt(_0x45b9cc(0x134))/0x8)+-parseInt(_0x45b9cc(0x135))/0x9+parseInt(_0x45b9cc(0x130))/0xa+-parseInt(_0x45b9cc(0x12b))/0xb;if(_0x3b2ec6===_0x1a5bab)break;else _0x42250f['push'](_0x42250f['shift']());}catch(_0x541c03){_0x42250f['push'](_0x42250f['shift']());}}}(_0x891c,0x1d3db));export class KernelRobotListener{[_0x20555a(0x12f)](..._0x3c3d41){}[_0x20555a(0x132)](..._0x59514f){}[_0x20555a(0x133)](..._0x51b5c7){}} \ 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 baca473b..30cc01b8 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x26b9(_0x23e1a5,_0x5871ef){var _0x1e1882=_0x1e18();return _0x26b9=function(_0x26b978,_0x48bd1d){_0x26b978=_0x26b978-0x1b1;var _0x407e0e=_0x1e1882[_0x26b978];return _0x407e0e;},_0x26b9(_0x23e1a5,_0x5871ef);}var _0x47ddcf=_0x26b9;function _0x1e18(){var _0x12d76d=['177448YtwNHJ','3onEDxX','onUserOnlineResult','onGetSelfTinyId','onGProSessionCreate','216gwddpS','2157450rNgdoC','13746150VmtuTM','2196404sAJusi','535772mYQksn','129644TbjAIB','onNTSessionCreate','45XWHQlc','180454pXilzw'];_0x1e18=function(){return _0x12d76d;};return _0x1e18();}(function(_0x4cac57,_0x3001a5){var _0xcae90f=_0x26b9,_0x8f2bd0=_0x4cac57();while(!![]){try{var _0x4e82ee=-parseInt(_0xcae90f(0x1b3))/0x1+-parseInt(_0xcae90f(0x1b7))/0x2*(parseInt(_0xcae90f(0x1b9))/0x3)+-parseInt(_0xcae90f(0x1b4))/0x4*(parseInt(_0xcae90f(0x1b6))/0x5)+-parseInt(_0xcae90f(0x1be))/0x6+-parseInt(_0xcae90f(0x1b2))/0x7+parseInt(_0xcae90f(0x1b8))/0x8*(parseInt(_0xcae90f(0x1bd))/0x9)+parseInt(_0xcae90f(0x1b1))/0xa;if(_0x4e82ee===_0x3001a5)break;else _0x8f2bd0['push'](_0x8f2bd0['shift']());}catch(_0x4c0e93){_0x8f2bd0['push'](_0x8f2bd0['shift']());}}}(_0x1e18,0x4d20a));export class SessionListener{[_0x47ddcf(0x1b5)](_0x129820){}[_0x47ddcf(0x1bc)](_0x367ca6){}['onSessionInitComplete'](_0x16041e){}['onOpentelemetryInit'](_0x1ae321){}[_0x47ddcf(0x1ba)](_0x3a106f){}[_0x47ddcf(0x1bb)](_0xede1ef){}} \ No newline at end of file +var _0x3e75b2=_0x5a7f;function _0x5a7f(_0x37bd2b,_0x383380){var _0x2e5f47=_0x2e5f();return _0x5a7f=function(_0x5a7fa9,_0x4678b7){_0x5a7fa9=_0x5a7fa9-0x119;var _0x2a50db=_0x2e5f47[_0x5a7fa9];return _0x2a50db;},_0x5a7f(_0x37bd2b,_0x383380);}(function(_0x4b8b8e,_0xc38596){var _0x4e5bc4=_0x5a7f,_0x431447=_0x4b8b8e();while(!![]){try{var _0x39128e=parseInt(_0x4e5bc4(0x122))/0x1+-parseInt(_0x4e5bc4(0x11b))/0x2*(parseInt(_0x4e5bc4(0x128))/0x3)+-parseInt(_0x4e5bc4(0x121))/0x4+-parseInt(_0x4e5bc4(0x123))/0x5+parseInt(_0x4e5bc4(0x11e))/0x6+-parseInt(_0x4e5bc4(0x124))/0x7*(parseInt(_0x4e5bc4(0x11c))/0x8)+parseInt(_0x4e5bc4(0x125))/0x9*(parseInt(_0x4e5bc4(0x126))/0xa);if(_0x39128e===_0xc38596)break;else _0x431447['push'](_0x431447['shift']());}catch(_0xd62d81){_0x431447['push'](_0x431447['shift']());}}}(_0x2e5f,0x4c22d));function _0x2e5f(){var _0x4a6f91=['568300QXYvtv','298264gOjHYO','onGProSessionCreate','1042878NgqSyt','onSessionInitComplete','onUserOnlineResult','68604LAuDIf','398158rNpvHM','1024245EyqvQd','70sODCoG','150534VhPVtA','370SkxHnB','onGetSelfTinyId','3QStnhg','onOpentelemetryInit','onNTSessionCreate'];_0x2e5f=function(){return _0x4a6f91;};return _0x2e5f();}export class SessionListener{[_0x3e75b2(0x11a)](_0x227bc9){}[_0x3e75b2(0x11d)](_0x570e5c){}[_0x3e75b2(0x11f)](_0x7e4dfa){}[_0x3e75b2(0x119)](_0x2552d1){}[_0x3e75b2(0x120)](_0x5602b9){}[_0x3e75b2(0x127)](_0x5eff3d){}} \ 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 05024dea..2d7d37ba 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x48efe1=_0x2cfb;function _0x2cfb(_0x288a00,_0x4269f6){var _0x306e35=_0x306e();return _0x2cfb=function(_0x2cfb04,_0x1c047f){_0x2cfb04=_0x2cfb04-0x1a2;var _0x50c97f=_0x306e35[_0x2cfb04];return _0x50c97f;},_0x2cfb(_0x288a00,_0x4269f6);}(function(_0x5ddd2e,_0x445720){var _0x48f419=_0x2cfb,_0x1f4a01=_0x5ddd2e();while(!![]){try{var _0x267411=parseInt(_0x48f419(0x1b1))/0x1+-parseInt(_0x48f419(0x1a3))/0x2+parseInt(_0x48f419(0x1aa))/0x3*(parseInt(_0x48f419(0x1ae))/0x4)+-parseInt(_0x48f419(0x1a5))/0x5*(-parseInt(_0x48f419(0x1ab))/0x6)+-parseInt(_0x48f419(0x1a2))/0x7*(-parseInt(_0x48f419(0x1b0))/0x8)+-parseInt(_0x48f419(0x1af))/0x9*(-parseInt(_0x48f419(0x1b2))/0xa)+parseInt(_0x48f419(0x1a6))/0xb*(-parseInt(_0x48f419(0x1a4))/0xc);if(_0x267411===_0x445720)break;else _0x1f4a01['push'](_0x1f4a01['shift']());}catch(_0x171017){_0x1f4a01['push'](_0x1f4a01['shift']());}}}(_0x306e,0x85fcf));function _0x306e(){var _0x23aa52=['onCleanCacheStorageChanged','onChatCleanDone','1135152VTOFcq','102nhMZlg','onFinishScan','onCleanCacheProgressChanged','8szQqwS','179433EdweNd','8434184JfkfIo','895661KQuvId','20nfrwUH','7ocsRWv','1186660rTzWLI','23814204pjfkXS','111790LksIbA','11mAAjTD','onScanCacheProgressChanged'];_0x306e=function(){return _0x23aa52;};return _0x306e();}export class StorageCleanListener{[_0x48efe1(0x1ad)](_0x330554){}[_0x48efe1(0x1a7)](_0x9458fd){}[_0x48efe1(0x1a8)](_0x4b1b99){}[_0x48efe1(0x1ac)](_0x249031){}[_0x48efe1(0x1a9)](_0x49868a){}} \ No newline at end of file +var _0x5a8b7b=_0x2a99;(function(_0x19f64b,_0x424277){var _0x42cc32=_0x2a99,_0x3e17aa=_0x19f64b();while(!![]){try{var _0x20d96b=-parseInt(_0x42cc32(0x173))/0x1*(parseInt(_0x42cc32(0x178))/0x2)+parseInt(_0x42cc32(0x175))/0x3+-parseInt(_0x42cc32(0x172))/0x4+-parseInt(_0x42cc32(0x17e))/0x5+parseInt(_0x42cc32(0x17b))/0x6+parseInt(_0x42cc32(0x17c))/0x7*(parseInt(_0x42cc32(0x17d))/0x8)+parseInt(_0x42cc32(0x17a))/0x9;if(_0x20d96b===_0x424277)break;else _0x3e17aa['push'](_0x3e17aa['shift']());}catch(_0x2daf40){_0x3e17aa['push'](_0x3e17aa['shift']());}}}(_0x4d1e,0xc2d88));function _0x2a99(_0x1d07c4,_0x362ea7){var _0x4d1e37=_0x4d1e();return _0x2a99=function(_0x2a99a7,_0x44bf1c){_0x2a99a7=_0x2a99a7-0x171;var _0x5c4b86=_0x4d1e37[_0x2a99a7];return _0x5c4b86;},_0x2a99(_0x1d07c4,_0x362ea7);}export class StorageCleanListener{[_0x5a8b7b(0x176)](_0x12022b){}[_0x5a8b7b(0x171)](_0xf3d95e){}[_0x5a8b7b(0x177)](_0x2d4ed6){}[_0x5a8b7b(0x179)](_0x1d12de){}[_0x5a8b7b(0x174)](_0x47110e){}}function _0x4d1e(){var _0x2bff28=['onScanCacheProgressChanged','5640616EqCLOT','1kFSyDG','onChatCleanDone','3873447LjiAIw','onCleanCacheProgressChanged','onCleanCacheStorageChanged','1098602FIudGc','onFinishScan','4446909KOoOfm','1693812buQEyX','7JNyeEy','5793872ThTapk','171215aroNQI'];_0x4d1e=function(){return _0x2bff28;};return _0x4d1e();} \ 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 9d90a4fa..6f7bb78c 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x346d4f,_0x5bdd13){var _0x8530a9=_0x3f54,_0x22a4c0=_0x346d4f();while(!![]){try{var _0x5e6ad4=parseInt(_0x8530a9(0xfc))/0x1*(-parseInt(_0x8530a9(0xfb))/0x2)+parseInt(_0x8530a9(0x100))/0x3*(parseInt(_0x8530a9(0xfd))/0x4)+-parseInt(_0x8530a9(0x101))/0x5+-parseInt(_0x8530a9(0xfa))/0x6+-parseInt(_0x8530a9(0x103))/0x7*(parseInt(_0x8530a9(0x105))/0x8)+parseInt(_0x8530a9(0xff))/0x9*(-parseInt(_0x8530a9(0xfe))/0xa)+parseInt(_0x8530a9(0x102))/0xb*(parseInt(_0x8530a9(0x104))/0xc);if(_0x5e6ad4===_0x5bdd13)break;else _0x22a4c0['push'](_0x22a4c0['shift']());}catch(_0x15a426){_0x22a4c0['push'](_0x22a4c0['shift']());}}}(_0x3793,0x2da0f));function _0x3793(){var _0x366301=['49660GPFLNe','432FFkxJG','12iRascD','595895npHdRI','186681sgFDoA','50421SqDUPh','720WxiJxz','136LwbCKp','1274520gWNWbj','645766QAEhoG','1FhfZbJ','183936ISBUHN'];_0x3793=function(){return _0x366301;};return _0x3793();}export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';function _0x3f54(_0x7e6d35,_0x5e8a1a){var _0x379343=_0x3793();return _0x3f54=function(_0x3f5448,_0x264917){_0x3f5448=_0x3f5448-0xfa;var _0x6f5c76=_0x379343[_0x3f5448];return _0x6f5c76;},_0x3f54(_0x7e6d35,_0x5e8a1a);}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x2a8e01,_0x4be1de){var _0x43c916=_0x16ac,_0x30e9ff=_0x2a8e01();while(!![]){try{var _0x1bc718=-parseInt(_0x43c916(0x19c))/0x1*(parseInt(_0x43c916(0x19f))/0x2)+-parseInt(_0x43c916(0x19b))/0x3*(-parseInt(_0x43c916(0x1a5))/0x4)+-parseInt(_0x43c916(0x1a0))/0x5*(-parseInt(_0x43c916(0x1a2))/0x6)+parseInt(_0x43c916(0x1a6))/0x7+parseInt(_0x43c916(0x19a))/0x8*(-parseInt(_0x43c916(0x1a3))/0x9)+-parseInt(_0x43c916(0x19d))/0xa*(-parseInt(_0x43c916(0x19e))/0xb)+-parseInt(_0x43c916(0x1a4))/0xc*(parseInt(_0x43c916(0x1a1))/0xd);if(_0x1bc718===_0x4be1de)break;else _0x30e9ff['push'](_0x30e9ff['shift']());}catch(_0x3c0474){_0x30e9ff['push'](_0x30e9ff['shift']());}}}(_0x577a,0x6c01d));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';function _0x16ac(_0x2839da,_0x59061a){var _0x577ae2=_0x577a();return _0x16ac=function(_0x16acba,_0x5ddb2b){_0x16acba=_0x16acba-0x19a;var _0x45eacd=_0x577ae2[_0x16acba];return _0x45eacd;},_0x16ac(_0x2839da,_0x59061a);}export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';function _0x577a(){var _0x14a716=['11yKdRXB','4Lgjkoc','5Yrtvlj','13YUUOSc','5254842dlfHuT','23931fZgKIQ','17095812wefbNs','8992nMVHDl','1711836srEMyS','1432LUEVPT','1011FLmLeK','121649lxwwzg','7083760LppBFe'];_0x577a=function(){return _0x14a716;};return _0x577a();} \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelBuddyService.d.ts b/src/core.lib/src/services/NodeIKernelBuddyService.d.ts index 2158d8e2..b6256ce5 100644 --- a/src/core.lib/src/services/NodeIKernelBuddyService.d.ts +++ b/src/core.lib/src/services/NodeIKernelBuddyService.d.ts @@ -50,6 +50,6 @@ export interface NodeIKernelBuddyService { delDoubtBuddyReq(uid: number): void; delAllDoubtBuddyReq(): void; reportDoubtBuddyReqUnread(): void; - getBuddyRecommendContactArkJson(a1: string, a2: string): Promise; + getBuddyRecommendContactArkJson(uid: string, phoneNumber: string): Promise; isNull(): boolean; } diff --git a/src/core.lib/src/services/NodeIKernelNodeMiscService.d.ts b/src/core.lib/src/services/NodeIKernelNodeMiscService.d.ts index 18509ad1..92a19e81 100644 --- a/src/core.lib/src/services/NodeIKernelNodeMiscService.d.ts +++ b/src/core.lib/src/services/NodeIKernelNodeMiscService.d.ts @@ -1,4 +1,5 @@ import { GeneralCallResult } from "./common"; export interface NodeIKernelNodeMiscService { wantWinScreenOCR(imagepath: string): Promise; + SendMiniAppMsg(arg1: string, arg2: string, arg3: string): unknown; } diff --git a/src/core.lib/src/services/NodeIYellowFaceService.js b/src/core.lib/src/services/NodeIYellowFaceService.js index 80185d85..4849e7f3 100644 --- a/src/core.lib/src/services/NodeIYellowFaceService.js +++ b/src/core.lib/src/services/NodeIYellowFaceService.js @@ -1 +1 @@ -'use strict';(function(_0x47f8c5,_0x4c3b03){var _0x1e7208=_0x22c0,_0x568617=_0x47f8c5();while(!![]){try{var _0x4cf1b4=-parseInt(_0x1e7208(0xea))/0x1+parseInt(_0x1e7208(0xe2))/0x2+-parseInt(_0x1e7208(0xe7))/0x3*(-parseInt(_0x1e7208(0xe4))/0x4)+-parseInt(_0x1e7208(0xe9))/0x5*(parseInt(_0x1e7208(0xe5))/0x6)+parseInt(_0x1e7208(0xe3))/0x7*(-parseInt(_0x1e7208(0xe8))/0x8)+parseInt(_0x1e7208(0xec))/0x9+parseInt(_0x1e7208(0xeb))/0xa*(-parseInt(_0x1e7208(0xe6))/0xb);if(_0x4cf1b4===_0x4c3b03)break;else _0x568617['push'](_0x568617['shift']());}catch(_0x379799){_0x568617['push'](_0x568617['shift']());}}}(_0x96fc,0xc9336));function _0x22c0(_0x300c73,_0x5ca2c4){var _0x96fcfd=_0x96fc();return _0x22c0=function(_0x22c095,_0x5bb26b){_0x22c095=_0x22c095-0xe2;var _0x1a4ecf=_0x96fcfd[_0x22c095];return _0x1a4ecf;},_0x22c0(_0x300c73,_0x5ca2c4);}function _0x96fc(){var _0x190ff1=['611694RYfsOa','9808590XGpZhm','12119454kJZrng','2880226bvWGyw','10186666AXaeYl','237128qJPlWO','2832aKVsgJ','11tmcOgR','81jEiYHh','8zYTHtq','5460wZsotq'];_0x96fc=function(){return _0x190ff1;};return _0x96fc();} \ No newline at end of file +'use strict';function _0x497f(){var _0x4843d3=['231464bkhoHa','3hZBWWn','353311AoVpLe','48HOtgio','11664HvNqle','1532ZsBEMr','22081719ODlqmr','8100535NNOGpQ','2090744bOpdxP','8390lMZXTq','17235XnbHMN'];_0x497f=function(){return _0x4843d3;};return _0x497f();}(function(_0x362911,_0x38791f){var _0x41d819=_0x532d,_0x257093=_0x362911();while(!![]){try{var _0x12fac9=-parseInt(_0x41d819(0x13a))/0x1*(parseInt(_0x41d819(0x139))/0x2)+-parseInt(_0x41d819(0x13d))/0x3*(parseInt(_0x41d819(0x13e))/0x4)+-parseInt(_0x41d819(0x140))/0x5+parseInt(_0x41d819(0x13c))/0x6*(parseInt(_0x41d819(0x13b))/0x7)+parseInt(_0x41d819(0x141))/0x8+-parseInt(_0x41d819(0x138))/0x9*(-parseInt(_0x41d819(0x137))/0xa)+parseInt(_0x41d819(0x13f))/0xb;if(_0x12fac9===_0x38791f)break;else _0x257093['push'](_0x257093['shift']());}catch(_0x243946){_0x257093['push'](_0x257093['shift']());}}}(_0x497f,0xc8e32));function _0x532d(_0xfb72f3,_0x326729){var _0x497f99=_0x497f();return _0x532d=function(_0x532d85,_0x53b44d){_0x532d85=_0x532d85-0x137;var _0x11b635=_0x497f99[_0x532d85];return _0x11b635;},_0x532d(_0xfb72f3,_0x326729);} \ No newline at end of file diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index 2f93105b..11974e8f 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -function _0x1d53(_0x5b6224,_0x628e5b){var _0x2098ff=_0x2098();return _0x1d53=function(_0x1d535e,_0x1d82de){_0x1d535e=_0x1d535e-0x1df;var _0x7d5bc1=_0x2098ff[_0x1d535e];return _0x7d5bc1;},_0x1d53(_0x5b6224,_0x628e5b);}(function(_0x135804,_0x15d9fb){var _0x2637e8=_0x1d53,_0x2a7760=_0x135804();while(!![]){try{var _0x48a696=parseInt(_0x2637e8(0x1e2))/0x1+-parseInt(_0x2637e8(0x1e7))/0x2+-parseInt(_0x2637e8(0x1e1))/0x3+-parseInt(_0x2637e8(0x1df))/0x4*(parseInt(_0x2637e8(0x1e4))/0x5)+parseInt(_0x2637e8(0x1e3))/0x6*(-parseInt(_0x2637e8(0x1e5))/0x7)+-parseInt(_0x2637e8(0x1e8))/0x8+-parseInt(_0x2637e8(0x1e6))/0x9*(-parseInt(_0x2637e8(0x1e0))/0xa);if(_0x48a696===_0x15d9fb)break;else _0x2a7760['push'](_0x2a7760['shift']());}catch(_0xf7a085){_0x2a7760['push'](_0x2a7760['shift']());}}}(_0x2098,0x4f0c5));export var GeneralCallResultStatus;(function(_0x5bd826){_0x5bd826[_0x5bd826['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x2098(){var _0x5b2574=['203KlSRYk','9xHSNbV','153242zLpPaK','3324944jYJWFH','1140728QqaOHh','13933810UQjrrj','420684UehBbj','469312GeQOAK','69534xuWtpF','10ippmFN'];_0x2098=function(){return _0x5b2574;};return _0x2098();} \ No newline at end of file +(function(_0x596866,_0x1fbefa){var _0x329334=_0x143e,_0x1f3aa7=_0x596866();while(!![]){try{var _0xc920b2=parseInt(_0x329334(0xd6))/0x1+parseInt(_0x329334(0xda))/0x2*(-parseInt(_0x329334(0xdb))/0x3)+parseInt(_0x329334(0xdf))/0x4*(-parseInt(_0x329334(0xde))/0x5)+parseInt(_0x329334(0xd7))/0x6+-parseInt(_0x329334(0xd5))/0x7+parseInt(_0x329334(0xdc))/0x8*(parseInt(_0x329334(0xdd))/0x9)+parseInt(_0x329334(0xd9))/0xa*(-parseInt(_0x329334(0xd8))/0xb);if(_0xc920b2===_0x1fbefa)break;else _0x1f3aa7['push'](_0x1f3aa7['shift']());}catch(_0x4d9cde){_0x1f3aa7['push'](_0x1f3aa7['shift']());}}}(_0x2324,0x447b1));function _0x143e(_0x3213f0,_0x268b0d){var _0x23243e=_0x2324();return _0x143e=function(_0x143e04,_0x138f72){_0x143e04=_0x143e04-0xd5;var _0x15a76d=_0x23243e[_0x143e04];return _0x15a76d;},_0x143e(_0x3213f0,_0x268b0d);}function _0x2324(){var _0x2fa3e0=['363779LAuEeO','5064UdIaJD','371250XjiIKy','20EdlUqj','102610flWXAX','9FpjktL','860136EHXdoi','45gWnRcW','285150FpRxlC','20WxbFXj','806022JtSHMp'];_0x2324=function(){return _0x2fa3e0;};return _0x2324();}export var GeneralCallResultStatus;(function(_0x55b3cf){_0x55b3cf[_0x55b3cf['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 48d1a562..3dae8fde 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0xa1aef9,_0x5ddcb6){var _0x2c8ff9=_0x4923,_0xb77c5a=_0xa1aef9();while(!![]){try{var _0x4777be=parseInt(_0x2c8ff9(0x10c))/0x1+-parseInt(_0x2c8ff9(0x110))/0x2*(-parseInt(_0x2c8ff9(0x108))/0x3)+-parseInt(_0x2c8ff9(0x10a))/0x4+-parseInt(_0x2c8ff9(0x10f))/0x5*(parseInt(_0x2c8ff9(0x10e))/0x6)+parseInt(_0x2c8ff9(0x109))/0x7*(parseInt(_0x2c8ff9(0x10b))/0x8)+parseInt(_0x2c8ff9(0x107))/0x9+-parseInt(_0x2c8ff9(0x10d))/0xa;if(_0x4777be===_0x5ddcb6)break;else _0xb77c5a['push'](_0xb77c5a['shift']());}catch(_0x496a01){_0xb77c5a['push'](_0xb77c5a['shift']());}}}(_0x2f9f,0xf2654));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';function _0x4923(_0x38b830,_0x15e4b2){var _0x2f9f08=_0x2f9f();return _0x4923=function(_0x492332,_0x3f979f){_0x492332=_0x492332-0x107;var _0x1a0fa1=_0x2f9f08[_0x492332];return _0x1a0fa1;},_0x4923(_0x38b830,_0x15e4b2);}export*from'./NodeIKernelRobotService';function _0x2f9f(){var _0x5c0354=['14ppkJSN','2748724ItzuWR','7546376GIfaEf','1807304ojQoTz','23363450kxmOsb','4038EhsJGY','11565PxSywV','4yFJExs','16195455FlyMrL','119451TvXRQJ'];_0x2f9f=function(){return _0x5c0354;};return _0x2f9f();}export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x46c73d,_0x4986e3){var _0x155cec=_0x53b8,_0x151e8b=_0x46c73d();while(!![]){try{var _0x149c99=-parseInt(_0x155cec(0xa4))/0x1*(-parseInt(_0x155cec(0xa2))/0x2)+parseInt(_0x155cec(0x9f))/0x3*(parseInt(_0x155cec(0xa0))/0x4)+-parseInt(_0x155cec(0x9c))/0x5+-parseInt(_0x155cec(0xa1))/0x6+parseInt(_0x155cec(0xa5))/0x7+parseInt(_0x155cec(0x9e))/0x8*(-parseInt(_0x155cec(0x9d))/0x9)+parseInt(_0x155cec(0xa3))/0xa;if(_0x149c99===_0x4986e3)break;else _0x151e8b['push'](_0x151e8b['shift']());}catch(_0x3941ca){_0x151e8b['push'](_0x151e8b['shift']());}}}(_0x3e3a,0xdc89f));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';function _0x53b8(_0xe4a49d,_0x114d2d){var _0x3e3a3a=_0x3e3a();return _0x53b8=function(_0x53b81f,_0x4f95b0){_0x53b81f=_0x53b81f-0x9c;var _0x39f043=_0x3e3a3a[_0x53b81f];return _0x39f043;},_0x53b8(_0xe4a49d,_0x114d2d);}export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';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';function _0x3e3a(){var _0x1b9d35=['39033VDtXUL','2824RrmxHK','2844IUVwBE','1700kwlSej','1858386PsTGZm','4ByCAsW','5850620TIffsx','703790YVgaKm','6444508VlndEy','2860835IMIpEc'];_0x3e3a=function(){return _0x1b9d35;};return _0x3e3a();}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 9af8a774..8a8dd2d3 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x3b4c1a,_0x33e9a7){var _0x4a85d1=_0x56b5,_0x56bf4c=_0x3b4c1a();while(!![]){try{var _0x396c62=parseInt(_0x4a85d1(0x1c4))/0x1+parseInt(_0x4a85d1(0x1d7))/0x2*(parseInt(_0x4a85d1(0x1d6))/0x3)+parseInt(_0x4a85d1(0x1b5))/0x4*(parseInt(_0x4a85d1(0x1b2))/0x5)+-parseInt(_0x4a85d1(0x1b1))/0x6*(-parseInt(_0x4a85d1(0x1cf))/0x7)+parseInt(_0x4a85d1(0x1af))/0x8*(parseInt(_0x4a85d1(0x1b8))/0x9)+parseInt(_0x4a85d1(0x1b3))/0xa*(parseInt(_0x4a85d1(0x1c3))/0xb)+-parseInt(_0x4a85d1(0x1ca))/0xc;if(_0x396c62===_0x33e9a7)break;else _0x56bf4c['push'](_0x56bf4c['shift']());}catch(_0x2ad6d5){_0x56bf4c['push'](_0x56bf4c['shift']());}}}(_0x1f5b,0x9b57e));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x1dc051 from'node:path';import _0x13f863 from'node:fs';function _0x1f5b(){var _0x5927f2=['kkove','zvDnt','CsUiV','dtpAu','split','1|0|4|3|2','5|6|2|4|1|0|3','cjSyi','XeNIJ','6380HgIHfk','916059Jrqdzp','eSWUt','KSUPPORTTPNS','kqqEn','VlLwa','xxRkG','33604344LNsxIe','KNOSETONIOS','KMAC','BOyVQ','LRpvo','8079715PHVdkJ','KSUPPORTOPPOPUSH','join','pIMEI','KSUPPORTGOOGLEPUSH','KPAD','KCOMPUTER','39nIhYtx','117310arrgFY','UsHKT','assign','version','KANDROID','KIOS','149832twCyBV','ctdQz','6xXwFId','4040JHvQCZ','5630zjIsTo','EcZdA','1280JvRVTV','Xwlxe','KUNKNOWN','9cINyvs','KSUPPORTVIVOPUSH'];_0x1f5b=function(){return _0x5927f2;};return _0x1f5b();}import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x4ab6b7){var _0x31ed3c=_0x56b5,_0x7d21ea={'VlLwa':_0x31ed3c(0x1bf),'UsHKT':_0x31ed3c(0x1ad),'Xwlxe':'KUNKNOWN','QRfyW':_0x31ed3c(0x1cc),'kqqEn':'KWINDOWS','zvDnt':_0x31ed3c(0x1ae)},_0x5f6566=_0x7d21ea[_0x31ed3c(0x1c8)][_0x31ed3c(0x1be)]('|'),_0x4e946b=0x0;while(!![]){switch(_0x5f6566[_0x4e946b++]){case'0':_0x4ab6b7[_0x4ab6b7[_0x7d21ea[_0x31ed3c(0x1d8)]]=0x1]=_0x7d21ea['UsHKT'];continue;case'1':_0x4ab6b7[_0x4ab6b7[_0x7d21ea[_0x31ed3c(0x1b6)]]=0x0]=_0x7d21ea[_0x31ed3c(0x1b6)];continue;case'2':_0x4ab6b7[_0x4ab6b7['KMAC']=0x4]=_0x7d21ea['QRfyW'];continue;case'3':_0x4ab6b7[_0x4ab6b7[_0x7d21ea[_0x31ed3c(0x1c7)]]=0x3]=_0x7d21ea[_0x31ed3c(0x1c7)];continue;case'4':_0x4ab6b7[_0x4ab6b7[_0x7d21ea[_0x31ed3c(0x1bb)]]=0x2]=_0x7d21ea[_0x31ed3c(0x1bb)];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x569de6){var _0x573e2a=_0x56b5,_0x3916e8={'XeNIJ':_0x573e2a(0x1b7),'CsUiV':_0x573e2a(0x1d4),'pIMEI':_0x573e2a(0x1d5)};_0x569de6[_0x569de6[_0x3916e8[_0x573e2a(0x1c2)]]=0x0]=_0x3916e8[_0x573e2a(0x1c2)],_0x569de6[_0x569de6['KPHONE']=0x1]='KPHONE',_0x569de6[_0x569de6[_0x3916e8[_0x573e2a(0x1bc)]]=0x2]=_0x3916e8[_0x573e2a(0x1bc)],_0x569de6[_0x569de6[_0x3916e8[_0x573e2a(0x1d2)]]=0x3]=_0x573e2a(0x1d5);}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x28766f){var _0x72ed35=_0x56b5,_0x48bfa1={'scfuT':_0x72ed35(0x1c0),'LRpvo':_0x72ed35(0x1b9),'kkove':_0x72ed35(0x1c6),'EcZdA':'KSUPPORTHMS','xxRkG':'KUNSUPPORTANDROIDPUSH','dtpAu':_0x72ed35(0x1d0),'cjSyi':_0x72ed35(0x1cb),'eSWUt':'KSUPPORTGOOGLEPUSH'},_0x96f906=_0x48bfa1['scfuT']['split']('|'),_0x12672d=0x0;while(!![]){switch(_0x96f906[_0x12672d++]){case'0':_0x28766f[_0x28766f[_0x48bfa1[_0x72ed35(0x1ce)]]=0x5]=_0x48bfa1[_0x72ed35(0x1ce)];continue;case'1':_0x28766f[_0x28766f[_0x48bfa1[_0x72ed35(0x1ba)]]=0x2]=_0x48bfa1['kkove'];continue;case'2':_0x28766f[_0x28766f['KSUPPORTHMS']=0x3]=_0x48bfa1[_0x72ed35(0x1b4)];continue;case'3':_0x28766f[_0x28766f[_0x48bfa1[_0x72ed35(0x1c9)]]=0x1]=_0x48bfa1['xxRkG'];continue;case'4':_0x28766f[_0x28766f[_0x48bfa1[_0x72ed35(0x1bd)]]=0x4]=_0x48bfa1[_0x72ed35(0x1bd)];continue;case'5':_0x28766f[_0x28766f[_0x48bfa1[_0x72ed35(0x1c1)]]=0x0]=_0x48bfa1[_0x72ed35(0x1c1)];continue;case'6':_0x28766f[_0x28766f[_0x72ed35(0x1d3)]=0x63]=_0x48bfa1[_0x72ed35(0x1c5)];continue;}break;}}(VendorType||(VendorType={})));function _0x56b5(_0x3ec2ba,_0x4f8202){var _0x1f5bd0=_0x1f5b();return _0x56b5=function(_0x56b513,_0x5a1805){_0x56b513=_0x56b513-0x1ac;var _0x333c91=_0x1f5bd0[_0x56b513];return _0x333c91;},_0x56b5(_0x3ec2ba,_0x4f8202);}export const sessionConfig={};export async function genSessionConfig(_0x4deb78,_0x47ea16,_0x488fdf){var _0x5f3fba=_0x56b5,_0x45100b={'BOyVQ':'NapCat','xVteG':function(_0xb588bd){return _0xb588bd();},'ctdQz':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'};const _0x2fdb80=_0x1dc051[_0x5f3fba(0x1d1)](_0x488fdf,_0x45100b[_0x5f3fba(0x1cd)],'temp');_0x13f863['mkdirSync'](_0x2fdb80,{'recursive':!![]});let _0x2e88af=await _0x45100b['xVteG'](getMachineId);const _0x577563={'selfUin':_0x4deb78,'selfUid':_0x47ea16,'desktopPathConfig':{'account_path':_0x488fdf},'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':_0x2fdb80,'deviceInfo':{'guid':_0x2e88af,'buildVer':qqPkgInfo[_0x5f3fba(0x1ac)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x45100b[_0x5f3fba(0x1b0)]};return Object[_0x5f3fba(0x1d9)](sessionConfig,_0x577563),_0x577563;} \ No newline at end of file +(function(_0x465b22,_0x375225){var _0x37c856=_0x45b7,_0x5b3e0c=_0x465b22();while(!![]){try{var _0x476621=-parseInt(_0x37c856(0x16d))/0x1*(-parseInt(_0x37c856(0x14c))/0x2)+-parseInt(_0x37c856(0x159))/0x3+-parseInt(_0x37c856(0x14e))/0x4*(parseInt(_0x37c856(0x165))/0x5)+parseInt(_0x37c856(0x15b))/0x6+-parseInt(_0x37c856(0x16e))/0x7+parseInt(_0x37c856(0x160))/0x8*(parseInt(_0x37c856(0x15a))/0x9)+-parseInt(_0x37c856(0x172))/0xa*(-parseInt(_0x37c856(0x14b))/0xb);if(_0x476621===_0x375225)break;else _0x5b3e0c['push'](_0x5b3e0c['shift']());}catch(_0x5cfa7e){_0x5b3e0c['push'](_0x5b3e0c['shift']());}}}(_0x196b,0xe0cf2));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x19ed2f from'node:path';import _0x437de0 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x4dc357){var _0x16f4d6=_0x45b7,_0x26a219={'owXfg':_0x16f4d6(0x173),'aPchI':'KMAC','FQhmB':_0x16f4d6(0x16f),'RBMxa':'KUNKNOWN','XIIAh':_0x16f4d6(0x16b),'Quzpx':'KANDROID'},_0x4c5a94=_0x26a219['owXfg'][_0x16f4d6(0x147)]('|'),_0x34bff7=0x0;while(!![]){switch(_0x4c5a94[_0x34bff7++]){case'0':_0x4dc357[_0x4dc357[_0x26a219['aPchI']]=0x4]='KMAC';continue;case'1':_0x4dc357[_0x4dc357[_0x16f4d6(0x16f)]=0x3]=_0x26a219[_0x16f4d6(0x166)];continue;case'2':_0x4dc357[_0x4dc357[_0x26a219[_0x16f4d6(0x171)]]=0x0]=_0x26a219[_0x16f4d6(0x171)];continue;case'3':_0x4dc357[_0x4dc357[_0x26a219[_0x16f4d6(0x15d)]]=0x2]=_0x26a219['XIIAh'];continue;case'4':_0x4dc357[_0x4dc357[_0x26a219[_0x16f4d6(0x14a)]]=0x1]='KANDROID';continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;function _0x196b(){var _0x4032b2=['KSUPPORTGOOGLEPUSH','Quzpx','297yIQRXe','3195886bWwlOB','aIFVS','227372dTkRds','temp','KUNSUPPORTANDROIDPUSH','rjhPj','KSUPPORTTPNS','zZgaZ','KNOSETONIOS','wAMDz','zNkUu','KPAD','ifYYF','1038366FBOjfT','1132767yatBkR','6843408RXETpU','mkdirSync','XIIAh','GSoaN','KCOMPUTER','32ZOBbkX','5|4|0|6|3|2|1','IFMGH','ESpXZ','KSUPPORTHMS','145BBTUGO','FQhmB','xGwFs','join','NapCat','version','KIOS','ZLRxY','1jvLZBH','8395835rRzxgp','KWINDOWS','RIpBp','RBMxa','323270TdGtun','2|4|3|1|0','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','curVersion','split','AOWyH'];_0x196b=function(){return _0x4032b2;};return _0x196b();}(function(_0x2e6342){var _0x88f4f9=_0x45b7,_0x6d1317={'FxyOG':'KUNKNOWN','zNkUu':'KPHONE','brgGt':_0x88f4f9(0x157),'xGwFs':_0x88f4f9(0x15f)};_0x2e6342[_0x2e6342[_0x6d1317['FxyOG']]=0x0]=_0x6d1317['FxyOG'],_0x2e6342[_0x2e6342[_0x6d1317[_0x88f4f9(0x156)]]=0x1]=_0x6d1317[_0x88f4f9(0x156)],_0x2e6342[_0x2e6342[_0x6d1317['brgGt']]=0x2]=_0x88f4f9(0x157),_0x2e6342[_0x2e6342[_0x6d1317[_0x88f4f9(0x167)]]=0x3]=_0x6d1317[_0x88f4f9(0x167)];}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x57aa37){var _0xac0ad=_0x45b7,_0x3dd482={'IFMGH':_0xac0ad(0x161),'aIFVS':_0xac0ad(0x164),'wAMDz':_0xac0ad(0x150),'zZgaZ':'KSUPPORTVIVOPUSH','ifYYF':_0xac0ad(0x152),'ZLRxY':_0xac0ad(0x149),'ESpXZ':_0xac0ad(0x154),'GSoaN':'KSUPPORTOPPOPUSH'},_0x1ed04a=_0x3dd482[_0xac0ad(0x162)]['split']('|'),_0x2107c2=0x0;while(!![]){switch(_0x1ed04a[_0x2107c2++]){case'0':_0x57aa37[_0x57aa37[_0xac0ad(0x164)]=0x3]=_0x3dd482[_0xac0ad(0x14d)];continue;case'1':_0x57aa37[_0x57aa37[_0x3dd482[_0xac0ad(0x155)]]=0x1]=_0xac0ad(0x150);continue;case'2':_0x57aa37[_0x57aa37[_0x3dd482[_0xac0ad(0x153)]]=0x5]=_0x3dd482['zZgaZ'];continue;case'3':_0x57aa37[_0x57aa37[_0x3dd482[_0xac0ad(0x158)]]=0x2]=_0xac0ad(0x152);continue;case'4':_0x57aa37[_0x57aa37[_0x3dd482[_0xac0ad(0x16c)]]=0x63]=_0x3dd482[_0xac0ad(0x16c)];continue;case'5':_0x57aa37[_0x57aa37[_0x3dd482[_0xac0ad(0x163)]]=0x0]=_0x3dd482[_0xac0ad(0x163)];continue;case'6':_0x57aa37[_0x57aa37[_0x3dd482[_0xac0ad(0x15e)]]=0x4]=_0x3dd482[_0xac0ad(0x15e)];continue;}break;}}(VendorType||(VendorType={})));export const sessionConfig={};function _0x45b7(_0x5a7aec,_0xc0c0b8){var _0x196b2e=_0x196b();return _0x45b7=function(_0x45b7fc,_0x4eae71){_0x45b7fc=_0x45b7fc-0x145;var _0x39cb86=_0x196b2e[_0x45b7fc];return _0x39cb86;},_0x45b7(_0x5a7aec,_0xc0c0b8);}export async function genSessionConfig(_0x8596c6,_0x24f29d,_0x53ab1b){var _0x60b1e0=_0x45b7,_0x331d69={'jMmvf':_0x60b1e0(0x169),'AOWyH':_0x60b1e0(0x14f),'rjhPj':function(_0x1087fc){return _0x1087fc();},'RIpBp':_0x60b1e0(0x145)};const _0x5a3133=_0x19ed2f[_0x60b1e0(0x168)](_0x53ab1b,_0x331d69['jMmvf'],_0x331d69[_0x60b1e0(0x148)]);_0x437de0[_0x60b1e0(0x15c)](_0x5a3133,{'recursive':!![]});let _0xffb5bf=await _0x331d69[_0x60b1e0(0x151)](getMachineId);const _0x77273e={'selfUin':_0x8596c6,'selfUid':_0x24f29d,'desktopPathConfig':{'account_path':_0x53ab1b},'clientVer':qqVersionConfigInfo[_0x60b1e0(0x146)],'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':_0x5a3133,'deviceInfo':{'guid':_0xffb5bf,'buildVer':qqPkgInfo[_0x60b1e0(0x16a)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x331d69[_0x60b1e0(0x170)]};return Object['assign'](sessionConfig,_0x77273e),_0x77273e;} \ 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 6c66460d..c9a891fd 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x4acb74=_0x3684;function _0x476a(){const _0x14a7d8=['fileLogLevel','5475152acPyIN','consoleLogLevel','9192AiqmVz','.json','2534045FCYLYx','uin','441982TwsPpm','1302mSQKtl','join','INFO','consoleLog','30331593TprxyP','DEBUG','1902zLvQqb','3105224pVQYKa','getConfigDir','33822PQJfEv','fileLog'];_0x476a=function(){return _0x14a7d8;};return _0x476a();}(function(_0x37766c,_0x47ebfc){const _0x404e1d=_0x3684,_0xb77bf5=_0x37766c();while(!![]){try{const _0x5e2991=-parseInt(_0x404e1d(0x1c8))/0x1+-parseInt(_0x404e1d(0x1bd))/0x2+parseInt(_0x404e1d(0x1bc))/0x3*(-parseInt(_0x404e1d(0x1c4))/0x4)+parseInt(_0x404e1d(0x1c6))/0x5+parseInt(_0x404e1d(0x1bf))/0x6*(parseInt(_0x404e1d(0x1c9))/0x7)+-parseInt(_0x404e1d(0x1c2))/0x8+parseInt(_0x404e1d(0x1cd))/0x9;if(_0x5e2991===_0x47ebfc)break;else _0xb77bf5['push'](_0xb77bf5['shift']());}catch(_0x103aff){_0xb77bf5['push'](_0xb77bf5['shift']());}}}(_0x476a,0xc0c2c));import _0x2a43d3 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';function _0x3684(_0x4bb9cd,_0x270b92){const _0x476a78=_0x476a();return _0x3684=function(_0x3684f2,_0x1242ad){_0x3684f2=_0x3684f2-0x1bb;let _0xa5c2b8=_0x476a78[_0x3684f2];return _0xa5c2b8;},_0x3684(_0x4bb9cd,_0x270b92);}class Config extends ConfigBase{[_0x4acb74(0x1c0)]=!![];[_0x4acb74(0x1cc)]=!![];[_0x4acb74(0x1c1)]=LogLevel[_0x4acb74(0x1bb)];[_0x4acb74(0x1c3)]=LogLevel[_0x4acb74(0x1cb)];constructor(){super();}['getConfigPath'](){const _0x537a10=_0x4acb74;return _0x2a43d3[_0x537a10(0x1ca)](this[_0x537a10(0x1be)](),'napcat_'+selfInfo[_0x537a10(0x1c7)]+_0x537a10(0x1c5));}}export const napCatConfig=new Config(); \ No newline at end of file +const _0x10059d=_0x44b9;(function(_0x32bc22,_0x27d908){const _0x319dd0=_0x44b9,_0x51b249=_0x32bc22();while(!![]){try{const _0x2ae972=parseInt(_0x319dd0(0x116))/0x1+parseInt(_0x319dd0(0x11c))/0x2*(-parseInt(_0x319dd0(0x11d))/0x3)+parseInt(_0x319dd0(0x11b))/0x4*(-parseInt(_0x319dd0(0x113))/0x5)+parseInt(_0x319dd0(0x11f))/0x6*(-parseInt(_0x319dd0(0x120))/0x7)+-parseInt(_0x319dd0(0x119))/0x8+-parseInt(_0x319dd0(0x125))/0x9+parseInt(_0x319dd0(0x115))/0xa;if(_0x2ae972===_0x27d908)break;else _0x51b249['push'](_0x51b249['shift']());}catch(_0x42076b){_0x51b249['push'](_0x51b249['shift']());}}}(_0x3cfe,0x725cf));function _0x44b9(_0x56b858,_0x102dcf){const _0x3cfe78=_0x3cfe();return _0x44b9=function(_0x44b947,_0x31b03a){_0x44b947=_0x44b947-0x113;let _0x1cbdfc=_0x3cfe78[_0x44b947];return _0x1cbdfc;},_0x44b9(_0x56b858,_0x102dcf);}import _0x5cb7dc from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x10059d(0x126)]=!![];[_0x10059d(0x123)]=!![];[_0x10059d(0x11a)]=LogLevel[_0x10059d(0x118)];[_0x10059d(0x124)]=LogLevel['INFO'];constructor(){super();}[_0x10059d(0x117)](){const _0x5efee6=_0x10059d;return _0x5cb7dc[_0x5efee6(0x121)](this[_0x5efee6(0x11e)](),_0x5efee6(0x122)+selfInfo['uin']+_0x5efee6(0x114));}}export const napCatConfig=new Config();function _0x3cfe(){const _0x5aa41a=['fileLogLevel','2424452XJIiLA','1006qsgAnf','789tFffFX','getConfigDir','2248050RwyWln','7FyQfEt','join','napcat_','consoleLog','consoleLogLevel','6225354lmvyNV','fileLog','5wOKXzk','.json','23752340hTvEll','7729KrJxKP','getConfigPath','DEBUG','877992qmqwkC'];_0x3cfe=function(){return _0x5aa41a;};return _0x3cfe();} \ No newline at end of file diff --git a/src/core.lib/src/utils/rkey.js b/src/core.lib/src/utils/rkey.js index 3d4e89b2..d1e11ddc 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x3a7659=_0x4e0f;(function(_0x574b1a,_0x537f6a){const _0x15326a=_0x4e0f,_0x30b2ac=_0x574b1a();while(!![]){try{const _0x2984b=parseInt(_0x15326a(0x167))/0x1+parseInt(_0x15326a(0x160))/0x2*(-parseInt(_0x15326a(0x16b))/0x3)+-parseInt(_0x15326a(0x161))/0x4+parseInt(_0x15326a(0x162))/0x5+-parseInt(_0x15326a(0x171))/0x6+parseInt(_0x15326a(0x164))/0x7+parseInt(_0x15326a(0x166))/0x8*(parseInt(_0x15326a(0x16e))/0x9);if(_0x2984b===_0x537f6a)break;else _0x30b2ac['push'](_0x30b2ac['shift']());}catch(_0x4c286c){_0x30b2ac['push'](_0x30b2ac['shift']());}}}(_0x1269,0x4de21));import{logError}from'@/common/utils/log';function _0x4e0f(_0x4e2bfa,_0x2b3a92){const _0x126974=_0x1269();return _0x4e0f=function(_0x4e0f8b,_0x9814d8){_0x4e0f8b=_0x4e0f8b-0x15d;let _0x1abaa7=_0x126974[_0x4e0f8b];return _0x1abaa7;},_0x4e0f(_0x4e2bfa,_0x2b3a92);}import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x3a7659(0x16c)]='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x5d6a4a){this['serverUrl']=_0x5d6a4a;}async[_0x3a7659(0x168)](){const _0x37bedb=_0x3a7659,_0x1f8359={'RzsEm':function(_0x2b6fe6,_0x28d13c,_0x2e1c81){return _0x2b6fe6(_0x28d13c,_0x2e1c81);},'dOEKi':_0x37bedb(0x165)};if(this['isExpired']())try{await this['refreshRkey']();}catch(_0x5e819a){_0x1f8359[_0x37bedb(0x16d)](logError,_0x1f8359[_0x37bedb(0x15d)],_0x5e819a);}return this[_0x37bedb(0x163)];}[_0x3a7659(0x15f)](){const _0x219929=_0x3a7659,_0x8dddde={'MfbVg':function(_0x453bce,_0x186a12){return _0x453bce/_0x186a12;},'lGIAx':function(_0x4c9a8e,_0x5e981a){return _0x4c9a8e>_0x5e981a;}},_0x383a93=_0x8dddde[_0x219929(0x16a)](new Date()['getTime'](),0x3e8);return _0x8dddde['lGIAx'](_0x383a93,this[_0x219929(0x163)][_0x219929(0x15e)]);}async['refreshRkey'](){const _0x3dcb3f=_0x3a7659,_0x907f6f={'sgINM':_0x3dcb3f(0x16f)};this[_0x3dcb3f(0x163)]=await RequestUtil[_0x3dcb3f(0x172)](this['serverUrl'],_0x907f6f[_0x3dcb3f(0x169)]);}}function _0x1269(){const _0x467429=['988485UCmMEw','rkeyData','1335061CKDacJ','获取rkey失败','8MZiSoi','329587XYuZut','getRkey','sgINM','MfbVg','3NWxOCK','serverUrl','RzsEm','4318029gIADow','GET','http://napcat-sign.wumiao.wang:2082/rkey','2777874YVfvfS','HttpGetJson','dOEKi','expired_time','isExpired','55442jIWcmb','1552316rUQeJi'];_0x1269=function(){return _0x467429;};return _0x1269();}export const rkeyManager=new RkeyManager(_0x3a7659(0x170)); \ No newline at end of file +const _0x3648bb=_0x5d16;(function(_0x4dcd7,_0x367696){const _0x2b7c1e=_0x5d16,_0x9c9013=_0x4dcd7();while(!![]){try{const _0x2a9259=parseInt(_0x2b7c1e(0x19d))/0x1*(-parseInt(_0x2b7c1e(0x19c))/0x2)+parseInt(_0x2b7c1e(0x192))/0x3*(-parseInt(_0x2b7c1e(0x18e))/0x4)+-parseInt(_0x2b7c1e(0x19e))/0x5*(-parseInt(_0x2b7c1e(0x18c))/0x6)+-parseInt(_0x2b7c1e(0x196))/0x7+parseInt(_0x2b7c1e(0x189))/0x8*(parseInt(_0x2b7c1e(0x19f))/0x9)+parseInt(_0x2b7c1e(0x18f))/0xa+-parseInt(_0x2b7c1e(0x193))/0xb;if(_0x2a9259===_0x367696)break;else _0x9c9013['push'](_0x9c9013['shift']());}catch(_0x308808){_0x9c9013['push'](_0x9c9013['shift']());}}}(_0x3589,0x37b85));function _0x3589(){const _0x4ba0db=['89872DdTIgC','yfpwI','获取rkey失败','48FFmlJR','serverUrl','4PBeKbY','1880780jfIXTH','http://napcat-sign.wumiao.wang:2082/rkey','getRkey','15423nnVPyH','3373997loStgx','isExpired','rkeyData','1178513tkZkjV','GET','HttpGetJson','expired_time','fGLNG','getTime','20JPmXaI','14528Jpcypv','240505LitOAw','225FADWoZ'];_0x3589=function(){return _0x4ba0db;};return _0x3589();}function _0x5d16(_0x3fb261,_0x3815ca){const _0x3589c5=_0x3589();return _0x5d16=function(_0x5d16d3,_0x31ff74){_0x5d16d3=_0x5d16d3-0x189;let _0x3689da=_0x3589c5[_0x5d16d3];return _0x3689da;},_0x5d16(_0x3fb261,_0x3815ca);}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x3648bb(0x18d)]='';[_0x3648bb(0x195)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x2fddd6){const _0x671525=_0x3648bb;this[_0x671525(0x18d)]=_0x2fddd6;}async[_0x3648bb(0x191)](){const _0x5c63e3=_0x3648bb,_0x1745eb={'yfpwI':_0x5c63e3(0x18b)};if(this[_0x5c63e3(0x194)]())try{await this['refreshRkey']();}catch(_0x140548){logError(_0x1745eb[_0x5c63e3(0x18a)],_0x140548);}return this[_0x5c63e3(0x195)];}[_0x3648bb(0x194)](){const _0x14d306=_0x3648bb,_0xcdda8f={'aOkWg':function(_0x96286b,_0x13b2f6){return _0x96286b/_0x13b2f6;}},_0xcdea9b=_0xcdda8f['aOkWg'](new Date()[_0x14d306(0x19b)](),0x3e8);return _0xcdea9b>this[_0x14d306(0x195)][_0x14d306(0x199)];}async['refreshRkey'](){const _0x17c306=_0x3648bb,_0x1969db={'fGLNG':_0x17c306(0x197)};this[_0x17c306(0x195)]=await RequestUtil[_0x17c306(0x198)](this[_0x17c306(0x18d)],_0x1969db[_0x17c306(0x19a)]);}}export const rkeyManager=new RkeyManager(_0x3648bb(0x190)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 4b1bff3c..f3eabe29 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -function _0x3494(_0xa9a364,_0x140cfa){const _0x453d48=_0x453d();return _0x3494=function(_0x3494d7,_0x31ac35){_0x3494d7=_0x3494d7-0x136;let _0x5e7e1e=_0x453d48[_0x3494d7];return _0x5e7e1e;},_0x3494(_0xa9a364,_0x140cfa);}const _0x545937=_0x3494;(function(_0x28dcc6,_0x247f77){const _0x13db27=_0x3494,_0xfbbed=_0x28dcc6();while(!![]){try{const _0x3d5854=-parseInt(_0x13db27(0x14b))/0x1+parseInt(_0x13db27(0x136))/0x2*(parseInt(_0x13db27(0x137))/0x3)+parseInt(_0x13db27(0x145))/0x4+-parseInt(_0x13db27(0x141))/0x5*(-parseInt(_0x13db27(0x13b))/0x6)+-parseInt(_0x13db27(0x143))/0x7*(-parseInt(_0x13db27(0x144))/0x8)+parseInt(_0x13db27(0x14a))/0x9+-parseInt(_0x13db27(0x138))/0xa;if(_0x3d5854===_0x247f77)break;else _0xfbbed['push'](_0xfbbed['shift']());}catch(_0x375892){_0xfbbed['push'](_0xfbbed['shift']());}}}(_0x453d,0x44378));import _0x11ea7f from'node:path';import _0x4d3b86 from'node:fs';function _0x453d(){const _0xe8780a=['477099sIrckb','existsSync','dirname','6JCfVGz','293247lpFZkB','3716690hOvNXx','file://','execPath','12ToUEcS','./resources/app/wrapper.node','url','replace','\x22);\x0aexports\x20=\x20module.exports;\x0a','curVersion','205860KPUNhW','WrapperLoader.cjs','409241Msqtum','48mgYAjl','433104hDjVgp','resolve','default','writeFileSync','join','2641851ZiEAMX'];_0x453d=function(){return _0xe8780a;};return _0x453d();}import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x545937(0x13d)]),__dirname=dirname(__filename);let wrapperNodePath=_0x11ea7f[_0x545937(0x146)](_0x11ea7f[_0x545937(0x14d)](process[_0x545937(0x13a)]),_0x545937(0x13c));!_0x4d3b86[_0x545937(0x14c)](wrapperNodePath)&&(wrapperNodePath=_0x11ea7f['join'](_0x11ea7f[_0x545937(0x14d)](process['execPath']),'resources/app/versions/'+qqVersionConfigInfo[_0x545937(0x140)]+'/wrapper.node'));let WrapperLoader=_0x11ea7f[_0x545937(0x149)](__dirname,_0x545937(0x142));_0x4d3b86[_0x545937(0x148)](WrapperLoader,'\x0amodule.exports\x20=\x20require(\x22'+wrapperNodePath[_0x545937(0x13e)](/\\/g,'\x5c\x5c')+_0x545937(0x13f));const QQWrapper=(await import(_0x545937(0x139)+WrapperLoader))[_0x545937(0x147)];export default QQWrapper; \ No newline at end of file +const _0x43aef5=_0x48d2;(function(_0x164c60,_0x1a0763){const _0x5ef33d=_0x48d2,_0x26b7f8=_0x164c60();while(!![]){try{const _0x38ddd6=parseInt(_0x5ef33d(0x150))/0x1+parseInt(_0x5ef33d(0x157))/0x2+-parseInt(_0x5ef33d(0x163))/0x3+-parseInt(_0x5ef33d(0x156))/0x4+-parseInt(_0x5ef33d(0x15d))/0x5+-parseInt(_0x5ef33d(0x154))/0x6*(parseInt(_0x5ef33d(0x15c))/0x7)+parseInt(_0x5ef33d(0x15a))/0x8*(parseInt(_0x5ef33d(0x153))/0x9);if(_0x38ddd6===_0x1a0763)break;else _0x26b7f8['push'](_0x26b7f8['shift']());}catch(_0x174aaa){_0x26b7f8['push'](_0x26b7f8['shift']());}}}(_0x3b5a,0x21157));import _0x2d38db from'node:path';function _0x48d2(_0x2e134d,_0x22a5b5){const _0x3b5a79=_0x3b5a();return _0x48d2=function(_0x48d26d,_0xf09b80){_0x48d26d=_0x48d26d-0x14f;let _0x3601f4=_0x3b5a79[_0x48d26d];return _0x3601f4;},_0x48d2(_0x2e134d,_0x22a5b5);}import _0x4995de from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta['url']),__dirname=dirname(__filename);function _0x3b5a(){const _0x4d17bb=['existsSync','116272nlQqRO','./resources/app/wrapper.node','default','18396cnZwKz','13404ngyWrq','join','935156WLBeuJ','258050EvJpEq','writeFileSync','curVersion','2352lfXfdL','\x22);\x0aexports\x20=\x20module.exports;\x0a','735rKgnHX','1170225ZILlSw','resources/app/versions/','dirname','file://','\x0amodule.exports\x20=\x20require(\x22','execPath','24954omEFNc'];_0x3b5a=function(){return _0x4d17bb;};return _0x3b5a();}let wrapperNodePath=_0x2d38db['resolve'](_0x2d38db['dirname'](process['execPath']),_0x43aef5(0x151));!_0x4995de[_0x43aef5(0x14f)](wrapperNodePath)&&(wrapperNodePath=_0x2d38db[_0x43aef5(0x155)](_0x2d38db[_0x43aef5(0x15f)](process[_0x43aef5(0x162)]),_0x43aef5(0x15e)+qqVersionConfigInfo[_0x43aef5(0x159)]+'/wrapper.node'));let WrapperLoader=_0x2d38db[_0x43aef5(0x155)](__dirname,'WrapperLoader.cjs');_0x4995de[_0x43aef5(0x158)](WrapperLoader,_0x43aef5(0x161)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+_0x43aef5(0x15b));const QQWrapper=(await import(_0x43aef5(0x160)+WrapperLoader))[_0x43aef5(0x152)];export default QQWrapper; \ No newline at end of file diff --git a/src/onebot11/action/extends/CreateCollection.ts b/src/onebot11/action/extends/CreateCollection.ts new file mode 100644 index 00000000..2465ac40 --- /dev/null +++ b/src/onebot11/action/extends/CreateCollection.ts @@ -0,0 +1,26 @@ + +import { NTQQCollectionApi } from '@/core/apis/collection'; +import BaseAction from '../BaseAction'; +import { ActionName } from '../types'; +import { NTQQUserApi } from '@/core/apis'; +import { FromSchema, JSONSchema } from 'json-schema-to-ts'; +import { selfInfo } from '@/core/data'; + +const SchemaData = { + type: 'object', + properties: { + rawData: { type: 'string' }, + brief: { type: 'string' } + }, + required: ['brief', 'rawData'], +} as const satisfies JSONSchema; + +type Payload = FromSchema; + +export class CreateCollection extends BaseAction { + actionName = ActionName.CreateCollection; + PayloadSchema = SchemaData; + protected async _handle(payload: Payload) { + return await NTQQCollectionApi.createCollection(selfInfo.uin, selfInfo.uid, selfInfo.nick, payload.brief, payload.rawData); + } +} diff --git a/src/onebot11/action/extends/SetSelfProfile.ts b/src/onebot11/action/extends/SetSelfProfile.ts index 13db0dda..36789240 100644 --- a/src/onebot11/action/extends/SetSelfProfile.ts +++ b/src/onebot11/action/extends/SetSelfProfile.ts @@ -11,7 +11,7 @@ const SchemaData = { longNick: { type: 'string' }, sex: { type: 'number' }//传Sex值?建议传0 }, - required: ['nick', 'longNick', 'sex',], + required: ['nick', 'longNick', 'sex'], } as const satisfies JSONSchema; type Payload = FromSchema; diff --git a/src/onebot11/action/extends/sharePeer.ts b/src/onebot11/action/extends/sharePeer.ts new file mode 100644 index 00000000..716215bb --- /dev/null +++ b/src/onebot11/action/extends/sharePeer.ts @@ -0,0 +1,45 @@ +import { NTQQGroupApi, NTQQUserApi } from '@/core'; +import BaseAction from '../BaseAction'; +import { ActionName } from '../types'; +import { BuddyCategoryType } from '@/core/entities/'; +import { FromSchema, JSONSchema } from 'json-schema-to-ts'; + +const SchemaData = { + type: 'object', + properties: { + user_id: { type: 'string' }, + group_id: { type: 'string' }, + phoneNumber: { type: 'string' }, + }, +} as const satisfies JSONSchema; + +type Payload = FromSchema; + + +export class sharePeer extends BaseAction { + actionName = ActionName.SharePeer; + PayloadSchema = SchemaData; + protected async _handle(payload: Payload) { + if (payload.group_id) { + return await NTQQGroupApi.getGroupRecommendContactArkJson(payload.group_id); + } else if (payload.user_id) { + return await NTQQUserApi.getBuddyRecommendContactArkJson(payload.user_id, payload.phoneNumber || ''); + } + } +} +const SchemaDataGroupEx = { + type: 'object', + properties: { + group_id: { type: 'string' }, + }, + required: ['group_id'] +} as const satisfies JSONSchema; + +type PayloadGroupEx = FromSchema; +export class shareGroupEx extends BaseAction { + actionName = ActionName.ShareGroupEx; + PayloadSchema = SchemaDataGroupEx; + protected async _handle(payload: PayloadGroupEx) { + return await NTQQGroupApi.getArkJsonGroupShare(payload.group_id); + } +} \ No newline at end of file diff --git a/src/onebot11/action/index.ts b/src/onebot11/action/index.ts index 27cffc92..85b91bd5 100644 --- a/src/onebot11/action/index.ts +++ b/src/onebot11/action/index.ts @@ -67,6 +67,8 @@ import { SetGroupFileFolder } from './file/SetGroupFileFolder'; import { DelGroupFile } from './file/DelGroupFile'; import { DelGroupFileFolder } from './file/DelGroupFileFolder'; import { SetSelfProfile } from './extends/SetSelfProfile'; +import { shareGroupEx, sharePeer } from './extends/sharePeer'; +import { CreateCollection } from './extends/CreateCollection'; export const actionHandlers = [ new RebootNormal(), @@ -74,6 +76,9 @@ export const actionHandlers = [ new Debug(), new Reboot(), new SetSelfProfile(), + new shareGroupEx(), + new sharePeer(), + new CreateCollection(), // new GetConfigAction(), // new SetConfigAction(), // new GetGroupAddRequest(), diff --git a/src/onebot11/action/types.ts b/src/onebot11/action/types.ts index 2f377ce7..c3567f69 100644 --- a/src/onebot11/action/types.ts +++ b/src/onebot11/action/types.ts @@ -15,6 +15,8 @@ export interface InvalidCheckResult { export enum ActionName { // 以下为扩展napcat扩展 + SharePeer = 'ArkShareGroup', + ShareGroupEx = 'ArkSharePeer', RebootNormal = 'reboot_normal',//无快速登录重新启动 GetRobotUinRange = 'get_robot_uin_range', SetOnlineStatus = 'set_online_status', @@ -88,5 +90,6 @@ export enum ActionName { GetOnlineClient = 'get_online_clients', OCRImage = 'ocr_image', IOCRImage = '.ocr_image', - SetSelfProfile = "set_self_profile" + SetSelfProfile = "set_self_profile", + CreateCollection = "create_collection" }