@profoundlogic/coderflow-server 0.4.7 → 0.4.9
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/README.md +3 -1
- package/dist/README.md +3 -1
- package/dist/base-image/Dockerfile +5 -3
- package/dist/base-image/entrypoint.sh +76 -2
- package/dist/coder-server.js +1 -1
- package/dist/config.js +1 -1
- package/dist/lib/agent-keepalive.js +1 -1
- package/dist/lib/agent-models.js +1 -1
- package/dist/lib/api-keys.js +1 -1
- package/dist/lib/apiKeys.js +1 -1
- package/dist/lib/app-server-ports.js +1 -1
- package/dist/lib/auto-judge.js +1 -1
- package/dist/lib/automation-service.js +1 -1
- package/dist/lib/basic-auth.js +1 -1
- package/dist/lib/bindings.js +1 -1
- package/dist/lib/build-history.js +1 -1
- package/dist/lib/build-output-service.js +1 -1
- package/dist/lib/build-scheduler.js +1 -1
- package/dist/lib/build-service.js +1 -1
- package/dist/lib/ca-certificates.js +1 -1
- package/dist/lib/claude-oauth-refresh.js +1 -1
- package/dist/lib/cli/build.js +1 -1
- package/dist/lib/cli/config-command.js +1 -1
- package/dist/lib/cli/config.js +1 -1
- package/dist/lib/cli/create-user.js +1 -1
- package/dist/lib/cli/init.js +1 -1
- package/dist/lib/cli/jira.js +1 -1
- package/dist/lib/cli/license.js +1 -1
- package/dist/lib/cli/migrate-rbac.js +1 -0
- package/dist/lib/cli/server-manager.js +1 -1
- package/dist/lib/config-migration.js +1 -1
- package/dist/lib/container-credential-sync.js +1 -1
- package/dist/lib/container-tokens.js +1 -1
- package/dist/lib/data-dir.js +1 -1
- package/dist/lib/deployment-history.js +1 -1
- package/dist/lib/deployment-service.js +1 -1
- package/dist/lib/docker-utils.js +1 -1
- package/dist/lib/email.js +1 -1
- package/dist/lib/emailTemplates.js +1 -1
- package/dist/lib/entitlement.js +1 -1
- package/dist/lib/external-connections.js +1 -0
- package/dist/lib/fetch-utils.js +1 -1
- package/dist/lib/git-commit-details-route.js +1 -1
- package/dist/lib/git-history-diff-guardrails.js +1 -1
- package/dist/lib/git-provider-service.js +1 -1
- package/dist/lib/git-provider-setup/github-setup-handler.js +1 -1
- package/dist/lib/git-provider-setup/index.js +1 -1
- package/dist/lib/git-provider-setup/setup-factory.js +1 -1
- package/dist/lib/git-provider-setup/setup-interface.js +1 -1
- package/dist/lib/git-providers/azure-devops-provider.js +1 -1
- package/dist/lib/git-providers/github-app-provider.js +1 -1
- package/dist/lib/git-providers/index.js +1 -1
- package/dist/lib/git-providers/provider-factory.js +1 -1
- package/dist/lib/git-providers/provider-interface.js +1 -1
- package/dist/lib/github-urls.js +1 -1
- package/dist/lib/group-objective-linking.js +1 -1
- package/dist/lib/jira-client.js +1 -1
- package/dist/lib/judge-blinding.js +1 -1
- package/dist/lib/logger.js +1 -1
- package/dist/lib/migration-to-scoped-rbac.js +1 -1
- package/dist/lib/model-fetcher.js +1 -1
- package/dist/lib/notifications.js +1 -1
- package/dist/lib/objective-context.js +1 -1
- package/dist/lib/oidc-auth.js +1 -1
- package/dist/lib/oidc-device-flow.js +1 -1
- package/dist/lib/passwordTokens.js +1 -1
- package/dist/lib/permission-resolver.js +1 -1
- package/dist/lib/pin-cascade.js +1 -1
- package/dist/lib/provider-accounts.js +1 -1
- package/dist/lib/provider-oauth.js +1 -1
- package/dist/lib/provider-profile.js +1 -1
- package/dist/lib/provider-token-refresh.js +1 -1
- package/dist/lib/rbac-user-state.js +1 -0
- package/dist/lib/request-url.js +1 -1
- package/dist/lib/rewind.js +1 -1
- package/dist/lib/role-definitions.js +1 -1
- package/dist/lib/roles.js +1 -1
- package/dist/lib/scoped-rbac-migration-runner.js +1 -0
- package/dist/lib/secrets.js +1 -1
- package/dist/lib/setup-repo-git-auth.js +1 -1
- package/dist/lib/state-capture.js +1 -1
- package/dist/lib/static-files.js +1 -1
- package/dist/lib/task-name-format.js +1 -1
- package/dist/lib/task-name-generator.js +1 -1
- package/dist/lib/task-source-metadata.js +1 -1
- package/dist/lib/teams.js +1 -1
- package/dist/lib/user-git-oauth.js +1 -1
- package/dist/lib/user-git-tokens.js +1 -1
- package/dist/lib/users.js +1 -1
- package/dist/middleware/requireAuth.js +1 -1
- package/dist/middleware/requireInit.js +1 -1
- package/dist/middleware/requirePermission.js +1 -1
- package/dist/package.json +2 -1
- package/dist/playwright.config.js +1 -1
- package/dist/routes/apiKeys.js +1 -1
- package/dist/routes/auth-oidc.js +1 -1
- package/dist/routes/auth.js +1 -1
- package/dist/routes/automations.js +1 -1
- package/dist/routes/bindings.js +1 -1
- package/dist/routes/build.js +1 -1
- package/dist/routes/containers.js +1 -1
- package/dist/routes/deploy-task.js +1 -1
- package/dist/routes/environment-management.js +1 -1
- package/dist/routes/environments.js +1 -1
- package/dist/routes/external-skills.js +1 -1
- package/dist/routes/git-credentials.js +1 -1
- package/dist/routes/git-oauth.js +1 -1
- package/dist/routes/git-provider-setup.js +1 -1
- package/dist/routes/health.js +1 -1
- package/dist/routes/jira.js +1 -1
- package/dist/routes/objective-management.js +1 -1
- package/dist/routes/password.js +1 -1
- package/dist/routes/prompt.js +1 -1
- package/dist/routes/provider-auth.js +1 -1
- package/dist/routes/qa.js +1 -1
- package/dist/routes/roles.js +1 -1
- package/dist/routes/settings.js +1 -1
- package/dist/routes/skill-management.js +1 -1
- package/dist/routes/skills.js +1 -1
- package/dist/routes/tasks.js +1 -1
- package/dist/routes/teams.js +1 -1
- package/dist/routes/templates.js +1 -1
- package/dist/routes/test-task.js +1 -1
- package/dist/routes/test.js +1 -1
- package/dist/routes/users.js +1 -1
- package/dist/routes/visualizations.js +1 -1
- package/dist/scripts/create-user.js +1 -1
- package/dist/scripts/migrate-config-to-data-dir.js +1 -1
- package/dist/scripts/migrate-to-scoped-rbac.js +1 -1
- package/dist/start.js +1 -1
- package/dist/web-ui/public/activity-detail-modal.js +1 -1
- package/dist/web-ui/public/activity-feed.js +1 -1
- package/dist/web-ui/public/activity-formatters.js +1 -1
- package/dist/web-ui/public/agent-event-parser.js +1 -1
- package/dist/web-ui/public/app.js +1 -1
- package/dist/web-ui/public/approve-dialog.js +1 -1
- package/dist/web-ui/public/automation-links.js +1 -1
- package/dist/web-ui/public/automation-schedule.js +1 -1
- package/dist/web-ui/public/comments-widget.js +1 -1
- package/dist/web-ui/public/diff-utils.js +1 -1
- package/dist/web-ui/public/docs/admin/environments.md +75 -0
- package/dist/web-ui/public/docs/admin/installation.md +9 -1
- package/dist/web-ui/public/environments.css +356 -0
- package/dist/web-ui/public/environments.html +316 -0
- package/dist/web-ui/public/environments.js +1 -1
- package/dist/web-ui/public/feedback-widget.js +1 -1
- package/dist/web-ui/public/git-history-lazy-utils.js +1 -1
- package/dist/web-ui/public/git-history.js +1 -1
- package/dist/web-ui/public/git-status.js +1 -1
- package/dist/web-ui/public/index.js +1 -1
- package/dist/web-ui/public/login.js +1 -1
- package/dist/web-ui/public/markdown-editor.js +1 -1
- package/dist/web-ui/public/markdown-file-editor.js +1 -1
- package/dist/web-ui/public/modal-maximize.js +1 -1
- package/dist/web-ui/public/notifications.js +1 -1
- package/dist/web-ui/public/pr-dialog.js +1 -1
- package/dist/web-ui/public/roles.js +1 -1
- package/dist/web-ui/public/server-health.js +1 -1
- package/dist/web-ui/public/settings.html +1 -2
- package/dist/web-ui/public/settings.js +1 -1
- package/dist/web-ui/public/setup-password.js +1 -1
- package/dist/web-ui/public/skills.js +1 -1
- package/dist/web-ui/public/sse-client.js +1 -1
- package/dist/web-ui/public/sse-shared-worker.js +1 -1
- package/dist/web-ui/public/styles.css +7 -7
- package/dist/web-ui/public/task.js +1 -1
- package/dist/web-ui/public/teams.js +1 -1
- package/dist/web-ui/public/terminal.js +1 -1
- package/dist/web-ui/public/theme.js +1 -1
- package/dist/web-ui/public/users.js +1 -1
- package/dist/web-ui/public/variant-grouping.js +1 -1
- package/package.json +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x1822ed,_0x595a30){const _0x632652={_0x4ad24f:0x5c1,_0x25e01f:0x589,_0x43652e:0x5ce,_0x113b5a:0x603,_0x39c6bd:0x601,_0x38cd59:0x58f,_0x1ebd72:0x575,_0x263507:0x582,_0x3a8240:0x525,_0x372a09:0x535,_0x36d016:0x57b,_0x5e5654:0x586,_0x28111c:0x5aa,_0x18da36:0x570,_0x2da5f6:0x588,_0x4c0d1d:0x5ed,_0x1fa001:0x5fe,_0x26c72b:0x625,_0x4132ae:0x554,_0xcc961f:0x579,_0x5bd0fb:0x56b,_0x1c745b:0x5ea,_0x386af2:0x552},_0x1ae047={_0x34f5f7:0x371};function _0x1c3c33(_0x5e3ec9,_0x109294,_0x136688,_0x42d719){return _0x44b4(_0x5e3ec9-0x3af,_0x136688);}const _0x1cf23b=_0x1822ed();function _0x50d49c(_0x359be0,_0x110d13,_0x41537d,_0x53c3a0){return _0x44b4(_0x53c3a0-_0x1ae047._0x34f5f7,_0x41537d);}while(!![]){try{const _0x5ac793=-parseInt(_0x1c3c33(_0x632652._0x4ad24f,_0x632652._0x25e01f,0x588,0x5fe))/(-0x2*0x25f+-0x13*0xcc+0x13e3)*(parseInt(_0x1c3c33(0x5f5,_0x632652._0x43652e,_0x632652._0x113b5a,_0x632652._0x39c6bd))/(-0xa91+-0x58b+0x1*0x101e))+-parseInt(_0x1c3c33(_0x632652._0x38cd59,0x589,_0x632652._0x1ebd72,0x5aa))/(-0x1902+0x1*0x691+0x1274)*(parseInt(_0x50d49c(_0x632652._0x263507,_0x632652._0x3a8240,0x4e8,_0x632652._0x372a09))/(0x4b*-0x7a+-0xd2a+-0x1*-0x30ec))+-parseInt(_0x1c3c33(0x598,0x564,_0x632652._0x36d016,_0x632652._0x5e5654))/(-0xe68+0x3bc+0x11*0xa1)+parseInt(_0x1c3c33(_0x632652._0x28111c,_0x632652._0x18da36,0x5cf,_0x632652._0x2da5f6))/(-0xfa5+0x2b*-0x47+0x373*0x8)*(-parseInt(_0x1c3c33(_0x632652._0x4c0d1d,_0x632652._0x1fa001,0x5a3,_0x632652._0x26c72b))/(0x82a+-0x2cd*0xd+-0xb*-0x292))+parseInt(_0x1c3c33(0x58c,0x56d,_0x632652._0x4132ae,0x543))/(0x129a*-0x1+-0x12db+0x257d)*(parseInt(_0x50d49c(_0x632652._0xcc961f,0x557,0x56f,0x569))/(-0x1e41+-0x10ee+0x2f38))+-parseInt(_0x50d49c(0x558,0x551,0x58b,_0x632652._0x5bd0fb))/(0x182f+-0x1*-0xa4e+-0x2273)+parseInt(_0x1c3c33(0x59e,0x5cf,_0x632652._0x1c745b,_0x632652._0x386af2))/(-0xb*-0x2ab+0x23c7+-0x4115);if(_0x5ac793===_0x595a30)break;else _0x1cf23b['push'](_0x1cf23b['shift']());}catch(_0x1211e5){_0x1cf23b['push'](_0x1cf23b['shift']());}}}(_0x2aee,-0x1*0x4526b+-0x2ca5a+-0x16133*-0x7));import{promises as _0x5077e0}from'fs';import _0x3c871a from'path';import _0x58a989 from'crypto';import{DATA_DIR}from'./data-dir.js';const CA_CERTS_CONFIG_FILE=_0x224eda(0x2bf,0x2e0,0x2ef,0x2a6)+_0x1d09d8(0x93,0x18,0x53,0x20);let _customCaCertsCache=undefined;export async function loadCaCertsConfig(){const _0x14281a={_0x544bfb:0x86,_0x43b17e:0xa9,_0x5c6066:0x2d7,_0x5435b5:0x28d,_0x56969f:0x95,_0x140c70:0x93,_0x1c7bef:0x97,_0x473723:0xc0,_0x3e0584:0x90,_0x3e9eb6:0xb3,_0x561658:0xc2,_0x4d12e0:0xb3,_0x16912a:0xc4,_0x47a197:0x280,_0x325dd9:0x251,_0x1e7af3:0x2a8,_0x4c0dd8:0x2ca,_0x213456:0x259,_0x2a9925:0x230,_0x4541e8:0x1ee,_0x1f16ee:0x239,_0x16828b:0x282,_0x43eff8:0x57,_0x2c4fe3:0xc2,_0x360f3c:0x106,_0x9a1964:0x56,_0x3d3e19:0xba,_0xe6cdd3:0x80,_0xb742fa:0xb5,_0x47d2fd:0x26b,_0x3c443e:0x26d,_0x558e67:0x268,_0x85c7e2:0x245,_0x156eda:0x24d,_0x3cace7:0xc4,_0x51c3c2:0x52,_0x4d22fe:0x75,_0x3db585:0xb6,_0x2535d9:0x40,_0x17c387:0x15,_0x4d8048:0x249,_0x1a4840:0x5a,_0x1214d5:0x55,_0x1551c9:0x219,_0x5d2a49:0x257,_0x4e49df:0x81,_0x8a69d6:0x30,_0x1fe24e:0xfe,_0x279e05:0x111,_0x1d97cd:0x2b9,_0x150031:0x2db,_0x5cc710:0xd6,_0x5d05b0:0x101,_0xb38c1d:0x29f,_0x3a6ba1:0x273,_0x21095b:0x275,_0x461783:0xb3,_0x589c42:0x8d,_0x834e2b:0x4a,_0x3d3201:0x95,_0x388559:0x53,_0x1eddf4:0x69,_0x3d1bb7:0xd9,_0x58477f:0xaf,_0x113f84:0x81,_0x5bad11:0x7f,_0x2799ed:0x24a,_0x4749a0:0x26d,_0x214316:0x54,_0x33370f:0x9d,_0x49187a:0x7e,_0x594b98:0x28a,_0x46603d:0x294,_0x34a198:0x272,_0x48f268:0x2d2,_0x4d781f:0x29b,_0x543804:0x2be,_0x54b9a2:0x8b,_0x4dc15e:0x62,_0x5ad420:0x48},_0x19a8dd={_0x2d3b05:0x121,_0x2031d6:0xdb},_0x518ba6={};_0x518ba6[_0x3cf307(0xca,0x81,_0x14281a._0x544bfb,_0x14281a._0x43b17e)]=function(_0x27796f,_0x11c1ab){return _0x27796f+_0x11c1ab;},_0x518ba6[_0x70e560(_0x14281a._0x5c6066,_0x14281a._0x5c6066,_0x14281a._0x5435b5,0x282)]=_0x3cf307(_0x14281a._0x56969f,0x9d,0x74,_0x14281a._0x140c70)+_0x3cf307(_0x14281a._0x1c7bef,_0x14281a._0x473723,_0x14281a._0x3e0584,_0x14281a._0x3e9eb6),_0x518ba6[_0x3cf307(_0x14281a._0x561658,_0x14281a._0x4d12e0,0xcd,_0x14281a._0x16912a)]=_0x70e560(0x299,_0x14281a._0x47a197,_0x14281a._0x325dd9,0x20d),_0x518ba6[_0x70e560(_0x14281a._0x1e7af3,_0x14281a._0x4c0dd8,0x29b,0x27a)]=_0x70e560(_0x14281a._0x213456,0x201,_0x14281a._0x2a9925,_0x14281a._0x4541e8),_0x518ba6[_0x70e560(_0x14281a._0x1f16ee,0x246,0x259,_0x14281a._0x16828b)]=_0x3cf307(0x75,_0x14281a._0x43eff8,0x1d,0x86),_0x518ba6[_0x3cf307(0xe2,0xc2,_0x14281a._0x2c4fe3,_0x14281a._0x360f3c)]=function(_0x40591c,_0x2e6e54){return _0x40591c===_0x2e6e54;},_0x518ba6['cNWQK']=_0x70e560(0x2a6,0x241,0x25d,0x21e),_0x518ba6['RmAtu']=_0x3cf307(0x86,0x9e,_0x14281a._0x9a1964,0x67),_0x518ba6[_0x3cf307(0xab,_0x14281a._0x3d3e19,_0x14281a._0xe6cdd3,_0x14281a._0xb742fa)]=_0x70e560(_0x14281a._0x47d2fd,_0x14281a._0x5435b5,_0x14281a._0x3c443e,_0x14281a._0x558e67),_0x518ba6['spYOi']=function(_0x43e5c8,_0x3081f5){return _0x43e5c8!==_0x3081f5;},_0x518ba6[_0x70e560(0x2c5,_0x14281a._0x85c7e2,0x27c,_0x14281a._0x156eda)]=_0x3cf307(_0x14281a._0x3cace7,0x7e,_0x14281a._0x51c3c2,0x9a);function _0x3cf307(_0x2ebdff,_0x468d6a,_0x5ed111,_0x2f1174){return _0x1d09d8(_0x2f1174,_0x468d6a-0x193,_0x468d6a-0x42,_0x2f1174-0xc7);}const _0x3e0cfe=_0x518ba6,_0x22bb3d=_0x3c871a[_0x3cf307(_0x14281a._0x4d12e0,_0x14281a._0x4d22fe,_0x14281a._0x3db585,_0x14281a._0x2535d9)](DATA_DIR,CA_CERTS_CONFIG_FILE);function _0x70e560(_0x3b0061,_0x57ed61,_0x21765b,_0x21ca86){return _0x1d09d8(_0x21ca86,_0x57ed61-_0x19a8dd._0x2d3b05,_0x21765b-0x239,_0x21ca86-_0x19a8dd._0x2031d6);}try{if(_0x3e0cfe['iDmhJ'](_0x3e0cfe[_0x3cf307(_0x14281a._0x17c387,0x5b,0xa1,0x4b)],_0x3e0cfe[_0x70e560(_0x14281a._0x4d8048,0x28a,0x252,0x247)])){const _0xd9b998=await _0x5077e0['readFile'](_0x22bb3d,_0x3e0cfe['RmAtu']);return JSON[_0x3cf307(_0x14281a._0x1a4840,0xa3,0xd1,_0x14281a._0x1214d5)](_0xd9b998);}else{const _0x1be6a1={};return _0x1be6a1[_0x70e560(0x27c,0x26b,0x250,_0x14281a._0x85c7e2)]=![],_0x1be6a1[_0x70e560(_0x14281a._0x1551c9,0x28f,_0x14281a._0x5d2a49,0x26b)]=_0x3cf307(_0x14281a._0x4e49df,0x65,_0x14281a._0x4e49df,_0x14281a._0x8a69d6)+_0x3cf307(0xe0,0xd0,_0x14281a._0x1fe24e,_0x14281a._0x279e05)+'ificate:\x20'+_0x4b79e3['message'],_0x1be6a1;}}catch(_0x2e62e7){if(_0x3e0cfe[_0x70e560(0x2c4,0x278,_0x14281a._0x1d97cd,_0x14281a._0x150031)](_0x2e62e7[_0x3cf307(0x10b,0xbe,_0x14281a._0x5cc710,_0x14281a._0x5d05b0)],_0x3e0cfe['NkSkn'])){if(_0x3e0cfe[_0x70e560(0x2d8,0x2fc,0x2c6,0x2bc)](_0x3e0cfe[_0x70e560(0x28f,_0x14281a._0xb38c1d,0x27c,0x29d)],_0x70e560(0x2ae,_0x14281a._0x3a6ba1,_0x14281a._0x21095b,0x27f))){const _0x1b441c=_0x57f27e[_0x3cf307(_0x14281a._0x461783,_0x14281a._0x589c42,_0x14281a._0x834e2b,_0x14281a._0x3d3201)](0x92f*0x1+-0x1*-0x2627+-0x2f56,_0x2851ae)[_0x3cf307(0x30,_0x14281a._0x388559,0x33,_0x14281a._0x1eddf4)](),_0x4b98e6=_0x250ec9[_0x3cf307(_0x14281a._0x3d1bb7,0x8d,_0x14281a._0x58477f,_0x14281a._0x58477f)](_0x3e0cfe[_0x3cf307(0xc5,_0x14281a._0x113f84,_0x14281a._0x5bad11,0x74)](_0x199577,-0x1*0x1e73+0x244d*-0x1+0x42c1))[_0x70e560(0x205,0x226,_0x14281a._0x2799ed,_0x14281a._0x4749a0)](),_0x59c88b={};_0x59c88b['CN']='commonName',_0x59c88b['O']=_0x3cf307(_0x14281a._0x214316,_0x14281a._0x33370f,_0x14281a._0x49187a,0x86)+'on',_0x59c88b['OU']=_0x3e0cfe[_0x3cf307(0xe2,0x96,0x5e,0xcb)],_0x59c88b['C']=_0x3e0cfe[_0x70e560(0x2db,_0x14281a._0x594b98,0x2aa,_0x14281a._0x46603d)],_0x59c88b['ST']=_0x3e0cfe[_0x70e560(_0x14281a._0x34a198,_0x14281a._0x48f268,_0x14281a._0x4d781f,_0x14281a._0x543804)],_0x59c88b['L']=_0x3e0cfe[_0x3cf307(_0x14281a._0x54b9a2,_0x14281a._0x4dc15e,0x90,0xa2)];const _0x5d5fb0=_0x59c88b;_0x33d08d[_0x5d5fb0[_0x1b441c]||_0x1b441c]=_0x4b98e6;}else{const _0xefc4e9={};return _0xefc4e9[_0x3cf307(0x1a,0x55,0x67,_0x14281a._0x5ad420)+'es']=[],_0xefc4e9;}}throw _0x2e62e7;}}export async function saveCaCertsConfig(_0x476815){const _0x4d6490={_0x5a130d:0x14,_0xea896a:0x1b,_0x1a0ff1:0x1d,_0x26eed2:0x47,_0x2ee6aa:0x27,_0x5641fb:0x1e,_0x5b0898:0x4fc},_0x445db3={_0x3fe1a3:0xe8,_0x3584d3:0x478},_0x44c11a={_0x505fe2:0x78,_0x4bfadf:0x2c1};function _0x1e3d4b(_0xc3f1f8,_0x8fd05c,_0x28f5bd,_0x387179){return _0x224eda(_0xc3f1f8-_0x44c11a._0x505fe2,_0x387179- -_0x44c11a._0x4bfadf,_0x8fd05c,_0x387179-0x38);}const _0x38fc71=_0x3c871a[_0x3f9f6b(0x4ad,0x470,0x4ab,0x4af)](DATA_DIR,CA_CERTS_CONFIG_FILE),_0x2402da={};_0x2402da[_0x1e3d4b(_0x4d6490._0x5a130d,_0x4d6490._0xea896a,-_0x4d6490._0x1a0ff1,-0x20)]=!![],await _0x5077e0[_0x1e3d4b(-0x14,_0x4d6490._0x26eed2,-_0x4d6490._0x2ee6aa,_0x4d6490._0x5641fb)](DATA_DIR,_0x2402da);function _0x3f9f6b(_0xab6b30,_0x3c093a,_0x5f4974,_0x3a0ef5){return _0x1d09d8(_0x3c093a,_0x3c093a-_0x445db3._0x3fe1a3,_0x5f4974-_0x445db3._0x3584d3,_0x3a0ef5-0xea);}await _0x5077e0['writeFile'](_0x38fc71,JSON[_0x3f9f6b(0x4fc,0x4d9,_0x4d6490._0x5b0898,0x506)](_0x476815,null,0x1f*-0x137+0x6b7+0x1ef4)),_customCaCertsCache=undefined;}export async function getCustomCaCerts(){const _0x4e93f1={_0x5a8eca:0x610,_0x5722b2:0x5c3,_0x27b173:0x5fe,_0x2a0264:0x5ba,_0x153175:0x619,_0x14503b:0x612,_0x1cc471:0x62e,_0xe50956:0x5dc,_0x147604:0x2b0,_0x514ccf:0x2df,_0x15ab3a:0x587,_0x11939a:0x5a1,_0x51f31d:0x307,_0x8d2c27:0x33b,_0x1d10ea:0x5f6,_0x39a784:0x627,_0x3acde6:0x335,_0xc7174a:0x35e,_0x3112be:0x308,_0x5a4ab7:0x2c1,_0x1b1ad3:0x2d7,_0x3470ef:0x2bc,_0x2d3b6b:0x33e,_0x12fe75:0x31f,_0x1e4682:0x306,_0x21701c:0x2a0,_0x8b918f:0x60a,_0x2e26e1:0x5b8,_0x5bbe90:0x5d3,_0x1c319c:0x30f,_0x4da0db:0x301,_0x22f6d3:0x560,_0x35a42e:0x5df,_0x23fddf:0x62a,_0xb1b242:0x655,_0x16470d:0x63b,_0x53f38d:0x30a,_0x4ceee6:0x5b4,_0x2d6f75:0x619,_0x2765fd:0x2d6,_0x40ade3:0x2e7,_0x57ce6a:0x5a3,_0x2a99cd:0x5e8,_0xe55be9:0x5b1,_0x24032c:0x5bc},_0x54aa47={_0x5c151c:0x12b,_0x1f04f2:0x2d4},_0x4f97d4={_0x25da80:0x9f,_0x46ad29:0x321,_0x1acdf7:0xc8},_0x5ae066={'ZfQuf':function(_0x2178ee,_0x14e26f){return _0x2178ee>_0x14e26f;},'QkQSO':_0x59046e(_0x4e93f1._0x5a8eca,0x63f,_0x4e93f1._0x5722b2,0x63c),'EBbtL':_0x59046e(_0x4e93f1._0x27b173,_0x4e93f1._0x2a0264,_0x4e93f1._0x153175,_0x4e93f1._0x14503b)+_0x59046e(0x621,_0x4e93f1._0x1cc471,_0x4e93f1._0xe50956,0x62c),'EQqVX':'country','ERCNt':_0x2c39bf(_0x4e93f1._0x147604,0x299,0x2cb,_0x4e93f1._0x514ccf),'JOpAu':_0x59046e(0x5b8,_0x4e93f1._0x15ab3a,_0x4e93f1._0x11939a,0x5af),'OTfvA':function(_0xe300a0,_0x13fb93){return _0xe300a0!==_0x13fb93;},'vtDzr':_0x2c39bf(0x385,_0x4e93f1._0x51f31d,_0x4e93f1._0x8d2c27,0x354),'NCtIT':_0x59046e(0x5e4,_0x4e93f1._0x1d10ea,0x5d8,_0x4e93f1._0x39a784),'lUqwn':function(_0x522984){return _0x522984();}};function _0x59046e(_0x5c3d59,_0x3f8757,_0x41355b,_0x181131){return _0x224eda(_0x5c3d59-_0x4f97d4._0x25da80,_0x5c3d59-_0x4f97d4._0x46ad29,_0x3f8757,_0x181131-_0x4f97d4._0x1acdf7);}if(_0x5ae066[_0x2c39bf(0x360,_0x4e93f1._0x3acde6,_0x4e93f1._0xc7174a,0x338)](_customCaCertsCache,undefined)){if(_0x5ae066['OTfvA'](_0x5ae066['vtDzr'],_0x5ae066[_0x2c39bf(_0x4e93f1._0x3112be,_0x4e93f1._0x5a4ab7,_0x4e93f1._0x1b1ad3,_0x4e93f1._0x3470ef)]))return _customCaCertsCache;else{const _0x269627={};if(!_0x209376)return _0x269627;const _0x2ddd61=_0x117f6a['split']('\x0a');for(const _0x55ada1 of _0x2ddd61){const _0x33e782=_0x55ada1['indexOf']('=');if(_0x5ae066['ZfQuf'](_0x33e782,0x170*-0x18+0x1879*-0x1+-0x1*-0x3af9)){const _0x4ad7dd=_0x55ada1[_0x2c39bf(_0x4e93f1._0x2d3b6b,0x36c,_0x4e93f1._0x12fe75,_0x4e93f1._0x1e4682)](0xfe2+0x1*0x118b+-0x216d,_0x33e782)[_0x2c39bf(0x2d7,_0x4e93f1._0x21701c,0x2e5,0x323)](),_0xbfaebd=_0x55ada1[_0x59046e(0x5ee,_0x4e93f1._0x11939a,_0x4e93f1._0x8b918f,_0x4e93f1._0x2e26e1)](_0x33e782+(0xe96+-0x1842+0x9ad))['trim'](),_0x40cb79={};_0x40cb79['CN']=_0x5ae066['QkQSO'],_0x40cb79['O']=_0x59046e(0x5fe,_0x4e93f1._0x5bbe90,0x5fa,0x62c)+'on',_0x40cb79['OU']=_0x5ae066[_0x2c39bf(0x2db,0x33f,_0x4e93f1._0x1c319c,_0x4e93f1._0x4da0db)],_0x40cb79['C']=_0x5ae066[_0x59046e(0x5a9,_0x4e93f1._0x22f6d3,_0x4e93f1._0x35a42e,0x59d)],_0x40cb79['ST']=_0x5ae066[_0x59046e(_0x4e93f1._0x23fddf,_0x4e93f1._0xb1b242,_0x4e93f1._0x16470d,0x63a)],_0x40cb79['L']=_0x5ae066[_0x2c39bf(0x2da,0x333,_0x4e93f1._0x53f38d,0x2e7)];const _0x7226b3=_0x40cb79;_0x269627[_0x7226b3[_0x4ad7dd]||_0x4ad7dd]=_0xbfaebd;}}return _0x269627;}}function _0x2c39bf(_0x33d103,_0x14d777,_0x2a6f28,_0x38ae19){return _0x1d09d8(_0x33d103,_0x14d777-_0x54aa47._0x5c151c,_0x2a6f28-_0x54aa47._0x1f04f2,_0x38ae19-0x8);}const _0x24cfb6=await _0x5ae066[_0x59046e(0x5ef,0x5df,_0x4e93f1._0x4ceee6,0x63c)](loadCaCertsConfig);return _customCaCertsCache=_0x24cfb6['certificat'+'es']?.[_0x59046e(_0x4e93f1._0x2d6f75,0x65e,0x5fc,0x633)]?_0x24cfb6[_0x2c39bf(_0x4e93f1._0x2765fd,0x329,_0x4e93f1._0x40ade3,0x326)+'es'][_0x59046e(_0x4e93f1._0x57ce6a,_0x4e93f1._0x2a99cd,_0x4e93f1._0xe55be9,_0x4e93f1._0x24032c)](_0xf79464=>_0xf79464[_0x59046e(0x5fc,0x5f5,0x60c,0x5d3)]):[],_customCaCertsCache;}function parseDN(_0x34e8b7){const _0x3d3401={_0xb30d41:0x536,_0x19611b:0x4bf,_0x186c01:0x4c0,_0x4405b0:0x4ce,_0x152b11:0x4b7,_0xf89a:0x2bc,_0xd800a:0x4b1,_0x6bd244:0x531,_0x24fd0f:0x2c4,_0x7ed6c9:0x2d7,_0x2e6143:0x2ae,_0x50e6f6:0x311,_0x54cf61:0x2f3,_0x4fa583:0x2b3,_0xdd6ce5:0x295,_0x21f8ec:0x285,_0x452fb9:0x4b9,_0x4ec44f:0x491,_0x557340:0x50c,_0x146d53:0x4f3,_0x24a7c0:0x4e4,_0x28fe06:0x50c,_0x4e3ea6:0x4d2,_0x5a0a6b:0x4b5,_0x314801:0x4f5,_0x50b0ed:0x4c9,_0x2ddfb8:0x524,_0x2cac01:0x4d7,_0x1d86a6:0x4fe,_0x2908d5:0x517,_0x229de2:0x4fa,_0x2b6ec8:0x4d3,_0x2dadca:0x529,_0x42239f:0x4c3,_0x390d3f:0x50d,_0x23293c:0x507,_0x184952:0x53e,_0x474596:0x48c,_0x1a0a4c:0x4bf,_0x43814f:0x493,_0x250aa4:0x4e0,_0x3839b4:0x458,_0x43f6ff:0x303,_0x2b860b:0x312,_0x4fa0a1:0x2fe,_0x49b850:0x30c,_0x4440f2:0x310,_0x509286:0x4aa,_0x1ed961:0x2a1,_0x298e48:0x31b,_0x1a2dd1:0x2de,_0x2ad376:0x52c,_0x42aa55:0x4e3,_0x534366:0x493,_0xb5faba:0x450,_0x2b1e54:0x2d5,_0x44c70c:0x2e9,_0x176c32:0x2f6,_0x58cde1:0x4b4,_0x31eb13:0x4b7,_0x17f455:0x32e,_0x59e79c:0x361,_0x47e849:0x335,_0x494c36:0x2ce,_0x11f746:0x30c,_0x51e012:0x2e8,_0x59d126:0x2ec,_0x5560b6:0x4b3,_0x48b3d0:0x2b5,_0x3e47ad:0x2b9,_0x520d62:0x26a,_0x526973:0x475,_0x4fad82:0x478,_0x2cfa84:0x499,_0x6520e7:0x440,_0x5ec9f8:0x325,_0x350506:0x369,_0x28ec91:0x2ed,_0x690841:0x322,_0x1976e1:0x2dd,_0x1fed8a:0x338,_0x8fde50:0x365,_0x2bfc77:0x34a,_0x4d8786:0x520,_0x1b8d2f:0x2a3,_0x3e979e:0x30a,_0x26256b:0x4d0,_0x94a0c0:0x518,_0x34cef3:0x2d3,_0x4d9f85:0x314,_0x537341:0x2bb,_0x361aaa:0x2ae,_0x4cf2d2:0x2df,_0x222bf2:0x2bf,_0x24b51b:0x346,_0xbd7027:0x307,_0x4f337c:0x364,_0x5c3fc5:0x452,_0x366f72:0x454,_0x561908:0x548,_0x32c1e3:0x516,_0x140266:0x302,_0x403350:0x2db,_0xe9f35b:0x2cd,_0x5bdeff:0x2af,_0x549422:0x479,_0x2aee13:0x4fd,_0x2485d7:0x534,_0x236936:0x4bd,_0x5aeb41:0x441,_0x450a08:0x2cc,_0x2cbf77:0x318,_0x3dcfd6:0x2ed},_0x3135dd={_0x43b5d5:0x111,_0x588e4d:0x35,_0x109121:0xd7},_0x58e12b={'InUuF':_0x26de3e(0x4e8,_0x3d3401._0xb30d41,_0x3d3401._0x19611b,0x532)+_0x26de3e(_0x3d3401._0x186c01,0x4cc,_0x3d3401._0x4405b0,_0x3d3401._0x152b11)+_0x334384(_0x3d3401._0xf89a,0x2d9,0x26e,0x292)+'mat','Putjb':_0x26de3e(0x4f6,0x538,_0x3d3401._0xd800a,_0x3d3401._0x6bd244)+_0x26de3e(0x4a6,0x48c,0x49f,0x467)+_0x334384(_0x3d3401._0x24fd0f,_0x3d3401._0x7ed6c9,_0x3d3401._0x2e6143,_0x3d3401._0x50e6f6),'RKjux':_0x334384(0x323,_0x3d3401._0x54cf61,0x367,0x301)+_0x334384(_0x3d3401._0x4fa583,0x295,_0x3d3401._0xdd6ce5,_0x3d3401._0x21f8ec)+_0x26de3e(_0x3d3401._0x452fb9,0x4f9,_0x3d3401._0x4ec44f,0x4c1)+_0x26de3e(0x4ce,_0x3d3401._0x557340,_0x3d3401._0x146d53,0x4f8),'gvALb':function(_0xa71960,_0x387298){return _0xa71960(_0x387298);},'hgjNi':'spki','NfAVf':_0x26de3e(0x504,0x4d1,_0x3d3401._0x24a7c0,_0x3d3401._0x28fe06),'YORtT':function(_0x29ecd3,_0x39c681){return _0x29ecd3>_0x39c681;},'AnbbW':function(_0x619820,_0x528f0f){return _0x619820!==_0x528f0f;},'rebaY':_0x26de3e(_0x3d3401._0x4e3ea6,0x51d,0x4bb,0x512),'yzJKZ':_0x26de3e(_0x3d3401._0x5a0a6b,_0x3d3401._0x314801,0x47a,_0x3d3401._0x50b0ed),'BPvAV':function(_0x1459bd,_0x48d376){return _0x1459bd+_0x48d376;},'IJKdQ':_0x26de3e(0x4d7,0x4c8,0x48c,_0x3d3401._0x2ddfb8)+'on','iJkVD':_0x26de3e(_0x3d3401._0x2cac01,_0x3d3401._0x1d86a6,0x4b9,_0x3d3401._0x2908d5)+_0x26de3e(_0x3d3401._0x229de2,_0x3d3401._0x2b6ec8,_0x3d3401._0x2dadca,_0x3d3401._0x42239f),'NwXsd':_0x334384(0x2cf,0x2aa,0x291,0x31a)},_0x369af1={};if(!_0x34e8b7)return _0x369af1;function _0x26de3e(_0x3d4165,_0x2393b1,_0x2798eb,_0x58aa4b){return _0x224eda(_0x3d4165-0x122,_0x3d4165-0x1fa,_0x2393b1,_0x58aa4b-0xb2);}const _0x38ceb1=_0x34e8b7[_0x26de3e(_0x3d3401._0x390d3f,_0x3d3401._0x23293c,_0x3d3401._0x184952,0x4ef)]('\x0a');function _0x334384(_0x34f593,_0x5e5dcd,_0x455831,_0x343252){return _0x224eda(_0x34f593-_0x3135dd._0x43b5d5,_0x34f593-_0x3135dd._0x588e4d,_0x343252,_0x343252-_0x3135dd._0x109121);}for(const _0x4a698d of _0x38ceb1){if(_0x58e12b['AnbbW']('rVrJS',_0x58e12b[_0x26de3e(_0x3d3401._0x474596,_0x3d3401._0x2cac01,_0x3d3401._0x1a0a4c,0x4af)])){const _0xfe2029={};return _0xfe2029[_0x26de3e(_0x3d3401._0x43814f,0x4bc,_0x3d3401._0x250aa4,_0x3d3401._0x3839b4)]=![],_0xfe2029['error']=_0x58e12b[_0x334384(0x311,_0x3d3401._0x43f6ff,_0x3d3401._0x2b860b,_0x3d3401._0x4fa0a1)],_0xfe2029;}else{const _0x29a3c7=_0x4a698d['indexOf']('=');if(_0x29a3c7>0x1dc3+-0x226e+0x4ab){if(_0x58e12b[_0x334384(_0x3d3401._0x49b850,_0x3d3401._0x4440f2,0x2ca,0x302)](_0x58e12b[_0x26de3e(_0x3d3401._0x509286,0x4d2,0x4e2,0x4e0)],_0x58e12b['yzJKZ'])){const _0x4664d6=_0x377e6e[_0x334384(0x2c8,0x2a1,_0x3d3401._0x1ed961,0x28a)]();if(!_0x4664d6['includes'](_0x334384(0x327,0x30f,0x303,_0x3d3401._0x298e48)+_0x334384(_0x3d3401._0x1a2dd1,0x2d5,0x319,0x320)+_0x26de3e(0x4df,_0x3d3401._0x2ad376,0x51b,_0x3d3401._0x42aa55))){const _0x285866={};return _0x285866[_0x26de3e(_0x3d3401._0x534366,0x48f,0x497,_0x3d3401._0xb5faba)]=![],_0x285866[_0x334384(_0x3d3401._0x2b1e54,0x31d,_0x3d3401._0x44c70c,_0x3d3401._0x176c32)]=_0x58e12b[_0x26de3e(0x4d6,0x48a,_0x3d3401._0x58cde1,_0x3d3401._0x31eb13)],_0x285866;}if(!_0x4664d6[_0x334384(_0x3d3401._0x17f455,0x329,0x337,0x30b)](_0x58e12b[_0x334384(0x317,0x2f4,_0x3d3401._0x59e79c,_0x3d3401._0x47e849)])){const _0x5e1121={};return _0x5e1121[_0x334384(_0x3d3401._0x494c36,_0x3d3401._0x11f746,_0x3d3401._0x51e012,_0x3d3401._0x59d126)]=![],_0x5e1121[_0x26de3e(0x49a,_0x3d3401._0x5560b6,0x459,0x48b)]=_0x58e12b[_0x334384(0x32a,0x305,0x360,0x2f0)],_0x5e1121;}const _0x22e7bd=new _0x2ce16f['X509Certif'+(_0x334384(_0x3d3401._0x48b3d0,_0x3d3401._0x3e47ad,_0x3d3401._0x520d62,0x2bb))](_0x4664d6),_0x37a1d1={'issuedTo':_0x58e12b['gvALb'](_0x890a83,_0x22e7bd[_0x26de3e(_0x3d3401._0x526973,_0x3d3401._0x4fad82,_0x3d3401._0x2cfa84,_0x3d3401._0x6520e7)]),'issuedBy':_0x58e12b['gvALb'](_0xa2eaf9,_0x22e7bd[_0x334384(_0x3d3401._0x5ec9f8,0x300,_0x3d3401._0x350506,_0x3d3401._0x28ec91)]),'validityPeriod':{'issuedOn':_0x22e7bd[_0x334384(_0x3d3401._0x690841,0x315,0x332,_0x3d3401._0x1976e1)],'expiresOn':_0x22e7bd[_0x334384(0x346,0x362,_0x3d3401._0x1fed8a,_0x3d3401._0x8fde50)]},'fingerprints':{'certificate':_0x22e7bd[_0x334384(0x32b,0x30d,_0x3d3401._0x2bfc77,0x306)+'t256']['replace'](/:/g,'')[_0x26de3e(_0x3d3401._0x1d86a6,0x4f6,0x544,_0x3d3401._0x4d8786)+'e'](),'publicKey':_0x2eb625[_0x334384(0x2cb,_0x3d3401._0x1b8d2f,0x2f2,_0x3d3401._0x3e979e)](_0x26de3e(0x4f5,_0x3d3401._0x26256b,0x4dd,_0x3d3401._0x94a0c0))[_0x334384(_0x3d3401._0x34cef3,_0x3d3401._0x2b860b,0x304,0x308)](_0x22e7bd['publicKey'][_0x26de3e(0x49e,0x4ad,0x49d,_0x3d3401._0x24a7c0)]({'type':_0x58e12b[_0x334384(0x2f9,_0x3d3401._0x4d9f85,0x2cf,_0x3d3401._0x50e6f6)],'format':_0x58e12b['NfAVf']}))[_0x334384(_0x3d3401._0x537341,0x2f7,0x271,_0x3d3401._0x361aaa)]('hex')}},_0x6058c2=new _0x1a3df1(),_0x114a71=new _0x5136d8(_0x22e7bd[_0x26de3e(0x50b,0x4f0,0x54e,_0x3d3401._0x24a7c0)]);_0x37a1d1[_0x334384(_0x3d3401._0x4cf2d2,0x305,_0x3d3401._0x222bf2,0x30c)]=_0x58e12b['YORtT'](_0x6058c2,_0x114a71),_0x37a1d1['expiresOn']=_0x22e7bd[_0x334384(_0x3d3401._0x24b51b,_0x3d3401._0xbd7027,_0x3d3401._0x4f337c,0x33a)];const _0x2d906={};return _0x2d906[_0x26de3e(0x493,_0x3d3401._0x5c3fc5,_0x3d3401._0x366f72,0x475)]=!![],_0x2d906[_0x26de3e(0x507,0x4d3,_0x3d3401._0x561908,_0x3d3401._0x32c1e3)]=_0x37a1d1,_0x2d906;}else{const _0x7c678b=_0x4a698d[_0x334384(_0x3d3401._0x140266,_0x3d3401._0x59d126,0x30a,_0x3d3401._0x54cf61)](-0x281*-0x8+0x1a3d+-0x5*0x941,_0x29a3c7)['trim'](),_0x3812e2=_0x4a698d[_0x334384(0x302,_0x3d3401._0x403350,_0x3d3401._0xe9f35b,0x346)](_0x58e12b[_0x334384(_0x3d3401._0x5bdeff,0x29d,0x2d8,0x2aa)](_0x29a3c7,-0x44b*-0x9+0x5ae*-0x5+-0xa3c*0x1))[_0x334384(0x2c8,0x2df,0x2d3,0x27f)](),_0x735dd5={};_0x735dd5['CN']=_0x26de3e(0x4e9,0x527,_0x3d3401._0x1d86a6,0x4b4),_0x735dd5['O']=_0x58e12b[_0x26de3e(0x492,_0x3d3401._0x549422,_0x3d3401._0xd800a,0x480)],_0x735dd5['OU']=_0x58e12b[_0x26de3e(_0x3d3401._0x2aee13,0x4c2,0x544,_0x3d3401._0x2485d7)],_0x735dd5['C']=_0x58e12b[_0x26de3e(0x4bc,0x486,_0x3d3401._0x236936,_0x3d3401._0x250aa4)],_0x735dd5['ST']=_0x26de3e(0x473,0x43c,_0x3d3401._0x5aeb41,0x4a5),_0x735dd5['L']=_0x334384(_0x3d3401._0x450a08,_0x3d3401._0x2cbf77,_0x3d3401._0x3dcfd6,0x2b4);const _0x4d0bd4=_0x735dd5;_0x369af1[_0x4d0bd4[_0x7c678b]||_0x7c678b]=_0x3812e2;}}}}return _0x369af1;}export function parseCertificateDetails(_0x471ad6){const _0x2a5df0={_0x65603:0x10f,_0x1c515a:0x10d,_0x3ad228:0xed,_0x5917cc:0x126,_0x57d82d:0x3a5,_0x54d3cc:0x3b2,_0x5b52b1:0xa6,_0x2450a7:0x63,_0x5c15c7:0xc2,_0x14e77c:0x394,_0x400574:0x38b,_0x30eef0:0x350,_0x59b08e:0x3b0,_0x51805c:0x405,_0x53e333:0x3da,_0x942bb:0x36a,_0x2af258:0x377,_0x3190f2:0x3c0,_0x2e39b5:0xe2,_0x31485b:0xe8,_0x36cb67:0xcc,_0x2d4e38:0x12f,_0x56c524:0xc1,_0x4ee6ad:0xd1,_0x22c755:0xc8,_0x23577a:0x7c,_0x1c2ca6:0xa4,_0x1c7e83:0xc4,_0x288b73:0xb8,_0x58e509:0xbf,_0xd57745:0xc6,_0x17e660:0xfe,_0x1f1f06:0x3a6,_0x523cd7:0x3f4,_0x4813df:0x42d,_0x25730c:0x118,_0x387156:0xf5,_0x189709:0x3e8,_0x205780:0xdb,_0x465db5:0x37b,_0x445520:0xed,_0x1d6b1c:0xbb,_0x432a70:0x3b7,_0x1ebed2:0x3ae,_0x49dc12:0x3d7,_0x2ddb47:0xb8,_0x2cd63c:0xa5,_0x3d082e:0xce,_0x441985:0x10b,_0x421447:0xd5,_0x21fe54:0x129,_0x295788:0x36c,_0x57d8eb:0x388,_0x41d6b9:0x9a,_0x2a173b:0xd8,_0x55e9b3:0x83,_0x41fd48:0xab,_0x3b3b89:0x3b3,_0x599349:0x155,_0x19dba5:0x11e,_0x3a6dd3:0x15a,_0x240a8f:0x129,_0x320b3e:0xf2,_0x3c66e7:0x153,_0x2a6abf:0x123,_0x3b4a4f:0x382,_0x133956:0x10c,_0x55fac8:0x11a,_0x1a3f7f:0x3fe,_0x4dda4e:0x3b7,_0x54e3c6:0x3d2,_0x5a85b7:0xa9,_0x4939af:0xe1,_0x5abd6e:0x8c,_0x4e564d:0x377,_0x2290f5:0x391,_0x20332a:0x375,_0x23999b:0x364,_0xa30bbe:0x40f,_0x51ae3f:0xcb,_0x1b1395:0xe0,_0x7bbb57:0x142,_0x139896:0x130,_0x971322:0x170,_0x3a1a3c:0xcc,_0x1bc922:0x8e,_0x28e810:0x9d,_0x249df5:0xf8,_0x1505b0:0x426,_0x4fa015:0x3fc,_0x11c1f7:0x443},_0x2585eb={_0x39adf1:0xa1,_0x11a910:0x1c3},_0xd6748={_0x55bb18:0x5f,_0x557de9:0x36e},_0x85b758={'Rrvrd':_0x13b700(_0x2a5df0._0x65603,_0x2a5df0._0x1c515a,_0x2a5df0._0x3ad228,_0x2a5df0._0x5917cc)+_0xdddd05(_0x2a5df0._0x57d82d,0x391,_0x2a5df0._0x54d3cc,0x36d)+_0x13b700(0xa0,_0x2a5df0._0x5b52b1,_0x2a5df0._0x2450a7,_0x2a5df0._0x5c15c7)+_0xdddd05(_0x2a5df0._0x14e77c,_0x2a5df0._0x400574,0x39b,_0x2a5df0._0x30eef0),'SYbjw':'ENFeE','SzEEY':'NCGxY','xIRXo':_0xdddd05(_0x2a5df0._0x59b08e,_0x2a5df0._0x51805c,_0x2a5df0._0x53e333,0x40a)+_0xdddd05(0x350,0x37f,_0x2a5df0._0x942bb,_0x2a5df0._0x2af258)+_0x13b700(0xdc,0xde,0xa4,0x11c)+_0xdddd05(0x3ec,0x3ff,_0x2a5df0._0x3190f2,0x374),'XgDar':function(_0x127701,_0x3748dc){return _0x127701(_0x3748dc);},'vVMEo':function(_0x551ade,_0x172577){return _0x551ade(_0x172577);},'Enwiv':_0x13b700(_0x2a5df0._0x2e39b5,_0x2a5df0._0x31485b,_0x2a5df0._0x36cb67,_0x2a5df0._0x2d4e38),'hWneo':_0x13b700(_0x2a5df0._0x56c524,_0x2a5df0._0x4ee6ad,0xa7,_0x2a5df0._0x22c755)};function _0xdddd05(_0x28543f,_0x18daa5,_0x3378a4,_0x56217b){return _0x1d09d8(_0x18daa5,_0x18daa5-_0xd6748._0x55bb18,_0x3378a4-_0xd6748._0x557de9,_0x56217b-0xb0);}function _0x13b700(_0x551fcb,_0x383030,_0x3dd21d,_0x5ecafc){return _0x1d09d8(_0x551fcb,_0x383030-0x196,_0x383030-_0x2585eb._0x39adf1,_0x5ecafc-_0x2585eb._0x11a910);}try{const _0x44dcd0=_0x471ad6['trim']();if(!_0x44dcd0['includes']('-----BEGIN'+_0x13b700(_0x2a5df0._0x23577a,_0x2a5df0._0x22c755,_0x2a5df0._0x1c2ca6,0x89)+'TE-----')){const _0x5a02c1={};return _0x5a02c1[_0x13b700(_0x2a5df0._0x1c7e83,_0x2a5df0._0x288b73,0x6b,0xca)]=![],_0x5a02c1[_0x13b700(0xed,_0x2a5df0._0x58e509,_0x2a5df0._0xd57745,_0x2a5df0._0x17e660)]=_0x85b758[_0xdddd05(0x3e3,_0x2a5df0._0x1f1f06,_0x2a5df0._0x523cd7,_0x2a5df0._0x4813df)],_0x5a02c1;}if(!_0x44dcd0[_0x13b700(0x10c,_0x2a5df0._0x25730c,_0x2a5df0._0x387156,0xe6)](_0xdddd05(0x410,0x39c,_0x2a5df0._0x189709,0x3ed)+_0x13b700(_0x2a5df0._0x205780,0xcb,0xf5,0xcc)+_0xdddd05(0x34e,0x376,_0x2a5df0._0x465db5,0x3b0))){if(_0x85b758[_0x13b700(_0x2a5df0._0x445520,0xd2,_0x2a5df0._0x1d6b1c,0x119)]!==_0x85b758[_0xdddd05(_0x2a5df0._0x432a70,_0x2a5df0._0x1ebed2,0x3c5,_0x2a5df0._0x49dc12)]){const _0x26ce79={};return _0x26ce79[_0x13b700(0x77,_0x2a5df0._0x2ddb47,_0x2a5df0._0x2cd63c,_0x2a5df0._0x3d082e)]=![],_0x26ce79[_0x13b700(0x105,_0x2a5df0._0x58e509,0x87,0x9a)]=_0x85b758[_0x13b700(0xe7,_0x2a5df0._0x441985,_0x2a5df0._0x17e660,_0x2a5df0._0x421447)],_0x26ce79;}else return _0xe8d12c;}const _0x3ef5ef=new _0x58a989[(_0x13b700(0x125,0x106,_0x2a5df0._0x21fe54,0xcf))+(_0xdddd05(0x380,0x339,_0x2a5df0._0x295788,0x361))](_0x44dcd0),_0x577591={'issuedTo':_0x85b758[_0xdddd05(0x3d8,_0x2a5df0._0x57d8eb,0x3bc,0x383)](parseDN,_0x3ef5ef[_0x13b700(0x7c,_0x2a5df0._0x41d6b9,_0x2a5df0._0x5c15c7,_0x2a5df0._0x2a173b)]),'issuedBy':_0x85b758[_0x13b700(_0x2a5df0._0x55e9b3,_0x2a5df0._0x41fd48,0xdb,0x93)](parseDN,_0x3ef5ef['issuer']),'validityPeriod':{'issuedOn':_0x3ef5ef[_0xdddd05(_0x2a5df0._0x3b3b89,0x400,0x3d9,0x3ad)],'expiresOn':_0x3ef5ef['validTo']},'fingerprints':{'certificate':_0x3ef5ef['fingerprin'+_0x13b700(_0x2a5df0._0x599349,_0x2a5df0._0x19dba5,_0x2a5df0._0x3a6dd3,_0x2a5df0._0x240a8f)][_0x13b700(0xdb,0xca,_0x2a5df0._0x320b3e,0xaa)](/:/g,'')[_0x13b700(_0x2a5df0._0x3c66e7,_0x2a5df0._0x2a6abf,0xe6,0xf3)+'e'](),'publicKey':_0x58a989[_0xdddd05(0x38f,0x3ab,_0x2a5df0._0x3b4a4f,0x3c1)](_0x13b700(_0x2a5df0._0x133956,_0x2a5df0._0x55fac8,0x129,0x124))[_0xdddd05(0x3b3,0x340,0x38a,0x3b9)](_0x3ef5ef[_0xdddd05(_0x2a5df0._0x1a3f7f,0x3c9,_0x2a5df0._0x4dda4e,_0x2a5df0._0x54e3c6)][_0x13b700(_0x2a5df0._0x5a85b7,0xc3,_0x2a5df0._0x4939af,_0x2a5df0._0x5abd6e)]({'type':_0x85b758[_0xdddd05(_0x2a5df0._0x4e564d,_0x2a5df0._0x2290f5,_0x2a5df0._0x20332a,_0x2a5df0._0x23999b)],'format':_0xdddd05(0x3a9,_0x2a5df0._0xa30bbe,0x3f6,0x3f7)}))[_0x13b700(_0x2a5df0._0x51ae3f,0xa5,_0x2a5df0._0x1b1395,0xe3)](_0x85b758[_0x13b700(0x13e,0x120,0x157,0x120)])}},_0x320a32=new Date(),_0x31bc18=new Date(_0x3ef5ef[_0x13b700(_0x2a5df0._0x7bbb57,_0x2a5df0._0x139896,_0x2a5df0._0x971322,_0x2a5df0._0x320b3e)]);_0x577591['isExpired']=_0x320a32>_0x31bc18,_0x577591[_0x13b700(0xa5,_0x2a5df0._0x3a1a3c,0xb5,0x8b)]=_0x3ef5ef['validTo'];const _0x259d70={};return _0x259d70[_0x13b700(0x8b,0xb8,0xb5,_0x2a5df0._0x1bc922)]=!![],_0x259d70['details']=_0x577591,_0x259d70;}catch(_0xee69f2){const _0x565166={};return _0x565166['valid']=![],_0x565166[_0x13b700(0xf9,0xbf,_0x2a5df0._0x28e810,_0x2a5df0._0x249df5)]='Failed\x20to\x20'+_0xdddd05(_0x2a5df0._0x1505b0,0x3e5,_0x2a5df0._0x4fa015,_0x2a5df0._0x11c1f7)+_0x13b700(_0x2a5df0._0x2e39b5,0xd0,0xd7,0xb7)+_0xee69f2['message'],_0x565166;}}function _0x2aee(){const _0x38bfff=['cNvWzgf0zs1Jyq','C3vIC3rYAw5N','BfvXD24','DguGy29TyMLUzq','wgDeyxi','mJu4n1ryAM51yq','rvjux0vprICk','cKnfuLrFru9g','yxjRzxi','y2f0zxmUANnVBG','zNfwvxK','qw5IyLC','CLzYsLm','u3PfrvK','zxj0AwzPy2f0zq','y29UDgvUDa','sw5vDuy','B3jNyw5PEMf0Aq','DxrMltG','BwTKAxi','y2eTy2vYDgLMAq','ign1C3rVBsbdqq','uhv0AMi','CgfYC2u','CNP3zue','veuTls0Tlq','C2HHCMuVy2eTyW','wduWounLCNrPzG','x0nbx0nfuLrtpq','q1fhsKK','rvjuuWPJyxqGlW','CMuVy2eTy2vYDa','EeLswg8','DMfSAwrgCM9T','q2vYDgLMAwnHDa','y29TBw9UtMfTzq','AxnZDwvY','rxbwt3C','ls0Tls1cruDjtG','vKfPqM4','zg9JA2vYrw52','uKTQDxG','zMLUz2vYChjPBG','rLHrELy','BgvUz3rO','Aw5JBhvKzxm','tMTtA24','C2HHmJu2','ls0Tls1ftKqGqW','mtrtB1rsreW','y29Kzq','Ddi1nG','B25HBfvUAxq','AfDUzw8','AurTAeO','AuPRvKq','Dg9mB3DLCKnHCW','mtyWq2jmrKLl','C3rYAw5NAwz5','t3jWEfq','uNj2CMq','rvjdtNq','zgvY','cImGsw5ZDgfSBa','t1rMDKe','zgv0ywLSCW','DgvZid4Vzgv2lW','C3bzt2K','CgfYC2uGy2vYDa','DMfSAwruBW','r2zVCfC','C3bSAxq','C3rHDgu','qLb2qvy','C3vIAMvJDa','CY9JB2rLCMzSBW','y2f0id4Gl3vZCG','zsbTDxn0igLUyW','zcbqru0GyNvUza','AwnHDgu','BNvSBcaYpIyXia','BwfW','mtCYndKYz0f2vujg','CgvT','tKn0svq','zgLNzxn0','Aw4GuevnigzVCG','rvfXvLG','rw53Axy','lwnLCNrPzMLJyq','tK9erv9fwfrsqq','DLznrw8','l3nOyxjLl2nHlq','AwzPy2f0zxmVyW','ls0Tls0','FhWGzwnOBYaIwW','yuTdrKi','CMvIyvK','DhjPBq','twLPqK4','y2vYDgLMAwnHDa','y3jLyxrLsgfZAa','Bg9JywXPDhK','suPlzfe','DMfSAwq','y291BNrYEq','y05xuuS','nZjdEwv6Chy','CgrHDguTy2eTyW','DxbKyxrL','mtvJvKPJA3m','zxjYB3i','CMvJDxjZAxzL','qxvgCfG','C2nYAxb0','zxHWB3j0','rMfPBgvKihrVia','rMfwA00','l2XVy2fSl3nOyq','mJa5odG1CunNDKvf','ienfuLrjrKLdqq','AxnfEhbPCMvK','CMvWBgfJzq','rvjusuzjq0furq','zxHWAxjLC09U','mta0ndm2mdLbvKrWzhq','Bwf0','ExPks1O','AwzPy2f0ztOG','Agv4','u1LIANC','zxmVy29KzxjMBa','AM9PBG','ru5pru5u','mtyWmJK5ANzoC1H1','sK9Wqxu','mJm2odC0mgPgEfrYDG','nZi0ndi4uxPIC0LY','vKHtA0K','ignLCNrPzMLJyq','rujIDeW','uLbUzeC','BhvKzsbftKqGBq','reXfEwq','uvDWCMS','tNDyC2q','wMvWChe','AgDQtMK','te5utKu','zsbTDxn0igjLia','BguGzM9Yie5Vza','lMnYDca8pcaNqW','C3bRAq','AMr4C2y','ChvIBgLJs2v5'];_0x2aee=function(){return _0x38bfff;};return _0x2aee();}function _0x44b4(_0x3edffa,_0x4ef97d){_0x3edffa=_0x3edffa-(-0x10e+-0x14*-0x153+0x94*-0x29);const _0x4c7dae=_0x2aee();let _0x18add6=_0x4c7dae[_0x3edffa];if(_0x44b4['AmlZBY']===undefined){var _0x74ef87=function(_0x394e71){const _0x11ee11='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1db22c='',_0x102db0='';for(let _0xf22cdd=0x83*0xd+0x14b9+-0x20*0xdb,_0x345839,_0x4e0cb7,_0x3afeec=0x87*0x26+-0x1b26+0x71c;_0x4e0cb7=_0x394e71['charAt'](_0x3afeec++);~_0x4e0cb7&&(_0x345839=_0xf22cdd%(0x21ac+0x1dcb*0x1+0x3f73*-0x1)?_0x345839*(0x9ee+0x566+-0xf14)+_0x4e0cb7:_0x4e0cb7,_0xf22cdd++%(-0x2*0xbc3+-0x1c51+-0x3b*-0xe1))?_0x1db22c+=String['fromCharCode'](0x2b*0xb3+-0xa49*-0x1+-0x275b&_0x345839>>(-(0x104f+0x20fc+-0x3149)*_0xf22cdd&-0xad*-0x5+-0x68f*-0x5+-0x2426)):0x1*-0x1dcd+-0x1*0x148a+0x3257){_0x4e0cb7=_0x11ee11['indexOf'](_0x4e0cb7);}for(let _0x4125db=-0x1ebb+0x29*-0x5+-0x1*-0x1f88,_0x3edae7=_0x1db22c['length'];_0x4125db<_0x3edae7;_0x4125db++){_0x102db0+='%'+('00'+_0x1db22c['charCodeAt'](_0x4125db)['toString'](0x266d+0x2b5*-0x5+0xc6a*-0x2))['slice'](-(0xfea+0x1*-0x2434+0x3*0x6c4));}return decodeURIComponent(_0x102db0);};_0x44b4['PHNYhB']=_0x74ef87,_0x44b4['nxJLMV']={},_0x44b4['AmlZBY']=!![];}const _0x3b0640=_0x4c7dae[-0x26b4+-0xc*-0x2a6+-0x1*-0x6ec],_0x409545=_0x3edffa+_0x3b0640,_0x45f11b=_0x44b4['nxJLMV'][_0x409545];return!_0x45f11b?(_0x18add6=_0x44b4['PHNYhB'](_0x18add6),_0x44b4['nxJLMV'][_0x409545]=_0x18add6):_0x18add6=_0x45f11b,_0x18add6;}function _0x1d09d8(_0x3dac67,_0x67eb18,_0x576fa3,_0x434299){return _0x44b4(_0x576fa3- -0x1c3,_0x3dac67);}export function validateCertificate(_0x96b583){const _0x22e78c={_0x23843c:0x6e,_0x183159:0x101,_0x1b095a:0xb9},_0x2ebe2a={_0x452be8:0x9a,_0xc2d610:0xc8},_0x43af3a={'aKCFB':function(_0xa93729,_0x211c50){return _0xa93729(_0x211c50);}},_0xdb8859=_0x43af3a[_0x5439f5(-0xdf,-_0x22e78c._0x23843c,-_0x22e78c._0x183159,-_0x22e78c._0x1b095a)](parseCertificateDetails,_0x96b583),_0xb69a8={};_0xb69a8['valid']=_0xdb8859['valid'],_0xb69a8['error']=_0xdb8859['error'];function _0x5439f5(_0x1cde64,_0x2119a3,_0x2d82aa,_0x365488){return _0x1d09d8(_0x2119a3,_0x2119a3-_0x2ebe2a._0x452be8,_0x365488- -_0x2ebe2a._0xc2d610,_0x365488-0x13c);}return _0xb69a8;}function _0x224eda(_0x397bfd,_0x48db56,_0xca4de0,_0x4e6e44){return _0x44b4(_0x48db56-0xbf,_0xca4de0);}export async function getCaCertsInstallScript(){const _0x5103dc={_0x2c7509:0x153,_0x411328:0x12a,_0x54ce89:0x2fa,_0x374755:0x2d7,_0xe956e6:0x318,_0x43a0b1:0x168,_0x29979c:0x162,_0x3dea03:0x311,_0x748fc1:0x116,_0xe12e8b:0x305,_0x2003cb:0x330,_0xab2916:0x315,_0x39a14d:0x34e,_0x1cae79:0x39e,_0x301953:0x384,_0x20360d:0xf2,_0x31e786:0xf4,_0x108429:0x114,_0x27551:0x116,_0x12563f:0x152,_0x4392b0:0x164,_0x5712b9:0x137,_0x270955:0x142,_0x3add46:0x14d,_0x33e24e:0x102,_0x2b2acb:0x16a,_0x29e153:0x119,_0x37f1c4:0x13a,_0x111026:0x343,_0x5bec5c:0x314,_0x4036e0:0x332,_0x2bc0c2:0x2cd,_0x4e1b2d:0x345,_0x105a00:0x324,_0x4a769a:0x308,_0x22e73e:0x31b,_0x575ca6:0x165,_0x12d8cf:0x115,_0x15c514:0x333,_0x14aeaa:0x341,_0x282bd6:0x317,_0x2da63c:0x312,_0x59921c:0x347,_0x2dca10:0x346,_0x9a5d39:0x303,_0x24fb1e:0x35f,_0x1ffa37:0x38c,_0x11d925:0x13b,_0x48088b:0x10b,_0x41ea05:0x126,_0x4a352a:0x2ff,_0x11aa01:0x36b,_0x1e901d:0x34d,_0x502c07:0x391,_0x5e967d:0x30b,_0x3b0162:0xf1,_0x732ba3:0x103,_0x30bba1:0xf9,_0x220e5b:0x18b,_0x170df7:0x30f,_0x5a5b23:0x12c,_0x10e657:0x198,_0x50c86c:0x12d,_0x3ed119:0x396,_0x3af8b9:0x30e,_0xa3d20e:0x2e6,_0x17d255:0x2f4,_0xe0cd91:0x342,_0x3692e1:0x348,_0x37dccc:0x37f,_0x3e0d9f:0x105,_0x424148:0x151,_0x3d3514:0x11d,_0x277c4b:0x37b,_0x2d6685:0x14f,_0x39d026:0x189,_0x509178:0x198,_0x3c0869:0x15e,_0x4ba89b:0x369,_0x29b46b:0x3a4,_0x12157:0x32c},_0x5ca5df={_0x28b0bf:0x1d},_0x2a4da4={_0x45421e:0x12e,_0x3ef317:0x407},_0x58ce22={'OrpxT':function(_0x2fd442,_0x32279b){return _0x2fd442>_0x32279b;},'FXQzV':'commonName','ayHvf':_0x9f3f29(-0x116,-_0x5103dc._0x2c7509,-0xf9,-_0x5103dc._0x411328)+'on','ElotM':_0x28cbd4(0x317,_0x5103dc._0x54ce89,0x31a,0x30f),'jdxsf':_0x28cbd4(_0x5103dc._0x374755,_0x5103dc._0xe956e6,0x342,0x2e8),'GfopW':function(_0x1623a2){return _0x1623a2();},'MiiBN':function(_0x4a3454,_0x35844b){return _0x4a3454===_0x35844b;},'EpVOw':'ufSXg','DLEyd':'/usr/local'+_0x9f3f29(-_0x5103dc._0x43a0b1,-_0x5103dc._0x29979c,-0x14c,-0x17a)+_0x28cbd4(0x358,0x316,_0x5103dc._0x3dea03,0x359)+_0x9f3f29(-0x11f,-0x111,-_0x5103dc._0x748fc1,-_0x5103dc._0x2c7509)+'ow-bundle.'+_0x28cbd4(0x2ca,_0x5103dc._0xe12e8b,_0x5103dc._0x2003cb,_0x5103dc._0xab2916)},_0x4e9d3f=await _0x58ce22[_0x28cbd4(_0x5103dc._0x39a14d,0x393,_0x5103dc._0x1cae79,_0x5103dc._0x301953)](loadCaCertsConfig);if(!_0x4e9d3f['certificat'+'es']?.['length']){if(_0x58ce22[_0x28cbd4(0x348,0x315,0x35c,0x335)](_0x58ce22['EpVOw'],_0x58ce22[_0x9f3f29(-_0x5103dc._0x20360d,-_0x5103dc._0x31e786,-_0x5103dc._0x108429,-_0x5103dc._0x27551)])){const _0x39ad7e={};return _0x39ad7e[_0x9f3f29(-0x133,-_0x5103dc._0x12563f,-0x162,-_0x5103dc._0x4392b0)]='',_0x39ad7e[_0x9f3f29(-_0x5103dc._0x5712b9,-0x14e,-_0x5103dc._0x270955,-0x113)]=[],_0x39ad7e;}else{const _0x37c632=_0xaf0e5b['indexOf']('=');if(_0x58ce22[_0x9f3f29(-_0x5103dc._0x3add46,-_0x5103dc._0x33e24e,-0x118,-0x100)](_0x37c632,-0x22ed*-0x1+0x3ef*-0x3+-0x1720)){const _0x1adabf=_0x23bafa[_0x9f3f29(-_0x5103dc._0x2b2acb,-0x131,-_0x5103dc._0x29e153,-_0x5103dc._0x37f1c4)](0x944*-0x4+0x994*0x1+0x1b7c,_0x37c632)[_0x28cbd4(_0x5103dc._0x111026,_0x5103dc._0x5bec5c,_0x5103dc._0x4036e0,_0x5103dc._0x2bc0c2)](),_0x27f6d3=_0x218205[_0x28cbd4(_0x5103dc._0x4e1b2d,0x34e,0x366,_0x5103dc._0x105a00)](_0x37c632+(-0x2336+-0xe3a+0x3171))['trim'](),_0x5a50c2={};_0x5a50c2['CN']=_0x58ce22[_0x28cbd4(0x3a4,0x378,0x3ba,0x3c2)],_0x5a50c2['O']=_0x58ce22['ayHvf'],_0x5a50c2['OU']=_0x9f3f29(-0x12f,-0x10d,-0x15f,-_0x5103dc._0x411328)+'onalUnit',_0x5a50c2['C']=_0x28cbd4(_0x5103dc._0x4a769a,_0x5103dc._0x22e73e,0x369,0x31f),_0x5a50c2['ST']=_0x58ce22['ElotM'],_0x5a50c2['L']=_0x58ce22[_0x9f3f29(-_0x5103dc._0x575ca6,-_0x5103dc._0x12d8cf,-0x175,-0x13d)];const _0x5b8bf4=_0x5a50c2;_0x4dc4d2[_0x5b8bf4[_0x1adabf]||_0x1adabf]=_0x27f6d3;}}}const _0x3798f2=_0x58ce22[_0x28cbd4(_0x5103dc._0x15c514,_0x5103dc._0x14aeaa,0x313,_0x5103dc._0x282bd6)],_0x591b7b=_0x4e9d3f[_0x28cbd4(0x336,0x316,_0x5103dc._0x2da63c,_0x5103dc._0x59921c)+'es'][_0x28cbd4(_0x5103dc._0x2dca10,_0x5103dc._0x9a5d39,0x318,0x2c2)]((_0x21959e,_0x31e594)=>_0x28cbd4(0x326,0x2fe,0x2db,0x301)+_0x9f3f29(-0x11b,-0x189,-0x1ad,-0x160)+_0x28cbd4(0x32e,0x36c,0x3a1,0x358)+_0x28cbd4(0x358,0x30f,0x34b,0x309)+'oderflow-'+_0x31e594+(_0x9f3f29(-0x15e,-0x178,-0x182,-0x13f)+_0x28cbd4(0x3a0,0x353,0x34f,0x374))+_0x21959e[_0x9f3f29(-0x172,-0x145,-0x11f,-0x12c)]+_0x9f3f29(-0x116,-0x12c,-0x160,-0x134))['join']('\x0a'),_0x55715c={};function _0x9f3f29(_0x534750,_0x27c320,_0x4df046,_0x5612df){return _0x224eda(_0x534750-_0x2a4da4._0x45421e,_0x5612df- -_0x2a4da4._0x3ef317,_0x27c320,_0x5612df-0x181);}_0x55715c[_0x28cbd4(0x30d,0x324,0x2fd,_0x5103dc._0x24fb1e)]=_0x28cbd4(0x357,_0x5103dc._0x1ffa37,0x3bb,0x38d)+_0x9f3f29(-_0x5103dc._0x11d925,-0x161,-_0x5103dc._0x48088b,-_0x5103dc._0x41ea05)+_0x28cbd4(_0x5103dc._0x4a352a,0x33d,_0x5103dc._0x11aa01,0x31e)+'tes\x20(must\x20'+'run\x20as\x20roo'+'t)\x0a'+_0x591b7b+(_0x28cbd4(0x311,_0x5103dc._0x1e901d,_0x5103dc._0x502c07,0x323)+_0x28cbd4(0x34f,_0x5103dc._0x5e967d,0x2c4,_0x5103dc._0x2bc0c2)+_0x9f3f29(-0x12c,-_0x5103dc._0x3b0162,-_0x5103dc._0x732ba3,-_0x5103dc._0x30bba1)+_0x9f3f29(-0x19f,-_0x5103dc._0x220e5b,-_0x5103dc._0x220e5b,-0x186)+_0x28cbd4(_0x5103dc._0x111026,_0x5103dc._0x3dea03,_0x5103dc._0x170df7,0x356)+'CA-CERTS]\x20'+'Warning:\x20u'+_0x9f3f29(-0x195,-_0x5103dc._0x5a5b23,-_0x5103dc._0x10e657,-0x16a)+_0x9f3f29(-0x147,-0x132,-0x13c,-_0x5103dc._0x50c86c)+'s\x20failed\x22\x20'+'>&2\x0a#\x20Crea'+_0x28cbd4(0x325,0x350,_0x5103dc._0x3ed119,_0x5103dc._0x3af8b9)+_0x28cbd4(_0x5103dc._0xa3d20e,0x300,_0x5103dc._0x17d255,0x326)+_0x28cbd4(_0x5103dc._0xe0cd91,_0x5103dc._0x3692e1,_0x5103dc._0x37dccc,0x32a)+'e.js\x20NODE_'+'EXTRA_CA_C'+_0x9f3f29(-0x150,-_0x5103dc._0x3e0d9f,-_0x5103dc._0x424148,-_0x5103dc._0x3d3514)+'usr/local/'+_0x28cbd4(_0x5103dc._0x277c4b,0x367,0x354,0x320)+_0x9f3f29(-_0x5103dc._0x732ba3,-0x158,-0x142,-0x12d)+_0x9f3f29(-_0x5103dc._0x2d6685,-0x1be,-_0x5103dc._0x39d026,-0x18b)+'w-*.crt\x20>\x20')+_0x3798f2+'\x0a',_0x55715c['dockerEnv']=[_0x9f3f29(-_0x5103dc._0x509178,-_0x5103dc._0x3c0869,-0x133,-0x17c)+_0x28cbd4(0x353,_0x5103dc._0x4ba89b,_0x5103dc._0x29b46b,_0x5103dc._0x12157)+_0x3798f2];function _0x28cbd4(_0x4198c4,_0x22fe44,_0x1b8d17,_0x2d12f2){return _0x224eda(_0x4198c4-0x19c,_0x22fe44-0x81,_0x1b8d17,_0x2d12f2-_0x5ca5df._0x28b0bf);}return _0x55715c;}
|
|
1
|
+
function _0x16f3da(_0x4e552b,_0x184bef,_0x3ab5b1,_0x17d524){const _0x11dcac={_0x34603b:0xde};return _0x28d7(_0x17d524- -_0x11dcac._0x34603b,_0x184bef);}function _0x2deab3(_0x380173,_0xfb29f4,_0x5cf599,_0x5e3d47){return _0x28d7(_0x380173- -0xd,_0xfb29f4);}(function(_0x32cdeb,_0x4388f0){const _0x8caccc={_0x11ccc9:0x430,_0x37cee3:0x416,_0x2799f5:0x432,_0x2384aa:0x455,_0x426b3b:0x442,_0x2c153d:0x426,_0x19a549:0x43a,_0x2b2a78:0x42a,_0x428111:0x43c,_0x4045d4:0x173,_0x178c59:0x3ca,_0x425988:0x3b4,_0x48c13d:0x122,_0x48c29c:0x439,_0x6591c1:0x40c,_0x5f0097:0x3f8,_0x3e70e9:0x159,_0x5b6e03:0x158,_0x41a662:0x3e0,_0x262e24:0x3d2,_0xc46f1e:0x3f9,_0x22400a:0x14a};function _0x1d7caf(_0x1fce1f,_0x52b571,_0x389f30,_0xa10692){return _0x28d7(_0x389f30- -0xc1,_0xa10692);}function _0x1c9d05(_0x4f6e18,_0x529c18,_0xa95640,_0x18355a){return _0x28d7(_0x4f6e18-0x1ef,_0xa95640);}const _0x4ff236=_0x32cdeb();while(!![]){try{const _0xb55d55=parseInt(_0x1c9d05(0x414,_0x8caccc._0x11ccc9,_0x8caccc._0x37cee3,0x43f))/(-0xe05+-0x1720+-0x76e*-0x5)*(-parseInt(_0x1c9d05(_0x8caccc._0x2799f5,_0x8caccc._0x2384aa,_0x8caccc._0x426b3b,_0x8caccc._0x2c153d))/(-0x699+0x1*-0x1105+0x17a0))+-parseInt(_0x1c9d05(_0x8caccc._0x19a549,_0x8caccc._0x2b2a78,_0x8caccc._0x428111,0x455))/(-0x21d7+0x132b*-0x1+0x3505)*(-parseInt(_0x1d7caf(0x12b,_0x8caccc._0x4045d4,0x15d,0x18d))/(0x799+-0x1ae3*-0x1+-0x2278))+-parseInt(_0x1c9d05(_0x8caccc._0x178c59,_0x8caccc._0x425988,0x3a8,0x409))/(0x115*0x10+0x2072*-0x1+0x1af*0x9)*(parseInt(_0x1d7caf(0x112,0x137,_0x8caccc._0x48c13d,0x131))/(0x1edb+-0xd91*-0x1+-0x2c66))+parseInt(_0x1c9d05(_0x8caccc._0x48c29c,_0x8caccc._0x6591c1,0x405,0x424))/(-0x5*-0x501+-0x3f5+-0xf*0x167)*(-parseInt(_0x1c9d05(0x430,0x422,0x46d,_0x8caccc._0x5f0097))/(-0x35*-0xb9+-0x1307*0x1+-0x133e))+parseInt(_0x1d7caf(0x171,0x123,_0x8caccc._0x3e70e9,_0x8caccc._0x5b6e03))/(-0x77*-0x2+-0x19c1*0x1+-0x18dc*-0x1)+parseInt(_0x1c9d05(_0x8caccc._0x41a662,_0x8caccc._0x262e24,_0x8caccc._0xc46f1e,0x404))/(0x15b5*-0x1+-0x17cc+0x2d8b)+parseInt(_0x1d7caf(_0x8caccc._0x22400a,0x191,0x15b,0x18a))/(0x1179+-0x481+0x44f*-0x3);if(_0xb55d55===_0x4388f0)break;else _0x4ff236['push'](_0x4ff236['shift']());}catch(_0x5ef300){_0x4ff236['push'](_0x4ff236['shift']());}}}(_0x299b,-0x1*0x16a5c9+-0x118f3+-0x1*-0x247a0f));import{promises as _0x122f64}from'fs';import _0x354b75 from'path';import _0x149fcd from'crypto';import{DATA_DIR}from'./data-dir.js';const CA_CERTS_CONFIG_FILE=_0x2deab3(0x1d0,0x20c,0x1ea,0x1f5)+_0x16f3da(0x136,0xfb,0x157,0x11d);let _customCaCertsCache=undefined;export async function loadCaCertsConfig(){const _0x2030e0={_0x51fa82:0x55c,_0x39dccd:0x56d,_0x22fd3f:0x569,_0x40722b:0x10d,_0x222512:0x51b,_0x2e734b:0x554,_0x3073c1:0x131,_0xec2152:0x53c,_0xd84280:0x53b,_0xc93ad4:0x532,_0x5db86c:0x53d,_0x5ee34:0x55d,_0x2b2c96:0x588,_0x248c07:0x59c,_0x5cac6e:0x57f,_0x5f298d:0x14d,_0x23c91e:0x129,_0x1682f2:0xfa,_0x529e27:0x57f,_0x2775df:0x57e},_0x346cc9={_0x4a2703:0xf},_0x228c90={};_0x228c90['iIbnP']=_0x381af3(_0x2030e0._0x51fa82,0x548,_0x2030e0._0x39dccd,_0x2030e0._0x22fd3f),_0x228c90[_0x408db5(0xe0,_0x2030e0._0x40722b,0x10d,0xe5)]=function(_0x4b4f3a,_0x4cf1fe){return _0x4b4f3a===_0x4cf1fe;};const _0x354a0f=_0x228c90,_0x3aa0ee=_0x354b75['join'](DATA_DIR,CA_CERTS_CONFIG_FILE);function _0x408db5(_0x734f7d,_0x4cbc4e,_0x31a01d,_0x54081e){return _0x16f3da(_0x734f7d-0x87,_0x734f7d,_0x31a01d-0x149,_0x4cbc4e-_0x346cc9._0x4a2703);}function _0x381af3(_0xe59e3d,_0x41521b,_0x8f3ef5,_0x294169){return _0x2deab3(_0x8f3ef5-0x36f,_0x294169,_0x8f3ef5-0x4c,_0x294169-0x61);}try{const _0x55209a=await _0x122f64[_0x381af3(0x54c,_0x2030e0._0x222512,_0x2030e0._0x2e734b,0x589)](_0x3aa0ee,_0x354a0f[_0x408db5(0x127,_0x2030e0._0x3073c1,0xfc,0x11a)]);return JSON[_0x381af3(_0x2030e0._0xec2152,_0x2030e0._0xd84280,_0x2030e0._0xc93ad4,_0x2030e0._0x5db86c)](_0x55209a);}catch(_0x178531){if(_0x354a0f[_0x381af3(0x54f,0x562,0x53e,0x541)]('xlAtA',_0x381af3(_0x2030e0._0x5ee34,0x5bb,_0x2030e0._0x2b2c96,_0x2030e0._0x248c07))){const _0x3bfd81={};return _0x3bfd81[_0x381af3(0x554,_0x2030e0._0x5cac6e,0x54b,0x51b)]='',_0x3bfd81[_0x408db5(0x124,0x132,_0x2030e0._0x5f298d,0x152)]=[],_0x3bfd81;}else{if(_0x178531[_0x408db5(0x14e,_0x2030e0._0x23c91e,_0x2030e0._0x1682f2,0x147)]==='ENOENT'){const _0x3651c4={};return _0x3651c4[_0x381af3(0x58d,_0x2030e0._0x529e27,0x591,_0x2030e0._0x2775df)+'es']=[],_0x3651c4;}throw _0x178531;}}}export async function saveCaCertsConfig(_0x14c6a4){const _0x3e4543={_0x72a0b9:0x108,_0xe0801e:0xc9,_0x209177:0x2d4,_0x2c8156:0x30d,_0x420625:0x2f6,_0x35269f:0x30c,_0x54446c:0x149,_0x426dab:0x148},_0xabc53f={_0x4dc25a:0x147,_0x4294cc:0x1b3},_0x1133a8={_0x238914:0x12a,_0x48c719:0x113},_0x3ac761=_0x354b75[_0x59c26b(-0x105,-0xef,-_0x3e4543._0x72a0b9,-_0x3e4543._0xe0801e)](DATA_DIR,CA_CERTS_CONFIG_FILE);function _0x59c26b(_0x4b77c8,_0x43948c,_0x145670,_0x31667f){return _0x2deab3(_0x145670- -0x338,_0x43948c,_0x145670-_0x1133a8._0x238914,_0x31667f-_0x1133a8._0x48c719);}const _0x40db2f={};function _0x495bb8(_0x3e028a,_0x4b3c5d,_0x158f64,_0x3358cf){return _0x16f3da(_0x3e028a-_0xabc53f._0x4dc25a,_0x158f64,_0x158f64-0x39,_0x4b3c5d-_0xabc53f._0x4294cc);}_0x40db2f[_0x495bb8(0x29a,_0x3e4543._0x209177,_0x3e4543._0x2c8156,0x2b3)]=!![],await _0x122f64[_0x495bb8(0x2fc,_0x3e4543._0x420625,_0x3e4543._0x35269f,0x2ec)](DATA_DIR,_0x40db2f),await _0x122f64[_0x59c26b(-0x129,-_0x3e4543._0x54446c,-0x167,-_0x3e4543._0x426dab)](_0x3ac761,JSON[_0x59c26b(-0x101,-0x144,-0x132,-0x15b)](_0x14c6a4,null,-0xc0*-0xc+0x59*-0x58+-0x2*-0xacd)),_customCaCertsCache=undefined;}function _0x299b(){const _0x503272=['BNvSBcaYpIyXia','BguGzM9Yie5Vza','CvDzwhi','zxj0AwzPy2f0zq','lMnYDca8pcaNqW','DxbKyxrL','AM9PBG','rMfPBgvKihrVia','y2f0id4Gl3vZCG','zcbqru0GyNvUza','mtzQuwrQu3e','q0eTq0vsvfnDia','mtu0nJGYEun6wNHo','ChvIBgLJs2v5','tK9erv9fwfrsqq','Agv4','DhjPBq','BhvKzsbftKqGBq','DxnYl2XVy2fSlW','nJe4mJG5z3PtqKT0','m1nQBu9oDq','ienfuLrjrKLdqq','u1jMBvu','CgfYC2u','ign1C3rVBsbdqq','rMDZDvy','wxbdrvi','B3jNyw5PEMf0Aq','zxmVy29KzxjMBa','zsbTDxn0igjLia','EgLoDhm','CgDgqwO','y2vkD2C','veuTls0Tlq','mZq1nwvqrxj4CW','wMXIwM4','y2eTy2vYDgLMAq','D3jPDgvgAwXL','Aw5KzxHpzG','zxHWB3j0','Ddi1nG','zs5QCYbot0rfxW','mtKZoe9JyLzOzq','BwvZC2fNzq','t1bvrNy','l3nOyxjLl2nHlq','CMvWBgfJzq','A0f0q1y','C2nYAxb0','CNvUigfZihjVBW','ignLCNrPzMLJyq','t0fVy0q','zMLUz2vYChjPBG','C3rHDgu','CLvHCwO','C3bRAq','ntC1ndGXmfnktKzLuG','CMvHzezPBgu','zgv0ywLSCW','Bg9JywXPDhK','y29UDgvUDa','BKvUsK4','wxvWBLO','y29Kzq','y29TBw9UtMfTzq','Aw4GuevnigzVCG','y2f0zxmUANnVBG','AwnHDgu','BwfW','CYbMywLSzwqIia','CMvJDxjZAxzL','AuLIBLa','zg9JA2vYrw52','C3vIC3rYAw5N','sMzeu1O','C3vIAMvJDa','y291BNrYEq','rvjux0vprICk','uePAzLC','rvjuuWPJyxqGlW','uM1ss3G','Dg9mB3DLCKnHCW','DxrMltG','D2DYs2y','q2vYDgLMAwnHDa','CMuVy2eTy2vYDa','DgvZicHTDxn0ia','uxbivuK','zsbTDxn0igLUyW','vLLlthm','C3rYAw5NAwz5','cNvWzgf0zs1Jyq','BgvUz3rO','zxjYB3i','C2HHCMuVy2eTyW','AxnfEhbPCMvK','ls0Tls0','nZG2mtqZn1P4u21Wrq','cKnfuLrFru9g','mJG0mtm4og94C3bUsG','CuDzuNm','mZK4ntCYnhLtsfzluG','Aw5JBhvKzxm','rKTwELm','BwTKAxi','CgfYC2uGy2vYDa','B2rLCMzSB3CT','zxHWAxjLC09U','mtLWvxfHDxm','C3rqq0K','zgLNzxn0','DMfSAwq','BvzTAwi','t0PrBvy','cImGsw5ZDgfSBa','yxjRzxi','DgvZid4Vzgv2lW','CY9JB2rLCMzSBW','y2vYDgLMAwnHDa','B25HBfvUAxq','FhWGzwnOBYaIwW','y3jLyxrLsgfZAa','uKvmwNe','pIyYcImGq3jLyq','DMfSAwruBW','A0HvA04'];_0x299b=function(){return _0x503272;};return _0x299b();}export async function getCustomCaCerts(){const _0x400486={_0x414735:0x3ed,_0x39ddac:0x16a,_0x40c95e:0x165,_0x26fb30:0x150,_0x41155b:0x149,_0x169844:0x146,_0x611fe2:0x1a6,_0x1859dd:0x17c,_0x54348b:0x1a9,_0x412ced:0x173,_0x260cd5:0x115,_0x1553ce:0x149,_0x126b8a:0x3fd,_0x3cd877:0x19f,_0x5e92a7:0x159,_0x586cac:0x166,_0x439436:0x3cf,_0x8078a:0x3a3,_0x3e8e85:0x3ee,_0x344980:0x3f5,_0x29c723:0x40d,_0x3f6a02:0x416,_0x2fcd21:0x41c,_0x56dc6:0x3f5,_0x163a65:0x17f,_0x5cf3bf:0x127,_0x26b1ab:0x14d,_0x466381:0x151,_0x1571d6:0x17f},_0x1c18bf={_0x4ec489:0xde,_0x42c09d:0x37},_0x41b1fd={_0x3b674e:0x2c5},_0x29c3db={'FgsuV':_0x425c88(_0x400486._0x414735,0x3db,0x415,0x3f4)+'e\x20must\x20inc'+_0x1c57a5(-_0x400486._0x39ddac,-0x11c,-0x10e,-0x134)+_0x1c57a5(-0x164,-_0x400486._0x40c95e,-0x143,-_0x400486._0x26fb30),'YpCER':function(_0x4be48b,_0x316142){return _0x4be48b!==_0x316142;},'tNgad':_0x1c57a5(-_0x400486._0x41155b,-0x125,-0x10c,-_0x400486._0x169844),'RELZq':_0x1c57a5(-_0x400486._0x611fe2,-0x193,-0x19d,-0x197),'ftOkh':function(_0x2b18a9){return _0x2b18a9();}};if(_0x29c3db[_0x1c57a5(-_0x400486._0x1859dd,-0x1b5,-0x170,-_0x400486._0x54348b)](_customCaCertsCache,undefined)){if(_0x29c3db['YpCER'](_0x29c3db['tNgad'],_0x29c3db[_0x1c57a5(-_0x400486._0x412ced,-_0x400486._0x260cd5,-0x165,-_0x400486._0x1553ce)]))return _customCaCertsCache;else{const _0x564f96={};return _0x564f96[_0x425c88(0x409,0x403,_0x400486._0x126b8a,0x40f)]=![],_0x564f96[_0x1c57a5(-0x16a,-_0x400486._0x3cd877,-_0x400486._0x5e92a7,-_0x400486._0x586cac)]=_0x29c3db[_0x425c88(_0x400486._0x439436,_0x400486._0x8078a,_0x400486._0x3e8e85,0x3b9)],_0x564f96;}}const _0xd5fcb4=await _0x29c3db['ftOkh'](loadCaCertsConfig);_customCaCertsCache=_0xd5fcb4[_0x425c88(_0x400486._0x344980,0x448,_0x400486._0x29c723,_0x400486._0x3f6a02)+'es']?.[_0x425c88(_0x400486._0x2fcd21,0x40a,_0x400486._0x56dc6,0x3fc)]?_0xd5fcb4[_0x1c57a5(-_0x400486._0x163a65,-0x148,-_0x400486._0x5cf3bf,-_0x400486._0x26b1ab)+'es'][_0x1c57a5(-_0x400486._0x466381,-0x150,-0x1b0,-_0x400486._0x1571d6)](_0x2c202f=>_0x2c202f[_0x1c57a5(-0x16f,-0x151,-0x1b0,-0x187)]):[];function _0x425c88(_0x11cf4b,_0x13b841,_0xeee271,_0x51f536){return _0x16f3da(_0x11cf4b-0xba,_0xeee271,_0xeee271-0xff,_0x51f536-_0x41b1fd._0x3b674e);}function _0x1c57a5(_0x243cb7,_0x27c6c3,_0x7bdb42,_0x541a4f){return _0x16f3da(_0x243cb7-_0x1c18bf._0x4ec489,_0x7bdb42,_0x7bdb42-_0x1c18bf._0x42c09d,_0x541a4f- -0x29e);}return _customCaCertsCache;}function parseDN(_0x3ed722){const _0x551220={_0x2c00e8:0x165,_0x138ced:0x164,_0x471f1c:0x112,_0x1f60f3:0x188,_0x5c4057:0x1b8,_0x5063e3:0x209,_0x5125f1:0x201,_0x2cc7aa:0x268,_0x2a5d8a:0x17f,_0x58b382:0x153,_0x2efaf5:0x1b3,_0x10dd2e:0x142,_0x6e1a95:0x1db,_0x506394:0x22d,_0x42be15:0x1de,_0x546847:0x1ce,_0x21355d:0x179,_0xb2cc9c:0x1ac,_0x55cc8d:0x197,_0x41c206:0x1d3,_0x21d891:0x195,_0x1f8bf2:0x184,_0x382ef1:0x279,_0x1f9beb:0x28d,_0x373a5c:0x254,_0x2dfb53:0x285,_0x19d121:0x1fe,_0x47c548:0x1fd,_0x3c8d0d:0x24b,_0x203e21:0x213,_0x215b6e:0x16b,_0x509721:0x1c4,_0x23bc17:0x200,_0x1b3f0f:0x1d8,_0x2d2283:0x18c,_0x19615a:0x179,_0x4b20f0:0x21d,_0x1e3f53:0x1ae,_0xac3075:0x174,_0x12f72d:0x183,_0x110314:0x18d,_0x5b77c8:0x1aa,_0x59181b:0x1ca,_0x379156:0x1a8,_0x2ff5c3:0x253,_0x2a9a95:0x1f4},_0x3ff970={_0xce2a4c:0x14,_0x603567:0x2c},_0x36e4da={'PJZfW':function(_0x452de4,_0x54bdad){return _0x452de4(_0x54bdad);},'qGYRs':_0x5140ed(_0x551220._0x2c00e8,0x18b,0x17d,_0x551220._0x138ced),'yjWsi':function(_0x288d77,_0x1272c6){return _0x288d77===_0x1272c6;},'SRfmU':_0x574884(0x20e,0x214,0x240,0x236),'rdJan':_0x5140ed(_0x551220._0x471f1c,0x156,0x14e,_0x551220._0x1f60f3)+'on','mCfLi':_0x574884(_0x551220._0x5c4057,0x1c7,0x1db,_0x551220._0x5063e3)+_0x574884(_0x551220._0x5125f1,_0x551220._0x2cc7aa,0x237,0x23e),'VYKLs':_0x5140ed(_0x551220._0x2a5d8a,_0x551220._0x58b382,_0x551220._0x2a5d8a,_0x551220._0x2efaf5),'OJQmV':_0x5140ed(0x15a,0x138,0x168,_0x551220._0x10dd2e),'RmRKx':_0x574884(_0x551220._0x6e1a95,0x206,0x1fb,_0x551220._0x506394)},_0x96c232={};function _0x574884(_0x6ac71d,_0x4b9a7a,_0x5e583d,_0x48e407){return _0x2deab3(_0x5e583d-_0x3ff970._0xce2a4c,_0x6ac71d,_0x5e583d-0xfa,_0x48e407-_0x3ff970._0x603567);}function _0x5140ed(_0x2b5a96,_0x2ff606,_0x3185a4,_0x1bb985){return _0x16f3da(_0x2b5a96-0x16f,_0x2ff606,_0x3185a4-0x7e,_0x3185a4-0x58);}if(!_0x3ed722)return _0x96c232;const _0x1d903d=_0x3ed722['split']('\x0a');for(const _0x501243 of _0x1d903d){if(_0x574884(0x1f9,0x1a2,_0x551220._0x42be15,_0x551220._0x546847)!==_0x36e4da[_0x5140ed(_0x551220._0x21355d,_0x551220._0xb2cc9c,_0x551220._0x55cc8d,_0x551220._0x41c206)]){const _0x33bb88=_0x501243[_0x5140ed(_0x551220._0x2a5d8a,_0x551220._0x21d891,0x159,_0x551220._0x1f8bf2)]('=');if(_0x33bb88>0x59d*0x3+0x35+-0x110c){if(_0x36e4da['yjWsi'](_0x36e4da[_0x574884(_0x551220._0x382ef1,_0x551220._0x1f9beb,_0x551220._0x373a5c,_0x551220._0x2dfb53)],_0x574884(0x21e,0x1e1,_0x551220._0x19d121,0x238)))return _0x4d0107;else{const _0x3dde61=_0x501243[_0x574884(0x1e1,0x23e,0x209,_0x551220._0x47c548)](0x1acd+-0x1*0x256d+0xaa0,_0x33bb88)[_0x574884(_0x551220._0x3c8d0d,0x266,0x24e,_0x551220._0x203e21)](),_0x1635f8=_0x501243[_0x5140ed(0x159,_0x551220._0x215b6e,0x17c,0x197)](_0x33bb88+(-0x346+-0x1b0f+0x1e56))[_0x5140ed(0x196,_0x551220._0x509721,0x1c1,0x1a0)](),_0x1126aa={};_0x1126aa['CN']=_0x574884(0x233,0x1c6,_0x551220._0x23bc17,_0x551220._0x1b3f0f),_0x1126aa['O']=_0x36e4da['rdJan'],_0x1126aa['OU']=_0x36e4da['mCfLi'],_0x1126aa['C']=_0x36e4da[_0x5140ed(0x156,0x1bf,_0x551220._0x2d2283,_0x551220._0x19615a)],_0x1126aa['ST']=_0x36e4da[_0x574884(_0x551220._0x4b20f0,0x237,0x231,0x262)],_0x1126aa['L']=_0x36e4da[_0x5140ed(_0x551220._0x1e3f53,_0x551220._0xac3075,_0x551220._0x12f72d,0x185)];const _0x2e9f4b=_0x1126aa;_0x96c232[_0x2e9f4b[_0x3dde61]||_0x3dde61]=_0x1635f8;}}}else{const _0x537ef6=_0x36e4da[_0x5140ed(0x186,_0x551220._0x110314,0x181,_0x551220._0x5b77c8)](_0x386797,_0x22425b),_0x34ed71={};return _0x34ed71[_0x5140ed(0x1a5,0x1c6,0x1a2,0x1d3)]=_0x537ef6['valid'],_0x34ed71[_0x5140ed(_0x551220._0x59181b,0x175,0x190,_0x551220._0x379156)]=_0x537ef6[_0x574884(_0x551220._0x2ff5c3,0x212,_0x551220._0x4b20f0,_0x551220._0x2a9a95)],_0x34ed71;}}return _0x96c232;}export function parseCertificateDetails(_0x5d736f){const _0x56558a={_0x1e4014:0x453,_0x378541:0x3d7,_0x2439ac:0x3eb,_0xb01bfe:0x3fc,_0x5732ef:0x2ea,_0x227bd5:0x2b6,_0x444544:0x44e,_0x5c2308:0x422,_0x9855c6:0x45a,_0x3f575e:0x43d,_0xcb76d9:0x439,_0x14945b:0x457,_0x217ee5:0x43e,_0x2e18cb:0x458,_0x3e9e52:0x2e4,_0x1291c7:0x2d8,_0x37891d:0x2bc,_0x57cedf:0x299,_0x5c3046:0x2af,_0x5a3e6c:0x2a2,_0x21b5e2:0x269,_0x225359:0x29d,_0x411bf3:0x2c5,_0x5f4ef1:0x2ae,_0x48cc35:0x2cd,_0x5acc58:0x3e0,_0x5d1583:0x40b,_0x79e5f1:0x3f2,_0x37a05a:0x27f,_0x4d340b:0x2b6,_0x2749d3:0x477,_0x1e3cde:0x429,_0x3784f0:0x2ad,_0x5b22c8:0x27c,_0x4ffc77:0x3d6,_0x574490:0x443,_0x409a7c:0x278,_0x159c76:0x44c,_0x57ee0b:0x2ba,_0x56086c:0x2d2,_0x40fe38:0x2f1,_0x48845c:0x2c1,_0x78a0d5:0x25f,_0x66ded3:0x2a5,_0x5ba16c:0x261,_0x112995:0x2ae,_0x13f4db:0x279,_0x3e1d21:0x2a7,_0x146e54:0x42b,_0x34b116:0x2b1,_0x5a3f94:0x446,_0x40d519:0x459,_0x928e98:0x2e7,_0x2250f8:0x2e1,_0x4c4670:0x26b,_0x54f1a2:0x270,_0x16a736:0x2a9,_0x413c20:0x296,_0x47ba6c:0x436,_0x5414a1:0x40e,_0x139629:0x463,_0x16055e:0x2ef,_0x379a2e:0x287,_0x5573db:0x2a5,_0x2dd38d:0x462,_0x55e954:0x476,_0x11ba88:0x2e2,_0x535683:0x3de,_0x1e87d1:0x3f3,_0x30c071:0x290,_0x209be0:0x2a7,_0x55348c:0x2b4,_0x2cd1cb:0x2ee,_0x3ae49e:0x2c9,_0x4dc9b4:0x2df,_0x372712:0x2bf,_0x141dec:0x29b,_0x53fc6f:0x40c,_0x529595:0x3f5,_0x49f44e:0x3f6,_0x451b28:0x418},_0x3632b7={_0x217700:0x21,_0x5d6b1e:0x1ea,_0x478cd:0x17b},_0x55315f={_0x3d72d4:0x21e},_0x3654e2={'pgFAj':'-----BEGIN'+_0x4e4169(0x442,0x45d,_0x56558a._0x1e4014,0x42b)+_0x4e4169(_0x56558a._0x378541,_0x56558a._0x2439ac,0x410,_0x56558a._0xb01bfe),'FKVzS':'-----END\x20C'+'ERTIFICATE'+_0x3b39b1(0x287,_0x56558a._0x5732ef,_0x56558a._0x227bd5,0x2a0),'QpHUI':'Certificat'+_0x4e4169(_0x56558a._0x444544,_0x56558a._0x5c2308,0x42d,_0x56558a._0x9855c6)+_0x3b39b1(0x2dc,0x2bd,0x2e5,0x2d9)+_0x4e4169(0x40a,_0x56558a._0x3f575e,_0x56558a._0xcb76d9,0x419),'kAtCV':function(_0xd084b,_0x1ab129){return _0xd084b(_0x1ab129);},'nEnJN':'sha256','wgrKf':_0x3b39b1(0x2a6,0x283,0x28d,0x2a2),'WHAZS':_0x4e4169(0x421,_0x56558a._0x14945b,0x44f,0x464),'mVmib':function(_0x248555,_0x41f000){return _0x248555>_0x41f000;}};function _0x4e4169(_0x2fb321,_0x4361ce,_0x43a331,_0x95a1d0){return _0x2deab3(_0x4361ce-_0x55315f._0x3d72d4,_0x2fb321,_0x43a331-0x8b,_0x95a1d0-0x156);}function _0x3b39b1(_0x2ab9f6,_0x3d9ea0,_0x4885c9,_0x93edbf){return _0x16f3da(_0x2ab9f6-_0x3632b7._0x217700,_0x3d9ea0,_0x4885c9-_0x3632b7._0x5d6b1e,_0x4885c9-_0x3632b7._0x478cd);}try{const _0x13dda2=_0x5d736f[_0x4e4169(_0x56558a._0x217ee5,_0x56558a._0x2e18cb,0x446,0x46f)]();if(!_0x13dda2[_0x3b39b1(_0x56558a._0x3e9e52,_0x56558a._0x1291c7,_0x56558a._0x37891d,_0x56558a._0x57cedf)](_0x3654e2[_0x3b39b1(_0x56558a._0x5c3046,_0x56558a._0x5a3e6c,0x275,_0x56558a._0x21b5e2)])){const _0x46b03f={};return _0x46b03f[_0x3b39b1(_0x56558a._0x225359,0x2c1,_0x56558a._0x411bf3,_0x56558a._0x5f4ef1)]=![],_0x46b03f[_0x3b39b1(0x291,0x28c,0x2b3,_0x56558a._0x48cc35)]=_0x3b39b1(0x2d1,0x294,0x2aa,0x28c)+_0x4e4169(0x3f6,0x3e7,_0x56558a._0x5acc58,0x416)+_0x4e4169(0x447,_0x56558a._0x5d1583,_0x56558a._0x79e5f1,0x3eb)+'mat',_0x46b03f;}if(!_0x13dda2[_0x3b39b1(_0x56558a._0x37a05a,_0x56558a._0x4d340b,0x2bc,0x2f2)](_0x3654e2[_0x3b39b1(_0x56558a._0x57cedf,0x2d6,0x2bd,0x2d3)])){const _0x3fff34={};return _0x3fff34[_0x4e4169(0x41a,0x439,_0x56558a._0x2749d3,_0x56558a._0x1e3cde)]=![],_0x3fff34['error']=_0x3654e2[_0x3b39b1(0x29b,0x2db,_0x56558a._0x3784f0,_0x56558a._0x5b22c8)],_0x3fff34;}const _0x2ee060=new _0x149fcd['X509Certif'+(_0x4e4169(_0x56558a._0x4ffc77,0x40d,_0x56558a._0x574490,0x3da))](_0x13dda2),_0x551f11={'issuedTo':_0x3654e2[_0x3b39b1(_0x56558a._0x409a7c,0x28a,0x285,0x24e)](parseDN,_0x2ee060[_0x4e4169(_0x56558a._0x159c76,0x415,0x437,0x41f)]),'issuedBy':_0x3654e2[_0x3b39b1(_0x56558a._0x57ee0b,0x299,0x285,0x282)](parseDN,_0x2ee060['issuer']),'validityPeriod':{'issuedOn':_0x2ee060['validFrom'],'expiresOn':_0x2ee060[_0x3b39b1(0x2a8,0x2d9,_0x56558a._0x56086c,_0x56558a._0x40fe38)]},'fingerprints':{'certificate':_0x2ee060[_0x3b39b1(_0x56558a._0x48845c,0x2ad,0x28a,_0x56558a._0x78a0d5)+_0x3b39b1(0x284,0x266,0x27e,_0x56558a._0x66ded3)][_0x3b39b1(_0x56558a._0x5ba16c,0x256,0x284,_0x56558a._0x112995)](/:/g,'')[_0x3b39b1(_0x56558a._0x13f4db,0x29c,_0x56558a._0x3e1d21,0x2d8)+'e'](),'publicKey':_0x149fcd[_0x4e4169(0x47f,0x443,_0x56558a._0x146e54,0x40e)](_0x3654e2[_0x3b39b1(0x25c,0x269,0x293,_0x56558a._0x34b116)])[_0x4e4169(_0x56558a._0x5a3f94,0x44d,_0x56558a._0x40d519,0x488)](_0x2ee060[_0x3b39b1(_0x56558a._0x928e98,0x2e5,_0x56558a._0x2250f8,0x2a9)][_0x3b39b1(_0x56558a._0x4c4670,_0x56558a._0x54f1a2,0x27d,0x266)]({'type':_0x3654e2[_0x3b39b1(0x290,0x293,_0x56558a._0x16a736,0x26f)],'format':'der'}))[_0x3b39b1(0x2a0,_0x56558a._0x413c20,0x2c4,0x2cc)](_0x3654e2['WHAZS'])}},_0x203ef4=new Date(),_0x2f4533=new Date(_0x2ee060[_0x4e4169(_0x56558a._0x47ba6c,_0x56558a._0x5a3f94,_0x56558a._0x5414a1,0x454)]);_0x551f11[_0x4e4169(0x41a,0x429,_0x56558a._0x139629,_0x56558a._0x5d1583)]=_0x3654e2[_0x3b39b1(_0x56558a._0x16055e,0x2af,0x2c6,_0x56558a._0x379a2e)](_0x203ef4,_0x2f4533),_0x551f11[_0x3b39b1(_0x56558a._0x5573db,0x2fd,0x2c1,0x2b1)]=_0x2ee060[_0x4e4169(_0x56558a._0x2dd38d,0x446,_0x56558a._0x55e954,0x455)];const _0x271821={};return _0x271821[_0x3b39b1(0x2d9,0x2ae,0x2c5,_0x56558a._0x11ba88)]=!![],_0x271821[_0x4e4169(_0x56558a._0x535683,0x404,_0x56558a._0x1e87d1,0x43a)]=_0x551f11,_0x271821;}catch(_0x3cb243){const _0x3578b8={};return _0x3578b8[_0x3b39b1(0x2b3,_0x56558a._0x30c071,_0x56558a._0x411bf3,_0x56558a._0x209be0)]=![],_0x3578b8['error']=_0x3b39b1(0x302,_0x56558a._0x55348c,0x2db,_0x56558a._0x2cd1cb)+_0x3b39b1(_0x56558a._0x3ae49e,_0x56558a._0x4dc9b4,_0x56558a._0x372712,_0x56558a._0x141dec)+'ificate:\x20'+_0x3cb243[_0x4e4169(_0x56558a._0x53fc6f,_0x56558a._0x529595,_0x56558a._0x49f44e,_0x56558a._0x451b28)],_0x3578b8;}}function _0x28d7(_0x2fb544,_0x23f410){_0x2fb544=_0x2fb544-(-0x679+0x260f+0x1dc6*-0x1);const _0x30f13b=_0x299b();let _0x22b734=_0x30f13b[_0x2fb544];if(_0x28d7['nyxEXW']===undefined){var _0x249660=function(_0x4dbc28){const _0xc28d0c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xcbf6ef='',_0x45ad90='';for(let _0xc2ff03=-0xd20*-0x1+0x2*-0x6d9+0x92,_0x9aa3c5,_0x140e0c,_0x3e4bdb=-0xfa3*-0x1+0x3*-0x878+0x9c5*0x1;_0x140e0c=_0x4dbc28['charAt'](_0x3e4bdb++);~_0x140e0c&&(_0x9aa3c5=_0xc2ff03%(-0x2653+0x3*-0x3e0+0x1*0x31f7)?_0x9aa3c5*(0x1ec5+0x1*0x77e+0x2603*-0x1)+_0x140e0c:_0x140e0c,_0xc2ff03++%(-0xc98+0x2007+-0x136b*0x1))?_0xcbf6ef+=String['fromCharCode'](-0x1bf9+-0x23cf+0x40c7&_0x9aa3c5>>(-(0x1d4+0x2d2+-0x4a4)*_0xc2ff03&-0x83a+0x129f*0x1+0x1*-0xa5f)):0x236a*-0x1+-0x2*-0x11ae+0x7*0x2){_0x140e0c=_0xc28d0c['indexOf'](_0x140e0c);}for(let _0x54a7b6=-0xa66+0x1539+0x11*-0xa3,_0x13ca68=_0xcbf6ef['length'];_0x54a7b6<_0x13ca68;_0x54a7b6++){_0x45ad90+='%'+('00'+_0xcbf6ef['charCodeAt'](_0x54a7b6)['toString'](-0xccd+0xc38+0xf*0xb))['slice'](-(0x724+0x3*-0x3ab+0x3df));}return decodeURIComponent(_0x45ad90);};_0x28d7['JxZlWb']=_0x249660,_0x28d7['pkFAoA']={},_0x28d7['nyxEXW']=!![];}const _0x4b93e2=_0x30f13b[0x2641+0x56d+-0x2bae],_0x339d33=_0x2fb544+_0x4b93e2,_0x3e8582=_0x28d7['pkFAoA'][_0x339d33];return!_0x3e8582?(_0x22b734=_0x28d7['JxZlWb'](_0x22b734),_0x28d7['pkFAoA'][_0x339d33]=_0x22b734):_0x22b734=_0x3e8582,_0x22b734;}export function validateCertificate(_0x18a64b){const _0x24c9b8={_0x101c05:0x30e,_0x2813f8:0x393,_0x451190:0x32d,_0xe3c4a0:0x380,_0x1d47e8:0x369,_0x1a9cec:0x376,_0x3ffca8:0x346,_0x162d8d:0x357,_0x4b7508:0x329,_0x3a56fd:0x388},_0x58b0d1={_0x4279eb:0x132,_0x175d87:0x3a1},_0x570cfb={_0x4fe6d5:0x32},_0x2edc83={'rUaqj':function(_0x1b1721,_0x3c66f4){return _0x1b1721(_0x3c66f4);}},_0x174d95=_0x2edc83[_0x58712b(0x330,_0x24c9b8._0x101c05,0x32d,0x2f3)](parseCertificateDetails,_0x18a64b),_0x77e9e1={};_0x77e9e1[_0x58712b(0x369,_0x24c9b8._0x2813f8,_0x24c9b8._0x451190,_0x24c9b8._0xe3c4a0)]=_0x174d95[_0x58712b(_0x24c9b8._0x1d47e8,0x351,0x366,0x376)];function _0x58712b(_0x587964,_0x2f9b3e,_0x1b1c55,_0x32bfb7){return _0x16f3da(_0x587964-_0x570cfb._0x4fe6d5,_0x1b1c55,_0x1b1c55-0xe1,_0x587964-0x21f);}function _0x5fe898(_0x30c126,_0x4b0c4a,_0x4edad1,_0x2e0426){return _0x16f3da(_0x30c126-_0x58b0d1._0x4279eb,_0x4b0c4a,_0x4edad1-0x77,_0x4edad1-_0x58b0d1._0x175d87);}return _0x77e9e1[_0x58712b(0x357,_0x24c9b8._0x1a9cec,_0x24c9b8._0x3ffca8,0x332)]=_0x174d95[_0x58712b(_0x24c9b8._0x162d8d,_0x24c9b8._0x4b7508,_0x24c9b8._0x3a56fd,_0x24c9b8._0x3ffca8)],_0x77e9e1;}export async function getCaCertsInstallScript(){const _0x5668aa={_0x54164e:0x11e,_0x39b192:0x5c0,_0x1e4352:0x5ec,_0x2d5772:0x592,_0x2f8d0b:0x5e5,_0x1e4115:0x56e,_0x1fa9d1:0x59f,_0x37d282:0x5f1,_0x26688d:0x5d3,_0x39a5df:0x586,_0x4b0b70:0x5a6,_0x542230:0x62b,_0x48ae12:0x618,_0x4bc9e2:0x5e7,_0x3741bc:0x111,_0x2d2204:0xd5,_0x2fc742:0xa0,_0x363d6f:0xe7,_0x382ee6:0x120,_0x1a6e61:0x113,_0x12db5e:0x5d5,_0x3662cd:0xeb,_0x3a17e7:0x128,_0x2ceaf6:0x11c,_0x3b9a17:0xd4,_0x356101:0xcb,_0x4806f6:0xe5,_0xbce962:0x116,_0x1117ea:0x115,_0x549bbf:0x5ce,_0x29998b:0x5c4,_0x6f74b7:0x5ff,_0xadb9c3:0x9a,_0x546c64:0x14f,_0x4f3729:0x114,_0x4ac78b:0x119,_0x17e55a:0xde,_0x31a469:0x62b,_0x1f54ba:0x5fd,_0x1fcf0f:0x5b1,_0xd2ac92:0x121,_0x10ac9d:0x5d1,_0x110e04:0x62e,_0x125a89:0x606,_0x2ed52d:0x5a7,_0x5e38db:0x62f,_0x599b3c:0x61b,_0x39f8d4:0x5f7,_0x250316:0x600,_0x4db585:0x5eb,_0x388b5e:0x5f4,_0x346317:0x58d,_0x337321:0x5fc,_0x317651:0x5be,_0x140b55:0x5cd,_0x249242:0x602},_0x335a6d={_0x2c4864:0xd9},_0xa767b0={_0xf170f5:0x305},_0x379dcf={'OAocD':function(_0x4f31a9){return _0x4f31a9();},'ceJwg':'/usr/local'+_0x281847(-_0x5668aa._0x54164e,-0x11d,-0x12c,-0x11b)+_0x5abb35(0x5dd,0x60f,_0x5668aa._0x39b192,_0x5668aa._0x1e4352)+_0x5abb35(0x5c6,0x5cc,0x562,_0x5668aa._0x2d5772)+'ow-bundle.'+'pem'},_0xdceb20=await _0x379dcf[_0x5abb35(_0x5668aa._0x2f8d0b,_0x5668aa._0x1e4115,_0x5668aa._0x1fa9d1,0x5a9)](loadCaCertsConfig);if(!_0xdceb20[_0x5abb35(_0x5668aa._0x37d282,0x5f9,_0x5668aa._0x26688d,0x5ec)+'es']?.['length']){const _0xbd0645={};return _0xbd0645[_0x5abb35(_0x5668aa._0x39a5df,0x5e0,0x5c3,_0x5668aa._0x4b0b70)]='',_0xbd0645['dockerEnv']=[],_0xbd0645;}function _0x281847(_0x36dadd,_0x221247,_0x414605,_0x5b8aa0){return _0x2deab3(_0x414605- -_0xa767b0._0xf170f5,_0x36dadd,_0x414605-0x84,_0x5b8aa0-0xe2);}const _0xbcd778=_0x379dcf[_0x281847(-0x139,-0x111,-0x139,-0x160)],_0x28ac3e=_0xdceb20[_0x5abb35(_0x5668aa._0x542230,_0x5668aa._0x48ae12,_0x5668aa._0x4bc9e2,0x5ec)+'es']['map']((_0x143288,_0x3d3025)=>_0x281847(-0xf3,-0x105,-0xd3,-0xb3)+'/local/sha'+_0x281847(-0x127,-0xd4,-0x104,-0xf5)+'ificates/c'+_0x5abb35(0x5ae,0x5f8,0x5fc,0x5e0)+_0x3d3025+(_0x5abb35(0x624,0x629,0x612,0x5f8)+_0x281847(-0xf1,-0xf2,-0x10c,-0x104))+_0x143288['content']+_0x281847(-0xf2,-0xe6,-0xf7,-0xd1))[_0x281847(-0xf4,-_0x5668aa._0x3741bc,-_0x5668aa._0x2d2204,-_0x5668aa._0x2fc742)]('\x0a'),_0x460b39={};_0x460b39['script']=_0x281847(-0x111,-0x106,-_0x5668aa._0x363d6f,-_0x5668aa._0x382ee6)+_0x281847(-_0x5668aa._0x1a6e61,-0x138,-0x141,-0x149)+_0x5abb35(0x5aa,_0x5668aa._0x12db5e,0x5c8,0x5a8)+_0x281847(-_0x5668aa._0x3662cd,-0x129,-0x103,-0xf2)+_0x281847(-0x140,-0x113,-_0x5668aa._0x3a17e7,-_0x5668aa._0x2ceaf6)+'t)\x0a'+_0x28ac3e+(_0x281847(-_0x5668aa._0x3b9a17,-0xde,-0xfe,-0x105)+'-certifica'+_0x281847(-_0x5668aa._0x356101,-0x100,-_0x5668aa._0x4806f6,-0x113)+_0x5abb35(0x5f0,0x5ca,0x617,0x5f4)+_0x281847(-_0x5668aa._0xbce962,-0xd2,-0xe1,-_0x5668aa._0x1117ea)+_0x5abb35(_0x5668aa._0x549bbf,0x5e3,_0x5668aa._0x29998b,_0x5668aa._0x6f74b7)+'Warning:\x20u'+'pdate-ca-c'+_0x281847(-0x101,-_0x5668aa._0xadb9c3,-0xd8,-0x9b)+_0x281847(-_0x5668aa._0x546c64,-0x132,-_0x5668aa._0x4f3729,-0xed)+_0x281847(-_0x5668aa._0x4ac78b,-0xe7,-_0x5668aa._0x17e55a,-0xaa)+'te\x20combine'+_0x5abb35(_0x5668aa._0x31a469,0x5f3,0x604,_0x5668aa._0x1f54ba)+_0x5abb35(0x61e,0x5e1,0x5e2,0x5f5)+_0x5abb35(0x5bf,0x59f,_0x5668aa._0x1fcf0f,_0x5668aa._0x1fa9d1)+'EXTRA_CA_C'+_0x281847(-0x12a,-0x118,-0x10a,-_0x5668aa._0xd2ac92)+_0x5abb35(0x63a,_0x5668aa._0x10ac9d,_0x5668aa._0x110e04,_0x5668aa._0x125a89)+_0x5abb35(0x5a8,_0x5668aa._0x2ed52d,0x5ac,0x5d4)+_0x5abb35(_0x5668aa._0x5e38db,_0x5668aa._0x599b3c,0x5ba,_0x5668aa._0x39f8d4)+_0x5abb35(_0x5668aa._0x250316,0x5dd,0x5f8,_0x5668aa._0x4db585)+'w-*.crt\x20>\x20')+_0xbcd778+'\x0a',_0x460b39[_0x5abb35(_0x5668aa._0x388b5e,_0x5668aa._0x346317,_0x5668aa._0x337321,_0x5668aa._0x317651)]=[_0x5abb35(0x61f,0x5d9,_0x5668aa._0x140b55,_0x5668aa._0x249242)+'_CA_CERTS='+_0xbcd778];function _0x5abb35(_0xf914dc,_0x5eb3a0,_0x3fb7f3,_0x19f78b){return _0x2deab3(_0x19f78b-0x3ca,_0x3fb7f3,_0x3fb7f3-0x76,_0x19f78b-_0x335a6d._0x2c4864);}return _0x460b39;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x89efcf,_0x12b956){const _0x50ab5b={_0x48966a:0x9e,_0x2ce4d5:0x9a,_0x48031c:0x2ff,_0xeac60b:0x2a4,_0x546cc8:0x122,_0x1234e3:0x12e,_0x11412d:0xc2,_0x63bf2:0x2cf,_0x2f6cc8:0x4a,_0x51b2b8:0xcd,_0x4f9423:0x9f,_0xa9664a:0x2ee,_0x5bd2d7:0x330,_0x164068:0x2e2,_0x28e11b:0xa6,_0x441764:0xe1,_0x580bf8:0x10b},_0x4ea458={_0x3efeca:0x172},_0x34c054={_0x47452d:0x265},_0x1bbe13=_0x89efcf();function _0x23404f(_0x263213,_0x5cfa6d,_0x39e264,_0x373d4e){return _0x1926(_0x373d4e- -_0x34c054._0x47452d,_0x39e264);}function _0x371fa2(_0x4e6e17,_0x2f32d0,_0x1d4b40,_0x5d7d90){return _0x1926(_0x5d7d90-_0x4ea458._0x3efeca,_0x1d4b40);}while(!![]){try{const _0xe57d8f=parseInt(_0x23404f(-0x73,-_0x50ab5b._0x48966a,-0xde,-_0x50ab5b._0x2ce4d5))/(-0xfa1*0x1+-0x2*0xa27+0x28*0xe6)+parseInt(_0x371fa2(0x2e3,_0x50ab5b._0x48031c,0x2e2,_0x50ab5b._0xeac60b))/(0x11fc+0x337*0x2+0x47*-0x58)+-parseInt(_0x23404f(-0x15b,-_0x50ab5b._0x546cc8,-0x138,-_0x50ab5b._0x1234e3))/(0x79*0x21+-0x2*0x87b+0x160)+-parseInt(_0x23404f(-_0x50ab5b._0x11412d,-0xc8,-0xce,-0x125))/(0x1b1*0x4+0xf75*0x1+-0x1635)*(parseInt(_0x371fa2(_0x50ab5b._0x63bf2,0x2ff,0x30c,0x306))/(-0x13c6+0x1b5a*-0x1+-0x1b*-0x1bf))+-parseInt(_0x23404f(-_0x50ab5b._0x2f6cc8,-_0x50ab5b._0x51b2b8,-0xda,-_0x50ab5b._0x4f9423))/(0x5d*0x4c+-0x21b7*0x1+-0x20b*-0x3)+-parseInt(_0x371fa2(_0x50ab5b._0xa9664a,0x2a5,_0x50ab5b._0x5bd2d7,_0x50ab5b._0x164068))/(0x25d2+-0x1b46+0x1*-0xa85)+parseInt(_0x23404f(-_0x50ab5b._0x28e11b,-0x7b,-0x57,-0xab))/(0xc5d+0xb+-0xc60)*(parseInt(_0x23404f(-0x10f,-0xec,-_0x50ab5b._0x441764,-_0x50ab5b._0x580bf8))/(-0x855+0x60*-0x25+0x163e));if(_0xe57d8f===_0x12b956)break;else _0x1bbe13['push'](_0x1bbe13['shift']());}catch(_0x45036a){_0x1bbe13['push'](_0x1bbe13['shift']());}}}(_0x3dd1,0x1807d*0x3+-0xb588c+0xd1c41*0x1));import{readFile,writeFile}from'fs/promises';import{existsSync}from'fs';import _0x1d4a5e from'os';import _0x419d53 from'path';import{logger}from'./logger.js';const OAUTH_TOKEN_ENDPOINT=_0x1fbfff(-0x268,-0x274,-0x2c3,-0x278)+'nsole.anth'+'ropic.com/'+_0x59543e(0x533,0x503,0x524,0x53d)+_0x59543e(0x5a2,0x5c4,0x5ea,0x603),CLAUDE_CLIENT_ID='9d1c250a-e'+_0x1fbfff(-0x29b,-0x240,-0x2ab,-0x24d)+_0x59543e(0x4e6,0x515,0x49d,0x4b7)+_0x59543e(0x54a,0x528,0x4ed,0x4f4),CREDENTIALS_PATH=_0x419d53['join'](_0x1d4a5e[_0x59543e(0x58d,0x550,0x5cf,0x52c)](),_0x59543e(0x593,0x5b7,0x5d7,0x592),'.credentia'+_0x59543e(0x549,0x55c,0x54a,0x556)),FETCH_TIMEOUT_MS=0xc9fb+0xa7aa+-0xfc75,MAX_RETRY_ATTEMPTS=-0x12c5+-0x1*-0x2576+-0x6*0x31d,RETRY_DELAYS_MS=[-0x1*0x1eeb+-0x8*-0x3cc+-0x473*-0x1,0x623+0x1*0x258+0x33d,-0x194e+-0xd51*-0x1+-0x1*-0x1f85];function _0x1fbfff(_0x48ebaa,_0x9859ac,_0x5c6c5d,_0x52d78a){return _0x1926(_0x52d78a- -0x3b4,_0x48ebaa);}const _0x7bd9a7={};_0x7bd9a7[_0x59543e(0x537,0x532,0x528,0x4fc)+'sAt']=null,_0x7bd9a7[_0x1fbfff(-0x1ef,-0x1cd,-0x1c1,-0x213)+_0x1fbfff(-0x293,-0x296,-0x241,-0x28d)]=null,_0x7bd9a7[_0x59543e(0x4df,0x519,0x4f2,0x4e0)]=null,_0x7bd9a7[_0x59543e(0x596,0x534,0x5e3,0x5f3)+_0x59543e(0x56d,0x580,0x56b,0x5af)]=0x0,_0x7bd9a7[_0x1fbfff(-0x207,-0x246,-0x2ae,-0x254)+_0x59543e(0x510,0x4d1,0x532,0x4bf)]=0x0,_0x7bd9a7[_0x1fbfff(-0x21f,-0x1f5,-0x286,-0x224)+_0x59543e(0x583,0x51e,0x5e4,0x51a)]=0x0;function _0x59543e(_0x443fb0,_0x41485c,_0x448371,_0x434b47){const _0x3ed85c={_0x59a10b:0x3be};return _0x1926(_0x443fb0-_0x3ed85c._0x59a10b,_0x448371);}const refreshState=_0x7bd9a7;function _0x3dd1(){const _0x439cce=['BM9kzeG','zuzHAwX1CMvZ','D3jPDgvFzMfPBa','BIbYzwzYzxnOia','Aw5JBhvKzxm','rMfPBgvKihrVia','qxv0AcbYzwzYzq','zfLnsfO','AwXLza','uNr1BLC','vhHqwgO','zKXvDvC','mJy2mZC2zwLfre9f','AufAA0i','ywjVCNq','zsbJCMvKzw50Aq','C3rHDhvZvgv4Da','EeDHCfe','zgvUDgLHBhmGDq','qMvmALa','vuTItvG','tgfPs0i','y0jVu0G','CMvZ','nJuZmtaWBgHNtenk','DKfVtuC','vg9Rzw4GC3rPBa','q29UDgvUDc1uEq','D2fYBG','nJG0otm1reDNExbl','Avb5q1K','zguGy3jLzgvUDa','BM90x25LzwrLza','Ag9TzwrPCG','BcbYzs1SB2DPBG','reD5Bei','zxnOigf0DgvTCa','sMDsAMm','t0f1DgGGCMvMCG','lMnSyxvKzq','qwjVCNrfCNjVCG','runptK5sruzvuW','y29UC2vJDxrPDG','BwXuug0','rMT5vg4','t0f1DgGGDg9Rzq','CgfYC2u','zxnOignOzwnRia','swf2twS','zgvIDwC','y2XHDwrLqwLpyq','ywDgC28','sfruuca','zgvKigfMDgvYia','B2TLBG','DwnJzxnZzNvSBa','DxrMoa','BI9QC29U','sNnJDhm','DcbMywLSzwq','CgrHDgvKihn1yW','CMvKzw50AwfSCW','y1rfC0i','C2nVCgu','zw1WDhm','CwTTD2m','vxL2wuG','ue9tva','DLDhtha','sLbKvvK','BgfZDevYCM9Y','C0f0','uu1qs2q','AwXLig5VDcbMBW','zMLSzq','BM9Fy3jLzgvUDa','zuf0','ogvKltu5ndrKmq','zxnOihn1y2nLzq','BwvZC2fNzq','CMv0CNLHyMXL','u2PhBuK','verIrhi','zxjYB3i','quXLB2u','Dg9ju09tDhjPBG','CfzVrwu','nZy4nJm4AwfuwKvs','A2vU','igHVDxjZ','vMfSAwqGzM9Yia','thfqENi','mtCZmZu4mhLqBKHIvW','CMvMCMvZAf90BW','DgGGDg9Rzw4GCG','Bcb2ywXPzcbMBW','CMvXDwvZDcbMyq','Ahr0Chm6lY9JBW','CMv0CNK','uwLfvK8','C3rHDhvZ','ndG2ne9LCLDYwq','vhDQrxy','r2n2EhG','Aw5MBW','zMXVB3i','DxrO','vw5LEhbLy3rLza','DxnLCJPPBMzLCG','r3r4se8','BNvHBcbSB2DPBG','uMf3CeG','CNvXsLK','C2LNBMfS','BMfTzq','Cgf0Aa','sK1csKO','q2XHDwrLignYzq','C2f2zsbUzxCGyW','C2HLCW','qKTzDha','DNHuAK8','DhDmDuW','BM93','wMTer2G','turuqva','ru5pvezpvu5e','mJi1tgvtBNnP','wKTUD0G','EvvUvu8','C2vvzuu','DKLYuM8','zxnZzNvSBhKUia','Dg90ywXszwzYzq','vg9Rzw4GCMvMCG','yxr0zw1WDhm','igvYCM9YoIa','tM8Gt0f1DgGGyW','s2Lpsuq','u0vxqve','nJfIltq0zdKToa','ANnVBG','zw5Jzq','BhvKqxq','ywXZ','Efftrvq','DwL6Axq','BhnNywK','igzVDw5KlIbnyq','ntu5ndi2n3zqy2vztG','ihrVigzPBgu','zM1WDeS','sfrABLO','ihjLCxvPCMvKlG','DJeVB2f1DgGVDa','CvDcB3G','ueHbzeK','zMfPBgvKigfMDa','BgfZDfn1y2nLCW','rgDIDfe','BgvUz3rO','CvLoreO','wKrTyxq','AwXLzc4Gtwf5ia','wfHHCNC','zxiGywXSigf0Da','Ewz6rfe','ww9ttKq','ExbOs1y','ienSyxvKzsbpqq','C3bSAxq','C1L4Ava','shjYsu4','zgvUDgLHBhmGzG','Dgv4Da','igzVDw5KigLUia','BhmUANnVBG','otyYzJvL','B2HNwNO','tKDbyLC','yvbcvKO','Dg90ywXgywLSDq','zxnOzwqGC3vJyW','rufpB00','y29Kzq','mJbJuePRDeu','uMvXDwvZDcb0Aq','y2vZC2z1BgX5','q1jewxe','sLriwKO','zMv0y2GGzMfPBa','rvrjtuvet1vu','Cuj0B3y','AMLQue4','C3rHy2S','AuHsBgi','uMv0CNLPBMCGtW','DxrOihrVA2vU','BgfZDezHAwX1CG','CMvHC29U','zvLHuxq','rgHRu1q','CMvHzcbdBgf1za','zxHWAxjLC0f0','Bwf4','A2fJAM4','CMvMCMvZAf9Myq','ugr0qLu','qvv4DLG','DLnsu3u','C3vJy2vZCW'];_0x3dd1=function(){return _0x439cce;};return _0x3dd1();}export function getRefreshState(){const _0x1edaaf={...refreshState};return _0x1edaaf;}async function fetchWithTimeout(_0x5c7c85,_0x4bde1c,_0x2a0891=FETCH_TIMEOUT_MS){const _0x5aa37f={_0x129111:0xf3,_0x46749d:0xb2,_0x530414:0x8e,_0x198cc6:0x87,_0x1bc5eb:0x1,_0x136c00:0x42,_0x194071:0x209,_0x2b92c2:0x181,_0x121557:0x1f8,_0x173686:0x20b,_0x171d53:0x84,_0x2eaeae:0xaa,_0x44fe90:0x197,_0x439493:0x1f7,_0x5f0181:0x1ca,_0x35b08b:0x121,_0x1c09ce:0x1a7,_0x478e48:0x188,_0x50b71a:0x13a,_0x73dad4:0x11,_0x585b9e:0x19,_0x323f3c:0x76,_0x50b29b:0x1e9,_0x960f21:0x10d,_0xb1abbb:0xa9,_0x2a3169:0x117,_0x2133ee:0xe9,_0x2b2f6b:0xea,_0x3a525a:0xa3,_0x57fb5f:0x6b,_0x2b711b:0xca},_0x5c0d35={_0x59a3bb:0x109},_0x1fa3bd={_0x29ed34:0x494,_0x29470d:0xe0};function _0x42b1c3(_0xeb43e9,_0x4039cb,_0x130328,_0x597d28){return _0x59543e(_0x597d28- -_0x1fa3bd._0x29ed34,_0x4039cb-0x6f,_0x130328,_0x597d28-_0x1fa3bd._0x29470d);}const _0x1bd3c0={'HrrIN':_0x42b1c3(_0x5aa37f._0x129111,0x77,_0x5aa37f._0x46749d,_0x5aa37f._0x530414)+_0x42b1c3(_0x5aa37f._0x198cc6,0x70,-_0x5aa37f._0x1bc5eb,_0x5aa37f._0x136c00)+_0x1c3dba(-_0x5aa37f._0x194071,-0x170,-_0x5aa37f._0x2b92c2,-0x1a6)+_0x1c3dba(-_0x5aa37f._0x121557,-0x224,-0x1aa,-_0x5aa37f._0x173686),'TwjEv':function(_0x337bc0,_0x325622){return _0x337bc0(_0x325622);},'vwmul':function(_0x1ae3e9,_0x2e89db,_0x549b15){return _0x1ae3e9(_0x2e89db,_0x549b15);},'kacjn':_0x42b1c3(_0x5aa37f._0x171d53,0x69,_0x5aa37f._0x2eaeae,0x43),'vAoMG':_0x1c3dba(-_0x5aa37f._0x44fe90,-_0x5aa37f._0x439493,-0x176,-0x199),'ZKnwH':function(_0x3097cb,_0xadbb51,_0x3a0bff){return _0x3097cb(_0xadbb51,_0x3a0bff);},'xGapQ':function(_0x3f7ef6,_0x2d124a){return _0x3f7ef6===_0x2d124a;},'eYaQt':_0x1c3dba(-0x1e8,-0x1ea,-0x1c5,-_0x5aa37f._0x5f0181)};function _0x1c3dba(_0x2c8f3d,_0x46ff8b,_0x2ba879,_0x284a6d){return _0x1fbfff(_0x46ff8b,_0x46ff8b-0x21,_0x2ba879-_0x5c0d35._0x59a3bb,_0x284a6d-0x84);}const _0x2f110c=new AbortController(),_0x82c26c=_0x1bd3c0['vwmul'](setTimeout,()=>_0x2f110c[_0x42b1c3(0xce,0xe4,0x130,0xe6)](),_0x2a0891);try{if(_0x1bd3c0[_0x1c3dba(-_0x5aa37f._0x35b08b,-_0x5aa37f._0x1c09ce,-0x174,-_0x5aa37f._0x478e48)]!==_0x1bd3c0[_0x42b1c3(0x11f,_0x5aa37f._0x50b71a,0xc0,0xf1)]){const _0x50b6c3={..._0x4bde1c};_0x50b6c3[_0x42b1c3(_0x5aa37f._0x73dad4,_0x5aa37f._0x585b9e,0x38,_0x5aa37f._0x323f3c)]=_0x2f110c['signal'];const _0x1a31fb=await _0x1bd3c0[_0x1c3dba(-0x1f8,-0x1c9,-_0x5aa37f._0x50b29b,-0x1d5)](fetch,_0x5c7c85,_0x50b6c3);return _0x1a31fb;}else return _0xd447ed['debug'](_0x1bd3c0[_0x42b1c3(_0x5aa37f._0x960f21,0x7c,_0x5aa37f._0xb1abbb,0xb1)]),null;}finally{_0x1bd3c0[_0x42b1c3(_0x5aa37f._0xb1abbb,_0x5aa37f._0x2a3169,_0x5aa37f._0x129111,_0x5aa37f._0x2133ee)](_0x1bd3c0['eYaQt'],_0x1bd3c0[_0x42b1c3(0x7e,_0x5aa37f._0x2b2f6b,_0x5aa37f._0x3a525a,0xcd)])?_0x1bd3c0[_0x42b1c3(0x8c,0xcd,0x4,_0x5aa37f._0x57fb5f)](clearTimeout,_0x82c26c):_0x1bd3c0[_0x42b1c3(0x7f,_0x5aa37f._0x2b711b,0xb,0x6b)](_0x419529,_0x36c19d);}}export function isTokenExpired(_0x1d42bd,_0x54dd94=-0x9be*-0x1+-0x721*-0x5+-0x2d5e){const _0x4f139f={_0x103996:0x100,_0x1d7366:0x163,_0x5e74d3:0xd6,_0x1b557c:0x1ac,_0x432f7b:0x160,_0x2b1df4:0x157,_0x1e17d5:0xfd,_0x4c806b:0x111,_0x1fc489:0x10a,_0x3b5da0:0x14d,_0x3d00a6:0xe4,_0x42f423:0xfc,_0x22cebe:0xfc},_0x1cbf96={_0x352b0f:0x42e,_0x5bae94:0x153},_0x3407ec={_0x299af8:0x3};function _0x4ae6a1(_0x46edf7,_0x4bf9c0,_0x504c92,_0x5b8e42){return _0x1fbfff(_0x5b8e42,_0x4bf9c0-_0x3407ec._0x299af8,_0x504c92-0x1b4,_0x504c92-0x137);}const _0x15fe59={};_0x15fe59[_0x4ae6a1(-_0x4f139f._0x103996,-_0x4f139f._0x1d7366,-0x106,-_0x4f139f._0x5e74d3)]=function(_0x1c7176,_0x15a093){return _0x1c7176*_0x15a093;};function _0x495474(_0x52ee7d,_0x371db1,_0x5b43ff,_0x5843eb){return _0x59543e(_0x52ee7d- -_0x1cbf96._0x352b0f,_0x371db1-_0x1cbf96._0x5bae94,_0x371db1,_0x5843eb-0x7d);}_0x15fe59[_0x495474(0x151,_0x4f139f._0x1b557c,_0x4f139f._0x432f7b,_0x4f139f._0x2b1df4)]=function(_0x3f5aa5,_0x3c33fb){return _0x3f5aa5*_0x3c33fb;},_0x15fe59['yfzDQ']=function(_0x42ede5,_0x183c8c){return _0x42ede5-_0x183c8c;};const _0x1860af=_0x15fe59,_0x3b8010=Date[_0x4ae6a1(-_0x4f139f._0x1e17d5,-0xe9,-0x127,-_0x4f139f._0x4c806b)](),_0x58c132=_0x1860af[_0x4ae6a1(-0xba,-_0x4f139f._0x1fc489,-0x106,-0x165)](_0x1860af[_0x495474(0x151,0x131,0x1a9,_0x4f139f._0x3b5da0)](_0x54dd94,-0x1c9*0x7+0x25*-0xd4+0x2b5f*0x1),-0x5fc+0x227e*0x1+-0x189a*0x1);return _0x3b8010>=_0x1860af[_0x4ae6a1(-0x152,-_0x4f139f._0x3d00a6,-_0x4f139f._0x42f423,-_0x4f139f._0x22cebe)](_0x1d42bd,_0x58c132);}function _0x1926(_0x19ef06,_0x3e2d3b){_0x19ef06=_0x19ef06-(-0x6e2+0x2aa+0x54e);const _0xf158df=_0x3dd1();let _0x36ddf3=_0xf158df[_0x19ef06];if(_0x1926['FNuewb']===undefined){var _0x29498c=function(_0x6b5d04){const _0x38aff6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3f673c='',_0xe0e36b='';for(let _0x50ad01=-0x139*-0x2+0x118b+-0x1*0x13fd,_0x1b5509,_0x1b18e5,_0x1dc6de=0x2*-0x134e+0x1*0xec9+0x17d3;_0x1b18e5=_0x6b5d04['charAt'](_0x1dc6de++);~_0x1b18e5&&(_0x1b5509=_0x50ad01%(-0x175+-0xddb+0xf54)?_0x1b5509*(-0x188a+0x3e9+-0x42d*-0x5)+_0x1b18e5:_0x1b18e5,_0x50ad01++%(0x1*0x20fb+0x1175+-0x1936*0x2))?_0x3f673c+=String['fromCharCode'](-0x63*0x50+0x24f*0x1+0x1da0&_0x1b5509>>(-(-0x3*0xbc3+0x2158+0x1f3)*_0x50ad01&0x1b2f+-0x60b+-0x33*0x6a)):0x1*0x707+0x49*-0x27+0x20c*0x2){_0x1b18e5=_0x38aff6['indexOf'](_0x1b18e5);}for(let _0x3d8fea=0x443*-0x8+-0x1a74+0x3c8c,_0x52ad08=_0x3f673c['length'];_0x3d8fea<_0x52ad08;_0x3d8fea++){_0xe0e36b+='%'+('00'+_0x3f673c['charCodeAt'](_0x3d8fea)['toString'](-0x12dc+0x1*0x1969+0xb*-0x97))['slice'](-(-0xa79+0x27d*-0x3+-0x2*-0x8f9));}return decodeURIComponent(_0xe0e36b);};_0x1926['cNZhYG']=_0x29498c,_0x1926['weqPUt']={},_0x1926['FNuewb']=!![];}const _0x5d3287=_0xf158df[0xa66+-0x2a4*-0x1+-0xd0a],_0x55a91e=_0x19ef06+_0x5d3287,_0x28e443=_0x1926['weqPUt'][_0x55a91e];return!_0x28e443?(_0x36ddf3=_0x1926['cNZhYG'](_0x36ddf3),_0x1926['weqPUt'][_0x55a91e]=_0x36ddf3):_0x36ddf3=_0x28e443,_0x36ddf3;}export async function readClaudeCredentials(){const _0x2bafe3={_0xe21a9c:0xff,_0x2573cd:0x60,_0xa0584c:0x93,_0x42afc8:0x31,_0x1e2e32:0xca,_0x423f89:0xf5,_0x320326:0x155,_0x1975ee:0x1ea,_0x386d2f:0x1e5,_0x7a2e81:0x1b2,_0x459b22:0x22d,_0x1afa95:0xf4,_0x4424dd:0xd1,_0x1fc349:0x70,_0x2e4426:0xcb,_0x31880e:0x141,_0x374dd0:0x1a9,_0x54018b:0xe0,_0x515332:0xcb,_0xfb101d:0xd3,_0x431e74:0x181,_0x53e7ba:0x164,_0x186796:0x91,_0x3d988d:0x1bf,_0x1e248c:0x1a8,_0x4a613f:0x1a1,_0x354642:0x1d2,_0x1de3c4:0x1d4,_0x1d2af4:0x172,_0x3b4fe2:0x7d,_0x2a5365:0x98,_0x5c946e:0xf1,_0x39d3b8:0x171,_0x347d76:0x267,_0x169cfd:0x249,_0x107b25:0x1b6,_0x3f0c60:0x3,_0x23d2e7:0x15f,_0x12cdc5:0x1b3,_0x1aaaa2:0x104,_0x2c8e92:0xfb,_0x1aadb1:0x196,_0x197bac:0x187,_0x5d445c:0x1e4,_0x1db9dc:0x1ac,_0x361383:0x156,_0x4be47e:0x1f9,_0x3c9fd1:0x1f8,_0x5ef3a5:0x203,_0x2eee6a:0x1c7,_0x3c2e55:0xdf,_0x29434a:0xa5,_0x548836:0x11b,_0x178f65:0x21e,_0x3db9f4:0x23d,_0x13e553:0x150,_0x599495:0x133,_0x49f72a:0x1c0,_0x364a5c:0x16c,_0x5ea0ee:0x1d6,_0x536a29:0x16b,_0x48d276:0x15e,_0x2c84c4:0x100,_0x5ed21d:0x12f,_0x3ebe5c:0xde,_0x35fc4a:0xb5,_0x4267a3:0xc1,_0xac7cd0:0x12c,_0x2e60b2:0x190,_0x2b670e:0x142,_0xd7c63a:0x8e,_0x5bbb5a:0x1ce,_0x468129:0x1af,_0x35128b:0x1cc,_0x985405:0x19e,_0x60cdba:0x1dd,_0x627de4:0x240,_0x3a86d2:0x19a,_0x24f547:0x17a,_0x202eeb:0x1a4,_0x41fba4:0x127,_0x2271a2:0x15f,_0x3f1e44:0x1b0,_0xa8f3c0:0x79,_0x14016c:0x69,_0x203ff0:0x50,_0x1fbac6:0x116,_0x342c30:0x165,_0x1d9827:0x159,_0x5ae125:0x123,_0x20793c:0xf6,_0xd59283:0xd0,_0x5c4ccd:0x132,_0x2df45f:0x1a7,_0x268776:0x154,_0x5ef7df:0x20f},_0x4766d6={_0x449e2:0x3a4,_0x3e3b63:0xeb},_0x63e53={_0x5a4c75:0xe0};function _0x5b50d9(_0x4e5b64,_0x4247b2,_0x4cf05e,_0x1ab0d3){return _0x59543e(_0x4e5b64- -0x602,_0x4247b2-0x178,_0x1ab0d3,_0x1ab0d3-_0x63e53._0x5a4c75);}const _0x4e9589={'KiOID':_0x5b50d9(-0x9b,-_0x2bafe3._0xe21a9c,-_0x2bafe3._0x2573cd,-0x4b)+'iled','XxWtw':'OAuth\x20toke'+_0x5b50d9(-_0x2bafe3._0xa0584c,-_0x2bafe3._0x42afc8,-_0x2bafe3._0x1e2e32,-_0x2bafe3._0x423f89)+_0x5744fc(_0x2bafe3._0x320326,0x178,0x194,0x132)+'iled.\x20May\x20'+'need\x20manua'+_0x5744fc(_0x2bafe3._0x1975ee,_0x2bafe3._0x386d2f,_0x2bafe3._0x7a2e81,_0x2bafe3._0x459b22)+'.','SWbQp':function(_0x21bf5e,_0x42be03){return _0x21bf5e/_0x42be03;},'BkXJy':function(_0x295da9,_0xa8a09d){return _0x295da9*_0xa8a09d;},'ZkDGh':function(_0x2a961b,_0x5ee5c2){return _0x2a961b/_0x5ee5c2;},'qWBox':function(_0x3e21dc,_0x59d7c7){return _0x3e21dc%_0x59d7c7;},'FkyTn':function(_0x54f0a7,_0x195082){return _0x54f0a7*_0x195082;},'wJMwH':function(_0x528f37,_0x1c2294){return _0x528f37(_0x1c2294);},'htgEI':_0x5b50d9(-_0x2bafe3._0x1afa95,-_0x2bafe3._0x4424dd,-0xec,-0xec)+_0x5b50d9(-0xbc,-_0x2bafe3._0x1fc349,-_0x2bafe3._0x2e4426,-0x5a)+_0x5744fc(0x13e,0x11d,0x153,_0x2bafe3._0x31880e)+'und','qkmwc':function(_0x42fabc,_0x5f1bcc,_0x74e7f4){return _0x42fabc(_0x5f1bcc,_0x74e7f4);},'qYNDJ':function(_0xc8c467,_0x518653){return _0xc8c467!==_0x518653;},'tJqEG':'AzYgY','DhkST':_0x5744fc(_0x2bafe3._0x374dd0,0x1c5,0x202,0x211),'AyjzI':_0x5b50d9(-_0x2bafe3._0x54018b,-_0x2bafe3._0x515332,-_0x2bafe3._0xfb101d,-0xef)+_0x5744fc(0x132,_0x2bafe3._0x431e74,0xe2,_0x2bafe3._0x53e7ba)+_0x5744fc(0x1a4,0x193,0x176,0x1d0)+'file','ivuQQ':function(_0x1570e1,_0x135568){return _0x1570e1===_0x135568;},'LqPzr':_0x5744fc(0x1d1,0x18d,0x20e,0x210),'ohgZz':_0x5b50d9(-_0x2bafe3._0x186796,-0xe5,-_0x2bafe3._0x186796,-0xf9)+_0x5744fc(_0x2bafe3._0x3d988d,_0x2bafe3._0x1e248c,_0x2bafe3._0x4a613f,_0x2bafe3._0x354642)+_0x5744fc(0x1d7,0x1cc,0x21c,0x216)+_0x5744fc(0x185,0x1b3,_0x2bafe3._0x1de3c4,_0x2bafe3._0x1d2af4)};function _0x5744fc(_0x14c246,_0x21c0f7,_0xbc1487,_0x1925c2){return _0x59543e(_0x14c246- -_0x4766d6._0x449e2,_0x21c0f7-_0x4766d6._0x3e3b63,_0xbc1487,_0x1925c2-0x131);}try{if(!_0x4e9589['wJMwH'](existsSync,CREDENTIALS_PATH)){const _0x3d951d={};return _0x3d951d[_0x5b50d9(-0xf6,-0x120,-0xad,-0xbf)]=CREDENTIALS_PATH,logger[_0x5b50d9(-0x65,-0xc8,-_0x2bafe3._0x3b4fe2,-_0x2bafe3._0x2a5365)](_0x4e9589['htgEI'],_0x3d951d),null;}const _0x1f224b=await _0x4e9589[_0x5744fc(0x136,_0x2bafe3._0x31880e,_0x2bafe3._0x5c946e,_0x2bafe3._0x39d3b8)](readFile,CREDENTIALS_PATH,_0x5744fc(0x200,0x1ff,_0x2bafe3._0x347d76,0x259)),_0x1c61fc=JSON[_0x5744fc(0x1f6,0x251,_0x2bafe3._0x169cfd,_0x2bafe3._0x107b25)](_0x1f224b);if(!_0x1c61fc[_0x5b50d9(-0x64,-0xac,-_0x2bafe3._0x3b4fe2,-_0x2bafe3._0x3f0c60)+_0x5744fc(_0x2bafe3._0x23d2e7,_0x2bafe3._0x12cdc5,_0x2bafe3._0x1aaaa2,_0x2bafe3._0x2c8e92)]){if(_0x4e9589[_0x5744fc(_0x2bafe3._0x1aadb1,_0x2bafe3._0x197bac,_0x2bafe3._0x5d445c,_0x2bafe3._0x1db9dc)](_0x4e9589['tJqEG'],_0x4e9589[_0x5744fc(0x1be,0x17b,_0x2bafe3._0x361383,0x187)]))return logger[_0x5744fc(_0x2bafe3._0x4be47e,0x215,_0x2bafe3._0x3c9fd1,_0x2bafe3._0x5ef3a5)](_0x4e9589['AyjzI']),null;else{const _0x5122ed={};return _0x5122ed[_0x5744fc(_0x2bafe3._0x2eee6a,0x18c,0x1ba,0x207)]=![],_0x5122ed['reason']=_0x4e9589[_0x5b50d9(-_0x2bafe3._0x3c2e55,-0xa7,-_0x2bafe3._0x29434a,-0xef)],_0x5122ed[_0x5744fc(0x144,0x134,0x142,_0x2bafe3._0x548836)]=_0x4e9589['XxWtw'],_0x5122ed;}}return _0x1c61fc[_0x5744fc(0x1fa,_0x2bafe3._0x178f65,_0x2bafe3._0x3db9f4,0x221)+'uth'];}catch(_0x165518){if(_0x4e9589['ivuQQ'](_0x4e9589[_0x5744fc(_0x2bafe3._0x13e553,0x159,_0x2bafe3._0x599495,0xea)],_0x5b50d9(-0x63,-0xa1,-0x9b,-0x7b))){const _0x3528b5=_0x32e98b[_0x5744fc(_0x2bafe3._0x49f72a,0x1b4,_0x2bafe3._0x364a5c,0x1b5)]-_0x2a0003[_0x5744fc(0x170,_0x2bafe3._0x5ea0ee,_0x2bafe3._0x536a29,0x172)](),_0x4707e9=_0x49ae11[_0x5744fc(_0x2bafe3._0x48d276,0x1b2,0xf6,0xfb)](_0x4e9589['SWbQp'](_0x3528b5,_0x4e9589['BkXJy']((-0x3a4*0x3+-0x15c8+0x61a*0x6)*(-0x334+-0xf59+0x12c9),0x7c+-0x934+0x4*0x23d))),_0x32d877=_0x4eec34[_0x5b50d9(-_0x2bafe3._0x2c84c4,-_0x2bafe3._0x5ed21d,-0xaa,-_0x2bafe3._0x3ebe5c)](_0x4e9589[_0x5b50d9(-0xed,-_0x2bafe3._0x35fc4a,-_0x2bafe3._0x4267a3,-_0x2bafe3._0xac7cd0)](_0x4e9589[_0x5744fc(_0x2bafe3._0x2e60b2,_0x2bafe3._0x2b670e,0x194,0x147)](_0x3528b5,(-0x1c41*0x1+-0x1faf+0x3fd8)*(-0x24c+-0x14c1+-0x3*-0x7c3)*(0x504*-0x2+0x1dbd*0x1+-0x1379)),_0x4e9589[_0x5b50d9(-0x6a,-0x93,-0x71,-_0x2bafe3._0xd7c63a)](-0x5*0x1f1+0x3a*0x6d+-0xb15,0x18db+0x163*-0x5+-0x11b0))),_0x26f43c={};return _0x26f43c[_0x5744fc(0x1c7,_0x2bafe3._0x5bbb5a,_0x2bafe3._0x468129,_0x2bafe3._0x35128b)]=!![],_0x26f43c[_0x5744fc(0x1bc,0x1ae,_0x2bafe3._0x985405,0x18c)]=_0x5744fc(0x1e8,_0x2bafe3._0x60cdba,_0x2bafe3._0x627de4,0x1c2),_0x26f43c['message']=_0x5744fc(0x1e2,0x1c5,_0x2bafe3._0x3a86d2,_0x2bafe3._0x24f547)+_0x5744fc(0x154,0x13a,_0x2bafe3._0x202eeb,_0x2bafe3._0x41fba4)+'r\x20'+_0x4707e9+'h\x20'+_0x32d877+'m',_0x26f43c[_0x5744fc(0x1c0,_0x2bafe3._0x2271a2,_0x2bafe3._0x3f1e44,0x181)]=_0x233cfa[_0x5b50d9(-0x9e,-_0x2bafe3._0xa8f3c0,-_0x2bafe3._0x14016c,-_0x2bafe3._0x203ff0)],_0x26f43c;}else{const _0x195739={};return _0x195739[_0x5b50d9(-_0x2bafe3._0x1fbac6,-0xbf,-_0x2bafe3._0x342c30,-_0x2bafe3._0x1d9827)]=_0x165518[_0x5744fc(0x144,_0x2bafe3._0x5ae125,0x154,_0x2bafe3._0x342c30)],_0x195739[_0x5b50d9(-_0x2bafe3._0x20793c,-0x118,-_0x2bafe3._0xd59283,-0x158)]=CREDENTIALS_PATH,logger[_0x5b50d9(-0x116,-_0x2bafe3._0x5c4ccd,-0xea,-_0x2bafe3._0x39d3b8)](_0x4e9589[_0x5744fc(_0x2bafe3._0x2df45f,_0x2bafe3._0x268776,0x16e,_0x2bafe3._0x5ef7df)],_0x195739),null;}}}export async function writeClaudeCredentials(_0x3faa84){const _0x2ebd95={_0x2b73e2:0x24e,_0x1252a1:0x1af,_0x3ecfb7:0x223,_0x978e69:0x21c,_0x48cd15:0x239,_0x499131:0x3e6,_0x15aa1f:0x3fb,_0x15c957:0x1d5,_0x532458:0x1d9,_0x43e620:0x3d8,_0x31ac20:0x413,_0x481c19:0x3d4,_0x3ef5e9:0x43e,_0x266fda:0x16e,_0x146517:0x1c8,_0x56576b:0x19d,_0x1bf5fe:0x3ea,_0x57a8ac:0x449,_0x519735:0x1ce,_0x213aa9:0x43b,_0x402c7e:0x468,_0x432a64:0x184,_0x5c2359:0x422,_0x2c4912:0x425,_0x491079:0x42d,_0x2d391a:0x169,_0xaca85:0x18e,_0x4ed191:0x400,_0x3f2496:0x458,_0x4a85f1:0x487,_0x167334:0x456,_0x5c3d23:0x1ad,_0x52c6ba:0x153,_0xb8a954:0x1cc,_0x2b0553:0x1cb,_0x1dc818:0x1f0,_0x32d93b:0x40c,_0x32c936:0x38e,_0x5d3656:0x472,_0x1d9e4f:0x21b,_0x16fb08:0x1ff,_0x1468b0:0x1ba,_0x9146c5:0x176,_0x1ea7a3:0x14b,_0x3a2c85:0x1b6},_0x2a1901={_0x4218ae:0x103,_0xc691f4:0x71},_0x50ee76={_0x43c991:0xf8};function _0x3be23d(_0x99c6e9,_0x160ba1,_0x338f2c,_0x33b292){return _0x59543e(_0x99c6e9- -0x707,_0x160ba1-0x1e5,_0x160ba1,_0x33b292-_0x50ee76._0x43c991);}const _0x597185={'Gcvxx':_0x3be23d(-0x223,-0x1cf,-_0x2ebd95._0x2b73e2,-0x208)+'ials','DSNYk':_0x3be23d(-0x1e5,-_0x2ebd95._0x1252a1,-_0x2ebd95._0x3ecfb7,-_0x2ebd95._0x978e69)+_0x3be23d(-0x231,-0x239,-_0x2ebd95._0x48cd15,-0x1d7)+'\x20found.\x20Ma'+_0x5851af(_0x2ebd95._0x499131,0x404,0x44e,_0x2ebd95._0x15aa1f)+_0x3be23d(-_0x2ebd95._0x15c957,-0x1f2,-0x178,-_0x2ebd95._0x532458),'ALeoe':function(_0x1ae0a4,_0x42ab7e){return _0x1ae0a4!==_0x42ab7e;},'eIYNQ':_0x5851af(0x372,_0x2ebd95._0x43e620,_0x2ebd95._0x31ac20,_0x2ebd95._0x481c19),'iPyCY':function(_0x299ce2,_0x353508,_0x3161ef,_0x14013b){return _0x299ce2(_0x353508,_0x3161ef,_0x14013b);},'jijPN':_0x5851af(0x502,0x4a1,_0x2ebd95._0x3ef5e9,0x484),'JgRjc':'Failed\x20to\x20'+'write\x20Clau'+_0x3be23d(-0x17c,-_0x2ebd95._0x266fda,-_0x2ebd95._0x146517,-_0x2ebd95._0x56576b)+'ials'};function _0x5851af(_0x9136ac,_0x261d47,_0x2f5681,_0x377dd0){return _0x59543e(_0x261d47- -_0x2a1901._0x4218ae,_0x261d47-_0x2a1901._0xc691f4,_0x2f5681,_0x377dd0-0x132);}try{if(_0x597185[_0x5851af(0x3f2,_0x2ebd95._0x1bf5fe,_0x2ebd95._0x57a8ac,0x3d4)](_0x597185['eIYNQ'],_0x3be23d(-0x22c,-0x295,-0x227,-_0x2ebd95._0x519735))){const _0x2cccf8={};return _0x2cccf8[_0x5851af(_0x2ebd95._0x213aa9,_0x2ebd95._0x402c7e,0x4c7,0x48f)]=![],_0x2cccf8[_0x3be23d(-0x1a7,-0x1f3,-0x1b6,-_0x2ebd95._0x432a64)]=_0x597185[_0x5851af(_0x2ebd95._0x5c2359,0x3fd,0x402,_0x2ebd95._0x2c4912)],_0x2cccf8[_0x5851af(0x39c,0x3e5,0x43d,_0x2ebd95._0x491079)]=_0x597185['DSNYk'],_0x2cccf8;}else{const _0x492a1d={};_0x492a1d[_0x3be23d(-_0x2ebd95._0x2d391a,-0x10b,-_0x2ebd95._0xaca85,-0x111)+_0x5851af(0x3fc,_0x2ebd95._0x4ed191,_0x2ebd95._0x3f2496,0x420)]=_0x3faa84;const _0x471ce0=_0x492a1d;return await _0x597185[_0x5851af(0x49f,_0x2ebd95._0x4a85f1,_0x2ebd95._0x167334,0x4eb)](writeFile,CREDENTIALS_PATH,JSON['stringify'](_0x471ce0),{'encoding':_0x597185[_0x3be23d(-_0x2ebd95._0x5c3d23,-_0x2ebd95._0x52c6ba,-0x19a,-_0x2ebd95._0xb8a954)],'mode':0x180}),logger['debug']('Claude\x20cre'+_0x3be23d(-0x189,-0x16a,-_0x2ebd95._0x2b0553,-_0x2ebd95._0x1dc818)+_0x5851af(0x38e,0x3d2,_0x2ebd95._0x32d93b,_0x2ebd95._0x32c936)+_0x5851af(0x41e,0x451,_0x2ebd95._0x5d3656,0x404)),!![];}}catch(_0x21a750){const _0x350d3d={};return _0x350d3d[_0x5851af(0x3d5,0x3e9,0x431,0x382)]=_0x21a750['message'],_0x350d3d[_0x5851af(0x437,0x409,0x43c,0x43c)]=CREDENTIALS_PATH,logger[_0x3be23d(-_0x2ebd95._0x1d9e4f,-0x244,-_0x2ebd95._0x16fb08,-_0x2ebd95._0x1468b0)](_0x597185[_0x3be23d(-_0x2ebd95._0x9146c5,-_0x2ebd95._0x1ea7a3,-_0x2ebd95._0x3a2c85,-0x191)],_0x350d3d),![];}}async function attemptTokenRefresh(_0x4cdc3f){const _0x55944c={_0x1adfed:0x3d9,_0x1a32fd:0x378,_0x2ca4a6:0x329,_0x16713a:0x314,_0x29ccce:0x3c6,_0x5844e2:0x351,_0x18457f:0x375,_0x3d1a29:0x38c,_0x120b3b:0x319,_0x138860:0x278,_0x3fa8e3:0x295,_0x3adba0:0x2b2,_0x3d1539:0x2a6,_0x81d5d8:0x36f,_0x27bd5b:0x33e,_0x572c02:0x32b,_0x45aa65:0x352,_0x2b849c:0x38d,_0x102552:0x356,_0x5b9f2b:0x337,_0x3a86f2:0x362,_0x43502d:0x342,_0x3a1ddd:0x34d,_0x18e453:0x391,_0x53eea1:0x340,_0x4d647f:0x3af,_0x4e20cd:0x398,_0x61e3be:0x39e,_0x2a9574:0x2bd,_0x55c497:0x326,_0x4eb6ca:0x2e6,_0x2086fe:0x328,_0x151f2a:0x2df,_0x3b5b75:0x38f,_0x5adc5c:0x377,_0x55632e:0x341,_0x357166:0x3b4,_0x20acf8:0x312,_0x28e82d:0x2f3,_0x569ebb:0x356,_0x263e6e:0x369,_0x1f22c6:0x2fb,_0x4cb4b4:0x2b9,_0x43c6ad:0x2e4,_0x1ded89:0x301,_0x5daf7d:0x2ed,_0x40313e:0x2dc,_0x586685:0x31d,_0x239673:0x332,_0x154504:0x403,_0x5357b1:0x2f7,_0x1da149:0x282,_0x2607f7:0x2e8,_0x3f1e6f:0x394,_0x34214f:0x392,_0x1c6399:0x307,_0x47b30d:0x2de,_0x22dd17:0x2c7,_0x3cb501:0x372,_0x3a1837:0x390,_0x26ccbb:0x328,_0x8cb9ca:0x2fa,_0xc97165:0x36e,_0x36f975:0x311,_0x1f18fb:0x2ea,_0x4fbc60:0x364,_0x3f2cf5:0x35a,_0x4fb1b2:0x2c9,_0x1a04f1:0x2e2,_0x24b1ff:0x2ba,_0x8357c7:0x28d,_0x1ba98f:0x2d9,_0x5dfa82:0x32e,_0x5a4771:0x299,_0x59c7b3:0x2cf,_0x339d6e:0x33e,_0x5f405c:0x2fa,_0x48a954:0x35f,_0x6b07e9:0x357,_0x4337c4:0x330,_0x14d684:0x315,_0x5ae50d:0x2cb,_0x26c5a1:0x3c2,_0x52fa98:0x329,_0x47ee9a:0x35b,_0x18488:0x39a,_0x493d90:0x317,_0x415f5d:0x33a,_0x3fc68c:0x2e0,_0x571c03:0x324,_0x1cfbff:0x321,_0x285398:0x2f4,_0x2bdf13:0x384,_0x2a56d2:0x2fc,_0x4cae8a:0x38c,_0x10bd65:0x361,_0x1967d6:0x309,_0x18074e:0x31f,_0xbd5b22:0x392,_0x25b393:0x36b},_0x413a0d={_0x41c621:0xd3,_0x5cedad:0x25,_0x55d895:0x57c},_0x4c16f7={_0x3e0ac9:0x43};function _0x48be8c(_0x16a6c1,_0x5a1453,_0x2bf07e,_0x3a4443){return _0x59543e(_0x3a4443- -0x215,_0x5a1453-0x47,_0x2bf07e,_0x3a4443-_0x4c16f7._0x3e0ac9);}function _0x586b8a(_0x57a659,_0x263549,_0x47f82e,_0x5f4dc6){return _0x1fbfff(_0x5f4dc6,_0x263549-_0x413a0d._0x41c621,_0x47f82e-_0x413a0d._0x5cedad,_0x263549-_0x413a0d._0x55d895);}const _0x376dcc={'JPdUY':_0x586b8a(_0x55944c._0x1adfed,_0x55944c._0x1a32fd,_0x55944c._0x2ca4a6,_0x55944c._0x16713a)+'ed','AUxvX':_0x48be8c(_0x55944c._0x29ccce,_0x55944c._0x5844e2,_0x55944c._0x18457f,0x35c)+_0x586b8a(0x309,0x319,0x36f,0x333)+'redentials'+_0x586b8a(_0x55944c._0x3d1a29,0x339,0x344,0x35f),'vIrRo':function(_0x2d443a,_0x31fb16,_0x13dacb){return _0x2d443a(_0x31fb16,_0x13dacb);},'vWGLp':_0x48be8c(0x347,0x31a,_0x55944c._0x120b3b,0x2e1)+_0x48be8c(0x31d,_0x55944c._0x138860,_0x55944c._0x3fa8e3,0x2dc),'XXarw':_0x48be8c(_0x55944c._0x3adba0,_0x55944c._0x3d1539,0x319,0x2e7),'PdtBU':function(_0x40f05b,_0x459f40){return _0x40f05b===_0x459f40;},'ZDmat':function(_0x3cb191,_0xe0cf22){return _0x3cb191+_0xe0cf22;},'gCfcc':function(_0xdedefa,_0x1d3d37){return _0xdedefa*_0x1d3d37;},'yphKV':_0x586b8a(0x3d6,_0x55944c._0x81d5d8,_0x55944c._0x27bd5b,0x345),'mlTPm':_0x48be8c(0x37f,_0x55944c._0x572c02,_0x55944c._0x45aa65,0x37f),'QDpbG':_0x48be8c(_0x55944c._0x2b849c,_0x55944c._0x102552,0x3d0,0x380)+'ED','fmptK':function(_0x371ac1,_0x3c90d5){return _0x371ac1===_0x3c90d5;},'yUnUO':_0x586b8a(_0x55944c._0x5b9f2b,_0x55944c._0x3a86f2,0x3c5,0x385),'UKbMX':_0x586b8a(_0x55944c._0x43502d,0x35d,_0x55944c._0x3a1ddd,0x36b)+'meout','cTNgo':function(_0x1f1a6e,_0x2c233e){return _0x1f1a6e||_0x2c233e;}};try{const _0xb63786={};_0xb63786[_0x586b8a(0x379,_0x55944c._0x18e453,_0x55944c._0x53eea1,0x358)+'pe']='applicatio'+_0x586b8a(0x393,_0x55944c._0x4d647f,_0x55944c._0x4e20cd,_0x55944c._0x61e3be);const _0x4615eb=await _0x376dcc[_0x586b8a(_0x55944c._0x2a9574,_0x55944c._0x55c497,0x371,0x371)](fetchWithTimeout,OAUTH_TOKEN_ENDPOINT,{'method':_0x586b8a(0x2ca,_0x55944c._0x4eb6ca,0x34b,0x29b),'headers':_0xb63786,'body':JSON['stringify']({'grant_type':_0x376dcc[_0x48be8c(0x277,0x275,_0x55944c._0x2086fe,0x2c8)],'refresh_token':_0x4cdc3f,'client_id':CLAUDE_CLIENT_ID})});if(!_0x4615eb['ok']){if(_0x376dcc[_0x48be8c(0x37e,_0x55944c._0x151f2a,_0x55944c._0x3b5b75,_0x55944c._0x2086fe)]!==_0x376dcc[_0x48be8c(_0x55944c._0x5adc5c,0x312,_0x55944c._0x55632e,0x328)]){const _0x36d528={};return _0x36d528[_0x48be8c(_0x55944c._0x357166,_0x55944c._0x20acf8,_0x55944c._0x28e82d,_0x55944c._0x569ebb)]=![],_0x36d528[_0x48be8c(_0x55944c._0x263e6e,0x318,0x38c,0x34b)]=_0x376dcc[_0x586b8a(_0x55944c._0x1f22c6,0x2e8,_0x55944c._0x4cb4b4,0x281)],_0x36d528[_0x586b8a(0x336,0x2f2,_0x55944c._0x43c6ad,_0x55944c._0x1ded89)]=_0x376dcc[_0x48be8c(0x3ae,0x35c,0x301,0x354)],_0x36d528;}else{const _0x3150b5=await _0x4615eb[_0x48be8c(_0x55944c._0x5daf7d,_0x55944c._0x40313e,_0x55944c._0x586685,_0x55944c._0x239673)]();return{'success':![],'error':_0x586b8a(_0x55944c._0x154504,0x3aa,0x3ba,0x3ac)+_0x4615eb[_0x48be8c(_0x55944c._0x5357b1,0x2f3,_0x55944c._0x1da149,_0x55944c._0x2607f7)]+':\x20'+_0x4615eb[_0x48be8c(0x33e,_0x55944c._0x3f1e6f,_0x55944c._0x34214f,0x367)],'details':_0x3150b5,'retryable':_0x4615eb[_0x586b8a(0x364,_0x55944c._0x1c6399,_0x55944c._0x47b30d,_0x55944c._0x22dd17)]>=0x668*-0x2+-0xfa4+0x1e68||_0x376dcc[_0x586b8a(_0x55944c._0x29ccce,_0x55944c._0x3cb501,_0x55944c._0x3a1837,0x38e)](_0x4615eb[_0x586b8a(0x345,0x307,0x36f,_0x55944c._0x26ccbb)],-0x1*-0x944+0x475*-0x1+-0x322)};}}const _0x3c3c03=await _0x4615eb[_0x48be8c(_0x55944c._0x8cb9ca,0x363,_0x55944c._0xc97165,_0x55944c._0x36f975)]();return{'success':!![],'credentials':{'accessToken':_0x3c3c03['access_tok'+'en'],'refreshToken':_0x3c3c03[_0x48be8c(_0x55944c._0x1f18fb,0x2ff,0x2b6,0x2e1)+'ken']||_0x4cdc3f,'expiresAt':_0x376dcc[_0x48be8c(_0x55944c._0x4fbc60,0x2d5,0x2fc,0x326)](Date[_0x48be8c(_0x55944c._0x3f2cf5,_0x55944c._0x4fb1b2,0x368,0x2ff)](),_0x376dcc['gCfcc'](_0x3c3c03['expires_in'],0x3ac+-0x8d3+0x90f)),'scopes':_0x3c3c03[_0x586b8a(0x2f3,_0x55944c._0x1a04f1,_0x55944c._0x24b1ff,0x2e5)]?_0x3c3c03[_0x586b8a(_0x55944c._0x8357c7,0x2e2,0x2b0,0x2b0)][_0x48be8c(0x2d5,_0x55944c._0x1ba98f,0x2f4,_0x55944c._0x5dfa82)]('\x20'):[_0x48be8c(_0x55944c._0x5a4771,0x352,0x338,0x2f0)+_0x586b8a(_0x55944c._0x59c7b3,0x331,_0x55944c._0x339d6e,_0x55944c._0x5f405c),'user:profi'+'le'],'subscriptionType':_0x3c3c03['subscripti'+'on_type']||_0x376dcc[_0x48be8c(_0x55944c._0x48a954,0x342,0x35b,0x32c)]}};}catch(_0x161f9d){const _0x395001=_0x376dcc[_0x586b8a(_0x55944c._0x6b07e9,0x372,0x3d2,0x33c)](_0x161f9d[_0x586b8a(_0x55944c._0x4337c4,_0x55944c._0x14d684,_0x55944c._0x5ae50d,0x321)],_0x376dcc[_0x586b8a(0x3dc,0x3a1,_0x55944c._0x26c5a1,0x364)]),_0x4e1b06=_0x376dcc['PdtBU'](_0x161f9d[_0x586b8a(_0x55944c._0x52fa98,_0x55944c._0x47ee9a,_0x55944c._0x18488,0x330)],_0x376dcc['QDpbG'])||_0x376dcc[_0x586b8a(_0x55944c._0x493d90,_0x55944c._0x415f5d,_0x55944c._0x3fc68c,_0x55944c._0x571c03)](_0x161f9d[_0x586b8a(0x30e,0x35b,0x3b9,0x350)],_0x586b8a(0x379,_0x55944c._0x1cfbff,_0x55944c._0x285398,0x2d3))||_0x161f9d[_0x48be8c(0x2ed,_0x55944c._0x2bdf13,0x34d,0x33c)]===_0x376dcc[_0x48be8c(0x319,0x359,_0x55944c._0x2a56d2,0x305)]||_0x161f9d[_0x586b8a(_0x55944c._0x1a04f1,0x2f2,0x341,0x292)][_0x48be8c(_0x55944c._0x4cae8a,0x36f,0x351,0x35b)](_0x586b8a(0x347,_0x55944c._0x10bd65,_0x55944c._0x1967d6,_0x55944c._0x18074e)+'ed');return{'success':![],'error':_0x395001?_0x376dcc[_0x48be8c(0x341,0x3d1,_0x55944c._0xbd5b22,_0x55944c._0x25b393)]:_0x161f9d['message'],'retryable':_0x376dcc['cTNgo'](_0x395001,_0x4e1b06)};}}export async function refreshOAuthToken(_0x2999f6){const _0x3e23c0={_0x13d9cc:0x261,_0x5a93ea:0x24e,_0x462823:0x238,_0x3ef765:0x1f9,_0x2ea94c:0x205,_0x310ce4:0x448,_0x718291:0x44c,_0x26ad1c:0x42d,_0x2eb2eb:0x25d,_0x5af141:0x2da,_0x33f431:0x242,_0x46d693:0x401,_0x3731f4:0x411,_0x1009e7:0x3bb,_0x21e1c1:0x3bd,_0x31e690:0x3e8,_0x293bdb:0x408,_0x16a043:0x3b0,_0x42120a:0x405,_0x29446e:0x3d5,_0x4638b4:0x3c8,_0x5405c8:0x248,_0xfef471:0x262,_0x565a38:0x221,_0x44b5c3:0x21d,_0x4a48f0:0x3da,_0x207ffe:0x416,_0x44e283:0x469,_0x26499b:0x42c,_0x4572b6:0x482,_0x2c52da:0x470,_0x40ff9f:0x1e8,_0x42a9b4:0x1d6,_0x3fa6e6:0x1e4,_0xab2c10:0x477,_0x1e9a69:0x4b3,_0x3109fb:0x45d,_0x4a44cc:0x44f,_0x5e228c:0x3a1,_0x5111bd:0x33a,_0xca88e3:0x352,_0x6d07d4:0x229,_0x4c1b99:0x289,_0x495a06:0x290,_0x37c628:0x2a7,_0x1ef7bc:0x417,_0x5ad9bb:0x403,_0x146383:0x3e5,_0x4a190b:0x23b,_0x26c756:0x3a6,_0x523e62:0x35b,_0x122b34:0x400,_0x38babf:0x234,_0xa171b1:0x200,_0xd82d8a:0x3f4,_0x4b324b:0x20b,_0x1c8b27:0x406,_0x2aa5e5:0x45c,_0x521857:0x452,_0x194a8c:0x28d,_0x5719eb:0x2a0,_0x35d117:0x2d0,_0x486d47:0x230,_0x4d2a11:0x215,_0x7a813f:0x25b,_0x47ba07:0x217,_0x1e9a17:0x3da,_0xd48ac:0x3c1,_0x1513d5:0x28c,_0x5362ba:0x287,_0x2f6214:0x28a,_0x5e4848:0x2d4,_0x3f777f:0x404,_0x33fbe1:0x3fb,_0x47e5c4:0x3ba,_0x1fc650:0x1de,_0x5dd171:0x232,_0x35c67b:0x463,_0x2be9aa:0x475,_0x330eba:0x20e,_0x52f24a:0x209,_0x1ae15b:0x3f1,_0x45c2c2:0x440,_0x2ef167:0x462,_0x3388c4:0x44b,_0x58b460:0x3fa,_0x325eb0:0x266,_0x1d6646:0x243,_0x8665ca:0x1d7,_0x30c960:0x213,_0x267cb3:0x36c,_0x584be5:0x1f5,_0x1c0f70:0x3d8,_0x19a153:0x390,_0x3f32e1:0x439,_0x1dd43c:0x3fd,_0x25adc9:0x3ce,_0x567b0d:0x3ab,_0x5e8000:0x393,_0x4ccce3:0x1e7,_0x34b7b4:0x202,_0x576bee:0x278,_0x12acaf:0x21f,_0x32146c:0x252,_0x357858:0x27e,_0x43a823:0x3fe,_0x533e6e:0x400,_0x294995:0x38d,_0x5454fa:0x35a,_0x5b1c48:0x3b6,_0x3421d2:0x3e1,_0x49110b:0x2e8,_0xe3eea0:0x239,_0x3ecdd1:0x43a,_0x51c445:0x49a,_0x5d2587:0x2a7,_0x4ddb89:0x2cc,_0x4349ab:0x1cf,_0x30a3a3:0x1bb,_0x5d8dee:0x210,_0x145459:0x1c4,_0x232c26:0x204,_0x4e37c8:0x3ac,_0x50eb6a:0x211,_0x4689ec:0x286,_0x9cbce2:0x2cf,_0x37a2c8:0x1f6},_0x41da39={_0x59245a:0x1ea},_0x13a227={};_0x13a227['noJdH']=_0x434700(_0x3e23c0._0x13d9cc,0x24b,_0x3e23c0._0x5a93ea,_0x3e23c0._0x462823)+_0x434700(0x253,_0x3e23c0._0x3ef765,_0x3e23c0._0x2ea94c,0x278)+_0x4a737d(_0x3e23c0._0x310ce4,0x4ad,_0x3e23c0._0x718291,0x49b)+_0x4a737d(0x3f6,_0x3e23c0._0x26ad1c,0x3c1,0x3aa),_0x13a227[_0x434700(0x21b,_0x3e23c0._0x2eb2eb,0x277,0x1d0)]='OAuth\x20refr'+'esh\x20succee'+_0x434700(0x291,_0x3e23c0._0x5af141,_0x3e23c0._0x33f431,0x22c)+_0x4a737d(0x3c8,_0x3e23c0._0x46d693,0x42c,0x3cc),_0x13a227['YoSND']=function(_0x303727,_0x40fa86){return _0x303727+_0x40fa86;},_0x13a227[_0x4a737d(_0x3e23c0._0x3731f4,_0x3e23c0._0x1009e7,0x430,_0x3e23c0._0x21e1c1)]=function(_0x6c426f,_0x25738e){return _0x6c426f<_0x25738e;},_0x13a227['pVoEe']=function(_0x327087,_0x587fcc){return _0x327087>_0x587fcc;},_0x13a227[_0x4a737d(_0x3e23c0._0x31e690,_0x3e23c0._0x293bdb,_0x3e23c0._0x16a043,_0x3e23c0._0x42120a)]=function(_0x466fb8,_0x3e7400){return _0x466fb8-_0x3e7400;},_0x13a227[_0x4a737d(_0x3e23c0._0x29446e,0x3f5,0x3cf,_0x3e23c0._0x4638b4)]=_0x434700(0x24d,0x27c,_0x3e23c0._0x5405c8,0x260)+_0x434700(_0x3e23c0._0xfef471,0x200,_0x3e23c0._0x565a38,_0x3e23c0._0x44b5c3)+'sh';function _0x4a737d(_0x4932a2,_0x44030b,_0x3c1660,_0x3f35d4){return _0x59543e(_0x4932a2- -0x133,_0x44030b-_0x41da39._0x59245a,_0x44030b,_0x3f35d4-0xe);}_0x13a227[_0x4a737d(_0x3e23c0._0x4a48f0,0x399,_0x3e23c0._0x207ffe,0x38f)]=function(_0x12ef6b,_0x257215){return _0x12ef6b===_0x257215;},_0x13a227[_0x4a737d(_0x3e23c0._0x44e283,_0x3e23c0._0x26499b,_0x3e23c0._0x4572b6,_0x3e23c0._0x2c52da)]='YGGUm',_0x13a227[_0x434700(0x221,_0x3e23c0._0x40ff9f,_0x3e23c0._0x42a9b4,_0x3e23c0._0x3fa6e6)]=_0x4a737d(0x45f,_0x3e23c0._0xab2c10,0x4a7,_0x3e23c0._0x1e9a69)+_0x4a737d(_0x3e23c0._0x3109fb,_0x3e23c0._0x4a44cc,0x3f5,0x4bc)+_0x4a737d(_0x3e23c0._0x5e228c,0x362,_0x3e23c0._0x5111bd,_0x3e23c0._0xca88e3),_0x13a227[_0x434700(0x1f6,0x1f7,_0x3e23c0._0x6d07d4,0x239)]=_0x434700(_0x3e23c0._0x4c1b99,0x224,_0x3e23c0._0x495a06,_0x3e23c0._0x37c628)+_0x4a737d(0x43c,0x49d,_0x3e23c0._0x1ef7bc,0x428)+_0x4a737d(_0x3e23c0._0x5ad9bb,0x3c2,0x456,_0x3e23c0._0x146383)+_0x434700(0x22e,_0x3e23c0._0x4a190b,0x25b,0x268)+_0x4a737d(_0x3e23c0._0x26c756,_0x3e23c0._0x523e62,0x3ec,_0x3e23c0._0x122b34);const _0x2b407c=_0x13a227;let _0x5db08c=null;for(let _0x275b56=0x176c+0x4a3+-0x1c0f*0x1;_0x2b407c[_0x434700(_0x3e23c0._0x38babf,0x26a,0x204,_0x3e23c0._0xa171b1)](_0x275b56,MAX_RETRY_ATTEMPTS);_0x275b56++){if(_0x2b407c[_0x4a737d(0x3bc,0x35e,_0x3e23c0._0xd82d8a,0x365)](_0x275b56,-0x4a*-0x53+-0x212b+0x92d)){const _0x1ef561=RETRY_DELAYS_MS[_0x2b407c[_0x434700(_0x3e23c0._0x4b324b,0x265,0x1c0,0x1f5)](_0x275b56,0x7ab+-0x82c*0x3+0x10da)]||RETRY_DELAYS_MS[_0x2b407c[_0x4a737d(0x3e8,0x3d9,0x410,0x3f6)](RETRY_DELAYS_MS[_0x4a737d(_0x3e23c0._0x1c8b27,0x436,_0x3e23c0._0x2aa5e5,_0x3e23c0._0x521857)],0x1c94+0x1*-0x149e+-0x3*0x2a7)];logger[_0x434700(_0x3e23c0._0x194a8c,_0x3e23c0._0x5719eb,_0x3e23c0._0x35d117,0x2cc)](_0x2b407c['RawpH'],{'attempt':_0x2b407c[_0x434700(_0x3e23c0._0x486d47,0x27b,_0x3e23c0._0x4d2a11,0x1f7)](_0x275b56,0x1f50+0x132*0x1+0x35*-0x9d),'delayMs':_0x1ef561}),await new Promise(_0x3e1538=>setTimeout(_0x3e1538,_0x1ef561));}const _0x256bda=await attemptTokenRefresh(_0x2999f6);if(_0x256bda[_0x434700(_0x3e23c0._0x7a813f,0x20f,0x284,_0x3e23c0._0x47ba07)]){if(_0x2b407c[_0x4a737d(_0x3e23c0._0x1e9a17,0x3ea,0x411,_0x3e23c0._0xd48ac)](_0x2b407c[_0x434700(_0x3e23c0._0x1513d5,_0x3e23c0._0x5362ba,0x2e5,_0x3e23c0._0x2f6214)],_0x2b407c[_0x434700(_0x3e23c0._0x1513d5,0x237,0x26b,_0x3e23c0._0x5e4848)])){refreshState[_0x4a737d(_0x3e23c0._0x3f777f,_0x3e23c0._0x33fbe1,_0x3e23c0._0x47e5c4,0x427)+_0x434700(0x1d0,_0x3e23c0._0x1fc650,_0x3e23c0._0x5dd171,0x20c)]=Date[_0x434700(0x204,0x1b5,0x1d5,0x1e6)](),refreshState[_0x4a737d(0x463,_0x3e23c0._0x35c67b,_0x3e23c0._0x2be9aa,0x482)+_0x4a737d(0x43a,0x423,0x401,0x485)]=-0x1*0xdb4+-0x2609+0x33bd,refreshState[_0x434700(_0x3e23c0._0x330eba,0x207,0x205,_0x3e23c0._0x52f24a)+_0x4a737d(0x3dd,0x396,0x441,0x39a)]++,refreshState[_0x4a737d(0x3ac,0x344,_0x3e23c0._0x1ae15b,0x35d)]=null;if(_0x275b56>0xc05+-0x284+-0x981){if(_0x2b407c['JMBJJ'](_0x4a737d(_0x3e23c0._0x45c2c2,0x44b,0x42b,0x457),_0x4a737d(0x440,_0x3e23c0._0x2ef167,_0x3e23c0._0x3388c4,_0x3e23c0._0x58b460)))logger['info'](_0x434700(0x282,_0x3e23c0._0x325eb0,_0x3e23c0._0x1d6646,0x249)+_0x434700(_0x3e23c0._0x8665ca,0x16d,_0x3e23c0._0x30c960,0x196)+'ded\x20after\x20'+_0x4a737d(0x3c8,0x401,_0x3e23c0._0x267cb3,0x37d),{'attempts':_0x2b407c[_0x434700(0x230,0x257,_0x3e23c0._0x584be5,0x247)](_0x275b56,-0x1f08+0x2665+-0x274*0x3)});else{const _0x22841f={};return _0x22841f[_0x4a737d(0x3b9,_0x3e23c0._0x1c0f70,0x388,_0x3e23c0._0x19a153)]=_0x137ed1['message'],_0x22841f['path']=_0x46a581,_0x3c7aec[_0x4a737d(0x3b9,0x358,0x37b,0x406)](_0x2b407c[_0x4a737d(_0x3e23c0._0x3f32e1,0x420,_0x3e23c0._0x1dd43c,0x3f9)],_0x22841f),null;}}return _0x256bda['credential'+'s'];}else _0x2693c4[_0x4a737d(_0x3e23c0._0x25adc9,_0x3e23c0._0x567b0d,0x434,_0x3e23c0._0x5e8000)](_0x2b407c[_0x434700(0x21b,0x264,_0x3e23c0._0x4ccce3,0x233)],{'attempts':_0x2b407c['YoSND'](_0x228888,-0x545*-0x4+0x1e09+-0x1*0x331c)});}_0x5db08c=_0x256bda[_0x434700(0x1dc,0x20d,0x17b,_0x3e23c0._0x34b7b4)],logger[_0x434700(_0x3e23c0._0x576bee,_0x3e23c0._0x12acaf,_0x3e23c0._0x32146c,_0x3e23c0._0x357858)](_0x2b407c[_0x4a737d(_0x3e23c0._0x43a823,0x3b7,_0x3e23c0._0x1c8b27,0x3f2)],{'attempt':_0x2b407c[_0x4a737d(0x40d,0x43d,0x43d,_0x3e23c0._0x533e6e)](_0x275b56,0x11*0x191+0x3f3+-0x1e93),'maxAttempts':MAX_RETRY_ATTEMPTS,'error':_0x256bda[_0x4a737d(0x3b9,_0x3e23c0._0x294995,0x361,0x39d)],'retryable':_0x256bda[_0x4a737d(0x3b6,0x37b,0x360,_0x3e23c0._0x5454fa)]});if(!_0x256bda[_0x4a737d(_0x3e23c0._0x5b1c48,0x3d6,0x393,0x3fb)])break;}refreshState['lastFailur'+'eAt']=Date[_0x4a737d(_0x3e23c0._0x3421d2,_0x3e23c0._0x4638b4,0x41a,0x3e8)]();function _0x434700(_0x13aa69,_0x2d1e4c,_0x230477,_0x3c73c6){return _0x1fbfff(_0x230477,_0x2d1e4c-0x1e4,_0x230477-0x18f,_0x13aa69-0x462);}refreshState[_0x434700(0x286,_0x3e23c0._0x49110b,0x2b6,_0x3e23c0._0xe3eea0)+_0x4a737d(_0x3e23c0._0x3ecdd1,0x49b,0x466,_0x3e23c0._0x51c445)]++,refreshState[_0x434700(0x23e,0x240,0x209,0x29e)+_0x434700(0x273,0x237,_0x3e23c0._0x5d2587,_0x3e23c0._0x4ddb89)]++,refreshState[_0x434700(_0x3e23c0._0x4349ab,_0x3e23c0._0x30a3a3,0x17f,0x18d)]=_0x5db08c;const _0x172839={};return _0x172839[_0x434700(_0x3e23c0._0x5d8dee,_0x3e23c0._0x145459,_0x3e23c0._0x232c26,_0x3e23c0._0x12acaf)]=MAX_RETRY_ATTEMPTS,_0x172839[_0x4a737d(_0x3e23c0._0x4e37c8,0x39e,0x3e2,0x3f1)]=_0x5db08c,_0x172839['consecutiv'+_0x434700(0x25d,_0x3e23c0._0x50eb6a,0x240,0x21c)]=refreshState[_0x434700(0x286,_0x3e23c0._0x4689ec,_0x3e23c0._0x9cbce2,0x230)+'eFailures'],logger['error'](_0x2b407c[_0x434700(_0x3e23c0._0x37a2c8,0x25e,0x190,0x1fd)],_0x172839),null;}export async function checkAndRefreshToken(_0x40d862={}){const _0x39edc0={_0x478846:0x169,_0x105342:0x120,_0x41abb1:0x193,_0x76f3c7:0x167,_0x5cf234:0x2b4,_0x5cc5fb:0x385,_0x1b4307:0x39b,_0x3d650b:0x162,_0xd53337:0x112,_0x492888:0xac,_0x3f3034:0x10e,_0x1b9f2e:0x399,_0x3d3573:0x387,_0xfedbbc:0x38e,_0x215279:0x342,_0x4f765a:0x337,_0x4ea8b9:0x2ce,_0x1aaae6:0x39a,_0x31fb44:0x3a4,_0xcfc9b8:0x342,_0x317d52:0x3dd,_0x10205a:0x374,_0xb7aa9e:0x333,_0xeccf5d:0x31d,_0x3ed678:0x34a,_0x568260:0x32a,_0x4a014d:0x2ee,_0x1a9e5b:0x296,_0x36142e:0x2d4,_0x50df42:0x300,_0x2d0059:0x108,_0x362fec:0x1b4,_0x470f8b:0x15a,_0x5b7b2f:0x170,_0x1a0ca9:0x13a,_0x190b16:0x34c,_0x3c2761:0x2cb,_0x4e11c1:0x33c,_0x266b2e:0x85,_0x38b1a2:0x369,_0x302781:0x33f,_0x3a170d:0x114,_0x53739b:0xd5,_0x3006a5:0x92,_0x4d8e87:0x100,_0x18107b:0xe0,_0x54506e:0x345,_0x489564:0x32b,_0x43357a:0x333,_0x339351:0x171,_0x10e32e:0xca,_0x5a0b0a:0x14e,_0xc497d9:0x288,_0x163219:0x2d1,_0x36ca74:0x2f1,_0xe9c4d4:0x315,_0x7a0391:0x325,_0x2d4790:0x2c3,_0x2c1650:0x118,_0x384fd7:0x134,_0x175297:0xee,_0x4923f8:0x5b,_0x2ef859:0xa2,_0x29bdea:0x99,_0x7ee9ca:0x127,_0x52b7ef:0x79,_0x45b2fb:0xa8,_0x4672ae:0xd3,_0x20016f:0x32f,_0x15fc56:0x381,_0x201bee:0x328,_0x57af66:0x9c,_0x100b42:0xdd,_0x4ee6c0:0xb9,_0x5b25f7:0xde,_0x129d1f:0x2ef,_0x58d052:0x3b0,_0x463d00:0x394,_0x261966:0x36a,_0x4b9aa5:0xf3,_0x50dd18:0x126,_0x340296:0xce,_0x3f2e42:0xe5,_0x928130:0x106,_0xfc1133:0xae,_0x55d17d:0xb7,_0x473614:0x2e7,_0x28a115:0x33e,_0x7c7558:0x348,_0x1e749b:0x39a,_0x4df0df:0x13f,_0xac9163:0x13d,_0x1aee57:0xad,_0x529ec1:0xa7,_0x4e829a:0x64,_0x20c3eb:0xb4,_0x201860:0x2fb,_0x25ded8:0x361,_0x40a3e8:0x335,_0x22d95b:0x2ea,_0xb64643:0x356,_0xfa9e9b:0x354,_0x5b3820:0x130,_0xe5829b:0x86,_0x51ce3f:0x7e,_0x48e6b3:0xad,_0x10b3d7:0x306,_0x1c13dd:0x304,_0x5ab4f1:0x334,_0x5cb7dc:0x328,_0x586708:0x15f,_0x2e31d6:0xc9,_0x3dc272:0x127,_0x4f12b2:0xba,_0x1f86ad:0xb8,_0x4ed09d:0x334,_0x23d12e:0x32f,_0x948984:0x327,_0x5198db:0x325,_0xd946b:0x3af,_0x3cb461:0x346,_0x2cdc2b:0x39a,_0x4a63dc:0x33b,_0x2be3d6:0xb8,_0x3cdf89:0x2ab,_0x19f00a:0x2bc,_0x4a270d:0x2c5,_0xf6580:0x2df,_0x3bef00:0x2b9,_0x522868:0x358,_0x2ca497:0x2aa,_0x65fc34:0x2fc,_0x294554:0x103,_0x24e3c4:0x76,_0x2231f8:0xb4,_0x29a431:0x18a,_0x4e95c8:0x137,_0x26e6a9:0x2f1,_0x9e2ba5:0x334,_0x3efad1:0x321,_0xfc6641:0x15b,_0x5a7e06:0x104,_0x6a5d1a:0x135,_0x5c1d21:0x173,_0xbab736:0x3a2,_0x5dd7a8:0x168,_0x3f6c42:0x122,_0x5d4ad7:0x25a,_0x310264:0x2e9,_0x495678:0xe8,_0x17bc4a:0x14e,_0x1b77a9:0xf6,_0x537ab8:0x316,_0x4c81c8:0x2ef,_0x3209f2:0xec,_0xe97d1a:0x130,_0x2072d6:0x14d,_0x319946:0x143,_0xd7f526:0xcc,_0xc6befb:0xcd,_0x40f942:0x31b,_0x494bbf:0x16f,_0x1b7124:0x2ec,_0x55bac5:0x11c,_0x2dd602:0x329,_0x2d0635:0x3c2,_0x2f8555:0x35c,_0x181d0f:0x9f,_0x3ab1b5:0x11a,_0x52d4ef:0x2fa,_0x40ff4f:0x145,_0x13659d:0x16d,_0x1ab1d5:0x13b,_0x38eb5d:0xe9,_0x5b5cbf:0x325,_0x5414d2:0x125,_0x393714:0x117,_0x482670:0xbe,_0x12cd98:0x38c,_0x1163d3:0x351,_0x28d376:0x2dc,_0x57baa6:0x336,_0xd421d8:0x369,_0x15b1be:0x394,_0x485a25:0x30f,_0x3930e8:0x350,_0x20e06d:0x302,_0x565050:0x36c,_0x151ffc:0x346,_0x2f1527:0x390,_0x1e8fe2:0x391,_0x78c9b8:0xcd,_0x495b0b:0xa9,_0x301c8f:0x2df,_0x53d80b:0x30d,_0x82e63c:0x2db,_0xf0d5d5:0x2c3},_0x2baa3f={_0x48f2ef:0x54d},_0x2b87c8={_0x4ba15a:0x434,_0x36d0f5:0x116,_0x3715ab:0x112};function _0x3c0cb8(_0x174a81,_0xb61626,_0xb95cb5,_0x43e3cf){return _0x59543e(_0x43e3cf- -_0x2b87c8._0x4ba15a,_0xb61626-_0x2b87c8._0x36d0f5,_0xb61626,_0x43e3cf-_0x2b87c8._0x3715ab);}const _0x4218ed={'NGAbW':'Token\x20refr'+_0x3c0cb8(_0x39edc0._0x478846,_0x39edc0._0x105342,_0x39edc0._0x41abb1,_0x39edc0._0x76f3c7)+'failed','EAOoM':function(_0x228726){return _0x228726();},'MDTAP':_0x55208e(0x2d8,0x31b,0x2bf,_0x39edc0._0x5cf234)+'ials','Jscts':function(_0x22cb45,_0x246552,_0x496bca){return _0x22cb45(_0x246552,_0x496bca);},'BKYtp':function(_0x70e2b9,_0x1bb83b){return _0x70e2b9&&_0x1bb83b;},'vxTjO':function(_0x35dbc9,_0x2fb940){return _0x35dbc9-_0x2fb940;},'DGylB':function(_0x199972,_0x56b23d){return _0x199972*_0x56b23d;},'TDbDr':function(_0x84e713,_0x569733){return _0x84e713/_0x569733;},'twLuL':function(_0x1df9fa,_0xbb85b4){return _0x1df9fa%_0xbb85b4;},'ludAt':_0x55208e(0x320,_0x39edc0._0x5cc5fb,0x367,_0x39edc0._0x1b4307),'iAZkB':'Refreshing'+_0x3c0cb8(_0x39edc0._0x3d650b,_0x39edc0._0xd53337,_0x39edc0._0x492888,_0x39edc0._0x3f3034)+_0x55208e(0x33e,_0x39edc0._0x1b9f2e,0x339,0x38f),'QMPKd':function(_0xa8c418,_0x516fbf){return _0xa8c418(_0x516fbf);},'FTeXe':function(_0x5b71fd,_0x5d099d){return _0x5b71fd===_0x5d099d;},'qBtov':_0x55208e(0x2f9,_0x39edc0._0x3d3573,0x345,0x2f1),'ruqJY':_0x55208e(_0x39edc0._0xfedbbc,_0x39edc0._0x215279,_0x39edc0._0x4f765a,_0x39edc0._0x4ea8b9),'TxPXj':_0x55208e(_0x39edc0._0x1aaae6,_0x39edc0._0x31fb44,_0x39edc0._0xcfc9b8,0x2fd)+_0x55208e(0x3b0,0x2f0,0x34f,0x352),'DgbtQ':_0x55208e(_0x39edc0._0x317d52,0x39e,_0x39edc0._0x10205a,_0x39edc0._0xb7aa9e)+_0x55208e(0x310,_0x39edc0._0xeccf5d,_0x39edc0._0x3ed678,_0x39edc0._0x568260)+_0x55208e(_0x39edc0._0x4a014d,_0x39edc0._0x1a9e5b,_0x39edc0._0x36142e,_0x39edc0._0x50df42)+_0x3c0cb8(0x114,0x9f,0x10e,_0x39edc0._0x2d0059)+'need\x20manua'+_0x3c0cb8(0x14a,_0x39edc0._0x362fec,0x11b,_0x39edc0._0x470f8b)+'.','cBoSH':function(_0x35f466,_0x57922c){return _0x35f466(_0x57922c);},'JTHZJ':_0x3c0cb8(_0x39edc0._0x5b7b2f,0x162,0x11a,_0x39edc0._0x1a0ca9)+'ed','xQSET':_0x55208e(0x35b,0x303,_0x39edc0._0x190b16,0x351)+_0x55208e(_0x39edc0._0x3c2761,_0x39edc0._0x568260,0x2ea,_0x39edc0._0x4e11c1)+_0x3c0cb8(_0x39edc0._0x266b2e,0x92,0xfc,0xa2)+_0x55208e(0x359,_0x39edc0._0x38b1a2,0x30a,_0x39edc0._0x302781),'lsgai':function(_0x2ee80a,_0x3c6a5b){return _0x2ee80a*_0x3c6a5b;},'fLUuW':function(_0x35478d,_0x2454e4){return _0x35478d*_0x2454e4;},'LaiKB':'refreshed','SjGmI':_0x3c0cb8(0x68,0x51,_0x39edc0._0x3a170d,0xb8)},{force:force=![],bufferMinutes:bufferMinutes=-0x1a8+0x4d1*-0x7+0x2364}=_0x40d862;function _0x55208e(_0x353440,_0x577821,_0x46b7f4,_0x5a9f73){return _0x1fbfff(_0x353440,_0x577821-0x151,_0x46b7f4-0xee,_0x46b7f4-_0x2baa3f._0x48f2ef);}const _0x246f26=Date[_0x3c0cb8(_0x39edc0._0x53739b,_0x39edc0._0x3006a5,_0x39edc0._0x4d8e87,_0x39edc0._0x18107b)]();try{const _0x1de983=await _0x4218ed[_0x55208e(_0x39edc0._0x54506e,0x2c7,_0x39edc0._0x489564,_0x39edc0._0x43357a)](readClaudeCredentials);if(!_0x1de983){const _0xfeeaf0={};return _0xfeeaf0[_0x3c0cb8(0x19b,0x18b,_0x39edc0._0x339351,0x137)]=![],_0xfeeaf0[_0x3c0cb8(0x180,_0x39edc0._0x10e32e,_0x39edc0._0x5a0b0a,0x12c)]=_0x4218ed[_0x55208e(_0x39edc0._0xc497d9,_0x39edc0._0x163219,_0x39edc0._0x36ca74,_0x39edc0._0xe9c4d4)],_0xfeeaf0[_0x55208e(0x2f8,_0x39edc0._0x7a0391,_0x39edc0._0x2d4790,0x27a)]=_0x3c0cb8(_0x39edc0._0x2c1650,_0x39edc0._0x384fd7,0xc9,_0x39edc0._0x175297)+_0x3c0cb8(0x4d,_0x39edc0._0x4923f8,0xde,_0x39edc0._0x2ef859)+_0x3c0cb8(_0x39edc0._0x29bdea,_0x39edc0._0x7ee9ca,0x91,0xf9)+_0x3c0cb8(0x8f,_0x39edc0._0x52b7ef,_0x39edc0._0x45b2fb,_0x39edc0._0x4672ae)+'\x20required.',_0xfeeaf0;}const _0x56d54a=_0x4218ed[_0x55208e(0x365,_0x39edc0._0x20016f,_0x39edc0._0x15fc56,_0x39edc0._0x201bee)](isTokenExpired,_0x1de983['expiresAt'],bufferMinutes);if(_0x4218ed[_0x3c0cb8(_0x39edc0._0x57af66,0x118,0x120,_0x39edc0._0x100b42)](!_0x56d54a,!force)){const _0x4ee476=_0x4218ed[_0x3c0cb8(0x10f,0xaf,_0x39edc0._0x4ee6c0,_0x39edc0._0x5b25f7)](_0x1de983['expiresAt'],Date[_0x55208e(0x290,_0x39edc0._0x201bee,_0x39edc0._0x129d1f,0x323)]()),_0x3f6276=Math['floor'](_0x4ee476/_0x4218ed[_0x55208e(_0x39edc0._0x58d052,_0x39edc0._0x463d00,_0x39edc0._0x261966,0x3ac)]((-0xa11+-0x1053+0x1e4c)*(-0x1*0x1b91+0x19a6+-0x1d*-0x13),-0x4*-0x653+-0xea3*-0x2+-0x3656)),_0x191709=Math[_0x3c0cb8(_0x39edc0._0x4b9aa5,_0x39edc0._0x50dd18,0x7a,_0x39edc0._0x340296)](_0x4218ed[_0x3c0cb8(_0x39edc0._0x3f2e42,_0x39edc0._0x928130,_0x39edc0._0xfc1133,_0x39edc0._0x55d17d)](_0x4218ed[_0x55208e(_0x39edc0._0x473614,0x2d8,0x2ee,_0x39edc0._0x28a115)](_0x4ee476,_0x4218ed[_0x55208e(_0x39edc0._0x7c7558,_0x39edc0._0x1e749b,0x36a,_0x39edc0._0x1b9f2e)](_0x4218ed['DGylB'](0x1c20+-0x1bf5*-0x1+-0x342d*0x1,-0x17d9+0x5*0x2cf+-0xa0a*-0x1),0x172c+0xbc1+-0x22b1)),(0x1224+0x1244+-0x2080)*(-0x529*-0x1+0x1041+-0x152e))),_0x10568e={};return _0x10568e['success']=!![],_0x10568e[_0x3c0cb8(_0x39edc0._0x4df0df,_0x39edc0._0xac9163,0x112,0x12c)]=_0x4218ed[_0x3c0cb8(_0x39edc0._0x175297,0x112,_0x39edc0._0x1aee57,0xf4)],_0x10568e[_0x3c0cb8(_0x39edc0._0x529ec1,_0x39edc0._0x4e829a,0x54,_0x39edc0._0x20c3eb)]=_0x55208e(_0x39edc0._0x201860,0x335,_0x39edc0._0x25ded8,_0x39edc0._0x40a3e8)+'l\x20valid\x20fo'+'r\x20'+_0x3f6276+'h\x20'+_0x191709+'m',_0x10568e[_0x55208e(_0x39edc0._0x22d95b,_0x39edc0._0xb64643,0x33f,0x3a7)]=_0x1de983[_0x55208e(0x33c,0x307,0x33f,0x377)],_0x10568e;}logger['info'](_0x4218ed[_0x55208e(0x329,0x363,_0x39edc0._0xfa9e9b,0x30f)],{'expired':_0x56d54a,'forced':force,'expiresAt':new Date(_0x1de983[_0x3c0cb8(_0x39edc0._0xac9163,0x10d,0x125,_0x39edc0._0x5b3820)])['toISOStrin'+'g']()});const _0x1e4a6b=await _0x4218ed[_0x3c0cb8(0x9d,_0x39edc0._0xe5829b,_0x39edc0._0x51ce3f,_0x39edc0._0x48e6b3)](refreshOAuthToken,_0x1de983['refreshTok'+'en']);if(!_0x1e4a6b){if(_0x4218ed['FTeXe'](_0x4218ed[_0x55208e(_0x39edc0._0x10b3d7,_0x39edc0._0x1c13dd,_0x39edc0._0x5ab4f1,0x2d5)],_0x4218ed[_0x55208e(0x31b,_0x39edc0._0x5cb7dc,0x2e4,0x2b7)])){const _0x5c30b0={};_0x5c30b0['error']=_0x6b5d04[_0x55208e(0x2e5,0x31c,0x2c3,0x2eb)],_0x5c30b0['stack']=_0x38aff6[_0x3c0cb8(_0x39edc0._0x586708,0x136,_0x39edc0._0x2e31d6,_0x39edc0._0x3dc272)],_0x28e443[_0x3c0cb8(_0x39edc0._0x4f12b2,0x92,_0x39edc0._0x2c1650,_0x39edc0._0x1f86ad)](_0x4218ed[_0x55208e(_0x39edc0._0x4ed09d,_0x39edc0._0x23d12e,_0x39edc0._0x948984,_0x39edc0._0x5198db)],_0x5c30b0);const _0x519ba2={};return _0x519ba2[_0x55208e(0x2eb,_0x39edc0._0xd946b,_0x39edc0._0x3cb461,0x2f2)]=![],_0x519ba2[_0x55208e(_0x39edc0._0x2cdc2b,0x382,_0x39edc0._0x4a63dc,0x311)]=_0x3c0cb8(0xcc,0x8e,0x104,_0x39edc0._0x2be3d6),_0x519ba2[_0x55208e(_0x39edc0._0x3cdf89,_0x39edc0._0x19f00a,_0x39edc0._0x2d4790,0x27e)]=_0x55208e(_0x39edc0._0x4a270d,0x2eb,_0x39edc0._0xf6580,_0x39edc0._0x3bef00)+_0x55208e(_0x39edc0._0x522868,_0x39edc0._0x2ca497,_0x39edc0._0x65fc34,0x308)+_0x3f673c[_0x3c0cb8(_0x39edc0._0x294554,_0x39edc0._0x24e3c4,0x71,_0x39edc0._0x2231f8)],_0x519ba2;}else{const _0x1ac8c3={};return _0x1ac8c3[_0x3c0cb8(_0x39edc0._0x29a431,0xf5,0x11d,_0x39edc0._0x4e95c8)]=![],_0x1ac8c3['reason']=_0x4218ed[_0x55208e(_0x39edc0._0x26e6a9,_0x39edc0._0x9e2ba5,0x351,0x35f)],_0x1ac8c3[_0x55208e(0x276,_0x39edc0._0x3efad1,0x2c3,_0x39edc0._0x4ea8b9)]=_0x4218ed[_0x3c0cb8(0xba,0xe5,_0x39edc0._0xfc6641,_0x39edc0._0x5a7e06)],_0x1ac8c3;}}const _0x3a1c2c=await _0x4218ed[_0x3c0cb8(_0x39edc0._0x6a5d1a,_0x39edc0._0x5c1d21,0x16f,0x14e)](writeClaudeCredentials,_0x1e4a6b);if(!_0x3a1c2c){const _0x17ee66={};return _0x17ee66['success']=![],_0x17ee66[_0x55208e(0x326,0x332,0x33b,_0x39edc0._0xbab736)]=_0x4218ed[_0x3c0cb8(0xf3,_0x39edc0._0x105342,_0x39edc0._0x5dd7a8,_0x39edc0._0x3f6c42)],_0x17ee66[_0x55208e(_0x39edc0._0x5d4ad7,_0x39edc0._0x948984,_0x39edc0._0x2d4790,_0x39edc0._0x310264)]=_0x4218ed[_0x3c0cb8(0xd5,_0x39edc0._0x495678,_0x39edc0._0x17bc4a,_0x39edc0._0x1b77a9)],_0x17ee66;}const _0x14ff89=_0x4218ed[_0x55208e(0x2e1,0x313,0x2ed,0x352)](Date[_0x55208e(0x2f2,_0x39edc0._0x537ab8,_0x39edc0._0x4c81c8,0x358)](),_0x246f26),_0x2bd5a6=_0x4218ed[_0x3c0cb8(0xe8,0x8c,_0x39edc0._0x3209f2,_0x39edc0._0x5b25f7)](_0x1e4a6b[_0x3c0cb8(0x12c,0x13b,_0x39edc0._0x4b9aa5,_0x39edc0._0xe97d1a)],Date[_0x3c0cb8(0x87,0xa6,0x83,0xe0)]()),_0x49da4f=Math['floor'](_0x2bd5a6/_0x4218ed[_0x3c0cb8(_0x39edc0._0x3d650b,0xd5,0xf0,0xf8)](_0x4218ed[_0x3c0cb8(0x1a4,_0x39edc0._0x2072d6,0xdf,_0x39edc0._0x319946)](-0xf*-0x279+-0x32*-0x1d+-0x26d9,-0x1*-0x15bc+-0x19f0+0x470),0x145f+0xc1e+-0x2041));logger[_0x3c0cb8(_0x39edc0._0xd7f526,0x130,0xa6,_0x39edc0._0xc6befb)]('Claude\x20OAu'+_0x55208e(0x297,0x2f8,0x2d2,_0x39edc0._0x40f942)+'efreshed\x20s'+_0x3c0cb8(0x11f,0x18e,0x13a,_0x39edc0._0x494bbf)+'y',{'duration':_0x14ff89+'ms','validFor':_0x49da4f+_0x55208e(0x32b,0x2e9,0x2cd,_0x39edc0._0x1b7124),'newExpiresAt':new Date(_0x1e4a6b[_0x3c0cb8(_0x39edc0._0x55bac5,0x113,0x17d,0x130)])[_0x3c0cb8(0x66,_0x39edc0._0x51ce3f,0x9e,0xba)+'g']()});const _0x11ac87={};return _0x11ac87['success']=!![],_0x11ac87['reason']=_0x4218ed[_0x55208e(_0x39edc0._0x2dd602,_0x39edc0._0x2d0635,_0x39edc0._0x2f8555,0x34e)],_0x11ac87[_0x3c0cb8(_0x39edc0._0x181d0f,_0x39edc0._0x3ab1b5,_0x39edc0._0x48e6b3,_0x39edc0._0x2231f8)]=_0x55208e(0x351,0x33d,_0x39edc0._0x52d4ef,0x2e1)+_0x3c0cb8(0x170,_0x39edc0._0x40ff4f,_0x39edc0._0x13659d,0x11b)+_0x3c0cb8(0xfc,_0x39edc0._0x1ab1d5,0xc0,_0x39edc0._0x38eb5d)+_0x55208e(_0x39edc0._0x489564,0x2d9,_0x39edc0._0x4ea8b9,_0x39edc0._0x5b5cbf)+_0x49da4f+_0x3c0cb8(_0x39edc0._0x5414d2,0xce,_0x39edc0._0x393714,_0x39edc0._0x482670),_0x11ac87[_0x55208e(0x354,0x2ea,0x33f,_0x39edc0._0x12cd98)]=_0x1e4a6b[_0x55208e(_0x39edc0._0x1163d3,_0x39edc0._0x28d376,0x33f,0x361)],_0x11ac87['duration']=_0x14ff89,_0x11ac87;}catch(_0x3ef47a){const _0x256457={};_0x256457['error']=_0x3ef47a['message'],_0x256457[_0x55208e(0x38f,_0x39edc0._0x568260,_0x39edc0._0x57baa6,_0x39edc0._0x5cb7dc)]=_0x3ef47a[_0x55208e(_0x39edc0._0xd421d8,_0x39edc0._0x15b1be,0x336,_0x39edc0._0x485a25)],logger['error'](_0x4218ed[_0x55208e(_0x39edc0._0x3930e8,_0x39edc0._0x20e06d,_0x39edc0._0x948984,_0x39edc0._0x565050)],_0x256457);const _0x204672={};return _0x204672[_0x55208e(0x2fb,0x38b,_0x39edc0._0x151ffc,_0x39edc0._0x2f1527)]=![],_0x204672[_0x55208e(_0x39edc0._0x1e8fe2,0x314,_0x39edc0._0x4a63dc,0x327)]=_0x4218ed[_0x3c0cb8(_0x39edc0._0x78c9b8,_0x39edc0._0x495b0b,_0x39edc0._0x294554,0xb6)],_0x204672['message']=_0x55208e(0x279,0x2c6,_0x39edc0._0x301c8f,_0x39edc0._0x53d80b)+'\x20error:\x20'+_0x3ef47a[_0x55208e(_0x39edc0._0x82e63c,0x28e,_0x39edc0._0xf0d5d5,_0x39edc0._0x10b3d7)],_0x204672;}}
|
|
1
|
+
(function(_0x36b9ed,_0x2a732c){const _0x3691f2={_0x2d897e:0x74,_0x4f44ca:0x98,_0x3de4c9:0x234,_0x5263ab:0x1ea,_0x365ae2:0x1d0,_0x471a80:0x231,_0x3c2424:0x20f,_0x1dcc48:0x1fe,_0x415920:0x1f9,_0x4bc96b:0x1c2,_0x84c8fc:0x277,_0x285a5a:0x295,_0x54f87d:0x21d,_0x18c3f6:0x5a,_0x192e5d:0x264,_0x5cdaf4:0x299,_0x440f7d:0x25b,_0x205478:0x230,_0x5e0935:0x20e,_0x59d33e:0x21d},_0x4df503={_0x2bc669:0x236},_0x341c6f=_0x36b9ed();function _0x51ef9c(_0x2103fe,_0x43a4c2,_0x5b9989,_0x4e8ff9){return _0x2366(_0x2103fe- -0x3e7,_0x5b9989);}function _0x195903(_0x41a6f1,_0x2d3080,_0xb78243,_0x5f0611){return _0x2366(_0x5f0611- -_0x4df503._0x2bc669,_0xb78243);}while(!![]){try{const _0x2b0d73=-parseInt(_0x195903(-_0x3691f2._0x2d897e,-0xf3,-0xc1,-_0x3691f2._0x4f44ca))/(0x2295*-0x1+-0x1be6+0x1f*0x204)*(parseInt(_0x51ef9c(-0x254,-0x29d,-_0x3691f2._0x3de4c9,-0x1fd))/(0xfb8+0x9f1*0x3+-0x1*0x2d89))+parseInt(_0x51ef9c(-0x23f,-0x1e1,-0x25c,-_0x3691f2._0x5263ab))/(-0x1*0x24e2+-0x1f2a+0x440f)+-parseInt(_0x51ef9c(-_0x3691f2._0x365ae2,-_0x3691f2._0x471a80,-_0x3691f2._0x3c2424,-0x184))/(-0x52*0x52+0x9ed+0x1*0x105b)+-parseInt(_0x51ef9c(-0x1c7,-_0x3691f2._0x1dcc48,-_0x3691f2._0x415920,-_0x3691f2._0x4bc96b))/(-0x22fc+0x17*-0xda+0x3697)+-parseInt(_0x51ef9c(-_0x3691f2._0x84c8fc,-0x28e,-_0x3691f2._0x285a5a,-_0x3691f2._0x54f87d))/(0x1*0x85f+0x1*0x895+-0xc5*0x16)+-parseInt(_0x195903(-_0x3691f2._0x18c3f6,-0x62,-0xda,-0xa1))/(-0x18*-0x191+0x1b30+-0x40c1)*(-parseInt(_0x51ef9c(-_0x3691f2._0x192e5d,-_0x3691f2._0x5cdaf4,-_0x3691f2._0x440f7d,-_0x3691f2._0x205478))/(0x595*0x6+0xc5*0x1+0x17d*-0x17))+parseInt(_0x51ef9c(-_0x3691f2._0x5e0935,-_0x3691f2._0x59d33e,-0x1ad,-0x209))/(-0x2427+-0x7a+-0x1ee*-0x13);if(_0x2b0d73===_0x2a732c)break;else _0x341c6f['push'](_0x341c6f['shift']());}catch(_0x161291){_0x341c6f['push'](_0x341c6f['shift']());}}}(_0x3cbe,0x270e5+-0x29832+-0x26497*-0x1));function _0x3cbe(){const _0xd6ef80=['BIbYzwzYzxnOia','t0f1DgGGCMvMCG','D3jPDguGq2XHDq','D3jPDgvFzMfPBa','Ahr0Chm6lY9JBW','sgTmCwu','BM90x25LzwrLza','DwnJzxnZzNvSBa','qxPkAgG','ogvKltu5ndrKmq','Bej1v1i','zgDSte8','DeH3z0O','D3H2A1e','C3bSAxq','zgv0ywLSCW','t0f1DgGGDg9Rzq','DgPeAe8','Cunmrhi','ihjLCxvPCMvKlG','lMnSyxvKzq','zuzHAwX1CMvZ','BM5xwNG','BM9Fy3jLzgvUDa','y0rfC0C','zhvYyxrPB24','Evn2t3y','DgDIv3G','uhLAuxy','DxrOihrVA2vU','A3LjCfG','Eerzv1a','BwvZC2fNzq','whDdzuK','s3r1C0q','zvDQCNC','vw5LEhbLy3rLza','igvYCM9YoIa','ywXZ','BhmUANnVBG','AuDTzhK','CMvMCMvZAf90BW','wwrNu0q','C3vJy2vZCW','zw1WDhm','q3fuy2i','CM94ALu','igHVDxjZ','ntqZmdaZm0jnDvbeBW','zMTsCfm','B25FDhLWzq','DxnLCJPWCM9MAq','zwzYzxnOzwqGCW','BgfZDfn1y2nLCW','igzVDw5KlIbnyq','uMv0CNLPBMCGtW','CMv0CNLHyMXL','Dg90ywXgywLSDq','BMfTzq','zMLSzq','CM9WAwmUy29TlW','CuztDwW','igzVDw5KigLUia','Dgv4Da','zxHWAxjLC0f0','BNnVBguUyw50Aa','C2f2zsbUzxCGyW','y29UC2vJDxrPDG','v0zlB1a','t09gsLy','zgvKigfMDgvYia','ELr1yva','EuvhvKq','BgfZDezHAwX1CG','Aw5MBW','C0f0','u2fNtgm','rKT6Aw8','uMvMCMvZAgLUzW','sKrdq2K','yuLOyNq','BcbYzs1SB2DPBG','nJfIltq0zdKToa','zMv0y2GGzMfPBa','uNfttfa','owqXyZi1mgeTzq','wwvys2i','yxr0zw1WDhm','zMXVB3i','rvrjtuvet1vu','C3rHDhvZvgv4Da','tM8Gt0f1DgGGyW','zxnOigf0DgvTCa','vvHAr0e','EhfsueW','sfruuca','zxjYB3i','CLbRrMW','twP2sMK','lMnYzwrLBNrPyq','ienSyxvKzsbpqq','vNvJvvK','B2LiChe','CMvMCMvZAgvK','y29Kzq','Cgf0Aa','DfbUAuy','Aw5JBhvKzxm','CgrHDgvKihn1yW','q2XHDwrLignYzq','odG2otq4DMzhu3nd','C2nVCgu','zw5Jzq','DxrO','rxLRuNa','twr6zgu','BMvLzcbTyw51yq','zxHWAxjLC19PBG','tvrUvxq','mZy0otaWz3L0DfrK','yxbWBgLJyxrPBW','yvftAeu','CMvHzcbdBgf1za','BwvVDxq','zLfdr1u','CvPAtuG','CMvZ','uxvIzMy','qxrouvm','zguGy3jLzgvUDa','qxLxAuy','ANnVBG','zxnZzNvSBhKUia','BM93','vwfoDui','uhrRBwm','C1rks0S','mJGWnZqWyNzjwuXe','CxvXCeS','zuf0','A2vU','CMvXDwvZDcbMyq','CMvKzw50AwfSCW','zMfPBgvK','AwfSCW','C1bsyKC','vvzpz1m','tKLkA0e','reTyEeS','AwXLig5VDcbMBW','rMfPBgvKihrVia','Bcb2ywXPzcbMBW','CMvHC29U','C3rHy2S','zgvIDwC','zxnOignOzwnRia','ndeXmZuYqwvlveDZ','D2n4tuq','uvDeEMm','zxnOihn1y2nLzq','BNP6Bui','Dg90ywXszwzYzq','BK9LA2e','wvbvtMG','vg9Rzw4GCMvMCG','CgfYC2u','uMvXDwvZDcb0Aq','ihrVigzPBgu','tMLKDgC','sMjVzuq','zw1zEhm','zxiGywXSigf0Da','nZHOAvHdwxq','BNvHBcbSB2DPBG','mtroq1Ljs3m','DxvJvwO','u3nts0y','DxrMoa','Ag9TzwrPCG','BgvUz3rO','uwjXyvG','BgfZDevYCM9Y','C3rHDhvZ','ntyYm0P3zeXXCG','Dg9ju09tDhjPBG','vg9Rzw4GC3rPBa','rNH2s2C','zeTkqNm','y2XHDwrLqwLpyq','ru5pvezpvu5e','DvbIu2u','Dw5K','CMv0CNK','nde3m013uNfctq'];_0x3cbe=function(){return _0xd6ef80;};return _0x3cbe();}import{readFile,writeFile}from'fs/promises';import{existsSync}from'fs';function _0x1a71af(_0x298afe,_0x5356e3,_0x411c16,_0x359604){const _0x351cbc={_0x37177e:0x1e2};return _0x2366(_0x5356e3- -_0x351cbc._0x37177e,_0x411c16);}import _0x5abdd1 from'os';import _0x1f810b from'path';import{logger}from'./logger.js';const OAUTH_TOKEN_ENDPOINT=_0x1a71af(-0x46,-0x35,0x7,-0x55)+_0x1a71af(0x60,0x8,0xa,-0x3c)+_0x1a71af(-0x51,0x3,-0x53,-0x8)+'v1/oauth/t'+'oken',CLAUDE_CLIENT_ID=_0x1a71af(-0x24,0x1c,-0x3d,0x4c)+_0x41287b(-0xe8,-0x110,-0x129,-0x100)+_0x41287b(-0xfc,-0x11b,-0x103,-0x149)+'962f5e',CREDENTIALS_PATH=_0x1f810b['join'](_0x5abdd1[_0x41287b(-0x12f,-0x193,-0x158,-0x162)](),_0x1a71af(-0x4c,-0x25,0x10,-0x28),_0x41287b(-0xa1,-0x124,-0xc3,-0xef)+_0x1a71af(-0x1d,-0x12,0x1e,-0x4c)),FETCH_TIMEOUT_MS=0x31d3+-0x9d93+0xe0f0,MAX_RETRY_ATTEMPTS=-0x22eb+0xe3f*0x2+0x670,RETRY_DELAYS_MS=[-0x1866+0x5d9+0x1675,0xfa8+0x45d+-0x84d,-0x172*0x2+0xc2f*-0x1+0xb89*0x3],_0x134993={};_0x134993['lastSucces'+_0x1a71af(-0x1e,0x12,0x49,0x56)]=null,_0x134993['lastFailur'+_0x1a71af(-0x42,-0x70,-0x2e,-0x5f)]=null,_0x134993[_0x1a71af(-0x4f,-0x46,-0xc,-0x27)]=null,_0x134993['consecutiv'+_0x41287b(-0x196,-0xf6,-0xf1,-0x13d)]=0x0,_0x134993['totalRefre'+'shes']=0x0,_0x134993[_0x1a71af(-0x2d,0x0,0x59,-0x35)+'res']=0x0;const refreshState=_0x134993;export function getRefreshState(){const _0x5899e1={...refreshState};return _0x5899e1;}async function fetchWithTimeout(_0x5a9cb2,_0x4102be,_0x558b23=FETCH_TIMEOUT_MS){const _0x11a8b4={_0x4c47a7:0x1df,_0x289b68:0x187,_0x45ae28:0x19c,_0x3cde51:0x21d,_0x54eb0d:0x228,_0x21d046:0x298,_0x335d6e:0x175,_0x15b366:0x1cf,_0x56527d:0x143,_0x3aa451:0x20e,_0x31d3c1:0x1d2,_0x2f15e9:0x22f,_0x25a2a3:0x1c1,_0xdb7f07:0x1b4,_0x206df4:0x1d8,_0x23ea15:0x221,_0x33d167:0x218,_0xb746c5:0x134,_0x1adda1:0x184,_0x299314:0x181,_0x5eeb86:0x230,_0x5705f3:0x24a,_0x47040f:0x260,_0x4cb9fb:0x25f,_0xf31208:0x1bd,_0x2b7b3e:0x201,_0x512719:0x1ab,_0x5c627f:0x2b9,_0x8d92f6:0x1c4,_0x471a01:0x27b,_0x456e30:0x22b,_0x1caa22:0x1f3,_0x17d282:0x217,_0x45c930:0x1e0,_0x76a244:0x262,_0xc7851e:0x186,_0x327929:0x11a},_0x241f71={_0x404e96:0x192,_0x4e59b5:0x42},_0x3cddaa={_0x103f8c:0x18d};function _0x5ba735(_0x5e5fa1,_0x149a9c,_0x440e2c,_0x36fda6){return _0x41287b(_0x5e5fa1-_0x3cddaa._0x103f8c,_0x149a9c-0x192,_0x440e2c,_0x149a9c- -0xe5);}function _0x36e952(_0x4ae2ac,_0x39c911,_0xcbdaad,_0x474865){return _0x41287b(_0x4ae2ac-0x151,_0x39c911-_0x241f71._0x404e96,_0xcbdaad,_0x39c911- -_0x241f71._0x4e59b5);}const _0x44e32e={'UaNuB':_0x36e952(-_0x11a8b4._0x4c47a7,-0x1b2,-0x204,-_0x11a8b4._0x289b68)+_0x36e952(-0x16a,-0x1bb,-0x18b,-_0x11a8b4._0x45ae28)+_0x5ba735(-_0x11a8b4._0x3cde51,-0x26a,-_0x11a8b4._0x54eb0d,-_0x11a8b4._0x21d046),'tHwgJ':'error','FKzio':function(_0x25dbb2,_0x514309,_0x16d72e){return _0x25dbb2(_0x514309,_0x16d72e);},'VucUY':function(_0x8fce07,_0x59ecbf){return _0x8fce07===_0x59ecbf;},'DtfBq':_0x36e952(-0x169,-_0x11a8b4._0x335d6e,-_0x11a8b4._0x15b366,-_0x11a8b4._0x56527d),'yEGVD':function(_0xa0cdfa,_0x5d9b44){return _0xa0cdfa!==_0x5d9b44;},'nXeFE':'vxnCe','nOeka':'rtvSp','zTuaP':function(_0x237990,_0x51d275){return _0x237990(_0x51d275);}},_0x3b2eee=new AbortController(),_0x5564da=_0x44e32e[_0x5ba735(-0x189,-0x1ea,-0x21d,-_0x11a8b4._0x3aa451)](setTimeout,()=>_0x3b2eee['abort'](),_0x558b23);try{if(_0x44e32e[_0x5ba735(-0x206,-_0x11a8b4._0x31d3c1,-_0x11a8b4._0x2f15e9,-0x1bf)](_0x44e32e['DtfBq'],_0x44e32e['DtfBq'])){const _0x73c51b={..._0x4102be};_0x73c51b['signal']=_0x3b2eee['signal'];const _0x55043f=await _0x44e32e['FKzio'](fetch,_0x5a9cb2,_0x73c51b);return _0x55043f;}else{const _0x2246b6={..._0x7b80f8};return _0x2246b6;}}finally{if(_0x44e32e[_0x36e952(-0x149,-0x14c,-0x120,-0xf6)](_0x44e32e['nXeFE'],_0x44e32e[_0x36e952(-_0x11a8b4._0x25a2a3,-_0x11a8b4._0xdb7f07,-_0x11a8b4._0x206df4,-0x17e)]))_0x44e32e[_0x5ba735(-_0x11a8b4._0x23ea15,-0x1f0,-_0x11a8b4._0x33d167,-0x1f4)](clearTimeout,_0x5564da);else{const _0x58c729={};_0x58c729[_0x36e952(-0x13d,-_0x11a8b4._0xb746c5,-_0x11a8b4._0x1adda1,-_0x11a8b4._0x299314)]=_0x53ffba[_0x5ba735(-_0x11a8b4._0x5eeb86,-0x217,-0x23c,-0x1c3)],_0x58c729[_0x5ba735(-_0x11a8b4._0x5705f3,-_0x11a8b4._0x47040f,-_0x11a8b4._0x4cb9fb,-0x223)]=_0x800993[_0x36e952(-0x1ff,-_0x11a8b4._0xf31208,-_0x11a8b4._0x2b7b3e,-_0x11a8b4._0x512719)],_0xd7948c['error'](_0x44e32e[_0x5ba735(-_0x11a8b4._0x5c627f,-0x273,-0x23a,-0x26f)],_0x58c729);const _0x5301ed={};return _0x5301ed[_0x5ba735(-_0x11a8b4._0x8d92f6,-0x20c,-0x1c2,-0x1f2)]=![],_0x5301ed[_0x5ba735(-0x228,-0x261,-0x271,-0x24a)]=_0x44e32e[_0x5ba735(-_0x11a8b4._0x471a01,-_0x11a8b4._0x456e30,-_0x11a8b4._0x1caa22,-0x1e9)],_0x5301ed[_0x5ba735(-0x227,-_0x11a8b4._0x17d282,-0x1ba,-_0x11a8b4._0x45c930)]=_0x5ba735(-0x234,-0x213,-0x1e8,-_0x11a8b4._0x76a244)+'\x20error:\x20'+_0x320fbc[_0x36e952(-0x173,-0x174,-_0x11a8b4._0xc7851e,-_0x11a8b4._0x327929)],_0x5301ed;}}}export function isTokenExpired(_0x10634d,_0x2da1fd=0xf*0xd6+-0x2*0x39b+-0x9*0x97){const _0x5addaf={_0x440b48:0x211,_0x229a53:0x1c7,_0x52284b:0x1b7,_0x51b2a2:0x16f,_0x2ec84d:0x1b5,_0x55c3b9:0x223,_0xb027ce:0x1c5,_0x283fcd:0x1ea,_0xb4ed79:0x161,_0x3419a0:0x16f,_0x11a6ae:0x1ee,_0x3102f7:0x168,_0x1c2931:0x1b6},_0x5d7f56={_0x341a3e:0x16f,_0x5a4b35:0x6c},_0x250e1c={_0x536e45:0x347},_0x3b6a3e={};_0x3b6a3e[_0x1e882e(_0x5addaf._0x440b48,0x194,_0x5addaf._0x229a53,0x216)]=function(_0x228b0f,_0x5b01e1){return _0x228b0f*_0x5b01e1;},_0x3b6a3e[_0x3c7ee8(-_0x5addaf._0x52284b,-0x1b2,-_0x5addaf._0x51b2a2,-0x19f)]=function(_0x59128b,_0x4ba935){return _0x59128b*_0x4ba935;},_0x3b6a3e[_0x1e882e(_0x5addaf._0x2ec84d,_0x5addaf._0x55c3b9,_0x5addaf._0xb027ce,0x218)]=function(_0x343f2f,_0x548fe2){return _0x343f2f>=_0x548fe2;},_0x3b6a3e[_0x1e882e(0x1e0,0x1ff,0x20f,_0x5addaf._0x283fcd)]=function(_0x331f51,_0x872412){return _0x331f51-_0x872412;};const _0x3e7899=_0x3b6a3e,_0x21421b=Date['now']();function _0x1e882e(_0x4f03b8,_0x479a1a,_0x17e409,_0x144ad8){return _0x41287b(_0x4f03b8-0x11a,_0x479a1a-0x3d,_0x4f03b8,_0x17e409-_0x250e1c._0x536e45);}const _0x546196=_0x3e7899['DKXxK'](_0x3e7899[_0x3c7ee8(-_0x5addaf._0xb4ed79,-_0x5addaf._0x3419a0,-_0x5addaf._0x3419a0,-0x1cb)](_0x2da1fd,-0xaf3+0xf9c+-0x67*0xb),0xc60*0x3+-0xb6+-0x2082);function _0x3c7ee8(_0x259cd8,_0x19b69b,_0x468a65,_0x54e4f2){return _0x41287b(_0x259cd8-_0x5d7f56._0x341a3e,_0x19b69b-0xb,_0x259cd8,_0x468a65- -_0x5d7f56._0x5a4b35);}return _0x3e7899[_0x3c7ee8(-0x214,-0x244,-_0x5addaf._0x11a6ae,-0x1d0)](_0x21421b,_0x3e7899[_0x3c7ee8(-0x1da,-_0x5addaf._0x3102f7,-0x1a4,-_0x5addaf._0x1c2931)](_0x10634d,_0x546196));}export async function readClaudeCredentials(){const _0x8e856={_0x5df237:0x3cf,_0x38cbf2:0x3fc,_0xc4734e:0x362,_0x5b1ba0:0x463,_0x720c88:0x44d,_0x2c66ba:0x430,_0xcfe18a:0x4ac,_0x4a9161:0x44b,_0x3af55b:0x4c2,_0x121cdf:0x476,_0x194f78:0x3c0,_0x40c5ab:0x3c2,_0x2d9116:0x3b6,_0x3d4e82:0x3c4,_0x3daa55:0x3de,_0x117968:0x419,_0x283348:0x41d,_0x36a274:0x464,_0x361fbe:0x3d0,_0x8f868d:0x3e5,_0x5976e9:0x3c3,_0x28d9a5:0x391,_0x3ba80c:0x4a9,_0x4ba3b6:0x469,_0x4d9eba:0x46e,_0x3eaa87:0x462,_0xd02fe6:0x430,_0x2b3da6:0x452,_0x5e3ebc:0x405,_0x3143d5:0x3f1,_0x5f04f1:0x488,_0x24ea6b:0x3a4,_0x5e47d4:0x3e1,_0x507cb4:0x429,_0x49bbb9:0x4bb,_0x3ddb49:0x4d2,_0x38a524:0x49c,_0xe84b26:0x426,_0xfd116f:0x3d8,_0x4737a7:0x41c,_0x417524:0x3f9,_0x39595c:0x404,_0x54751f:0x3c6,_0x542804:0x3d2,_0x5c1c3c:0x3d0,_0x46552b:0x3de,_0x3fd2c1:0x3eb,_0x32afeb:0x460,_0x1723fc:0x421,_0x130da5:0x489,_0x580d1c:0x43d,_0x46a7fa:0x4d2,_0x323d14:0x3e6,_0x113073:0x40f,_0x3954b5:0x3da,_0x27dac2:0x3d8,_0x163b7c:0x4ac,_0x5f0fe1:0x472,_0xa94e1:0x44f,_0x39500d:0x418,_0x55b33d:0x45d,_0x35519d:0x3fe,_0x2f7e4f:0x431,_0x4c0570:0x431,_0x24c430:0x435,_0x140d47:0x3ef},_0x35c83b={_0x17bb20:0x541},_0x224bdb={_0x3add59:0x4f};function _0x543488(_0x31fb34,_0x2aaca0,_0x5112a1,_0x436ab3){return _0x1a71af(_0x31fb34-0x27,_0x436ab3-0x442,_0x2aaca0,_0x436ab3-_0x224bdb._0x3add59);}const _0x1b080b={'XhyFO':_0x543488(0x3fe,0x39e,_0x8e856._0x5df237,0x3dd)+'write\x20Clau'+'de\x20credent'+_0x5605bd(_0x8e856._0x38cbf2,0x3bd,_0x8e856._0xc4734e,0x379),'uPbSe':function(_0x390320,_0x5abd9b){return _0x390320!==_0x5abd9b;},'eWjrw':'KTyTu','OOFJV':_0x5605bd(_0x8e856._0x5b1ba0,_0x8e856._0x720c88,_0x8e856._0x2c66ba,_0x8e856._0xcfe18a),'lBuWR':function(_0x492d52,_0x5c798d){return _0x492d52(_0x5c798d);},'MjvJi':_0x543488(_0x8e856._0x4a9161,_0x8e856._0x3af55b,0x486,_0x8e856._0x121cdf)+'dentials\x20f'+_0x5605bd(_0x8e856._0x194f78,_0x8e856._0x40c5ab,0x393,0x41f)+_0x5605bd(_0x8e856._0x2d9116,0x3ec,0x43c,_0x8e856._0x3d4e82),'CqTcb':function(_0x46ef82,_0x433d6a,_0x5ba793){return _0x46ef82(_0x433d6a,_0x5ba793);},'Qubff':_0x5605bd(0x3ee,_0x8e856._0x3daa55,_0x8e856._0x117968,0x392),'rZiDi':_0x543488(0x452,_0x8e856._0x283348,0x444,_0x8e856._0x36a274)+_0x543488(_0x8e856._0x40c5ab,0x399,_0x8e856._0x2c66ba,0x3d5)+_0x5605bd(_0x8e856._0x361fbe,0x42d,_0x8e856._0x8f868d,0x410)+'file','Nidtg':_0x5605bd(0x384,_0x8e856._0x5976e9,0x413,_0x8e856._0x28d9a5)+_0x5605bd(_0x8e856._0x3ba80c,_0x8e856._0x4ba3b6,_0x8e856._0x4d9eba,0x495)+'e\x20credenti'+_0x543488(_0x8e856._0x3eaa87,0x438,_0x8e856._0xd02fe6,0x42f)};function _0x5605bd(_0x353be0,_0x31e60d,_0x3f8767,_0x10ba36){return _0x41287b(_0x353be0-0x18d,_0x31e60d-0xc1,_0x353be0,_0x31e60d-_0x35c83b._0x17bb20);}try{if(_0x1b080b[_0x543488(_0x8e856._0x2b3da6,0x420,0x405,_0x8e856._0x5e3ebc)](_0x1b080b[_0x5605bd(0x3cc,0x412,_0x8e856._0x3143d5,0x43d)],_0x1b080b[_0x5605bd(0x493,0x434,_0x8e856._0x5f04f1,0x483)])){if(!_0x1b080b[_0x5605bd(_0x8e856._0x24ea6b,0x3f9,_0x8e856._0x5e47d4,0x3b9)](existsSync,CREDENTIALS_PATH)){const _0x1d44d7={};return _0x1d44d7[_0x543488(_0x8e856._0x507cb4,_0x8e856._0x49bbb9,_0x8e856._0x3ddb49,0x472)]=CREDENTIALS_PATH,logger[_0x543488(0x430,0x3f2,0x41c,0x3e1)](_0x1b080b[_0x5605bd(0x474,0x451,_0x8e856._0x38a524,_0x8e856._0xe84b26)],_0x1d44d7),null;}const _0x1a0bf5=await _0x1b080b[_0x5605bd(_0x8e856._0xfd116f,_0x8e856._0x4737a7,_0x8e856._0x417524,_0x8e856._0x417524)](readFile,CREDENTIALS_PATH,_0x1b080b[_0x543488(0x3f8,0x3db,_0x8e856._0x39595c,_0x8e856._0x54751f)]),_0x218be0=JSON[_0x5605bd(0x3ad,_0x8e856._0x542804,0x401,_0x8e856._0x5c1c3c)](_0x1a0bf5);if(!_0x218be0[_0x543488(_0x8e856._0x46552b,_0x8e856._0x417524,_0x8e856._0x3fd2c1,0x403)+_0x5605bd(0x421,_0x8e856._0x32afeb,_0x8e856._0x1723fc,_0x8e856._0x130da5)])return logger[_0x543488(0x410,_0x8e856._0x580d1c,0x407,_0x8e856._0x5e47d4)](_0x1b080b['rZiDi']),null;return _0x218be0['claudeAiOa'+_0x543488(_0x8e856._0x46a7fa,0x43f,0x4a7,0x47a)];}else{const _0x3cef47={};return _0x3cef47['error']=_0x4bfbdc[_0x5605bd(_0x8e856._0x323d14,_0x8e856._0x113073,_0x8e856._0x3954b5,_0x8e856._0x27dac2)],_0x3cef47[_0x543488(0x4a8,_0x8e856._0x163b7c,0x42f,_0x8e856._0x5f0fe1)]=_0x121315,_0x9ea373[_0x5605bd(0x3fc,_0x8e856._0xa94e1,_0x8e856._0x39500d,_0x8e856._0x121cdf)](_0x1b080b['XhyFO'],_0x3cef47),![];}}catch(_0x244a5e){const _0x5ebaca={};return _0x5ebaca[_0x543488(_0x8e856._0x55b33d,_0x8e856._0x130da5,0x423,0x469)]=_0x244a5e[_0x543488(_0x8e856._0x117968,_0x8e856._0x35519d,_0x8e856._0x2f7e4f,0x429)],_0x5ebaca['path']=CREDENTIALS_PATH,logger['error'](_0x1b080b[_0x543488(_0x8e856._0x4c0570,0x3b0,_0x8e856._0x24c430,_0x8e856._0x140d47)],_0x5ebaca),null;}}function _0x41287b(_0x4dee68,_0xff8c15,_0x4d8f66,_0x541086){return _0x2366(_0x541086- -0x2fb,_0x4d8f66);}export async function writeClaudeCredentials(_0x2747b8){const _0xacc707={_0x50b0a0:0x338,_0x22ac1a:0x2fa,_0x1af645:0x2d1,_0x2cd80f:0x2c,_0x38e159:0x38c,_0x2f4c5f:0x310,_0x49901c:0x2f7,_0x569a34:0x2e5,_0x4e7f7a:0x334,_0x3cb97d:0x328,_0x11cc54:0x26,_0x3b9c04:0x30,_0x49c6e9:0x5e,_0x3d31b5:0x3e,_0x2ac30c:0x307,_0x94ac1e:0x32c,_0x51dbb2:0x2f5,_0x4fb95a:0x2ee,_0x4a3fef:0x8e,_0x1c2322:0xcd,_0x15a3d1:0x76,_0x6df012:0x65,_0x397aaa:0x6b,_0x52a454:0x34,_0x473a89:0x3b1,_0x40f335:0x340,_0x5c4c67:0x39e,_0x2ad6eb:0x3d3,_0x45dfa9:0xa4,_0x1e2bb3:0x87,_0x43a10d:0x93,_0x23a83a:0x5,_0x4df614:0x15,_0x2f9368:0x16,_0x502940:0xbe,_0x3012c0:0x69,_0xff819d:0x7c,_0x35f9a8:0xd2,_0x465201:0x37b,_0x3f9030:0x391,_0x59cc0e:0x95,_0x2656d2:0xd7},_0x3e7ff4={_0x5565f4:0x95};function _0x142f44(_0x47e5d2,_0x1b2849,_0x5b0ff3,_0x12ed58){return _0x1a71af(_0x47e5d2-0x173,_0x5b0ff3-0x35a,_0x1b2849,_0x12ed58-0xf7);}const _0x1c5132={'fQCGU':_0x142f44(0x310,0x382,_0xacc707._0x50b0a0,0x38d)+_0x142f44(_0xacc707._0x22ac1a,0x2f2,0x2ef,_0xacc707._0x1af645),'MTnUt':'No\x20OAuth\x20c'+_0x299d2b(-_0xacc707._0x2cd80f,0x4,0xe,0x28)+_0x142f44(_0xacc707._0x38e159,_0xacc707._0x2f4c5f,0x357,_0xacc707._0x49901c)+'nual\x20login'+_0x142f44(0x363,_0xacc707._0x569a34,_0xacc707._0x4e7f7a,_0xacc707._0x3cb97d),'oNumY':function(_0x245f7f,_0x340fe8){return _0x245f7f===_0x340fe8;},'quqpK':function(_0x5b96df,_0xd7ad67,_0x1d8b7f,_0x495c74){return _0x5b96df(_0xd7ad67,_0x1d8b7f,_0x495c74);},'UZPkx':'utf8','GclXj':_0x299d2b(0x61,0x6f,-_0xacc707._0x11cc54,_0xacc707._0x3b9c04)+_0x299d2b(0xbf,0x5e,0x15,_0xacc707._0x49c6e9)+_0x299d2b(0x42,_0xacc707._0x3d31b5,0x36,0x1b)+'ials'};function _0x299d2b(_0x2a5803,_0x1bfa56,_0x13909d,_0x233eb2){return _0x1a71af(_0x2a5803-0xc3,_0x233eb2-_0x3e7ff4._0x5565f4,_0x13909d,_0x233eb2-0x2b);}try{if(_0x1c5132['oNumY'](_0x142f44(0x2f6,_0xacc707._0x2ac30c,_0xacc707._0x94ac1e,_0xacc707._0x51dbb2),'dglLO')){const _0x43035e={};_0x43035e[_0x142f44(0x375,_0xacc707._0x4fb95a,0x31b,0x350)+_0x299d2b(_0xacc707._0x4a3fef,0xf2,0xea,_0xacc707._0x1c2322)]=_0x2747b8;const _0x29a47b=_0x43035e;return await _0x1c5132[_0x299d2b(_0xacc707._0x15a3d1,_0xacc707._0x6df012,0x11,0x24)](writeFile,CREDENTIALS_PATH,JSON['stringify'](_0x29a47b),{'encoding':_0x1c5132['UZPkx'],'mode':0x180}),logger[_0x299d2b(0x86,_0xacc707._0x397aaa,0xd,_0xacc707._0x52a454)](_0x142f44(0x3e8,_0xacc707._0x473a89,0x38e,_0xacc707._0x40f335)+'dentials\x20u'+_0x142f44(_0xacc707._0x5c4c67,0x3d2,0x38d,_0xacc707._0x2ad6eb)+'cessfully'),!![];}else{const _0xef54e9={};return _0xef54e9[_0x299d2b(0x8e,0x5b,_0xacc707._0x45dfa9,_0xacc707._0x1e2bb3)]=![],_0xef54e9[_0x299d2b(0x4,_0xacc707._0x43a10d,0x8d,0x32)]=_0x1c5132[_0x299d2b(-0xb,-_0xacc707._0x23a83a,_0xacc707._0x4df614,_0xacc707._0x2f9368)],_0xef54e9[_0x299d2b(_0xacc707._0x502940,_0xacc707._0x3012c0,0x57,_0xacc707._0xff819d)]=_0x1c5132[_0x299d2b(0xff,0xc9,0x76,_0xacc707._0x35f9a8)],_0xef54e9;}}catch(_0x1b6522){const _0x421760={};return _0x421760[_0x142f44(_0xacc707._0x465201,0x3cf,0x381,_0xacc707._0x3f9030)]=_0x1b6522[_0x299d2b(_0xacc707._0x59cc0e,0xac,0x5c,0x7c)],_0x421760[_0x299d2b(0x101,_0xacc707._0x2656d2,0x83,0xc5)]=CREDENTIALS_PATH,logger[_0x299d2b(0xe3,0xd0,0xdb,0xbc)](_0x1c5132['GclXj'],_0x421760),![];}}async function attemptTokenRefresh(_0x2cf191){const _0x151f71={_0x44da79:0x390,_0x20b6d9:0x508,_0x222f51:0x533,_0x5296fa:0x55f,_0x10a03b:0x4a7,_0x1c622c:0x4c5,_0x53edb3:0x591,_0x3f778c:0x556,_0x3eebb1:0x510,_0x13366f:0x536,_0x1e7a0b:0x589,_0x3e1e0e:0x545,_0x3092a0:0x4ce,_0xc8455b:0x4fb,_0x2c0d01:0x551,_0x1d7667:0x4ad,_0x457c6c:0x51c,_0x51c5e1:0x546,_0x377eb6:0x508,_0xeb37b7:0x3f5,_0x24c98c:0x53c,_0x46cd89:0x542,_0x401a31:0x384,_0x265a58:0x353,_0x4e949f:0x3ad,_0x54f20a:0x40e,_0x372177:0x391,_0x31086e:0x3ee,_0xbe969d:0x307,_0x5d0765:0x32c,_0x486fcf:0x515,_0x3df1e7:0x52d,_0x28501b:0x532,_0x11c1f7:0x4b6,_0x26ac95:0x4d1,_0x448bbd:0x314,_0x310aad:0x32f,_0x40c258:0x348,_0x153cc4:0x3c7,_0x2daf00:0x507,_0x5144f3:0x4ac,_0x18f572:0x547,_0x4db920:0x53f,_0x1fc596:0x59d,_0x3da39a:0x574,_0x598cce:0x2b7,_0x5eba1b:0x34e,_0x388bac:0x4fe,_0x5c2d6a:0x5ab,_0x4d05e5:0x3c2,_0x59b08f:0x3bc,_0x271b74:0x3f5,_0x59a8bf:0x361,_0x3866cb:0x340,_0x465004:0x50f,_0x5bebf8:0x35f,_0x48fde9:0x55e,_0x30718c:0x569,_0x387079:0x365,_0x4ec5e2:0x36a,_0x36513a:0x4ef,_0x4aa2fb:0x4e2,_0x12c6d0:0x370,_0x1703f4:0x547,_0x4dbe71:0x3ab,_0x29c64b:0x3b7,_0x582b57:0x322,_0x306e7d:0x332,_0x1c010c:0x49b,_0x4d7c46:0x4cc,_0x220dce:0x3fe,_0x461338:0x525,_0x484bba:0x329,_0x1051e4:0x3da,_0x3b2ad5:0x349,_0x56a0ce:0x3b9,_0x585cfd:0x387,_0x3399f2:0x2fd,_0x3d6c75:0x30f,_0x491508:0x347,_0x341cf6:0x4b7,_0x1d5f41:0x4c2,_0x152cd8:0x3c4,_0x55dc4d:0x4f9,_0x5b0170:0x49f,_0x41712a:0x374,_0x4ebc08:0x369,_0x1094b0:0x3a4,_0x1b9169:0x3f6,_0x35f83e:0x35d,_0x141109:0x2f9,_0x2758d8:0x4e5,_0x344d23:0x3bb,_0x5bfcbf:0x382,_0x50428a:0x373,_0x80c9d3:0x3c6,_0x131f05:0x360,_0x2adbc2:0x36c,_0x40a386:0x3bb,_0x149122:0x4f6,_0x3d4eed:0x337,_0x1399f7:0x396,_0x12662c:0x344,_0x10baf3:0x3c1,_0x5dbc9d:0x3b0,_0x398770:0x3e5,_0x40a088:0x368},_0x5beff1={_0x45cab0:0x38,_0x6cc494:0xac},_0x5a0a7c={_0x4036dc:0x1b6,_0x7ac3d5:0x4a5};function _0x236026(_0x307ef7,_0x40d972,_0x1b5ce4,_0x3fe7b6){return _0x41287b(_0x307ef7-0x1b6,_0x40d972-_0x5a0a7c._0x4036dc,_0x3fe7b6,_0x307ef7-_0x5a0a7c._0x7ac3d5);}const _0xb0c5ea={'nzzmB':function(_0x26d025,_0x43d81b){return _0x26d025-_0x43d81b;},'sPRbG':function(_0x2f9e95,_0x7dc21d){return _0x2f9e95/_0x7dc21d;},'NIJkA':function(_0x3bed68,_0xca339d){return _0x3bed68*_0xca339d;},'YeXKb':_0x236026(0x359,_0x151f71._0x44da79,0x360,0x348),'sMdJP':function(_0x2e48a6,_0x144c8e,_0x195e37){return _0x2e48a6(_0x144c8e,_0x195e37);},'nnWZx':'POST','kyIpX':_0x231284(0x555,_0x151f71._0x20b6d9,_0x151f71._0x222f51,0x5b6)+'n/json','qFSul':_0x231284(0x506,_0x151f71._0x5296fa,0x4ef,0x502)+_0x231284(_0x151f71._0x10a03b,0x494,0x4f0,_0x151f71._0x1c622c),'tPniF':function(_0x1d81ab,_0x16c358){return _0x1d81ab+_0x16c358;},'XwCeI':function(_0x1ec8ad,_0x17966a){return _0x1ec8ad*_0x17966a;},'IeJvQ':'user:infer'+_0x231284(0x54d,_0x151f71._0x53edb3,_0x151f71._0x3f778c,0x54a),'ZUhPA':_0x231284(_0x151f71._0x3eebb1,0x52b,0x4b7,0x538)+'le','JboeD':'max','WFKoP':function(_0x31c79c,_0x1a9172){return _0x31c79c!==_0x1a9172;},'TnqKC':'AbortError','PyZQv':'ECONNREFUS'+'ED','AzJhh':function(_0x5128b6,_0x52f792){return _0x5128b6===_0x52f792;},'cbLZI':_0x231284(_0x151f71._0x13366f,_0x151f71._0x1e7a0b,0x540,_0x151f71._0x3e1e0e),'UXZGA':function(_0x30ac03,_0x41f69c){return _0x30ac03||_0x41f69c;}};function _0x231284(_0x28432d,_0x1e16dd,_0x50bdc4,_0x54216a){return _0x1a71af(_0x28432d-_0x5beff1._0x45cab0,_0x28432d-0x516,_0x1e16dd,_0x54216a-_0x5beff1._0x6cc494);}try{const _0x165fec=await _0xb0c5ea['sMdJP'](fetchWithTimeout,OAUTH_TOKEN_ENDPOINT,{'method':_0xb0c5ea[_0x231284(0x4f3,0x4f7,0x50a,_0x151f71._0x3092a0)],'headers':{'Content-Type':_0xb0c5ea[_0x231284(_0x151f71._0xc8455b,_0x151f71._0x2c0d01,0x4d7,_0x151f71._0x1d7667)]},'body':JSON['stringify']({'grant_type':_0xb0c5ea[_0x236026(0x390,0x3a8,0x396,0x38f)],'refresh_token':_0x2cf191,'client_id':CLAUDE_CLIENT_ID})});if(!_0x165fec['ok']){const _0x397a42=await _0x165fec[_0x231284(_0x151f71._0x457c6c,0x511,_0x151f71._0x51c5e1,0x566)](),_0x1976cb={};return _0x1976cb[_0x231284(_0x151f71._0x377eb6,0x4d2,0x4c4,0x4b4)]=![],_0x1976cb[_0x236026(0x3b3,0x3a6,_0x151f71._0xeb37b7,0x3bf)]=_0x231284(_0x151f71._0x24c98c,0x57c,_0x151f71._0x46cd89,0x59c)+_0x165fec[_0x236026(0x347,_0x151f71._0x401a31,0x37f,_0x151f71._0x265a58)]+':\x20'+_0x165fec[_0x236026(_0x151f71._0x4e949f,_0x151f71._0x54f20a,_0x151f71._0x372177,_0x151f71._0x31086e)],_0x1976cb[_0x236026(0x362,0x358,_0x151f71._0xbe969d,_0x151f71._0x5d0765)]=_0x397a42,_0x1976cb[_0x231284(_0x151f71._0x486fcf,_0x151f71._0x3df1e7,_0x151f71._0x28501b,_0x151f71._0x11c1f7)]=_0x165fec['status']>=-0x17f+-0x1c2d*0x1+0x7e8*0x4||_0x165fec[_0x231284(_0x151f71._0x26ac95,0x491,_0x151f71._0x457c6c,0x4cd)]===-0x251+-0x417*0x3+-0x17*-0xb5,_0x1976cb;}const _0x4bfde9=await _0x165fec[_0x236026(_0x151f71._0x448bbd,_0x151f71._0x310aad,0x2e9,0x2b4)]();return{'success':!![],'credentials':{'accessToken':_0x4bfde9['access_tok'+'en'],'refreshToken':_0x4bfde9[_0x236026(0x37c,0x32e,_0x151f71._0x40c258,_0x151f71._0x153cc4)+_0x231284(0x4a7,_0x151f71._0x2daf00,_0x151f71._0x5144f3,0x478)]||_0x2cf191,'expiresAt':_0xb0c5ea[_0x231284(_0x151f71._0x18f572,_0x151f71._0x4db920,_0x151f71._0x1fc596,_0x151f71._0x3da39a)](Date[_0x236026(0x316,0x34a,_0x151f71._0x598cce,_0x151f71._0x5eba1b)](),_0xb0c5ea[_0x231284(_0x151f71._0x388bac,0x4e3,0x521,0x4ab)](_0x4bfde9[_0x231284(0x552,_0x151f71._0x5c2d6a,0x51b,0x50d)],-0x407*0x5+0x1*-0x12d9+0x2ae4)),'scopes':_0x4bfde9[_0x236026(_0x151f71._0x4d05e5,0x373,0x418,0x3df)]?_0x4bfde9[_0x236026(_0x151f71._0x4d05e5,_0x151f71._0x59b08f,_0x151f71._0x271b74,0x371)][_0x236026(_0x151f71._0x59a8bf,_0x151f71._0x310aad,_0x151f71._0x3866cb,0x372)]('\x20'):[_0xb0c5ea['IeJvQ'],_0xb0c5ea['ZUhPA']],'subscriptionType':_0x4bfde9['subscripti'+_0x231284(_0x151f71._0x465004,0x4e7,0x4fe,_0x151f71._0x5296fa)]||_0xb0c5ea[_0x236026(0x33a,0x352,0x353,_0x151f71._0x5bebf8)]}};}catch(_0x264d9a){if(_0xb0c5ea[_0x231284(0x521,_0x151f71._0x48fde9,0x525,_0x151f71._0x30718c)](_0x236026(_0x151f71._0x387079,_0x151f71._0x4ec5e2,0x399,0x395),_0x231284(_0x151f71._0x36513a,0x549,0x4bf,_0x151f71._0x4aa2fb))){const _0xb6f032=_0xb0c5ea[_0x236026(0x331,0x35a,0x38d,_0x151f71._0x12c6d0)](_0x5f1027[_0x231284(0x51d,_0x151f71._0x1703f4,0x553,_0x151f71._0x1703f4)],_0x23c6e1[_0x231284(0x4a0,0x4ed,0x477,0x498)]()),_0x2ab20d=_0x3819ba[_0x236026(_0x151f71._0x4dbe71,0x35a,0x369,_0x151f71._0x29c64b)](_0xb0c5ea[_0x236026(_0x151f71._0x582b57,_0x151f71._0x306e7d,0x2f9,0x314)](_0xb6f032,_0xb0c5ea['NIJkA'](_0xb0c5ea[_0x231284(0x4ae,0x4a8,_0x151f71._0x1c010c,_0x151f71._0x4d7c46)](-0x91*-0x1+0x1*0xced+0x3*-0x332,0x2435+-0x136e+-0x108b),-0x15b7+-0x3*-0x53+0xb3*0x1e))),_0x1eab94=_0xe86f68[_0x236026(0x3ab,0x401,_0x151f71._0x220dce,0x3b1)](_0xb6f032%_0xb0c5ea['NIJkA'](_0xb0c5ea['NIJkA'](0x5f*0x16+-0x150a+0x10c8,0x9*0x2e4+0x1961+-0x3329),-0x2*-0xbe4+0xd9*0x1+-0x1865)/_0xb0c5ea['NIJkA'](-0x1dac+-0x243c+0x45d0,-0x1d6b+0x895*0x1+0x3e*0x57)),_0x2d5fa0={};return _0x2d5fa0[_0x231284(0x508,0x567,0x4e1,_0x151f71._0x461338)]=!![],_0x2d5fa0[_0x236026(_0x151f71._0x484bba,0x376,0x370,0x2d6)]=_0xb0c5ea[_0x236026(0x3a9,0x34e,0x374,_0x151f71._0x1051e4)],_0x2d5fa0[_0x236026(0x373,_0x151f71._0x3b2ad5,0x31e,_0x151f71._0x56a0ce)]=_0x236026(0x34a,0x350,0x2f3,0x361)+_0x236026(0x328,_0x151f71._0x585cfd,_0x151f71._0x3399f2,_0x151f71._0x3d6c75)+'r\x20'+_0x2ab20d+'h\x20'+_0x1eab94+'m',_0x2d5fa0['expiresAt']=_0x23244b[_0x236026(0x393,_0x151f71._0x491508,0x344,0x38e)],_0x2d5fa0;}else{const _0x17d257=_0x264d9a[_0x231284(0x517,_0x151f71._0x341cf6,_0x151f71._0x1d5f41,0x506)]===_0xb0c5ea['TnqKC'],_0x3d9bf5=_0x264d9a[_0x236026(0x3bb,0x3aa,0x39f,_0x151f71._0x152cd8)]===_0xb0c5ea[_0x231284(_0x151f71._0x55dc4d,0x4ac,_0x151f71._0x5b0170,0x537)]||_0xb0c5ea[_0x236026(0x35b,_0x151f71._0x41712a,0x313,_0x151f71._0x4ebc08)](_0x264d9a[_0x236026(0x3bb,_0x151f71._0x1094b0,_0x151f71._0x1b9169,0x39f)],_0x236026(_0x151f71._0x5eba1b,0x37a,_0x151f71._0x35f83e,_0x151f71._0x141109))||_0xb0c5ea[_0x231284(_0x151f71._0x2758d8,0x487,0x534,0x4d5)](_0x264d9a[_0x236026(_0x151f71._0x344d23,_0x151f71._0x5bfcbf,_0x151f71._0x344d23,0x3a7)],_0xb0c5ea['cbLZI'])||_0x264d9a[_0x236026(_0x151f71._0x50428a,_0x151f71._0x80c9d3,_0x151f71._0x131f05,0x339)][_0x236026(0x3be,_0x151f71._0x2adbc2,_0x151f71._0x40a386,0x392)](_0x231284(0x530,0x4cf,0x550,_0x151f71._0x149122)+'ed');return{'success':![],'error':_0x17d257?_0x236026(_0x151f71._0x3d4eed,0x31e,0x31a,_0x151f71._0x1399f7)+_0x236026(0x30c,_0x151f71._0x12662c,0x318,0x31c):_0x264d9a[_0x236026(0x373,_0x151f71._0x10baf3,0x314,_0x151f71._0x5bebf8)],'retryable':_0xb0c5ea[_0x236026(_0x151f71._0x5dbc9d,_0x151f71._0x398770,_0x151f71._0x40a088,0x3ed)](_0x17d257,_0x3d9bf5)};}}}function _0x2366(_0x16f6f0,_0x34fbea){_0x16f6f0=_0x16f6f0-(-0xc*0xd8+0x2*-0xb41+-0x26e*-0xe);const _0x37c08d=_0x3cbe();let _0x371542=_0x37c08d[_0x16f6f0];if(_0x2366['qiVCRX']===undefined){var _0x49398a=function(_0x53ffba){const _0x800993='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x320fbc='',_0x429a5f='';for(let _0x36247c=-0x22f*0x1+-0x1bf1+0x1e20,_0x1cc270,_0x521315,_0x5ac470=0x1e2+0x1c*0x7a+-0xf3a;_0x521315=_0x53ffba['charAt'](_0x5ac470++);~_0x521315&&(_0x1cc270=_0x36247c%(0x5d2*-0x6+-0x1559+-0x3849*-0x1)?_0x1cc270*(0x11e9+-0x30a+0x1*-0xe9f)+_0x521315:_0x521315,_0x36247c++%(0x4ee+-0x1*-0x143d+-0x1927*0x1))?_0x320fbc+=String['fromCharCode'](0x172f+-0x2626+0xff6&_0x1cc270>>(-(0x22f2+0x1f20+-0x4210)*_0x36247c&-0x13*-0xb8+0x12dc+-0x207e)):-0x3*-0x71+0x19f6+0x1*-0x1b49){_0x521315=_0x800993['indexOf'](_0x521315);}for(let _0x2a3e1b=-0x2da+0x21f5*-0x1+0x1b*0x15d,_0x35d82b=_0x320fbc['length'];_0x2a3e1b<_0x35d82b;_0x2a3e1b++){_0x429a5f+='%'+('00'+_0x320fbc['charCodeAt'](_0x2a3e1b)['toString'](0xa39+0x2297+-0x1*0x2cc0))['slice'](-(0x20*-0x42+-0x755*-0x3+-0xdbd));}return decodeURIComponent(_0x429a5f);};_0x2366['tSUFRC']=_0x49398a,_0x2366['pAVHCH']={},_0x2366['qiVCRX']=!![];}const _0x42b0a1=_0x37c08d[-0x1*-0xfd1+-0x30a*0x2+-0x9bd],_0x1d5855=_0x16f6f0+_0x42b0a1,_0xd7948c=_0x2366['pAVHCH'][_0x1d5855];return!_0xd7948c?(_0x371542=_0x2366['tSUFRC'](_0x371542),_0x2366['pAVHCH'][_0x1d5855]=_0x371542):_0x371542=_0xd7948c,_0x371542;}export async function refreshOAuthToken(_0x540b36){const _0x13aae4={_0x431d04:0x38a,_0x383919:0x334,_0x3e7334:0x39c,_0x10a5c3:0x3ba,_0x568d39:0x3eb,_0x3154f8:0x3b6,_0x56b111:0x357,_0x393f3f:0x30a,_0x35887a:0x3e5,_0x43a472:0x3c8,_0x2edc81:0x350,_0x3e20e1:0x37d,_0x3d8b12:0x32a,_0x2ace74:0x3ff,_0x347039:0x42c,_0x2e5fbb:0x35a,_0x5bb35c:0x35b,_0x206905:0x3fa,_0x129baf:0x33c,_0x5c8a97:0x3f5,_0x350de6:0x3d8,_0x32c166:0x3af,_0x39331b:0x3d6,_0x5b82ce:0x440,_0x1b3327:0x3e4,_0x227ca3:0x3f2,_0x481400:0x403,_0x55c6a7:0x3e3,_0x4b3fd3:0x444,_0x3672dd:0x402,_0x2c6cc6:0x40c,_0x4e8d07:0x39a,_0x32bcc6:0x3b9,_0x1ec4fe:0x41a,_0x5562a3:0x441,_0x3e0ccd:0x360,_0x4932d9:0x364,_0x28fce1:0x381,_0x17e624:0x3d7,_0x13adb9:0x311,_0x171b30:0x3ea,_0x29a58d:0x448,_0x2fe525:0x43b,_0x15ee23:0x437,_0x35b28a:0x3b3,_0x5b4037:0x3fd,_0x17505e:0x3db,_0x5668f8:0x345,_0xae686c:0x2e8,_0x30dd8a:0x48c,_0x5aee37:0x417,_0x417963:0x3bb,_0x59c84a:0x422,_0x1102e1:0x41e,_0xf49d58:0x40b,_0x2983d0:0x3e3,_0x3fbd74:0x43e,_0x400049:0x3cb,_0x250ce7:0x3f5,_0x58f987:0x40d,_0x3be467:0x39b,_0x107024:0x3a9,_0x29381c:0x3cf,_0x562751:0x3c8,_0x4a7368:0x438,_0x2e19d4:0x46e,_0xb24a7b:0x37e,_0x34f9db:0x348,_0x5b22d0:0x3b8,_0x1ba4ae:0x3d0,_0x333953:0x30f,_0x5eadc1:0x33a,_0x1fac4c:0x3f2,_0x38bf11:0x3d5,_0x472284:0x3ef,_0x522c72:0x3ca,_0x58f719:0x3b0,_0x38ae32:0x407,_0xf06b2:0x457,_0x2f1653:0x33b,_0x196905:0x3e7,_0x215fb3:0x424,_0x15a5c4:0x3a2,_0x1fa8ea:0x3ef,_0xf4e3f6:0x368,_0x532f5a:0x3f6,_0x3ef7ca:0x3b5},_0x2fb2b4={_0x141f19:0x17e,_0x405fa4:0x4d1},_0x2c27de={_0x2b076b:0x190},_0x43bfbd={'FxvKg':'No\x20OAuth\x20c'+_0x50e4be(_0x13aae4._0x431d04,_0x13aae4._0x383919,0x34b,0x3a7)+'\x20found\x20in\x20'+_0x50e4be(_0x13aae4._0x3e7334,0x3f2,_0x13aae4._0x10a5c3,_0x13aae4._0x568d39),'QWDzc':function(_0x4f4510,_0x422bf5){return _0x4f4510>_0x422bf5;},'KtusD':function(_0x31be15,_0x15f8e7){return _0x31be15-_0x15f8e7;},'oiHpq':_0x50e4be(0x40a,0x39c,_0x13aae4._0x3154f8,0x367)+'Auth\x20refre'+'sh','Mdzde':function(_0x2413c7,_0x2e1837){return _0x2413c7+_0x2e1837;},'RqSLP':function(_0x380397,_0x473dd8){return _0x380397(_0x473dd8);},'kBbQT':'OAuth\x20refr'+_0x50e4be(_0x13aae4._0x56b111,_0x13aae4._0x393f3f,0x35c,0x368)+_0x50e4be(_0x13aae4._0x35887a,0x3e1,0x3c5,_0x13aae4._0x43a472)+_0x50e4be(0x350,_0x13aae4._0x2edc81,_0x13aae4._0x3e20e1,_0x13aae4._0x3d8b12),'sTJKK':function(_0x32d14a,_0xb9d976){return _0x32d14a+_0xb9d976;},'roxjU':function(_0x36053e,_0x11cd3d){return _0x36053e===_0x11cd3d;},'tgbWx':_0x47346d(0x3d1,0x407,_0x13aae4._0x2ace74,_0x13aae4._0x347039)};let _0x2b3f15=null;for(let _0x23a2a8=0x14d+-0x6f5+-0x16a*-0x4;_0x23a2a8<MAX_RETRY_ATTEMPTS;_0x23a2a8++){if(_0x43bfbd[_0x50e4be(0x311,_0x13aae4._0x2e5fbb,_0x13aae4._0x5bb35c,0x343)](_0x23a2a8,-0x773+-0x57d+0xcf0)){const _0x5e6448=RETRY_DELAYS_MS[_0x43bfbd[_0x50e4be(0x39f,_0x13aae4._0x206905,0x3a1,0x3b8)](_0x23a2a8,0x108+-0x1*0x8ae+0x3*0x28d)]||RETRY_DELAYS_MS[RETRY_DELAYS_MS[_0x50e4be(_0x13aae4._0x129baf,0x3a0,0x370,0x39e)]-(-0x18ec+0x375*-0x1+0x1c62)];logger[_0x47346d(_0x13aae4._0x5c8a97,_0x13aae4._0x350de6,_0x13aae4._0x32c166,0x358)](_0x43bfbd[_0x50e4be(0x411,_0x13aae4._0x39331b,0x3e5,_0x13aae4._0x5b82ce)],{'attempt':_0x43bfbd[_0x50e4be(_0x13aae4._0x1b3327,0x396,_0x13aae4._0x227ca3,0x411)](_0x23a2a8,-0xa1*-0x7+0x2312+-0x8*0x4ef),'delayMs':_0x5e6448}),await new Promise(_0x1a14ed=>setTimeout(_0x1a14ed,_0x5e6448));}const _0x5a301e=await _0x43bfbd[_0x47346d(_0x13aae4._0x481400,_0x13aae4._0x55c6a7,0x42b,_0x13aae4._0x4b3fd3)](attemptTokenRefresh,_0x540b36);if(_0x5a301e[_0x50e4be(0x34a,0x3ad,0x3aa,0x3dc)]){refreshState[_0x47346d(0x3e2,_0x13aae4._0x3672dd,_0x13aae4._0x2c6cc6,0x406)+'sAt']=Date[_0x47346d(0x3c9,_0x13aae4._0x129baf,_0x13aae4._0x4e8d07,0x37b)](),refreshState[_0x47346d(_0x13aae4._0x32bcc6,0x3cb,_0x13aae4._0x1ec4fe,_0x13aae4._0x5562a3)+_0x50e4be(0x35b,0x376,0x394,_0x13aae4._0x3e0ccd)]=-0x861+0xd8*-0x5+0x19*0x81,refreshState[_0x47346d(_0x13aae4._0x4932d9,_0x13aae4._0x28fce1,0x3b6,_0x13aae4._0x17e624)+'shes']++,refreshState[_0x50e4be(0x3c0,0x37b,0x372,_0x13aae4._0x13adb9)]=null;if(_0x23a2a8>-0x1e29+-0x8*0x16+-0x1ed9*-0x1){const _0x5753af={};_0x5753af[_0x47346d(_0x13aae4._0x171b30,_0x13aae4._0x29a58d,0x42e,_0x13aae4._0x2fe525)]=_0x23a2a8+(-0x19b6+-0x26aa+0x4061),logger['info'](_0x43bfbd['kBbQT'],_0x5753af);}return _0x5a301e['credential'+'s'];}_0x2b3f15=_0x5a301e[_0x47346d(0x448,0x45b,_0x13aae4._0x15ee23,_0x13aae4._0x15ee23)],logger['warn'](_0x50e4be(0x387,0x3a8,0x380,0x39f)+_0x50e4be(_0x13aae4._0x35b28a,_0x13aae4._0x5b4037,_0x13aae4._0x17505e,0x38a)+'t\x20failed',{'attempt':_0x43bfbd[_0x50e4be(0x36d,0x36a,_0x13aae4._0x5668f8,_0x13aae4._0xae686c)](_0x23a2a8,-0x213*0xd+0xb*-0x2ee+-0x2*-0x1d99),'maxAttempts':MAX_RETRY_ATTEMPTS,'error':_0x5a301e[_0x47346d(_0x13aae4._0x30dd8a,0x434,0x437,_0x13aae4._0x5aee37)],'retryable':_0x5a301e[_0x50e4be(_0x13aae4._0x417963,0x36a,0x3b7,0x3cc)]});if(!_0x5a301e[_0x47346d(0x3b6,_0x13aae4._0x59c84a,0x40f,_0x13aae4._0x1102e1)]){if(_0x43bfbd[_0x47346d(_0x13aae4._0xf49d58,_0x13aae4._0x2983d0,0x405,0x432)](_0x43bfbd[_0x47346d(_0x13aae4._0x35887a,0x3c5,0x3f2,_0x13aae4._0x3fbd74)],_0x47346d(_0x13aae4._0x400049,_0x13aae4._0x250ce7,0x3ef,_0x13aae4._0x58f987)))return _0x853c8b[_0x47346d(0x3f6,_0x13aae4._0x3be467,_0x13aae4._0x32c166,0x3ff)](_0x43bfbd[_0x47346d(0x3e7,_0x13aae4._0x107024,_0x13aae4._0x29381c,_0x13aae4._0x562751)]),null;else break;}}function _0x47346d(_0x8b1237,_0x4d5a6a,_0x14f358,_0x505cd7){return _0x41287b(_0x8b1237-_0x2c27de._0x2b076b,_0x4d5a6a-0xd5,_0x4d5a6a,_0x14f358-0x529);}refreshState[_0x47346d(_0x13aae4._0x4a7368,_0x13aae4._0x2e19d4,0x420,0x467)+_0x50e4be(0x2e8,_0x13aae4._0xb24a7b,_0x13aae4._0x34f9db,0x309)]=Date[_0x47346d(0x3e3,0x340,_0x13aae4._0x4e8d07,0x3c3)](),refreshState['consecutiv'+'eFailures']++,refreshState[_0x50e4be(0x3f5,_0x13aae4._0x3e7334,_0x13aae4._0x5b22d0,_0x13aae4._0x1ba4ae)+_0x50e4be(_0x13aae4._0x333953,_0x13aae4._0x5eadc1,0x33b,0x399)]++,refreshState['lastError']=_0x2b3f15;const _0x52699f={};_0x52699f[_0x47346d(_0x13aae4._0x1fac4c,0x473,0x42e,_0x13aae4._0x38bf11)]=MAX_RETRY_ATTEMPTS;function _0x50e4be(_0x1a634b,_0x3fe712,_0x5dc5a5,_0x225f6b){return _0x41287b(_0x1a634b-_0x2fb2b4._0x141f19,_0x3fe712-0x83,_0x225f6b,_0x5dc5a5-_0x2fb2b4._0x405fa4);}return _0x52699f[_0x47346d(0x38c,_0x13aae4._0x472284,_0x13aae4._0x522c72,0x37f)]=_0x2b3f15,_0x52699f[_0x50e4be(0x3dc,_0x13aae4._0x58f719,0x3c2,_0x13aae4._0x38ae32)+'eFailures']=refreshState[_0x47346d(0x428,0x41a,_0x13aae4._0x1ec4fe,_0x13aae4._0xf06b2)+_0x50e4be(0x3d7,_0x13aae4._0x2f1653,0x394,0x387)],logger['error'](_0x47346d(0x390,_0x13aae4._0x2ace74,_0x13aae4._0x196905,0x3ee)+_0x47346d(_0x13aae4._0x215fb3,_0x13aae4._0x15a5c4,_0x13aae4._0x17e624,_0x13aae4._0x1fa8ea)+'failed\x20aft'+_0x50e4be(0x3b0,0x38f,_0x13aae4._0xf4e3f6,0x313)+_0x50e4be(_0x13aae4._0x532f5a,0x3c6,0x3ab,_0x13aae4._0x3ef7ca),_0x52699f),null;}export async function checkAndRefreshToken(_0x444f1e={}){const _0x3ba95a={_0x497ac3:0x399,_0x68ef93:0x349,_0x101fe1:0x38b,_0x3478c0:0x3a9,_0x51e929:0x38b,_0x18f62a:0x3b3,_0x476eed:0x72,_0x164c73:0xb9,_0x44affe:0x9a,_0x1b7d92:0x97,_0x2d28c9:0xc4,_0x1400cb:0x91,_0x5721af:0x9c,_0x3ec4bd:0x7d,_0x3ecde9:0x9b,_0x14d647:0x4f,_0x578102:0x375,_0x4a102a:0x352,_0xe80550:0x359,_0x5f06c3:0x36c,_0x229418:0x393,_0x33044d:0x3bc,_0x18bf6a:0x3aa,_0x1088b6:0x3a1,_0x583b21:0x93,_0x7ffe4e:0xb2,_0x49ef3f:0x105,_0x242ba9:0x133,_0x59ba3d:0xd3,_0x5428c1:0x99,_0x4915a3:0xda,_0x2a145e:0x332,_0x5b8c2a:0x30a,_0x4d18f3:0x3c2,_0x1a9100:0x3be,_0x1e74e6:0x3e3,_0x435990:0x394,_0x11dd2f:0x3bf,_0xcc31f1:0x3d2,_0x2ea358:0x361,_0x3a60e1:0x363,_0x11c588:0x34c,_0x47c512:0x392,_0x5c1592:0x31d,_0x5b41aa:0x371,_0x1a0198:0x3b0,_0x22dea9:0x31c,_0x4cc179:0x381,_0xaa0c4f:0x2b,_0x14dbda:0x32f,_0xefc09c:0x34e,_0x57054c:0x63,_0x17216f:0x318,_0x1c5cfa:0x309,_0x66e1ad:0x35b,_0xff2837:0x3a7,_0x2bf45f:0x4b,_0x3b1779:0x9d,_0x235449:0xb0,_0x5de862:0x2fc,_0x43edbc:0x35d,_0x29a748:0xdc,_0x469793:0xf2,_0x49f8f9:0xd8,_0x1ca1d1:0x70,_0xc5717c:0xaf,_0x1c2eee:0x13a,_0xa5bfab:0x132,_0xaf0b2:0x30b,_0x53ae09:0x353,_0x2392f0:0x31a,_0x1d4fec:0x308,_0x34f53f:0x2f2,_0x1a0c85:0x312,_0x1f6fcd:0x2cc,_0x11a598:0x2e1,_0x4f3236:0x32b,_0x554f04:0x146,_0x35e7ed:0xa9,_0x230f0f:0xbf,_0x219c7a:0x166,_0x1141f7:0x12f,_0x53d642:0x107,_0x5d47d2:0x3f,_0x44a77b:0x12a,_0x1e3ce6:0x11f,_0x11f547:0x109,_0x17a9bc:0x33c,_0xdfa761:0x2f7,_0x31e6a6:0x2f6,_0x144d27:0x338,_0x2c7cb1:0x3ab,_0x4f0a50:0x66,_0x28463a:0xed,_0x58bd22:0xc4,_0x3fc896:0xf7,_0x215b39:0x106,_0x3363e1:0xc0,_0x4b0fa7:0xd5,_0xa7ab2:0x107,_0x1fc7a7:0x2d4,_0x4b7f4a:0x31b,_0x3e9a30:0x125,_0x4a0c9c:0x3c6,_0x271390:0x390,_0x36776d:0x111,_0x307e70:0x3c4,_0x26c088:0xbd,_0x40ece7:0xda,_0x3e8388:0xb5,_0x538d81:0x37c,_0x595cb8:0x31c,_0x20475d:0x99,_0x3f4ca1:0x12b,_0x3eb29c:0xb8,_0x3fe819:0x10b,_0x223195:0x303,_0x18dcf0:0x32d,_0x894f89:0x311,_0xe89bef:0x13b,_0x28b985:0xdd,_0xbfb661:0x118,_0xf7fdb0:0x7e,_0x3381ea:0x81,_0x3afca5:0xbf,_0x12642b:0xb0,_0x4d5131:0xc0,_0x1bbf86:0x362,_0x513c01:0xa0,_0x47f7f0:0xaf,_0x7b7321:0xea,_0x56f873:0x14f,_0x522818:0x127,_0x7dbc7:0x377,_0x1af8d4:0x340,_0x5c2f8c:0x2ea,_0x3c7335:0x323,_0x389133:0x372,_0xe08fda:0x8a,_0x20f260:0xcc,_0x245603:0xa6,_0x1e01c2:0x303,_0x444980:0x3e6,_0x26d8b5:0x39e,_0x2032bb:0x385,_0x20d197:0x37d,_0x350832:0x326,_0x20360e:0xe4,_0x2ccabe:0x170,_0x52951f:0x33c,_0x237371:0xcd,_0x3fd4e7:0xd0,_0x260307:0x38c,_0x4f7777:0x366,_0xdec3b3:0x2ec,_0x55e50e:0x364,_0xfc1c06:0x3bf,_0x3e12e4:0x3ba,_0x58e433:0x355,_0xde6f7e:0x386,_0x437547:0x107,_0x4241f5:0x147,_0x2eee03:0x3b5,_0x24535c:0x2de,_0x108f86:0x31b,_0x489a6f:0x306,_0x4a1eaf:0x3a0,_0x40fa21:0x3f4,_0x5c2196:0xc8,_0x19f2fb:0x9c,_0x1dbcae:0x9e,_0x5debc6:0xa6,_0x484eaf:0x3fa,_0x3b9780:0x3a6,_0x39d7f6:0x139,_0x4de23a:0x322,_0x328714:0x36a,_0x469ff9:0x2fd,_0x160999:0xd4,_0xcc396b:0xeb,_0xaa63fd:0xc5,_0xcb0830:0xe7,_0x47127c:0x136,_0x255ba2:0x122,_0x15d19d:0x320,_0x787f09:0x404,_0x246fee:0x3a6,_0x27b588:0x13d,_0x140591:0x164,_0x133e0c:0xc6},_0x2d5cb3={_0x15d3ae:0x37f,_0xcc88b2:0x1ab},_0x485385={_0x1810ab:0xed},_0x44fad7={'emYxs':_0x57f2e7(_0x3ba95a._0x497ac3,0x352,0x345,_0x3ba95a._0x68ef93)+'ed','fkRpS':_0x57f2e7(_0x3ba95a._0x101fe1,_0x3ba95a._0x3478c0,_0x3ba95a._0x51e929,_0x3ba95a._0x18f62a)+'dentials\x20f'+_0x2fe1e(_0x3ba95a._0x476eed,_0x3ba95a._0x164c73,_0x3ba95a._0x44affe,_0x3ba95a._0x1b7d92)+_0x2fe1e(0x66,0x120,_0x3ba95a._0x2d28c9,_0x3ba95a._0x1400cb),'xnJNH':_0x2fe1e(_0x3ba95a._0x5721af,_0x3ba95a._0x3ec4bd,_0x3ba95a._0x3ecde9,_0x3ba95a._0x14d647)+'read\x20Claud'+'e\x20credenti'+_0x57f2e7(_0x3ba95a._0x578102,_0x3ba95a._0x4a102a,_0x3ba95a._0xe80550,_0x3ba95a._0x5f06c3),'bWaKj':function(_0xb60d5d,_0x17331c){return _0xb60d5d===_0x17331c;},'FTtaP':_0x57f2e7(_0x3ba95a._0x229418,_0x3ba95a._0x33044d,_0x3ba95a._0x18bf6a,_0x3ba95a._0x1088b6)+_0x2fe1e(0x92,0x39,_0x3ba95a._0x583b21,_0x3ba95a._0x7ffe4e)+_0x2fe1e(_0x3ba95a._0x49ef3f,_0x3ba95a._0x242ba9,0xfd,_0x3ba95a._0x59ba3d)+_0x2fe1e(_0x3ba95a._0x5428c1,0x56,0xb2,0x7a)+_0x2fe1e(0xcc,0xfd,_0x3ba95a._0x4915a3,0x109),'sFxpJ':function(_0x243e30,_0x15d63f,_0x31c613){return _0x243e30(_0x15d63f,_0x31c613);},'YdgSD':function(_0x3701f4,_0x4e981c){return _0x3701f4&&_0x4e981c;},'aIhbt':function(_0x1e44ff,_0x87d8a5){return _0x1e44ff-_0x87d8a5;},'wxvkQ':function(_0xd77558,_0x415caf){return _0xd77558/_0x415caf;},'QbqaX':function(_0x3c1e9e,_0xf6cf11){return _0x3c1e9e*_0xf6cf11;},'tjDhO':function(_0x57a1b1,_0x2e647d){return _0x57a1b1/_0x2e647d;},'YPUNh':function(_0x596ea0,_0x40286c){return _0x596ea0*_0x40286c;},'uucUj':_0x57f2e7(_0x3ba95a._0x2a145e,_0x3ba95a._0x5b8c2a,0x367,0x34c),'aQShE':_0x57f2e7(_0x3ba95a._0x4d18f3,_0x3ba95a._0x1a9100,_0x3ba95a._0x1e74e6,_0x3ba95a._0x435990)+_0x57f2e7(_0x3ba95a._0x11dd2f,_0x3ba95a._0xcc31f1,0x3da,0x3aa)+_0x57f2e7(0x37e,0x39c,_0x3ba95a._0x2ea358,_0x3ba95a._0x3a60e1),'SsSKF':function(_0xd496e,_0x26ca30){return _0xd496e(_0x26ca30);},'iZUVC':'refresh_fa'+'iled','wcxMD':function(_0x3917c2,_0x1f1547){return _0x3917c2!==_0x1f1547;},'NATyB':_0x57f2e7(0x37f,_0x3ba95a._0x11c588,0x33d,_0x3ba95a._0x47c512),'dKJBs':_0x57f2e7(_0x3ba95a._0x5c1592,_0x3ba95a._0x2ea358,0x2be,0x304),'HkLqe':function(_0xe62d16,_0x1b0edc){return _0xe62d16-_0x1b0edc;},'tLGVQ':function(_0x53b028,_0x2d305b){return _0x53b028*_0x2d305b;},'uVHUe':'Claude\x20OAu'+'th\x20token\x20r'+_0x57f2e7(_0x3ba95a._0x5b41aa,_0x3ba95a._0x1a0198,_0x3ba95a._0x22dea9,0x37a)+_0x57f2e7(0x318,_0x3ba95a._0x4cc179,0x2f7,0x34d)+'y','AyWiF':function(_0x11d246,_0x6010f5){return _0x11d246!==_0x6010f5;},'WvKsJ':_0x2fe1e(0xec,_0x3ba95a._0xaa0c4f,0x8c,0x54),'xWqHE':_0x57f2e7(_0x3ba95a._0x14dbda,0x2b8,_0x3ba95a._0xefc09c,0x301),'EykRp':_0x2fe1e(_0x3ba95a._0x57054c,0x9a,0xa9,0x68)+_0x57f2e7(0x2dc,0x2be,0x375,0x31f)+'failed'},{force:force=![],bufferMinutes:bufferMinutes=0x116*0x7+0x7*-0x1df+0x584}=_0x444f1e;function _0x2fe1e(_0x2b1a9e,_0x28a197,_0x1919d7,_0xcd2b2a){return _0x41287b(_0x2b1a9e-_0x485385._0x1810ab,_0x28a197-0x1af,_0x28a197,_0x1919d7-0x219);}const _0x52ee66=Date[_0x57f2e7(0x2e0,_0x3ba95a._0x17216f,0x2f0,_0x3ba95a._0x1c5cfa)]();function _0x57f2e7(_0x37d95e,_0x3592a6,_0x157456,_0x2c6698){return _0x1a71af(_0x37d95e-0xa5,_0x2c6698-_0x2d5cb3._0x15d3ae,_0x3592a6,_0x2c6698-_0x2d5cb3._0xcc88b2);}try{const _0x3f8e58=await readClaudeCredentials();if(!_0x3f8e58){if(_0x44fad7['bWaKj']('rPkFl',_0x57f2e7(_0x3ba95a._0x66e1ad,0x3c6,0x346,_0x3ba95a._0xff2837))){const _0x20eede={};return _0x20eede['success']=![],_0x20eede[_0x2fe1e(_0x3ba95a._0x59ba3d,_0x3ba95a._0x2bf45f,_0x3ba95a._0x3b1779,_0x3ba95a._0x235449)]=_0x57f2e7(_0x3ba95a._0x5de862,0x3b1,_0x3ba95a._0x18f62a,_0x3ba95a._0x43edbc)+'ials',_0x20eede[_0x2fe1e(0x105,0x13b,0xe7,0x8d)]=_0x44fad7['FTtaP'],_0x20eede;}else{const _0x381c1a={};return _0x381c1a[_0x2fe1e(0xe3,_0x3ba95a._0x29a748,_0x3ba95a._0x469793,_0x3ba95a._0x49f8f9)]=![],_0x381c1a[_0x57f2e7(0x2dd,0x333,0x365,0x31c)]=_0x44fad7[_0x2fe1e(_0x3ba95a._0x1ca1d1,0x52,_0x3ba95a._0xc5717c,_0x3ba95a._0x44affe)],_0x381c1a[_0x2fe1e(0x8d,_0x3ba95a._0x1c2eee,0xe7,_0x3ba95a._0xa5bfab)]=_0x57f2e7(0x32f,_0x3ba95a._0xaf0b2,_0x3ba95a._0x53ae09,_0x3ba95a._0x2392f0)+_0x2fe1e(0x126,0x15c,0x109,0x153)+_0x57f2e7(_0x3ba95a._0x1d4fec,0x367,_0x3ba95a._0x34f53f,_0x3ba95a._0x1a0c85)+_0x57f2e7(_0x3ba95a._0x1f6fcd,_0x3ba95a._0x11a598,0x327,_0x3ba95a._0x4f3236),_0x381c1a;}}const _0x351de3=_0x44fad7['sFxpJ'](isTokenExpired,_0x3f8e58['expiresAt'],bufferMinutes);if(_0x44fad7[_0x2fe1e(_0x3ba95a._0x554f04,_0x3ba95a._0x35e7ed,0xf1,0x11b)](!_0x351de3,!force)){const _0x1f6741=_0x44fad7[_0x2fe1e(_0x3ba95a._0x230f0f,_0x3ba95a._0x219c7a,0x117,0x169)](_0x3f8e58[_0x2fe1e(0x131,_0x3ba95a._0x1141f7,_0x3ba95a._0x53d642,0xe3)],Date[_0x2fe1e(_0x3ba95a._0x5d47d2,0x6c,0x8a,0xdf)]()),_0x3948b8=Math[_0x2fe1e(0x11e,_0x3ba95a._0x44a77b,_0x3ba95a._0x1e3ce6,_0x3ba95a._0x11f547)](_0x44fad7[_0x57f2e7(0x30d,_0x3ba95a._0x17a9bc,0x309,0x353)](_0x1f6741,_0x44fad7[_0x57f2e7(_0x3ba95a._0xdfa761,0x356,_0x3ba95a._0x31e6a6,_0x3ba95a._0x144d27)](-0x107d+-0xa4c+0x369*0x9,0x2439+-0xa1*0x1f+-0x107e)*(0x1a52+0xe2b+-0xf*0x2af))),_0x24d534=Math[_0x57f2e7(0x3a2,0x34f,_0x3ba95a._0x2c7cb1,0x39e)](_0x44fad7['tjDhO'](_0x1f6741%_0x44fad7[_0x2fe1e(_0x3ba95a._0x4f0a50,_0x3ba95a._0x28463a,0xb9,0xe0)](_0x44fad7['YPUNh'](0x59*-0x21+-0x21dd+0x313e,-0x1c*0x149+-0x16*0x2e+0x282c),-0xa*0xeb+0x4a2*0x7+-0x1704),_0x44fad7[_0x2fe1e(_0x3ba95a._0x58bd22,_0x3ba95a._0x3fc896,0xb9,_0x3ba95a._0x215b39)](-0x19a1+0x1980+0x409,0x2077+-0x1*-0x44b+-0x176*0x19))),_0x2fef36={};return _0x2fef36[_0x57f2e7(0x314,0x373,0x346,_0x3ba95a._0x5b41aa)]=!![],_0x2fef36['reason']=_0x44fad7[_0x2fe1e(0xec,_0x3ba95a._0x3363e1,0xb4,0x96)],_0x2fef36[_0x2fe1e(0x95,0x138,0xe7,_0x3ba95a._0x4b0fa7)]=_0x2fe1e(0xd2,0x73,0xbe,_0x3ba95a._0xa7ab2)+_0x57f2e7(0x2e8,_0x3ba95a._0x1fc7a7,0x33f,_0x3ba95a._0x4b7f4a)+'r\x20'+_0x3948b8+'h\x20'+_0x24d534+'m',_0x2fef36['expiresAt']=_0x3f8e58[_0x2fe1e(_0x3ba95a._0x3e9a30,0x162,0x107,0x140)],_0x2fef36;}logger[_0x57f2e7(0x3ba,0x3a3,_0x3ba95a._0x4a0c9c,_0x3ba95a._0x271390)](_0x44fad7[_0x2fe1e(0xf7,0x154,0x140,_0x3ba95a._0x36776d)],{'expired':_0x351de3,'forced':force,'expiresAt':new Date(_0x3f8e58[_0x57f2e7(0x3d3,_0x3ba95a._0x4d18f3,_0x3ba95a._0x307e70,0x386)])[_0x2fe1e(0x94,0xc2,_0x3ba95a._0x26c088,0x11b)+'g']()});const _0x27b409=await _0x44fad7[_0x2fe1e(_0x3ba95a._0x40ece7,0x9f,_0x3ba95a._0x3e8388,0xfa)](refreshOAuthToken,_0x3f8e58['refreshTok'+'en']);if(!_0x27b409){const _0x656327={};return _0x656327['success']=![],_0x656327[_0x57f2e7(_0x3ba95a._0x538d81,0x306,0x32b,_0x3ba95a._0x595cb8)]=_0x44fad7['iZUVC'],_0x656327[_0x2fe1e(_0x3ba95a._0x20475d,_0x3ba95a._0x3fc896,0xe7,_0x3ba95a._0x3f4ca1)]=_0x2fe1e(_0x3ba95a._0x242ba9,_0x3ba95a._0x3eb29c,0xd7,_0x3ba95a._0x3fe819)+_0x2fe1e(0x68,0x8d,0xc7,0x8c)+_0x57f2e7(0x34f,_0x3ba95a._0x223195,_0x3ba95a._0x18dcf0,_0x3ba95a._0x894f89)+'iled.\x20May\x20'+_0x2fe1e(0x174,0x134,_0x3ba95a._0xe89bef,0x12d)+_0x2fe1e(_0x3ba95a._0x28b985,0xe4,_0x3ba95a._0xbfb661,0x123)+'.',_0x656327;}const _0x47be87=await _0x44fad7[_0x2fe1e(0x116,_0x3ba95a._0xf7fdb0,0xb5,_0x3ba95a._0x3381ea)](writeClaudeCredentials,_0x27b409);if(!_0x47be87){if(_0x44fad7[_0x2fe1e(_0x3ba95a._0x3afca5,0xfd,0xa2,_0x3ba95a._0x12642b)](_0x44fad7['NATyB'],_0x44fad7[_0x2fe1e(0xac,0x105,_0x3ba95a._0x4d5131,_0x3ba95a._0x3b1779)])){const _0x47c573={};return _0x47c573['success']=![],_0x47c573[_0x57f2e7(0x34a,0x33f,_0x3ba95a._0x1bbf86,0x31c)]=_0x44fad7[_0x2fe1e(0x84,_0x3ba95a._0x513c01,_0x3ba95a._0x47f7f0,_0x3ba95a._0x7b7321)],_0x47c573['message']='Failed\x20to\x20'+_0x2fe1e(_0x3ba95a._0x56f873,0x148,0x109,_0x3ba95a._0x522818)+'redentials'+_0x57f2e7(_0x3ba95a._0x7dbc7,0x37a,_0x3ba95a._0x144d27,0x32b),_0x47c573;}else{const _0x1ce6d0={};return _0x1ce6d0['path']=_0x458c94,_0x44f09d[_0x57f2e7(_0x3ba95a._0x1af8d4,_0x3ba95a._0x5c2f8c,_0x3ba95a._0x3c7335,0x31e)](_0x44fad7[_0x57f2e7(0x3b0,_0x3ba95a._0x389133,0x322,0x377)],_0x1ce6d0),null;}}const _0x50b995=_0x44fad7['HkLqe'](Date[_0x2fe1e(0x4c,0x2b,_0x3ba95a._0xe08fda,0xc3)](),_0x52ee66),_0x4b461a=_0x44fad7[_0x2fe1e(0x12b,0xf3,_0x3ba95a._0x20f260,_0x3ba95a._0xf7fdb0)](_0x27b409[_0x2fe1e(0x127,0xd3,0x107,_0x3ba95a._0x245603)],Date[_0x57f2e7(0x310,0x2da,_0x3ba95a._0x1e01c2,0x309)]()),_0x361c35=Math[_0x57f2e7(_0x3ba95a._0x2c7cb1,0x3f5,_0x3ba95a._0x444980,_0x3ba95a._0x26d8b5)](_0x44fad7[_0x2fe1e(0x84,0x125,0xd8,0x120)](_0x4b461a,_0x44fad7[_0x57f2e7(_0x3ba95a._0x2032bb,_0x3ba95a._0x20d197,_0x3ba95a._0x350832,0x327)](_0x44fad7['tLGVQ'](0xd73+0x9*-0x432+0x1c37,0x871+-0x287+-0x5ae),0x5c9+-0x15be+0x1031)));logger[_0x2fe1e(_0x3ba95a._0x20360e,_0x3ba95a._0x2ccabe,0x111,0x13e)](_0x44fad7['uVHUe'],{'duration':_0x50b995+'ms','validFor':_0x361c35+_0x57f2e7(0x367,0x33a,0x396,0x375),'newExpiresAt':new Date(_0x27b409[_0x2fe1e(0x131,0xdd,0x107,0xc5)])[_0x57f2e7(0x381,0x2ea,_0x3ba95a._0x1c5cfa,_0x3ba95a._0x52951f)+'g']()});const _0x1dbd7b={};return _0x1dbd7b[_0x57f2e7(0x3b0,0x3d0,0x332,_0x3ba95a._0x5b41aa)]=!![],_0x1dbd7b[_0x2fe1e(_0x3ba95a._0x237371,0x60,0x9d,0xbf)]=_0x2fe1e(_0x3ba95a._0x3fd4e7,0xce,0x12e,0x14b),_0x1dbd7b[_0x57f2e7(_0x3ba95a._0x260307,0x3b0,0x387,_0x3ba95a._0x4f7777)]=_0x57f2e7(0x2e7,0x2cb,0x33d,0x328)+'eshed\x20succ'+_0x57f2e7(_0x3ba95a._0xdec3b3,0x2b7,_0x3ba95a._0x55e50e,_0x3ba95a._0x1d4fec)+'Valid\x20for\x20'+_0x361c35+'\x20hours',_0x1dbd7b[_0x57f2e7(_0x3ba95a._0xfc1c06,_0x3ba95a._0x3e12e4,_0x3ba95a._0x58e433,_0x3ba95a._0xde6f7e)]=_0x27b409[_0x2fe1e(0x10c,0x10c,_0x3ba95a._0x437547,_0x3ba95a._0x4241f5)],_0x1dbd7b[_0x57f2e7(_0x3ba95a._0x578102,0x38e,_0x3ba95a._0x2eee03,0x35f)]=_0x50b995,_0x1dbd7b;}catch(_0x418385){if(_0x44fad7[_0x57f2e7(0x324,_0x3ba95a._0x24535c,_0x3ba95a._0x108f86,_0x3ba95a._0x489a6f)](_0x44fad7['WvKsJ'],_0x44fad7['xWqHE'])){const _0x56066b={};_0x56066b[_0x57f2e7(_0x3ba95a._0x4a1eaf,0x3c8,_0x3ba95a._0x40fa21,0x3a6)]=_0x418385['message'],_0x56066b[_0x2fe1e(_0x3ba95a._0x5c2196,0x70,0x9e,0x62)]=_0x418385[_0x2fe1e(_0x3ba95a._0x19f2fb,_0x3ba95a._0x3fd4e7,_0x3ba95a._0x1dbcae,_0x3ba95a._0x5debc6)],logger[_0x57f2e7(0x373,_0x3ba95a._0x484eaf,0x36c,_0x3ba95a._0x3b9780)](_0x44fad7[_0x2fe1e(0xdf,0x112,_0x3ba95a._0x39d7f6,0x15f)],_0x56066b);const _0x5ccc6d={};return _0x5ccc6d[_0x57f2e7(_0x3ba95a._0x4de23a,0x347,0x39e,0x371)]=![],_0x5ccc6d[_0x57f2e7(0x315,_0x3ba95a._0x328714,_0x3ba95a._0x469ff9,0x31c)]=_0x2fe1e(0x177,_0x3ba95a._0x160999,0x127,0x171),_0x5ccc6d[_0x2fe1e(_0x3ba95a._0xcc396b,_0x3ba95a._0xaa63fd,_0x3ba95a._0xcb0830,_0x3ba95a._0x47127c)]=_0x2fe1e(_0x3ba95a._0x255ba2,0x14b,_0x3ba95a._0xcc396b,0x124)+_0x57f2e7(_0x3ba95a._0x15d19d,_0x3ba95a._0x1a0c85,0x3a8,0x36b)+_0x418385[_0x57f2e7(_0x3ba95a._0x350832,0x3ad,0x324,0x366)],_0x5ccc6d;}else{const _0x11eb11={};return _0x11eb11[_0x57f2e7(0x3a8,_0x3ba95a._0x787f09,0x367,_0x3ba95a._0x246fee)]=_0x486382['message'],_0x11eb11[_0x2fe1e(_0x3ba95a._0x27b588,_0x3ba95a._0x140591,0x130,0x141)]=_0x231201,_0x35b423[_0x2fe1e(_0x3ba95a._0x133e0c,0x144,0x127,0x107)](_0x44fad7['xnJNH'],_0x11eb11),null;}}}
|