test_research4 0.5.9 → 0.5.10
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/static/bundles/mcp-apps/get-apex-class-code-coverage/mcp-app.html +444 -0
- package/src/static/bundles/mcp-apps/run-apex-test/mcp-app.html +475 -0
- 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/find_record.md.pam +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
|
-
function a0_0xecea(){const _0xe1948=['\x43\x33\x62\x56\x43\x4e\x71\x47\x44\x68\x4c\x57\x7a\x71','\x42\x4d\x39\x4b\x7a\x74\x50\x4d\x43\x57','\x6c\x73\x31\x4f\x7a\x77\x58\x57','\x41\x77\x35\x4d\x42\x59\x4b','\x75\x4d\x76\x4a\x7a\x77\x4c\x32\x7a\x77\x71\x36\x69\x61','\x6c\x73\x31\x30\x43\x4d\x66\x55\x43\x33\x62\x56\x43\x47','\x41\x65\x66\x62\x44\x33\x47','\x76\x4d\x31\x73\x79\x30\x47','\x6e\x5a\x43\x34\x73\x78\x6e\x68\x75\x78\x72\x62','\x42\x4e\x7a\x48\x42\x67\x4c\x4b\x69\x67\x58\x56\x7a\x57','\x69\x66\x6e\x4c\x44\x63\x62\x69\x76\x66\x72\x71\x69\x61','\x73\x75\x6a\x6e\x69\x66\x6e\x48\x42\x67\x76\x5a\x7a\x47','\x7a\x33\x76\x54\x7a\x77\x35\x30\x6f\x49\x61','\x7a\x4c\x6a\x70\x41\x4d\x57','\x7a\x67\x4c\x56\x69\x67\x39\x59\x69\x67\x48\x30\x44\x61','\x69\x67\x66\x53\x42\x63\x62\x56\x44\x78\x72\x57\x44\x71','\x42\x33\x6a\x4a\x7a\x73\x62\x64\x42\x32\x35\x30\x7a\x71','\x43\x63\x61\x4f\x42\x33\x7a\x4c\x43\x4e\x6a\x50\x7a\x61','\x69\x68\x44\x48\x43\x4d\x35\x50\x42\x4d\x43\x53\x69\x61','\x43\x49\x57\x47\x44\x32\x66\x59\x42\x4d\x4c\x55\x7a\x57','\x69\x63\x62\x74\x73\x75\x58\x66\x74\x4c\x71\x47\x69\x61','\x7a\x4d\x39\x59\x42\x77\x66\x30\x41\x77\x39\x55','\x69\x63\x61\x54\x6c\x77\x58\x56\x7a\x59\x31\x53\x7a\x71','\x69\x63\x61\x47\x75\x32\x76\x30\x69\x67\x58\x56\x7a\x57','\x69\x63\x61\x47\x69\x63\x62\x69\x76\x66\x72\x71\x69\x61','\x79\x75\x50\x65\x76\x65\x57','\x79\x33\x6a\x50\x44\x67\x4c\x4a\x79\x77\x57','\x43\x68\x62\x59\x7a\x78\x6e\x5a\x69\x67\x66\x53\x42\x61','\x42\x33\x6a\x30\x69\x63\x48\x48\x44\x78\x72\x56\x6c\x71','\x76\x4d\x66\x53\x41\x77\x71\x47\x42\x33\x62\x30\x41\x71','\x69\x63\x62\x74\x7a\x78\x71\x47\x44\x32\x39\x59\x41\x57','\x43\x32\x66\x4e\x7a\x71','\x42\x67\x39\x4e','\x43\x67\x39\x59\x44\x63\x62\x4d\x42\x33\x69\x47\x41\x61','\x79\x4e\x76\x73\x42\x4d\x47','\x69\x67\x66\x59\x7a\x33\x76\x54\x7a\x77\x35\x30\x43\x57','\x72\x4d\x39\x66\x42\x78\x47','\x45\x4b\x48\x77\x7a\x77\x34','\x69\x63\x61\x54\x6c\x78\x7a\x4c\x43\x4e\x6e\x50\x42\x57','\x42\x33\x6a\x30\x69\x66\x72\x7a\x75\x65\x75\x53\x69\x61','\x69\x63\x62\x74\x41\x67\x39\x33\x69\x68\x7a\x4c\x43\x47','\x43\x32\x76\x73\x71\x31\x47','\x78\x31\x62\x70\x75\x4c\x71\x47\x69\x63\x61\x47\x69\x61','\x43\x59\x62\x4f\x7a\x77\x58\x57\x69\x67\x31\x4c\x43\x57','\x6e\x74\x69\x5a\x6d\x5a\x69\x35\x41\x32\x31\x6c\x41\x4c\x50\x70','\x6c\x33\x62\x48\x44\x67\x47\x56\x44\x67\x38\x56\x43\x61','\x69\x63\x61\x54\x6c\x78\x44\x56\x43\x4d\x54\x5a\x43\x61','\x69\x63\x62\x78\x74\x31\x6a\x6c\x75\x31\x62\x62\x71\x57','\x6d\x74\x65\x31\x6e\x33\x7a\x6d\x75\x66\x62\x67\x73\x61','\x42\x4d\x66\x54\x7a\x71','\x6c\x73\x31\x32\x7a\x78\x6a\x5a\x41\x77\x39\x55','\x72\x76\x39\x67\x74\x30\x58\x65\x72\x76\x6a\x46\x75\x61','\x74\x33\x62\x30\x41\x77\x39\x55\x43\x5a\x4f','\x79\x77\x58\x4c\x43\x4e\x71','\x45\x78\x7a\x68\x77\x78\x43','\x74\x4c\x6e\x71\x74\x31\x6a\x75\x6b\x71','\x71\x78\x66\x48\x72\x75\x6d','\x6c\x63\x61\x54\x43\x59\x61\x47\x69\x63\x61\x47\x69\x61','\x6d\x74\x43\x58\x6e\x64\x72\x58\x43\x67\x6e\x72\x72\x67\x43','\x69\x67\x48\x30\x44\x68\x61\x47\x6b\x67\x72\x4c\x7a\x47','\x44\x67\x39\x6d\x42\x33\x44\x4c\x43\x4b\x6e\x48\x43\x57','\x44\x63\x62\x77\x79\x78\x6a\x50\x79\x77\x6a\x53\x7a\x71','\x75\x4e\x76\x55\x69\x63\x69','\x44\x63\x61\x4f\x42\x33\x7a\x4c\x43\x4e\x6a\x50\x7a\x61','\x41\x77\x6e\x78\x44\x30\x30','\x72\x30\x39\x36\x45\x4b\x6d','\x43\x4e\x71\x47\x43\x33\x72\x4b\x41\x77\x38','\x7a\x67\x76\x55\x69\x67\x6a\x35\x69\x65\x6e\x6d\x73\x71','\x6e\x74\x47\x31\x41\x67\x54\x31\x7a\x75\x44\x65','\x69\x63\x62\x74\x41\x67\x39\x33\x69\x68\x72\x4f\x41\x71','\x79\x78\x6a\x4e\x44\x47','\x6c\x49\x39\x5a\x43\x4d\x6d\x56\x42\x77\x6e\x57\x6c\x71','\x6d\x64\x61\x50','\x69\x67\x58\x4c\x44\x4d\x76\x53\x6f\x49\x61','\x44\x68\x6a\x48\x42\x4e\x6e\x57\x42\x33\x6a\x30','\x43\x67\x39\x59\x44\x63\x61\x34\x6d\x64\x47\x57','\x72\x75\x6a\x76\x41\x67\x79','\x6d\x4a\x61\x35\x6d\x5a\x75\x5a\x6d\x78\x66\x77\x74\x77\x58\x4e\x43\x47','\x69\x67\x58\x4c\x44\x4d\x76\x53\x6f\x49\x62\x4c\x42\x71','\x42\x4d\x39\x30\x41\x77\x6e\x4c','\x6e\x64\x65\x33\x6d\x74\x48\x57\x77\x75\x39\x79\x44\x4e\x69','\x69\x63\x61\x47\x69\x63\x62\x74\x41\x77\x58\x4c\x42\x47','\x73\x75\x6a\x4d\x74\x78\x43','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x75\x61','\x73\x4e\x66\x64\x77\x75\x47','\x7a\x30\x7a\x35\x42\x66\x4f','\x43\x32\x4c\x53\x7a\x77\x35\x30','\x42\x32\x35\x5a\x6f\x49\x62\x5a\x44\x67\x72\x50\x42\x57','\x43\x33\x72\x4b\x41\x77\x38','\x69\x63\x62\x75\x43\x4d\x66\x55\x43\x33\x62\x56\x43\x47','\x43\x30\x31\x63\x75\x30\x79','\x44\x67\x4c\x55\x7a\x59\x62\x6a\x71\x4b\x30\x47\x75\x57','\x43\x32\x76\x59\x44\x4d\x76\x59\x6c\x4d\x50\x5a','\x69\x63\x62\x6e\x71\x31\x62\x46\x73\x66\x72\x75\x75\x61','\x43\x78\x44\x4d\x79\x77\x71','\x75\x4c\x71\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x42\x4d\x39\x4b\x7a\x74\x50\x31\x43\x4d\x57','\x7a\x78\x6a\x59\x42\x33\x69','\x69\x67\x72\x4c\x79\x4e\x76\x4e','\x44\x63\x62\x54\x42\x32\x72\x4c\x6f\x49\x62\x30\x43\x47','\x69\x63\x61\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x7a\x77\x7a\x48\x44\x77\x58\x30\x6f\x49\x62\x4d\x79\x71','\x42\x4e\x6e\x57\x42\x33\x6a\x30\x69\x68\x7a\x48\x42\x61','\x7a\x78\x48\x50\x44\x61','\x43\x67\x66\x59\x43\x32\x75','\x6e\x68\x44\x48\x79\x76\x7a\x72\x72\x71','\x43\x67\x66\x4a\x7a\x73\x62\x57\x79\x78\x72\x4f\x43\x57','\x74\x76\x6a\x48\x77\x4b\x6d','\x42\x4d\x39\x30\x41\x77\x6e\x4c\x6c\x63\x62\x50\x42\x47','\x75\x4e\x48\x31\x43\x65\x65','\x43\x4e\x71\x47\x41\x68\x72\x30\x43\x63\x61\x54\x6c\x71','\x69\x66\x54\x70\x75\x66\x72\x6a\x74\x30\x35\x74\x78\x71','\x43\x33\x62\x48\x79\x32\x75\x47\x43\x67\x66\x30\x41\x61','\x6a\x33\x6e\x30\x7a\x67\x4c\x56\x6a\x59\x62\x56\x43\x47','\x76\x30\x7a\x51\x74\x67\x4f','\x6e\x4a\x69\x57\x6e\x67\x6e\x66\x43\x32\x31\x4a\x71\x71','\x7a\x77\x31\x4c\x43\x4d\x44\x4c\x42\x4d\x6e\x35','\x42\x67\x39\x4e\x74\x67\x76\x32\x7a\x77\x57','\x79\x77\x6e\x4c\x69\x66\x62\x62\x76\x65\x48\x74\x6c\x61','\x6d\x74\x65\x31\x6e\x5a\x43\x58\x6e\x78\x7a\x35\x72\x66\x76\x7a\x75\x47','\x73\x77\x35\x32\x79\x77\x58\x50\x7a\x63\x62\x30\x43\x47','\x43\x67\x66\x59\x43\x32\x76\x6a\x42\x4e\x71','\x43\x59\x61\x4f\x42\x33\x7a\x4c\x43\x4e\x6a\x50\x7a\x61','\x6e\x5a\x61\x31\x7a\x65\x66\x52\x44\x66\x6e\x65','\x74\x67\x6a\x58\x72\x30\x79','\x7a\x4e\x7a\x53\x71\x4e\x65','\x69\x63\x61\x54\x6c\x78\x72\x59\x79\x77\x35\x5a\x43\x61','\x77\x4b\x7a\x74\x79\x4b\x4f','\x43\x4e\x7a\x4c\x43\x47','\x79\x32\x6e\x31\x43\x67\x4c\x4c\x7a\x63\x4b','\x7a\x78\x6d\x47\x76\x30\x39\x73\x73\x31\x6e\x71\x71\x71','\x72\x78\x48\x48\x42\x78\x62\x53\x7a\x78\x6d\x36','\x43\x4e\x71\x53\x69\x67\x6e\x59\x41\x78\x72\x50\x79\x57','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x48\x43\x47','\x45\x67\x50\x52\x72\x75\x71','\x7a\x78\x6d\x47\x6c\x73\x31\x53\x42\x32\x43\x54\x42\x61','\x77\x65\x44\x50\x76\x67\x47','\x69\x63\x31\x53\x69\x65\x58\x66\x76\x4b\x76\x6d\x69\x61','\x76\x78\x6e\x48\x7a\x32\x75\x36','\x34\x50\x32\x6d\x69\x65\x76\x59\x43\x4d\x39\x59\x6f\x49\x62\x6a','\x7a\x67\x76\x49\x44\x77\x43','\x79\x78\x72\x4f\x43\x57','\x44\x66\x72\x4c\x44\x4e\x79','\x43\x33\x72\x48\x43\x4e\x72\x5a\x76\x32\x4c\x30\x41\x61','\x72\x77\x35\x32\x41\x78\x6a\x56\x42\x4d\x31\x4c\x42\x47','\x69\x63\x61\x54\x6c\x77\x48\x4c\x42\x68\x61\x53\x69\x61','\x41\x77\x35\x4d\x42\x57','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x74\x77\x76\x33\x45\x4d\x75','\x43\x4e\x71\x47\x43\x33\x72\x4b\x41\x77\x38\x47\x6c\x71','\x7a\x32\x76\x55\x79\x33\x4b\x53\x69\x67\x66\x53\x7a\x71','\x42\x32\x35\x5a\x6f\x49\x61','\x69\x63\x30\x54\x44\x68\x6a\x48\x42\x4e\x6e\x57\x42\x57','\x76\x67\x66\x66\x73\x66\x43','\x43\x32\x4c\x56\x42\x49\x62\x50\x42\x4d\x7a\x56\x43\x47','\x41\x68\x72\x30\x43\x61','\x41\x68\x72\x30\x43\x66\x62\x56\x43\x4e\x71','\x6c\x49\x62\x6e\x44\x78\x6e\x30\x69\x67\x6a\x4c\x69\x61','\x69\x63\x61\x47\x69\x63\x61\x47\x76\x68\x6a\x48\x42\x47','\x6c\x63\x62\x55\x42\x33\x72\x50\x79\x32\x75\x53\x69\x61','\x44\x4d\x54\x6a\x44\x4b\x30','\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x73\x35\x51\x43\x57','\x73\x30\x7a\x49\x79\x4b\x43','\x69\x63\x61\x47\x69\x63\x62\x6d\x42\x32\x43\x47\x42\x61','\x42\x49\x57\x47\x6c\x78\x79\x47\x69\x63\x61\x47\x69\x61','\x44\x4d\x76\x53\x69\x65\x58\x66\x76\x4b\x76\x6d\x6c\x61','\x79\x78\x76\x53\x44\x64\x4f\x47\x43\x33\x72\x4b\x41\x71','\x69\x63\x44\x4f\x44\x68\x72\x57\x6a\x57','\x77\x67\x6a\x31\x72\x4d\x38','\x71\x76\x72\x69\x75\x59\x62\x78\x42\x33\x6a\x52\x43\x57','\x42\x4d\x39\x4b\x7a\x74\x50\x57\x79\x78\x72\x4f','\x76\x33\x44\x63\x43\x31\x69','\x43\x67\x66\x59\x79\x78\x72\x4c\x7a\x63\x4b','\x74\x63\x61\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x42\x77\x66\x30\x41\x77\x39\x55','\x44\x68\x72\x57\x69\x68\x72\x59\x79\x77\x35\x5a\x43\x61','\x79\x4b\x31\x55\x73\x30\x4b','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x69\x61','\x44\x67\x39\x74\x44\x68\x6a\x50\x42\x4d\x43','\x69\x63\x62\x6e\x71\x31\x62\x46\x76\x66\x6a\x62\x74\x47','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71','\x41\x4d\x39\x50\x42\x47','\x6d\x4a\x75\x35\x74\x32\x39\x52\x73\x4e\x4c\x49','\x69\x63\x61\x54\x6c\x78\x6e\x50\x42\x67\x76\x55\x44\x61','\x7a\x4d\x4c\x55\x7a\x68\x6d\x47\x79\x78\x7a\x48\x41\x71','\x69\x63\x30\x54\x41\x67\x76\x53\x43\x63\x69\x47\x7a\x47','\x44\x78\x72\x4d\x6f\x61','\x41\x77\x35\x4a\x42\x68\x76\x4b\x7a\x78\x6d','\x6d\x4a\x62\x4b\x77\x77\x54\x71\x79\x77\x75','\x42\x66\x66\x35\x79\x4b\x79','\x44\x63\x62\x30\x45\x78\x62\x4c\x6f\x49\x62\x5a\x44\x61','\x75\x65\x66\x75\x73\x66\x6d\x50'];a0_0xecea=function(){return _0xe1948;};return a0_0xecea();}const a0_0x1e8305=a0_0x50c5;function a0_0x50c5(_0x2cc168,_0x1fc14c){_0x2cc168=_0x2cc168-0x1bc;const _0xecea=a0_0xecea();let _0x50c518=_0xecea[_0x2cc168];if(a0_0x50c5['\x70\x4f\x48\x65\x6d\x51']===undefined){var _0x5a544f=function(_0xbb92fb){const _0x278c80='\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 _0x353cf6='';let _0x45abb2='';for(let _0x3e9730=0x0,_0x32643b,_0x2ebfbb,_0x4199ee=0x0;_0x2ebfbb=_0xbb92fb['\x63\x68\x61\x72\x41\x74'](_0x4199ee++);~_0x2ebfbb&&(_0x32643b=_0x3e9730%0x4?_0x32643b*0x40+_0x2ebfbb:_0x2ebfbb,_0x3e9730++%0x4)?_0x353cf6+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x32643b>>(-0x2*_0x3e9730&0x6)):0x0){_0x2ebfbb=_0x278c80['\x69\x6e\x64\x65\x78\x4f\x66'](_0x2ebfbb);}for(let _0x322c30=0x0,_0x8967c7=_0x353cf6['\x6c\x65\x6e\x67\x74\x68'];_0x322c30<_0x8967c7;_0x322c30++){_0x45abb2+='\x25'+('\x30\x30'+_0x353cf6['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x322c30)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x45abb2);};a0_0x50c5['\x6b\x43\x67\x67\x6f\x56']=_0x5a544f;a0_0x50c5['\x4a\x6a\x6d\x50\x64\x4f']={};a0_0x50c5['\x70\x4f\x48\x65\x6d\x51']=!![];}const _0x18e885=_0xecea[0x0];const _0x3f2c6d=_0x2cc168+_0x18e885;const _0x4ce917=a0_0x50c5['\x4a\x6a\x6d\x50\x64\x4f'][_0x3f2c6d];if(!_0x4ce917){_0x50c518=a0_0x50c5['\x6b\x43\x67\x67\x6f\x56'](_0x50c518);a0_0x50c5['\x4a\x6a\x6d\x50\x64\x4f'][_0x3f2c6d]=_0x50c518;}else{_0x50c518=_0x4ce917;}return _0x50c518;}(function(_0x466796,_0x1181d4){const _0x4868dc=a0_0x50c5;const _0x55965c=_0x466796();while(!![]){try{const _0x474003=parseInt(_0x4868dc(0x220))/0x1*(parseInt(_0x4868dc(0x26d))/0x2)+parseInt(_0x4868dc(0x1d1))/0x3+parseInt(_0x4868dc(0x20e))/0x4*(-parseInt(_0x4868dc(0x21c))/0x5)+-parseInt(_0x4868dc(0x1f5))/0x6*(-parseInt(_0x4868dc(0x25b))/0x7)+-parseInt(_0x4868dc(0x1df))/0x8*(-parseInt(_0x4868dc(0x1e9))/0x9)+-parseInt(_0x4868dc(0x261))/0xa*(parseInt(_0x4868dc(0x1f2))/0xb)+-parseInt(_0x4868dc(0x218))/0xc*(-parseInt(_0x4868dc(0x1d5))/0xd);if(_0x474003===_0x1181d4){break;}else{_0x55965c['push'](_0x55965c['shift']());}}catch(_0x31a83e){_0x55965c['push'](_0x55965c['shift']());}}}(a0_0xecea,0x44220));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(_0x54945a){const _0x378515=a0_0x50c5;const _0x41ab5f={'\x66\x76\x6c\x42\x71':function(_0x2f0d88,_0x376b5f){return _0x2f0d88===_0x376b5f;},'\x67\x46\x79\x6c\x5a':_0x378515(0x267),'\x41\x71\x61\x45\x43':function(_0x5a7529,_0x45ec61){return _0x5a7529===_0x45ec61;},'\x50\x5a\x76\x73\x78':'\x2d\x2d\x76\x65\x72\x73\x69\x6f\x6e','\x76\x6b\x49\x76\x4d':function(_0x5557cd,_0x17e325){return _0x5557cd===_0x17e325;},'\x73\x4d\x42\x53\x46':function(_0x351c22,_0x3b1b22){return _0x351c22===_0x3b1b22;},'\x74\x54\x65\x76\x76':_0x378515(0x1e5),'\x76\x64\x57\x6a\x63':_0x378515(0x26c),'\x4b\x46\x62\x62\x47':'\x2d\x2d\x6c\x6f\x67\x2d\x6c\x65\x76\x65'+'\x6c','\x73\x65\x52\x43\x58':function(_0x27dcd8,_0x7660d5){return _0x27dcd8<_0x7660d5;},'\x4c\x62\x71\x47\x46':function(_0x43b556,_0x4690e9){return _0x43b556===_0x4690e9;},'\x62\x4d\x6e\x4b\x49':'\x2d\x2d\x70\x6f\x72\x74','\x61\x4a\x44\x54\x4c':function(_0x354460,_0x3bc45d){return _0x354460+_0x3bc45d;},'\x47\x43\x4c\x4d\x6c':function(_0x1600e9,_0x45ccce){return _0x1600e9===_0x45ccce;},'\x58\x47\x69\x54\x68':'\x2d\x2d\x77\x6f\x72\x6b\x73\x70\x61\x63'+'\x65','\x7a\x48\x56\x65\x6e':function(_0x117c5d,_0x292b19){return _0x117c5d===_0x292b19;},'\x75\x4f\x45\x76\x68':function(_0x11a6c6,_0x2395c0){return _0x11a6c6+_0x2395c0;}};const _0x4abe45={'\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 _0x16d793=0x0;_0x16d793<_0x54945a[_0x378515(0x238)];_0x16d793++){const _0x3f16d5=_0x54945a[_0x16d793];if(_0x41ab5f['\x66\x76\x6c\x42\x71'](_0x3f16d5,_0x41ab5f[_0x378515(0x1fa)])||_0x41ab5f[_0x378515(0x222)](_0x3f16d5,'\x2d\x68')||_0x41ab5f[_0x378515(0x1dd)](_0x3f16d5,_0x41ab5f['\x50\x5a\x76\x73\x78'])||_0x41ab5f['\x41\x71\x61\x45\x43'](_0x3f16d5,'\x2d\x76')){if(_0x3f16d5==='\x2d\x68'){_0x4abe45[_0x378515(0x1ef)]=_0x41ab5f[_0x378515(0x1fa)];}else if(_0x3f16d5==='\x2d\x76'){_0x4abe45[_0x378515(0x1ef)]=_0x378515(0x1d7);}else{_0x4abe45[_0x378515(0x1ef)]=_0x3f16d5;}break;}if((_0x3f16d5===_0x378515(0x26a)+'\x74'||_0x3f16d5==='\x2d\x74')&&_0x16d793+0x1<_0x54945a[_0x378515(0x238)]){const _0x1c29fa=_0x54945a[_0x16d793+0x1];if(_0x41ab5f[_0x378515(0x245)](_0x1c29fa,_0x378515(0x1fd))||_0x1c29fa==='\x68\x74\x74\x70'){if(_0x41ab5f[_0x378515(0x1ff)](_0x41ab5f[_0x378515(0x233)],_0x41ab5f['\x76\x64\x57\x6a\x63'])){_0x230258.env.LOG_LEVEL=_0x2d1b06;}else{_0x4abe45['\x74\x72\x61\x6e\x73\x70\x6f\x72\x74']='\x2d\x2d'+_0x1c29fa;}}else{throw new Error(_0x378515(0x21d)+'\x61\x6e\x73\x70\x6f\x72\x74\x20\x76\x61'+'\x6c\x75\x65\x3a\x20'+_0x1c29fa+(_0x378515(0x242)+_0x378515(0x216)+_0x378515(0x24c)));}_0x16d793++;}else if((_0x3f16d5===_0x41ab5f[_0x378515(0x247)]||_0x3f16d5==='\x2d\x6c')&&_0x41ab5f[_0x378515(0x1ce)](_0x16d793+0x1,_0x54945a[_0x378515(0x238)])){_0x4abe45[_0x378515(0x21a)]=_0x54945a[_0x16d793+0x1][_0x378515(0x1e1)+'\x65']();_0x16d793++;}else if((_0x41ab5f[_0x378515(0x221)](_0x3f16d5,_0x41ab5f[_0x378515(0x255)])||_0x3f16d5==='\x2d\x70')&&_0x16d793+0x1<_0x54945a[_0x378515(0x238)]){_0x4abe45[_0x378515(0x241)]=Number[_0x378515(0x21e)](_0x54945a[_0x41ab5f[_0x378515(0x1be)](_0x16d793,0x1)],0xa);_0x16d793++;}else if((_0x41ab5f['\x47\x43\x4c\x4d\x6c'](_0x3f16d5,_0x41ab5f[_0x378515(0x22d)])||_0x41ab5f[_0x378515(0x1ca)](_0x3f16d5,'\x2d\x77'))&&_0x41ab5f[_0x378515(0x1ce)](_0x16d793+0x1,_0x54945a['\x6c\x65\x6e\x67\x74\x68'])){_0x4abe45[_0x378515(0x1f8)+_0x378515(0x232)]=_0x54945a[_0x41ab5f['\x75\x4f\x45\x76\x68'](_0x16d793,0x1)];_0x16d793++;}else if(_0x3f16d5==='\x2d\x2d\x73\x69\x6c\x65\x6e\x74'||_0x41ab5f[_0x378515(0x1dd)](_0x3f16d5,'\x2d\x73')){_0x4abe45[_0x378515(0x1fb)]=!![];}else if(_0x3f16d5[_0x378515(0x234)]('\x2d\x2d')||_0x3f16d5[_0x378515(0x234)]('\x2d')&&_0x3f16d5[_0x378515(0x238)]===0x2){throw new Error(_0x378515(0x22a)+_0x378515(0x271)+_0x3f16d5);}}return _0x4abe45;}export async function main(_0x24e128){const _0xd8c238=a0_0x50c5;const _0x42b468={'\x79\x76\x47\x59\x77':function(_0x49cb85,_0xe5dcb2){return _0x49cb85(_0xe5dcb2);},'\x49\x42\x66\x4d\x77':_0xd8c238(0x230)+'\x6e\x76\x61\x6c\x69\x64\x20\x74\x72\x61'+_0xd8c238(0x20b)+'\x75\x65','\x47\x4f\x7a\x7a\x43':_0xd8c238(0x205),'\x4d\x52\x61\x5a\x43':function(_0x5e1985,_0x209f30){return _0x5e1985(_0x209f30);},'\x78\x6a\x6b\x45\x44':function(_0x433c8b,_0x446092,_0x32c133){return _0x433c8b(_0x446092,_0x32c133);},'\x73\x68\x59\x76\x6e':function(_0x489a39,_0x37e5d5){return _0x489a39===_0x37e5d5;},'\x69\x65\x55\x78\x6e':_0xd8c238(0x267),'\x58\x62\x75\x46\x6f':_0xd8c238(0x27b)+_0xd8c238(0x24a)+_0xd8c238(0x22e)+_0xd8c238(0x1bc)+_0xd8c238(0x1f3)+'\x65\x72\x67\x65\x6e\x63\x79\x2c\x20\x61'+'\x6c\x65\x72\x74\x2c\x20\x63\x72\x69\x74'+'\x69\x63\x61\x6c\x2c\x20\x65\x72\x72\x6f'+_0xd8c238(0x278)+_0xd8c238(0x244)+'\x69\x6e\x66\x6f\x2c\x20\x64\x65\x62\x75'+'\x67','\x6c\x51\x79\x62\x46':_0xd8c238(0x1d3)+_0xd8c238(0x21b)+'\x20\x2d\x77\x20\x50\x41\x54\x48\x53\x20'+_0xd8c238(0x1c3)+_0xd8c238(0x215)+_0xd8c238(0x21f)+_0xd8c238(0x227)+'\x43\x45\x5f\x46\x4f\x4c\x44\x45\x52\x5f'+_0xd8c238(0x264),'\x52\x78\x75\x70\x41':_0xd8c238(0x236)+'\x2d\x68\x20\x20\x20\x20\x20\x20\x20\x20'+_0xd8c238(0x1ea)+_0xd8c238(0x1d0)+_0xd8c238(0x1c4),'\x67\x71\x52\x58\x4e':_0xd8c238(0x258)+'\x53\x50\x4f\x52\x54\x20\x20\x20\x20\x20'+_0xd8c238(0x243)+_0xd8c238(0x265)+'\x3a\x20\x73\x74\x64\x69\x6f\x20\x6f\x72'+_0xd8c238(0x1e0)+_0xd8c238(0x24b)+'\x6f\x29','\x68\x41\x41\x77\x78':_0xd8c238(0x1d7),'\x4e\x75\x4f\x43\x6e':_0xd8c238(0x1c9),'\x4a\x71\x43\x59\x48':'\x73\x74\x64\x69\x6f','\x66\x52\x4f\x6a\x6c':function(_0x59a3c8,_0x5757ab){return _0x59a3c8!==_0x5757ab;},'\x4d\x65\x77\x7a\x65':_0xd8c238(0x1da),'\x5a\x46\x53\x62\x4a':_0xd8c238(0x219),'\x57\x77\x42\x73\x52':_0xd8c238(0x1ec)+_0xd8c238(0x201),'\x52\x7a\x75\x62\x68':function(_0x42578a){return _0x42578a();}};try{if(_0xd8c238(0x1c7)!=='\x4c\x66\x69\x4c\x4f'){const {readFileSync:_0x4d64fe}=await import(_0xd8c238(0x266));const {dirname:_0x505730,join:_0x4a191b}=await import(_0xd8c238(0x24f));const {fileURLToPath:_0x4df6d8}=await import(_0x42b468[_0xd8c238(0x1e6)]);const _0x51294c=_0x42b468[_0xd8c238(0x210)](_0x4df6d8,import.meta.url);const _0x5d8ddb=_0x505730(_0x51294c);const _0x586093=_0x42b468[_0xd8c238(0x22b)](_0x4a191b,_0x5d8ddb,_0xd8c238(0x246)+'\x6f\x6e');const _0x22d739=JSON[_0xd8c238(0x20d)](_0x42b468[_0xd8c238(0x22b)](_0x4d64fe,_0x586093,_0xd8c238(0x25f)));const _0x35ac86=parseCliArguments(_0x24e128);if(_0x42b468['\x73\x68\x59\x76\x6e'](_0x35ac86[_0xd8c238(0x1ef)],_0x42b468['\x69\x65\x55\x78\x6e'])){console[_0xd8c238(0x1c5)](_0xd8c238(0x270)+_0xd8c238(0x275)+'\x78\x74');console[_0xd8c238(0x1c5)]('');console[_0xd8c238(0x1c5)](_0xd8c238(0x22f));console[_0xd8c238(0x1c5)]('\x20\x20'+_0x22d739[_0xd8c238(0x1d6)]+_0xd8c238(0x214));console[_0xd8c238(0x1c5)]('');console['\x6c\x6f\x67'](_0xd8c238(0x1d9));console[_0xd8c238(0x1c5)](_0xd8c238(0x223)+_0xd8c238(0x1cc)+'\x2d\x74\x20\x54\x59\x50\x45\x20\x20\x20'+_0xd8c238(0x1fe)+_0xd8c238(0x263)+_0xd8c238(0x273)+_0xd8c238(0x276)+'\x65\x73\x20\x4d\x43\x50\x5f\x54\x52\x41'+_0xd8c238(0x1dc));console[_0xd8c238(0x1c5)](_0x42b468[_0xd8c238(0x24d)]);console['\x6c\x6f\x67']('\x20\x20\x2d\x2d\x70\x6f\x72\x74\x20\x50'+'\x4f\x52\x54\x2c\x20\x2d\x70\x20\x50\x4f'+_0xd8c238(0x204)+_0xd8c238(0x26f)+'\x70\x6f\x72\x74\x20\x66\x6f\x72\x20\x68'+_0xd8c238(0x254)+_0xd8c238(0x1c1)+_0xd8c238(0x25d)+'\x6c\x61\x62\x6c\x65\x20\x69\x66\x20\x6f'+_0xd8c238(0x226));console[_0xd8c238(0x1c5)](_0x42b468[_0xd8c238(0x262)]);console['\x6c\x6f\x67'](_0xd8c238(0x25c)+_0xd8c238(0x1de)+'\x20\x20\x53\x75\x70\x70\x72\x65\x73\x73'+_0xd8c238(0x274)+_0xd8c238(0x1e4)+_0xd8c238(0x22c)+'\x65\x76\x65\x6c\x29');console[_0xd8c238(0x1c5)](_0x42b468[_0xd8c238(0x212)]);console[_0xd8c238(0x1c5)](_0xd8c238(0x1cb)+_0xd8c238(0x249)+_0xd8c238(0x1cd)+_0xd8c238(0x23f)+_0xd8c238(0x253));console[_0xd8c238(0x1c5)]('');console[_0xd8c238(0x1c5)](_0xd8c238(0x228));console[_0xd8c238(0x1c5)]('\x20\x20'+_0x22d739[_0xd8c238(0x1d6)]+(_0xd8c238(0x23d)+_0xd8c238(0x1e7)));console[_0xd8c238(0x1c5)]('\x20\x20'+_0x22d739['\x6e\x61\x6d\x65']+(_0xd8c238(0x23d)+_0xd8c238(0x213)+_0xd8c238(0x1f0)));console[_0xd8c238(0x1c5)]('\x20\x20'+_0x22d739['\x6e\x61\x6d\x65']+(_0xd8c238(0x23d)+_0xd8c238(0x23a)+'\x2d\x6c\x6f\x67\x2d\x6c\x65\x76\x65\x6c'+_0xd8c238(0x207)));console[_0xd8c238(0x1c5)]('\x20\x20'+_0x22d739[_0xd8c238(0x1d6)]+(_0xd8c238(0x23d)+_0xd8c238(0x213)+_0xd8c238(0x256)+_0xd8c238(0x1d2)+'\x72\x6f\x6a\x65\x63\x74\x20\x2d\x2d\x73'+'\x69\x6c\x65\x6e\x74'));console[_0xd8c238(0x1c5)]('');console[_0xd8c238(0x1c5)](_0xd8c238(0x235)+_0xd8c238(0x1e2)+_0xd8c238(0x21f)+_0xd8c238(0x1e8)+_0xd8c238(0x1c8)+'\x29\x3a');console[_0xd8c238(0x1c5)](_0x42b468['\x67\x71\x52\x58\x4e']);console[_0xd8c238(0x1c5)]('\x20\x20\x4c\x4f\x47\x5f\x4c\x45\x56\x45'+_0xd8c238(0x252)+_0xd8c238(0x248)+'\x65\x76\x65\x6c\x3a\x20\x65\x6d\x65\x72'+_0xd8c238(0x23b)+_0xd8c238(0x229)+'\x61\x6c\x2c\x20\x65\x72\x72\x6f\x72\x2c'+_0xd8c238(0x277)+_0xd8c238(0x211)+'\x66\x6f\x2c\x20\x64\x65\x62\x75\x67\x20'+'\x28\x64\x65\x66\x61\x75\x6c\x74\x3a\x20'+_0xd8c238(0x268));console['\x6c\x6f\x67'](_0xd8c238(0x279)+_0xd8c238(0x209)+_0xd8c238(0x1f6)+_0xd8c238(0x208)+'\x75\x65\x2f\x31\x20\x74\x6f\x20\x73\x75'+_0xd8c238(0x1c0)+'\x20\x6f\x75\x74\x70\x75\x74\x20\x28\x64'+_0xd8c238(0x20a)+'\x6c\x73\x65\x29');console['\x6c\x6f\x67'](_0xd8c238(0x202)+_0xd8c238(0x1cf)+_0xd8c238(0x1bd)+_0xd8c238(0x1c6)+_0xd8c238(0x254)+_0xd8c238(0x1c1)+_0xd8c238(0x25d)+'\x6c\x61\x62\x6c\x65\x20\x69\x66\x20\x6f'+'\x63\x63\x75\x70\x69\x65\x64\x2c\x20\x64'+'\x65\x66\x61\x75\x6c\x74\x3a\x20\x33\x30'+_0xd8c238(0x1ed));console[_0xd8c238(0x1c5)](_0xd8c238(0x1d4)+_0xd8c238(0x1d8)+_0xd8c238(0x24e)+_0xd8c238(0x20f)+'\x20\x28\x63\x6f\x6d\x6d\x61\x2d\x73\x65'+_0xd8c238(0x251));process[_0xd8c238(0x20c)](0x0);}if(_0x35ac86[_0xd8c238(0x1ef)]===_0x42b468[_0xd8c238(0x26b)]){console[_0xd8c238(0x1c5)](_0xd8c238(0x270)+_0xd8c238(0x275)+'\x78\x74\x20\x76'+_0x22d739['\x76\x65\x72\x73\x69\x6f\x6e']);process['\x65\x78\x69\x74'](0x0);}let _0x3b96a8;if(_0x35ac86['\x74\x72\x61\x6e\x73\x70\x6f\x72\x74']){_0x3b96a8=_0x35ac86[_0xd8c238(0x1ef)][_0xd8c238(0x259)](/^--/,'')[_0xd8c238(0x1e1)+'\x65']();}else if(process.env.MCP_TRANSPORT){_0x3b96a8=process.env.MCP_TRANSPORT[_0xd8c238(0x1e1)+'\x65']();}else{if(_0xd8c238(0x23e)===_0x42b468['\x4e\x75\x4f\x43\x6e']){_0x42b468[_0xd8c238(0x1db)](setSilent,!![]);}else{_0x3b96a8=_0x42b468[_0xd8c238(0x1f9)];}}if(_0x3b96a8!==_0xd8c238(0x1fd)&&_0x42b468[_0xd8c238(0x272)](_0x3b96a8,_0xd8c238(0x240))){console[_0xd8c238(0x206)](_0x42b468[_0xd8c238(0x1f7)]);console[_0xd8c238(0x206)](_0xd8c238(0x1c2)+_0xd8c238(0x1fc)+'\x20\x7c\x20\x68\x74\x74\x70');console['\x65\x72\x72\x6f\x72']('\x52\x65\x63\x65\x69\x76\x65\x64\x3a\x20'+_0x3b96a8);console[_0xd8c238(0x206)]('\x52\x75\x6e\x20\x22'+_0x22d739['\x6e\x61\x6d\x65']+(_0xd8c238(0x25e)+'\x6f\x72\x20\x6d\x6f\x72\x65\x20\x69\x6e'+_0xd8c238(0x27a)));process[_0xd8c238(0x20c)](0x1);}if(_0x35ac86[_0xd8c238(0x1fb)]){setSilent(!![]);}else if(_0x35ac86['\x6c\x6f\x67\x4c\x65\x76\x65\x6c']){const _0x4b373d=[_0xd8c238(0x231),_0xd8c238(0x237),_0xd8c238(0x1f4),'\x77\x61\x72\x6e\x69\x6e\x67',_0xd8c238(0x206),_0xd8c238(0x1bf),_0x42b468[_0xd8c238(0x239)],_0x42b468[_0xd8c238(0x224)]];const _0x2970ec=_0x35ac86[_0xd8c238(0x21a)][_0xd8c238(0x1e1)+'\x65']();if(_0x4b373d[_0xd8c238(0x260)](_0x2970ec)){process.env.LOG_LEVEL=_0x2970ec;}else{if(_0xd8c238(0x203)!==_0xd8c238(0x203)){_0x21aed5[_0xd8c238(0x206)]('\u274c\x20\x45\x72\x72\x6f\x72\x3a\x20\x49'+'\x6e\x76\x61\x6c\x69\x64\x20\x6c\x6f\x67'+_0xd8c238(0x1ee)+_0x316de6[_0xd8c238(0x21a)]);_0x2a3535[_0xd8c238(0x206)](_0xd8c238(0x1c2)+_0xd8c238(0x23c)+_0x519a48['\x6a\x6f\x69\x6e']('\x2c\x20'));_0x8b256a[_0xd8c238(0x20c)](0x1);}else{console[_0xd8c238(0x206)](_0xd8c238(0x230)+_0xd8c238(0x26e)+'\x20\x6c\x65\x76\x65\x6c\x3a\x20'+_0x35ac86['\x6c\x6f\x67\x4c\x65\x76\x65\x6c']);console[_0xd8c238(0x206)]('\x56\x61\x6c\x69\x64\x20\x6f\x70\x74\x69'+'\x6f\x6e\x73\x3a\x20'+_0x4b373d[_0xd8c238(0x25a)]('\x2c\x20'));process['\x65\x78\x69\x74'](0x1);}}}if(_0x35ac86['\x68\x74\x74\x70\x50\x6f\x72\x74']){if(_0xd8c238(0x1f1)!==_0xd8c238(0x217)){process.env.MCP_HTTP_PORT=_0x35ac86[_0xd8c238(0x241)][_0xd8c238(0x257)]();}else{_0x1a01ac[_0xd8c238(0x206)](_0x42b468[_0xd8c238(0x1f7)]);_0x2f5bba['\x65\x72\x72\x6f\x72'](_0xd8c238(0x1c2)+_0xd8c238(0x1fc)+'\x20\x7c\x20\x68\x74\x74\x70');_0x2bc2fb[_0xd8c238(0x206)](_0xd8c238(0x269)+_0x25fbeb);_0x242c84[_0xd8c238(0x206)](_0xd8c238(0x1e3)+_0x33e99d[_0xd8c238(0x1d6)]+(_0xd8c238(0x25e)+'\x6f\x72\x20\x6d\x6f\x72\x65\x20\x69\x6e'+_0xd8c238(0x27a)));_0x1b6214[_0xd8c238(0x20c)](0x1);}}if(_0x35ac86[_0xd8c238(0x1f8)+_0xd8c238(0x232)]){process.env.WORKSPACE_FOLDER_PATHS=_0x35ac86[_0xd8c238(0x1f8)+_0xd8c238(0x232)];}const {registerGlobalErrorHandlers:registerGlobalErrorHandlers,registerSignalHandlers:registerSignalHandlers}=await import(_0x42b468[_0xd8c238(0x250)]);_0x42b468['\x52\x7a\x75\x62\x68'](registerGlobalErrorHandlers);_0x42b468['\x52\x7a\x75\x62\x68'](registerSignalHandlers);await setupServer(_0x3b96a8);}else{_0x400f23['\x77\x6f\x72\x6b\x73\x70\x61\x63\x65\x50'+_0xd8c238(0x232)]=_0x567ddc[_0x348d66+0x1];_0x445451++;}}catch(_0x5c5dba){const _0x33b69c=createLogger();_0x33b69c[_0xd8c238(0x206)](_0x5c5dba,'\x45\x72\x72\x6f\x72\x20\x73\x74\x61\x72'+_0xd8c238(0x200)+'\x61\x6c\x65\x73\x66\x6f\x72\x63\x65\x20'+'\x43\x6f\x6e\x74\x65\x78\x74\x20\x73\x65'+_0xd8c238(0x225));await mcpServer['\x63\x6c\x6f\x73\x65']();process['\x65\x78\x69\x74'](0x1);}}main(process[a0_0x1e8305(0x1eb)]['\x73\x6c\x69\x63\x65'](0x2));
|
|
1
|
+
const a0_0x5a1582=a0_0x52fd;function a0_0x8732(){const _0x255011=['\x69\x63\x62\x6d\x74\x30\x44\x46\x74\x65\x76\x77\x72\x71','\x42\x67\x76\x59\x44\x63\x57\x47\x79\x33\x6a\x50\x44\x61','\x79\x78\x6a\x4e\x44\x47','\x7a\x4b\x35\x5a\x41\x31\x79','\x43\x33\x62\x48\x79\x32\x75\x47\x43\x67\x66\x30\x41\x61','\x7a\x67\x4c\x56\x69\x67\x39\x59\x69\x67\x48\x30\x44\x61','\x78\x31\x62\x70\x75\x4c\x71\x47\x69\x63\x61\x47\x69\x61','\x7a\x78\x6d\x47\x76\x30\x39\x73\x73\x31\x6e\x71\x71\x71','\x69\x63\x61\x54\x6c\x77\x58\x56\x7a\x59\x31\x53\x7a\x71','\x43\x4e\x71\x53\x69\x67\x6e\x59\x41\x78\x72\x50\x79\x57','\x69\x67\x72\x4c\x79\x4e\x76\x4e','\x41\x77\x35\x4a\x42\x68\x76\x4b\x7a\x78\x6d','\x69\x63\x61\x54\x6c\x78\x62\x56\x43\x4e\x71\x47\x75\x61','\x6a\x33\x6e\x30\x7a\x67\x4c\x56\x6a\x59\x62\x56\x43\x47','\x42\x33\x6a\x4a\x7a\x73\x62\x64\x42\x32\x35\x30\x7a\x71','\x7a\x67\x76\x49\x44\x77\x43','\x42\x32\x35\x5a\x6f\x49\x62\x5a\x44\x67\x72\x50\x42\x57','\x43\x67\x66\x59\x79\x78\x72\x4c\x7a\x63\x4b','\x7a\x66\x7a\x6b\x73\x67\x4b','\x46\x64\x65\x30\x46\x64\x66\x38\x6e\x4e\x57\x58\x6e\x71','\x7a\x77\x76\x50\x77\x75\x71','\x73\x67\x6a\x31\x75\x30\x71','\x6c\x73\x31\x53\x42\x32\x43\x54\x42\x67\x76\x32\x7a\x71','\x69\x63\x61\x47\x69\x63\x61\x47\x76\x68\x6a\x48\x42\x47','\x76\x4b\x44\x49\x43\x67\x75','\x69\x63\x61\x47\x69\x63\x62\x69\x76\x66\x72\x71\x69\x61','\x44\x67\x39\x74\x44\x68\x6a\x50\x42\x4d\x43','\x43\x67\x66\x59\x43\x32\x75','\x72\x78\x48\x48\x42\x78\x62\x53\x7a\x78\x6d\x36','\x44\x63\x62\x30\x45\x78\x62\x4c\x6f\x49\x62\x5a\x44\x61','\x6c\x33\x62\x48\x44\x67\x47\x56\x44\x67\x38\x56\x43\x61','\x42\x67\x39\x4e\x74\x67\x76\x32\x7a\x77\x57','\x43\x32\x58\x50\x79\x32\x75','\x7a\x78\x6a\x59\x42\x33\x69','\x7a\x30\x4c\x4a\x7a\x66\x61','\x6d\x4a\x6a\x38\x6d\x74\x66\x38\x6d\x74\x6e\x38\x6d\x71','\x42\x33\x6a\x30\x69\x66\x72\x7a\x75\x65\x75\x53\x69\x61','\x72\x78\x6a\x59\x42\x33\x69\x47\x43\x33\x72\x48\x43\x47','\x46\x64\x44\x38\x6d\x74\x62\x38\x6f\x68\x57\x30\x46\x61','\x6c\x63\x61\x54\x43\x59\x61\x47\x69\x63\x61\x47\x69\x61','\x69\x67\x58\x4c\x44\x4d\x76\x53\x6f\x49\x61','\x41\x68\x72\x30\x43\x66\x62\x56\x43\x4e\x71','\x43\x33\x62\x53\x41\x78\x71','\x69\x66\x54\x70\x75\x66\x72\x6a\x74\x30\x35\x74\x78\x71','\x43\x4d\x39\x51\x7a\x77\x6e\x30\x69\x63\x30\x54\x43\x57','\x79\x77\x58\x4c\x43\x32\x7a\x56\x43\x4d\x6e\x4c\x69\x61','\x7a\x77\x7a\x48\x44\x77\x58\x30\x6f\x49\x61\x5a\x6d\x61','\x43\x4e\x71\x47\x41\x68\x72\x30\x43\x63\x61\x54\x6c\x71','\x7a\x67\x76\x55\x69\x67\x6a\x35\x69\x65\x6e\x6d\x73\x71','\x75\x4c\x71\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x44\x67\x39\x6d\x42\x33\x44\x4c\x43\x4b\x6e\x48\x43\x57','\x69\x67\x39\x31\x44\x68\x62\x31\x44\x63\x61\x4f\x7a\x61','\x6d\x78\x57\x57\x46\x64\x72\x38\x6d\x33\x57\x59','\x69\x67\x66\x53\x42\x63\x62\x56\x44\x78\x72\x57\x44\x71','\x79\x32\x6e\x31\x43\x67\x4c\x4c\x7a\x63\x57\x47\x7a\x61','\x43\x33\x72\x48\x43\x4e\x72\x5a\x76\x32\x4c\x30\x41\x61','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x41\x77\x35\x4d\x42\x59\x4b','\x43\x67\x66\x59\x43\x32\x76\x6a\x42\x4e\x71','\x76\x4d\x66\x53\x41\x77\x71\x47\x42\x33\x62\x30\x41\x71','\x44\x68\x62\x48\x42\x4b\x6d','\x6d\x4a\x76\x38\x6d\x4a\x62\x38\x6d\x4a\x66\x38\x6d\x47','\x6c\x73\x31\x32\x7a\x78\x6a\x5a\x41\x77\x39\x55','\x44\x67\x4c\x55\x7a\x59\x62\x6a\x71\x4b\x30\x47\x75\x57','\x73\x32\x39\x5a\x42\x4b\x71','\x6e\x64\x65\x5a\x6d\x5a\x4b\x31\x73\x30\x50\x5a\x7a\x76\x7a\x48','\x41\x77\x35\x4d\x42\x59\x57\x47\x7a\x67\x76\x49\x44\x71','\x41\x4d\x39\x50\x42\x47','\x6c\x73\x31\x4f\x7a\x77\x58\x57','\x44\x63\x61\x4f\x42\x33\x7a\x4c\x43\x4e\x6a\x50\x7a\x61','\x43\x59\x61\x4f\x42\x33\x7a\x4c\x43\x4e\x6a\x50\x7a\x61','\x7a\x78\x48\x50\x44\x61','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71','\x6d\x4a\x7a\x38\x6d\x74\x48\x38\x6d\x74\x4c\x38\x6d\x57','\x69\x63\x61\x54\x6c\x78\x6e\x50\x42\x67\x76\x55\x44\x61','\x44\x68\x6a\x48\x42\x4e\x6e\x57\x42\x33\x6a\x30','\x43\x67\x54\x6f\x75\x78\x79','\x45\x68\x71\x47\x44\x47','\x75\x4e\x76\x55\x69\x63\x69','\x6c\x78\x71\x47\x76\x66\x4c\x71\x72\x73\x61\x47\x69\x61','\x44\x63\x62\x54\x42\x32\x72\x4c\x6f\x49\x62\x30\x43\x47','\x79\x78\x72\x4f\x43\x57','\x79\x78\x76\x53\x44\x64\x4f\x47\x43\x33\x72\x4b\x41\x71','\x45\x4c\x48\x50\x7a\x66\x4b','\x69\x63\x62\x74\x41\x67\x39\x33\x69\x68\x7a\x4c\x43\x47','\x43\x4e\x71\x47\x43\x33\x72\x4b\x41\x77\x38','\x69\x63\x48\x4a\x42\x32\x31\x54\x79\x73\x31\x5a\x7a\x71','\x79\x77\x58\x4c\x43\x4e\x71','\x69\x63\x62\x74\x41\x67\x39\x33\x69\x68\x72\x4f\x41\x71','\x74\x33\x62\x30\x41\x77\x39\x55\x43\x5a\x4f','\x43\x32\x76\x59\x44\x4d\x76\x59\x6c\x4d\x50\x5a','\x43\x68\x62\x59\x7a\x78\x6e\x5a\x69\x67\x66\x53\x42\x61','\x6d\x5a\x65\x33\x6e\x5a\x43\x34\x6e\x4d\x35\x76\x76\x78\x72\x68\x42\x61','\x79\x77\x35\x5a\x43\x67\x39\x59\x44\x63\x62\x32\x79\x71','\x69\x66\x6e\x4c\x44\x63\x62\x69\x76\x66\x72\x71\x69\x61','\x6c\x49\x39\x5a\x43\x4d\x6d\x56\x42\x77\x6e\x57\x6c\x71','\x71\x30\x76\x46\x72\x4b\x39\x6d\x72\x65\x76\x73\x78\x57','\x69\x63\x62\x74\x7a\x78\x71\x47\x44\x32\x39\x59\x41\x57','\x43\x33\x62\x56\x43\x4e\x71\x47\x44\x68\x4c\x57\x7a\x71','\x43\x32\x4c\x56\x42\x49\x62\x50\x42\x4d\x7a\x56\x43\x47','\x42\x4d\x4c\x69\x45\x4e\x79','\x6d\x64\x61\x50','\x41\x68\x72\x30\x43\x61','\x43\x49\x57\x47\x44\x32\x66\x59\x42\x4d\x4c\x55\x7a\x57','\x69\x67\x58\x4c\x44\x4d\x76\x53\x6f\x49\x62\x4c\x42\x71','\x45\x4c\x72\x69\x45\x78\x43','\x6c\x73\x31\x57\x42\x33\x6a\x30','\x6d\x74\x43\x33\x6e\x64\x47\x35\x6d\x4b\x6a\x4e\x45\x67\x7a\x78\x71\x57','\x41\x77\x35\x4d\x42\x57','\x79\x32\x6e\x31\x43\x67\x4c\x4c\x7a\x63\x4b','\x69\x68\x44\x48\x43\x4d\x35\x50\x42\x4d\x43\x53\x69\x61','\x74\x63\x61\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x79\x77\x6e\x4c\x69\x66\x62\x62\x76\x65\x48\x74\x6c\x61','\x72\x30\x66\x76\x7a\x78\x43','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x48\x43\x47','\x44\x31\x62\x6d\x75\x78\x47','\x69\x63\x44\x4f\x44\x68\x72\x57\x6a\x57','\x44\x32\x76\x6f\x75\x65\x57','\x6d\x5a\x71\x30\x74\x77\x48\x67\x44\x67\x31\x53','\x41\x77\x58\x4c\x42\x4e\x71','\x42\x4d\x39\x4b\x7a\x74\x50\x31\x43\x4d\x57','\x73\x33\x44\x4b\x77\x75\x57','\x75\x65\x66\x75\x73\x66\x6d\x50','\x42\x33\x69\x47\x42\x77\x39\x59\x7a\x73\x62\x50\x42\x47','\x6d\x4a\x65\x32\x6d\x74\x43\x58\x74\x68\x44\x77\x42\x76\x62\x77','\x42\x67\x39\x4e','\x6e\x64\x79\x58\x6e\x5a\x6d\x30\x42\x78\x44\x6e\x72\x67\x7a\x6a','\x73\x32\x48\x79\x73\x78\x4f','\x6c\x73\x31\x30\x43\x4d\x66\x55\x43\x33\x62\x56\x43\x47','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x75\x61','\x44\x68\x72\x57\x69\x68\x72\x59\x79\x77\x35\x5a\x43\x61','\x74\x4c\x6e\x71\x74\x31\x6a\x75\x6b\x71','\x79\x4b\x72\x66\x73\x4e\x4f','\x6f\x49\x62\x5a\x44\x67\x72\x50\x42\x59\x62\x56\x43\x47','\x41\x77\x6e\x48\x42\x63\x57\x47\x7a\x78\x6a\x59\x42\x57','\x43\x4e\x7a\x4c\x43\x47','\x43\x67\x39\x59\x44\x63\x62\x4d\x42\x33\x69\x47\x41\x61','\x69\x63\x62\x74\x73\x75\x58\x66\x74\x4c\x71\x47\x69\x61','\x42\x77\x66\x30\x41\x77\x39\x55','\x73\x78\x62\x55\x72\x4d\x38','\x7a\x78\x7a\x4c\x42\x64\x4f\x47\x7a\x77\x31\x4c\x43\x47','\x69\x63\x61\x47\x69\x63\x62\x74\x41\x77\x58\x4c\x42\x47','\x44\x77\x75\x56\x6d\x73\x62\x30\x42\x59\x62\x5a\x44\x71','\x6d\x4a\x47\x57\x6e\x4a\x47\x30\x6e\x75\x35\x32\x71\x76\x50\x65\x72\x47','\x79\x33\x6a\x50\x44\x67\x4c\x4a\x79\x77\x57','\x42\x4d\x66\x54\x7a\x71','\x6c\x77\x58\x56\x7a\x59\x31\x53\x7a\x78\x7a\x4c\x42\x61','\x7a\x78\x6d\x47\x6c\x73\x31\x53\x42\x32\x43\x54\x42\x61','\x42\x32\x35\x5a\x6f\x49\x61','\x69\x63\x61\x47\x69\x63\x62\x6d\x42\x32\x43\x47\x42\x61','\x69\x63\x62\x78\x74\x31\x6a\x6c\x75\x31\x62\x62\x71\x57','\x7a\x77\x7a\x48\x44\x77\x58\x30\x6f\x49\x62\x4d\x79\x71','\x43\x32\x4c\x53\x7a\x77\x35\x30','\x69\x63\x62\x75\x43\x4d\x66\x55\x43\x33\x62\x56\x43\x47','\x6d\x4e\x57\x57\x46\x64\x69\x5a\x46\x64\x69\x30\x46\x61','\x72\x77\x35\x32\x41\x78\x6a\x56\x42\x4d\x31\x4c\x42\x47','\x76\x78\x6e\x48\x7a\x32\x75\x36','\x6d\x74\x62\x56\x73\x4b\x6e\x51\x73\x4e\x4b','\x69\x63\x62\x6e\x71\x31\x62\x46\x76\x66\x6a\x62\x74\x47','\x43\x32\x66\x4e\x7a\x71','\x69\x63\x30\x54\x41\x67\x76\x53\x43\x63\x69\x47\x7a\x47','\x43\x59\x62\x4f\x7a\x77\x58\x57\x69\x67\x31\x4c\x43\x57','\x42\x33\x6a\x30\x69\x63\x48\x48\x44\x78\x72\x56\x6c\x71','\x43\x33\x72\x4b\x41\x77\x38','\x42\x4e\x6e\x57\x42\x33\x6a\x30\x69\x68\x7a\x48\x42\x61','\x34\x50\x32\x6d\x69\x65\x76\x59\x43\x4d\x39\x59\x6f\x49\x62\x6a','\x7a\x4d\x4c\x55\x7a\x68\x6d\x47\x79\x78\x7a\x48\x41\x71','\x7a\x32\x76\x55\x79\x33\x4b\x53\x69\x67\x66\x53\x7a\x71','\x7a\x78\x6a\x4e\x7a\x77\x35\x4a\x45\x73\x57\x47\x79\x71','\x44\x4c\x72\x62\x75\x4e\x47','\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x73\x35\x51\x43\x57','\x42\x4d\x39\x4b\x7a\x74\x50\x57\x79\x78\x72\x4f','\x6d\x74\x75\x35\x6d\x74\x47\x5a\x73\x4d\x4c\x4d\x75\x77\x66\x67','\x42\x67\x66\x49\x42\x67\x75\x47\x41\x77\x79\x47\x42\x57','\x44\x4d\x76\x53\x69\x65\x58\x66\x76\x4b\x76\x6d\x6c\x61','\x75\x76\x66\x76\x7a\x32\x79','\x7a\x78\x6d\x47\x74\x75\x6e\x71\x78\x31\x72\x73\x71\x71','\x69\x63\x30\x54\x44\x68\x6a\x48\x42\x4e\x6e\x57\x42\x57','\x42\x49\x57\x47\x6c\x78\x79\x47\x69\x63\x61\x47\x69\x61','\x46\x64\x65\x32\x46\x64\x76\x38\x6d\x74\x44\x38\x6f\x71','\x76\x4b\x6a\x6a\x76\x4e\x4b','\x6c\x77\x47\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x69\x63\x31\x33\x69\x66\x62\x62\x76\x65\x48\x74\x69\x61','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x69\x61','\x69\x63\x61\x54\x6c\x78\x72\x59\x79\x77\x35\x5a\x43\x61','\x69\x63\x61\x47\x75\x32\x76\x30\x69\x67\x58\x56\x7a\x57'];a0_0x8732=function(){return _0x255011;};return a0_0x8732();}function a0_0x52fd(_0x2375f7,_0x42cc30){_0x2375f7=_0x2375f7-0x91;const _0x873218=a0_0x8732();let _0x52fd9a=_0x873218[_0x2375f7];if(a0_0x52fd['\x5a\x55\x54\x74\x4d\x65']===undefined){var _0xc40eb6=function(_0x263dba){const _0x296614='\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 _0x4556ea='';let _0x458e62='';for(let _0x5193b5=0x0,_0x2a1837,_0x5e99b9,_0x57d3d4=0x0;_0x5e99b9=_0x263dba['\x63\x68\x61\x72\x41\x74'](_0x57d3d4++);~_0x5e99b9&&(_0x2a1837=_0x5193b5%0x4?_0x2a1837*0x40+_0x5e99b9:_0x5e99b9,_0x5193b5++%0x4)?_0x4556ea+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x2a1837>>(-0x2*_0x5193b5&0x6)):0x0){_0x5e99b9=_0x296614['\x69\x6e\x64\x65\x78\x4f\x66'](_0x5e99b9);}for(let _0xba9b2c=0x0,_0x2172f6=_0x4556ea['\x6c\x65\x6e\x67\x74\x68'];_0xba9b2c<_0x2172f6;_0xba9b2c++){_0x458e62+='\x25'+('\x30\x30'+_0x4556ea['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0xba9b2c)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x458e62);};a0_0x52fd['\x78\x6f\x77\x76\x49\x41']=_0xc40eb6;a0_0x52fd['\x6a\x4b\x71\x54\x50\x67']={};a0_0x52fd['\x5a\x55\x54\x74\x4d\x65']=!![];}const _0x511014=_0x873218[0x0];const _0x189a8a=_0x2375f7+_0x511014;const _0x43c9b1=a0_0x52fd['\x6a\x4b\x71\x54\x50\x67'][_0x189a8a];if(!_0x43c9b1){_0x52fd9a=a0_0x52fd['\x78\x6f\x77\x76\x49\x41'](_0x52fd9a);a0_0x52fd['\x6a\x4b\x71\x54\x50\x67'][_0x189a8a]=_0x52fd9a;}else{_0x52fd9a=_0x43c9b1;}return _0x52fd9a;}(function(_0x539ad6,_0xd1dd3){const _0x3f3088=a0_0x52fd;const _0x26cee3=_0x539ad6();while(!![]){try{const _0x5db754=-parseInt(_0x3f3088(0xf2))/0x1+-parseInt(_0x3f3088(0x94))/0x2*(-parseInt(_0x3f3088(0x12d))/0x3)+-parseInt(_0x3f3088(0x11c))/0x4+-parseInt(_0x3f3088(0x140))/0x5+parseInt(_0x3f3088(0x10d))/0x6+parseInt(_0x3f3088(0x12f))/0x7+parseInt(_0x3f3088(0x127))/0x8*(parseInt(_0x3f3088(0xa3))/0x9);if(_0x5db754===_0xd1dd3){break;}else{_0x26cee3['push'](_0x26cee3['shift']());}}catch(_0x2022a3){_0x26cee3['push'](_0x26cee3['shift']());}}}(a0_0x8732,0x48bcc));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(_0x5d6c82){const _0x162ddc=a0_0x52fd;const _0x24f639={'\x62\x44\x45\x4a\x7a':function(_0x304934,_0x54aaaa){return _0x304934===_0x54aaaa;},'\x56\x47\x62\x70\x65':function(_0x22bc80,_0x3c93c2){return _0x22bc80===_0x3c93c2;},'\x68\x4e\x47\x66\x69':_0x162ddc(0x131)+'\x74','\x4b\x68\x58\x49\x7a':function(_0x57efda,_0x59a71e){return _0x57efda+_0x59a71e;},'\x66\x4e\x73\x6b\x56':function(_0x5a6b11,_0x2f0a4){return _0x5a6b11===_0x2f0a4;},'\x63\x51\x7a\x6a\x67':function(_0x26f862,_0x3e88a1){return _0x26f862===_0x3e88a1;},'\x65\x65\x69\x59\x44':function(_0x5ceb30,_0x413aa9){return _0x5ceb30===_0x413aa9;},'\x4b\x77\x64\x59\x4c':'\x2d\x2d\x77\x6f\x72\x6b\x73\x70\x61\x63'+'\x65','\x55\x77\x4b\x76\x47':function(_0x24ad17,_0x4f7d79){return _0x24ad17===_0x4f7d79;}};const _0x4786ee={'\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 _0x4d88ef=0x0;_0x4d88ef<_0x5d6c82[_0x162ddc(0xe9)];_0x4d88ef++){const _0x2cdc4f=_0x5d6c82[_0x4d88ef];if(_0x2cdc4f===_0x162ddc(0xf5)||_0x24f639[_0x162ddc(0x135)](_0x2cdc4f,'\x2d\x68')||_0x2cdc4f===_0x162ddc(0xef)||_0x2cdc4f==='\x2d\x76'){if(_0x2cdc4f==='\x2d\x68'){_0x4786ee[_0x162ddc(0xfc)]='\x2d\x2d\x68\x65\x6c\x70';}else if(_0x24f639[_0x162ddc(0xc9)](_0x2cdc4f,'\x2d\x76')){_0x4786ee['\x74\x72\x61\x6e\x73\x70\x6f\x72\x74']=_0x162ddc(0xef);}else{_0x4786ee[_0x162ddc(0xfc)]=_0x2cdc4f;}break;}if((_0x24f639[_0x162ddc(0xc9)](_0x2cdc4f,_0x24f639['\x68\x4e\x47\x66\x69'])||_0x24f639['\x56\x47\x62\x70\x65'](_0x2cdc4f,'\x2d\x74'))&&_0x24f639[_0x162ddc(0x130)](_0x4d88ef,0x1)<_0x5d6c82[_0x162ddc(0xe9)]){const _0x5368a8=_0x5d6c82[_0x4d88ef+0x1];if(_0x24f639[_0x162ddc(0xb4)](_0x5368a8,_0x162ddc(0x9a))||_0x24f639['\x63\x51\x7a\x6a\x67'](_0x5368a8,'\x68\x74\x74\x70')){_0x4786ee[_0x162ddc(0xfc)]='\x2d\x2d'+_0x5368a8;}else{throw new Error('\x49\x6e\x76\x61\x6c\x69\x64\x20\x74\x72'+_0x162ddc(0x10e)+'\x6c\x75\x65\x3a\x20'+_0x5368a8+('\x2e\x20\x4d\x75\x73\x74\x20\x62\x65\x20'+_0x162ddc(0xbe)+_0x162ddc(0x125)));}_0x4d88ef++;}else if((_0x24f639[_0x162ddc(0xc5)](_0x2cdc4f,_0x162ddc(0xc7)+'\x6c')||_0x2cdc4f==='\x2d\x6c')&&_0x4d88ef+0x1<_0x5d6c82['\x6c\x65\x6e\x67\x74\x68']){_0x4786ee[_0x162ddc(0xd0)]=_0x5d6c82[_0x4d88ef+0x1][_0x162ddc(0xe3)+'\x65']();_0x4d88ef++;}else if((_0x24f639['\x62\x44\x45\x4a\x7a'](_0x2cdc4f,_0x162ddc(0x11b))||_0x2cdc4f==='\x2d\x70')&&_0x24f639[_0x162ddc(0x130)](_0x4d88ef,0x1)<_0x5d6c82[_0x162ddc(0xe9)]){_0x4786ee['\x68\x74\x74\x70\x50\x6f\x72\x74']=Number[_0x162ddc(0xeb)](_0x5d6c82[_0x24f639[_0x162ddc(0x130)](_0x4d88ef,0x1)],0xa);_0x4d88ef++;}else if((_0x2cdc4f===_0x24f639[_0x162ddc(0x12a)]||_0x2cdc4f==='\x2d\x77')&&_0x4d88ef+0x1<_0x5d6c82[_0x162ddc(0xe9)]){_0x4786ee[_0x162ddc(0x132)+_0x162ddc(0x102)]=_0x5d6c82[_0x4d88ef+0x1];_0x4d88ef++;}else if(_0x2cdc4f==='\x2d\x2d\x73\x69\x6c\x65\x6e\x74'||_0x24f639['\x55\x77\x4b\x76\x47'](_0x2cdc4f,'\x2d\x73')){_0x4786ee[_0x162ddc(0x149)]=!![];}else if(_0x2cdc4f[_0x162ddc(0xe8)]('\x2d\x2d')||_0x2cdc4f[_0x162ddc(0xe8)]('\x2d')&&_0x2cdc4f[_0x162ddc(0xe9)]===0x2){throw new Error(_0x162ddc(0x123)+'\x67\x75\x6d\x65\x6e\x74\x3a\x20'+_0x2cdc4f);}}return _0x4786ee;}export async function main(_0x871c70){const _0x22d405=a0_0x52fd;const _0x1359e8={'\x52\x64\x48\x4a\x41':'\x6e\x6f\x64\x65\x3a\x66\x73','\x51\x51\x55\x67\x66':function(_0x2b1f5b,_0x6c6a3){return _0x2b1f5b(_0x6c6a3);},'\x7a\x58\x69\x64\x59':function(_0x4dd071,_0x1ccf02){return _0x4dd071===_0x1ccf02;},'\x76\x54\x41\x52\x78':'\x2d\x2d\x68\x65\x6c\x70','\x64\x56\x4a\x48\x69':_0x22d405(0xcd),'\x56\x42\x49\x56\x79':'\x20\x20\x4d\x43\x50\x5f\x48\x54\x54\x50'+_0x22d405(0xb7)+_0x22d405(0xca)+'\x70\x6f\x72\x74\x20\x66\x6f\x72\x20\x68'+'\x74\x74\x70\x20\x74\x72\x61\x6e\x73\x70'+_0x22d405(0x99)+_0x22d405(0x9d)+_0x22d405(0xa4)+_0x22d405(0xe7)+_0x22d405(0xdf)+_0x22d405(0x116),'\x7a\x6d\x69\x6f\x65':'\x20\x20\x2d\x2d\x68\x65\x6c\x70\x2c\x20'+_0x22d405(0xac)+_0x22d405(0x109)+_0x22d405(0x98)+_0x22d405(0x96),'\x77\x50\x4c\x51\x78':_0x22d405(0xbd)+'\x4f\x52\x54\x2c\x20\x2d\x70\x20\x50\x4f'+_0x22d405(0xe2)+_0x22d405(0x10f)+_0x22d405(0x139)+_0x22d405(0x133)+_0x22d405(0x99)+_0x22d405(0x9d)+_0x22d405(0xa4)+_0x22d405(0x11e),'\x77\x65\x4e\x50\x4c':'\x4f\x4c\x77\x59\x45','\x7a\x54\x48\x79\x77':function(_0x2e8b86,_0x5c13bc){return _0x2e8b86!==_0x5c13bc;},'\x49\x70\x6e\x46\x6f':_0x22d405(0x122),'\x74\x70\x61\x6e\x43':_0x22d405(0x9a),'\x6e\x69\x48\x7a\x76':function(_0x3407f9,_0x427530){return _0x3407f9!==_0x427530;},'\x4b\x6f\x73\x6e\x44':_0x22d405(0x117),'\x67\x49\x63\x64\x50':_0x22d405(0x108),'\x58\x59\x4d\x78\x6d':'\x65\x6d\x65\x72\x67\x65\x6e\x63\x79','\x48\x62\x75\x53\x44':function(_0x54ec1d){return _0x54ec1d();}};try{const {readFileSync:_0x36e458}=await import(_0x1359e8['\x52\x64\x48\x4a\x41']);const {dirname:_0x13fcf5,join:_0x2daede}=await import(_0x22d405(0xa2));const {fileURLToPath:_0x2c7097}=await import(_0x22d405(0x129));const _0x1b8ca0=_0x2c7097(import.meta.url);const _0x89f250=_0x13fcf5(_0x1b8ca0);const _0x2942ea=_0x2daede(_0x89f250,_0x22d405(0xa1)+'\x6f\x6e');const _0x551ac4=JSON[_0x22d405(0xcc)](_0x36e458(_0x2942ea,'\x75\x74\x66\x38'));const _0x1b63a2=_0x1359e8[_0x22d405(0xa6)](parseCliArguments,_0x871c70);if(_0x1359e8[_0x22d405(0x104)](_0x1b63a2[_0x22d405(0xfc)],_0x1359e8[_0x22d405(0xa0)])){const _0x59aca6=(_0x22d405(0xd4)+_0x22d405(0x91)+_0x22d405(0xee)+_0x22d405(0xd7)+_0x22d405(0xfa)+_0x22d405(0xc4)+_0x22d405(0xaa))[_0x22d405(0xdb)]('\x7c');let _0x3826fd=0x0;while(!![]){switch(_0x59aca6[_0x3826fd++]){case'\x30':console[_0x22d405(0x12e)]('');continue;case'\x31':console[_0x22d405(0x12e)](_0x22d405(0x92)+'\x74\x20\x56\x61\x72\x69\x61\x62\x6c\x65'+'\x73\x20\x28\x6f\x76\x65\x72\x72\x69\x64'+_0x22d405(0xe1)+'\x20\x61\x72\x67\x75\x6d\x65\x6e\x74\x73'+'\x29\x3a');continue;case'\x32':console[_0x22d405(0x12e)](_0x22d405(0xfb)+_0x22d405(0xd8)+'\x20\x20\x53\x75\x70\x70\x72\x65\x73\x73'+_0x22d405(0xe6)+_0x22d405(0xf6)+_0x22d405(0x144)+'\x65\x76\x65\x6c\x29');continue;case'\x33':console['\x6c\x6f\x67']('\x20\x20'+_0x551ac4[_0x22d405(0x142)]+(_0x22d405(0xa8)+_0x22d405(0xe0)+_0x22d405(0xae)+_0x22d405(0xcf)+_0x22d405(0xdd)+_0x22d405(0x128)));continue;case'\x34':console[_0x22d405(0x12e)](_0x1359e8[_0x22d405(0xc3)]);continue;case'\x35':console['\x6c\x6f\x67'](_0x1359e8[_0x22d405(0xab)]);continue;case'\x36':console[_0x22d405(0x12e)](_0x22d405(0x95)+'\x53\x50\x4f\x52\x54\x20\x20\x20\x20\x20'+_0x22d405(0xc8)+_0x22d405(0x113)+_0x22d405(0x136)+'\x20\x68\x74\x74\x70\x20\x28\x64\x65\x66'+_0x22d405(0x103)+'\x6f\x29');continue;case'\x37':console[_0x22d405(0x12e)](_0x1359e8['\x7a\x6d\x69\x6f\x65']);continue;case'\x38':console[_0x22d405(0x12e)]('');continue;case'\x39':process['\x65\x78\x69\x74'](0x0);continue;case'\x31\x30':console[_0x22d405(0x12e)]('\x20\x20\x2d\x2d\x76\x65\x72\x73\x69\x6f'+_0x22d405(0xa9)+_0x22d405(0x105)+_0x22d405(0x114)+_0x22d405(0x13b));continue;case'\x31\x31':console[_0x22d405(0x12e)]('');continue;case'\x31\x32':console[_0x22d405(0x12e)]('\x20\x20'+_0x551ac4[_0x22d405(0x142)]+_0x22d405(0xdc));continue;case'\x31\x33':console[_0x22d405(0x12e)](_0x22d405(0x93));continue;case'\x31\x34':console[_0x22d405(0x12e)]('');continue;case'\x31\x35':console[_0x22d405(0x12e)](_0x22d405(0xb1)+_0x22d405(0x120)+_0x22d405(0x146)+_0x22d405(0x13d)+_0x22d405(0x9e)+_0x22d405(0xba)+'\x61\x6c\x2c\x20\x65\x72\x72\x6f\x72\x2c'+_0x22d405(0x11f)+'\x6e\x6f\x74\x69\x63\x65\x2c\x20\x69\x6e'+'\x66\x6f\x2c\x20\x64\x65\x62\x75\x67\x20'+'\x28\x64\x65\x66\x61\x75\x6c\x74\x3a\x20'+_0x22d405(0xea));continue;case'\x31\x36':console['\x6c\x6f\x67'](_0x22d405(0x13a)+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x22d405(0x13e)+_0x22d405(0x101)+_0x22d405(0x13f)+_0x22d405(0x10c)+_0x22d405(0xe4)+_0x22d405(0x148)+'\x6c\x73\x65\x29');continue;case'\x31\x37':console[_0x22d405(0x12e)](_0x22d405(0x147)+'\x45\x5f\x46\x4f\x4c\x44\x45\x52\x5f\x50'+'\x41\x54\x48\x53\x20\x57\x6f\x72\x6b\x73'+'\x70\x61\x63\x65\x20\x70\x61\x74\x68\x73'+_0x22d405(0x107)+_0x22d405(0xc2));continue;case'\x31\x38':console[_0x22d405(0x12e)]('\x20\x20'+_0x551ac4[_0x22d405(0x142)]+('\x20\x2d\x2d\x74\x72\x61\x6e\x73\x70\x6f'+_0x22d405(0xe0)+'\x70\x6f\x72\x74\x20\x38\x30\x38\x30'));continue;case'\x31\x39':console[_0x22d405(0x12e)]('\x20\x20'+_0x551ac4[_0x22d405(0x142)]+(_0x22d405(0xa8)+'\x72\x74\x20\x73\x74\x64\x69\x6f\x20\x2d'+_0x22d405(0x143)+_0x22d405(0xbb)));continue;case'\x32\x30':console['\x6c\x6f\x67'](_0x1359e8[_0x22d405(0x124)]);continue;case'\x32\x31':console[_0x22d405(0x12e)]('\x20\x20\x2d\x2d\x77\x6f\x72\x6b\x73\x70'+_0x22d405(0x121)+_0x22d405(0xad)+_0x22d405(0x112)+_0x22d405(0xb5)+_0x22d405(0xf7)+_0x22d405(0xb8)+_0x22d405(0x111)+_0x22d405(0x12b));continue;case'\x32\x32':console[_0x22d405(0x12e)]('\x49\x42\x4d\x20\x53\x61\x6c\x65\x73\x66'+_0x22d405(0xbf)+'\x78\x74');continue;case'\x32\x33':console[_0x22d405(0x12e)](_0x22d405(0x10a));continue;case'\x32\x34':console[_0x22d405(0x12e)](_0x22d405(0xaf)+_0x22d405(0xd5)+_0x22d405(0x100)+_0x22d405(0x14a)+_0x22d405(0xce)+_0x22d405(0xb6)+'\x70\x20\x28\x6f\x76\x65\x72\x72\x69\x64'+_0x22d405(0xa7)+_0x22d405(0x134));continue;case'\x32\x35':console[_0x22d405(0x12e)](_0x22d405(0xb9)+_0x22d405(0xa5)+'\x20\x2d\x6c\x20\x4c\x45\x56\x45\x4c\x20'+_0x22d405(0xb0)+_0x22d405(0x119)+_0x22d405(0x9f)+_0x22d405(0xb2)+_0x22d405(0x137)+_0x22d405(0x118)+'\x2c\x20\x6e\x6f\x74\x69\x63\x65\x2c\x20'+_0x22d405(0xf3)+'\x67');continue;case'\x32\x36':console[_0x22d405(0x12e)]('\x20\x20'+_0x551ac4[_0x22d405(0x142)]+(_0x22d405(0xa8)+_0x22d405(0x106)));continue;}break;}}if(_0x1b63a2[_0x22d405(0xfc)]===_0x22d405(0xef)){console['\x6c\x6f\x67']('\x49\x42\x4d\x20\x53\x61\x6c\x65\x73\x66'+_0x22d405(0xbf)+_0x22d405(0xfe)+_0x551ac4['\x76\x65\x72\x73\x69\x6f\x6e']);process[_0x22d405(0xf8)](0x0);}let _0x35e4a5;if(_0x1b63a2[_0x22d405(0xfc)]){if(_0x1359e8[_0x22d405(0x126)]==='\x62\x65\x6f\x59\x46'){_0x2c125b=_0x5b68cc.env.MCP_TRANSPORT['\x74\x6f\x4c\x6f\x77\x65\x72\x43\x61\x73'+'\x65']();}else{_0x35e4a5=_0x1b63a2[_0x22d405(0xfc)][_0x22d405(0xf9)](/^--/,'')[_0x22d405(0xe3)+'\x65']();}}else if(process.env.MCP_TRANSPORT){if(_0x1359e8[_0x22d405(0x11a)](_0x1359e8[_0x22d405(0x13c)],_0x22d405(0xfd))){_0x35e4a5=process.env.MCP_TRANSPORT['\x74\x6f\x4c\x6f\x77\x65\x72\x43\x61\x73'+'\x65']();}else{_0x5b9d67[_0x22d405(0xd0)]=_0x20863e[_0x461b75+0x1][_0x22d405(0xe3)+'\x65']();_0x5a9363++;}}else{_0x35e4a5=_0x22d405(0x9a);}if(_0x35e4a5!==_0x1359e8[_0x22d405(0xed)]&&_0x1359e8[_0x22d405(0x115)](_0x35e4a5,_0x1359e8[_0x22d405(0xf1)])){const _0x191c79=_0x22d405(0xe5)[_0x22d405(0xdb)]('\x7c');let _0x375a7f=0x0;while(!![]){switch(_0x191c79[_0x375a7f++]){case'\x30':console[_0x22d405(0xd2)](_0x22d405(0xec)+_0x22d405(0xc1)+'\x20\x7c\x20\x68\x74\x74\x70');continue;case'\x31':console[_0x22d405(0xd2)](_0x22d405(0x9c)+'\x6e\x76\x61\x6c\x69\x64\x20\x74\x72\x61'+_0x22d405(0x9b)+'\x75\x65');continue;case'\x32':process['\x65\x78\x69\x74'](0x1);continue;case'\x33':console[_0x22d405(0xd2)](_0x22d405(0xff)+_0x551ac4[_0x22d405(0x142)]+(_0x22d405(0x97)+_0x22d405(0x12c)+'\x66\x6f\x72\x6d\x61\x74\x69\x6f\x6e'));continue;case'\x34':console[_0x22d405(0xd2)]('\x52\x65\x63\x65\x69\x76\x65\x64\x3a\x20'+_0x35e4a5);continue;}break;}}if(_0x1b63a2[_0x22d405(0x149)]){setSilent(!![]);}else if(_0x1b63a2['\x6c\x6f\x67\x4c\x65\x76\x65\x6c']){const _0x1079c0=[_0x22d405(0xc0),_0x22d405(0x11d),'\x6e\x6f\x74\x69\x63\x65','\x77\x61\x72\x6e\x69\x6e\x67',_0x22d405(0xd2),_0x22d405(0x141),_0x1359e8[_0x22d405(0xd3)],_0x1359e8['\x58\x59\x4d\x78\x6d']];const _0x111520=_0x1b63a2[_0x22d405(0xd0)]['\x74\x6f\x4c\x6f\x77\x65\x72\x43\x61\x73'+'\x65']();if(_0x1079c0[_0x22d405(0xbc)](_0x111520)){process.env.LOG_LEVEL=_0x111520;}else{console['\x65\x72\x72\x6f\x72'](_0x22d405(0x9c)+'\x6e\x76\x61\x6c\x69\x64\x20\x6c\x6f\x67'+_0x22d405(0xd9)+_0x1b63a2[_0x22d405(0xd0)]);console[_0x22d405(0xd2)](_0x22d405(0xec)+_0x22d405(0x145)+_0x1079c0[_0x22d405(0xf4)]('\x2c\x20'));process[_0x22d405(0xf8)](0x1);}}if(_0x1b63a2[_0x22d405(0xda)]){process.env.MCP_HTTP_PORT=_0x1b63a2['\x68\x74\x74\x70\x50\x6f\x72\x74'][_0x22d405(0xcb)]();}if(_0x1b63a2[_0x22d405(0x132)+_0x22d405(0x102)]){process.env.WORKSPACE_FOLDER_PATHS=_0x1b63a2[_0x22d405(0x132)+_0x22d405(0x102)];}const {registerGlobalErrorHandlers:registerGlobalErrorHandlers,registerSignalHandlers:registerSignalHandlers}=await import(_0x22d405(0x110)+_0x22d405(0x10b));registerGlobalErrorHandlers();_0x1359e8[_0x22d405(0xc6)](registerSignalHandlers);await _0x1359e8[_0x22d405(0xa6)](setupServer,_0x35e4a5);}catch(_0x21b49e){const _0x55b060=createLogger();_0x55b060[_0x22d405(0xd2)](_0x21b49e,_0x22d405(0xd6)+_0x22d405(0xf0)+_0x22d405(0xde)+'\x43\x6f\x6e\x74\x65\x78\x74\x20\x73\x65'+_0x22d405(0x138));await mcpServer['\x63\x6c\x6f\x73\x65']();process['\x65\x78\x69\x74'](0x1);}}main(process[a0_0x5a1582(0xb3)][a0_0x5a1582(0xd1)](0x2));
|
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x3ab345=a0_0x51db;function a0_0x51db(_0x12b68d,_0x369c36){_0x12b68d=_0x12b68d-0x187;const _0x1580b6=a0_0x1580();let _0x51dbe5=_0x1580b6[_0x12b68d];if(a0_0x51db['\x66\x46\x6d\x4c\x76\x43']===undefined){var _0x12e88f=function(_0x418d3b){const _0xdb652b='\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 _0x4345cc='';let _0x244d78='';for(let _0x3fbee7=0x0,_0x1ce0fe,_0x46911e,_0x3d8424=0x0;_0x46911e=_0x418d3b['\x63\x68\x61\x72\x41\x74'](_0x3d8424++);~_0x46911e&&(_0x1ce0fe=_0x3fbee7%0x4?_0x1ce0fe*0x40+_0x46911e:_0x46911e,_0x3fbee7++%0x4)?_0x4345cc+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x1ce0fe>>(-0x2*_0x3fbee7&0x6)):0x0){_0x46911e=_0xdb652b['\x69\x6e\x64\x65\x78\x4f\x66'](_0x46911e);}for(let _0x3b78c0=0x0,_0x403881=_0x4345cc['\x6c\x65\x6e\x67\x74\x68'];_0x3b78c0<_0x403881;_0x3b78c0++){_0x244d78+='\x25'+('\x30\x30'+_0x4345cc['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x3b78c0)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x244d78);};a0_0x51db['\x6e\x4e\x42\x4c\x6a\x74']=_0x12e88f;a0_0x51db['\x5a\x73\x42\x56\x52\x48']={};a0_0x51db['\x66\x46\x6d\x4c\x76\x43']=!![];}const _0x3b819f=_0x1580b6[0x0];const _0x213635=_0x12b68d+_0x3b819f;const _0x2b50b0=a0_0x51db['\x5a\x73\x42\x56\x52\x48'][_0x213635];if(!_0x2b50b0){_0x51dbe5=a0_0x51db['\x6e\x4e\x42\x4c\x6a\x74'](_0x51dbe5);a0_0x51db['\x5a\x73\x42\x56\x52\x48'][_0x213635]=_0x51dbe5;}else{_0x51dbe5=_0x2b50b0;}return _0x51dbe5;}(function(_0x55f84d,_0x302abd){const _0x584019=a0_0x51db;const _0x2a3780=_0x55f84d();while(!![]){try{const _0x49ec68=-parseInt(_0x584019(0x1ad))/0x1*(-parseInt(_0x584019(0x1a2))/0x2)+-parseInt(_0x584019(0x1a0))/0x3+parseInt(_0x584019(0x18a))/0x4*(parseInt(_0x584019(0x18e))/0x5)+-parseInt(_0x584019(0x1a9))/0x6*(-parseInt(_0x584019(0x193))/0x7)+-parseInt(_0x584019(0x1ba))/0x8*(parseInt(_0x584019(0x1ab))/0x9)+parseInt(_0x584019(0x199))/0xa+parseInt(_0x584019(0x1b0))/0xb*(-parseInt(_0x584019(0x18d))/0xc);if(_0x49ec68===_0x302abd){break;}else{_0x2a3780['push'](_0x2a3780['shift']());}}catch(_0x5d91dd){_0x2a3780['push'](_0x2a3780['shift']());}}}(a0_0x1580,0x83759));function a0_0x1580(){const _0x4c0a4c=['\x74\x66\x6e\x6f\x79\x4e\x4f','\x79\x32\x4c\x30\x79\x78\x72\x50\x42\x32\x34','\x6e\x4a\x43\x57\x6f\x74\x43\x33\x6d\x65\x7a\x4d\x71\x4c\x76\x67\x76\x47','\x79\x77\x31\x4c','\x41\x77\x35\x50\x44\x67\x4c\x48\x42\x67\x4c\x36\x7a\x71','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x5a','\x76\x4d\x4c\x5a\x44\x77\x66\x53\x69\x66\x6e\x30\x44\x71','\x43\x68\x4c\x5a\x72\x30\x69','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x6e\x4a\x75\x5a\x6f\x74\x4b\x30\x77\x4d\x6a\x55\x72\x75\x4c\x4d','\x75\x76\x66\x6d\x44\x30\x30','\x6f\x64\x43\x30\x6f\x74\x65\x30\x73\x32\x44\x4a\x75\x4b\x66\x76','\x7a\x78\x44\x73\x76\x76\x61','\x43\x4d\x39\x56\x44\x68\x6d','\x7a\x78\x6a\x5a\x41\x77\x39\x55','\x42\x67\x39\x4e\x7a\x32\x4c\x55\x7a\x57','\x44\x65\x31\x6c\x73\x4e\x4f','\x7a\x67\x4c\x5a\x79\x77\x6a\x53\x7a\x75\x76\x53\x41\x71','\x6e\x64\x65\x59\x6e\x4a\x79\x59\x77\x76\x76\x67\x42\x68\x72\x33','\x71\x33\x76\x59\x43\x32\x39\x59','\x6f\x64\x61\x31\x6f\x74\x69\x59\x6d\x75\x48\x74\x77\x4d\x44\x6e\x44\x61','\x7a\x67\x4c\x56\x69\x65\x6e\x56\x7a\x67\x75\x47\x6c\x71','\x6d\x76\x62\x78\x43\x65\x6e\x4b\x7a\x61','\x41\x32\x76\x35\x43\x57','\x43\x33\x76\x57\x43\x67\x39\x59\x44\x68\x6e\x64\x79\x71','\x6f\x64\x69\x31\x41\x4b\x7a\x75\x44\x30\x31\x4f','\x7a\x32\x76\x30\x71\x32\x58\x50\x7a\x77\x35\x30\x76\x47','\x43\x32\x39\x54\x7a\x71','\x41\x77\x35\x52\x43\x57','\x41\x78\x6e\x62\x43\x4e\x6a\x48\x45\x71','\x43\x68\x6a\x56\x44\x67\x39\x4a\x42\x32\x58\x77\x7a\x71','\x74\x33\x76\x34\x7a\x68\x61','\x74\x77\x4c\x64\x43\x4d\x39\x5a\x79\x32\x39\x71\x7a\x71','\x42\x32\x6a\x51\x7a\x77\x6e\x30','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x6f\x66\x66\x41\x73\x33\x48\x30\x41\x57','\x7a\x67\x4c\x56\x69\x65\x6e\x56\x7a\x67\x75','\x44\x33\x44\x4a\x72\x65\x75','\x43\x32\x39\x31\x43\x4d\x6e\x4c\x43\x57','\x6d\x73\x34\x58\x6d\x64\x6d\x55\x6d\x61','\x71\x30\x35\x65\x43\x32\x34','\x69\x65\x4c\x55\x43\x32\x4c\x4b\x7a\x78\x6a\x5a','\x7a\x32\x76\x30\x71\x32\x58\x50\x7a\x77\x35\x30\x74\x47','\x79\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x41\x71','\x79\x32\x58\x50\x7a\x77\x35\x30\x73\x77\x35\x4d\x42\x57','\x77\x68\x50\x72\x41\x4e\x47','\x6e\x66\x50\x5a\x44\x32\x76\x41\x77\x71','\x7a\x4d\x39\x59\x42\x71','\x44\x77\x35\x52\x42\x4d\x39\x33\x42\x47','\x6e\x4a\x65\x34\x6d\x66\x72\x51\x45\x77\x6a\x35\x71\x57','\x6f\x64\x71\x33\x6d\x4a\x79\x31\x41\x66\x50\x30\x7a\x33\x50\x69','\x43\x67\x66\x49\x41\x77\x58\x50\x44\x68\x4b','\x43\x4e\x6e\x50\x42\x32\x34','\x76\x31\x44\x4f\x45\x4e\x65','\x44\x67\x39\x6d\x42\x33\x44\x4c\x43\x4b\x6e\x48\x43\x57','\x6e\x64\x6a\x59\x41\x67\x39\x4e\x41\x65\x6d','\x42\x4d\x66\x54\x7a\x71','\x44\x65\x66\x68\x75\x32\x53','\x74\x77\x48\x73\x71\x77\x30'];a0_0x1580=function(){return _0x4c0a4c;};return a0_0x1580();}import a0_0x239515 from'\x73\x65\x6d\x76\x65\x72';import a0_0x4818ed from'\x2e\x2f\x63\x6f\x6e\x66\x69\x67\x2e\x6a\x73';class Client{['\x63\x6c\x69\x65\x6e\x74\x49\x6e\x66\x6f'];[a0_0x3ab345(0x187)+'\x65\x73'];['\x70\x72\x6f\x74\x6f\x63\x6f\x6c\x56\x65'+a0_0x3ab345(0x190)];[a0_0x3ab345(0x1a4)]={};constructor(){const _0x4cfa7f=a0_0x51db;const _0x38c02c={'\x58\x7a\x51\x6a\x78':_0x4cfa7f(0x18c)};this[_0x4cfa7f(0x188)]={'\x6e\x61\x6d\x65':_0x38c02c[_0x4cfa7f(0x189)]};this[_0x4cfa7f(0x187)+'\x65\x73']={};this['\x70\x72\x6f\x74\x6f\x63\x6f\x6c\x56\x65'+_0x4cfa7f(0x190)]='';}[a0_0x3ab345(0x19b)](_0x2c3e07={}){const _0x31960e=a0_0x51db;this[_0x31960e(0x188)]=_0x2c3e07?.[_0x31960e(0x188)]||{'\x6e\x61\x6d\x65':'\x75\x6e\x6b\x6e\x6f\x77\x6e'};this['\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69'+'\x65\x73']=_0x2c3e07?.[_0x31960e(0x187)+'\x65\x73']||{};this[_0x31960e(0x1b5)+_0x31960e(0x190)]=_0x2c3e07?.[_0x31960e(0x1b5)+'\x72\x73\x69\x6f\x6e']||'';}['\x67\x65\x74\x43\x6c\x69\x65\x6e\x74\x4e'+a0_0x3ab345(0x19a)](){const _0x2fe3f1=a0_0x51db;const _0x1d9e6e={'\x4f\x75\x78\x64\x70':'\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75'+_0x2fe3f1(0x1bb)};const _0x2566bd=this[_0x2fe3f1(0x188)]?.[_0x2fe3f1(0x194)]||_0x2fe3f1(0x18c);const _0x3506ad={'\x63\x75\x72\x73\x6f\x72\x2d\x76\x73\x63\x6f\x64\x65':_0x2fe3f1(0x1aa),'\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75\x64\x69\x6f\x20\x43\x6f\x64\x65':_0x1d9e6e[_0x2fe3f1(0x1b6)],'\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':_0x2fe3f1(0x19d)+_0x2fe3f1(0x1ac)+_0x2fe3f1(0x1c0),'\x6d\x69\x63\x72\x6f\x73\x63\x6f\x70\x65':_0x2fe3f1(0x1b7)};return _0x3506ad[_0x2566bd]||_0x2566bd;}[a0_0x3ab345(0x1b1)+a0_0x3ab345(0x1a5)](){const _0x1e979a=a0_0x51db;return this[_0x1e979a(0x188)]?.[_0x1e979a(0x1b9)];}['\x69\x73'](_0x84a923){const _0x3c2fc1=a0_0x51db;const _0x11f23f={'\x70\x79\x73\x47\x42':function(_0x509152,_0xbfb9f){return _0x509152!==_0xbfb9f;},'\x43\x4e\x44\x73\x6e':_0x3c2fc1(0x195)};if(!Array[_0x3c2fc1(0x1b4)](_0x84a923)){if(_0x11f23f[_0x3c2fc1(0x19e)](_0x11f23f[_0x3c2fc1(0x1bf)],_0x11f23f[_0x3c2fc1(0x1bf)])){return![];}else{_0x84a923=[_0x84a923];}}const _0x10ce93=this[_0x3c2fc1(0x1c1)+_0x3c2fc1(0x19a)]()[_0x3c2fc1(0x192)+'\x65']();return _0x84a923[_0x3c2fc1(0x1b2)](_0xbd4f96=>_0x10ce93['\x69\x6e\x63\x6c\x75\x64\x65\x73'](_0xbd4f96[_0x3c2fc1(0x192)+'\x65']()));}[a0_0x3ab345(0x1af)+a0_0x3ab345(0x18f)](_0x317f79){const _0x5e96a6=a0_0x51db;const _0x282710={'\x51\x51\x4c\x77\x4d':_0x5e96a6(0x1a6),'\x77\x77\x63\x44\x45':_0x5e96a6(0x19d)+_0x5e96a6(0x1bb),'\x46\x79\x75\x72\x73':'\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75'+_0x5e96a6(0x1ac)+_0x5e96a6(0x1c0),'\x4d\x68\x52\x41\x6d':'\x72\x65\x73\x6f\x75\x72\x63\x65\x5f\x6c'+_0x5e96a6(0x1b3),'\x4c\x53\x4e\x62\x7a':_0x5e96a6(0x1be),'\x57\x57\x68\x7a\x71':function(_0xe6142d,_0x4b0fcc){return _0xe6142d===_0x4b0fcc;},'\x74\x4d\x4b\x4a\x7a':_0x5e96a6(0x1b8),'\x65\x77\x52\x55\x50':function(_0x3df22e,_0x341e4c){return _0x3df22e(_0x341e4c);}};switch(_0x317f79){case _0x282710[_0x5e96a6(0x1a1)]:return Boolean(this[_0x5e96a6(0x187)+'\x65\x73']?.['\x6c\x6f\x67\x67\x69\x6e\x67'])||this['\x69\x73']([_0x5e96a6(0x19d)+'\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'+_0x5e96a6(0x1c0)]);case _0x5e96a6(0x19c):return Boolean(this[_0x5e96a6(0x187)+'\x65\x73']?.[_0x317f79])||this['\x69\x73']([_0x5e96a6(0x19d)+_0x5e96a6(0x1bb),'\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75'+_0x5e96a6(0x1ac)+_0x5e96a6(0x1c0),_0x5e96a6(0x1aa)]);case'\x65\x6d\x62\x65\x64\x64\x65\x64\x52\x65'+_0x5e96a6(0x1bd):return this['\x69\x73']([_0x282710[_0x5e96a6(0x1bc)],_0x282710['\x46\x79\x75\x72\x73'],'\x43\x75\x72\x73\x6f\x72']);case _0x282710[_0x5e96a6(0x196)]:return this['\x69\x73'](['\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75'+_0x5e96a6(0x1bb),_0x5e96a6(0x19d)+'\x64\x69\x6f\x20\x43\x6f\x64\x65\x20\x2d'+_0x5e96a6(0x1c0)])&&a0_0x239515['\x67\x74\x65'](this[_0x5e96a6(0x188)][_0x5e96a6(0x1b9)],_0x282710[_0x5e96a6(0x197)]);case'\x65\x6c\x69\x63\x69\x74\x61\x74\x69\x6f'+'\x6e':{if(a0_0x4818ed[_0x5e96a6(0x1a8)+_0x5e96a6(0x198)]){return![];}const _0x504d02=this[_0x5e96a6(0x187)+'\x65\x73']?.[_0x317f79];if(!_0x504d02){return![];}if(_0x282710[_0x5e96a6(0x191)](typeof _0x504d02,_0x282710[_0x5e96a6(0x1a7)])){return Object[_0x5e96a6(0x1ae)](_0x504d02)[_0x5e96a6(0x19f)]===0x0||Boolean(_0x504d02[_0x5e96a6(0x18b)]);}return Boolean(_0x504d02);}default:return _0x282710[_0x5e96a6(0x1a3)](Boolean,this[_0x5e96a6(0x187)+'\x65\x73']?.[_0x317f79]);}}}const client=new Client();export default client;
|
|
1
|
+
const a0_0x41eb4b=a0_0x583a;(function(_0xf1e05b,_0xc87898){const _0x443910=a0_0x583a;const _0x216271=_0xf1e05b();while(!![]){try{const _0x29d610=-parseInt(_0x443910(0x8b))/0x1*(parseInt(_0x443910(0x8e))/0x2)+-parseInt(_0x443910(0x7f))/0x3*(-parseInt(_0x443910(0x95))/0x4)+parseInt(_0x443910(0x9b))/0x5*(parseInt(_0x443910(0x86))/0x6)+-parseInt(_0x443910(0x74))/0x7*(parseInt(_0x443910(0xa7))/0x8)+-parseInt(_0x443910(0x98))/0x9*(-parseInt(_0x443910(0x71))/0xa)+-parseInt(_0x443910(0x97))/0xb+parseInt(_0x443910(0x79))/0xc;if(_0x29d610===_0xc87898){break;}else{_0x216271['push'](_0x216271['shift']());}}catch(_0x3acc55){_0x216271['push'](_0x216271['shift']());}}}(a0_0x4c1b,0xb2cc9));import a0_0x397f61 from'\x73\x65\x6d\x76\x65\x72';function a0_0x4c1b(){const _0x301b8f=['\x71\x33\x76\x59\x43\x32\x39\x59','\x7a\x67\x4c\x56\x69\x65\x6e\x56\x7a\x67\x75\x47\x6c\x71','\x6d\x31\x6a\x79\x75\x30\x31\x34\x43\x47','\x72\x4b\x66\x32\x72\x4d\x6d','\x74\x66\x48\x67\x42\x4d\x57','\x7a\x67\x4c\x56\x69\x65\x6e\x56\x7a\x67\x75','\x43\x32\x39\x54\x7a\x71','\x7a\x4d\x76\x78\x75\x77\x79','\x43\x68\x6a\x56\x44\x67\x39\x4a\x42\x32\x58\x77\x7a\x71','\x6e\x4e\x6a\x52\x75\x77\x6e\x4b\x7a\x71','\x41\x33\x6e\x33\x79\x4e\x75','\x43\x4c\x66\x6e\x44\x78\x75','\x41\x31\x72\x68\x74\x33\x43','\x44\x77\x35\x52\x42\x4d\x39\x33\x42\x47','\x6d\x4b\x6a\x74\x76\x77\x35\x6c\x73\x47','\x73\x65\x44\x48\x74\x4d\x47','\x44\x67\x39\x6d\x42\x33\x44\x4c\x43\x4b\x6e\x48\x43\x57','\x6e\x64\x43\x35\x6f\x64\x75\x59\x79\x30\x4c\x69\x76\x75\x35\x41','\x42\x67\x39\x4e\x7a\x32\x4c\x55\x7a\x57','\x79\x77\x31\x4c','\x41\x78\x6e\x62\x43\x4e\x6a\x48\x45\x71','\x44\x4b\x39\x6c\x79\x30\x57','\x7a\x33\x72\x4c','\x41\x77\x35\x52\x43\x57','\x6d\x74\x47\x30\x6e\x64\x79\x34\x6e\x66\x4c\x66\x45\x65\x44\x53\x76\x47','\x43\x33\x76\x57\x43\x67\x39\x59\x44\x68\x6e\x64\x79\x71','\x6d\x74\x47\x57\x6d\x64\x4b\x57\x6f\x77\x72\x35\x76\x75\x39\x56\x76\x57','\x6f\x64\x6d\x31\x6e\x64\x79\x34\x6d\x4d\x58\x50\x44\x4e\x7a\x74\x75\x61','\x76\x4d\x4c\x5a\x44\x77\x66\x53\x69\x66\x6e\x30\x44\x71','\x74\x67\x44\x36\x79\x4e\x61','\x6e\x74\x65\x30\x6f\x64\x6d\x33\x6e\x76\x7a\x4b\x75\x75\x31\x77\x79\x57','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x43\x4e\x6e\x50\x42\x32\x34','\x43\x4d\x39\x56\x44\x68\x6d','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x5a','\x6d\x73\x34\x58\x6d\x64\x6d\x55\x6d\x61','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x42\x4d\x35\x70\x74\x76\x79','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x46\x42\x61','\x69\x65\x4c\x55\x43\x32\x4c\x4b\x7a\x78\x6a\x5a','\x43\x32\x39\x31\x43\x4d\x6e\x4c\x43\x57','\x7a\x78\x6a\x5a\x41\x77\x39\x55','\x6d\x4a\x71\x33\x6d\x4a\x65\x57\x6e\x67\x4c\x31\x71\x31\x7a\x76\x42\x61','\x79\x32\x58\x50\x7a\x77\x35\x30\x73\x77\x35\x4d\x42\x57','\x74\x77\x4c\x64\x43\x4d\x39\x5a\x79\x32\x39\x71\x7a\x71','\x44\x67\x72\x66\x74\x75\x69','\x44\x68\x62\x74\x41\x68\x4b','\x79\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x41\x71','\x41\x32\x76\x35\x43\x57','\x6d\x74\x62\x55\x43\x77\x44\x6d\x73\x4d\x38','\x42\x68\x72\x51\x79\x4e\x4f','\x73\x33\x44\x70\x7a\x4c\x79','\x6d\x4a\x48\x52\x44\x76\x50\x6e\x41\x32\x4b','\x41\x77\x35\x50\x44\x67\x4c\x48\x42\x67\x4c\x36\x7a\x71','\x7a\x32\x76\x30\x71\x32\x58\x50\x7a\x77\x35\x30\x74\x47','\x76\x75\x31\x74\x71\x77\x65','\x76\x4e\x76\x70\x43\x31\x79','\x6d\x4a\x6d\x58\x6e\x64\x61\x34\x6d\x67\x76\x64\x74\x32\x4c\x55\x42\x61','\x7a\x77\x31\x49\x7a\x77\x72\x4b\x7a\x77\x72\x73\x7a\x71','\x42\x4d\x66\x54\x7a\x71','\x43\x67\x66\x49\x41\x77\x58\x50\x44\x68\x4b'];a0_0x4c1b=function(){return _0x301b8f;};return a0_0x4c1b();}import a0_0x468390 from'\x2e\x2f\x63\x6f\x6e\x66\x69\x67\x2e\x6a\x73';class Client{[a0_0x41eb4b(0xa8)];[a0_0x41eb4b(0x6f)+'\x65\x73'];[a0_0x41eb4b(0x85)+a0_0x41eb4b(0x9d)];[a0_0x41eb4b(0x9e)]={};constructor(){const _0x186e10=a0_0x583a;this[_0x186e10(0xa8)]={'\x6e\x61\x6d\x65':_0x186e10(0x8a)};this[_0x186e10(0x6f)+'\x65\x73']={};this[_0x186e10(0x85)+_0x186e10(0x9d)]='';}[a0_0x41eb4b(0x75)](_0x3dd5d4={}){const _0x42e2c5=a0_0x583a;const _0x16f0dc={'\x76\x4f\x4b\x63\x4c':_0x42e2c5(0x8a)};this['\x63\x6c\x69\x65\x6e\x74\x49\x6e\x66\x6f']=_0x3dd5d4?.[_0x42e2c5(0xa8)]||{'\x6e\x61\x6d\x65':_0x16f0dc[_0x42e2c5(0x92)]};this['\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69'+'\x65\x73']=_0x3dd5d4?.[_0x42e2c5(0x6f)+'\x65\x73']||{};this[_0x42e2c5(0x85)+_0x42e2c5(0x9d)]=_0x3dd5d4?.[_0x42e2c5(0x85)+_0x42e2c5(0x9d)]||'';}[a0_0x41eb4b(0x76)+'\x61\x6d\x65'](){const _0xf36235=a0_0x583a;const _0x2f8060={'\x46\x41\x76\x46\x63':'\x43\x75\x72\x73\x6f\x72','\x62\x43\x42\x5a\x77':_0xf36235(0x99)+_0xf36235(0x82),'\x66\x65\x57\x51\x66':_0xf36235(0x6c)};const _0x14664f=this[_0xf36235(0xa8)]?.[_0xf36235(0x7b)]||_0xf36235(0x8a);const _0x46e695={'\x63\x75\x72\x73\x6f\x72\x2d\x76\x73\x63\x6f\x64\x65':_0x2f8060[_0xf36235(0x80)],'\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75\x64\x69\x6f\x20\x43\x6f\x64\x65':_0x2f8060['\x62\x43\x42\x5a\x77'],'\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':_0xf36235(0x99)+'\x64\x69\x6f\x20\x43\x6f\x64\x65\x20\x2d'+'\x20\x49\x6e\x73\x69\x64\x65\x72\x73','\x6d\x69\x63\x72\x6f\x73\x63\x6f\x70\x65':_0x2f8060[_0xf36235(0x84)]};return _0x46e695[_0x14664f]||_0x14664f;}['\x67\x65\x74\x43\x6c\x69\x65\x6e\x74\x56'+a0_0x41eb4b(0xa6)](){const _0x2c6c98=a0_0x583a;return this[_0x2c6c98(0xa8)]?.[_0x2c6c98(0x9c)];}['\x69\x73'](_0x5d93c7){const _0x5d66f4=a0_0x583a;const _0x1a5fb8={'\x4c\x67\x7a\x62\x70':_0x5d66f4(0x73)};if(!Array[_0x5d66f4(0x91)](_0x5d93c7)){if(_0x1a5fb8[_0x5d66f4(0x9a)]==='\x4b\x77\x4f\x66\x56'){_0x5d93c7=[_0x5d93c7];}else{return this[_0x5d66f4(0xa8)]?.[_0x5d66f4(0x9c)];}}const _0x328cc2=this['\x67\x65\x74\x43\x6c\x69\x65\x6e\x74\x4e'+_0x5d66f4(0x90)]()[_0x5d66f4(0x8d)+'\x65']();return _0x5d93c7[_0x5d66f4(0x83)](_0x515304=>_0x328cc2['\x69\x6e\x63\x6c\x75\x64\x65\x73'](_0x515304['\x74\x6f\x4c\x6f\x77\x65\x72\x43\x61\x73'+'\x65']()));}[a0_0x41eb4b(0x96)+a0_0x41eb4b(0x7c)](_0x44b5dd){const _0x13fe90=a0_0x583a;const _0x3be333={'\x4c\x58\x46\x6e\x6c':'\x75\x6e\x6b\x6e\x6f\x77\x6e','\x6b\x54\x47\x4f\x77':function(_0x10445a,_0x11280d){return _0x10445a(_0x11280d);},'\x74\x64\x45\x4d\x42':_0x13fe90(0x9f),'\x6c\x74\x6a\x62\x7a':_0x13fe90(0x99)+_0x13fe90(0x7e)+_0x13fe90(0xa4),'\x72\x51\x4d\x75\x75':_0x13fe90(0x7d),'\x6e\x6e\x4f\x4d\x56':_0x13fe90(0xa3)+_0x13fe90(0x94),'\x48\x47\x61\x4e\x68':_0x13fe90(0x99)+'\x64\x69\x6f\x20\x43\x6f\x64\x65','\x6b\x73\x77\x62\x75':_0x13fe90(0x78),'\x74\x70\x53\x68\x79':function(_0x2b5c5c,_0x37f4c9){return _0x2b5c5c(_0x37f4c9);},'\x55\x4d\x53\x41\x61':function(_0x5dc7d4,_0x407089){return _0x5dc7d4(_0x407089);}};switch(_0x44b5dd){case _0x13fe90(0x8f):return _0x3be333[_0x13fe90(0x89)](Boolean,this['\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69'+'\x65\x73']?.['\x6c\x6f\x67\x67\x69\x6e\x67'])||this['\x69\x73'](['\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75'+_0x13fe90(0x82),'\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75'+_0x13fe90(0x7e)+'\x20\x49\x6e\x73\x69\x64\x65\x72\x73']);case _0x3be333[_0x13fe90(0x6d)]:return Boolean(this[_0x13fe90(0x6f)+'\x65\x73']?.[_0x44b5dd])||this['\x69\x73']([_0x13fe90(0x99)+_0x13fe90(0x82),_0x3be333[_0x13fe90(0x72)],_0x3be333[_0x13fe90(0x88)]]);case _0x13fe90(0x7a)+_0x13fe90(0xa5):return this['\x69\x73'](['\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75'+_0x13fe90(0x82),_0x13fe90(0x99)+_0x13fe90(0x7e)+'\x20\x49\x6e\x73\x69\x64\x65\x72\x73','\x43\x75\x72\x73\x6f\x72']);case _0x3be333[_0x13fe90(0xa2)]:return this['\x69\x73']([_0x3be333[_0x13fe90(0x8c)],_0x13fe90(0x99)+_0x13fe90(0x7e)+_0x13fe90(0xa4)])&&a0_0x397f61[_0x13fe90(0x93)](this[_0x13fe90(0xa8)]['\x76\x65\x72\x73\x69\x6f\x6e'],_0x13fe90(0xa0));case'\x65\x6c\x69\x63\x69\x74\x61\x74\x69\x6f'+'\x6e':{if(a0_0x468390['\x64\x69\x73\x61\x62\x6c\x65\x45\x6c\x69'+'\x63\x69\x74\x61\x74\x69\x6f\x6e']){return![];}const _0xe8f88d=this[_0x13fe90(0x6f)+'\x65\x73']?.[_0x44b5dd];if(!_0xe8f88d){if(_0x3be333[_0x13fe90(0x87)]!=='\x54\x62\x68\x72\x67'){return![];}else{this[_0x13fe90(0xa8)]={'\x6e\x61\x6d\x65':kfVyrG[_0x13fe90(0x81)]};this[_0x13fe90(0x6f)+'\x65\x73']={};this[_0x13fe90(0x85)+_0x13fe90(0x9d)]='';}}if(typeof _0xe8f88d==='\x6f\x62\x6a\x65\x63\x74'){return Object[_0x13fe90(0x70)](_0xe8f88d)[_0x13fe90(0xa1)]===0x0||_0x3be333[_0x13fe90(0x6e)](Boolean,_0xe8f88d['\x66\x6f\x72\x6d']);}return Boolean(_0xe8f88d);}default:return _0x3be333[_0x13fe90(0x77)](Boolean,this[_0x13fe90(0x6f)+'\x65\x73']?.[_0x44b5dd]);}}}const client=new Client();function a0_0x583a(_0x287b5e,_0x2b9c73){_0x287b5e=_0x287b5e-0x6c;const _0x4c1bff=a0_0x4c1b();let _0x583ad4=_0x4c1bff[_0x287b5e];if(a0_0x583a['\x49\x4d\x75\x6e\x59\x73']===undefined){var _0x2f130a=function(_0xd1df46){const _0x1456f8='\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 _0x3bc248='';let _0x52f2c3='';for(let _0x2b03a7=0x0,_0x1ebdcd,_0x4d68f0,_0x384740=0x0;_0x4d68f0=_0xd1df46['\x63\x68\x61\x72\x41\x74'](_0x384740++);~_0x4d68f0&&(_0x1ebdcd=_0x2b03a7%0x4?_0x1ebdcd*0x40+_0x4d68f0:_0x4d68f0,_0x2b03a7++%0x4)?_0x3bc248+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x1ebdcd>>(-0x2*_0x2b03a7&0x6)):0x0){_0x4d68f0=_0x1456f8['\x69\x6e\x64\x65\x78\x4f\x66'](_0x4d68f0);}for(let _0x51fadd=0x0,_0x45c998=_0x3bc248['\x6c\x65\x6e\x67\x74\x68'];_0x51fadd<_0x45c998;_0x51fadd++){_0x52f2c3+='\x25'+('\x30\x30'+_0x3bc248['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x51fadd)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x52f2c3);};a0_0x583a['\x70\x68\x6c\x4c\x44\x6f']=_0x2f130a;a0_0x583a['\x71\x58\x6b\x58\x49\x56']={};a0_0x583a['\x49\x4d\x75\x6e\x59\x73']=!![];}const _0x77b9f2=_0x4c1bff[0x0];const _0x28f469=_0x287b5e+_0x77b9f2;const _0x490150=a0_0x583a['\x71\x58\x6b\x58\x49\x56'][_0x28f469];if(!_0x490150){_0x583ad4=a0_0x583a['\x70\x68\x6c\x4c\x44\x6f'](_0x583ad4);a0_0x583a['\x71\x58\x6b\x58\x49\x56'][_0x28f469]=_0x583ad4;}else{_0x583ad4=_0x490150;}return _0x583ad4;}export default client;
|
package/src/config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x1ef78b=a0_0x3e5e;function a0_0x3e5e(_0x456d06,_0x4ef0d0){_0x456d06=_0x456d06-0x6d;const _0xb4402f=a0_0xb440();let _0x3e5e82=_0xb4402f[_0x456d06];if(a0_0x3e5e['\x5a\x53\x4a\x67\x44\x45']===undefined){var _0x5d668b=function(_0x39ca1d){const _0x37251c='\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 _0x56be81='';let _0x1dda06='';for(let _0x5f07e9=0x0,_0x3aa7b1,_0x2274b3,_0x4e0195=0x0;_0x2274b3=_0x39ca1d['\x63\x68\x61\x72\x41\x74'](_0x4e0195++);~_0x2274b3&&(_0x3aa7b1=_0x5f07e9%0x4?_0x3aa7b1*0x40+_0x2274b3:_0x2274b3,_0x5f07e9++%0x4)?_0x56be81+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x3aa7b1>>(-0x2*_0x5f07e9&0x6)):0x0){_0x2274b3=_0x37251c['\x69\x6e\x64\x65\x78\x4f\x66'](_0x2274b3);}for(let _0x1e1a8d=0x0,_0x170274=_0x56be81['\x6c\x65\x6e\x67\x74\x68'];_0x1e1a8d<_0x170274;_0x1e1a8d++){_0x1dda06+='\x25'+('\x30\x30'+_0x56be81['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x1e1a8d)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x1dda06);};a0_0x3e5e['\x46\x74\x65\x4f\x77\x46']=_0x5d668b;a0_0x3e5e['\x74\x48\x72\x77\x6e\x65']={};a0_0x3e5e['\x5a\x53\x4a\x67\x44\x45']=!![];}const _0x28c7f3=_0xb4402f[0x0];const _0x36aa6c=_0x456d06+_0x28c7f3;const _0x598bdd=a0_0x3e5e['\x74\x48\x72\x77\x6e\x65'][_0x36aa6c];if(!_0x598bdd){_0x3e5e82=a0_0x3e5e['\x46\x74\x65\x4f\x77\x46'](_0x3e5e82);a0_0x3e5e['\x74\x48\x72\x77\x6e\x65'][_0x36aa6c]=_0x3e5e82;}else{_0x3e5e82=_0x598bdd;}return _0x3e5e82;}(function(_0x42a759,_0xd197e3){const _0x1fc5dc=a0_0x3e5e;const _0x1f79be=_0x42a759();while(!![]){try{const _0x398428=-parseInt(_0x1fc5dc(0x75))/0x1+-parseInt(_0x1fc5dc(0x7a))/0x2*(-parseInt(_0x1fc5dc(0x93))/0x3)+parseInt(_0x1fc5dc(0x71))/0x4*(parseInt(_0x1fc5dc(0x8a))/0x5)+parseInt(_0x1fc5dc(0x9b))/0x6*(-parseInt(_0x1fc5dc(0x92))/0x7)+-parseInt(_0x1fc5dc(0x8d))/0x8*(-parseInt(_0x1fc5dc(0x88))/0x9)+-parseInt(_0x1fc5dc(0x85))/0xa*(parseInt(_0x1fc5dc(0x6d))/0xb)+parseInt(_0x1fc5dc(0x8c))/0xc*(-parseInt(_0x1fc5dc(0x99))/0xd);if(_0x398428===_0xd197e3){break;}else{_0x1f79be['push'](_0x1f79be['shift']());}}catch(_0x596f9d){_0x1f79be['push'](_0x1f79be['shift']());}}}(a0_0xb440,0xe0455));import{createRequire}from'\x6e\x6f\x64\x65\x3a\x6d\x6f\x64\x75\x6c\x65';function a0_0xb440(){const _0x5d4d78=['\x6d\x74\x6d\x57\x6d\x64\x69\x30\x73\x77\x4c\x31\x75\x75\x54\x31','\x45\x68\x71\x47\x74\x75\x6e\x71\x69\x66\x6e\x4c\x43\x47','\x69\x67\x4c\x55\x7a\x4d\x38\x53\x69\x68\x6a\x4c\x79\x57','\x69\x68\x6e\x4a\x43\x4d\x4c\x57\x44\x68\x6d\x47\x79\x71','\x6e\x4a\x47\x33\x6d\x5a\x65\x58\x72\x76\x44\x41\x44\x68\x50\x78','\x73\x75\x6a\x6e\x69\x66\x6e\x48\x42\x67\x76\x5a\x7a\x47','\x43\x68\x61\x56\x6c\x4d\x35\x4c\x44\x67\x58\x50\x7a\x47','\x41\x77\x35\x4d\x42\x33\x6a\x54\x79\x78\x72\x50\x42\x57','\x69\x67\x66\x55\x7a\x63\x62\x56\x44\x67\x48\x4c\x43\x47','\x6d\x5a\x79\x30\x6f\x64\x75\x58\x6f\x67\x7a\x54\x74\x4d\x54\x6e\x73\x61','\x6c\x4d\x39\x55\x43\x4d\x76\x55\x7a\x67\x76\x59\x6c\x47','\x43\x59\x39\x4f\x79\x77\x35\x4b\x43\x32\x48\x48\x41\x57','\x6c\x4d\x35\x4c\x44\x67\x58\x50\x7a\x4e\x4b\x55\x79\x71','\x7a\x77\x35\x30\x69\x67\x6e\x56\x7a\x67\x76\x49\x79\x71','\x79\x33\x76\x30\x7a\x73\x62\x65\x74\x75\x57\x53\x69\x61','\x38\x6a\x2b\x72\x47\x46\x63\x46\x4b\x6a\x33\x49\x4b\x34\x6c\x56\x55\x69\x38','\x42\x33\x6a\x4e\x69\x68\x72\x56\x69\x68\x6a\x4c\x44\x61','\x69\x68\x72\x48\x43\x32\x54\x5a\x6c\x47','\x44\x68\x6a\x35','\x7a\x4d\x66\x53\x43\x32\x75','\x6e\x64\x43\x57\x76\x4e\x48\x5a\x71\x78\x66\x41','\x7a\x67\x76\x49\x44\x77\x43','\x6c\x63\x62\x4b\x7a\x77\x6a\x31\x7a\x59\x62\x53\x42\x57','\x6d\x74\x61\x31\x6d\x74\x71\x58\x6e\x4a\x4c\x62\x73\x67\x6e\x58\x72\x67\x69','\x69\x68\x4c\x56\x44\x73\x62\x30\x42\x59\x62\x50\x42\x47','\x6e\x4a\x76\x73\x71\x30\x76\x50\x76\x30\x57','\x6c\x78\x72\x4c\x42\x67\x76\x54\x7a\x78\x72\x59\x45\x71','\x6d\x4a\x72\x78\x75\x68\x48\x78\x75\x4c\x43','\x6f\x65\x6a\x6a\x75\x75\x35\x6c\x43\x61','\x44\x68\x6a\x31\x7a\x71','\x43\x33\x76\x53\x44\x68\x6d\x53\x69\x67\x39\x49\x41\x47','\x79\x32\x75\x54\x79\x32\x39\x55\x44\x67\x76\x34\x44\x61','\x41\x77\x6a\x54\x6c\x78\x6e\x4d\x6c\x77\x6e\x56\x42\x47','\x6f\x74\x79\x30\x6e\x4a\x44\x36\x41\x65\x72\x78\x75\x68\x75','\x6d\x33\x4c\x6e\x44\x65\x48\x34\x44\x71','\x43\x33\x6e\x31\x7a\x71','\x41\x68\x72\x30\x43\x68\x6d\x36\x6c\x59\x39\x50\x79\x47','\x42\x73\x31\x5a\x79\x77\x58\x4c\x43\x32\x7a\x56\x43\x47','\x6d\x4a\x61\x59\x6e\x73\x30\x58\x6d\x73\x30\x59\x6e\x71','\x6c\x63\x62\x4b\x7a\x78\x62\x53\x42\x33\x4c\x50\x42\x47','\x6e\x64\x61\x30\x6d\x64\x43\x33\x6e\x32\x44\x78\x41\x67\x4c\x49\x72\x71','\x44\x67\x76\x34\x44\x61','\x6d\x4a\x69\x59\x73\x32\x72\x6c\x71\x4d\x44\x5a','\x6d\x74\x75\x34\x6e\x74\x47\x33\x77\x4c\x50\x58\x77\x4c\x7a\x56','\x43\x67\x66\x59\x43\x32\x76\x6a\x42\x4e\x71','\x42\x49\x57\x47\x75\x30\x39\x72\x74\x63\x62\x59\x7a\x71','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47'];a0_0xb440=function(){return _0x5d4d78;};return a0_0xb440();}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_0x1ef78b(0x80),'\x64\x65\x66\x61\x75\x6c\x74\x4c\x6f\x67\x4c\x65\x76\x65\x6c':a0_0x1ef78b(0x86),'\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_0x1ef78b(0x8e),'\x6d\x63\x70\x41\x70\x70\x73\x45\x6e\x61\x62\x6c\x65\x64':process.env.MCP_APPS_ENABLED!==a0_0x1ef78b(0x84),'\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':a0_0x1ef78b(0x97),'\x73\x65\x72\x76\x65\x72\x49\x6e\x66\x6f':{'\x6e\x61\x6d\x65':a0_0x1ef78b(0x76)+'\x6f\x72\x63\x65\x20\x43\x6f\x6e\x74\x65'+'\x78\x74','\x61\x6c\x69\x61\x73':a0_0x1ef78b(0x91)+a0_0x1ef78b(0x9a),'\x76\x65\x72\x73\x69\x6f\x6e':pkg[a0_0x1ef78b(0x70)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x1ef78b(0x76)+'\x6f\x72\x63\x65\x20\x43\x6f\x6e\x74\x65'+a0_0x1ef78b(0x72)+'\x76\x65\x72\x20\x61\x6c\x6c\x6f\x77\x73'+a0_0x1ef78b(0x89)+'\x74\x65\x72\x61\x63\x74\x20\x77\x69\x74'+'\x68\x20\x79\x6f\x75\x72\x20\x53\x66\x20'+a0_0x1ef78b(0x81)+'\x72\x69\x65\x76\x65\x20\x6f\x72\x67\x20'+a0_0x1ef78b(0x78)+a0_0x1ef78b(0x6f)+a0_0x1ef78b(0x8f)+'\x65\x63\x74\x20\x73\x63\x68\x65\x6d\x61'+a0_0x1ef78b(0x73)+a0_0x1ef78b(0x7e)+'\x73\x65\x20\x63\x68\x61\x6e\x67\x65\x73'+a0_0x1ef78b(0x87)+'\x67\x73\x2c\x20\x74\x6f\x20\x65\x78\x65'+a0_0x1ef78b(0x7f)+'\x6c\x6f\x63\x61\x6c\x20\x41\x70\x65\x78'+a0_0x1ef78b(0x74)+'\x6e\x64\x20\x72\x65\x6d\x6f\x74\x65\x20'+'\x41\x70\x65\x78\x20\x74\x65\x73\x74\x73'+a0_0x1ef78b(0x98)+'\x67\x20\x6d\x65\x74\x61\x64\x61\x74\x61'+a0_0x1ef78b(0x79)+a0_0x1ef78b(0x82)},'\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':'\x68\x74\x74\x70\x73\x3a\x2f\x2f\x69\x62'+a0_0x1ef78b(0x96)+'\x63\x65\x2d\x63\x6f\x6e\x74\x65\x78\x74'+a0_0x1ef78b(0x7d)+'\x70\x70\x2f\x2e\x6e\x65\x74\x6c\x69\x66'+'\x79\x2f\x66\x75\x6e\x63\x74\x69\x6f\x6e'+a0_0x1ef78b(0x7c)+'\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_0x1ef78b(0x95)+a0_0x1ef78b(0x96)+a0_0x1ef78b(0x90)+a0_0x1ef78b(0x7d)+a0_0x1ef78b(0x77)+'\x79\x2f\x66\x75\x6e\x63\x74\x69\x6f\x6e'+'\x73\x2f\x72\x65\x70\x6f\x72\x74\x2d\x69'+a0_0x1ef78b(0x94)},'\x73\x74\x72\x69\x63\x74\x53\x73\x6c':process.env.STRICT_SSL!==a0_0x1ef78b(0x84),'\x74\x65\x6c\x65\x6d\x65\x74\x72\x79':{'\x65\x6e\x61\x62\x6c\x65\x64':process.env.TELEMETRY_ENABLED!=='\x66\x61\x6c\x73\x65','\x65\x6e\x64\x70\x6f\x69\x6e\x74':process.env.TELEMETRY_ENDPOINT||a0_0x1ef78b(0x95)+a0_0x1ef78b(0x96)+a0_0x1ef78b(0x90)+a0_0x1ef78b(0x8b)+a0_0x1ef78b(0x7b)+'\x63\x6f\x6d\x2f\x74\x65\x6c\x65\x6d\x65'+a0_0x1ef78b(0x83),'\x74\x69\x6d\x65\x6f\x75\x74':Number[a0_0x1ef78b(0x6e)](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_0x25d2fb=a0_0x178d;(function(_0x2cdf13,_0x1db007){const _0x44446b=a0_0x178d;const _0x4baf54=_0x2cdf13();while(!![]){try{const _0x1f62a1=-parseInt(_0x44446b(0x14f))/0x1+parseInt(_0x44446b(0x16b))/0x2+parseInt(_0x44446b(0x170))/0x3*(-parseInt(_0x44446b(0x14e))/0x4)+parseInt(_0x44446b(0x152))/0x5*(parseInt(_0x44446b(0x155))/0x6)+parseInt(_0x44446b(0x174))/0x7*(parseInt(_0x44446b(0x169))/0x8)+-parseInt(_0x44446b(0x138))/0x9+parseInt(_0x44446b(0x137))/0xa;if(_0x1f62a1===_0x1db007){break;}else{_0x4baf54['push'](_0x4baf54['shift']());}}catch(_0x583455){_0x4baf54['push'](_0x4baf54['shift']());}}}(a0_0x5d10,0xb9967));import{EventEmitter}from'\x6e\x6f\x64\x65\x3a\x65\x76\x65\x6e\x74\x73';import a0_0x524484 from'\x6e\x6f\x64\x65\x3a\x66\x73';import a0_0x464a4e from'\x6e\x6f\x64\x65\x3a\x70\x61\x74\x68';function a0_0x178d(_0x5f0869,_0x28885c){_0x5f0869=_0x5f0869-0x130;const _0x5d102a=a0_0x5d10();let _0x178d0c=_0x5d102a[_0x5f0869];if(a0_0x178d['\x63\x4b\x57\x62\x6a\x55']===undefined){var _0xd8114b=function(_0x1adef4){const _0x512fbc='\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 _0x315f77='';let _0x326e31='';for(let _0x39b1ea=0x0,_0x6ef21,_0x3a3ec5,_0x596488=0x0;_0x3a3ec5=_0x1adef4['\x63\x68\x61\x72\x41\x74'](_0x596488++);~_0x3a3ec5&&(_0x6ef21=_0x39b1ea%0x4?_0x6ef21*0x40+_0x3a3ec5:_0x3a3ec5,_0x39b1ea++%0x4)?_0x315f77+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x6ef21>>(-0x2*_0x39b1ea&0x6)):0x0){_0x3a3ec5=_0x512fbc['\x69\x6e\x64\x65\x78\x4f\x66'](_0x3a3ec5);}for(let _0x26cea9=0x0,_0x38b035=_0x315f77['\x6c\x65\x6e\x67\x74\x68'];_0x26cea9<_0x38b035;_0x26cea9++){_0x326e31+='\x25'+('\x30\x30'+_0x315f77['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x26cea9)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x326e31);};a0_0x178d['\x69\x66\x61\x69\x6b\x4d']=_0xd8114b;a0_0x178d['\x6b\x72\x75\x45\x68\x45']={};a0_0x178d['\x63\x4b\x57\x62\x6a\x55']=!![];}const _0x467880=_0x5d102a[0x0];const _0x2e7408=_0x5f0869+_0x467880;const _0x520e45=a0_0x178d['\x6b\x72\x75\x45\x68\x45'][_0x2e7408];if(!_0x520e45){_0x178d0c=a0_0x178d['\x69\x66\x61\x69\x6b\x4d'](_0x178d0c);a0_0x178d['\x6b\x72\x75\x45\x68\x45'][_0x2e7408]=_0x178d0c;}else{_0x178d0c=_0x520e45;}return _0x178d0c;}import a0_0x4c0f10 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);function a0_0x5d10(){const _0x16c269=['\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','\x71\x30\x58\x6a\x69\x68\x72\x48\x43\x4d\x44\x4c\x44\x61','\x69\x63\x48\x4a\x44\x78\x6a\x59\x7a\x77\x35\x30\x6f\x47','\x7a\x78\x71\x47\x42\x33\x6a\x4e\x69\x67\x6e\x4f\x79\x71','\x74\x32\x66\x5a\x79\x4b\x65','\x74\x75\x7a\x63\x42\x4c\x43','\x76\x4e\x4c\x62\x72\x77\x38','\x71\x4d\x58\x71\x74\x32\x69','\x7a\x78\x48\x50\x43\x33\x72\x5a\x75\x33\x4c\x55\x79\x57','\x7a\x4b\x31\x72\x44\x4d\x47','\x42\x4d\x7a\x50\x7a\x59\x62\x4d\x41\x77\x58\x4c','\x6d\x5a\x61\x59\x6f\x74\x7a\x6f\x42\x33\x6a\x78\x79\x30\x4f','\x6d\x74\x65\x31\x6f\x74\x79\x31\x6d\x4d\x48\x4e\x73\x4c\x62\x53\x76\x57','\x79\x32\x48\x4c\x79\x32\x53','\x42\x33\x6a\x4e\x71\x32\x48\x48\x42\x4d\x44\x4c\x7a\x61','\x6d\x74\x43\x34\x6f\x74\x79\x31\x79\x33\x44\x48\x73\x31\x72\x6c','\x43\x67\x66\x59\x43\x32\x75','\x41\x4d\x39\x50\x42\x47','\x6d\x74\x75\x57\x79\x77\x44\x57\x77\x77\x6e\x35','\x42\x32\x35\x4d\x41\x77\x43\x47\x7a\x4d\x4c\x53\x7a\x71','\x7a\x78\x6a\x59\x42\x33\x69','\x69\x66\x6e\x48\x42\x67\x76\x5a\x7a\x4d\x39\x59\x79\x57','\x79\x32\x39\x55\x7a\x4d\x4c\x4e\x72\x4d\x4c\x53\x7a\x71','\x72\x78\x6a\x59\x42\x33\x69\x47\x41\x77\x34\x47\x75\x57','\x79\x33\x44\x4b','\x42\x33\x6a\x4e\x69\x67\x7a\x56\x44\x77\x35\x4b\x69\x61','\x75\x67\x66\x30\x41\x61','\x43\x33\x72\x56\x43\x68\x62\x4c\x7a\x61','\x43\x33\x72\x48\x43\x4e\x71','\x79\x31\x62\x73\x44\x33\x75','\x74\x77\x39\x55\x41\x78\x72\x56\x43\x4d\x4c\x55\x7a\x57','\x71\x4d\x54\x4b\x79\x4d\x75','\x41\x78\x6e\x30\x7a\x77\x35\x4c\x43\x4e\x6d','\x41\x77\x34\x47\x75\x32\x66\x53\x7a\x78\x6e\x4d\x42\x57','\x71\x77\x58\x50\x79\x78\x6d','\x43\x4d\x76\x48\x7a\x65\x7a\x50\x42\x67\x76\x74\x45\x71','\x6c\x4e\x6e\x4d','\x69\x67\x39\x59\x7a\x59\x62\x33\x79\x78\x72\x4a\x41\x61','\x6f\x67\x76\x48\x43\x76\x6e\x56\x42\x57','\x7a\x67\x76\x49\x42\x33\x76\x55\x79\x32\x76\x6e\x43\x57','\x6d\x4a\x43\x31\x6e\x4a\x47\x32\x6e\x4e\x7a\x55\x71\x76\x66\x36\x42\x71','\x69\x63\x30\x2b\x69\x61','\x7a\x77\x31\x50\x44\x61','\x75\x66\x62\x79\x76\x66\x43','\x45\x4e\x44\x34\x74\x4e\x75','\x6e\x64\x6d\x34\x79\x32\x76\x52\x72\x4c\x50\x6b','\x43\x4d\x76\x32\x75\x67\x34','\x42\x33\x6a\x4a\x7a\x73\x62\x64\x74\x65\x4b\x47\x79\x57','\x72\x31\x6e\x74\x73\x4c\x47','\x6d\x5a\x4b\x58\x6e\x64\x4b\x5a\x6f\x75\x48\x58\x7a\x33\x4c\x75\x71\x47','\x77\x4b\x66\x66\x72\x33\x47','\x43\x33\x72\x56\x43\x61','\x74\x4d\x38\x47\x44\x67\x66\x59\x7a\x32\x76\x30\x69\x61','\x75\x33\x72\x56\x43\x68\x62\x50\x42\x4d\x43\x47\x75\x57','\x69\x67\x39\x59\x7a\x5a\x4f\x47','\x44\x32\x66\x30\x79\x32\x47','\x71\x76\x50\x64\x71\x30\x4b','\x43\x4d\x6e\x4c\x69\x65\x6e\x6d\x73\x73\x62\x4a\x42\x57','\x79\x77\x58\x4c\x43\x32\x7a\x56\x43\x4d\x6e\x4c\x69\x61','\x6f\x64\x71\x30\x6e\x5a\x75\x31\x6d\x65\x6e\x4e\x44\x76\x76\x6f\x43\x71','\x6e\x74\x47\x32\x6e\x74\x61\x57\x6d\x32\x54\x71\x43\x66\x6a\x58\x73\x47','\x7a\x73\x62\x33\x79\x78\x72\x4a\x41\x67\x76\x59','\x43\x33\x72\x48\x43\x4e\x72\x4c\x7a\x61','\x41\x77\x35\x4d\x42\x57','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x65\x39\x59\x7a\x57','\x7a\x67\x76\x49\x44\x77\x43','\x7a\x4d\x4c\x53\x7a\x76\x44\x48\x44\x67\x6e\x4f\x7a\x71','\x7a\x65\x66\x4f\x43\x66\x65','\x71\x32\x48\x48\x42\x4d\x44\x4c\x69\x67\x72\x4c\x44\x61','\x7a\x73\x62\x64\x74\x65\x4b\x47\x44\x67\x66\x59\x7a\x57'];a0_0x5d10=function(){return _0x16c269;};return a0_0x5d10();}class TargetOrgWatcher extends EventEmitter{constructor(){const _0x4c7b31=a0_0x178d;super();this[_0x4c7b31(0x159)+_0x4c7b31(0x15d)]=null;this[_0x4c7b31(0x13c)+_0x4c7b31(0x165)]=null;this['\x66\x69\x6c\x65\x57\x61\x74\x63\x68\x65'+'\x72']=null;this[_0x4c7b31(0x142)]=![];this[_0x4c7b31(0x16a)]=0x1388;}async[a0_0x25d2fb(0x15f)](_0x1f92b6,_0xe154b9=null){const _0x53c1c6=a0_0x178d;const _0x293971={'\x47\x53\x53\x4a\x58':_0x53c1c6(0x130)+_0x53c1c6(0x15c)+_0x53c1c6(0x164)+'\x72\x63\x65\x20\x43\x4c\x49\x20\x63\x6f'+'\x6e\x66\x69\x67\x20\x66\x69\x6c\x65','\x6c\x74\x59\x58\x55':function(_0xbfe645,_0x85c0bc){return _0xbfe645!==_0x85c0bc;},'\x41\x5a\x43\x43\x49':_0x53c1c6(0x171),'\x4f\x61\x73\x62\x41':_0x53c1c6(0x13a),'\x66\x75\x45\x72\x5a':'\x45\x72\x72\x6f\x72\x20\x73\x65\x74\x74'+'\x69\x6e\x67\x20\x75\x70\x20\x66\x69\x6c'+_0x53c1c6(0x139)};try{await this[_0x53c1c6(0x176)]();this[_0x53c1c6(0x159)+_0x53c1c6(0x15d)]=a0_0x464a4e[_0x53c1c6(0x154)](process[_0x53c1c6(0x15b)](),_0x53c1c6(0x167),'\x63\x6f\x6e\x66\x69\x67\x2e\x6a\x73\x6f'+'\x6e');this[_0x53c1c6(0x13c)+'\x41\x6c\x69\x61\x73']=_0xe154b9;if(this[_0x53c1c6(0x142)]||!this['\x63\x75\x72\x72\x65\x6e\x74\x4f\x72\x67'+'\x41\x6c\x69\x61\x73']||!a0_0x524484[_0x53c1c6(0x14b)](this[_0x53c1c6(0x159)+_0x53c1c6(0x15d)])){if(_0x53c1c6(0x171)!==_0x293971[_0x53c1c6(0x134)]){const _0x1e8f20=_0x2f9234[_0x53c1c6(0x166)+'\x6e\x63'](this[_0x53c1c6(0x159)+'\x50\x61\x74\x68']);const _0x4d469a=_0x38db49[_0x53c1c6(0x153)](_0x1e8f20);const _0x474c2e=_0x4d469a[_0x53c1c6(0x143)]||null;if(!_0x474c2e){_0x1ef3f0['\x64\x65\x62\x75\x67'](_0x293971[_0x53c1c6(0x173)]);return;}if(_0x293971['\x6c\x74\x59\x58\x55'](_0x474c2e,this[_0x53c1c6(0x13c)+'\x41\x6c\x69\x61\x73'])){const _0x21c388=this[_0x53c1c6(0x13c)+_0x53c1c6(0x165)];_0xfd2da9[_0x53c1c6(0x13b)]('\x43\x68\x61\x6e\x67\x65\x20\x64\x65\x74'+'\x65\x63\x74\x65\x64\x20\x69\x6e\x20\x53'+_0x53c1c6(0x136)+'\x43\x4c\x49\x20\x74\x61\x72\x67\x65\x74'+'\x20\x6f\x72\x67\x3a\x20'+_0x21c388+_0x53c1c6(0x16c)+_0x474c2e);this['\x63\x75\x72\x72\x65\x6e\x74\x4f\x72\x67'+_0x53c1c6(0x165)]=_0x474c2e;this['\x65\x6d\x69\x74'](_0x53c1c6(0x151),{'\x6f\x6c\x64\x56\x61\x6c\x75\x65':_0x21c388,'\x6e\x65\x77\x56\x61\x6c\x75\x65':_0x474c2e});}}else{return;}}this['\x6f\x6e'](_0x53c1c6(0x13a),_0x44a770=>logger[_0x53c1c6(0x13d)](_0x53c1c6(0x161)+_0x53c1c6(0x158)+_0x53c1c6(0x141)+_0x53c1c6(0x146)+'\x6e\x67\x65\x73\x20\x61\x74\x20'+this[_0x53c1c6(0x159)+_0x53c1c6(0x15d)]+(_0x53c1c6(0x145)+'\x20')+_0x44a770+'\x29'));this['\x6f\x6e'](_0x53c1c6(0x151),_0x1f92b6);this['\x6f\x6e'](_0x53c1c6(0x157),_0x3e6bfa=>logger[_0x53c1c6(0x157)](_0x3e6bfa,_0x53c1c6(0x15a)+_0x53c1c6(0x136)+_0x53c1c6(0x144)+_0x53c1c6(0x168)+'\x65\x72'));this[_0x53c1c6(0x13e)+'\x72']=a0_0x4c0f10[_0x53c1c6(0x133)](this['\x63\x6f\x6e\x66\x69\x67\x46\x69\x6c\x65'+'\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[_0x53c1c6(0x16a)]}});this[_0x53c1c6(0x13e)+'\x72']['\x6f\x6e']('\x63\x68\x61\x6e\x67\x65',()=>this[_0x53c1c6(0x150)]());this[_0x53c1c6(0x13e)+'\x72']['\x6f\x6e']('\x65\x72\x72\x6f\x72',_0x4191a6=>this['\x65\x6d\x69\x74'](_0x53c1c6(0x157),_0x4191a6));this[_0x53c1c6(0x142)]=!![];this[_0x53c1c6(0x16d)](_0x293971[_0x53c1c6(0x147)],this[_0x53c1c6(0x13c)+_0x53c1c6(0x165)]);}catch(_0x4ccbaf){logger[_0x53c1c6(0x157)](_0x4ccbaf,_0x293971['\x66\x75\x45\x72\x5a']);}}async[a0_0x25d2fb(0x176)](){const _0x18cd1a=a0_0x178d;const _0x2246f4={'\x5a\x41\x45\x47\x78':_0x18cd1a(0x130)+_0x18cd1a(0x15c)+'\x69\x6e\x20\x53\x61\x6c\x65\x73\x66\x6f'+_0x18cd1a(0x135)+_0x18cd1a(0x14d),'\x42\x6c\x50\x4f\x62':_0x18cd1a(0x149),'\x4d\x46\x42\x6e\x57':_0x18cd1a(0x15e)};if(!this['\x69\x73\x57\x61\x74\x63\x68\x69\x6e\x67']){return;}logger['\x64\x65\x62\x75\x67'](_0x18cd1a(0x131)+'\x61\x6c\x65\x73\x66\x6f\x72\x63\x65\x20'+_0x18cd1a(0x144)+'\x20\x6f\x72\x67\x20\x77\x61\x74\x63\x68'+'\x65\x72');if(this[_0x18cd1a(0x13e)+'\x72']){if(_0x18cd1a(0x16f)===_0x2246f4[_0x18cd1a(0x14a)]){_0x4f7043[_0x18cd1a(0x13d)](_0x2246f4[_0x18cd1a(0x175)]);return;}else{await this[_0x18cd1a(0x13e)+'\x72']['\x63\x6c\x6f\x73\x65']();this['\x66\x69\x6c\x65\x57\x61\x74\x63\x68\x65'+'\x72']=null;}}this['\x72\x65\x6d\x6f\x76\x65\x41\x6c\x6c\x4c'+_0x18cd1a(0x163)]();this[_0x18cd1a(0x142)]=![];this['\x65\x6d\x69\x74'](_0x2246f4[_0x18cd1a(0x148)]);}[a0_0x25d2fb(0x150)](){const _0x237dae=a0_0x178d;const _0x1b512f={'\x50\x50\x58\x54\x57':_0x237dae(0x160),'\x66\x4d\x51\x76\x68':function(_0x494302,_0x426e2d){return _0x494302!==_0x426e2d;}};try{if(_0x237dae(0x160)===_0x1b512f[_0x237dae(0x16e)]){const _0x2de977=a0_0x524484[_0x237dae(0x166)+'\x6e\x63'](this[_0x237dae(0x159)+_0x237dae(0x15d)]);const _0x51ba1b=JSON['\x70\x61\x72\x73\x65'](_0x2de977);const _0x59f0ed=_0x51ba1b[_0x237dae(0x143)]||null;if(!_0x59f0ed){if(_0x237dae(0x13f)===_0x237dae(0x162)){return;}else{logger[_0x237dae(0x13d)](_0x237dae(0x130)+'\x6f\x72\x67\x20\x66\x6f\x75\x6e\x64\x20'+_0x237dae(0x164)+_0x237dae(0x135)+_0x237dae(0x14d));return;}}if(_0x1b512f[_0x237dae(0x14c)](_0x59f0ed,this[_0x237dae(0x13c)+_0x237dae(0x165)])){const _0x3a8a92=this['\x63\x75\x72\x72\x65\x6e\x74\x4f\x72\x67'+_0x237dae(0x165)];logger['\x69\x6e\x66\x6f'](_0x237dae(0x140)+'\x65\x63\x74\x65\x64\x20\x69\x6e\x20\x53'+_0x237dae(0x136)+'\x43\x4c\x49\x20\x74\x61\x72\x67\x65\x74'+_0x237dae(0x132)+_0x3a8a92+_0x237dae(0x16c)+_0x59f0ed);this['\x63\x75\x72\x72\x65\x6e\x74\x4f\x72\x67'+_0x237dae(0x165)]=_0x59f0ed;this[_0x237dae(0x16d)](_0x237dae(0x151),{'\x6f\x6c\x64\x56\x61\x6c\x75\x65':_0x3a8a92,'\x6e\x65\x77\x56\x61\x6c\x75\x65':_0x59f0ed});}}else{const _0x1fbe54=this[_0x237dae(0x13c)+_0x237dae(0x165)];_0x1668e4[_0x237dae(0x13b)]('\x43\x68\x61\x6e\x67\x65\x20\x64\x65\x74'+'\x65\x63\x74\x65\x64\x20\x69\x6e\x20\x53'+_0x237dae(0x136)+_0x237dae(0x144)+_0x237dae(0x132)+_0x1fbe54+_0x237dae(0x16c)+_0xa2af2c);this['\x63\x75\x72\x72\x65\x6e\x74\x4f\x72\x67'+_0x237dae(0x165)]=_0x1ac8b4;this[_0x237dae(0x16d)](_0x237dae(0x151),{'\x6f\x6c\x64\x56\x61\x6c\x75\x65':_0x1fbe54,'\x6e\x65\x77\x56\x61\x6c\x75\x65':_0x5a48ce});}}catch(_0x122237){logger['\x65\x72\x72\x6f\x72'](_0x122237,'\x45\x72\x72\x6f\x72\x20\x72\x65\x61\x64'+'\x69\x6e\x67\x20\x53\x61\x6c\x65\x73\x66'+_0x237dae(0x172)+_0x237dae(0x156));}}}const targetOrgWatcher=new TargetOrgWatcher();export default targetOrgWatcher;
|
|
1
|
+
const a0_0x1ce9cb=a0_0x42d7;(function(_0x184f97,_0x37342b){const _0x1e3dd1=a0_0x42d7;const _0x12c2c6=_0x184f97();while(!![]){try{const _0x3a926f=parseInt(_0x1e3dd1(0x86))/0x1+-parseInt(_0x1e3dd1(0xa0))/0x2+parseInt(_0x1e3dd1(0x87))/0x3*(parseInt(_0x1e3dd1(0xa2))/0x4)+-parseInt(_0x1e3dd1(0x93))/0x5*(-parseInt(_0x1e3dd1(0xbc))/0x6)+parseInt(_0x1e3dd1(0xc3))/0x7*(-parseInt(_0x1e3dd1(0x9b))/0x8)+-parseInt(_0x1e3dd1(0xc8))/0x9*(-parseInt(_0x1e3dd1(0xbf))/0xa)+-parseInt(_0x1e3dd1(0xbe))/0xb*(parseInt(_0x1e3dd1(0x8a))/0xc);if(_0x3a926f===_0x37342b){break;}else{_0x12c2c6['push'](_0x12c2c6['shift']());}}catch(_0x1495ba){_0x12c2c6['push'](_0x12c2c6['shift']());}}}(a0_0x3190,0x3c958));import{EventEmitter}from'\x6e\x6f\x64\x65\x3a\x65\x76\x65\x6e\x74\x73';function a0_0x42d7(_0x442dda,_0x5c8299){_0x442dda=_0x442dda-0x85;const _0x3190de=a0_0x3190();let _0x42d763=_0x3190de[_0x442dda];if(a0_0x42d7['\x51\x65\x64\x48\x49\x5a']===undefined){var _0x38c656=function(_0xa210d3){const _0x290eb4='\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 _0x189bed='';let _0x15da30='';for(let _0x5a653b=0x0,_0x58b750,_0x4b76de,_0x3c6387=0x0;_0x4b76de=_0xa210d3['\x63\x68\x61\x72\x41\x74'](_0x3c6387++);~_0x4b76de&&(_0x58b750=_0x5a653b%0x4?_0x58b750*0x40+_0x4b76de:_0x4b76de,_0x5a653b++%0x4)?_0x189bed+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x58b750>>(-0x2*_0x5a653b&0x6)):0x0){_0x4b76de=_0x290eb4['\x69\x6e\x64\x65\x78\x4f\x66'](_0x4b76de);}for(let _0x18e008=0x0,_0x25c62f=_0x189bed['\x6c\x65\x6e\x67\x74\x68'];_0x18e008<_0x25c62f;_0x18e008++){_0x15da30+='\x25'+('\x30\x30'+_0x189bed['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x18e008)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x15da30);};a0_0x42d7['\x6e\x6e\x7a\x67\x63\x48']=_0x38c656;a0_0x42d7['\x74\x77\x6b\x66\x68\x4a']={};a0_0x42d7['\x51\x65\x64\x48\x49\x5a']=!![];}const _0x3688f4=_0x3190de[0x0];const _0x44c2bd=_0x442dda+_0x3688f4;const _0x43e241=a0_0x42d7['\x74\x77\x6b\x66\x68\x4a'][_0x44c2bd];if(!_0x43e241){_0x42d763=a0_0x42d7['\x6e\x6e\x7a\x67\x63\x48'](_0x42d763);a0_0x42d7['\x74\x77\x6b\x66\x68\x4a'][_0x44c2bd]=_0x42d763;}else{_0x42d763=_0x43e241;}return _0x42d763;}import a0_0x523135 from'\x6e\x6f\x64\x65\x3a\x66\x73';import a0_0x460a9a from'\x6e\x6f\x64\x65\x3a\x70\x61\x74\x68';import a0_0x33853e 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 _0x15c426=a0_0x42d7;const _0x1560b8=(_0x15c426(0xa3)+'\x32')[_0x15c426(0xa8)]('\x7c');let _0x5277ea=0x0;while(!![]){switch(_0x1560b8[_0x5277ea++]){case'\x30':super();continue;case'\x31':this[_0x15c426(0x96)+_0x15c426(0xbb)]=null;continue;case'\x32':this[_0x15c426(0xb5)]=0x1388;continue;case'\x33':this[_0x15c426(0xc7)+_0x15c426(0x94)]=null;continue;case'\x34':this[_0x15c426(0x9d)+'\x72']=null;continue;case'\x35':this[_0x15c426(0xb8)]=![];continue;}break;}}async[a0_0x1ce9cb(0xa7)](_0x37ecb2,_0x3b879e=null){const _0x3073ac=a0_0x42d7;const _0x1a3bdb={'\x5a\x4b\x72\x6a\x54':_0x3073ac(0x85),'\x70\x6d\x51\x68\x4c':_0x3073ac(0xa4)};try{await this[_0x3073ac(0xad)]();this[_0x3073ac(0x96)+_0x3073ac(0xbb)]=a0_0x460a9a[_0x3073ac(0x8b)](process[_0x3073ac(0xca)](),_0x3073ac(0x9c),_0x3073ac(0xb3)+'\x6e');this[_0x3073ac(0xc7)+_0x3073ac(0x94)]=_0x3b879e;if(this['\x69\x73\x57\x61\x74\x63\x68\x69\x6e\x67']||!this[_0x3073ac(0xc7)+_0x3073ac(0x94)]||!a0_0x523135[_0x3073ac(0xba)](this[_0x3073ac(0x96)+_0x3073ac(0xbb)])){return;}this['\x6f\x6e'](_0x3073ac(0xa4),_0x985f33=>logger[_0x3073ac(0xc4)](_0x3073ac(0x8e)+_0x3073ac(0x92)+_0x3073ac(0xaf)+_0x3073ac(0x99)+_0x3073ac(0x8f)+this['\x63\x6f\x6e\x66\x69\x67\x46\x69\x6c\x65'+_0x3073ac(0xbb)]+('\x20\x28\x63\x75\x72\x72\x65\x6e\x74\x3a'+'\x20')+_0x985f33+'\x29'));this['\x6f\x6e'](_0x3073ac(0x88),_0x37ecb2);this['\x6f\x6e'](_0x1a3bdb['\x5a\x4b\x72\x6a\x54'],_0x35b7f1=>logger[_0x3073ac(0x85)](_0x35b7f1,_0x3073ac(0xab)+_0x3073ac(0xa5)+_0x3073ac(0xa1)+_0x3073ac(0xc0)+'\x65\x72'));this['\x66\x69\x6c\x65\x57\x61\x74\x63\x68\x65'+'\x72']=a0_0x33853e[_0x3073ac(0x95)](this[_0x3073ac(0x96)+_0x3073ac(0xbb)],{'\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[_0x3073ac(0x9d)+'\x72']['\x6f\x6e'](_0x3073ac(0x8c),()=>this[_0x3073ac(0xaa)]());this['\x66\x69\x6c\x65\x57\x61\x74\x63\x68\x65'+'\x72']['\x6f\x6e'](_0x1a3bdb[_0x3073ac(0xa9)],_0x26c1c5=>this[_0x3073ac(0xa6)](_0x3073ac(0x85),_0x26c1c5));this[_0x3073ac(0xb8)]=!![];this[_0x3073ac(0xa6)](_0x1a3bdb['\x70\x6d\x51\x68\x4c'],this[_0x3073ac(0xc7)+_0x3073ac(0x94)]);}catch(_0x59d0c4){logger[_0x3073ac(0x85)](_0x59d0c4,_0x3073ac(0x9a)+'\x69\x6e\x67\x20\x75\x70\x20\x66\x69\x6c'+_0x3073ac(0xb0));}}async[a0_0x1ce9cb(0xad)](){const _0x451062=a0_0x42d7;const _0x42edc6={'\x55\x5a\x75\x68\x41':_0x451062(0xb2)+_0x451062(0xa5)+_0x451062(0xa1)+_0x451062(0xc0)+'\x65\x72'};if(!this[_0x451062(0xb8)]){return;}logger[_0x451062(0xc4)](_0x42edc6['\x55\x5a\x75\x68\x41']);if(this['\x66\x69\x6c\x65\x57\x61\x74\x63\x68\x65'+'\x72']){if(_0x451062(0xae)===_0x451062(0xc1)){_0x5e3be4[_0x451062(0x85)](_0x469ec1,'\x45\x72\x72\x6f\x72\x20\x72\x65\x61\x64'+_0x451062(0x97)+_0x451062(0x90)+_0x451062(0x89));}else{await this[_0x451062(0x9d)+'\x72'][_0x451062(0x9f)]();this[_0x451062(0x9d)+'\x72']=null;}}this[_0x451062(0xb6)+_0x451062(0xc9)]();this[_0x451062(0xb8)]=![];this['\x65\x6d\x69\x74']('\x73\x74\x6f\x70\x70\x65\x64');}[a0_0x1ce9cb(0xaa)](){const _0x4327ee=a0_0x42d7;const _0x2b1a4c={'\x51\x69\x68\x74\x50':_0x4327ee(0x9e)+_0x4327ee(0xbd)+_0x4327ee(0x8d)+_0x4327ee(0xcc)+'\x6e\x66\x69\x67\x20\x66\x69\x6c\x65','\x57\x65\x54\x48\x71':_0x4327ee(0x88),'\x6e\x57\x67\x53\x6b':_0x4327ee(0xb7)+_0x4327ee(0x97)+_0x4327ee(0x90)+_0x4327ee(0x89)};try{const _0x4ca290=a0_0x523135['\x72\x65\x61\x64\x46\x69\x6c\x65\x53\x79'+'\x6e\x63'](this[_0x4327ee(0x96)+_0x4327ee(0xbb)]);const _0x365eeb=JSON[_0x4327ee(0x98)](_0x4ca290);const _0x2cc4f5=_0x365eeb[_0x4327ee(0xac)]||null;if(!_0x2cc4f5){logger[_0x4327ee(0xc4)](_0x2b1a4c[_0x4327ee(0xb1)]);return;}if(_0x2cc4f5!==this['\x63\x75\x72\x72\x65\x6e\x74\x4f\x72\x67'+_0x4327ee(0x94)]){const _0x416212=this[_0x4327ee(0xc7)+_0x4327ee(0x94)];logger[_0x4327ee(0xb4)](_0x4327ee(0xb9)+_0x4327ee(0xc5)+_0x4327ee(0xa5)+_0x4327ee(0xa1)+_0x4327ee(0xcb)+_0x416212+_0x4327ee(0xc6)+_0x2cc4f5);this[_0x4327ee(0xc7)+_0x4327ee(0x94)]=_0x2cc4f5;this[_0x4327ee(0xa6)](_0x2b1a4c['\x57\x65\x54\x48\x71'],{'\x6f\x6c\x64\x56\x61\x6c\x75\x65':_0x416212,'\x6e\x65\x77\x56\x61\x6c\x75\x65':_0x2cc4f5});}}catch(_0x1f414a){if(_0x4327ee(0xc2)!==_0x4327ee(0xc2)){_0x1644e1[_0x4327ee(0xc4)](_0x4327ee(0x9e)+_0x4327ee(0xbd)+_0x4327ee(0x8d)+_0x4327ee(0xcc)+'\x6e\x66\x69\x67\x20\x66\x69\x6c\x65');return;}else{logger['\x65\x72\x72\x6f\x72'](_0x1f414a,_0x2b1a4c[_0x4327ee(0x91)]);}}}}const targetOrgWatcher=new TargetOrgWatcher();function a0_0x3190(){const _0x5b0da1=['\x6e\x32\x72\x4c\x76\x77\x58\x7a\x73\x71','\x7a\x67\x76\x49\x44\x77\x43','\x7a\x77\x6e\x30\x7a\x77\x71\x47\x41\x77\x34\x47\x75\x57','\x69\x63\x30\x2b\x69\x61','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x65\x39\x59\x7a\x57','\x6f\x74\x69\x5a\x6e\x5a\x7a\x6a\x72\x4d\x4c\x4f\x41\x67\x30','\x41\x78\x6e\x30\x7a\x77\x35\x4c\x43\x4e\x6d','\x79\x33\x44\x4b','\x69\x67\x39\x59\x7a\x5a\x4f\x47','\x43\x4d\x6e\x4c\x69\x65\x6e\x6d\x73\x73\x62\x4a\x42\x57','\x7a\x78\x6a\x59\x42\x33\x69','\x6d\x74\x43\x30\x6d\x74\x47\x35\x71\x32\x39\x41\x76\x4c\x44\x76','\x6e\x5a\x69\x57\x6e\x64\x47\x57\x75\x4b\x54\x77\x72\x31\x7a\x7a','\x42\x33\x6a\x4e\x71\x32\x48\x48\x42\x4d\x44\x4c\x7a\x61','\x42\x32\x35\x4d\x41\x77\x43\x47\x7a\x4d\x4c\x53\x7a\x71','\x6d\x74\x6d\x59\x74\x77\x39\x57\x77\x68\x44\x72','\x41\x4d\x39\x50\x42\x47','\x79\x32\x48\x48\x42\x4d\x44\x4c','\x41\x77\x34\x47\x75\x32\x66\x53\x7a\x78\x6e\x4d\x42\x57','\x74\x77\x39\x55\x41\x78\x72\x56\x43\x4d\x4c\x55\x7a\x57','\x42\x4d\x44\x4c\x43\x59\x62\x48\x44\x63\x61','\x42\x33\x6a\x4a\x7a\x73\x62\x64\x74\x65\x4b\x47\x79\x57','\x42\x4c\x44\x4e\x75\x32\x53','\x69\x66\x6e\x48\x42\x67\x76\x5a\x7a\x4d\x39\x59\x79\x57','\x6f\x64\x75\x34\x6e\x77\x58\x6a\x79\x77\x58\x66\x73\x47','\x71\x77\x58\x50\x79\x78\x6d','\x44\x32\x66\x30\x79\x32\x47','\x79\x32\x39\x55\x7a\x4d\x4c\x4e\x72\x4d\x4c\x53\x7a\x71','\x41\x77\x35\x4e\x69\x66\x6e\x48\x42\x67\x76\x5a\x7a\x47','\x43\x67\x66\x59\x43\x32\x75','\x7a\x78\x71\x47\x42\x33\x6a\x4e\x69\x67\x6e\x4f\x79\x71','\x72\x78\x6a\x59\x42\x33\x69\x47\x43\x32\x76\x30\x44\x61','\x6d\x5a\x69\x5a\x6f\x64\x43\x34\x6e\x66\x48\x6e\x73\x67\x6a\x5a\x76\x57','\x6c\x4e\x6e\x4d','\x7a\x4d\x4c\x53\x7a\x76\x44\x48\x44\x67\x6e\x4f\x7a\x71','\x74\x4d\x38\x47\x44\x67\x66\x59\x7a\x32\x76\x30\x69\x61','\x79\x32\x58\x56\x43\x32\x75','\x6f\x64\x43\x59\x6d\x64\x69\x34\x43\x77\x31\x7a\x76\x32\x31\x31','\x71\x30\x58\x6a\x69\x68\x72\x48\x43\x4d\x44\x4c\x44\x61','\x6f\x67\x76\x50\x44\x4d\x44\x52\x72\x71','\x6d\x68\x57\x58\x46\x64\x6e\x38\x6e\x68\x57\x31\x46\x61','\x43\x33\x72\x48\x43\x4e\x72\x4c\x7a\x61','\x79\x77\x58\x4c\x43\x32\x7a\x56\x43\x4d\x6e\x4c\x69\x61','\x7a\x77\x31\x50\x44\x61','\x43\x33\x72\x48\x43\x4e\x71','\x43\x33\x62\x53\x41\x78\x71','\x77\x4b\x54\x59\x41\x4c\x71','\x79\x32\x48\x4c\x79\x32\x53','\x72\x78\x6a\x59\x42\x33\x69\x47\x41\x77\x34\x47\x75\x57','\x44\x67\x66\x59\x7a\x32\x76\x30\x6c\x77\x39\x59\x7a\x57','\x43\x33\x72\x56\x43\x61','\x76\x75\x48\x57\x72\x4d\x6d','\x7a\x73\x62\x64\x74\x65\x4b\x47\x44\x67\x66\x59\x7a\x57','\x7a\x73\x62\x33\x79\x78\x72\x4a\x41\x67\x76\x59','\x75\x77\x4c\x4f\x44\x66\x61','\x75\x33\x72\x56\x43\x68\x62\x50\x42\x4d\x43\x47\x75\x57','\x79\x32\x39\x55\x7a\x4d\x4c\x4e\x6c\x4d\x50\x5a\x42\x57','\x41\x77\x35\x4d\x42\x57','\x7a\x67\x76\x49\x42\x33\x76\x55\x79\x32\x76\x6e\x43\x57','\x43\x4d\x76\x54\x42\x33\x7a\x4c\x71\x77\x58\x53\x74\x61','\x72\x78\x6a\x59\x42\x33\x69\x47\x43\x4d\x76\x48\x7a\x61','\x41\x78\x6e\x78\x79\x78\x72\x4a\x41\x67\x4c\x55\x7a\x57','\x71\x32\x48\x48\x42\x4d\x44\x4c\x69\x67\x72\x4c\x44\x61','\x7a\x78\x48\x50\x43\x33\x72\x5a\x75\x33\x4c\x55\x79\x57','\x75\x67\x66\x30\x41\x61','\x6d\x74\x75\x33\x6d\x4c\x62\x35\x74\x66\x66\x49\x44\x71','\x42\x33\x6a\x4e\x69\x67\x7a\x56\x44\x77\x35\x4b\x69\x61','\x6f\x64\x43\x58\x6f\x74\x44\x58\x74\x4c\x66\x4d\x43\x66\x75','\x6e\x5a\x62\x76\x73\x77\x31\x74\x71\x30\x65','\x69\x67\x39\x59\x7a\x59\x62\x33\x79\x78\x72\x4a\x41\x61','\x75\x33\x50\x64\x73\x66\x69','\x74\x76\x6e\x75\x45\x65\x57'];a0_0x3190=function(){return _0x5b0da1;};return a0_0x3190();}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_0x2f3002 from'node:fs';import a0_0x15735c from'node:path';import{chromium}from'playwright';import a0_0xe9912c 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 _0x2a98cc=chromium['executablePath']();_playwrightBrowsersAvailable=a0_0x2f3002['existsSync'](_0x2a98cc);}catch{_playwrightBrowsersAvailable=![];}return _playwrightBrowsersAvailable;}async function installPlaywrightBrowsers(){try{logger['debug']('Installing\x20Playwright\x20browsers...');const _0x132183=new URL('../../node_modules/.bin/playwright',import.meta.url)['pathname'];const _0x2ccaa4=a0_0x2f3002['existsSync'](_0x132183)?'\x22'+_0x132183+'\x22\x20install\x20chromium':'npx\x20playwright\x20install\x20chromium';const {stderr:_0x5de2b3}=await execAsync(_0x2ccaa4);if(_0x5de2b3&&!_0x5de2b3['includes']('chromium')){logger['warn']('Playwright\x20installation\x20stderr:',_0x5de2b3);}logger['debug']('Playwright\x20browsers\x20installed\x20successfully');return!![];}catch(_0x5c93fd){logger['error']('Failed\x20to\x20install\x20Playwright\x20browsers:',_0x5c93fd['message']);throw new Error('Failed\x20to\x20install\x20Playwright\x20browsers.\x20Please\x20run\x20manually:\x20npx\x20playwright\x20install\x20chromium');}}async function listAllLinks(_0x5296c9){try{const _0x91ae92=await _0x5296c9['locator']('a')['all']();if(_0x91ae92['length']===0x0){logger['debug']('No\x20links\x20found\x20on\x20page');return;}logger['debug']('Found\x20'+_0x91ae92['length']+'\x20links\x20on\x20page:');for(let _0x3c4396=0x0;_0x3c4396<Math['min'](_0x91ae92['length'],0x14);_0x3c4396++){const _0x172f42=await _0x91ae92[_0x3c4396]['getAttribute']('href');const text=await _0x91ae92[_0x3c4396]['textContent']();logger['debug']('\x20\x20['+_0x3c4396+']\x20href=\x22'+_0x172f42+'\x22\x20text=\x22'+text?.['trim']()['slice'](0x0,0x32)+'\x22');}if(_0x91ae92['length']>0x14){logger['debug']('\x20\x20...\x20and\x20'+(_0x91ae92['length']-0x14)+'\x20more\x20links');}}catch(_0x513430){logger['debug']('Error\x20listing\x20links:\x20'+_0x513430['message']);}}async function waitForOrgSetupAuditFrame(_0x5d062f,_0x4a762e=0xea60){const _0xf6fbba=Date['now']();function _0x562ec2(){let _0x30b2dd;try{_0x30b2dd=_0x5d062f['frames']();}catch(_0x17dcef){logger['debug']('[H2]\x20tryMatch\x20page.frames:\x20'+_0x17dcef['message']);return null;}for(const _0x486ae0 of _0x30b2dd){try{const _0xe308da=_0x486ae0['url']();if(ORG_SETUP_AUDIT_FRAME_URL['test'](_0xe308da)){return _0x486ae0;}}catch{}}return null;}const _0x26fa75=_0x562ec2();if(_0x26fa75){let _0x38ea14='(url\x20unavailable)';try{_0x38ea14=_0x26fa75['url']();}catch{}logger['debug']('[H2]\x20orgsetupaudit\x20frame\x20after\x20'+(Date['now']()-_0xf6fbba)+'ms:\x20'+_0x38ea14['slice'](0x0,0x8c));return _0x26fa75;}let _0x349af5=![];let _0xcb5887;return new Promise(_0x55b878=>{const _0x32782d=()=>{if(_0xcb5887){clearInterval(_0xcb5887);}_0x5d062f['off']('framenavigated',_0x216e14);_0x5d062f['off']('close',_0x352a64);};function _0x352a64(){logger['debug']('[H2]\x20page\x20closed\x20while\x20waiting\x20for\x20orgsetupaudit\x20frame');_0x278e35(null);}function _0x278e35(_0xfdec2e){if(_0x349af5){return;}_0x349af5=!![];_0x32782d();if(_0xfdec2e){let _0x49ac32='(url\x20unavailable)';try{_0x49ac32=_0xfdec2e['url']();}catch{}logger['debug']('[H2]\x20orgsetupaudit\x20frame\x20after\x20'+(Date['now']()-_0xf6fbba)+'ms:\x20'+_0x49ac32['slice'](0x0,0x8c));}else{logger['debug']('[H2]\x20orgsetupaudit\x20frame\x20not\x20found\x20within\x20'+_0x4a762e+'ms');}_0x55b878(_0xfdec2e);}function _0x216e14(){const _0x57a54d=_0x562ec2();if(_0x57a54d){_0x278e35(_0x57a54d);}}_0x5d062f['on']('framenavigated',_0x216e14);_0x5d062f['on']('close',_0x352a64);_0xcb5887=setInterval(()=>{if(_0x349af5){return;}const _0x459a4a=_0x562ec2();if(_0x459a4a){_0x278e35(_0x459a4a);return;}if(Date['now']()-_0xf6fbba>=_0x4a762e){_0x278e35(null);}},FRAME_WAIT_FALLBACK_POLL_MS);});}async function waitForDownloadLinkAttached(_0x130605,_0xbfad1d=0x61a8){if(!_0x130605){return;}const _0x3fa977=Date['now']();const _0x3815e6=['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 _0x2681a8 of _0x3815e6){const _0x562816=Date['now']()-_0x3fa977;const _0x20847d=_0xbfad1d-_0x562816;if(_0x20847d<0x190){break;}try{await _0x130605['locator'](_0x2681a8)['first']()['waitFor']({'state':'attached','timeout':_0x20847d});logger['debug']('[H2]\x20Download\x20anchor\x20ready\x20('+_0x2681a8+')\x20after\x20'+(Date['now']()-_0x3fa977)+'ms');return;}catch{}}logger['debug']('[H2]\x20Download\x20anchor\x20not\x20attached\x20within\x20wait\x20(continuing\x20to\x20locator\x20search)');}async function firstVisibleMatchingAnchor(_0x350d61,_0x4114db){const _0x14938d=_0x350d61['locator'](_0x4114db);let _0x232208;try{_0x232208=await _0x14938d['count']();}catch(_0x4dc8dd){logger['debug']('firstVisibleMatchingAnchor\x20count:\x20'+_0x4dc8dd['message']);return null;}const _0x9ef56f=Math['min'](_0x232208,MAX_VISIBLE_ANCHOR_CANDIDATES);if(_0x232208>MAX_VISIBLE_ANCHOR_CANDIDATES){logger['debug']('firstVisibleMatchingAnchor:\x20checking\x20first\x20'+_0x9ef56f+'\x20of\x20'+_0x232208+'\x20matches\x20for\x20'+_0x4114db['slice'](0x0,0x28));}for(let _0x5c242c=0x0;_0x5c242c<_0x9ef56f;_0x5c242c++){const _0x57d481=_0x14938d['nth'](_0x5c242c);try{await _0x57d481['waitFor']({'state':'visible','timeout':VISIBLE_DOWNLOAD_LINK_TIMEOUT_MS});return _0x57d481;}catch{}}return null;}export function buildFrontdoorUrl(_0x17aaa6,_0x5b3968,_0x44d4b0){const _0xbd2b3c=_0x17aaa6['replace'](/\/+$/,'');return _0xbd2b3c+'/secur/frontdoor.jsp?sid='+encodeURIComponent(_0x5b3968)+'&retURL='+encodeURIComponent(_0x44d4b0);}export function isSalesforceLoginPage(_0x52087f,_0x277afe){return _0x52087f==='Login\x20|\x20Salesforce'||typeof _0x277afe==='string'&&/[&?]ec=302(?:&|$).*startURL=|[&?]startURL=.*[&?]ec=302(?:&|$)/['test'](_0x277afe);}async function findDownloadLocator(_0x328610,_0x1ef006){const _0x32bb12=async _0x249d95=>{for(const _0x123d09 of DOWNLOAD_LINK_SELECTORS){try{const _0x5d7d0b=await firstVisibleMatchingAnchor(_0x249d95,_0x123d09);if(_0x5d7d0b){logger['debug']('Found\x20visible\x20download\x20link:\x20'+_0x123d09);return _0x5d7d0b;}}catch(_0x5058e6){logger['debug']('Selector\x20'+_0x123d09+':\x20'+_0x5058e6['message']);}}return null;};if(_0x1ef006){const _0x2cc573=await _0x32bb12(_0x1ef006);if(_0x2cc573){return _0x2cc573;}}for(const _0x17494e of _0x328610['frames']()){try{const _0x1edd4d=_0x17494e['url']();if(ORG_SETUP_AUDIT_FRAME_URL['test'](_0x1edd4d)){const _0x2ee0d3=await _0x32bb12(_0x17494e);if(_0x2ee0d3){return _0x2ee0d3;}}}catch{continue;}}const _0xfa3732=['iframe[src*=\x22SecurityEvents\x22]','iframe'];for(const _0x432c79 of _0xfa3732){try{const _0x2181d2=_0x328610['frameLocator'](_0x432c79)['first']();for(const _0x9cf3ba of DOWNLOAD_LINK_SELECTORS){try{const _0x2bff39=await firstVisibleMatchingAnchor(_0x2181d2,_0x9cf3ba);if(_0x2bff39){logger['debug']('Found\x20visible\x20download\x20link:\x20'+_0x432c79+'\x20+\x20'+_0x9cf3ba);return _0x2bff39;}}catch{}}}catch{}}const _0x43811a=[_0x328610,..._0x328610['frames']()];for(const _0x168455 of FALLBACK_LINK_SELECTORS){for(const _0x5bf8b9 of _0x43811a){try{const _0x8e3d26=await firstVisibleMatchingAnchor(_0x5bf8b9,_0x168455);if(_0x8e3d26){logger['debug']('Found\x20visible\x20download\x20link\x20(fallback):\x20'+_0x168455);return _0x8e3d26;}}catch(_0x145128){logger['debug']('Fallback\x20selector\x20failed:\x20'+_0x168455+'\x20-\x20'+_0x145128['message']);}}}logger['debug']('No\x20download\x20link\x20found\x20with\x20any\x20selector');return null;}async function retrieveFile(){let _0x50bfd2=null;try{const _0x4345de='/lightning/setup/SecurityEvents/home';const _0x520e94=performance['now']();let _0x4f2b40=_0x520e94;let _0x4f7172=checkPlaywrightBrowsers();logger['debug']('[timing]\x20checkPlaywrightBrowsers:\x20'+Math['round'](performance['now']()-_0x4f2b40)+'ms');_0x4f2b40=performance['now']();if(!_0x4f7172){logger['debug']('Playwright\x20browsers\x20not\x20installed.\x20Installing\x20them\x20automatically...');await installPlaywrightBrowsers();_playwrightBrowsersAvailable=null;_0x4f7172=checkPlaywrightBrowsers();if(!_0x4f7172){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']()-_0x4f2b40)+'ms');_0x4f2b40=performance['now']();}_0x50bfd2=await chromium['launch']({'headless':!![]});const _0x2234c1=a0_0x15735c['join'](process['cwd'](),'tmp');if(!a0_0x2f3002['existsSync'](_0x2234c1)){a0_0x2f3002['mkdirSync'](_0x2234c1,{'recursive':!![]});}const _0x5ea50e=await _0x50bfd2['newContext']({'acceptDownloads':!![],'downloadsPath':_0x2234c1,'ignoreHTTPSErrors':!a0_0xe9912c['strictSsl']});const _0x2386b7=await _0x5ea50e['newPage']();logger['debug']('[timing]\x20chromium.launch\x20+\x20newContext\x20+\x20newPage:\x20'+Math['round'](performance['now']()-_0x4f2b40)+'ms');_0x4f2b40=performance['now']();const {instanceUrl:_0x5ff76f,accessToken:_0x5efe04}=state['org'];if(!_0x5ff76f||!_0x5efe04){throw new Error('Missing\x20instanceUrl\x20or\x20accessToken');}const _0xa759ed=buildFrontdoorUrl(_0x5ff76f,_0x5efe04,_0x4345de);logger['debug']('[H2]\x20Navigating\x20to:\x20'+_0x4345de);await _0x2386b7['goto'](_0xa759ed,{'waitUntil':'domcontentloaded','timeout':0xea60});logger['debug']('[timing]\x20page.goto(domcontentloaded):\x20'+Math['round'](performance['now']()-_0x4f2b40)+'ms');_0x4f2b40=performance['now']();let _0x3ceec3='n/a';try{_0x3ceec3=await _0x2386b7['title']();}catch(_0x1a7b7c){logger['debug']('[H2]\x20Failed\x20to\x20retrieve\x20page\x20title\x20after\x20load',{'error':_0x1a7b7c});}logger['debug']('[H2]\x20Page\x20loaded.\x20Title:\x20'+_0x3ceec3+',\x20URL:\x20'+_0x2386b7['url']());if(isSalesforceLoginPage(_0x3ceec3,_0x2386b7['url']())){throw new Error('Frontdoor\x20login\x20redirected\x20to\x20Salesforce\x20login\x20page:\x20'+_0x2386b7['url']());}try{await _0x2386b7['waitForLoadState']('load',{'timeout':0x2710});}catch{}logger['debug']('[timing]\x20page.title\x20+\x20waitForLoadState(load):\x20'+Math['round'](performance['now']()-_0x4f2b40)+'ms');_0x4f2b40=performance['now']();const _0x31dbb3=await waitForOrgSetupAuditFrame(_0x2386b7,0xea60);logger['debug']('[timing]\x20waitForOrgSetupAuditFrame:\x20'+Math['round'](performance['now']()-_0x4f2b40)+'ms');_0x4f2b40=performance['now']();await waitForDownloadLinkAttached(_0x31dbb3,0x61a8);logger['debug']('[timing]\x20waitForDownloadLinkAttached:\x20'+Math['round'](performance['now']()-_0x4f2b40)+'ms');_0x4f2b40=performance['now']();logger['debug']('[H1]\x20Resolving\x20download\x20control...');const _0x339e42=await findDownloadLocator(_0x2386b7,_0x31dbb3);logger['debug']('[timing]\x20findDownloadLocator:\x20'+Math['round'](performance['now']()-_0x4f2b40)+'ms');_0x4f2b40=performance['now']();if(!_0x339e42){logger['debug']('[H1]\x20Download\x20link\x20not\x20found,\x20listing\x20all\x20links\x20on\x20page...');await listAllLinks(_0x2386b7);throw new Error('Download\x20link\x20not\x20found\x20in\x20Setup\x20Audit\x20Trail.');}const _0x494065=0x7530;logger['debug']('[H1]\x20Subscribing\x20to\x20download\x20event,\x20then\x20clicking...');const _0x4dfbb8=_0x2386b7['waitForEvent']('download',{'timeout':_0x494065});await _0x339e42['click']({'timeout':0x1388});logger['debug']('[timing]\x20downloadLocator.click:\x20'+Math['round'](performance['now']()-_0x4f2b40)+'ms');_0x4f2b40=performance['now']();const _0x432938=await _0x4dfbb8;logger['debug']('[timing]\x20await\x20download\x20event\x20(after\x20click):\x20'+Math['round'](performance['now']()-_0x4f2b40)+'ms');logger['debug']('[SUCCESS]\x20Download\x20event\x20received,\x20saving\x20file...');const _0x5b95ba=a0_0x15735c['join'](_0x2234c1,'SetupAuditTrail.csv');_0x4f2b40=performance['now']();await _0x432938['saveAs'](_0x5b95ba);logger['debug']('[timing]\x20download.saveAs:\x20'+Math['round'](performance['now']()-_0x4f2b40)+'ms');logger['debug']('[timing]\x20retrieveFile\x20total:\x20'+Math['round'](performance['now']()-_0x520e94)+'ms');logger['debug']('[SUCCESS]\x20File\x20saved\x20to:\x20'+_0x5b95ba);return _0x5b95ba;}catch(_0x43567c){logger['error']('[ERROR]\x20Error\x20during\x20Setup\x20Audit\x20Trail\x20download:\x20'+_0x43567c['message']);throw _0x43567c;}finally{if(_0x50bfd2){await _0x50bfd2['close']();}}}function isRetryableDownloadError(_0x53f0f4){const _0x20a181=typeof _0x53f0f4?.['message']==='string'?_0x53f0f4['message']:'';if(!_0x20a181){return![];}if(_0x20a181['includes']('Frame\x20was\x20detached')||_0x20a181['includes']('Target\x20page,\x20context\x20or\x20browser\x20has\x20been\x20closed')){return!![];}if(_0x20a181['includes']('Download\x20link\x20not\x20found\x20in\x20Setup\x20Audit\x20Trail')){return!![];}if(_0x20a181['includes']('Timeout')&&_0x20a181['includes']('download')){return!![];}if(_0x20a181['includes']('net::')||_0x20a181['includes']('ERR_TOO_MANY_REDIRECTS')||_0x20a181['includes']('chrome-error://')){return!![];}return![];}async function retrieveFileWithRetry(_0x1cc3e6=0x3){let _0x5b5392;const _0xf72f56=0x7d0;for(let _0x8798da=0x1;_0x8798da<=_0x1cc3e6;_0x8798da++){try{return await retrieveFile();}catch(_0x2859a0){_0x5b5392=_0x2859a0;if(isRetryableDownloadError(_0x2859a0)&&_0x8798da<_0x1cc3e6){logger['debug']('Retryable\x20error\x20on\x20attempt\x20'+_0x8798da+'/'+_0x1cc3e6+':\x20'+_0x2859a0['message']+'.\x20Waiting\x20'+_0xf72f56+'ms...');await new Promise(_0x149ddb=>setTimeout(_0x149ddb,_0xf72f56));continue;}break;}}logger['error']('All\x20download\x20attempts\x20failed.\x20Last\x20error:\x20'+_0x5b5392?.['message']);throw _0x5b5392;}export async function retrieveSetupAuditTrailFile(){try{return await retrieveFileWithRetry();}catch(_0x5be1da){logger['error'](_0x5be1da,'Error\x20retrieving\x20Setup\x20Audit\x20Trail\x20file');throw _0x5be1da;}}
|
|
1
|
+
import{exec}from'node:child_process';import{performance}from'node:perf_hooks';import{promisify}from'node:util';import a0_0x5e4048 from'node:fs';import a0_0x226aac from'node:path';import{chromium}from'playwright';import a0_0x11ff83 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 _0x53aafc=chromium['executablePath']();_playwrightBrowsersAvailable=a0_0x5e4048['existsSync'](_0x53aafc);}catch{_playwrightBrowsersAvailable=![];}return _playwrightBrowsersAvailable;}async function installPlaywrightBrowsers(){try{logger['debug']('Installing\x20Playwright\x20browsers...');const _0x120875=new URL('../../node_modules/.bin/playwright',import.meta.url)['pathname'];const _0x59757a=a0_0x5e4048['existsSync'](_0x120875)?'\x22'+_0x120875+'\x22\x20install\x20chromium':'npx\x20playwright\x20install\x20chromium';const {stderr:_0x107c31}=await execAsync(_0x59757a);if(_0x107c31&&!_0x107c31['includes']('chromium')){logger['warn']('Playwright\x20installation\x20stderr:',_0x107c31);}logger['debug']('Playwright\x20browsers\x20installed\x20successfully');return!![];}catch(_0x2a7666){logger['error']('Failed\x20to\x20install\x20Playwright\x20browsers:',_0x2a7666['message']);throw new Error('Failed\x20to\x20install\x20Playwright\x20browsers.\x20Please\x20run\x20manually:\x20npx\x20playwright\x20install\x20chromium');}}async function listAllLinks(_0x35dbe0){try{const _0x2bbc91=await _0x35dbe0['locator']('a')['all']();if(_0x2bbc91['length']===0x0){logger['debug']('No\x20links\x20found\x20on\x20page');return;}logger['debug']('Found\x20'+_0x2bbc91['length']+'\x20links\x20on\x20page:');for(let _0x38d87a=0x0;_0x38d87a<Math['min'](_0x2bbc91['length'],0x14);_0x38d87a++){const _0xc021c9=await _0x2bbc91[_0x38d87a]['getAttribute']('href');const text=await _0x2bbc91[_0x38d87a]['textContent']();logger['debug']('\x20\x20['+_0x38d87a+']\x20href=\x22'+_0xc021c9+'\x22\x20text=\x22'+text?.['trim']()['slice'](0x0,0x32)+'\x22');}if(_0x2bbc91['length']>0x14){logger['debug']('\x20\x20...\x20and\x20'+(_0x2bbc91['length']-0x14)+'\x20more\x20links');}}catch(_0x3a5001){logger['debug']('Error\x20listing\x20links:\x20'+_0x3a5001['message']);}}async function waitForOrgSetupAuditFrame(_0x454dbf,_0x54d518=0xea60){const _0x2b823e=Date['now']();function _0x2e45f5(){let _0x40f4f2;try{_0x40f4f2=_0x454dbf['frames']();}catch(_0x505aae){logger['debug']('[H2]\x20tryMatch\x20page.frames:\x20'+_0x505aae['message']);return null;}for(const _0x5f583c of _0x40f4f2){try{const _0x3a108a=_0x5f583c['url']();if(ORG_SETUP_AUDIT_FRAME_URL['test'](_0x3a108a)){return _0x5f583c;}}catch{}}return null;}const _0x344e0c=_0x2e45f5();if(_0x344e0c){let _0x1d1c1d='(url\x20unavailable)';try{_0x1d1c1d=_0x344e0c['url']();}catch{}logger['debug']('[H2]\x20orgsetupaudit\x20frame\x20after\x20'+(Date['now']()-_0x2b823e)+'ms:\x20'+_0x1d1c1d['slice'](0x0,0x8c));return _0x344e0c;}let _0x3df68f=![];let _0xae949b;return new Promise(_0x50f1a2=>{const _0x1ed5e8=()=>{if(_0xae949b){clearInterval(_0xae949b);}_0x454dbf['off']('framenavigated',_0x3cbb8c);_0x454dbf['off']('close',_0x8df044);};function _0x8df044(){logger['debug']('[H2]\x20page\x20closed\x20while\x20waiting\x20for\x20orgsetupaudit\x20frame');_0x835b08(null);}function _0x835b08(_0x3b9aea){if(_0x3df68f){return;}_0x3df68f=!![];_0x1ed5e8();if(_0x3b9aea){let _0x415cec='(url\x20unavailable)';try{_0x415cec=_0x3b9aea['url']();}catch{}logger['debug']('[H2]\x20orgsetupaudit\x20frame\x20after\x20'+(Date['now']()-_0x2b823e)+'ms:\x20'+_0x415cec['slice'](0x0,0x8c));}else{logger['debug']('[H2]\x20orgsetupaudit\x20frame\x20not\x20found\x20within\x20'+_0x54d518+'ms');}_0x50f1a2(_0x3b9aea);}function _0x3cbb8c(){const _0x216a3c=_0x2e45f5();if(_0x216a3c){_0x835b08(_0x216a3c);}}_0x454dbf['on']('framenavigated',_0x3cbb8c);_0x454dbf['on']('close',_0x8df044);_0xae949b=setInterval(()=>{if(_0x3df68f){return;}const _0x134dd3=_0x2e45f5();if(_0x134dd3){_0x835b08(_0x134dd3);return;}if(Date['now']()-_0x2b823e>=_0x54d518){_0x835b08(null);}},FRAME_WAIT_FALLBACK_POLL_MS);});}async function waitForDownloadLinkAttached(_0x12c462,_0x3cc8be=0x61a8){if(!_0x12c462){return;}const _0x1c0b3b=Date['now']();const _0x4d28f4=['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 _0x3ffb85 of _0x4d28f4){const _0x5e32bb=Date['now']()-_0x1c0b3b;const _0x2dca43=_0x3cc8be-_0x5e32bb;if(_0x2dca43<0x190){break;}try{await _0x12c462['locator'](_0x3ffb85)['first']()['waitFor']({'state':'attached','timeout':_0x2dca43});logger['debug']('[H2]\x20Download\x20anchor\x20ready\x20('+_0x3ffb85+')\x20after\x20'+(Date['now']()-_0x1c0b3b)+'ms');return;}catch{}}logger['debug']('[H2]\x20Download\x20anchor\x20not\x20attached\x20within\x20wait\x20(continuing\x20to\x20locator\x20search)');}async function firstVisibleMatchingAnchor(_0x3af6ab,_0x37de24){const _0x3d4a5d=_0x3af6ab['locator'](_0x37de24);let _0x297643;try{_0x297643=await _0x3d4a5d['count']();}catch(_0x400772){logger['debug']('firstVisibleMatchingAnchor\x20count:\x20'+_0x400772['message']);return null;}const _0x10fdf3=Math['min'](_0x297643,MAX_VISIBLE_ANCHOR_CANDIDATES);if(_0x297643>MAX_VISIBLE_ANCHOR_CANDIDATES){logger['debug']('firstVisibleMatchingAnchor:\x20checking\x20first\x20'+_0x10fdf3+'\x20of\x20'+_0x297643+'\x20matches\x20for\x20'+_0x37de24['slice'](0x0,0x28));}for(let _0x1f25f3=0x0;_0x1f25f3<_0x10fdf3;_0x1f25f3++){const _0x587f39=_0x3d4a5d['nth'](_0x1f25f3);try{await _0x587f39['waitFor']({'state':'visible','timeout':VISIBLE_DOWNLOAD_LINK_TIMEOUT_MS});return _0x587f39;}catch{}}return null;}export function buildFrontdoorUrl(_0x423b35,_0x455838,_0x24cb30){const _0x51d166=_0x423b35['replace'](/\/+$/,'');return _0x51d166+'/secur/frontdoor.jsp?sid='+encodeURIComponent(_0x455838)+'&retURL='+encodeURIComponent(_0x24cb30);}export function isSalesforceLoginPage(_0x3314cb,_0x229896){return _0x3314cb==='Login\x20|\x20Salesforce'||typeof _0x229896==='string'&&/[&?]ec=302(?:&|$).*startURL=|[&?]startURL=.*[&?]ec=302(?:&|$)/['test'](_0x229896);}async function findDownloadLocator(_0x4424c1,_0x42fe73){const _0x37cadd=async _0xad6ffa=>{for(const _0x16bce4 of DOWNLOAD_LINK_SELECTORS){try{const _0x2e2a05=await firstVisibleMatchingAnchor(_0xad6ffa,_0x16bce4);if(_0x2e2a05){logger['debug']('Found\x20visible\x20download\x20link:\x20'+_0x16bce4);return _0x2e2a05;}}catch(_0x245749){logger['debug']('Selector\x20'+_0x16bce4+':\x20'+_0x245749['message']);}}return null;};if(_0x42fe73){const _0x2d8f67=await _0x37cadd(_0x42fe73);if(_0x2d8f67){return _0x2d8f67;}}for(const _0x155b6c of _0x4424c1['frames']()){try{const _0x57bdf5=_0x155b6c['url']();if(ORG_SETUP_AUDIT_FRAME_URL['test'](_0x57bdf5)){const _0x576633=await _0x37cadd(_0x155b6c);if(_0x576633){return _0x576633;}}}catch{continue;}}const _0x209556=['iframe[src*=\x22SecurityEvents\x22]','iframe'];for(const _0x5c75fa of _0x209556){try{const _0x27d4fe=_0x4424c1['frameLocator'](_0x5c75fa)['first']();for(const _0x578c1e of DOWNLOAD_LINK_SELECTORS){try{const _0x3025c5=await firstVisibleMatchingAnchor(_0x27d4fe,_0x578c1e);if(_0x3025c5){logger['debug']('Found\x20visible\x20download\x20link:\x20'+_0x5c75fa+'\x20+\x20'+_0x578c1e);return _0x3025c5;}}catch{}}}catch{}}const _0x135bde=[_0x4424c1,..._0x4424c1['frames']()];for(const _0x4ad13a of FALLBACK_LINK_SELECTORS){for(const _0x10096f of _0x135bde){try{const _0x2eb5f5=await firstVisibleMatchingAnchor(_0x10096f,_0x4ad13a);if(_0x2eb5f5){logger['debug']('Found\x20visible\x20download\x20link\x20(fallback):\x20'+_0x4ad13a);return _0x2eb5f5;}}catch(_0x25a7b5){logger['debug']('Fallback\x20selector\x20failed:\x20'+_0x4ad13a+'\x20-\x20'+_0x25a7b5['message']);}}}logger['debug']('No\x20download\x20link\x20found\x20with\x20any\x20selector');return null;}async function retrieveFile(){let _0x3d56f4=null;try{const _0x487da6='/lightning/setup/SecurityEvents/home';const _0x194ea1=performance['now']();let _0x39fc56=_0x194ea1;let _0x5b410c=checkPlaywrightBrowsers();logger['debug']('[timing]\x20checkPlaywrightBrowsers:\x20'+Math['round'](performance['now']()-_0x39fc56)+'ms');_0x39fc56=performance['now']();if(!_0x5b410c){logger['debug']('Playwright\x20browsers\x20not\x20installed.\x20Installing\x20them\x20automatically...');await installPlaywrightBrowsers();_playwrightBrowsersAvailable=null;_0x5b410c=checkPlaywrightBrowsers();if(!_0x5b410c){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']()-_0x39fc56)+'ms');_0x39fc56=performance['now']();}_0x3d56f4=await chromium['launch']({'headless':!![]});const _0x197058=a0_0x226aac['join'](process['cwd'](),'tmp');if(!a0_0x5e4048['existsSync'](_0x197058)){a0_0x5e4048['mkdirSync'](_0x197058,{'recursive':!![]});}const _0x287cb0=await _0x3d56f4['newContext']({'acceptDownloads':!![],'downloadsPath':_0x197058,'ignoreHTTPSErrors':!a0_0x11ff83['strictSsl']});const _0x54a82c=await _0x287cb0['newPage']();logger['debug']('[timing]\x20chromium.launch\x20+\x20newContext\x20+\x20newPage:\x20'+Math['round'](performance['now']()-_0x39fc56)+'ms');_0x39fc56=performance['now']();const {instanceUrl:_0x181bd1,accessToken:_0x4374fc}=state['org'];if(!_0x181bd1||!_0x4374fc){throw new Error('Missing\x20instanceUrl\x20or\x20accessToken');}const _0x2d7043=buildFrontdoorUrl(_0x181bd1,_0x4374fc,_0x487da6);logger['debug']('[H2]\x20Navigating\x20to:\x20'+_0x487da6);await _0x54a82c['goto'](_0x2d7043,{'waitUntil':'domcontentloaded','timeout':0xea60});logger['debug']('[timing]\x20page.goto(domcontentloaded):\x20'+Math['round'](performance['now']()-_0x39fc56)+'ms');_0x39fc56=performance['now']();let _0x1a7744='n/a';try{_0x1a7744=await _0x54a82c['title']();}catch(_0x551b7a){logger['debug']('[H2]\x20Failed\x20to\x20retrieve\x20page\x20title\x20after\x20load',{'error':_0x551b7a});}logger['debug']('[H2]\x20Page\x20loaded.\x20Title:\x20'+_0x1a7744+',\x20URL:\x20'+_0x54a82c['url']());if(isSalesforceLoginPage(_0x1a7744,_0x54a82c['url']())){throw new Error('Frontdoor\x20login\x20redirected\x20to\x20Salesforce\x20login\x20page:\x20'+_0x54a82c['url']());}try{await _0x54a82c['waitForLoadState']('load',{'timeout':0x2710});}catch{}logger['debug']('[timing]\x20page.title\x20+\x20waitForLoadState(load):\x20'+Math['round'](performance['now']()-_0x39fc56)+'ms');_0x39fc56=performance['now']();const _0x57cce4=await waitForOrgSetupAuditFrame(_0x54a82c,0xea60);logger['debug']('[timing]\x20waitForOrgSetupAuditFrame:\x20'+Math['round'](performance['now']()-_0x39fc56)+'ms');_0x39fc56=performance['now']();await waitForDownloadLinkAttached(_0x57cce4,0x61a8);logger['debug']('[timing]\x20waitForDownloadLinkAttached:\x20'+Math['round'](performance['now']()-_0x39fc56)+'ms');_0x39fc56=performance['now']();logger['debug']('[H1]\x20Resolving\x20download\x20control...');const _0x54f59f=await findDownloadLocator(_0x54a82c,_0x57cce4);logger['debug']('[timing]\x20findDownloadLocator:\x20'+Math['round'](performance['now']()-_0x39fc56)+'ms');_0x39fc56=performance['now']();if(!_0x54f59f){logger['debug']('[H1]\x20Download\x20link\x20not\x20found,\x20listing\x20all\x20links\x20on\x20page...');await listAllLinks(_0x54a82c);throw new Error('Download\x20link\x20not\x20found\x20in\x20Setup\x20Audit\x20Trail.');}const _0x19d2ed=0x7530;logger['debug']('[H1]\x20Subscribing\x20to\x20download\x20event,\x20then\x20clicking...');const _0x5344a7=_0x54a82c['waitForEvent']('download',{'timeout':_0x19d2ed});await _0x54f59f['click']({'timeout':0x1388});logger['debug']('[timing]\x20downloadLocator.click:\x20'+Math['round'](performance['now']()-_0x39fc56)+'ms');_0x39fc56=performance['now']();const _0x12cf23=await _0x5344a7;logger['debug']('[timing]\x20await\x20download\x20event\x20(after\x20click):\x20'+Math['round'](performance['now']()-_0x39fc56)+'ms');logger['debug']('[SUCCESS]\x20Download\x20event\x20received,\x20saving\x20file...');const _0x43bf69=a0_0x226aac['join'](_0x197058,'SetupAuditTrail.csv');_0x39fc56=performance['now']();await _0x12cf23['saveAs'](_0x43bf69);logger['debug']('[timing]\x20download.saveAs:\x20'+Math['round'](performance['now']()-_0x39fc56)+'ms');logger['debug']('[timing]\x20retrieveFile\x20total:\x20'+Math['round'](performance['now']()-_0x194ea1)+'ms');logger['debug']('[SUCCESS]\x20File\x20saved\x20to:\x20'+_0x43bf69);return _0x43bf69;}catch(_0x58289d){logger['error']('[ERROR]\x20Error\x20during\x20Setup\x20Audit\x20Trail\x20download:\x20'+_0x58289d['message']);throw _0x58289d;}finally{if(_0x3d56f4){await _0x3d56f4['close']();}}}function isRetryableDownloadError(_0x430fbc){const _0x1dd3bc=typeof _0x430fbc?.['message']==='string'?_0x430fbc['message']:'';if(!_0x1dd3bc){return![];}if(_0x1dd3bc['includes']('Frame\x20was\x20detached')||_0x1dd3bc['includes']('Target\x20page,\x20context\x20or\x20browser\x20has\x20been\x20closed')){return!![];}if(_0x1dd3bc['includes']('Download\x20link\x20not\x20found\x20in\x20Setup\x20Audit\x20Trail')){return!![];}if(_0x1dd3bc['includes']('Timeout')&&_0x1dd3bc['includes']('download')){return!![];}if(_0x1dd3bc['includes']('net::')||_0x1dd3bc['includes']('ERR_TOO_MANY_REDIRECTS')||_0x1dd3bc['includes']('chrome-error://')){return!![];}return![];}async function retrieveFileWithRetry(_0x6b7f8=0x3){let _0x25cd8c;const _0x52a769=0x7d0;for(let _0x243cb6=0x1;_0x243cb6<=_0x6b7f8;_0x243cb6++){try{return await retrieveFile();}catch(_0x496ad1){_0x25cd8c=_0x496ad1;if(isRetryableDownloadError(_0x496ad1)&&_0x243cb6<_0x6b7f8){logger['debug']('Retryable\x20error\x20on\x20attempt\x20'+_0x243cb6+'/'+_0x6b7f8+':\x20'+_0x496ad1['message']+'.\x20Waiting\x20'+_0x52a769+'ms...');await new Promise(_0x158470=>setTimeout(_0x158470,_0x52a769));continue;}break;}}logger['error']('All\x20download\x20attempts\x20failed.\x20Last\x20error:\x20'+_0x25cd8c?.['message']);throw _0x25cd8c;}export async function retrieveSetupAuditTrailFile(){try{return await retrieveFileWithRetry();}catch(_0x15bda4){logger['error'](_0x15bda4,'Error\x20retrieving\x20Setup\x20Audit\x20Trail\x20file');throw _0x15bda4;}}
|