test_research4 0.5.12 → 0.5.14
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/deploy_metadata.js +1 -1
- package/src/tools/describe_object.js +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_0x4abf0e=a0_0x308e;(function(_0x258bdf,_0x22560e){const _0x2505cc=a0_0x308e;const _0x42dd84=_0x258bdf();while(!![]){try{const _0xe67a1e=-parseInt(_0x2505cc(0x72))/0x1+-parseInt(_0x2505cc(0x120))/0x2*(parseInt(_0x2505cc(0xf6))/0x3)+parseInt(_0x2505cc(0xac))/0x4+-parseInt(_0x2505cc(0xfc))/0x5*(-parseInt(_0x2505cc(0xaa))/0x6)+-parseInt(_0x2505cc(0x76))/0x7+-parseInt(_0x2505cc(0x97))/0x8+parseInt(_0x2505cc(0xb5))/0x9;if(_0xe67a1e===_0x22560e){break;}else{_0x42dd84['push'](_0x42dd84['shift']());}}catch(_0x35973a){_0x42dd84['push'](_0x42dd84['shift']());}}}(a0_0xadd1,0xea34d));function a0_0xadd1(){const _0x496db1=['\x43\x77\x66\x72\x45\x4b\x38','\x42\x67\x39\x4e','\x7a\x77\x7a\x48\x44\x77\x58\x30\x6f\x49\x62\x4d\x79\x71','\x6d\x74\x69\x30\x6e\x4a\x69\x57\x6e\x77\x76\x6c\x73\x78\x6e\x4b\x44\x61','\x75\x4d\x76\x4a\x7a\x77\x4c\x32\x7a\x77\x71\x36\x69\x61','\x69\x66\x54\x70\x75\x66\x72\x6a\x74\x30\x35\x74\x78\x71','\x44\x63\x62\x54\x42\x32\x72\x4c\x6f\x49\x62\x30\x43\x47','\x6f\x64\x4b\x57\x6f\x64\x43\x58\x6f\x68\x6e\x49\x43\x4e\x48\x57\x42\x47','\x69\x63\x62\x74\x41\x67\x39\x33\x69\x68\x72\x4f\x41\x71','\x43\x33\x62\x56\x43\x4e\x71\x47\x44\x68\x4c\x57\x7a\x71','\x42\x4d\x39\x4b\x7a\x74\x50\x31\x43\x4d\x57','\x6c\x63\x62\x55\x42\x33\x72\x50\x79\x32\x75\x53\x69\x61','\x69\x63\x61\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x44\x32\x66\x59\x42\x4d\x4c\x55\x7a\x57','\x7a\x4d\x4c\x55\x7a\x68\x6d\x47\x79\x78\x7a\x48\x41\x71','\x6d\x64\x61\x50','\x69\x63\x44\x4f\x44\x68\x72\x57\x6a\x57','\x44\x4d\x76\x53\x69\x65\x58\x66\x76\x4b\x76\x6d\x6c\x61','\x7a\x30\x48\x6b\x74\x77\x47','\x42\x4d\x39\x30\x41\x77\x6e\x4c','\x42\x66\x72\x6a\x74\x65\x69','\x42\x33\x6a\x30\x69\x63\x48\x48\x44\x78\x72\x56\x6c\x71','\x79\x77\x6e\x4c\x69\x66\x62\x62\x76\x65\x48\x74\x6c\x61','\x44\x67\x39\x6d\x42\x33\x44\x4c\x43\x4b\x6e\x48\x43\x57','\x69\x63\x62\x6e\x71\x31\x62\x46\x76\x66\x6a\x62\x74\x47','\x43\x63\x61\x4f\x42\x33\x7a\x4c\x43\x4e\x6a\x50\x7a\x61','\x7a\x4b\x58\x67\x79\x77\x57','\x43\x4e\x7a\x4c\x43\x47','\x75\x30\x50\x6e\x7a\x65\x4f','\x6c\x78\x71\x47\x76\x66\x4c\x71\x72\x73\x61\x47\x69\x61','\x42\x4e\x7a\x48\x42\x67\x4c\x4b\x69\x68\x72\x59\x79\x71','\x6d\x4e\x57\x59\x6e\x78\x57\x58\x6d\x68\x57\x59\x6d\x71','\x42\x4e\x7a\x48\x42\x67\x4c\x4b\x69\x67\x58\x56\x7a\x57','\x43\x59\x61\x4f\x42\x33\x7a\x4c\x43\x4e\x6a\x50\x7a\x61','\x7a\x4d\x38\x53\x69\x67\x72\x4c\x79\x4e\x76\x4e\x69\x61','\x72\x78\x6a\x59\x42\x33\x69\x47\x43\x33\x72\x48\x43\x47','\x74\x4c\x6e\x71\x74\x31\x6a\x75\x6b\x71','\x78\x31\x62\x70\x75\x4c\x71\x47\x69\x63\x61\x47\x69\x61','\x73\x75\x6a\x6e\x69\x66\x6e\x48\x42\x67\x76\x5a\x7a\x47','\x43\x33\x72\x4b\x41\x77\x38','\x6e\x5a\x4b\x58\x6e\x74\x75\x31\x6d\x4e\x62\x32\x74\x75\x54\x77\x71\x47','\x6d\x78\x57\x59\x6d\x68\x57\x30\x46\x64\x69\x32\x46\x61','\x71\x32\x39\x55\x44\x67\x76\x34\x44\x63\x62\x5a\x7a\x71','\x43\x4e\x71\x47\x43\x33\x72\x4b\x41\x77\x38','\x69\x67\x72\x4c\x79\x4e\x76\x4e','\x43\x33\x62\x53\x41\x78\x71','\x79\x32\x6e\x31\x43\x67\x4c\x4c\x7a\x63\x57\x47\x7a\x61','\x44\x4b\x44\x59\x45\x4e\x71','\x7a\x33\x76\x54\x7a\x77\x35\x30\x6f\x49\x61','\x44\x63\x62\x30\x45\x78\x62\x4c\x6f\x49\x62\x5a\x44\x61','\x43\x67\x39\x59\x44\x63\x61\x34\x6d\x64\x47\x57','\x42\x4b\x58\x62\x73\x75\x34','\x75\x31\x62\x70\x75\x4c\x71\x47\x69\x63\x61\x47\x69\x61','\x7a\x78\x7a\x4c\x42\x63\x4b','\x41\x68\x72\x30\x43\x61','\x42\x65\x48\x57\x42\x32\x53','\x69\x67\x58\x4c\x44\x4d\x76\x53\x6f\x49\x61','\x43\x33\x72\x48\x43\x4e\x72\x5a\x76\x32\x4c\x30\x41\x61','\x69\x63\x62\x74\x73\x75\x58\x66\x74\x4c\x71\x47\x69\x61','\x6d\x74\x6d\x34\x74\x65\x48\x6d\x76\x33\x4c\x33','\x42\x32\x35\x5a\x6f\x49\x62\x5a\x44\x67\x72\x50\x42\x57','\x6d\x5a\x47\x34\x6d\x5a\x47\x59\x6e\x68\x4c\x33\x7a\x4e\x7a\x48\x74\x57','\x43\x4d\x39\x51\x7a\x77\x6e\x30\x69\x63\x30\x54\x43\x57','\x41\x4b\x44\x71\x72\x77\x6d','\x43\x78\x50\x34\x71\x30\x4b','\x44\x78\x72\x59\x45\x4d\x79','\x44\x63\x61\x4f\x42\x33\x7a\x4c\x43\x4e\x6a\x50\x7a\x61','\x73\x4e\x44\x4d\x45\x67\x47','\x69\x66\x6e\x4c\x44\x63\x62\x69\x76\x66\x72\x71\x69\x61','\x41\x77\x35\x4d\x42\x59\x57\x47\x7a\x67\x76\x49\x44\x71','\x6d\x4a\x71\x33\x6e\x64\x43\x30\x6f\x64\x62\x64\x75\x77\x6a\x4b\x43\x4d\x53','\x43\x68\x62\x59\x7a\x78\x6e\x5a\x69\x67\x66\x53\x42\x61','\x69\x67\x39\x31\x44\x68\x62\x31\x44\x63\x61\x4f\x7a\x61','\x44\x67\x39\x74\x44\x68\x6a\x50\x42\x4d\x43','\x69\x63\x61\x54\x6c\x78\x6e\x50\x42\x67\x76\x55\x44\x61','\x7a\x77\x7a\x48\x44\x77\x58\x30\x6f\x49\x61\x5a\x6d\x61','\x69\x63\x61\x54\x6c\x77\x58\x56\x7a\x59\x31\x53\x7a\x71','\x43\x67\x66\x59\x43\x32\x76\x6a\x42\x4e\x71','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x69\x63\x62\x78\x74\x31\x6a\x6c\x75\x31\x62\x62\x71\x57','\x69\x68\x57\x47\x41\x68\x72\x30\x43\x61','\x42\x4d\x39\x4b\x7a\x74\x50\x4d\x43\x57','\x69\x63\x61\x54\x6c\x78\x7a\x4c\x43\x4e\x6e\x50\x42\x57','\x42\x67\x76\x59\x44\x63\x57\x47\x79\x33\x6a\x50\x44\x61','\x43\x67\x66\x59\x79\x78\x72\x4c\x7a\x63\x4b','\x71\x76\x72\x69\x75\x59\x62\x78\x42\x33\x6a\x52\x43\x57','\x42\x4e\x6e\x57\x42\x33\x6a\x30\x69\x68\x7a\x48\x42\x61','\x7a\x78\x6d\x47\x74\x75\x6e\x71\x78\x31\x72\x73\x71\x71','\x79\x78\x6a\x4e\x44\x47','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x69\x61','\x79\x32\x58\x56\x43\x32\x75','\x7a\x67\x66\x73\x72\x65\x79','\x42\x4d\x39\x4b\x7a\x74\x50\x57\x79\x78\x72\x4f','\x6c\x77\x47\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x69\x63\x62\x74\x41\x67\x39\x33\x69\x68\x7a\x4c\x43\x47','\x7a\x68\x72\x49\x75\x68\x69','\x72\x76\x39\x67\x74\x30\x58\x65\x72\x76\x6a\x46\x75\x61','\x6c\x49\x62\x6e\x44\x78\x6e\x30\x69\x67\x6a\x4c\x69\x61','\x69\x63\x61\x47\x69\x63\x62\x74\x41\x77\x58\x4c\x42\x47','\x41\x77\x35\x4d\x42\x59\x4b','\x6c\x77\x58\x56\x7a\x59\x31\x53\x7a\x78\x7a\x4c\x42\x61','\x45\x68\x71\x47\x44\x47','\x6c\x73\x31\x30\x43\x4d\x66\x55\x43\x33\x62\x56\x43\x47','\x79\x77\x58\x4c\x43\x4e\x71','\x72\x75\x58\x68\x45\x65\x57','\x76\x78\x6e\x48\x7a\x32\x75\x36','\x43\x33\x62\x48\x79\x32\x75\x47\x43\x67\x66\x30\x41\x61','\x44\x63\x62\x77\x79\x78\x6a\x50\x79\x77\x6a\x53\x7a\x71','\x69\x63\x30\x54\x44\x68\x6a\x48\x42\x4e\x6e\x57\x42\x57','\x77\x68\x48\x77\x72\x4e\x47','\x6a\x33\x6e\x30\x7a\x67\x4c\x56\x6a\x59\x62\x56\x43\x47','\x7a\x67\x76\x49\x44\x77\x43','\x69\x63\x61\x54\x6c\x78\x62\x56\x43\x4e\x71\x47\x75\x61','\x7a\x77\x31\x4c\x43\x4d\x44\x4c\x42\x4d\x6e\x35','\x79\x32\x6e\x31\x43\x67\x4c\x4c\x7a\x63\x4b','\x43\x30\x48\x36\x43\x30\x79','\x43\x67\x66\x4a\x7a\x73\x62\x57\x79\x78\x72\x4f\x43\x57','\x6c\x63\x61\x54\x43\x59\x61\x47\x69\x63\x61\x47\x69\x61','\x43\x67\x39\x59\x44\x63\x62\x4d\x42\x33\x69\x47\x41\x61','\x42\x33\x6a\x30\x69\x66\x72\x7a\x75\x65\x75\x53\x69\x61','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71','\x69\x67\x58\x4c\x44\x4d\x76\x53\x6f\x49\x62\x4c\x42\x71','\x75\x65\x66\x75\x73\x66\x6d\x50','\x76\x65\x6e\x49\x71\x77\x71','\x43\x32\x4c\x53\x7a\x77\x35\x30','\x79\x78\x72\x4f\x43\x57','\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x73\x35\x51\x43\x57','\x73\x77\x35\x4b\x76\x4b\x6d','\x41\x68\x72\x30\x43\x66\x62\x56\x43\x4e\x71','\x7a\x78\x6d\x47\x6c\x73\x31\x53\x42\x32\x43\x54\x42\x61','\x43\x4e\x71\x53\x69\x67\x6e\x59\x41\x78\x72\x50\x79\x57','\x76\x4d\x66\x53\x41\x77\x71\x47\x42\x33\x62\x30\x41\x71','\x74\x31\x6a\x75\x6c\x63\x61\x54\x43\x63\x62\x71\x74\x57','\x79\x33\x6a\x50\x44\x67\x4c\x4a\x79\x77\x57','\x41\x77\x6e\x48\x42\x63\x57\x47\x7a\x78\x6a\x59\x42\x57','\x6d\x30\x48\x31\x76\x4b\x54\x55\x44\x71','\x45\x67\x6a\x68\x75\x4d\x6d','\x7a\x32\x76\x55\x79\x33\x4b\x53\x69\x67\x66\x53\x7a\x71','\x69\x63\x62\x6d\x74\x30\x44\x46\x74\x65\x76\x77\x72\x71','\x69\x63\x62\x75\x43\x4d\x66\x55\x43\x33\x62\x56\x43\x47','\x41\x65\x39\x5a\x77\x65\x30','\x6d\x74\x43\x33\x6f\x64\x79\x31\x74\x33\x72\x6e\x43\x30\x44\x77','\x44\x68\x6a\x48\x42\x4e\x6e\x57\x42\x33\x6a\x30','\x69\x63\x31\x53\x69\x65\x58\x66\x76\x4b\x76\x6d\x69\x61','\x71\x30\x76\x46\x72\x4b\x39\x6d\x72\x65\x76\x73\x78\x57','\x46\x64\x65\x33\x46\x64\x44\x38\x6d\x4a\x72\x38\x6d\x47','\x7a\x31\x72\x6b\x79\x4b\x43','\x42\x67\x66\x49\x42\x67\x75\x47\x41\x77\x79\x47\x42\x57','\x69\x67\x66\x53\x42\x63\x62\x56\x44\x78\x72\x57\x44\x71','\x69\x63\x30\x54\x41\x67\x76\x53\x43\x63\x69\x47\x7a\x47','\x41\x77\x58\x4c\x42\x4e\x71','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x69\x63\x61\x47\x69\x63\x62\x6d\x42\x32\x43\x47\x42\x61','\x74\x33\x62\x30\x41\x77\x39\x55\x43\x5a\x4f','\x71\x77\x50\x75\x43\x78\x71','\x44\x77\x66\x51\x44\x30\x69','\x74\x4e\x7a\x6f\x75\x4b\x69','\x69\x63\x61\x47\x69\x63\x61\x47\x76\x68\x6a\x48\x42\x47','\x75\x78\x76\x70\x77\x65\x30','\x6d\x33\x57\x58\x6e\x68\x57\x58\x6d\x33\x57\x58\x6d\x71','\x69\x63\x61\x54\x6c\x77\x48\x4c\x42\x68\x61\x53\x69\x61','\x6c\x73\x31\x4f\x7a\x77\x58\x57','\x75\x68\x44\x4d\x42\x66\x47','\x7a\x67\x4c\x56\x69\x67\x39\x59\x69\x67\x48\x30\x44\x61','\x42\x33\x6a\x4a\x7a\x73\x62\x64\x42\x32\x35\x30\x7a\x71','\x41\x4d\x39\x50\x42\x47','\x69\x63\x31\x33\x69\x66\x62\x62\x76\x65\x48\x74\x69\x61','\x73\x77\x35\x32\x79\x77\x58\x50\x7a\x63\x62\x30\x43\x47','\x69\x63\x62\x74\x44\x78\x62\x57\x43\x4d\x76\x5a\x43\x57','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x75\x61','\x77\x67\x4c\x67\x79\x4e\x6d','\x73\x4c\x6e\x34\x76\x65\x38','\x69\x67\x48\x30\x44\x68\x61\x47\x6b\x67\x72\x4c\x7a\x47','\x7a\x78\x6a\x4e\x7a\x77\x35\x4a\x45\x73\x57\x47\x79\x71','\x69\x63\x61\x54\x6c\x78\x72\x59\x79\x77\x35\x5a\x43\x61','\x69\x63\x61\x47\x69\x63\x62\x69\x76\x66\x72\x71\x69\x61','\x69\x63\x61\x47\x75\x32\x76\x30\x69\x67\x58\x56\x7a\x57','\x6d\x74\x71\x59\x6e\x64\x71\x32\x76\x33\x76\x4b\x74\x4e\x66\x74','\x42\x4d\x39\x30\x41\x77\x6e\x4c\x6c\x63\x62\x50\x42\x47','\x74\x4e\x48\x54\x45\x77\x75','\x42\x77\x66\x30\x41\x77\x39\x55','\x79\x4b\x31\x4a\x43\x31\x61','\x69\x63\x62\x74\x7a\x78\x71\x47\x44\x32\x39\x59\x41\x57','\x69\x67\x66\x59\x7a\x33\x76\x54\x7a\x77\x35\x30\x43\x57','\x7a\x78\x48\x50\x44\x61','\x34\x50\x32\x6d\x69\x65\x76\x59\x43\x4d\x39\x59\x6f\x49\x62\x6a','\x44\x68\x76\x70\x42\x33\x79','\x6c\x49\x39\x5a\x43\x4d\x6d\x56\x42\x77\x6e\x57\x6c\x71','\x6b\x67\x72\x4c\x7a\x4d\x66\x31\x42\x68\x71\x36\x69\x61','\x79\x77\x58\x4c\x43\x32\x7a\x56\x43\x4d\x6e\x4c\x69\x61','\x42\x68\x6e\x4c\x6b\x71','\x42\x4d\x66\x54\x7a\x71','\x7a\x78\x6d\x47\x76\x30\x39\x73\x73\x31\x6e\x71\x71\x71','\x71\x76\x44\x66\x76\x4d\x75','\x43\x32\x4c\x56\x42\x49\x62\x50\x42\x4d\x7a\x56\x43\x47','\x43\x32\x66\x4e\x7a\x71','\x42\x4b\x76\x6e\x71\x32\x79','\x43\x32\x58\x50\x79\x32\x75','\x43\x4e\x71\x47\x43\x33\x72\x4b\x41\x77\x38\x47\x6c\x71','\x74\x63\x61\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x6c\x73\x31\x57\x42\x33\x6a\x30','\x44\x75\x58\x53\x75\x31\x69','\x75\x4e\x76\x55\x69\x63\x69','\x42\x68\x76\x4c\x6f\x49\x61','\x69\x63\x48\x4a\x42\x32\x31\x54\x79\x73\x31\x5a\x7a\x71','\x75\x4c\x71\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x75\x33\x7a\x63\x75\x32\x65','\x43\x49\x57\x47\x44\x32\x66\x59\x42\x4d\x4c\x55\x7a\x57','\x41\x33\x72\x58\x75\x65\x57','\x43\x32\x76\x59\x44\x4d\x76\x59\x6c\x4d\x50\x5a','\x43\x4e\x71\x47\x41\x68\x72\x30\x43\x63\x61\x54\x6c\x71','\x42\x32\x35\x5a\x6f\x49\x61','\x72\x77\x35\x32\x41\x78\x6a\x56\x42\x4d\x31\x4c\x42\x47','\x72\x78\x48\x48\x42\x78\x62\x53\x7a\x78\x6d\x36','\x44\x77\x75\x56\x6d\x73\x62\x30\x42\x59\x62\x5a\x44\x71','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x48\x43\x47','\x7a\x78\x6a\x59\x42\x33\x69','\x42\x66\x6e\x49\x42\x31\x43','\x44\x68\x72\x57\x69\x68\x72\x59\x79\x77\x35\x5a\x43\x61','\x79\x78\x76\x53\x44\x64\x4f\x47\x43\x33\x72\x4b\x41\x71','\x6c\x73\x31\x33\x42\x33\x6a\x52\x43\x33\x62\x48\x79\x57','\x46\x64\x65\x31\x46\x64\x48\x38\x6d\x4e\x57\x31\x46\x61','\x42\x49\x57\x47\x6c\x78\x79\x47\x69\x63\x61\x47\x69\x61','\x7a\x31\x76\x62\x79\x75\x30','\x41\x77\x35\x4d\x42\x57','\x43\x59\x62\x4f\x7a\x77\x58\x57\x69\x67\x31\x4c\x43\x57','\x72\x77\x50\x48\x41\x68\x4f','\x69\x63\x62\x6e\x71\x31\x62\x46\x73\x66\x72\x75\x75\x61','\x69\x63\x61\x54\x6c\x78\x44\x56\x43\x4d\x54\x5a\x43\x61','\x42\x67\x39\x4e\x74\x67\x76\x32\x7a\x77\x57','\x79\x77\x35\x5a\x43\x67\x39\x59\x44\x63\x62\x32\x79\x71','\x69\x68\x44\x48\x43\x4d\x35\x50\x42\x4d\x43\x53\x69\x61','\x6c\x73\x31\x32\x7a\x78\x6a\x5a\x41\x77\x39\x55'];a0_0xadd1=function(){return _0x496db1;};return a0_0xadd1();}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_0x308e(_0x1a71de,_0x4a396a){_0x1a71de=_0x1a71de-0x6c;const _0xadd170=a0_0xadd1();let _0x308e12=_0xadd170[_0x1a71de];if(a0_0x308e['\x57\x4b\x48\x7a\x76\x4b']===undefined){var _0x355772=function(_0x3af291){const _0x1677a0='\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 _0xa64ce5='';let _0x41b987='';for(let _0x3e3d81=0x0,_0x3ea74f,_0x93ef59,_0x30316e=0x0;_0x93ef59=_0x3af291['\x63\x68\x61\x72\x41\x74'](_0x30316e++);~_0x93ef59&&(_0x3ea74f=_0x3e3d81%0x4?_0x3ea74f*0x40+_0x93ef59:_0x93ef59,_0x3e3d81++%0x4)?_0xa64ce5+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x3ea74f>>(-0x2*_0x3e3d81&0x6)):0x0){_0x93ef59=_0x1677a0['\x69\x6e\x64\x65\x78\x4f\x66'](_0x93ef59);}for(let _0x1321c6=0x0,_0x59786c=_0xa64ce5['\x6c\x65\x6e\x67\x74\x68'];_0x1321c6<_0x59786c;_0x1321c6++){_0x41b987+='\x25'+('\x30\x30'+_0xa64ce5['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x1321c6)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x41b987);};a0_0x308e['\x43\x55\x4f\x4a\x78\x79']=_0x355772;a0_0x308e['\x4a\x66\x70\x53\x4b\x61']={};a0_0x308e['\x57\x4b\x48\x7a\x76\x4b']=!![];}const _0xb4d2e4=_0xadd170[0x0];const _0x4bf291=_0x1a71de+_0xb4d2e4;const _0x4496aa=a0_0x308e['\x4a\x66\x70\x53\x4b\x61'][_0x4bf291];if(!_0x4496aa){_0x308e12=a0_0x308e['\x43\x55\x4f\x4a\x78\x79'](_0x308e12);a0_0x308e['\x4a\x66\x70\x53\x4b\x61'][_0x4bf291]=_0x308e12;}else{_0x308e12=_0x4496aa;}return _0x308e12;}import{setSilent}from'\x2e\x2f\x73\x72\x63\x2f\x73\x74\x61\x74\x65\x2e\x6a\x73';function parseCliArguments(_0x21cc07){const _0x5b9b8f=a0_0x308e;const _0x57da6f={'\x64\x74\x62\x50\x72':_0x5b9b8f(0x95)+_0x5b9b8f(0x113)+'\x78\x74','\x41\x57\x45\x56\x65':_0x5b9b8f(0x11d)+_0x5b9b8f(0xe6)+_0x5b9b8f(0x8c)+_0x5b9b8f(0xfa)+_0x5b9b8f(0xa0)+_0x5b9b8f(0x112)+_0x5b9b8f(0x88)+'\x65\x73\x20\x4d\x43\x50\x5f\x54\x52\x41'+_0x5b9b8f(0x93),'\x75\x61\x6a\x77\x42':'\x20\x20\x2d\x2d\x6c\x6f\x67\x2d\x6c\x65'+_0x5b9b8f(0x80)+_0x5b9b8f(0xfe)+'\x20\x20\x20\x53\x65\x74\x20\x6c\x6f\x67'+_0x5b9b8f(0xe8)+_0x5b9b8f(0x11c)+'\x6c\x65\x72\x74\x2c\x20\x63\x72\x69\x74'+_0x5b9b8f(0xf5)+_0x5b9b8f(0x13e)+'\x2c\x20\x6e\x6f\x74\x69\x63\x65\x2c\x20'+_0x5b9b8f(0xb4)+'\x67','\x67\x48\x4a\x4d\x68':'\x20\x20\x2d\x2d\x68\x65\x6c\x70\x2c\x20'+_0x5b9b8f(0xcc)+_0x5b9b8f(0x77)+_0x5b9b8f(0x150)+_0x5b9b8f(0x132),'\x6e\x4c\x41\x49\x4e':function(_0x444bc,_0x335e7e){return _0x444bc===_0x335e7e;},'\x6f\x4a\x7a\x77\x52':_0x5b9b8f(0x122),'\x6c\x54\x49\x4c\x42':_0x5b9b8f(0x110),'\x6b\x52\x67\x70\x71':_0x5b9b8f(0xae),'\x71\x7a\x78\x43\x49':'\x64\x49\x68\x64\x6b','\x4a\x46\x43\x79\x7a':function(_0x209eb1,_0x3fd601){return _0x209eb1<_0x3fd601;},'\x53\x76\x42\x53\x61':function(_0x1c78e3,_0x13bf30){return _0x1c78e3+_0x13bf30;},'\x58\x69\x46\x62\x73':_0x5b9b8f(0x96),'\x68\x4f\x73\x58\x4d':function(_0x486df6,_0x52552b){return _0x486df6<_0x52552b;},'\x78\x62\x47\x52\x63':_0x5b9b8f(0x137),'\x4e\x43\x6d\x49\x63':_0x5b9b8f(0x8b),'\x56\x4d\x4e\x53\x71':'\x2d\x2d\x73\x69\x6c\x65\x6e\x74'};const _0x252286={'\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 _0x50f761=0x0;_0x50f761<_0x21cc07[_0x5b9b8f(0x106)];_0x50f761++){if(_0x5b9b8f(0xe2)===_0x5b9b8f(0xe2)){const _0x1eb961=_0x21cc07[_0x50f761];if(_0x57da6f['\x6e\x4c\x41\x49\x4e'](_0x1eb961,_0x5b9b8f(0x110))||_0x57da6f[_0x5b9b8f(0xa2)](_0x1eb961,'\x2d\x68')||_0x57da6f[_0x5b9b8f(0xa2)](_0x1eb961,_0x5b9b8f(0x6e))||_0x1eb961==='\x2d\x76'){if(_0x5b9b8f(0x129)!==_0x57da6f['\x6f\x4a\x7a\x77\x52']){if(_0x1eb961==='\x2d\x68'){_0x252286[_0x5b9b8f(0xfd)]=_0x57da6f[_0x5b9b8f(0x83)];}else if(_0x57da6f[_0x5b9b8f(0xa2)](_0x1eb961,'\x2d\x76')){if(_0x57da6f['\x6b\x52\x67\x70\x71']===_0x5b9b8f(0xae)){_0x252286['\x74\x72\x61\x6e\x73\x70\x6f\x72\x74']=_0x5b9b8f(0x6e);}else{throw new _0x37867e(_0x5b9b8f(0x116)+_0x5b9b8f(0x6c)+_0x5b9b8f(0x13a)+_0x858191+('\x2e\x20\x4d\x75\x73\x74\x20\x62\x65\x20'+_0x5b9b8f(0xdd)+_0x5b9b8f(0x7f)));}}else{if(_0x57da6f[_0x5b9b8f(0xaf)]!==_0x5b9b8f(0x124)){_0x252286[_0x5b9b8f(0xfd)]=_0x1eb961;}else{_0x3b288e=_0x364a46.env.MCP_TRANSPORT[_0x5b9b8f(0x86)+'\x65']();}}break;}else{_0x106f17[_0x5b9b8f(0x70)](_0x5b9b8f(0x95)+_0x5b9b8f(0x113)+_0x5b9b8f(0xd4)+_0x3701a7['\x76\x65\x72\x73\x69\x6f\x6e']);_0xb45440['\x65\x78\x69\x74'](0x0);}}if((_0x1eb961===_0x5b9b8f(0xd5)+'\x74'||_0x1eb961==='\x2d\x74')&&_0x57da6f['\x4a\x46\x43\x79\x7a'](_0x50f761+0x1,_0x21cc07[_0x5b9b8f(0x106)])){const _0x484c1a=_0x21cc07[_0x57da6f['\x53\x76\x42\x53\x61'](_0x50f761,0x1)];if(_0x484c1a===_0x57da6f[_0x5b9b8f(0x119)]||_0x484c1a==='\x68\x74\x74\x70'){_0x252286['\x74\x72\x61\x6e\x73\x70\x6f\x72\x74']='\x2d\x2d'+_0x484c1a;}else{throw new Error(_0x5b9b8f(0x116)+_0x5b9b8f(0x6c)+_0x5b9b8f(0x13a)+_0x484c1a+(_0x5b9b8f(0xd0)+'\x27\x73\x74\x64\x69\x6f\x27\x20\x6f\x72'+'\x20\x27\x68\x74\x74\x70\x27'));}_0x50f761++;}else if((_0x1eb961==='\x2d\x2d\x6c\x6f\x67\x2d\x6c\x65\x76\x65'+'\x6c'||_0x1eb961==='\x2d\x6c')&&_0x57da6f[_0x5b9b8f(0xfb)](_0x57da6f[_0x5b9b8f(0x13d)](_0x50f761,0x1),_0x21cc07['\x6c\x65\x6e\x67\x74\x68'])){if(_0x5b9b8f(0xb2)===_0x5b9b8f(0xee)){throw new _0x54b734(_0x5b9b8f(0x146)+_0x5b9b8f(0x9f)+_0x1284a4);}else{_0x252286[_0x5b9b8f(0x154)]=_0x21cc07[_0x50f761+0x1][_0x5b9b8f(0x86)+'\x65']();_0x50f761++;}}else if((_0x1eb961===_0x57da6f[_0x5b9b8f(0xf7)]||_0x1eb961==='\x2d\x70')&&_0x57da6f[_0x5b9b8f(0xfb)](_0x50f761+0x1,_0x21cc07[_0x5b9b8f(0x106)])){if(_0x5b9b8f(0x8b)===_0x57da6f['\x4e\x43\x6d\x49\x63']){_0x252286[_0x5b9b8f(0xef)]=Number[_0x5b9b8f(0xbc)](_0x21cc07[_0x50f761+0x1],0xa);_0x50f761++;}else{_0x25642b.env.MCP_HTTP_PORT=_0x371ac7['\x68\x74\x74\x70\x50\x6f\x72\x74']['\x74\x6f\x53\x74\x72\x69\x6e\x67']();}}else if((_0x1eb961===_0x5b9b8f(0x14b)+'\x65'||_0x1eb961==='\x2d\x77')&&_0x50f761+0x1<_0x21cc07['\x6c\x65\x6e\x67\x74\x68']){_0x252286[_0x5b9b8f(0x118)+'\x61\x74\x68\x73']=_0x21cc07[_0x50f761+0x1];_0x50f761++;}else if(_0x1eb961===_0x57da6f['\x56\x4d\x4e\x53\x71']||_0x1eb961==='\x2d\x73'){_0x252286[_0x5b9b8f(0xeb)]=!![];}else if(_0x1eb961[_0x5b9b8f(0xa8)]('\x2d\x2d')||_0x1eb961[_0x5b9b8f(0xa8)]('\x2d')&&_0x1eb961[_0x5b9b8f(0x106)]===0x2){throw new Error(_0x5b9b8f(0x146)+_0x5b9b8f(0x9f)+_0x1eb961);}}else{_0x404d91[_0x5b9b8f(0x70)](_0x57da6f[_0x5b9b8f(0xce)]);_0x2dcb9b[_0x5b9b8f(0x70)]('');_0x2f38bc[_0x5b9b8f(0x70)](_0x5b9b8f(0xd8));_0x5484dd[_0x5b9b8f(0x70)]('\x20\x20'+_0x274fca['\x6e\x61\x6d\x65']+'\x20\x5b\x4f\x50\x54\x49\x4f\x4e\x53\x5d');_0x20d3ad[_0x5b9b8f(0x70)]('');_0x45728e[_0x5b9b8f(0x70)](_0x5b9b8f(0x108));_0x41922[_0x5b9b8f(0x70)](_0x57da6f[_0x5b9b8f(0x130)]);_0xc04d3a['\x6c\x6f\x67'](_0x57da6f[_0x5b9b8f(0x10a)]);_0xd7cca9['\x6c\x6f\x67'](_0x5b9b8f(0xdf)+_0x5b9b8f(0xf3)+_0x5b9b8f(0x13c)+_0x5b9b8f(0xb3)+_0x5b9b8f(0xe5)+_0x5b9b8f(0x149)+'\x6f\x72\x74\x20\x28\x61\x75\x74\x6f\x2d'+_0x5b9b8f(0x7d)+_0x5b9b8f(0x102)+'\x63\x63\x75\x70\x69\x65\x64\x29');_0x486ad4[_0x5b9b8f(0x70)](_0x5b9b8f(0x153)+_0x5b9b8f(0x85)+_0x5b9b8f(0x115)+_0x5b9b8f(0x125)+_0x5b9b8f(0xd9)+'\x73\x20\x28\x6f\x76\x65\x72\x72\x69\x64'+_0x5b9b8f(0x12f)+_0x5b9b8f(0xff)+'\x50\x41\x54\x48\x53\x29');_0x1336ec[_0x5b9b8f(0x70)]('\x20\x20\x2d\x2d\x73\x69\x6c\x65\x6e\x74'+_0x5b9b8f(0xe4)+_0x5b9b8f(0x117)+_0x5b9b8f(0x103)+_0x5b9b8f(0xb1)+'\x65\x73\x20\x2d\x2d\x6c\x6f\x67\x2d\x6c'+_0x5b9b8f(0xa4));_0x332618[_0x5b9b8f(0x70)](_0x57da6f[_0x5b9b8f(0x81)]);_0x5dafbd[_0x5b9b8f(0x70)]('\x20\x20\x2d\x2d\x76\x65\x72\x73\x69\x6f'+'\x6e\x2c\x20\x2d\x76\x20\x20\x20\x20\x20'+_0x5b9b8f(0xcd)+_0x5b9b8f(0x131)+_0x5b9b8f(0x123));_0x533c6a[_0x5b9b8f(0x70)]('');_0x4fcc34[_0x5b9b8f(0x70)](_0x5b9b8f(0x144));_0x5b424f['\x6c\x6f\x67']('\x20\x20'+_0x2baa5b[_0x5b9b8f(0x12e)]+(_0x5b9b8f(0xdb)+_0x5b9b8f(0x9a)));_0xdc38e6[_0x5b9b8f(0x70)]('\x20\x20'+_0x1f4e7a[_0x5b9b8f(0x12e)]+(_0x5b9b8f(0xdb)+'\x72\x74\x20\x68\x74\x74\x70\x20\x2d\x2d'+_0x5b9b8f(0xa1)));_0x2904bf[_0x5b9b8f(0x70)]('\x20\x20'+_0x3605c4['\x6e\x61\x6d\x65']+(_0x5b9b8f(0xdb)+'\x72\x74\x20\x73\x74\x64\x69\x6f\x20\x2d'+'\x2d\x6c\x6f\x67\x2d\x6c\x65\x76\x65\x6c'+'\x20\x64\x65\x62\x75\x67'));_0x3fb3a1[_0x5b9b8f(0x70)]('\x20\x20'+_0x491419['\x6e\x61\x6d\x65']+(_0x5b9b8f(0xdb)+_0x5b9b8f(0x141)+'\x77\x6f\x72\x6b\x73\x70\x61\x63\x65\x20'+'\x2f\x70\x61\x74\x68\x2f\x74\x6f\x2f\x70'+'\x72\x6f\x6a\x65\x63\x74\x20\x2d\x2d\x73'+_0x5b9b8f(0x105)));_0x3e10e2[_0x5b9b8f(0x70)]('');_0x4fdca2[_0x5b9b8f(0x70)](_0x5b9b8f(0x143)+_0x5b9b8f(0xda)+'\x73\x20\x28\x6f\x76\x65\x72\x72\x69\x64'+'\x64\x65\x6e\x20\x62\x79\x20\x43\x4c\x49'+_0x5b9b8f(0x126)+'\x29\x3a');_0x4e0238[_0x5b9b8f(0x70)](_0x5b9b8f(0x87)+_0x5b9b8f(0xa3)+_0x5b9b8f(0x10c)+_0x5b9b8f(0x78)+'\x3a\x20\x73\x74\x64\x69\x6f\x20\x6f\x72'+_0x5b9b8f(0x11b)+'\x61\x75\x6c\x74\x3a\x20\x73\x74\x64\x69'+'\x6f\x29');_0x232848[_0x5b9b8f(0x70)](_0x5b9b8f(0xf9)+_0x5b9b8f(0x136)+_0x5b9b8f(0x107)+'\x65\x76\x65\x6c\x3a\x20\x65\x6d\x65\x72'+_0x5b9b8f(0xf8)+_0x5b9b8f(0xf1)+'\x61\x6c\x2c\x20\x65\x72\x72\x6f\x72\x2c'+_0x5b9b8f(0x6d)+_0x5b9b8f(0x121)+_0x5b9b8f(0x91)+_0x5b9b8f(0x12b)+_0x5b9b8f(0xd2));_0xb94a36[_0x5b9b8f(0x70)](_0x5b9b8f(0xa9)+_0x5b9b8f(0x7b)+_0x5b9b8f(0xd1)+_0x5b9b8f(0x75)+_0x5b9b8f(0x145)+_0x5b9b8f(0xb6)+_0x5b9b8f(0xb7)+_0x5b9b8f(0x71)+_0x5b9b8f(0x12d));_0x371b83[_0x5b9b8f(0x70)](_0x5b9b8f(0x152)+'\x5f\x50\x4f\x52\x54\x20\x20\x20\x20\x20'+'\x20\x20\x20\x20\x20\x48\x54\x54\x50\x20'+'\x70\x6f\x72\x74\x20\x66\x6f\x72\x20\x68'+_0x5b9b8f(0x149)+_0x5b9b8f(0x84)+_0x5b9b8f(0x7d)+_0x5b9b8f(0x102)+_0x5b9b8f(0x9d)+_0x5b9b8f(0xba)+_0x5b9b8f(0x7e));_0x57cb04['\x6c\x6f\x67']('\x20\x20\x57\x4f\x52\x4b\x53\x50\x41\x43'+_0x5b9b8f(0xcf)+'\x41\x54\x48\x53\x20\x57\x6f\x72\x6b\x73'+_0x5b9b8f(0xe3)+_0x5b9b8f(0x13b)+_0x5b9b8f(0xc3));_0x387d43['\x65\x78\x69\x74'](0x0);}}return _0x252286;}export async function main(_0x5cb747){const _0x2cfc6f=a0_0x308e;const _0x24c4c8={'\x45\x4c\x47\x78\x4c':_0x2cfc6f(0x82),'\x6c\x48\x70\x6f\x6b':_0x2cfc6f(0x147),'\x4a\x53\x78\x54\x4f':'\x65\x6d\x65\x72\x67\x65\x6e\x63\x79','\x6c\x53\x62\x6f\x57':_0x2cfc6f(0xcb),'\x45\x6a\x61\x68\x7a':function(_0x130868,_0x177a5a,_0x426aa3){return _0x130868(_0x177a5a,_0x426aa3);},'\x66\x4c\x46\x61\x6c':_0x2cfc6f(0xc1)+_0x2cfc6f(0x14d)+_0x2cfc6f(0xcd)+_0x2cfc6f(0x131)+_0x2cfc6f(0x123),'\x51\x75\x4f\x58\x4d':_0x2cfc6f(0xb9)+'\x2c\x20\x2d\x73\x20\x20\x20\x20\x20\x20'+'\x20\x20\x53\x75\x70\x70\x72\x65\x73\x73'+_0x2cfc6f(0x103)+_0x2cfc6f(0xb1)+_0x2cfc6f(0xf0)+_0x2cfc6f(0xa4),'\x54\x43\x62\x41\x64':_0x2cfc6f(0xd8),'\x59\x4e\x73\x53\x67':'\x4f\x70\x74\x69\x6f\x6e\x73\x3a','\x79\x63\x79\x6a\x47':_0x2cfc6f(0x143)+_0x2cfc6f(0xda)+_0x2cfc6f(0x90)+'\x64\x65\x6e\x20\x62\x79\x20\x43\x4c\x49'+_0x2cfc6f(0x126)+'\x29\x3a','\x67\x55\x41\x61\x4d':_0x2cfc6f(0x96),'\x67\x54\x4a\x62\x47':function(_0x1e4409,_0x5f30c9){return _0x1e4409!==_0x5f30c9;},'\x75\x4c\x6c\x53\x52':function(_0x271861,_0x43864a){return _0x271861(_0x43864a);},'\x75\x74\x72\x7a\x66':function(_0x5ab322,_0x11f7fd){return _0x5ab322!==_0x11f7fd;},'\x4e\x76\x4e\x52\x42':_0x2cfc6f(0x6f),'\x41\x6a\x54\x71\x74':'\x65\x77\x59\x68\x79','\x79\x77\x43\x6d\x6e':_0x2cfc6f(0x14f),'\x50\x77\x66\x6c\x58':_0x2cfc6f(0x133),'\x58\x78\x56\x46\x78':_0x2cfc6f(0xca),'\x6b\x74\x71\x50\x4c':'\x6e\x47\x53\x6a\x59','\x4d\x52\x77\x53\x73':_0x2cfc6f(0x12a)+_0x2cfc6f(0x140)};try{const {readFileSync:_0xcc0f4b}=await import(_0x2cfc6f(0xc0));const {dirname:_0x2cca20,join:_0x4cc83b}=await import(_0x24c4c8[_0x2cfc6f(0x148)]);const {fileURLToPath:_0x3a7201}=await import(_0x2cfc6f(0x79));const _0x222ada=_0x3a7201(import.meta.url);const _0x2265d3=_0x2cca20(_0x222ada);const _0x5aaf56=_0x24c4c8[_0x2cfc6f(0x151)](_0x4cc83b,_0x2265d3,_0x2cfc6f(0xed)+'\x6f\x6e');const _0x3628ac=JSON['\x70\x61\x72\x73\x65'](_0x24c4c8[_0x2cfc6f(0x151)](_0xcc0f4b,_0x5aaf56,'\x75\x74\x66\x38'));const _0x31d61e=parseCliArguments(_0x5cb747);if(_0x31d61e[_0x2cfc6f(0xfd)]==='\x2d\x2d\x68\x65\x6c\x70'){const _0x185fbc=(_0x2cfc6f(0x98)+_0x2cfc6f(0x10e)+_0x2cfc6f(0x14c)+'\x30\x7c\x31\x38\x7c\x32\x33\x7c\x31\x32'+_0x2cfc6f(0x100)+_0x2cfc6f(0x8e)+'\x7c\x31\x36\x7c\x39\x7c\x31\x39\x7c\x36')[_0x2cfc6f(0x9c)]('\x7c');let _0x1e9ee7=0x0;while(!![]){switch(_0x185fbc[_0x1e9ee7++]){case'\x30':console[_0x2cfc6f(0x70)](_0x24c4c8[_0x2cfc6f(0x89)]);continue;case'\x31':console[_0x2cfc6f(0x70)](_0x2cfc6f(0x95)+'\x6f\x72\x63\x65\x20\x43\x6f\x6e\x74\x65'+'\x78\x74');continue;case'\x32':console['\x6c\x6f\x67'](_0x24c4c8[_0x2cfc6f(0x10d)]);continue;case'\x33':console[_0x2cfc6f(0x70)]('');continue;case'\x34':console[_0x2cfc6f(0x70)](_0x24c4c8[_0x2cfc6f(0xea)]);continue;case'\x35':console[_0x2cfc6f(0x70)](_0x2cfc6f(0x10f)+_0x2cfc6f(0xcc)+_0x2cfc6f(0x77)+_0x2cfc6f(0x150)+'\x73\x61\x67\x65');continue;case'\x36':process[_0x2cfc6f(0x127)](0x0);continue;case'\x37':console[_0x2cfc6f(0x70)]('\x20\x20'+_0x3628ac[_0x2cfc6f(0x12e)]+(_0x2cfc6f(0xdb)+_0x2cfc6f(0x135)+_0x2cfc6f(0xd3)+_0x2cfc6f(0x9b)));continue;case'\x38':console['\x6c\x6f\x67']('\x20\x20\x2d\x2d\x77\x6f\x72\x6b\x73\x70'+_0x2cfc6f(0x85)+'\x20\x2d\x77\x20\x50\x41\x54\x48\x53\x20'+_0x2cfc6f(0x125)+_0x2cfc6f(0xd9)+_0x2cfc6f(0x90)+_0x2cfc6f(0x12f)+'\x43\x45\x5f\x46\x4f\x4c\x44\x45\x52\x5f'+_0x2cfc6f(0xe9));continue;case'\x39':console[_0x2cfc6f(0x70)](_0x2cfc6f(0x152)+_0x2cfc6f(0x94)+_0x2cfc6f(0x11e)+_0x2cfc6f(0xe5)+_0x2cfc6f(0x149)+_0x2cfc6f(0x84)+_0x2cfc6f(0x7d)+_0x2cfc6f(0x102)+_0x2cfc6f(0x9d)+_0x2cfc6f(0xba)+_0x2cfc6f(0x7e));continue;case'\x31\x30':console[_0x2cfc6f(0x70)]('\x20\x20\x4d\x43\x50\x5f\x54\x52\x41\x4e'+'\x53\x50\x4f\x52\x54\x20\x20\x20\x20\x20'+_0x2cfc6f(0x10c)+_0x2cfc6f(0x78)+'\x3a\x20\x73\x74\x64\x69\x6f\x20\x6f\x72'+_0x2cfc6f(0x11b)+_0x2cfc6f(0x14a)+'\x6f\x29');continue;case'\x31\x31':console[_0x2cfc6f(0x70)](_0x2cfc6f(0xbb)+_0x2cfc6f(0x80)+_0x2cfc6f(0xfe)+_0x2cfc6f(0x11f)+_0x2cfc6f(0xe8)+_0x2cfc6f(0x11c)+_0x2cfc6f(0xc2)+_0x2cfc6f(0xf5)+_0x2cfc6f(0x13e)+_0x2cfc6f(0x7a)+'\x69\x6e\x66\x6f\x2c\x20\x64\x65\x62\x75'+'\x67');continue;case'\x31\x32':console[_0x2cfc6f(0x70)]('\x20\x20'+_0x3628ac[_0x2cfc6f(0x12e)]+('\x20\x2d\x2d\x74\x72\x61\x6e\x73\x70\x6f'+_0x2cfc6f(0x9a)));continue;case'\x31\x33':console[_0x2cfc6f(0x70)](_0x2cfc6f(0x11d)+_0x2cfc6f(0xe6)+_0x2cfc6f(0x8c)+_0x2cfc6f(0xfa)+_0x2cfc6f(0xa0)+_0x2cfc6f(0x112)+_0x2cfc6f(0x88)+_0x2cfc6f(0xc6)+_0x2cfc6f(0x93));continue;case'\x31\x34':console['\x6c\x6f\x67'](_0x24c4c8['\x59\x4e\x73\x53\x67']);continue;case'\x31\x35':console[_0x2cfc6f(0x70)](_0x2cfc6f(0xdf)+_0x2cfc6f(0xf3)+_0x2cfc6f(0x13c)+_0x2cfc6f(0xb3)+_0x2cfc6f(0xe5)+'\x74\x74\x70\x20\x74\x72\x61\x6e\x73\x70'+'\x6f\x72\x74\x20\x28\x61\x75\x74\x6f\x2d'+_0x2cfc6f(0x7d)+_0x2cfc6f(0x102)+_0x2cfc6f(0xe1));continue;case'\x31\x36':console[_0x2cfc6f(0x70)]('\x20\x20\x53\x49\x4c\x45\x4e\x54\x20\x20'+_0x2cfc6f(0x7b)+_0x2cfc6f(0xd1)+_0x2cfc6f(0x75)+'\x75\x65\x2f\x31\x20\x74\x6f\x20\x73\x75'+_0x2cfc6f(0xb6)+'\x20\x6f\x75\x74\x70\x75\x74\x20\x28\x64'+_0x2cfc6f(0x71)+_0x2cfc6f(0x12d));continue;case'\x31\x37':console[_0x2cfc6f(0x70)]('\x20\x20'+_0x3628ac[_0x2cfc6f(0x12e)]+('\x20\x2d\x2d\x74\x72\x61\x6e\x73\x70\x6f'+_0x2cfc6f(0x141)+_0x2cfc6f(0xa1)));continue;case'\x31\x38':console[_0x2cfc6f(0x70)]('');continue;case'\x31\x39':console['\x6c\x6f\x67'](_0x2cfc6f(0xbe)+_0x2cfc6f(0xcf)+_0x2cfc6f(0xc4)+_0x2cfc6f(0xe3)+'\x20\x28\x63\x6f\x6d\x6d\x61\x2d\x73\x65'+'\x70\x61\x72\x61\x74\x65\x64\x29');continue;case'\x32\x30':console[_0x2cfc6f(0x70)]('');continue;case'\x32\x31':console[_0x2cfc6f(0x70)](_0x2cfc6f(0xf9)+_0x2cfc6f(0x136)+_0x2cfc6f(0x107)+'\x65\x76\x65\x6c\x3a\x20\x65\x6d\x65\x72'+_0x2cfc6f(0xf8)+'\x72\x74\x2c\x20\x63\x72\x69\x74\x69\x63'+'\x61\x6c\x2c\x20\x65\x72\x72\x6f\x72\x2c'+_0x2cfc6f(0x6d)+_0x2cfc6f(0x121)+_0x2cfc6f(0x91)+_0x2cfc6f(0x12b)+_0x2cfc6f(0xd2));continue;case'\x32\x32':console[_0x2cfc6f(0x70)]('');continue;case'\x32\x33':console[_0x2cfc6f(0x70)]('\x45\x78\x61\x6d\x70\x6c\x65\x73\x3a');continue;case'\x32\x34':console[_0x2cfc6f(0x70)]('\x20\x20'+_0x3628ac['\x6e\x61\x6d\x65']+('\x20\x2d\x2d\x74\x72\x61\x6e\x73\x70\x6f'+_0x2cfc6f(0x141)+_0x2cfc6f(0xc8)+'\x2f\x70\x61\x74\x68\x2f\x74\x6f\x2f\x70'+_0x2cfc6f(0xad)+_0x2cfc6f(0x105)));continue;case'\x32\x35':console['\x6c\x6f\x67'](_0x24c4c8['\x79\x63\x79\x6a\x47']);continue;case'\x32\x36':console['\x6c\x6f\x67']('\x20\x20'+_0x3628ac[_0x2cfc6f(0x12e)]+_0x2cfc6f(0x74));continue;}break;}}if(_0x31d61e[_0x2cfc6f(0xfd)]===_0x2cfc6f(0x6e)){console[_0x2cfc6f(0x70)](_0x2cfc6f(0x95)+_0x2cfc6f(0x113)+_0x2cfc6f(0xd4)+_0x3628ac[_0x2cfc6f(0xbd)]);process[_0x2cfc6f(0x127)](0x0);}let _0x581744;if(_0x31d61e[_0x2cfc6f(0xfd)]){_0x581744=_0x31d61e[_0x2cfc6f(0xfd)][_0x2cfc6f(0xe7)](/^--/,'')['\x74\x6f\x4c\x6f\x77\x65\x72\x43\x61\x73'+'\x65']();}else if(process.env.MCP_TRANSPORT){_0x581744=process.env.MCP_TRANSPORT['\x74\x6f\x4c\x6f\x77\x65\x72\x43\x61\x73'+'\x65']();}else{_0x581744=_0x24c4c8[_0x2cfc6f(0x14e)];}if(_0x24c4c8['\x67\x54\x4a\x62\x47'](_0x581744,_0x2cfc6f(0x96))&&_0x24c4c8[_0x2cfc6f(0x101)](_0x581744,_0x2cfc6f(0xa5))){console[_0x2cfc6f(0x147)](_0x2cfc6f(0x128)+_0x2cfc6f(0x8d)+_0x2cfc6f(0xc5)+'\x75\x65');console[_0x2cfc6f(0x147)](_0x2cfc6f(0xf2)+_0x2cfc6f(0xab)+_0x2cfc6f(0xbf));console[_0x2cfc6f(0x147)](_0x2cfc6f(0x73)+_0x581744);console['\x65\x72\x72\x6f\x72'](_0x2cfc6f(0x139)+_0x3628ac[_0x2cfc6f(0x12e)]+(_0x2cfc6f(0x104)+'\x6f\x72\x20\x6d\x6f\x72\x65\x20\x69\x6e'+'\x66\x6f\x72\x6d\x61\x74\x69\x6f\x6e'));process['\x65\x78\x69\x74'](0x1);}if(_0x31d61e[_0x2cfc6f(0xeb)]){_0x24c4c8[_0x2cfc6f(0x138)](setSilent,!![]);}else if(_0x31d61e[_0x2cfc6f(0x154)]){if(_0x24c4c8[_0x2cfc6f(0xb0)](_0x24c4c8[_0x2cfc6f(0x10b)],_0x24c4c8[_0x2cfc6f(0x109)])){const _0x47514b=[_0x2cfc6f(0xde),_0x24c4c8['\x79\x77\x43\x6d\x6e'],_0x24c4c8[_0x2cfc6f(0xd7)],_0x2cfc6f(0x7c),_0x24c4c8[_0x2cfc6f(0xa6)],_0x2cfc6f(0xf4),_0x2cfc6f(0xd6),_0x2cfc6f(0xe0)];const _0x454ad7=_0x31d61e[_0x2cfc6f(0x154)][_0x2cfc6f(0x86)+'\x65']();if(_0x47514b['\x69\x6e\x63\x6c\x75\x64\x65\x73'](_0x454ad7)){process.env.LOG_LEVEL=_0x454ad7;}else{if(_0x24c4c8[_0x2cfc6f(0x111)]===_0x24c4c8[_0x2cfc6f(0xdc)]){_0x227059['\x68\x74\x74\x70\x50\x6f\x72\x74']=_0x1649f0[_0x2cfc6f(0xbc)](_0x8ea7a5[_0x29cccf+0x1],0xa);_0x10d0d5++;}else{console[_0x2cfc6f(0x147)]('\u274c\x20\x45\x72\x72\x6f\x72\x3a\x20\x49'+_0x2cfc6f(0x8f)+_0x2cfc6f(0xa7)+_0x31d61e['\x6c\x6f\x67\x4c\x65\x76\x65\x6c']);console[_0x2cfc6f(0x147)](_0x2cfc6f(0xf2)+_0x2cfc6f(0x142)+_0x47514b[_0x2cfc6f(0x114)]('\x2c\x20'));process[_0x2cfc6f(0x127)](0x1);}}}else{_0x3ea74f['\x74\x72\x61\x6e\x73\x70\x6f\x72\x74']=_0x2cfc6f(0x6e);}}if(_0x31d61e[_0x2cfc6f(0xef)]){if(_0x2cfc6f(0x9e)!==_0x24c4c8[_0x2cfc6f(0x13f)]){process.env.MCP_HTTP_PORT=_0x31d61e[_0x2cfc6f(0xef)][_0x2cfc6f(0xb8)]();}else{const _0x5c68e1=[_0x2cfc6f(0xde),_0x2cfc6f(0x14f),_0x24c4c8['\x45\x4c\x47\x78\x4c'],_0x2cfc6f(0x7c),_0x24c4c8[_0x2cfc6f(0xa6)],'\x63\x72\x69\x74\x69\x63\x61\x6c',_0x2cfc6f(0xd6),_0x24c4c8[_0x2cfc6f(0x11a)]];const _0x3b5d0f=_0x2bda18['\x6c\x6f\x67\x4c\x65\x76\x65\x6c'][_0x2cfc6f(0x86)+'\x65']();if(_0x5c68e1['\x69\x6e\x63\x6c\x75\x64\x65\x73'](_0x3b5d0f)){_0x508a2d.env.LOG_LEVEL=_0x3b5d0f;}else{_0x5674c2[_0x2cfc6f(0x147)](_0x2cfc6f(0x128)+'\x6e\x76\x61\x6c\x69\x64\x20\x6c\x6f\x67'+_0x2cfc6f(0xa7)+_0x579efc[_0x2cfc6f(0x154)]);_0x5e4ee1['\x65\x72\x72\x6f\x72'](_0x2cfc6f(0xf2)+_0x2cfc6f(0x142)+_0x5c68e1[_0x2cfc6f(0x114)]('\x2c\x20'));_0x2a3369[_0x2cfc6f(0x127)](0x1);}}}if(_0x31d61e['\x77\x6f\x72\x6b\x73\x70\x61\x63\x65\x50'+_0x2cfc6f(0xec)]){process.env.WORKSPACE_FOLDER_PATHS=_0x31d61e[_0x2cfc6f(0x118)+_0x2cfc6f(0xec)];}const {registerGlobalErrorHandlers:registerGlobalErrorHandlers,registerSignalHandlers:registerSignalHandlers}=await import(_0x24c4c8['\x4d\x52\x77\x53\x73']);registerGlobalErrorHandlers();registerSignalHandlers();await setupServer(_0x581744);}catch(_0x86a85d){const _0x2eb28e=createLogger();_0x2eb28e['\x65\x72\x72\x6f\x72'](_0x86a85d,_0x2cfc6f(0x92)+'\x74\x69\x6e\x67\x20\x49\x42\x4d\x20\x53'+_0x2cfc6f(0x12c)+_0x2cfc6f(0x99)+_0x2cfc6f(0x8a));await mcpServer[_0x2cfc6f(0xc9)]();process['\x65\x78\x69\x74'](0x1);}}main(process[a0_0x4abf0e(0xc7)][a0_0x4abf0e(0x134)](0x2));
|
|
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));
|
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x80b79b=a0_0x5c76;(function(_0x2cc756,_0x51fc3e){const _0x3b3063=a0_0x5c76;const _0x4e11d4=_0x2cc756();while(!![]){try{const _0x48a611=-parseInt(_0x3b3063(0x1e2))/0x1*(-parseInt(_0x3b3063(0x1ea))/0x2)+-parseInt(_0x3b3063(0x1e5))/0x3*(-parseInt(_0x3b3063(0x1ed))/0x4)+-parseInt(_0x3b3063(0x1d7))/0x5*(parseInt(_0x3b3063(0x1d1))/0x6)+-parseInt(_0x3b3063(0x1d9))/0x7+-parseInt(_0x3b3063(0x1f6))/0x8*(-parseInt(_0x3b3063(0x1d5))/0x9)+-parseInt(_0x3b3063(0x1e6))/0xa*(-parseInt(_0x3b3063(0x1da))/0xb)+-parseInt(_0x3b3063(0x1de))/0xc;if(_0x48a611===_0x51fc3e){break;}else{_0x4e11d4['push'](_0x4e11d4['shift']());}}catch(_0x3a9275){_0x4e11d4['push'](_0x4e11d4['shift']());}}}(a0_0x519f,0xeee3e));function a0_0x519f(){const _0x122a78=['\x42\x4d\x66\x54\x7a\x71','\x6d\x33\x48\x6c\x74\x4b\x48\x76\x42\x57','\x6d\x74\x62\x6f\x44\x78\x72\x30\x7a\x4d\x79','\x7a\x77\x31\x49\x7a\x77\x72\x4b\x7a\x77\x72\x73\x7a\x71','\x7a\x67\x4c\x56\x69\x65\x6e\x56\x7a\x67\x75','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x6d\x5a\x6d\x31\x6f\x74\x62\x54\x45\x75\x72\x56\x41\x30\x57','\x76\x4d\x4c\x5a\x44\x77\x66\x53\x69\x66\x6e\x30\x44\x71','\x44\x77\x35\x52\x42\x4d\x39\x33\x42\x47','\x6e\x5a\x71\x35\x6e\x64\x43\x34\x6f\x67\x31\x49\x73\x66\x44\x4a\x79\x47','\x71\x33\x76\x59\x43\x32\x39\x59','\x79\x77\x31\x4c','\x6d\x73\x34\x58\x6d\x64\x6d\x55\x6d\x61','\x43\x4e\x6e\x50\x42\x32\x34','\x43\x68\x6a\x56\x44\x67\x39\x4a\x42\x32\x58\x77\x7a\x71','\x7a\x67\x4c\x5a\x79\x77\x6a\x53\x7a\x75\x76\x53\x41\x71','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x69\x65\x4c\x55\x43\x32\x4c\x4b\x7a\x78\x6a\x5a','\x6d\x4a\x72\x41\x45\x66\x6a\x4d\x71\x77\x30','\x41\x78\x6e\x62\x43\x4e\x6a\x48\x45\x71','\x45\x66\x4c\x35\x43\x77\x53','\x7a\x30\x39\x49\x76\x32\x38','\x43\x32\x39\x54\x7a\x71','\x79\x32\x58\x50\x7a\x77\x35\x30\x73\x77\x35\x4d\x42\x57','\x79\x32\x4c\x30\x79\x78\x72\x50\x42\x32\x34','\x42\x67\x39\x4e\x7a\x32\x4c\x55\x7a\x57','\x41\x77\x35\x52\x43\x57','\x43\x32\x39\x31\x43\x4d\x6e\x4c\x43\x57','\x76\x31\x76\x62\x45\x65\x47','\x7a\x67\x4c\x56\x69\x65\x6e\x56\x7a\x67\x75\x47\x6c\x71','\x74\x4b\x66\x52\x7a\x31\x69','\x6e\x64\x4b\x34\x76\x4d\x48\x59\x7a\x75\x72\x79','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x5a','\x79\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x41\x71','\x7a\x32\x76\x30\x71\x32\x58\x50\x7a\x77\x35\x30\x74\x47','\x6d\x4a\x79\x33\x6f\x74\x65\x34\x6d\x33\x7a\x78\x76\x4b\x35\x6d\x43\x71','\x41\x77\x35\x4a\x42\x68\x76\x4b\x7a\x78\x6d','\x6d\x5a\x75\x58\x6d\x5a\x76\x78\x74\x4e\x62\x66\x44\x76\x4f','\x43\x33\x72\x63\x7a\x33\x61','\x6d\x74\x61\x33\x6f\x74\x75\x58\x6f\x74\x44\x70\x42\x75\x31\x59\x76\x4c\x4f','\x6d\x4a\x61\x33\x6e\x4a\x79\x57\x6e\x5a\x76\x4a\x43\x4b\x7a\x51\x71\x32\x69','\x44\x67\x39\x6d\x42\x33\x44\x4c\x43\x4b\x6e\x48\x43\x57','\x45\x4e\x50\x64\x79\x4d\x57','\x43\x33\x76\x57\x43\x67\x39\x59\x44\x68\x6e\x64\x79\x71','\x6d\x4a\x69\x30\x6d\x5a\x43\x5a\x6f\x64\x72\x41\x79\x33\x48\x34\x75\x4b\x57','\x7a\x32\x76\x30\x71\x32\x58\x50\x7a\x77\x35\x30\x76\x47','\x7a\x33\x72\x4c','\x42\x32\x6a\x51\x7a\x77\x6e\x30','\x6d\x74\x4c\x4a\x45\x77\x6a\x76\x73\x31\x6d','\x41\x32\x76\x35\x43\x57'];a0_0x519f=function(){return _0x122a78;};return a0_0x519f();}import a0_0x10846a from'\x73\x65\x6d\x76\x65\x72';function a0_0x5c76(_0x384909,_0x5cebd3){_0x384909=_0x384909-0x1d0;const _0x519f94=a0_0x519f();let _0x5c76b8=_0x519f94[_0x384909];if(a0_0x5c76['\x4c\x62\x75\x52\x5a\x6f']===undefined){var _0x301649=function(_0x43ca1f){const _0x296331='\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 _0x5dea61='';let _0xda6640='';for(let _0x540081=0x0,_0x11859e,_0x25b469,_0x236c7a=0x0;_0x25b469=_0x43ca1f['\x63\x68\x61\x72\x41\x74'](_0x236c7a++);~_0x25b469&&(_0x11859e=_0x540081%0x4?_0x11859e*0x40+_0x25b469:_0x25b469,_0x540081++%0x4)?_0x5dea61+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x11859e>>(-0x2*_0x540081&0x6)):0x0){_0x25b469=_0x296331['\x69\x6e\x64\x65\x78\x4f\x66'](_0x25b469);}for(let _0x1a03ed=0x0,_0x3092a1=_0x5dea61['\x6c\x65\x6e\x67\x74\x68'];_0x1a03ed<_0x3092a1;_0x1a03ed++){_0xda6640+='\x25'+('\x30\x30'+_0x5dea61['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x1a03ed)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0xda6640);};a0_0x5c76['\x48\x75\x42\x46\x73\x5a']=_0x301649;a0_0x5c76['\x55\x77\x6f\x6c\x6c\x4d']={};a0_0x5c76['\x4c\x62\x75\x52\x5a\x6f']=!![];}const _0x525b16=_0x519f94[0x0];const _0x195de0=_0x384909+_0x525b16;const _0x4691d2=a0_0x5c76['\x55\x77\x6f\x6c\x6c\x4d'][_0x195de0];if(!_0x4691d2){_0x5c76b8=a0_0x5c76['\x48\x75\x42\x46\x73\x5a'](_0x5c76b8);a0_0x5c76['\x55\x77\x6f\x6c\x6c\x4d'][_0x195de0]=_0x5c76b8;}else{_0x5c76b8=_0x4691d2;}return _0x5c76b8;}import a0_0xd7746e from'\x2e\x2f\x63\x6f\x6e\x66\x69\x67\x2e\x6a\x73';class Client{[a0_0x80b79b(0x1fb)];['\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69'+'\x65\x73'];['\x70\x72\x6f\x74\x6f\x63\x6f\x6c\x56\x65'+a0_0x80b79b(0x1f1)];['\x72\x6f\x6f\x74\x73']={};constructor(){const _0x87db7b=a0_0x5c76;this['\x63\x6c\x69\x65\x6e\x74\x49\x6e\x66\x6f']={'\x6e\x61\x6d\x65':'\x75\x6e\x6b\x6e\x6f\x77\x6e'};this[_0x87db7b(0x1d3)+'\x65\x73']={};this[_0x87db7b(0x1f2)+_0x87db7b(0x1f1)]='';}['\x69\x6e\x69\x74\x69\x61\x6c\x69\x7a\x65'](_0x2944f0={}){const _0xbf09e4=a0_0x5c76;this[_0xbf09e4(0x1fb)]=_0x2944f0?.[_0xbf09e4(0x1fb)]||{'\x6e\x61\x6d\x65':_0xbf09e4(0x1ec)};this['\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69'+'\x65\x73']=_0x2944f0?.[_0xbf09e4(0x1d3)+'\x65\x73']||{};this[_0xbf09e4(0x1f2)+_0xbf09e4(0x1f1)]=_0x2944f0?.[_0xbf09e4(0x1f2)+'\x72\x73\x69\x6f\x6e']||'';}['\x67\x65\x74\x43\x6c\x69\x65\x6e\x74\x4e'+a0_0x80b79b(0x1ef)](){const _0x3a5b92=a0_0x5c76;const _0x4a8959={'\x67\x4f\x62\x57\x6f':'\x43\x75\x72\x73\x6f\x72'};const _0x282d8a=this['\x63\x6c\x69\x65\x6e\x74\x49\x6e\x66\x6f']?.[_0x3a5b92(0x1e4)]||_0x3a5b92(0x1ec);const _0x205d21={'\x63\x75\x72\x73\x6f\x72\x2d\x76\x73\x63\x6f\x64\x65':_0x4a8959[_0x3a5b92(0x1f9)],'\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75\x64\x69\x6f\x20\x43\x6f\x64\x65':'\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75'+'\x64\x69\x6f\x20\x43\x6f\x64\x65','\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':_0x3a5b92(0x1eb)+'\x64\x69\x6f\x20\x43\x6f\x64\x65\x20\x2d'+_0x3a5b92(0x1f5),'\x6d\x69\x63\x72\x6f\x73\x63\x6f\x70\x65':'\x4d\x69\x43\x72\x6f\x73\x63\x6f\x50\x65'};return _0x205d21[_0x282d8a]||_0x282d8a;}[a0_0x80b79b(0x1df)+'\x65\x72\x73\x69\x6f\x6e'](){const _0x936ff3=a0_0x5c76;return this[_0x936ff3(0x1fb)]?.[_0x936ff3(0x1e9)];}['\x69\x73'](_0x3f2fda){const _0x144d98=a0_0x5c76;if(!Array[_0x144d98(0x1f7)](_0x3f2fda)){_0x3f2fda=[_0x3f2fda];}const _0x419f5f=this[_0x144d98(0x1d4)+_0x144d98(0x1ef)]()[_0x144d98(0x1db)+'\x65']();return _0x3f2fda[_0x144d98(0x1fa)](_0x325361=>_0x419f5f[_0x144d98(0x1d6)](_0x325361[_0x144d98(0x1db)+'\x65']()));}[a0_0x80b79b(0x1dd)+'\x70\x61\x62\x69\x6c\x69\x74\x79'](_0x1462b1){const _0x6df42b=a0_0x5c76;const _0x1f92fc={'\x7a\x7a\x43\x62\x6c':function(_0x505bff,_0x333dc9){return _0x505bff(_0x333dc9);},'\x73\x74\x42\x67\x70':_0x6df42b(0x1eb)+'\x64\x69\x6f\x20\x43\x6f\x64\x65','\x4e\x41\x6b\x67\x52':_0x6df42b(0x1eb)+'\x64\x69\x6f\x20\x43\x6f\x64\x65\x20\x2d'+_0x6df42b(0x1f5),'\x57\x55\x41\x78\x48':_0x6df42b(0x1ee),'\x78\x59\x79\x71\x6b':function(_0xb4d3d3,_0x416dc4){return _0xb4d3d3===_0x416dc4;}};switch(_0x1462b1){case'\x6c\x6f\x67\x67\x69\x6e\x67':return _0x1f92fc[_0x6df42b(0x1dc)](Boolean,this['\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69'+'\x65\x73']?.[_0x6df42b(0x1fd)])||this['\x69\x73']([_0x1f92fc[_0x6df42b(0x1d8)],_0x6df42b(0x1eb)+_0x6df42b(0x201)+_0x6df42b(0x1f5)]);case _0x6df42b(0x1d2):return Boolean(this['\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69'+'\x65\x73']?.[_0x1462b1])||this['\x69\x73']([_0x6df42b(0x1eb)+'\x64\x69\x6f\x20\x43\x6f\x64\x65',_0x6df42b(0x1eb)+'\x64\x69\x6f\x20\x43\x6f\x64\x65\x20\x2d'+_0x6df42b(0x1f5),'\x43\x75\x72\x73\x6f\x72']);case _0x6df42b(0x1e7)+_0x6df42b(0x1ff):return this['\x69\x73']([_0x1f92fc[_0x6df42b(0x1d8)],_0x1f92fc[_0x6df42b(0x1d0)],_0x1f92fc[_0x6df42b(0x200)]]);case'\x72\x65\x73\x6f\x75\x72\x63\x65\x5f\x6c'+_0x6df42b(0x1fe):return this['\x69\x73']([_0x6df42b(0x1eb)+_0x6df42b(0x1e8),'\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75'+_0x6df42b(0x201)+_0x6df42b(0x1f5)])&&a0_0x10846a[_0x6df42b(0x1e0)](this['\x63\x6c\x69\x65\x6e\x74\x49\x6e\x66\x6f'][_0x6df42b(0x1e9)],_0x6df42b(0x1f0));case'\x65\x6c\x69\x63\x69\x74\x61\x74\x69\x6f'+'\x6e':{if(a0_0xd7746e[_0x6df42b(0x1f3)+_0x6df42b(0x1fc)]){return![];}const _0x8f94e6=this[_0x6df42b(0x1d3)+'\x65\x73']?.[_0x1462b1];if(!_0x8f94e6){return![];}if(_0x1f92fc[_0x6df42b(0x1f8)](typeof _0x8f94e6,_0x6df42b(0x1e1))){return Object[_0x6df42b(0x1e3)](_0x8f94e6)[_0x6df42b(0x1f4)]===0x0||Boolean(_0x8f94e6['\x66\x6f\x72\x6d']);}return Boolean(_0x8f94e6);}default:return Boolean(this[_0x6df42b(0x1d3)+'\x65\x73']?.[_0x1462b1]);}}}const client=new Client();export default client;
|
package/src/config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0xd9947d=a0_0x55b2;function a0_0x55b2(_0x5c1396,_0x27cc13){_0x5c1396=_0x5c1396-0x116;const _0x509051=a0_0x5090();let _0x55b210=_0x509051[_0x5c1396];if(a0_0x55b2['\x46\x52\x62\x4a\x56\x6e']===undefined){var _0x58c229=function(_0x107c55){const _0x79866='\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 _0x1ceebe='';let _0x49d16e='';for(let _0x33f44c=0x0,_0x2afceb,_0x54e53a,_0x535be4=0x0;_0x54e53a=_0x107c55['\x63\x68\x61\x72\x41\x74'](_0x535be4++);~_0x54e53a&&(_0x2afceb=_0x33f44c%0x4?_0x2afceb*0x40+_0x54e53a:_0x54e53a,_0x33f44c++%0x4)?_0x1ceebe+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x2afceb>>(-0x2*_0x33f44c&0x6)):0x0){_0x54e53a=_0x79866['\x69\x6e\x64\x65\x78\x4f\x66'](_0x54e53a);}for(let _0x492326=0x0,_0x2d1bf5=_0x1ceebe['\x6c\x65\x6e\x67\x74\x68'];_0x492326<_0x2d1bf5;_0x492326++){_0x49d16e+='\x25'+('\x30\x30'+_0x1ceebe['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x492326)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x49d16e);};a0_0x55b2['\x6f\x77\x45\x70\x46\x71']=_0x58c229;a0_0x55b2['\x51\x56\x6b\x6f\x6d\x45']={};a0_0x55b2['\x46\x52\x62\x4a\x56\x6e']=!![];}const _0x4d03ea=_0x509051[0x0];const _0x2b96cd=_0x5c1396+_0x4d03ea;const _0x467daf=a0_0x55b2['\x51\x56\x6b\x6f\x6d\x45'][_0x2b96cd];if(!_0x467daf){_0x55b210=a0_0x55b2['\x6f\x77\x45\x70\x46\x71'](_0x55b210);a0_0x55b2['\x51\x56\x6b\x6f\x6d\x45'][_0x2b96cd]=_0x55b210;}else{_0x55b210=_0x467daf;}return _0x55b210;}(function(_0xfef983,_0x4d8174){const _0x111819=a0_0x55b2;const _0x57df6d=_0xfef983();while(!![]){try{const _0x1d90ea=-parseInt(_0x111819(0x11e))/0x1+-parseInt(_0x111819(0x116))/0x2*(parseInt(_0x111819(0x132))/0x3)+-parseInt(_0x111819(0x144))/0x4+parseInt(_0x111819(0x125))/0x5+parseInt(_0x111819(0x13d))/0x6*(parseInt(_0x111819(0x13e))/0x7)+parseInt(_0x111819(0x11c))/0x8+-parseInt(_0x111819(0x12d))/0x9*(-parseInt(_0x111819(0x135))/0xa);if(_0x1d90ea===_0x4d8174){break;}else{_0x57df6d['push'](_0x57df6d['shift']());}}catch(_0x4adfaf){_0x57df6d['push'](_0x57df6d['shift']());}}}(a0_0x5090,0x5b0f3));import{createRequire}from'\x6e\x6f\x64\x65\x3a\x6d\x6f\x64\x75\x6c\x65';function a0_0x5090(){const _0x1e262f=['\x6f\x74\x79\x57\x42\x77\x4c\x33\x44\x65\x66\x68','\x6d\x4a\x71\x30\x6d\x74\x7a\x62\x7a\x30\x48\x58\x42\x32\x4b','\x6c\x63\x62\x4b\x7a\x78\x62\x53\x42\x33\x4c\x50\x42\x47','\x69\x67\x4c\x55\x7a\x4d\x38\x53\x69\x68\x6a\x4c\x79\x57','\x7a\x59\x62\x54\x7a\x78\x72\x48\x7a\x67\x66\x30\x79\x71','\x42\x73\x31\x5a\x79\x77\x58\x4c\x43\x32\x7a\x56\x43\x47','\x41\x77\x35\x4d\x42\x33\x6a\x54\x79\x78\x72\x50\x42\x57','\x6d\x4a\x4b\x30\x6d\x74\x79\x34\x72\x31\x4c\x36\x76\x68\x72\x59','\x6d\x4a\x71\x33\x6d\x66\x76\x35\x44\x77\x39\x6c\x77\x71','\x41\x63\x62\x35\x42\x33\x76\x59\x69\x66\x6e\x4d\x69\x61','\x6c\x4d\x39\x55\x43\x4d\x76\x55\x7a\x67\x76\x59\x6c\x47','\x42\x33\x6a\x4e\x69\x68\x72\x56\x69\x68\x6a\x4c\x44\x61','\x69\x68\x72\x48\x43\x32\x54\x5a\x6c\x47','\x7a\x33\x6d\x53\x69\x68\x72\x56\x69\x67\x76\x34\x7a\x71','\x6d\x5a\x65\x34\x6e\x74\x69\x32\x6e\x67\x54\x6f\x42\x33\x62\x51\x41\x47','\x42\x33\x6a\x4a\x7a\x73\x62\x64\x42\x32\x35\x30\x7a\x71','\x6e\x4a\x43\x5a\x6f\x74\x69\x31\x76\x77\x6a\x54\x41\x67\x48\x5a','\x7a\x77\x35\x30\x69\x67\x6e\x56\x7a\x67\x76\x49\x79\x71','\x43\x59\x39\x4f\x79\x77\x35\x4b\x43\x32\x48\x48\x41\x57','\x69\x68\x6e\x4a\x43\x4d\x4c\x57\x44\x68\x6d\x47\x79\x71','\x44\x68\x6a\x35','\x71\x78\x62\x4c\x45\x63\x62\x30\x7a\x78\x6e\x30\x43\x57','\x69\x67\x66\x55\x7a\x63\x62\x56\x44\x67\x48\x4c\x43\x47','\x6d\x4a\x4b\x58\x6d\x64\x75\x35\x6e\x77\x39\x4a\x71\x75\x58\x6a\x44\x71','\x6c\x4d\x35\x4c\x44\x67\x58\x50\x7a\x4e\x4b\x55\x79\x71','\x44\x67\x76\x34\x44\x61','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x6c\x49\x34\x56\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x71','\x6c\x4d\x50\x5a\x42\x32\x34','\x7a\x77\x6e\x30\x69\x68\x6e\x4a\x41\x67\x76\x54\x79\x71','\x69\x68\x4c\x56\x44\x73\x62\x30\x42\x59\x62\x50\x42\x47','\x6d\x74\x48\x59\x7a\x77\x54\x52\x71\x4d\x43','\x79\x33\x76\x30\x7a\x73\x62\x65\x74\x75\x57\x53\x69\x61','\x73\x75\x6a\x6e\x69\x66\x6e\x48\x42\x67\x76\x5a\x7a\x47','\x45\x73\x39\x4d\x44\x77\x35\x4a\x44\x67\x4c\x56\x42\x47','\x43\x33\x76\x53\x44\x68\x6d\x53\x69\x67\x39\x49\x41\x47','\x6d\x74\x79\x34\x6f\x75\x50\x65\x71\x31\x66\x51\x43\x61','\x41\x68\x72\x30\x43\x68\x6d\x36\x6c\x59\x39\x50\x79\x47','\x45\x68\x71\x47\x74\x75\x6e\x71\x69\x66\x6e\x4c\x43\x47','\x6d\x74\x6d\x34\x6e\x4a\x4b\x33\x6d\x66\x48\x72\x72\x65\x66\x35\x42\x61','\x7a\x4d\x66\x53\x43\x32\x75','\x43\x68\x61\x56\x6c\x4d\x35\x4c\x44\x67\x58\x50\x7a\x47','\x42\x49\x57\x47\x75\x30\x39\x72\x74\x63\x62\x59\x7a\x71','\x44\x68\x6a\x31\x7a\x71','\x44\x4d\x76\x59\x69\x67\x66\x53\x42\x67\x39\x33\x43\x57','\x41\x77\x6a\x54\x6c\x78\x6e\x4d\x6c\x77\x6e\x56\x42\x47','\x79\x32\x75\x54\x79\x32\x39\x55\x44\x67\x76\x34\x44\x61'];a0_0x5090=function(){return _0x1e262f;};return a0_0x5090();}const require=createRequire(import.meta.url);const pkg=require(a0_0xd9947d(0x129)+a0_0xd9947d(0x12a));export default{'\x6c\x6f\x67\x50\x72\x65\x66\x69\x78':'\ud83d\udc41\ud83d\udc1d\u24c2\ufe0f','\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_0xd9947d(0x139),'\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':'\x74\x6d\x70','\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_0xd9947d(0x12f)+a0_0xd9947d(0x11d)+'\x78\x74','\x61\x6c\x69\x61\x73':a0_0xd9947d(0x13b)+a0_0xd9947d(0x127),'\x76\x65\x72\x73\x69\x6f\x6e':pkg[a0_0xd9947d(0x128)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xd9947d(0x12f)+'\x6f\x72\x63\x65\x20\x43\x6f\x6e\x74\x65'+a0_0xd9947d(0x134)+a0_0xd9947d(0x13a)+a0_0xd9947d(0x12c)+'\x74\x65\x72\x61\x63\x74\x20\x77\x69\x74'+a0_0xd9947d(0x117)+a0_0xd9947d(0x119)+'\x72\x69\x65\x76\x65\x20\x6f\x72\x67\x20'+a0_0xd9947d(0x143)+a0_0xd9947d(0x138)+a0_0xd9947d(0x131)+a0_0xd9947d(0x12b)+a0_0xd9947d(0x140)+a0_0xd9947d(0x11f)+'\x73\x65\x20\x63\x68\x61\x6e\x67\x65\x73'+'\x2c\x20\x64\x65\x62\x75\x67\x20\x6c\x6f'+a0_0xd9947d(0x11b)+a0_0xd9947d(0x12e)+'\x6c\x6f\x63\x61\x6c\x20\x41\x70\x65\x78'+a0_0xd9947d(0x121)+'\x6e\x64\x20\x72\x65\x6d\x6f\x74\x65\x20'+a0_0xd9947d(0x123)+a0_0xd9947d(0x13f)+a0_0xd9947d(0x141)+a0_0xd9947d(0x124)+a0_0xd9947d(0x11a)},'\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_0xd9947d(0x133)+a0_0xd9947d(0x142)+a0_0xd9947d(0x13c)+a0_0xd9947d(0x126)+a0_0xd9947d(0x137)+a0_0xd9947d(0x130)+a0_0xd9947d(0x120)+'\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_0xd9947d(0x133)+'\x6d\x2d\x73\x61\x6c\x65\x73\x66\x6f\x72'+a0_0xd9947d(0x13c)+a0_0xd9947d(0x126)+a0_0xd9947d(0x137)+a0_0xd9947d(0x130)+'\x73\x2f\x72\x65\x70\x6f\x72\x74\x2d\x69'+'\x73\x73\x75\x65'},'\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_0xd9947d(0x136),'\x65\x6e\x64\x70\x6f\x69\x6e\x74':process.env.TELEMETRY_ENDPOINT||a0_0xd9947d(0x133)+a0_0xd9947d(0x142)+a0_0xd9947d(0x13c)+'\x2d\x74\x65\x6c\x65\x6d\x65\x74\x72\x79'+a0_0xd9947d(0x118)+'\x63\x6f\x6d\x2f\x74\x65\x6c\x65\x6d\x65'+a0_0xd9947d(0x122),'\x74\x69\x6d\x65\x6f\x75\x74':Number['\x70\x61\x72\x73\x65\x49\x6e\x74'](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
|
+
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':!![]}}}};
|
package/src/lib/OrgWatcher.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x3188c4=a0_0x450a;(function(_0x320be0,_0x5e08c4){const _0x1dc990=a0_0x450a;const _0x13fb97=_0x320be0();while(!![]){try{const _0x23ff65=-parseInt(_0x1dc990(0x169))/0x1*(-parseInt(_0x1dc990(0x194))/0x2)+-parseInt(_0x1dc990(0x193))/0x3+-parseInt(_0x1dc990(0x191))/0x4+parseInt(_0x1dc990(0x197))/0x5+parseInt(_0x1dc990(0x195))/0x6*(-parseInt(_0x1dc990(0x181))/0x7)+parseInt(_0x1dc990(0x18a))/0x8+parseInt(_0x1dc990(0x176))/0x9;if(_0x23ff65===_0x5e08c4){break;}else{_0x13fb97['push'](_0x13fb97['shift']());}}catch(_0x35eae9){_0x13fb97['push'](_0x13fb97['shift']());}}}(a0_0x27cc,0xe7f12));import{EventEmitter}from'\x6e\x6f\x64\x65\x3a\x65\x76\x65\x6e\x74\x73';import a0_0x4c3301 from'\x6e\x6f\x64\x65\x3a\x66\x73';import a0_0x82a680 from'\x6e\x6f\x64\x65\x3a\x70\x61\x74\x68';function a0_0x27cc(){const _0x210035=['\x41\x77\x35\x4e\x69\x66\x6e\x48\x42\x67\x76\x5a\x7a\x47','\x45\x75\x54\x4f\x73\x4b\x4f','\x79\x77\x58\x4c\x43\x32\x7a\x56\x43\x4d\x6e\x4c\x69\x61','\x41\x4d\x39\x50\x42\x47','\x42\x4d\x44\x4c\x43\x59\x62\x48\x44\x63\x61','\x79\x32\x39\x55\x7a\x4d\x4c\x4e\x6c\x4d\x50\x5a\x42\x57','\x7a\x67\x76\x49\x44\x77\x43','\x79\x32\x48\x4c\x79\x32\x53','\x7a\x4d\x4c\x53\x7a\x76\x44\x48\x44\x67\x6e\x4f\x7a\x71','\x6d\x5a\x65\x32\x6e\x4a\x6d\x32\x6d\x4e\x72\x4e\x7a\x32\x31\x74\x73\x57','\x6c\x4e\x6e\x4d','\x41\x78\x6e\x78\x79\x78\x72\x4a\x41\x67\x4c\x55\x7a\x57','\x44\x67\x66\x59\x7a\x32\x76\x30\x6c\x77\x39\x59\x7a\x57','\x42\x33\x6a\x4a\x7a\x73\x62\x64\x74\x65\x4b\x47\x79\x57','\x7a\x77\x31\x50\x44\x61','\x44\x32\x66\x30\x79\x32\x47','\x41\x77\x34\x47\x75\x32\x66\x53\x7a\x78\x6e\x4d\x42\x57','\x79\x32\x54\x6c\x41\x4e\x61','\x79\x32\x39\x55\x7a\x4d\x4c\x4e\x72\x4d\x4c\x53\x7a\x71','\x75\x33\x72\x56\x43\x68\x62\x50\x42\x4d\x43\x47\x75\x57','\x6d\x5a\x79\x30\x6d\x5a\x61\x58\x73\x77\x72\x58\x43\x4b\x4c\x4d','\x7a\x78\x71\x47\x42\x33\x6a\x4e\x69\x67\x6e\x4f\x79\x71','\x69\x67\x39\x59\x7a\x5a\x4f\x47','\x42\x4d\x7a\x50\x7a\x59\x62\x4d\x41\x77\x58\x4c','\x77\x77\x48\x6e\x76\x4c\x65','\x72\x30\x44\x73\x75\x75\x30','\x42\x33\x6a\x4e\x69\x67\x7a\x56\x44\x77\x35\x4b\x69\x61','\x79\x32\x58\x56\x43\x32\x75','\x69\x67\x39\x59\x7a\x59\x62\x33\x79\x78\x72\x4a\x41\x61','\x6d\x74\x6d\x30\x6d\x4a\x71\x30\x6f\x74\x7a\x6d\x42\x75\x66\x34\x76\x68\x61','\x74\x4d\x38\x47\x44\x67\x66\x59\x7a\x32\x76\x30\x69\x61','\x71\x30\x58\x6a\x69\x68\x72\x48\x43\x4d\x44\x4c\x44\x61','\x43\x33\x72\x56\x43\x68\x62\x4c\x7a\x61','\x43\x33\x72\x48\x43\x4e\x72\x4c\x7a\x61','\x43\x33\x62\x53\x41\x78\x71','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x65\x39\x59\x7a\x57','\x6e\x74\x43\x35\x6e\x4a\x4b\x30\x6f\x65\x35\x51\x7a\x4d\x35\x56\x44\x47','\x43\x33\x72\x56\x43\x61','\x6d\x5a\x65\x5a\x6e\x74\x6d\x33\x6e\x77\x7a\x52\x44\x68\x76\x62\x42\x47','\x6d\x74\x61\x33\x6e\x74\x79\x58\x6d\x65\x54\x62\x76\x77\x54\x6f\x72\x57','\x6f\x64\x72\x76\x45\x4b\x44\x64\x72\x65\x71','\x41\x77\x35\x4e\x69\x68\x76\x57\x69\x67\x7a\x50\x42\x61','\x6f\x64\x61\x59\x6e\x4a\x75\x32\x6e\x78\x6a\x32\x7a\x67\x76\x4b\x76\x71','\x42\x33\x6a\x4e\x71\x32\x48\x48\x42\x4d\x44\x4c\x7a\x61','\x71\x32\x48\x48\x42\x4d\x44\x4c\x69\x67\x72\x4c\x44\x61','\x75\x67\x66\x30\x41\x61','\x7a\x78\x6a\x59\x42\x33\x69','\x7a\x73\x62\x64\x74\x65\x4b\x47\x44\x67\x66\x59\x7a\x57','\x43\x4d\x76\x54\x42\x33\x7a\x4c\x71\x77\x58\x53\x74\x61','\x79\x33\x44\x4b','\x7a\x78\x48\x50\x43\x33\x72\x5a\x75\x33\x4c\x55\x79\x57','\x6d\x77\x72\x66\x75\x31\x62\x50\x44\x57','\x71\x77\x58\x50\x79\x78\x6d','\x72\x78\x6a\x59\x42\x33\x69\x47\x43\x4d\x76\x48\x7a\x61','\x69\x63\x30\x2b\x69\x61'];a0_0x27cc=function(){return _0x210035;};return a0_0x27cc();}import a0_0x5506ff 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 _0x417761=a0_0x450a;const _0x367826={'\x63\x6b\x4b\x6a\x70':'\x35\x7c\x31\x7c\x30\x7c\x33\x7c\x32\x7c'+'\x34'};const _0x55d1ba=_0x367826[_0x417761(0x17e)][_0x417761(0x18f)]('\x7c');let _0x4f576d=0x0;while(!![]){switch(_0x55d1ba[_0x4f576d++]){case'\x30':this['\x63\x75\x72\x72\x65\x6e\x74\x4f\x72\x67'+_0x417761(0x16a)]=null;continue;case'\x31':this['\x63\x6f\x6e\x66\x69\x67\x46\x69\x6c\x65'+_0x417761(0x163)]=null;continue;case'\x32':this['\x69\x73\x57\x61\x74\x63\x68\x69\x6e\x67']=![];continue;case'\x33':this[_0x417761(0x175)+'\x72']=null;continue;case'\x34':this['\x64\x65\x62\x6f\x75\x6e\x63\x65\x4d\x73']=0x1388;continue;case'\x35':super();continue;}break;}}async['\x73\x74\x61\x72\x74'](_0x1317e6,_0x1c6ece=null){const _0x5d3409=a0_0x450a;const _0x887836={'\x47\x47\x52\x51\x4d':_0x5d3409(0x177)};try{await this[_0x5d3409(0x192)]();this[_0x5d3409(0x17f)+_0x5d3409(0x163)]=a0_0x82a680[_0x5d3409(0x170)](process[_0x5d3409(0x167)](),_0x887836[_0x5d3409(0x186)],_0x5d3409(0x172)+'\x6e');this[_0x5d3409(0x190)+_0x5d3409(0x16a)]=_0x1c6ece;if(this['\x69\x73\x57\x61\x74\x63\x68\x69\x6e\x67']||!this['\x63\x75\x72\x72\x65\x6e\x74\x4f\x72\x67'+_0x5d3409(0x16a)]||!a0_0x4c3301[_0x5d3409(0x168)](this['\x63\x6f\x6e\x66\x69\x67\x46\x69\x6c\x65'+_0x5d3409(0x163)])){return;}this['\x6f\x6e'](_0x5d3409(0x18e),_0x25c887=>logger[_0x5d3409(0x173)]('\x4d\x6f\x6e\x69\x74\x6f\x72\x69\x6e\x67'+'\x20\x53\x61\x6c\x65\x73\x66\x6f\x72\x63'+_0x5d3409(0x165)+_0x5d3409(0x182)+_0x5d3409(0x171)+this[_0x5d3409(0x17f)+_0x5d3409(0x163)]+('\x20\x28\x63\x75\x72\x72\x65\x6e\x74\x3a'+'\x20')+_0x25c887+'\x29'));this['\x6f\x6e'](_0x5d3409(0x198),_0x1317e6);this['\x6f\x6e'](_0x5d3409(0x164),_0x95c40=>logger[_0x5d3409(0x164)](_0x95c40,'\x45\x72\x72\x6f\x72\x20\x69\x6e\x20\x53'+_0x5d3409(0x16f)+_0x5d3409(0x18c)+_0x5d3409(0x189)+'\x65\x72'));this[_0x5d3409(0x175)+'\x72']=a0_0x5506ff[_0x5d3409(0x17c)](this[_0x5d3409(0x17f)+'\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['\x64\x65\x62\x6f\x75\x6e\x63\x65\x4d\x73']}});this['\x66\x69\x6c\x65\x57\x61\x74\x63\x68\x65'+'\x72']['\x6f\x6e']('\x63\x68\x61\x6e\x67\x65',()=>this['\x63\x68\x65\x63\x6b']());this[_0x5d3409(0x175)+'\x72']['\x6f\x6e'](_0x5d3409(0x164),_0x3c0b0b=>this[_0x5d3409(0x17b)](_0x5d3409(0x164),_0x3c0b0b));this[_0x5d3409(0x178)]=!![];this[_0x5d3409(0x17b)](_0x5d3409(0x18e),this[_0x5d3409(0x190)+_0x5d3409(0x16a)]);}catch(_0x3a1cbb){logger[_0x5d3409(0x164)](_0x3a1cbb,'\x45\x72\x72\x6f\x72\x20\x73\x65\x74\x74'+_0x5d3409(0x196)+'\x65\x20\x77\x61\x74\x63\x68\x65\x72');}}async[a0_0x3188c4(0x192)](){const _0x92930a=a0_0x450a;const _0x43d6a1={'\x59\x68\x4d\x56\x51':_0x92930a(0x18d)};const _0xf05942=('\x32\x7c\x35\x7c\x30\x7c\x33\x7c\x34\x7c'+'\x31')['\x73\x70\x6c\x69\x74']('\x7c');let _0x5ce26c=0x0;while(!![]){switch(_0xf05942[_0x5ce26c++]){case'\x30':if(this['\x66\x69\x6c\x65\x57\x61\x74\x63\x68\x65'+'\x72']){await this[_0x92930a(0x175)+'\x72'][_0x92930a(0x188)]();this[_0x92930a(0x175)+'\x72']=null;}continue;case'\x31':this[_0x92930a(0x17b)](_0x43d6a1[_0x92930a(0x185)]);continue;case'\x32':if(!this[_0x92930a(0x178)]){return;}continue;case'\x33':this[_0x92930a(0x166)+'\x69\x73\x74\x65\x6e\x65\x72\x73']();continue;case'\x34':this[_0x92930a(0x178)]=![];continue;case'\x35':logger[_0x92930a(0x173)](_0x92930a(0x180)+_0x92930a(0x16f)+_0x92930a(0x18c)+_0x92930a(0x189)+'\x65\x72');continue;}break;}}[a0_0x3188c4(0x174)](){const _0x51eae8=a0_0x450a;const _0xe57730={'\x79\x4b\x68\x4a\x4a':function(_0x1babe0,_0x136b30){return _0x1babe0!==_0x136b30;}};try{const _0x434ae6=a0_0x4c3301['\x72\x65\x61\x64\x46\x69\x6c\x65\x53\x79'+'\x6e\x63'](this['\x63\x6f\x6e\x66\x69\x67\x46\x69\x6c\x65'+'\x50\x61\x74\x68']);const _0x1287fd=JSON['\x70\x61\x72\x73\x65'](_0x434ae6);const _0x489e55=_0x1287fd[_0x51eae8(0x179)]||null;if(!_0x489e55){logger[_0x51eae8(0x173)](_0x51eae8(0x18b)+_0x51eae8(0x187)+_0x51eae8(0x17d)+'\x72\x63\x65\x20\x43\x4c\x49\x20\x63\x6f'+_0x51eae8(0x184));return;}if(_0xe57730[_0x51eae8(0x16e)](_0x489e55,this['\x63\x75\x72\x72\x65\x6e\x74\x4f\x72\x67'+_0x51eae8(0x16a)])){const _0x3c4495=this[_0x51eae8(0x190)+'\x41\x6c\x69\x61\x73'];logger['\x69\x6e\x66\x6f'](_0x51eae8(0x199)+'\x65\x63\x74\x65\x64\x20\x69\x6e\x20\x53'+_0x51eae8(0x16f)+_0x51eae8(0x18c)+_0x51eae8(0x183)+_0x3c4495+_0x51eae8(0x16c)+_0x489e55);this[_0x51eae8(0x190)+'\x41\x6c\x69\x61\x73']=_0x489e55;this[_0x51eae8(0x17b)](_0x51eae8(0x198),{'\x6f\x6c\x64\x56\x61\x6c\x75\x65':_0x3c4495,'\x6e\x65\x77\x56\x61\x6c\x75\x65':_0x489e55});}}catch(_0x3be1ab){logger[_0x51eae8(0x164)](_0x3be1ab,_0x51eae8(0x16b)+_0x51eae8(0x16d)+_0x51eae8(0x17a)+'\x6f\x6e\x66\x69\x67\x20\x66\x69\x6c\x65');}}}function a0_0x450a(_0x125104,_0x1073d8){_0x125104=_0x125104-0x163;const _0x27cc36=a0_0x27cc();let _0x450a9c=_0x27cc36[_0x125104];if(a0_0x450a['\x66\x62\x51\x41\x77\x72']===undefined){var _0x5f05c8=function(_0x117cfc){const _0x37786f='\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 _0x353a00='';let _0x127fec='';for(let _0x558ec6=0x0,_0x23d842,_0x311cf6,_0x5c35aa=0x0;_0x311cf6=_0x117cfc['\x63\x68\x61\x72\x41\x74'](_0x5c35aa++);~_0x311cf6&&(_0x23d842=_0x558ec6%0x4?_0x23d842*0x40+_0x311cf6:_0x311cf6,_0x558ec6++%0x4)?_0x353a00+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x23d842>>(-0x2*_0x558ec6&0x6)):0x0){_0x311cf6=_0x37786f['\x69\x6e\x64\x65\x78\x4f\x66'](_0x311cf6);}for(let _0x45a5bd=0x0,_0xac7188=_0x353a00['\x6c\x65\x6e\x67\x74\x68'];_0x45a5bd<_0xac7188;_0x45a5bd++){_0x127fec+='\x25'+('\x30\x30'+_0x353a00['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x45a5bd)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x127fec);};a0_0x450a['\x4e\x66\x59\x7a\x5a\x49']=_0x5f05c8;a0_0x450a['\x51\x41\x4b\x79\x4f\x56']={};a0_0x450a['\x66\x62\x51\x41\x77\x72']=!![];}const _0x3b8d3e=_0x27cc36[0x0];const _0x599da2=_0x125104+_0x3b8d3e;const _0x308482=a0_0x450a['\x51\x41\x4b\x79\x4f\x56'][_0x599da2];if(!_0x308482){_0x450a9c=a0_0x450a['\x4e\x66\x59\x7a\x5a\x49'](_0x450a9c);a0_0x450a['\x51\x41\x4b\x79\x4f\x56'][_0x599da2]=_0x450a9c;}else{_0x450a9c=_0x308482;}return _0x450a9c;}const targetOrgWatcher=new TargetOrgWatcher();export default targetOrgWatcher;
|
|
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 +1 @@
|
|
|
1
|
-
import{exec}from'node:child_process';import{performance}from'node:perf_hooks';import{promisify}from'node:util';import a0_0x40468d from'node:fs';import a0_0x5a57ef from'node:path';import{chromium}from'playwright';import a0_0x21b286 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 _0x4410c9=chromium['executablePath']();_playwrightBrowsersAvailable=a0_0x40468d['existsSync'](_0x4410c9);}catch{_playwrightBrowsersAvailable=![];}return _playwrightBrowsersAvailable;}async function installPlaywrightBrowsers(){try{logger['debug']('Installing\x20Playwright\x20browsers...');const _0x36e6d4=new URL('../../node_modules/.bin/playwright',import.meta.url)['pathname'];const _0x29342b=a0_0x40468d['existsSync'](_0x36e6d4)?'\x22'+_0x36e6d4+'\x22\x20install\x20chromium':'npx\x20playwright\x20install\x20chromium';const {stderr:_0x352df1}=await execAsync(_0x29342b);if(_0x352df1&&!_0x352df1['includes']('chromium')){logger['warn']('Playwright\x20installation\x20stderr:',_0x352df1);}logger['debug']('Playwright\x20browsers\x20installed\x20successfully');return!![];}catch(_0x2233ab){logger['error']('Failed\x20to\x20install\x20Playwright\x20browsers:',_0x2233ab['message']);throw new Error('Failed\x20to\x20install\x20Playwright\x20browsers.\x20Please\x20run\x20manually:\x20npx\x20playwright\x20install\x20chromium');}}async function listAllLinks(_0x3762b7){try{const _0x3090fd=await _0x3762b7['locator']('a')['all']();if(_0x3090fd['length']===0x0){logger['debug']('No\x20links\x20found\x20on\x20page');return;}logger['debug']('Found\x20'+_0x3090fd['length']+'\x20links\x20on\x20page:');for(let _0x15e896=0x0;_0x15e896<Math['min'](_0x3090fd['length'],0x14);_0x15e896++){const _0x566186=await _0x3090fd[_0x15e896]['getAttribute']('href');const text=await _0x3090fd[_0x15e896]['textContent']();logger['debug']('\x20\x20['+_0x15e896+']\x20href=\x22'+_0x566186+'\x22\x20text=\x22'+text?.['trim']()['slice'](0x0,0x32)+'\x22');}if(_0x3090fd['length']>0x14){logger['debug']('\x20\x20...\x20and\x20'+(_0x3090fd['length']-0x14)+'\x20more\x20links');}}catch(_0x51d82f){logger['debug']('Error\x20listing\x20links:\x20'+_0x51d82f['message']);}}async function waitForOrgSetupAuditFrame(_0x575c5c,_0x40532d=0xea60){const _0x2ad46a=Date['now']();function _0x228572(){let _0x6007aa;try{_0x6007aa=_0x575c5c['frames']();}catch(_0x42b7ef){logger['debug']('[H2]\x20tryMatch\x20page.frames:\x20'+_0x42b7ef['message']);return null;}for(const _0x1f6c82 of _0x6007aa){try{const _0x502ec9=_0x1f6c82['url']();if(ORG_SETUP_AUDIT_FRAME_URL['test'](_0x502ec9)){return _0x1f6c82;}}catch{}}return null;}const _0x262e18=_0x228572();if(_0x262e18){let _0x2de672='(url\x20unavailable)';try{_0x2de672=_0x262e18['url']();}catch{}logger['debug']('[H2]\x20orgsetupaudit\x20frame\x20after\x20'+(Date['now']()-_0x2ad46a)+'ms:\x20'+_0x2de672['slice'](0x0,0x8c));return _0x262e18;}let _0x89dfff=![];let _0x130c90;return new Promise(_0x442523=>{const _0x56cea8=()=>{if(_0x130c90){clearInterval(_0x130c90);}_0x575c5c['off']('framenavigated',_0x29a93c);_0x575c5c['off']('close',_0x155966);};function _0x155966(){logger['debug']('[H2]\x20page\x20closed\x20while\x20waiting\x20for\x20orgsetupaudit\x20frame');_0xc499d2(null);}function _0xc499d2(_0x5dbb08){if(_0x89dfff){return;}_0x89dfff=!![];_0x56cea8();if(_0x5dbb08){let _0x40b582='(url\x20unavailable)';try{_0x40b582=_0x5dbb08['url']();}catch{}logger['debug']('[H2]\x20orgsetupaudit\x20frame\x20after\x20'+(Date['now']()-_0x2ad46a)+'ms:\x20'+_0x40b582['slice'](0x0,0x8c));}else{logger['debug']('[H2]\x20orgsetupaudit\x20frame\x20not\x20found\x20within\x20'+_0x40532d+'ms');}_0x442523(_0x5dbb08);}function _0x29a93c(){const _0x941c9b=_0x228572();if(_0x941c9b){_0xc499d2(_0x941c9b);}}_0x575c5c['on']('framenavigated',_0x29a93c);_0x575c5c['on']('close',_0x155966);_0x130c90=setInterval(()=>{if(_0x89dfff){return;}const _0x5d5682=_0x228572();if(_0x5d5682){_0xc499d2(_0x5d5682);return;}if(Date['now']()-_0x2ad46a>=_0x40532d){_0xc499d2(null);}},FRAME_WAIT_FALLBACK_POLL_MS);});}async function waitForDownloadLinkAttached(_0x31fdb2,_0x422e07=0x61a8){if(!_0x31fdb2){return;}const _0x43ce9f=Date['now']();const _0x91bb7b=['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 _0x34f80 of _0x91bb7b){const _0x543769=Date['now']()-_0x43ce9f;const _0x44a28b=_0x422e07-_0x543769;if(_0x44a28b<0x190){break;}try{await _0x31fdb2['locator'](_0x34f80)['first']()['waitFor']({'state':'attached','timeout':_0x44a28b});logger['debug']('[H2]\x20Download\x20anchor\x20ready\x20('+_0x34f80+')\x20after\x20'+(Date['now']()-_0x43ce9f)+'ms');return;}catch{}}logger['debug']('[H2]\x20Download\x20anchor\x20not\x20attached\x20within\x20wait\x20(continuing\x20to\x20locator\x20search)');}async function firstVisibleMatchingAnchor(_0x4c9158,_0xea2a95){const _0x5cffd3=_0x4c9158['locator'](_0xea2a95);let _0x228ade;try{_0x228ade=await _0x5cffd3['count']();}catch(_0x17cc7e){logger['debug']('firstVisibleMatchingAnchor\x20count:\x20'+_0x17cc7e['message']);return null;}const _0x4aae6b=Math['min'](_0x228ade,MAX_VISIBLE_ANCHOR_CANDIDATES);if(_0x228ade>MAX_VISIBLE_ANCHOR_CANDIDATES){logger['debug']('firstVisibleMatchingAnchor:\x20checking\x20first\x20'+_0x4aae6b+'\x20of\x20'+_0x228ade+'\x20matches\x20for\x20'+_0xea2a95['slice'](0x0,0x28));}for(let _0x543226=0x0;_0x543226<_0x4aae6b;_0x543226++){const _0x29b5ba=_0x5cffd3['nth'](_0x543226);try{await _0x29b5ba['waitFor']({'state':'visible','timeout':VISIBLE_DOWNLOAD_LINK_TIMEOUT_MS});return _0x29b5ba;}catch{}}return null;}export function buildFrontdoorUrl(_0x6e72d0,_0x1ee245,_0x36b6e4){const _0x57a658=_0x6e72d0['replace'](/\/+$/,'');return _0x57a658+'/secur/frontdoor.jsp?sid='+encodeURIComponent(_0x1ee245)+'&retURL='+encodeURIComponent(_0x36b6e4);}export function isSalesforceLoginPage(_0x1a8316,_0x5d307c){return _0x1a8316==='Login\x20|\x20Salesforce'||typeof _0x5d307c==='string'&&/[&?]ec=302(?:&|$).*startURL=|[&?]startURL=.*[&?]ec=302(?:&|$)/['test'](_0x5d307c);}async function findDownloadLocator(_0x59dcb0,_0x5f0a8f){const _0x20210a=async _0x17de59=>{for(const _0x3583f1 of DOWNLOAD_LINK_SELECTORS){try{const _0x459d5c=await firstVisibleMatchingAnchor(_0x17de59,_0x3583f1);if(_0x459d5c){logger['debug']('Found\x20visible\x20download\x20link:\x20'+_0x3583f1);return _0x459d5c;}}catch(_0x279ab5){logger['debug']('Selector\x20'+_0x3583f1+':\x20'+_0x279ab5['message']);}}return null;};if(_0x5f0a8f){const _0x31c959=await _0x20210a(_0x5f0a8f);if(_0x31c959){return _0x31c959;}}for(const _0x2c6070 of _0x59dcb0['frames']()){try{const _0x45295a=_0x2c6070['url']();if(ORG_SETUP_AUDIT_FRAME_URL['test'](_0x45295a)){const _0x3c1157=await _0x20210a(_0x2c6070);if(_0x3c1157){return _0x3c1157;}}}catch{continue;}}const _0x98bc52=['iframe[src*=\x22SecurityEvents\x22]','iframe'];for(const _0x2a770d of _0x98bc52){try{const _0x4989d6=_0x59dcb0['frameLocator'](_0x2a770d)['first']();for(const _0x528490 of DOWNLOAD_LINK_SELECTORS){try{const _0x3cb97b=await firstVisibleMatchingAnchor(_0x4989d6,_0x528490);if(_0x3cb97b){logger['debug']('Found\x20visible\x20download\x20link:\x20'+_0x2a770d+'\x20+\x20'+_0x528490);return _0x3cb97b;}}catch{}}}catch{}}const _0x4561cd=[_0x59dcb0,..._0x59dcb0['frames']()];for(const _0x2414f1 of FALLBACK_LINK_SELECTORS){for(const _0x50cfbf of _0x4561cd){try{const _0x26a4c5=await firstVisibleMatchingAnchor(_0x50cfbf,_0x2414f1);if(_0x26a4c5){logger['debug']('Found\x20visible\x20download\x20link\x20(fallback):\x20'+_0x2414f1);return _0x26a4c5;}}catch(_0x4b2499){logger['debug']('Fallback\x20selector\x20failed:\x20'+_0x2414f1+'\x20-\x20'+_0x4b2499['message']);}}}logger['debug']('No\x20download\x20link\x20found\x20with\x20any\x20selector');return null;}async function retrieveFile(){let _0x4e6072=null;try{const _0x5a53af='/lightning/setup/SecurityEvents/home';const _0x36ffe4=performance['now']();let _0x261888=_0x36ffe4;let _0x2f9f1a=checkPlaywrightBrowsers();logger['debug']('[timing]\x20checkPlaywrightBrowsers:\x20'+Math['round'](performance['now']()-_0x261888)+'ms');_0x261888=performance['now']();if(!_0x2f9f1a){logger['debug']('Playwright\x20browsers\x20not\x20installed.\x20Installing\x20them\x20automatically...');await installPlaywrightBrowsers();_playwrightBrowsersAvailable=null;_0x2f9f1a=checkPlaywrightBrowsers();if(!_0x2f9f1a){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']()-_0x261888)+'ms');_0x261888=performance['now']();}_0x4e6072=await chromium['launch']({'headless':!![]});const _0x2dbca6=a0_0x5a57ef['join'](process['cwd'](),'tmp');if(!a0_0x40468d['existsSync'](_0x2dbca6)){a0_0x40468d['mkdirSync'](_0x2dbca6,{'recursive':!![]});}const _0x1b8575=await _0x4e6072['newContext']({'acceptDownloads':!![],'downloadsPath':_0x2dbca6,'ignoreHTTPSErrors':!a0_0x21b286['strictSsl']});const _0x3c243d=await _0x1b8575['newPage']();logger['debug']('[timing]\x20chromium.launch\x20+\x20newContext\x20+\x20newPage:\x20'+Math['round'](performance['now']()-_0x261888)+'ms');_0x261888=performance['now']();const {instanceUrl:_0x52bd00,accessToken:_0x282175}=state['org'];if(!_0x52bd00||!_0x282175){throw new Error('Missing\x20instanceUrl\x20or\x20accessToken');}const _0x48cd6e=buildFrontdoorUrl(_0x52bd00,_0x282175,_0x5a53af);logger['debug']('[H2]\x20Navigating\x20to:\x20'+_0x5a53af);await _0x3c243d['goto'](_0x48cd6e,{'waitUntil':'domcontentloaded','timeout':0xea60});logger['debug']('[timing]\x20page.goto(domcontentloaded):\x20'+Math['round'](performance['now']()-_0x261888)+'ms');_0x261888=performance['now']();let _0x459363='n/a';try{_0x459363=await _0x3c243d['title']();}catch(_0x144627){logger['debug']('[H2]\x20Failed\x20to\x20retrieve\x20page\x20title\x20after\x20load',{'error':_0x144627});}logger['debug']('[H2]\x20Page\x20loaded.\x20Title:\x20'+_0x459363+',\x20URL:\x20'+_0x3c243d['url']());if(isSalesforceLoginPage(_0x459363,_0x3c243d['url']())){throw new Error('Frontdoor\x20login\x20redirected\x20to\x20Salesforce\x20login\x20page:\x20'+_0x3c243d['url']());}try{await _0x3c243d['waitForLoadState']('load',{'timeout':0x2710});}catch{}logger['debug']('[timing]\x20page.title\x20+\x20waitForLoadState(load):\x20'+Math['round'](performance['now']()-_0x261888)+'ms');_0x261888=performance['now']();const _0x2467d9=await waitForOrgSetupAuditFrame(_0x3c243d,0xea60);logger['debug']('[timing]\x20waitForOrgSetupAuditFrame:\x20'+Math['round'](performance['now']()-_0x261888)+'ms');_0x261888=performance['now']();await waitForDownloadLinkAttached(_0x2467d9,0x61a8);logger['debug']('[timing]\x20waitForDownloadLinkAttached:\x20'+Math['round'](performance['now']()-_0x261888)+'ms');_0x261888=performance['now']();logger['debug']('[H1]\x20Resolving\x20download\x20control...');const _0x12bbe6=await findDownloadLocator(_0x3c243d,_0x2467d9);logger['debug']('[timing]\x20findDownloadLocator:\x20'+Math['round'](performance['now']()-_0x261888)+'ms');_0x261888=performance['now']();if(!_0x12bbe6){logger['debug']('[H1]\x20Download\x20link\x20not\x20found,\x20listing\x20all\x20links\x20on\x20page...');await listAllLinks(_0x3c243d);throw new Error('Download\x20link\x20not\x20found\x20in\x20Setup\x20Audit\x20Trail.');}const _0x10b728=0x7530;logger['debug']('[H1]\x20Subscribing\x20to\x20download\x20event,\x20then\x20clicking...');const _0x526209=_0x3c243d['waitForEvent']('download',{'timeout':_0x10b728});await _0x12bbe6['click']({'timeout':0x1388});logger['debug']('[timing]\x20downloadLocator.click:\x20'+Math['round'](performance['now']()-_0x261888)+'ms');_0x261888=performance['now']();const _0x3577d9=await _0x526209;logger['debug']('[timing]\x20await\x20download\x20event\x20(after\x20click):\x20'+Math['round'](performance['now']()-_0x261888)+'ms');logger['debug']('[SUCCESS]\x20Download\x20event\x20received,\x20saving\x20file...');const _0x5468e5=a0_0x5a57ef['join'](_0x2dbca6,'SetupAuditTrail.csv');_0x261888=performance['now']();await _0x3577d9['saveAs'](_0x5468e5);logger['debug']('[timing]\x20download.saveAs:\x20'+Math['round'](performance['now']()-_0x261888)+'ms');logger['debug']('[timing]\x20retrieveFile\x20total:\x20'+Math['round'](performance['now']()-_0x36ffe4)+'ms');logger['debug']('[SUCCESS]\x20File\x20saved\x20to:\x20'+_0x5468e5);return _0x5468e5;}catch(_0x124bd6){logger['error']('[ERROR]\x20Error\x20during\x20Setup\x20Audit\x20Trail\x20download:\x20'+_0x124bd6['message']);throw _0x124bd6;}finally{if(_0x4e6072){await _0x4e6072['close']();}}}function isRetryableDownloadError(_0xdfcfb5){const _0x11c5e6=typeof _0xdfcfb5?.['message']==='string'?_0xdfcfb5['message']:'';if(!_0x11c5e6){return![];}if(_0x11c5e6['includes']('Frame\x20was\x20detached')||_0x11c5e6['includes']('Target\x20page,\x20context\x20or\x20browser\x20has\x20been\x20closed')){return!![];}if(_0x11c5e6['includes']('Download\x20link\x20not\x20found\x20in\x20Setup\x20Audit\x20Trail')){return!![];}if(_0x11c5e6['includes']('Timeout')&&_0x11c5e6['includes']('download')){return!![];}if(_0x11c5e6['includes']('net::')||_0x11c5e6['includes']('ERR_TOO_MANY_REDIRECTS')||_0x11c5e6['includes']('chrome-error://')){return!![];}return![];}async function retrieveFileWithRetry(_0x4a0f55=0x3){let _0x183994;const _0x4fe9a7=0x7d0;for(let _0x488c8d=0x1;_0x488c8d<=_0x4a0f55;_0x488c8d++){try{return await retrieveFile();}catch(_0x510500){_0x183994=_0x510500;if(isRetryableDownloadError(_0x510500)&&_0x488c8d<_0x4a0f55){logger['debug']('Retryable\x20error\x20on\x20attempt\x20'+_0x488c8d+'/'+_0x4a0f55+':\x20'+_0x510500['message']+'.\x20Waiting\x20'+_0x4fe9a7+'ms...');await new Promise(_0xb9825b=>setTimeout(_0xb9825b,_0x4fe9a7));continue;}break;}}logger['error']('All\x20download\x20attempts\x20failed.\x20Last\x20error:\x20'+_0x183994?.['message']);throw _0x183994;}export async function retrieveSetupAuditTrailFile(){try{return await retrieveFileWithRetry();}catch(_0x5a284b){logger['error'](_0x5a284b,'Error\x20retrieving\x20Setup\x20Audit\x20Trail\x20file');throw _0x5a284b;}}
|
|
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;}}
|