test_research4 0.5.14 → 0.5.16
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/index.js +1 -1
- package/package.json +1 -1
- package/src/client.js +1 -1
- package/src/config.js +1 -1
- package/src/lib/OrgWatcher.js +1 -1
- package/src/lib/auditTrailDownloader.js +1 -1
- package/src/lib/handlerRegistry.js +1 -1
- package/src/lib/icons.js +1 -1
- package/src/lib/initialization.js +1 -1
- package/src/lib/logger.js +1 -1
- package/src/lib/mcpApps/manifest.js +1 -1
- package/src/lib/mcpApps/paths.js +1 -1
- package/src/lib/mcpApps/registerResources.js +1 -1
- package/src/lib/mcpApps/toolMeta.js +1 -1
- package/src/lib/networkUtils.js +1 -1
- package/src/lib/salesforceServices.js +1 -1
- package/src/lib/telemetry.js +1 -1
- package/src/lib/tempManager.js +1 -1
- package/src/lib/transport.js +1 -1
- package/src/lib/versionManager.js +1 -1
- package/src/mcp-server.js +1 -1
- package/src/prompts/apex_run_script.js +1 -1
- package/src/prompts/call_all_tools.js +1 -1
- package/src/prompts/org_onboarding.js +1 -1
- package/src/state.js +1 -1
- package/src/tools/apex_debug_logs.js +1 -1
- package/src/tools/apex_debug_logs.md.pam +1 -1
- package/src/tools/deploy_metadata.js +1 -1
- package/src/tools/describe_object.js +1 -1
- package/src/tools/describe_object.md.pam +1 -1
- package/src/tools/execute_queries_and_dml.js +1 -1
- package/src/tools/find_record.js +1 -1
- package/src/tools/generate_metadata.js +1 -1
- package/src/tools/get_apex_class_code_coverage.js +1 -1
- package/src/tools/get_recently_viewed_records.js +1 -1
- package/src/tools/get_record.js +1 -1
- package/src/tools/get_setup_audit_trail.js +1 -1
- package/src/tools/invoke_apex_rest_resource.js +1 -1
- package/src/tools/run_anonymous_apex.js +1 -1
- package/src/tools/run_apex_test.js +1 -1
- package/src/tools/trigger_execution_order.js +1 -1
- package/src/tools/utils.js +1 -1
- package/src/utils.js +1 -1
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0xde228=a0_0x9395;(function(_0x2e7db7,_0x49569f){const _0x1628c3=a0_0x9395;const _0x1b25a7=_0x2e7db7();while(!![]){try{const _0x1370f5=-parseInt(_0x1628c3(0x147))/0x1+parseInt(_0x1628c3(0x14b))/0x2+parseInt(_0x1628c3(0xee))/0x3+-parseInt(_0x1628c3(0xea))/0x4*(-parseInt(_0x1628c3(0x117))/0x5)+-parseInt(_0x1628c3(0x15f))/0x6*(-parseInt(_0x1628c3(0x13d))/0x7)+-parseInt(_0x1628c3(0x14a))/0x8*(parseInt(_0x1628c3(0x103))/0x9)+parseInt(_0x1628c3(0xbf))/0xa*(-parseInt(_0x1628c3(0x12d))/0xb);if(_0x1370f5===_0x49569f){break;}else{_0x1b25a7['push'](_0x1b25a7['shift']());}}catch(_0x5f093d){_0x1b25a7['push'](_0x1b25a7['shift']());}}}(a0_0x30ee,0x9739c));import{createLogger}from'\x2e\x2f\x73\x72\x63\x2f\x6c\x69\x62\x2f\x6c\x6f\x67\x67\x65\x72\x2e\x6a\x73';import{mcpServer,setupServer}from'\x2e\x2f\x73\x72\x63\x2f\x6d\x63\x70\x2d\x73\x65\x72\x76\x65\x72\x2e\x6a\x73';import{setSilent}from'\x2e\x2f\x73\x72\x63\x2f\x73\x74\x61\x74\x65\x2e\x6a\x73';function parseCliArguments(_0x373fcc){const _0x4e49cc=a0_0x9395;const _0x53fc3b={'\x72\x64\x7a\x4c\x55':function(_0x518bdf,_0x244ba8){return _0x518bdf+_0x244ba8;},'\x6a\x61\x66\x42\x46':_0x4e49cc(0xc8),'\x6b\x56\x68\x6c\x63':_0x4e49cc(0x170),'\x6e\x42\x44\x65\x75':function(_0x499c03,_0x4ba9cb){return _0x499c03===_0x4ba9cb;},'\x50\x58\x71\x6e\x59':_0x4e49cc(0x135),'\x77\x56\x59\x44\x51':_0x4e49cc(0xc5),'\x49\x74\x71\x65\x49':_0x4e49cc(0xbd),'\x6a\x73\x71\x58\x6c':function(_0xead00,_0x5666f4){return _0xead00===_0x5666f4;},'\x73\x50\x47\x4a\x6d':'\x2d\x2d\x74\x72\x61\x6e\x73\x70\x6f\x72'+'\x74','\x70\x4d\x55\x71\x78':function(_0x39e289,_0x2fc4fb){return _0x39e289<_0x2fc4fb;},'\x53\x73\x59\x6e\x49':function(_0x1b0640,_0x3e8f38){return _0x1b0640+_0x3e8f38;},'\x55\x42\x64\x41\x6f':'\x73\x74\x64\x69\x6f','\x48\x6b\x66\x61\x71':function(_0x1758fd,_0x2f2a3a){return _0x1758fd===_0x2f2a3a;},'\x6f\x42\x55\x67\x64':_0x4e49cc(0x108),'\x56\x63\x7a\x63\x75':function(_0x2f5f43,_0x389b57){return _0x2f5f43!==_0x389b57;},'\x4d\x65\x42\x45\x4d':_0x4e49cc(0xcf),'\x53\x49\x56\x44\x51':_0x4e49cc(0x158)+'\x6c','\x4e\x42\x49\x55\x76':function(_0x411a75,_0x1dafc5){return _0x411a75<_0x1dafc5;},'\x55\x45\x77\x78\x42':_0x4e49cc(0x16c),'\x77\x67\x69\x69\x59':function(_0xeba0d,_0x516211){return _0xeba0d<_0x516211;},'\x7a\x50\x4e\x78\x47':function(_0x306afc,_0x54b071){return _0x306afc===_0x54b071;},'\x55\x72\x6d\x46\x48':_0x4e49cc(0x177)+'\x65','\x6b\x72\x57\x75\x46':function(_0x4e59a0,_0xc03ca1){return _0x4e59a0+_0xc03ca1;},'\x59\x43\x42\x5a\x64':'\x67\x6e\x52\x71\x53','\x47\x77\x72\x4f\x68':'\x2d\x2d\x73\x69\x6c\x65\x6e\x74','\x62\x56\x48\x50\x48':function(_0x166736,_0x3d8415){return _0x166736===_0x3d8415;}};const _0x4e68d8={'\x74\x72\x61\x6e\x73\x70\x6f\x72\x74':null,'\x6c\x6f\x67\x4c\x65\x76\x65\x6c':null,'\x68\x74\x74\x70\x50\x6f\x72\x74':null,'\x77\x6f\x72\x6b\x73\x70\x61\x63\x65\x50\x61\x74\x68\x73':null};for(let _0x4ed65a=0x0;_0x4ed65a<_0x373fcc[_0x4e49cc(0x16a)];_0x4ed65a++){const _0x196a5e=_0x373fcc[_0x4ed65a];if(_0x196a5e===_0x4e49cc(0x138)||_0x196a5e==='\x2d\x68'||_0x196a5e===_0x53fc3b['\x6a\x61\x66\x42\x46']||_0x196a5e==='\x2d\x76'){if('\x6d\x4a\x67\x6e\x4f'!==_0x53fc3b[_0x4e49cc(0x152)]){_0xdb906f[_0x4e49cc(0xff)]='\x2d\x2d'+_0x47e4c8;}else{if(_0x53fc3b['\x6e\x42\x44\x65\x75'](_0x196a5e,'\x2d\x68')){if(_0x53fc3b[_0x4e49cc(0x116)](_0x4e49cc(0x175),_0x53fc3b[_0x4e49cc(0xed)])){_0x7248a['\x65\x72\x72\x6f\x72'](_0x4e49cc(0x11e)+'\x6e\x76\x61\x6c\x69\x64\x20\x74\x72\x61'+'\x6e\x73\x70\x6f\x72\x74\x20\x76\x61\x6c'+'\x75\x65');_0x44367f[_0x4e49cc(0x137)](_0x4e49cc(0x101)+'\x6f\x6e\x73\x3a\x20\x73\x74\x64\x69\x6f'+'\x20\x7c\x20\x68\x74\x74\x70');_0x13e54b[_0x4e49cc(0x137)](_0x4e49cc(0xc1)+_0x3a5523);_0x267616[_0x4e49cc(0x137)](_0x4e49cc(0xd9)+_0x957942[_0x4e49cc(0xd7)]+(_0x4e49cc(0x11d)+_0x4e49cc(0xc2)+_0x4e49cc(0xca)));_0x174aeb[_0x4e49cc(0x13a)](0x1);}else{_0x4e68d8[_0x4e49cc(0xff)]=_0x4e49cc(0x138);}}else if(_0x196a5e==='\x2d\x76'){if(_0x53fc3b[_0x4e49cc(0x115)]===_0x53fc3b[_0x4e49cc(0xcc)]){_0x5da768[_0x4e49cc(0xbe)](_0x4e49cc(0xb9)+'\x6f\x72\x63\x65\x20\x43\x6f\x6e\x74\x65'+_0x4e49cc(0x12b)+_0x52481f[_0x4e49cc(0xb4)]);_0x27f2a7[_0x4e49cc(0x13a)](0x0);}else{_0x4e68d8[_0x4e49cc(0xff)]='\x2d\x2d\x76\x65\x72\x73\x69\x6f\x6e';}}else{_0x4e68d8[_0x4e49cc(0xff)]=_0x196a5e;}break;}}if((_0x53fc3b[_0x4e49cc(0xbb)](_0x196a5e,_0x53fc3b['\x73\x50\x47\x4a\x6d'])||_0x196a5e==='\x2d\x74')&&_0x53fc3b[_0x4e49cc(0x119)](_0x53fc3b[_0x4e49cc(0x13c)](_0x4ed65a,0x1),_0x373fcc[_0x4e49cc(0x16a)])){const _0x3ff70f=_0x373fcc[_0x53fc3b['\x53\x73\x59\x6e\x49'](_0x4ed65a,0x1)];if(_0x53fc3b['\x6a\x73\x71\x58\x6c'](_0x3ff70f,_0x53fc3b['\x55\x42\x64\x41\x6f'])||_0x53fc3b[_0x4e49cc(0x13b)](_0x3ff70f,_0x53fc3b[_0x4e49cc(0x15b)])){if(_0x53fc3b['\x56\x63\x7a\x63\x75'](_0x53fc3b[_0x4e49cc(0x15a)],_0x4e49cc(0xcf))){_0xc237e[_0x4e49cc(0x137)]('\u274c\x20\x45\x72\x72\x6f\x72\x3a\x20\x49'+_0x4e49cc(0xb2)+_0x4e49cc(0xe7)+_0x1816ff['\x6c\x6f\x67\x4c\x65\x76\x65\x6c']);_0x420abb[_0x4e49cc(0x137)](_0x4e49cc(0x101)+_0x4e49cc(0x142)+_0x36165e[_0x4e49cc(0x127)]('\x2c\x20'));_0x564442['\x65\x78\x69\x74'](0x1);}else{_0x4e68d8[_0x4e49cc(0xff)]='\x2d\x2d'+_0x3ff70f;}}else{throw new Error('\x49\x6e\x76\x61\x6c\x69\x64\x20\x74\x72'+_0x4e49cc(0xf0)+'\x6c\x75\x65\x3a\x20'+_0x3ff70f+(_0x4e49cc(0x124)+_0x4e49cc(0x136)+_0x4e49cc(0xf5)));}_0x4ed65a++;}else if((_0x196a5e===_0x53fc3b[_0x4e49cc(0x105)]||_0x196a5e==='\x2d\x6c')&&_0x53fc3b[_0x4e49cc(0x128)](_0x4ed65a+0x1,_0x373fcc[_0x4e49cc(0x16a)])){_0x4e68d8['\x6c\x6f\x67\x4c\x65\x76\x65\x6c']=_0x373fcc[_0x4ed65a+0x1]['\x74\x6f\x4c\x6f\x77\x65\x72\x43\x61\x73'+'\x65']();_0x4ed65a++;}else if((_0x53fc3b[_0x4e49cc(0xbb)](_0x196a5e,_0x53fc3b[_0x4e49cc(0x16e)])||_0x196a5e==='\x2d\x70')&&_0x53fc3b[_0x4e49cc(0x102)](_0x4ed65a+0x1,_0x373fcc[_0x4e49cc(0x16a)])){_0x4e68d8[_0x4e49cc(0xcd)]=Number[_0x4e49cc(0xe1)](_0x373fcc[_0x4ed65a+0x1],0xa);_0x4ed65a++;}else if((_0x53fc3b[_0x4e49cc(0xfe)](_0x196a5e,_0x53fc3b[_0x4e49cc(0x176)])||_0x53fc3b[_0x4e49cc(0xbb)](_0x196a5e,'\x2d\x77'))&&_0x53fc3b[_0x4e49cc(0xdf)](_0x4ed65a,0x1)<_0x373fcc[_0x4e49cc(0x16a)]){if(_0x53fc3b[_0x4e49cc(0x139)]===_0x4e49cc(0xd6)){_0x218b85[_0x4e49cc(0x131)+_0x4e49cc(0xd2)]=_0x5305c4[_0x53fc3b['\x72\x64\x7a\x4c\x55'](_0x27b9ff,0x1)];_0x25e8ae++;}else{_0x4e68d8[_0x4e49cc(0x131)+_0x4e49cc(0xd2)]=_0x373fcc[_0x4ed65a+0x1];_0x4ed65a++;}}else if(_0x196a5e===_0x53fc3b[_0x4e49cc(0x11f)]||_0x196a5e==='\x2d\x73'){_0x4e68d8['\x73\x69\x6c\x65\x6e\x74']=!![];}else if(_0x196a5e[_0x4e49cc(0xe4)]('\x2d\x2d')||_0x196a5e[_0x4e49cc(0xe4)]('\x2d')&&_0x53fc3b[_0x4e49cc(0x15c)](_0x196a5e[_0x4e49cc(0x16a)],0x2)){throw new Error(_0x4e49cc(0x171)+_0x4e49cc(0x14e)+_0x196a5e);}}return _0x4e68d8;}function a0_0x30ee(){const _0xb708d0=['\x79\x4c\x7a\x69\x75\x65\x47','\x6e\x78\x57\x59\x6e\x78\x57\x59\x6d\x33\x57\x59\x46\x61','\x69\x66\x6e\x4c\x44\x63\x62\x69\x76\x66\x72\x71\x69\x61','\x6e\x74\x72\x72\x41\x67\x44\x75\x7a\x31\x61','\x7a\x67\x4c\x56\x69\x67\x39\x59\x69\x67\x48\x30\x44\x61','\x6c\x49\x39\x5a\x43\x4d\x6d\x56\x42\x77\x6e\x57\x6c\x71','\x41\x77\x35\x4d\x42\x59\x4b','\x69\x68\x44\x48\x43\x4d\x35\x50\x42\x4d\x43\x53\x69\x61','\x7a\x78\x6d\x47\x6c\x73\x31\x53\x42\x32\x43\x54\x42\x61','\x43\x67\x66\x59\x79\x78\x72\x4c\x7a\x63\x4b','\x6c\x33\x62\x48\x44\x67\x47\x56\x44\x67\x38\x56\x43\x61','\x6d\x68\x57\x59\x6d\x78\x57\x58\x6f\x78\x57\x58\x6e\x61','\x79\x33\x6a\x50\x44\x67\x4c\x4a\x79\x77\x57','\x7a\x78\x7a\x4c\x42\x64\x4f\x47\x7a\x77\x31\x4c\x43\x47','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x6d\x64\x61\x50','\x6c\x73\x31\x57\x42\x33\x6a\x30','\x41\x77\x58\x52\x71\x4d\x57','\x76\x75\x76\x33\x45\x65\x69','\x69\x63\x61\x54\x6c\x78\x6e\x50\x42\x67\x76\x55\x44\x61','\x42\x75\x50\x4e\x42\x4b\x38','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x48\x43\x47','\x71\x76\x72\x69\x75\x59\x62\x78\x42\x33\x6a\x52\x43\x57','\x78\x31\x62\x70\x75\x4c\x71\x47\x69\x63\x61\x47\x69\x61','\x71\x32\x39\x55\x44\x67\x76\x34\x44\x63\x62\x5a\x7a\x71','\x41\x66\x48\x67\x44\x4c\x61','\x76\x78\x6a\x54\x72\x4b\x47','\x6c\x73\x31\x33\x42\x33\x6a\x52\x43\x33\x62\x48\x79\x57','\x43\x67\x39\x59\x44\x63\x61\x34\x6d\x64\x47\x57','\x69\x63\x62\x74\x41\x67\x39\x33\x69\x68\x7a\x4c\x43\x47','\x41\x77\x35\x4d\x42\x59\x57\x47\x7a\x67\x76\x49\x44\x71','\x79\x78\x6a\x4e\x44\x47','\x75\x31\x62\x70\x75\x4c\x71\x47\x69\x63\x61\x47\x69\x61','\x74\x33\x72\x65\x43\x33\x69','\x77\x4e\x4c\x7a\x44\x30\x6d','\x7a\x77\x7a\x48\x44\x77\x58\x30\x6f\x49\x62\x4d\x79\x71','\x79\x32\x58\x56\x43\x32\x75','\x7a\x67\x76\x55\x69\x67\x6a\x35\x69\x65\x6e\x6d\x73\x71','\x44\x67\x4c\x55\x7a\x59\x62\x6a\x71\x4b\x30\x47\x75\x57','\x43\x59\x62\x4f\x7a\x77\x58\x57\x69\x67\x31\x4c\x43\x57','\x69\x68\x57\x47\x41\x68\x72\x30\x43\x61','\x41\x77\x35\x4d\x42\x57','\x42\x4e\x7a\x48\x42\x67\x4c\x4b\x69\x67\x58\x56\x7a\x57','\x79\x77\x58\x4c\x43\x4e\x71','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x44\x77\x6a\x77\x75\x67\x69','\x42\x67\x39\x4e\x74\x67\x76\x32\x7a\x77\x57','\x43\x67\x66\x4a\x7a\x73\x62\x57\x79\x78\x72\x4f\x43\x57','\x7a\x32\x76\x55\x79\x33\x4b\x53\x69\x67\x66\x53\x7a\x71','\x73\x75\x6a\x6e\x69\x66\x6e\x48\x42\x67\x76\x5a\x7a\x47','\x43\x30\x44\x6e\x41\x4b\x69','\x41\x4e\x6e\x58\x77\x67\x57','\x69\x63\x61\x47\x69\x63\x62\x74\x41\x77\x58\x4c\x42\x47','\x72\x75\x58\x54\x71\x77\x71','\x42\x67\x39\x4e','\x6e\x5a\x62\x49\x73\x65\x50\x4e\x43\x77\x69','\x7a\x4d\x38\x53\x69\x67\x72\x4c\x79\x4e\x76\x4e\x69\x61','\x75\x4d\x76\x4a\x7a\x77\x4c\x32\x7a\x77\x71\x36\x69\x61','\x42\x33\x69\x47\x42\x77\x39\x59\x7a\x73\x62\x50\x42\x47','\x44\x63\x61\x4f\x42\x33\x7a\x4c\x43\x4e\x6a\x50\x7a\x61','\x44\x68\x72\x57\x69\x68\x72\x59\x79\x77\x35\x5a\x43\x61','\x45\x78\x66\x41\x41\x66\x75','\x69\x67\x72\x4c\x79\x4e\x76\x4e','\x69\x67\x66\x53\x42\x63\x62\x56\x44\x78\x72\x57\x44\x71','\x6c\x73\x31\x32\x7a\x78\x6a\x5a\x41\x77\x39\x55','\x43\x63\x61\x4f\x42\x33\x7a\x4c\x43\x4e\x6a\x50\x7a\x61','\x7a\x4d\x39\x59\x42\x77\x66\x30\x41\x77\x39\x55','\x6c\x78\x71\x47\x76\x66\x4c\x71\x72\x73\x61\x47\x69\x61','\x73\x78\x72\x58\x7a\x75\x4b','\x41\x68\x72\x30\x43\x66\x62\x56\x43\x4e\x71','\x69\x67\x48\x30\x44\x68\x61\x47\x6b\x67\x72\x4c\x7a\x47','\x76\x76\x44\x4c\x45\x4d\x34','\x69\x67\x58\x4c\x44\x4d\x76\x53\x6f\x49\x62\x4c\x42\x71','\x43\x33\x62\x56\x43\x4e\x71\x47\x44\x68\x4c\x57\x7a\x71','\x79\x78\x72\x4f\x43\x57','\x44\x78\x72\x4d\x6f\x61','\x77\x4e\x50\x30\x71\x32\x34','\x42\x4e\x76\x31\x41\x4c\x6d','\x77\x4b\x6a\x35\x7a\x30\x47','\x42\x4d\x66\x54\x7a\x71','\x43\x32\x58\x50\x79\x32\x75','\x75\x4e\x76\x55\x69\x63\x69','\x44\x77\x75\x56\x6d\x73\x62\x30\x42\x59\x62\x5a\x44\x71','\x42\x67\x76\x59\x44\x63\x57\x47\x79\x33\x6a\x50\x44\x61','\x43\x33\x62\x53\x41\x78\x71','\x69\x63\x31\x53\x69\x65\x58\x66\x76\x4b\x76\x6d\x69\x61','\x43\x32\x4c\x53\x7a\x77\x35\x30','\x41\x33\x6a\x78\x44\x75\x79','\x69\x63\x62\x74\x41\x67\x39\x33\x69\x68\x72\x4f\x41\x71','\x43\x67\x66\x59\x43\x32\x76\x6a\x42\x4e\x71','\x6b\x67\x72\x4c\x7a\x4d\x66\x31\x42\x68\x71\x36\x69\x61','\x43\x4e\x71\x47\x43\x33\x72\x4b\x41\x77\x38\x47\x6c\x71','\x43\x33\x72\x48\x43\x4e\x72\x5a\x76\x32\x4c\x30\x41\x61','\x43\x67\x39\x59\x44\x63\x62\x4d\x42\x33\x69\x47\x41\x61','\x42\x68\x6e\x4c\x6b\x71','\x69\x67\x58\x4c\x44\x4d\x76\x53\x6f\x49\x61','\x42\x4d\x39\x30\x41\x77\x6e\x4c','\x77\x75\x7a\x78\x75\x67\x79','\x6d\x74\x71\x30\x42\x65\x76\x58\x76\x30\x7a\x4d','\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x73\x35\x51\x43\x57','\x43\x4e\x71\x47\x43\x33\x72\x4b\x41\x77\x38','\x75\x66\x48\x58\x42\x4c\x4b','\x6e\x5a\x4b\x31\x6d\x4a\x69\x34\x74\x76\x48\x64\x74\x65\x35\x76','\x42\x67\x66\x49\x42\x67\x75\x47\x41\x77\x79\x47\x42\x57','\x79\x77\x35\x5a\x43\x67\x39\x59\x44\x63\x62\x32\x79\x71','\x43\x32\x4c\x56\x42\x49\x62\x50\x42\x4d\x7a\x56\x43\x47','\x79\x78\x76\x53\x44\x64\x4f\x47\x43\x33\x72\x4b\x41\x71','\x42\x30\x58\x76\x7a\x66\x43','\x41\x77\x6e\x48\x42\x63\x57\x47\x7a\x78\x6a\x59\x42\x57','\x69\x63\x44\x4f\x44\x68\x72\x57\x6a\x57','\x76\x78\x6e\x48\x7a\x32\x75\x36','\x46\x64\x65\x59\x46\x64\x7a\x38\x6d\x4a\x62\x38\x6d\x71','\x7a\x77\x7a\x48\x44\x77\x58\x30\x6f\x49\x61\x5a\x6d\x61','\x43\x67\x66\x59\x43\x32\x75','\x44\x63\x62\x77\x79\x78\x6a\x50\x79\x77\x6a\x53\x7a\x71','\x69\x63\x61\x47\x69\x63\x62\x6d\x42\x32\x43\x47\x42\x61','\x75\x68\x48\x36\x45\x4b\x4b','\x43\x59\x61\x4f\x42\x33\x7a\x4c\x43\x4e\x6a\x50\x7a\x61','\x45\x4c\x62\x6f\x45\x65\x43','\x44\x68\x6a\x48\x42\x4e\x6e\x57\x42\x33\x6a\x30','\x69\x63\x31\x33\x69\x66\x62\x62\x76\x65\x48\x74\x69\x61','\x76\x4d\x66\x53\x41\x77\x71\x47\x42\x33\x62\x30\x41\x71','\x44\x32\x44\x50\x41\x76\x4b','\x6d\x5a\x7a\x57\x41\x65\x4c\x62\x72\x30\x4f','\x69\x63\x62\x74\x7a\x78\x71\x47\x44\x32\x39\x59\x41\x57','\x75\x30\x4c\x77\x72\x66\x65','\x7a\x67\x48\x62\x76\x30\x38','\x69\x63\x61\x54\x6c\x78\x44\x56\x43\x4d\x54\x5a\x43\x61','\x41\x68\x72\x30\x43\x61','\x6d\x68\x57\x58\x46\x64\x4c\x38\x6d\x4a\x6a\x38\x6d\x71','\x69\x63\x61\x54\x6c\x77\x58\x56\x7a\x59\x31\x53\x7a\x71','\x72\x76\x39\x67\x74\x30\x58\x65\x72\x76\x6a\x46\x75\x61','\x69\x63\x61\x47\x69\x63\x61\x47\x76\x68\x6a\x48\x42\x47','\x41\x68\x66\x50\x74\x76\x65','\x69\x67\x39\x31\x44\x68\x62\x31\x44\x63\x61\x4f\x7a\x61','\x7a\x77\x31\x4c\x43\x4d\x44\x4c\x42\x4d\x6e\x35','\x42\x33\x6a\x4a\x7a\x73\x62\x64\x42\x32\x35\x30\x7a\x71','\x72\x78\x6a\x59\x42\x33\x69\x47\x43\x33\x72\x48\x43\x47','\x7a\x4d\x4c\x55\x7a\x68\x6d\x47\x79\x78\x7a\x48\x41\x71','\x79\x77\x57\x53\x69\x67\x76\x59\x43\x4d\x39\x59\x6c\x61','\x6d\x4a\x7a\x38\x6d\x74\x44\x38\x6d\x74\x6e\x38\x6f\x61','\x44\x31\x7a\x7a\x72\x66\x65','\x42\x4b\x6a\x65\x7a\x78\x75','\x6e\x4a\x43\x30\x6d\x5a\x62\x6f\x41\x67\x76\x52\x41\x77\x75','\x43\x4d\x39\x51\x7a\x77\x6e\x30\x69\x63\x30\x54\x43\x57','\x43\x65\x31\x76\x43\x78\x47','\x75\x65\x66\x75\x73\x66\x6d\x50','\x69\x63\x62\x74\x44\x78\x62\x57\x43\x4d\x76\x5a\x43\x57','\x6d\x74\x66\x38\x6d\x4a\x72\x38\x6e\x78\x57\x30\x46\x61','\x69\x63\x30\x54\x41\x67\x76\x53\x43\x63\x69\x47\x7a\x47','\x34\x50\x32\x6d\x69\x65\x76\x59\x43\x4d\x39\x59\x6f\x49\x62\x6a','\x72\x33\x44\x59\x74\x32\x47','\x79\x75\x39\x6c\x42\x77\x75','\x79\x77\x6e\x4c\x69\x66\x62\x62\x76\x65\x48\x74\x6c\x61','\x43\x32\x66\x4e\x7a\x71','\x44\x67\x39\x6d\x42\x33\x44\x4c\x43\x4b\x6e\x48\x43\x57','\x6c\x49\x62\x6e\x44\x78\x6e\x30\x69\x67\x6a\x4c\x69\x61','\x43\x68\x62\x59\x7a\x78\x6e\x5a\x69\x67\x66\x53\x42\x61','\x7a\x78\x6d\x47\x74\x75\x6e\x71\x78\x31\x72\x73\x71\x71','\x41\x4d\x39\x50\x42\x47','\x74\x4b\x6a\x6a\x76\x78\x79','\x79\x77\x58\x4c\x43\x32\x7a\x56\x43\x4d\x6e\x4c\x69\x61','\x69\x63\x61\x54\x6c\x78\x62\x56\x43\x4e\x71\x47\x75\x61','\x45\x68\x71\x47\x44\x47','\x44\x67\x39\x74\x44\x68\x6a\x50\x42\x4d\x43','\x6d\x74\x75\x58\x6e\x64\x65\x31\x72\x32\x7a\x6a\x75\x4b\x50\x56','\x42\x77\x66\x30\x41\x77\x39\x55','\x77\x68\x44\x59\x71\x4d\x65','\x69\x63\x61\x47\x75\x32\x76\x30\x69\x67\x58\x56\x7a\x57','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x75\x61','\x7a\x67\x54\x31\x7a\x76\x6d','\x69\x63\x61\x47\x69\x63\x62\x69\x76\x66\x72\x71\x69\x61','\x69\x63\x61\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x44\x68\x76\x6d\x76\x4d\x71','\x6a\x33\x6e\x30\x7a\x67\x4c\x56\x6a\x59\x62\x56\x43\x47','\x7a\x78\x6a\x59\x42\x33\x69','\x6c\x73\x31\x4f\x7a\x77\x58\x57','\x77\x75\x6e\x63\x77\x4d\x71','\x7a\x78\x48\x50\x44\x61','\x73\x67\x54\x4d\x79\x78\x65','\x75\x33\x6e\x7a\x42\x4b\x4b','\x6d\x4a\x69\x35\x6d\x4a\x47\x31\x71\x31\x44\x4a\x75\x67\x48\x35','\x74\x63\x61\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x44\x63\x62\x30\x45\x78\x62\x4c\x6f\x49\x62\x5a\x44\x61','\x42\x33\x6a\x30\x69\x63\x48\x48\x44\x78\x72\x56\x6c\x71','\x41\x33\x50\x4f\x7a\x68\x43','\x42\x32\x35\x5a\x6f\x49\x61','\x6c\x77\x47\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x69\x63\x61\x54\x6c\x78\x7a\x4c\x43\x4e\x6e\x50\x42\x57','\x74\x33\x62\x30\x41\x77\x39\x55\x43\x5a\x4f','\x43\x32\x76\x59\x44\x4d\x76\x59\x6c\x4d\x50\x5a','\x6e\x64\x43\x30\x6e\x5a\x79\x32\x77\x4d\x72\x6c\x44\x4d\x35\x50','\x69\x63\x30\x54\x44\x68\x6a\x48\x42\x4e\x6e\x57\x42\x57','\x45\x77\x35\x76\x41\x4d\x47','\x6d\x4a\x65\x58\x6f\x64\x43\x5a\x6e\x4c\x76\x4c\x42\x4e\x4c\x33\x76\x47','\x6d\x4a\x71\x57\x6f\x74\x61\x34\x6e\x65\x6a\x71\x71\x78\x62\x78\x77\x71','\x69\x63\x62\x6d\x74\x30\x44\x46\x74\x65\x76\x77\x72\x71','\x69\x67\x66\x59\x7a\x33\x76\x54\x7a\x77\x35\x30\x43\x57','\x7a\x33\x76\x54\x7a\x77\x35\x30\x6f\x49\x61','\x43\x4e\x71\x47\x41\x68\x72\x30\x43\x63\x61\x54\x6c\x71','\x42\x33\x6a\x30\x69\x66\x72\x7a\x75\x65\x75\x53\x69\x61','\x42\x32\x35\x5a\x6f\x49\x62\x5a\x44\x67\x72\x50\x42\x57','\x41\x31\x7a\x4f\x42\x67\x6d','\x79\x32\x6e\x31\x43\x67\x4c\x4c\x7a\x63\x57\x47\x7a\x61','\x69\x66\x54\x70\x75\x66\x72\x6a\x74\x30\x35\x74\x78\x71','\x41\x77\x35\x4a\x42\x68\x76\x4b\x7a\x78\x6d','\x42\x4e\x6e\x57\x42\x33\x6a\x30\x69\x68\x7a\x48\x42\x61','\x43\x33\x62\x48\x79\x32\x75\x47\x43\x67\x66\x30\x41\x61','\x6c\x73\x31\x53\x42\x32\x43\x54\x42\x67\x76\x32\x7a\x71','\x42\x4d\x39\x4b\x7a\x74\x50\x57\x79\x78\x72\x4f','\x74\x77\x76\x63\x72\x75\x30','\x42\x30\x6a\x76\x7a\x32\x71'];a0_0x30ee=function(){return _0xb708d0;};return a0_0x30ee();}export async function main(_0x5ee514){const _0x440804=a0_0x9395;const _0x5dd7c0={'\x5a\x7a\x74\x43\x6e':function(_0x32dec6,_0xa68ea7){return _0x32dec6(_0xa68ea7);},'\x64\x6b\x75\x65\x53':_0x440804(0xeb)+'\x6f\x6e','\x69\x6c\x6b\x42\x6c':function(_0x59c7bb,_0x575533){return _0x59c7bb(_0x575533);},'\x4f\x74\x44\x73\x72':function(_0x323f16,_0x44862d){return _0x323f16===_0x44862d;},'\x6e\x75\x75\x6a\x53':_0x440804(0x10a)+'\x76\x65\x6c\x20\x4c\x45\x56\x45\x4c\x2c'+_0x440804(0xdd)+_0x440804(0x130)+_0x440804(0xd0)+'\x65\x72\x67\x65\x6e\x63\x79\x2c\x20\x61'+_0x440804(0xdb)+_0x440804(0xf4)+'\x72\x2c\x20\x77\x61\x72\x6e\x69\x6e\x67'+'\x2c\x20\x6e\x6f\x74\x69\x63\x65\x2c\x20'+_0x440804(0x17a)+'\x67','\x57\x43\x77\x41\x75':'\x20\x20\x2d\x2d\x68\x65\x6c\x70\x2c\x20'+_0x440804(0x143)+_0x440804(0xe0)+_0x440804(0xaf)+_0x440804(0x122),'\x75\x62\x56\x50\x62':'\x20\x20\x4d\x43\x50\x5f\x54\x52\x41\x4e'+_0x440804(0xa8)+_0x440804(0x10c)+_0x440804(0xd1)+'\x3a\x20\x73\x74\x64\x69\x6f\x20\x6f\x72'+_0x440804(0xce)+_0x440804(0xf2)+'\x6f\x29','\x61\x4f\x4b\x6d\x65':_0x440804(0x144)+'\x6e\x2c\x20\x2d\x76\x20\x20\x20\x20\x20'+_0x440804(0x179)+_0x440804(0xf1)+_0x440804(0x12e),'\x79\x6e\x55\x6a\x68':'\x73\x74\x64\x69\x6f','\x58\x77\x72\x42\x61':_0x440804(0x11e)+'\x6e\x76\x61\x6c\x69\x64\x20\x74\x72\x61'+_0x440804(0x156)+'\x75\x65','\x6b\x7a\x68\x64\x77':function(_0x1c7edf,_0x5d6c77){return _0x1c7edf(_0x5d6c77);},'\x68\x71\x69\x4d\x51':_0x440804(0xb1),'\x6c\x43\x6a\x75\x62':_0x440804(0xe8),'\x69\x78\x56\x66\x72':_0x440804(0x137),'\x73\x47\x4d\x6a\x42':_0x440804(0x10f),'\x6f\x4c\x55\x64\x57':function(_0x5ccf26){return _0x5ccf26();}};try{if(_0x440804(0xaa)===_0x440804(0xfc)){_0x477052.env.WORKSPACE_FOLDER_PATHS=_0x59a388['\x77\x6f\x72\x6b\x73\x70\x61\x63\x65\x50'+_0x440804(0xd2)];}else{const {readFileSync:_0x2c0496}=await import('\x6e\x6f\x64\x65\x3a\x66\x73');const {dirname:_0x4bb5fd,join:_0x7b61b}=await import(_0x440804(0x159));const {fileURLToPath:_0x8612e1}=await import('\x6e\x6f\x64\x65\x3a\x75\x72\x6c');const _0x3918ac=_0x8612e1(import.meta.url);const _0x351259=_0x5dd7c0[_0x440804(0xd4)](_0x4bb5fd,_0x3918ac);const _0x2f4a71=_0x7b61b(_0x351259,_0x5dd7c0[_0x440804(0x132)]);const _0x27185e=JSON[_0x440804(0xf9)](_0x2c0496(_0x2f4a71,_0x440804(0xd3)));const _0x157e12=_0x5dd7c0[_0x440804(0x16d)](parseCliArguments,_0x5ee514);if(_0x5dd7c0[_0x440804(0xa9)](_0x157e12[_0x440804(0xff)],_0x440804(0x138))){const _0x21fb1d=(_0x440804(0x114)+_0x440804(0xf7)+_0x440804(0x109)+_0x440804(0x15d)+_0x440804(0x11c)+'\x37\x7c\x31\x36\x7c\x31\x38\x7c\x33\x7c'+_0x440804(0x167))[_0x440804(0xdc)]('\x7c');let _0x1e4938=0x0;while(!![]){switch(_0x21fb1d[_0x1e4938++]){case'\x30':console[_0x440804(0xbe)]('\x20\x20\x53\x49\x4c\x45\x4e\x54\x20\x20'+_0x440804(0x134)+_0x440804(0xbc)+'\x74\x20\x6d\x6f\x64\x65\x3a\x20\x74\x72'+_0x440804(0xda)+_0x440804(0x125)+_0x440804(0x10e)+_0x440804(0xab)+_0x440804(0xe6));continue;case'\x31':console[_0x440804(0xbe)](_0x440804(0x12a)+'\x4f\x52\x54\x2c\x20\x2d\x70\x20\x50\x4f'+'\x52\x54\x20\x20\x20\x20\x20\x20\x20\x20'+_0x440804(0x15e)+_0x440804(0xe5)+_0x440804(0xc4)+_0x440804(0x140)+_0x440804(0x112)+_0x440804(0xef)+'\x63\x63\x75\x70\x69\x65\x64\x29');continue;case'\x32':console[_0x440804(0xbe)]('\x45\x78\x61\x6d\x70\x6c\x65\x73\x3a');continue;case'\x33':console[_0x440804(0xbe)](_0x440804(0x14c)+_0x440804(0x13e)+_0x440804(0xfb)+_0x440804(0x169)+_0x440804(0xb8)+'\x72\x74\x2c\x20\x63\x72\x69\x74\x69\x63'+_0x440804(0x113)+_0x440804(0x163)+'\x6e\x6f\x74\x69\x63\x65\x2c\x20\x69\x6e'+_0x440804(0xc0)+_0x440804(0xe2)+_0x440804(0x162));continue;case'\x34':console[_0x440804(0xbe)]('\x20\x20'+_0x27185e[_0x440804(0xd7)]+(_0x440804(0x148)+_0x440804(0x14f)+'\x77\x6f\x72\x6b\x73\x70\x61\x63\x65\x20'+_0x440804(0x166)+_0x440804(0x118)+'\x69\x6c\x65\x6e\x74'));continue;case'\x35':console[_0x440804(0xbe)]('\x20\x20'+_0x27185e[_0x440804(0xd7)]+('\x20\x2d\x2d\x74\x72\x61\x6e\x73\x70\x6f'+_0x440804(0xe3)+'\x2d\x6c\x6f\x67\x2d\x6c\x65\x76\x65\x6c'+_0x440804(0xc6)));continue;case'\x36':console[_0x440804(0xbe)](_0x440804(0x145));continue;case'\x37':console[_0x440804(0xbe)]('');continue;case'\x38':console[_0x440804(0xbe)]('\x20\x20'+_0x27185e['\x6e\x61\x6d\x65']+_0x440804(0x154));continue;case'\x39':console[_0x440804(0xbe)](_0x440804(0x107)+_0x440804(0x121)+_0x440804(0x100)+_0x440804(0x104)+_0x440804(0x157)+_0x440804(0xfd)+'\x65\x73\x20\x57\x4f\x52\x4b\x53\x50\x41'+'\x43\x45\x5f\x46\x4f\x4c\x44\x45\x52\x5f'+_0x440804(0x11a));continue;case'\x31\x30':console[_0x440804(0xbe)](_0x5dd7c0[_0x440804(0xd5)]);continue;case'\x31\x31':console[_0x440804(0xbe)]('\x20\x20'+_0x27185e[_0x440804(0xd7)]+(_0x440804(0x148)+_0x440804(0xec)));continue;case'\x31\x32':console[_0x440804(0xbe)]('');continue;case'\x31\x33':console[_0x440804(0xbe)](_0x440804(0xf6));continue;case'\x31\x34':process[_0x440804(0x13a)](0x0);continue;case'\x31\x35':console[_0x440804(0xbe)](_0x5dd7c0['\x57\x43\x77\x41\x75']);continue;case'\x31\x36':console[_0x440804(0xbe)]('\x45\x6e\x76\x69\x72\x6f\x6e\x6d\x65\x6e'+_0x440804(0xfa)+'\x73\x20\x28\x6f\x76\x65\x72\x72\x69\x64'+_0x440804(0xad)+_0x440804(0x14d)+'\x29\x3a');continue;case'\x31\x37':console[_0x440804(0xbe)]('');continue;case'\x31\x38':console[_0x440804(0xbe)](_0x5dd7c0[_0x440804(0xb5)]);continue;case'\x31\x39':console[_0x440804(0xbe)]('\x20\x20\x57\x4f\x52\x4b\x53\x50\x41\x43'+_0x440804(0x10b)+_0x440804(0x172)+_0x440804(0xb7)+'\x20\x28\x63\x6f\x6d\x6d\x61\x2d\x73\x65'+_0x440804(0x165));continue;case'\x32\x30':console[_0x440804(0xbe)]('\x20\x20\x2d\x2d\x74\x72\x61\x6e\x73\x70'+_0x440804(0x150)+_0x440804(0xcb)+'\x20\x20\x54\x72\x61\x6e\x73\x70\x6f\x72'+_0x440804(0x13f)+_0x440804(0x160)+_0x440804(0xc9)+_0x440804(0x126)+'\x4e\x53\x50\x4f\x52\x54\x29');continue;case'\x32\x31':console['\x6c\x6f\x67']('\x20\x20\x4d\x43\x50\x5f\x48\x54\x54\x50'+_0x440804(0x173)+_0x440804(0x133)+_0x440804(0xe5)+_0x440804(0xc4)+_0x440804(0x140)+_0x440804(0x112)+'\x6c\x61\x62\x6c\x65\x20\x69\x66\x20\x6f'+_0x440804(0x153)+_0x440804(0xf8)+_0x440804(0x16b));continue;case'\x32\x32':console['\x6c\x6f\x67'](_0x440804(0x16f)+'\x2c\x20\x2d\x73\x20\x20\x20\x20\x20\x20'+_0x440804(0x11b)+_0x440804(0xc7)+_0x440804(0xc3)+_0x440804(0x164)+'\x65\x76\x65\x6c\x29');continue;case'\x32\x33':console[_0x440804(0xbe)]('');continue;case'\x32\x34':console[_0x440804(0xbe)]('\x20\x20'+_0x27185e['\x6e\x61\x6d\x65']+(_0x440804(0x148)+_0x440804(0x14f)+_0x440804(0x178)));continue;case'\x32\x35':console[_0x440804(0xbe)](_0x5dd7c0[_0x440804(0x120)]);continue;case'\x32\x36':console['\x6c\x6f\x67'](_0x440804(0xb9)+_0x440804(0x110)+'\x78\x74');continue;}break;}}if(_0x157e12[_0x440804(0xff)]==='\x2d\x2d\x76\x65\x72\x73\x69\x6f\x6e'){console[_0x440804(0xbe)](_0x440804(0xb9)+_0x440804(0x110)+_0x440804(0x12b)+_0x27185e[_0x440804(0xb4)]);process['\x65\x78\x69\x74'](0x0);}let _0x5ee62a;if(_0x157e12[_0x440804(0xff)]){_0x5ee62a=_0x157e12['\x74\x72\x61\x6e\x73\x70\x6f\x72\x74']['\x72\x65\x70\x6c\x61\x63\x65'](/^--/,'')[_0x440804(0x123)+'\x65']();}else if(process.env.MCP_TRANSPORT){if(_0x440804(0xe9)!==_0x440804(0x106)){_0x5ee62a=process.env.MCP_TRANSPORT['\x74\x6f\x4c\x6f\x77\x65\x72\x43\x61\x73'+'\x65']();}else{_0x29f2d7['\x74\x72\x61\x6e\x73\x70\x6f\x72\x74']=_0x440804(0x138);}}else{_0x5ee62a='\x73\x74\x64\x69\x6f';}if(_0x5ee62a!==_0x5dd7c0[_0x440804(0x149)]&&_0x5ee62a!=='\x68\x74\x74\x70'){console[_0x440804(0x137)](_0x5dd7c0[_0x440804(0x12f)]);console[_0x440804(0x137)](_0x440804(0x101)+_0x440804(0x151)+_0x440804(0xb0));console['\x65\x72\x72\x6f\x72'](_0x440804(0xc1)+_0x5ee62a);console['\x65\x72\x72\x6f\x72']('\x52\x75\x6e\x20\x22'+_0x27185e[_0x440804(0xd7)]+(_0x440804(0x11d)+_0x440804(0xc2)+_0x440804(0xca)));process['\x65\x78\x69\x74'](0x1);}if(_0x157e12[_0x440804(0xde)]){_0x5dd7c0[_0x440804(0x141)](setSilent,!![]);}else if(_0x157e12['\x6c\x6f\x67\x4c\x65\x76\x65\x6c']){const _0x54e734=['\x64\x65\x62\x75\x67',_0x5dd7c0[_0x440804(0x10d)],_0x5dd7c0['\x6c\x43\x6a\x75\x62'],'\x77\x61\x72\x6e\x69\x6e\x67',_0x5dd7c0['\x69\x78\x56\x66\x72'],_0x440804(0x168),_0x440804(0xb3),_0x5dd7c0[_0x440804(0xba)]];const _0xe959ad=_0x157e12[_0x440804(0xb6)][_0x440804(0x123)+'\x65']();if(_0x54e734[_0x440804(0x155)](_0xe959ad)){process.env.LOG_LEVEL=_0xe959ad;}else{console['\x65\x72\x72\x6f\x72']('\u274c\x20\x45\x72\x72\x6f\x72\x3a\x20\x49'+_0x440804(0xb2)+_0x440804(0xe7)+_0x157e12[_0x440804(0xb6)]);console[_0x440804(0x137)](_0x440804(0x101)+_0x440804(0x142)+_0x54e734[_0x440804(0x127)]('\x2c\x20'));process[_0x440804(0x13a)](0x1);}}if(_0x157e12[_0x440804(0xcd)]){process.env.MCP_HTTP_PORT=_0x157e12[_0x440804(0xcd)][_0x440804(0x12c)]();}if(_0x157e12['\x77\x6f\x72\x6b\x73\x70\x61\x63\x65\x50'+_0x440804(0xd2)]){process.env.WORKSPACE_FOLDER_PATHS=_0x157e12['\x77\x6f\x72\x6b\x73\x70\x61\x63\x65\x50'+_0x440804(0xd2)];}const {registerGlobalErrorHandlers:registerGlobalErrorHandlers,registerSignalHandlers:registerSignalHandlers}=await import(_0x440804(0x161)+_0x440804(0x146));_0x5dd7c0[_0x440804(0xf3)](registerGlobalErrorHandlers);registerSignalHandlers();await setupServer(_0x5ee62a);}}catch(_0x51efcf){const _0xc8638b=createLogger();_0xc8638b[_0x440804(0x137)](_0x51efcf,_0x440804(0x111)+_0x440804(0xae)+_0x440804(0x129)+_0x440804(0x174)+'\x72\x76\x65\x72');await mcpServer[_0x440804(0xac)]();process[_0x440804(0x13a)](0x1);}}function a0_0x9395(_0xac2320,_0x42248d){_0xac2320=_0xac2320-0xa7;const _0x30ee51=a0_0x30ee();let _0x939526=_0x30ee51[_0xac2320];if(a0_0x9395['\x4a\x72\x4e\x53\x4e\x41']===undefined){var _0x392e92=function(_0x14e04f){const _0x12fef9='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0xf21f82='';let _0x29f2d7='';for(let _0x143aeb=0x0,_0x4f7587,_0x390c4e,_0x387baa=0x0;_0x390c4e=_0x14e04f['\x63\x68\x61\x72\x41\x74'](_0x387baa++);~_0x390c4e&&(_0x4f7587=_0x143aeb%0x4?_0x4f7587*0x40+_0x390c4e:_0x390c4e,_0x143aeb++%0x4)?_0xf21f82+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x4f7587>>(-0x2*_0x143aeb&0x6)):0x0){_0x390c4e=_0x12fef9['\x69\x6e\x64\x65\x78\x4f\x66'](_0x390c4e);}for(let _0xba07cf=0x0,_0x119822=_0xf21f82['\x6c\x65\x6e\x67\x74\x68'];_0xba07cf<_0x119822;_0xba07cf++){_0x29f2d7+='\x25'+('\x30\x30'+_0xf21f82['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0xba07cf)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x29f2d7);};a0_0x9395['\x61\x64\x6f\x56\x4d\x43']=_0x392e92;a0_0x9395['\x44\x65\x6d\x51\x5a\x4b']={};a0_0x9395['\x4a\x72\x4e\x53\x4e\x41']=!![];}const _0x4594e9=_0x30ee51[0x0];const _0x36c3d6=_0xac2320+_0x4594e9;const _0x5b9ea9=a0_0x9395['\x44\x65\x6d\x51\x5a\x4b'][_0x36c3d6];if(!_0x5b9ea9){_0x939526=a0_0x9395['\x61\x64\x6f\x56\x4d\x43'](_0x939526);a0_0x9395['\x44\x65\x6d\x51\x5a\x4b'][_0x36c3d6]=_0x939526;}else{_0x939526=_0x5b9ea9;}return _0x939526;}main(process[a0_0xde228(0xa7)][a0_0xde228(0xd8)](0x2));
|
|
1
|
+
const a0_0x143dda=a0_0x4319;(function(_0x16f528,_0x1b3dcb){const _0x588194=a0_0x4319;const _0x11cf08=_0x16f528();while(!![]){try{const _0x23f424=parseInt(_0x588194(0xe2))/0x1+parseInt(_0x588194(0x186))/0x2+-parseInt(_0x588194(0x14a))/0x3*(-parseInt(_0x588194(0x132))/0x4)+-parseInt(_0x588194(0x135))/0x5+-parseInt(_0x588194(0x18d))/0x6*(-parseInt(_0x588194(0x119))/0x7)+parseInt(_0x588194(0x11e))/0x8*(-parseInt(_0x588194(0x146))/0x9)+parseInt(_0x588194(0x12f))/0xa*(-parseInt(_0x588194(0x159))/0xb);if(_0x23f424===_0x1b3dcb){break;}else{_0x11cf08['push'](_0x11cf08['shift']());}}catch(_0xa18340){_0x11cf08['push'](_0x11cf08['shift']());}}}(a0_0x5219,0x3d28a));import{createLogger}from'\x2e\x2f\x73\x72\x63\x2f\x6c\x69\x62\x2f\x6c\x6f\x67\x67\x65\x72\x2e\x6a\x73';import{mcpServer,setupServer}from'\x2e\x2f\x73\x72\x63\x2f\x6d\x63\x70\x2d\x73\x65\x72\x76\x65\x72\x2e\x6a\x73';function a0_0x5219(){const _0x4d87eb=['\x6d\x74\x6d\x35\x6e\x74\x48\x51\x42\x76\x6a\x70\x72\x32\x30','\x44\x68\x72\x57\x69\x68\x72\x59\x79\x77\x35\x5a\x43\x61','\x73\x4b\x31\x6b\x72\x4d\x65','\x79\x33\x62\x6c\x43\x32\x71','\x44\x63\x62\x54\x42\x32\x72\x4c\x6f\x49\x62\x30\x43\x47','\x6d\x4a\x72\x55\x76\x4e\x44\x55\x7a\x68\x47','\x69\x67\x66\x59\x7a\x33\x76\x54\x7a\x77\x35\x30\x43\x57','\x44\x63\x61\x4f\x42\x33\x7a\x4c\x43\x4e\x6a\x50\x7a\x61','\x79\x33\x76\x52\x45\x78\x79','\x69\x63\x61\x47\x69\x63\x61\x47\x76\x68\x6a\x48\x42\x47','\x6c\x73\x31\x32\x7a\x78\x6a\x5a\x41\x77\x39\x55','\x6c\x63\x62\x55\x42\x33\x72\x50\x79\x32\x75\x53\x69\x61','\x44\x67\x39\x74\x44\x68\x6a\x50\x42\x4d\x43','\x42\x33\x6a\x4a\x7a\x73\x62\x64\x42\x32\x35\x30\x7a\x71','\x69\x67\x48\x30\x44\x68\x61\x47\x6b\x67\x72\x4c\x7a\x47','\x43\x4e\x71\x47\x41\x68\x72\x30\x43\x63\x61\x54\x6c\x71','\x7a\x67\x76\x49\x44\x77\x43','\x43\x32\x4c\x56\x42\x49\x62\x50\x42\x4d\x7a\x56\x43\x47','\x69\x63\x61\x54\x6c\x78\x72\x59\x79\x77\x35\x5a\x43\x61','\x45\x4b\x31\x51\x77\x4c\x43','\x41\x77\x35\x4a\x42\x68\x76\x4b\x7a\x78\x6d','\x69\x63\x61\x54\x6c\x77\x48\x4c\x42\x68\x61\x53\x69\x61','\x6d\x4a\x43\x57\x71\x4d\x35\x35\x73\x33\x62\x4e','\x43\x33\x62\x48\x79\x32\x75\x47\x43\x67\x66\x30\x41\x61','\x74\x31\x6a\x75\x6c\x63\x61\x54\x43\x63\x62\x71\x74\x57','\x6d\x4a\x71\x34\x71\x31\x66\x74\x71\x4e\x6e\x6a','\x42\x4d\x66\x54\x7a\x71','\x69\x63\x30\x54\x44\x68\x6a\x48\x42\x4e\x6e\x57\x42\x57','\x6d\x5a\x71\x35\x6e\x64\x61\x57\x43\x67\x7a\x33\x76\x4b\x76\x49','\x6c\x33\x62\x48\x44\x67\x47\x56\x44\x67\x38\x56\x43\x61','\x6c\x73\x31\x4f\x7a\x77\x58\x57','\x41\x4c\x4c\x52\x73\x67\x38','\x7a\x30\x50\x48\x43\x4d\x4b','\x69\x63\x62\x75\x43\x4d\x66\x55\x43\x33\x62\x56\x43\x47','\x76\x4e\x4c\x68\x74\x31\x4b','\x42\x4d\x39\x4b\x7a\x74\x50\x31\x43\x4d\x57','\x42\x4d\x39\x30\x41\x77\x6e\x4c','\x43\x65\x4c\x36\x71\x33\x47','\x42\x68\x6e\x4c\x6b\x71','\x69\x63\x61\x47\x69\x63\x62\x74\x41\x77\x58\x4c\x42\x47','\x42\x4e\x6e\x57\x42\x33\x6a\x30\x69\x68\x7a\x48\x42\x61','\x6c\x73\x31\x5a\x41\x77\x58\x4c\x42\x4e\x71','\x74\x78\x62\x76\x45\x78\x71','\x44\x68\x6a\x48\x42\x4e\x6e\x57\x42\x33\x6a\x30','\x69\x63\x61\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x6e\x5a\x69\x57\x6e\x4a\x6d\x35\x74\x30\x50\x55\x75\x76\x6a\x50','\x7a\x68\x76\x50\x43\x4b\x38','\x43\x33\x62\x56\x43\x4e\x71\x47\x44\x68\x4c\x57\x7a\x71','\x73\x68\x6a\x58\x73\x67\x69','\x6d\x4a\x69\x33\x6e\x67\x48\x62\x43\x4e\x7a\x74\x43\x71','\x79\x77\x35\x5a\x43\x67\x39\x59\x44\x63\x62\x32\x79\x71','\x6a\x33\x6e\x30\x7a\x67\x4c\x56\x6a\x59\x62\x56\x43\x47','\x69\x63\x30\x54\x41\x67\x76\x53\x43\x63\x69\x47\x7a\x47','\x75\x66\x44\x69\x75\x4e\x6d','\x74\x75\x76\x55\x75\x65\x69','\x72\x65\x39\x55\x42\x4e\x65','\x6b\x67\x72\x4c\x7a\x4d\x66\x31\x42\x68\x71\x36\x69\x61','\x43\x75\x54\x36\x43\x68\x65','\x7a\x67\x58\x6e\x77\x67\x43','\x79\x78\x66\x5a\x42\x4c\x47','\x79\x77\x58\x4c\x43\x32\x7a\x56\x43\x4d\x6e\x4c\x69\x61','\x42\x4d\x39\x4b\x7a\x74\x50\x57\x79\x78\x72\x4f','\x44\x4d\x35\x59\x77\x67\x65','\x6c\x77\x58\x56\x7a\x59\x31\x53\x7a\x78\x7a\x4c\x42\x61','\x6d\x74\x69\x35\x6d\x74\x61\x33\x75\x76\x72\x56\x42\x4d\x50\x58','\x42\x77\x66\x30\x41\x77\x39\x55','\x7a\x67\x76\x55\x69\x67\x6a\x35\x69\x65\x6e\x6d\x73\x71','\x6c\x49\x62\x6e\x44\x78\x6e\x30\x69\x67\x6a\x4c\x69\x61','\x43\x67\x66\x4a\x7a\x73\x62\x57\x79\x78\x72\x4f\x43\x57','\x69\x63\x61\x54\x6c\x78\x6e\x50\x42\x67\x76\x55\x44\x61','\x72\x67\x72\x73\x76\x75\x47','\x75\x65\x66\x75\x73\x66\x6d\x50','\x42\x4e\x7a\x48\x42\x67\x4c\x4b\x69\x68\x72\x59\x79\x71','\x69\x63\x48\x4a\x42\x32\x31\x54\x79\x73\x31\x5a\x7a\x71','\x42\x65\x48\x50\x73\x65\x57','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71','\x72\x32\x6e\x67\x71\x4d\x6d','\x72\x78\x6a\x59\x42\x33\x69\x47\x43\x33\x72\x48\x43\x47','\x41\x77\x35\x4d\x42\x59\x57\x47\x7a\x67\x76\x49\x44\x71','\x73\x33\x72\x59\x72\x30\x65','\x41\x77\x35\x4d\x42\x59\x4b','\x42\x32\x35\x5a\x6f\x49\x62\x5a\x44\x67\x72\x50\x42\x57','\x74\x65\x7a\x49\x7a\x33\x75','\x79\x78\x72\x4f\x43\x57','\x76\x4d\x66\x53\x41\x77\x71\x47\x42\x33\x62\x30\x41\x71','\x42\x67\x39\x4e\x74\x67\x76\x32\x7a\x77\x57','\x42\x33\x6a\x30\x69\x63\x48\x48\x44\x78\x72\x56\x6c\x71','\x43\x68\x62\x59\x7a\x78\x6e\x5a\x69\x67\x66\x53\x42\x61','\x78\x31\x62\x70\x75\x4c\x71\x47\x69\x63\x61\x47\x69\x61','\x42\x33\x6a\x30\x69\x66\x72\x7a\x75\x65\x75\x53\x69\x61','\x41\x68\x72\x30\x43\x61','\x44\x67\x39\x6d\x42\x33\x44\x4c\x43\x4b\x6e\x48\x43\x57','\x79\x33\x6a\x50\x44\x67\x4c\x4a\x79\x77\x57','\x69\x63\x61\x54\x6c\x78\x62\x56\x43\x4e\x71\x47\x75\x61','\x43\x67\x66\x59\x79\x78\x72\x4c\x7a\x63\x4b','\x43\x4e\x7a\x4c\x43\x47','\x75\x4c\x71\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x79\x77\x6e\x4c\x69\x66\x62\x62\x76\x65\x48\x74\x6c\x61','\x69\x63\x31\x53\x69\x65\x58\x66\x76\x4b\x76\x6d\x69\x61','\x6f\x49\x62\x5a\x44\x67\x72\x50\x42\x59\x62\x56\x43\x47','\x69\x63\x62\x74\x41\x67\x39\x33\x69\x68\x72\x4f\x41\x71','\x69\x66\x54\x70\x75\x66\x72\x6a\x74\x30\x35\x74\x78\x71','\x69\x63\x44\x4f\x44\x68\x72\x57\x6a\x57','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x69\x63\x62\x78\x74\x31\x6a\x6c\x75\x31\x62\x62\x71\x57','\x41\x77\x6e\x48\x42\x63\x57\x47\x7a\x78\x6a\x59\x42\x57','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x75\x61','\x79\x32\x58\x56\x43\x32\x75','\x73\x33\x72\x68\x7a\x68\x4f','\x6e\x64\x65\x57\x6d\x74\x6d\x59\x41\x32\x76\x33\x71\x33\x72\x69','\x6c\x63\x61\x54\x43\x59\x61\x47\x69\x63\x61\x47\x69\x61','\x44\x78\x72\x4d\x6f\x61','\x43\x33\x72\x4b\x41\x77\x38','\x44\x67\x4c\x55\x7a\x59\x62\x6a\x71\x4b\x30\x47\x75\x57','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x69\x61','\x75\x4e\x76\x55\x69\x63\x69','\x6e\x74\x47\x59\x74\x68\x50\x6a\x44\x67\x6a\x79','\x69\x67\x66\x53\x42\x63\x62\x56\x44\x78\x72\x57\x44\x71','\x6c\x73\x31\x33\x42\x33\x6a\x52\x43\x33\x62\x48\x79\x57','\x6c\x78\x71\x47\x76\x66\x4c\x71\x72\x73\x61\x47\x69\x61','\x79\x30\x39\x36\x42\x66\x6d','\x74\x63\x61\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x69\x63\x31\x33\x69\x66\x62\x62\x76\x65\x48\x74\x69\x61','\x69\x63\x62\x74\x7a\x78\x71\x47\x44\x32\x39\x59\x41\x57','\x44\x63\x62\x30\x45\x78\x62\x4c\x6f\x49\x62\x5a\x44\x61','\x75\x31\x62\x70\x75\x4c\x71\x47\x69\x63\x61\x47\x69\x61','\x79\x78\x76\x53\x44\x64\x4f\x47\x43\x33\x72\x4b\x41\x71','\x7a\x78\x48\x50\x44\x61','\x69\x67\x58\x4c\x44\x4d\x76\x53\x6f\x49\x62\x4c\x42\x71','\x41\x77\x35\x48\x74\x65\x38','\x79\x78\x6a\x4e\x44\x47','\x72\x66\x44\x49\x44\x32\x4f','\x71\x4d\x58\x34\x77\x4b\x43','\x42\x49\x57\x47\x6c\x78\x79\x47\x69\x63\x61\x47\x69\x61','\x74\x33\x7a\x41\x42\x67\x71','\x41\x68\x72\x30\x43\x66\x62\x56\x43\x4e\x71','\x7a\x4d\x38\x53\x69\x67\x72\x4c\x79\x4e\x76\x4e\x69\x61','\x43\x4d\x39\x51\x7a\x77\x6e\x30\x69\x63\x30\x54\x43\x57','\x74\x33\x62\x30\x41\x77\x39\x55\x43\x5a\x4f','\x76\x78\x44\x5a\x41\x76\x79','\x72\x77\x35\x32\x41\x78\x6a\x56\x42\x4d\x31\x4c\x42\x47','\x6c\x73\x31\x57\x42\x33\x6a\x30','\x41\x77\x35\x4d\x42\x57','\x7a\x78\x6d\x47\x76\x30\x39\x73\x73\x31\x6e\x71\x71\x71','\x76\x78\x6e\x48\x7a\x32\x75\x36','\x44\x33\x44\x6a\x72\x33\x75','\x7a\x4e\x66\x64\x79\x75\x71','\x69\x67\x72\x4c\x79\x4e\x76\x4e','\x41\x33\x72\x4b\x75\x75\x71','\x45\x4c\x6a\x35\x42\x31\x75','\x69\x67\x58\x4c\x44\x4d\x76\x53\x6f\x49\x61','\x6e\x64\x6d\x59\x6d\x64\x65\x34\x79\x75\x6a\x65\x72\x67\x72\x4e','\x42\x67\x66\x49\x42\x67\x75\x47\x41\x77\x79\x47\x42\x57','\x7a\x4d\x4c\x55\x7a\x68\x6d\x47\x79\x78\x7a\x48\x41\x71','\x43\x33\x72\x48\x43\x4e\x72\x5a\x76\x32\x4c\x30\x41\x61','\x74\x4c\x44\x74\x43\x33\x4b','\x7a\x4d\x39\x59\x42\x77\x66\x30\x41\x77\x39\x55','\x75\x4d\x76\x4a\x7a\x77\x4c\x32\x7a\x77\x71\x36\x69\x61','\x41\x77\x58\x4c\x42\x4e\x71','\x71\x30\x76\x46\x72\x4b\x39\x6d\x72\x65\x76\x73\x78\x57','\x69\x63\x61\x54\x6c\x78\x7a\x4c\x43\x4e\x6e\x50\x42\x57','\x42\x32\x35\x5a\x6f\x49\x61','\x73\x75\x4c\x30\x76\x76\x6d','\x79\x77\x58\x4c\x43\x4e\x71','\x44\x32\x66\x59\x42\x4d\x4c\x55\x7a\x57','\x44\x63\x62\x77\x79\x78\x6a\x50\x79\x77\x6a\x53\x7a\x71','\x69\x63\x62\x6e\x71\x31\x62\x46\x76\x66\x6a\x62\x74\x47','\x43\x32\x58\x50\x79\x32\x75','\x43\x32\x4c\x53\x7a\x77\x35\x30','\x42\x4e\x7a\x48\x42\x67\x4c\x4b\x69\x67\x58\x56\x7a\x57','\x6c\x73\x31\x30\x43\x4d\x66\x55\x43\x33\x62\x56\x43\x47','\x43\x59\x62\x4f\x7a\x77\x58\x57\x69\x67\x31\x4c\x43\x57','\x44\x4d\x76\x53\x69\x65\x58\x66\x76\x4b\x76\x6d\x6c\x61','\x42\x4d\x39\x30\x41\x77\x6e\x4c\x6c\x63\x62\x50\x42\x47','\x42\x67\x39\x4e','\x7a\x78\x6a\x59\x42\x33\x69','\x43\x67\x66\x59\x43\x32\x76\x6a\x42\x4e\x71','\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x73\x35\x51\x43\x57','\x71\x4e\x44\x79\x43\x4c\x43','\x44\x65\x72\x72\x76\x30\x75','\x6c\x73\x31\x53\x42\x32\x43\x54\x42\x67\x76\x32\x7a\x71','\x79\x77\x57\x53\x69\x67\x76\x59\x43\x4d\x39\x59\x6c\x61','\x69\x63\x62\x74\x41\x67\x39\x33\x69\x68\x7a\x4c\x43\x47','\x41\x4d\x39\x50\x42\x47','\x71\x76\x72\x69\x75\x59\x62\x78\x42\x33\x6a\x52\x43\x57','\x43\x49\x57\x47\x44\x32\x66\x59\x42\x4d\x4c\x55\x7a\x57','\x75\x30\x72\x6c\x72\x4d\x53','\x7a\x77\x7a\x48\x44\x77\x58\x30\x6f\x49\x61\x5a\x6d\x61','\x79\x32\x6e\x31\x43\x67\x4c\x4c\x7a\x63\x4b','\x34\x50\x32\x6d\x69\x65\x76\x59\x43\x4d\x39\x59\x6f\x49\x62\x6a','\x73\x75\x6a\x6e\x69\x66\x6e\x48\x42\x67\x76\x5a\x7a\x47','\x42\x68\x76\x4c\x6f\x49\x61','\x69\x68\x57\x47\x41\x68\x72\x30\x43\x61','\x72\x78\x62\x72\x74\x4d\x43','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x73\x77\x35\x32\x79\x77\x58\x50\x7a\x63\x62\x30\x43\x47','\x43\x67\x39\x59\x44\x63\x61\x34\x6d\x64\x47\x57','\x72\x78\x48\x48\x42\x78\x62\x53\x7a\x78\x6d\x36','\x43\x4e\x71\x47\x43\x33\x72\x4b\x41\x77\x38\x47\x6c\x71','\x74\x77\x72\x56\x73\x30\x34','\x43\x33\x72\x41\x73\x31\x75','\x43\x67\x66\x59\x43\x32\x75','\x69\x63\x62\x74\x44\x78\x62\x57\x43\x4d\x76\x5a\x43\x57','\x7a\x67\x4c\x56\x69\x67\x39\x59\x69\x67\x48\x30\x44\x61','\x45\x68\x71\x47\x44\x47','\x74\x4c\x4c\x6f\x44\x66\x47'];a0_0x5219=function(){return _0x4d87eb;};return a0_0x5219();}function a0_0x4319(_0x300f51,_0x48136){_0x300f51=_0x300f51-0xc4;const _0x52198c=a0_0x5219();let _0x431920=_0x52198c[_0x300f51];if(a0_0x4319['\x51\x6c\x42\x4a\x7a\x53']===undefined){var _0x1f38a8=function(_0x1a7c0d){const _0x44eb70='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x374040='';let _0x3ac00e='';for(let _0x524bf0=0x0,_0x2ab46e,_0x4802f2,_0xd87a98=0x0;_0x4802f2=_0x1a7c0d['\x63\x68\x61\x72\x41\x74'](_0xd87a98++);~_0x4802f2&&(_0x2ab46e=_0x524bf0%0x4?_0x2ab46e*0x40+_0x4802f2:_0x4802f2,_0x524bf0++%0x4)?_0x374040+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x2ab46e>>(-0x2*_0x524bf0&0x6)):0x0){_0x4802f2=_0x44eb70['\x69\x6e\x64\x65\x78\x4f\x66'](_0x4802f2);}for(let _0x5d7ba7=0x0,_0x5a48fc=_0x374040['\x6c\x65\x6e\x67\x74\x68'];_0x5d7ba7<_0x5a48fc;_0x5d7ba7++){_0x3ac00e+='\x25'+('\x30\x30'+_0x374040['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x5d7ba7)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x3ac00e);};a0_0x4319['\x63\x63\x4b\x52\x56\x64']=_0x1f38a8;a0_0x4319['\x61\x6d\x66\x45\x59\x65']={};a0_0x4319['\x51\x6c\x42\x4a\x7a\x53']=!![];}const _0x495374=_0x52198c[0x0];const _0x256cda=_0x300f51+_0x495374;const _0x471486=a0_0x4319['\x61\x6d\x66\x45\x59\x65'][_0x256cda];if(!_0x471486){_0x431920=a0_0x4319['\x63\x63\x4b\x52\x56\x64'](_0x431920);a0_0x4319['\x61\x6d\x66\x45\x59\x65'][_0x256cda]=_0x431920;}else{_0x431920=_0x471486;}return _0x431920;}import{setSilent}from'\x2e\x2f\x73\x72\x63\x2f\x73\x74\x61\x74\x65\x2e\x6a\x73';function parseCliArguments(_0x408550){const _0x6b4bc8=a0_0x4319;const _0x54492e={'\x49\x49\x74\x55\x53':function(_0x5f1f89,_0x44b1c2){return _0x5f1f89<_0x44b1c2;},'\x6a\x59\x6b\x48\x6f':_0x6b4bc8(0x185),'\x56\x79\x47\x4f\x59':function(_0x282e10,_0x150416){return _0x282e10===_0x150416;},'\x50\x57\x48\x52\x73':_0x6b4bc8(0x149),'\x53\x44\x4b\x46\x6b':_0x6b4bc8(0xf5)+'\x74','\x42\x6c\x78\x5a\x47':function(_0x30d9f4,_0x58f2b3){return _0x30d9f4+_0x58f2b3;},'\x4d\x45\x6e\x50\x42':_0x6b4bc8(0x189),'\x64\x76\x4d\x71\x66':_0x6b4bc8(0xff)+'\x6c','\x47\x63\x46\x42\x63':function(_0x5135aa,_0x4d1abc){return _0x5135aa===_0x4d1abc;},'\x63\x75\x6b\x79\x76':_0x6b4bc8(0xd8),'\x4b\x74\x72\x47\x41':function(_0x276906,_0x4f2ad8){return _0x276906+_0x4f2ad8;},'\x58\x4d\x6f\x6f\x45':_0x6b4bc8(0x18f)+'\x65','\x4f\x76\x5a\x6c\x64':function(_0x13660a,_0x14ae8e){return _0x13660a!==_0x14ae8e;}};const _0x40cc55={'\x74\x72\x61\x6e\x73\x70\x6f\x72\x74':null,'\x6c\x6f\x67\x4c\x65\x76\x65\x6c':null,'\x68\x74\x74\x70\x50\x6f\x72\x74':null,'\x77\x6f\x72\x6b\x73\x70\x61\x63\x65\x50\x61\x74\x68\x73':null};for(let _0x36ef09=0x0;_0x54492e[_0x6b4bc8(0xed)](_0x36ef09,_0x408550[_0x6b4bc8(0x180)]);_0x36ef09++){if(_0x54492e[_0x6b4bc8(0x138)]==='\x79\x41\x70\x70\x72'){_0x1905b5[_0x6b4bc8(0xd2)]=_0x4194cb[_0x6b4bc8(0xfb)](_0xc5dc22[_0x5a6ae2+0x1],0xa);_0x31f0b8++;}else{const _0x71b26c=_0x408550[_0x36ef09];if(_0x71b26c==='\x2d\x2d\x68\x65\x6c\x70'||_0x54492e[_0x6b4bc8(0x13b)](_0x71b26c,'\x2d\x68')||_0x71b26c==='\x2d\x2d\x76\x65\x72\x73\x69\x6f\x6e'||_0x71b26c==='\x2d\x76'){if(_0x71b26c==='\x2d\x68'){_0x40cc55[_0x6b4bc8(0x144)]=_0x6b4bc8(0x137);}else if(_0x71b26c==='\x2d\x76'){_0x40cc55['\x74\x72\x61\x6e\x73\x70\x6f\x72\x74']=_0x6b4bc8(0x123);}else{if(_0x54492e[_0x6b4bc8(0x14e)]!==_0x6b4bc8(0x149)){throw new _0x52ba16('\x49\x6e\x76\x61\x6c\x69\x64\x20\x74\x72'+'\x61\x6e\x73\x70\x6f\x72\x74\x20\x76\x61'+_0x6b4bc8(0x10a)+_0x54c784+(_0x6b4bc8(0x15c)+_0x6b4bc8(0x14c)+'\x20\x27\x68\x74\x74\x70\x27'));}else{_0x40cc55['\x74\x72\x61\x6e\x73\x70\x6f\x72\x74']=_0x71b26c;}}break;}if((_0x71b26c===_0x54492e[_0x6b4bc8(0x105)]||_0x71b26c==='\x2d\x74')&&_0x54492e[_0x6b4bc8(0xcf)](_0x36ef09,0x1)<_0x408550['\x6c\x65\x6e\x67\x74\x68']){const _0xfffa4c=_0x408550[_0x54492e['\x42\x6c\x78\x5a\x47'](_0x36ef09,0x1)];if(_0xfffa4c===_0x54492e[_0x6b4bc8(0x14f)]||_0xfffa4c===_0x6b4bc8(0x173)){_0x40cc55[_0x6b4bc8(0x144)]='\x2d\x2d'+_0xfffa4c;}else{throw new Error(_0x6b4bc8(0x10e)+_0x6b4bc8(0x14b)+_0x6b4bc8(0x10a)+_0xfffa4c+(_0x6b4bc8(0x15c)+'\x27\x73\x74\x64\x69\x6f\x27\x20\x6f\x72'+_0x6b4bc8(0x17f)));}_0x36ef09++;}else if((_0x71b26c===_0x54492e['\x64\x76\x4d\x71\x66']||_0x71b26c==='\x2d\x6c')&&_0x54492e['\x49\x49\x74\x55\x53'](_0x36ef09+0x1,_0x408550['\x6c\x65\x6e\x67\x74\x68'])){_0x40cc55[_0x6b4bc8(0x16e)]=_0x408550[_0x36ef09+0x1]['\x74\x6f\x4c\x6f\x77\x65\x72\x43\x61\x73'+'\x65']();_0x36ef09++;}else if((_0x54492e['\x47\x63\x46\x42\x63'](_0x71b26c,_0x54492e[_0x6b4bc8(0x121)])||_0x54492e[_0x6b4bc8(0x13b)](_0x71b26c,'\x2d\x70'))&&_0x36ef09+0x1<_0x408550[_0x6b4bc8(0x180)]){if(_0x6b4bc8(0xe6)!==_0x6b4bc8(0xfd)){_0x40cc55[_0x6b4bc8(0xd2)]=Number['\x70\x61\x72\x73\x65\x49\x6e\x74'](_0x408550[_0x54492e[_0x6b4bc8(0x168)](_0x36ef09,0x1)],0xa);_0x36ef09++;}else{setSilent(!![]);}}else if((_0x71b26c===_0x54492e['\x58\x4d\x6f\x6f\x45']||_0x54492e[_0x6b4bc8(0x165)](_0x71b26c,'\x2d\x77'))&&_0x54492e[_0x6b4bc8(0xed)](_0x54492e['\x4b\x74\x72\x47\x41'](_0x36ef09,0x1),_0x408550[_0x6b4bc8(0x180)])){if(_0x54492e[_0x6b4bc8(0xd1)]('\x7a\x71\x58\x61\x6a',_0x6b4bc8(0x11b))){_0x40cc55[_0x6b4bc8(0x183)+_0x6b4bc8(0x16c)]=_0x408550[_0x36ef09+0x1];_0x36ef09++;}else{_0x3344ee['\x74\x72\x61\x6e\x73\x70\x6f\x72\x74']='\x2d\x2d'+_0x11d0cc;}}else if(_0x71b26c===_0x6b4bc8(0x142)||_0x71b26c==='\x2d\x73'){_0x40cc55['\x73\x69\x6c\x65\x6e\x74']=!![];}else if(_0x71b26c[_0x6b4bc8(0xe5)]('\x2d\x2d')||_0x71b26c[_0x6b4bc8(0xe5)]('\x2d')&&_0x54492e['\x47\x63\x46\x42\x63'](_0x71b26c[_0x6b4bc8(0x180)],0x2)){throw new Error('\x55\x6e\x6b\x6e\x6f\x77\x6e\x20\x61\x72'+'\x67\x75\x6d\x65\x6e\x74\x3a\x20'+_0x71b26c);}}}return _0x40cc55;}export async function main(_0x35cb6){const _0x25814e=a0_0x4319;const _0x4e5c71={'\x77\x77\x49\x47\x75':function(_0x579224,_0x8c0795){return _0x579224===_0x8c0795;},'\x76\x6e\x72\x58\x61':'\x6f\x4b\x56\x54\x52','\x55\x6d\x70\x4a\x79':'\x66\x6d\x77\x71\x7a','\x7a\x52\x79\x6f\x55':_0x25814e(0x156),'\x64\x6c\x4d\x58\x67':_0x25814e(0x13c),'\x7a\x4d\x6a\x5a\x57':_0x25814e(0x188),'\x64\x75\x69\x72\x4f':function(_0x47635c,_0x5340cf){return _0x47635c===_0x5340cf;},'\x5a\x77\x64\x64\x53':'\x79\x4c\x45\x59\x52','\x73\x74\x5a\x4b\x55':_0x25814e(0x12b)+_0x25814e(0x172)+_0x25814e(0x190)+_0x25814e(0x13a)+_0x25814e(0xc7)+_0x25814e(0x116)+'\x70\x20\x28\x6f\x76\x65\x72\x72\x69\x64'+'\x65\x73\x20\x4d\x43\x50\x5f\x54\x52\x41'+'\x4e\x53\x50\x4f\x52\x54\x29','\x61\x71\x73\x6e\x58':_0x25814e(0x176)+_0x25814e(0x131)+_0x25814e(0x179)+'\x20\x53\x65\x74\x20\x48\x54\x54\x50\x20'+'\x70\x6f\x72\x74\x20\x66\x6f\x72\x20\x68'+'\x74\x74\x70\x20\x74\x72\x61\x6e\x73\x70'+'\x6f\x72\x74\x20\x28\x61\x75\x74\x6f\x2d'+_0x25814e(0xe4)+_0x25814e(0xe3)+_0x25814e(0x107),'\x4c\x46\x62\x67\x75':'\x20\x20\x2d\x2d\x77\x6f\x72\x6b\x73\x70'+_0x25814e(0x17a)+_0x25814e(0xc5)+_0x25814e(0xc6)+_0x25814e(0x130)+'\x73\x20\x28\x6f\x76\x65\x72\x72\x69\x64'+_0x25814e(0xda)+_0x25814e(0xea)+_0x25814e(0x160),'\x45\x70\x51\x4e\x67':_0x25814e(0x12e)+'\x2d\x68\x20\x20\x20\x20\x20\x20\x20\x20'+_0x25814e(0x17d)+_0x25814e(0xf6)+'\x73\x61\x67\x65','\x44\x64\x52\x55\x48':_0x25814e(0x110),'\x44\x4f\x6e\x6e\x71':'\x20\x20\x53\x49\x4c\x45\x4e\x54\x20\x20'+_0x25814e(0x145)+_0x25814e(0x140)+_0x25814e(0x11d)+'\x75\x65\x2f\x31\x20\x74\x6f\x20\x73\x75'+_0x25814e(0x170)+'\x20\x6f\x75\x74\x70\x75\x74\x20\x28\x64'+'\x65\x66\x61\x75\x6c\x74\x3a\x20\x66\x61'+_0x25814e(0x13f),'\x66\x71\x43\x61\x44':'\x20\x20\x4d\x43\x50\x5f\x48\x54\x54\x50'+_0x25814e(0x171)+'\x20\x20\x20\x20\x20\x48\x54\x54\x50\x20'+'\x70\x6f\x72\x74\x20\x66\x6f\x72\x20\x68'+_0x25814e(0x11a)+_0x25814e(0x16f)+_0x25814e(0xe4)+_0x25814e(0xe3)+'\x63\x63\x75\x70\x69\x65\x64\x2c\x20\x64'+_0x25814e(0x106)+'\x30\x30\x29','\x6d\x74\x53\x51\x55':_0x25814e(0x152),'\x69\x6e\x61\x4c\x4f':function(_0x5c01d4,_0x1d2ec2){return _0x5c01d4!==_0x1d2ec2;},'\x4d\x64\x6f\x4b\x4e':'\x4d\x55\x4b\x63\x6f','\x61\x6a\x4d\x4b\x6f':_0x25814e(0x189),'\x63\x4f\x7a\x6c\x53':_0x25814e(0xef),'\x57\x58\x54\x44\x6b':_0x25814e(0xfa),'\x74\x44\x51\x57\x45':_0x25814e(0x175),'\x6b\x74\x64\x51\x44':_0x25814e(0xee),'\x6c\x48\x69\x48\x4c':function(_0x520b46,_0x296126){return _0x520b46===_0x296126;},'\x4d\x70\x55\x79\x74':_0x25814e(0x118),'\x70\x49\x7a\x43\x78':function(_0x135f84){return _0x135f84();},'\x55\x77\x73\x69\x56':_0x25814e(0x166)+_0x25814e(0x18a)+_0x25814e(0x155)+'\x43\x6f\x6e\x74\x65\x78\x74\x20\x73\x65'+_0x25814e(0x178)};try{if(_0x4e5c71[_0x25814e(0xdc)](_0x4e5c71[_0x25814e(0x157)],_0x4e5c71['\x55\x6d\x70\x4a\x79'])){_0x5d7ba7[_0x25814e(0x144)]=_0x5a48fc;}else{const {readFileSync:_0x2a2d7b}=await import('\x6e\x6f\x64\x65\x3a\x66\x73');const {dirname:_0xc35977,join:_0x5456ae}=await import(_0x4e5c71[_0x25814e(0xe0)]);const {fileURLToPath:_0x40f893}=await import(_0x4e5c71[_0x25814e(0x153)]);const _0x1777e3=_0x40f893(import.meta.url);const _0x1678e1=_0xc35977(_0x1777e3);const _0x45ea2e=_0x5456ae(_0x1678e1,_0x25814e(0xfc)+'\x6f\x6e');const _0x1fdc49=JSON[_0x25814e(0x114)](_0x2a2d7b(_0x45ea2e,_0x4e5c71[_0x25814e(0x12c)]));const _0x4d32e5=parseCliArguments(_0x35cb6);if(_0x4e5c71[_0x25814e(0x147)](_0x4d32e5[_0x25814e(0x144)],'\x2d\x2d\x68\x65\x6c\x70')){if(_0x4e5c71['\x5a\x77\x64\x64\x53']!==_0x25814e(0xce)){console[_0x25814e(0xf9)](_0x25814e(0x109)+_0x25814e(0x126)+'\x78\x74');console['\x6c\x6f\x67']('');console[_0x25814e(0xf9)](_0x25814e(0xdb));console[_0x25814e(0xf9)]('\x20\x20'+_0x1fdc49['\x6e\x61\x6d\x65']+_0x25814e(0x17e));console[_0x25814e(0xf9)]('');console[_0x25814e(0xf9)](_0x25814e(0xd5));console['\x6c\x6f\x67'](_0x4e5c71[_0x25814e(0x113)]);console[_0x25814e(0xf9)]('\x20\x20\x2d\x2d\x6c\x6f\x67\x2d\x6c\x65'+_0x25814e(0xf7)+_0x25814e(0x17b)+'\x20\x20\x20\x53\x65\x74\x20\x6c\x6f\x67'+_0x25814e(0xcb)+'\x65\x72\x67\x65\x6e\x63\x79\x2c\x20\x61'+'\x6c\x65\x72\x74\x2c\x20\x63\x72\x69\x74'+_0x25814e(0x182)+_0x25814e(0x104)+_0x25814e(0x124)+_0x25814e(0x167)+'\x67');console[_0x25814e(0xf9)](_0x4e5c71[_0x25814e(0x154)]);console[_0x25814e(0xf9)](_0x4e5c71[_0x25814e(0x16b)]);console[_0x25814e(0xf9)](_0x25814e(0x15e)+_0x25814e(0x187)+_0x25814e(0x115)+_0x25814e(0x18e)+_0x25814e(0x120)+'\x65\x73\x20\x2d\x2d\x6c\x6f\x67\x2d\x6c'+'\x65\x76\x65\x6c\x29');console[_0x25814e(0xf9)](_0x4e5c71[_0x25814e(0x10c)]);console[_0x25814e(0xf9)](_0x25814e(0xeb)+_0x25814e(0xd0)+_0x25814e(0x101)+_0x25814e(0x12a)+_0x25814e(0x15a));console['\x6c\x6f\x67']('');console[_0x25814e(0xf9)](_0x4e5c71[_0x25814e(0x15f)]);console[_0x25814e(0xf9)]('\x20\x20'+_0x1fdc49[_0x25814e(0x133)]+(_0x25814e(0x134)+'\x72\x74\x20\x73\x74\x64\x69\x6f'));console[_0x25814e(0xf9)]('\x20\x20'+_0x1fdc49['\x6e\x61\x6d\x65']+('\x20\x2d\x2d\x74\x72\x61\x6e\x73\x70\x6f'+_0x25814e(0x128)+_0x25814e(0x10f)));console[_0x25814e(0xf9)]('\x20\x20'+_0x1fdc49['\x6e\x61\x6d\x65']+(_0x25814e(0x134)+_0x25814e(0x111)+_0x25814e(0x158)+_0x25814e(0xde)));console[_0x25814e(0xf9)]('\x20\x20'+_0x1fdc49[_0x25814e(0x133)]+(_0x25814e(0x134)+_0x25814e(0x128)+_0x25814e(0x18b)+_0x25814e(0x136)+_0x25814e(0xd4)+_0x25814e(0xe9)));console[_0x25814e(0xf9)]('');console[_0x25814e(0xf9)](_0x25814e(0xd7)+_0x25814e(0xf0)+'\x73\x20\x28\x6f\x76\x65\x72\x72\x69\x64'+_0x25814e(0x15b)+_0x25814e(0x11f)+'\x29\x3a');console[_0x25814e(0xf9)](_0x25814e(0xf1)+_0x25814e(0xc8)+_0x25814e(0x122)+_0x25814e(0x148)+_0x25814e(0x17c)+_0x25814e(0x127)+_0x25814e(0xc9)+'\x6f\x29');console[_0x25814e(0xf9)]('\x20\x20\x4c\x4f\x47\x5f\x4c\x45\x56\x45'+_0x25814e(0xc4)+'\x20\x20\x20\x20\x20\x4c\x6f\x67\x20\x6c'+'\x65\x76\x65\x6c\x3a\x20\x65\x6d\x65\x72'+'\x67\x65\x6e\x63\x79\x2c\x20\x61\x6c\x65'+'\x72\x74\x2c\x20\x63\x72\x69\x74\x69\x63'+_0x25814e(0x100)+'\x20\x77\x61\x72\x6e\x69\x6e\x67\x2c\x20'+_0x25814e(0xf8)+_0x25814e(0xd3)+_0x25814e(0x151)+_0x25814e(0x169));console[_0x25814e(0xf9)](_0x4e5c71[_0x25814e(0x150)]);console['\x6c\x6f\x67'](_0x4e5c71[_0x25814e(0xdd)]);console[_0x25814e(0xf9)](_0x25814e(0x181)+'\x45\x5f\x46\x4f\x4c\x44\x45\x52\x5f\x50'+_0x25814e(0x103)+_0x25814e(0x15d)+_0x25814e(0x162)+_0x25814e(0x177));process[_0x25814e(0xca)](0x0);}else{_0x1eaea2[_0x25814e(0xf9)]('\x49\x42\x4d\x20\x53\x61\x6c\x65\x73\x66'+_0x25814e(0x126)+_0x25814e(0x117)+_0x2ace9d[_0x25814e(0x10d)]);_0x26dac9['\x65\x78\x69\x74'](0x0);}}if(_0x4d32e5[_0x25814e(0x144)]===_0x25814e(0x123)){if(_0x25814e(0x11c)!==_0x4e5c71['\x6d\x74\x53\x51\x55']){console[_0x25814e(0xf9)](_0x25814e(0x109)+_0x25814e(0x126)+_0x25814e(0x117)+_0x1fdc49[_0x25814e(0x10d)]);process[_0x25814e(0xca)](0x0);}else{_0x2033f4[_0x25814e(0xfa)](_0x25814e(0x108)+'\x6e\x76\x61\x6c\x69\x64\x20\x6c\x6f\x67'+'\x20\x6c\x65\x76\x65\x6c\x3a\x20'+_0x1b2666[_0x25814e(0x16e)]);_0x1e3ea0['\x65\x72\x72\x6f\x72']('\x56\x61\x6c\x69\x64\x20\x6f\x70\x74\x69'+_0x25814e(0xec)+_0x4a374a[_0x25814e(0x102)]('\x2c\x20'));_0x56a224['\x65\x78\x69\x74'](0x1);}}let _0x3d5e9e;if(_0x4d32e5[_0x25814e(0x144)]){_0x3d5e9e=_0x4d32e5[_0x25814e(0x144)][_0x25814e(0x164)](/^--/,'')[_0x25814e(0x174)+'\x65']();}else if(process.env.MCP_TRANSPORT){if(_0x4e5c71['\x69\x6e\x61\x4c\x4f'](_0x4e5c71[_0x25814e(0x112)],'\x4d\x55\x4b\x63\x6f')){_0x1eeb82.env.WORKSPACE_FOLDER_PATHS=_0x166313[_0x25814e(0x183)+_0x25814e(0x16c)];}else{_0x3d5e9e=process.env.MCP_TRANSPORT[_0x25814e(0x174)+'\x65']();}}else{_0x3d5e9e=_0x4e5c71['\x61\x6a\x4d\x4b\x6f'];}if(_0x4e5c71[_0x25814e(0xcc)](_0x3d5e9e,'\x73\x74\x64\x69\x6f')&&_0x3d5e9e!=='\x68\x74\x74\x70'){if(_0x25814e(0x139)!=='\x4d\x59\x52\x64\x67'){console[_0x25814e(0xfa)](_0x25814e(0x108)+_0x25814e(0x161)+_0x25814e(0x141)+'\x75\x65');console[_0x25814e(0xfa)](_0x25814e(0x16d)+_0x25814e(0x16a)+_0x25814e(0x10b));console['\x65\x72\x72\x6f\x72'](_0x25814e(0xe8)+_0x3d5e9e);console[_0x25814e(0xfa)](_0x25814e(0x18c)+_0x1fdc49[_0x25814e(0x133)]+(_0x25814e(0x14d)+'\x6f\x72\x20\x6d\x6f\x72\x65\x20\x69\x6e'+_0x25814e(0xe7)));process[_0x25814e(0xca)](0x1);}else{_0x1ba527[_0x25814e(0x16e)]=_0x4b7eca[_0x43802e+0x1][_0x25814e(0x174)+'\x65']();_0x33f7a9++;}}if(_0x4d32e5[_0x25814e(0xf3)]){setSilent(!![]);}else if(_0x4d32e5[_0x25814e(0x16e)]){const _0x5984d1=[_0x25814e(0x129),_0x25814e(0xd9),_0x25814e(0x13d),_0x4e5c71[_0x25814e(0x191)],_0x4e5c71['\x57\x58\x54\x44\x6b'],_0x4e5c71[_0x25814e(0xfe)],_0x4e5c71[_0x25814e(0xdf)],'\x65\x6d\x65\x72\x67\x65\x6e\x63\x79'];const _0x3f7fc6=_0x4d32e5['\x6c\x6f\x67\x4c\x65\x76\x65\x6c'][_0x25814e(0x174)+'\x65']();if(_0x5984d1[_0x25814e(0x12d)](_0x3f7fc6)){process.env.LOG_LEVEL=_0x3f7fc6;}else{if(_0x4e5c71[_0x25814e(0x163)](_0x25814e(0x118),_0x4e5c71[_0x25814e(0x143)])){console[_0x25814e(0xfa)]('\u274c\x20\x45\x72\x72\x6f\x72\x3a\x20\x49'+_0x25814e(0xf4)+_0x25814e(0xe1)+_0x4d32e5['\x6c\x6f\x67\x4c\x65\x76\x65\x6c']);console[_0x25814e(0xfa)](_0x25814e(0x16d)+_0x25814e(0xec)+_0x5984d1['\x6a\x6f\x69\x6e']('\x2c\x20'));process['\x65\x78\x69\x74'](0x1);}else{_0x1330bf[_0x25814e(0xfa)]('\u274c\x20\x45\x72\x72\x6f\x72\x3a\x20\x49'+_0x25814e(0x161)+_0x25814e(0x141)+'\x75\x65');_0x382606[_0x25814e(0xfa)](_0x25814e(0x16d)+_0x25814e(0x16a)+_0x25814e(0x10b));_0x3db674[_0x25814e(0xfa)](_0x25814e(0xe8)+_0x585996);_0x2ecc86['\x65\x72\x72\x6f\x72']('\x52\x75\x6e\x20\x22'+_0x2f2d75['\x6e\x61\x6d\x65']+('\x20\x2d\x2d\x68\x65\x6c\x70\x22\x20\x66'+'\x6f\x72\x20\x6d\x6f\x72\x65\x20\x69\x6e'+'\x66\x6f\x72\x6d\x61\x74\x69\x6f\x6e'));_0x3dab15[_0x25814e(0xca)](0x1);}}}if(_0x4d32e5[_0x25814e(0xd2)]){process.env.MCP_HTTP_PORT=_0x4d32e5[_0x25814e(0xd2)][_0x25814e(0x125)]();}if(_0x4d32e5[_0x25814e(0x183)+_0x25814e(0x16c)]){process.env.WORKSPACE_FOLDER_PATHS=_0x4d32e5[_0x25814e(0x183)+'\x61\x74\x68\x73'];}const {registerGlobalErrorHandlers:registerGlobalErrorHandlers,registerSignalHandlers:registerSignalHandlers}=await import('\x2e\x2f\x73\x72\x63\x2f\x6d\x63\x70\x2d'+'\x73\x65\x72\x76\x65\x72\x2e\x6a\x73');_0x4e5c71[_0x25814e(0x13e)](registerGlobalErrorHandlers);registerSignalHandlers();await setupServer(_0x3d5e9e);}}catch(_0x566af9){const _0xc5a014=createLogger();_0xc5a014[_0x25814e(0xfa)](_0x566af9,_0x4e5c71[_0x25814e(0xd6)]);await mcpServer[_0x25814e(0x184)]();process[_0x25814e(0xca)](0x1);}}main(process[a0_0x143dda(0xcd)][a0_0x143dda(0xf2)](0x2));
|
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x2bb17f=a0_0x5c2a;(function(_0xbd9db0,_0x593c00){const _0x12fde6=a0_0x5c2a;const _0x495470=_0xbd9db0();while(!![]){try{const _0x15fb36=-parseInt(_0x12fde6(0x1b0))/0x1+parseInt(_0x12fde6(0x1d8))/0x2+parseInt(_0x12fde6(0x1d7))/0x3*(-parseInt(_0x12fde6(0x1dc))/0x4)+-parseInt(_0x12fde6(0x1ca))/0x5*(parseInt(_0x12fde6(0x1d3))/0x6)+-parseInt(_0x12fde6(0x1cf))/0x7+-parseInt(_0x12fde6(0x1e1))/0x8*(-parseInt(_0x12fde6(0x1ba))/0x9)+parseInt(_0x12fde6(0x1d5))/0xa;if(_0x15fb36===_0x593c00){break;}else{_0x495470['push'](_0x495470['shift']());}}catch(_0x282416){_0x495470['push'](_0x495470['shift']());}}}(a0_0xbf85,0x90a6a));import a0_0x55baed from'\x73\x65\x6d\x76\x65\x72';import a0_0x5699a9 from'\x2e\x2f\x63\x6f\x6e\x66\x69\x67\x2e\x6a\x73';class Client{[a0_0x2bb17f(0x1b2)];[a0_0x2bb17f(0x1cc)+'\x65\x73'];[a0_0x2bb17f(0x1bb)+a0_0x2bb17f(0x1da)];[a0_0x2bb17f(0x1e2)]={};constructor(){const _0x1f10b0=a0_0x5c2a;this[_0x1f10b0(0x1b2)]={'\x6e\x61\x6d\x65':_0x1f10b0(0x1b7)};this[_0x1f10b0(0x1cc)+'\x65\x73']={};this[_0x1f10b0(0x1bb)+_0x1f10b0(0x1da)]='';}[a0_0x2bb17f(0x1d0)](_0x1d02ee={}){const _0x1ed125=a0_0x5c2a;this[_0x1ed125(0x1b2)]=_0x1d02ee?.[_0x1ed125(0x1b2)]||{'\x6e\x61\x6d\x65':_0x1ed125(0x1b7)};this[_0x1ed125(0x1cc)+'\x65\x73']=_0x1d02ee?.[_0x1ed125(0x1cc)+'\x65\x73']||{};this['\x70\x72\x6f\x74\x6f\x63\x6f\x6c\x56\x65'+_0x1ed125(0x1da)]=_0x1d02ee?.[_0x1ed125(0x1bb)+_0x1ed125(0x1da)]||'';}[a0_0x2bb17f(0x1c0)+a0_0x2bb17f(0x1be)](){const _0x15055e=a0_0x5c2a;const _0x2792ec={'\x45\x72\x66\x78\x79':_0x15055e(0x1d6)+_0x15055e(0x1b3),'\x4b\x6a\x45\x69\x75':'\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75'+'\x64\x69\x6f\x20\x43\x6f\x64\x65\x20\x2d'+_0x15055e(0x1b1)};const _0x27cd5a=this['\x63\x6c\x69\x65\x6e\x74\x49\x6e\x66\x6f']?.[_0x15055e(0x1d4)]||_0x15055e(0x1b7);const _0x516a85={'\x63\x75\x72\x73\x6f\x72\x2d\x76\x73\x63\x6f\x64\x65':'\x43\x75\x72\x73\x6f\x72','\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75\x64\x69\x6f\x20\x43\x6f\x64\x65':_0x2792ec[_0x15055e(0x1b9)],'\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75\x64\x69\x6f\x20\x43\x6f\x64\x65\x20\x2d\x20\x49\x6e\x73\x69\x64\x65\x72\x73':_0x2792ec['\x4b\x6a\x45\x69\x75'],'\x6d\x69\x63\x72\x6f\x73\x63\x6f\x70\x65':_0x15055e(0x1df)};return _0x516a85[_0x27cd5a]||_0x27cd5a;}[a0_0x2bb17f(0x1b5)+a0_0x2bb17f(0x1c4)](){const _0x1da2ee=a0_0x5c2a;return this[_0x1da2ee(0x1b2)]?.['\x76\x65\x72\x73\x69\x6f\x6e'];}['\x69\x73'](_0x4ea902){const _0x3a7384=a0_0x5c2a;if(!Array[_0x3a7384(0x1cb)](_0x4ea902)){_0x4ea902=[_0x4ea902];}const _0x315a8d=this[_0x3a7384(0x1c0)+'\x61\x6d\x65']()['\x74\x6f\x4c\x6f\x77\x65\x72\x43\x61\x73'+'\x65']();return _0x4ea902[_0x3a7384(0x1bc)](_0x138d89=>_0x315a8d[_0x3a7384(0x1c2)](_0x138d89[_0x3a7384(0x1af)+'\x65']()));}[a0_0x2bb17f(0x1de)+a0_0x2bb17f(0x1d9)](_0x4a28c2){const _0x192c44=a0_0x5c2a;const _0x37f5ab={'\x4a\x50\x4b\x62\x41':_0x192c44(0x1d6)+_0x192c44(0x1b3),'\x50\x55\x75\x67\x4f':_0x192c44(0x1d6)+'\x64\x69\x6f\x20\x43\x6f\x64\x65\x20\x2d'+'\x20\x49\x6e\x73\x69\x64\x65\x72\x73','\x6c\x54\x4b\x6b\x78':'\x65\x6d\x62\x65\x64\x64\x65\x64\x52\x65'+_0x192c44(0x1bd),'\x75\x49\x73\x46\x4f':_0x192c44(0x1dd),'\x58\x75\x6d\x4f\x6c':_0x192c44(0x1b8),'\x43\x77\x63\x6c\x52':function(_0x16332d,_0x205092){return _0x16332d(_0x205092);}};switch(_0x4a28c2){case'\x6c\x6f\x67\x67\x69\x6e\x67':return Boolean(this['\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69'+'\x65\x73']?.[_0x192c44(0x1e0)])||this['\x69\x73']([_0x37f5ab[_0x192c44(0x1d1)],'\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75'+'\x64\x69\x6f\x20\x43\x6f\x64\x65\x20\x2d'+_0x192c44(0x1b1)]);case'\x72\x65\x73\x6f\x75\x72\x63\x65\x73':return Boolean(this['\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69'+'\x65\x73']?.[_0x4a28c2])||this['\x69\x73']([_0x192c44(0x1d6)+_0x192c44(0x1b3),_0x37f5ab['\x50\x55\x75\x67\x4f'],_0x192c44(0x1dd)]);case _0x37f5ab[_0x192c44(0x1c9)]:return this['\x69\x73']([_0x192c44(0x1d6)+'\x64\x69\x6f\x20\x43\x6f\x64\x65',_0x37f5ab['\x50\x55\x75\x67\x4f'],_0x37f5ab[_0x192c44(0x1ae)]]);case _0x192c44(0x1c5)+_0x192c44(0x1d2):return this['\x69\x73'](['\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75'+_0x192c44(0x1b3),_0x192c44(0x1d6)+'\x64\x69\x6f\x20\x43\x6f\x64\x65\x20\x2d'+_0x192c44(0x1b1)])&&a0_0x55baed[_0x192c44(0x1bf)](this[_0x192c44(0x1b2)][_0x192c44(0x1c3)],_0x192c44(0x1db));case _0x192c44(0x1ce)+'\x6e':{if(a0_0x5699a9[_0x192c44(0x1c7)+_0x192c44(0x1c1)]){return![];}const _0x4ff2cc=this[_0x192c44(0x1cc)+'\x65\x73']?.[_0x4a28c2];if(!_0x4ff2cc){return![];}if(typeof _0x4ff2cc===_0x192c44(0x1b6)){if(_0x37f5ab[_0x192c44(0x1cd)]!=='\x61\x50\x64\x64\x64'){_0x5a8019=[_0x1677fe];}else{return Object['\x6b\x65\x79\x73'](_0x4ff2cc)[_0x192c44(0x1b4)]===0x0||Boolean(_0x4ff2cc[_0x192c44(0x1c8)]);}}return Boolean(_0x4ff2cc);}default:return _0x37f5ab[_0x192c44(0x1c6)](Boolean,this[_0x192c44(0x1cc)+'\x65\x73']?.[_0x4a28c2]);}}}function a0_0x5c2a(_0x34f02a,_0x63e83e){_0x34f02a=_0x34f02a-0x1ae;const _0xbf8504=a0_0xbf85();let _0x5c2ad3=_0xbf8504[_0x34f02a];if(a0_0x5c2a['\x62\x6c\x4b\x57\x74\x73']===undefined){var _0x3a1910=function(_0x1fd052){const _0x52e421='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x1c1e95='';let _0x43ef31='';for(let _0x39d275=0x0,_0x1b2654,_0x5215bc,_0x2b51e3=0x0;_0x5215bc=_0x1fd052['\x63\x68\x61\x72\x41\x74'](_0x2b51e3++);~_0x5215bc&&(_0x1b2654=_0x39d275%0x4?_0x1b2654*0x40+_0x5215bc:_0x5215bc,_0x39d275++%0x4)?_0x1c1e95+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x1b2654>>(-0x2*_0x39d275&0x6)):0x0){_0x5215bc=_0x52e421['\x69\x6e\x64\x65\x78\x4f\x66'](_0x5215bc);}for(let _0x18d53f=0x0,_0x20be13=_0x1c1e95['\x6c\x65\x6e\x67\x74\x68'];_0x18d53f<_0x20be13;_0x18d53f++){_0x43ef31+='\x25'+('\x30\x30'+_0x1c1e95['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x18d53f)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x43ef31);};a0_0x5c2a['\x70\x67\x56\x6a\x52\x6c']=_0x3a1910;a0_0x5c2a['\x44\x55\x6d\x50\x4f\x43']={};a0_0x5c2a['\x62\x6c\x4b\x57\x74\x73']=!![];}const _0xd1b674=_0xbf8504[0x0];const _0x46a1ca=_0x34f02a+_0xd1b674;const _0x941d7e=a0_0x5c2a['\x44\x55\x6d\x50\x4f\x43'][_0x46a1ca];if(!_0x941d7e){_0x5c2ad3=a0_0x5c2a['\x70\x67\x56\x6a\x52\x6c'](_0x5c2ad3);a0_0x5c2a['\x44\x55\x6d\x50\x4f\x43'][_0x46a1ca]=_0x5c2ad3;}else{_0x5c2ad3=_0x941d7e;}return _0x5c2ad3;}const client=new Client();function a0_0xbf85(){const _0x3ef8bf=['\x7a\x78\x6a\x5a\x41\x77\x39\x55','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x46\x42\x61','\x71\x33\x44\x4a\x42\x66\x69','\x7a\x67\x4c\x5a\x79\x77\x6a\x53\x7a\x75\x76\x53\x41\x71','\x7a\x4d\x39\x59\x42\x71','\x42\x66\x72\x6c\x41\x33\x47','\x6d\x74\x43\x31\x6f\x74\x47\x31\x75\x4c\x7a\x72\x43\x4d\x66\x6e','\x41\x78\x6e\x62\x43\x4e\x6a\x48\x45\x71','\x79\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x41\x71','\x77\x68\x76\x54\x74\x32\x57','\x7a\x77\x58\x50\x79\x32\x4c\x30\x79\x78\x72\x50\x42\x57','\x6e\x5a\x79\x5a\x6e\x64\x69\x30\x6f\x78\x6a\x62\x76\x4b\x54\x4f\x42\x47','\x41\x77\x35\x50\x44\x67\x4c\x48\x42\x67\x4c\x36\x7a\x71','\x73\x4c\x62\x6c\x79\x4b\x65','\x41\x77\x35\x52\x43\x57','\x6e\x4d\x76\x51\x77\x4d\x31\x49\x76\x71','\x42\x4d\x66\x54\x7a\x71','\x6d\x74\x65\x58\x6e\x64\x75\x33\x6d\x74\x62\x69\x74\x31\x50\x55\x72\x76\x61','\x76\x4d\x4c\x5a\x44\x77\x66\x53\x69\x66\x6e\x30\x44\x71','\x6d\x4a\x44\x52\x76\x65\x7a\x78\x76\x32\x47','\x6d\x4a\x65\x5a\x6f\x64\x71\x5a\x6d\x65\x6a\x53\x42\x4d\x58\x49\x41\x57','\x43\x67\x66\x49\x41\x77\x58\x50\x44\x68\x4b','\x43\x4e\x6e\x50\x42\x32\x34','\x6d\x73\x34\x58\x6d\x64\x6d\x55\x6d\x61','\x6e\x64\x4b\x59\x6e\x64\x69\x34\x71\x77\x4c\x6d\x44\x68\x44\x70','\x71\x33\x76\x59\x43\x32\x39\x59','\x43\x33\x76\x57\x43\x67\x39\x59\x44\x68\x6e\x64\x79\x71','\x74\x77\x4c\x64\x43\x4d\x39\x5a\x79\x32\x39\x71\x7a\x71','\x42\x67\x39\x4e\x7a\x32\x4c\x55\x7a\x57','\x6f\x74\x69\x30\x6d\x68\x44\x66\x73\x65\x58\x48\x41\x47','\x43\x4d\x39\x56\x44\x68\x6d','\x44\x75\x4c\x5a\x72\x4b\x38','\x44\x67\x39\x6d\x42\x33\x44\x4c\x43\x4b\x6e\x48\x43\x57','\x6d\x4a\x43\x34\x6d\x64\x79\x30\x41\x65\x7a\x48\x75\x76\x48\x74','\x69\x65\x4c\x55\x43\x32\x4c\x4b\x7a\x78\x6a\x5a','\x79\x32\x58\x50\x7a\x77\x35\x30\x73\x77\x35\x4d\x42\x57','\x7a\x67\x4c\x56\x69\x65\x6e\x56\x7a\x67\x75','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x7a\x32\x76\x30\x71\x32\x58\x50\x7a\x77\x35\x30\x76\x47','\x42\x32\x6a\x51\x7a\x77\x6e\x30','\x44\x77\x35\x52\x42\x4d\x39\x33\x42\x47','\x79\x76\x62\x4b\x7a\x67\x71','\x72\x78\x6a\x4d\x45\x68\x4b','\x6e\x5a\x65\x33\x6d\x31\x6a\x50\x77\x4d\x50\x63\x41\x61','\x43\x68\x6a\x56\x44\x67\x39\x4a\x42\x32\x58\x77\x7a\x71','\x43\x32\x39\x54\x7a\x71','\x43\x32\x39\x31\x43\x4d\x6e\x4c\x43\x57','\x79\x77\x31\x4c','\x7a\x33\x72\x4c','\x7a\x32\x76\x30\x71\x32\x58\x50\x7a\x77\x35\x30\x74\x47','\x79\x32\x4c\x30\x79\x78\x72\x50\x42\x32\x34','\x41\x77\x35\x4a\x42\x68\x76\x4b\x7a\x78\x6d','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47'];a0_0xbf85=function(){return _0x3ef8bf;};return a0_0xbf85();}export default client;
|
package/src/config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function a0_0x33cf(){const _0x11e86d=['\x6c\x63\x62\x4b\x7a\x78\x62\x53\x42\x33\x4c\x50\x42\x47','\x42\x73\x31\x5a\x79\x77\x58\x4c\x43\x32\x7a\x56\x43\x47','\x79\x33\x76\x30\x7a\x73\x62\x65\x74\x75\x57\x53\x69\x61','\x45\x68\x71\x47\x74\x75\x6e\x71\x69\x66\x6e\x4c\x43\x47','\x44\x67\x76\x59\x79\x77\x6e\x30\x69\x68\x44\x50\x44\x61','\x44\x67\x76\x34\x44\x61','\x79\x32\x39\x54\x6c\x33\x72\x4c\x42\x67\x76\x54\x7a\x71','\x43\x33\x6e\x31\x7a\x71','\x44\x67\x31\x57','\x44\x68\x6a\x35','\x43\x59\x39\x59\x7a\x78\x62\x56\x43\x4e\x71\x54\x41\x71','\x7a\x77\x35\x30\x69\x67\x6e\x56\x7a\x67\x76\x49\x79\x71','\x6f\x64\x61\x31\x73\x32\x58\x77\x41\x77\x54\x6d','\x73\x75\x6a\x6e\x69\x66\x6e\x48\x42\x67\x76\x5a\x7a\x47','\x42\x67\x39\x4a\x79\x77\x57\x47\x71\x78\x62\x4c\x45\x61','\x43\x32\x75\x47\x79\x32\x48\x48\x42\x4d\x44\x4c\x43\x57','\x42\x49\x57\x47\x75\x30\x39\x72\x74\x63\x62\x59\x7a\x71','\x7a\x4d\x66\x53\x43\x32\x75','\x69\x68\x6e\x4a\x43\x4d\x4c\x57\x44\x68\x6d\x47\x79\x71','\x42\x33\x6a\x4a\x7a\x73\x62\x64\x42\x32\x35\x30\x7a\x71','\x6e\x5a\x75\x57\x6f\x64\x71\x5a\x79\x30\x6a\x41\x75\x4e\x6a\x73','\x69\x68\x72\x48\x43\x32\x54\x5a\x6c\x47','\x6d\x4a\x47\x31\x6f\x74\x43\x33\x6d\x4c\x6e\x73\x73\x30\x72\x48\x71\x57','\x6e\x74\x61\x34\x6f\x74\x48\x4b\x44\x77\x4c\x77\x74\x32\x6d','\x41\x68\x72\x30\x43\x68\x6d\x36\x6c\x59\x39\x50\x79\x47','\x7a\x33\x6d\x53\x69\x68\x72\x56\x69\x67\x76\x34\x7a\x71','\x6d\x5a\x75\x31\x6e\x64\x61\x30\x44\x78\x7a\x6c\x75\x78\x76\x68','\x43\x68\x61\x56\x6c\x4d\x35\x4c\x44\x67\x58\x50\x7a\x47','\x44\x68\x6a\x31\x7a\x71','\x43\x59\x39\x4f\x79\x77\x35\x4b\x43\x32\x48\x48\x41\x57','\x43\x33\x76\x53\x44\x68\x6d\x53\x69\x67\x39\x49\x41\x47','\x6e\x64\x79\x33\x6e\x5a\x75\x57\x6e\x66\x66\x31\x73\x77\x4c\x4c\x42\x71','\x44\x4d\x76\x59\x69\x67\x66\x53\x42\x67\x39\x33\x43\x57','\x6c\x4d\x35\x4c\x44\x67\x58\x50\x7a\x4e\x4b\x55\x79\x71','\x6e\x32\x66\x55\x77\x67\x6e\x79\x74\x71','\x6e\x64\x72\x36\x41\x32\x48\x78\x76\x66\x71','\x6e\x5a\x47\x59\x6d\x64\x66\x78\x71\x32\x48\x49\x76\x32\x38','\x7a\x77\x6e\x30\x69\x68\x6e\x4a\x41\x67\x76\x54\x79\x71','\x6f\x66\x76\x65\x45\x76\x6a\x66\x79\x71','\x43\x4d\x4c\x4c\x44\x4d\x75\x47\x42\x33\x6a\x4e\x69\x61','\x6c\x4d\x39\x55\x43\x4d\x76\x55\x7a\x67\x76\x59\x6c\x47','\x79\x32\x75\x54\x79\x32\x39\x55\x44\x67\x76\x34\x44\x61','\x6c\x63\x62\x4b\x7a\x77\x6a\x31\x7a\x59\x62\x53\x42\x57','\x42\x33\x6a\x4e\x69\x68\x72\x56\x69\x68\x6a\x4c\x44\x61','\x45\x73\x39\x4d\x44\x77\x35\x4a\x44\x67\x4c\x56\x42\x47','\x41\x77\x35\x4d\x42\x33\x6a\x54\x79\x78\x72\x50\x42\x57','\x43\x67\x66\x59\x43\x32\x76\x6a\x42\x4e\x71','\x6f\x74\x65\x57\x72\x77\x44\x7a\x41\x32\x50\x57','\x6e\x5a\x75\x35\x6d\x64\x75\x34\x6e\x65\x48\x4d\x42\x75\x76\x36\x73\x71','\x38\x6a\x2b\x72\x47\x46\x63\x46\x4b\x6a\x33\x49\x4b\x34\x6c\x56\x55\x69\x38','\x41\x63\x62\x35\x42\x33\x76\x59\x69\x66\x6e\x4d\x69\x61'];a0_0x33cf=function(){return _0x11e86d;};return a0_0x33cf();}const a0_0x2114e3=a0_0x5d12;function a0_0x5d12(_0x18c52d,_0x4257a3){_0x18c52d=_0x18c52d-0x132;const _0x33cfe5=a0_0x33cf();let _0x5d12b6=_0x33cfe5[_0x18c52d];if(a0_0x5d12['\x48\x69\x62\x42\x4b\x76']===undefined){var _0x546902=function(_0x79ba09){const _0xddf4c4='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x51c1ee='';let _0x4439ef='';for(let _0x56ccd8=0x0,_0x362b5d,_0xa54ac7,_0x15bc3d=0x0;_0xa54ac7=_0x79ba09['\x63\x68\x61\x72\x41\x74'](_0x15bc3d++);~_0xa54ac7&&(_0x362b5d=_0x56ccd8%0x4?_0x362b5d*0x40+_0xa54ac7:_0xa54ac7,_0x56ccd8++%0x4)?_0x51c1ee+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x362b5d>>(-0x2*_0x56ccd8&0x6)):0x0){_0xa54ac7=_0xddf4c4['\x69\x6e\x64\x65\x78\x4f\x66'](_0xa54ac7);}for(let _0x1a0f7a=0x0,_0x227540=_0x51c1ee['\x6c\x65\x6e\x67\x74\x68'];_0x1a0f7a<_0x227540;_0x1a0f7a++){_0x4439ef+='\x25'+('\x30\x30'+_0x51c1ee['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x1a0f7a)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x4439ef);};a0_0x5d12['\x4f\x6c\x53\x58\x72\x79']=_0x546902;a0_0x5d12['\x58\x6e\x67\x79\x56\x61']={};a0_0x5d12['\x48\x69\x62\x42\x4b\x76']=!![];}const _0x5612a2=_0x33cfe5[0x0];const _0x304702=_0x18c52d+_0x5612a2;const _0x131277=a0_0x5d12['\x58\x6e\x67\x79\x56\x61'][_0x304702];if(!_0x131277){_0x5d12b6=a0_0x5d12['\x4f\x6c\x53\x58\x72\x79'](_0x5d12b6);a0_0x5d12['\x58\x6e\x67\x79\x56\x61'][_0x304702]=_0x5d12b6;}else{_0x5d12b6=_0x131277;}return _0x5d12b6;}(function(_0x1b3241,_0x30b4b4){const _0x501d3d=a0_0x5d12;const _0xdf0ab=_0x1b3241();while(!![]){try{const _0x542a57=parseInt(_0x501d3d(0x139))/0x1+parseInt(_0x501d3d(0x13b))/0x2+parseInt(_0x501d3d(0x13f))/0x3*(parseInt(_0x501d3d(0x14b))/0x4)+-parseInt(_0x501d3d(0x164))/0x5*(parseInt(_0x501d3d(0x13c))/0x6)+-parseInt(_0x501d3d(0x147))/0x7*(parseInt(_0x501d3d(0x155))/0x8)+parseInt(_0x501d3d(0x149))/0x9*(-parseInt(_0x501d3d(0x154))/0xa)+-parseInt(_0x501d3d(0x148))/0xb*(-parseInt(_0x501d3d(0x144))/0xc);if(_0x542a57===_0x30b4b4){break;}else{_0xdf0ab['push'](_0xdf0ab['shift']());}}catch(_0xce14){_0xdf0ab['push'](_0xdf0ab['shift']());}}}(a0_0x33cf,0xd4c7c));import{createRequire}from'\x6e\x6f\x64\x65\x3a\x6d\x6f\x64\x75\x6c\x65';const require=createRequire(import.meta.url);const pkg=require('\x2e\x2e\x2f\x70\x61\x63\x6b\x61\x67\x65'+'\x2e\x6a\x73\x6f\x6e');export default{'\x6c\x6f\x67\x50\x72\x65\x66\x69\x78':a0_0x2114e3(0x156),'\x64\x65\x66\x61\x75\x6c\x74\x4c\x6f\x67\x4c\x65\x76\x65\x6c':'\x64\x65\x62\x75\x67','\x62\x79\x70\x61\x73\x73\x48\x61\x6e\x64\x73\x68\x61\x6b\x65\x56\x61\x6c\x69\x64\x61\x74\x69\x6f\x6e':!![],'\x62\x79\x70\x61\x73\x73\x55\x73\x65\x72\x50\x65\x72\x6d\x69\x73\x73\x69\x6f\x6e\x73\x56\x61\x6c\x69\x64\x61\x74\x69\x6f\x6e':!![],'\x64\x69\x73\x61\x62\x6c\x65\x45\x6c\x69\x63\x69\x74\x61\x74\x69\x6f\x6e':process.env.DISABLE_ELICITATION===a0_0x2114e3(0x141),'\x6d\x63\x70\x41\x70\x70\x73\x45\x6e\x61\x62\x6c\x65\x64':process.env.MCP_APPS_ENABLED!=='\x66\x61\x6c\x73\x65','\x6d\x63\x70\x41\x70\x70\x73\x54\x6f\x6f\x6c\x45\x6e\x61\x62\x6c\x65\x64':{'\x67\x65\x74\x5f\x72\x65\x63\x6f\x72\x64':![]},'\x74\x65\x6d\x70\x44\x69\x72':{'\x62\x61\x73\x65\x53\x75\x62\x64\x69\x72':a0_0x2114e3(0x160),'\x72\x65\x74\x65\x6e\x74\x69\x6f\x6e\x44\x61\x79\x73':0x7},'\x61\x70\x69\x43\x61\x63\x68\x65':{'\x65\x6e\x61\x62\x6c\x65\x64':!![],'\x63\x61\x63\x68\x65\x47\x65\x74':!![],'\x64\x65\x66\x61\x75\x6c\x74\x54\x74\x6c\x4d\x73':0x2710,'\x6d\x61\x78\x45\x6e\x74\x72\x69\x65\x73':0xc8,'\x69\x6e\x76\x61\x6c\x69\x64\x61\x74\x65\x4f\x6e\x57\x72\x69\x74\x65':!![]},'\x72\x65\x73\x6f\x75\x72\x63\x65\x73':{'\x6d\x61\x78\x52\x65\x73\x6f\x75\x72\x63\x65\x73':0x1e},'\x73\x65\x72\x76\x65\x72\x43\x6f\x6e\x73\x74\x61\x6e\x74\x73':{'\x70\x72\x6f\x74\x6f\x63\x6f\x6c\x56\x65\x72\x73\x69\x6f\x6e':'\x32\x30\x32\x35\x2d\x31\x31\x2d\x32\x35','\x73\x65\x72\x76\x65\x72\x49\x6e\x66\x6f':{'\x6e\x61\x6d\x65':a0_0x2114e3(0x132)+a0_0x2114e3(0x138)+'\x78\x74','\x61\x6c\x69\x61\x73':'\x69\x62\x6d\x2d\x73\x66\x2d\x63\x6f\x6e'+a0_0x2114e3(0x15d),'\x76\x65\x72\x73\x69\x6f\x6e':pkg['\x76\x65\x72\x73\x69\x6f\x6e'],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x2114e3(0x132)+'\x6f\x72\x63\x65\x20\x43\x6f\x6e\x74\x65'+a0_0x2114e3(0x15b)+a0_0x2114e3(0x145)+'\x20\x79\x6f\x75\x20\x74\x6f\x20\x69\x6e'+a0_0x2114e3(0x15c)+a0_0x2114e3(0x157)+a0_0x2114e3(0x150)+a0_0x2114e3(0x14c)+a0_0x2114e3(0x152)+a0_0x2114e3(0x135)+a0_0x2114e3(0x143)+a0_0x2114e3(0x14a)+'\x20\x69\x6e\x66\x6f\x2c\x20\x72\x65\x63'+a0_0x2114e3(0x163)+a0_0x2114e3(0x134)+a0_0x2114e3(0x14f)+a0_0x2114e3(0x13e)+a0_0x2114e3(0x15a)+a0_0x2114e3(0x133)+a0_0x2114e3(0x137)+'\x6e\x64\x20\x72\x65\x6d\x6f\x74\x65\x20'+'\x41\x70\x65\x78\x20\x74\x65\x73\x74\x73'+a0_0x2114e3(0x158)+'\x67\x20\x6d\x65\x74\x61\x64\x61\x74\x61'+'\x20\x61\x6e\x64\x20\x6f\x74\x68\x65\x72'+a0_0x2114e3(0x13a)},'\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69\x65\x73':{'\x6c\x6f\x67\x67\x69\x6e\x67':{},'\x72\x65\x73\x6f\x75\x72\x63\x65\x73':{'\x6c\x69\x73\x74\x43\x68\x61\x6e\x67\x65\x64':!![]},'\x74\x6f\x6f\x6c\x73':{},'\x70\x72\x6f\x6d\x70\x74\x73':{},'\x63\x6f\x6d\x70\x6c\x65\x74\x69\x6f\x6e\x73':{}}},'\x6c\x6f\x67\x69\x6e\x55\x72\x6c':a0_0x2114e3(0x13d)+a0_0x2114e3(0x159)+'\x63\x65\x2d\x63\x6f\x6e\x74\x65\x78\x74'+'\x2e\x6e\x65\x74\x6c\x69\x66\x79\x2e\x61'+a0_0x2114e3(0x140)+'\x79\x2f\x66\x75\x6e\x63\x74\x69\x6f\x6e'+a0_0x2114e3(0x142)+'\x65','\x69\x73\x73\x75\x65\x52\x65\x70\x6f\x72\x74\x69\x6e\x67':{'\x77\x65\x62\x68\x6f\x6f\x6b\x55\x72\x6c':a0_0x2114e3(0x13d)+a0_0x2114e3(0x159)+'\x63\x65\x2d\x63\x6f\x6e\x74\x65\x78\x74'+a0_0x2114e3(0x146)+a0_0x2114e3(0x140)+a0_0x2114e3(0x151)+a0_0x2114e3(0x162)+a0_0x2114e3(0x15f)},'\x73\x74\x72\x69\x63\x74\x53\x73\x6c':process.env.STRICT_SSL!=='\x66\x61\x6c\x73\x65','\x74\x65\x6c\x65\x6d\x65\x74\x72\x79':{'\x65\x6e\x61\x62\x6c\x65\x64':process.env.TELEMETRY_ENABLED!==a0_0x2114e3(0x136),'\x65\x6e\x64\x70\x6f\x69\x6e\x74':process.env.TELEMETRY_ENDPOINT||a0_0x2114e3(0x13d)+'\x6d\x2d\x73\x61\x6c\x65\x73\x66\x6f\x72'+a0_0x2114e3(0x14e)+'\x2d\x74\x65\x6c\x65\x6d\x65\x74\x72\x79'+a0_0x2114e3(0x14d)+a0_0x2114e3(0x15e)+a0_0x2114e3(0x161),'\x74\x69\x6d\x65\x6f\x75\x74':Number[a0_0x2114e3(0x153)](process.env.TELEMETRY_TIMEOUT,0xa)||0x7d0,'\x73\x63\x68\x65\x6d\x61\x56\x65\x72\x73\x69\x6f\x6e':process.env.TELEMETRY_SCHEMA_VERSION||'\x32','\x65\x76\x65\x6e\x74\x73':{'\x74\x6f\x6f\x6c':{'\x65\x78\x65\x63\x75\x74\x69\x6f\x6e':!![],'\x76\x61\x6c\x69\x64\x61\x74\x69\x6f\x6e':!![]},'\x73\x65\x73\x73\x69\x6f\x6e':{'\x73\x65\x72\x76\x65\x72\x5f\x62\x6f\x6f\x74':![],'\x63\x6c\x69\x65\x6e\x74\x5f\x63\x6f\x6e\x6e\x65\x63\x74':![],'\x73\x65\x73\x73\x69\x6f\x6e\x5f\x73\x74\x61\x72\x74':!![],'\x73\x65\x73\x73\x69\x6f\x6e\x5f\x65\x6e\x64':!![],'\x63\x6c\x69\x65\x6e\x74\x5f\x64\x69\x73\x63\x6f\x6e\x6e\x65\x63\x74':![],'\x73\x65\x72\x76\x65\x72\x5f\x73\x68\x75\x74\x64\x6f\x77\x6e':![]},'\x67\x65\x6e\x65\x72\x61\x6c':{'\x65\x72\x72\x6f\x72\x5f\x6f\x63\x63\x75\x72\x72\x65\x64':!![]}}}};
|
|
1
|
+
const a0_0x51bff9=a0_0x13c6;(function(_0x64e19b,_0x3e36e0){const _0x28d9ab=a0_0x13c6;const _0x383214=_0x64e19b();while(!![]){try{const _0x2d3a7c=parseInt(_0x28d9ab(0x17b))/0x1+parseInt(_0x28d9ab(0x180))/0x2+-parseInt(_0x28d9ab(0x16b))/0x3+-parseInt(_0x28d9ab(0x190))/0x4*(-parseInt(_0x28d9ab(0x160))/0x5)+-parseInt(_0x28d9ab(0x183))/0x6*(-parseInt(_0x28d9ab(0x18e))/0x7)+-parseInt(_0x28d9ab(0x18d))/0x8+-parseInt(_0x28d9ab(0x178))/0x9;if(_0x2d3a7c===_0x3e36e0){break;}else{_0x383214['push'](_0x383214['shift']());}}catch(_0x102390){_0x383214['push'](_0x383214['shift']());}}}(a0_0x4bc8,0xc8519));function a0_0x13c6(_0x23e017,_0x27cca5){_0x23e017=_0x23e017-0x15d;const _0x4bc800=a0_0x4bc8();let _0x13c692=_0x4bc800[_0x23e017];if(a0_0x13c6['\x68\x6e\x73\x63\x52\x66']===undefined){var _0x4838ee=function(_0x20b2a3){const _0xd4b19a='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x4c596d='';let _0x3991bf='';for(let _0x32c0c2=0x0,_0xd808b8,_0x430651,_0x590712=0x0;_0x430651=_0x20b2a3['\x63\x68\x61\x72\x41\x74'](_0x590712++);~_0x430651&&(_0xd808b8=_0x32c0c2%0x4?_0xd808b8*0x40+_0x430651:_0x430651,_0x32c0c2++%0x4)?_0x4c596d+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0xd808b8>>(-0x2*_0x32c0c2&0x6)):0x0){_0x430651=_0xd4b19a['\x69\x6e\x64\x65\x78\x4f\x66'](_0x430651);}for(let _0x2323c4=0x0,_0x6fe89b=_0x4c596d['\x6c\x65\x6e\x67\x74\x68'];_0x2323c4<_0x6fe89b;_0x2323c4++){_0x3991bf+='\x25'+('\x30\x30'+_0x4c596d['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x2323c4)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x3991bf);};a0_0x13c6['\x6f\x4f\x66\x57\x59\x7a']=_0x4838ee;a0_0x13c6['\x4e\x57\x44\x41\x65\x4f']={};a0_0x13c6['\x68\x6e\x73\x63\x52\x66']=!![];}const _0x21671d=_0x4bc800[0x0];const _0x266c5c=_0x23e017+_0x21671d;const _0xa3074d=a0_0x13c6['\x4e\x57\x44\x41\x65\x4f'][_0x266c5c];if(!_0xa3074d){_0x13c692=a0_0x13c6['\x6f\x4f\x66\x57\x59\x7a'](_0x13c692);a0_0x13c6['\x4e\x57\x44\x41\x65\x4f'][_0x266c5c]=_0x13c692;}else{_0x13c692=_0xa3074d;}return _0x13c692;}import{createRequire}from'\x6e\x6f\x64\x65\x3a\x6d\x6f\x64\x75\x6c\x65';const require=createRequire(import.meta.url);const pkg=require(a0_0x51bff9(0x192)+a0_0x51bff9(0x166));function a0_0x4bc8(){const _0x230793=['\x6c\x4d\x35\x4c\x44\x67\x58\x50\x7a\x4e\x4b\x55\x79\x71','\x42\x33\x6a\x4e\x69\x68\x72\x56\x69\x68\x6a\x4c\x44\x61','\x6e\x64\x65\x31\x6f\x74\x71\x31\x76\x4b\x50\x70\x45\x76\x62\x36','\x41\x68\x72\x30\x43\x68\x6d\x36\x6c\x59\x39\x50\x79\x47','\x43\x33\x76\x53\x44\x68\x6d\x53\x69\x67\x39\x49\x41\x47','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x41\x63\x62\x35\x42\x33\x76\x59\x69\x66\x6e\x4d\x69\x61','\x42\x33\x6a\x4a\x7a\x73\x62\x64\x42\x32\x35\x30\x7a\x71','\x6c\x4d\x50\x5a\x42\x32\x34','\x71\x78\x62\x4c\x45\x63\x62\x30\x7a\x78\x6e\x30\x43\x57','\x44\x67\x76\x59\x79\x77\x6e\x30\x69\x68\x44\x50\x44\x61','\x6d\x4a\x61\x59\x6e\x73\x30\x58\x6d\x73\x30\x59\x6e\x71','\x43\x59\x39\x4f\x79\x77\x35\x4b\x43\x32\x48\x48\x41\x57','\x6d\x5a\x75\x59\x6f\x74\x47\x32\x6f\x76\x44\x77\x43\x4b\x72\x49\x74\x61','\x43\x32\x75\x47\x79\x32\x48\x48\x42\x4d\x44\x4c\x43\x57','\x79\x32\x75\x54\x79\x32\x39\x55\x44\x67\x76\x34\x44\x61','\x6c\x78\x72\x4c\x42\x67\x76\x54\x7a\x78\x72\x59\x45\x71','\x43\x33\x6e\x31\x7a\x71','\x44\x67\x76\x34\x44\x61','\x43\x4d\x4c\x4c\x44\x4d\x75\x47\x42\x33\x6a\x4e\x69\x61','\x38\x6a\x2b\x72\x47\x46\x63\x46\x4b\x6a\x33\x49\x4b\x34\x6c\x56\x55\x69\x38','\x69\x68\x72\x48\x43\x32\x54\x5a\x6c\x47','\x79\x33\x76\x30\x7a\x73\x62\x65\x74\x75\x57\x53\x69\x61','\x6c\x63\x62\x4b\x7a\x78\x62\x53\x42\x33\x4c\x50\x42\x47','\x44\x68\x6a\x35','\x69\x67\x4c\x55\x7a\x4d\x38\x53\x69\x68\x6a\x4c\x79\x57','\x6f\x74\x71\x5a\x6e\x74\x79\x57\x75\x31\x66\x6c\x42\x31\x4c\x78','\x44\x4d\x76\x59\x69\x67\x66\x53\x42\x67\x39\x33\x43\x57','\x7a\x67\x76\x49\x44\x77\x43','\x6d\x5a\x71\x57\x6d\x64\x43\x34\x45\x78\x6e\x77\x44\x66\x62\x4a','\x7a\x77\x35\x30\x69\x67\x6e\x56\x7a\x67\x76\x49\x79\x71','\x45\x73\x39\x4d\x44\x77\x35\x4a\x44\x67\x4c\x56\x42\x47','\x45\x68\x71\x47\x74\x75\x6e\x71\x69\x66\x6e\x4c\x43\x47','\x79\x32\x39\x54\x6c\x33\x72\x4c\x42\x67\x76\x54\x7a\x71','\x6d\x4a\x65\x57\x6f\x74\x71\x32\x74\x78\x44\x34\x71\x77\x4c\x5a','\x6c\x4d\x39\x55\x43\x4d\x76\x55\x7a\x67\x76\x59\x6c\x47','\x69\x68\x6e\x4a\x43\x4d\x4c\x57\x44\x68\x6d\x47\x79\x71','\x6e\x4c\x66\x65\x71\x4e\x7a\x6e\x41\x47','\x42\x73\x31\x5a\x79\x77\x58\x4c\x43\x32\x7a\x56\x43\x47','\x43\x59\x39\x59\x7a\x78\x62\x56\x43\x4e\x71\x54\x41\x71','\x7a\x4d\x66\x53\x43\x32\x75','\x73\x75\x6a\x6e\x69\x66\x6e\x48\x42\x67\x76\x5a\x7a\x47','\x7a\x77\x6e\x30\x69\x68\x6e\x4a\x41\x67\x76\x54\x79\x71','\x69\x67\x66\x55\x7a\x63\x62\x56\x44\x67\x48\x4c\x43\x47','\x43\x67\x66\x59\x43\x32\x76\x6a\x42\x4e\x71','\x44\x67\x31\x57','\x43\x68\x61\x56\x6c\x4d\x35\x4c\x44\x67\x58\x50\x7a\x47','\x6d\x5a\x71\x31\x6e\x74\x69\x59\x6e\x66\x6a\x32\x71\x32\x44\x76\x73\x57','\x6f\x74\x4b\x31\x6f\x74\x79\x31\x6e\x4b\x48\x41\x73\x78\x48\x54\x42\x47','\x69\x68\x4c\x56\x44\x73\x62\x30\x42\x59\x62\x50\x42\x47','\x6d\x5a\x6a\x54\x77\x78\x7a\x57\x7a\x78\x4f','\x42\x4d\x71\x47\x43\x4d\x76\x54\x42\x33\x72\x4c\x69\x61','\x6c\x49\x34\x56\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x71','\x41\x77\x6a\x54\x6c\x78\x6e\x4d\x6c\x77\x6e\x56\x42\x47','\x7a\x33\x6d\x53\x69\x68\x72\x56\x69\x67\x76\x34\x7a\x71'];a0_0x4bc8=function(){return _0x230793;};return a0_0x4bc8();}export default{'\x6c\x6f\x67\x50\x72\x65\x66\x69\x78':a0_0x51bff9(0x172),'\x64\x65\x66\x61\x75\x6c\x74\x4c\x6f\x67\x4c\x65\x76\x65\x6c':a0_0x51bff9(0x17a),'\x62\x79\x70\x61\x73\x73\x48\x61\x6e\x64\x73\x68\x61\x6b\x65\x56\x61\x6c\x69\x64\x61\x74\x69\x6f\x6e':!![],'\x62\x79\x70\x61\x73\x73\x55\x73\x65\x72\x50\x65\x72\x6d\x69\x73\x73\x69\x6f\x6e\x73\x56\x61\x6c\x69\x64\x61\x74\x69\x6f\x6e':!![],'\x64\x69\x73\x61\x62\x6c\x65\x45\x6c\x69\x63\x69\x74\x61\x74\x69\x6f\x6e':process.env.DISABLE_ELICITATION==='\x74\x72\x75\x65','\x6d\x63\x70\x41\x70\x70\x73\x45\x6e\x61\x62\x6c\x65\x64':process.env.MCP_APPS_ENABLED!==a0_0x51bff9(0x186),'\x6d\x63\x70\x41\x70\x70\x73\x54\x6f\x6f\x6c\x45\x6e\x61\x62\x6c\x65\x64':{'\x67\x65\x74\x5f\x72\x65\x63\x6f\x72\x64':![]},'\x74\x65\x6d\x70\x44\x69\x72':{'\x62\x61\x73\x65\x53\x75\x62\x64\x69\x72':a0_0x51bff9(0x18b),'\x72\x65\x74\x65\x6e\x74\x69\x6f\x6e\x44\x61\x79\x73':0x7},'\x61\x70\x69\x43\x61\x63\x68\x65':{'\x65\x6e\x61\x62\x6c\x65\x64':!![],'\x63\x61\x63\x68\x65\x47\x65\x74':!![],'\x64\x65\x66\x61\x75\x6c\x74\x54\x74\x6c\x4d\x73':0x2710,'\x6d\x61\x78\x45\x6e\x74\x72\x69\x65\x73':0xc8,'\x69\x6e\x76\x61\x6c\x69\x64\x61\x74\x65\x4f\x6e\x57\x72\x69\x74\x65':!![]},'\x72\x65\x73\x6f\x75\x72\x63\x65\x73':{'\x6d\x61\x78\x52\x65\x73\x6f\x75\x72\x63\x65\x73':0x1e},'\x73\x65\x72\x76\x65\x72\x43\x6f\x6e\x73\x74\x61\x6e\x74\x73':{'\x70\x72\x6f\x74\x6f\x63\x6f\x6c\x56\x65\x72\x73\x69\x6f\x6e':a0_0x51bff9(0x169),'\x73\x65\x72\x76\x65\x72\x49\x6e\x66\x6f':{'\x6e\x61\x6d\x65':a0_0x51bff9(0x187)+a0_0x51bff9(0x165)+'\x78\x74','\x61\x6c\x69\x61\x73':a0_0x51bff9(0x193)+a0_0x51bff9(0x170),'\x76\x65\x72\x73\x69\x6f\x6e':pkg[a0_0x51bff9(0x163)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x51bff9(0x187)+a0_0x51bff9(0x165)+a0_0x51bff9(0x17e)+a0_0x51bff9(0x179)+a0_0x51bff9(0x18f)+a0_0x51bff9(0x168)+a0_0x51bff9(0x164)+a0_0x51bff9(0x15f)+a0_0x51bff9(0x171)+'\x69\x6e\x66\x6f\x72\x6d\x61\x74\x69\x6f'+'\x6e\x2c\x20\x53\x4f\x51\x4c\x20\x72\x65'+a0_0x51bff9(0x162)+a0_0x51bff9(0x188)+a0_0x51bff9(0x177)+a0_0x51bff9(0x17c)+a0_0x51bff9(0x16c)+'\x2c\x20\x64\x65\x62\x75\x67\x20\x6c\x6f'+a0_0x51bff9(0x15d)+a0_0x51bff9(0x174)+'\x6c\x6f\x63\x61\x6c\x20\x41\x70\x65\x78'+a0_0x51bff9(0x182)+a0_0x51bff9(0x191)+a0_0x51bff9(0x167)+a0_0x51bff9(0x175)+'\x67\x20\x6d\x65\x74\x61\x64\x61\x74\x61'+a0_0x51bff9(0x189)+a0_0x51bff9(0x173)},'\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69\x65\x73':{'\x6c\x6f\x67\x67\x69\x6e\x67':{},'\x72\x65\x73\x6f\x75\x72\x63\x65\x73':{'\x6c\x69\x73\x74\x43\x68\x61\x6e\x67\x65\x64':!![]},'\x74\x6f\x6f\x6c\x73':{},'\x70\x72\x6f\x6d\x70\x74\x73':{},'\x63\x6f\x6d\x70\x6c\x65\x74\x69\x6f\x6e\x73':{}}},'\x6c\x6f\x67\x69\x6e\x55\x72\x6c':a0_0x51bff9(0x161)+a0_0x51bff9(0x184)+a0_0x51bff9(0x16d)+a0_0x51bff9(0x15e)+'\x70\x70\x2f\x2e\x6e\x65\x74\x6c\x69\x66'+'\x79\x2f\x66\x75\x6e\x63\x74\x69\x6f\x6e'+a0_0x51bff9(0x16a)+'\x65','\x69\x73\x73\x75\x65\x52\x65\x70\x6f\x72\x74\x69\x6e\x67':{'\x77\x65\x62\x68\x6f\x6f\x6b\x55\x72\x6c':a0_0x51bff9(0x161)+a0_0x51bff9(0x184)+a0_0x51bff9(0x16d)+a0_0x51bff9(0x15e)+a0_0x51bff9(0x18c)+a0_0x51bff9(0x17d)+a0_0x51bff9(0x185)+a0_0x51bff9(0x16f)},'\x73\x74\x72\x69\x63\x74\x53\x73\x6c':process.env.STRICT_SSL!==a0_0x51bff9(0x186),'\x74\x65\x6c\x65\x6d\x65\x74\x72\x79':{'\x65\x6e\x61\x62\x6c\x65\x64':process.env.TELEMETRY_ENABLED!=='\x66\x61\x6c\x73\x65','\x65\x6e\x64\x70\x6f\x69\x6e\x74':process.env.TELEMETRY_ENDPOINT||'\x68\x74\x74\x70\x73\x3a\x2f\x2f\x69\x62'+a0_0x51bff9(0x184)+a0_0x51bff9(0x16d)+a0_0x51bff9(0x16e)+a0_0x51bff9(0x181)+a0_0x51bff9(0x17f)+a0_0x51bff9(0x176),'\x74\x69\x6d\x65\x6f\x75\x74':Number[a0_0x51bff9(0x18a)](process.env.TELEMETRY_TIMEOUT,0xa)||0x7d0,'\x73\x63\x68\x65\x6d\x61\x56\x65\x72\x73\x69\x6f\x6e':process.env.TELEMETRY_SCHEMA_VERSION||'\x32','\x65\x76\x65\x6e\x74\x73':{'\x74\x6f\x6f\x6c':{'\x65\x78\x65\x63\x75\x74\x69\x6f\x6e':!![],'\x76\x61\x6c\x69\x64\x61\x74\x69\x6f\x6e':!![]},'\x73\x65\x73\x73\x69\x6f\x6e':{'\x73\x65\x72\x76\x65\x72\x5f\x62\x6f\x6f\x74':![],'\x63\x6c\x69\x65\x6e\x74\x5f\x63\x6f\x6e\x6e\x65\x63\x74':![],'\x73\x65\x73\x73\x69\x6f\x6e\x5f\x73\x74\x61\x72\x74':!![],'\x73\x65\x73\x73\x69\x6f\x6e\x5f\x65\x6e\x64':!![],'\x63\x6c\x69\x65\x6e\x74\x5f\x64\x69\x73\x63\x6f\x6e\x6e\x65\x63\x74':![],'\x73\x65\x72\x76\x65\x72\x5f\x73\x68\x75\x74\x64\x6f\x77\x6e':![]},'\x67\x65\x6e\x65\x72\x61\x6c':{'\x65\x72\x72\x6f\x72\x5f\x6f\x63\x63\x75\x72\x72\x65\x64':!![]}}}};
|
package/src/lib/OrgWatcher.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x51bc45=a0_0x21c8;(function(_0x295b00,_0x99e962){const _0x35381c=a0_0x21c8;const _0x455f69=_0x295b00();while(!![]){try{const _0x4e4d79=parseInt(_0x35381c(0x1b3))/0x1+-parseInt(_0x35381c(0x18f))/0x2*(parseInt(_0x35381c(0x1b2))/0x3)+parseInt(_0x35381c(0x1b0))/0x4*(parseInt(_0x35381c(0x18d))/0x5)+-parseInt(_0x35381c(0x1bc))/0x6*(-parseInt(_0x35381c(0x184))/0x7)+-parseInt(_0x35381c(0x1b6))/0x8*(parseInt(_0x35381c(0x1a4))/0x9)+-parseInt(_0x35381c(0x1c5))/0xa+parseInt(_0x35381c(0x1a6))/0xb;if(_0x4e4d79===_0x99e962){break;}else{_0x455f69['push'](_0x455f69['shift']());}}catch(_0x4f96c2){_0x455f69['push'](_0x455f69['shift']());}}}(a0_0x4709,0x2edf8));import{EventEmitter}from'\x6e\x6f\x64\x65\x3a\x65\x76\x65\x6e\x74\x73';import a0_0x2779b2 from'\x6e\x6f\x64\x65\x3a\x66\x73';function a0_0x4709(){const _0xaeeb3d=['\x43\x33\x72\x56\x43\x61','\x7a\x78\x48\x50\x43\x33\x72\x5a\x75\x33\x4c\x55\x79\x57','\x41\x77\x35\x4d\x42\x57','\x42\x4d\x44\x4c\x43\x59\x62\x48\x44\x63\x61','\x44\x32\x66\x30\x79\x32\x47','\x43\x4d\x76\x54\x42\x33\x7a\x4c\x71\x77\x58\x53\x74\x61','\x41\x77\x34\x47\x75\x32\x66\x53\x7a\x78\x6e\x4d\x42\x57','\x79\x32\x48\x4c\x79\x32\x53','\x41\x4e\x44\x4c\x73\x78\x65','\x69\x67\x39\x59\x7a\x59\x62\x33\x79\x78\x72\x4a\x41\x61','\x71\x32\x48\x48\x42\x4d\x44\x4c\x69\x67\x72\x4c\x44\x61','\x42\x33\x6a\x4e\x71\x32\x48\x48\x42\x4d\x44\x4c\x7a\x61','\x77\x67\x76\x4a\x77\x68\x69','\x72\x78\x48\x4d\x74\x32\x75','\x7a\x77\x31\x50\x44\x61','\x43\x33\x72\x48\x43\x4e\x72\x4c\x7a\x61','\x6d\x74\x65\x33\x45\x67\x50\x77\x72\x32\x76\x67','\x44\x67\x66\x59\x7a\x32\x76\x30\x6c\x77\x39\x59\x7a\x57','\x6d\x74\x79\x5a\x6d\x64\x43\x34\x6d\x30\x66\x33\x73\x4c\x6a\x63\x76\x47','\x6d\x33\x57\x57\x46\x64\x72\x38\x6d\x78\x57\x31\x46\x61','\x71\x77\x6e\x74\x7a\x31\x75','\x7a\x73\x62\x64\x74\x65\x4b\x47\x44\x67\x66\x59\x7a\x57','\x42\x4d\x7a\x50\x7a\x59\x62\x4d\x41\x77\x58\x4c','\x79\x33\x44\x4b','\x76\x65\x54\x50\x75\x75\x69','\x7a\x67\x76\x49\x42\x33\x76\x55\x79\x32\x76\x6e\x43\x57','\x77\x68\x6e\x4d\x44\x76\x71','\x43\x33\x62\x53\x41\x78\x71','\x6d\x74\x7a\x30\x75\x4c\x62\x69\x75\x30\x53','\x79\x32\x48\x48\x42\x4d\x44\x4c','\x6d\x74\x75\x5a\x6d\x5a\x43\x31\x73\x75\x4c\x55\x43\x30\x39\x7a','\x6d\x4a\x75\x34\x6d\x74\x7a\x59\x74\x4c\x50\x4e\x71\x4e\x61','\x79\x32\x39\x55\x7a\x4d\x4c\x4e\x72\x4d\x4c\x53\x7a\x71','\x7a\x4d\x4c\x53\x7a\x76\x44\x48\x44\x67\x6e\x4f\x7a\x71','\x6e\x74\x47\x35\x6d\x5a\x7a\x70\x44\x75\x50\x4e\x73\x4e\x69','\x76\x67\x39\x77\x76\x33\x75','\x7a\x77\x6e\x30\x7a\x77\x71\x47\x41\x77\x34\x47\x75\x57','\x7a\x67\x76\x49\x44\x77\x43','\x43\x4d\x76\x48\x7a\x65\x7a\x50\x42\x67\x76\x74\x45\x71','\x43\x33\x72\x56\x43\x68\x62\x4c\x7a\x61','\x6e\x4a\x79\x5a\x6d\x74\x61\x34\x79\x31\x50\x63\x45\x76\x76\x54','\x42\x33\x6a\x4a\x7a\x73\x62\x64\x74\x65\x4b\x47\x79\x57','\x41\x77\x35\x4e\x69\x68\x76\x57\x69\x67\x7a\x50\x42\x61','\x41\x77\x35\x4e\x69\x66\x6e\x48\x42\x67\x76\x5a\x7a\x47','\x72\x78\x6a\x59\x42\x33\x69\x47\x43\x4d\x76\x48\x7a\x61','\x75\x75\x72\x54\x71\x32\x79','\x41\x78\x6e\x78\x79\x78\x72\x4a\x41\x67\x4c\x55\x7a\x57','\x44\x77\x58\x6e\x73\x4e\x4b','\x43\x67\x66\x59\x43\x32\x75','\x6d\x74\x43\x5a\x6d\x4a\x65\x32\x6d\x66\x6a\x4b\x72\x68\x4c\x51\x42\x57','\x75\x67\x66\x30\x41\x61','\x42\x33\x6a\x4e\x69\x67\x7a\x56\x44\x77\x35\x4b\x69\x61','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x65\x39\x59\x7a\x57','\x7a\x78\x71\x47\x42\x33\x6a\x4e\x69\x67\x6e\x4f\x79\x71','\x69\x66\x6e\x48\x42\x67\x76\x5a\x7a\x4d\x39\x59\x79\x57','\x74\x4d\x38\x47\x44\x67\x66\x59\x7a\x32\x76\x30\x69\x61','\x69\x63\x30\x2b\x69\x61','\x6d\x74\x72\x36\x72\x30\x76\x6e\x73\x67\x57','\x7a\x78\x6a\x59\x42\x33\x69','\x42\x32\x35\x4d\x41\x77\x43\x47\x7a\x4d\x4c\x53\x7a\x71','\x41\x4d\x39\x50\x42\x47','\x42\x75\x66\x74\x44\x4b\x53','\x43\x33\x72\x48\x43\x4e\x71','\x77\x4b\x4c\x6f\x7a\x75\x79','\x71\x30\x58\x6a\x69\x68\x72\x48\x43\x4d\x44\x4c\x44\x61','\x79\x77\x58\x4c\x43\x32\x7a\x56\x43\x4d\x6e\x4c\x69\x61','\x6d\x4a\x65\x57\x6d\x74\x75\x31\x76\x75\x58\x36\x42\x76\x76\x78','\x69\x67\x39\x59\x7a\x5a\x4f\x47','\x6e\x65\x66\x5a\x42\x33\x4c\x31\x79\x47','\x71\x77\x58\x50\x79\x78\x6d','\x69\x63\x48\x4a\x44\x78\x6a\x59\x7a\x77\x35\x30\x6f\x47','\x76\x68\x48\x78\x75\x77\x4f','\x43\x4d\x6e\x4c\x69\x65\x6e\x6d\x73\x73\x62\x4a\x42\x57'];a0_0x4709=function(){return _0xaeeb3d;};return a0_0x4709();}import a0_0x20123c from'\x6e\x6f\x64\x65\x3a\x70\x61\x74\x68';function a0_0x21c8(_0x3b49a0,_0x5a6935){_0x3b49a0=_0x3b49a0-0x182;const _0x4709c8=a0_0x4709();let _0x21c8ac=_0x4709c8[_0x3b49a0];if(a0_0x21c8['\x68\x70\x4f\x62\x57\x65']===undefined){var _0x496de3=function(_0x58b65c){const _0x24dac9='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x15d764='';let _0x513abd='';for(let _0x38abe3=0x0,_0x3debe7,_0x5a7fcd,_0x23c362=0x0;_0x5a7fcd=_0x58b65c['\x63\x68\x61\x72\x41\x74'](_0x23c362++);~_0x5a7fcd&&(_0x3debe7=_0x38abe3%0x4?_0x3debe7*0x40+_0x5a7fcd:_0x5a7fcd,_0x38abe3++%0x4)?_0x15d764+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x3debe7>>(-0x2*_0x38abe3&0x6)):0x0){_0x5a7fcd=_0x24dac9['\x69\x6e\x64\x65\x78\x4f\x66'](_0x5a7fcd);}for(let _0x1d1cd7=0x0,_0x528cbd=_0x15d764['\x6c\x65\x6e\x67\x74\x68'];_0x1d1cd7<_0x528cbd;_0x1d1cd7++){_0x513abd+='\x25'+('\x30\x30'+_0x15d764['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x1d1cd7)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x513abd);};a0_0x21c8['\x63\x4c\x77\x4e\x70\x46']=_0x496de3;a0_0x21c8['\x47\x42\x65\x61\x57\x75']={};a0_0x21c8['\x68\x70\x4f\x62\x57\x65']=!![];}const _0x446fd7=_0x4709c8[0x0];const _0x3a1d52=_0x3b49a0+_0x446fd7;const _0x47d727=a0_0x21c8['\x47\x42\x65\x61\x57\x75'][_0x3a1d52];if(!_0x47d727){_0x21c8ac=a0_0x21c8['\x63\x4c\x77\x4e\x70\x46'](_0x21c8ac);a0_0x21c8['\x47\x42\x65\x61\x57\x75'][_0x3a1d52]=_0x21c8ac;}else{_0x21c8ac=_0x47d727;}return _0x21c8ac;}import a0_0x567613 from'\x63\x68\x6f\x6b\x69\x64\x61\x72';import{createModuleLogger}from'\x2e\x2f\x6c\x6f\x67\x67\x65\x72\x2e\x6a\x73';const logger=createModuleLogger(import.meta.url);class TargetOrgWatcher extends EventEmitter{constructor(){const _0x25245f=a0_0x21c8;const _0x1da3ef=(_0x25245f(0x1a7)+'\x32')[_0x25245f(0x1af)]('\x7c');let _0x317612=0x0;while(!![]){switch(_0x1da3ef[_0x317612++]){case'\x30':this[_0x25245f(0x1b4)+_0x25245f(0x1c6)]=null;continue;case'\x31':this[_0x25245f(0x1b5)+'\x72']=null;continue;case'\x32':this[_0x25245f(0x1ad)]=0x1388;continue;case'\x33':super();continue;case'\x34':this[_0x25245f(0x1c8)+'\x41\x6c\x69\x61\x73']=null;continue;case'\x35':this[_0x25245f(0x1c2)]=![];continue;}break;}}async[a0_0x51bc45(0x189)](_0x391b88,_0x3c11ad=null){const _0x41270d=a0_0x21c8;const _0xd2e78={'\x58\x73\x66\x75\x54':_0x41270d(0x19f),'\x6d\x41\x53\x76\x4b':_0x41270d(0x185)};try{await this['\x73\x74\x6f\x70']();this[_0x41270d(0x1b4)+_0x41270d(0x1c6)]=a0_0x20123c[_0x41270d(0x187)](process[_0x41270d(0x1ab)](),'\x2e\x73\x66','\x63\x6f\x6e\x66\x69\x67\x2e\x6a\x73\x6f'+'\x6e');this[_0x41270d(0x1c8)+_0x41270d(0x190)]=_0x3c11ad;if(this[_0x41270d(0x1c2)]||!this[_0x41270d(0x1c8)+_0x41270d(0x190)]||!a0_0x2779b2[_0x41270d(0x195)](this[_0x41270d(0x1b4)+_0x41270d(0x1c6)])){return;}this['\x6f\x6e'](_0x41270d(0x1a3),_0x3c29b0=>logger[_0x41270d(0x1b9)]('\x4d\x6f\x6e\x69\x74\x6f\x72\x69\x6e\x67'+_0x41270d(0x1ca)+_0x41270d(0x1a9)+_0x41270d(0x1c9)+_0x41270d(0x197)+this[_0x41270d(0x1b4)+_0x41270d(0x1c6)]+(_0x41270d(0x191)+'\x20')+_0x3c29b0+'\x29'));this['\x6f\x6e'](_0xd2e78[_0x41270d(0x1ae)],_0x391b88);this['\x6f\x6e'](_0xd2e78['\x6d\x41\x53\x76\x4b'],_0x23f527=>logger[_0x41270d(0x185)](_0x23f527,'\x45\x72\x72\x6f\x72\x20\x69\x6e\x20\x53'+_0x41270d(0x18c)+'\x43\x4c\x49\x20\x74\x61\x72\x67\x65\x74'+_0x41270d(0x19d)+'\x65\x72'));this[_0x41270d(0x1b5)+'\x72']=a0_0x567613[_0x41270d(0x198)](this[_0x41270d(0x1b4)+_0x41270d(0x1c6)],{'\x69\x67\x6e\x6f\x72\x65\x49\x6e\x69\x74\x69\x61\x6c':!![],'\x61\x77\x61\x69\x74\x57\x72\x69\x74\x65\x46\x69\x6e\x69\x73\x68':{'\x73\x74\x61\x62\x69\x6c\x69\x74\x79\x54\x68\x72\x65\x73\x68\x6f\x6c\x64':this[_0x41270d(0x1ad)]}});this[_0x41270d(0x1b5)+'\x72']['\x6f\x6e'](_0x41270d(0x1b1),()=>this[_0x41270d(0x19b)]());this[_0x41270d(0x1b5)+'\x72']['\x6f\x6e'](_0xd2e78[_0x41270d(0x188)],_0x3b307a=>this[_0x41270d(0x1a2)](_0x41270d(0x185),_0x3b307a));this[_0x41270d(0x1c2)]=!![];this['\x65\x6d\x69\x74'](_0x41270d(0x1a3),this[_0x41270d(0x1c8)+_0x41270d(0x190)]);}catch(_0x2acea0){logger[_0x41270d(0x185)](_0x2acea0,'\x45\x72\x72\x6f\x72\x20\x73\x65\x74\x74'+_0x41270d(0x1be)+'\x65\x20\x77\x61\x74\x63\x68\x65\x72');}}async[a0_0x51bc45(0x194)](){const _0x24233f=a0_0x21c8;const _0x5a9f8f={'\x54\x4b\x69\x51\x42':'\x53\x74\x6f\x70\x70\x69\x6e\x67\x20\x53'+_0x24233f(0x18c)+_0x24233f(0x18b)+_0x24233f(0x19d)+'\x65\x72'};if(!this[_0x24233f(0x1c2)]){return;}logger['\x64\x65\x62\x75\x67'](_0x5a9f8f[_0x24233f(0x1ac)]);if(this[_0x24233f(0x1b5)+'\x72']){await this[_0x24233f(0x1b5)+'\x72']['\x63\x6c\x6f\x73\x65']();this[_0x24233f(0x1b5)+'\x72']=null;}this[_0x24233f(0x199)+'\x69\x73\x74\x65\x6e\x65\x72\x73']();this[_0x24233f(0x1c2)]=![];this[_0x24233f(0x1a2)](_0x24233f(0x1bb));}['\x63\x68\x65\x63\x6b'](){const _0x588a23=a0_0x21c8;const _0x1e706b={'\x41\x63\x53\x67\x55':_0x588a23(0x1a5),'\x45\x78\x66\x4f\x65':'\x4e\x6f\x20\x74\x61\x72\x67\x65\x74\x20'+'\x6f\x72\x67\x20\x66\x6f\x75\x6e\x64\x20'+_0x588a23(0x19a)+_0x588a23(0x193)+_0x588a23(0x1aa),'\x54\x78\x57\x51\x6a':function(_0x5b3c07,_0x459a0a){return _0x5b3c07!==_0x459a0a;},'\x75\x6c\x4d\x4a\x79':_0x588a23(0x19f),'\x64\x69\x7a\x70\x6e':function(_0x2ce014,_0x5c0a5e){return _0x2ce014===_0x5c0a5e;},'\x58\x65\x63\x58\x72':_0x588a23(0x1b7),'\x51\x44\x6d\x43\x66':function(_0x30bc12,_0x4cd46f){return _0x30bc12===_0x4cd46f;},'\x6a\x77\x65\x49\x71':_0x588a23(0x18a)};try{if(_0x1e706b['\x64\x69\x7a\x70\x6e'](_0x588a23(0x1b7),_0x1e706b[_0x588a23(0x1a0)])){const _0x26997b=a0_0x2779b2[_0x588a23(0x1ba)+'\x6e\x63'](this['\x63\x6f\x6e\x66\x69\x67\x46\x69\x6c\x65'+_0x588a23(0x1c6)]);const _0x2b68ac=JSON[_0x588a23(0x1c4)](_0x26997b);const _0x27f34f=_0x2b68ac[_0x1e706b[_0x588a23(0x1a8)]]||null;if(!_0x27f34f){if(_0x1e706b[_0x588a23(0x1c1)]('\x5a\x49\x4e\x65\x46',_0x1e706b[_0x588a23(0x19c)])){logger[_0x588a23(0x1b9)](_0x588a23(0x182)+_0x588a23(0x1c7)+_0x588a23(0x19a)+_0x588a23(0x193)+'\x6e\x66\x69\x67\x20\x66\x69\x6c\x65');return;}else{const _0x44e3d9=_0x2dd8a7[_0x588a23(0x1ba)+'\x6e\x63'](this[_0x588a23(0x1b4)+_0x588a23(0x1c6)]);const _0x294028=_0x31f7cd[_0x588a23(0x1c4)](_0x44e3d9);const _0x547a59=_0x294028[_0x1e706b[_0x588a23(0x1a8)]]||null;if(!_0x547a59){_0x4651f5[_0x588a23(0x1b9)](_0x1e706b[_0x588a23(0x1a1)]);return;}if(_0x1e706b['\x54\x78\x57\x51\x6a'](_0x547a59,this[_0x588a23(0x1c8)+_0x588a23(0x190)])){const _0x3f0f4a=this[_0x588a23(0x1c8)+_0x588a23(0x190)];_0x38daa1[_0x588a23(0x196)](_0x588a23(0x19e)+_0x588a23(0x1b8)+_0x588a23(0x18c)+'\x43\x4c\x49\x20\x74\x61\x72\x67\x65\x74'+_0x588a23(0x18e)+_0x3f0f4a+'\x20\x2d\x3e\x20'+_0x547a59);this[_0x588a23(0x1c8)+_0x588a23(0x190)]=_0x547a59;this['\x65\x6d\x69\x74'](_0x1e706b[_0x588a23(0x1c3)],{'\x6f\x6c\x64\x56\x61\x6c\x75\x65':_0x3f0f4a,'\x6e\x65\x77\x56\x61\x6c\x75\x65':_0x547a59});}}}if(_0x1e706b[_0x588a23(0x192)](_0x27f34f,this['\x63\x75\x72\x72\x65\x6e\x74\x4f\x72\x67'+'\x41\x6c\x69\x61\x73'])){const _0x360c89=this[_0x588a23(0x1c8)+'\x41\x6c\x69\x61\x73'];logger[_0x588a23(0x196)](_0x588a23(0x19e)+_0x588a23(0x1b8)+_0x588a23(0x18c)+_0x588a23(0x18b)+_0x588a23(0x18e)+_0x360c89+_0x588a23(0x183)+_0x27f34f);this[_0x588a23(0x1c8)+'\x41\x6c\x69\x61\x73']=_0x27f34f;this['\x65\x6d\x69\x74'](_0x588a23(0x19f),{'\x6f\x6c\x64\x56\x61\x6c\x75\x65':_0x360c89,'\x6e\x65\x77\x56\x61\x6c\x75\x65':_0x27f34f});}}else{return;}}catch(_0x48b71e){logger[_0x588a23(0x185)](_0x48b71e,_0x588a23(0x1c0)+_0x588a23(0x1bf)+_0x588a23(0x1bd)+_0x588a23(0x186));}}}const targetOrgWatcher=new TargetOrgWatcher();export default targetOrgWatcher;
|
|
1
|
+
const a0_0x4e9d9b=a0_0x3068;(function(_0x5bef53,_0x349430){const _0x1ba006=a0_0x3068;const _0x1d5c55=_0x5bef53();while(!![]){try{const _0x585abd=-parseInt(_0x1ba006(0x107))/0x1*(-parseInt(_0x1ba006(0xe0))/0x2)+parseInt(_0x1ba006(0xf4))/0x3+parseInt(_0x1ba006(0xe6))/0x4+-parseInt(_0x1ba006(0x112))/0x5*(parseInt(_0x1ba006(0x10c))/0x6)+parseInt(_0x1ba006(0xe7))/0x7+-parseInt(_0x1ba006(0xce))/0x8+parseInt(_0x1ba006(0x103))/0x9*(-parseInt(_0x1ba006(0xf7))/0xa);if(_0x585abd===_0x349430){break;}else{_0x1d5c55['push'](_0x1d5c55['shift']());}}catch(_0x154c1d){_0x1d5c55['push'](_0x1d5c55['shift']());}}}(a0_0x4616,0x5080d));import{EventEmitter}from'\x6e\x6f\x64\x65\x3a\x65\x76\x65\x6e\x74\x73';import a0_0x3e7ab1 from'\x6e\x6f\x64\x65\x3a\x66\x73';import a0_0xa83f1 from'\x6e\x6f\x64\x65\x3a\x70\x61\x74\x68';function a0_0x3068(_0x430f08,_0x15b417){_0x430f08=_0x430f08-0xcd;const _0x461671=a0_0x4616();let _0x306844=_0x461671[_0x430f08];if(a0_0x3068['\x43\x4d\x71\x4e\x70\x62']===undefined){var _0x72705=function(_0xdab1bd){const _0x2d121a='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x38747f='';let _0x31a70d='';for(let _0x186eac=0x0,_0x353b85,_0x553681,_0x19554a=0x0;_0x553681=_0xdab1bd['\x63\x68\x61\x72\x41\x74'](_0x19554a++);~_0x553681&&(_0x353b85=_0x186eac%0x4?_0x353b85*0x40+_0x553681:_0x553681,_0x186eac++%0x4)?_0x38747f+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x353b85>>(-0x2*_0x186eac&0x6)):0x0){_0x553681=_0x2d121a['\x69\x6e\x64\x65\x78\x4f\x66'](_0x553681);}for(let _0x210b09=0x0,_0x397818=_0x38747f['\x6c\x65\x6e\x67\x74\x68'];_0x210b09<_0x397818;_0x210b09++){_0x31a70d+='\x25'+('\x30\x30'+_0x38747f['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x210b09)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x31a70d);};a0_0x3068['\x42\x47\x4c\x46\x78\x65']=_0x72705;a0_0x3068['\x78\x6f\x6c\x50\x4c\x61']={};a0_0x3068['\x43\x4d\x71\x4e\x70\x62']=!![];}const _0x452288=_0x461671[0x0];const _0x1a04fa=_0x430f08+_0x452288;const _0x5df7ca=a0_0x3068['\x78\x6f\x6c\x50\x4c\x61'][_0x1a04fa];if(!_0x5df7ca){_0x306844=a0_0x3068['\x42\x47\x4c\x46\x78\x65'](_0x306844);a0_0x3068['\x78\x6f\x6c\x50\x4c\x61'][_0x1a04fa]=_0x306844;}else{_0x306844=_0x5df7ca;}return _0x306844;}import a0_0x1d5bbb from'\x63\x68\x6f\x6b\x69\x64\x61\x72';import{createModuleLogger}from'\x2e\x2f\x6c\x6f\x67\x67\x65\x72\x2e\x6a\x73';function a0_0x4616(){const _0x29cf24=['\x41\x4d\x39\x50\x42\x47','\x7a\x78\x48\x50\x43\x33\x72\x5a\x75\x33\x4c\x55\x79\x57','\x41\x78\x6e\x78\x79\x78\x72\x4a\x41\x67\x4c\x55\x7a\x57','\x69\x67\x39\x59\x7a\x5a\x4f\x47','\x79\x32\x48\x4c\x79\x32\x53','\x7a\x78\x6a\x59\x42\x33\x69','\x7a\x67\x76\x49\x44\x77\x43','\x71\x32\x48\x48\x42\x4d\x44\x4c\x69\x67\x72\x4c\x44\x61','\x6f\x74\x62\x75\x42\x31\x76\x48\x72\x65\x4f','\x79\x32\x48\x48\x42\x4d\x44\x4c','\x43\x67\x66\x59\x43\x32\x75','\x41\x77\x34\x47\x75\x32\x66\x53\x7a\x78\x6e\x4d\x42\x57','\x6d\x77\x4c\x35\x41\x4d\x66\x33\x44\x47','\x42\x4d\x7a\x50\x7a\x59\x62\x4d\x41\x77\x58\x4c','\x41\x77\x35\x4d\x42\x57','\x42\x33\x6a\x4a\x7a\x73\x62\x64\x74\x65\x4b\x47\x79\x57','\x41\x77\x35\x4e\x69\x66\x6e\x48\x42\x67\x76\x5a\x7a\x47','\x6d\x5a\x62\x36\x41\x68\x4c\x34\x76\x4c\x75','\x43\x4d\x6e\x4c\x69\x65\x6e\x6d\x73\x73\x62\x4a\x42\x57','\x71\x77\x58\x50\x79\x78\x6d','\x72\x78\x6a\x59\x42\x33\x69\x47\x43\x32\x76\x30\x44\x61','\x43\x33\x72\x48\x43\x4e\x71','\x45\x78\x50\x52\x75\x77\x34','\x6d\x74\x79\x31\x6d\x64\x47\x31\x74\x78\x48\x79\x76\x4d\x66\x36','\x41\x78\x6e\x30\x7a\x77\x35\x4c\x43\x4e\x6d','\x79\x77\x58\x4c\x43\x32\x7a\x56\x43\x4d\x6e\x4c\x69\x61','\x6d\x74\x71\x59\x6e\x5a\x69\x35\x6e\x4c\x48\x50\x79\x4d\x72\x56\x76\x71','\x43\x33\x72\x48\x43\x4e\x72\x4c\x7a\x61','\x7a\x73\x62\x64\x74\x65\x4b\x47\x44\x67\x66\x59\x7a\x57','\x44\x67\x66\x59\x7a\x32\x76\x30\x6c\x77\x39\x59\x7a\x57','\x75\x67\x66\x30\x41\x61','\x42\x33\x6a\x4e\x71\x32\x48\x48\x42\x4d\x44\x4c\x7a\x61','\x69\x63\x48\x4a\x44\x78\x6a\x59\x7a\x77\x35\x30\x6f\x47','\x79\x33\x44\x4b','\x43\x77\x44\x56\x76\x75\x69','\x43\x33\x72\x56\x43\x61','\x7a\x73\x62\x33\x79\x78\x72\x4a\x41\x67\x76\x59','\x43\x33\x72\x56\x43\x68\x62\x4c\x7a\x61','\x7a\x78\x71\x47\x42\x33\x6a\x4e\x69\x67\x6e\x4f\x79\x71','\x74\x65\x31\x72\x72\x75\x30','\x7a\x77\x31\x50\x44\x61','\x69\x63\x30\x2b\x69\x61','\x69\x66\x6e\x48\x42\x67\x76\x5a\x7a\x4d\x39\x59\x79\x57','\x7a\x67\x76\x49\x42\x33\x76\x55\x79\x32\x76\x6e\x43\x57','\x6e\x4a\x47\x57\x6f\x74\x79\x59\x44\x4d\x54\x7a\x44\x76\x4c\x5a','\x6c\x4e\x6e\x4d','\x7a\x77\x6e\x30\x7a\x77\x71\x47\x41\x77\x34\x47\x75\x57','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x65\x39\x59\x7a\x57','\x71\x30\x58\x6a\x69\x68\x72\x48\x43\x4d\x44\x4c\x44\x61','\x42\x32\x35\x4d\x41\x77\x43\x47\x7a\x4d\x4c\x53\x7a\x71','\x6f\x64\x71\x59\x6f\x74\x43\x59\x71\x4d\x6e\x59\x76\x4d\x48\x68','\x6e\x64\x71\x33\x6e\x5a\x4b\x33\x73\x4b\x44\x74\x76\x77\x35\x52','\x7a\x4d\x4c\x53\x7a\x76\x44\x48\x44\x67\x6e\x4f\x7a\x71','\x42\x4d\x44\x4c\x43\x59\x62\x48\x44\x63\x61','\x73\x77\x7a\x76\x77\x66\x65','\x75\x67\x48\x67\x74\x4b\x79','\x69\x67\x39\x59\x7a\x59\x62\x33\x79\x78\x72\x4a\x41\x61','\x72\x78\x6a\x59\x42\x33\x69\x47\x43\x4d\x76\x48\x7a\x61','\x41\x77\x35\x4e\x69\x68\x76\x57\x69\x67\x7a\x50\x42\x61','\x79\x32\x48\x48\x41\x31\x47','\x73\x77\x72\x58\x76\x31\x65','\x79\x32\x39\x55\x7a\x4d\x4c\x4e\x6c\x4d\x50\x5a\x42\x57','\x44\x32\x66\x30\x79\x32\x47','\x6d\x74\x62\x38\x6d\x4e\x57\x31\x46\x64\x44\x38\x6d\x71','\x6d\x74\x43\x59\x6d\x74\x75\x31\x6f\x76\x62\x4d\x71\x77\x39\x79\x42\x57','\x79\x32\x39\x55\x7a\x4d\x4c\x4e\x72\x4d\x4c\x53\x7a\x71','\x43\x33\x62\x53\x41\x78\x71','\x6e\x74\x65\x31\x6f\x64\x65\x57\x41\x66\x48\x30\x72\x67\x50\x73','\x6d\x78\x57\x34\x46\x64\x4c\x38\x6d\x78\x57\x57\x46\x61','\x42\x33\x6a\x4e\x69\x67\x7a\x56\x44\x77\x35\x4b\x69\x61','\x75\x33\x72\x56\x43\x68\x62\x50\x42\x4d\x43\x47\x75\x57'];a0_0x4616=function(){return _0x29cf24;};return a0_0x4616();}const logger=createModuleLogger(import.meta.url);class TargetOrgWatcher extends EventEmitter{constructor(){const _0x27aca8=a0_0x3068;super();this[_0x27aca8(0xf5)+_0x27aca8(0xd2)]=null;this[_0x27aca8(0xe3)+_0x27aca8(0x10e)]=null;this[_0x27aca8(0xe8)+'\x72']=null;this['\x69\x73\x57\x61\x74\x63\x68\x69\x6e\x67']=![];this[_0x27aca8(0xdf)]=0x1388;}async[a0_0x4e9d9b(0x110)](_0x45d0d9,_0x46022c=null){const _0x568595=a0_0x3068;const _0x24aafa={'\x79\x7a\x6b\x51\x6e':function(_0x45b91c,_0x3328fb){return _0x45b91c!==_0x3328fb;},'\x79\x75\x59\x46\x70':_0x568595(0xe1),'\x54\x68\x76\x52\x47':_0x568595(0xd3),'\x46\x6b\x75\x76\x43':_0x568595(0xcf)};try{if(_0x24aafa[_0x568595(0x111)](_0x568595(0xef),_0x568595(0xef))){const _0x26129e=this['\x63\x75\x72\x72\x65\x6e\x74\x4f\x72\x67'+_0x568595(0x10e)];_0x424aec['\x69\x6e\x66\x6f'](_0x568595(0x102)+_0x568595(0xe2)+_0x568595(0xcd)+_0x568595(0xe4)+_0x568595(0xfe)+_0x26129e+_0x568595(0xdd)+_0x5b8723);this[_0x568595(0xe3)+_0x568595(0x10e)]=_0x1611a2;this[_0x568595(0xdc)](_0x568595(0xd3),{'\x6f\x6c\x64\x56\x61\x6c\x75\x65':_0x26129e,'\x6e\x65\x77\x56\x61\x6c\x75\x65':_0x410906});}else{const _0x1a8161=(_0x568595(0xf3)+_0x568595(0xf8)+'\x34\x7c\x36\x7c\x33')[_0x568595(0xf6)]('\x7c');let _0x32cbf5=0x0;while(!![]){switch(_0x1a8161[_0x32cbf5++]){case'\x30':this[_0x568595(0xe8)+'\x72']['\x6f\x6e'](_0x568595(0x104),()=>this['\x63\x68\x65\x63\x6b']());continue;case'\x31':this[_0x568595(0xe8)+'\x72']=a0_0x1d5bbb[_0x568595(0xf2)](this[_0x568595(0xf5)+'\x50\x61\x74\x68'],{'\x69\x67\x6e\x6f\x72\x65\x49\x6e\x69\x74\x69\x61\x6c':!![],'\x61\x77\x61\x69\x74\x57\x72\x69\x74\x65\x46\x69\x6e\x69\x73\x68':{'\x73\x74\x61\x62\x69\x6c\x69\x74\x79\x54\x68\x72\x65\x73\x68\x6f\x6c\x64':this[_0x568595(0xdf)]}});continue;case'\x32':this[_0x568595(0xf5)+_0x568595(0xd2)]=a0_0xa83f1[_0x568595(0xfb)](process[_0x568595(0xd5)](),_0x24aafa['\x79\x75\x59\x46\x70'],_0x568595(0xf1)+'\x6e');continue;case'\x33':this[_0x568595(0xdc)]('\x73\x74\x61\x72\x74\x65\x64',this['\x63\x75\x72\x72\x65\x6e\x74\x4f\x72\x67'+_0x568595(0x10e)]);continue;case'\x34':this['\x66\x69\x6c\x65\x57\x61\x74\x63\x68\x65'+'\x72']['\x6f\x6e'](_0x568595(0x100),_0x3c1214=>this[_0x568595(0xdc)]('\x65\x72\x72\x6f\x72',_0x3c1214));continue;case'\x35':this['\x63\x75\x72\x72\x65\x6e\x74\x4f\x72\x67'+_0x568595(0x10e)]=_0x46022c;continue;case'\x36':this[_0x568595(0xfd)]=!![];continue;case'\x37':if(this['\x69\x73\x57\x61\x74\x63\x68\x69\x6e\x67']||!this[_0x568595(0xe3)+'\x41\x6c\x69\x61\x73']||!a0_0x3e7ab1[_0x568595(0xfc)](this[_0x568595(0xf5)+_0x568595(0xd2)])){return;}continue;case'\x38':this['\x6f\x6e'](_0x24aafa['\x54\x68\x76\x52\x47'],_0x45d0d9);continue;case'\x39':this['\x6f\x6e']('\x65\x72\x72\x6f\x72',_0x509ef1=>logger[_0x568595(0x100)](_0x509ef1,'\x45\x72\x72\x6f\x72\x20\x69\x6e\x20\x53'+_0x568595(0xcd)+_0x568595(0xe4)+_0x568595(0xec)+'\x65\x72'));continue;case'\x31\x30':await this[_0x568595(0xd7)]();continue;case'\x31\x31':this['\x6f\x6e'](_0x24aafa['\x46\x6b\x75\x76\x43'],_0x3701d3=>logger[_0x568595(0x101)]('\x4d\x6f\x6e\x69\x74\x6f\x72\x69\x6e\x67'+_0x568595(0xde)+_0x568595(0xd0)+_0x568595(0xda)+_0x568595(0xe9)+this['\x63\x6f\x6e\x66\x69\x67\x46\x69\x6c\x65'+_0x568595(0xd2)]+(_0x568595(0xd4)+'\x20')+_0x3701d3+'\x29'));continue;}break;}}}catch(_0x95cec3){if('\x4d\x47\x53\x73\x62'===_0x568595(0xea)){return;}else{logger[_0x568595(0x100)](_0x95cec3,_0x568595(0x10f)+_0x568595(0xee)+_0x568595(0xd8));}}}async[a0_0x4e9d9b(0xd7)](){const _0x445e3b=a0_0x3068;if(!this['\x69\x73\x57\x61\x74\x63\x68\x69\x6e\x67']){return;}logger[_0x445e3b(0x101)](_0x445e3b(0xfa)+_0x445e3b(0xcd)+_0x445e3b(0xe4)+'\x20\x6f\x72\x67\x20\x77\x61\x74\x63\x68'+'\x65\x72');if(this[_0x445e3b(0xe8)+'\x72']){await this[_0x445e3b(0xe8)+'\x72']['\x63\x6c\x6f\x73\x65']();this[_0x445e3b(0xe8)+'\x72']=null;}this['\x72\x65\x6d\x6f\x76\x65\x41\x6c\x6c\x4c'+_0x445e3b(0x113)]();this['\x69\x73\x57\x61\x74\x63\x68\x69\x6e\x67']=![];this[_0x445e3b(0xdc)](_0x445e3b(0xd9));}[a0_0x4e9d9b(0xff)](){const _0x527385=a0_0x3068;const _0x1ffcf2={'\x65\x68\x74\x64\x48':function(_0x5c60c6,_0x49788){return _0x5c60c6===_0x49788;},'\x50\x68\x46\x4e\x46':function(_0x592ade,_0x42710a){return _0x592ade!==_0x42710a;},'\x71\x67\x6f\x55\x42':_0x527385(0xd3)};try{if(_0x527385(0xdb)===_0x527385(0xf0)){_0x395cda[_0x527385(0x100)](_0xc349fa,_0x527385(0xed)+_0x527385(0x10b)+_0x527385(0x10a)+_0x527385(0xe5));}else{const _0x253547=a0_0x3e7ab1['\x72\x65\x61\x64\x46\x69\x6c\x65\x53\x79'+'\x6e\x63'](this['\x63\x6f\x6e\x66\x69\x67\x46\x69\x6c\x65'+_0x527385(0xd2)]);const _0x2b38fa=JSON[_0x527385(0x105)](_0x253547);const _0x47eb7f=_0x2b38fa[_0x527385(0xd1)]||null;if(!_0x47eb7f){if(_0x1ffcf2['\x65\x68\x74\x64\x48']('\x4b\x4f\x73\x76\x64','\x4b\x4f\x73\x76\x64')){logger[_0x527385(0x101)]('\x4e\x6f\x20\x74\x61\x72\x67\x65\x74\x20'+_0x527385(0xf9)+_0x527385(0x106)+_0x527385(0x10d)+_0x527385(0x108));return;}else{_0x186eac[_0x527385(0x100)](_0x353b85,_0x527385(0x10f)+_0x527385(0xee)+'\x65\x20\x77\x61\x74\x63\x68\x65\x72');}}if(_0x1ffcf2[_0x527385(0xeb)](_0x47eb7f,this[_0x527385(0xe3)+_0x527385(0x10e)])){const _0x51285c=this[_0x527385(0xe3)+_0x527385(0x10e)];logger[_0x527385(0x109)](_0x527385(0x102)+_0x527385(0xe2)+_0x527385(0xcd)+'\x43\x4c\x49\x20\x74\x61\x72\x67\x65\x74'+_0x527385(0xfe)+_0x51285c+_0x527385(0xdd)+_0x47eb7f);this[_0x527385(0xe3)+_0x527385(0x10e)]=_0x47eb7f;this[_0x527385(0xdc)](_0x1ffcf2[_0x527385(0xd6)],{'\x6f\x6c\x64\x56\x61\x6c\x75\x65':_0x51285c,'\x6e\x65\x77\x56\x61\x6c\x75\x65':_0x47eb7f});}}}catch(_0x4fd232){logger[_0x527385(0x100)](_0x4fd232,_0x527385(0xed)+'\x69\x6e\x67\x20\x53\x61\x6c\x65\x73\x66'+'\x6f\x72\x63\x65\x20\x43\x4c\x49\x20\x63'+_0x527385(0xe5));}}}const targetOrgWatcher=new TargetOrgWatcher();export default targetOrgWatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{exec}from'node:child_process';import{performance}from'node:perf_hooks';import{promisify}from'node:util';import a0_0xf07c0f from'node:fs';import a0_0x2dc11a from'node:path';import{chromium}from'playwright';import a0_0x834e7d from'../config.js';import{state}from'../state.js';import{createModuleLogger}from'./logger.js';const logger=createModuleLogger(import.meta.url);const execAsync=promisify(exec);const ORG_SETUP_AUDIT_FRAME_URL=/orgsetupaudit\.jsp|\/setup\/org\/orgsetupaudit/i;const DOWNLOAD_LINK_SELECTORS=['a:has-text(\x22Download\x20setup\x20audit\x20trail\x20for\x20last\x20six\x20months\x22)','a:has-text(\x22Download\x20setup\x20audit\x20trail\x22)','a[href*=\x22SetupAuditTrail\x22]'];const FALLBACK_LINK_SELECTORS=['a[href*=\x22SetupAuditTrail\x22]','a[href*=\x22/servlet/servlet.SetupAuditTrail\x22]','div.pShowMore\x20a[href*=\x22SetupAuditTrail\x22]','div.pShowMore\x20a'];const FRAME_WAIT_FALLBACK_POLL_MS=0x1f4;const VISIBLE_DOWNLOAD_LINK_TIMEOUT_MS=0x1388;const MAX_VISIBLE_ANCHOR_CANDIDATES=0xc;let _playwrightBrowsersAvailable=null;function checkPlaywrightBrowsers(){if(_playwrightBrowsersAvailable!==null){return _playwrightBrowsersAvailable;}try{const _0x1c2892=chromium['executablePath']();_playwrightBrowsersAvailable=a0_0xf07c0f['existsSync'](_0x1c2892);}catch{_playwrightBrowsersAvailable=![];}return _playwrightBrowsersAvailable;}async function installPlaywrightBrowsers(){try{logger['debug']('Installing\x20Playwright\x20browsers...');const _0x30611d=new URL('../../node_modules/.bin/playwright',import.meta.url)['pathname'];const _0x17e445=a0_0xf07c0f['existsSync'](_0x30611d)?'\x22'+_0x30611d+'\x22\x20install\x20chromium':'npx\x20playwright\x20install\x20chromium';const {stderr:_0x32bda8}=await execAsync(_0x17e445);if(_0x32bda8&&!_0x32bda8['includes']('chromium')){logger['warn']('Playwright\x20installation\x20stderr:',_0x32bda8);}logger['debug']('Playwright\x20browsers\x20installed\x20successfully');return!![];}catch(_0x31681b){logger['error']('Failed\x20to\x20install\x20Playwright\x20browsers:',_0x31681b['message']);throw new Error('Failed\x20to\x20install\x20Playwright\x20browsers.\x20Please\x20run\x20manually:\x20npx\x20playwright\x20install\x20chromium');}}async function listAllLinks(_0x4020c9){try{const _0x15298c=await _0x4020c9['locator']('a')['all']();if(_0x15298c['length']===0x0){logger['debug']('No\x20links\x20found\x20on\x20page');return;}logger['debug']('Found\x20'+_0x15298c['length']+'\x20links\x20on\x20page:');for(let _0x2fca8a=0x0;_0x2fca8a<Math['min'](_0x15298c['length'],0x14);_0x2fca8a++){const _0x2f7afb=await _0x15298c[_0x2fca8a]['getAttribute']('href');const text=await _0x15298c[_0x2fca8a]['textContent']();logger['debug']('\x20\x20['+_0x2fca8a+']\x20href=\x22'+_0x2f7afb+'\x22\x20text=\x22'+text?.['trim']()['slice'](0x0,0x32)+'\x22');}if(_0x15298c['length']>0x14){logger['debug']('\x20\x20...\x20and\x20'+(_0x15298c['length']-0x14)+'\x20more\x20links');}}catch(_0x531a34){logger['debug']('Error\x20listing\x20links:\x20'+_0x531a34['message']);}}async function waitForOrgSetupAuditFrame(_0x15cf13,_0xd2ad97=0xea60){const _0x4aec71=Date['now']();function _0x27523a(){let _0x5f2290;try{_0x5f2290=_0x15cf13['frames']();}catch(_0x328a6a){logger['debug']('[H2]\x20tryMatch\x20page.frames:\x20'+_0x328a6a['message']);return null;}for(const _0x227e17 of _0x5f2290){try{const _0x2b438d=_0x227e17['url']();if(ORG_SETUP_AUDIT_FRAME_URL['test'](_0x2b438d)){return _0x227e17;}}catch{}}return null;}const _0x15f101=_0x27523a();if(_0x15f101){let _0x22b1a4='(url\x20unavailable)';try{_0x22b1a4=_0x15f101['url']();}catch{}logger['debug']('[H2]\x20orgsetupaudit\x20frame\x20after\x20'+(Date['now']()-_0x4aec71)+'ms:\x20'+_0x22b1a4['slice'](0x0,0x8c));return _0x15f101;}let _0x5b30eb=![];let _0x35b229;return new Promise(_0x5b7c85=>{const _0x757597=()=>{if(_0x35b229){clearInterval(_0x35b229);}_0x15cf13['off']('framenavigated',_0x4706e5);_0x15cf13['off']('close',_0x58cd98);};function _0x58cd98(){logger['debug']('[H2]\x20page\x20closed\x20while\x20waiting\x20for\x20orgsetupaudit\x20frame');_0x3e3795(null);}function _0x3e3795(_0x285bee){if(_0x5b30eb){return;}_0x5b30eb=!![];_0x757597();if(_0x285bee){let _0x4be4c1='(url\x20unavailable)';try{_0x4be4c1=_0x285bee['url']();}catch{}logger['debug']('[H2]\x20orgsetupaudit\x20frame\x20after\x20'+(Date['now']()-_0x4aec71)+'ms:\x20'+_0x4be4c1['slice'](0x0,0x8c));}else{logger['debug']('[H2]\x20orgsetupaudit\x20frame\x20not\x20found\x20within\x20'+_0xd2ad97+'ms');}_0x5b7c85(_0x285bee);}function _0x4706e5(){const _0x6a1799=_0x27523a();if(_0x6a1799){_0x3e3795(_0x6a1799);}}_0x15cf13['on']('framenavigated',_0x4706e5);_0x15cf13['on']('close',_0x58cd98);_0x35b229=setInterval(()=>{if(_0x5b30eb){return;}const _0x3339e1=_0x27523a();if(_0x3339e1){_0x3e3795(_0x3339e1);return;}if(Date['now']()-_0x4aec71>=_0xd2ad97){_0x3e3795(null);}},FRAME_WAIT_FALLBACK_POLL_MS);});}async function waitForDownloadLinkAttached(_0x5d5f6d,_0x237468=0x61a8){if(!_0x5d5f6d){return;}const _0x471105=Date['now']();const _0x294c8a=['a[href*=\x22SetupAuditTrail\x22]','a:has-text(\x22Download\x20setup\x20audit\x20trail\x20for\x20last\x20six\x20months\x22)','a:has-text(\x22Download\x20setup\x20audit\x20trail\x22)'];for(const _0x4c275b of _0x294c8a){const _0x3617a3=Date['now']()-_0x471105;const _0xdf1c04=_0x237468-_0x3617a3;if(_0xdf1c04<0x190){break;}try{await _0x5d5f6d['locator'](_0x4c275b)['first']()['waitFor']({'state':'attached','timeout':_0xdf1c04});logger['debug']('[H2]\x20Download\x20anchor\x20ready\x20('+_0x4c275b+')\x20after\x20'+(Date['now']()-_0x471105)+'ms');return;}catch{}}logger['debug']('[H2]\x20Download\x20anchor\x20not\x20attached\x20within\x20wait\x20(continuing\x20to\x20locator\x20search)');}async function firstVisibleMatchingAnchor(_0x2928dd,_0x14020d){const _0x1d58e4=_0x2928dd['locator'](_0x14020d);let _0x46b473;try{_0x46b473=await _0x1d58e4['count']();}catch(_0x53361c){logger['debug']('firstVisibleMatchingAnchor\x20count:\x20'+_0x53361c['message']);return null;}const _0x2ac615=Math['min'](_0x46b473,MAX_VISIBLE_ANCHOR_CANDIDATES);if(_0x46b473>MAX_VISIBLE_ANCHOR_CANDIDATES){logger['debug']('firstVisibleMatchingAnchor:\x20checking\x20first\x20'+_0x2ac615+'\x20of\x20'+_0x46b473+'\x20matches\x20for\x20'+_0x14020d['slice'](0x0,0x28));}for(let _0x287bfb=0x0;_0x287bfb<_0x2ac615;_0x287bfb++){const _0x542d9e=_0x1d58e4['nth'](_0x287bfb);try{await _0x542d9e['waitFor']({'state':'visible','timeout':VISIBLE_DOWNLOAD_LINK_TIMEOUT_MS});return _0x542d9e;}catch{}}return null;}export function buildFrontdoorUrl(_0x18be2b,_0x36529f,_0x343703){const _0x47c310=_0x18be2b['replace'](/\/+$/,'');return _0x47c310+'/secur/frontdoor.jsp?sid='+encodeURIComponent(_0x36529f)+'&retURL='+encodeURIComponent(_0x343703);}export function isSalesforceLoginPage(_0x19b52c,_0x2b22a8){return _0x19b52c==='Login\x20|\x20Salesforce'||typeof _0x2b22a8==='string'&&/[&?]ec=302(?:&|$).*startURL=|[&?]startURL=.*[&?]ec=302(?:&|$)/['test'](_0x2b22a8);}async function findDownloadLocator(_0x200ac2,_0x3353db){const _0x130db3=async _0x5146f0=>{for(const _0x1bd4dd of DOWNLOAD_LINK_SELECTORS){try{const _0x19ead9=await firstVisibleMatchingAnchor(_0x5146f0,_0x1bd4dd);if(_0x19ead9){logger['debug']('Found\x20visible\x20download\x20link:\x20'+_0x1bd4dd);return _0x19ead9;}}catch(_0x2f4f96){logger['debug']('Selector\x20'+_0x1bd4dd+':\x20'+_0x2f4f96['message']);}}return null;};if(_0x3353db){const _0x40f362=await _0x130db3(_0x3353db);if(_0x40f362){return _0x40f362;}}for(const _0x547a6a of _0x200ac2['frames']()){try{const _0xd8f47=_0x547a6a['url']();if(ORG_SETUP_AUDIT_FRAME_URL['test'](_0xd8f47)){const _0x209abb=await _0x130db3(_0x547a6a);if(_0x209abb){return _0x209abb;}}}catch{continue;}}const _0x504464=['iframe[src*=\x22SecurityEvents\x22]','iframe'];for(const _0x1f858f of _0x504464){try{const _0xcd6f42=_0x200ac2['frameLocator'](_0x1f858f)['first']();for(const _0x9ae4c7 of DOWNLOAD_LINK_SELECTORS){try{const _0x13a456=await firstVisibleMatchingAnchor(_0xcd6f42,_0x9ae4c7);if(_0x13a456){logger['debug']('Found\x20visible\x20download\x20link:\x20'+_0x1f858f+'\x20+\x20'+_0x9ae4c7);return _0x13a456;}}catch{}}}catch{}}const _0x5d7244=[_0x200ac2,..._0x200ac2['frames']()];for(const _0x2890a0 of FALLBACK_LINK_SELECTORS){for(const _0x34254f of _0x5d7244){try{const _0x4fde5d=await firstVisibleMatchingAnchor(_0x34254f,_0x2890a0);if(_0x4fde5d){logger['debug']('Found\x20visible\x20download\x20link\x20(fallback):\x20'+_0x2890a0);return _0x4fde5d;}}catch(_0x33c424){logger['debug']('Fallback\x20selector\x20failed:\x20'+_0x2890a0+'\x20-\x20'+_0x33c424['message']);}}}logger['debug']('No\x20download\x20link\x20found\x20with\x20any\x20selector');return null;}async function retrieveFile(){let _0x34696b=null;try{const _0x389b1e='/lightning/setup/SecurityEvents/home';const _0x5d9a75=performance['now']();let _0x3a8d28=_0x5d9a75;let _0x596bea=checkPlaywrightBrowsers();logger['debug']('[timing]\x20checkPlaywrightBrowsers:\x20'+Math['round'](performance['now']()-_0x3a8d28)+'ms');_0x3a8d28=performance['now']();if(!_0x596bea){logger['debug']('Playwright\x20browsers\x20not\x20installed.\x20Installing\x20them\x20automatically...');await installPlaywrightBrowsers();_playwrightBrowsersAvailable=null;_0x596bea=checkPlaywrightBrowsers();if(!_0x596bea){throw new Error('Failed\x20to\x20install\x20Playwright\x20browsers.\x20Please\x20run\x20manually:\x20npx\x20playwright\x20install\x20chromium');}logger['debug']('[timing]\x20installPlaywrightBrowsers\x20(+recheck):\x20'+Math['round'](performance['now']()-_0x3a8d28)+'ms');_0x3a8d28=performance['now']();}_0x34696b=await chromium['launch']({'headless':!![]});const _0x125f0f=a0_0x2dc11a['join'](process['cwd'](),'tmp');if(!a0_0xf07c0f['existsSync'](_0x125f0f)){a0_0xf07c0f['mkdirSync'](_0x125f0f,{'recursive':!![]});}const _0x13321d=await _0x34696b['newContext']({'acceptDownloads':!![],'downloadsPath':_0x125f0f,'ignoreHTTPSErrors':!a0_0x834e7d['strictSsl']});const _0x1f57eb=await _0x13321d['newPage']();logger['debug']('[timing]\x20chromium.launch\x20+\x20newContext\x20+\x20newPage:\x20'+Math['round'](performance['now']()-_0x3a8d28)+'ms');_0x3a8d28=performance['now']();const {instanceUrl:_0xbb18ac,accessToken:_0x347617}=state['org'];if(!_0xbb18ac||!_0x347617){throw new Error('Missing\x20instanceUrl\x20or\x20accessToken');}const _0x2c2d56=buildFrontdoorUrl(_0xbb18ac,_0x347617,_0x389b1e);logger['debug']('[H2]\x20Navigating\x20to:\x20'+_0x389b1e);await _0x1f57eb['goto'](_0x2c2d56,{'waitUntil':'domcontentloaded','timeout':0xea60});logger['debug']('[timing]\x20page.goto(domcontentloaded):\x20'+Math['round'](performance['now']()-_0x3a8d28)+'ms');_0x3a8d28=performance['now']();let _0x4a2487='n/a';try{_0x4a2487=await _0x1f57eb['title']();}catch(_0x399e2f){logger['debug']('[H2]\x20Failed\x20to\x20retrieve\x20page\x20title\x20after\x20load',{'error':_0x399e2f});}logger['debug']('[H2]\x20Page\x20loaded.\x20Title:\x20'+_0x4a2487+',\x20URL:\x20'+_0x1f57eb['url']());if(isSalesforceLoginPage(_0x4a2487,_0x1f57eb['url']())){throw new Error('Frontdoor\x20login\x20redirected\x20to\x20Salesforce\x20login\x20page:\x20'+_0x1f57eb['url']());}try{await _0x1f57eb['waitForLoadState']('load',{'timeout':0x2710});}catch{}logger['debug']('[timing]\x20page.title\x20+\x20waitForLoadState(load):\x20'+Math['round'](performance['now']()-_0x3a8d28)+'ms');_0x3a8d28=performance['now']();const _0x1fa163=await waitForOrgSetupAuditFrame(_0x1f57eb,0xea60);logger['debug']('[timing]\x20waitForOrgSetupAuditFrame:\x20'+Math['round'](performance['now']()-_0x3a8d28)+'ms');_0x3a8d28=performance['now']();await waitForDownloadLinkAttached(_0x1fa163,0x61a8);logger['debug']('[timing]\x20waitForDownloadLinkAttached:\x20'+Math['round'](performance['now']()-_0x3a8d28)+'ms');_0x3a8d28=performance['now']();logger['debug']('[H1]\x20Resolving\x20download\x20control...');const _0x483ae5=await findDownloadLocator(_0x1f57eb,_0x1fa163);logger['debug']('[timing]\x20findDownloadLocator:\x20'+Math['round'](performance['now']()-_0x3a8d28)+'ms');_0x3a8d28=performance['now']();if(!_0x483ae5){logger['debug']('[H1]\x20Download\x20link\x20not\x20found,\x20listing\x20all\x20links\x20on\x20page...');await listAllLinks(_0x1f57eb);throw new Error('Download\x20link\x20not\x20found\x20in\x20Setup\x20Audit\x20Trail.');}const _0x569a0d=0x7530;logger['debug']('[H1]\x20Subscribing\x20to\x20download\x20event,\x20then\x20clicking...');const _0x5b8820=_0x1f57eb['waitForEvent']('download',{'timeout':_0x569a0d});await _0x483ae5['click']({'timeout':0x1388});logger['debug']('[timing]\x20downloadLocator.click:\x20'+Math['round'](performance['now']()-_0x3a8d28)+'ms');_0x3a8d28=performance['now']();const _0x49b796=await _0x5b8820;logger['debug']('[timing]\x20await\x20download\x20event\x20(after\x20click):\x20'+Math['round'](performance['now']()-_0x3a8d28)+'ms');logger['debug']('[SUCCESS]\x20Download\x20event\x20received,\x20saving\x20file...');const _0x36ea6d=a0_0x2dc11a['join'](_0x125f0f,'SetupAuditTrail.csv');_0x3a8d28=performance['now']();await _0x49b796['saveAs'](_0x36ea6d);logger['debug']('[timing]\x20download.saveAs:\x20'+Math['round'](performance['now']()-_0x3a8d28)+'ms');logger['debug']('[timing]\x20retrieveFile\x20total:\x20'+Math['round'](performance['now']()-_0x5d9a75)+'ms');logger['debug']('[SUCCESS]\x20File\x20saved\x20to:\x20'+_0x36ea6d);return _0x36ea6d;}catch(_0x425bbd){logger['error']('[ERROR]\x20Error\x20during\x20Setup\x20Audit\x20Trail\x20download:\x20'+_0x425bbd['message']);throw _0x425bbd;}finally{if(_0x34696b){await _0x34696b['close']();}}}function isRetryableDownloadError(_0x3afd9c){const _0x50dd14=typeof _0x3afd9c?.['message']==='string'?_0x3afd9c['message']:'';if(!_0x50dd14){return![];}if(_0x50dd14['includes']('Frame\x20was\x20detached')||_0x50dd14['includes']('Target\x20page,\x20context\x20or\x20browser\x20has\x20been\x20closed')){return!![];}if(_0x50dd14['includes']('Download\x20link\x20not\x20found\x20in\x20Setup\x20Audit\x20Trail')){return!![];}if(_0x50dd14['includes']('Timeout')&&_0x50dd14['includes']('download')){return!![];}if(_0x50dd14['includes']('net::')||_0x50dd14['includes']('ERR_TOO_MANY_REDIRECTS')||_0x50dd14['includes']('chrome-error://')){return!![];}return![];}async function retrieveFileWithRetry(_0x445ab3=0x3){let _0x2d4fe8;const _0x5e309f=0x7d0;for(let _0xf2fdcb=0x1;_0xf2fdcb<=_0x445ab3;_0xf2fdcb++){try{return await retrieveFile();}catch(_0x36c4a5){_0x2d4fe8=_0x36c4a5;if(isRetryableDownloadError(_0x36c4a5)&&_0xf2fdcb<_0x445ab3){logger['debug']('Retryable\x20error\x20on\x20attempt\x20'+_0xf2fdcb+'/'+_0x445ab3+':\x20'+_0x36c4a5['message']+'.\x20Waiting\x20'+_0x5e309f+'ms...');await new Promise(_0x26adbf=>setTimeout(_0x26adbf,_0x5e309f));continue;}break;}}logger['error']('All\x20download\x20attempts\x20failed.\x20Last\x20error:\x20'+_0x2d4fe8?.['message']);throw _0x2d4fe8;}export async function retrieveSetupAuditTrailFile(){try{return await retrieveFileWithRetry();}catch(_0x86725b){logger['error'](_0x86725b,'Error\x20retrieving\x20Setup\x20Audit\x20Trail\x20file');throw _0x86725b;}}
|
|
1
|
+
import{exec}from'node:child_process';import{performance}from'node:perf_hooks';import{promisify}from'node:util';import a0_0x4d4d06 from'node:fs';import a0_0x562164 from'node:path';import{chromium}from'playwright';import a0_0x43cb6a from'../config.js';import{state}from'../state.js';import{createModuleLogger}from'./logger.js';const logger=createModuleLogger(import.meta.url);const execAsync=promisify(exec);const ORG_SETUP_AUDIT_FRAME_URL=/orgsetupaudit\.jsp|\/setup\/org\/orgsetupaudit/i;const DOWNLOAD_LINK_SELECTORS=['a:has-text(\x22Download\x20setup\x20audit\x20trail\x20for\x20last\x20six\x20months\x22)','a:has-text(\x22Download\x20setup\x20audit\x20trail\x22)','a[href*=\x22SetupAuditTrail\x22]'];const FALLBACK_LINK_SELECTORS=['a[href*=\x22SetupAuditTrail\x22]','a[href*=\x22/servlet/servlet.SetupAuditTrail\x22]','div.pShowMore\x20a[href*=\x22SetupAuditTrail\x22]','div.pShowMore\x20a'];const FRAME_WAIT_FALLBACK_POLL_MS=0x1f4;const VISIBLE_DOWNLOAD_LINK_TIMEOUT_MS=0x1388;const MAX_VISIBLE_ANCHOR_CANDIDATES=0xc;let _playwrightBrowsersAvailable=null;function checkPlaywrightBrowsers(){if(_playwrightBrowsersAvailable!==null){return _playwrightBrowsersAvailable;}try{const _0x3f6be4=chromium['executablePath']();_playwrightBrowsersAvailable=a0_0x4d4d06['existsSync'](_0x3f6be4);}catch{_playwrightBrowsersAvailable=![];}return _playwrightBrowsersAvailable;}async function installPlaywrightBrowsers(){try{logger['debug']('Installing\x20Playwright\x20browsers...');const _0x43ce1d=new URL('../../node_modules/.bin/playwright',import.meta.url)['pathname'];const _0x1ff7a4=a0_0x4d4d06['existsSync'](_0x43ce1d)?'\x22'+_0x43ce1d+'\x22\x20install\x20chromium':'npx\x20playwright\x20install\x20chromium';const {stderr:_0x8bb223}=await execAsync(_0x1ff7a4);if(_0x8bb223&&!_0x8bb223['includes']('chromium')){logger['warn']('Playwright\x20installation\x20stderr:',_0x8bb223);}logger['debug']('Playwright\x20browsers\x20installed\x20successfully');return!![];}catch(_0x397bdf){logger['error']('Failed\x20to\x20install\x20Playwright\x20browsers:',_0x397bdf['message']);throw new Error('Failed\x20to\x20install\x20Playwright\x20browsers.\x20Please\x20run\x20manually:\x20npx\x20playwright\x20install\x20chromium');}}async function listAllLinks(_0x59c01c){try{const _0x4b5915=await _0x59c01c['locator']('a')['all']();if(_0x4b5915['length']===0x0){logger['debug']('No\x20links\x20found\x20on\x20page');return;}logger['debug']('Found\x20'+_0x4b5915['length']+'\x20links\x20on\x20page:');for(let _0x2daeca=0x0;_0x2daeca<Math['min'](_0x4b5915['length'],0x14);_0x2daeca++){const _0xcf1d57=await _0x4b5915[_0x2daeca]['getAttribute']('href');const text=await _0x4b5915[_0x2daeca]['textContent']();logger['debug']('\x20\x20['+_0x2daeca+']\x20href=\x22'+_0xcf1d57+'\x22\x20text=\x22'+text?.['trim']()['slice'](0x0,0x32)+'\x22');}if(_0x4b5915['length']>0x14){logger['debug']('\x20\x20...\x20and\x20'+(_0x4b5915['length']-0x14)+'\x20more\x20links');}}catch(_0x4b68fc){logger['debug']('Error\x20listing\x20links:\x20'+_0x4b68fc['message']);}}async function waitForOrgSetupAuditFrame(_0x49d458,_0x1c21ed=0xea60){const _0x4f8726=Date['now']();function _0x39a1a7(){let _0x2fb0f4;try{_0x2fb0f4=_0x49d458['frames']();}catch(_0x1d2e23){logger['debug']('[H2]\x20tryMatch\x20page.frames:\x20'+_0x1d2e23['message']);return null;}for(const _0xf97a8b of _0x2fb0f4){try{const _0xf50554=_0xf97a8b['url']();if(ORG_SETUP_AUDIT_FRAME_URL['test'](_0xf50554)){return _0xf97a8b;}}catch{}}return null;}const _0x37eddc=_0x39a1a7();if(_0x37eddc){let _0x4faf9d='(url\x20unavailable)';try{_0x4faf9d=_0x37eddc['url']();}catch{}logger['debug']('[H2]\x20orgsetupaudit\x20frame\x20after\x20'+(Date['now']()-_0x4f8726)+'ms:\x20'+_0x4faf9d['slice'](0x0,0x8c));return _0x37eddc;}let _0x516458=![];let _0x46bfe4;return new Promise(_0x4327a1=>{const _0x31f7fb=()=>{if(_0x46bfe4){clearInterval(_0x46bfe4);}_0x49d458['off']('framenavigated',_0x5b4a6d);_0x49d458['off']('close',_0x9bb52e);};function _0x9bb52e(){logger['debug']('[H2]\x20page\x20closed\x20while\x20waiting\x20for\x20orgsetupaudit\x20frame');_0x50027f(null);}function _0x50027f(_0x2e4705){if(_0x516458){return;}_0x516458=!![];_0x31f7fb();if(_0x2e4705){let _0x11be4d='(url\x20unavailable)';try{_0x11be4d=_0x2e4705['url']();}catch{}logger['debug']('[H2]\x20orgsetupaudit\x20frame\x20after\x20'+(Date['now']()-_0x4f8726)+'ms:\x20'+_0x11be4d['slice'](0x0,0x8c));}else{logger['debug']('[H2]\x20orgsetupaudit\x20frame\x20not\x20found\x20within\x20'+_0x1c21ed+'ms');}_0x4327a1(_0x2e4705);}function _0x5b4a6d(){const _0x40a8fd=_0x39a1a7();if(_0x40a8fd){_0x50027f(_0x40a8fd);}}_0x49d458['on']('framenavigated',_0x5b4a6d);_0x49d458['on']('close',_0x9bb52e);_0x46bfe4=setInterval(()=>{if(_0x516458){return;}const _0x774535=_0x39a1a7();if(_0x774535){_0x50027f(_0x774535);return;}if(Date['now']()-_0x4f8726>=_0x1c21ed){_0x50027f(null);}},FRAME_WAIT_FALLBACK_POLL_MS);});}async function waitForDownloadLinkAttached(_0x3137f5,_0x4d12f9=0x61a8){if(!_0x3137f5){return;}const _0x491bed=Date['now']();const _0x97bb38=['a[href*=\x22SetupAuditTrail\x22]','a:has-text(\x22Download\x20setup\x20audit\x20trail\x20for\x20last\x20six\x20months\x22)','a:has-text(\x22Download\x20setup\x20audit\x20trail\x22)'];for(const _0x477aeb of _0x97bb38){const _0x150464=Date['now']()-_0x491bed;const _0x370205=_0x4d12f9-_0x150464;if(_0x370205<0x190){break;}try{await _0x3137f5['locator'](_0x477aeb)['first']()['waitFor']({'state':'attached','timeout':_0x370205});logger['debug']('[H2]\x20Download\x20anchor\x20ready\x20('+_0x477aeb+')\x20after\x20'+(Date['now']()-_0x491bed)+'ms');return;}catch{}}logger['debug']('[H2]\x20Download\x20anchor\x20not\x20attached\x20within\x20wait\x20(continuing\x20to\x20locator\x20search)');}async function firstVisibleMatchingAnchor(_0x44813a,_0x666eb1){const _0x340c94=_0x44813a['locator'](_0x666eb1);let _0x2ccea5;try{_0x2ccea5=await _0x340c94['count']();}catch(_0x5cf739){logger['debug']('firstVisibleMatchingAnchor\x20count:\x20'+_0x5cf739['message']);return null;}const _0x28c39f=Math['min'](_0x2ccea5,MAX_VISIBLE_ANCHOR_CANDIDATES);if(_0x2ccea5>MAX_VISIBLE_ANCHOR_CANDIDATES){logger['debug']('firstVisibleMatchingAnchor:\x20checking\x20first\x20'+_0x28c39f+'\x20of\x20'+_0x2ccea5+'\x20matches\x20for\x20'+_0x666eb1['slice'](0x0,0x28));}for(let _0x5caeea=0x0;_0x5caeea<_0x28c39f;_0x5caeea++){const _0x4c5b46=_0x340c94['nth'](_0x5caeea);try{await _0x4c5b46['waitFor']({'state':'visible','timeout':VISIBLE_DOWNLOAD_LINK_TIMEOUT_MS});return _0x4c5b46;}catch{}}return null;}export function buildFrontdoorUrl(_0x103fb3,_0x3e10e4,_0x1c53dc){const _0x47588e=_0x103fb3['replace'](/\/+$/,'');return _0x47588e+'/secur/frontdoor.jsp?sid='+encodeURIComponent(_0x3e10e4)+'&retURL='+encodeURIComponent(_0x1c53dc);}export function isSalesforceLoginPage(_0x5063ea,_0x4b82a6){return _0x5063ea==='Login\x20|\x20Salesforce'||typeof _0x4b82a6==='string'&&/[&?]ec=302(?:&|$).*startURL=|[&?]startURL=.*[&?]ec=302(?:&|$)/['test'](_0x4b82a6);}async function findDownloadLocator(_0x443714,_0x5054e5){const _0x30099a=async _0x50386d=>{for(const _0x53fdbb of DOWNLOAD_LINK_SELECTORS){try{const _0x7114b3=await firstVisibleMatchingAnchor(_0x50386d,_0x53fdbb);if(_0x7114b3){logger['debug']('Found\x20visible\x20download\x20link:\x20'+_0x53fdbb);return _0x7114b3;}}catch(_0x4c253f){logger['debug']('Selector\x20'+_0x53fdbb+':\x20'+_0x4c253f['message']);}}return null;};if(_0x5054e5){const _0x3dcf92=await _0x30099a(_0x5054e5);if(_0x3dcf92){return _0x3dcf92;}}for(const _0x3e5a6a of _0x443714['frames']()){try{const _0x184ed9=_0x3e5a6a['url']();if(ORG_SETUP_AUDIT_FRAME_URL['test'](_0x184ed9)){const _0x1b3e46=await _0x30099a(_0x3e5a6a);if(_0x1b3e46){return _0x1b3e46;}}}catch{continue;}}const _0x19b349=['iframe[src*=\x22SecurityEvents\x22]','iframe'];for(const _0x158572 of _0x19b349){try{const _0x4b7141=_0x443714['frameLocator'](_0x158572)['first']();for(const _0x2df200 of DOWNLOAD_LINK_SELECTORS){try{const _0xd41695=await firstVisibleMatchingAnchor(_0x4b7141,_0x2df200);if(_0xd41695){logger['debug']('Found\x20visible\x20download\x20link:\x20'+_0x158572+'\x20+\x20'+_0x2df200);return _0xd41695;}}catch{}}}catch{}}const _0xc2a511=[_0x443714,..._0x443714['frames']()];for(const _0x3a36bb of FALLBACK_LINK_SELECTORS){for(const _0x5ef0ae of _0xc2a511){try{const _0x1f7801=await firstVisibleMatchingAnchor(_0x5ef0ae,_0x3a36bb);if(_0x1f7801){logger['debug']('Found\x20visible\x20download\x20link\x20(fallback):\x20'+_0x3a36bb);return _0x1f7801;}}catch(_0x4b858f){logger['debug']('Fallback\x20selector\x20failed:\x20'+_0x3a36bb+'\x20-\x20'+_0x4b858f['message']);}}}logger['debug']('No\x20download\x20link\x20found\x20with\x20any\x20selector');return null;}async function retrieveFile(){let _0x2c6810=null;try{const _0x4fa3c3='/lightning/setup/SecurityEvents/home';const _0x5481b6=performance['now']();let _0x36370e=_0x5481b6;let _0x430c4b=checkPlaywrightBrowsers();logger['debug']('[timing]\x20checkPlaywrightBrowsers:\x20'+Math['round'](performance['now']()-_0x36370e)+'ms');_0x36370e=performance['now']();if(!_0x430c4b){logger['debug']('Playwright\x20browsers\x20not\x20installed.\x20Installing\x20them\x20automatically...');await installPlaywrightBrowsers();_playwrightBrowsersAvailable=null;_0x430c4b=checkPlaywrightBrowsers();if(!_0x430c4b){throw new Error('Failed\x20to\x20install\x20Playwright\x20browsers.\x20Please\x20run\x20manually:\x20npx\x20playwright\x20install\x20chromium');}logger['debug']('[timing]\x20installPlaywrightBrowsers\x20(+recheck):\x20'+Math['round'](performance['now']()-_0x36370e)+'ms');_0x36370e=performance['now']();}_0x2c6810=await chromium['launch']({'headless':!![]});const _0x260ab1=a0_0x562164['join'](process['cwd'](),'tmp');if(!a0_0x4d4d06['existsSync'](_0x260ab1)){a0_0x4d4d06['mkdirSync'](_0x260ab1,{'recursive':!![]});}const _0x2befc3=await _0x2c6810['newContext']({'acceptDownloads':!![],'downloadsPath':_0x260ab1,'ignoreHTTPSErrors':!a0_0x43cb6a['strictSsl']});const _0x1fdf34=await _0x2befc3['newPage']();logger['debug']('[timing]\x20chromium.launch\x20+\x20newContext\x20+\x20newPage:\x20'+Math['round'](performance['now']()-_0x36370e)+'ms');_0x36370e=performance['now']();const {instanceUrl:_0x3a1ec4,accessToken:_0x162c37}=state['org'];if(!_0x3a1ec4||!_0x162c37){throw new Error('Missing\x20instanceUrl\x20or\x20accessToken');}const _0x1cafd9=buildFrontdoorUrl(_0x3a1ec4,_0x162c37,_0x4fa3c3);logger['debug']('[H2]\x20Navigating\x20to:\x20'+_0x4fa3c3);await _0x1fdf34['goto'](_0x1cafd9,{'waitUntil':'domcontentloaded','timeout':0xea60});logger['debug']('[timing]\x20page.goto(domcontentloaded):\x20'+Math['round'](performance['now']()-_0x36370e)+'ms');_0x36370e=performance['now']();let _0x18e4fc='n/a';try{_0x18e4fc=await _0x1fdf34['title']();}catch(_0x4e41dd){logger['debug']('[H2]\x20Failed\x20to\x20retrieve\x20page\x20title\x20after\x20load',{'error':_0x4e41dd});}logger['debug']('[H2]\x20Page\x20loaded.\x20Title:\x20'+_0x18e4fc+',\x20URL:\x20'+_0x1fdf34['url']());if(isSalesforceLoginPage(_0x18e4fc,_0x1fdf34['url']())){throw new Error('Frontdoor\x20login\x20redirected\x20to\x20Salesforce\x20login\x20page:\x20'+_0x1fdf34['url']());}try{await _0x1fdf34['waitForLoadState']('load',{'timeout':0x2710});}catch{}logger['debug']('[timing]\x20page.title\x20+\x20waitForLoadState(load):\x20'+Math['round'](performance['now']()-_0x36370e)+'ms');_0x36370e=performance['now']();const _0x17bf12=await waitForOrgSetupAuditFrame(_0x1fdf34,0xea60);logger['debug']('[timing]\x20waitForOrgSetupAuditFrame:\x20'+Math['round'](performance['now']()-_0x36370e)+'ms');_0x36370e=performance['now']();await waitForDownloadLinkAttached(_0x17bf12,0x61a8);logger['debug']('[timing]\x20waitForDownloadLinkAttached:\x20'+Math['round'](performance['now']()-_0x36370e)+'ms');_0x36370e=performance['now']();logger['debug']('[H1]\x20Resolving\x20download\x20control...');const _0x420275=await findDownloadLocator(_0x1fdf34,_0x17bf12);logger['debug']('[timing]\x20findDownloadLocator:\x20'+Math['round'](performance['now']()-_0x36370e)+'ms');_0x36370e=performance['now']();if(!_0x420275){logger['debug']('[H1]\x20Download\x20link\x20not\x20found,\x20listing\x20all\x20links\x20on\x20page...');await listAllLinks(_0x1fdf34);throw new Error('Download\x20link\x20not\x20found\x20in\x20Setup\x20Audit\x20Trail.');}const _0x5cecd3=0x7530;logger['debug']('[H1]\x20Subscribing\x20to\x20download\x20event,\x20then\x20clicking...');const _0x1179c4=_0x1fdf34['waitForEvent']('download',{'timeout':_0x5cecd3});await _0x420275['click']({'timeout':0x1388});logger['debug']('[timing]\x20downloadLocator.click:\x20'+Math['round'](performance['now']()-_0x36370e)+'ms');_0x36370e=performance['now']();const _0x364c5a=await _0x1179c4;logger['debug']('[timing]\x20await\x20download\x20event\x20(after\x20click):\x20'+Math['round'](performance['now']()-_0x36370e)+'ms');logger['debug']('[SUCCESS]\x20Download\x20event\x20received,\x20saving\x20file...');const _0x41fc4d=a0_0x562164['join'](_0x260ab1,'SetupAuditTrail.csv');_0x36370e=performance['now']();await _0x364c5a['saveAs'](_0x41fc4d);logger['debug']('[timing]\x20download.saveAs:\x20'+Math['round'](performance['now']()-_0x36370e)+'ms');logger['debug']('[timing]\x20retrieveFile\x20total:\x20'+Math['round'](performance['now']()-_0x5481b6)+'ms');logger['debug']('[SUCCESS]\x20File\x20saved\x20to:\x20'+_0x41fc4d);return _0x41fc4d;}catch(_0x45852d){logger['error']('[ERROR]\x20Error\x20during\x20Setup\x20Audit\x20Trail\x20download:\x20'+_0x45852d['message']);throw _0x45852d;}finally{if(_0x2c6810){await _0x2c6810['close']();}}}function isRetryableDownloadError(_0x551a5f){const _0x432975=typeof _0x551a5f?.['message']==='string'?_0x551a5f['message']:'';if(!_0x432975){return![];}if(_0x432975['includes']('Frame\x20was\x20detached')||_0x432975['includes']('Target\x20page,\x20context\x20or\x20browser\x20has\x20been\x20closed')){return!![];}if(_0x432975['includes']('Download\x20link\x20not\x20found\x20in\x20Setup\x20Audit\x20Trail')){return!![];}if(_0x432975['includes']('Timeout')&&_0x432975['includes']('download')){return!![];}if(_0x432975['includes']('net::')||_0x432975['includes']('ERR_TOO_MANY_REDIRECTS')||_0x432975['includes']('chrome-error://')){return!![];}return![];}async function retrieveFileWithRetry(_0xd66ec2=0x3){let _0x4191db;const _0x68572a=0x7d0;for(let _0x38a423=0x1;_0x38a423<=_0xd66ec2;_0x38a423++){try{return await retrieveFile();}catch(_0x59f76d){_0x4191db=_0x59f76d;if(isRetryableDownloadError(_0x59f76d)&&_0x38a423<_0xd66ec2){logger['debug']('Retryable\x20error\x20on\x20attempt\x20'+_0x38a423+'/'+_0xd66ec2+':\x20'+_0x59f76d['message']+'.\x20Waiting\x20'+_0x68572a+'ms...');await new Promise(_0x178078=>setTimeout(_0x178078,_0x68572a));continue;}break;}}logger['error']('All\x20download\x20attempts\x20failed.\x20Last\x20error:\x20'+_0x4191db?.['message']);throw _0x4191db;}export async function retrieveSetupAuditTrailFile(){try{return await retrieveFileWithRetry();}catch(_0x7bab2d){logger['error'](_0x7bab2d,'Error\x20retrieving\x20Setup\x20Audit\x20Trail\x20file');throw _0x7bab2d;}}
|