@wujie-shell/core 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/wujie-shell.mjs +1 -1
- package/dist/src/agents/bundled-agent-skills.mjs +1 -1
- package/dist/src/agents/bundled-agents.mjs +1 -1
- package/dist/src/agents/runtime-config.mjs +1 -1
- package/dist/src/chat/media-archive.mjs +1 -1
- package/dist/src/chat/queue.mjs +1 -1
- package/dist/src/common/cron-session-key.mjs +1 -1
- package/dist/src/common/diagnostics.mjs +1 -1
- package/dist/src/common/logging.mjs +1 -1
- package/dist/src/common/runtime-logger.mjs +1 -1
- package/dist/src/common/sqlite-paths.mjs +1 -1
- package/dist/src/common/user-events.mjs +1 -1
- package/dist/src/common/utils.mjs +1 -1
- package/dist/src/config/controller.mjs +1 -1
- package/dist/src/connectors/config-utils.mjs +1 -1
- package/dist/src/connectors/constants.mjs +1 -1
- package/dist/src/connectors/controller.mjs +1 -1
- package/dist/src/connectors/kdocs-cli.mjs +1 -1
- package/dist/src/connectors/lark-cli.mjs +1 -1
- package/dist/src/electron/main.mjs +1 -1
- package/dist/src/electron/preload.mjs +1 -1
- package/dist/src/electron/protocol-url-state.mjs +1 -1
- package/dist/src/events/domain-event-journal.mjs +1 -1
- package/dist/src/files/generated-files-store.mjs +1 -1
- package/dist/src/files/handlers.mjs +1 -1
- package/dist/src/gateway/chat-delta.mjs +1 -1
- package/dist/src/gateway/controller.mjs +1 -1
- package/dist/src/gateway/request-id-title-events.mjs +1 -1
- package/dist/src/gateway/ws-client.mjs +1 -1
- package/dist/src/index.mjs +1 -1
- package/dist/src/log-reporting/handlers.mjs +1 -1
- package/dist/src/log-reporting/report-logs.mjs +1 -1
- package/dist/src/models/handlers.mjs +1 -1
- package/dist/src/preferences/store.mjs +1 -1
- package/dist/src/request-id/handlers.mjs +1 -1
- package/dist/src/request-id/runtime-bridge.mjs +1 -1
- package/dist/src/request-id/session-store.mjs +1 -1
- package/dist/src/request-id/title.mjs +1 -1
- package/dist/src/runtime/cron-missed-run-policy.mjs +1 -1
- package/dist/src/runtime/index.mjs +1 -1
- package/dist/src/runtime/patch-channel-plugin-runtime.mjs +1 -1
- package/dist/src/runtime/patch-chat-history-mixed-tool-content.mjs +1 -1
- package/dist/src/runtime/patch-provider-request-id-header.mjs +1 -1
- package/dist/src/runtime/patch-qqbot-outbound-session-route.mjs +1 -1
- package/dist/src/runtime/patch-request-id-title-runtime.mjs +1 -1
- package/dist/src/runtime/patch-session-store-sqlite.mjs +1 -1
- package/dist/src/runtime/patch-weixin-outbound-session-route.mjs +1 -1
- package/dist/src/runtime/plugin-sync.mjs +1 -1
- package/dist/src/sessions/agent-sessions-map-store.mjs +1 -1
- package/dist/src/sessions/runtime-bridge.mjs +1 -1
- package/dist/src/sessions/session-data-service.mjs +1 -1
- package/dist/src/sessions/session-runtime-state-service.mjs +1 -1
- package/dist/src/sessions/session-runtime-state.mjs +1 -1
- package/dist/src/sessions/session-sqlite-store.mjs +1 -1
- package/dist/src/skills/import.mjs +1 -1
- package/dist/src/skills/market.mjs +1 -1
- package/dist/src/terminal/manager.mjs +1 -1
- package/dist/src/updates/controller.mjs +1 -1
- package/dist/src/updates/loader.mjs +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x51e222,_0x4963f2){const _0x5976b1=_0xfd0a,_0x134ccc=_0x51e222();while(!![]){try{const _0xc80241=-parseInt(_0x5976b1(0x267))/0x1+parseInt(_0x5976b1(0x249))/0x2*(parseInt(_0x5976b1(0x1d7))/0x3)+-parseInt(_0x5976b1(0x1e2))/0x4+parseInt(_0x5976b1(0x23b))/0x5*(parseInt(_0x5976b1(0x26a))/0x6)+parseInt(_0x5976b1(0x239))/0x7+parseInt(_0x5976b1(0x25e))/0x8*(parseInt(_0x5976b1(0x251))/0x9)+-parseInt(_0x5976b1(0x20b))/0xa*(parseInt(_0x5976b1(0x1ea))/0xb);if(_0xc80241===_0x4963f2)break;else _0x134ccc['push'](_0x134ccc['shift']());}catch(_0x42ade4){_0x134ccc['push'](_0x134ccc['shift']());}}}(_0x3a95,0xf0383));export function patchChannelPluginRuntimeFromSource(_0x3c19ac,_0x3a3dee={}){const _0x21d64d=_0xfd0a,_0x270970=_0x3a3dee[_0x21d64d(0x244)+'hannelIm'+_0x21d64d(0x272)];if(!_0x270970)return{'patched':![],'reason':'runtime-'+'channel-'+_0x21d64d(0x1f3)+'ot-provi'+'ded'};if(_0x3c19ac[_0x21d64d(0x1fc)](_0x21d64d(0x221)+'ateRunti'+'meChanne'+'l')){if(_0x3c19ac['includes'](_0x21d64d(0x1e0)+'istingCh'+_0x21d64d(0x204)+_0x21d64d(0x1f4))&&hasRuntimeChannelImport(_0x3c19ac,_0x270970))return{'patched':![],'reason':'already-'+_0x21d64d(0x1fd)};return patchExistingChannelPluginRuntimeFromSource(_0x3c19ac,{'runtimeChannelImportPath':_0x270970});}if(_0x3c19ac[_0x21d64d(0x1fc)](_0x21d64d(0x23d)+_0x21d64d(0x20c)+_0x21d64d(0x230)+'se'))return patchExistingChannelPluginRuntimeFromSource(_0x3c19ac,{'runtimeChannelImportPath':_0x270970});const _0x5c8c73=_0x21d64d(0x254)+_0x21d64d(0x269)+_0x21d64d(0x278)+_0x21d64d(0x1de)+_0x21d64d(0x22a)+_0x21d64d(0x241)+_0x21d64d(0x223)+_0x21d64d(0x24d)+_0x21d64d(0x225)+_0x21d64d(0x234)+_0x21d64d(0x1ee)+_0x21d64d(0x259)+_0x21d64d(0x211)+_0x21d64d(0x1e1)+_0x21d64d(0x21f)+_0x21d64d(0x228)+_0x21d64d(0x220)+_0x21d64d(0x208)+_0x21d64d(0x243)+_0x21d64d(0x269)+_0x21d64d(0x25b)+_0x21d64d(0x24b);if(!_0x3c19ac[_0x21d64d(0x1fc)](_0x5c8c73))return{'patched':![],'reason':_0x21d64d(0x257)+'d'};const _0x5590cf=_0x21d64d(0x23c)+'\x20createH'+_0x21d64d(0x205)+'om\x20\x22node'+':crypto\x22'+';';if(!_0x3c19ac[_0x21d64d(0x1fc)](_0x5590cf))return{'patched':![],'reason':_0x21d64d(0x1f3)+_0x21d64d(0x1f5)};const _0x1be336=_0x21d64d(0x254)+_0x21d64d(0x269)+_0x21d64d(0x278)+'null;\x0a\x09\x09'+_0x21d64d(0x246)+_0x21d64d(0x1db)+'eChannel'+_0x21d64d(0x1fe)+_0x21d64d(0x21b)+_0x21d64d(0x1f9)+_0x21d64d(0x23e)+_0x21d64d(0x202)+'runtime\x20'+_0x21d64d(0x260)+_0x21d64d(0x201)+_0x21d64d(0x24f)+_0x21d64d(0x258)+_0x21d64d(0x224)+_0x21d64d(0x1f1)+_0x21d64d(0x1dd)+'untime.c'+_0x21d64d(0x20e)+'turn?.ru'+'n\x20&&\x20run'+_0x21d64d(0x235)+_0x21d64d(0x25f)+_0x21d64d(0x1e5)+_0x21d64d(0x1e8)+_0x21d64d(0x214)+_0x21d64d(0x26b)+'onst\x20cha'+_0x21d64d(0x20c)+_0x21d64d(0x200)+_0x21d64d(0x1fb)+_0x21d64d(0x24c)+_0x21d64d(0x275)+_0x21d64d(0x1e4)+_0x21d64d(0x233)+_0x21d64d(0x1ed)+_0x21d64d(0x23a)+_0x21d64d(0x1d3)+_0x21d64d(0x270)+_0x21d64d(0x20d)+_0x21d64d(0x253)+_0x21d64d(0x279)+'===\x20\x22obj'+'ect\x22\x20?\x20r'+_0x21d64d(0x24e)+_0x21d64d(0x1eb)+_0x21d64d(0x250)+_0x21d64d(0x253)+'channel\x20'+_0x21d64d(0x248)+_0x21d64d(0x217)+_0x21d64d(0x242)+_0x21d64d(0x271)+'..existi'+'ngChanne'+_0x21d64d(0x277)+_0x21d64d(0x1e9)+_0x21d64d(0x232)+_0x21d64d(0x21c)+_0x21d64d(0x266)+_0x21d64d(0x244)+_0x21d64d(0x26c)+_0x21d64d(0x222)+_0x21d64d(0x242)+_0x21d64d(0x25d)+_0x21d64d(0x1fa)+_0x21d64d(0x209)+_0x21d64d(0x26e)+_0x21d64d(0x21c)+_0x21d64d(0x266)+_0x21d64d(0x1e6)+_0x21d64d(0x222)+_0x21d64d(0x242)+_0x21d64d(0x212)+_0x21d64d(0x1f2)+_0x21d64d(0x1f7)+_0x21d64d(0x1d6)+_0x21d64d(0x1ff)+_0x21d64d(0x245)+_0x21d64d(0x1d6)+_0x21d64d(0x219)+_0x21d64d(0x261)+_0x21d64d(0x1f0)+'untime.t'+_0x21d64d(0x231)+_0x21d64d(0x264)+_0x21d64d(0x1dc)+'bound,\x0a\x09'+'\x09\x09\x09reply'+':\x20existi'+_0x21d64d(0x206)+'l.reply\x20'+'??\x20chann'+_0x21d64d(0x242)+_0x21d64d(0x1ef)+_0x21d64d(0x22f)+_0x21d64d(0x227)+'istingCh'+'annel.se'+_0x21d64d(0x240)+_0x21d64d(0x1df)+_0x21d64d(0x1d9)+_0x21d64d(0x265)+_0x21d64d(0x26d)+_0x21d64d(0x1d4)+'runtime;'+_0x21d64d(0x207)+_0x21d64d(0x22a)+'solveRun'+_0x21d64d(0x223)+')\x20=>\x20{\x0a\x09'+_0x21d64d(0x225)+_0x21d64d(0x234)+_0x21d64d(0x229)+_0x21d64d(0x1db)+_0x21d64d(0x23f)+_0x21d64d(0x1fe)+_0x21d64d(0x21d)+_0x21d64d(0x256)+'eatePlug'+'inRuntim'+_0x21d64d(0x1e3)+(_0x21d64d(0x21a)+_0x21d64d(0x213)+_0x21d64d(0x263)+_0x21d64d(0x1d4)+_0x21d64d(0x276)+_0x21d64d(0x268)+_0x21d64d(0x24a));return{'patched':!![],'source':_0x3c19ac[_0x21d64d(0x22c)](_0x5590cf,_0x5590cf+'\x0a'+createRuntimeChannelImport(_0x270970))[_0x21d64d(0x22c)](_0x5c8c73,_0x1be336)};}function _0x3a95(){const _0x5140a4=['urn:\x20exi','istingCh','\x20(runtim','eContext','jieCreat','includes','patched','RuntimeH','nnel.tur','ime\x20=\x20wu','f\x20runtim','\x09\x09\x09if\x20(!','..existi','annel.tu','ash\x20}\x20fr','ngChanne','\x0a\x09\x09};\x0a\x09\x09','s);\x0a\x09\x09\x09r','s,\x0a\x09\x09\x09\x09i','Set\x20=\x20ne','230vIbTeM','nnelRunt','\x20typeof\x20','hannel?.','turn?.ru','ZY_RUNTI','atePlugi','e.inboun','imeOptio','rn\x20runti','null;','CTION_KE','...chann','\x0a\x09\x09};\x0a','nnel.inb','ons.runt','elpers\x20=','existing','elpers(r','onst\x20cha','()(optio','meOption','wujieCre','??\x20chann','time\x20=\x20(','return\x20r','\x09\x09resolv','bound,\x0a\x09','sion:\x20ex','ns.runti','e\x20??=\x20en','const\x20re','slice','replace','eatePlug','runtime;','\x0a\x09\x09\x09\x09ses','imePromi','urn\x20??\x20c','ntexts:\x20','nst\x20exis','edRuntim','time.cha','YS);','n\x20&&\x20run','ME_REFLE','1906058AyJnPX','nel\x20=\x20ru','7855dpzBhA','import\x20{','wujieCha','e)\x20=>\x20{\x0a','eChannel','ssion\x20??','solveRun','elRuntim','eturn\x20re','runtimeC','n\x20??\x20exi','const\x20en','w\x20Set(LA','=\x20{\x0a\x09\x09\x09\x09','71698aCKKss','\x0a\x09\x09};','\x09};','eRuntime',')\x20=>\x20{\x0a\x09','untime.c','e\x20!==\x20\x22o','\x20{};\x0a\x09\x09\x09','3628017lfYpPw','imeChann','runtime.','\x09\x09let\x20re','l.reply\x20','esolveCr','not-foun','bject\x22)\x20','solveCre','indexOf','ntime;\x0a\x09','ctionKey','e.runtim','24KsYiwi','nnel?.in','||\x20typeo','ound\x20??\x20','\x20wujieCr','ns));\x0a\x09\x09','hannelRu','session\x0a','Channel.','890281GvasAe','Runtime;','solvedRu','3594EnGklZ','me;\x0a\x09\x09\x09c','ontexts\x20','\x09\x09\x09};\x0a\x09\x09','nbound:\x20','\x09\x09\x09reply','annel\x20&&','e,\x0a\x09\x09\x09\x09.','portPath',':crypto\x22','\x20createR','Channel(','resolved','l,\x0a\x09\x09\x09\x09r','ntime\x20=\x20','channel\x20','annel.se','ntime.ch','\x09return\x20',':\x20existi','stingCha','129dZmywl','untimeCh','Runtime.','imeRefle','sureWuji','ntime.in','\x09\x09\x09if\x20(r','null;\x0a\x09\x09','\x20channel','turn:\x20ex','nRuntime','836680KnCYJO','e()(opti',');\x0a\x09\x09\x09co','bound?.r','inbound\x20','lazyRunt','un)\x20retu','untimeCo','899503WcCTgv','hannel\x20:','annel\x20as','tingChan','e\x20??=\x20re','e.reply,','channelR','untime;\x0a','d,\x0a\x09\x09\x09\x09t','import-n','rn\x20??','ot-found','\x20createH'];_0x3a95=function(){return _0x5140a4;};return _0x3a95();}function _0xfd0a(_0x2fa4bf,_0x5b84e8){_0x2fa4bf=_0x2fa4bf-0x1d3;const _0x3a9561=_0x3a95();let _0xfd0a80=_0x3a9561[_0x2fa4bf];return _0xfd0a80;}function patchExistingChannelPluginRuntimeFromSource(_0x1b4258,_0x340054){const _0xf632c9=_0xfd0a,{runtimeChannelImportPath:_0x11a5f7}=_0x340054,_0x155cbe=_0xf632c9(0x23c)+_0xf632c9(0x1f6)+_0xf632c9(0x205)+'om\x20\x22node'+_0xf632c9(0x273)+';';if(!_0x1b4258[_0xf632c9(0x1fc)](_0x155cbe))return{'patched':![],'reason':_0xf632c9(0x1f3)+_0xf632c9(0x1f5)};const _0x2802fe=_0xf632c9(0x254)+_0xf632c9(0x269)+_0xf632c9(0x278)+_0xf632c9(0x215),_0xa6aa8c='\x09\x09const\x20'+_0xf632c9(0x1e7)+_0xf632c9(0x1da)+_0xf632c9(0x25c)+_0xf632c9(0x20a)+_0xf632c9(0x247)+_0xf632c9(0x210)+_0xf632c9(0x238)+_0xf632c9(0x216)+_0xf632c9(0x236),_0xfb48fa=_0x1b4258[_0xf632c9(0x25a)](_0x2802fe),_0x515212=_0x1b4258[_0xf632c9(0x25a)](_0xa6aa8c,_0xfb48fa);if(_0xfb48fa===-0x1||_0x515212===-0x1)return{'patched':![],'reason':_0xf632c9(0x257)+'d'};const _0x5185e8='\x09\x09let\x20re'+_0xf632c9(0x269)+_0xf632c9(0x278)+_0xf632c9(0x1de)+_0xf632c9(0x246)+'sureWuji'+_0xf632c9(0x23f)+_0xf632c9(0x1fe)+_0xf632c9(0x21b)+'\x20(runtim'+_0xf632c9(0x23e)+_0xf632c9(0x202)+'runtime\x20'+_0xf632c9(0x260)+_0xf632c9(0x201)+_0xf632c9(0x24f)+_0xf632c9(0x258)+'return\x20r'+'untime;\x0a'+'\x09\x09\x09if\x20(r'+_0xf632c9(0x24e)+_0xf632c9(0x20e)+_0xf632c9(0x20f)+_0xf632c9(0x237)+_0xf632c9(0x235)+'nnel?.in'+_0xf632c9(0x1e5)+_0xf632c9(0x1e8)+_0xf632c9(0x214)+_0xf632c9(0x26b)+_0xf632c9(0x21e)+_0xf632c9(0x20c)+_0xf632c9(0x200)+_0xf632c9(0x1fb)+_0xf632c9(0x24c)+_0xf632c9(0x275)+_0xf632c9(0x1e4)+_0xf632c9(0x233)+_0xf632c9(0x1ed)+'nel\x20=\x20ru'+_0xf632c9(0x1d3)+'annel\x20&&'+'\x20typeof\x20'+_0xf632c9(0x253)+_0xf632c9(0x279)+'===\x20\x22obj'+'ect\x22\x20?\x20r'+_0xf632c9(0x24e)+'hannel\x20:'+_0xf632c9(0x250)+'runtime.'+_0xf632c9(0x279)+'=\x20{\x0a\x09\x09\x09\x09'+_0xf632c9(0x217)+_0xf632c9(0x242)+_0xf632c9(0x271)+_0xf632c9(0x203)+_0xf632c9(0x206)+_0xf632c9(0x277)+'untimeCo'+_0xf632c9(0x232)+_0xf632c9(0x21c)+_0xf632c9(0x266)+_0xf632c9(0x244)+_0xf632c9(0x26c)+_0xf632c9(0x222)+_0xf632c9(0x242)+_0xf632c9(0x25d)+'eContext'+_0xf632c9(0x209)+'nbound:\x20'+_0xf632c9(0x21c)+'Channel.'+_0xf632c9(0x1e6)+_0xf632c9(0x222)+_0xf632c9(0x242)+'e.inboun'+'d,\x0a\x09\x09\x09\x09t'+_0xf632c9(0x1f7)+'stingCha'+_0xf632c9(0x1ff)+'n\x20??\x20exi'+'stingCha'+_0xf632c9(0x219)+'ound\x20??\x20'+_0xf632c9(0x1f0)+'untime.t'+'urn\x20??\x20c'+'hannelRu'+_0xf632c9(0x1dc)+_0xf632c9(0x226)+_0xf632c9(0x26f)+_0xf632c9(0x1d5)+_0xf632c9(0x206)+_0xf632c9(0x255)+_0xf632c9(0x222)+'elRuntim'+'e.reply,'+_0xf632c9(0x22f)+_0xf632c9(0x227)+_0xf632c9(0x1f8)+_0xf632c9(0x27a)+'ssion\x20??'+'\x20channel'+'Runtime.'+_0xf632c9(0x265)+'\x09\x09\x09};\x0a\x09\x09'+_0xf632c9(0x1d4)+_0xf632c9(0x22e)+_0xf632c9(0x207)+'const\x20re'+_0xf632c9(0x241)+_0xf632c9(0x223)+_0xf632c9(0x24d)+'\x09\x09resolv'+_0xf632c9(0x234)+_0xf632c9(0x229)+'sureWuji'+'eChannel'+_0xf632c9(0x1fe)+_0xf632c9(0x21d)+_0xf632c9(0x256)+_0xf632c9(0x22d)+'inRuntim'+_0xf632c9(0x1e3)+(_0xf632c9(0x21a)+'imeOptio'+_0xf632c9(0x263)+'\x09return\x20'+'resolved'+_0xf632c9(0x268)+_0xf632c9(0x218)),_0x450ed7=_0x1b4258['slice'](0x0,_0xfb48fa)+_0x5185e8+_0x1b4258[_0xf632c9(0x22b)](_0x515212);return{'patched':!![],'source':ensureRuntimeChannelImport(_0x450ed7,{'importMarker':_0x155cbe,'runtimeChannelImportPath':_0x11a5f7})};}function createRuntimeChannelImport(_0x325886){const _0x4b3372=_0xfd0a;return'import\x20{'+_0x4b3372(0x274)+_0x4b3372(0x1d8)+_0x4b3372(0x1ec)+_0x4b3372(0x262)+'eateRunt'+_0x4b3372(0x252)+'el\x20}\x20fro'+'m\x20\x22'+_0x325886+'\x22;';}function hasRuntimeChannelImport(_0x33a83a,_0x409a32){return _0x33a83a['includes'](createRuntimeChannelImport(_0x409a32));}function ensureRuntimeChannelImport(_0x5979ea,{importMarker:_0x27969d,runtimeChannelImportPath:_0x16d915}){const _0x35f9dc=_0xfd0a,_0x449115=createRuntimeChannelImport(_0x16d915),_0x2840d1=/import \{ createRuntimeChannel as wujieCreateRuntimeChannel \} from "\.\/runtime-channel-[^"]+\.js";\n?/;if(_0x2840d1['test'](_0x5979ea))return _0x5979ea[_0x35f9dc(0x22c)](_0x2840d1,_0x449115+'\x0a');return _0x5979ea['replace'](_0x27969d,_0x27969d+'\x0a'+_0x449115);}
|
|
1
|
+
(function(_0x8e24b4,_0x491bdd){const _0x5b75a2=_0x5122,_0x42bbff=_0x8e24b4();while(!![]){try{const _0x1b37eb=-parseInt(_0x5b75a2(0x1dc))/0x1+-parseInt(_0x5b75a2(0x1d9))/0x2+parseInt(_0x5b75a2(0x1ba))/0x3+-parseInt(_0x5b75a2(0x1c6))/0x4*(parseInt(_0x5b75a2(0x181))/0x5)+-parseInt(_0x5b75a2(0x151))/0x6+parseInt(_0x5b75a2(0x140))/0x7+parseInt(_0x5b75a2(0x17e))/0x8*(parseInt(_0x5b75a2(0x162))/0x9);if(_0x1b37eb===_0x491bdd)break;else _0x42bbff['push'](_0x42bbff['shift']());}catch(_0x3d6b17){_0x42bbff['push'](_0x42bbff['shift']());}}}(_0x2647,0xa07e6));export function patchChannelPluginRuntimeFromSource(_0x4180a2,_0x5a26b1={}){const _0x3f06a2=_0x5122,_0x3deb75=_0x5a26b1[_0x3f06a2(0x1a3)+_0x3f06a2(0x19d)+'portPath'];if(!_0x3deb75)return{'patched':![],'reason':'runtime-'+'channel-'+_0x3f06a2(0x148)+'ot-provi'+_0x3f06a2(0x194)};if(_0x4180a2[_0x3f06a2(0x184)](_0x3f06a2(0x153)+_0x3f06a2(0x1a6)+_0x3f06a2(0x198)+'l')){if(_0x4180a2[_0x3f06a2(0x184)](_0x3f06a2(0x18d)+_0x3f06a2(0x15f)+'annel.tu'+_0x3f06a2(0x1aa))&&hasRuntimeChannelImport(_0x4180a2,_0x3deb75))return{'patched':![],'reason':_0x3f06a2(0x1d0)+_0x3f06a2(0x1c9)};return patchExistingChannelPluginRuntimeFromSource(_0x4180a2,{'runtimeChannelImportPath':_0x3deb75});}if(_0x4180a2[_0x3f06a2(0x184)]('wujieCha'+'nnelRunt'+_0x3f06a2(0x1d2)+'se'))return patchExistingChannelPluginRuntimeFromSource(_0x4180a2,{'runtimeChannelImportPath':_0x3deb75});const _0x59d03e=_0x3f06a2(0x14e)+'solvedRu'+_0x3f06a2(0x1bf)+'null;\x0a\x09\x09'+'const\x20re'+'solveRun'+_0x3f06a2(0x1d8)+')\x20=>\x20{\x0a\x09'+_0x3f06a2(0x1a4)+_0x3f06a2(0x19b)+'e\x20??=\x20re'+_0x3f06a2(0x1b7)+_0x3f06a2(0x1c5)+_0x3f06a2(0x1dd)+_0x3f06a2(0x199)+_0x3f06a2(0x17c)+_0x3f06a2(0x1db)+_0x3f06a2(0x197)+_0x3f06a2(0x1da)+_0x3f06a2(0x1a7)+'ntime;\x0a\x09'+'\x09};';if(!_0x4180a2[_0x3f06a2(0x184)](_0x59d03e))return{'patched':![],'reason':_0x3f06a2(0x169)+'d'};const _0x59e0e6='import\x20{'+_0x3f06a2(0x161)+_0x3f06a2(0x187)+'om\x20\x22node'+_0x3f06a2(0x1de)+';';if(!_0x4180a2[_0x3f06a2(0x184)](_0x59e0e6))return{'patched':![],'reason':_0x3f06a2(0x148)+'ot-found'};const _0x568716=_0x3f06a2(0x14e)+_0x3f06a2(0x1a7)+_0x3f06a2(0x1bf)+_0x3f06a2(0x1c7)+'const\x20en'+_0x3f06a2(0x1be)+_0x3f06a2(0x16a)+'RuntimeH'+_0x3f06a2(0x172)+'\x20(runtim'+'e)\x20=>\x20{\x0a'+_0x3f06a2(0x188)+_0x3f06a2(0x167)+_0x3f06a2(0x1ad)+_0x3f06a2(0x19e)+'e\x20!==\x20\x22o'+_0x3f06a2(0x150)+_0x3f06a2(0x15d)+_0x3f06a2(0x1c8)+_0x3f06a2(0x14a)+'untime.c'+'hannel?.'+'turn?.ru'+'n\x20&&\x20run'+_0x3f06a2(0x1e0)+_0x3f06a2(0x1ab)+_0x3f06a2(0x16f)+_0x3f06a2(0x1c3)+_0x3f06a2(0x163)+_0x3f06a2(0x14f)+_0x3f06a2(0x1cb)+_0x3f06a2(0x1a2)+_0x3f06a2(0x152)+'jieCreat'+_0x3f06a2(0x16c)+'Channel('+_0x3f06a2(0x1b0)+_0x3f06a2(0x173)+_0x3f06a2(0x19f)+_0x3f06a2(0x17f)+_0x3f06a2(0x1b5)+_0x3f06a2(0x193)+_0x3f06a2(0x191)+_0x3f06a2(0x1c0)+'channel\x20'+_0x3f06a2(0x1cd)+_0x3f06a2(0x1b2)+_0x3f06a2(0x170)+'hannel\x20:'+_0x3f06a2(0x18f)+_0x3f06a2(0x1c0)+_0x3f06a2(0x175)+_0x3f06a2(0x171)+'...chann'+_0x3f06a2(0x1df)+_0x3f06a2(0x156)+'..existi'+_0x3f06a2(0x16d)+'l,\x0a\x09\x09\x09\x09r'+_0x3f06a2(0x168)+_0x3f06a2(0x164)+_0x3f06a2(0x1cc)+_0x3f06a2(0x16e)+_0x3f06a2(0x1a3)+'ontexts\x20'+_0x3f06a2(0x141)+_0x3f06a2(0x1df)+_0x3f06a2(0x14d)+'eContext'+_0x3f06a2(0x1b1)+_0x3f06a2(0x179)+'existing'+_0x3f06a2(0x16e)+_0x3f06a2(0x1ae)+_0x3f06a2(0x141)+'elRuntim'+_0x3f06a2(0x192)+_0x3f06a2(0x1af)+'urn:\x20exi'+_0x3f06a2(0x174)+_0x3f06a2(0x17a)+_0x3f06a2(0x154)+_0x3f06a2(0x174)+_0x3f06a2(0x18e)+_0x3f06a2(0x149)+_0x3f06a2(0x15b)+_0x3f06a2(0x158)+'urn\x20??\x20c'+'hannelRu'+_0x3f06a2(0x155)+_0x3f06a2(0x159)+_0x3f06a2(0x1a9)+_0x3f06a2(0x146)+'ngChanne'+'l.reply\x20'+_0x3f06a2(0x141)+'elRuntim'+_0x3f06a2(0x182)+'\x0a\x09\x09\x09\x09ses'+'sion:\x20ex'+_0x3f06a2(0x15f)+_0x3f06a2(0x15e)+_0x3f06a2(0x1b4)+_0x3f06a2(0x178)+_0x3f06a2(0x1d6)+_0x3f06a2(0x186)+_0x3f06a2(0x143)+_0x3f06a2(0x145)+'runtime;'+_0x3f06a2(0x1d1)+'const\x20re'+'solveRun'+_0x3f06a2(0x1d8)+_0x3f06a2(0x189)+_0x3f06a2(0x1a4)+'edRuntim'+_0x3f06a2(0x1e1)+_0x3f06a2(0x1be)+'eChannel'+_0x3f06a2(0x1a8)+_0x3f06a2(0x1a5)+_0x3f06a2(0x17b)+_0x3f06a2(0x165)+_0x3f06a2(0x180)+_0x3f06a2(0x19a)+(_0x3f06a2(0x1b9)+'imeOptio'+_0x3f06a2(0x17d)+'\x09return\x20'+'resolved'+_0x3f06a2(0x1bd)+'\x0a\x09\x09};');return{'patched':!![],'source':_0x4180a2[_0x3f06a2(0x1b8)](_0x59e0e6,_0x59e0e6+'\x0a'+createRuntimeChannelImport(_0x3deb75))[_0x3f06a2(0x1b8)](_0x59d03e,_0x568716)};}function patchExistingChannelPluginRuntimeFromSource(_0x1770f9,_0x667c){const _0x4ad992=_0x5122,{runtimeChannelImportPath:_0xee7034}=_0x667c,_0x19d524=_0x4ad992(0x1d7)+_0x4ad992(0x161)+_0x4ad992(0x187)+_0x4ad992(0x147)+_0x4ad992(0x1de)+';';if(!_0x1770f9[_0x4ad992(0x184)](_0x19d524))return{'patched':![],'reason':_0x4ad992(0x148)+_0x4ad992(0x1cf)};const _0x3c7598=_0x4ad992(0x14e)+'solvedRu'+_0x4ad992(0x1bf)+_0x4ad992(0x1c1),_0x2706f9=_0x4ad992(0x1b6)+_0x4ad992(0x15a)+_0x4ad992(0x176)+_0x4ad992(0x18a)+_0x4ad992(0x18b)+_0x4ad992(0x142)+_0x4ad992(0x177)+'ME_REFLE'+_0x4ad992(0x14b)+_0x4ad992(0x1d3),_0x41265b=_0x1770f9[_0x4ad992(0x1d4)](_0x3c7598),_0xde6fee=_0x1770f9[_0x4ad992(0x1d4)](_0x2706f9,_0x41265b);if(_0x41265b===-0x1||_0xde6fee===-0x1)return{'patched':![],'reason':_0x4ad992(0x169)+'d'};const _0x58805d=_0x4ad992(0x14e)+_0x4ad992(0x1a7)+'ntime\x20=\x20'+_0x4ad992(0x1c7)+'const\x20en'+_0x4ad992(0x1be)+_0x4ad992(0x16a)+_0x4ad992(0x1a8)+'elpers\x20='+_0x4ad992(0x183)+'e)\x20=>\x20{\x0a'+_0x4ad992(0x188)+_0x4ad992(0x167)+_0x4ad992(0x1ad)+_0x4ad992(0x19e)+'e\x20!==\x20\x22o'+'bject\x22)\x20'+_0x4ad992(0x15d)+'untime;\x0a'+_0x4ad992(0x14a)+_0x4ad992(0x170)+_0x4ad992(0x1c4)+'turn?.ru'+_0x4ad992(0x185)+_0x4ad992(0x1e0)+'nnel?.in'+_0x4ad992(0x16f)+_0x4ad992(0x1c3)+_0x4ad992(0x163)+'me;\x0a\x09\x09\x09c'+_0x4ad992(0x1cb)+_0x4ad992(0x1a2)+_0x4ad992(0x152)+'jieCreat'+_0x4ad992(0x16c)+'Channel('+_0x4ad992(0x1b0)+_0x4ad992(0x173)+'tingChan'+_0x4ad992(0x17f)+_0x4ad992(0x1b5)+'annel\x20&&'+_0x4ad992(0x191)+_0x4ad992(0x1c0)+_0x4ad992(0x175)+_0x4ad992(0x1cd)+'ect\x22\x20?\x20r'+_0x4ad992(0x170)+'hannel\x20:'+_0x4ad992(0x18f)+_0x4ad992(0x1c0)+_0x4ad992(0x175)+_0x4ad992(0x171)+_0x4ad992(0x1a0)+_0x4ad992(0x1df)+_0x4ad992(0x156)+'..existi'+_0x4ad992(0x16d)+_0x4ad992(0x16b)+_0x4ad992(0x168)+_0x4ad992(0x164)+'existing'+_0x4ad992(0x16e)+_0x4ad992(0x1a3)+_0x4ad992(0x18c)+_0x4ad992(0x141)+_0x4ad992(0x1df)+_0x4ad992(0x14d)+_0x4ad992(0x1ac)+_0x4ad992(0x1b1)+'nbound:\x20'+_0x4ad992(0x1cc)+'Channel.'+_0x4ad992(0x1ae)+_0x4ad992(0x141)+_0x4ad992(0x1df)+_0x4ad992(0x192)+_0x4ad992(0x1af)+_0x4ad992(0x1bb)+_0x4ad992(0x174)+_0x4ad992(0x17a)+'n\x20??\x20exi'+_0x4ad992(0x174)+_0x4ad992(0x18e)+'ound\x20??\x20'+_0x4ad992(0x15b)+_0x4ad992(0x158)+_0x4ad992(0x19c)+'hannelRu'+_0x4ad992(0x155)+_0x4ad992(0x159)+_0x4ad992(0x1a9)+_0x4ad992(0x146)+'ngChanne'+_0x4ad992(0x1b3)+_0x4ad992(0x141)+_0x4ad992(0x1df)+_0x4ad992(0x182)+_0x4ad992(0x157)+_0x4ad992(0x1ca)+_0x4ad992(0x15f)+_0x4ad992(0x15e)+_0x4ad992(0x1b4)+_0x4ad992(0x178)+_0x4ad992(0x1d6)+_0x4ad992(0x186)+_0x4ad992(0x143)+_0x4ad992(0x145)+_0x4ad992(0x14c)+_0x4ad992(0x1d1)+_0x4ad992(0x144)+'solveRun'+_0x4ad992(0x1d8)+_0x4ad992(0x189)+_0x4ad992(0x1a4)+_0x4ad992(0x19b)+'e\x20??=\x20en'+'sureWuji'+_0x4ad992(0x16a)+_0x4ad992(0x1a8)+_0x4ad992(0x1a5)+'esolveCr'+'eatePlug'+_0x4ad992(0x180)+_0x4ad992(0x19a)+('ons.runt'+_0x4ad992(0x15c)+'ns));\x0a\x09\x09'+_0x4ad992(0x145)+_0x4ad992(0x1a1)+_0x4ad992(0x1bd)+_0x4ad992(0x1bc)),_0x54a858=_0x1770f9[_0x4ad992(0x190)](0x0,_0x41265b)+_0x58805d+_0x1770f9[_0x4ad992(0x190)](_0xde6fee);return{'patched':!![],'source':ensureRuntimeChannelImport(_0x54a858,{'importMarker':_0x19d524,'runtimeChannelImportPath':_0xee7034})};}function createRuntimeChannelImport(_0x5061b5){const _0x79c9de=_0x5122;return _0x79c9de(0x1d7)+_0x79c9de(0x1ce)+_0x79c9de(0x196)+_0x79c9de(0x160)+_0x79c9de(0x1c2)+'eateRunt'+_0x79c9de(0x166)+_0x79c9de(0x1d5)+'m\x20\x22'+_0x5061b5+'\x22;';}function _0x5122(_0x5d1c12,_0x4695af){_0x5d1c12=_0x5d1c12-0x140;const _0x264714=_0x2647();let _0x5122e9=_0x264714[_0x5d1c12];return _0x5122e9;}function hasRuntimeChannelImport(_0x29e942,_0x35c8b5){const _0x1d7a4d=_0x5122;return _0x29e942[_0x1d7a4d(0x184)](createRuntimeChannelImport(_0x35c8b5));}function ensureRuntimeChannelImport(_0x502f29,{importMarker:_0x5e5f96,runtimeChannelImportPath:_0xd2f11e}){const _0x4688df=_0x5122,_0x11f8c6=createRuntimeChannelImport(_0xd2f11e),_0x4fc430=/import \{ createRuntimeChannel as wujieCreateRuntimeChannel \} from "\.\/runtime-channel-[^"]+\.js";\n?/;if(_0x4fc430[_0x4688df(0x195)](_0x502f29))return _0x502f29['replace'](_0x4fc430,_0x11f8c6+'\x0a');return _0x502f29[_0x4688df(0x1b8)](_0x5e5f96,_0x5e5f96+'\x0a'+_0x11f8c6);}function _0x2647(){const _0x21b3ca=['ns));\x0a\x09\x09','280qyuKTa','nel\x20=\x20ru','inRuntim','185fyPPuA','e.reply,','\x20(runtim','includes','n\x20&&\x20run','session\x0a','ash\x20}\x20fr','\x09\x09\x09if\x20(!',')\x20=>\x20{\x0a\x09','ctionKey','Set\x20=\x20ne','ontexts\x20','turn:\x20ex','nnel.inb','\x20{};\x0a\x09\x09\x09','slice','\x20typeof\x20','e.inboun','annel\x20&&','ded','test','untimeCh','s);\x0a\x09\x09\x09r','meChanne','()(optio','e()(opti','edRuntim','urn\x20??\x20c','hannelIm','f\x20runtim','tingChan','...chann','resolved','nnelRunt','runtimeC','\x09\x09resolv','elpers(r','ateRunti','solvedRu','RuntimeH','\x09\x09\x09reply','rn\x20??','nnel?.in','eContext','||\x20typeo','inbound\x20','d,\x0a\x09\x09\x09\x09t',');\x0a\x09\x09\x09co','s,\x0a\x09\x09\x09\x09i','ect\x22\x20?\x20r','l.reply\x20','ssion\x20??','ntime.ch','\x09\x09const\x20','solveCre','replace','ons.runt','2530983JBAOza','urn:\x20exi','\x0a\x09\x09};\x0a','Runtime;','sureWuji','ntime\x20=\x20','runtime.','null;','\x20wujieCr','un)\x20retu','hannel?.','atePlugi','118316uuqAVi','null;\x0a\x09\x09','untime;\x0a','patched','sion:\x20ex','onst\x20cha','existing','===\x20\x22obj','\x20createR','ot-found','already-','\x0a\x09\x09};\x0a\x09\x09','imePromi','YS);','indexOf','el\x20}\x20fro','Runtime.','import\x20{','time\x20=\x20(','717426YEDuEO','eturn\x20re','meOption','228525kYxkPM','nRuntime',':crypto\x22','elRuntim','time.cha','e\x20??=\x20en','5675978TOUzAg','??\x20chann','w\x20Set(LA','\x09\x09\x09};\x0a\x09\x09','const\x20re','\x09return\x20',':\x20existi','om\x20\x22node','import-n','ound\x20??\x20','\x09\x09\x09if\x20(r','CTION_KE','runtime;','e.runtim','\x09\x09let\x20re','me;\x0a\x09\x09\x09c','bject\x22)\x20','1770942WTjQoo','ime\x20=\x20wu','wujieCre','n\x20??\x20exi','ntime.in','e,\x0a\x09\x09\x09\x09.','\x0a\x09\x09\x09\x09ses','untime.t','bound,\x0a\x09','lazyRunt','channelR','imeOptio','return\x20r','annel.se','istingCh','annel\x20as','\x20createH','251919RWjNku','rn\x20runti','ntexts:\x20','eatePlug','imeChann','runtime\x20','untimeCo','not-foun','eChannel','l,\x0a\x09\x09\x09\x09r','eRuntime','ngChanne','Channel.','bound?.r','untime.c','=\x20{\x0a\x09\x09\x09\x09','elpers\x20=','nst\x20exis','stingCha','channel\x20','imeRefle','ZY_RUNTI','\x20channel','nbound:\x20','nnel.tur','esolveCr','ns.runti'];_0x2647=function(){return _0x21b3ca;};return _0x2647();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3814c8,_0x4af066){const _0x61b96f=_0x30fb,_0x52e517=_0x3814c8();while(!![]){try{const _0x453783=-parseInt(_0x61b96f(0xc2))/0x1+parseInt(_0x61b96f(0xb7))/0x2*(-parseInt(_0x61b96f(0x9b))/0x3)+parseInt(_0x61b96f(0xab))/0x4+parseInt(_0x61b96f(0xe3))/0x5*(-parseInt(_0x61b96f(0xb5))/0x6)+-parseInt(_0x61b96f(0xbe))/0x7*(-parseInt(_0x61b96f(0x9d))/0x8)+parseInt(_0x61b96f(0xb9))/0x9*(-parseInt(_0x61b96f(0xd1))/0xa)+parseInt(_0x61b96f(0xf1))/0xb*(parseInt(_0x61b96f(0xa9))/0xc);if(_0x453783===_0x4af066)break;else _0x52e517['push'](_0x52e517['shift']());}catch(_0x302ebd){_0x52e517['push'](_0x52e517['shift']());}}}(_0x2ea1,0x66a2c));function _0x2ea1(){const _0x347c4e=['ext\x20===\x20','true\x0a\x09}\x20','already-','d.push(b','lay(entr','ected\x20=\x20','\x09}\x20else\x20','y\x20=\x20bloc','11145iqVARF','ctiveTag','pe);\x0a\x09})','\x09\x09\x09text:','(entry.t','nst\x20entr','ed.text\x0a','indexOf','hanged:\x20','\x20!==\x20\x22ob','not-foun','t,\x20maxCh','lineDire','\x20false;\x0a','660473wEUgPZ','\x22string\x22','eChatHis','\x20entry.t','\x09if\x20(!bl','rn\x20hasTe','ars)\x20{\x0a\x09','e((block',')\x20{\x0a\x09\x09if','\x0a\x09\x09\x09proj','15ARnTYM','\x09}\x0a\x09retu','20712YTLfKJ','xChars);',')\x20=>\x20{\x0a\x09',');\x0a\x09\x09\x09co','t(conten','sh({\x0a\x09\x09\x09','\x09\x09}\x0a\x09\x09co','function','\x22text\x22\x20&','y.text).','ue;\x0a\x09\x09\x09c','jected.p','132lqPHEh','substrin','3002364QqmayH','ypeof\x20bl','replace','ected.pu','patched',')\x20return','ock\x20||\x20t','ype\x20===\x20','\x20&&\x20entr','if\x20(!con','822TFSIgi','\x20(const\x20','137128aMzAzE','ted,\x0a\x09\x09c','108JUmywK','[];\x0a\x09for','tTextFro','(stripIn','y.text.t','525OvONep','let\x20hasT','text\x22,\x0a\x09',':\x20null;\x0a','346738BlkaoE','\x20content','\x20||\x20type','\x09\x09\x09});\x0a\x09','\x09content','ncated\x20=','ext\x20=\x20tr','nst\x20proj','lock)','text,\x20ma','\x20project','sForDisp','\x20isToolH','mMixedTo','sh(block','158260TAVNRp','\x22object\x22','tent.som','{\x0a\x09\x09\x09pro','istoryBl','olConten','\x20(!block',':\x20projec','\x20truncat','ush(bloc'];_0x2ea1=function(){return _0x347c4e;};return _0x2ea1();}function _0x30fb(_0x441fd6,_0x2793b4){_0x441fd6=_0x441fd6-0x99;const _0x2ea19c=_0x2ea1();let _0x30fb30=_0x2ea19c[_0x441fd6];return _0x30fb30;}export function patchMixedToolContentFromSource(_0x8dfe56){const _0x538265=_0x30fb,_0x3be2d4=_0x538265(0xa4)+'\x20project'+'Assistan'+_0x538265(0xbb)+_0x538265(0xcf)+_0x538265(0xd6)+'t',_0x4184d3=_0x8dfe56[_0x538265(0xea)](_0x3be2d4);if(_0x4184d3===-0x1)return{'patched':![],'reason':_0x538265(0xed)+'d'};let _0x131c14=0x0,_0x47cace=![],_0x26acc9=_0x4184d3;for(let _0x59f96b=_0x4184d3;_0x59f96b<_0x8dfe56['length'];_0x59f96b+=0x1){_0x8dfe56[_0x59f96b]==='{'&&(_0x131c14+=0x1,_0x47cace=!![]);_0x8dfe56[_0x59f96b]==='}'&&(_0x131c14-=0x1);if(_0x47cace&&_0x131c14===0x0){_0x26acc9=_0x59f96b+0x1;break;}}const _0x4f13dc=_0x8dfe56[_0x538265(0xaa)+'g'](_0x4184d3,_0x26acc9);if(_0x4f13dc['includes']('projecte'+_0x538265(0xde)+_0x538265(0xca)))return{'patched':![],'reason':_0x538265(0xdd)+_0x538265(0xaf)};const _0x182a7c=_0x538265(0xa4)+_0x538265(0xcc)+'Assistan'+_0x538265(0xbb)+'mMixedTo'+'olConten'+_0x538265(0xa1)+_0x538265(0xee)+_0x538265(0xf7)+_0x538265(0xb4)+_0x538265(0xd3)+_0x538265(0xf8)+_0x538265(0x9f)+_0x538265(0xf5)+_0x538265(0xb1)+_0x538265(0xac)+'ock\x20!==\x20'+_0x538265(0xd2)+_0x538265(0xb0)+_0x538265(0xf0)+'\x09\x09return'+_0x538265(0xce)+_0x538265(0xd5)+'ockType('+'block.ty'+_0x538265(0xe5)+_0x538265(0xb0)+'\x20null;\x0a\x09'+_0x538265(0xbf)+'ext\x20=\x20fa'+'lse;\x0a\x09co'+_0x538265(0xc9)+_0x538265(0xe0)+_0x538265(0xba)+_0x538265(0xb6)+'block\x20of'+_0x538265(0xc3)+_0x538265(0x99)+_0x538265(0xd7)+_0x538265(0xc4)+'of\x20block'+_0x538265(0xec)+'ject\x22)\x20{'+_0x538265(0x9a)+_0x538265(0xae)+_0x538265(0xd0)+_0x538265(0xa0)+'ntinue;\x0a'+_0x538265(0xa3)+_0x538265(0xe8)+_0x538265(0xe2)+'k;\x0a\x09\x09if\x20'+_0x538265(0xe7)+_0x538265(0xb2)+_0x538265(0xa5)+'&\x20typeof'+_0x538265(0xf4)+_0x538265(0xdb)+_0x538265(0xf2)+_0x538265(0xb3)+_0x538265(0xbd)+'rim())\x20{'+'\x0a\x09\x09\x09hasT'+_0x538265(0xc8)+_0x538265(0xa7)+'onst\x20tru'+_0x538265(0xc7)+_0x538265(0xd9)+_0x538265(0xf3)+'toryText'+_0x538265(0xbc)+_0x538265(0xef)+_0x538265(0xe4)+_0x538265(0xcd)+_0x538265(0xdf)+_0x538265(0xa6)+_0x538265(0xcb)+_0x538265(0x9e)+'\x0a\x09\x09\x09proj'+_0x538265(0xae)+_0x538265(0xa2)+'\x09type:\x20\x22'+_0x538265(0xc0)+_0x538265(0xe6)+_0x538265(0xd9)+_0x538265(0xe9)+_0x538265(0xc5)+_0x538265(0xe1)+_0x538265(0xd4)+_0x538265(0xa8)+_0x538265(0xda)+'k);\x0a\x09\x09}\x0a'+_0x538265(0x9c)+_0x538265(0xf6)+'xt\x20?\x20{\x0a\x09'+_0x538265(0xc6)+_0x538265(0xd8)+_0x538265(0xb8)+_0x538265(0xeb)+_0x538265(0xdc)+_0x538265(0xc1)+'}';return{'patched':!![],'source':_0x8dfe56[_0x538265(0xad)](_0x4f13dc,_0x182a7c)};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x338c95=_0x5fdc;function _0x5fdc(_0x3ece64,_0x1c48e0){_0x3ece64=_0x3ece64-0x1cb;const _0x28b528=_0x28b5();let _0x5fdc8e=_0x28b528[_0x3ece64];return _0x5fdc8e;}function _0x28b5(){const _0x10aada=['equest-i','trim','ToRecord','model?.i','console.','sponse\x20}','.complet','12680hhgYlz','=\x20respon','(model,\x20','168rjULuE','questId\x20','ll,','chat.com','d\x20??\x20nul','.signal)','estId)\x20o','rovider-','ions(mod','106494nzUEHi','wait\x20cli','nRespons','await\x20op','},\x20model','buildOpe','questId;','if\x20(requ','length','\x20client.','rs.get(\x22','});','d\x22]\x20=\x20re','thRespon','1540700zXEHxP','ons?.sig','52315YUUJZL','3135027CjrsVf','split','id]\x20resp','27uazvcc','push','el,\x20opti','includes','headers:','sponseSt','request-','params,\x20','patched','r:\x20model','join','e.header','\x09provide','not-foun','\x09status:','utput[\x22r','nAISdkRe','se();','\x20=\x20await','already-','dkReques','const\x20re','oolean(r','tions?.o','(respons','estId:\x20B','ms,\x20buil','se.heade','ate(para','data:\x20re','der\x22,\x20{','nal)).wi','id\x22);','\x09hasRequ','ream\x20=\x20a','481666ZEpetM','8yZSMMg','3025508veWZMe','test','match'];_0x28b5=function(){return _0x10aada;};return _0x28b5();}(function(_0xa52502,_0x2f7f30){const _0x2f2bd5=_0x5fdc,_0x1bb56b=_0xa52502();while(!![]){try{const _0x4a37fa=parseInt(_0x2f2bd5(0x1e3))/0x1+-parseInt(_0x2f2bd5(0x1e4))/0x2*(-parseInt(_0x2f2bd5(0x1fb))/0x3)+-parseInt(_0x2f2bd5(0x1e5))/0x4+-parseInt(_0x2f2bd5(0x20b))/0x5*(-parseInt(_0x2f2bd5(0x1f2))/0x6)+parseInt(_0x2f2bd5(0x20c))/0x7+parseInt(_0x2f2bd5(0x1ef))/0x8*(-parseInt(_0x2f2bd5(0x20f))/0x9)+-parseInt(_0x2f2bd5(0x209))/0xa;if(_0x4a37fa===_0x2f7f30)break;else _0x1bb56b['push'](_0x1bb56b['shift']());}catch(_0x4ab36d){_0x1bb56b['push'](_0x1bb56b['shift']());}}}(_0x28b5,0x6db01));const REQUEST_ID_HEADER_PATCH_MARKER=_0x338c95(0x1d5)+'questId\x20'+_0x338c95(0x1f0)+_0x338c95(0x1db)+_0x338c95(0x205)+_0x338c95(0x215)+_0x338c95(0x1e0),OPENAI_COMPLETIONS_TRANSPORT_CREATE_LINE=_0x338c95(0x1d5)+_0x338c95(0x214)+_0x338c95(0x1e2)+_0x338c95(0x1fc)+'ent.chat'+_0x338c95(0x1ee)+'ions.cre'+_0x338c95(0x1dc)+_0x338c95(0x1da)+'dOpenAIS'+_0x338c95(0x1d4)+'tOptions'+_0x338c95(0x1f1)+'options?'+_0x338c95(0x1f7)+');',OPENAI_COMPLETIONS_TRANSPORT_PATCH_MARKER='const\x20{\x20'+_0x338c95(0x1dd)+_0x338c95(0x214)+'ream,\x20re'+_0x338c95(0x1ed)+_0x338c95(0x1d2)+_0x338c95(0x204)+_0x338c95(0x1f5)+'pletions'+'.create('+_0x338c95(0x216)+_0x338c95(0x200)+_0x338c95(0x1d0)+'questOpt'+_0x338c95(0x1fa)+_0x338c95(0x211)+_0x338c95(0x20a)+_0x338c95(0x1df)+_0x338c95(0x208)+_0x338c95(0x1d1);export function patchProviderRequestIdHeaderFromSource(_0x237acc){const _0x5a4f8e=_0x338c95,_0x1dacd6=_0x237acc[_0x5a4f8e(0x20d)]('\x0a'),_0xaf77d5=[];let _0x83d586=![],_0x5a6c79=_0x237acc['includes'](OPENAI_COMPLETIONS_TRANSPORT_PATCH_MARKER),_0x18a089=/if \(requestId\) output\["request-id"\] = requestId;\s*await options\?\.onResponse\?\.\(\{/[_0x5a4f8e(0x1e6)](_0x237acc);for(let _0xe0081e=0x0;_0xe0081e<_0x1dacd6[_0x5a4f8e(0x203)];_0xe0081e+=0x1){const _0x4c72cf=_0x1dacd6[_0xe0081e];if(!_0x5a6c79&&_0x4c72cf[_0x5a4f8e(0x212)](OPENAI_COMPLETIONS_TRANSPORT_CREATE_LINE)){const _0xd09559=_0x4c72cf[_0x5a4f8e(0x1e7)](/^\s*/)?.[0x0]??'';_0xaf77d5['push'](''+_0xd09559+OPENAI_COMPLETIONS_TRANSPORT_PATCH_MARKER,_0xd09559+('const\x20re'+_0x5a4f8e(0x1f3)+'=\x20respon'+_0x5a4f8e(0x1db)+_0x5a4f8e(0x205)+_0x5a4f8e(0x215)+_0x5a4f8e(0x1e0)),_0xd09559+(_0x5a4f8e(0x1ec)+'info(\x22[p'+_0x5a4f8e(0x1f9)+_0x5a4f8e(0x215)+_0x5a4f8e(0x20e)+'onse\x20hea'+_0x5a4f8e(0x1de)),_0xd09559+(_0x5a4f8e(0x1cc)+_0x5a4f8e(0x218)+'?.provid'+'er\x20??\x20nu'+_0x5a4f8e(0x1f4)),_0xd09559+('\x09model:\x20'+_0x5a4f8e(0x1eb)+_0x5a4f8e(0x1f6)+'l,'),_0xd09559+(_0x5a4f8e(0x1ce)+'\x20respons'+'e.status'+','),_0xd09559+(_0x5a4f8e(0x1e1)+_0x5a4f8e(0x1d9)+_0x5a4f8e(0x1d6)+'equestId'+'),'),_0xd09559+_0x5a4f8e(0x206),_0xd09559+(_0x5a4f8e(0x202)+_0x5a4f8e(0x1f8)+_0x5a4f8e(0x1cf)+'equest-i'+_0x5a4f8e(0x207)+_0x5a4f8e(0x201))),_0x83d586=!![],_0x5a6c79=!![];continue;}if(_0x18a089||!_0x4c72cf[_0x5a4f8e(0x212)](_0x5a4f8e(0x1fe)+_0x5a4f8e(0x1d7)+_0x5a4f8e(0x1fd)+'e?.({')){_0xaf77d5[_0x5a4f8e(0x210)](_0x4c72cf);continue;}let _0x389ac4=_0xe0081e;while(_0x389ac4<_0x1dacd6[_0x5a4f8e(0x203)]&&_0x389ac4-_0xe0081e<0x8&&_0x1dacd6[_0x389ac4][_0x5a4f8e(0x1e9)]()!==_0x5a4f8e(0x1ff)+');'){_0x389ac4+=0x1;}const _0x432069=_0x1dacd6['slice'](_0xe0081e,_0x389ac4+0x1)[_0x5a4f8e(0x219)]('\x0a');if(!_0x432069[_0x5a4f8e(0x212)](_0x5a4f8e(0x213)+'\x20headers'+_0x5a4f8e(0x1ea)+_0x5a4f8e(0x1d8)+_0x5a4f8e(0x1cb)+'s)')){_0xaf77d5[_0x5a4f8e(0x210)](_0x4c72cf);continue;}const _0x3e1aea=_0x4c72cf[_0x5a4f8e(0x1e7)](/^\s*/)?.[0x0]??'';_0xaf77d5[_0x5a4f8e(0x210)](_0x3e1aea+(_0x5a4f8e(0x1d5)+'questId\x20'+'=\x20respon'+_0x5a4f8e(0x1db)+_0x5a4f8e(0x205)+'request-'+_0x5a4f8e(0x1e0)),_0x3e1aea+(_0x5a4f8e(0x202)+'estId)\x20o'+_0x5a4f8e(0x1cf)+_0x5a4f8e(0x1e8)+_0x5a4f8e(0x207)+_0x5a4f8e(0x201))),_0x83d586=!![],_0x18a089=!![],_0xaf77d5[_0x5a4f8e(0x210)](_0x4c72cf);}if(!_0x83d586)return{'patched':![],'reason':_0x237acc[_0x5a4f8e(0x212)](REQUEST_ID_HEADER_PATCH_MARKER)||_0x237acc[_0x5a4f8e(0x212)](OPENAI_COMPLETIONS_TRANSPORT_PATCH_MARKER)?_0x5a4f8e(0x1d3)+_0x5a4f8e(0x217):_0x5a4f8e(0x1cd)+'d'};return{'patched':!![],'source':_0xaf77d5[_0x5a4f8e(0x219)]('\x0a')};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x14a6(){const _0x11f4d8=['solveQQB','el).trim','`user:${','*/\x0a\x09\x09\x09lo','tId,\x0a\x09\x09c','get(para','();\x0a\x09con','main`;\x0a}','irect\x22,\x20','atType,\x0a','t)\x20or\x20qq','stripPro','al\x20qqbot','d,\x20route','ute.peer','get(valu','105810AFkYhL','Kind:\x20\x22d','tId:\x20par','||\x20\x22main','found','\x09return\x20','d:\x20id\x20}\x20','Fallback','nKey,\x0a\x09\x09','d\x20(group','hannel-p','function','st\x20witho','roupMirr','sWith(\x22t','t:\x22)\x20?\x20r',');\x0a\x09retu','seSessio','wujieNor','ujieNorm','outProvi','rovider.',').trim()','Target(r',':\x20routeT','ms?.targ','bot\x22\x20:\x20`','rn\x20`agen','route,\x20a','ze\x20commo','wujieRes','ce(/^(gr','esolveQQ','\x20\x22main\x22;','{\x20chatTy','\x0a\x09\x09targe','\x22,\x0a\x09\x09fro','otDirect','nnel-pee','onversat','ix\x20=\x20rou','n\x20QQ\x20Bot','\x09\x09}\x0a\x09},','y(cfg,\x20a','\x22per-cha','y:\x20baseS','rget\x20=\x20w','oute,\x0a\x09\x09','replace(','ssionKey','not-foun',':direct:','ith(\x22roo','-resolve','direct)\x20','erId\x0a\x09};','d:\x20looks','r\x20=\x20with','\x20\x22user\x22\x20','qqbot:${','\x09const\x20t','params.c','421519wUxLwp','\x09}\x0a\x09cons','?\x20\x22\x22),\x20c','peerId)\x20','ring(par','urn\x20null','}:${rout','w.toLowe','th(\x22qqbo','e()\x20||\x20\x22','.peerKin','kind:\x20ro','arget\x20fo','roupid\x20(','ujieReso','rId}`,\x0a\x09','Session(','ionKey,\x0a','rmat:\x20qq','tTarget,','\x20Return\x20','r|direct','uteTarge','roup:\x22)\x20','nst\x20with','toPrefix','id\x20}\x20:\x20n','\x20normali','et,\x20para','.trim();','{\x0a\x09if\x20(n','params)\x20','irror\x20=\x20','{\x0a\x09\x09cons','el\x20=\x20\x22qq','oupMirro','QBotPeer','aw.slice','==\x20\x22qqbo','RouteTar','lower.st','fix(Stri','40NTNthv','\x20null;\x0a\x09','er.start','ault\x22).t','153tVoaoJ','}:${norm','bot\x22;\x0a\x09c','\x20target\x20','`${fromP','m();\x0a\x09co','rn\x20{\x0a\x09\x09s','alizedAc','eStringO','malizeQQ','rmalizeQ',':\x20null;\x0a','e:\x20\x22chan','includes','messagin','werCase(','.startsW','\x09cfg:\x20pa',':/i,\x20\x22\x22)','\x20Normali','Scope\x20==','rn\x20true\x20','eSession','nnel}:${','chatType','openid\x20(','eTarget.','(params)','n\x20=\x20{','rimmed\x20=','formats\x20','s.agentI','{routeTa','String(a','(\x22channe','zed)\x20ret','withoutP','ot-found','LikeId:\x20','\x09const\x20w','nt:${nor','sation:\x22','bot:c2c:',');\x0a\x09cons','ession)\x20','t\x20id\x20=\x20n','\x09\x09from:\x20','-normali','der.repl','er|direc','\x20qqbot:c','2c:openi','rmalized','eOutboun',';\x0a\x09\x09retu','ersation','t\x22,\x20peer','unction\x20',')\x20{\x0a\x09con','ujieQQBo','rim().to','\x20{\x0a\x09\x09con','nKey({\x0a\x09','/^(user|','peer:\x20{\x20','trim();\x0a','Kind\x20!==','\x20resolve','alizedAg','patched','QBotSess','/^g-/i,\x20','d\x20(direc','replace','m|c2c):/','\x09\x09resolv','arams.cf',':\x20\x22chann','ent:${no','untId,\x0a\x09','ope\x20===\x20','tResolve','\x20id\x20=\x20no','11nJFJxn','{channel',':\x20\x22direc',',\x0a\x09\x09agen','nction\x20w','peerId:\x20','\x20routeTa','ingOrEmp','\x09to:\x20`${','untId\x20=\x20','true\x20whe','\x20id\x20look','\x20stripPr','13FGtvGo','tDirectF','Route:\x20w','ad:\x22))\x20{','hannel:\x22','\x20\x22direct','(\x22conver','Provider','Prefix(r','\x20without','\x20=\x20route','5988430aonYip','withoutG','wujieQQB','-shape-n','ng:\x20{\x0a\x09\x09','group)\x22\x0a','eer,\x0a\x09\x09c','channel}','\x0a\x09if\x20(dm','ieBuildQ','Key,\x0a\x09\x09p',')\x20return','onRoute(','hatType:','\x20Bot\x20tar','ithoutGr','aw,\x20para','6nZOqzC','st\x20lower','arams.ch','gentId\x20=',':group:g','routeTar','rCase()\x20','TargetCh','urn\x20`age','Type}`;\x0a','rget(raw','lizeLowe','\x20:\x20raw;\x0a','ntId}:${','\x20chatTyp','kSession','n\x20null;','normaliz','m.\x20*/\x0a\x09\x09','ccountId','!normali','ams.targ','th(\x22thre',');\x0a\x09if\x20(','sion?.dm','QBotTarg','gentId}:','ession','default\x22','r\x20=\x20{\x0a\x09\x09','wer.star','t\x20target','ionKey(p','\x22\x22).trim','hannel).','eResolve','efixes:\x20','${peerId','-functio','el\x22;\x0a\x09co','\x20format:','|\x20lower.','[\x22qqbot\x22','et)\x20retu','\x20QQ\x20Bot\x20','d}:${pee','atType:\x20','solver:\x20','Scope\x20??','artsWith','?.target','QQ\x20Bot\x20t','pe:\x20\x22gro','agentId\x20','Route','oviderPr','\x22).trim(','outeTarg',':...\x20for','get.chat','Scope\x20=\x20','):/i,\x20\x22\x22','n\x20wujieR','erId\x20=\x20w',':${norma','Session\x20','sessionK','or.repla','olveQQBo','group\x22,\x20','BotOutbo','g,\x20param','Id\x20},\x0a\x09\x09','eTarget,','\x0a\x09\x09\x09hint','lveQQBot','=\x20wujieR','already-','\x09peer\x0a\x09}','\x22per-pee','irect\x22\x20?','t\x20peerId','nel)\x20{\x0a\x09',':${chann','|thread)',';\x0a\x09const','und','\x20canonic','\x0a\x09\x09const','ams.agen','\x0a\x09if\x20(ro','193286PfDNeC','zed.toLo','BotPeerT','der\x20=\x20ra','Prefix\x20=','\x20||\x20\x22def','peerId}`','rams.cha','teTarget','essionKe','m:\x20`${pa','existing','onst\x20nor','oksLikeI','r\x22\x20&&\x20pe','tsWith(\x22','\x0a\x09if\x20(!r','!peerId)','irect\x22,\x0a','rams.cfg','=\x20\x22per-a','hannel,\x0a','ey\x20=\x20wuj','annel)\x20!','tboundBa','d)\x20retur','utGroupM','when\x20the','erKind:\x20','tOutboun','r-not-fo','otPeerTa','if\x20(dmSc','const\x20qq','entId}:$','],\x0a\x09\x09/**','rcaseStr','(\x22group:','n\x20the\x20id','\x0a\x09const\x20','rKind:\x20\x22','et?.to\x20?','{\x0a\x09\x09\x09/**','ion:\x22)\x20|','(\x22qqbot:','rget.pee','BotDirec','alizeQQB','countId}','return\x20w','Outbound','ams.acco','{\x0a\x09const','rn\x20id\x20?\x20','m:\x22)\x20||\x20','rCase().',';\x0a\x09if\x20(w','target.\x20','nst\x20norm','t\x20toPref','sWith(\x22c','arget.ch','\x22;\x0a\x09cons','({\x20to\x20})','\x22,\x20peerI','(!trimme','ike\x20a\x20QQ','value\x20??','}`;\x0a\x09}\x0a\x09','fallback','izedAcco','();\x0a\x09if\x20','\x20??\x20\x22\x22);','ce(/^(us','nd,\x20id:\x20','const\x20dm','\x22.length','dSession','n\x20id\x20?\x20{','room:\x22))','\x09\x09\x09looks','ty(witho','5teNRoz','ormalize','\x20return\x20','t\x22\x20?\x20\x22qq','erId)\x20re','QQBotRou','\x22)\x20retur','s\x20like\x20a','allbackS',')\x20||\x20low','p:groupi','vider\x20=\x20','hannel:\x20','\x0a\x09};\x0a}','\x0a\x09return','LikeQQBo','lizedAge','startsWi','\x20String(','et(value','ionKey\x20=','thoutPro','eer\x22\x20&&\x20','turn\x20`ag','Target,\x20','AgentId}','\x20=>\x20wuji','\x20wujieNo','gentId,\x20','eQQBotTa','rn\x20null;','arget','t.peerKi','371556KigVRc','targetRe','const\x20pe','12gtJbRj','n-not-fo','4443924DEYVmw','4568628UQhshA','tFallbac','st\x20chann','}`;\x0a\x09ret','direct|d','.peerId;','nchor-no','n\x20`agent','\x09\x09id:\x20pe','{\x0a\x09\x09sess',')\x22\x0a\x09\x09}\x0a\x09','viderPre','ession;','ccount-c','=\x20\x22direc','ms.chann','indexOf','\x22channel','Lowercas','\x09messagi','st\x20raw\x20=','.replace','efix(par',').toLowe','plugin-a'];_0x14a6=function(){return _0x11f4d8;};return _0x14a6();}(function(_0x2c371c,_0x8f9c54){const _0xe27d38=_0x1a8d,_0x3adfe9=_0x2c371c();while(!![]){try{const _0x534f92=-parseInt(_0xe27d38(0x1b7))/0x1*(-parseInt(_0xe27d38(0x212))/0x2)+-parseInt(_0xe27d38(0x285))/0x3*(-parseInt(_0xe27d38(0x288))/0x4)+parseInt(_0xe27d38(0x264))/0x5*(-parseInt(_0xe27d38(0x28b))/0x6)+-parseInt(_0xe27d38(0x2f2))/0x7*(-parseInt(_0xe27d38(0x31c))/0x8)+-parseInt(_0xe27d38(0x320))/0x9*(-parseInt(_0xe27d38(0x2b4))/0xa)+-parseInt(_0xe27d38(0x18e))/0xb*(-parseInt(_0xe27d38(0x28a))/0xc)+parseInt(_0xe27d38(0x19b))/0xd*(-parseInt(_0xe27d38(0x1a6))/0xe);if(_0x534f92===_0x8f9c54)break;else _0x3adfe9['push'](_0x3adfe9['shift']());}catch(_0x454229){_0x3adfe9['push'](_0x3adfe9['shift']());}}}(_0x14a6,0x95c90));export function patchQQBotOutboundSessionRouteFromSource(_0xe54286){const _0x26d1b7=_0x1a8d;if(_0xe54286[_0x26d1b7(0x32d)](_0x26d1b7(0x2d2)+'olveQQBo'+_0x26d1b7(0x22f)+_0x26d1b7(0x25f)+_0x26d1b7(0x1ed)))return{'patched':![],'reason':'already-'+_0x26d1b7(0x180)};const _0x361a73=_0x26d1b7(0x233)+'botPlugi'+_0x26d1b7(0x157);if(!_0xe54286[_0x26d1b7(0x32d)](_0x361a73))return{'patched':![],'reason':_0x26d1b7(0x2a3)+_0x26d1b7(0x291)+'t-found'};const _0x3c1c02=_0x26d1b7(0x29e)+_0x26d1b7(0x1aa)+'targetPr'+_0x26d1b7(0x1db)+_0x26d1b7(0x1e1)+_0x26d1b7(0x235)+_0x26d1b7(0x333)+_0x26d1b7(0x2d1)+_0x26d1b7(0x2dd)+_0x26d1b7(0x323)+'formats\x20'+'into\x20the'+'\x20canonic'+_0x26d1b7(0x2b0)+_0x26d1b7(0x1f1)+_0x26d1b7(0x1c9)+'normaliz'+_0x26d1b7(0x200)+_0x26d1b7(0x2d7)+_0x26d1b7(0x18c)+'r:\x20{\x0a\x09\x09\x09'+'/**\x20Retu'+_0x26d1b7(0x335)+_0x26d1b7(0x22d)+_0x26d1b7(0x199)+_0x26d1b7(0x26b)+_0x26d1b7(0x1e3)+_0x26d1b7(0x24b)+_0x26d1b7(0x2a7)+_0x26d1b7(0x21f)+_0x26d1b7(0x2ec)+_0x26d1b7(0x273)+_0x26d1b7(0x305)+_0x26d1b7(0x201)+':\x20\x22QQ\x20Bo'+_0x26d1b7(0x1d6)+_0x26d1b7(0x1df)+_0x26d1b7(0x16d)+_0x26d1b7(0x16e)+_0x26d1b7(0x183)+_0x26d1b7(0x2ae)+'bot:grou'+_0x26d1b7(0x26e)+_0x26d1b7(0x2bd)+_0x26d1b7(0x295)+'},';if(!_0xe54286['includes'](_0x3c1c02))return{'patched':![],'reason':_0x26d1b7(0x32e)+'g-shape-'+_0x26d1b7(0x2e6)+'d'};const _0xb3838c=qqBotPluginRouteHelperSource()+'\x0a'+_0x361a73,_0x82dec2=_0x26d1b7(0x29e)+'ng:\x20{\x0a\x09\x09'+'targetPr'+_0x26d1b7(0x1db)+_0x26d1b7(0x1e1)+_0x26d1b7(0x235)+_0x26d1b7(0x333)+'ze\x20commo'+_0x26d1b7(0x2dd)+_0x26d1b7(0x323)+_0x26d1b7(0x159)+'into\x20the'+_0x26d1b7(0x20e)+_0x26d1b7(0x2b0)+_0x26d1b7(0x1f1)+_0x26d1b7(0x1c9)+_0x26d1b7(0x1c8)+'eTarget,'+'\x0a\x09\x09infer'+_0x26d1b7(0x1be)+_0x26d1b7(0x1e5)+_0x26d1b7(0x251)+_0x26d1b7(0x27e)+_0x26d1b7(0x1da)+_0x26d1b7(0x269)+'teTarget'+'(to)?.ch'+_0x26d1b7(0x2ad)+_0x26d1b7(0x186)+_0x26d1b7(0x170)+_0x26d1b7(0x25f)+_0x26d1b7(0x19d)+_0x26d1b7(0x300)+_0x26d1b7(0x202)+_0x26d1b7(0x244)+'SessionR'+_0x26d1b7(0x2e3)+_0x26d1b7(0x286)+_0x26d1b7(0x1e6)+_0x26d1b7(0x23c)+_0x26d1b7(0x306)+_0x26d1b7(0x198)+_0x26d1b7(0x238)+'\x20looks\x20l'+_0x26d1b7(0x254)+_0x26d1b7(0x1b4)+'get.\x20*/\x0a'+_0x26d1b7(0x262)+_0x26d1b7(0x161)+'looksLik'+_0x26d1b7(0x281)+'rget,\x0a\x09\x09'+'\x09hint:\x20\x22'+_0x26d1b7(0x1ea)+_0x26d1b7(0x2fe)+_0x26d1b7(0x304)+_0x26d1b7(0x165)+_0x26d1b7(0x154)+_0x26d1b7(0x2ea)+'or\x20qqbot'+_0x26d1b7(0x1bb)+_0x26d1b7(0x2ff)+_0x26d1b7(0x1ab)+_0x26d1b7(0x2de);return{'patched':!![],'source':_0xe54286['replace'](_0x361a73,_0xb3838c)['replace'](_0x3c1c02,_0x82dec2)};}export function patchQQBotOutboundFallbackFromSource(_0xd6d067){const _0x57e7e4=_0x1a8d;if(_0xd6d067[_0x57e7e4(0x32d)](_0x57e7e4(0x2d2)+'olveQQBo'+'tDirectF'+'allbackS'+_0x57e7e4(0x1d2))){if(!_0xd6d067[_0x57e7e4(0x32d)]('replace('+_0x57e7e4(0x17a)+_0x57e7e4(0x28f)+_0x57e7e4(0x185)+'i'))return upgradeExistingQQBotOutboundFallbackPatch(_0xd6d067);return{'patched':![],'reason':_0x57e7e4(0x204)+_0x57e7e4(0x180)};}const _0x10c8de=_0x57e7e4(0x2bf)+_0x57e7e4(0x17e)+_0x57e7e4(0x2bb)+'Session('+_0x57e7e4(0x311)+'{';if(!_0xd6d067[_0x57e7e4(0x32d)](_0x10c8de))return{'patched':![],'reason':_0x57e7e4(0x257)+_0x57e7e4(0x1dd)+_0x57e7e4(0x289)+_0x57e7e4(0x20d)};const _0x2817cb=_0x57e7e4(0x2f0)+_0x57e7e4(0x158)+_0x57e7e4(0x19a)+_0x57e7e4(0x1ee)+_0x57e7e4(0x2a1)+_0x57e7e4(0x1cc)+_0x57e7e4(0x30e)+_0x57e7e4(0x29a)+'el).trim'+_0x57e7e4(0x259)+_0x57e7e4(0x253)+_0x57e7e4(0x22b)+_0x57e7e4(0x1c7);if(!_0xd6d067[_0x57e7e4(0x32d)](_0x2817cb))return{'patched':![],'reason':_0x57e7e4(0x257)+_0x57e7e4(0x1a9)+_0x57e7e4(0x160)};const _0x4e9c6c=qqBotCoreFallbackHelperSource()+'\x0a'+_0x10c8de,_0x4de6d2=_0x2817cb+(_0x57e7e4(0x239)+_0x57e7e4(0x1a8)+_0x57e7e4(0x2d9)+_0x57e7e4(0x1f8)+_0x57e7e4(0x203)+'esolveQQ'+_0x57e7e4(0x240)+_0x57e7e4(0x28c)+_0x57e7e4(0x1c6)+_0x57e7e4(0x156)+_0x57e7e4(0x24a)+_0x57e7e4(0x176)+'tDirectS'+_0x57e7e4(0x167)+_0x57e7e4(0x243)+'ujieQQBo'+'tDirectS'+_0x57e7e4(0x297));return{'patched':!![],'source':_0xd6d067['replace'](_0x10c8de,_0x4e9c6c)[_0x57e7e4(0x184)](_0x2817cb,_0x4de6d2)};}function _0x1a8d(_0x2d78bb,_0xcacfde){_0x2d78bb=_0x2d78bb-0x154;const _0x14a66d=_0x14a6();let _0x1a8db7=_0x14a66d[_0x2d78bb];return _0x1a8db7;}function qqBotPluginRouteHelperSource(){const _0x4527d8=_0x1a8d;return _0x4527d8(0x2bf)+_0x4527d8(0x27f)+_0x4527d8(0x32a)+_0x4527d8(0x1d0)+_0x4527d8(0x277)+_0x4527d8(0x175)+_0x4527d8(0x29f)+'\x20String('+_0x4527d8(0x255)+'\x20\x22\x22).tri'+_0x4527d8(0x325)+_0x4527d8(0x30a)+_0x4527d8(0x2c8)+_0x4527d8(0x215)+_0x4527d8(0x2f9)+_0x4527d8(0x249)+_0x4527d8(0x275)+_0x4527d8(0x2fa)+_0x4527d8(0x2c3)+_0x4527d8(0x317)+_0x4527d8(0x23e)+_0x4527d8(0x25e)+_0x4527d8(0x2ca)+_0x4527d8(0x1c3)+_0x4527d8(0x2b9)+_0x4527d8(0x15f)+_0x4527d8(0x2c9)+_0x4527d8(0x2e4)+_0x4527d8(0x182)+_0x4527d8(0x1d8)+'();\x0a}\x0afu'+_0x4527d8(0x192)+_0x4527d8(0x300)+_0x4527d8(0x202)+_0x4527d8(0x319)+_0x4527d8(0x2b3)+'e)\x20{\x0a\x09co'+_0x4527d8(0x24c)+'alized\x20='+_0x4527d8(0x27f)+_0x4527d8(0x32a)+_0x4527d8(0x1d0)+_0x4527d8(0x277)+_0x4527d8(0x1ce)+_0x4527d8(0x1cb)+_0x4527d8(0x15e)+_0x4527d8(0x2f7)+_0x4527d8(0x20c)+'\x20lower\x20='+_0x4527d8(0x30d)+_0x4527d8(0x213)+_0x4527d8(0x32f)+_0x4527d8(0x1ce)+_0x4527d8(0x31a)+_0x4527d8(0x1e8)+_0x4527d8(0x237)+'\x22)\x20||\x20lo'+_0x4527d8(0x1d5)+_0x4527d8(0x221)+_0x4527d8(0x261)+_0x4527d8(0x178)+'st\x20id\x20=\x20'+'normaliz'+'ed.repla'+_0x4527d8(0x2d3)+'oup|room'+_0x4527d8(0x1f4)+_0x4527d8(0x2ca)+_0x4527d8(0x171)+_0x4527d8(0x247)+_0x4527d8(0x2d6)+_0x4527d8(0x1eb)+'up\x22,\x20pee'+_0x4527d8(0x23a)+_0x4527d8(0x1fc)+_0x4527d8(0x193)+_0x4527d8(0x30c)+'ull;\x0a\x09}\x0a'+'\x09if\x20(low'+_0x4527d8(0x31e)+'sWith(\x22c'+_0x4527d8(0x19f)+_0x4527d8(0x26d)+'er.start'+_0x4527d8(0x24e)+_0x4527d8(0x2db)+_0x4527d8(0x23d)+_0x4527d8(0x1e0)+'startsWi'+_0x4527d8(0x1cd)+_0x4527d8(0x19e)+_0x4527d8(0x20f)+_0x4527d8(0x18d)+_0x4527d8(0x16f)+_0x4527d8(0x2a0)+'(/^(chan'+'nel|conv'+_0x4527d8(0x172)+_0x4527d8(0x20b)+':/i,\x20\x22\x22)'+_0x4527d8(0x30f)+'\x0a\x09\x09retur'+_0x4527d8(0x260)+_0x4527d8(0x1c5)+_0x4527d8(0x32c)+'nel\x22,\x20pe'+_0x4527d8(0x22e)+_0x4527d8(0x29c)+_0x4527d8(0x252)+_0x4527d8(0x2ba)+_0x4527d8(0x32b)+_0x4527d8(0x2f3)+_0x4527d8(0x168)+_0x4527d8(0x265)+'d.replac'+'e(/^(use'+_0x4527d8(0x307)+'|dm|c2c)'+_0x4527d8(0x332)+'.trim();'+_0x4527d8(0x272)+'\x20id\x20?\x20{\x20'+_0x4527d8(0x338)+_0x4527d8(0x190)+_0x4527d8(0x173)+(_0x4527d8(0x2b5)+_0x4527d8(0x2ac)+'peerId:\x20'+_0x4527d8(0x30c)+'ull;\x0a}\x0af'+_0x4527d8(0x174)+'wujieBui'+'ldQQBotS'+_0x4527d8(0x21b)+_0x4527d8(0x2df)+_0x4527d8(0x280)+_0x4527d8(0x2d0)+_0x4527d8(0x1ca)+_0x4527d8(0x175)+_0x4527d8(0x28d)+_0x4527d8(0x314)+_0x4527d8(0x322)+_0x4527d8(0x21e)+'malizedA'+_0x4527d8(0x1ba)+_0x4527d8(0x276)+_0x4527d8(0x1ec)+_0x4527d8(0x2b7)+_0x4527d8(0x1ef)+_0x4527d8(0x2a2)+_0x4527d8(0x1bd)+_0x4527d8(0x2b7)+_0x4527d8(0x250)+_0x4527d8(0x208)+_0x4527d8(0x1a5)+_0x4527d8(0x290)+_0x4527d8(0x211)+_0x4527d8(0x2b2)+_0x4527d8(0x17d)+_0x4527d8(0x1a0)+_0x4527d8(0x26a)+_0x4527d8(0x292)+_0x4527d8(0x1f7)+_0x4527d8(0x274)+_0x4527d8(0x1c4)+_0x4527d8(0x1ad)+':${route'+_0x4527d8(0x2fc)+_0x4527d8(0x1e4)+'rId}`;\x0a\x09'+_0x4527d8(0x25d)+_0x4527d8(0x1f3)+'cfg?.ses'+_0x4527d8(0x1cf)+_0x4527d8(0x1e7)+_0x4527d8(0x2d5)+_0x4527d8(0x1ae)+_0x4527d8(0x334)+_0x4527d8(0x226)+_0x4527d8(0x298)+_0x4527d8(0x2be)+_0x4527d8(0x27a)+_0x4527d8(0x2f5)+_0x4527d8(0x313)+'t\x20normal'+_0x4527d8(0x258)+_0x4527d8(0x197)+_0x4527d8(0x15c)+_0x4527d8(0x1ca)+_0x4527d8(0x217)+_0x4527d8(0x31f)+_0x4527d8(0x177)+'LowerCas'+_0x4527d8(0x2fb)+_0x4527d8(0x1d3)+_0x4527d8(0x171)+_0x4527d8(0x2cf)+'t:${norm'+_0x4527d8(0x17f)+_0x4527d8(0x234)+_0x4527d8(0x18f)+_0x4527d8(0x321)+_0x4527d8(0x327)+_0x4527d8(0x242)+':direct:'+_0x4527d8(0x1dc)+_0x4527d8(0x256)+_0x4527d8(0x232)+'ope\x20===\x20'+_0x4527d8(0x2e0)+_0x4527d8(0x2da)+_0x4527d8(0x220)+_0x4527d8(0x268)+'turn\x20`ag'+_0x4527d8(0x189)+_0x4527d8(0x16f)+_0x4527d8(0x27d)+_0x4527d8(0x20a)+'el}:dire'+'ct:${pee'+'rId}`;\x0a\x09'+'if\x20(dmSc'+_0x4527d8(0x18b)+_0x4527d8(0x206)+'r\x22\x20&&\x20pe'+_0x4527d8(0x268)+_0x4527d8(0x27b)+_0x4527d8(0x189)+'rmalized'+_0x4527d8(0x27d)+_0x4527d8(0x2e7)+_0x4527d8(0x1dc)+_0x4527d8(0x28e)+_0x4527d8(0x1bf)+_0x4527d8(0x163)+'malizedA'+_0x4527d8(0x1d1)+_0x4527d8(0x2ab)+'\x0afunctio'+_0x4527d8(0x1f5)+_0x4527d8(0x2d4)+_0x4527d8(0x1fd)+'undSessi'+_0x4527d8(0x1b2)+_0x4527d8(0x311)+_0x4527d8(0x246)+_0x4527d8(0x194)+_0x4527d8(0x2e2)+_0x4527d8(0x300)+_0x4527d8(0x202))+('RouteTar'+_0x4527d8(0x2a9)+_0x4527d8(0x2cd)+_0x4527d8(0x23b)+'?\x20params'+_0x4527d8(0x1e9)+_0x4527d8(0x25a)+_0x4527d8(0x222)+_0x4527d8(0x1f0)+_0x4527d8(0x1e2)+_0x4527d8(0x282)+_0x4527d8(0x239)+_0x4527d8(0x1f9)+_0x4527d8(0x228)+_0x4527d8(0x1af)+_0x4527d8(0x181)+_0x4527d8(0x1d7)+_0x4527d8(0x187)+_0x4527d8(0x1fe)+_0x4527d8(0x15a)+_0x4527d8(0x2b1)+_0x4527d8(0x27c)+'params.a'+_0x4527d8(0x1ca)+_0x4527d8(0x166)+_0x4527d8(0x24d)+_0x4527d8(0x2dc)+_0x4527d8(0x21a)+'.chatTyp'+'e\x20===\x20\x22d'+_0x4527d8(0x207)+_0x4527d8(0x2ee)+_0x4527d8(0x188)+_0x4527d8(0x1de)+'nst\x20from'+_0x4527d8(0x216)+_0x4527d8(0x194)+'rget.cha'+'tType\x20=='+_0x4527d8(0x299)+_0x4527d8(0x267)+_0x4527d8(0x2ce)+_0x4527d8(0x2ef)+_0x4527d8(0x1bc)+_0x4527d8(0x1f2)+_0x4527d8(0x1c0)+_0x4527d8(0x2b9)+_0x4527d8(0x294)+_0x4527d8(0x303)+'\x09\x09baseSe'+_0x4527d8(0x2e5)+':\x20sessio'+_0x4527d8(0x2bc)+_0x4527d8(0x17b)+_0x4527d8(0x2fd)+_0x4527d8(0x308)+_0x4527d8(0x284)+_0x4527d8(0x25c)+_0x4527d8(0x1bc)+'get.peer'+_0x4527d8(0x1ff)+_0x4527d8(0x338)+_0x4527d8(0x2cc)+_0x4527d8(0x24f)+_0x4527d8(0x2ad)+_0x4527d8(0x169)+_0x4527d8(0x324)+'refix}:$'+_0x4527d8(0x15b)+_0x4527d8(0x23f)+_0x4527d8(0x301)+_0x4527d8(0x196)+_0x4527d8(0x30b)+_0x4527d8(0x2f8)+_0x4527d8(0x155)+_0x4527d8(0x218)+',\x0a\x09};\x0a}');}function qqBotCoreFallbackHelperSource(){return qqBotNormalizePeerTargetFunctionSource()+'\x0a'+qqBotDirectFallbackFunctionSource();}function qqBotNormalizePeerTargetFunctionSource(){const _0x2799e8=_0x1a8d;return _0x2799e8(0x2bf)+_0x2799e8(0x27f)+'rmalizeQ'+_0x2799e8(0x316)+_0x2799e8(0x2cb)+'aw,\x20chan'+_0x2799e8(0x209)+'const\x20wi'+_0x2799e8(0x279)+_0x2799e8(0x26f)+_0x2799e8(0x2af)+_0x2799e8(0x296)+_0x2799e8(0x31b)+'ng(raw\x20?'+_0x2799e8(0x2f4)+_0x2799e8(0x1d9)+_0x2799e8(0x17c)+_0x2799e8(0x162)+_0x2799e8(0x1b5)+_0x2799e8(0x315)+_0x2799e8(0x2ed)+'outProvi'+_0x2799e8(0x16b)+'ace(/^g-'+'/i,\x20\x22\x22).'+_0x2799e8(0x17c)+'\x09return\x20'+_0x2799e8(0x1a7)+_0x2799e8(0x2c1)+_0x2799e8(0x1fa)+_0x2799e8(0x25b)+_0x2799e8(0x16c)+'t|dm|c2c'+_0x2799e8(0x1f4)+_0x2799e8(0x2ca)+';\x0a}';}function qqBotDirectFallbackFunctionSource(){const _0x3c7cf2=_0x1a8d;return'function'+'\x20wujieRe'+_0x3c7cf2(0x2a4)+_0x3c7cf2(0x2d9)+_0x3c7cf2(0x2bb)+_0x3c7cf2(0x302)+_0x3c7cf2(0x311)+_0x3c7cf2(0x310)+'ormalize'+_0x3c7cf2(0x29d)+_0x3c7cf2(0x328)+'rEmpty(p'+_0x3c7cf2(0x1b9)+_0x3c7cf2(0x229)+_0x3c7cf2(0x318)+'t\x22)\x20retu'+_0x3c7cf2(0x282)+_0x3c7cf2(0x239)+'raw\x20=\x20St'+_0x3c7cf2(0x2f6)+_0x3c7cf2(0x1cc)+'et\x20??\x20\x22\x22'+_0x3c7cf2(0x2ca)+';\x0a\x09const'+_0x3c7cf2(0x1a4)+_0x3c7cf2(0x1a2)+'\x20=\x20strip'+'Provider'+_0x3c7cf2(0x1a3)+_0x3c7cf2(0x1b6)+_0x3c7cf2(0x29a)+_0x3c7cf2(0x2a5)+'();\x0a\x09con'+_0x3c7cf2(0x2c0)+_0x3c7cf2(0x22c)+_0x3c7cf2(0x312)+_0x3c7cf2(0x15f)+_0x3c7cf2(0x2c9)+_0x3c7cf2(0x2e4)+_0x3c7cf2(0x182)+'\x22\x22).trim'+_0x3c7cf2(0x2aa)+_0x3c7cf2(0x1b8)+'\x20=\x20norma'+_0x3c7cf2(0x1c2)+_0x3c7cf2(0x236)+_0x3c7cf2(0x195)+_0x3c7cf2(0x263)+_0x3c7cf2(0x22c)+'irror);\x0a'+'\x09if\x20(low'+_0x3c7cf2(0x31e)+'sWith(\x22g'+_0x3c7cf2(0x309)+'||\x20lower'+_0x3c7cf2(0x330)+_0x3c7cf2(0x2e8)+_0x3c7cf2(0x248)+'lower.st'+_0x3c7cf2(0x1e8)+_0x3c7cf2(0x15d)+'l:\x22)\x20||\x20'+_0x3c7cf2(0x31a)+_0x3c7cf2(0x1e8)+_0x3c7cf2(0x1a1)+_0x3c7cf2(0x164)+_0x3c7cf2(0x26d)+_0x3c7cf2(0x31e)+_0x3c7cf2(0x2c2)+'hread:\x22)'+_0x3c7cf2(0x1b1)+_0x3c7cf2(0x31d)+_0x3c7cf2(0x287)+_0x3c7cf2(0x1f6)+_0x3c7cf2(0x2c7)+_0x3c7cf2(0x241)+_0x3c7cf2(0x231)+_0x3c7cf2(0x1c1)+',\x20params'+'.channel'+_0x3c7cf2(0x1ce)+_0x3c7cf2(0x223)+_0x3c7cf2(0x266)+'null;\x0a\x09c'+'onst\x20pee'+_0x3c7cf2(0x1d4)+'kind:\x20\x22d'+_0x3c7cf2(0x224)+_0x3c7cf2(0x293)+_0x3c7cf2(0x2eb)+_0x3c7cf2(0x239)+'baseSess'+_0x3c7cf2(0x278)+'\x20buildOu'+_0x3c7cf2(0x22a)+_0x3c7cf2(0x2c5)+_0x3c7cf2(0x179)+_0x3c7cf2(0x331)+_0x3c7cf2(0x225)+_0x3c7cf2(0x191)+_0x3c7cf2(0x2b6)+_0x3c7cf2(0x210)+_0x3c7cf2(0x2a8)+_0x3c7cf2(0x270)+_0x3c7cf2(0x2f1)+_0x3c7cf2(0x227)+'\x09\x09accoun'+_0x3c7cf2(0x2b6)+_0x3c7cf2(0x245)+_0x3c7cf2(0x18a)+_0x3c7cf2(0x205)+_0x3c7cf2(0x2c4)+_0x3c7cf2(0x326)+_0x3c7cf2(0x21b)+_0x3c7cf2(0x2e1)+_0x3c7cf2(0x21b)+'y,\x0a\x09\x09bas'+_0x3c7cf2(0x336)+_0x3c7cf2(0x1b0)+_0x3c7cf2(0x1ac)+_0x3c7cf2(0x1b3)+_0x3c7cf2(0x1a0)+_0x3c7cf2(0x2d8)+_0x3c7cf2(0x21c)+_0x3c7cf2(0x219)+(_0x3c7cf2(0x337)+_0x3c7cf2(0x218)+',\x0a\x09\x09to:\x20'+_0x3c7cf2(0x2a6)+_0x3c7cf2(0x218)+_0x3c7cf2(0x271));}function replaceFunction(_0x2e18ca,_0x195abd,_0x4ceb77){const _0x204cd0=_0x1a8d,_0x33df78=_0x2e18ca[_0x204cd0(0x29b)](_0x204cd0(0x2bf)+'\x20'+_0x195abd);if(_0x33df78===-0x1)return null;const _0x283116=_0x2e18ca['indexOf']('{',_0x33df78);if(_0x283116===-0x1)return null;let _0x23520d=0x0,_0x4999df=null,_0x59fec1=![];for(let _0x4ff89b=_0x283116;_0x4ff89b<_0x2e18ca['length'];_0x4ff89b+=0x1){const _0x511dc3=_0x2e18ca[_0x4ff89b];if(_0x4999df){if(_0x59fec1){_0x59fec1=![];continue;}if(_0x511dc3==='\x5c'){_0x59fec1=!![];continue;}if(_0x511dc3===_0x4999df)_0x4999df=null;continue;}if(_0x511dc3==='\x22'||_0x511dc3==='\x27'||_0x511dc3==='`'){_0x4999df=_0x511dc3;continue;}if(_0x511dc3==='{')_0x23520d+=0x1;if(_0x511dc3==='}')_0x23520d-=0x1;if(_0x23520d===0x0)return _0x2e18ca['slice'](0x0,_0x33df78)+_0x4ceb77+_0x2e18ca['slice'](_0x4ff89b+0x1);}return null;}function upgradeExistingQQBotOutboundFallbackPatch(_0x173c28){const _0x364fc9=_0x1a8d;let _0x13170d=replaceFunction(_0x173c28,_0x364fc9(0x2c6)+_0x364fc9(0x329)+_0x364fc9(0x214)+_0x364fc9(0x283),qqBotNormalizePeerTargetFunctionSource());if(!_0x13170d)return{'patched':![],'reason':_0x364fc9(0x21d)+_0x364fc9(0x16a)+'zer-not-'+_0x364fc9(0x2b8)};_0x13170d=replaceFunction(_0x13170d,_0x364fc9(0x2d2)+_0x364fc9(0x1fb)+_0x364fc9(0x19c)+_0x364fc9(0x26c)+'ession',qqBotDirectFallbackFunctionSource());if(!_0x13170d)return{'patched':![],'reason':_0x364fc9(0x21d)+_0x364fc9(0x2e9)+_0x364fc9(0x230)+_0x364fc9(0x20d)};return{'patched':!![],'source':_0x13170d};}
|
|
1
|
+
(function(_0x3fb248,_0x270d9a){const _0x1a604c=_0x109b,_0x4fb7a5=_0x3fb248();while(!![]){try{const _0x2ba5e6=-parseInt(_0x1a604c(0x165))/0x1+-parseInt(_0x1a604c(0x135))/0x2+parseInt(_0x1a604c(0x18c))/0x3+parseInt(_0x1a604c(0x2cc))/0x4*(-parseInt(_0x1a604c(0x294))/0x5)+-parseInt(_0x1a604c(0x24a))/0x6*(parseInt(_0x1a604c(0x1c6))/0x7)+-parseInt(_0x1a604c(0x27d))/0x8+-parseInt(_0x1a604c(0x289))/0x9*(-parseInt(_0x1a604c(0x1bc))/0xa);if(_0x2ba5e6===_0x270d9a)break;else _0x4fb7a5['push'](_0x4fb7a5['shift']());}catch(_0xf27f11){_0x4fb7a5['push'](_0x4fb7a5['shift']());}}}(_0x5614,0x5d1b0));function _0x109b(_0x1931e0,_0x3702b5){_0x1931e0=_0x1931e0-0x134;const _0x561473=_0x5614();let _0x109bce=_0x561473[_0x1931e0];return _0x109bce;}export function patchQQBotOutboundSessionRouteFromSource(_0x5e9f7c){const _0x2b3d5b=_0x109b;if(_0x5e9f7c[_0x2b3d5b(0x259)](_0x2b3d5b(0x16e)+_0x2b3d5b(0x2d8)+_0x2b3d5b(0x242)+_0x2b3d5b(0x137)+'Route'))return{'patched':![],'reason':_0x2b3d5b(0x232)+_0x2b3d5b(0x20a)};const _0x568e06=_0x2b3d5b(0x1ee)+_0x2b3d5b(0x247)+'n\x20=\x20{';if(!_0x5e9f7c['includes'](_0x568e06))return{'patched':![],'reason':_0x2b3d5b(0x17c)+'nchor-no'+'t-found'};const _0x1018e9=_0x2b3d5b(0x1cc)+'ng:\x20{\x0a\x09\x09'+_0x2b3d5b(0x1c4)+_0x2b3d5b(0x263)+'[\x22qqbot\x22'+_0x2b3d5b(0x15a)+_0x2b3d5b(0x1e8)+'ze\x20commo'+_0x2b3d5b(0x214)+_0x2b3d5b(0x206)+_0x2b3d5b(0x228)+'into\x20the'+_0x2b3d5b(0x1ca)+_0x2b3d5b(0x2aa)+_0x2b3d5b(0x23c)+_0x2b3d5b(0x19f)+_0x2b3d5b(0x260)+_0x2b3d5b(0x2c7)+'\x0a\x09\x09targe'+'tResolve'+'r:\x20{\x0a\x09\x09\x09'+_0x2b3d5b(0x164)+'rn\x20true\x20'+_0x2b3d5b(0x2e6)+_0x2b3d5b(0x2d4)+'s\x20like\x20a'+_0x2b3d5b(0x158)+_0x2b3d5b(0x211)+_0x2b3d5b(0x296)+_0x2b3d5b(0x2c3)+_0x2b3d5b(0x25f)+_0x2b3d5b(0x278)+_0x2b3d5b(0x288)+_0x2b3d5b(0x267)+':\x20\x22QQ\x20Bo'+_0x2b3d5b(0x1c5)+_0x2b3d5b(0x207)+'\x20qqbot:c'+_0x2b3d5b(0x197)+_0x2b3d5b(0x193)+_0x2b3d5b(0x1fb)+_0x2b3d5b(0x2b4)+'p:groupi'+_0x2b3d5b(0x1af)+')\x22\x0a\x09\x09}\x0a\x09'+'},';if(!_0x5e9f7c[_0x2b3d5b(0x259)](_0x1018e9))return{'patched':![],'reason':_0x2b3d5b(0x17e)+'g-shape-'+_0x2b3d5b(0x257)+'d'};const _0x1b5894=qqBotPluginRouteHelperSource()+'\x0a'+_0x568e06,_0x1aa690=_0x2b3d5b(0x1cc)+'ng:\x20{\x0a\x09\x09'+_0x2b3d5b(0x1c4)+_0x2b3d5b(0x263)+_0x2b3d5b(0x24d)+_0x2b3d5b(0x15a)+_0x2b3d5b(0x1e8)+'ze\x20commo'+_0x2b3d5b(0x214)+_0x2b3d5b(0x206)+_0x2b3d5b(0x228)+_0x2b3d5b(0x16c)+_0x2b3d5b(0x1ca)+_0x2b3d5b(0x2aa)+_0x2b3d5b(0x23c)+_0x2b3d5b(0x19f)+_0x2b3d5b(0x260)+_0x2b3d5b(0x2c7)+_0x2b3d5b(0x2d5)+'TargetCh'+_0x2b3d5b(0x2ba)+_0x2b3d5b(0x1f5)+'\x20=>\x20wuji'+_0x2b3d5b(0x255)+_0x2b3d5b(0x142)+'teTarget'+_0x2b3d5b(0x2b3)+_0x2b3d5b(0x150)+_0x2b3d5b(0x15d)+_0x2b3d5b(0x2d0)+_0x2b3d5b(0x137)+'Route:\x20w'+_0x2b3d5b(0x22a)+_0x2b3d5b(0x270)+_0x2b3d5b(0x18a)+_0x2b3d5b(0x21e)+_0x2b3d5b(0x275)+_0x2b3d5b(0x2f4)+_0x2b3d5b(0x13e)+_0x2b3d5b(0x2a3)+_0x2b3d5b(0x190)+_0x2b3d5b(0x23f)+_0x2b3d5b(0x1ff)+'\x20looks\x20l'+_0x2b3d5b(0x22e)+_0x2b3d5b(0x28b)+_0x2b3d5b(0x1d9)+'\x09\x09\x09looks'+_0x2b3d5b(0x24b)+_0x2b3d5b(0x1cd)+'eQQBotTa'+_0x2b3d5b(0x266)+_0x2b3d5b(0x1e6)+_0x2b3d5b(0x1cf)+_0x2b3d5b(0x179)+_0x2b3d5b(0x2cf)+_0x2b3d5b(0x22c)+_0x2b3d5b(0x229)+'direct)\x20'+_0x2b3d5b(0x291)+_0x2b3d5b(0x184)+'roupid\x20('+'group)\x22\x0a'+_0x2b3d5b(0x226);return{'patched':!![],'source':_0x5e9f7c['replace'](_0x568e06,_0x1b5894)[_0x2b3d5b(0x194)](_0x1018e9,_0x1aa690)};}export function patchQQBotOutboundFallbackFromSource(_0x439908){const _0xa39c4e=_0x109b;if(_0x439908[_0xa39c4e(0x259)](_0xa39c4e(0x16e)+_0xa39c4e(0x2d8)+_0xa39c4e(0x1a1)+'allbackS'+_0xa39c4e(0x18f))){if(!_0x439908['includes'](_0xa39c4e(0x2e2)+_0xa39c4e(0x202)+'direct|d'+'m|c2c):/'+'i'))return upgradeExistingQQBotOutboundFallbackPatch(_0x439908);return{'patched':![],'reason':_0xa39c4e(0x232)+_0xa39c4e(0x20a)};}const _0x2283b9='function'+_0xa39c4e(0x290)+_0xa39c4e(0x15c)+'Session('+_0xa39c4e(0x2e4)+'{';if(!_0x439908[_0xa39c4e(0x259)](_0x2283b9))return{'patched':![],'reason':_0xa39c4e(0x1bd)+'-functio'+_0xa39c4e(0x17f)+_0xa39c4e(0x279)};const _0x4ab7f4=_0xa39c4e(0x19e)+_0xa39c4e(0x1c2)+_0xa39c4e(0x146)+_0xa39c4e(0x285)+'efix(par'+_0xa39c4e(0x2dd)+_0xa39c4e(0x156)+'ms.chann'+_0xa39c4e(0x136)+_0xa39c4e(0x1a4)+'(!trimme'+_0xa39c4e(0x2b7)+_0xa39c4e(0x1b3);if(!_0x439908[_0xa39c4e(0x259)](_0x4ab7f4))return{'patched':![],'reason':_0xa39c4e(0x1bd)+_0xa39c4e(0x157)+_0xa39c4e(0x281)};const _0x42b798=qqBotCoreFallbackHelperSource()+'\x0a'+_0x2283b9,_0x34bc0f=_0x4ab7f4+(_0xa39c4e(0x1a2)+_0xa39c4e(0x166)+_0xa39c4e(0x2ad)+_0xa39c4e(0x1fd)+_0xa39c4e(0x1d6)+_0xa39c4e(0x233)+_0xa39c4e(0x1fe)+_0xa39c4e(0x256)+_0xa39c4e(0x1db)+'(params)'+_0xa39c4e(0x2af)+_0xa39c4e(0x2d9)+_0xa39c4e(0x1d2)+'ession)\x20'+_0xa39c4e(0x252)+_0xa39c4e(0x2d9)+'tDirectS'+'ession;');return{'patched':!![],'source':_0x439908[_0xa39c4e(0x194)](_0x2283b9,_0x42b798)[_0xa39c4e(0x194)](_0x4ab7f4,_0x34bc0f)};}function qqBotPluginRouteHelperSource(){const _0x211cf3=_0x109b;return'function'+_0x211cf3(0x2f3)+'rmalizeQ'+_0x211cf3(0x1c9)+_0x211cf3(0x170)+_0x211cf3(0x2ec)+_0x211cf3(0x2db)+_0x211cf3(0x180)+_0x211cf3(0x274)+_0x211cf3(0x153)+'m();\x0a\x09co'+_0x211cf3(0x21d)+'outProvi'+'der\x20=\x20ra'+_0x211cf3(0x17d)+'rCase().'+_0x211cf3(0x240)+'th(\x22qqbo'+_0x211cf3(0x1e5)+_0x211cf3(0x1ad)+'(\x22qqbot:'+_0x211cf3(0x178)+_0x211cf3(0x2df)+_0x211cf3(0x1d1)+_0x211cf3(0x1aa)+_0x211cf3(0x1e0)+_0x211cf3(0x19d)+_0x211cf3(0x2e2)+_0x211cf3(0x2a6)+'\x22\x22).trim'+_0x211cf3(0x254)+'nction\x20w'+_0x211cf3(0x22a)+_0x211cf3(0x270)+_0x211cf3(0x14d)+_0x211cf3(0x27e)+_0x211cf3(0x1fa)+_0x211cf3(0x29f)+_0x211cf3(0x2bf)+_0x211cf3(0x2f3)+_0x211cf3(0x2eb)+_0x211cf3(0x1c9)+_0x211cf3(0x170)+');\x0a\x09if\x20('+_0x211cf3(0x25c)+_0x211cf3(0x177)+_0x211cf3(0x24e)+_0x211cf3(0x1a6)+_0x211cf3(0x224)+_0x211cf3(0x2b9)+_0x211cf3(0x24f)+_0x211cf3(0x2a0)+');\x0a\x09if\x20('+_0x211cf3(0x1df)+_0x211cf3(0x191)+_0x211cf3(0x15b)+_0x211cf3(0x216)+_0x211cf3(0x27a)+'tsWith(\x22'+'room:\x22))'+'\x20{\x0a\x09\x09con'+_0x211cf3(0x143)+_0x211cf3(0x260)+_0x211cf3(0x265)+_0x211cf3(0x26b)+_0x211cf3(0x2d1)+_0x211cf3(0x1c3)+_0x211cf3(0x2df)+';\x0a\x09\x09retu'+_0x211cf3(0x253)+_0x211cf3(0x174)+_0x211cf3(0x26a)+_0x211cf3(0x287)+_0x211cf3(0x192)+_0x211cf3(0x21f)+_0x211cf3(0x169)+_0x211cf3(0x2ed)+'ull;\x0a\x09}\x0a'+_0x211cf3(0x13f)+_0x211cf3(0x2b0)+_0x211cf3(0x147)+'hannel:\x22'+_0x211cf3(0x1f0)+'er.start'+'sWith(\x22c'+_0x211cf3(0x21a)+_0x211cf3(0x210)+_0x211cf3(0x2da)+'startsWi'+_0x211cf3(0x246)+'ad:\x22))\x20{'+_0x211cf3(0x1b8)+_0x211cf3(0x1b6)+_0x211cf3(0x14b)+_0x211cf3(0x1f2)+_0x211cf3(0x2a5)+_0x211cf3(0x2e7)+_0x211cf3(0x1bb)+'|thread)'+_0x211cf3(0x276)+'.trim();'+_0x211cf3(0x26c)+'n\x20id\x20?\x20{'+_0x211cf3(0x1de)+_0x211cf3(0x1e9)+_0x211cf3(0x27b)+_0x211cf3(0x28e)+'\x22channel'+_0x211cf3(0x185)+_0x211cf3(0x1ed)+':\x20null;\x0a'+_0x211cf3(0x251)+_0x211cf3(0x231)+_0x211cf3(0x2c6)+_0x211cf3(0x212)+_0x211cf3(0x2ce)+'r|direct'+_0x211cf3(0x15e)+':/i,\x20\x22\x22)'+_0x211cf3(0x172)+'\x0a\x09return'+_0x211cf3(0x17a)+'chatType'+':\x20\x22direc'+_0x211cf3(0x163)+(_0x211cf3(0x138)+_0x211cf3(0x2d7)+_0x211cf3(0x169)+_0x211cf3(0x2ed)+_0x211cf3(0x1bf)+_0x211cf3(0x264)+_0x211cf3(0x13c)+_0x211cf3(0x1c7)+_0x211cf3(0x145)+'y(cfg,\x20a'+_0x211cf3(0x2be)+_0x211cf3(0x19a)+_0x211cf3(0x23e)+_0x211cf3(0x2ec)+'st\x20chann'+'el\x20=\x20\x22qq'+_0x211cf3(0x1a8)+_0x211cf3(0x160)+'malizedA'+_0x211cf3(0x2f2)+_0x211cf3(0x180)+'agentId\x20'+_0x211cf3(0x16b)+_0x211cf3(0x188)+').toLowe'+_0x211cf3(0x221)+_0x211cf3(0x16b)+'\x22;\x0a\x09cons'+_0x211cf3(0x204)+_0x211cf3(0x230)+_0x211cf3(0x14e)+_0x211cf3(0x280)+_0x211cf3(0x20f)+_0x211cf3(0x286)+_0x211cf3(0x1a5)+'\x22)\x20retur'+_0x211cf3(0x2d3)+':${norma'+'lizedAge'+_0x211cf3(0x1b2)+_0x211cf3(0x168)+':${route'+_0x211cf3(0x29b)+_0x211cf3(0x271)+_0x211cf3(0x2b8)+_0x211cf3(0x15f)+_0x211cf3(0x16a)+_0x211cf3(0x21b)+_0x211cf3(0x182)+_0x211cf3(0x2b2)+'\x20\x22main\x22;'+_0x211cf3(0x1d3)+_0x211cf3(0x2dc)+_0x211cf3(0x201)+'ccount-c'+_0x211cf3(0x218)+_0x211cf3(0x23b)+_0x211cf3(0x28d)+'{\x0a\x09\x09cons'+_0x211cf3(0x26f)+'izedAcco'+'untId\x20=\x20'+_0x211cf3(0x245)+_0x211cf3(0x23e)+_0x211cf3(0x2a9)+_0x211cf3(0x2ef)+'rim().to'+'LowerCas'+_0x211cf3(0x1b5)+_0x211cf3(0x2c8)+_0x211cf3(0x2e1)+_0x211cf3(0x27f)+_0x211cf3(0x2ca)+_0x211cf3(0x2a1)+_0x211cf3(0x29e)+_0x211cf3(0x18d)+_0x211cf3(0x277)+_0x211cf3(0x1b4)+'countId}'+_0x211cf3(0x2d2)+'${peerId'+'}`;\x0a\x09}\x0a\x09'+_0x211cf3(0x205)+_0x211cf3(0x235)+_0x211cf3(0x282)+_0x211cf3(0x25d)+_0x211cf3(0x25a)+'erId)\x20re'+_0x211cf3(0x144)+'ent:${no'+_0x211cf3(0x14b)+_0x211cf3(0x2e9)+_0x211cf3(0x250)+_0x211cf3(0x217)+'ct:${pee'+_0x211cf3(0x2b8)+_0x211cf3(0x205)+'ope\x20===\x20'+_0x211cf3(0x1e3)+_0x211cf3(0x25a)+_0x211cf3(0x293)+_0x211cf3(0x144)+_0x211cf3(0x292)+_0x211cf3(0x14b)+'AgentId}'+_0x211cf3(0x2d2)+_0x211cf3(0x234)+_0x211cf3(0x1a3)+'urn\x20`age'+_0x211cf3(0x2c2)+'malizedA'+_0x211cf3(0x141)+'main`;\x0a}'+'\x0afunctio'+_0x211cf3(0x22d)+_0x211cf3(0x233)+_0x211cf3(0x268)+_0x211cf3(0x238)+_0x211cf3(0x236)+_0x211cf3(0x2e4)+'{\x0a\x09const'+'\x20routeTa'+_0x211cf3(0x244)+'ujieReso'+_0x211cf3(0x270))+(_0x211cf3(0x14d)+'get(para'+_0x211cf3(0x186)+_0x211cf3(0x167)+_0x211cf3(0x16d)+_0x211cf3(0x18b)+_0x211cf3(0x272)+_0x211cf3(0x1b9)+'outeTarg'+'et)\x20retu'+'rn\x20null;'+_0x211cf3(0x1a2)+_0x211cf3(0x1e4)+_0x211cf3(0x1ba)+_0x211cf3(0x2cb)+_0x211cf3(0x295)+_0x211cf3(0x1f8)+_0x211cf3(0x14a)+_0x211cf3(0x26e)+_0x211cf3(0x154)+'d,\x20route'+_0x211cf3(0x16f)+_0x211cf3(0x2de)+_0x211cf3(0x23e)+_0x211cf3(0x2bc)+'t\x20toPref'+_0x211cf3(0x2c0)+'teTarget'+'.chatTyp'+_0x211cf3(0x1dd)+_0x211cf3(0x159)+_0x211cf3(0x23a)+':\x20\x22chann'+_0x211cf3(0x1f9)+_0x211cf3(0x1a0)+_0x211cf3(0x225)+_0x211cf3(0x140)+_0x211cf3(0x1f3)+_0x211cf3(0x1c1)+'=\x20\x22direc'+_0x211cf3(0x2b1)+_0x211cf3(0x1b7)+_0x211cf3(0x297)+_0x211cf3(0x13a)+_0x211cf3(0x248)+_0x211cf3(0x151)+'\x09return\x20'+'{\x0a\x09\x09sess'+_0x211cf3(0x189)+_0x211cf3(0x1d8)+_0x211cf3(0x1fc)+_0x211cf3(0x29d)+_0x211cf3(0x284)+_0x211cf3(0x29a)+_0x211cf3(0x152)+'uteTarge'+_0x211cf3(0x1eb)+_0x211cf3(0x1ce)+_0x211cf3(0x13a)+_0x211cf3(0x2f0)+'Id\x20},\x0a\x09\x09'+_0x211cf3(0x219)+_0x211cf3(0x173)+_0x211cf3(0x23d)+_0x211cf3(0x150)+_0x211cf3(0x1b1)+_0x211cf3(0x2b6)+_0x211cf3(0x162)+'{routeTa'+_0x211cf3(0x2ab)+'rId}`,\x0a\x09'+'\x09to:\x20`${'+'toPrefix'+_0x211cf3(0x20e)+'eTarget.'+_0x211cf3(0x262)+_0x211cf3(0x237));}function qqBotCoreFallbackHelperSource(){return qqBotNormalizePeerTargetFunctionSource()+'\x0a'+qqBotDirectFallbackFunctionSource();}function _0x5614(){const _0x33f1ba=['ce(/^(gr','\x0a\x09\x09retur','/i,\x20\x22\x22).','g,\x20param','t\x20normal','lveQQBot','d}:${pee','\x20??\x20\x22\x22);','-normali','value\x20??','oute,\x0a\x09\x09',':/i,\x20\x22\x22)','}:${norm','LikeQQBo','und','wer.star','nel\x22,\x20pe','erId\x0a\x09};','5307536riNBMI','get(valu','rn\x20`agen','\x0a\x09if\x20(ro','ot-found','\x22per-cha','ams.agen','nKey,\x0a\x09\x09','oviderPr','Kind\x20!==','up\x22,\x20pee','tTarget,','45txjRso','tId:\x20par','\x20Bot\x20tar','kind:\x20\x22d','peerId)\x20','erKind:\x20','existing','\x20resolve','or\x20qqbot','ent:${no','erId)\x20re','315TUxSDQ','QBotSess','*/\x0a\x09\x09\x09lo','qqbot:${','nnel}:${','eStringO','peer:\x20{\x20','.peerKin','st\x20witho',':\x20sessio','entId}:$','nst\x20norm','werCase(','alizedAg','ring(par','{\x0a\x09\x09\x09/**','||\x20lower','(/^(chan','/^g-/i,\x20','.channel','slice','\x20||\x20\x22def','al\x20qqbot','rget.pee','sWith(\x22g','otDirect','y,\x0a\x09\x09bas',';\x0a\x09if\x20(w','er.start','t\x22\x20?\x20\x22qq','Scope\x20??','(to)?.ch','bot:grou','aw,\x20para','`${fromP','d)\x20retur','rId}`;\x0a\x09','\x20normali','atType:\x20','m:\x22)\x20||\x20',');\x0a\x09cons','\x20buildOu','gentId,\x20','alized\x20=','ix\x20=\x20rou','sWith(\x22t','nt:${nor','oksLikeI','ce(/^(us','alizeQQB','ormalize','eTarget,','default\x22','length','t:${norm','ieBuildQ','8004IEigix','allbackS','e(/^(use','rmat:\x20qq','eOutboun','oup|room',':direct:','n\x20`agent','\x20id\x20look','\x0a\x09\x09infer','Prefix(r','irect\x22,\x20','olveQQBo','ujieQQBo','|\x20lower.','st\x20raw\x20=','Scope\x20==','ams.targ','params.a',').trim()','m:\x20`${pa',';\x0a\x09\x09retu','replace(',');\x0a\x09if\x20(','params)\x20','et\x20??\x20\x22\x22','when\x20the','nel|conv','tboundBa','AgentId}','roup:\x22)\x20','rmalizeQ',')\x20{\x0a\x09con','id\x20}\x20:\x20n','Session(','ault\x22).t','get.peer','hatType:','gentId\x20=','\x20wujieNo','targetRe','indexOf','857956AthUUu','el).trim','dSession','Kind:\x20\x22d','arget','routeTar','stripPro','wujieBui','rams.cfg','solver:\x20','\x09if\x20(low','\x20routeTa','gentId}:','QQBotRou','st\x20id\x20=\x20','turn\x20`ag','essionKe','\x20stripPr','sWith(\x22c','\x22\x22).trim','ingOrEmp','arams.cf','rmalized','baseSess','RouteTar','.peerId;','ng(raw\x20?','atType,\x0a','Type}`;\x0a','kind:\x20ro','\x20\x22\x22).tri','s.agentI',',\x20params','et,\x20para','-shape-n','\x20QQ\x20Bot\x20','irect\x22\x20?','],\x0a\x09\x09/**','(\x22group:','Fallback','\x09\x09resolv','|dm|c2c)','const\x20dm','onst\x20nor','const\x20pe','refix}:$','t\x22,\x20peer','/**\x20Retu','730641HrqHiN','wujieQQB','et?.to\x20?','channel}','peerId:\x20','Scope\x20=\x20','||\x20\x22main','into\x20the','?\x20params','wujieRes','Target,\x20','et(value','`user:${','.trim();',':\x20routeT','{\x20chatTy','ms.chann','t|dm|c2c','zed)\x20ret','\x22.length','arget\x20fo','\x20id\x20?\x20{\x20','untId,\x0a\x09','plugin-a','w.toLowe','messagin','n-not-fo','\x20String(','raw\x20=\x20St','sion?.dm','.startsW',':group:g','\x22,\x20peerI','ms?.targ','hannel,\x0a','\x22).trim(','ionKey,\x0a','Outbound','?.target','115476UeLgzn','{channel','oupMirro','ession','\x20Return\x20','artsWith','rKind:\x20\x22','d\x20(direc','replace','found','sation:\x22','2c:openi','trim();\x0a','roupMirr','route,\x20a','(\x22channe','l:\x22)\x20||\x20','rovider.','\x09const\x20t','m.\x20*/\x0a\x09\x09','nst\x20from','tDirectF','\x0a\x09const\x20','}`;\x0a\x09ret','();\x0a\x09if\x20','\x20\x22direct',';\x0a\x09const','withoutG','bot\x22;\x0a\x09c','viderPre','\x09return\x20','\x09peer\x0a\x09}','Provider','aw.slice','{\x0a\x09if\x20(n','d\x20(group','eer,\x0a\x09\x09c','\x09\x09from:\x20','ntId}:${','n\x20null;','alizedAc','e()\x20||\x20\x22','\x20id\x20=\x20no','bot\x22\x20:\x20`','\x0a\x09\x09const','\x0a\x09if\x20(!r','ey\x20=\x20wuj','ersation','5413140CzUmXr','fallback','der.repl','ull;\x0a}\x0af','t\x22)\x20retu','tType\x20==','rimmed\x20=','):/i,\x20\x22\x22','targetPr','t\x20target','29918AFOKLs','ldQQBotS','\x20without','QBotTarg','\x20canonic','\x20=\x20norma','\x09messagi','looksLik','nd,\x20id:\x20','QQ\x20Bot\x20t','\x09const\x20w','\x20:\x20raw;\x0a','tDirectS','\x0a\x09if\x20(dm','zer-not-','tId,\x0a\x09\x09c','=\x20wujieR','\x20=\x20strip','\x09\x09baseSe','get.\x20*/\x0a','r-not-fo','kSession','function','e\x20===\x20\x22d','\x20chatTyp','lower.st','withoutP','rcaseStr','rams.cha','\x22per-pee','sessionK','t:\x22)\x20?\x20r','\x09hint:\x20\x22','eSession','\x20Normali','e:\x20\x22chan','or.repla','t.peerKi','st\x20lower','d:\x20id\x20}\x20','const\x20qq','ace(/^g-',')\x20||\x20low','();\x0a\x09con','.replace','rget.cha','-resolve','({\x20to\x20})','y:\x20baseS','\x0a\x09};\x0a}','ionKey(p','el\x22;\x0a\x09co','e)\x20{\x0a\x09co','t)\x20or\x20qq','ssionKey','Session\x20','BotDirec','n\x20the\x20id','fix(Stri','=\x20\x22per-a','/^(user|','annel)\x20!','t\x20peerId','if\x20(dmSc','\x20target\x20','\x20format:',')\x20return','ithoutGr','patched','nKey({\x0a\x09','QBotPeer','irror);\x0a','}:${rout','ute.peer','ion:\x22)\x20|','target.\x20','d.replac','\x20wujieRe','n\x20QQ\x20Bot','thoutPro','\x22)\x20||\x20lo','el}:dire','hannel-p','chatType','onversat','cfg?.ses','lizeLowe','nst\x20with','SessionR','group\x22,\x20','Lowercas','rCase()\x20','nel)\x20{\x0a\x09','\x20null;\x0a\x09','\x20lower\x20=','Prefix\x20=','\x09\x09}\x0a\x09},','onst\x20pee','formats\x20','openid\x20(','ujieReso','ty(witho','bot:c2c:','n\x20wujieR','ike\x20a\x20QQ','aw,\x20chan','\x20=\x20route','t\x20id\x20=\x20n','already-','esolveQQ','${peerId','ope\x20===\x20','onRoute(',',\x0a\x09};\x0a}','undSessi','irect\x22,\x0a','\x20\x22user\x22\x20','eer\x22\x20&&\x20',':...\x20for','arget.ch','ccountId','true\x20whe','startsWi','ith(\x22roo','tOutboun','utGroupM','rget\x20=\x20w','String(a','th(\x22thre','botPlugi','get.chat','==\x20\x22qqbo','582cWyMOR','LikeId:\x20','wujieNor','[\x22qqbot\x22','urn\x20null','zed.toLo',':${chann','\x09}\x0a\x09cons','return\x20w','rn\x20id\x20?\x20','();\x0a}\x0afu','eResolve','tFallbac','not-foun','ujieNorm','includes','r\x22\x20&&\x20pe','seSessio','!normali','nnel-pee','otPeerTa','d:\x20looks','normaliz',',\x0a\x09\x09to:\x20','peerId}`','efixes:\x20','unction\x20','ed.repla','rget,\x0a\x09\x09','\x0a\x09\x09\x09hint','BotOutbo','Target(r','pe:\x20\x22gro'];_0x5614=function(){return _0x33f1ba;};return _0x5614();}function qqBotNormalizePeerTargetFunctionSource(){const _0x70164e=_0x109b;return _0x70164e(0x1dc)+_0x70164e(0x2f3)+_0x70164e(0x2eb)+_0x70164e(0x20c)+_0x70164e(0x269)+_0x70164e(0x22f)+_0x70164e(0x222)+'const\x20wi'+_0x70164e(0x215)+'vider\x20=\x20'+_0x70164e(0x13b)+_0x70164e(0x1a9)+_0x70164e(0x200)+_0x70164e(0x14f)+'?\x20\x22\x22),\x20c'+'hannel).'+_0x70164e(0x198)+_0x70164e(0x1d0)+_0x70164e(0x209)+_0x70164e(0x18e)+'r\x20=\x20with'+'outProvi'+_0x70164e(0x1be)+_0x70164e(0x1ef)+_0x70164e(0x26d)+_0x70164e(0x198)+_0x70164e(0x1aa)+_0x70164e(0x1a7)+_0x70164e(0x199)+_0x70164e(0x1ea)+_0x70164e(0x2c4)+'er|direc'+_0x70164e(0x176)+_0x70164e(0x1c3)+').trim()'+';\x0a}';}function qqBotDirectFallbackFunctionSource(){const _0xace243=_0x109b;return _0xace243(0x1dc)+_0xace243(0x213)+'solveQQB'+_0xace243(0x2ad)+_0xace243(0x15c)+_0xace243(0x2ee)+'params)\x20'+_0xace243(0x1ae)+'ormalize'+_0xace243(0x220)+_0xace243(0x299)+'rEmpty(p'+'arams.ch'+_0xace243(0x203)+_0xace243(0x249)+_0xace243(0x1c0)+'rn\x20null;'+_0xace243(0x1a2)+_0xace243(0x181)+_0xace243(0x2a2)+_0xace243(0x2dd)+_0xace243(0x2e5)+_0xace243(0x2df)+_0xace243(0x1a6)+_0xace243(0x1c8)+_0xace243(0x1ac)+_0xace243(0x1d7)+_0xace243(0x1ac)+_0xace243(0x2d6)+_0xace243(0x2b5)+_0xace243(0x175)+_0xace243(0x136)+_0xace243(0x1f1)+_0xace243(0x29c)+_0xace243(0x243)+'irror\x20=\x20'+_0xace243(0x1e0)+'rovider.'+_0xace243(0x2e2)+_0xace243(0x2a6)+_0xace243(0x148)+_0xace243(0x1f1)+_0xace243(0x1ec)+_0xace243(0x1cb)+_0xace243(0x21c)+_0xace243(0x1e1)+_0xace243(0x149)+_0xace243(0x22b)+_0xace243(0x243)+_0xace243(0x20d)+_0xace243(0x13f)+_0xace243(0x2b0)+_0xace243(0x2ac)+_0xace243(0x2ea)+_0xace243(0x2a4)+_0xace243(0x183)+_0xace243(0x241)+_0xace243(0x2bb)+_0xace243(0x1df)+_0xace243(0x191)+_0xace243(0x19b)+_0xace243(0x19c)+_0xace243(0x1df)+_0xace243(0x191)+'(\x22conver'+_0xace243(0x196)+_0xace243(0x1f0)+_0xace243(0x2b0)+_0xace243(0x2c1)+'hread:\x22)'+_0xace243(0x208)+_0xace243(0x223)+_0xace243(0x161)+'erId\x20=\x20w'+_0xace243(0x258)+_0xace243(0x2c5)+_0xace243(0x25e)+'rget(raw'+_0xace243(0x155)+_0xace243(0x2a7)+_0xace243(0x2e3)+'!peerId)'+'\x20return\x20'+'null;\x0a\x09c'+_0xace243(0x227)+'r\x20=\x20{\x0a\x09\x09'+_0xace243(0x28c)+_0xace243(0x239)+'\x09\x09id:\x20pe'+_0xace243(0x27c)+'\x0a\x09const\x20'+_0xace243(0x14c)+'ionKey\x20='+_0xace243(0x2bd)+_0xace243(0x2e8)+_0xace243(0x25b)+_0xace243(0x20b)+'\x09cfg:\x20pa'+_0xace243(0x13d)+',\x0a\x09\x09agen'+'tId:\x20par'+_0xace243(0x283)+_0xace243(0x1d5)+'hannel:\x20'+'params.c'+_0xace243(0x187)+'\x09\x09accoun'+_0xace243(0x28a)+'ams.acco'+_0xace243(0x17b)+_0xace243(0x1ab)+');\x0a\x09retu'+'rn\x20{\x0a\x09\x09s'+_0xace243(0x145)+_0xace243(0x1f6)+_0xace243(0x145)+_0xace243(0x2ae)+_0xace243(0x1e7)+'Key,\x0a\x09\x09p'+_0xace243(0x1b0)+_0xace243(0x2f1)+_0xace243(0x1a5)+'\x22,\x0a\x09\x09fro'+_0xace243(0x2e0)+_0xace243(0x1e2)+(_0xace243(0x298)+_0xace243(0x262)+_0xace243(0x261)+_0xace243(0x171)+_0xace243(0x262)+_0xace243(0x1f7));}function replaceFunction(_0x4b051a,_0x2a4021,_0x2f6f58){const _0x4d1e93=_0x109b,_0x45feff=_0x4b051a[_0x4d1e93(0x134)](_0x4d1e93(0x1dc)+'\x20'+_0x2a4021);if(_0x45feff===-0x1)return null;const _0x3e35e2=_0x4b051a['indexOf']('{',_0x45feff);if(_0x3e35e2===-0x1)return null;let _0x447e9c=0x0,_0x10c984=null,_0x246f5c=![];for(let _0x3354bd=_0x3e35e2;_0x3354bd<_0x4b051a[_0x4d1e93(0x2c9)];_0x3354bd+=0x1){const _0x106d51=_0x4b051a[_0x3354bd];if(_0x10c984){if(_0x246f5c){_0x246f5c=![];continue;}if(_0x106d51==='\x5c'){_0x246f5c=!![];continue;}if(_0x106d51===_0x10c984)_0x10c984=null;continue;}if(_0x106d51==='\x22'||_0x106d51==='\x27'||_0x106d51==='`'){_0x10c984=_0x106d51;continue;}if(_0x106d51==='{')_0x447e9c+=0x1;if(_0x106d51==='}')_0x447e9c-=0x1;if(_0x447e9c===0x0)return _0x4b051a[_0x4d1e93(0x2a8)](0x0,_0x45feff)+_0x2f6f58+_0x4b051a[_0x4d1e93(0x2a8)](_0x3354bd+0x1);}return null;}function upgradeExistingQQBotOutboundFallbackPatch(_0x44e0c4){const _0x42f198=_0x109b;let _0x56a105=replaceFunction(_0x44e0c4,_0x42f198(0x24c)+'malizeQQ'+'BotPeerT'+_0x42f198(0x139),qqBotNormalizePeerTargetFunctionSource());if(!_0x56a105)return{'patched':![],'reason':_0x42f198(0x28f)+_0x42f198(0x273)+_0x42f198(0x1d4)+_0x42f198(0x195)};_0x56a105=replaceFunction(_0x56a105,_0x42f198(0x16e)+_0x42f198(0x2d8)+_0x42f198(0x1a1)+_0x42f198(0x2cd)+_0x42f198(0x18f),qqBotDirectFallbackFunctionSource());if(!_0x56a105)return{'patched':![],'reason':_0x42f198(0x28f)+_0x42f198(0x1f4)+_0x42f198(0x1da)+_0x42f198(0x279)};return{'patched':!![],'source':_0x56a105};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x283643,_0xc6e8a0){const _0xb4dcdd=_0x555d,_0x2c7687=_0x283643();while(!![]){try{const _0x425706=-parseInt(_0xb4dcdd(0x179))/0x1+parseInt(_0xb4dcdd(0x156))/0x2*(parseInt(_0xb4dcdd(0x185))/0x3)+parseInt(_0xb4dcdd(0x163))/0x4*(-parseInt(_0xb4dcdd(0x17c))/0x5)+-parseInt(_0xb4dcdd(0x173))/0x6*(-parseInt(_0xb4dcdd(0x166))/0x7)+parseInt(_0xb4dcdd(0x14d))/0x8*(parseInt(_0xb4dcdd(0x180))/0x9)+-parseInt(_0xb4dcdd(0x176))/0xa*(parseInt(_0xb4dcdd(0x174))/0xb)+parseInt(_0xb4dcdd(0x16a))/0xc;if(_0x425706===_0xc6e8a0)break;else _0x2c7687['push'](_0x2c7687['shift']());}catch(_0x55e303){_0x2c7687['push'](_0x2c7687['shift']());}}}(_0x45f4,0xd794d));function createBridgeImport(_0x4bbdef){const _0x37f897=_0x555d;return _0x37f897(0x159)+_0x37f897(0x171)+'eRequest'+_0x37f897(0x14e)+_0x37f897(0x17f)+_0x37f897(0x16d)+_0x4bbdef+'\x22;';}function ensureBridgeImport(_0x86abd9,_0x2eae37){const _0x3a2b3e=_0x555d,_0x219572=createBridgeImport(_0x2eae37);if(_0x86abd9[_0x3a2b3e(0x17e)](_0x219572))return _0x86abd9;const _0x5eb9a2=_0x86abd9['match'](/^import .*;$/m);if(!_0x5eb9a2)return _0x219572+'\x0a'+_0x86abd9;return _0x86abd9[_0x3a2b3e(0x181)](_0x5eb9a2[0x0],_0x5eb9a2[0x0]+'\x0a'+_0x219572);}function _0x555d(_0x2f49c2,_0x39f180){_0x2f49c2=_0x2f49c2-0x14c;const _0x45f490=_0x45f4();let _0x555d96=_0x45f490[_0x2f49c2];return _0x555d96;}function _0x45f4(){const _0x262cd3=['portPath','slice','bridge-i','(entry)\x20','bject\x22)\x20','Titles(p','(payload','RuntimeH','tIdTitle','1724908bNeNaz','const\x20en','elpers\x20=','7edwbmt','atchGetR','e(entry)','RequestI','31392024OVvpAl','questIdT','&&\x20typeo','om\x20\x22','itles\x20??','patched','equestId','\x20as\x20wuji','runtime\x20','6325806EQtwhm','15143051VlFKYz',',\x0a\x09\x09\x09\x09ba','10sUpQLM','\x09\x09}','indexOf','1396207bkoqEz','ieReques','not-foun','10kAbisy','length','includes','ridge\x20fr','333RPMYKi','replace','stIdTitl','ayload)\x0a','dTitleBr','40383PMyMIk','\x20(runtim','\x09\x09\x09\x09};\x0a\x09','Bridge.b','dTitle','e\x20===\x20\x22o','5816xajLug','IdTitleB','mport-no','already-','f\x20runtim','eChannel','body-not','sureWuji',')\x20=>\x20wuj','122pRFxAK','ntime.re','=>\x20wujie','import\x20*'];_0x45f4=function(){return _0x262cd3;};return _0x45f4();}function findFunctionBodyStart(_0x23a613,_0x93de98){const _0x5a72fd=_0x555d,_0x53c565=_0x23a613[_0x5a72fd(0x178)]('(',_0x93de98);if(_0x53c565===-0x1)return-0x1;let _0x17d053=0x0,_0x2f85b4=null,_0x1db3cc=![];for(let _0x408477=_0x53c565;_0x408477<_0x23a613[_0x5a72fd(0x17d)];_0x408477+=0x1){const _0x34e6de=_0x23a613[_0x408477];if(_0x2f85b4){if(_0x1db3cc){_0x1db3cc=![];continue;}if(_0x34e6de==='\x5c'){_0x1db3cc=!![];continue;}if(_0x34e6de===_0x2f85b4)_0x2f85b4=null;continue;}if(_0x34e6de==='\x22'||_0x34e6de==='\x27'||_0x34e6de==='`'){_0x2f85b4=_0x34e6de;continue;}if(_0x34e6de==='('){_0x17d053+=0x1;continue;}if(_0x34e6de===')'){_0x17d053-=0x1;continue;}if(_0x34e6de==='{'&&_0x17d053===0x0)return _0x408477;}return-0x1;}function insertAfterFunctionOpen(_0x231940,_0x4eee63,_0x5c976c){const _0x46fcf5=_0x555d,_0x313174=_0x231940[_0x46fcf5(0x178)](_0x4eee63);if(_0x313174===-0x1)return{'patched':![],'reason':_0x46fcf5(0x17b)+'d'};const _0x502fcb=findFunctionBodyStart(_0x231940,_0x313174);if(_0x502fcb===-0x1)return{'patched':![],'reason':_0x46fcf5(0x153)+'-found'};return{'patched':!![],'source':''+_0x231940['slice'](0x0,_0x502fcb+0x1)+_0x5c976c+_0x231940[_0x46fcf5(0x15b)](_0x502fcb+0x1)};}export function patchRequestIdTitleRuntimeFromSource(_0x255dbc,_0x2a4b50={}){const _0x10cf38=_0x555d,_0x41c5bd=_0x2a4b50['bridgeIm'+_0x10cf38(0x15a)];if(!_0x41c5bd)return{'patched':![],'reason':_0x10cf38(0x15c)+_0x10cf38(0x14f)+'t-provid'+'ed'};if(_0x255dbc[_0x10cf38(0x17e)]('wujieReq'+'uestIdTi'+'tleBridg'+'e.upsert'+_0x10cf38(0x169)+_0x10cf38(0x189)))return{'patched':![],'reason':_0x10cf38(0x150)+_0x10cf38(0x16f)};const _0x19e8e9=_0x10cf38(0x164)+_0x10cf38(0x154)+_0x10cf38(0x152)+_0x10cf38(0x161)+_0x10cf38(0x165)+_0x10cf38(0x186)+'e)\x20=>',_0x51e091='\x0a\x09\x09\x09if\x20('+_0x10cf38(0x172)+_0x10cf38(0x16c)+_0x10cf38(0x151)+_0x10cf38(0x14c)+_0x10cf38(0x15e)+'{\x0a\x09\x09\x09\x09ru'+_0x10cf38(0x157)+_0x10cf38(0x16b)+_0x10cf38(0x16e)+'=\x20{\x0a\x09\x09\x09\x09'+'upsert:\x20'+_0x10cf38(0x15d)+_0x10cf38(0x158)+_0x10cf38(0x169)+_0x10cf38(0x184)+'idge.ups'+'ertReque'+_0x10cf38(0x182)+_0x10cf38(0x168)+_0x10cf38(0x175)+'tchGet:\x20'+_0x10cf38(0x160)+_0x10cf38(0x155)+_0x10cf38(0x17a)+_0x10cf38(0x162)+_0x10cf38(0x188)+_0x10cf38(0x167)+_0x10cf38(0x170)+_0x10cf38(0x15f)+_0x10cf38(0x183)+_0x10cf38(0x187)+_0x10cf38(0x177),_0x503668=insertAfterFunctionOpen(ensureBridgeImport(_0x255dbc,_0x41c5bd),_0x19e8e9,_0x51e091);return _0x503668;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x244c0c,_0x7025c5){const _0x24104a=_0x4eff,_0x3a0edc=_0x244c0c();while(!![]){try{const _0x49a78d=parseInt(_0x24104a(0x1cd))/0x1+parseInt(_0x24104a(0x1d6))/0x2+parseInt(_0x24104a(0x1bd))/0x3*(-parseInt(_0x24104a(0x1cf))/0x4)+-parseInt(_0x24104a(0x1be))/0x5*(-parseInt(_0x24104a(0x1d3))/0x6)+parseInt(_0x24104a(0x1e1))/0x7+parseInt(_0x24104a(0x1e8))/0x8+-parseInt(_0x24104a(0x1ec))/0x9*(parseInt(_0x24104a(0x1e0))/0xa);if(_0x49a78d===_0x7025c5)break;else _0x3a0edc['push'](_0x3a0edc['shift']());}catch(_0x37cfad){_0x3a0edc['push'](_0x3a0edc['shift']());}}}(_0xa43f,0x8bf42));function createBridgeImport(_0x3d7473){const _0x5b6e92=_0x4eff;return'import\x20*'+'\x20as\x20wuji'+'eSession'+_0x5b6e92(0x1de)+_0x5b6e92(0x1d5)+_0x3d7473+'\x22;';}function ensureBridgeImport(_0x31739d,_0x2da3e2){const _0x50bc94=_0x4eff,_0x3862c6=createBridgeImport(_0x2da3e2);if(_0x31739d[_0x50bc94(0x1ce)](_0x3862c6))return _0x31739d;const _0x4ad876=_0x31739d[_0x50bc94(0x1c3)](/^import .*;$/m);if(!_0x4ad876)return _0x3862c6+'\x0a'+_0x31739d;return _0x31739d[_0x50bc94(0x1c1)](_0x4ad876[0x0],_0x4ad876[0x0]+'\x0a'+_0x3862c6);}function _0x4eff(_0x341863,_0x3a4a16){_0x341863=_0x341863-0x1bc;const _0xa43f00=_0xa43f();let _0x4eff06=_0xa43f00[_0x341863];return _0x4eff06;}function findFunctionBodyStart(_0x1722a3,_0x493daa){const _0x58f71c=_0x4eff,_0x7becc6=_0x1722a3[_0x58f71c(0x1dc)]('(',_0x493daa);if(_0x7becc6===-0x1)return-0x1;let _0x3f5393=0x0,_0x1ad8d2=null,_0x2c8ec7=![];for(let _0x34f609=_0x7becc6;_0x34f609<_0x1722a3[_0x58f71c(0x1dd)];_0x34f609+=0x1){const _0xd3601e=_0x1722a3[_0x34f609];if(_0x1ad8d2){if(_0x2c8ec7){_0x2c8ec7=![];continue;}if(_0xd3601e==='\x5c'){_0x2c8ec7=!![];continue;}if(_0xd3601e===_0x1ad8d2)_0x1ad8d2=null;continue;}if(_0xd3601e==='\x22'||_0xd3601e==='\x27'||_0xd3601e==='`'){_0x1ad8d2=_0xd3601e;continue;}if(_0xd3601e==='('){_0x3f5393+=0x1;continue;}if(_0xd3601e===')'){_0x3f5393-=0x1;continue;}if(_0xd3601e==='{'&&_0x3f5393===0x0)return _0x34f609;}return-0x1;}function _0xa43f(){const _0x516292=['27OEixVj','t-provid','portPath','body-end','not-foun','e(storeP','orePath,','3AfutOS','3970645eIpkXX','\x20opts);\x0a','nction\x20w','replace','s);\x0a}','match','{\x0a\x09retur','essionBr','already-','toreAtom','riteSess','bridgeIm','mport-no','n\x20wujieS','idge.loa','1133608mrQiaV','includes','1344044KMqfhF','essionSt','function','-found','6ZivfbZ','body-not','rom\x20\x22','544744wKJpfZ','sionBrid','async\x20fu','patched','s\x20=\x20{})','slice','indexOf','length','Bridge\x20f','ic(param','7394200QyumwP','6322806cFlEoJ','ath,\x20opt','wujieSes','ionStore','ge.loadS','-not-fou','\x20loadSes','193232CvDdvb','ge.write','Atomic(p','sionStor'];_0xa43f=function(){return _0x516292;};return _0xa43f();}function findMatchingBlockEnd(_0x535fc0,_0x5e08f0){let _0x4d7988=0x0,_0x42b904=null,_0x3a5655=![];for(let _0xcc3e37=_0x5e08f0;_0xcc3e37<_0x535fc0['length'];_0xcc3e37+=0x1){const _0x1ffb94=_0x535fc0[_0xcc3e37];if(_0x42b904){if(_0x3a5655){_0x3a5655=![];continue;}if(_0x1ffb94==='\x5c'){_0x3a5655=!![];continue;}if(_0x1ffb94===_0x42b904)_0x42b904=null;continue;}if(_0x1ffb94==='\x22'||_0x1ffb94==='\x27'||_0x1ffb94==='`'){_0x42b904=_0x1ffb94;continue;}if(_0x1ffb94==='{')_0x4d7988+=0x1;if(_0x1ffb94==='}')_0x4d7988-=0x1;if(_0x4d7988===0x0)return _0xcc3e37+0x1;}return-0x1;}function findNextNonWhitespace(_0x5f3cc7,_0x51dc14){for(let _0x15870e=_0x51dc14;_0x15870e<_0x5f3cc7['length'];_0x15870e+=0x1){if(!/\s/['test'](_0x5f3cc7[_0x15870e]))return _0x15870e;}return-0x1;}function repairMalformedAlreadyPatchedFunction(_0xa2dac,_0x48982e){const _0x335efe=_0x4eff,_0x25ec1c=_0xa2dac[_0x335efe(0x1dc)](_0x48982e);if(_0x25ec1c===-0x1)return{'patched':![],'reason':_0x335efe(0x1f0)+'d'};const _0x45025f=findFunctionBodyStart(_0xa2dac,_0x25ec1c);if(_0x45025f===-0x1)return{'patched':![],'reason':_0x335efe(0x1d4)+_0x335efe(0x1d2)};const _0xcffb50=findMatchingBlockEnd(_0xa2dac,_0x45025f);if(_0xcffb50===-0x1)return{'patched':![],'reason':_0x335efe(0x1ef)+'-not-fou'+'nd'};const _0x467e75=findNextNonWhitespace(_0xa2dac,_0xcffb50);if(_0xa2dac[_0x467e75]!==')')return{'patched':![],'reason':'already-'+_0x335efe(0x1d9)};const _0x212f83=findNextNonWhitespace(_0xa2dac,_0x467e75+0x1);if(_0xa2dac[_0x212f83]!=='{')return{'patched':![],'reason':_0x335efe(0x1c6)+'patched'};const _0x4699e9=findMatchingBlockEnd(_0xa2dac,_0x212f83);if(_0x4699e9===-0x1)return{'patched':![],'reason':_0x335efe(0x1ef)+_0x335efe(0x1e6)+'nd'};return{'patched':!![],'source':_0xa2dac[_0x335efe(0x1db)](0x0,_0xcffb50)+_0xa2dac['slice'](_0x4699e9)};}function replaceFunctionBody(_0x34ac4a,_0x459169,_0x5db959){const _0x16fa42=_0x4eff,_0x1236ec=_0x34ac4a[_0x16fa42(0x1dc)](_0x459169);if(_0x1236ec===-0x1)return{'patched':![],'reason':_0x16fa42(0x1f0)+'d'};const _0x3dc296=findFunctionBodyStart(_0x34ac4a,_0x1236ec);if(_0x3dc296===-0x1)return{'patched':![],'reason':_0x16fa42(0x1d4)+_0x16fa42(0x1d2)};const _0x329148=findMatchingBlockEnd(_0x34ac4a,_0x3dc296);if(_0x329148===-0x1)return{'patched':![],'reason':'body-end'+_0x16fa42(0x1e6)+'nd'};const _0x3560a9=_0x459169+'\x20'+_0x5db959;return{'patched':!![],'source':_0x34ac4a[_0x16fa42(0x1db)](0x0,_0x1236ec)+_0x3560a9+_0x34ac4a[_0x16fa42(0x1db)](_0x329148)};}export function patchSessionStoreLoadFromSource(_0x2ca8a8,_0x1d9b0d={}){const _0x5735aa=_0x4eff,_0x3e3c45=_0x1d9b0d[_0x5735aa(0x1c9)+_0x5735aa(0x1ee)];if(!_0x3e3c45)return{'patched':![],'reason':'bridge-i'+_0x5735aa(0x1ca)+_0x5735aa(0x1ed)+'ed'};if(_0x2ca8a8[_0x5735aa(0x1ce)](_0x5735aa(0x1e3)+_0x5735aa(0x1d7)+_0x5735aa(0x1e5)+_0x5735aa(0x1d0)+'ore'))return repairMalformedAlreadyPatchedFunction(_0x2ca8a8,_0x5735aa(0x1d1)+_0x5735aa(0x1e7)+_0x5735aa(0x1eb)+_0x5735aa(0x1f1)+'ath,\x20opt'+_0x5735aa(0x1da));const _0x452664=replaceFunctionBody(ensureBridgeImport(_0x2ca8a8,_0x3e3c45),'function'+'\x20loadSes'+'sionStor'+_0x5735aa(0x1f1)+_0x5735aa(0x1e2)+'s\x20=\x20{})',_0x5735aa(0x1c4)+_0x5735aa(0x1cb)+_0x5735aa(0x1c5)+_0x5735aa(0x1cc)+'dSession'+'Store(st'+_0x5735aa(0x1bc)+_0x5735aa(0x1bf)+'}');return _0x452664;}export function patchSessionStoreWriteFromSource(_0x53d3d8,_0x157f6d={}){const _0x572817=_0x4eff,_0x545139=_0x157f6d[_0x572817(0x1c9)+_0x572817(0x1ee)];if(!_0x545139)return{'patched':![],'reason':'bridge-i'+_0x572817(0x1ca)+_0x572817(0x1ed)+'ed'};const _0x2f3506=replaceFunctionBody(ensureBridgeImport(_0x53d3d8,_0x545139),_0x572817(0x1d8)+_0x572817(0x1c0)+_0x572817(0x1c8)+_0x572817(0x1e4)+_0x572817(0x1ea)+'arams)',_0x572817(0x1c4)+'n\x20await\x20'+'wujieSes'+_0x572817(0x1d7)+_0x572817(0x1e9)+'SessionS'+_0x572817(0x1c7)+_0x572817(0x1df)+_0x572817(0x1c2));if(!_0x2f3506[_0x572817(0x1d9)])return _0x2f3506;return _0x2f3506;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x3fdff8,_0x3a8f67){const _0x236113=_0x5896,_0x46890f=_0x3fdff8();while(!![]){try{const _0x13b7a2=-parseInt(_0x236113(0x29d))/0x1+-parseInt(_0x236113(0x277))/0x2+parseInt(_0x236113(0x244))/0x3*(parseInt(_0x236113(0x201))/0x4)+-parseInt(_0x236113(0x152))/0x5*(-parseInt(_0x236113(0x125))/0x6)+parseInt(_0x236113(0x14e))/0x7*(-parseInt(_0x236113(0x2b8))/0x8)+parseInt(_0x236113(0x28d))/0x9*(-parseInt(_0x236113(0x1e6))/0xa)+parseInt(_0x236113(0x28c))/0xb*(parseInt(_0x236113(0x181))/0xc);if(_0x13b7a2===_0x3a8f67)break;else _0x46890f['push'](_0x46890f['shift']());}catch(_0xc32b8){_0x46890f['push'](_0x46890f['shift']());}}}(_0x403e,0x2f3dd));export function patchWeixinOutboundSessionRouteFromSource(_0x13d0f0){const _0x111155=_0x5896;if(_0x13d0f0['includes'](_0x111155(0x136)+_0x111155(0x2c4)+'inOutbou'+_0x111155(0x1bd)+'nRoute')){if(!_0x13d0f0[_0x111155(0x15e)](_0x111155(0x20e)+_0x111155(0x225)+_0x111155(0x264)+_0x111155(0x27d)))return upgradeExistingWeixinOutboundSessionRoutePatch(_0x13d0f0);return{'patched':![],'reason':_0x111155(0x193)+'patched'};}const _0x551be5='const\x20ME'+_0x111155(0x27a)+_0x111155(0x13e)+_0x111155(0x1d5)+_0x111155(0x214)+_0x111155(0x220)+_0x111155(0x1c3)+_0x111155(0x13b)+_0x111155(0x20f)+_0x111155(0x1f8)+_0x111155(0x209)+'a/outbou'+_0x111155(0x189)+');';if(!_0x13d0f0['includes'](_0x551be5))return{'patched':![],'reason':'helper-a'+_0x111155(0x13c)+_0x111155(0x2b6)};const _0x260675=_0x111155(0x1c6)+'aging:\x20{'+_0x111155(0x1ad)+_0x111155(0x149)+'esolver:'+'\x20{\x0a\x20\x20\x20\x20\x20'+_0x111155(0x265)+'/\x20Weixin'+_0x111155(0x16c)+_0x111155(0x12d)+'\x20end\x20wit'+_0x111155(0x12a)+_0x111155(0x144)+_0x111155(0x23d)+_0x111155(0x238)+'s,\x20skip\x20'+_0x111155(0x200)+_0x111155(0x1b1)+_0x111155(0x239)+_0x111155(0x1cc)+_0x111155(0x25a)+_0x111155(0x124)+_0x111155(0x205)+_0x111155(0x1ec)+_0x111155(0x182)+'chat\x22),\x0a'+_0x111155(0x147)+_0x111155(0x25f)+',';if(!_0x13d0f0[_0x111155(0x15e)](_0x260675))return{'patched':![],'reason':_0x111155(0x140)+_0x111155(0x280)+_0x111155(0x21b)+'d'};const _0x38bc90=_0x551be5+'\x0a'+weixinPluginRouteHelperSource(),_0x1c2a5c=_0x111155(0x1c6)+_0x111155(0x218)+_0x111155(0x1ad)+_0x111155(0x208)+'rgetChat'+_0x111155(0x211)+_0x111155(0x235)+_0x111155(0x26b)+'ormalize'+_0x111155(0x1da)+'uteTarge'+_0x111155(0x1a5)+_0x111155(0x2bf)+_0x111155(0x1bc)+_0x111155(0x29f)+_0x111155(0x213)+_0x111155(0x28b)+_0x111155(0x296)+_0x111155(0x12e)+_0x111155(0x1db)+_0x111155(0x2b2)+_0x111155(0x1e2)+':\x20wujieR'+'esolveWe'+_0x111155(0x242)+'oundSess'+_0x111155(0x1e2)+_0x111155(0x163)+'\x20\x20target'+'Resolver'+_0x111155(0x1ba)+_0x111155(0x147)+_0x111155(0x2ab)+_0x111155(0x1f0)+_0x111155(0x173)+_0x111155(0x2ca)+'th\x20@im.w'+_0x111155(0x2af)+_0x111155(0x1fb)+_0x111155(0x254)+_0x111155(0x164)+_0x111155(0x18b)+_0x111155(0x23f)+_0x111155(0x14f)+_0x111155(0x1a8)+'ooksLike'+_0x111155(0x1bf)+_0x111155(0x129)+'.endsWit'+_0x111155(0x226)+_0x111155(0x1eb)+_0x111155(0x1ad)+_0x111155(0x16f)+'},';return{'patched':!![],'source':_0x13d0f0['replace'](_0x551be5,_0x38bc90)[_0x111155(0x1b6)](_0x260675,_0x1c2a5c)};}export function patchWeixinOutboundFallbackFromSource(_0x1217cb){const _0x262554=_0x5896;if(_0x1217cb[_0x262554(0x15e)](_0x262554(0x136)+'olveWeix'+_0x262554(0x1d6)+_0x262554(0x15b)+_0x262554(0x286)+'n'))return{'patched':![],'reason':_0x262554(0x193)+'patched'};const _0x1003a4=_0x262554(0x1b9)+'\x20resolve'+'Fallback'+_0x262554(0x128)+_0x262554(0x28e)+'{';if(!_0x1217cb['includes'](_0x1003a4))return{'patched':![],'reason':_0x262554(0x1cd)+_0x262554(0x2a9)+_0x262554(0x14b)+_0x262554(0x22a)};const _0x52de32=_0x262554(0x25d)+_0x262554(0x253)+_0x262554(0x22b)+_0x262554(0x161)+_0x262554(0x231)+_0x262554(0x291)+'et,\x20para'+'ms.chann'+_0x262554(0x185)+_0x262554(0x1f3)+_0x262554(0x1a6)+_0x262554(0x1cf)+_0x262554(0x1aa);if(!_0x1217cb[_0x262554(0x15e)](_0x52de32))return{'patched':![],'reason':_0x262554(0x1cd)+_0x262554(0x2a1)+'ot-found'};const _0x4edf5e=weixinCoreFallbackHelperSource()+'\x0a'+_0x1003a4,_0x4e2d86=_0x52de32+(_0x262554(0x26c)+_0x262554(0x17a)+_0x262554(0x167)+_0x262554(0x19e)+'\x20=\x20wujie'+_0x262554(0x271)+_0x262554(0x228)+'irectFal'+'lbackSes'+_0x262554(0x227)+'ams);\x0a\x09i'+'f\x20(wujie'+_0x262554(0x210)+_0x262554(0x18a)+'ion)\x20ret'+_0x262554(0x206)+_0x262554(0x2cd)+_0x262554(0x143)+_0x262554(0x186));return{'patched':!![],'source':_0x1217cb['replace'](_0x1003a4,_0x4edf5e)['replace'](_0x52de32,_0x4e2d86)};}function _0x403e(){const _0x3b71d1=['Route(pa','}:direct','\x0a\x09\x09baseS','eBuildWe','ed,','\x20\x20\x20const','Id(to)','essionKe','d:\x20to\x20},','ams.cfg,','ct\x22,\x20id:','wechat\x22)','\x20\x20\x20from:','rimmed\x20=','direct\x20I','r:\x20{\x20kin','nnel:\x20pa','pe\x20===\x20\x22','direct\x22,','to\x20??\x20\x22\x22','oksLikeI','\x20wujieNo','inferTar','\x09const\x20t','return\x20p','},\x0a\x20\x20\x20\x20}','erId}`\x0a\x09','\x20wujieRe','t(to);\x0a\x20','tId}:mai','ixinRout','\x20\x20\x20\x20\x20\x20\x20/','rim();\x0a\x09','(without','\x0a\x09\x09from:','Kind);\x0a\x09','}:${chan','>\x20wujieN','\x0a\x09const\x20','ider\x20=\x20s','countId)','nKey\x20=\x20b','rovider\x20','ResolveW','claw-wei','d:\x20param',')\x20return','nversati','e(/^g-/i','514026OyjaZy','ormalize','xinOutbo','DIA_OUTB','\x22);\x0a\x20\x20\x20\x20','f\x20(dmSco','eTarget','Key\x20=\x20wu','\x20{\x0a\x09\x09ses','g-shape-','ionKey(p','();\x0a}','slice','\x20session','-normali','ckSessio','owerCase','uteTarge','ser:${to','\x20\x20const\x20',':\x20undefi','6276523myddif','18dTfEJk','params)\x20','normaliz','ain\x22).tr','ams.targ','t\x20to\x20=\x20w','arams?.t','ix(Strin','onKey,\x0a\x20','ned,\x0a\x20\x20\x20','w,\x20chann','ntId,\x20to','at\x22)\x20?\x20p','tFallbac','hannel)\x20','arams.ac','141737qGZSHQ','tId\x20||\x20\x22','at\x22)\x20?\x20\x22','\x20\x20\x20\x20to:\x20','-shape-n','();\x0a}\x0afu','to}`,\x0a\x20\x20',').trim()','uildOutb','erId}`;\x0a','ct\x22,\x0a\x20\x20\x20','\x20\x20\x20baseS','-functio','nst\x20to\x20=','//\x20Weixi','eturn\x20`a','y,\x0a\x20\x20\x20\x20\x20','\x20peerId\x20','echat;\x20t','peerId\x20=','\x22\x20&&\x20pee','oundSess','=\x20\x22per-p','ession?.','nction\x20w','t-found','dWeixinD','296oLlKhp','gOrEmpty','nel}:dir','nst\x20raw\x20','ect:${pe','\x20{\x0a\x09if\x20(','getChatT','dsWith(\x22','\x20to,\x20par','malizedA','per-acco','return\x20n','olveWeix','iderPref',',\x20accoun','|\x20\x22defau','eturn\x20nu','eturn\x20wi','s\x20end\x20wi','t\x22\x20:\x20und','\x22)\x20?\x20raw','eWeixinD','.slice(\x22','\x20}\x0a\x20\x20\x20\x20i','d:\x20(raw)','564dzNATK','Target(p','replaceA','Session(',')\x20=>\x20raw','h\x20@im.we','nclaw-we','arget?.t','s\x20always','\x20\x20\x20\x20\x20res','per-chan','on|room|','nnel,\x0a\x09\x09','indexOf','undSessi','cfg,\x20age','nImDirec','wujieRes','ms.chann','n`;\x0a}\x0afu','onst\x20nor',');\x0a\x20\x20\x20\x20r','edOpenCl','nchor-no','{\x0a\x20\x20\x20\x20co','OUND_TEM','teTarget','messagin','jieBuild','d\x20=\x20stri','irectSes','chat;\x20tr','d\x20=\x20Stri','Key,\x0a\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20','hatType:','\x20targetR','eLowerca','n-not-fo','zeLowerc','ctSessio','9569EceEUF','p.\x0a\x20\x20\x20\x20\x20',';\x0a\x20\x20\x20\x20re','n:${to}`','5780YJtGJl','lt\x22;\x0a\x20\x20\x20','\x20normali','agentId,','zer-not-','onRoute(','${normal','chat\x22))\x20','\x22.length','ctFallba','ujieNorm','ll;\x0a\x09con','includes','th(\x22@im.','alizeWei','oviderPr','ull;\x0a\x20\x20\x20',',\x0a\x20\x20\x20\x20\x20\x20','Ds,\x20skip','y\x20=\x20wuji','d}`;\x0a\x20\x20\x20','xinDirec','nd:\x20\x22dir','s.accoun','rmalizeW','\x20to\x20},\x0a\x20','\x20user\x20ID','tsWith(\x22','seString','\x20},\x0a\x20\x20\x20\x20','nOutboun','default\x22','\x0a\x09if\x20(!p','Ds\x20alway','rn\x20{\x0a\x20\x20\x20','ind:\x20\x22di','pKindPre','openclaw','nel-peer','aseStrin','wujieWei','oundBase','g(accoun','o.endsWi','inOutbou','\x22).trim(','annel).t','12oGSQRY','(\x22@im.we','\x20\x20\x20\x20\x20fro','/^(user|','el).trim','sion;','?\x20\x22direc','\x20\x20\x20\x20\x20ret','nd-temp\x22','rectSess','\x20directo','eer:\x20{\x20k','solveWei','aw-weixi','rId)\x20{\x0a\x20','ixinDire','dmScope\x20','kSession','already-','im().toL','if\x20(!to.','rams)\x20{\x0a','\x20\x20\x20\x20\x20ses','?\x20\x22\x22).tr','to\x20})\x20=>','zeWeixin','\x20\x20if\x20(!t','ype:\x20({\x20','ams.acco','tSession','channel|','}`,\x0a\x20\x20\x20\x20','im();\x0a\x20\x20','ccountId','edAgentI','ixin\x22)\x20r','t(to).en','(!trimme','sionKey(','\x20\x20\x20\x20\x20\x20\x20l','sionKey,','n\x20null;','\x20:\x20raw;\x0a','eerId.en','\x0a\x20\x20\x20\x20\x20\x20\x20','=\x20{\x0a\x09\x09ki','Id\x20||\x20\x22m','echat\x22)\x20','y\x20lookup','id:\x20peer','-resolve','\x20baseSes','??\x20\x22main','replace','el)\x20{\x0a\x09c','d):/i,\x20\x22','function',':\x20{\x0a\x20\x20\x20\x20','.target?','@im.wech','ndSessio','\x20\x20\x20\x20}\x0a\x20\x20','Id:\x20(raw','ImPeerId','(params?','tKind\x20=\x20','ePreferr','tId)\x20{\x0a\x20','\x20undefin','\x20\x20\x20\x20mess','OrEmpty(','accountI','d:\x20\x22dire','Id\x0a\x09};\x0a\x09','-weixin:','\x20\x20\x20\x20\x20\x20lo','fallback','LowerCas','d)\x20retur','.toLower',',\x20\x22\x22).tr','e().star','rovider.','y,\x0a\x09\x09pee','P_DIR\x20=\x20','inImDire','erId}`,\x0a','sionKey:','g,\x20param','WeixinRo','olveOutb','sWith(\x22@','target,\x20','ser:${pe','withoutP','t\x20withou','ujieReso','ionRoute','Scope\x20==','=\x20wujieN','params.c','1128690JEFrsr','el}:${pe','peerId)\x20','ain\x22;\x0a\x20\x20','\x20chatTyp','echat\x22),','endsWith','\x20`agent:','dSession','rams.cha','n\x20user\x20I','\x20\x20\x20\x20\x20pee','\x20channel','();\x0a\x09if\x20','lveWeixi','fix(with','\x20const\x20s','found','(),\x20\x22wei','\x20\x22\x22),\x20ch','=\x20raw.to','reat\x20as\x20','ey({\x0a\x09\x09c','replace(','gentId}:','\x20\x20\x20\x20cons','director','4JXTswJ','dAgentId','()\x20||\x20\x22m','xin\x22;\x0a\x20\x20','\x20=>\x20raw.','urn\x20wuji','r,\x0a\x09\x09cha','\x20inferTa','xin/medi','eerId)\x20r','\x20\x20};\x0a}','s.agentI','untId);\x0a','wujieNor','awTmpDir','WeixinDi','Type:\x20({','irect\x22\x20:','direct\x22\x20','path.joi','l}:${nor','Case()\x20|','izedAgen','aging:\x20{','\x20=\x20Strin','xin:${to','not-foun','eer\x22\x20&&\x20','const\x20wi','d,\x0a\x09\x09cha','\x20null;\x0a\x20','n(resolv','\x09\x09agentI','(value\x20?','dm|threa','thoutKin','malizeWe','h(\x22@im.w','sion(par','eixinImD','const\x20ba','und','\x20stripPr','\x0a\x09return','nRoute','group|co','hannel);','\x22;\x0a\x20\x20\x20\x20i','efix(par','eNormali','y:\x20sessi','der).rep','\x20to\x20})\x20=','\x20\x20\x20\x20\x20\x20\x20s','=\x20cfg?.s','irect\x20ID','.\x0a\x20\x20\x20\x20\x20\x20','existing','ng(agent','im.wecha','eat\x20as\x20d','(value)\x20','ry\x20looku','};\x0a}','eixinRou','ixinOutb','d.replac','567933XGdEvP','st\x20peerI'];_0x403e=function(){return _0x3b71d1;};return _0x403e();}function weixinPluginRouteHelperSource(){const _0x5c7e0b=_0x5896;return _0x5c7e0b(0x1b9)+_0x5c7e0b(0x25b)+_0x5c7e0b(0x16a)+_0x5c7e0b(0x241)+_0x5c7e0b(0x13f)+_0x5c7e0b(0x23e)+_0x5c7e0b(0x13d)+'nst\x20raw\x20'+'=\x20String'+_0x5c7e0b(0x222)+_0x5c7e0b(0x198)+'im();\x0a\x20\x20'+_0x5c7e0b(0x28a)+_0x5c7e0b(0x1df)+_0x5c7e0b(0x270)+'=\x20raw.to'+_0x5c7e0b(0x1ce)+_0x5c7e0b(0x1d2)+_0x5c7e0b(0x16d)+'openclaw'+_0x5c7e0b(0x1cb)+_0x5c7e0b(0x2cc)+_0x5c7e0b(0x2ce)+_0x5c7e0b(0x177)+'-weixin:'+_0x5c7e0b(0x15a)+').trim()'+_0x5c7e0b(0x1ab)+'\x20\x20\x20\x20cons'+_0x5c7e0b(0x1e0)+_0x5c7e0b(0x1c2)+_0x5c7e0b(0x1df)+_0x5c7e0b(0x1d3)+_0x5c7e0b(0x1fd)+_0x5c7e0b(0x184)+_0x5c7e0b(0x19f)+_0x5c7e0b(0x22e)+'nversati'+'on|room|'+_0x5c7e0b(0x223)+_0x5c7e0b(0x1b8)+_0x5c7e0b(0x17f)+_0x5c7e0b(0x13a)+'eturn\x20wi'+_0x5c7e0b(0x224)+'d.replac'+_0x5c7e0b(0x276)+_0x5c7e0b(0x1d1)+'im().toL'+_0x5c7e0b(0x287)+_0x5c7e0b(0x2a2)+_0x5c7e0b(0x2b5)+'ujieBuil'+_0x5c7e0b(0x2b7)+_0x5c7e0b(0x143)+_0x5c7e0b(0x1a7)+_0x5c7e0b(0x134)+_0x5c7e0b(0x298)+_0x5c7e0b(0x2c6)+_0x5c7e0b(0x1c4)+_0x5c7e0b(0x24b)+_0x5c7e0b(0x2ae)+_0x5c7e0b(0x1e4)+_0x5c7e0b(0x278)+_0x5c7e0b(0x1da)+_0x5c7e0b(0x288)+_0x5c7e0b(0x262)+_0x5c7e0b(0x24b)+_0x5c7e0b(0x1f2)+'\x20=\x20\x22open'+'claw-wei'+_0x5c7e0b(0x204)+_0x5c7e0b(0x28a)+_0x5c7e0b(0x28f)+_0x5c7e0b(0x1a3)+_0x5c7e0b(0x145)+_0x5c7e0b(0x23b)+_0x5c7e0b(0x1af)+_0x5c7e0b(0x290)+_0x5c7e0b(0x194)+'owerCase'+_0x5c7e0b(0x203)+_0x5c7e0b(0x1e9)+_0x5c7e0b(0x28a)+_0x5c7e0b(0x191)+_0x5c7e0b(0x237)+_0x5c7e0b(0x2b4)+_0x5c7e0b(0x191)+_0x5c7e0b(0x1b5)+_0x5c7e0b(0x230)+_0x5c7e0b(0x27c)+_0x5c7e0b(0x257)+_0x5c7e0b(0x2c2)+'unt-chan'+_0x5c7e0b(0x178)+_0x5c7e0b(0x2b1)+_0x5c7e0b(0x18f)+'\x20\x20\x20\x20\x20\x20\x20c'+_0x5c7e0b(0x139)+_0x5c7e0b(0x2c1)+'ccountId'+_0x5c7e0b(0x219)+_0x5c7e0b(0x17c)+_0x5c7e0b(0x29e)+_0x5c7e0b(0x171)+_0x5c7e0b(0x2a4)+_0x5c7e0b(0x1d0)+_0x5c7e0b(0x216)+_0x5c7e0b(0x2c7)+_0x5c7e0b(0x153)+_0x5c7e0b(0x188)+'urn\x20`age'+'nt:${nor'+_0x5c7e0b(0x2c1)+_0x5c7e0b(0x1fe)+'${channe'+_0x5c7e0b(0x215)+_0x5c7e0b(0x2c1)+_0x5c7e0b(0x1a2)+_0x5c7e0b(0x247)+':${peerI'+_0x5c7e0b(0x166)+_0x5c7e0b(0x123)+_0x5c7e0b(0x27c)+_0x5c7e0b(0x257)+(_0x5c7e0b(0x12f)+_0x5c7e0b(0x178)+'\x22\x20&&\x20pee'+_0x5c7e0b(0x18f)+'\x20\x20\x20\x20\x20\x20\x20r'+_0x5c7e0b(0x2ac)+'gent:${n'+_0x5c7e0b(0x278)+_0x5c7e0b(0x202)+_0x5c7e0b(0x26a)+_0x5c7e0b(0x2ba)+_0x5c7e0b(0x2bc)+_0x5c7e0b(0x2a6)+_0x5c7e0b(0x1be)+'\x20\x20if\x20(dm'+_0x5c7e0b(0x1e3)+_0x5c7e0b(0x2b3)+_0x5c7e0b(0x21c)+_0x5c7e0b(0x1e8)+'{\x0a\x20\x20\x20\x20\x20\x20'+'\x20\x20return'+'\x20`agent:'+'${normal'+_0x5c7e0b(0x217)+'tId}:dir'+_0x5c7e0b(0x2bc)+_0x5c7e0b(0x2a6)+'\x20\x20\x20\x20}\x0a\x20\x20'+'\x20\x20return'+_0x5c7e0b(0x1ed)+_0x5c7e0b(0x158)+_0x5c7e0b(0x217)+_0x5c7e0b(0x263)+_0x5c7e0b(0x138)+_0x5c7e0b(0x2b5)+_0x5c7e0b(0x1e1)+'lveWeixi'+_0x5c7e0b(0x170)+_0x5c7e0b(0x1ee)+_0x5c7e0b(0x246)+_0x5c7e0b(0x196)+'\x20\x20\x20\x20cons'+_0x5c7e0b(0x292)+_0x5c7e0b(0x15c)+_0x5c7e0b(0x160)+'xinRoute'+_0x5c7e0b(0x126)+_0x5c7e0b(0x293)+_0x5c7e0b(0x12c)+'o\x20??\x20par'+'ams?.tar'+'get\x20??\x20\x22'+_0x5c7e0b(0x27b)+_0x5c7e0b(0x195)+'endsWith'+_0x5c7e0b(0x182)+_0x5c7e0b(0x159)+_0x5c7e0b(0x2c3)+_0x5c7e0b(0x162)+_0x5c7e0b(0x1f6)+_0x5c7e0b(0x24d)+_0x5c7e0b(0x165)+_0x5c7e0b(0x249)+_0x5c7e0b(0x190)+_0x5c7e0b(0x14d)+'nKey(par'+_0x5c7e0b(0x24f)+'\x20params.'+_0x5c7e0b(0x155)+_0x5c7e0b(0x2c0)+_0x5c7e0b(0x19d)+_0x5c7e0b(0x20d)+'\x20\x20\x20\x20retu'+_0x5c7e0b(0x174)+_0x5c7e0b(0x197)+_0x5c7e0b(0x1a9)+_0x5c7e0b(0x1ad)+_0x5c7e0b(0x1b4)+_0x5c7e0b(0x1d8)+'\x20session'+_0x5c7e0b(0x146)+_0x5c7e0b(0x1f1)+_0x5c7e0b(0x255)+_0x5c7e0b(0x1c9)+_0x5c7e0b(0x250)+_0x5c7e0b(0x16b)+'\x20\x20\x20\x20\x20\x20\x20c'+_0x5c7e0b(0x148)+'\x20\x22direct'+'\x22,\x0a\x20\x20\x20\x20\x20'+_0x5c7e0b(0x252)+'\x20`opencl'+_0x5c7e0b(0x18e)+_0x5c7e0b(0x151)+',\x0a\x20\x20\x20\x20\x20\x20'+'\x20\x20to:\x20`u'+_0x5c7e0b(0x289)+_0x5c7e0b(0x1a0)+_0x5c7e0b(0x240));}function weixinCoreFallbackHelperSource(){const _0x572583=_0x5896;return'function'+_0x572583(0x25b)+_0x572583(0x16a)+'eixinImP'+'eerId(ra'+_0x572583(0x297)+_0x572583(0x1b7)+'onst\x20wit'+'houtProv'+_0x572583(0x26d)+'tripProv'+_0x572583(0x2c5)+_0x572583(0x294)+'g(raw\x20??'+_0x572583(0x1f9)+_0x572583(0x180)+_0x572583(0x266)+_0x572583(0x21d)+_0x572583(0x224)+_0x572583(0x142)+_0x572583(0x176)+_0x572583(0x1f5)+'outProvi'+_0x572583(0x234)+'lace(/^g'+'-/i,\x20\x22\x22)'+'.trim();'+_0x572583(0x26c)+_0x572583(0x2b0)+_0x572583(0x154)+_0x572583(0x14c)+_0x572583(0x179)+_0x572583(0x2b9)+_0x572583(0x267)+_0x572583(0x269)+_0x572583(0x25e)+_0x572583(0x1ac)+'dsWith(\x22'+'@im.wech'+_0x572583(0x299)+'eerId\x20:\x20'+'\x22\x22;\x0a}\x0afu'+_0x572583(0x2b5)+_0x572583(0x1e1)+_0x572583(0x1f4)+_0x572583(0x135)+_0x572583(0x29a)+_0x572583(0x192)+'(params)'+_0x572583(0x2bd)+_0x572583(0x28f)+_0x572583(0x14a)+_0x572583(0x16e)+_0x572583(0x1c7)+_0x572583(0x1e5)+_0x572583(0x29b)+'!==\x20\x22ope'+_0x572583(0x12b)+_0x572583(0x1a4)+_0x572583(0x2c8)+_0x572583(0x15d)+_0x572583(0x245)+'d\x20=\x20wuji'+_0x572583(0x232)+_0x572583(0x19a)+_0x572583(0x1c0)+'(params.'+_0x572583(0x1dd)+'params.c'+_0x572583(0x22f)+_0x572583(0x172)+_0x572583(0x20a)+_0x572583(0x2c8)+_0x572583(0x15d)+'st\x20peer\x20'+_0x572583(0x1ae)+_0x572583(0x168)+'ect\x22,\x0a\x09\x09'+_0x572583(0x1b2)+_0x572583(0x1ca)+_0x572583(0x229)+'seSessio'+_0x572583(0x26f)+_0x572583(0x2a5)+_0x572583(0x17b)+'SessionK'+_0x572583(0x1fc)+'fg:\x20para'+'ms.cfg,\x0a'+_0x572583(0x221)+_0x572583(0x273)+_0x572583(0x20c)+_0x572583(0x21e)+_0x572583(0x256)+_0x572583(0x1ef)+_0x572583(0x131)+_0x572583(0x1c8)+'d:\x20param'+_0x572583(0x169)+'tId,\x0a\x09\x09p'+'eer\x0a\x09});'+_0x572583(0x22c)+_0x572583(0x27f)+'sionKey:'+_0x572583(0x1b4)+_0x572583(0x1a9)+_0x572583(0x248)+_0x572583(0x24d)+_0x572583(0x1d4)+_0x572583(0x207)+'tType:\x20\x22'+_0x572583(0x258)+_0x572583(0x268)+'\x20`${para'+_0x572583(0x137)+_0x572583(0x1e7)+_0x572583(0x1d7)+'\x09\x09to:\x20`u'+_0x572583(0x1de)+_0x572583(0x260)+_0x572583(0x240);}function replaceFunction(_0x256bcd,_0x81da64,_0x55c6a3){const _0x5c404a=_0x5896,_0x1ab5c5=_0x256bcd[_0x5c404a(0x132)]('function'+'\x20'+_0x81da64);if(_0x1ab5c5===-0x1)return null;const _0x403212=_0x256bcd[_0x5c404a(0x132)]('{',_0x1ab5c5);if(_0x403212===-0x1)return null;let _0xf0de1c=0x0,_0x2d39bd=null,_0x2e444c=![];for(let _0x1089d7=_0x403212;_0x1089d7<_0x256bcd['length'];_0x1089d7+=0x1){const _0x19a4f4=_0x256bcd[_0x1089d7];if(_0x2d39bd){if(_0x2e444c){_0x2e444c=![];continue;}if(_0x19a4f4==='\x5c'){_0x2e444c=!![];continue;}if(_0x19a4f4===_0x2d39bd)_0x2d39bd=null;continue;}if(_0x19a4f4==='\x22'||_0x19a4f4==='\x27'||_0x19a4f4==='`'){_0x2d39bd=_0x19a4f4;continue;}if(_0x19a4f4==='{')_0xf0de1c+=0x1;if(_0x19a4f4==='}')_0xf0de1c-=0x1;if(_0xf0de1c===0x0)return _0x256bcd['slice'](0x0,_0x1ab5c5)+_0x55c6a3+_0x256bcd[_0x5c404a(0x283)](_0x1089d7+0x1);}return null;}function _0x5896(_0x1e6070,_0x3811a7){_0x1e6070=_0x1e6070-0x123;const _0x403e29=_0x403e();let _0x5896d3=_0x403e29[_0x1e6070];return _0x5896d3;}function upgradeExistingWeixinOutboundSessionRoutePatch(_0x77dba6){const _0x1991d1=_0x5896;let _0x2455c8=replaceFunction(_0x77dba6,_0x1991d1(0x20e)+_0x1991d1(0x225)+'ixinPeer'+'Id',_0x1991d1(0x1b9)+_0x1991d1(0x25b)+_0x1991d1(0x16a)+_0x1991d1(0x241)+_0x1991d1(0x13f)+_0x1991d1(0x23e)+_0x1991d1(0x13d)+_0x1991d1(0x2bb)+'=\x20String'+_0x1991d1(0x222)+_0x1991d1(0x198)+_0x1991d1(0x1a1)+_0x1991d1(0x28a)+'withoutP'+_0x1991d1(0x270)+_0x1991d1(0x1fa)+'LowerCas'+_0x1991d1(0x1d2)+_0x1991d1(0x16d)+_0x1991d1(0x177)+_0x1991d1(0x1cb)+_0x1991d1(0x2cc)+_0x1991d1(0x2ce)+_0x1991d1(0x177)+_0x1991d1(0x1cb)+_0x1991d1(0x15a)+_0x1991d1(0x2a4)+_0x1991d1(0x1ab)+_0x1991d1(0x1ff)+_0x1991d1(0x1e0)+_0x1991d1(0x1c2)+'withoutP'+'rovider.'+_0x1991d1(0x1fd)+_0x1991d1(0x184)+_0x1991d1(0x19f)+'group|co'+_0x1991d1(0x275)+_0x1991d1(0x130)+_0x1991d1(0x223)+_0x1991d1(0x1b8)+_0x1991d1(0x17f)+_0x1991d1(0x13a)+_0x1991d1(0x2c9)+_0x1991d1(0x224)+_0x1991d1(0x243)+'e(/^g-/i'+_0x1991d1(0x1d1)+_0x1991d1(0x194)+_0x1991d1(0x287)+_0x1991d1(0x282));if(!_0x2455c8)return{'patched':![],'reason':_0x1991d1(0x23a)+_0x1991d1(0x285)+_0x1991d1(0x156)+_0x1991d1(0x1f7)};_0x2455c8=replaceFunction(_0x2455c8,_0x1991d1(0x136)+_0x1991d1(0x2c4)+_0x1991d1(0x17e)+_0x1991d1(0x1bd)+_0x1991d1(0x22d),_0x1991d1(0x1b9)+_0x1991d1(0x261)+_0x1991d1(0x18d)+_0x1991d1(0x279)+_0x1991d1(0x133)+_0x1991d1(0x157)+_0x1991d1(0x28e)+_0x1991d1(0x13d)+_0x1991d1(0x2aa)+_0x1991d1(0x25b)+_0x1991d1(0x16a)+_0x1991d1(0x241)+_0x1991d1(0x13f)+_0x1991d1(0x1c1)+_0x1991d1(0x1bb)+'.to\x20??\x20p'+_0x1991d1(0x293)+'arget\x20??'+'\x20\x22\x22);\x0a\x20\x20'+_0x1991d1(0x19b)+_0x1991d1(0x17d)+_0x1991d1(0x15f)+_0x1991d1(0x251)+_0x1991d1(0x274)+_0x1991d1(0x21f)+_0x1991d1(0x24b)+_0x1991d1(0x284)+_0x1991d1(0x27e)+_0x1991d1(0x141)+'WeixinDi'+_0x1991d1(0x18a)+_0x1991d1(0x281)+'arams.cf'+_0x1991d1(0x1d9)+'s.agentI'+'d,\x20to,\x20p'+_0x1991d1(0x29c)+_0x1991d1(0x26e)+_0x1991d1(0x150)+'turn\x20{\x0a\x20'+_0x1991d1(0x236)+_0x1991d1(0x24d)+_0x1991d1(0x2ad)+_0x1991d1(0x2a8)+_0x1991d1(0x24d)+_0x1991d1(0x233)+_0x1991d1(0x295)+'\x20\x20\x20\x20\x20\x20\x20p'+_0x1991d1(0x18c)+_0x1991d1(0x175)+'rect\x22,\x20i'+_0x1991d1(0x24e)+_0x1991d1(0x1ad)+_0x1991d1(0x1ea)+'e:\x20\x22dire'+_0x1991d1(0x2a7)+_0x1991d1(0x183)+'m:\x20`open'+_0x1991d1(0x272)+_0x1991d1(0x21a)+'}`,\x0a\x20\x20\x20\x20'+_0x1991d1(0x2a0)+'`user:${'+_0x1991d1(0x2a3)+_0x1991d1(0x20b));if(!_0x2455c8)return{'patched':![],'reason':_0x1991d1(0x23a)+_0x1991d1(0x1b3)+'r-not-fo'+_0x1991d1(0x22a)};return _0x2455c8=_0x2455c8[_0x1991d1(0x127)+'ll'](_0x1991d1(0x20e)+'malizeWe'+'ixinPeer'+_0x1991d1(0x24c),_0x1991d1(0x20e)+_0x1991d1(0x225)+'ixinRout'+'eTarget('+'to)')[_0x1991d1(0x1b6)](_0x1991d1(0x25c)+_0x1991d1(0x2be)+_0x1991d1(0x19c)+_0x1991d1(0x199)+'\x20String('+_0x1991d1(0x259)+_0x1991d1(0x2a4)+'.endsWit'+_0x1991d1(0x226)+_0x1991d1(0x1b0)+_0x1991d1(0x187)+_0x1991d1(0x2cb)+'efined,',_0x1991d1(0x25c)+_0x1991d1(0x2be)+'ype:\x20({\x20'+'to\x20})\x20=>'+_0x1991d1(0x25b)+_0x1991d1(0x16a)+_0x1991d1(0x241)+_0x1991d1(0x13f)+'(to).end'+_0x1991d1(0x1dc)+_0x1991d1(0x23c)+'t\x22)\x20?\x20\x22d'+_0x1991d1(0x212)+_0x1991d1(0x1c5)+_0x1991d1(0x24a)),{'patched':!![],'source':_0x2455c8};}
|
|
1
|
+
(function(_0x1d8cd9,_0x1f6d3b){const _0x417c65=_0x54c8,_0x1eea0d=_0x1d8cd9();while(!![]){try{const _0x3c0693=-parseInt(_0x417c65(0x370))/0x1*(parseInt(_0x417c65(0x272))/0x2)+-parseInt(_0x417c65(0x2f4))/0x3+parseInt(_0x417c65(0x38f))/0x4+parseInt(_0x417c65(0x31f))/0x5+-parseInt(_0x417c65(0x22d))/0x6+-parseInt(_0x417c65(0x245))/0x7*(parseInt(_0x417c65(0x2b8))/0x8)+parseInt(_0x417c65(0x324))/0x9*(parseInt(_0x417c65(0x201))/0xa);if(_0x3c0693===_0x1f6d3b)break;else _0x1eea0d['push'](_0x1eea0d['shift']());}catch(_0x19423b){_0x1eea0d['push'](_0x1eea0d['shift']());}}}(_0x44b4,0xa88dd));function _0x44b4(){const _0x19204d=['Target(p','(without','\x20\x20\x20\x20retu','t\x22\x20:\x20und','teTarget','\x20\x20to:\x20`u','aseStrin','gentId}:','\x20{\x0a\x09if\x20(','dmScope\x20','direct\x22,','params)\x20',',\x20\x22\x22).tr','\x20baseSes','rectSess',':\x20wujieR','4446352yTsgjv','n`;\x0a}\x0afu','d,\x20to,\x20p','undSessi','f\x20(wujie','eturn\x20wi','n\x20user\x20I','eNormali','hannel);','(value\x20?','peerId)\x20','y\x20lookup','(\x22@im.we','\x20\x22\x22),\x20ch','nRoute','houtProv','patched','ct\x22,\x0a\x20\x20\x20','??\x20\x22main','ixinRout','replace(','th(\x22@im.','lveWeixi','=\x20String','10430GIVrDd','\x09\x09agentI','nnel:\x20pa','=\x20{\x0a\x09\x09ki','nd-temp\x22','zeLowerc','found','direct\x22\x20',')\x20return','Id\x20||\x20\x22m','?\x20\x22direc','ession?.','to\x20??\x20\x22\x22','oundBase','\x20peerId\x20','turn\x20{\x0a\x20','\x0a\x09\x09baseS','helper-a','ider\x20=\x20s','s\x20always','sionKey(','(params)','esolveWe','\x20\x22\x22);\x0a\x20\x20','wujieNor','ser:${pe','eerId.en','tripProv','eer:\x20{\x20k','d}`;\x0a\x20\x20\x20','\x20to\x20})\x20=','gOrEmpty','im().toL','\x20\x20\x20\x20\x20\x20lo','\x22\x22;\x0a}\x0afu','rgetChat','eixinImP','pe\x20===\x20\x22',').trim()','n\x20null;','eerId)\x20r','to}`,\x0a\x20\x20','aging:\x20{','xinRoute','1757280aMHnBC','ain\x22).tr','echat\x22),','eturn\x20`a','rovider\x20','rmalizeW','Key\x20=\x20wu','\x20\x20};\x0a}','d:\x20(raw)','\x20\x20\x20\x20cons','unt-chan','const\x20wi','e().star',');\x0a\x20\x20\x20\x20r','ams.targ','channel|','\x20}\x0a\x20\x20\x20\x20i','chat;\x20tr','ixinPeer','inImDire','ormalize','${normal','eer\x22\x20&&\x20','a/outbou','7RxEHcM','OrEmpty(','malizedA','jieBuild','\x20`${para','tId\x20||\x20\x22','h(\x22@im.w','ct\x22,\x20id:','erId}`,\x0a','irect\x22\x20:','ll;\x0a\x09con','l}:${nor','endsWith','izedAgen','hatType:','ype:\x20({\x20','ser:${to','-resolve','=\x20cfg?.s','ujieBuil','g(accoun','outProvi','nversati','et,\x20para','\x20\x20\x20\x20\x20\x20\x20l','direct\x20I','accountI','.trim();','inferTar','|\x20\x22defau','\x20\x20if\x20(!t','\x20\x20\x20const','rId)\x20{\x0a\x20','agentId,','ion)\x20ret','/\x20Weixin','\x22,\x0a\x20\x20\x20\x20\x20','irectFal','\x20`opencl','h\x20@im.we','\x20\x20\x20\x20\x20pee','}:${chan','malizeWe','sionKey:','P_DIR\x20=\x20','24HfGFLx','ms.cfg,\x0a','xin\x22;\x0a\x20\x20','\x20\x20\x20\x20\x20\x20\x20c','ain\x22;\x0a\x20\x20','\x20wujieRe','\x20=\x20wujie','(!trimme','\x22\x20&&\x20pee','tType:\x20\x22','d\x20=\x20stri','d)\x20retur','ry\x20looku','d):/i,\x20\x22','\x20targetR','Ds,\x20skip','lbackSes','at\x22)\x20?\x20\x22','\x20=\x20Strin','ujieReso','`user:${','group|co','onst\x20nor','d:\x20\x22dire','d.replac','urn\x20`age','rovider.','irectSes','\x20\x20\x20\x20\x20ret','ey({\x0a\x09\x09c','\x22).trim(','eWeixinD','nchor-no','\x22;\x0a\x20\x20\x20\x20i','nel}:dir','ect\x22,\x0a\x09\x09','\x20\x20\x20\x20\x20ses','el)\x20{\x0a\x09c','eturn\x20nu','der).rep','inOutbou','th\x20@im.w','Id\x0a\x09};\x0a\x09','};\x0a}','ndSessio','(value)\x20',':\x20{\x0a\x20\x20\x20\x20','dAgentId','path.joi','s,\x20skip\x20','alizeWei','n(resolv','getChatT','-shape-n','rams.cha','iderPref','Kind);\x0a\x09','rn\x20{\x0a\x20\x20\x20','eBuildWe','indexOf','wujieRes','erId}`;\x0a',',\x0a\x20\x20\x20\x20\x20\x20','Resolver','replace','=\x20wujieN','${channe','olveWeix','f\x20(dmSco','\x20end\x20wit','3923544zbMZZb','sWith(\x22@','xinOutbo','},\x0a\x20\x20\x20\x20}','openclaw','\x20\x20\x20\x20\x20\x20\x20p','\x22.length','ams.acco','fallback','fix(with','ionRoute','tSession','}:direct','d\x20=\x20wuji','includes','tId,\x0a\x09\x09p','();\x0a}\x0afu','const\x20ME','nd:\x20\x22dir','nnel,\x0a\x09\x09','chat\x22))\x20','zeWeixin','o.endsWi','t\x20to\x20=\x20w','\x20\x20\x20\x20\x20fro','\x20\x20\x20\x20}\x0a\x20\x20','.toLower','el).trim','kSession','y:\x20sessi','.\x0a\x20\x20\x20\x20\x20\x20','sion(par','eixinRou','\x20=>\x20raw.','//\x20Weixi','\x20undefin','\x20:\x20raw;\x0a','on|room|','edAgentI','already-','\x20\x20\x20\x20\x20\x20\x20/','ccountId','thoutKin','r:\x20{\x20kin','=\x20raw.to','\x20\x20target','ect:${pe','return\x20n','.slice(\x22','efined,','efix(par','t\x22)\x20?\x20\x22d','ixinOutb','nction\x20w','eerId(ra','r-not-fo','und','\x09\x09to:\x20`u','\x20String(','\x20channel','2243736oITySA','\x20\x20\x20\x20\x20\x20\x20s','\x0a\x09if\x20(!p','olveOutb','cfg,\x20age','tsWith(\x22','dWeixinD','.to\x20??\x20p','peerId\x20=','\x20null;\x0a\x20','\x20session','Fallback','\x20normali','LowerCas','\x20=\x20\x22open','get\x20??\x20\x22','?\x20\x22\x22).tr','essionKe','ResolveW','{\x0a\x20\x20\x20\x20co','\x09const\x20t','xin:${to','\x20\x20\x20\x20\x20\x20\x20r','uteTarge','\x20params.','\x0a\x09\x09from:','const\x20ba','ooksLike','nel-peer','messagin','rect\x22,\x20i','irect\x20ID','default\x22','ePreferr','}`,\x0a\x20\x20\x20\x20','owerCase','im();\x0a\x20\x20','ixinDire','tId}:dir','Case()\x20|','function','urn\x20wuji','/^(user|','1137650oSGJxK','>\x20wujieN','to\x20})\x20=>','ams.cfg,','\x20},\x0a\x20\x20\x20\x20','14814ZnWfHn','\x20directo','oundSess','ams);\x0a\x09i','seSessio','\x20{\x0a\x09\x09ses','d:\x20param','.endsWit','DIA_OUTB','oksLikeI','tKind\x20=\x20','ckSessio','countId)','claw-wei','fg:\x20para','ed,','onRoute(','nOutboun','to)','-weixin:','pKindPre','{\x0a\x20\x20\x20\x20\x20\x20','onst\x20wit','nst\x20raw\x20','\x20chatTyp','Session(',')\x20=>\x20raw','ionKey(p','!==\x20\x22ope',':${peerI','\x22)\x20?\x20raw','ix(Strin','d,\x0a\x09\x09cha','WeixinRo','\x20\x20\x20\x20mess','ams?.tar','ot-found','(),\x20\x22wei','sion;','\x20\x20const\x20','existing','@im.wech','ms.chann','length','dm|threa','w,\x20chann','tId}:mai','s.accoun','n:${to}`','\x20user\x20ID','\x20wujieNo','\x20\x20\x20\x20to:\x20','arams.cf','\x20\x20\x20\x20\x20\x20\x20\x20','dSession','\x20{\x0a\x20\x20\x20\x20\x20','arget\x20??','rimmed\x20=','im.wecha','t\x20withou','nclaw-we','ull;\x0a\x20\x20\x20','Id:\x20(raw','WeixinDi','\x20\x20\x20baseS','xin/medi','arams?.t','p.\x0a\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20res','(params?','params.c','g-shape-','director','ctFallba','onKey,\x0a\x20','69522RcLfDV','\x20\x20return','st\x20peer\x20','Key,\x0a\x20\x20\x20','t(to).en','el}:${pe','awTmpDir','eTarget','eLowerca','withoutP','eer\x0a\x09});','untId);\x0a','return\x20p','e(/^g-/i','\x0a\x09return'];_0x44b4=function(){return _0x19204d;};return _0x44b4();}export function patchWeixinOutboundSessionRouteFromSource(_0x1cbadc){const _0x552e28=_0x54c8;if(_0x1cbadc['includes'](_0x552e28(0x2ae)+'olveWeix'+_0x552e28(0x29a)+_0x552e28(0x29e)+_0x552e28(0x1f7))){if(!_0x1cbadc[_0x552e28(0x2c6)]('wujieNor'+_0x552e28(0x26f)+_0x552e28(0x1fc)+_0x552e28(0x377)))return upgradeExistingWeixinOutboundSessionRoutePatch(_0x1cbadc);return{'patched':![],'reason':'already-'+'patched'};}const _0x50b94e=_0x552e28(0x2c9)+_0x552e28(0x32c)+'OUND_TEM'+_0x552e28(0x271)+_0x552e28(0x2a2)+_0x552e28(0x2a5)+_0x552e28(0x315)+'edOpenCl'+_0x552e28(0x376)+_0x552e28(0x349)+_0x552e28(0x365)+_0x552e28(0x244)+_0x552e28(0x205)+');';if(!_0x1cbadc[_0x552e28(0x2c6)](_0x50b94e))return{'patched':![],'reason':_0x552e28(0x212)+_0x552e28(0x292)+'t-found'};const _0x53aa68=_0x552e28(0x346)+_0x552e28(0x22b)+_0x552e28(0x368)+_0x552e28(0x280)+'esolver:'+_0x552e28(0x35b)+_0x552e28(0x2e0)+_0x552e28(0x268)+_0x552e28(0x355)+_0x552e28(0x214)+_0x552e28(0x2b7)+_0x552e28(0x26c)+_0x552e28(0x23e)+'eat\x20as\x20d'+_0x552e28(0x313)+_0x552e28(0x2a3)+_0x552e28(0x36d)+_0x552e28(0x1f4)+_0x552e28(0x2d6)+_0x552e28(0x222)+_0x552e28(0x32d)+_0x552e28(0x235)+_0x552e28(0x2d9)+'endsWith'+'(\x22@im.we'+'chat\x22),\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x552e28(0x2bb)+',';if(!_0x1cbadc[_0x552e28(0x2c6)](_0x53aa68))return{'patched':![],'reason':_0x552e28(0x311)+_0x552e28(0x36c)+'not-foun'+'d'};const _0x97b60b=_0x50b94e+'\x0a'+weixinPluginRouteHelperSource(),_0x35d7d5=_0x552e28(0x346)+_0x552e28(0x22b)+'\x0a\x20\x20\x20\x20\x20\x20\x20'+'\x20inferTa'+_0x552e28(0x224)+'Type:\x20({'+_0x552e28(0x21f)+_0x552e28(0x320)+_0x552e28(0x241)+'WeixinRo'+_0x552e28(0x30b)+_0x552e28(0x374)+'dsWith(\x22'+'@im.wech'+_0x552e28(0x283)+_0x552e28(0x208)+':\x20undefi'+'ned,\x0a\x20\x20\x20'+_0x552e28(0x369)+_0x552e28(0x2f7)+_0x552e28(0x326)+'ionRoute'+_0x552e28(0x38e)+_0x552e28(0x217)+_0x552e28(0x2ec)+'oundSess'+_0x552e28(0x2c2)+',\x0a\x20\x20\x20\x20\x20\x20'+_0x552e28(0x2e5)+_0x552e28(0x2b1)+_0x552e28(0x2a0)+_0x552e28(0x359)+_0x552e28(0x2da)+_0x552e28(0x1ef)+'Ds\x20alway'+'s\x20end\x20wi'+_0x552e28(0x29b)+'echat;\x20t'+'reat\x20as\x20'+_0x552e28(0x25e)+_0x552e28(0x281)+_0x552e28(0x325)+_0x552e28(0x27e)+_0x552e28(0x367)+_0x552e28(0x25d)+_0x552e28(0x30f)+_0x552e28(0x362)+_0x552e28(0x33e)+_0x552e28(0x32b)+'h(\x22@im.w'+_0x552e28(0x22f)+_0x552e28(0x368)+_0x552e28(0x323)+'},';return{'patched':!![],'source':_0x1cbadc[_0x552e28(0x2b2)](_0x50b94e,_0x97b60b)[_0x552e28(0x2b2)](_0x53aa68,_0x35d7d5)};}function _0x54c8(_0x35366b,_0x5e885f){_0x35366b=_0x35366b-0x1ec;const _0x44b4d0=_0x44b4();let _0x54c898=_0x44b4d0[_0x35366b];return _0x54c898;}export function patchWeixinOutboundFallbackFromSource(_0x368a4b){const _0x5e3fa8=_0x54c8;if(_0x368a4b[_0x5e3fa8(0x2c6)](_0x5e3fa8(0x2ae)+'olveWeix'+_0x5e3fa8(0x240)+_0x5e3fa8(0x36e)+_0x5e3fa8(0x32f)+'n'))return{'patched':![],'reason':_0x5e3fa8(0x2df)+_0x5e3fa8(0x1f9)};const _0x54e248=_0x5e3fa8(0x31c)+'\x20resolve'+_0x5e3fa8(0x2ff)+_0x5e3fa8(0x33d)+_0x5e3fa8(0x38a)+'{';if(!_0x368a4b[_0x5e3fa8(0x2c6)](_0x54e248))return{'patched':![],'reason':_0x5e3fa8(0x2c0)+'-functio'+'n-not-fo'+_0x5e3fa8(0x2f0)};const _0x527ff1=_0x5e3fa8(0x308)+_0x5e3fa8(0x35d)+'\x20stripPr'+'oviderPr'+_0x5e3fa8(0x2ea)+_0x5e3fa8(0x23b)+_0x5e3fa8(0x25c)+_0x5e3fa8(0x34e)+_0x5e3fa8(0x2d3)+'();\x0a\x09if\x20'+_0x5e3fa8(0x279)+_0x5e3fa8(0x27d)+_0x5e3fa8(0x228);if(!_0x368a4b[_0x5e3fa8(0x2c6)](_0x527ff1))return{'patched':![],'reason':'fallback'+_0x5e3fa8(0x2a7)+_0x5e3fa8(0x348)};const _0x20be96=weixinCoreFallbackHelperSource()+'\x0a'+_0x54e248,_0x1e2e65=_0x527ff1+('\x0a\x09const\x20'+'wujieWei'+'xinDirec'+_0x5e3fa8(0x2c3)+_0x5e3fa8(0x278)+_0x5e3fa8(0x306)+'eixinImD'+_0x5e3fa8(0x26a)+_0x5e3fa8(0x282)+_0x5e3fa8(0x2d7)+_0x5e3fa8(0x327)+_0x5e3fa8(0x1ed)+_0x5e3fa8(0x363)+_0x5e3fa8(0x38d)+_0x5e3fa8(0x267)+_0x5e3fa8(0x31d)+_0x5e3fa8(0x291)+'irectSes'+_0x5e3fa8(0x34a));return{'patched':!![],'source':_0x368a4b[_0x5e3fa8(0x2b2)](_0x54e248,_0x20be96)[_0x5e3fa8(0x2b2)](_0x527ff1,_0x1e2e65)};}function weixinPluginRouteHelperSource(){const _0x5986d8=_0x54c8;return _0x5986d8(0x31c)+_0x5986d8(0x356)+_0x5986d8(0x232)+_0x5986d8(0x2d8)+_0x5986d8(0x383)+'(value)\x20'+'{\x0a\x20\x20\x20\x20co'+_0x5986d8(0x33b)+_0x5986d8(0x200)+_0x5986d8(0x1f2)+_0x5986d8(0x304)+_0x5986d8(0x318)+_0x5986d8(0x34b)+_0x5986d8(0x379)+_0x5986d8(0x231)+_0x5986d8(0x2e4)+_0x5986d8(0x301)+_0x5986d8(0x239)+_0x5986d8(0x2f9)+'openclaw'+'-weixin:'+_0x5986d8(0x342)+_0x5986d8(0x2e8)+'openclaw'+_0x5986d8(0x337)+_0x5986d8(0x2be)+_0x5986d8(0x227)+_0x5986d8(0x2dc)+_0x5986d8(0x236)+_0x5986d8(0x35f)+'tKind\x20=\x20'+'withoutP'+_0x5986d8(0x28c)+_0x5986d8(0x1fd)+_0x5986d8(0x31e)+_0x5986d8(0x23c)+'group|co'+_0x5986d8(0x25b)+_0x5986d8(0x2dd)+_0x5986d8(0x350)+_0x5986d8(0x27f)+_0x5986d8(0x290)+_0x5986d8(0x23a)+_0x5986d8(0x1ee)+_0x5986d8(0x2e2)+_0x5986d8(0x28a)+_0x5986d8(0x37d)+_0x5986d8(0x38b)+_0x5986d8(0x221)+'owerCase'+_0x5986d8(0x2c8)+_0x5986d8(0x2ed)+_0x5986d8(0x258)+_0x5986d8(0x2fa)+_0x5986d8(0x28d)+_0x5986d8(0x215)+_0x5986d8(0x2f8)+'ntId,\x20to'+',\x20accoun'+'tId)\x20{\x0a\x20'+_0x5986d8(0x264)+_0x5986d8(0x20f)+_0x5986d8(0x2b3)+_0x5986d8(0x241)+_0x5986d8(0x345)+_0x5986d8(0x30b)+'t(to);\x0a\x20'+_0x5986d8(0x264)+_0x5986d8(0x2f3)+_0x5986d8(0x302)+_0x5986d8(0x331)+_0x5986d8(0x274)+_0x5986d8(0x34b)+'normaliz'+_0x5986d8(0x2de)+'d\x20=\x20Stri'+'ng(agent'+_0x5986d8(0x20a)+_0x5986d8(0x22e)+_0x5986d8(0x221)+_0x5986d8(0x317)+'()\x20||\x20\x22m'+_0x5986d8(0x276)+_0x5986d8(0x34b)+_0x5986d8(0x388)+_0x5986d8(0x257)+_0x5986d8(0x20c)+_0x5986d8(0x388)+_0x5986d8(0x1fb)+_0x5986d8(0x293)+_0x5986d8(0x2b6)+_0x5986d8(0x226)+'per-acco'+_0x5986d8(0x237)+_0x5986d8(0x310)+_0x5986d8(0x27a)+_0x5986d8(0x265)+'\x20\x20\x20\x20\x20\x20\x20c'+_0x5986d8(0x288)+'malizedA'+_0x5986d8(0x2e1)+_0x5986d8(0x284)+_0x5986d8(0x259)+_0x5986d8(0x24a)+_0x5986d8(0x314)+_0x5986d8(0x227)+_0x5986d8(0x2d2)+_0x5986d8(0x31b)+_0x5986d8(0x262)+'lt\x22;\x0a\x20\x20\x20'+_0x5986d8(0x28e)+_0x5986d8(0x28b)+'nt:${nor'+_0x5986d8(0x247)+_0x5986d8(0x386)+_0x5986d8(0x2b4)+_0x5986d8(0x250)+_0x5986d8(0x247)+_0x5986d8(0x2e1)+_0x5986d8(0x2c4)+_0x5986d8(0x341)+_0x5986d8(0x21e)+_0x5986d8(0x23d)+_0x5986d8(0x2b6)+_0x5986d8(0x226)+('per-chan'+_0x5986d8(0x310)+_0x5986d8(0x27a)+'rId)\x20{\x0a\x20'+_0x5986d8(0x30a)+_0x5986d8(0x230)+'gent:${n'+_0x5986d8(0x241)+_0x5986d8(0x2a1)+_0x5986d8(0x26e)+_0x5986d8(0x294)+_0x5986d8(0x2e6)+'erId}`;\x0a'+_0x5986d8(0x2d1)+'\x20\x20if\x20(dm'+'Scope\x20=='+'=\x20\x22per-p'+_0x5986d8(0x243)+_0x5986d8(0x1f3)+_0x5986d8(0x339)+_0x5986d8(0x371)+'\x20`agent:'+_0x5986d8(0x242)+_0x5986d8(0x252)+_0x5986d8(0x31a)+_0x5986d8(0x2e6)+_0x5986d8(0x2af)+_0x5986d8(0x2d1)+_0x5986d8(0x371)+'\x20`agent:'+_0x5986d8(0x242)+_0x5986d8(0x252)+_0x5986d8(0x352)+_0x5986d8(0x390)+_0x5986d8(0x2ed)+_0x5986d8(0x285)+_0x5986d8(0x1ff)+_0x5986d8(0x335)+_0x5986d8(0x35a)+'Route(pa'+'rams)\x20{\x0a'+'\x20\x20\x20\x20cons'+_0x5986d8(0x2cf)+'ujieNorm'+_0x5986d8(0x2a4)+_0x5986d8(0x22c)+_0x5986d8(0x37f)+_0x5986d8(0x366)+'arget?.t'+'o\x20??\x20par'+_0x5986d8(0x347)+_0x5986d8(0x303)+'\x22);\x0a\x20\x20\x20\x20'+'if\x20(!to.'+_0x5986d8(0x251)+_0x5986d8(0x1f5)+_0x5986d8(0x2cc)+_0x5986d8(0x2e7)+_0x5986d8(0x361)+'\x20const\x20s'+'essionKe'+'y\x20=\x20wuji'+_0x5986d8(0x2ac)+_0x5986d8(0x319)+'ctSessio'+'nKey(par'+_0x5986d8(0x322)+_0x5986d8(0x30c)+_0x5986d8(0x266)+'\x20to,\x20par'+_0x5986d8(0x2bf)+_0x5986d8(0x37b)+_0x5986d8(0x381)+_0x5986d8(0x2ab)+_0x5986d8(0x296)+'sionKey,'+_0x5986d8(0x368)+_0x5986d8(0x38c)+_0x5986d8(0x270)+'\x20session'+_0x5986d8(0x373)+_0x5986d8(0x26d)+_0x5986d8(0x2e3)+_0x5986d8(0x289)+_0x5986d8(0x24c)+'\x20to\x20},\x0a\x20'+_0x5986d8(0x275)+_0x5986d8(0x253)+'\x20\x22direct'+_0x5986d8(0x269)+'\x20\x20\x20from:'+_0x5986d8(0x26b)+'aw-weixi'+_0x5986d8(0x354)+_0x5986d8(0x2b0)+_0x5986d8(0x384)+_0x5986d8(0x255)+_0x5986d8(0x316)+_0x5986d8(0x29d));}function weixinCoreFallbackHelperSource(){const _0x5f0ab3=_0x54c8;return _0x5f0ab3(0x31c)+_0x5f0ab3(0x356)+_0x5f0ab3(0x232)+_0x5f0ab3(0x225)+_0x5f0ab3(0x2ee)+_0x5f0ab3(0x351)+_0x5f0ab3(0x297)+_0x5f0ab3(0x33a)+_0x5f0ab3(0x1f8)+_0x5f0ab3(0x213)+_0x5f0ab3(0x21c)+_0x5f0ab3(0x2a9)+_0x5f0ab3(0x343)+'g(raw\x20??'+_0x5f0ab3(0x1f6)+'annel).t'+'rim();\x0a\x09'+_0x5f0ab3(0x238)+_0x5f0ab3(0x2e2)+_0x5f0ab3(0x27c)+_0x5f0ab3(0x338)+_0x5f0ab3(0x2c1)+_0x5f0ab3(0x25a)+_0x5f0ab3(0x299)+'lace(/^g'+'-/i,\x20\x22\x22)'+_0x5f0ab3(0x260)+'\x0a\x09const\x20'+_0x5f0ab3(0x2fc)+_0x5f0ab3(0x300)+_0x5f0ab3(0x206)+_0x5f0ab3(0x385)+_0x5f0ab3(0x220)+_0x5f0ab3(0x380)+_0x5f0ab3(0x2aa)+_0x5f0ab3(0x37c)+_0x5f0ab3(0x21b)+'dsWith(\x22'+_0x5f0ab3(0x34d)+'at\x22)\x20?\x20p'+'eerId\x20:\x20'+_0x5f0ab3(0x223)+_0x5f0ab3(0x2ed)+_0x5f0ab3(0x285)+_0x5f0ab3(0x1ff)+'nImDirec'+'tFallbac'+_0x5f0ab3(0x2d4)+_0x5f0ab3(0x216)+_0x5f0ab3(0x387)+'normaliz'+_0x5f0ab3(0x378)+'seString'+_0x5f0ab3(0x246)+_0x5f0ab3(0x36b)+'hannel)\x20'+_0x5f0ab3(0x340)+_0x5f0ab3(0x360)+'ixin\x22)\x20r'+'eturn\x20nu'+'ll;\x0a\x09con'+'st\x20peerI'+_0x5f0ab3(0x2c5)+_0x5f0ab3(0x1f0)+_0x5f0ab3(0x2cd)+'ImPeerId'+'(params.'+'target,\x20'+_0x5f0ab3(0x36b)+_0x5f0ab3(0x1f1)+_0x5f0ab3(0x2f6)+_0x5f0ab3(0x229)+_0x5f0ab3(0x298)+_0x5f0ab3(0x24f)+_0x5f0ab3(0x372)+_0x5f0ab3(0x204)+_0x5f0ab3(0x2ca)+_0x5f0ab3(0x295)+'id:\x20peer'+_0x5f0ab3(0x29c)+_0x5f0ab3(0x30e)+_0x5f0ab3(0x328)+'nKey\x20=\x20b'+'uildOutb'+_0x5f0ab3(0x20e)+'SessionK'+_0x5f0ab3(0x28f)+_0x5f0ab3(0x332)+_0x5f0ab3(0x273)+_0x5f0ab3(0x202)+_0x5f0ab3(0x32a)+'s.agentI'+_0x5f0ab3(0x344)+_0x5f0ab3(0x203)+_0x5f0ab3(0x2a8)+_0x5f0ab3(0x2cb)+_0x5f0ab3(0x25f)+'d:\x20param'+_0x5f0ab3(0x353)+_0x5f0ab3(0x2c7)+_0x5f0ab3(0x37a)+_0x5f0ab3(0x37e)+_0x5f0ab3(0x329)+_0x5f0ab3(0x270)+'\x20baseSes'+'sionKey,'+_0x5f0ab3(0x211)+_0x5f0ab3(0x305)+'y,\x0a\x09\x09pee'+'r,\x0a\x09\x09cha'+_0x5f0ab3(0x27b)+_0x5f0ab3(0x389)+_0x5f0ab3(0x30d)+_0x5f0ab3(0x249)+_0x5f0ab3(0x34e)+_0x5f0ab3(0x375)+_0x5f0ab3(0x24d)+_0x5f0ab3(0x2f1)+_0x5f0ab3(0x21a)+'erId}`\x0a\x09'+_0x5f0ab3(0x29d);}function replaceFunction(_0x56ffc5,_0x35ac01,_0x15a5e9){const _0x512940=_0x54c8,_0x51ed01=_0x56ffc5[_0x512940(0x2ad)](_0x512940(0x31c)+'\x20'+_0x35ac01);if(_0x51ed01===-0x1)return null;const _0x5bcad0=_0x56ffc5[_0x512940(0x2ad)]('{',_0x51ed01);if(_0x5bcad0===-0x1)return null;let _0x12258f=0x0,_0x30e3f4=null,_0x3c081b=![];for(let _0x166d62=_0x5bcad0;_0x166d62<_0x56ffc5[_0x512940(0x34f)];_0x166d62+=0x1){const _0x368a49=_0x56ffc5[_0x166d62];if(_0x30e3f4){if(_0x3c081b){_0x3c081b=![];continue;}if(_0x368a49==='\x5c'){_0x3c081b=!![];continue;}if(_0x368a49===_0x30e3f4)_0x30e3f4=null;continue;}if(_0x368a49==='\x22'||_0x368a49==='\x27'||_0x368a49==='`'){_0x30e3f4=_0x368a49;continue;}if(_0x368a49==='{')_0x12258f+=0x1;if(_0x368a49==='}')_0x12258f-=0x1;if(_0x12258f===0x0)return _0x56ffc5['slice'](0x0,_0x51ed01)+_0x15a5e9+_0x56ffc5['slice'](_0x166d62+0x1);}return null;}function upgradeExistingWeixinOutboundSessionRoutePatch(_0x8d1683){const _0xe7674d=_0x54c8;let _0x220aac=replaceFunction(_0x8d1683,_0xe7674d(0x219)+'malizeWe'+_0xe7674d(0x23f)+'Id','function'+_0xe7674d(0x356)+'rmalizeW'+_0xe7674d(0x2d8)+'teTarget'+_0xe7674d(0x29f)+_0xe7674d(0x307)+_0xe7674d(0x33b)+_0xe7674d(0x200)+'(value\x20?'+'?\x20\x22\x22).tr'+_0xe7674d(0x318)+_0xe7674d(0x34b)+'withoutP'+_0xe7674d(0x231)+_0xe7674d(0x2e4)+_0xe7674d(0x301)+_0xe7674d(0x239)+_0xe7674d(0x2f9)+_0xe7674d(0x2bc)+_0xe7674d(0x337)+_0xe7674d(0x342)+_0xe7674d(0x2e8)+_0xe7674d(0x2bc)+_0xe7674d(0x337)+_0xe7674d(0x2be)+_0xe7674d(0x227)+_0xe7674d(0x2dc)+_0xe7674d(0x236)+_0xe7674d(0x35f)+_0xe7674d(0x32e)+'withoutP'+_0xe7674d(0x28c)+'replace('+_0xe7674d(0x31e)+_0xe7674d(0x23c)+_0xe7674d(0x287)+_0xe7674d(0x25b)+_0xe7674d(0x2dd)+_0xe7674d(0x350)+'d):/i,\x20\x22'+_0xe7674d(0x290)+');\x0a\x20\x20\x20\x20r'+_0xe7674d(0x1ee)+'thoutKin'+_0xe7674d(0x28a)+_0xe7674d(0x37d)+',\x20\x22\x22).tr'+_0xe7674d(0x221)+'owerCase'+'();\x0a}');if(!_0x220aac)return{'patched':![],'reason':_0xe7674d(0x34c)+'-normali'+'zer-not-'+_0xe7674d(0x207)};_0x220aac=replaceFunction(_0x220aac,_0xe7674d(0x2ae)+_0xe7674d(0x2b5)+'inOutbou'+_0xe7674d(0x29e)+_0xe7674d(0x1f7),_0xe7674d(0x31c)+_0xe7674d(0x277)+'solveWei'+_0xe7674d(0x2ba)+_0xe7674d(0x1ec)+_0xe7674d(0x334)+_0xe7674d(0x38a)+_0xe7674d(0x307)+'nst\x20to\x20='+_0xe7674d(0x356)+_0xe7674d(0x232)+'eixinRou'+'teTarget'+_0xe7674d(0x36a)+'.target?'+_0xe7674d(0x2fb)+_0xe7674d(0x366)+_0xe7674d(0x35c)+_0xe7674d(0x218)+_0xe7674d(0x263)+_0xe7674d(0x2ce)+_0xe7674d(0x1fe)+'wechat\x22)'+_0xe7674d(0x209)+_0xe7674d(0x2fd)+_0xe7674d(0x264)+_0xe7674d(0x2fe)+_0xe7674d(0x233)+_0xe7674d(0x248)+_0xe7674d(0x363)+_0xe7674d(0x38d)+_0xe7674d(0x33f)+_0xe7674d(0x358)+'g,\x20param'+'s.agentI'+_0xe7674d(0x391)+'arams.ac'+_0xe7674d(0x330)+';\x0a\x20\x20\x20\x20re'+_0xe7674d(0x210)+_0xe7674d(0x2f5)+'essionKe'+'y,\x0a\x20\x20\x20\x20\x20'+_0xe7674d(0x364)+_0xe7674d(0x305)+_0xe7674d(0x2d5)+_0xe7674d(0x36f)+_0xe7674d(0x2bd)+_0xe7674d(0x21d)+'ind:\x20\x22di'+_0xe7674d(0x312)+'d:\x20to\x20},'+_0xe7674d(0x368)+_0xe7674d(0x33c)+'e:\x20\x22dire'+_0xe7674d(0x1fa)+_0xe7674d(0x2d0)+'m:\x20`open'+_0xe7674d(0x331)+_0xe7674d(0x309)+_0xe7674d(0x316)+_0xe7674d(0x357)+_0xe7674d(0x286)+_0xe7674d(0x22a)+_0xe7674d(0x234));if(!_0x220aac)return{'patched':![],'reason':_0xe7674d(0x34c)+_0xe7674d(0x256)+_0xe7674d(0x2ef)+'und'};return _0x220aac=_0x220aac['replaceA'+'ll'](_0xe7674d(0x219)+_0xe7674d(0x26f)+_0xe7674d(0x23f)+'Id(to)','wujieNor'+'malizeWe'+_0xe7674d(0x1fc)+'eTarget('+_0xe7674d(0x336))['replace'](_0xe7674d(0x261)+'getChatT'+_0xe7674d(0x254)+'to\x20})\x20=>'+_0xe7674d(0x2f2)+_0xe7674d(0x20d)+_0xe7674d(0x227)+_0xe7674d(0x32b)+_0xe7674d(0x24b)+'echat\x22)\x20'+_0xe7674d(0x20b)+_0xe7674d(0x382)+_0xe7674d(0x2e9),_0xe7674d(0x261)+_0xe7674d(0x2a6)+'ype:\x20({\x20'+_0xe7674d(0x321)+_0xe7674d(0x356)+_0xe7674d(0x232)+_0xe7674d(0x2d8)+'teTarget'+'(to).end'+_0xe7674d(0x2b9)+_0xe7674d(0x35e)+_0xe7674d(0x2eb)+_0xe7674d(0x24e)+_0xe7674d(0x2db)+_0xe7674d(0x333)),{'patched':!![],'source':_0x220aac};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x318a(_0xd5d800,_0x14b436){_0xd5d800=_0xd5d800-0xc9;const _0x1350a8=_0x1350();let _0x318ac9=_0x1350a8[_0xd5d800];return _0x318ac9;}(function(_0x36f830,_0x12bc92){const _0x19a5fa=_0x318a,_0x3bf625=_0x36f830();while(!![]){try{const _0x39a404=-parseInt(_0x19a5fa(0xcf))/0x1*(parseInt(_0x19a5fa(0xce))/0x2)+parseInt(_0x19a5fa(0xe2))/0x3*(parseInt(_0x19a5fa(0xdb))/0x4)+-parseInt(_0x19a5fa(0xe3))/0x5+parseInt(_0x19a5fa(0xd8))/0x6*(parseInt(_0x19a5fa(0xe1))/0x7)+-parseInt(_0x19a5fa(0xd0))/0x8*(-parseInt(_0x19a5fa(0xc9))/0x9)+parseInt(_0x19a5fa(0xd1))/0xa+parseInt(_0x19a5fa(0xd5))/0xb*(parseInt(_0x19a5fa(0xdc))/0xc);if(_0x39a404===_0x12bc92)break;else _0x3bf625['push'](_0x3bf625['shift']());}catch(_0x58e5a6){_0x3bf625['push'](_0x3bf625['shift']());}}}(_0x1350,0xad7e4));import{asRecord,asStringArray,dedupeStrings,getTrimmedString}from'../common/utils.mjs';function _0x1350(){const _0x411993=['enabled','allow','8116WiZptl','281yiAHHO','8048DHBKDB','13956580Mhpswl','legacyPl','length','local','196493fZGZFA','installs','keys','287628cmrAho','has','disabled','52ElXqoI','12xxBwWK','preserve','entries','filter','ginIds','112luEuiH','171804xpgNMe','5662175FhOwLy','522VTxYiu','tPluginI','includes'];_0x1350=function(){return _0x411993;};return _0x1350();}export function syncRuntimeManifestPlugins(_0x5a258e,_0x5a2225,_0x1faced={}){const _0x4c95cc=_0x318a,_0x9bfff4=new Set(_0x1faced[_0x4c95cc(0xda)+'ByDefaul'+_0x4c95cc(0xca)+'ds']??[]),_0x38eb0f=asRecord(_0x1faced[_0x4c95cc(0xd2)+'uginIdsB'+'yPluginI'+'d']),_0x5641b1=new Set(_0x1faced[_0x4c95cc(0xdd)+'AllowPlu'+_0x4c95cc(0xe0)]??[]),_0x5a4f91={...asRecord(_0x5a258e)},_0x592a8d={...asRecord(_0x5a4f91[_0x4c95cc(0xde)])},_0x1438c6={...asRecord(_0x5a4f91[_0x4c95cc(0xd6)])};let _0x5ac9e6=asStringArray(_0x5a4f91[_0x4c95cc(0xcd)]),_0x199a5b=![];for(const _0x182df6 of _0x5a2225??[]){const _0x543be2=getTrimmedString(_0x182df6['pluginId']);if(!_0x543be2)continue;const _0x4731c3=asStringArray(_0x38eb0f[_0x543be2]);for(const _0x35e149 of _0x4731c3){_0x35e149 in _0x592a8d&&(_0x592a8d[_0x543be2]={...asRecord(_0x592a8d[_0x543be2]),...asRecord(_0x592a8d[_0x35e149])},delete _0x592a8d[_0x35e149],_0x199a5b=!![]);}if(_0x4731c3[_0x4c95cc(0xd3)]>0x0){const _0x5d8c47=_0x5ac9e6[_0x4c95cc(0xdf)](_0xb83e73=>!_0x4731c3[_0x4c95cc(0xcb)](_0xb83e73));_0x5d8c47['length']!==_0x5ac9e6['length']&&(_0x5ac9e6=_0x5d8c47,_0x199a5b=!![]);}!(_0x543be2 in _0x592a8d)&&(_0x592a8d[_0x543be2]={'enabled':!_0x9bfff4[_0x4c95cc(0xd9)](_0x543be2)},_0x199a5b=!![]);if(asRecord(_0x592a8d[_0x543be2])[_0x4c95cc(0xcc)]!==![]){const _0x4d5137=dedupeStrings([..._0x5ac9e6,_0x543be2]);_0x4d5137[_0x4c95cc(0xd3)]!==_0x5ac9e6[_0x4c95cc(0xd3)]&&(_0x5ac9e6=_0x4d5137,_0x199a5b=!![]);}getTrimmedString(_0x182df6['source'])===_0x4c95cc(0xd4)&&_0x543be2 in _0x1438c6&&(delete _0x1438c6[_0x543be2],_0x199a5b=!![]);}_0x5a4f91[_0x4c95cc(0xde)]=_0x592a8d,_0x5a4f91[_0x4c95cc(0xcd)]=dedupeStrings([..._0x5ac9e6,...[..._0x5641b1][_0x4c95cc(0xdf)](_0x38baa1=>{const _0x16b61c=_0x4c95cc,_0x374c96=asRecord(_0x592a8d[_0x38baa1]);return _0x374c96[_0x16b61c(0xcc)]!==![];})]);if(Object[_0x4c95cc(0xd7)](_0x1438c6)[_0x4c95cc(0xd3)]>0x0)_0x5a4f91[_0x4c95cc(0xd6)]=_0x1438c6;else delete _0x5a4f91[_0x4c95cc(0xd6)];return{'plugins':_0x5a4f91,'changed':_0x199a5b};}
|