apt-mcp-agent-setup 3.5.30 → 3.5.31
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 +1 -1
- package/bin/cli.js +1 -1
- package/build-input.json +25 -18
- package/bundle/NOTICES.md +0 -0
- package/bundle/core.enc +0 -0
- package/bundle/mcp-rules.enc +0 -0
- package/bundle/skills-aso.enc +0 -0
- package/bundle/skills-ba.enc +0 -0
- package/bundle/skills-base.enc +0 -0
- package/bundle/skills-be.enc +0 -0
- package/bundle/skills-design.enc +0 -0
- package/bundle/skills-fe.enc +0 -0
- package/bundle/skills-marketing.enc +0 -0
- package/bundle/skills-mobile.enc +0 -0
- package/bundle/skills-pm.enc +0 -0
- package/integrity-manifest.json +161 -159
- package/package.json +1 -1
- package/src/backends/browser-tools.js +1 -1
- package/src/backends/index-cache-authority.js +1 -1
- package/src/backends/index-command.js +1 -1
- package/src/backends/index-maintenance.js +1 -1
- package/src/backends/index-store.js +1 -1
- package/src/backends/profiles.js +1 -1
- package/src/backends/source-discovery.js +1 -1
- package/src/core/admission-fence.js +1 -1
- package/src/core/aso-import.js +1 -1
- package/src/core/backend-lease-recovery.js +1 -1
- package/src/core/boot-evidence.js +1 -1
- package/src/core/caller-context.js +1 -1
- package/src/core/catalog.js +1 -1
- package/src/core/claude-caller-authority.js +1 -1
- package/src/core/claude-invocation.js +1 -1
- package/src/core/claude-launch-recovery.js +1 -1
- package/src/core/claude-native.js +1 -1
- package/src/core/claude-plan.js +1 -1
- package/src/core/claude-transcript-scan.js +1 -1
- package/src/core/claude-worker-transcript.js +1 -1
- package/src/core/codex-host-metadata.js +1 -1
- package/src/core/codex-transcript-receipt.js +1 -1
- package/src/core/connection-inspector.js +1 -1
- package/src/core/content-hash-cache.js +1 -0
- package/src/core/context-metrics.js +1 -1
- package/src/core/doctor.js +1 -1
- package/src/core/draining-completion.js +1 -1
- package/src/core/execution.js +1 -1
- package/src/core/git-context.js +1 -1
- package/src/core/hook-bridge.js +1 -1
- package/src/core/hook-diagnostics.js +1 -1
- package/src/core/hook-lease.js +1 -1
- package/src/core/host-adapters.js +1 -1
- package/src/core/interrupted-boot-transport-proof.js +1 -1
- package/src/core/interrupted-natural-closure-proof.js +1 -1
- package/src/core/interrupted-operation-audit.js +1 -1
- package/src/core/interrupted-transport-proof.js +1 -1
- package/src/core/ipc-envelope.js +1 -1
- package/src/core/legacy-retirement-proof.js +1 -1
- package/src/core/memory-scope.js +1 -1
- package/src/core/memory-store.js +1 -1
- package/src/core/model-inventory.js +1 -1
- package/src/core/model-routing.js +1 -1
- package/src/core/native-dispatch.js +1 -1
- package/src/core/native-receipt.js +1 -1
- package/src/core/native-retirement.js +1 -1
- package/src/core/node-version.js +1 -1
- package/src/core/npm-cli.js +1 -1
- package/src/core/owned-command-child.js +1 -1
- package/src/core/owned-command.js +1 -1
- package/src/core/owned-lock.js +1 -1
- package/src/core/owned-process.js +1 -1
- package/src/core/pipeline-journal.js +1 -1
- package/src/core/presentations.js +1 -1
- package/src/core/quality-artifacts.js +1 -1
- package/src/core/quality.js +1 -1
- package/src/core/read-command.js +1 -1
- package/src/core/readonly-skill.js +1 -1
- package/src/core/recovery-archive.js +1 -1
- package/src/core/recovery-proof.js +1 -1
- package/src/core/resource-transaction.js +1 -1
- package/src/core/run-checkpoint.js +1 -1
- package/src/core/run-compatibility.js +1 -1
- package/src/core/run-state-codec.js +1 -1
- package/src/core/runtime-authority.js +1 -1
- package/src/core/runtime-info.js +1 -1
- package/src/core/runtime-ownership.js +1 -1
- package/src/core/session.js +1 -1
- package/src/core/shared-checkout.js +1 -0
- package/src/core/skill-companions.js +1 -1
- package/src/core/skill-names.js +1 -1
- package/src/core/storage-retry.js +1 -1
- package/src/core/tool-contracts.js +1 -1
- package/src/core/update-control.js +1 -1
- package/src/core/upgrade-runs.js +1 -1
- package/src/core/upgrade-stop.js +1 -1
- package/src/core/windows-job.js +1 -1
- package/src/core/workflow-policy.js +1 -1
- package/src/core/workspace-generation.js +1 -1
- package/src/core/workspace-path.js +1 -1
- package/src/installer/bounded-command.js +1 -1
- package/src/installer/candidate-preflight.js +1 -1
- package/src/installer/claude-commands.js +1 -1
- package/src/installer/connection-activation.js +1 -1
- package/src/installer/connection-supervisor.js +1 -1
- package/src/installer/deployment-draft.js +1 -1
- package/src/installer/gateway-context.js +1 -1
- package/src/installer/gateway-migration.js +1 -1
- package/src/installer/gateway-runtime.js +1 -1
- package/src/installer/global-setup.js +1 -1
- package/src/installer/hook-context-client.js +1 -1
- package/src/installer/host-hooks.js +1 -1
- package/src/installer/index-interruption-recovery.js +1 -1
- package/src/installer/index-recovery.js +1 -1
- package/src/installer/install-intent.js +1 -1
- package/src/installer/interrupted-operation-recovery.js +1 -1
- package/src/installer/legacy-prepared-plan.js +1 -1
- package/src/installer/legacy-registration.js +1 -1
- package/src/installer/managed-config.js +1 -1
- package/src/installer/migration-scope.js +1 -1
- package/src/installer/platform-config.js +1 -1
- package/src/installer/prerequisites.js +1 -1
- package/src/installer/presentations.js +1 -1
- package/src/installer/project-outcome.js +1 -1
- package/src/installer/project-setup.js +1 -1
- package/src/installer/recovery-backup-retention.js +1 -1
- package/src/installer/registration-closure.js +1 -1
- package/src/installer/registration-plan.js +1 -1
- package/src/installer/registration-receipt.js +1 -1
- package/src/installer/registrations.js +1 -1
- package/src/installer/runtime-activation.js +1 -1
- package/src/installer/runtime-child.js +1 -1
- package/src/installer/runtime-cleanup.js +1 -1
- package/src/installer/runtime-lock.js +1 -1
- package/src/installer/runtime-store.js +1 -1
- package/src/installer/runtime-supervisor.js +1 -1
- package/src/installer/setup-wizard.js +1 -1
- package/src/installer/stale-run-release.js +1 -1
- package/src/installer/update-addons.js +1 -1
- package/src/installer/update-cleanup.js +1 -1
- package/src/installer/update-executor.js +1 -1
- package/src/installer/update-history.js +1 -1
- package/src/installer/update-registration.js +1 -1
- package/src/installer/update-report.js +1 -1
- package/src/installer/update-request.js +1 -1
- package/src/installer/update-scope.js +1 -1
- package/src/installer/workspace-registry.js +1 -1
- package/src/installer/workspace-transaction.js +1 -1
- package/src/installer/workspace-update.js +1 -1
- package/src/license/crypto.js +1 -1
- package/src/license/fingerprint.js +1 -1
- package/src/license/terms.js +1 -1
- package/src/license/verify.js +1 -1
- package/src/presets/index.js +1 -1
- package/src/proxy/backends.js +1 -1
- package/src/proxy/browser-sessions.js +1 -1
- package/src/proxy/core-tools.js +1 -1
- package/src/proxy/pipeline.js +1 -1
- package/src/proxy/public-catalog.js +1 -1
- package/src/proxy/router.config.js +1 -1
- package/src/proxy/router.js +1 -1
- package/src/proxy/server.js +1 -1
- package/src/proxy/workspace-gateway.js +1 -1
- package/src/templates/mcp-tools.md +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function _0x585c(){const _0x547645=['ChjVy2vZC1n0yxj0zwrbDa','y2fUzgLKyxrLlxjLy292zxj5','Aw5PDgLHBgL6zunHBMrPzgf0zq','CMvXDwLYzxnqCM9JzxnZrgLZCgf0y2G','BwfJ','y2XVC3vYzvjLz2LZDhjHDgLVBNm','zxHWBg9Yzv9JB2rL','Aw5PDgLHBgL6zq','CMvTB3zLrxzLBNrmAxn0zw5LCG','CM91DgvFCMvXDwvZDa','C2XPy2u','BMfTzq','CMvXDwvZDenOAwXK','CMvXDwvZDfjWyW','zNjVEMvU','zxHLy1bHDgG','C2vZC2LVBL9IB290C3rYyxa','C2HHmJu2','Ag9ZDc1LB2y','C3rYAw5NAwz5','C2vJCMv0','q0HjterFt1DorvjtseLqx1vos05pv04','zxHLy3v0B3juAw1LCG','Cgf1C2u','vfjbtLnjveLptL9jtL9quK9huKvtuW','ywn0Aw9U','qvbux1jfq09otKvdvf9srvfvsvjfrdOGCNvUDgLTzsbJAgLSzcbZDg9WCgvKoYbPBML0AwfSAxPLigeGBMv3ie1ducbZzxnZAw9U','z2f0zxDHEujPBMrPBMC','CgfYC2u','y29UBMvJDgLVBNm','lI4Vy29Yzs9OB29RlwXLyxnL','DgLJA2v0','C2H1DgrVD25by2TUB3DSzwrNzwq','y29UDhjVBenHCgfIAwXPDgLLCW','y2XVC2vtEw5J','BM9KztPZDhjPBMDFzgvJB2rLCG','yM9VDfjLAMvJDa','lI4Vy29Yzs90CMfUC3bVCNqTy2XVC2uTy29UDhjHy3qUANnVBG','CMvIAw5Kv29YA3nWywnL','lMPZB24','C3rHCNrZv2L0Aa','yM9VDeLKzw50Axr5','lMfNzw50CW','zxbVy2G','yM9VDc1LCNjVCG','yxnZzxj0q3vYCMvUDa','lMTLEq','mJq3odG0mev1wwzKzG','q2fUzgLKyxrLig9WzxjHDgLVBIbOyxmGysbZDgfSzsb3B3jRC3bHy2uGzxbVy2G','zw5K','lMfNzw50CY9YDw50Aw1Ll2nVBM5Ly3rPB25Z','y2HPBgrqAwq','Dg9VBhm','odeYotGWy0vAwvfX','Aw5WDxrdAgfPBG','C2fMzs1IB3vUzgfYEq','zxzLCNK','BM9KztPJAgLSzf9WCM9JzxnZ','CMvZB3vYy2veAwDLC3q','C2v0lwDLBMvYyxrPB24','y2HPBgrfBNzPCM9UBwvUDa','zMLSDgvY','C3rHCNq','ywn0AxzHDgu','CNvUDgLTzq','Dg9ju09tDhjPBMC','B3v0Chv0qNvMzMvY','AxnszwfKt25SEvrVB2W','CMvJB25JAwXLlxzLCMLMAwnHDgLVBG','C3vWzxj2AxnVCLbYB2nLC3ntDgfYDa','DhjHBNnPDgLVBG','D2f0y2Hqzw5KAw5NrxHLy3v0B3i','B3bLCMf0Aw9UC0vUywjSzwq','uKvrvuvtvf9jrf9dt05gteLdva','CMvJzwLWDfbHDgG','y2f0y2G','BM9KztP1CMW','yxnZAwDU','zMXHzW','m0HLrLbIvG','zgvSzxrL','q0foreLeqvrfx05pvf9srufewq','q0HjterFq09ovfjptf9usu1ft1vu','zMLUzf9JywXSzxjZ','BM9KztPWyxrO','Bwf4rhvYyxrPB25nCW','C3rKB3v0','zgf0yq','y2HHBMDLzef0','C3rVChbLza','CMvZB2X2zq','q0HjterFvu5bvKfjtefcteu','ywrKrxzLBNrmAxn0zw5LCG','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','zxjYB3i','DxnLze5VBMnLCW','y2fUzgLKyxrL','Bwv0Ag9K','q2fUzgLKyxrLihjLBgvHC2uGzg9LCYbUB3qGBwf0y2GGDhjHBNnHy3rPB24','l3bYB2mVC3LZl2TLCM5LBc9Yyw5KB20VyM9VDf9Pza','Cgf0Aa','C3rVCc1MB3iTDxbKyxrL','tK9erv9pufrjt05t','yM91BMrqAxbLBgLUzq','D2LUmZi','lNnLy3jLDhm','y29TBwL0DgvKvhjHBNnHy3rPB24','Dw5SAw5Ru3LUyW','ywjVCNq','C3rHCNr1CefSBg93zwq','y2XVC2LUzW','yxb0lxn1CgvYDMLZB3iT','B3bLCMf0Aw9UCY1LBMfIBgvK','CMvSzwfZzunVBw1PDhrLzezLBMnL','q29TBwL0DgvKigDLBMvYyxrPB24GCMvXDwLYzxmGCM9SBcbMB3j3yxjK','B2zM','uMvNAxn0zxjLzcbVD25LCIbZAhv0zg93BIb3yxmGBM90ignVBMzPCM1Lza','C2vYDMLUzY1JB21TAxr0zwqTD2L0Ac1Wzw5KAw5NlxvWzgf0zq','zhjHAw5PBMC','D3jPDgu','B25Jzq','ufjpq0vtu19uuKvfx1nut1bFvu5dt05gsvjnruq6ihbYAw9Yihj1BNrPBwuGB3DUzxjZAgLWihjLCxvPCMvZihjLy292zxj5','B3DUzxjZAgLWlxvUA25VD24','BgLUDxG','AgfUzhnOywTLq29TCgXLDgu','D3jPDgvgAwXLu3LUyW','y29UBMvJDgLUzW','y2XVC3vYzu1HyW','DhjPBq','BwLU','CMvHzhK','lNnVy2S','C2v0','zw5HyMXLlw93BMvKlw9WzxjHDgLVBNm','AxnZDwuTy29UDgv4Da','DgvZDa','y2XVC2vK','mZGYmJi2yuXVzgDP','y2XVC3vYzunVBNrYywn0vMvYC2LVBG','D29YA3nWywnLrNjVBuLUAxrPywXPEMu','q29TBwL0DgvKihj1BNrPBwuGAwrLBNrPDhKGzgLMzMvYCW','CMvJzwL2zunOAwXK','CMvZDg9Yzwq','C2v0vgLTzw91Da','y2HPBgrdBg9Zzwq','BwvZC2fNzq','CMvJywXS','qunusvzbveLptL9ot1rFufjfuefsruq','ywrTAxnZAw9Uq2XVC2vK','t1DorvjtseLqx1vos05pv04','Aw5WDxrcDwzMzxi','ChjLCgfYzwq','BwfW','DhjHBNnWB3j0','yxb0t3DUzxjZAgLW','BgvUz3rO','qvbux1vqrefurv9qru5esu5hoIbUzxCGy29UBMvJDgLVBIbPCYb3ywL0Aw5NigzVCIb3B3jRC3bHy2uGCMvJB3zLCNK','zMLSztO','y2fUzgLKyxrLlxjLywr5','q0HjterFuLbdx1rjtuvpvvq','u1Djvenix0zbsuXfra','C2TPBgXFBg9Hza','q0HjterFsu5jveLbteLArv9gquLmruq','BM93','CgLWzq','yMfJA2vUza','nJnRqwnbveG','B3bLBG','C2vUza','ugfYC2uGzxjYB3i','DMfSDwvZ','zw5KCg9PBNq','z3jHy2vnCW','DhjHBNnHy3rPB25jza','yNL0zuXLBMD0Aa','Dg9tDhjPBMC','y29UBMvJDgvK','y29UDhjVBa','yMXVy2TLCNm','yM9VDfjLC29SDMu','ChjLDMLVDxmTCMvZDg9Yzwq','uNvUDgLTzsbJAgLSzcbJBg9Zzwq','CNvUDgLTzvjVB3q','ChjLDMLVDxm','yxb0lwnVBNrYB2WT','mtC2nZKWmezUqMz3uq','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','C3rHDhvZ','CNvUDgLTzs1ZzwXMlw9IC2vYDMvK','CMvHzezPBgvtEw5J','C3rVCfbYB21PC2u','y3DK','qvbux1vqrefurv9qru5esu5hoIb3B3jRC3bHy2uGywrTAxnZAw9UigLZignSB3nLzcbMB3iGCNvUDgLTzsbZD2L0y2G','B3v0Chv0rgvJB2rLCG','qvbux0nptK5fq1rjt05Fsuq','D29YA3nWywnLlxjVBgXIywnR','ChjVy2vZC1n0yxj0','CMvMCMvZAeLUDMvUDg9YEq','AgfUzgXLsg9ZDe1LC3nHz2u','ChjLCgfYzs1Jyw5KAwrHDgu','C2vJCMv0ugf0Aa','CMvJB25Uzwn0lxjLCxvPCMvK','lI4Vy29Yzs9YDw50Aw1Llwf1DgHVCML0Eq','u3vWzxj2AxnVCIbYzxf1zxn0igzHAwXLza','CgfYyw1Z','C2L6zq','yMXVy2TLCG','mJq0mde4q29Au1DH','Aw5JBhvKzxm','mZG1nduWogLPs3PQtq','BwvTyMvYCW','D2fPDgLUzY1JyxrHBg9N','z2v0','DxrMoa','DgHLBG','lI91CgrHDguTzxHLy3v0B3i','q0fmtevsx0nptLrfwfrFvu5bvKfjtefcteu','CMvXDwvZDeLK','zgvZDhjVEq','ywn0AxzHDgLVBG','y2fUzgLKyxrLlwjVB3qTzMfPBgvK','CMvZDg9Yzs1WCMv2Aw91CW','q29UBMvJDgLVBLn1CgvYDMLZB3i','Dg9VBa','lI9YzwDPC3rYyxrPB24Ty2XVC3vYzq','C2LNBMfS','zxHWBgLJAxrxB3jRC3bHy2u','C2H1DgrVD25fDMLKzw5Jzq','BwTKAxjtEw5J','y2fUzgLKyxrLugf0Aa','BgLZDgvU','CNvUDgLTzs1JAgLSzc1JBg9Zzwq','Aw52B2nHDgLVBKLK','DxbKyxrLqMXVy2TLCG','CgvUzgLUzW','CMvHC29U','CMvMCMvZAfn0yxj0DxbtDgf0zq','ufjpq0vtu19uuKvfx1nut1bFvu5dt05gsvjnruq','se9ps19erufeteLorv9fwenfrurfra','CgLWzwXPBMvFC3rHDhvZ','zgLZy29UBMvJDa','CMvJB3jK','q0foreLeqvrfx1rvueXfx01ju01bveni','Dg9VBhmVy2fSBa','AM9PBG','tunqx0rju0npvKvsx0jbq0TftKrt','DgfYz2v0vMvYC2LVBG','zgLNzxn0','r0furvDbwv9csu5esu5hx1jfuvvjuKve','q0HjterFu1rpuf9vtKnptKzjuK1fra','C2H1DgrVD24','Dw5Yzwy','CMvHzf9RBM93BgvKz2u','C3rKAw4','q2fUzgLKyxrLihjLC291CMnLCYbVCIbJyxrHBg9NigrVig5VDcbTyxrJAcb0CMfUC2fJDgLVBG','zMLUzgLUzY1YzxnVBhv0Aw9U','q0HjterFrvHjvf9usu1ft1vu','DxbKyxrLlxrYyw5Zywn0Aw9UlMPZB24','CMvHBhbHDgHtEw5J','Aw5PDgLHBgL6zwq','zMLSzvvstfrVugf0Aa','ywn0AxzL','uhjLCgfYzwqGy2fUzgLKyxrLihr1CgXLignOyw5Nzwq','lI9YDw50Aw1Llxn0B3jL','D29YA3nWywnLx2XPC3q','CM9VDfvYAq','zNn5BMntEw5J','CMvJDxjZAxzL','mI4W','C3rVChbLzfrYyw5Zywn0Aw9U','C3rVCenOAwXK','AwrLBNrPDhK','D29YA3nWywnL','q0foreLeqvrfx0nptLrst0XFrKfjteve','Dg1WzgLY','CMvZDwX0','uKvtt1vsq0vFuK9mtejbq0TFvu5dt05gsvjnruq','Dw5HDMfPBgfIBgu','z2vUzxjHDgLVBG','BM9Uy2u','A2LUza','q0HjterFq0Xpu0ve','ywXSB3DLza','y3jLyxrLsgfZAa','D2fPDgLUzW','y29UC3vTzs1YzxbVCNq','y29UDhjVBenHBMrPzgf0zq','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','ChvIBgLJs2v5','zxHWB3j0CW','y2fUy2vSuMvXDwvZDeLK','uhjLDMLVDxmGCMvZB3vYy2vZihDLCMuGBM90ihjLC3rVCMvK','lNrYyw5Zywn0Aw9UlMPZB24','yM9VDgLUzW','zgLYBMfTzq','r0vorvjbveLptL9vtKnptKzjuK1fra','uhjVy2vZCYbKAxnWyxrJAcbHy3rPDMf0Aw9UihDHCYbUB3qGy29UzMLYBwvK','yxb0lw1JCc0','CMvJB3zLCKnHBMrPzgf0zq','uNvUDgLTzsbYzwfKAw5LC3mGDhvWBguGzg9LCYbUB3qGBwf0y2GGy2fUzgLKyxrL','Ag9ZDc1LCNjVCG','r0vorvjbveLptL9srunpvKvswv9nsvnnqvrdsa','Dg9mB3DLCKnHC2u','mtiWotqYEK9sEg1Q','uhjLDMLVDxmGCNvUDgLTzsbTDxn0ihn0B3aGyMvMB3jLihjLC291CMnLCYbJAgfUz2u','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','Dg9VBenHDgfSB2DiyxnO','qurnsvntsu9ox0nptKzmsunu','y2vPBa','CMvSzwfZzq','zhjHAw4','Bwf4','Bw9KzwXFBgLZDa','y3jLyxrLsg1HyW','C3rVCenVzgu','CMvQzwn0','Aw5WDxq','AxntywzLsw50zwDLCG','y2HPBgq','y29UBMvJDgLVBKLK','DxbKyxrL','uNvUDgLTzsbJAgLSzcbPCYb1BMf2ywLSywjSzq','D29YA3nWywnLlxvWzgf0zq','CMvJzwL2zunVBNrYB2W','y29TBwL0r2vUzxjHDgLVBG','DgfYz2v0rgLNzxn0','Dg9VBhmVBgLZDa','CM9VDfbHDgG','ChjLCgfYzq','lI4Vy29Yzs9VD25Lzc1SB2nR','BgLZDf9JB2rLx2zPBgvZ','uMvXDwvZDcbjrcbPCYbZDgLSBcbPBIbMBgLNAhq','y2f0ywXVz0HHC2G','Dxb0Aw1L','C3rHCNr1Cfn0yxrL','q0HjterFuKvbreLorvntx01ju01bveni','lNrTCa','ANnVBNjWyW','C3vWzxj2AxnVCLbPza','AgfZ','B3bLCMf0Aw9Uqwn0AxzHDgLVBG','y29Kzq','Aw5KzxHpzG','Ag9VA0XLyxnL','CMvJzwL2zuHVC3q','zw5HyMXLt3DUzwrpCgvYyxrPB25Z','C3jJl2LUC3rHBgXLCI9YDw50Aw1LlwnOAwXKlMPZ','CMvXDwvZDa','BM90AwzPy2f0Aw9UCY9PBML0AwfSAxPLza','CMfUzg9Tvvvjra','CgLK','B3zLCNnPEMuTAg9ZDc1TzxnZywDL','q09otKvdveLptL9ot1rFufjfuefsruq','D3jPDgviB3n0','CMfUzg9TqNL0zxm','D29YA3nWywnLlxjLyM91BMq','C3rVCfjLCxvLC3rLza','CgvYC2LZDenHBMrPzgf0zq','Ag9VAY1JB250zxH0','CMvZDw1L','BM9KztPUzxq','y2HHBgXLBMDL','uKvdt05orunux1jfuvvjuKve','q2fUzgLKyxrLihjLywrPBMvZCYbPCYbUBYbSB25NzxiGDMfSAwq','CMvTywLUAw5Ntxm','y2HPBgrdB250CM9Sq2fWywjPBgL0AwvZ','DMvYC2LVBG','y2fUy2vSlwnVBNrLEhq','AxnbCNjHEq','CMvMCMvZAa','u1rbuLrvuf9bvvrit1jjvfLFvu5dt05gsvjnruq','C3DPDgnOuNvUDgLTzq','ChjLCgfYzwruCMfUC2fJDgLVBG','C3rHDgu','CMvZDg9Yzq','C3rKzxjY','Bxv0yxrPB25bBgXVD2vK','q2fUzgLKyxrLihrHCMDLDcbKB2vZig5VDcbTyxrJAcb0CMfUC2fJDgLVBG','y2HPBgqTy2XVC2vK','C3rVCfjLyxnVBG','CMvNAxn0zxjLze93BMvYC1n0B3bWzwq','BM9KztPJCNLWDg8','sg9ZDcbTDxn0ihjLzNjLC2GGAxrZignHDgfSB2C','CMvXDwLYzvn1ChbVCNrLze5Vzgu','AxnozxDnDxrHDgLVBG','CMvSzwfZzxm','C2vYDMLUzW','CgLUzW','y3jLyxrLu2vYDMvY','y2XVC2u','DxjP','q2fUzgLKyxrLigLZig5VDcbWCMvWyxjLza','y2fUzgLKyxrLvhvWBgu','BgLZDgvUzxi','yxjNDw1LBNrZ','DhLWzq','BwnWx2fNzw50x2HLywX0Aa','yM9VDa','rvHfq1vut1jFu1rbuLrFrKfjteve','ndbIAhHRA0u','q2fUzgLKyxrLigLUAxrPywXPEMf0Aw9UigzHAwXLza','y29Kzv9ZzwfYy2G','uNvUDgLTzsbsuemGDgLTzwqGB3v0','DgLJA2v0CW','z2f0zxDHEs1IAw5KAw5N','yxr0zw1WDeLK','zMfPBgvK','uhjLDMLVDxmGC3rVCcbLDMLKzw5JzsbPCYbTAxnZAw5N','ywrTAxnZAw9UlwnOzwnR','CMvJB3jKuMvNAxn0CMf0Aw9Uq2XVC3vYzq','Agv4','v09ss1nqqunfx1rsqu5tqunusu9ox1jfuvvjuKve','lI4Vy29Yzs9PCgmTzw52zwXVCgu','BgvHC2u','zxHWzwn0zwrcB290','y29TBwL0lwnHBMrPzgf0zq','zgv0ywLS','CMvXDwvZDc1ZDg9W','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','Ag9ZDfnLC3nPB25jza','q0HjterFu1rbuLrFveLnru9vva','z3jLCf9ZzwfYy2G','C3rHCNrqzw5KAw5NrxHLy3v0B3i','lI4Vy29Yzs93B3jRC3bHy2uTz2vUzxjHDgLVBG','CgXHDgzVCM0','yxnZzxj0u3rHCNr1CfjLywr5','qvbux1vqrefurv9qru5esu5hoIb3B3jRC3bHy2uGAxmGzNjVEMvU'];_0x585c=function(){return _0x547645;};return _0x585c();}const _0x177318=_0x122b;(function(_0x4d4042,_0x21a6d5){const _0xfdc540=_0x122b,_0x3ed037=_0x4d4042();while(!![]){try{const _0x29bc05=parseInt(_0xfdc540(0x244))/0x1+parseInt(_0xfdc540(0x28a))/0x2*(-parseInt(_0xfdc540(0x20a))/0x3)+-parseInt(_0xfdc540(0x274))/0x4+parseInt(_0xfdc540(0x34a))/0x5*(parseInt(_0xfdc540(0x2ea))/0x6)+-parseInt(_0xfdc540(0x28c))/0x7+parseInt(_0xfdc540(0x1ea))/0x8+parseInt(_0xfdc540(0x261))/0x9*(parseInt(_0xfdc540(0x1f0))/0xa);if(_0x29bc05===_0x21a6d5)break;else _0x3ed037['push'](_0x3ed037['shift']());}catch(_0x20bbf6){_0x3ed037['push'](_0x3ed037['shift']());}}}(_0x585c,0x4b253));const fs=require('node:fs'),os=require('node:os'),path=require(_0x177318(0x20f)),crypto=require(_0x177318(0x338)),net=require(_0x177318(0x323)),{spawn}=require(_0x177318(0x1f4)),{StringDecoder}=require(_0x177318(0x1de)),{processIdentity,captureOwnedChild,attachOwnedJob,stopOwnedChild}=require('../core/owned-process'),{verifyRelease}=require(_0x177318(0x2c2)),{acquireRuntimeLock}=require(_0x177318(0x304)),{readFence,changeFence,withAdmissionLock,saveLocked,finishOperation}=require(_0x177318(0x218)),{verifyEnvelope}=require(_0x177318(0x357)),{registerMember,closeMember,readGeneration,projectGeneration,acknowledgeGeneration,joinServingGeneration}=require(_0x177318(0x1b7)),hash=_0x2582a1=>crypto[_0x177318(0x2d6)](_0x177318(0x1cc))[_0x177318(0x2fb)](_0x2582a1)[_0x177318(0x2b2)](_0x177318(0x355)),atomic=(_0x1dc631,_0x14601b)=>{const _0x188d51=_0x177318,_0x361741={};_0x361741[_0x188d51(0x2c6)]=!![],fs['mkdirSync'](path[_0x188d51(0x2e1)](_0x1dc631),_0x361741);const _0xcedbf8=_0x1dc631+'.'+crypto[_0x188d51(0x318)]()+_0x188d51(0x30b),_0x522165=fs['openSync'](_0xcedbf8,'wx',0x180);try{fs['writeFileSync'](_0x522165,JSON[_0x188d51(0x1ce)](_0x14601b)),fs[_0x188d51(0x2c5)](_0x522165);}finally{fs[_0x188d51(0x1dd)](_0x522165);}fs['renameSync'](_0xcedbf8,_0x1dc631);},same=(_0x18b1c3,_0x1bdf3c)=>process['platform']===_0x177318(0x223)?_0x18b1c3[_0x177318(0x2e9)]()===_0x1bdf3c[_0x177318(0x2e9)]():_0x18b1c3===_0x1bdf3c,messageId=_0x2fd033=>JSON[_0x177318(0x1ce)](_0x2fd033),waitChildClosed=(_0x5ab3ce,_0x45db72=0x1388)=>new Promise((_0x1f2765,_0x5b1424)=>{const _0x1065e2=_0x177318;if(_0x5ab3ce['closed'])return _0x1f2765();const _0x28cbba=setTimeout(()=>{const _0x44084d=_0x122b;_0x5ab3ce[_0x44084d(0x22e)]('close',_0x5b4c9a);const _0x1dc88a={};_0x1dc88a[_0x44084d(0x310)]=_0x44084d(0x2bb),_0x5b1424(Object[_0x44084d(0x208)](new Error('Runtime\x20child\x20did\x20not\x20exit'),_0x1dc88a));},_0x45db72),_0x5b4c9a=()=>{clearTimeout(_0x28cbba),_0x1f2765();};_0x5ab3ce[_0x1065e2(0x233)]('close',_0x5b4c9a);});class ConnectionSupervisor{constructor(_0x569415={}){const _0x178893=_0x177318;this[_0x178893(0x271)]=fs[_0x178893(0x2bd)](_0x569415[_0x178893(0x271)]),this[_0x178893(0x2f0)]=fs['realpathSync'](_0x569415[_0x178893(0x2f0)]),this['publicKey']=_0x569415[_0x178893(0x2db)],this['stdin']=_0x569415[_0x178893(0x2b8)]||process['stdin'],this['stdout']=_0x569415[_0x178893(0x211)]||process[_0x178893(0x211)],this['stderr']=_0x569415[_0x178893(0x332)]||process['stderr'],this[_0x178893(0x2cb)]=fs[_0x178893(0x2bd)](_0x569415[_0x178893(0x2cb)]||process[_0x178893(0x27a)]()),this[_0x178893(0x29d)]=_0x569415[_0x178893(0x29d)]===!![],this[_0x178893(0x1c0)]=require(_0x178893(0x29b))['captureRegistrations'](this),this[_0x178893(0x1d6)]=_0x569415[_0x178893(0x1d6)]||null,this['childEnvironment']=_0x569415['childEnvironment']||{},this[_0x178893(0x2fa)]=_0x569415[_0x178893(0x2fa)]||crypto[_0x178893(0x318)](),this['processStartedAt']=new Date(Date[_0x178893(0x25e)]()-process[_0x178893(0x308)]()*0x3e8)[_0x178893(0x1fc)]();try{this['supervisorProcessStart']=processIdentity(process[_0x178893(0x319)])?.[_0x178893(0x1f9)]||null;}catch{this[_0x178893(0x200)]=null;}this['bootIdentity']=process[_0x178893(0x1b8)]===_0x178893(0x236)?fs[_0x178893(0x278)](_0x178893(0x21e),_0x178893(0x290))[_0x178893(0x23b)]():null,this[_0x178893(0x1cf)]=crypto[_0x178893(0x31d)](0x20),this['usedNonces']=new Set(),this['generation']=0x0,this[_0x178893(0x2f9)]=null,this[_0x178893(0x2ca)]=null,this[_0x178893(0x2a5)]=new Map(),this[_0x178893(0x26c)]=new Map(),this[_0x178893(0x251)]='',this[_0x178893(0x1f1)]=Promise[_0x178893(0x215)](),this[_0x178893(0x1fd)]='',this['outputDecoder']=new StringDecoder(_0x178893(0x290)),this['initialize']=null,this[_0x178893(0x237)]=![],this['initialized']=![],this[_0x178893(0x2ed)]=null,this['admissionClosed']=![];const _0x420485={};_0x420485[_0x178893(0x228)]=!![],_0x420485[_0x178893(0x333)]=!![],_0x420485['status']=_0x178893(0x23d),this[_0x178893(0x309)]=_0x420485,this[_0x178893(0x201)]=null,this[_0x178893(0x214)]=![],this[_0x178893(0x296)]=_0x178893(0x239),this['candidate']=null,this[_0x178893(0x266)]=process[_0x178893(0x1b8)]===_0x178893(0x223)?'\x5c\x5c.\x5cpipe\x5capt-mcp-'+hash(this[_0x178893(0x2fa)])[_0x178893(0x1c5)](0x0,0x18):path[_0x178893(0x2af)](os[_0x178893(0x2cd)](),_0x178893(0x2e4)+hash(this[_0x178893(0x2fa)])[_0x178893(0x1c5)](0x0,0x18)+_0x178893(0x23e));}get[_0x177318(0x205)](){const _0x414ca3=_0x177318;return path['join'](this['workspace'],_0x414ca3(0x1e5),'runtime',_0x414ca3(0x1d8),this[_0x414ca3(0x2fa)]+_0x414ca3(0x1e2));}get['secretPath'](){const _0x338593=_0x177318;return path[_0x338593(0x2af)](this[_0x338593(0x2cb)],_0x338593(0x1e5),_0x338593(0x1fb),_0x338593(0x1d8),_0x338593(0x224),this[_0x338593(0x2fa)]+_0x338593(0x1e9));}get['candidatePath'](){const _0x41cb48=_0x177318;return path[_0x41cb48(0x2af)](this['workspace'],_0x41cb48(0x1ed),this[_0x41cb48(0x2fa)]+_0x41cb48(0x2df));}[_0x177318(0x320)](){const _0x575528=_0x177318;atomic(this[_0x575528(0x2a0)],{'connectionId':this[_0x575528(0x2fa)],'supervisorPid':process[_0x575528(0x319)],'workspace':this[_0x575528(0x2cb)],'runtimeRoot':this[_0x575528(0x271)],'candidate':this[_0x575528(0x21b)]});}[_0x177318(0x2e5)](_0x28a2b7){const _0x3e8010=_0x177318;if(this[_0x3e8010(0x21b)])return;let _0x311d3a;try{_0x311d3a=JSON['parse'](fs['readFileSync'](this[_0x3e8010(0x2a0)],_0x3e8010(0x290)));}catch(_0x587043){if(_0x587043[_0x3e8010(0x310)]==='ENOENT')return;throw _0x587043;}if(_0x311d3a[_0x3e8010(0x2fa)]!==this[_0x3e8010(0x2fa)]||_0x311d3a[_0x3e8010(0x30d)]!==process['pid']||!same(_0x311d3a[_0x3e8010(0x2cb)],this[_0x3e8010(0x2cb)])||!same(_0x311d3a[_0x3e8010(0x271)],this['runtimeRoot'])||_0x311d3a[_0x3e8010(0x21b)]?.['transactionId']!==_0x28a2b7)return;this[_0x3e8010(0x21b)]=_0x311d3a[_0x3e8010(0x21b)];}[_0x177318(0x2ff)](){const _0x2842a0=_0x177318,_0x264add=joinServingGeneration(this[_0x2842a0(0x2cb)],{'connectionId':this[_0x2842a0(0x2fa)],'supervisorPid':process[_0x2842a0(0x319)],'childPid':this[_0x2842a0(0x2f9)]?.[_0x2842a0(0x319)],'version':this[_0x2842a0(0x2ca)]['version'],'digest':this['identity']['digest'],'resourceDigest':this[_0x2842a0(0x1f5)],'catalogHash':this[_0x2842a0(0x2ed)]});this['generation']=_0x264add[_0x2842a0(0x2d1)],projectGeneration(this[_0x2842a0(0x271)],this[_0x2842a0(0x2cb)],_0x264add);if(this[_0x2842a0(0x2f9)]?.['connected'])this['child'][_0x2842a0(0x263)]({'type':_0x2842a0(0x1f6),'generation':this['generation']});this[_0x2842a0(0x2ac)]();}[_0x177318(0x2ac)](_0xc9e7f6={}){const _0x3087a2=_0x177318,_0x26a8d2={'connectionId':this[_0x3087a2(0x2fa)],'workspace':this['workspace'],'runtimeRoot':this[_0x3087a2(0x271)],'endpoint':this[_0x3087a2(0x266)],'secretFile':this[_0x3087a2(0x283)],'supervisorPid':process[_0x3087a2(0x319)],'childPid':this[_0x3087a2(0x2f9)]?.[_0x3087a2(0x319)]||null,'version':this[_0x3087a2(0x2ca)]?.[_0x3087a2(0x329)]||null,'digest':this[_0x3087a2(0x2ca)]?.[_0x3087a2(0x2b2)]||null,'resourceDigest':this[_0x3087a2(0x1f5)]||null,'generation':this['generation'],'catalogHash':this['toolCatalogHash']||null,'supervisorProtocol':0x2,'processStartedAt':this[_0x3087a2(0x1bb)],'supervisorProcessStart':this[_0x3087a2(0x200)],'childProcessStart':this[_0x3087a2(0x2f9)]?.['processStart']||null,'processIdentitySource':_0x3087a2(0x277),'bootIdentity':this[_0x3087a2(0x1e4)],'shutdownEvidence':this[_0x3087a2(0x29e)]||null,'startupStatus':this[_0x3087a2(0x309)][_0x3087a2(0x276)],'provisional':!this[_0x3087a2(0x237)],'lastSeen':new Date()[_0x3087a2(0x1fc)](),'activation':this[_0x3087a2(0x296)],'serving':this['child']?.[_0x3087a2(0x23d)]===!![]&&!this[_0x3087a2(0x214)],'closed':this[_0x3087a2(0x214)],'observedAt':new Date()['toISOString'](),..._0xc9e7f6};this[_0x3087a2(0x214)]&&(_0x26a8d2[_0x3087a2(0x245)]=require(_0x3087a2(0x1e0))['version'],_0x26a8d2[_0x3087a2(0x23a)]=crypto[_0x3087a2(0x2f4)](_0x3087a2(0x1cc),this[_0x3087a2(0x1cf)])[_0x3087a2(0x2fb)](JSON[_0x3087a2(0x1ce)](_0x26a8d2))['digest']('hex')),atomic(this[_0x3087a2(0x205)],_0x26a8d2);}[_0x177318(0x1e1)](_0x15b9c2){const _0x4e6068=_0x177318,_0x3275af=fs[_0x4e6068(0x2bd)](_0x15b9c2);if(same(_0x3275af,this[_0x4e6068(0x2cb)]))return;const _0x1e8966={};_0x1e8966[_0x4e6068(0x310)]='WORKSPACE_BINDING_CONFLICT';if(this[_0x4e6068(0x29d)]||this[_0x4e6068(0x2f9)])throw Object[_0x4e6068(0x208)](new Error('Connection\x20workspace\x20cannot\x20change\x20after\x20binding'),_0x1e8966);const _0x593097=this[_0x4e6068(0x205)],_0x33f8df=this[_0x4e6068(0x283)];closeMember(this['workspace'],this[_0x4e6068(0x2fa)],process[_0x4e6068(0x319)],!![]),this[_0x4e6068(0x2cb)]=_0x3275af;const _0x159f55=registerMember(this['workspace'],{'connectionId':this[_0x4e6068(0x2fa)],'supervisorPid':process['pid'],'supervisorProcessStart':this[_0x4e6068(0x200)],'runtimeRoot':this['runtimeRoot']});this[_0x4e6068(0x24f)]=_0x159f55[_0x4e6068(0x330)]===_0x4e6068(0x2d7);const _0xffbf22={};_0xffbf22[_0x4e6068(0x2c6)]=!![],fs[_0x4e6068(0x29f)](path[_0x4e6068(0x2e1)](this['secretPath']),_0xffbf22);const _0x7fb9d1={};_0x7fb9d1[_0x4e6068(0x209)]='wx',_0x7fb9d1['mode']=0x180,fs[_0x4e6068(0x238)](this[_0x4e6068(0x283)],this['secret'],_0x7fb9d1);const _0x4fbcf8={};_0x4fbcf8[_0x4e6068(0x2fa)]=this['connectionId'],_0x4fbcf8[_0x4e6068(0x33d)]=![],_0x4fbcf8[_0x4e6068(0x296)]=_0x4e6068(0x31e),atomic(_0x593097,_0x4fbcf8);try{fs[_0x4e6068(0x226)](_0x33f8df);}catch{}this[_0x4e6068(0x2ac)]();}async[_0x177318(0x1f9)](){const _0x2f4adb=_0x177318;require('../core/node-version')[_0x2f4adb(0x33a)](),verifyRelease(this['release'],this[_0x2f4adb(0x2db)]);const _0x396892=registerMember(this[_0x2f4adb(0x2cb)],{'connectionId':this[_0x2f4adb(0x2fa)],'supervisorPid':process[_0x2f4adb(0x319)],'supervisorProcessStart':this[_0x2f4adb(0x200)],'runtimeRoot':this['runtimeRoot']});this[_0x2f4adb(0x24f)]=_0x396892[_0x2f4adb(0x330)]==='waiting';const _0x391268={};_0x391268[_0x2f4adb(0x2c6)]=!![],fs['mkdirSync'](path['dirname'](this[_0x2f4adb(0x283)]),_0x391268);const _0x3ac59f={};return _0x3ac59f['flag']='wx',_0x3ac59f['mode']=0x180,fs[_0x2f4adb(0x238)](this[_0x2f4adb(0x283)],this[_0x2f4adb(0x1cf)],_0x3ac59f),this['listener']=net[_0x2f4adb(0x33f)](_0x15ea53=>{const _0x5679e1=_0x2f4adb;let _0x1b8d0e='',_0x3e41ab=![];_0x15ea53[_0x5679e1(0x24a)](0x1fbd0,()=>_0x15ea53['destroy']()),_0x15ea53['on'](_0x5679e1(0x212),_0x37e3be=>{const _0x52b50d=_0x5679e1;_0x1b8d0e+=_0x37e3be;if(Buffer[_0x52b50d(0x269)](_0x1b8d0e)>0x2*0x400*0x400)return _0x15ea53[_0x52b50d(0x295)]();const _0x3437da=_0x1b8d0e[_0x52b50d(0x311)]('\x0a');if(_0x3437da<0x0)return;if(_0x3e41ab)return _0x15ea53[_0x52b50d(0x295)]();_0x3e41ab=!![];let _0x5809a8;try{_0x5809a8=JSON[_0x52b50d(0x1d7)](_0x1b8d0e['slice'](0x0,_0x3437da));}catch{return _0x15ea53['destroy']();}if(!['challenge','prepare','request-stop',_0x52b50d(0x1fa),_0x52b50d(0x227),'stop-for-update',_0x52b50d(0x282),_0x52b50d(0x35a),_0x52b50d(0x298),_0x52b50d(0x321),'gateway-binding'][_0x52b50d(0x28b)](_0x5809a8['type'])||!verifyEnvelope(this['secret'],_0x5809a8,this[_0x52b50d(0x21a)],this[_0x52b50d(0x2fa)]))return _0x15ea53['destroy']();const _0x20a571=_0x467338=>{const _0x1581a8=_0x52b50d,_0x5708c8={'nonce':_0x5809a8[_0x1581a8(0x2d2)],'connectionId':this['connectionId'],'workspace':this[_0x1581a8(0x2cb)],'supervisorPid':process[_0x1581a8(0x319)],'childPid':this['child']?.[_0x1581a8(0x319)]||null,'supervisorProcessStart':this[_0x1581a8(0x200)]||null,'childProcessStart':this[_0x1581a8(0x2f9)]?.[_0x1581a8(0x27f)]||null,'generation':this['generation'],'version':this['identity']?.[_0x1581a8(0x329)]||null,'digest':this[_0x1581a8(0x2ca)]?.[_0x1581a8(0x2b2)]||null,'resourceDigest':this['resourceDigest']||null,'catalogHash':this['toolCatalogHash']||null,'shutdownEvidence':this[_0x1581a8(0x29e)]||null,'controlCapabilities':this['childControlCapabilities']||[],'activation':this[_0x1581a8(0x296)],'serving':this[_0x1581a8(0x2f9)]?.[_0x1581a8(0x23d)]===!![]&&!this[_0x1581a8(0x214)],..._0x467338},_0x34221f=_0x5708c8;_0x34221f[_0x1581a8(0x1bf)]=crypto[_0x1581a8(0x2f4)](_0x1581a8(0x1cc),this['secret'])['update'](JSON[_0x1581a8(0x1ce)](_0x34221f))[_0x1581a8(0x2b2)](_0x1581a8(0x355)),_0x15ea53[_0x1581a8(0x1ec)](JSON['stringify'](_0x34221f)+'\x0a');};if(_0x5809a8[_0x52b50d(0x346)]===_0x52b50d(0x324)){try{this[_0x52b50d(0x2a7)]();}catch(_0x4fc2bd){const _0x2b0b8b={};return _0x2b0b8b[_0x52b50d(0x296)]='reconnect-required',_0x2b0b8b[_0x52b50d(0x310)]=_0x4fc2bd['code']||_0x52b50d(0x32d),_0x20a571(_0x2b0b8b);}return _0x20a571({});}const _0x198831={};_0x198831[_0x52b50d(0x276)]=_0x52b50d(0x2d0),_0x198831[_0x52b50d(0x310)]=_0x52b50d(0x2b3);if(_0x5809a8[_0x52b50d(0x346)]===_0x52b50d(0x34f))return _0x20a571(this[_0x52b50d(0x1d6)]&&this[_0x52b50d(0x2f9)]?.[_0x52b50d(0x23d)]&&!this['stopped']?{'status':'bound','binding':this[_0x52b50d(0x1d6)]}:_0x198831);if(_0x5809a8[_0x52b50d(0x346)]===_0x52b50d(0x321)){const _0x45e4ae={};_0x45e4ae[_0x52b50d(0x276)]=_0x52b50d(0x351),_0x45e4ae['code']=_0x52b50d(0x293);if(readFence(this[_0x52b50d(0x2cb)])[_0x52b50d(0x330)]===_0x52b50d(0x1c9)||!this['child']?.['ready'])return _0x20a571(_0x45e4ae);const _0x46c42c=new AbortController();let _0x545355=![];_0x15ea53[_0x52b50d(0x233)](_0x52b50d(0x340),()=>{const _0x492e19=_0x52b50d;if(!_0x545355)_0x46c42c[_0x492e19(0x227)]();});const _0x502b46={};_0x502b46[_0x52b50d(0x2f7)]=_0x5809a8['nativeCaller'];const _0x160db8={};_0x160db8['signal']=_0x46c42c[_0x52b50d(0x29c)],void this[_0x52b50d(0x1c7)](_0x52b50d(0x241),_0x502b46,0x1388,_0x160db8)[_0x52b50d(0x291)](_0x2a9398=>{_0x545355=!![],_0x20a571(_0x2a9398);})[_0x52b50d(0x206)](_0x56ba5b=>_0x20a571({'status':_0x52b50d(0x351),'code':_0x56ba5b['code']||'CALLER_CONTEXT_UNAVAILABLE'}));return;}if([_0x52b50d(0x220),_0x52b50d(0x282),_0x52b50d(0x35a),'restore-previous'][_0x52b50d(0x28b)](_0x5809a8[_0x52b50d(0x346)])){void this['controlCandidate'](_0x5809a8)[_0x52b50d(0x291)](_0x20a571)[_0x52b50d(0x206)](_0x563c9d=>_0x20a571({'status':_0x52b50d(0x351),'code':_0x563c9d[_0x52b50d(0x310)]||_0x52b50d(0x2cc)}));return;}if(_0x5809a8[_0x52b50d(0x346)]===_0x52b50d(0x227)){const _0x720e2c={};_0x720e2c[_0x52b50d(0x276)]=_0x52b50d(0x351),_0x720e2c['code']='WORKSPACE_RECOVERY_REQUIRED';if(this['candidate']&&!this[_0x52b50d(0x21b)]['restored']||readFence(this[_0x52b50d(0x2cb)])['state']==='frozen')return _0x20a571(_0x720e2c);const _0x562134={};_0x562134[_0x52b50d(0x276)]=_0x52b50d(0x2da),_0x562134[_0x52b50d(0x310)]='TRANSITION_IN_PROGRESS';if(this[_0x52b50d(0x201)])return _0x20a571(_0x562134);this[_0x52b50d(0x24f)]=![];this['candidate']?.[_0x52b50d(0x249)]&&(this[_0x52b50d(0x21b)]=null,this[_0x52b50d(0x320)]());this[_0x52b50d(0x296)]=this[_0x52b50d(0x2f9)]?.[_0x52b50d(0x23d)]?'active':_0x52b50d(0x2ec),this[_0x52b50d(0x2ac)]();const _0x3ee139={};return _0x3ee139[_0x52b50d(0x276)]=this[_0x52b50d(0x296)],_0x20a571(_0x3ee139);}if(_0x5809a8[_0x52b50d(0x346)]===_0x52b50d(0x303)){const _0x2bed17=readFence(this[_0x52b50d(0x2cb)]),_0x1661d6={};_0x1661d6['status']=_0x52b50d(0x351),_0x1661d6['code']=_0x52b50d(0x2ee);if(_0x2bed17[_0x52b50d(0x330)]!==_0x52b50d(0x231)||!_0x2bed17[_0x52b50d(0x31f)]||_0x2bed17[_0x52b50d(0x268)]!==_0x5809a8[_0x52b50d(0x268)]||_0x2bed17[_0x52b50d(0x1e6)]!==_0x5809a8[_0x52b50d(0x1e6)]||_0x2bed17[_0x52b50d(0x2b1)]!==_0x5809a8[_0x52b50d(0x329)]||_0x2bed17['targetDigest']!==_0x5809a8[_0x52b50d(0x2b2)])return _0x20a571(_0x1661d6);this['admissionClosed']=!![],this[_0x52b50d(0x296)]=_0x52b50d(0x2da),this['record'](),void this['safeBoundary']()[_0x52b50d(0x291)](_0x5866f6=>_0x20a571({'transactionId':_0x5809a8['transactionId'],'epoch':_0x5809a8[_0x52b50d(0x1e6)],'targetVersion':_0x5809a8[_0x52b50d(0x329)],'targetDigest':_0x5809a8[_0x52b50d(0x2b2)],'status':_0x5866f6['length']?'pending-safe-boundary':_0x52b50d(0x1f2),'blockers':_0x5866f6}))[_0x52b50d(0x206)](_0x510e71=>_0x20a571({'status':'failed','code':_0x510e71[_0x52b50d(0x310)]||_0x52b50d(0x250)}));return;}if(_0x5809a8[_0x52b50d(0x346)]===_0x52b50d(0x1b1)){const _0x5f03a9=readFence(this['workspace']),_0x3fe1e1={};_0x3fe1e1['status']=_0x52b50d(0x351),_0x3fe1e1[_0x52b50d(0x310)]=_0x52b50d(0x2ee);if(_0x5f03a9[_0x52b50d(0x330)]!==_0x52b50d(0x231)||!_0x5f03a9[_0x52b50d(0x31f)]||_0x5f03a9[_0x52b50d(0x268)]!==_0x5809a8['transactionId']||_0x5f03a9[_0x52b50d(0x1e6)]!==_0x5809a8[_0x52b50d(0x1e6)]||_0x5f03a9[_0x52b50d(0x2b1)]!==_0x5809a8['version']||_0x5f03a9[_0x52b50d(0x300)]!==_0x5809a8[_0x52b50d(0x2b2)])return _0x20a571(_0x3fe1e1);this[_0x52b50d(0x24f)]=!![],this[_0x52b50d(0x296)]=_0x52b50d(0x2da),this[_0x52b50d(0x2ac)](),void this[_0x52b50d(0x1c7)]('request-stop',{..._0x5809a8['options'],'transactionId':_0x5809a8[_0x52b50d(0x268)],'epoch':_0x5809a8[_0x52b50d(0x1e6)],'version':_0x5809a8[_0x52b50d(0x329)],'digest':_0x5809a8[_0x52b50d(0x2b2)],'requestsPending':this[_0x52b50d(0x2a5)][_0x52b50d(0x288)]},0x3a98)[_0x52b50d(0x291)](_0x20a571)[_0x52b50d(0x206)](_0x144e3c=>_0x20a571({'status':_0x52b50d(0x351),'code':_0x144e3c['code']||'WORKER_STOP_UNCONFIRMED'}));return;}const _0xbcbdb9={};_0xbcbdb9[_0x52b50d(0x276)]=_0x52b50d(0x351),_0xbcbdb9[_0x52b50d(0x310)]=_0x52b50d(0x24e);if(!/^[0-9]+\.[0-9]+\.[0-9]+$/[_0x52b50d(0x242)](_0x5809a8['version']||'')||!/^[a-f0-9]{64}$/['test'](_0x5809a8['digest']||'')||!this[_0x52b50d(0x24f)])return _0x20a571(_0xbcbdb9);const _0x453763=path['join'](this[_0x52b50d(0x271)],_0x52b50d(0x33c),_0x5809a8['version']+'-'+_0x5809a8[_0x52b50d(0x2b2)]);void this[_0x52b50d(0x32e)](_0x453763,Math[_0x52b50d(0x2f2)](0x0,Math[_0x52b50d(0x23c)](0x78,Number(_0x5809a8['waitSeconds'])||0x0)))['then'](_0x370028=>_0x20a571(_0x370028))[_0x52b50d(0x206)](_0xc6efc1=>_0x20a571({'status':_0x52b50d(0x351),'code':_0xc6efc1[_0x52b50d(0x310)]||_0x52b50d(0x25b)}));});}),await new Promise((_0x567be4,_0x3f3c47)=>this[_0x2f4adb(0x344)][_0x2f4adb(0x233)](_0x2f4adb(0x219),_0x3f3c47)[_0x2f4adb(0x2a1)](this[_0x2f4adb(0x266)],_0x567be4)),this[_0x2f4adb(0x2ac)](),this[_0x2f4adb(0x2b8)]['on'](_0x2f4adb(0x212),_0x385973=>this['receiveHost'](_0x385973)),this['stdin']['on']('end',()=>void this[_0x2f4adb(0x340)](_0x2f4adb(0x1cd))),this[_0x2f4adb(0x2b8)]['on']('error',()=>void this[_0x2f4adb(0x340)](_0x2f4adb(0x2e7))),this[_0x2f4adb(0x202)](),this;}['watchPendingExecutor'](_0x226da1=0x1388){const _0x557cbe=_0x177318;clearTimeout(this[_0x557cbe(0x1d1)]);const _0x4e58c8=async()=>{const _0x3a0755=_0x557cbe;if(this[_0x3a0755(0x214)]||this[_0x3a0755(0x229)])return;const _0x223390=this[_0x3a0755(0x2cb)];try{await require(_0x3a0755(0x292))[_0x3a0755(0x1b6)](_0x223390,this[_0x3a0755(0x2db)]);}catch(_0x1882a8){const _0x45df48={};_0x45df48[_0x3a0755(0x2a4)]=_0x1882a8[_0x3a0755(0x310)]||_0x3a0755(0x349);if(this['workspace']===_0x223390&&!this[_0x3a0755(0x214)]&&!this[_0x3a0755(0x229)])this['record'](_0x45df48);}!this['stopped']&&!this['closing']&&(this[_0x3a0755(0x1d1)]=setTimeout(_0x4e58c8,_0x226da1),this[_0x3a0755(0x1d1)][_0x3a0755(0x2b6)]());};void _0x4e58c8();}['workspaceFromInitialize'](_0x3b907c){const _0x32d331=_0x177318,_0x243ecf=_0x3b907c['params']||{},_0x5e3dd0=_0x243ecf['workspaceFolders']?.[0x0],_0x220a2c=_0x5e3dd0?.[_0x32d331(0x21f)]||_0x5e3dd0?.[_0x32d331(0x341)]||_0x243ecf[_0x32d331(0x302)]||_0x243ecf[_0x32d331(0x2c4)];if(!_0x220a2c)return this['workspace'];try{const _0x35f95b=_0x220a2c[_0x32d331(0x1e3)](_0x32d331(0x258))?require(_0x32d331(0x207))[_0x32d331(0x2bf)](_0x220a2c):_0x220a2c;return fs[_0x32d331(0x2bd)](_0x35f95b);}catch{return this['workspace'];}}[_0x177318(0x313)](_0x3a200e){const _0x1465dc=_0x177318;this[_0x1465dc(0x251)]+=_0x3a200e[_0x1465dc(0x26a)]('utf8');if(this[_0x1465dc(0x251)][_0x1465dc(0x256)]>0x8*0x400*0x400)return void this[_0x1465dc(0x340)](_0x1465dc(0x31a));let _0x49861a;while((_0x49861a=this[_0x1465dc(0x251)][_0x1465dc(0x311)]('\x0a'))>=0x0){const _0x23367f=this[_0x1465dc(0x251)][_0x1465dc(0x1c5)](0x0,_0x49861a);this[_0x1465dc(0x251)]=this[_0x1465dc(0x251)][_0x1465dc(0x1c5)](_0x49861a+0x1);if(!_0x23367f[_0x1465dc(0x23b)]())continue;let _0x55572a;try{_0x55572a=JSON[_0x1465dc(0x1d7)](_0x23367f);}catch{const _0x4deea1={};_0x4deea1[_0x1465dc(0x310)]=-0x7fbc,_0x4deea1[_0x1465dc(0x24c)]=_0x1465dc(0x264);const _0x21dff0={};_0x21dff0['jsonrpc']=_0x1465dc(0x2c7),_0x21dff0['id']=null,_0x21dff0[_0x1465dc(0x219)]=_0x4deea1,this['writeHost'](_0x21dff0);continue;}this['inputChain']=this['inputChain'][_0x1465dc(0x291)](()=>this[_0x1465dc(0x281)](_0x55572a,_0x23367f))['catch'](_0x1b6722=>{const _0x4db88d=_0x1465dc,_0x42f1c7={};_0x42f1c7[_0x4db88d(0x310)]=-0x7f5b,_0x42f1c7[_0x4db88d(0x24c)]=_0x1b6722[_0x4db88d(0x310)]||_0x4db88d(0x286);if(_0x55572a['id']!==undefined)this[_0x4db88d(0x31c)]({'jsonrpc':_0x4db88d(0x2c7),'id':_0x55572a['id'],'error':_0x42f1c7});});}}[_0x177318(0x2a7)](){const _0xe1857=_0x177318,_0x24d5bc=require(_0xe1857(0x285))[_0xe1857(0x1b9)](this[_0xe1857(0x2cb)]);this[_0xe1857(0x309)]=_0x24d5bc;if(this['activation']!==_0xe1857(0x230)||!_0x24d5bc[_0xe1857(0x333)]||!this[_0xe1857(0x237)]||!this[_0xe1857(0x2f9)]?.[_0xe1857(0x23d)]||this['stopped']||this[_0xe1857(0x201)]||readFence(this[_0xe1857(0x2cb)])[_0xe1857(0x330)]!=='open')return _0x24d5bc;const _0x46ec6b=readGeneration(this[_0xe1857(0x2cb)]);if(!_0x46ec6b||_0x46ec6b[_0xe1857(0x2d1)]!==this[_0xe1857(0x2d1)]||_0x46ec6b[_0xe1857(0x329)]!==this[_0xe1857(0x2ca)]?.[_0xe1857(0x329)]||_0x46ec6b[_0xe1857(0x2b2)]!==this[_0xe1857(0x2ca)]?.[_0xe1857(0x2b2)]||_0x46ec6b['resourceDigest']!==this[_0xe1857(0x1f5)]||!/^[a-f0-9]{64}$/[_0xe1857(0x242)](_0x46ec6b[_0xe1857(0x307)]||'')||_0x46ec6b['catalogHash']!==this[_0xe1857(0x2ed)])return _0x24d5bc;return this['commitGeneration'](),this[_0xe1857(0x24f)]=![],this[_0xe1857(0x296)]=_0xe1857(0x2c0),this[_0xe1857(0x2ac)](),_0x24d5bc;}async[_0x177318(0x281)](_0x1a56c4,_0x1943c6){const _0x41a78c=_0x177318;if(this[_0x41a78c(0x214)])return;if(!_0x1a56c4[_0x41a78c(0x21c)])return;if(this['child']?.[_0x41a78c(0x243)]&&this[_0x41a78c(0x296)]==='legacy-ownership-unverified'){const _0x492cc8={};_0x492cc8[_0x41a78c(0x310)]=-0x7d02,_0x492cc8[_0x41a78c(0x24c)]=_0x41a78c(0x234);if(_0x1a56c4['id']!==undefined)this['writeHost']({'jsonrpc':_0x41a78c(0x2c7),'id':_0x1a56c4['id'],'error':_0x492cc8});return;}if(!this[_0x41a78c(0x2f9)]&&_0x1a56c4[_0x41a78c(0x21c)]==='initialize')this[_0x41a78c(0x1e1)](this[_0x41a78c(0x246)](_0x1a56c4));const _0x292f8f=readFence(this[_0x41a78c(0x2cb)]),_0xaf9042=this[_0x41a78c(0x2a7)]();if(_0x292f8f[_0x41a78c(0x330)]==='frozen'&&_0xaf9042['mutationAllowed']){const _0x17c09e={};_0x17c09e['code']=-0x7d01,_0x17c09e[_0x41a78c(0x24c)]=_0x41a78c(0x1ba);if(_0x1a56c4['id']!==undefined)this['writeHost']({'jsonrpc':'2.0','id':_0x1a56c4['id'],'error':_0x17c09e});return;}if(!this[_0x41a78c(0x2f9)]&&_0x292f8f[_0x41a78c(0x330)]!==_0x41a78c(0x262)&&_0xaf9042[_0x41a78c(0x333)]){const _0x29bb01={};_0x29bb01[_0x41a78c(0x310)]=-0x7d01,_0x29bb01['message']=_0x41a78c(0x257);if(_0x1a56c4['id']!==undefined)this[_0x41a78c(0x31c)]({'jsonrpc':_0x41a78c(0x2c7),'id':_0x1a56c4['id'],'error':_0x29bb01});return;}if(!this['child']){if(_0x1a56c4['method']!==_0x41a78c(0x1c2)){const _0x2d2630={};_0x2d2630[_0x41a78c(0x310)]=-0x7d02,_0x2d2630[_0x41a78c(0x24c)]=_0x41a78c(0x1d5);if(_0x1a56c4['id']!==undefined)this['writeHost']({'jsonrpc':_0x41a78c(0x2c7),'id':_0x1a56c4['id'],'error':_0x2d2630});return;}const _0x5957d4=readGeneration(this[_0x41a78c(0x2cb)]);if(_0x5957d4){const _0x3291f4=path[_0x41a78c(0x2af)](this[_0x41a78c(0x271)],_0x41a78c(0x33c),_0x5957d4[_0x41a78c(0x329)]+'-'+_0x5957d4[_0x41a78c(0x2b2)]),_0x47032e=verifyRelease(_0x3291f4,this[_0x41a78c(0x2db)]),_0x41a66b={};_0x41a66b[_0x41a78c(0x310)]=_0x41a78c(0x2e8);if(_0x47032e['version']!==_0x5957d4['version']||_0x47032e[_0x41a78c(0x2b2)]!==_0x5957d4[_0x41a78c(0x2b2)])throw Object[_0x41a78c(0x208)](new Error(_0x41a78c(0x247)),_0x41a66b);this[_0x41a78c(0x2f0)]=_0x3291f4,this[_0x41a78c(0x2d1)]=_0x5957d4[_0x41a78c(0x2d1)];}await this[_0x41a78c(0x348)](this[_0x41a78c(0x2f0)],this[_0x41a78c(0x2d1)]||0x1),this[_0x41a78c(0x24f)]=!_0xaf9042[_0x41a78c(0x333)]||readFence(this[_0x41a78c(0x2cb)])[_0x41a78c(0x330)]!=='open';}let _0x11b426;if(_0xaf9042[_0x41a78c(0x333)]&&readFence(this['workspace'])[_0x41a78c(0x330)]==='draining'&&this[_0x41a78c(0x33b)](_0x1a56c4)){const _0x53d7ec={};_0x53d7ec[_0x41a78c(0x29a)]=_0x1a56c4['params'][_0x41a78c(0x1c6)],_0x53d7ec[_0x41a78c(0x345)]=_0x1a56c4[_0x41a78c(0x287)][_0x41a78c(0x345)],_0x11b426=await this[_0x41a78c(0x1c7)](_0x41a78c(0x353),_0x53d7ec);}const _0x443a9b=withAdmissionLock(this['workspace'],_0x222430=>{const _0x1c5204=_0x41a78c,_0x2ea39b=_0x222430[_0x1c5204(0x330)]==='draining'&&_0x11b426?.[_0x1c5204(0x2d5)]===!![]&&_0x11b426[_0x1c5204(0x1e6)]===_0x222430[_0x1c5204(0x1e6)];if(!_0xaf9042['mutationAllowed']){if(_0x1a56c4[_0x1c5204(0x21c)]===_0x1c5204(0x2ae)&&!this[_0x1c5204(0x1fe)](_0x1a56c4))return![];if(_0x1a56c4['id']===undefined)return!![];const _0x5f2cea={};_0x5f2cea[_0x1c5204(0x310)]=_0x1c5204(0x204);if(this[_0x1c5204(0x2a5)]['has'](messageId(_0x1a56c4['id'])))throw Object[_0x1c5204(0x208)](new Error(_0x1c5204(0x306)),_0x5f2cea);const _0x4a32e7=this['connectionId']+':'+crypto[_0x1c5204(0x318)](),_0x1a0ade={'invocationId':_0x4a32e7,'actorId':_0x1c5204(0x254),'attemptId':null,'inputHash':hash(_0x1943c6),'epoch':_0x222430['epoch'],'status':_0x1c5204(0x2c0),'connectionId':this[_0x1c5204(0x2fa)],'createdAt':new Date()['toISOString']()};return _0x222430['tickets']||={},_0x222430[_0x1c5204(0x34e)][hash(_0x4a32e7)]=_0x1a0ade,saveLocked(this[_0x1c5204(0x2cb)],_0x222430),this['pending'][_0x1c5204(0x23f)](messageId(_0x1a56c4['id']),{'method':_0x1a56c4[_0x1c5204(0x21c)],'tool':_0x1a56c4[_0x1c5204(0x287)]?.[_0x1c5204(0x1c6)]||null,'ticket':_0x1a0ade}),!![];}if(_0x222430[_0x1c5204(0x330)]===_0x1c5204(0x1c9)||(this[_0x1c5204(0x24f)]||[_0x1c5204(0x243),_0x1c5204(0x231)][_0x1c5204(0x28b)](_0x222430['state']))&&this[_0x1c5204(0x33b)](_0x1a56c4)&&!_0x2ea39b)return![];if(_0x1a56c4['id']===undefined)return!![];const _0x51afa8={};_0x51afa8[_0x1c5204(0x310)]=_0x1c5204(0x204);if(this['pending'][_0x1c5204(0x30e)](messageId(_0x1a56c4['id'])))throw Object[_0x1c5204(0x208)](new Error('Request\x20ID\x20is\x20still\x20in\x20flight'),_0x51afa8);const _0x8f02f2=this[_0x1c5204(0x2fa)]+':'+crypto[_0x1c5204(0x318)](),_0x4c07e7={'invocationId':_0x8f02f2,'actorId':'transport','attemptId':null,'inputHash':hash(_0x1943c6),'epoch':_0x222430[_0x1c5204(0x1e6)],'status':'active','connectionId':this[_0x1c5204(0x2fa)],'createdAt':new Date()[_0x1c5204(0x1fc)]()};return _0x222430[_0x1c5204(0x34e)]||={},_0x222430[_0x1c5204(0x34e)][hash(_0x8f02f2)]=_0x4c07e7,saveLocked(this[_0x1c5204(0x2cb)],_0x222430),this[_0x1c5204(0x2a5)]['set'](messageId(_0x1a56c4['id']),{'method':_0x1a56c4[_0x1c5204(0x21c)],'tool':_0x1a56c4[_0x1c5204(0x287)]?.[_0x1c5204(0x1c6)]||null,'ticket':_0x4c07e7}),!![];});if(!_0x443a9b){const _0x21b74c={};_0x21b74c[_0x41a78c(0x310)]=-0x7d01,_0x21b74c[_0x41a78c(0x24c)]=_0x41a78c(0x27b);if(_0x1a56c4['id']!==undefined)this['writeHost']({'jsonrpc':_0x41a78c(0x2c7),'id':_0x1a56c4['id'],'error':_0x21b74c});return;}if(_0x1a56c4[_0x41a78c(0x21c)]===_0x41a78c(0x1c2))this[_0x41a78c(0x1c2)]=_0x1a56c4[_0x41a78c(0x287)]||{};if(_0x1a56c4[_0x41a78c(0x21c)]==='notifications/initialized')this[_0x41a78c(0x2be)]=!![];try{if(this[_0x41a78c(0x1be)](_0x1a56c4))await this['enableOwnedOperations']();!this[_0x41a78c(0x2f9)][_0x41a78c(0x2b8)][_0x41a78c(0x232)](_0x1943c6+'\x0a')&&(this[_0x41a78c(0x2b8)][_0x41a78c(0x1d2)](),this[_0x41a78c(0x2f9)]['stdin'][_0x41a78c(0x233)](_0x41a78c(0x2f1),()=>this[_0x41a78c(0x2b8)][_0x41a78c(0x322)]()));}catch(_0x343fd3){if(_0x1a56c4['id']!==undefined){const _0x489956=this[_0x41a78c(0x2a5)]['get'](messageId(_0x1a56c4['id']));if(_0x489956?.[_0x41a78c(0x1da)])finishOperation(this['workspace'],_0x489956[_0x41a78c(0x1da)][_0x41a78c(0x2a3)],_0x489956[_0x41a78c(0x1da)][_0x41a78c(0x1e6)]);this[_0x41a78c(0x2a5)][_0x41a78c(0x20b)](messageId(_0x1a56c4['id']));}throw _0x343fd3;}}[_0x177318(0x33b)](_0xcea176){const _0x15054a=_0x177318;if(_0xcea176['method']!=='tools/call')return![];const _0x170b44=_0xcea176[_0x15054a(0x287)]?.[_0x15054a(0x1c6)]||'',_0x32f652=_0xcea176[_0x15054a(0x287)]?.[_0x15054a(0x345)]?.[_0x15054a(0x1d4)];if(_0x170b44==='pipeline_checkpoint')return!(_0xcea176['params']?.['arguments']?.[_0x15054a(0x350)]&&['report',_0x15054a(0x2d8),'release','resource-wait',_0x15054a(0x1ff),'review',_0x15054a(0x2ba)][_0x15054a(0x28b)](_0x32f652));return!this[_0x15054a(0x1fe)](_0xcea176);}['isReadOnlyTool'](_0x275558){const _0xe2f12a=_0x177318,_0x1fdcaf=_0x275558[_0xe2f12a(0x287)]?.[_0xe2f12a(0x1c6)]||'';if([_0xe2f12a(0x2aa),'model_list',_0xe2f12a(0x347),_0xe2f12a(0x1cb),_0xe2f12a(0x25c),'context_load',_0xe2f12a(0x1c4),_0xe2f12a(0x2c3),_0xe2f12a(0x34c),_0xe2f12a(0x1b5),_0xe2f12a(0x305),_0xe2f12a(0x20e),'find_callees',_0xe2f12a(0x1c1),_0xe2f12a(0x24d),_0xe2f12a(0x2b7)]['includes'](_0x1fdcaf))return!![];return![];}[_0x177318(0x1be)](_0x218a07){const _0x56bef6=_0x177318;if(_0x218a07[_0x56bef6(0x21c)]==='tools/list')return(this[_0x56bef6(0x1f7)][_0x56bef6(0x2b0)]||process.env.MCP_DISCOVER_BACKENDS)==='1';if(['initialize',_0x56bef6(0x33e)][_0x56bef6(0x28b)](_0x218a07[_0x56bef6(0x21c)])||_0x218a07['method']?.[_0x56bef6(0x1e3)]('notifications/'))return![];if(_0x218a07[_0x56bef6(0x21c)]!==_0x56bef6(0x2ae))return!![];const {name:_0x4bfd1d,arguments:_0x3fddb2={}}=_0x218a07['params']||{};if(_0x4bfd1d===_0x56bef6(0x1cb))return _0x3fddb2[_0x56bef6(0x280)]===!![];if(_0x4bfd1d===_0x56bef6(0x2f3))return _0x3fddb2[_0x56bef6(0x32c)]===!![];if(_0x4bfd1d===_0x56bef6(0x347))return Boolean(_0x3fddb2[_0x56bef6(0x260)]||_0x3fddb2['service']);if(_0x4bfd1d===_0x56bef6(0x2aa))return _0x3fddb2[_0x56bef6(0x32c)]===!![];return![_0x56bef6(0x25c),'context_load'][_0x56bef6(0x28b)](_0x4bfd1d);}async[_0x177318(0x314)](){const _0x6d5e6a=_0x177318,_0x3d7824=this[_0x6d5e6a(0x2f9)],_0x14e343={};_0x14e343[_0x6d5e6a(0x310)]=_0x6d5e6a(0x216);if(!_0x3d7824)throw Object['assign'](new Error(_0x6d5e6a(0x2fc)),_0x14e343);if(_0x3d7824[_0x6d5e6a(0x203)])return;_0x3d7824[_0x6d5e6a(0x30f)]||=((async()=>{const _0x219044=_0x6d5e6a;await attachOwnedJob(_0x3d7824);const _0x15c6c9=await this[_0x219044(0x1c7)](_0x219044(0x240)),_0x5f4d4e={};_0x5f4d4e[_0x219044(0x310)]=_0x219044(0x30a);if(this[_0x219044(0x2f9)]!==_0x3d7824||_0x15c6c9[_0x219044(0x346)]!==_0x219044(0x22b)||_0x15c6c9[_0x219044(0x319)]!==_0x3d7824['pid']||_0x15c6c9[_0x219044(0x2fa)]!==this['connectionId']||_0x15c6c9[_0x219044(0x2d1)]!==this['generation'])throw Object[_0x219044(0x208)](new Error(_0x219044(0x2e3)),_0x5f4d4e);_0x3d7824[_0x219044(0x203)]=!![];})());try{await _0x3d7824['operationActivation'];}catch(_0x33d93a){_0x3d7824[_0x6d5e6a(0x30f)]=null;throw _0x33d93a;}}async['boot'](_0x701144,_0xaafc44){const _0x3044fa=_0x177318;if(this['booting'])return this[_0x3044fa(0x2e0)];this['booting']=((async()=>{const _0xa2d13a=_0x3044fa,_0xfbfa6c=verifyRelease(_0x701144,this[_0xa2d13a(0x2db)]),_0xb7f2d2={...process.env,...this[_0xa2d13a(0x1f7)]};_0xb7f2d2['APT_SUPERVISOR_CHILD']='1',_0xb7f2d2[_0xa2d13a(0x27d)]=this['connectionId'];const _0x39ad84=_0xb7f2d2;delete _0x39ad84[_0xa2d13a(0x221)];const _0x5efe26=spawn(process[_0xa2d13a(0x1ca)],[path[_0xa2d13a(0x2af)](_0x701144,_0xa2d13a(0x315))],{'cwd':this['workspace'],'stdio':[_0xa2d13a(0x25f),'pipe','pipe','ipc'],'detached':process[_0xa2d13a(0x1b8)]!==_0xa2d13a(0x223),'windowsHide':!![],'env':_0x39ad84});this[_0xa2d13a(0x2f9)]=_0x5efe26;const _0x44f488={};_0x44f488[_0xa2d13a(0x2cb)]=this[_0xa2d13a(0x2cb)],_0x44f488[_0xa2d13a(0x2fa)]=this['connectionId'],_0x44f488[_0xa2d13a(0x271)]=this[_0xa2d13a(0x271)],_0x44f488[_0xa2d13a(0x2d1)]=_0xaafc44,_0x5efe26[_0xa2d13a(0x255)]=captureOwnedChild(_0x5efe26,_0x44f488),_0x5efe26[_0xa2d13a(0x27f)]=_0x5efe26[_0xa2d13a(0x255)][_0xa2d13a(0x1f9)]||null,this['shutdownEvidence']=null;const _0x4bd51a={};_0x4bd51a[_0xa2d13a(0x329)]=_0xfbfa6c['version'],_0x4bd51a['digest']=_0xfbfa6c['digest'],_0x4bd51a[_0xa2d13a(0x2d1)]=_0xaafc44,_0x5efe26[_0xa2d13a(0x359)]=_0x4bd51a,_0x5efe26[_0xa2d13a(0x23d)]=![],_0x5efe26[_0xa2d13a(0x211)]['on'](_0xa2d13a(0x212),_0x3ab94e=>this[_0xa2d13a(0x248)](_0x3ab94e,_0x5efe26)),_0x5efe26[_0xa2d13a(0x332)]['on'](_0xa2d13a(0x212),_0x401512=>this[_0xa2d13a(0x332)][_0xa2d13a(0x232)](_0x401512)),_0x5efe26['on'](_0xa2d13a(0x24c),_0x23f656=>this['receiveControl'](_0x23f656,_0x5efe26)),_0x5efe26['on'](_0xa2d13a(0x340),(_0x4fee84,_0x533a3f)=>this[_0xa2d13a(0x24b)](_0x5efe26,_0x4fee84,_0x533a3f)),_0x5efe26['on'](_0xa2d13a(0x219),_0xa43cf4=>_0x5efe26[_0xa2d13a(0x1df)]?.(_0xa43cf4));const _0x5c120e=new Promise((_0x431824,_0x21f18b)=>{const _0x10e790=_0xa2d13a,_0x4042b7={};_0x4042b7[_0x10e790(0x310)]=_0x10e790(0x1b4);const _0x300ae1=setTimeout(()=>_0x21f18b(Object['assign'](new Error('Runtime\x20child\x20startup\x20timed\x20out'),_0x4042b7)),0x3a98);_0x5efe26[_0x10e790(0x26e)]=_0x14341e=>{clearTimeout(_0x300ae1),_0x431824(_0x14341e);},_0x5efe26[_0x10e790(0x1df)]=_0x1cd84d=>{clearTimeout(_0x300ae1),_0x21f18b(_0x1cd84d);};});_0x5c120e[_0xa2d13a(0x206)](()=>{});try{_0x5efe26[_0xa2d13a(0x263)]({'type':'boot','runtimeRoot':this['runtimeRoot'],'release':_0x701144,'publicKey':this[_0xa2d13a(0x2db)]?.['toString'](),'connectionId':this[_0xa2d13a(0x2fa)],'generation':_0xaafc44,'workspace':this['workspace'],'explicitWorkspace':this[_0xa2d13a(0x29d)],'gatewayBinding':this['gatewayBinding']});const _0xe3f4eb=await _0x5c120e;_0x5efe26[_0xa2d13a(0x23d)]=!![],this[_0xa2d13a(0x328)]=Array[_0xa2d13a(0x32b)](_0xe3f4eb[_0xa2d13a(0x1dc)])?_0xe3f4eb['controlCapabilities']:[],this['identity']=_0xfbfa6c,this['resourceDigest']=_0xe3f4eb['resourceDigest'],this[_0xa2d13a(0x2d1)]=_0xaafc44,this[_0xa2d13a(0x296)]=_0xa2d13a(0x2ec),this[_0xa2d13a(0x2ac)]();}catch(_0x392d11){_0x5efe26[_0xa2d13a(0x1df)]?.(_0x392d11);try{await attachOwnedJob(_0x5efe26),await stopOwnedChild(_0x5efe26,{'graceMs':0x64,'reason':_0xa2d13a(0x297),'graceful':()=>{const _0x37d837=_0xa2d13a;if(_0x5efe26[_0x37d837(0x26b)])_0x5efe26[_0x37d837(0x2ab)]();}});}catch(_0x3137cd){const _0x1ec24c={};_0x1ec24c[_0xa2d13a(0x2f5)]=_0x3137cd[_0xa2d13a(0x310)];throw Object[_0xa2d13a(0x208)](_0x392d11,_0x1ec24c);}if(this[_0xa2d13a(0x2f9)]===_0x5efe26)this['child']=null;throw _0x392d11;}})());try{return await this[_0x3044fa(0x2e0)];}finally{this['booting']=null;}}[_0x177318(0x248)](_0x571dde,_0x317304){const _0x52ca94=_0x177318;if(this['child']!==_0x317304)return;const _0x3e9b07=this[_0x52ca94(0x27c)][_0x52ca94(0x232)](_0x571dde);this[_0x52ca94(0x1fd)]+=_0x3e9b07;let _0x3b5163;while((_0x3b5163=this[_0x52ca94(0x1fd)][_0x52ca94(0x311)]('\x0a'))>=0x0){const _0x54f20d=this['outputBuffer']['slice'](0x0,_0x3b5163);this[_0x52ca94(0x1fd)]=this[_0x52ca94(0x1fd)][_0x52ca94(0x1c5)](_0x3b5163+0x1);if(!_0x54f20d)continue;let _0x5a77be;try{_0x5a77be=JSON['parse'](_0x54f20d);}catch{continue;}const _0x4f9177=_0x5a77be['id']!==undefined&&this[_0x52ca94(0x26c)][_0x52ca94(0x28f)](messageId(_0x5a77be['id']));if(_0x4f9177){this[_0x52ca94(0x26c)][_0x52ca94(0x20b)](messageId(_0x5a77be['id'])),_0x4f9177[_0x52ca94(0x215)](_0x5a77be);continue;}const _0xb4884d=_0x5a77be['id']!==undefined?this['pending'][_0x52ca94(0x28f)](messageId(_0x5a77be['id'])):null;if(_0xb4884d){if(_0xb4884d[_0x52ca94(0x1da)])finishOperation(this[_0x52ca94(0x2cb)],_0xb4884d['ticket']['invocationId'],_0xb4884d['ticket'][_0x52ca94(0x1e6)]);this[_0x52ca94(0x2a5)]['delete'](messageId(_0x5a77be['id']));if(_0xb4884d[_0x52ca94(0x21c)]===_0x52ca94(0x1c2)&&!_0x5a77be[_0x52ca94(0x219)]){try{this[_0x52ca94(0x237)]=!![];if(this[_0x52ca94(0x309)]['mutationAllowed']){if(this[_0x52ca94(0x2ed)])this['commitGeneration'](),this[_0x52ca94(0x296)]='active';else this[_0x52ca94(0x296)]=_0x52ca94(0x28e);}else this[_0x52ca94(0x296)]=_0x52ca94(0x230);}catch(_0xad00da){this['activation']=_0x52ca94(0x284);const _0x3bf773={};_0x3bf773['code']=-0x7d01,_0x3bf773['message']=_0xad00da[_0x52ca94(0x310)]||_0x52ca94(0x2e2),_0x5a77be={'jsonrpc':'2.0','id':_0x5a77be['id'],'error':_0x3bf773};}this[_0x52ca94(0x2ac)]();if(this[_0x52ca94(0x309)][_0x52ca94(0x333)])void this[_0x52ca94(0x22c)]()['catch'](_0x4d4122=>{const _0x2b31f4=_0x52ca94,_0x32062f={};_0x32062f['blocker']=_0x4d4122['code']||'ADMISSION_RELEASE_FAILED',this[_0x2b31f4(0x2ac)](_0x32062f);});}if(_0xb4884d[_0x52ca94(0x21c)]===_0x52ca94(0x301)&&!_0x5a77be[_0x52ca94(0x219)]){this[_0x52ca94(0x2ed)]=hash(JSON[_0x52ca94(0x1ce)](_0x5a77be['result']?.[_0x52ca94(0x1ef)]||[]));if(this[_0x52ca94(0x309)][_0x52ca94(0x333)]&&this[_0x52ca94(0x237)]&&this['activation']===_0x52ca94(0x28e))try{this[_0x52ca94(0x2ff)](),this[_0x52ca94(0x296)]=_0x52ca94(0x2c0),this[_0x52ca94(0x2ac)]();}catch(_0x396b50){this[_0x52ca94(0x296)]=_0x52ca94(0x284);const _0x93db36={};_0x93db36['blocker']=_0x396b50[_0x52ca94(0x310)]||_0x52ca94(0x2e2),this[_0x52ca94(0x2ac)](_0x93db36);}}}!this[_0x52ca94(0x211)][_0x52ca94(0x232)](JSON['stringify'](_0x5a77be)+'\x0a')&&(_0x317304[_0x52ca94(0x211)]['pause'](),this[_0x52ca94(0x211)][_0x52ca94(0x233)](_0x52ca94(0x2f1),()=>_0x317304['stdout'][_0x52ca94(0x322)]()));}}async[_0x177318(0x22c)](){const _0xe9e8c1=_0x177318,_0x1bba21=readFence(this['workspace']);if(_0x1bba21[_0xe9e8c1(0x330)]!=='closed'||_0x1bba21['targetVersion']!==this[_0xe9e8c1(0x2ca)]?.[_0xe9e8c1(0x329)]||_0x1bba21[_0xe9e8c1(0x300)]!==this[_0xe9e8c1(0x2ca)]?.[_0xe9e8c1(0x2b2)])return;const _0x7d664c=path['join'](this['workspace'],'.agents','runtime',_0xe9e8c1(0x2bc));let _0x469e27;try{_0x469e27=JSON[_0xe9e8c1(0x1d7)](fs[_0xe9e8c1(0x278)](_0x7d664c,'utf8'));}catch{return;}if(_0x469e27[_0xe9e8c1(0x268)]!==_0x1bba21[_0xe9e8c1(0x268)]||!['resources-applied',_0xe9e8c1(0x284)][_0xe9e8c1(0x28b)](_0x469e27[_0xe9e8c1(0x276)]))return;const _0x317698=await require('./connection-activation')['probeWorkspaceConnections'](this['workspace'],{'version':this[_0xe9e8c1(0x2ca)][_0xe9e8c1(0x329)],'digest':this['identity']['digest'],'resourceDigest':this[_0xe9e8c1(0x1f5)],'catalogHash':this[_0xe9e8c1(0x2ed)]});if(_0x317698[_0xe9e8c1(0x276)]!==_0xe9e8c1(0x2c0))return;const _0x4375e3=new Set(_0x317698[_0xe9e8c1(0x1d8)][_0xe9e8c1(0x253)](_0x410e5e=>_0x410e5e[_0xe9e8c1(0x2fa)])),_0x4a3471=changeFence(this['workspace'],_0x1bba21[_0xe9e8c1(0x1e6)],{'state':_0xe9e8c1(0x262),'transactionId':_0x1bba21['transactionId'],'generation':this[_0xe9e8c1(0x2d1)],'guard':_0x201996=>_0x201996[_0xe9e8c1(0x330)]==='closed'&&_0x201996[_0xe9e8c1(0x268)]===_0x1bba21[_0xe9e8c1(0x268)]&&Object[_0xe9e8c1(0x265)](_0x201996[_0xe9e8c1(0x28d)]||{})[_0xe9e8c1(0x1f8)](_0x8ea543=>_0x8ea543[_0xe9e8c1(0x330)]!=='closed')[_0xe9e8c1(0x1f3)](_0x5bef03=>_0x4375e3[_0xe9e8c1(0x30e)](_0x5bef03[_0xe9e8c1(0x2fa)]))}),_0x52f4f5={..._0x469e27};_0x52f4f5[_0xe9e8c1(0x276)]=_0xe9e8c1(0x2c0),_0x52f4f5['activationEvidence']=_0xe9e8c1(0x1b2),_0x52f4f5[_0xe9e8c1(0x2d1)]=this[_0xe9e8c1(0x2d1)],_0x52f4f5[_0xe9e8c1(0x213)]=_0x4a3471[_0xe9e8c1(0x213)],atomic(_0x7d664c,_0x52f4f5);}[_0x177318(0x2fe)](_0x5ece2d,_0x27a6ac){const _0x462922=_0x177318;if(this['child']!==_0x27a6ac)return;if(_0x5ece2d?.[_0x462922(0x346)]==='context-proposed'){const _0x299326=this[_0x462922(0x26c)][_0x462922(0x28f)](messageId(_0x5ece2d['requestId']));let _0x2b754d=_0x299326?.[_0x462922(0x346)]==='issue-context';try{if(_0x2b754d)_0x299326[_0x462922(0x358)][_0x462922(0x1e8)]();}catch{_0x2b754d=![];}const _0x279971={};_0x279971['type']='commit-context',_0x279971['requestId']=_0x5ece2d[_0x462922(0x294)];const _0x22940b={};_0x22940b[_0x462922(0x346)]=_0x462922(0x32a),_0x22940b[_0x462922(0x2dd)]=_0x5ece2d[_0x462922(0x294)];if(_0x27a6ac[_0x462922(0x26b)])_0x27a6ac['send'](_0x2b754d?_0x279971:_0x22940b,()=>{});return;}if(_0x5ece2d?.[_0x462922(0x346)]===_0x462922(0x23d)){const _0x22418b=_0x27a6ac['expectedBoot'],_0xda6b38={};_0xda6b38[_0x462922(0x310)]=_0x462922(0x30a);if(!_0x22418b||_0x5ece2d[_0x462922(0x2fa)]!==this[_0x462922(0x2fa)]||_0x5ece2d[_0x462922(0x319)]!==_0x27a6ac[_0x462922(0x319)]||_0x5ece2d[_0x462922(0x2d1)]!==_0x22418b['generation']||_0x5ece2d['version']!==_0x22418b[_0x462922(0x329)]||_0x5ece2d[_0x462922(0x2b2)]!==_0x22418b[_0x462922(0x2b2)]||!same(_0x5ece2d[_0x462922(0x2cb)]||'',this[_0x462922(0x2cb)]))_0x27a6ac[_0x462922(0x1df)]?.(Object['assign'](new Error(_0x462922(0x2e6)),_0xda6b38));else _0x27a6ac['bootResolve']?.(_0x5ece2d);}else{if(_0x5ece2d?.[_0x462922(0x346)]===_0x462922(0x1e7))_0x27a6ac['bootReject']?.(Object['assign'](new Error(_0x5ece2d[_0x462922(0x1b0)]),{'code':_0x5ece2d[_0x462922(0x310)]}));else{if(_0x5ece2d?.[_0x462922(0x346)]==='workspace-bound')this['rebindWorkspace'](_0x5ece2d[_0x462922(0x2cb)]);else{if(_0x5ece2d?.[_0x462922(0x294)]&&this['control'][_0x462922(0x30e)](messageId(_0x5ece2d[_0x462922(0x294)]))){if(_0x5ece2d['type']===_0x462922(0x214)&&_0x5ece2d[_0x462922(0x319)]===_0x27a6ac[_0x462922(0x319)]&&_0x5ece2d[_0x462922(0x2fa)]===this['connectionId']&&_0x5ece2d['generation']===this[_0x462922(0x2d1)]&&_0x5ece2d[_0x462922(0x337)]===!![])_0x27a6ac[_0x462922(0x1db)]=!![];const _0x4df612=this['control'][_0x462922(0x28f)](messageId(_0x5ece2d[_0x462922(0x294)]));this['control'][_0x462922(0x20b)](messageId(_0x5ece2d['requestId'])),_0x4df612['resolve'](_0x5ece2d);}}}}}async[_0x177318(0x1c7)](_0x492f51,_0x745077={},_0x108379=0x1388,_0x2d9f82={}){const _0x241714=_0x177318,_0x4e1641=_0x492f51===_0x241714(0x241)?require(_0x241714(0x1d9))['acceptHookLease'](_0x745077[_0x241714(0x2f7)]?.[_0x241714(0x312)],_0x2d9f82):null;_0x4e1641?.[_0x241714(0x1e8)]();const _0x382776={};_0x382776['name']=_0x745077[_0x241714(0x2f7)]?.[_0x241714(0x29a)],_0x382776[_0x241714(0x345)]=_0x745077[_0x241714(0x2f7)]?.[_0x241714(0x345)];const _0xa05b9d={};_0xa05b9d[_0x241714(0x21c)]=_0x241714(0x2ae),_0xa05b9d[_0x241714(0x287)]=_0x382776;const _0x3ac255=_0x492f51===_0x241714(0x241)&&!this[_0x241714(0x1be)](_0xa05b9d);if(![_0x241714(0x276),_0x241714(0x240)][_0x241714(0x28b)](_0x492f51)&&!_0x3ac255)await this[_0x241714(0x314)]();_0x4e1641?.['assertCurrent']();const _0x416af6={};_0x416af6['code']=_0x241714(0x216);if(!this['child']?.['connected'])return Promise[_0x241714(0x2f6)](Object[_0x241714(0x208)](new Error('Runtime\x20child\x20is\x20unavailable'),_0x416af6));const _0x34e493=Math[_0x241714(0x2f2)](0x1,Math[_0x241714(0x23c)](_0x108379,_0x4e1641?.[_0x241714(0x327)]()??_0x108379));if(_0x4e1641)_0x745077={..._0x745077,'input':{..._0x745077[_0x241714(0x2f7)],'hookLease':{..._0x4e1641['wire'],'notAfter':Math[_0x241714(0x23c)](_0x4e1641['wire']['notAfter'],Date[_0x241714(0x25e)]()+_0x34e493),'maxDurationMs':Math[_0x241714(0x23c)](_0x4e1641['wire'][_0x241714(0x210)],Math[_0x241714(0x2ef)](_0x34e493))}}};const _0x3c3387=_0x241714(0x273)+crypto[_0x241714(0x318)]();return new Promise((_0x2f3599,_0x2a22e0)=>{const _0x168e65=_0x241714,_0x1182a2=this[_0x168e65(0x2f9)],_0x40f955=(_0x3923b4=_0x168e65(0x2a9))=>{const _0x2e03bf=_0x168e65;clearTimeout(_0x1aa892),_0x2d9f82[_0x2e03bf(0x29c)]?.[_0x2e03bf(0x1c3)](_0x2e03bf(0x227),_0x4569ab),this[_0x2e03bf(0x26c)][_0x2e03bf(0x20b)](messageId(_0x3c3387));if(_0x492f51==='issue-context'&&_0x1182a2['connected'])try{const _0x225e27={};_0x225e27[_0x2e03bf(0x346)]=_0x2e03bf(0x32a),_0x225e27[_0x2e03bf(0x2dd)]=_0x3c3387,_0x1182a2[_0x2e03bf(0x263)](_0x225e27,()=>{});}catch{}_0x2a22e0(Object[_0x2e03bf(0x208)](new Error(_0x3923b4),{'code':_0x3923b4}));},_0x4569ab=()=>_0x40f955(),_0x1aa892=setTimeout(()=>_0x40f955(_0x168e65(0x20d)),_0x34e493);if(_0x2d9f82[_0x168e65(0x29c)]?.['aborted'])return _0x40f955();const _0x54b7b1={};_0x54b7b1[_0x168e65(0x233)]=!![],_0x2d9f82[_0x168e65(0x29c)]?.[_0x168e65(0x217)](_0x168e65(0x227),_0x4569ab,_0x54b7b1),this[_0x168e65(0x26c)]['set'](messageId(_0x3c3387),{'type':_0x492f51,'lease':_0x4e1641,'resolve':_0x513d38=>{const _0x260a1a=_0x168e65;try{_0x4e1641?.[_0x260a1a(0x1e8)]();}catch{return _0x40f955();}clearTimeout(_0x1aa892),_0x2d9f82[_0x260a1a(0x29c)]?.['removeEventListener'](_0x260a1a(0x227),_0x4569ab),_0x2f3599(_0x513d38);}});try{const _0x3c4d36={'type':_0x492f51,'requestId':_0x3c3387,..._0x745077};_0x1182a2[_0x168e65(0x263)](_0x3c4d36,_0x2cf625=>{const _0x2cc8f5=_0x168e65;if(_0x2cf625)_0x40f955(_0x2cc8f5(0x216));});}catch{_0x40f955(_0x168e65(0x216));}});}async[_0x177318(0x1c8)](_0x6bee1,_0x166a41,_0x4e7339=0x2710){const _0x4f3eb1=_0x177318;await this[_0x4f3eb1(0x314)]();const _0x4d3c5a=_0x4f3eb1(0x22a)+crypto['randomUUID']();return new Promise((_0x3f62d2,_0x277bf1)=>{const _0x417f71=_0x4f3eb1,_0x41cdd9=setTimeout(()=>{const _0xcc949d=_0x122b;this[_0xcc949d(0x26c)][_0xcc949d(0x20b)](messageId(_0x4d3c5a));const _0x3c56f4={};_0x3c56f4[_0xcc949d(0x310)]=_0xcc949d(0x25a),_0x277bf1(Object[_0xcc949d(0x208)](new Error(_0xcc949d(0x34d)),_0x3c56f4));},_0x4e7339);this[_0x417f71(0x26c)][_0x417f71(0x23f)](messageId(_0x4d3c5a),{'resolve':_0x2eb37c=>{clearTimeout(_0x41cdd9),_0x3f62d2(_0x2eb37c);}});const _0x86a50c={};_0x86a50c[_0x417f71(0x30c)]=_0x417f71(0x2c7),_0x86a50c['id']=_0x4d3c5a,_0x86a50c[_0x417f71(0x21c)]=_0x6bee1,_0x86a50c['params']=_0x166a41,this[_0x417f71(0x2f9)][_0x417f71(0x2b8)]['write'](JSON['stringify'](_0x86a50c)+'\x0a');});}async['safeBoundary'](){const _0x357c71=_0x177318;if(this['pending'][_0x357c71(0x288)])return[{'kind':_0x357c71(0x316),'count':this[_0x357c71(0x2a5)][_0x357c71(0x288)]}];const _0x1e8f8c=await this[_0x357c71(0x1c7)](_0x357c71(0x276)),_0x4ef50b={};return _0x4ef50b[_0x357c71(0x2d3)]=_0x357c71(0x235),_0x1e8f8c[_0x357c71(0x26d)]||[_0x4ef50b];}['candidateTuple'](){const _0x50300c=_0x177318,_0x3dbdc6={};return _0x3dbdc6[_0x50300c(0x2fa)]=this['connectionId'],_0x3dbdc6[_0x50300c(0x2cb)]=this[_0x50300c(0x2cb)],_0x3dbdc6[_0x50300c(0x30d)]=process[_0x50300c(0x319)],_0x3dbdc6['childPid']=this[_0x50300c(0x2f9)]?.[_0x50300c(0x319)],_0x3dbdc6[_0x50300c(0x329)]=this[_0x50300c(0x2ca)]?.[_0x50300c(0x329)],_0x3dbdc6[_0x50300c(0x2b2)]=this[_0x50300c(0x2ca)]?.['digest'],_0x3dbdc6[_0x50300c(0x1f5)]=this[_0x50300c(0x1f5)],_0x3dbdc6[_0x50300c(0x307)]=this[_0x50300c(0x2ed)],_0x3dbdc6[_0x50300c(0x2d1)]=this[_0x50300c(0x2d1)],_0x3dbdc6;}async[_0x177318(0x2c9)](_0x31f46a){const _0x3a8164=_0x177318,_0x1a04be={};_0x1a04be[_0x3a8164(0x310)]=_0x3a8164(0x216);if(!this[_0x3a8164(0x2f9)])throw Object[_0x3a8164(0x208)](new Error('Child\x20ownership\x20is\x20unknown'),_0x1a04be);const _0x26b97b=this[_0x3a8164(0x2f9)];_0x26b97b[_0x3a8164(0x279)]||=((async()=>{const _0x3486e9=_0x3a8164;if(!_0x26b97b[_0x3486e9(0x243)])await this['enableOwnedOperations']();let _0x25cf84=![];const _0x58f933=await stopOwnedChild(_0x26b97b,{'reason':_0x31f46a,'graceful':async()=>{const _0x5ee24b=_0x3486e9,_0x40e947={};_0x40e947[_0x5ee24b(0x2a6)]=_0x31f46a;const _0x5e90d0=await this['requestChild'](_0x5ee24b(0x2b5),_0x40e947,0x3a98);_0x25cf84=_0x5e90d0[_0x5ee24b(0x346)]===_0x5ee24b(0x214)&&_0x5e90d0['pid']===_0x26b97b[_0x5ee24b(0x319)]&&_0x5e90d0['connectionId']===this[_0x5ee24b(0x2fa)]&&_0x5e90d0[_0x5ee24b(0x2d1)]===(_0x26b97b[_0x5ee24b(0x359)]?.[_0x5ee24b(0x2d1)]??this['generation'])&&_0x5e90d0[_0x5ee24b(0x337)]===!![];}}),_0x5e796={};_0x5e796['code']=_0x3486e9(0x2a8);if(process[_0x3486e9(0x1b8)]!==_0x3486e9(0x223)&&!_0x25cf84)throw Object['assign'](new Error(_0x3486e9(0x22f)),_0x5e796);const _0x42b927={..._0x58f933};return _0x42b927['registeredOwnersStopped']=_0x25cf84,_0x26b97b[_0x3486e9(0x29e)]=_0x42b927,_0x26b97b[_0x3486e9(0x29e)];})());const _0x4ed4a3=await _0x26b97b[_0x3a8164(0x279)],_0x2fe159={};_0x2fe159[_0x3a8164(0x310)]='PROCESS_TREE_STOP_UNCONFIRMED';if(process['platform']!==_0x3a8164(0x223)&&_0x26b97b['shutdownEvidence']?.['registeredOwnersStopped']!==!![])throw Object['assign'](new Error(_0x3a8164(0x22f)),_0x2fe159);this['child']===_0x26b97b&&(this[_0x3a8164(0x29e)]=_0x26b97b[_0x3a8164(0x29e)]||_0x4ed4a3,this['child']=null,this[_0x3a8164(0x1fd)]='',this[_0x3a8164(0x27c)]=new StringDecoder(_0x3a8164(0x290)));}async[_0x177318(0x1bd)](_0x121b4a){const _0x1bb3f7=_0x177318;if(this[_0x1bb3f7(0x1c2)]){const _0x39ef59=await this[_0x1bb3f7(0x1c8)](_0x1bb3f7(0x1c2),this['initialize']),_0x26f1c9={};_0x26f1c9[_0x1bb3f7(0x310)]=_0x1bb3f7(0x25d);if(_0x39ef59['error'])throw Object[_0x1bb3f7(0x208)](new Error(_0x1bb3f7(0x34b)),_0x26f1c9);const _0x255dfe={};_0x255dfe[_0x1bb3f7(0x30c)]='2.0',_0x255dfe[_0x1bb3f7(0x21c)]=_0x1bb3f7(0x317),_0x255dfe[_0x1bb3f7(0x287)]={};if(this['initialized'])this['child'][_0x1bb3f7(0x2b8)][_0x1bb3f7(0x232)](JSON[_0x1bb3f7(0x1ce)](_0x255dfe)+'\x0a');}const _0x88e25d=await this[_0x1bb3f7(0x1c8)]('tools/list',{}),_0x1d0237=hash(JSON[_0x1bb3f7(0x1ce)](_0x88e25d[_0x1bb3f7(0x2ce)]?.['tools']||[])),_0x2dabb0={};_0x2dabb0[_0x1bb3f7(0x310)]=_0x1bb3f7(0x325);if(_0x88e25d[_0x1bb3f7(0x219)]||this[_0x1bb3f7(0x2ed)]&&_0x1d0237!==this['toolCatalogHash'])throw Object['assign'](new Error(_0x1bb3f7(0x339)),_0x2dabb0);this[_0x1bb3f7(0x2ed)]=_0x1d0237;const _0x536547={};_0x536547[_0x1bb3f7(0x1b3)]=_0x121b4a['hostSessionId'],_0x536547[_0x1bb3f7(0x222)]=_0x121b4a[_0x1bb3f7(0x222)],await this['requestChild'](_0x1bb3f7(0x331),_0x536547);}async[_0x177318(0x2d9)](_0x22f9d7){const _0x2f575c=_0x177318,_0x427e36=readFence(this['workspace']),_0x50c3d4={};_0x50c3d4['code']=_0x2f575c(0x2ee);if(_0x427e36[_0x2f575c(0x330)]!==_0x2f575c(0x1c9)||_0x22f9d7['transactionId']!==_0x427e36[_0x2f575c(0x268)]||_0x22f9d7[_0x2f575c(0x1e6)]!==_0x427e36[_0x2f575c(0x1e6)])throw Object['assign'](new Error(_0x2f575c(0x1eb)),_0x50c3d4);const _0x287dba={};_0x287dba['status']=_0x2f575c(0x2da),_0x287dba[_0x2f575c(0x310)]=_0x2f575c(0x1d3);if(this[_0x2f575c(0x201)])return _0x287dba;this[_0x2f575c(0x2e5)](_0x22f9d7['transactionId']),this[_0x2f575c(0x24f)]=!![];if(_0x22f9d7['type']===_0x2f575c(0x35a)){const _0x1ce512={};_0x1ce512[_0x2f575c(0x310)]=_0x2f575c(0x31b);if(!this[_0x2f575c(0x21b)]||this[_0x2f575c(0x21b)][_0x2f575c(0x268)]!==_0x22f9d7['transactionId']||!this[_0x2f575c(0x21b)][_0x2f575c(0x252)]||!this['child']?.[_0x2f575c(0x23d)])throw Object['assign'](new Error(_0x2f575c(0x342)),_0x1ce512);const _0x48849c=await this[_0x2f575c(0x1c7)]('status'),_0x1900c6={};_0x1900c6[_0x2f575c(0x310)]=_0x2f575c(0x30a);if(_0x48849c[_0x2f575c(0x319)]!==this['child'][_0x2f575c(0x319)]||_0x48849c[_0x2f575c(0x2d1)]!==_0x22f9d7[_0x2f575c(0x2d1)]||!same(_0x48849c[_0x2f575c(0x2cb)],this[_0x2f575c(0x2cb)]))throw Object[_0x2f575c(0x208)](new Error(_0x2f575c(0x326)),_0x1900c6);const _0x4716f4=acknowledgeGeneration(this['workspace'],this[_0x2f575c(0x2fa)],_0x22f9d7[_0x2f575c(0x268)],this[_0x2f575c(0x343)]());projectGeneration(this[_0x2f575c(0x271)],this[_0x2f575c(0x2cb)],_0x4716f4),this[_0x2f575c(0x2f0)]=this[_0x2f575c(0x21b)][_0x2f575c(0x2f0)],this[_0x2f575c(0x296)]=_0x2f575c(0x2c0),this['admissionClosed']=![];const _0xa2216b={};return _0xa2216b[_0x2f575c(0x225)]=_0x4716f4[_0x2f575c(0x268)],this[_0x2f575c(0x2ac)](_0xa2216b),{'status':_0x2f575c(0x2c0),...this[_0x2f575c(0x343)]()};}const _0x1367ee=readGeneration(this[_0x2f575c(0x2cb)]),_0xc759c4={};_0xc759c4[_0x2f575c(0x310)]='RESOURCE_ROLL_FORWARD_REQUIRED';if(_0x22f9d7[_0x2f575c(0x346)]===_0x2f575c(0x298)&&_0x1367ee?.[_0x2f575c(0x268)]===_0x22f9d7[_0x2f575c(0x268)])throw Object['assign'](new Error(_0x2f575c(0x22d)),_0xc759c4);if(_0x22f9d7['type']===_0x2f575c(0x282)&&this[_0x2f575c(0x21b)]?.[_0x2f575c(0x268)]===_0x22f9d7[_0x2f575c(0x268)]&&this[_0x2f575c(0x21b)][_0x2f575c(0x252)]&&this[_0x2f575c(0x2f9)]?.[_0x2f575c(0x23d)]){const _0x3c510c=this['candidateTuple'](),_0x39aa9a={};_0x39aa9a[_0x2f575c(0x310)]=_0x2f575c(0x2ad);if(['version','digest','generation','resourceDigest',_0x2f575c(0x307)]['some'](_0x46704c=>_0x3c510c[_0x46704c]!==_0x22f9d7[_0x46704c]))throw Object[_0x2f575c(0x208)](new Error(_0x2f575c(0x2c1)),_0x39aa9a);const _0xb5a3de=await this[_0x2f575c(0x1c7)](_0x2f575c(0x276)),_0x113155={};_0x113155[_0x2f575c(0x310)]=_0x2f575c(0x30a);if(_0xb5a3de['pid']!==_0x3c510c[_0x2f575c(0x1ee)]||_0xb5a3de[_0x2f575c(0x2d1)]!==_0x3c510c[_0x2f575c(0x2d1)]||!same(_0xb5a3de[_0x2f575c(0x2cb)],this['workspace']))throw Object[_0x2f575c(0x208)](new Error('Candidate\x20readiness\x20is\x20no\x20longer\x20valid'),_0x113155);const _0x2f6a56={'status':'candidate-ready',..._0x3c510c};return _0x2f6a56;}this[_0x2f575c(0x201)]=((async()=>{const _0x5334d4=_0x2f575c;if(_0x22f9d7[_0x5334d4(0x346)]==='stop-for-update'){if(this[_0x5334d4(0x21b)]?.[_0x5334d4(0x268)]===_0x22f9d7[_0x5334d4(0x268)]&&this[_0x5334d4(0x21b)][_0x5334d4(0x214)]&&this['candidate'][_0x5334d4(0x252)]&&!this[_0x5334d4(0x21b)][_0x5334d4(0x249)])return{'status':this[_0x5334d4(0x2f9)]?.[_0x5334d4(0x23d)]?_0x5334d4(0x259):_0x5334d4(0x2da),'code':this[_0x5334d4(0x2f9)]?.[_0x5334d4(0x23d)]?undefined:_0x5334d4(0x20c),'oldRuntimeStopped':!![],...this['candidateTuple']()};if(this[_0x5334d4(0x21b)]?.[_0x5334d4(0x268)]===_0x22f9d7[_0x5334d4(0x268)]&&this[_0x5334d4(0x21b)][_0x5334d4(0x214)]&&!this['candidate'][_0x5334d4(0x249)]&&!this['child'])return{'status':_0x5334d4(0x214),'connectionId':this[_0x5334d4(0x2fa)]};const _0x236323=await this['safeBoundary']();if(_0x236323[_0x5334d4(0x256)])return{'status':_0x5334d4(0x2da),'blockers':_0x236323};const _0x5bf3a4=await this[_0x5334d4(0x1c7)](_0x5334d4(0x276));this[_0x5334d4(0x21b)]={'transactionId':_0x22f9d7[_0x5334d4(0x268)],'previous':{'release':this['release'],'generation':this['generation'],'resourceDigest':this['resourceDigest'],'state':_0x5bf3a4}},this['persistCandidate'](),await this[_0x5334d4(0x2c9)](_0x5334d4(0x2fd)),this[_0x5334d4(0x21b)][_0x5334d4(0x214)]=!![],this[_0x5334d4(0x320)]();const _0x462d34={};_0x462d34[_0x5334d4(0x2c8)]=_0x22f9d7[_0x5334d4(0x268)],this[_0x5334d4(0x2ac)](_0x462d34);const _0x1df80e={};return _0x1df80e[_0x5334d4(0x276)]='stopped',_0x1df80e[_0x5334d4(0x2fa)]=this[_0x5334d4(0x2fa)],_0x1df80e[_0x5334d4(0x29e)]=this['shutdownEvidence'],_0x1df80e;}if(_0x22f9d7['type']==='restore-previous'){const _0xf7ce9e={};_0xf7ce9e[_0x5334d4(0x310)]=_0x5334d4(0x1d0);if(!this[_0x5334d4(0x21b)])throw Object[_0x5334d4(0x208)](new Error('Previous\x20runtime\x20ownership\x20was\x20not\x20recovered'),_0xf7ce9e);const _0x1acaba=this[_0x5334d4(0x21b)][_0x5334d4(0x272)],_0x32f932={};_0x32f932['code']=_0x5334d4(0x1d0);if(!_0x1acaba?.[_0x5334d4(0x330)]||!this['candidate'][_0x5334d4(0x214)])throw Object['assign'](new Error(_0x5334d4(0x352)),_0x32f932);if(this[_0x5334d4(0x2f9)])await this[_0x5334d4(0x2c9)](_0x5334d4(0x27e));await this['boot'](_0x1acaba[_0x5334d4(0x2f0)],_0x1acaba['generation']);const _0x4e948b={};_0x4e948b[_0x5334d4(0x310)]=_0x5334d4(0x2cf);if(this['resourceDigest']!==_0x1acaba['resourceDigest'])throw Object[_0x5334d4(0x208)](new Error(_0x5334d4(0x2de)),_0x4e948b);return await this[_0x5334d4(0x1bd)](_0x1acaba[_0x5334d4(0x330)]),this[_0x5334d4(0x2f0)]=_0x1acaba['release'],this['candidate']={...this[_0x5334d4(0x21b)],'restored':!![],'prepared':![]},this[_0x5334d4(0x320)](),this['activation']='pending-safe-boundary',this[_0x5334d4(0x24f)]=![],this[_0x5334d4(0x2ac)](),{'status':_0x5334d4(0x26f),'serving':this[_0x5334d4(0x2f9)]?.[_0x5334d4(0x23d)]===!![],...this[_0x5334d4(0x343)]()};}const _0x37e62a={};_0x37e62a[_0x5334d4(0x310)]=_0x5334d4(0x2ad);if(!Number[_0x5334d4(0x2f8)](_0x22f9d7[_0x5334d4(0x2d1)])||_0x22f9d7[_0x5334d4(0x2d1)]<=(this['candidate']?.['previous']?.[_0x5334d4(0x2d1)]??this['generation'])||_0x22f9d7['version']!==_0x427e36[_0x5334d4(0x2b1)]||_0x22f9d7[_0x5334d4(0x2b2)]!==_0x427e36[_0x5334d4(0x300)])throw Object[_0x5334d4(0x208)](new Error(_0x5334d4(0x334)),_0x37e62a);const _0x4d9594=_0x22f9d7[_0x5334d4(0x2f0)]||path[_0x5334d4(0x2af)](this[_0x5334d4(0x271)],_0x5334d4(0x33c),_0x22f9d7[_0x5334d4(0x329)]+'-'+_0x22f9d7[_0x5334d4(0x2b2)]),_0x23a854=verifyRelease(_0x4d9594,this[_0x5334d4(0x2db)]),_0x5d4c46={};_0x5d4c46['code']=_0x5334d4(0x2ad);if(_0x23a854[_0x5334d4(0x329)]!==_0x22f9d7[_0x5334d4(0x329)]||_0x23a854[_0x5334d4(0x2b2)]!==_0x22f9d7[_0x5334d4(0x2b2)])throw Object[_0x5334d4(0x208)](new Error(_0x5334d4(0x21d)),_0x5d4c46);const _0x621b76={};_0x621b76[_0x5334d4(0x310)]=_0x5334d4(0x2b4);if(!this[_0x5334d4(0x21b)]?.[_0x5334d4(0x214)]||this[_0x5334d4(0x21b)][_0x5334d4(0x268)]!==_0x22f9d7[_0x5334d4(0x268)])throw Object[_0x5334d4(0x208)](new Error(_0x5334d4(0x2eb)),_0x621b76);const _0x4cef42=this['candidate'][_0x5334d4(0x272)]['state'];this[_0x5334d4(0x21b)][_0x5334d4(0x2f0)]=_0x4d9594;if(this['child'])await this[_0x5334d4(0x2c9)](_0x5334d4(0x1bc));this[_0x5334d4(0x21b)][_0x5334d4(0x252)]=![],this[_0x5334d4(0x320)](),await this[_0x5334d4(0x348)](_0x4d9594,_0x22f9d7[_0x5334d4(0x2d1)]),await this[_0x5334d4(0x1bd)](_0x4cef42);const _0x42ac37={};_0x42ac37[_0x5334d4(0x310)]=_0x5334d4(0x2ad);if(this[_0x5334d4(0x1f5)]!==_0x22f9d7[_0x5334d4(0x1f5)]||this[_0x5334d4(0x2ed)]!==_0x22f9d7[_0x5334d4(0x307)])throw Object[_0x5334d4(0x208)](new Error(_0x5334d4(0x2b9)),_0x42ac37);this['candidate'][_0x5334d4(0x252)]=!![],this[_0x5334d4(0x320)](),this[_0x5334d4(0x296)]=_0x5334d4(0x2da);const _0x4f1187={};return _0x4f1187[_0x5334d4(0x32f)]=_0x22f9d7[_0x5334d4(0x268)],this[_0x5334d4(0x2ac)](_0x4f1187),{'status':'candidate-ready',...this['candidateTuple']()};})());try{return await this[_0x2f575c(0x201)];}finally{this['transition']=null;}}async[_0x177318(0x32e)](){const _0x14588a=_0x177318,_0x177890={};return _0x177890[_0x14588a(0x276)]='reconnect-required',_0x177890['code']=_0x14588a(0x356),_0x177890;}async[_0x177318(0x24b)](_0x3c4e03,_0x3eb0c7,_0x38f030){const _0x191b58=_0x177318;if(this[_0x191b58(0x2f9)]!==_0x3c4e03)return;_0x3c4e03['closed']=!![],_0x3c4e03[_0x191b58(0x23d)]=![];const _0x53ddc9={};_0x53ddc9[_0x191b58(0x310)]=_0x191b58(0x2d4),_0x3c4e03[_0x191b58(0x1df)]?.(Object['assign'](new Error(_0x191b58(0x270)),_0x53ddc9));for(const [_0x2b0009]of this[_0x191b58(0x2a5)]){try{const _0x31eda4={};_0x31eda4[_0x191b58(0x310)]=-0x7d02,_0x31eda4[_0x191b58(0x24c)]='APT_RUNTIME_OUTCOME_UNKNOWN:\x20child\x20closed\x20after\x20request\x20delivery',this['writeHost']({'jsonrpc':_0x191b58(0x2c7),'id':JSON[_0x191b58(0x1d7)](_0x2b0009),'error':_0x31eda4});}catch{}}this['pending']['clear']();try{const _0xd791c5={};_0xd791c5[_0x191b58(0x2a6)]=_0x191b58(0x2a2),_0xd791c5[_0x191b58(0x267)]=0x3e8,_0x3c4e03[_0x191b58(0x279)]||=stopOwnedChild(_0x3c4e03,_0xd791c5);const _0x59eb8c=await _0x3c4e03[_0x191b58(0x279)];_0x3c4e03[_0x191b58(0x29e)]||={..._0x59eb8c,'registeredOwnersStopped':_0x3c4e03['shutdownAcknowledged']===!![]};}catch(_0xf85382){this[_0x191b58(0x296)]='legacy-ownership-unverified',this[_0x191b58(0x24f)]=!![];const _0x51282e={};_0x51282e[_0x191b58(0x336)]=_0x38f030||_0x3eb0c7||_0x191b58(0x335),_0x51282e[_0x191b58(0x289)]=_0xf85382[_0x191b58(0x310)]||_0x191b58(0x2a8),this[_0x191b58(0x2ac)](_0x51282e);return;}if(this[_0x191b58(0x2f9)]!==_0x3c4e03)return;if(process[_0x191b58(0x1b8)]!==_0x191b58(0x223)&&!_0x3c4e03[_0x191b58(0x1db)]){this[_0x191b58(0x296)]=_0x191b58(0x275),this[_0x191b58(0x24f)]=!![];const _0x30496b={};_0x30496b[_0x191b58(0x336)]=_0x38f030||_0x3eb0c7||_0x191b58(0x335),_0x30496b[_0x191b58(0x289)]=_0x191b58(0x2a8),this[_0x191b58(0x2ac)](_0x30496b);return;}this[_0x191b58(0x29e)]=_0x3c4e03[_0x191b58(0x29e)],this[_0x191b58(0x2f9)]=null;if(!this[_0x191b58(0x201)]&&!this['stopped']){this[_0x191b58(0x1c2)]=null,this['initialized']=![],this[_0x191b58(0x296)]=_0x191b58(0x284),this[_0x191b58(0x24f)]=!![];const _0xff68df={};_0xff68df['stopReason']=_0x38f030||_0x3eb0c7||_0x191b58(0x335),this[_0x191b58(0x2ac)](_0xff68df);}}[_0x177318(0x31c)](_0x4d9c26){const _0x3b6f67=_0x177318;this['stdout'][_0x3b6f67(0x232)](JSON[_0x3b6f67(0x1ce)](_0x4d9c26)+'\x0a');}async[_0x177318(0x340)](_0x4612c8='host-eof'){const _0x15c884=_0x177318;if(this[_0x15c884(0x243)])return;if(this[_0x15c884(0x229)])return this['closing'];this[_0x15c884(0x24f)]=!![],clearTimeout(this[_0x15c884(0x1d1)]),this[_0x15c884(0x229)]=((async()=>{const _0x22e299=_0x15c884;try{if(this['child'])await this[_0x22e299(0x2c9)](_0x4612c8);closeMember(this[_0x22e299(0x2cb)],this['connectionId'],process[_0x22e299(0x319)],!![]),this[_0x22e299(0x214)]=!![],this['closeReason']=_0x4612c8,require(_0x22e299(0x29b))[_0x22e299(0x354)](this),await new Promise(_0x20b93f=>this[_0x22e299(0x344)]?.[_0x22e299(0x340)](_0x20b93f)||_0x20b93f()),this['activation']=_0x22e299(0x2ec);const _0x38681d={};_0x38681d[_0x22e299(0x336)]=_0x4612c8,this['record'](_0x38681d);try{fs[_0x22e299(0x226)](this[_0x22e299(0x283)]);}catch{}if(process[_0x22e299(0x1b8)]!=='win32')try{fs[_0x22e299(0x226)](this[_0x22e299(0x266)]);}catch{}this[_0x22e299(0x243)]=!![];}catch(_0x240d43){this[_0x22e299(0x296)]=_0x22e299(0x275);const _0x1cc35d={};_0x1cc35d[_0x22e299(0x336)]=_0x4612c8,_0x1cc35d[_0x22e299(0x289)]=_0x240d43['code']||'CHILD_STOP_UNCONFIRMED',this['record'](_0x1cc35d);throw _0x240d43;}})());try{return await this[_0x15c884(0x229)];}finally{this[_0x15c884(0x229)]=null;}}}function _0x122b(_0x4095e5,_0x4aee9f){_0x4095e5=_0x4095e5-0x1b0;const _0x585caa=_0x585c();let _0x122b4b=_0x585caa[_0x4095e5];if(_0x122b['sMPzZn']===undefined){var _0x18037b=function(_0x253794){const _0x1c1282='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1ca808='',_0x22297b='';for(let _0xc0fce=0x0,_0x470449,_0x469ab1,_0x4463a7=0x0;_0x469ab1=_0x253794['charAt'](_0x4463a7++);~_0x469ab1&&(_0x470449=_0xc0fce%0x4?_0x470449*0x40+_0x469ab1:_0x469ab1,_0xc0fce++%0x4)?_0x1ca808+=String['fromCharCode'](0xff&_0x470449>>(-0x2*_0xc0fce&0x6)):0x0){_0x469ab1=_0x1c1282['indexOf'](_0x469ab1);}for(let _0x28e98b=0x0,_0x1393e8=_0x1ca808['length'];_0x28e98b<_0x1393e8;_0x28e98b++){_0x22297b+='%'+('00'+_0x1ca808['charCodeAt'](_0x28e98b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x22297b);};_0x122b['IhOmVG']=_0x18037b,_0x122b['ZhKXnw']={},_0x122b['sMPzZn']=!![];}const _0x18f97a=_0x585caa[0x0],_0x55a72f=_0x4095e5+_0x18f97a,_0x512e54=_0x122b['ZhKXnw'][_0x55a72f];return!_0x512e54?(_0x122b4b=_0x122b['IhOmVG'](_0x122b4b),_0x122b['ZhKXnw'][_0x55a72f]=_0x122b4b):_0x122b4b=_0x512e54,_0x122b4b;}const _0x42c25d={};_0x42c25d[_0x177318(0x299)]=ConnectionSupervisor,module[_0x177318(0x2dc)]=_0x42c25d;
|
|
1
|
+
'use strict';const _0x39a322=_0x36fb;function _0x2e62(){const _0x6f9efa=['q2fUzgLKyxrLihjLC291CMnLCYbVCIbJyxrHBg9NigrVig5VDcbTyxrJAcb0CMfUC2fJDgLVBG','lI4Vy29Yzs9VD25Lzc1SB2nR','Aw5WDxrdAgfPBG','CgLUzW','Cgf1C2u','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','Aw5PDgLHBgL6zwq','q29TBwL0DgvKigDLBMvYyxrPB24GCMvXDwLYzxmGCM9SBcbMB3j3yxjK','zw5HyMXLlw93BMvKlw9WzxjHDgLVBNm','CMvSzwfZzxm','z2v0','CMvMCMvZAfn0yxj0DxbtDgf0zq','zxzLCNK','q0HjterFrvHjvf9usu1ft1vu','DgLJA2v0','q2fUzgLKyxrLig9WzxjHDgLVBIbOyxmGysbZDgfSzsb3B3jRC3bHy2uGzxbVy2G','uhjLCgfYzwqGy2fUzgLKyxrLihr1CgXLignOyw5Nzwq','CM9VDfbHDgG','DxnLze5VBMnLCW','BgLZDf9JB2rLx2zPBgvZ','zMLSDgvY','uNvUDgLTzsbJAgLSzcbKAwqGBM90igv4Axq','Bw9Kzq','AM9PBG','lI4Vy29Yzs9PCgmTzw52zwXVCgu','Dg9VBhmVBgLZDa','DgfYz2v0vMvYC2LVBG','Aw52B2nHDgLVBKLK','zxjYB3i','lMfNzw50CW','BMfTzq','zgvZDhjVEq','DxrMoa','zhjHAw5PBMC','B25Jzq','C2HHmJu2','lNnVy2S','C29Tzq','BgLZDgvU','B3bLBLn5BMm','CgvYC2LZDenHBMrPzgf0zq','z2f0zxDHEs1IAw5KAw5N','BwfW','CNvUDgLTzs1JAgLSzc1JBg9Zzwq','C2vJCMv0','Dxb0Aw1L','lMTLEq','C2vJCMv0ugf0Aa','q0HjterFu1rbuLrFveLnru9vva','D2LUmZi','C2H1DgrVD25fDMLKzw5Jzq','CM9VDfvYAq','ChjLCgfYzwruCMfUC2fJDgLVBG','mteZnde2mxH5wwLJtG','CMvTB3zLrxzLBNrmAxn0zw5LCG','BwTKAxjtEw5J','sg9ZDcbTDxn0ihjLzNjLC2GGAxrZignHDgfSB2C','BM90qwz0zxi','zxHWBgLJAxrxB3jRC3bHy2u','C3rKAw4','zxHWzwn0zwrcB290','C3rVCc1MB3iTDxbKyxrL','AxnZDwuTy29UDgv4Da','CgLWzwXPBMvFC3rHDhvZ','zMLUzf9JywXSzwvZ','D2f0y2Hqzw5KAw5NrxHLy3v0B3i','CMvSzwfZzq','r0vorvjbveLptL9vtKnptKzjuK1fra','DgLJA2v0CW','y29TBwL0r2vUzxjHDgLVBG','yMfJA2vUza','ywXSB3DLza','q2fUzgLKyxrLihjLBgvHC2uGzg9LCYbUB3qGBwf0y2GGDhjHBNnHy3rPB24','C3rKzxjY','r0furvDbwv9csu5esu5hx1jfuvvjuKve','ugfYC2uGzxjYB3i','rvHfq1vut1jFu1rbuLrFrKfjteve','y29UBMvJDgLVBNm','ywjVCNq','Aw5JBhvKzxm','zMLSztO','Cgf0Aa','q0foreLeqvrfx1rvueXfx01ju01bveni','B3bLCMf0Aw9Uqwn0AxzHDgLVBG','ywrTAxnZAw9UlwnOzwnR','ufjpq0vtu19uuKvfx1nut1bFvu5dt05gsvjnruq6ihbYAw9Yihj1BNrPBwuGB3DUzxjZAgLWihjLCxvPCMvZihjLy292zxj5','lI4Vy29Yzs9YDw50Aw1Llwf1DgHVCML0Eq','BM9KztP1CMW','Aw5PDgLHBgL6zunHBMrPzgf0zq','zw5KCg9PBNq','ChjVy2vZC1n0yxj0','C3rHCNr1Cfn0yxrL','ndi1mdi4A0nlvfP5','lI4Vy29Yzs9OB29RlwXLyxnL','B3bLBG','D29YA3nWywnLlxjVBgXIywnR','C2v0','D3jPDgviB3n0','uKvrvuvtvf9jrf9dt05gteLdva','BM9KztPUzxq','Ag9VA0XLyxnL','C3rVCfbYB21PC2u','C2LNBMfS','CMvZDg9Yzq','z3jHy2vnCW','y29UBMvJDgLUzW','CgXHDgzVCM0','BwfJ','y2fUzgLKyxrLvhvWBgu','Ag9ZDfnLC3nPB25jza','C3rYAw5N','lNrYyw5Zywn0Aw9UlMPZB24','C3rVCfjLyxnVBG','CMvXDwLYzxnqCM9JzxnZrgLZCgf0y2G','CgvUzgLUzW','y2HPBgrfBNzPCM9UBwvUDa','D29YA3nWywnL','y2XVC2LUzW','ANnVBNjWyW','mZuZndyZmhztyNDyDG','DhjPBq','lMfNzw50CY9YDw50Aw1Ll2nVBM5Ly3rPB25Z','yxnZAwDU','DxbKyxrLlxrYyw5Zywn0Aw9UlMPZB24','y2fWDhvYzvjLz2LZDhjHDgLVBNm','ChvIBgLJs2v5','y29UDhjVBenHBMrPzgf0zq','CMvJB25JAwXLlxzLCMLMAwnHDgLVBG','yxb0lwnVBNrYB2WT','AwrLBNrPDhK','Dw5SAw5Ru3LUyW','ru5pru5u','B3DUzxjZAgLWlxvUA25VD24','ywn0AxzHDgLVBG','CMvNAxn0zxjLze93BMvYC1n0B3bWzwq','y2fUy2vSlwnVBNrLEhq','mtC4mfvNtLvpsW','yM91BMq','DMvYC2LVBG','y2HPBgrdBg9Zzwq','C2TPBgXFBg9Hza','D2fPDgLUzY1JyxrHBg9N','v09ss1nqqunfx1jfq09wrvjzx1jfuvvjuKve','y3DK','Dg9ju09tDhjPBMC','y2HPBgqTy2XVC2vK','C3rVCfjLCxvLC3rLza','Aw5WDxq','q0foreLeqvrfx05pvf9srufewq','CMvZDg9Yzs1WCMv2Aw91CW','D2LYzq','C2fMzujVDw5Kyxj5','BgvHC2u','DxbKyxrLqMXVy2TLCG','u3vWzxj2AxnVCIbYzxf1zxn0igzHAwXLza','D2fPDgLUzW','y2XVC2u','C3DPDgnOuNvUDgLTzq','B3b0Aw9UCW','lMPZB24','ywn0AxzL','D29YA3nWywnLx2XPC3q','v09ss0vsx1nut1bFvu5dt05gsvjnruq','zMXHzW','yM9VDfjLAMvJDa','uhjLDMLVDxmGCMvZB3vYy2vZihDLCMuGBM90ihjLC3rVCMvK','yM9VDfjLC29SDMu','vfjbtLnjveLptL9jtL9quK9huKvtuW','BwLU','CMvJzwLWDfbHDgG','y29UBMvJDgLVBKLK','y2fUzgLKyxrL','CNvUDgLTzvjVB3q','C3rVChbLza','CMvZB3vYy2veAwDLC3q','lI9YzwDPC3rYyxrPB24Ty2XVC3vYzq','CMvHBhbHDgHtEw5J','lI9JB25Uzwn0Aw9UlwfJDgL2yxrPB24','C2vZC2LVBKLK','zw5K','q2fUzgLKyxrLigLZig5VDcbWCMvWyxjLza','CMvZDw1L','B2zM','q09otKvdveLptL9ot1rFufjfuefsruq','Dw5Yzwy','ChjLCgfYzs1Jyw5KAwrHDgu','y2XVC2vK','q0HjterFu1rpuf9vtKnptKzjuK1fra','DgfYz2v0rgLNzxn0','v09ss1nqqunfx0jjtKrjtKDFq09orKXjq1q','y3jLyxrLu2vYDMvY','ufjpq0vtu19uuKvfx1nut1bFvu5dt05gsvjnruq','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','y2fUzgLKyxrLlxjLy292zxj5','CMvXDwvZDenOAwXK','C3rVCenOAwXK','DhLWzq','zxHLy3v0B3juAw1LCG','BM9KztPMCW','CMvJzwL2zunVBNrYB2W','CMvMCMvZAeLUDMvUDg9YEq','uMvXDwvZDcbjrcbPCYbZDgLSBcbPBIbMBgLNAhq','AgfZ','y29UC3vTzs1YzxbVCNq','B3v0Chv0qNvMzMvY','yMXVy2TLCNm','y29TBwL0lwnVBNrLEhq','CMvHzhK','DhjHBNnPDgLVBG','ywn0AxzHDgu','y2f0ywXVz0HHC2G','tK9erv9pufrjt05t','ChjVyMvxB3jRC3bHy2vdB25Uzwn0Aw9UCW','lI4Vy29Yzs9VD25Lzc1WCM9JzxnZ','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','lNrTCa','Dg9tDhjPBMC','C3vWzxj2AxnVCLbPza','zMLUzgLUzY1YzxnVBhv0Aw9U','Bw9KzwXFBgLZDa','zgLYBMfTzq','mI4W','y2fUy2vSuMvXDwvZDeLK','z2f0zxDHEujPBMrPBMC','DgHLBG','y2fUzgLKyxrLlxjLywr5','ChjVy2vZC1n0yxj0zwrbDa','CNvUDgLTzq','CMvZDwX0','CgLK','uMvNAxn0zxjLzcbVD25LCIbZAhv0zg93BIb3yxmGBM90ignVBMzPCM1Lza','C3rKB3v0','D29YA3nWywnLrNjVBuLUAxrPywXPEMu','y2f0y2G','uNvUDgLTzsbYzwfKAw5LC3mGDhvWBguGzg9LCYbUB3qGBwf0y2GGy2fUzgLKyxrL','BwvTyMvYCW','uNvUDgLTzsbJAgLSzcbJBg9Zzwq','qunusvzbveLptL9ot1rFufjfuefsruq','yM9VDc1LCNjVCG','q2fUzgLKyxrLigLUAxrPywXPEMf0Aw9UigzHAwXLza','BwnWx2fNzw50x2HLywX0Aa','DxjP','Dg9mB3DLCKnHC2u','uhjVy2vZCYbKAxnWyxrJAcbHy3rPDMf0Aw9UihDHCYbUB3qGy29UzMLYBwvK','qurnsvntsu9ox1jftevbu0vFrKfjteve','CMvXDwvZDa','uNvUDgLTzsbsuemGDgLTzwqGB3v0','CMvXDwvZDfjWyW','AgfUzhnOywTLq29TCgXLDgu','y29UDgv4Df9SB2fK','q2fUzgLKyxrLihjLywrPBMvZCYbPCYbUBYbSB25NzxiGDMfSAwq','ChjLDMLVDxmTCMvZDg9Yzwq','zgv0ywLS','z2vUzxjHDgLVBG','u1Djvenix0zbsuXfra','lI4Vy29Yzs90CMfUC3bVCNqTy2XVC2uTy29UDhjHy3qUANnVBG','mti2mJrqA0nlB1C','ywnJzxb0sg9VA0XLyxnL','y2XVC2vszwfZB24','uhjLDMLVDxmGC3rVCcbLDMLKzw5JzsbPCYbTAxnZAw5N','D3jPDgvgAwXLu3LUyW','q0HjterFq09ovfjptf9usu1ft1vu','CMvZB3vYy2uTD2fPDa','yxjNDw1LBNrZ','y2fUzgLKyxrLlwjVB3qTzMfPBgvK','uhjLDMLVDxmGCNvUDgLTzsbTDxn0ihn0B3aGyMvMB3jLihjLC291CMnLCYbJAgfUz2u','yNL0zuXLBMD0Aa','CMvHC29U','CMvQzwn0','y29TBwL0lwnHBMrPzgf0zq','Aw5WDxrcDwzMzxi','zxbVy2G','zNjVEMvU','BMf0AxzLq2fSBgvY','y2HPBgrdB250CM9Sq2fWywjPBgL0AwvZ','zxHWB3j0CW','C3rHDhvZ','C2XPy2u','q0fmtevsx0nptLrfwfrFvu5bvKfjtefcteu','Bxv0yxrPB25bBgXVD2vK','yM9VDgLUzW','zgvSzxrL','yM9VDeLKzw50Axr5','yxb0lxn1CgvYDMLZB3iT','CMvXDwvZDeLK','zgLNzxn0','BM90AwzPy2f0Aw9UCY9PBML0AwfSAxPLza','uKvdt05orunux1jfuvvjuKve','y29UBMvJDgvK','CgfYC2u','zgLZy29UBMvJDa','Bwv0Ag9K','yxnZzxj0q3vYCMvUDa','CgLWzq','yxr0zw1WDeLK','qvbux1vqrefurv9qru5esu5hoIb3B3jRC3bHy2uGAxmGzNjVEMvU','BgLUDxG','DxbKyxrL','D3jPDgu','CMvTywLUAw5Ntxm','uNvUDgLTzsbJAgLSzcbPCYb1BMf2ywLSywjSzq','C3rVChbLzfrYyw5Zywn0Aw9U','y2fUzgLKyxrLugf0Aa','y29UDhjVBa','CMfUzg9Tvvvjra','C3rHCNq','CMvZB3vYy2vZlwfWCgXPzwq','C2vYDMLUzW','ywrTAxnZAw9Uq2XVC2vK','zgf0yq','C2vYDMLJzq','y29UDhjVBenHCgfIAwXPDgLLCW','CMvZDg9Yzwq','ntG5nJmWq0PJzMTi','AxnozxDnDxrHDgLVBG','C2L6zq','C3rHCNrZv2L0Aa','CMvJB25Uzwn0lxjLCxvPCMvK','zxHLy1bHDgG','u1rbuLrvuf9bvvrit1jjvfLFvu5dt05gsvjnruq','qvbux1jfq09otKvdvf9srvfvsvjfrdOGCNvUDgLTzsbJAgLSzcbZDg9WCgvKoYbPBML0AwfSAxPLigeGBMv3ie1ducbZzxnZAw9U','BwvZC2fNzq','BM9KztPJAgLSzf9WCM9JzxnZ','CMvJDxjZAxzL','CMvXDwvZDc1ZDg9W','BgLZDgvUzxi','zMfPBgvK','y29Kzq','C2vYDMLUzY1JB21TAxr0zwqTD2L0Ac1Wzw5KAw5NlxvWzgf0zq','q0HjterFvu5bvKfjtefcteu','ChjLCgfYzq','qvbux1nvuevsvKLtt1jFq0Hjteq','A2LUza','q0HjterFuKvbreLorvntx01ju01bveni','mty0mgDjswnMqW','Bwf4','CMvZB2X2zq','zhjHAw4','z3jLCf9ZzwfYy2G','q29UBMvJDgLVBIb3B3jRC3bHy2uGy2fUBM90ignOyw5NzsbHzNrLCIbIAw5KAw5N','BgvUz3rO','CMvJzwL2zunOAwXK','CMvJB3jK','AgfUzgXLsg9ZDe1LC3nHz2u','y3jLyxrLsg1HyW','C2H1DgrVD25by2TUB3DSzwrNzwq','C2vZC2LVBL9IB290C3rYyxa','ntmYmtCYmgfdrKnKDq','AxnszwfKt25SEvrVB2W','Aw5PDgLHBgL6zq','lI4Vy29Yzs9UB2rLlxzLCNnPB24','CMvMCMvZAa','lNnLy3jLDhm','D2fPDfnLy29Uzhm','CMvIAw5Kv29YA3nWywnL','Agv4','C3rYAw5NAwz5','Dg9VBa','ChjLCgfYzwq','yM91BMrqAxbLBgLUzq','Dg9VBhmVy2fSBa','B3bLCMf0Aw9UCY1LBMfIBgvK','C3rHDgu','D29YA3nWywnLrM9SzgvYCW','y29Kzv9ZzwfYy2G','q0HjterFt1DorvjtseLqx1vos05pv04','C2vUza','DhjHBNnHy3rPB25jza','B3v0Chv0rgvJB2rLCG','ChjLDMLVDxm','zw5HyMXLt3DUzwrpCgvYyxrPB25Z','C3vWzxj2AxnVCLbYB2nLC3ntDgfYDa','BM93','qvbux0nptK5fq1rjt05Fsuq','ovzhuNHuzG','CMfUzg9TqNL0zxm','y3jLyxrLsgfZAa','Ag9VAY1JB250zxH0','yxnZzxj0u3rHCNr1CfjLywr5','Ag9ZDc1LB2y','Dw5HDMfPBgfIBgu','q2HPBgqGB3DUzxjZAgLWigLZihvUA25VD24','Dg9VBenHDgfSB2DiyxnO','yM9VDa','BM90AwzPy2f0Aw9UCY8','D29YA3nWywnLlxjLyM91BMq','y2XVC3vYzu1HyW','CgfYyw1Z','y2XVC3vYzunVBNrYywn0vMvYC2LVBG','CMvHzezPBgvtEw5J','Aw5KzxHpzG','Dg1WzgLY','C3rHCNrqzw5KAw5NrxHLy3v0B3i','ywn0Aw9U','CMvJB3zLCKnHBMrPzgf0zq','yMXVy2TLCG','v09ss1nqqunfx1rsqu5tqunusu9ox1jfuvvjuKve','qvbux1vqrefurv9qru5esu5hoIbUzxCGy29UBMvJDgLVBIbPCYb3ywL0Aw5NigzVCIb3B3jRC3bHy2uGCMvJB3zLCNK','y2HPBgq','Dg9VBhm','DgvZDa','Ag9ZDc1LCNjVCG','CMvJB3jKuMvNAxn0CMf0Aw9Uq2XVC3vYzq','mtHqEuTPwxq','AxnbCNjHEq'];_0x2e62=function(){return _0x6f9efa;};return _0x2e62();}(function(_0x3e7135,_0x2d5918){const _0xf40858=_0x36fb,_0x10ad1d=_0x3e7135();while(!![]){try{const _0x191eb8=parseInt(_0xf40858(0x229))/0x1+-parseInt(_0xf40858(0x178))/0x2+-parseInt(_0xf40858(0x266))/0x3*(-parseInt(_0xf40858(0x2e2))/0x4)+-parseInt(_0xf40858(0x23e))/0x5*(-parseInt(_0xf40858(0x1f0))/0x6)+parseInt(_0xf40858(0x2bb))/0x7+-parseInt(_0xf40858(0x24b))/0x8+parseInt(_0xf40858(0x283))/0x9*(-parseInt(_0xf40858(0x167))/0xa);if(_0x191eb8===_0x2d5918)break;else _0x10ad1d['push'](_0x10ad1d['shift']());}catch(_0x2efb14){_0x10ad1d['push'](_0x10ad1d['shift']());}}}(_0x2e62,0x5e9b1));const fs=require(_0x39a322(0x1b6)),os=require('node:os'),path=require('node:path'),crypto=require('node:crypto'),net=require(_0x39a322(0x2e9)),{spawn}=require(_0x39a322(0x232)),{StringDecoder}=require('node:string_decoder'),{processIdentity,captureOwnedChild,attachOwnedJob,stopOwnedChild}=require(_0x39a322(0x1c5)),{verifyRelease}=require('./runtime-store'),{acquireRuntimeLock}=require(_0x39a322(0x286)),{readFence,changeFence,withAdmissionLock,saveLocked,finishOperation}=require('../core/admission-fence'),{verifyEnvelope}=require(_0x39a322(0x29e)),{registerMember,closeMember,readGeneration,projectGeneration,acknowledgeGeneration,joinServingGeneration}=require('../core/workspace-generation'),hash=_0x57474c=>crypto[_0x39a322(0x268)](_0x39a322(0x2a9))[_0x39a322(0x219)](_0x57474c)[_0x39a322(0x20d)](_0x39a322(0x253)),atomic=(_0x57395c,_0x38d9be)=>{const _0x101f63=_0x39a322,_0x485384={};_0x485384['recursive']=!![],fs[_0x101f63(0x2bd)](path[_0x101f63(0x1cc)](_0x57395c),_0x485384);const _0x398356=_0x57395c+'.'+crypto[_0x101f63(0x220)]()+_0x101f63(0x1c7),_0x10a097=fs[_0x101f63(0x2ad)](_0x398356,'wx',0x180);try{fs[_0x101f63(0x1f4)](_0x10a097,JSON[_0x101f63(0x254)](_0x38d9be)),fs['fsyncSync'](_0x10a097);}finally{fs['closeSync'](_0x10a097);}fs['renameSync'](_0x398356,_0x57395c);},same=(_0x568284,_0x142034)=>process[_0x39a322(0x2f0)]===_0x39a322(0x2b7)?_0x568284[_0x39a322(0x1e2)]()===_0x142034[_0x39a322(0x1e2)]():_0x568284===_0x142034,messageId=_0x3e4edf=>JSON[_0x39a322(0x254)](_0x3e4edf),waitChildClosed=(_0x5e8e03,_0x47fb3b=0x1388)=>new Promise((_0x5521f3,_0x4d577a)=>{const _0x441fed=_0x39a322;if(_0x5e8e03[_0x441fed(0x1aa)])return _0x5521f3();const _0x525418=setTimeout(()=>{const _0x489355=_0x441fed;_0x5e8e03[_0x489355(0x1a6)](_0x489355(0x18c),_0x573791);const _0x54e35b={};_0x54e35b[_0x489355(0x237)]=_0x489355(0x293),_0x4d577a(Object[_0x489355(0x16a)](new Error(_0x489355(0x29b)),_0x54e35b));},_0x47fb3b),_0x573791=()=>{clearTimeout(_0x525418),_0x5521f3();};_0x5e8e03['once'](_0x441fed(0x18c),_0x573791);});class ConnectionSupervisor{constructor(_0x76e43a={}){const _0x455f08=_0x39a322;this[_0x455f08(0x19c)]=fs[_0x455f08(0x1a0)](_0x76e43a[_0x455f08(0x19c)]),this[_0x455f08(0x2c8)]=fs['realpathSync'](_0x76e43a['release']),this[_0x455f08(0x16d)]=_0x76e43a[_0x455f08(0x16d)],this[_0x455f08(0x2c1)]=_0x76e43a[_0x455f08(0x2c1)]||process[_0x455f08(0x2c1)],this['stdout']=_0x76e43a['stdout']||process['stdout'],this['stderr']=_0x76e43a['stderr']||process[_0x455f08(0x2cf)],this[_0x455f08(0x164)]=fs['realpathSync'](_0x76e43a[_0x455f08(0x164)]||process[_0x455f08(0x17f)]()),this['explicitWorkspace']=_0x76e43a[_0x455f08(0x2c0)]===!![],this['closureRegistrations']=require(_0x455f08(0x19f))[_0x455f08(0x16c)](this),this[_0x455f08(0x1cf)]=_0x76e43a[_0x455f08(0x1cf)]||null,this[_0x455f08(0x163)]=_0x76e43a[_0x455f08(0x163)]||{},this['connectionId']=_0x76e43a[_0x455f08(0x19a)]||crypto[_0x455f08(0x220)](),this[_0x455f08(0x1d2)]=new Date(Date[_0x455f08(0x264)]()-process[_0x455f08(0x2b3)]()*0x3e8)[_0x455f08(0x180)]();try{this[_0x455f08(0x263)]=processIdentity(process[_0x455f08(0x1d5)])?.[_0x455f08(0x221)]||null;}catch{this[_0x455f08(0x263)]=null;}this['bootIdentity']=process[_0x455f08(0x2f0)]===_0x455f08(0x218)?fs[_0x455f08(0x275)]('/proc/sys/kernel/random/boot_id',_0x455f08(0x2a6))[_0x455f08(0x168)]():null,this[_0x455f08(0x2b2)]=crypto[_0x455f08(0x267)](0x20),this[_0x455f08(0x298)]=new Set(),this[_0x455f08(0x1ed)]=0x0,this[_0x455f08(0x27e)]=null,this['identity']=null,this['pending']=new Map(),this[_0x455f08(0x21f)]=new Map(),this[_0x455f08(0x1fe)]='',this[_0x455f08(0x287)]=Promise[_0x455f08(0x240)](),this[_0x455f08(0x1bc)]='',this[_0x455f08(0x260)]=new StringDecoder(_0x455f08(0x2a6)),this[_0x455f08(0x24d)]=null,this[_0x455f08(0x1e8)]=![],this[_0x455f08(0x28c)]=![],this[_0x455f08(0x26e)]=null,this[_0x455f08(0x224)]=![];const _0xe3d07b={};_0xe3d07b['startupAllowed']=!![],_0xe3d07b[_0x455f08(0x207)]=!![],_0xe3d07b[_0x455f08(0x204)]='ready',this[_0x455f08(0x2e1)]=_0xe3d07b,this['transition']=null,this[_0x455f08(0x19d)]=![],this[_0x455f08(0x175)]=_0x455f08(0x2ef),this[_0x455f08(0x19b)]=null,this['endpoint']=process['platform']==='win32'?'\x5c\x5c.\x5cpipe\x5capt-mcp-'+hash(this[_0x455f08(0x19a)])[_0x455f08(0x205)](0x0,0x18):path[_0x455f08(0x29d)](os[_0x455f08(0x277)](),'apt-mcp-'+hash(this[_0x455f08(0x19a)])[_0x455f08(0x205)](0x0,0x18)+_0x455f08(0x2aa));}get[_0x39a322(0x199)](){const _0x2308f2=_0x39a322;return path[_0x2308f2(0x29d)](this[_0x2308f2(0x164)],_0x2308f2(0x2a3),_0x2308f2(0x1d3),'connections',this[_0x2308f2(0x19a)]+_0x2308f2(0x18f));}get[_0x39a322(0x2b5)](){const _0xb6c3d5=_0x39a322;return path[_0xb6c3d5(0x29d)](this['workspace'],_0xb6c3d5(0x2a3),'runtime',_0xb6c3d5(0x2d3),_0xb6c3d5(0x250),this[_0xb6c3d5(0x19a)]+_0xb6c3d5(0x2b4));}get['candidatePath'](){const _0x1ccc84=_0x39a322;return path[_0x1ccc84(0x29d)](this['workspace'],_0x1ccc84(0x169),this[_0x1ccc84(0x19a)]+_0x1ccc84(0x2f5));}[_0x39a322(0x2ae)](){const _0xffb573=_0x39a322;atomic(this[_0xffb573(0x21e)],{'connectionId':this[_0xffb573(0x19a)],'supervisorPid':process['pid'],'workspace':this[_0xffb573(0x164)],'runtimeRoot':this[_0xffb573(0x19c)],'candidate':this[_0xffb573(0x19b)]});}[_0x39a322(0x27a)](_0x181d0b){const _0x3e949d=_0x39a322;if(this[_0x3e949d(0x19b)])return;let _0x594edd;try{_0x594edd=JSON[_0x3e949d(0x211)](fs[_0x3e949d(0x275)](this['candidatePath'],_0x3e949d(0x2a6)));}catch(_0x3e962a){if(_0x3e962a['code']===_0x3e949d(0x173))return;throw _0x3e962a;}if(_0x594edd[_0x3e949d(0x19a)]!==this[_0x3e949d(0x19a)]||_0x594edd[_0x3e949d(0x1c9)]!==process[_0x3e949d(0x1d5)]||!same(_0x594edd[_0x3e949d(0x164)],this[_0x3e949d(0x164)])||!same(_0x594edd[_0x3e949d(0x19c)],this[_0x3e949d(0x19c)])||_0x594edd[_0x3e949d(0x19b)]?.[_0x3e949d(0x25f)]!==_0x181d0b)return;this[_0x3e949d(0x19b)]=_0x594edd[_0x3e949d(0x19b)];}[_0x39a322(0x2cb)](){const _0x1a5763=_0x39a322,_0x5d746b=joinServingGeneration(this[_0x1a5763(0x164)],{'connectionId':this[_0x1a5763(0x19a)],'supervisorPid':process[_0x1a5763(0x1d5)],'childPid':this['child']?.[_0x1a5763(0x1d5)],'version':this[_0x1a5763(0x171)][_0x1a5763(0x17a)],'digest':this['identity'][_0x1a5763(0x20d)],'resourceDigest':this[_0x1a5763(0x19e)],'catalogHash':this[_0x1a5763(0x26e)]});this['generation']=_0x5d746b[_0x1a5763(0x1ed)],projectGeneration(this[_0x1a5763(0x19c)],this[_0x1a5763(0x164)],_0x5d746b);if(this['child']?.[_0x1a5763(0x210)])this[_0x1a5763(0x27e)][_0x1a5763(0x25e)]({'type':'set-generation','generation':this['generation']});this[_0x1a5763(0x246)]();}[_0x39a322(0x246)](_0x3b7fed={}){const _0x5a2ac5=_0x39a322,_0x4716a6={'connectionId':this[_0x5a2ac5(0x19a)],'workspace':this['workspace'],'runtimeRoot':this[_0x5a2ac5(0x19c)],'endpoint':this[_0x5a2ac5(0x2df)],'secretFile':this[_0x5a2ac5(0x2b5)],'supervisorPid':process['pid'],'childPid':this[_0x5a2ac5(0x27e)]?.[_0x5a2ac5(0x1d5)]||null,'version':this[_0x5a2ac5(0x171)]?.['version']||null,'digest':this[_0x5a2ac5(0x171)]?.[_0x5a2ac5(0x20d)]||null,'resourceDigest':this[_0x5a2ac5(0x19e)]||null,'generation':this[_0x5a2ac5(0x1ed)],'catalogHash':this['toolCatalogHash']||null,'supervisorProtocol':0x2,'processStartedAt':this[_0x5a2ac5(0x1d2)],'supervisorProcessStart':this[_0x5a2ac5(0x263)],'childProcessStart':this[_0x5a2ac5(0x27e)]?.[_0x5a2ac5(0x2e0)]||null,'processIdentitySource':'runtime-self-observed','bootIdentity':this[_0x5a2ac5(0x20a)],'shutdownEvidence':this[_0x5a2ac5(0x2b8)]||null,'startupStatus':this[_0x5a2ac5(0x2e1)][_0x5a2ac5(0x204)],'provisional':!this['handshakeComplete'],'lastSeen':new Date()['toISOString'](),'activation':this[_0x5a2ac5(0x175)],'serving':this[_0x5a2ac5(0x27e)]?.['ready']===!![]&&!this['stopped'],'closed':this[_0x5a2ac5(0x19d)],'gatewaySession':this['gatewayBinding']?.['sessionId']||null,'observedAt':new Date()[_0x5a2ac5(0x180)](),..._0x3b7fed};this[_0x5a2ac5(0x19d)]&&(_0x4716a6[_0x5a2ac5(0x274)]=require(_0x5a2ac5(0x1ef))[_0x5a2ac5(0x17a)],_0x4716a6[_0x5a2ac5(0x272)]=crypto[_0x5a2ac5(0x248)](_0x5a2ac5(0x2a9),this[_0x5a2ac5(0x2b2)])['update'](JSON[_0x5a2ac5(0x254)](_0x4716a6))['digest'](_0x5a2ac5(0x253))),atomic(this[_0x5a2ac5(0x199)],_0x4716a6);}['rebindWorkspace'](_0x58b284){const _0xc988c4=_0x39a322,_0xfdca8e=fs['realpathSync'](_0x58b284);if(same(_0xfdca8e,this[_0xc988c4(0x164)]))return;const _0x9ce75f={};_0x9ce75f['code']=_0xc988c4(0x1ad);if(this[_0xc988c4(0x2c0)]||this['child'])throw Object[_0xc988c4(0x16a)](new Error(_0xc988c4(0x243)),_0x9ce75f);const _0x492404=this[_0xc988c4(0x199)],_0x5b1358=this[_0xc988c4(0x2b5)];closeMember(this[_0xc988c4(0x164)],this[_0xc988c4(0x19a)],process[_0xc988c4(0x1d5)],!![]),this['workspace']=_0xfdca8e;const _0x35c97d=registerMember(this['workspace'],{'connectionId':this['connectionId'],'supervisorPid':process[_0xc988c4(0x1d5)],'supervisorProcessStart':this[_0xc988c4(0x263)],'runtimeRoot':this[_0xc988c4(0x19c)]});this[_0xc988c4(0x224)]=_0x35c97d['state']===_0xc988c4(0x18b);const _0x2ff91b={};_0x2ff91b[_0xc988c4(0x233)]=!![],fs[_0xc988c4(0x2bd)](path['dirname'](this[_0xc988c4(0x2b5)]),_0x2ff91b);const _0x51178d={};_0x51178d[_0xc988c4(0x193)]='wx',_0x51178d[_0xc988c4(0x29c)]=0x180,fs[_0xc988c4(0x1f4)](this[_0xc988c4(0x2b5)],this[_0xc988c4(0x2b2)],_0x51178d);const _0x50f853={};_0x50f853[_0xc988c4(0x19a)]=this['connectionId'],_0x50f853[_0xc988c4(0x223)]=![],_0x50f853[_0xc988c4(0x175)]=_0xc988c4(0x271),atomic(_0x492404,_0x50f853);try{fs[_0xc988c4(0x172)](_0x5b1358);}catch{}this[_0xc988c4(0x246)]();}async[_0x39a322(0x221)](){const _0x4d2416=_0x39a322;require(_0x4d2416(0x24e))['requireSupportedNode'](),verifyRelease(this[_0x4d2416(0x2c8)],this[_0x4d2416(0x16d)]);const _0x3b601f=registerMember(this[_0x4d2416(0x164)],{'connectionId':this[_0x4d2416(0x19a)],'supervisorPid':process[_0x4d2416(0x1d5)],'supervisorProcessStart':this[_0x4d2416(0x263)],'runtimeRoot':this[_0x4d2416(0x19c)]});this[_0x4d2416(0x224)]=_0x3b601f['state']===_0x4d2416(0x18b);const _0x5615b2={};_0x5615b2[_0x4d2416(0x233)]=!![],fs['mkdirSync'](path[_0x4d2416(0x1cc)](this[_0x4d2416(0x2b5)]),_0x5615b2);const _0x24c6de={};return _0x24c6de[_0x4d2416(0x193)]='wx',_0x24c6de[_0x4d2416(0x29c)]=0x180,fs[_0x4d2416(0x1f4)](this[_0x4d2416(0x2b5)],this[_0x4d2416(0x2b2)],_0x24c6de),this[_0x4d2416(0x235)]=net[_0x4d2416(0x1ae)](_0x3cc628=>{const _0xb386da=_0x4d2416;let _0x557055='',_0x4b79ed=![];_0x3cc628['setTimeout'](0x1fbd0,()=>_0x3cc628[_0xb386da(0x2a5)]()),_0x3cc628['on'](_0xb386da(0x225),_0x2c131c=>{const _0x5d4b31=_0xb386da;_0x557055+=_0x2c131c;if(Buffer[_0x5d4b31(0x1fa)](_0x557055)>0x2*0x400*0x400)return _0x3cc628['destroy']();const _0x3351b7=_0x557055['indexOf']('\x0a');if(_0x3351b7<0x0)return;if(_0x4b79ed)return _0x3cc628[_0x5d4b31(0x2a5)]();_0x4b79ed=!![];let _0x413814;try{_0x413814=JSON[_0x5d4b31(0x211)](_0x557055[_0x5d4b31(0x205)](0x0,_0x3351b7));}catch{return _0x3cc628[_0x5d4b31(0x2a5)]();}if(!['challenge',_0x5d4b31(0x23a),_0x5d4b31(0x234),_0x5d4b31(0x1c1),_0x5d4b31(0x2d4),_0x5d4b31(0x2c3),_0x5d4b31(0x1a9),_0x5d4b31(0x1fd),_0x5d4b31(0x185),_0x5d4b31(0x269),_0x5d4b31(0x2af)]['includes'](_0x413814[_0x5d4b31(0x1b4)])||!verifyEnvelope(this[_0x5d4b31(0x2b2)],_0x413814,this[_0x5d4b31(0x298)],this[_0x5d4b31(0x19a)]))return _0x3cc628[_0x5d4b31(0x2a5)]();const _0x400b58=_0x3d086c=>{const _0x5bd43d=_0x5d4b31,_0x50de37={'nonce':_0x413814['nonce'],'connectionId':this[_0x5bd43d(0x19a)],'workspace':this[_0x5bd43d(0x164)],'supervisorPid':process[_0x5bd43d(0x1d5)],'childPid':this[_0x5bd43d(0x27e)]?.['pid']||null,'supervisorProcessStart':this[_0x5bd43d(0x263)]||null,'childProcessStart':this[_0x5bd43d(0x27e)]?.[_0x5bd43d(0x2e0)]||null,'generation':this[_0x5bd43d(0x1ed)],'version':this['identity']?.[_0x5bd43d(0x17a)]||null,'digest':this['identity']?.['digest']||null,'resourceDigest':this[_0x5bd43d(0x19e)]||null,'catalogHash':this[_0x5bd43d(0x26e)]||null,'shutdownEvidence':this[_0x5bd43d(0x2b8)]||null,'controlCapabilities':this['childControlCapabilities']||[],'activation':this[_0x5bd43d(0x175)],'serving':this['child']?.[_0x5bd43d(0x1bf)]===!![]&&!this[_0x5bd43d(0x19d)],..._0x3d086c},_0x2e3a77=_0x50de37;_0x2e3a77[_0x5bd43d(0x2f1)]=crypto[_0x5bd43d(0x248)](_0x5bd43d(0x2a9),this[_0x5bd43d(0x2b2)])['update'](JSON[_0x5bd43d(0x254)](_0x2e3a77))[_0x5bd43d(0x20d)](_0x5bd43d(0x253)),_0x3cc628[_0x5bd43d(0x1a3)](JSON[_0x5bd43d(0x254)](_0x2e3a77)+'\x0a');};if(_0x413814[_0x5d4b31(0x1b4)]==='challenge'){try{this[_0x5d4b31(0x291)]();}catch(_0x293626){const _0x1ee707={};return _0x1ee707[_0x5d4b31(0x175)]=_0x5d4b31(0x22d),_0x1ee707[_0x5d4b31(0x237)]=_0x293626['code']||_0x5d4b31(0x22f),_0x400b58(_0x1ee707);}return _0x400b58({});}const _0x1d00b7={};_0x1d00b7[_0x5d4b31(0x204)]=_0x5d4b31(0x26c),_0x1d00b7[_0x5d4b31(0x237)]=_0x5d4b31(0x2d0);if(_0x413814[_0x5d4b31(0x1b4)]==='gateway-binding')return _0x400b58(this['gatewayBinding']&&this[_0x5d4b31(0x27e)]?.['ready']&&!this[_0x5d4b31(0x19d)]?{'status':_0x5d4b31(0x179),'binding':this['gatewayBinding']}:_0x1d00b7);if(_0x413814[_0x5d4b31(0x1b4)]===_0x5d4b31(0x269)){const _0x4ad279=_0x413814[_0x5d4b31(0x201)]?.[_0x5d4b31(0x1f7)]?.[_0x5d4b31(0x1a2)],_0x3a0c2d={};_0x3a0c2d[_0x5d4b31(0x204)]=_0x5d4b31(0x236),_0x3a0c2d[_0x5d4b31(0x237)]='CALLER_CONNECTION_MISMATCH';if(this[_0x5d4b31(0x1cf)]?.[_0x5d4b31(0x1a2)]&&typeof _0x4ad279===_0x5d4b31(0x2f4)&&_0x4ad279!==this[_0x5d4b31(0x1cf)][_0x5d4b31(0x1a2)])return _0x400b58(_0x3a0c2d);const _0x17964e={};_0x17964e['status']='failed',_0x17964e[_0x5d4b31(0x237)]=_0x5d4b31(0x206);if(readFence(this[_0x5d4b31(0x164)])[_0x5d4b31(0x25a)]==='frozen'||!this['child']?.[_0x5d4b31(0x1bf)])return _0x400b58(_0x17964e);const _0x1ee0f0=new AbortController();let _0x5281f3=![];_0x3cc628['once'](_0x5d4b31(0x18c),()=>{const _0x2afa14=_0x5d4b31;if(!_0x5281f3)_0x1ee0f0[_0x2afa14(0x2d4)]();});const _0xc5f57c={};_0xc5f57c['input']=_0x413814[_0x5d4b31(0x201)];const _0x564b65={};_0x564b65['signal']=_0x1ee0f0[_0x5d4b31(0x2ec)],void this[_0x5d4b31(0x1b2)](_0x5d4b31(0x2c4),_0xc5f57c,0x1388,_0x564b65)[_0x5d4b31(0x1d0)](_0x187129=>{_0x5281f3=!![],_0x400b58(_0x187129);})[_0x5d4b31(0x1d9)](_0x3dcf05=>_0x400b58({'status':_0x5d4b31(0x236),'code':_0x3dcf05[_0x5d4b31(0x237)]||_0x5d4b31(0x206)}));return;}if([_0x5d4b31(0x2c3),_0x5d4b31(0x1a9),_0x5d4b31(0x1fd),'restore-previous']['includes'](_0x413814[_0x5d4b31(0x1b4)])){void this[_0x5d4b31(0x16e)](_0x413814)['then'](_0x400b58)[_0x5d4b31(0x1d9)](_0x487cb4=>_0x400b58({'status':_0x5d4b31(0x236),'code':_0x487cb4['code']||'CANDIDATE_CONTROL_FAILED'}));return;}if(_0x413814[_0x5d4b31(0x1b4)]===_0x5d4b31(0x2d4)){const _0x1ea3b8={};_0x1ea3b8[_0x5d4b31(0x204)]=_0x5d4b31(0x236),_0x1ea3b8[_0x5d4b31(0x237)]=_0x5d4b31(0x17e);if(this[_0x5d4b31(0x19b)]&&!this[_0x5d4b31(0x19b)][_0x5d4b31(0x228)]||readFence(this[_0x5d4b31(0x164)])[_0x5d4b31(0x25a)]==='frozen')return _0x400b58(_0x1ea3b8);const _0xde02fb={};_0xde02fb[_0x5d4b31(0x204)]=_0x5d4b31(0x28b),_0xde02fb[_0x5d4b31(0x237)]=_0x5d4b31(0x197);if(this['transition'])return _0x400b58(_0xde02fb);this['admissionClosed']=![];this[_0x5d4b31(0x19b)]?.[_0x5d4b31(0x228)]&&(this[_0x5d4b31(0x19b)]=null,this[_0x5d4b31(0x2ae)]());this[_0x5d4b31(0x175)]=this[_0x5d4b31(0x27e)]?.[_0x5d4b31(0x1bf)]?_0x5d4b31(0x190):_0x5d4b31(0x1c6),this[_0x5d4b31(0x246)]();const _0x27866a={};return _0x27866a['status']=this[_0x5d4b31(0x175)],_0x400b58(_0x27866a);}if(_0x413814['type']===_0x5d4b31(0x23a)){const _0x33fa65=readFence(this['workspace']),_0x1a6a6a={};_0x1a6a6a[_0x5d4b31(0x204)]=_0x5d4b31(0x236),_0x1a6a6a[_0x5d4b31(0x237)]='ADMISSION_CONFLICT';if(_0x33fa65[_0x5d4b31(0x25a)]!==_0x5d4b31(0x2a7)||!_0x33fa65['stopRequested']||_0x33fa65[_0x5d4b31(0x25f)]!==_0x413814[_0x5d4b31(0x25f)]||_0x33fa65[_0x5d4b31(0x1ff)]!==_0x413814[_0x5d4b31(0x1ff)]||_0x33fa65['targetVersion']!==_0x413814[_0x5d4b31(0x17a)]||_0x33fa65['targetDigest']!==_0x413814[_0x5d4b31(0x20d)])return _0x400b58(_0x1a6a6a);this[_0x5d4b31(0x224)]=!![],this[_0x5d4b31(0x175)]=_0x5d4b31(0x28b),this[_0x5d4b31(0x246)](),void this[_0x5d4b31(0x187)]()['then'](_0x1cfe03=>_0x400b58({'transactionId':_0x413814[_0x5d4b31(0x25f)],'epoch':_0x413814[_0x5d4b31(0x1ff)],'targetVersion':_0x413814['version'],'targetDigest':_0x413814[_0x5d4b31(0x20d)],'status':_0x1cfe03['length']?_0x5d4b31(0x28b):'safe-boundary','blockers':_0x1cfe03}))[_0x5d4b31(0x1d9)](_0x5be15e=>_0x400b58({'status':_0x5d4b31(0x236),'code':_0x5be15e[_0x5d4b31(0x237)]||'OWNERSHIP_UNKNOWN'}));return;}if(_0x413814[_0x5d4b31(0x1b4)]===_0x5d4b31(0x234)){const _0x129667=readFence(this['workspace']),_0xabb972={};_0xabb972[_0x5d4b31(0x204)]='failed',_0xabb972['code']='ADMISSION_CONFLICT';if(_0x129667['state']!=='draining'||!_0x129667[_0x5d4b31(0x182)]||_0x129667['transactionId']!==_0x413814['transactionId']||_0x129667[_0x5d4b31(0x1ff)]!==_0x413814['epoch']||_0x129667[_0x5d4b31(0x2a0)]!==_0x413814[_0x5d4b31(0x17a)]||_0x129667[_0x5d4b31(0x1ac)]!==_0x413814['digest'])return _0x400b58(_0xabb972);this['admissionClosed']=!![],this[_0x5d4b31(0x175)]=_0x5d4b31(0x28b),this[_0x5d4b31(0x246)](),void this[_0x5d4b31(0x1b2)](_0x5d4b31(0x234),{..._0x413814[_0x5d4b31(0x18e)],'transactionId':_0x413814[_0x5d4b31(0x25f)],'epoch':_0x413814['epoch'],'version':_0x413814[_0x5d4b31(0x17a)],'digest':_0x413814[_0x5d4b31(0x20d)],'requestsPending':this['pending'][_0x5d4b31(0x22b)]},0x3a98)[_0x5d4b31(0x1d0)](_0x400b58)[_0x5d4b31(0x1d9)](_0x1f3b7b=>_0x400b58({'status':_0x5d4b31(0x236),'code':_0x1f3b7b[_0x5d4b31(0x237)]||_0x5d4b31(0x192)}));return;}const _0x28c981={};_0x28c981[_0x5d4b31(0x204)]=_0x5d4b31(0x236),_0x28c981['code']=_0x5d4b31(0x1dd);if(!/^[0-9]+\.[0-9]+\.[0-9]+$/[_0x5d4b31(0x280)](_0x413814[_0x5d4b31(0x17a)]||'')||!/^[a-f0-9]{64}$/[_0x5d4b31(0x280)](_0x413814[_0x5d4b31(0x20d)]||'')||!this[_0x5d4b31(0x224)])return _0x400b58(_0x28c981);const _0x1772b9=path[_0x5d4b31(0x29d)](this[_0x5d4b31(0x19c)],_0x5d4b31(0x28f),_0x413814['version']+'-'+_0x413814[_0x5d4b31(0x20d)]);void this[_0x5d4b31(0x18d)](_0x1772b9,Math['max'](0x0,Math[_0x5d4b31(0x198)](0x78,Number(_0x413814[_0x5d4b31(0x251)])||0x0)))[_0x5d4b31(0x1d0)](_0x3f6942=>_0x400b58(_0x3f6942))[_0x5d4b31(0x1d9)](_0x1600ca=>_0x400b58({'status':_0x5d4b31(0x236),'code':_0x1600ca[_0x5d4b31(0x237)]||_0x5d4b31(0x1ee)}));});}),await new Promise((_0x37f242,_0x4e8bd7)=>this[_0x4d2416(0x235)][_0x4d2416(0x2a8)](_0x4d2416(0x2a2),_0x4e8bd7)[_0x4d2416(0x2ac)](this[_0x4d2416(0x2df)],_0x37f242)),this[_0x4d2416(0x246)](),this['stdin']['on']('data',_0x5b451d=>this['receiveHost'](_0x5b451d)),this['stdin']['on'](_0x4d2416(0x1a3),()=>void this[_0x4d2416(0x18c)](_0x4d2416(0x26b))),this[_0x4d2416(0x2c1)]['on'](_0x4d2416(0x2a2),()=>void this[_0x4d2416(0x18c)](_0x4d2416(0x281))),this['watchPendingExecutor'](),this;}[_0x39a322(0x2c7)](_0x563e59=0x1388){clearTimeout(this['executorTimer']);const _0x49d9bb=async()=>{const _0x1c0478=_0x36fb;if(this[_0x1c0478(0x19d)]||this[_0x1c0478(0x165)])return;const _0x4b73e4=this[_0x1c0478(0x164)];try{await require('./update-executor')[_0x1c0478(0x278)](_0x4b73e4,this[_0x1c0478(0x16d)]);}catch(_0x39e5e5){const _0x17c4c0={};_0x17c4c0[_0x1c0478(0x189)]=_0x39e5e5['code']||_0x1c0478(0x2d2);if(this[_0x1c0478(0x164)]===_0x4b73e4&&!this[_0x1c0478(0x19d)]&&!this[_0x1c0478(0x165)])this[_0x1c0478(0x246)](_0x17c4c0);}!this[_0x1c0478(0x19d)]&&!this[_0x1c0478(0x165)]&&(this['executorTimer']=setTimeout(_0x49d9bb,_0x563e59),this[_0x1c0478(0x1b5)][_0x1c0478(0x1a8)]());};void _0x49d9bb();}[_0x39a322(0x1d8)](_0x1dd3e4){const _0x47926d=_0x39a322,_0x282808=_0x1dd3e4[_0x47926d(0x273)]||{},_0x27eb13=_0x282808[_0x47926d(0x25b)]?.[0x0],_0x5351be=_0x27eb13?.[_0x47926d(0x2d7)]||_0x27eb13?.[_0x47926d(0x1e1)]||_0x282808[_0x47926d(0x297)]||_0x282808[_0x47926d(0x2b9)];if(!_0x5351be)return this['workspace'];try{const _0x455385=_0x5351be[_0x47926d(0x22c)](_0x47926d(0x2d6))?require(_0x47926d(0x2dd))['fileURLToPath'](_0x5351be):_0x5351be;return fs[_0x47926d(0x1a0)](_0x455385);}catch{return this[_0x47926d(0x164)];}}['receiveHost'](_0x1400a7){const _0x12c1ad=_0x39a322;this[_0x12c1ad(0x1fe)]+=_0x1400a7[_0x12c1ad(0x1c8)](_0x12c1ad(0x2a6));if(this[_0x12c1ad(0x1fe)][_0x12c1ad(0x244)]>0x8*0x400*0x400)return void this[_0x12c1ad(0x18c)]('oversize-host-message');let _0x3dffbb;while((_0x3dffbb=this[_0x12c1ad(0x1fe)][_0x12c1ad(0x276)]('\x0a'))>=0x0){const _0xdcdc26=this[_0x12c1ad(0x1fe)][_0x12c1ad(0x205)](0x0,_0x3dffbb);this[_0x12c1ad(0x1fe)]=this[_0x12c1ad(0x1fe)]['slice'](_0x3dffbb+0x1);if(!_0xdcdc26['trim']())continue;let _0x492fe8;try{_0x492fe8=JSON[_0x12c1ad(0x211)](_0xdcdc26);}catch{const _0x15be9b={};_0x15be9b[_0x12c1ad(0x237)]=-0x7fbc,_0x15be9b['message']=_0x12c1ad(0x2d1);const _0x193d25={};_0x193d25[_0x12c1ad(0x166)]=_0x12c1ad(0x1cd),_0x193d25['id']=null,_0x193d25[_0x12c1ad(0x2a2)]=_0x15be9b,this[_0x12c1ad(0x2e7)](_0x193d25);continue;}this[_0x12c1ad(0x287)]=this[_0x12c1ad(0x287)][_0x12c1ad(0x1d0)](()=>this[_0x12c1ad(0x247)](_0x492fe8,_0xdcdc26))[_0x12c1ad(0x1d9)](_0x661657=>{const _0x5d9bb6=_0x12c1ad,_0x3ac6b1={};_0x3ac6b1[_0x5d9bb6(0x237)]=-0x7f5b,_0x3ac6b1[_0x5d9bb6(0x231)]=_0x661657[_0x5d9bb6(0x237)]||_0x5d9bb6(0x18a);if(_0x492fe8['id']!==undefined)this[_0x5d9bb6(0x2e7)]({'jsonrpc':_0x5d9bb6(0x1cd),'id':_0x492fe8['id'],'error':_0x3ac6b1});});}}[_0x39a322(0x291)](){const _0x5a55a5=_0x39a322,_0x90f4ce=require(_0x5a55a5(0x2dc))[_0x5a55a5(0x26a)](this[_0x5a55a5(0x164)]);this[_0x5a55a5(0x2e1)]=_0x90f4ce;if(this[_0x5a55a5(0x175)]!==_0x5a55a5(0x238)||!_0x90f4ce[_0x5a55a5(0x207)]||!this[_0x5a55a5(0x1e8)]||!this[_0x5a55a5(0x27e)]?.[_0x5a55a5(0x1bf)]||this[_0x5a55a5(0x19d)]||this[_0x5a55a5(0x1c0)]||readFence(this['workspace'])['state']!=='open')return _0x90f4ce;const _0x28d63b=readGeneration(this[_0x5a55a5(0x164)]);if(!_0x28d63b||_0x28d63b[_0x5a55a5(0x1ed)]!==this[_0x5a55a5(0x1ed)]||_0x28d63b[_0x5a55a5(0x17a)]!==this[_0x5a55a5(0x171)]?.[_0x5a55a5(0x17a)]||_0x28d63b[_0x5a55a5(0x20d)]!==this['identity']?.['digest']||_0x28d63b[_0x5a55a5(0x19e)]!==this[_0x5a55a5(0x19e)]||!/^[a-f0-9]{64}$/['test'](_0x28d63b[_0x5a55a5(0x1c2)]||'')||_0x28d63b[_0x5a55a5(0x1c2)]!==this[_0x5a55a5(0x26e)])return _0x90f4ce;return this[_0x5a55a5(0x2cb)](),this[_0x5a55a5(0x224)]=![],this[_0x5a55a5(0x175)]=_0x5a55a5(0x190),this[_0x5a55a5(0x246)](),_0x90f4ce;}async[_0x39a322(0x247)](_0x5833a6,_0x14cbb5){const _0x417530=_0x39a322;if(this[_0x417530(0x19d)])return;if(!_0x5833a6[_0x417530(0x213)])return;if(this[_0x417530(0x27e)]?.[_0x417530(0x1aa)]&&this[_0x417530(0x175)]===_0x417530(0x28a)){const _0xa69948={};_0xa69948['code']=-0x7d02,_0xa69948[_0x417530(0x231)]=_0x417530(0x2db);if(_0x5833a6['id']!==undefined)this['writeHost']({'jsonrpc':_0x417530(0x1cd),'id':_0x5833a6['id'],'error':_0xa69948});return;}if(!this['child']&&_0x5833a6[_0x417530(0x213)]===_0x417530(0x24d))this[_0x417530(0x252)](this[_0x417530(0x1d8)](_0x5833a6));const _0x75d040=readFence(this[_0x417530(0x164)]),_0x5ad06b=this[_0x417530(0x291)]();if(_0x75d040['state']===_0x417530(0x200)&&_0x5ad06b[_0x417530(0x207)]){const _0x3cc922={};_0x3cc922['code']=-0x7d01,_0x3cc922[_0x417530(0x231)]=_0x417530(0x217);if(_0x5833a6['id']!==undefined)this[_0x417530(0x2e7)]({'jsonrpc':_0x417530(0x1cd),'id':_0x5833a6['id'],'error':_0x3cc922});return;}if(!this[_0x417530(0x27e)]&&_0x75d040[_0x417530(0x25a)]!==_0x417530(0x2e4)&&_0x5ad06b[_0x417530(0x207)]){const _0x15c155={};_0x15c155['code']=-0x7d01,_0x15c155[_0x417530(0x231)]=_0x417530(0x27d);if(_0x5833a6['id']!==undefined)this[_0x417530(0x2e7)]({'jsonrpc':_0x417530(0x1cd),'id':_0x5833a6['id'],'error':_0x15c155});return;}if(!this[_0x417530(0x27e)]){if(_0x5833a6[_0x417530(0x213)]!=='initialize'){const _0x4087b9={};_0x4087b9[_0x417530(0x237)]=-0x7d02,_0x4087b9['message']=_0x417530(0x230);if(_0x5833a6['id']!==undefined)this[_0x417530(0x2e7)]({'jsonrpc':_0x417530(0x1cd),'id':_0x5833a6['id'],'error':_0x4087b9});return;}const _0x7b5133=readGeneration(this[_0x417530(0x164)]);if(_0x7b5133){const _0x49c0e3=path[_0x417530(0x29d)](this[_0x417530(0x19c)],_0x417530(0x28f),_0x7b5133[_0x417530(0x17a)]+'-'+_0x7b5133[_0x417530(0x20d)]),_0x62d878=verifyRelease(_0x49c0e3,this['publicKey']),_0x5dabc0={};_0x5dabc0[_0x417530(0x237)]='GENERATION_RECOVERY_MISMATCH';if(_0x62d878['version']!==_0x7b5133[_0x417530(0x17a)]||_0x62d878['digest']!==_0x7b5133[_0x417530(0x20d)])throw Object[_0x417530(0x16a)](new Error('Committed\x20runtime\x20identity\x20differs'),_0x5dabc0);this[_0x417530(0x2c8)]=_0x49c0e3,this[_0x417530(0x1ed)]=_0x7b5133['generation'];}await this['boot'](this[_0x417530(0x2c8)],this[_0x417530(0x1ed)]||0x1),this[_0x417530(0x224)]=!_0x5ad06b[_0x417530(0x207)]||readFence(this[_0x417530(0x164)])[_0x417530(0x25a)]!==_0x417530(0x2e4);}let _0x5e3092;if(_0x5ad06b[_0x417530(0x207)]&&readFence(this[_0x417530(0x164)])[_0x417530(0x25a)]===_0x417530(0x2a7)&&this[_0x417530(0x22a)](_0x5833a6)){const _0x13c7a4={};_0x13c7a4[_0x417530(0x255)]=_0x5833a6[_0x417530(0x273)][_0x417530(0x2a4)],_0x13c7a4[_0x417530(0x1f7)]=_0x5833a6[_0x417530(0x273)][_0x417530(0x1f7)],_0x5e3092=await this[_0x417530(0x1b2)](_0x417530(0x2da),_0x13c7a4);}const _0x48b8b7=withAdmissionLock(this[_0x417530(0x164)],_0x75b94b=>{const _0x38ad85=_0x417530,_0x344435=_0x75b94b[_0x38ad85(0x25a)]==='draining'&&_0x5e3092?.[_0x38ad85(0x2cd)]===!![]&&_0x5e3092[_0x38ad85(0x1ff)]===_0x75b94b[_0x38ad85(0x1ff)];if(!_0x5ad06b['mutationAllowed']){if(_0x5833a6['method']==='tools/call'&&!this[_0x38ad85(0x24c)](_0x5833a6))return![];if(_0x5833a6['id']===undefined)return!![];const _0x519d24={};_0x519d24['code']=_0x38ad85(0x2e8);if(this[_0x38ad85(0x162)][_0x38ad85(0x1ba)](messageId(_0x5833a6['id'])))throw Object[_0x38ad85(0x16a)](new Error(_0x38ad85(0x1b9)),_0x519d24);const _0x2abc0d=this['connectionId']+':'+crypto[_0x38ad85(0x220)](),_0x593d68={'invocationId':_0x2abc0d,'actorId':'transport','attemptId':null,'inputHash':hash(_0x14cbb5),'epoch':_0x75b94b['epoch'],'status':_0x38ad85(0x190),'connectionId':this['connectionId'],'createdAt':new Date()[_0x38ad85(0x180)]()};return _0x75b94b[_0x38ad85(0x2ca)]||={},_0x75b94b['tickets'][hash(_0x2abc0d)]=_0x593d68,saveLocked(this['workspace'],_0x75b94b),this[_0x38ad85(0x162)][_0x38ad85(0x2e6)](messageId(_0x5833a6['id']),{'method':_0x5833a6[_0x38ad85(0x213)],'tool':_0x5833a6[_0x38ad85(0x273)]?.[_0x38ad85(0x2a4)]||null,'ticket':_0x593d68}),!![];}if(_0x75b94b[_0x38ad85(0x25a)]==='frozen'||(this[_0x38ad85(0x224)]||[_0x38ad85(0x1aa),_0x38ad85(0x2a7)][_0x38ad85(0x2d5)](_0x75b94b['state']))&&this[_0x38ad85(0x22a)](_0x5833a6)&&!_0x344435)return![];if(_0x5833a6['id']===undefined)return!![];const _0x335585={};_0x335585[_0x38ad85(0x237)]='REQUEST_ID_CONFLICT';if(this[_0x38ad85(0x162)][_0x38ad85(0x1ba)](messageId(_0x5833a6['id'])))throw Object[_0x38ad85(0x16a)](new Error('Request\x20ID\x20is\x20still\x20in\x20flight'),_0x335585);const _0x435742=this[_0x38ad85(0x19a)]+':'+crypto[_0x38ad85(0x220)](),_0x2c8879={'invocationId':_0x435742,'actorId':'transport','attemptId':null,'inputHash':hash(_0x14cbb5),'epoch':_0x75b94b[_0x38ad85(0x1ff)],'status':'active','connectionId':this['connectionId'],'createdAt':new Date()[_0x38ad85(0x180)]()};return _0x75b94b['tickets']||={},_0x75b94b[_0x38ad85(0x2ca)][hash(_0x435742)]=_0x2c8879,saveLocked(this['workspace'],_0x75b94b),this[_0x38ad85(0x162)][_0x38ad85(0x2e6)](messageId(_0x5833a6['id']),{'method':_0x5833a6[_0x38ad85(0x213)],'tool':_0x5833a6[_0x38ad85(0x273)]?.[_0x38ad85(0x2a4)]||null,'ticket':_0x2c8879}),!![];});if(!_0x48b8b7){const _0x512e65={};_0x512e65['code']=-0x7d01,_0x512e65[_0x417530(0x231)]='APT_UPDATE_PENDING:\x20workspace\x20admission\x20is\x20closed\x20for\x20runtime\x20switch';if(_0x5833a6['id']!==undefined)this[_0x417530(0x2e7)]({'jsonrpc':_0x417530(0x1cd),'id':_0x5833a6['id'],'error':_0x512e65});return;}if(_0x5833a6['method']==='initialize')this['initialize']=_0x5833a6['params']||{};if(_0x5833a6[_0x417530(0x213)]===_0x417530(0x20e))this[_0x417530(0x28c)]=!![];try{if(this[_0x417530(0x2f7)](_0x5833a6))await this[_0x417530(0x262)]();!this[_0x417530(0x27e)]['stdin']['write'](_0x14cbb5+'\x0a')&&(this[_0x417530(0x2c1)][_0x417530(0x289)](),this[_0x417530(0x27e)][_0x417530(0x2c1)][_0x417530(0x2a8)](_0x417530(0x241),()=>this[_0x417530(0x2c1)][_0x417530(0x1a5)]()));}catch(_0xfc5aa2){if(_0x5833a6['id']!==undefined){const _0x182023=this['pending'][_0x417530(0x290)](messageId(_0x5833a6['id']));if(_0x182023?.[_0x417530(0x294)])finishOperation(this['workspace'],_0x182023[_0x417530(0x294)][_0x417530(0x2a1)],_0x182023[_0x417530(0x294)][_0x417530(0x1ff)]);this[_0x417530(0x162)]['delete'](messageId(_0x5833a6['id']));}throw _0xfc5aa2;}}['isNewMutation'](_0x1f2851){const _0x5537eb=_0x39a322;if(_0x1f2851[_0x5537eb(0x213)]!==_0x5537eb(0x258))return![];const _0x6978dd=_0x1f2851[_0x5537eb(0x273)]?.[_0x5537eb(0x2a4)]||'',_0x4462de=_0x1f2851[_0x5537eb(0x273)]?.[_0x5537eb(0x1f7)]?.[_0x5537eb(0x279)];if(_0x6978dd==='pipeline_checkpoint')return!(_0x1f2851['params']?.[_0x5537eb(0x1f7)]?.[_0x5537eb(0x216)]&&['report',_0x5537eb(0x1bb),'release',_0x5537eb(0x1f6),_0x5537eb(0x16f),'review',_0x5537eb(0x1ca)][_0x5537eb(0x2d5)](_0x4462de));return!this[_0x5537eb(0x24c)](_0x1f2851);}[_0x39a322(0x24c)](_0x4949e4){const _0x43f519=_0x39a322,_0xf690fc=_0x4949e4[_0x43f519(0x273)]?.[_0x43f519(0x2a4)]||'';if([_0x43f519(0x2c5),_0x43f519(0x1cb),_0x43f519(0x1e0),_0x43f519(0x24a),_0x43f519(0x17c),'context_load','route_request',_0x43f519(0x191),_0x43f519(0x25c),_0x43f519(0x242),_0x43f519(0x299),'find_callers',_0x43f519(0x2c6),'explore_code','recall','read_knowledge']['includes'](_0xf690fc))return!![];return![];}[_0x39a322(0x2f7)](_0x3b1252){const _0x178718=_0x39a322;if(_0x3b1252[_0x178718(0x213)]===_0x178718(0x29f))return(this['childEnvironment']['MCP_DISCOVER_BACKENDS']||process.env.MCP_DISCOVER_BACKENDS)==='1';if([_0x178718(0x24d),_0x178718(0x288)][_0x178718(0x2d5)](_0x3b1252[_0x178718(0x213)])||_0x3b1252[_0x178718(0x213)]?.[_0x178718(0x22c)](_0x178718(0x270)))return![];if(_0x3b1252[_0x178718(0x213)]!==_0x178718(0x258))return!![];const {name:_0x2e510b,arguments:_0x513b1e={}}=_0x3b1252[_0x178718(0x273)]||{};if(_0x2e510b===_0x178718(0x24a))return _0x513b1e[_0x178718(0x1b8)]===!![];if(_0x2e510b===_0x178718(0x1cb))return _0x513b1e[_0x178718(0x24f)]===!![];if(_0x2e510b===_0x178718(0x1e0))return Boolean(_0x513b1e[_0x178718(0x2cc)]||_0x513b1e[_0x178718(0x226)]);if(_0x2e510b===_0x178718(0x2c5))return _0x513b1e[_0x178718(0x24f)]===!![];return!['skill_load',_0x178718(0x1e9)][_0x178718(0x2d5)](_0x2e510b);}async[_0x39a322(0x262)](){const _0x52b097=_0x39a322,_0x5750bc=this[_0x52b097(0x27e)],_0x239932={};_0x239932[_0x52b097(0x237)]=_0x52b097(0x239);if(!_0x5750bc)throw Object[_0x52b097(0x16a)](new Error(_0x52b097(0x21c)),_0x239932);if(_0x5750bc['operationsEnabled'])return;_0x5750bc[_0x52b097(0x2d9)]||=((async()=>{const _0x270e33=_0x52b097;await attachOwnedJob(_0x5750bc);const _0x41c726=await this[_0x270e33(0x1b2)](_0x270e33(0x28e)),_0x10cb43={};_0x10cb43[_0x270e33(0x237)]=_0x270e33(0x23d);if(this[_0x270e33(0x27e)]!==_0x5750bc||_0x41c726[_0x270e33(0x1b4)]!==_0x270e33(0x259)||_0x41c726[_0x270e33(0x1d5)]!==_0x5750bc[_0x270e33(0x1d5)]||_0x41c726[_0x270e33(0x19a)]!==this[_0x270e33(0x19a)]||_0x41c726[_0x270e33(0x1ed)]!==this[_0x270e33(0x1ed)])throw Object[_0x270e33(0x16a)](new Error(_0x270e33(0x1e3)),_0x10cb43);_0x5750bc['operationsEnabled']=!![];})());try{await _0x5750bc[_0x52b097(0x2d9)];}catch(_0x31269b){_0x5750bc['operationActivation']=null;throw _0x31269b;}}async['boot'](_0x1b5e72,_0x8d75e3){const _0x2f45d0=_0x39a322;if(this[_0x2f45d0(0x208)])return this[_0x2f45d0(0x208)];this['booting']=((async()=>{const _0x1cd4ba=_0x2f45d0,_0x2f78a8=verifyRelease(_0x1b5e72,this[_0x1cd4ba(0x16d)]),_0x40d669={...process.env,...this[_0x1cd4ba(0x163)]};_0x40d669[_0x1cd4ba(0x23b)]='1',_0x40d669[_0x1cd4ba(0x265)]=this[_0x1cd4ba(0x19a)];const _0x1ac0e0=_0x40d669;delete _0x1ac0e0[_0x1cd4ba(0x1c3)];const _0x385504=spawn(process[_0x1cd4ba(0x22e)],[path[_0x1cd4ba(0x29d)](_0x1b5e72,'src/installer/runtime-child.js')],{'cwd':this[_0x1cd4ba(0x164)],'stdio':[_0x1cd4ba(0x215),_0x1cd4ba(0x215),_0x1cd4ba(0x215),'ipc'],'detached':process[_0x1cd4ba(0x2f0)]!==_0x1cd4ba(0x2b7),'windowsHide':!![],'env':_0x1ac0e0});this['child']=_0x385504;const _0x4a88cf={};_0x4a88cf[_0x1cd4ba(0x164)]=this[_0x1cd4ba(0x164)],_0x4a88cf['connectionId']=this[_0x1cd4ba(0x19a)],_0x4a88cf[_0x1cd4ba(0x19c)]=this['runtimeRoot'],_0x4a88cf[_0x1cd4ba(0x1ed)]=_0x8d75e3,_0x385504['aptOwnership']=captureOwnedChild(_0x385504,_0x4a88cf),_0x385504[_0x1cd4ba(0x2e0)]=_0x385504['aptOwnership'][_0x1cd4ba(0x221)]||null,this[_0x1cd4ba(0x2b8)]=null;const _0x55bc32={};_0x55bc32[_0x1cd4ba(0x17a)]=_0x2f78a8[_0x1cd4ba(0x17a)],_0x55bc32[_0x1cd4ba(0x20d)]=_0x2f78a8[_0x1cd4ba(0x20d)],_0x55bc32[_0x1cd4ba(0x1ed)]=_0x8d75e3,_0x385504[_0x1cd4ba(0x2c2)]=_0x55bc32,_0x385504[_0x1cd4ba(0x1bf)]=![],_0x385504['stdout']['on']('data',_0x5198ec=>this[_0x1cd4ba(0x245)](_0x5198ec,_0x385504)),_0x385504[_0x1cd4ba(0x2cf)]['on'](_0x1cd4ba(0x225),_0x2d1be0=>this[_0x1cd4ba(0x2cf)][_0x1cd4ba(0x21a)](_0x2d1be0)),_0x385504['on'](_0x1cd4ba(0x231),_0x3c6c40=>this['receiveControl'](_0x3c6c40,_0x385504)),_0x385504['on'](_0x1cd4ba(0x18c),(_0xcbd742,_0x135d75)=>this[_0x1cd4ba(0x17b)](_0x385504,_0xcbd742,_0x135d75)),_0x385504['on'](_0x1cd4ba(0x2a2),_0x50ddca=>_0x385504['bootReject']?.(_0x50ddca));const _0x27c494=new Promise((_0x24cec9,_0x11384b)=>{const _0x4df6ae=_0x1cd4ba,_0x133ab7={};_0x133ab7[_0x4df6ae(0x237)]=_0x4df6ae(0x2b6);const _0x3f4a47=setTimeout(()=>_0x11384b(Object[_0x4df6ae(0x16a)](new Error('Runtime\x20child\x20startup\x20timed\x20out'),_0x133ab7)),0x3a98);_0x385504[_0x4df6ae(0x196)]=_0x421718=>{clearTimeout(_0x3f4a47),_0x24cec9(_0x421718);},_0x385504[_0x4df6ae(0x194)]=_0x43988d=>{clearTimeout(_0x3f4a47),_0x11384b(_0x43988d);};});_0x27c494['catch'](()=>{});try{_0x385504[_0x1cd4ba(0x25e)]({'type':_0x1cd4ba(0x26f),'runtimeRoot':this[_0x1cd4ba(0x19c)],'release':_0x1b5e72,'publicKey':this[_0x1cd4ba(0x16d)]?.['toString'](),'connectionId':this['connectionId'],'generation':_0x8d75e3,'workspace':this['workspace'],'explicitWorkspace':this[_0x1cd4ba(0x2c0)],'gatewayBinding':this[_0x1cd4ba(0x1cf)]});const _0x2dc30b=await _0x27c494;_0x385504[_0x1cd4ba(0x1bf)]=!![],this[_0x1cd4ba(0x202)]=Array[_0x1cd4ba(0x284)](_0x2dc30b[_0x1cd4ba(0x227)])?_0x2dc30b['controlCapabilities']:[],this['identity']=_0x2f78a8,this[_0x1cd4ba(0x19e)]=_0x2dc30b[_0x1cd4ba(0x19e)],this['generation']=_0x8d75e3,this[_0x1cd4ba(0x175)]='ready-next-connection',this[_0x1cd4ba(0x246)]();}catch(_0x13fa75){_0x385504[_0x1cd4ba(0x194)]?.(_0x13fa75);try{await attachOwnedJob(_0x385504),await stopOwnedChild(_0x385504,{'graceMs':0x64,'reason':_0x1cd4ba(0x1f8),'graceful':()=>{const _0x90f91f=_0x1cd4ba;if(_0x385504[_0x90f91f(0x210)])_0x385504[_0x90f91f(0x212)]();}});}catch(_0x594558){const _0x338938={};_0x338938['stopCode']=_0x594558[_0x1cd4ba(0x237)];throw Object[_0x1cd4ba(0x16a)](_0x13fa75,_0x338938);}if(this[_0x1cd4ba(0x27e)]===_0x385504)this[_0x1cd4ba(0x27e)]=null;throw _0x13fa75;}})());try{return await this['booting'];}finally{this['booting']=null;}}[_0x39a322(0x245)](_0x528168,_0x3b2a5f){const _0x5d4e29=_0x39a322;if(this[_0x5d4e29(0x27e)]!==_0x3b2a5f)return;const _0x58c466=this['outputDecoder']['write'](_0x528168);this['outputBuffer']+=_0x58c466;let _0x1b1afd;while((_0x1b1afd=this[_0x5d4e29(0x1bc)][_0x5d4e29(0x276)]('\x0a'))>=0x0){const _0x1a8c05=this[_0x5d4e29(0x1bc)][_0x5d4e29(0x205)](0x0,_0x1b1afd);this[_0x5d4e29(0x1bc)]=this[_0x5d4e29(0x1bc)]['slice'](_0x1b1afd+0x1);if(!_0x1a8c05)continue;let _0x2aa209;try{_0x2aa209=JSON[_0x5d4e29(0x211)](_0x1a8c05);}catch{continue;}const _0xf1b77=_0x2aa209['id']!==undefined&&this[_0x5d4e29(0x21f)][_0x5d4e29(0x290)](messageId(_0x2aa209['id']));if(_0xf1b77){this[_0x5d4e29(0x21f)][_0x5d4e29(0x209)](messageId(_0x2aa209['id'])),_0xf1b77[_0x5d4e29(0x240)](_0x2aa209);continue;}const _0x3e151c=_0x2aa209['id']!==undefined?this[_0x5d4e29(0x162)][_0x5d4e29(0x290)](messageId(_0x2aa209['id'])):null;if(_0x3e151c){if(_0x3e151c[_0x5d4e29(0x294)])finishOperation(this[_0x5d4e29(0x164)],_0x3e151c[_0x5d4e29(0x294)][_0x5d4e29(0x2a1)],_0x3e151c[_0x5d4e29(0x294)]['epoch']);this[_0x5d4e29(0x162)][_0x5d4e29(0x209)](messageId(_0x2aa209['id']));if(_0x3e151c['method']==='initialize'&&!_0x2aa209[_0x5d4e29(0x2a2)]){try{this['handshakeComplete']=!![];if(this['startupState'][_0x5d4e29(0x207)]){if(this[_0x5d4e29(0x26e)])this['commitGeneration'](),this[_0x5d4e29(0x175)]='active';else this[_0x5d4e29(0x175)]=_0x5d4e29(0x17d);}else this[_0x5d4e29(0x175)]='serving-committed-with-pending-update';}catch(_0x8d0a7a){this[_0x5d4e29(0x175)]=_0x5d4e29(0x22d);const _0x42a2f5={};_0x42a2f5['code']=-0x7d01,_0x42a2f5[_0x5d4e29(0x231)]=_0x8d0a7a[_0x5d4e29(0x237)]||_0x5d4e29(0x2c9),_0x2aa209={'jsonrpc':_0x5d4e29(0x1cd),'id':_0x2aa209['id'],'error':_0x42a2f5};}this[_0x5d4e29(0x246)]();if(this[_0x5d4e29(0x2e1)][_0x5d4e29(0x207)])void this['releaseCommittedFence']()['catch'](_0x19aa9b=>{const _0xe4915c=_0x5d4e29,_0x5071ea={};_0x5071ea[_0xe4915c(0x27b)]=_0x19aa9b[_0xe4915c(0x237)]||_0xe4915c(0x1e4),this[_0xe4915c(0x246)](_0x5071ea);});}if(_0x3e151c[_0x5d4e29(0x213)]==='tools/list'&&!_0x2aa209['error']){this[_0x5d4e29(0x26e)]=hash(JSON[_0x5d4e29(0x254)](_0x2aa209[_0x5d4e29(0x1d4)]?.['tools']||[]));if(this[_0x5d4e29(0x2e1)][_0x5d4e29(0x207)]&&this['handshakeComplete']&&this[_0x5d4e29(0x175)]===_0x5d4e29(0x17d))try{this[_0x5d4e29(0x2cb)](),this[_0x5d4e29(0x175)]='active',this[_0x5d4e29(0x246)]();}catch(_0x12482d){this[_0x5d4e29(0x175)]=_0x5d4e29(0x22d);const _0x2ad59c={};_0x2ad59c[_0x5d4e29(0x27b)]=_0x12482d[_0x5d4e29(0x237)]||_0x5d4e29(0x2c9),this[_0x5d4e29(0x246)](_0x2ad59c);}}}!this['stdout'][_0x5d4e29(0x21a)](JSON['stringify'](_0x2aa209)+'\x0a')&&(_0x3b2a5f[_0x5d4e29(0x1d7)][_0x5d4e29(0x289)](),this[_0x5d4e29(0x1d7)][_0x5d4e29(0x2a8)]('drain',()=>_0x3b2a5f[_0x5d4e29(0x1d7)][_0x5d4e29(0x1a5)]()));}}async['releaseCommittedFence'](){const _0x5bbc38=_0x39a322,_0x1ef708=readFence(this[_0x5bbc38(0x164)]);if(_0x1ef708['state']!==_0x5bbc38(0x1aa)||_0x1ef708[_0x5bbc38(0x2a0)]!==this[_0x5bbc38(0x171)]?.['version']||_0x1ef708[_0x5bbc38(0x1ac)]!==this[_0x5bbc38(0x171)]?.[_0x5bbc38(0x20d)])return;const _0x41f499=path['join'](this[_0x5bbc38(0x164)],'.agents',_0x5bbc38(0x1d3),_0x5bbc38(0x16b));let _0x58e94b;try{_0x58e94b=JSON['parse'](fs[_0x5bbc38(0x275)](_0x41f499,_0x5bbc38(0x2a6)));}catch{return;}if(_0x58e94b[_0x5bbc38(0x25f)]!==_0x1ef708[_0x5bbc38(0x25f)]||![_0x5bbc38(0x222),_0x5bbc38(0x22d)][_0x5bbc38(0x2d5)](_0x58e94b[_0x5bbc38(0x204)]))return;const _0x41287f=await require(_0x5bbc38(0x1a1))[_0x5bbc38(0x1c4)](this[_0x5bbc38(0x164)],{'version':this['identity'][_0x5bbc38(0x17a)],'digest':this[_0x5bbc38(0x171)]['digest'],'resourceDigest':this[_0x5bbc38(0x19e)],'catalogHash':this[_0x5bbc38(0x26e)]});if(_0x41287f[_0x5bbc38(0x204)]!==_0x5bbc38(0x190))return;const _0x1a7ccc=new Set(_0x41287f['connections'][_0x5bbc38(0x2b0)](_0x18fa6e=>_0x18fa6e['connectionId'])),_0x203784=changeFence(this['workspace'],_0x1ef708[_0x5bbc38(0x1ff)],{'state':'open','transactionId':_0x1ef708[_0x5bbc38(0x25f)],'generation':this[_0x5bbc38(0x1ed)],'guard':_0x5b8f0e=>_0x5b8f0e[_0x5bbc38(0x25a)]===_0x5bbc38(0x1aa)&&_0x5b8f0e['transactionId']===_0x1ef708[_0x5bbc38(0x25f)]&&Object['values'](_0x5b8f0e[_0x5bbc38(0x1db)]||{})[_0x5bbc38(0x29a)](_0x32776b=>_0x32776b['state']!==_0x5bbc38(0x1aa))[_0x5bbc38(0x292)](_0xdcca96=>_0x1a7ccc[_0x5bbc38(0x1ba)](_0xdcca96[_0x5bbc38(0x19a)]))}),_0x4f2207={..._0x58e94b};_0x4f2207['status']=_0x5bbc38(0x190),_0x4f2207['activationEvidence']=_0x5bbc38(0x1b0),_0x4f2207[_0x5bbc38(0x1ed)]=this[_0x5bbc38(0x1ed)],_0x4f2207['changedAt']=_0x203784['changedAt'],atomic(_0x41f499,_0x4f2207);}[_0x39a322(0x1b7)](_0x1a42b9,_0x35d99b){const _0xcbe097=_0x39a322;if(this[_0xcbe097(0x27e)]!==_0x35d99b)return;if(_0x1a42b9?.['type']==='context-proposed'){const _0x20f23a=this[_0xcbe097(0x21f)][_0xcbe097(0x290)](messageId(_0x1a42b9[_0xcbe097(0x20c)]));let _0x3bff34=_0x20f23a?.[_0xcbe097(0x1b4)]===_0xcbe097(0x2c4);try{if(_0x3bff34)_0x20f23a[_0xcbe097(0x188)][_0xcbe097(0x214)]();}catch{_0x3bff34=![];}const _0x2a3fa3={};_0x2a3fa3[_0xcbe097(0x1b4)]=_0xcbe097(0x1be),_0x2a3fa3[_0xcbe097(0x20c)]=_0x1a42b9[_0xcbe097(0x20c)];const _0x53e80b={};_0x53e80b[_0xcbe097(0x1b4)]=_0xcbe097(0x177),_0x53e80b[_0xcbe097(0x1ce)]=_0x1a42b9[_0xcbe097(0x20c)];if(_0x35d99b[_0xcbe097(0x210)])_0x35d99b[_0xcbe097(0x25e)](_0x3bff34?_0x2a3fa3:_0x53e80b,()=>{});return;}if(_0x1a42b9?.[_0xcbe097(0x1b4)]===_0xcbe097(0x1bf)){const _0x496693=_0x35d99b[_0xcbe097(0x2c2)],_0x60624d={};_0x60624d[_0xcbe097(0x237)]=_0xcbe097(0x23d);if(!_0x496693||_0x1a42b9['connectionId']!==this[_0xcbe097(0x19a)]||_0x1a42b9[_0xcbe097(0x1d5)]!==_0x35d99b[_0xcbe097(0x1d5)]||_0x1a42b9[_0xcbe097(0x1ed)]!==_0x496693[_0xcbe097(0x1ed)]||_0x1a42b9['version']!==_0x496693[_0xcbe097(0x17a)]||_0x1a42b9[_0xcbe097(0x20d)]!==_0x496693[_0xcbe097(0x20d)]||!same(_0x1a42b9[_0xcbe097(0x164)]||'',this[_0xcbe097(0x164)]))_0x35d99b[_0xcbe097(0x194)]?.(Object[_0xcbe097(0x16a)](new Error(_0xcbe097(0x1da)),_0x60624d));else _0x35d99b[_0xcbe097(0x196)]?.(_0x1a42b9);}else{if(_0x1a42b9?.[_0xcbe097(0x1b4)]===_0xcbe097(0x1de))_0x35d99b[_0xcbe097(0x194)]?.(Object[_0xcbe097(0x16a)](new Error(_0x1a42b9[_0xcbe097(0x1ec)]),{'code':_0x1a42b9[_0xcbe097(0x237)]}));else{if(_0x1a42b9?.[_0xcbe097(0x1b4)]==='workspace-bound')this[_0xcbe097(0x252)](_0x1a42b9[_0xcbe097(0x164)]);else{if(_0x1a42b9?.[_0xcbe097(0x20c)]&&this[_0xcbe097(0x21f)][_0xcbe097(0x1ba)](messageId(_0x1a42b9[_0xcbe097(0x20c)]))){if(_0x1a42b9[_0xcbe097(0x1b4)]===_0xcbe097(0x19d)&&_0x1a42b9['pid']===_0x35d99b[_0xcbe097(0x1d5)]&&_0x1a42b9[_0xcbe097(0x19a)]===this[_0xcbe097(0x19a)]&&_0x1a42b9['generation']===this['generation']&&_0x1a42b9[_0xcbe097(0x176)]===!![])_0x35d99b[_0xcbe097(0x249)]=!![];const _0x16b183=this[_0xcbe097(0x21f)][_0xcbe097(0x290)](messageId(_0x1a42b9[_0xcbe097(0x20c)]));this['control']['delete'](messageId(_0x1a42b9[_0xcbe097(0x20c)])),_0x16b183[_0xcbe097(0x240)](_0x1a42b9);}}}}}async[_0x39a322(0x1b2)](_0x2e3f98,_0x237d2a={},_0x433b39=0x1388,_0x24bda0={}){const _0x124234=_0x39a322,_0x333af9=_0x2e3f98==='issue-context'?require(_0x124234(0x2e3))[_0x124234(0x1f1)](_0x237d2a['input']?.[_0x124234(0x2ea)],_0x24bda0):null;_0x333af9?.[_0x124234(0x214)]();const _0x1f30b9={};_0x1f30b9[_0x124234(0x2a4)]=_0x237d2a['input']?.[_0x124234(0x255)],_0x1f30b9['arguments']=_0x237d2a[_0x124234(0x183)]?.[_0x124234(0x1f7)];const _0x1088c9={};_0x1088c9[_0x124234(0x213)]=_0x124234(0x258),_0x1088c9[_0x124234(0x273)]=_0x1f30b9;const _0x3908c4=_0x2e3f98===_0x124234(0x2c4)&&!this[_0x124234(0x2f7)](_0x1088c9);if(![_0x124234(0x204),_0x124234(0x28e)]['includes'](_0x2e3f98)&&!_0x3908c4)await this['enableOwnedOperations']();_0x333af9?.[_0x124234(0x214)]();const _0x228b17={};_0x228b17[_0x124234(0x237)]='CHILD_UNAVAILABLE';if(!this['child']?.[_0x124234(0x210)])return Promise[_0x124234(0x1fc)](Object['assign'](new Error(_0x124234(0x21c)),_0x228b17));const _0x5cd689=Math[_0x124234(0x23f)](0x1,Math[_0x124234(0x198)](_0x433b39,_0x333af9?.[_0x124234(0x21b)]()??_0x433b39));if(_0x333af9)_0x237d2a={..._0x237d2a,'input':{..._0x237d2a[_0x124234(0x183)],'hookLease':{..._0x333af9['wire'],'notAfter':Math[_0x124234(0x198)](_0x333af9[_0x124234(0x186)][_0x124234(0x2bf)],Date[_0x124234(0x264)]()+_0x5cd689),'maxDurationMs':Math[_0x124234(0x198)](_0x333af9[_0x124234(0x186)]['maxDurationMs'],Math['ceil'](_0x5cd689))}}};const _0x39db3a=_0x124234(0x170)+crypto[_0x124234(0x220)]();return new Promise((_0x2f79e7,_0x54f1cb)=>{const _0x58caf2=_0x124234,_0x31e4b1=this[_0x58caf2(0x27e)],_0x18002a=(_0xa919a9='HOOK_DEADLINE_EXCEEDED')=>{const _0x39573f=_0x58caf2;clearTimeout(_0x273f42),_0x24bda0[_0x39573f(0x2ec)]?.[_0x39573f(0x2bc)](_0x39573f(0x2d4),_0x3ccfb1),this[_0x39573f(0x21f)][_0x39573f(0x209)](messageId(_0x39db3a));if(_0x2e3f98===_0x39573f(0x2c4)&&_0x31e4b1[_0x39573f(0x210)])try{const _0x15375a={};_0x15375a[_0x39573f(0x1b4)]=_0x39573f(0x177),_0x15375a[_0x39573f(0x1ce)]=_0x39db3a,_0x31e4b1[_0x39573f(0x25e)](_0x15375a,()=>{});}catch{}_0x54f1cb(Object['assign'](new Error(_0xa919a9),{'code':_0xa919a9}));},_0x3ccfb1=()=>_0x18002a(),_0x273f42=setTimeout(()=>_0x18002a(_0x58caf2(0x1f5)),_0x5cd689);if(_0x24bda0[_0x58caf2(0x2ec)]?.['aborted'])return _0x18002a();const _0x29e44a={};_0x29e44a[_0x58caf2(0x2a8)]=!![],_0x24bda0[_0x58caf2(0x2ec)]?.['addEventListener'](_0x58caf2(0x2d4),_0x3ccfb1,_0x29e44a),this['control'][_0x58caf2(0x2e6)](messageId(_0x39db3a),{'type':_0x2e3f98,'lease':_0x333af9,'resolve':_0x3ac8e7=>{const _0x5f56aa=_0x58caf2;try{_0x333af9?.[_0x5f56aa(0x214)]();}catch{return _0x18002a();}clearTimeout(_0x273f42),_0x24bda0[_0x5f56aa(0x2ec)]?.[_0x5f56aa(0x2bc)](_0x5f56aa(0x2d4),_0x3ccfb1),_0x2f79e7(_0x3ac8e7);}});try{const _0x30aa68={'type':_0x2e3f98,'requestId':_0x39db3a,..._0x237d2a};_0x31e4b1[_0x58caf2(0x25e)](_0x30aa68,_0x33a4bc=>{const _0x12d380=_0x58caf2;if(_0x33a4bc)_0x18002a(_0x12d380(0x239));});}catch{_0x18002a(_0x58caf2(0x239));}});}async[_0x39a322(0x1e7)](_0x3a7150,_0x296e19,_0x4905e4=0x2710){const _0x25a605=_0x39a322;await this['enableOwnedOperations']();const _0x390a1b=_0x25a605(0x20b)+crypto['randomUUID']();return new Promise((_0x5add97,_0x2c8d40)=>{const _0x270fb8=_0x25a605,_0x2e798c=setTimeout(()=>{const _0x47fed8=_0x36fb;this[_0x47fed8(0x21f)]['delete'](messageId(_0x390a1b));const _0x13bd3a={};_0x13bd3a[_0x47fed8(0x237)]='CHILD_RPC_TIMEOUT',_0x2c8d40(Object['assign'](new Error(_0x47fed8(0x1e6)),_0x13bd3a));},_0x4905e4);this[_0x270fb8(0x21f)][_0x270fb8(0x2e6)](messageId(_0x390a1b),{'resolve':_0x147bc6=>{clearTimeout(_0x2e798c),_0x5add97(_0x147bc6);}});const _0x5b3899={};_0x5b3899[_0x270fb8(0x166)]=_0x270fb8(0x1cd),_0x5b3899['id']=_0x390a1b,_0x5b3899[_0x270fb8(0x213)]=_0x3a7150,_0x5b3899[_0x270fb8(0x273)]=_0x296e19,this[_0x270fb8(0x27e)][_0x270fb8(0x2c1)]['write'](JSON[_0x270fb8(0x254)](_0x5b3899)+'\x0a');});}async[_0x39a322(0x187)](){const _0x6dfae8=_0x39a322;if(this['pending'][_0x6dfae8(0x22b)])return[{'kind':_0x6dfae8(0x1e5),'count':this[_0x6dfae8(0x162)][_0x6dfae8(0x22b)]}];const _0x2536cf=await this[_0x6dfae8(0x1b2)](_0x6dfae8(0x204)),_0x23b3c0={};return _0x23b3c0[_0x6dfae8(0x23c)]=_0x6dfae8(0x174),_0x2536cf[_0x6dfae8(0x1bd)]||[_0x23b3c0];}['candidateTuple'](){const _0x4274ce=_0x39a322,_0x20fabf={};return _0x20fabf[_0x4274ce(0x19a)]=this[_0x4274ce(0x19a)],_0x20fabf[_0x4274ce(0x164)]=this['workspace'],_0x20fabf[_0x4274ce(0x1c9)]=process[_0x4274ce(0x1d5)],_0x20fabf['childPid']=this[_0x4274ce(0x27e)]?.['pid'],_0x20fabf[_0x4274ce(0x17a)]=this[_0x4274ce(0x171)]?.[_0x4274ce(0x17a)],_0x20fabf['digest']=this['identity']?.[_0x4274ce(0x20d)],_0x20fabf[_0x4274ce(0x19e)]=this['resourceDigest'],_0x20fabf['catalogHash']=this[_0x4274ce(0x26e)],_0x20fabf[_0x4274ce(0x1ed)]=this[_0x4274ce(0x1ed)],_0x20fabf;}async[_0x39a322(0x1b3)](_0x419b8e){const _0x352548=_0x39a322,_0x32457c={};_0x32457c[_0x352548(0x237)]=_0x352548(0x239);if(!this[_0x352548(0x27e)])throw Object[_0x352548(0x16a)](new Error(_0x352548(0x26d)),_0x32457c);const _0xccb221=this[_0x352548(0x27e)];_0xccb221[_0x352548(0x2eb)]||=((async()=>{const _0x4485b7=_0x352548;if(!_0xccb221[_0x4485b7(0x1aa)])await this['enableOwnedOperations']();let _0x1ccaef=![];const _0x372127=await stopOwnedChild(_0xccb221,{'reason':_0x419b8e,'graceful':async()=>{const _0x270877=_0x4485b7,_0x208506={};_0x208506[_0x270877(0x1fb)]=_0x419b8e;const _0x52eb57=await this[_0x270877(0x1b2)]('shutdown',_0x208506,0x3a98);_0x1ccaef=_0x52eb57[_0x270877(0x1b4)]==='stopped'&&_0x52eb57[_0x270877(0x1d5)]===_0xccb221[_0x270877(0x1d5)]&&_0x52eb57[_0x270877(0x19a)]===this['connectionId']&&_0x52eb57[_0x270877(0x1ed)]===(_0xccb221[_0x270877(0x2c2)]?.[_0x270877(0x1ed)]??this[_0x270877(0x1ed)])&&_0x52eb57[_0x270877(0x176)]===!![];}}),_0xb5435={};_0xb5435[_0x4485b7(0x237)]=_0x4485b7(0x1af);if(process[_0x4485b7(0x2f0)]!==_0x4485b7(0x2b7)&&!_0x1ccaef)throw Object[_0x4485b7(0x16a)](new Error('Registered\x20owner\x20shutdown\x20was\x20not\x20confirmed'),_0xb5435);const _0x30822d={..._0x372127};return _0x30822d[_0x4485b7(0x176)]=_0x1ccaef,_0xccb221[_0x4485b7(0x2b8)]=_0x30822d,_0xccb221[_0x4485b7(0x2b8)];})());const _0x54ddb5=await _0xccb221[_0x352548(0x2eb)],_0xdb3177={};_0xdb3177[_0x352548(0x237)]='PROCESS_TREE_STOP_UNCONFIRMED';if(process[_0x352548(0x2f0)]!=='win32'&&_0xccb221['shutdownEvidence']?.[_0x352548(0x176)]!==!![])throw Object['assign'](new Error(_0x352548(0x1d6)),_0xdb3177);this[_0x352548(0x27e)]===_0xccb221&&(this[_0x352548(0x2b8)]=_0xccb221[_0x352548(0x2b8)]||_0x54ddb5,this[_0x352548(0x27e)]=null,this[_0x352548(0x1bc)]='',this[_0x352548(0x260)]=new StringDecoder(_0x352548(0x2a6)));}async[_0x39a322(0x2de)](_0x371cca){const _0x2f3287=_0x39a322;if(this[_0x2f3287(0x24d)]){const _0x358b97=await this[_0x2f3287(0x1e7)]('initialize',this[_0x2f3287(0x24d)]),_0x511c3e={};_0x511c3e[_0x2f3287(0x237)]='CHILD_INITIALIZE_FAILED';if(_0x358b97['error'])throw Object[_0x2f3287(0x16a)](new Error(_0x2f3287(0x1df)),_0x511c3e);const _0x51ad23={};_0x51ad23[_0x2f3287(0x166)]=_0x2f3287(0x1cd),_0x51ad23[_0x2f3287(0x213)]=_0x2f3287(0x20e),_0x51ad23[_0x2f3287(0x273)]={};if(this[_0x2f3287(0x28c)])this[_0x2f3287(0x27e)][_0x2f3287(0x2c1)]['write'](JSON[_0x2f3287(0x254)](_0x51ad23)+'\x0a');}const _0x41ae8f=await this[_0x2f3287(0x1e7)](_0x2f3287(0x29f),{}),_0x1d67ce=hash(JSON['stringify'](_0x41ae8f[_0x2f3287(0x1d4)]?.[_0x2f3287(0x27f)]||[])),_0x198855={};_0x198855[_0x2f3287(0x237)]=_0x2f3287(0x20f);if(_0x41ae8f[_0x2f3287(0x2a2)]||this[_0x2f3287(0x26e)]&&_0x1d67ce!==this[_0x2f3287(0x26e)])throw Object[_0x2f3287(0x16a)](new Error(_0x2f3287(0x2be)),_0x198855);this[_0x2f3287(0x26e)]=_0x1d67ce;const _0x191c6f={};_0x191c6f[_0x2f3287(0x2f3)]=_0x371cca[_0x2f3287(0x2f3)],_0x191c6f[_0x2f3287(0x257)]=_0x371cca['boundPipeline'],await this[_0x2f3287(0x1b2)](_0x2f3287(0x2ed),_0x191c6f);}async[_0x39a322(0x16e)](_0x12825c){const _0x97f932=_0x39a322,_0x1f4b0c=readFence(this['workspace']),_0x43c3de={};_0x43c3de[_0x97f932(0x237)]='ADMISSION_CONFLICT';if(_0x1f4b0c[_0x97f932(0x25a)]!==_0x97f932(0x200)||_0x12825c[_0x97f932(0x25f)]!==_0x1f4b0c[_0x97f932(0x25f)]||_0x12825c[_0x97f932(0x1ff)]!==_0x1f4b0c[_0x97f932(0x1ff)])throw Object[_0x97f932(0x16a)](new Error(_0x97f932(0x295)),_0x43c3de);const _0x1ecea5={};_0x1ecea5[_0x97f932(0x204)]=_0x97f932(0x28b),_0x1ecea5[_0x97f932(0x237)]=_0x97f932(0x197);if(this[_0x97f932(0x1c0)])return _0x1ecea5;this[_0x97f932(0x27a)](_0x12825c[_0x97f932(0x25f)]),this[_0x97f932(0x224)]=!![];if(_0x12825c[_0x97f932(0x1b4)]===_0x97f932(0x1fd)){const _0x568bc0={};_0x568bc0[_0x97f932(0x237)]=_0x97f932(0x1a7);if(!this[_0x97f932(0x19b)]||this[_0x97f932(0x19b)]['transactionId']!==_0x12825c[_0x97f932(0x25f)]||!this['candidate'][_0x97f932(0x256)]||!this[_0x97f932(0x27e)]?.[_0x97f932(0x1bf)])throw Object[_0x97f932(0x16a)](new Error(_0x97f932(0x1a4)),_0x568bc0);const _0x2a1c89=await this[_0x97f932(0x1b2)]('status'),_0xc87f1f={};_0xc87f1f[_0x97f932(0x237)]='CHILD_READINESS_MISMATCH';if(_0x2a1c89[_0x97f932(0x1d5)]!==this[_0x97f932(0x27e)][_0x97f932(0x1d5)]||_0x2a1c89[_0x97f932(0x1ed)]!==_0x12825c[_0x97f932(0x1ed)]||!same(_0x2a1c89[_0x97f932(0x164)],this['workspace']))throw Object['assign'](new Error('Candidate\x20readiness\x20is\x20no\x20longer\x20valid'),_0xc87f1f);const _0x14bfbb=acknowledgeGeneration(this[_0x97f932(0x164)],this[_0x97f932(0x19a)],_0x12825c[_0x97f932(0x25f)],this[_0x97f932(0x2f2)]());projectGeneration(this[_0x97f932(0x19c)],this['workspace'],_0x14bfbb),this[_0x97f932(0x2c8)]=this['candidate']['release'],this[_0x97f932(0x175)]=_0x97f932(0x190),this['admissionClosed']=![];const _0x1f5c0a={};return _0x1f5c0a['committedTransaction']=_0x14bfbb['transactionId'],this[_0x97f932(0x246)](_0x1f5c0a),{'status':_0x97f932(0x190),...this[_0x97f932(0x2f2)]()};}const _0x28013f=readGeneration(this['workspace']),_0x42f7ba={};_0x42f7ba['code']='RESOURCE_ROLL_FORWARD_REQUIRED';if(_0x12825c[_0x97f932(0x1b4)]===_0x97f932(0x185)&&_0x28013f?.[_0x97f932(0x25f)]===_0x12825c[_0x97f932(0x25f)])throw Object[_0x97f932(0x16a)](new Error(_0x97f932(0x28d)),_0x42f7ba);if(_0x12825c['type']===_0x97f932(0x1a9)&&this[_0x97f932(0x19b)]?.['transactionId']===_0x12825c[_0x97f932(0x25f)]&&this['candidate'][_0x97f932(0x256)]&&this['child']?.['ready']){const _0x21fb42=this[_0x97f932(0x2f2)](),_0xc943e7={};_0xc943e7[_0x97f932(0x237)]=_0x97f932(0x2d8);if([_0x97f932(0x17a),_0x97f932(0x20d),_0x97f932(0x1ed),_0x97f932(0x19e),'catalogHash'][_0x97f932(0x2ab)](_0xaab808=>_0x21fb42[_0xaab808]!==_0x12825c[_0xaab808]))throw Object['assign'](new Error(_0x97f932(0x296)),_0xc943e7);const _0xaabf2b=await this[_0x97f932(0x1b2)]('status'),_0xa7103={};_0xa7103['code']='CHILD_READINESS_MISMATCH';if(_0xaabf2b[_0x97f932(0x1d5)]!==_0x21fb42['childPid']||_0xaabf2b[_0x97f932(0x1ed)]!==_0x21fb42['generation']||!same(_0xaabf2b[_0x97f932(0x164)],this[_0x97f932(0x164)]))throw Object[_0x97f932(0x16a)](new Error(_0x97f932(0x1ea)),_0xa7103);const _0x2950b1={'status':'candidate-ready',..._0x21fb42};return _0x2950b1;}this[_0x97f932(0x1c0)]=((async()=>{const _0x1b117c=_0x97f932;if(_0x12825c['type']===_0x1b117c(0x2c3)){if(this['candidate']?.['transactionId']===_0x12825c[_0x1b117c(0x25f)]&&this[_0x1b117c(0x19b)][_0x1b117c(0x19d)]&&this[_0x1b117c(0x19b)][_0x1b117c(0x256)]&&!this[_0x1b117c(0x19b)][_0x1b117c(0x228)])return{'status':this['child']?.['ready']?_0x1b117c(0x1d1):_0x1b117c(0x28b),'code':this[_0x1b117c(0x27e)]?.[_0x1b117c(0x1bf)]?undefined:_0x1b117c(0x184),'oldRuntimeStopped':!![],...this['candidateTuple']()};if(this[_0x1b117c(0x19b)]?.[_0x1b117c(0x25f)]===_0x12825c[_0x1b117c(0x25f)]&&this[_0x1b117c(0x19b)][_0x1b117c(0x19d)]&&!this[_0x1b117c(0x19b)][_0x1b117c(0x228)]&&!this['child'])return{'status':_0x1b117c(0x19d),'connectionId':this[_0x1b117c(0x19a)]};const _0x2bd2d3=await this[_0x1b117c(0x187)]();if(_0x2bd2d3['length'])return{'status':_0x1b117c(0x28b),'blockers':_0x2bd2d3};const _0x22bb2=await this[_0x1b117c(0x1b2)]('status');this[_0x1b117c(0x19b)]={'transactionId':_0x12825c[_0x1b117c(0x25f)],'previous':{'release':this[_0x1b117c(0x2c8)],'generation':this[_0x1b117c(0x1ed)],'resourceDigest':this[_0x1b117c(0x19e)],'state':_0x22bb2}},this[_0x1b117c(0x2ae)](),await this['stopChild']('workspace-update'),this['candidate'][_0x1b117c(0x19d)]=!![],this[_0x1b117c(0x2ae)]();const _0x1770ac={};_0x1770ac[_0x1b117c(0x21d)]=_0x12825c[_0x1b117c(0x25f)],this[_0x1b117c(0x246)](_0x1770ac);const _0x28694b={};return _0x28694b[_0x1b117c(0x204)]=_0x1b117c(0x19d),_0x28694b[_0x1b117c(0x19a)]=this[_0x1b117c(0x19a)],_0x28694b[_0x1b117c(0x2b8)]=this[_0x1b117c(0x2b8)],_0x28694b;}if(_0x12825c[_0x1b117c(0x1b4)]===_0x1b117c(0x185)){const _0x45fa7f={};_0x45fa7f[_0x1b117c(0x237)]=_0x1b117c(0x25d);if(!this[_0x1b117c(0x19b)])throw Object['assign'](new Error('Previous\x20runtime\x20ownership\x20was\x20not\x20recovered'),_0x45fa7f);const _0x39771e=this[_0x1b117c(0x19b)][_0x1b117c(0x261)],_0x266eb5={};_0x266eb5[_0x1b117c(0x237)]='CHILD_OWNERSHIP_UNKNOWN';if(!_0x39771e?.['state']||!this[_0x1b117c(0x19b)][_0x1b117c(0x19d)])throw Object['assign'](new Error(_0x1b117c(0x1f3)),_0x266eb5);if(this[_0x1b117c(0x27e)])await this['stopChild'](_0x1b117c(0x2e5));await this['boot'](_0x39771e['release'],_0x39771e[_0x1b117c(0x1ed)]);const _0xeeb768={};_0xeeb768['code']='RESOURCE_ROLLBACK_UNCONFIRMED';if(this[_0x1b117c(0x19e)]!==_0x39771e[_0x1b117c(0x19e)])throw Object[_0x1b117c(0x16a)](new Error(_0x1b117c(0x195)),_0xeeb768);return await this[_0x1b117c(0x2de)](_0x39771e['state']),this['release']=_0x39771e[_0x1b117c(0x2c8)],this[_0x1b117c(0x19b)]={...this[_0x1b117c(0x19b)],'restored':!![],'prepared':![]},this['persistCandidate'](),this[_0x1b117c(0x175)]=_0x1b117c(0x28b),this[_0x1b117c(0x224)]=![],this['record'](),{'status':_0x1b117c(0x1eb),'serving':this[_0x1b117c(0x27e)]?.[_0x1b117c(0x1bf)]===!![],...this[_0x1b117c(0x2f2)]()};}const _0xb8adc4={};_0xb8adc4[_0x1b117c(0x237)]=_0x1b117c(0x2d8);if(!Number['isSafeInteger'](_0x12825c[_0x1b117c(0x1ed)])||_0x12825c['generation']<=(this[_0x1b117c(0x19b)]?.['previous']?.[_0x1b117c(0x1ed)]??this[_0x1b117c(0x1ed)])||_0x12825c[_0x1b117c(0x17a)]!==_0x1f4b0c[_0x1b117c(0x2a0)]||_0x12825c['digest']!==_0x1f4b0c['targetDigest'])throw Object['assign'](new Error('Candidate\x20target\x20does\x20not\x20match\x20transaction'),_0xb8adc4);const _0x29fc76=_0x12825c[_0x1b117c(0x2c8)]||path[_0x1b117c(0x29d)](this[_0x1b117c(0x19c)],'releases',_0x12825c['version']+'-'+_0x12825c[_0x1b117c(0x20d)]),_0x3fa94c=verifyRelease(_0x29fc76,this[_0x1b117c(0x16d)]),_0x21e8d7={};_0x21e8d7[_0x1b117c(0x237)]=_0x1b117c(0x2d8);if(_0x3fa94c[_0x1b117c(0x17a)]!==_0x12825c[_0x1b117c(0x17a)]||_0x3fa94c[_0x1b117c(0x20d)]!==_0x12825c[_0x1b117c(0x20d)])throw Object[_0x1b117c(0x16a)](new Error(_0x1b117c(0x2ce)),_0x21e8d7);const _0x5d0ba9={};_0x5d0ba9[_0x1b117c(0x237)]=_0x1b117c(0x1ab);if(!this[_0x1b117c(0x19b)]?.[_0x1b117c(0x19d)]||this['candidate']['transactionId']!==_0x12825c[_0x1b117c(0x25f)])throw Object[_0x1b117c(0x16a)](new Error(_0x1b117c(0x1f9)),_0x5d0ba9);const _0x4eeadc=this[_0x1b117c(0x19b)][_0x1b117c(0x261)]['state'];this[_0x1b117c(0x19b)][_0x1b117c(0x2c8)]=_0x29fc76;if(this['child'])await this[_0x1b117c(0x1b3)](_0x1b117c(0x1b1));this[_0x1b117c(0x19b)][_0x1b117c(0x256)]=![],this[_0x1b117c(0x2ae)](),await this[_0x1b117c(0x26f)](_0x29fc76,_0x12825c['generation']),await this[_0x1b117c(0x2de)](_0x4eeadc);const _0x6e2176={};_0x6e2176[_0x1b117c(0x237)]=_0x1b117c(0x2d8);if(this[_0x1b117c(0x19e)]!==_0x12825c[_0x1b117c(0x19e)]||this[_0x1b117c(0x26e)]!==_0x12825c[_0x1b117c(0x1c2)])throw Object[_0x1b117c(0x16a)](new Error(_0x1b117c(0x285)),_0x6e2176);this[_0x1b117c(0x19b)]['prepared']=!![],this[_0x1b117c(0x2ae)](),this[_0x1b117c(0x175)]='pending-safe-boundary';const _0x966257={};return _0x966257[_0x1b117c(0x2ba)]=_0x12825c[_0x1b117c(0x25f)],this['record'](_0x966257),{'status':_0x1b117c(0x1d1),...this[_0x1b117c(0x2f2)]()};})());try{return await this[_0x97f932(0x1c0)];}finally{this['transition']=null;}}async['switchRuntime'](){const _0x1606ff=_0x39a322,_0x2cba28={};return _0x2cba28[_0x1606ff(0x204)]=_0x1606ff(0x22d),_0x2cba28[_0x1606ff(0x237)]=_0x1606ff(0x27c),_0x2cba28;}async['childClosed'](_0x3dd0f5,_0x2bb69d,_0x5ae981){const _0x5b559d=_0x39a322;if(this[_0x5b559d(0x27e)]!==_0x3dd0f5)return;_0x3dd0f5[_0x5b559d(0x1aa)]=!![],_0x3dd0f5[_0x5b559d(0x1bf)]=![];const _0x26a79a={};_0x26a79a['code']='CHILD_CLOSED',_0x3dd0f5[_0x5b559d(0x194)]?.(Object['assign'](new Error(_0x5b559d(0x1dc)),_0x26a79a));for(const [_0x1a86c6]of this[_0x5b559d(0x162)]){try{const _0x5be1f0={};_0x5be1f0[_0x5b559d(0x237)]=-0x7d02,_0x5be1f0[_0x5b559d(0x231)]='APT_RUNTIME_OUTCOME_UNKNOWN:\x20child\x20closed\x20after\x20request\x20delivery',this['writeHost']({'jsonrpc':'2.0','id':JSON[_0x5b559d(0x211)](_0x1a86c6),'error':_0x5be1f0});}catch{}}this[_0x5b559d(0x162)]['clear']();try{const _0x1c52da={};_0x1c52da[_0x5b559d(0x1fb)]=_0x5b559d(0x2b1),_0x1c52da[_0x5b559d(0x2ee)]=0x3e8,_0x3dd0f5[_0x5b559d(0x2eb)]||=stopOwnedChild(_0x3dd0f5,_0x1c52da);const _0x3dbd4e=await _0x3dd0f5[_0x5b559d(0x2eb)];_0x3dd0f5['shutdownEvidence']||={..._0x3dbd4e,'registeredOwnersStopped':_0x3dd0f5[_0x5b559d(0x249)]===!![]};}catch(_0x1b6455){this[_0x5b559d(0x175)]=_0x5b559d(0x28a),this['admissionClosed']=!![];const _0x2ebd35={};_0x2ebd35[_0x5b559d(0x2f6)]=_0x5ae981||_0x2bb69d||_0x5b559d(0x181),_0x2ebd35[_0x5b559d(0x27b)]=_0x1b6455[_0x5b559d(0x237)]||'PROCESS_TREE_STOP_UNCONFIRMED',this['record'](_0x2ebd35);return;}if(this[_0x5b559d(0x27e)]!==_0x3dd0f5)return;if(process[_0x5b559d(0x2f0)]!==_0x5b559d(0x2b7)&&!_0x3dd0f5[_0x5b559d(0x249)]){this[_0x5b559d(0x175)]=_0x5b559d(0x28a),this[_0x5b559d(0x224)]=!![];const _0x4d814a={};_0x4d814a[_0x5b559d(0x2f6)]=_0x5ae981||_0x2bb69d||_0x5b559d(0x181),_0x4d814a[_0x5b559d(0x27b)]=_0x5b559d(0x1af),this[_0x5b559d(0x246)](_0x4d814a);return;}this[_0x5b559d(0x2b8)]=_0x3dd0f5['shutdownEvidence'],this[_0x5b559d(0x27e)]=null;if(!this[_0x5b559d(0x1c0)]&&!this['stopped']){this[_0x5b559d(0x24d)]=null,this[_0x5b559d(0x28c)]=![],this[_0x5b559d(0x175)]=_0x5b559d(0x22d),this['admissionClosed']=!![];const _0x36d6f6={};_0x36d6f6[_0x5b559d(0x2f6)]=_0x5ae981||_0x2bb69d||_0x5b559d(0x181),this['record'](_0x36d6f6);}}[_0x39a322(0x2e7)](_0x1bfbdb){const _0x5b9463=_0x39a322;this[_0x5b9463(0x1d7)][_0x5b9463(0x21a)](JSON[_0x5b9463(0x254)](_0x1bfbdb)+'\x0a');}async[_0x39a322(0x18c)](_0x443664=_0x39a322(0x26b)){const _0xb4c432=_0x39a322;if(this['closed'])return;if(this[_0xb4c432(0x165)])return this[_0xb4c432(0x165)];this[_0xb4c432(0x224)]=!![],clearTimeout(this[_0xb4c432(0x1b5)]),this[_0xb4c432(0x165)]=((async()=>{const _0x145ce5=_0xb4c432;try{if(this[_0x145ce5(0x27e)])await this[_0x145ce5(0x1b3)](_0x443664);closeMember(this[_0x145ce5(0x164)],this[_0x145ce5(0x19a)],process[_0x145ce5(0x1d5)],!![]),this[_0x145ce5(0x19d)]=!![],this[_0x145ce5(0x1f2)]=_0x443664,require(_0x145ce5(0x19f))[_0x145ce5(0x282)](this),await new Promise(_0x469c33=>this[_0x145ce5(0x235)]?.[_0x145ce5(0x18c)](_0x469c33)||_0x469c33()),this['activation']=_0x145ce5(0x1c6);const _0x19e6ea={};_0x19e6ea[_0x145ce5(0x2f6)]=_0x443664,this[_0x145ce5(0x246)](_0x19e6ea);try{fs[_0x145ce5(0x172)](this[_0x145ce5(0x2b5)]);}catch{}if(process[_0x145ce5(0x2f0)]!=='win32')try{fs[_0x145ce5(0x172)](this[_0x145ce5(0x2df)]);}catch{}this[_0x145ce5(0x1aa)]=!![];}catch(_0x20e219){this[_0x145ce5(0x175)]='legacy-ownership-unverified';const _0x48b5da={};_0x48b5da[_0x145ce5(0x2f6)]=_0x443664,_0x48b5da[_0x145ce5(0x27b)]=_0x20e219[_0x145ce5(0x237)]||'CHILD_STOP_UNCONFIRMED',this['record'](_0x48b5da);throw _0x20e219;}})());try{return await this[_0xb4c432(0x165)];}finally{this['closing']=null;}}}function _0x36fb(_0x579d8b,_0x3cefd8){_0x579d8b=_0x579d8b-0x162;const _0x2e62a6=_0x2e62();let _0x36fb48=_0x2e62a6[_0x579d8b];if(_0x36fb['wcTDRa']===undefined){var _0x54a0b9=function(_0x1871ad){const _0x2b4550='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3b5939='',_0x1f8bb2='';for(let _0x2d5ebc=0x0,_0x2eaa40,_0x597b78,_0x3eca6a=0x0;_0x597b78=_0x1871ad['charAt'](_0x3eca6a++);~_0x597b78&&(_0x2eaa40=_0x2d5ebc%0x4?_0x2eaa40*0x40+_0x597b78:_0x597b78,_0x2d5ebc++%0x4)?_0x3b5939+=String['fromCharCode'](0xff&_0x2eaa40>>(-0x2*_0x2d5ebc&0x6)):0x0){_0x597b78=_0x2b4550['indexOf'](_0x597b78);}for(let _0x154602=0x0,_0x2778b3=_0x3b5939['length'];_0x154602<_0x2778b3;_0x154602++){_0x1f8bb2+='%'+('00'+_0x3b5939['charCodeAt'](_0x154602)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1f8bb2);};_0x36fb['JLlnAj']=_0x54a0b9,_0x36fb['ApVDxc']={},_0x36fb['wcTDRa']=!![];}const _0x4b1464=_0x2e62a6[0x0],_0x288a00=_0x579d8b+_0x4b1464,_0x465f34=_0x36fb['ApVDxc'][_0x288a00];return!_0x465f34?(_0x36fb48=_0x36fb['JLlnAj'](_0x36fb48),_0x36fb['ApVDxc'][_0x288a00]=_0x36fb48):_0x36fb48=_0x465f34,_0x36fb48;}const _0x2809a8={};_0x2809a8['ConnectionSupervisor']=ConnectionSupervisor,module[_0x39a322(0x203)]=_0x2809a8;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x35cdcc=_0x5458;function _0x9cec(){const _0x57d57f=['B3jPz2LUywXZ','yMfZzw5HBwu','zgLYzwn0B3j5','BwfUAwzLC3q','y29UDgv4De1Pz3jHDgLVBNm','y29UDhjHy3rnAxnTyxrJAa','C3rHCNrZv2L0Aa','nZe3mtC0AfLtEMLN','C29YDa','CgXHBG','y29Uy2f0','n1rLzgrhtW','CMvTzw1Izxi','AxnezwvWu3rYAwn0rxf1ywW','ChjLCgfYzwq','y29UDhjHy3reAwDLC3q','y3jLyxrLsgfZAa','BwfUAwzLC3qUANnVBG','lI4Vy29Yzs9YzxnVDxjJzs10CMfUC2fJDgLVBG','zhjHzNq','yNL0zxm','rgvWBg95BwvUDcbKCMfMDcbWyxrOigvZy2fWzxmGChjVAMvJDa','C3rHDfn5BMm','mJvPtLverva','zgvSzxrL','zgvWBg95BwvUDa','C2f2zq','rhjHzNqGzMLSzsbOyxmGyMvLBIbYzw1VDMvK','CMvHBhbHDgHtEw5J','ruvysvnu','ChjVAMvJDfbHDgG','zxHPC3rZu3LUyW','CMvWBgfJzufSBa','BgvUz3rO','rgvWBg95BwvUDerYywz0','BM9KztPJCNLWDg8','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','DhjHBNnHy3rPB25jza','D29YA3nWywnL','CMvWBgfJzq','ru5pru5u','CMvTB3zL','DhLWzq','BM9KztP1DgLS','CMvIDwLSzeLUzgv4','C3rYAw5N','uKvtt1vsq0vFuefusf9fu0nbueu','BwfUywDLzeHHC2G','mZK0nJr1rKveC3i','zMLSDgvY','D3jPDgu','ywrK','AgfZ','y2HHBMDLCW','zw50CMLLCW','zxHPC3rZ','nJC3otuZoePLD1b3tW','C29Tzq','CMvZB2X2zq','zxzLCNK','yxnZAwDU','z2v0','AxnbyNnVBhv0zq','y29Kzq','zM9Yy2vqyxrOCW','CMvSyxrPDMu','zxf1ywXZ','AxngAwXL','rhjHzNqGzMLSzsbLEgLZDhm','zMLSzxm','B3jPz2LUywW','Cgf0Aa','CgvUzgLUz1vWzgf0zxm','DMvYAwz5uhjLCgfYzwrqCM9Qzwn0','mJa1ota0n2rwBw5prG','C2vW','C2v0','CMvHza','DxbKyxrL','C2HHmJu2','BwfW','CMvHzezPBgvtEw5J','CMvNAxn0CMf0Aw9UtwLNCMf0Aw9U','zgLYBMfTzq','lMfNzw50CY9Tyw5PzMvZDc5QC29U','zgLNzxn0','B3bLCMf0Aw9UCW','zgvWBg95uhjVAMvJDa','D3jPDgfIBgu','y29UzMXPy3rZ','uKvtt1vsq0vFq1vtve9nx0nptKzmsunu','zgvWBg95zwrbDa','CMvNAxn0CMf0Aw9UugXHBG','nfjICMjqvW','Dg9tDhjPBMC','zMXHzW','lMfNzw50CW','otaYndCYzeDKCxvo','nJe3oti5mgzOAxrquG','CMvHzgrPCLn5BMm','Aw5KzxHszxf1zxn0zwq','B2XKsgfZAa','CgfYC2u','BwnWq29UzMLNvgfYz2v0CW','zM9Yy2vszwnVDMvY','zNjVBq','AxneAxjLy3rVCNK','mtK1mJK0ovfWqufkDq','ChjLCgfYzvbYB2PLy3q','C3rHDhvZ','ChvZAa','Aw5ZCgvJDfbYzxbHCMvKugXHBG','Agv4','ywXSB2m','zgLYzwn0B3jPzxm','AM9PBG'];_0x9cec=function(){return _0x57d57f;};return _0x9cec();}(function(_0x4b6a22,_0x19cf50){const _0x4c8ecc=_0x5458,_0x12dfee=_0x4b6a22();while(!![]){try{const _0x30ebd3=-parseInt(_0x4c8ecc(0xb7))/0x1+parseInt(_0x4c8ecc(0x10d))/0x2*(parseInt(_0x4c8ecc(0xa7))/0x3)+-parseInt(_0x4c8ecc(0xe0))/0x4*(parseInt(_0x4c8ecc(0xc7))/0x5)+parseInt(_0x4c8ecc(0xe8))/0x6+parseInt(_0x4c8ecc(0xbb))/0x7*(-parseInt(_0x4c8ecc(0x111))/0x8)+-parseInt(_0x4c8ecc(0xfa))/0x9+-parseInt(_0x4c8ecc(0x9e))/0xa;if(_0x30ebd3===_0x19cf50)break;else _0x12dfee['push'](_0x12dfee['shift']());}catch(_0x4179f6){_0x12dfee['push'](_0x12dfee['shift']());}}}(_0x9cec,0xac548));const fs=require('node:fs'),path=require('node:path'),crypto=require(_0x35cdcc(0xd3)),{containsWorkspace,sameWorkspace}=require(_0x35cdcc(0xd4)),{ResourceTransaction,resourceContractDigest}=require(_0x35cdcc(0xc2)),hash=_0x81029a=>crypto[_0x35cdcc(0xc0)](_0x35cdcc(0xff))[_0x35cdcc(0xfe)](_0x81029a)[_0x35cdcc(0x105)](_0x35cdcc(0xac));class DeploymentDraft{constructor(_0x576b2d){const _0xa1cb26=_0x35cdcc;this['workspace']=fs[_0xa1cb26(0xcc)](_0x576b2d),this['files']=new Map(),this[_0xa1cb26(0xb0)]=new Map(),this[_0xa1cb26(0xae)]=new Set();const _0x21c736={};_0x21c736[_0xa1cb26(0xf3)]=()=>!![],_0x21c736['isDirectory']=()=>![];const _0x52bf5d={};_0x52bf5d[_0xa1cb26(0xf3)]=()=>![],_0x52bf5d[_0xa1cb26(0xa6)]=()=>!![],this['fs']={'existsSync':_0x203b21=>this['exists'](_0x203b21),'readFileSync':(_0x2bc0de,_0x5148c1)=>this[_0xa1cb26(0xfd)](_0x2bc0de,_0x5148c1),'writeFileSync':(_0x20b70e,_0x36899e,_0x57c51a)=>this[_0xa1cb26(0xe2)](_0x20b70e,_0x36899e,_0x57c51a),'appendFileSync':(_0x1a1d1a,_0x50d2eb)=>this[_0xa1cb26(0xe2)](_0x1a1d1a,Buffer[_0xa1cb26(0xba)]([this[_0xa1cb26(0xe7)](_0x1a1d1a)?this[_0xa1cb26(0xfd)](_0x1a1d1a):Buffer[_0xa1cb26(0xad)](0x0),Buffer[_0xa1cb26(0xa5)](_0x50d2eb)])),'copyFileSync':(_0x427b5c,_0x4bff68)=>this[_0xa1cb26(0xe2)](_0x4bff68,this[_0xa1cb26(0xfd)](_0x427b5c)),'renameSync':(_0x542c77,_0x2b52c4)=>{const _0x38987e=_0xa1cb26;this[_0x38987e(0xe2)](_0x2b52c4,this[_0x38987e(0xfd)](_0x542c77)),this[_0x38987e(0xd9)](_0x542c77);},'unlinkSync':_0x3e48bc=>this[_0xa1cb26(0xd9)](_0x3e48bc),'mkdirSync':_0x35258c=>this[_0xa1cb26(0xae)]['add'](this[_0xa1cb26(0x108)](_0x35258c)),'rmdirSync':_0x1a166c=>this[_0xa1cb26(0xae)][_0xa1cb26(0xc8)](this[_0xa1cb26(0x108)](_0x1a166c)),'statSync':_0x47f2c2=>this[_0xa1cb26(0xf5)][_0xa1cb26(0xe4)](path[_0xa1cb26(0xea)](_0x47f2c2))&&this[_0xa1cb26(0xf5)][_0xa1cb26(0xed)](path[_0xa1cb26(0xea)](_0x47f2c2))!==null?_0x21c736:this[_0xa1cb26(0xae)][_0xa1cb26(0xe4)](path[_0xa1cb26(0xea)](_0x47f2c2))?_0x52bf5d:fs[_0xa1cb26(0xc6)](_0x47f2c2),'readdirSync':_0x4553ec=>this[_0xa1cb26(0xe6)](_0x4553ec),'realpathSync':_0x3bdc6f=>fs['realpathSync'](_0x3bdc6f)};}[_0x35cdcc(0x108)](_0x2243be){const _0x35bb82=_0x35cdcc,_0x592b5c=path[_0x35bb82(0xea)](_0x2243be),_0x9a889e=path['relative'](this[_0x35bb82(0xd6)],_0x592b5c);let _0x1646b5=_0x592b5c;while(!fs[_0x35bb82(0xcf)](_0x1646b5)&&path[_0x35bb82(0x103)](_0x1646b5)!==_0x1646b5)_0x1646b5=path[_0x35bb82(0x103)](_0x1646b5);const _0x584596={};_0x584596[_0x35bb82(0xef)]=_0x35bb82(0xde);if(_0x9a889e==='..'||_0x9a889e[_0x35bb82(0xb6)]('..'+path[_0x35bb82(0xfb)])||path['isAbsolute'](_0x9a889e)||!sameWorkspace(_0x1646b5,this[_0x35bb82(0xd6)])&&!containsWorkspace(this[_0x35bb82(0xd6)],_0x1646b5))throw Object[_0x35bb82(0xec)](new Error(_0x35bb82(0xc5)),_0x584596);return _0x592b5c;}['exists'](_0x38c949){const _0x344ae1=_0x35cdcc;_0x38c949=path['resolve'](_0x38c949);if(this[_0x344ae1(0xf5)]['has'](_0x38c949))return this[_0x344ae1(0xf5)][_0x344ae1(0xed)](_0x38c949)!==null;return this['directories'][_0x344ae1(0xe4)](_0x38c949)||fs[_0x344ae1(0xcf)](_0x38c949);}[_0x35cdcc(0xbc)](_0x4a2722){const _0x1100a3=_0x35cdcc;if(this[_0x1100a3(0xb0)][_0x1100a3(0xe4)](_0x4a2722))return;try{this['originals'][_0x1100a3(0xfc)](_0x4a2722,fs[_0x1100a3(0x101)](_0x4a2722));}catch(_0x1cb000){if(_0x1cb000[_0x1100a3(0xef)]===_0x1100a3(0xd8))this[_0x1100a3(0xb0)][_0x1100a3(0xfc)](_0x4a2722,null);else throw _0x1cb000;}}[_0x35cdcc(0xfd)](_0x5c35dd,_0x4eaa63){const _0x3974fa=_0x35cdcc;_0x5c35dd=path[_0x3974fa(0xea)](_0x5c35dd);let _0xceabd9;if(this[_0x3974fa(0xf5)][_0x3974fa(0xe4)](_0x5c35dd))_0xceabd9=this['files'][_0x3974fa(0xed)](_0x5c35dd);else{_0xceabd9=fs[_0x3974fa(0x101)](_0x5c35dd);const _0x39cc81=path[_0x3974fa(0xf1)](this[_0x3974fa(0xd6)],_0x5c35dd);if(_0x39cc81&&_0x39cc81!=='..'&&!_0x39cc81[_0x3974fa(0xb6)]('..'+path[_0x3974fa(0xfb)])&&!path[_0x3974fa(0xee)](_0x39cc81)&&!this[_0x3974fa(0xb0)][_0x3974fa(0xe4)](_0x5c35dd))this[_0x3974fa(0xb0)][_0x3974fa(0xfc)](_0x5c35dd,Buffer['from'](_0xceabd9));}const _0x49073a={};_0x49073a[_0x3974fa(0xef)]='ENOENT';if(_0xceabd9===null)throw Object['assign'](new Error(_0x3974fa(0xcb)),_0x49073a);const _0x3d55f0=typeof _0x4eaa63===_0x3974fa(0xdd)?_0x4eaa63:_0x4eaa63?.['encoding'];return _0x3d55f0?_0xceabd9[_0x3974fa(0x10e)](_0x3d55f0):Buffer[_0x3974fa(0xa5)](_0xceabd9);}[_0x35cdcc(0xe2)](_0x568e10,_0x3092c1,_0x43fd3e){const _0x477f58=_0x35cdcc;_0x568e10=this[_0x477f58(0x108)](_0x568e10);const _0x4fb85f={};_0x4fb85f[_0x477f58(0xef)]=_0x477f58(0xcd);if(_0x43fd3e?.[_0x477f58(0x10f)]==='wx'&&this[_0x477f58(0xe7)](_0x568e10))throw Object['assign'](new Error(_0x477f58(0xf4)),_0x4fb85f);this['remember'](_0x568e10),this[_0x477f58(0xf5)][_0x477f58(0xfc)](_0x568e10,Buffer[_0x477f58(0xa5)](_0x3092c1)),this[_0x477f58(0xae)][_0x477f58(0xe3)](path[_0x477f58(0x103)](_0x568e10));}[_0x35cdcc(0xd9)](_0x56781c){const _0x1e02e7=_0x35cdcc;_0x56781c=this[_0x1e02e7(0x108)](_0x56781c),this[_0x1e02e7(0xbc)](_0x56781c),this[_0x1e02e7(0xf5)][_0x1e02e7(0xfc)](_0x56781c,null);}[_0x35cdcc(0xe6)](_0x9ba957){const _0x4fca4a=_0x35cdcc;_0x9ba957=path[_0x4fca4a(0xea)](_0x9ba957);let _0x1f43bf;try{_0x1f43bf=new Set(fs[_0x4fca4a(0x9f)](_0x9ba957));}catch(_0x4ce3b2){if(_0x4ce3b2[_0x4fca4a(0xef)]===_0x4fca4a(0xd8))_0x1f43bf=new Set();else throw _0x4ce3b2;}for(const [_0x43546a,_0x4a2250]of this[_0x4fca4a(0xf5)])if(path[_0x4fca4a(0x103)](_0x43546a)===_0x9ba957){if(_0x4a2250===null)_0x1f43bf[_0x4fca4a(0xc8)](path[_0x4fca4a(0xb1)](_0x43546a));else _0x1f43bf[_0x4fca4a(0xe3)](path[_0x4fca4a(0xb1)](_0x43546a));}for(const _0x32e2ec of this[_0x4fca4a(0xae)])if(path[_0x4fca4a(0x103)](_0x32e2ec)===_0x9ba957)_0x1f43bf[_0x4fca4a(0xe3)](path[_0x4fca4a(0xb1)](_0x32e2ec));return[..._0x1f43bf];}[_0x35cdcc(0xe5)](){const _0x2b35c0=_0x35cdcc;return[...this[_0x2b35c0(0xf5)]][_0x2b35c0(0xe1)](([_0x14760d,_0x207d89])=>{const _0xa09e5c=_0x2b35c0,_0xd580c0=this[_0xa09e5c(0xb0)][_0xa09e5c(0xed)](_0x14760d);return _0x207d89===null?_0xd580c0!==null:_0xd580c0===null||!_0x207d89['equals'](_0xd580c0);})[_0x2b35c0(0x100)](([_0x3aed5a,_0x666c34])=>({'path':path[_0x2b35c0(0xf1)](this[_0x2b35c0(0xd6)],_0x3aed5a)[_0x2b35c0(0xd0)]('\x5c','/'),'type':_0x666c34===null?_0x2b35c0(0xc8):_0x2b35c0(0xd7),'bytes':_0x666c34,'managedHash':this[_0x2b35c0(0xb0)][_0x2b35c0(0xed)](_0x3aed5a)===null?null:hash(this[_0x2b35c0(0xb0)][_0x2b35c0(0xed)](_0x3aed5a))}));}}function _0x5458(_0x1697fb,_0x31f581){_0x1697fb=_0x1697fb-0x9e;const _0x9cecad=_0x9cec();let _0x545857=_0x9cecad[_0x1697fb];if(_0x5458['nAKgzp']===undefined){var _0x1d5a98=function(_0xae87c7){const _0xfbb73e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x228206='',_0x3d03ce='';for(let _0x177743=0x0,_0x2f3473,_0x56ff00,_0x531538=0x0;_0x56ff00=_0xae87c7['charAt'](_0x531538++);~_0x56ff00&&(_0x2f3473=_0x177743%0x4?_0x2f3473*0x40+_0x56ff00:_0x56ff00,_0x177743++%0x4)?_0x228206+=String['fromCharCode'](0xff&_0x2f3473>>(-0x2*_0x177743&0x6)):0x0){_0x56ff00=_0xfbb73e['indexOf'](_0x56ff00);}for(let _0x702870=0x0,_0x34efcc=_0x228206['length'];_0x702870<_0x34efcc;_0x702870++){_0x3d03ce+='%'+('00'+_0x228206['charCodeAt'](_0x702870)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3d03ce);};_0x5458['WgmooY']=_0x1d5a98,_0x5458['LOxUkl']={},_0x5458['nAKgzp']=!![];}const _0x187ff9=_0x9cecad[0x0],_0x586d70=_0x1697fb+_0x187ff9,_0x2acad6=_0x5458['LOxUkl'][_0x586d70];return!_0x2acad6?(_0x545857=_0x5458['WgmooY'](_0x545857),_0x5458['LOxUkl'][_0x586d70]=_0x545857):_0x545857=_0x2acad6,_0x545857;}function renderProject(_0x2e48ef){const _0x5d3930=_0x35cdcc,_0x29cff7=new DeploymentDraft(_0x2e48ef[_0x5d3930(0xce)]),_0xc81241={};_0xc81241[_0x5d3930(0xa3)]=[];const _0x159f28={..._0x2e48ef,'fileSystem':_0x29cff7['fs'],'preparation':!![],..._0x2e48ef['registrationHosts']?_0xc81241:{}},_0x1af0ca=require('./project-setup')[_0x5d3930(0x107)](_0x159f28),_0x11a8e1=path[_0x5d3930(0xaf)](_0x29cff7[_0x5d3930(0xd6)],_0x5d3930(0x110),_0x5d3930(0xc1)),_0x8d90ba=_0x29cff7[_0x5d3930(0xe5)]();if(_0x8d90ba[_0x5d3930(0xeb)](_0x7687d4=>_0x7687d4['path']===_0x5d3930(0x104))&&fs[_0x5d3930(0xcf)](_0x11a8e1)){const _0x5303b3=fs[_0x5d3930(0x101)](_0x11a8e1),_0x288f2e=_0x3e4708=>{const {deployedAt:_0x19b6f7,previousVersion:_0x34ea7c,contextMigrations:_0x1da659,..._0xd0f8d6}=_0x3e4708;return _0xd0f8d6;},_0x1aa7b8=JSON[_0x5d3930(0xa2)](_0x5303b3);require(_0x5d3930(0xdb))[_0x5d3930(0xbd)](_0x288f2e(_0x1aa7b8),_0x288f2e(_0x1af0ca[_0x5d3930(0xb3)]))&&!_0x1af0ca[_0x5d3930(0xb3)][_0x5d3930(0xb4)][_0x5d3930(0xd1)]&&(_0x29cff7['fs']['writeFileSync'](_0x11a8e1,_0x5303b3),_0x1af0ca['manifest']=_0x1aa7b8);}const _0x7fa4c2=_0x2e48ef[_0x5d3930(0xa4)]?new Set((_0x1af0ca[_0x5d3930(0xb3)]['files']||[])[_0x5d3930(0xe1)](_0x2303a2=>typeof _0x2303a2===_0x5d3930(0xdd))):new Set(),_0x1537be=_0x29cff7[_0x5d3930(0xe5)]()[_0x5d3930(0x100)](_0x5af3c7=>{const _0x4df22a=_0x5d3930;if(!_0x7fa4c2[_0x4df22a(0xe4)](_0x5af3c7['path']))return _0x5af3c7;const _0x15f97b=path[_0x4df22a(0xaf)](_0x29cff7[_0x4df22a(0xd6)],_0x5af3c7[_0x4df22a(0xf7)]);let _0x145934=null;try{_0x145934=hash(fs['readFileSync'](_0x15f97b));}catch(_0x5105e0){if(_0x5105e0[_0x4df22a(0xef)]!=='ENOENT')throw _0x5105e0;}const _0x9d21c7={..._0x5af3c7};return _0x9d21c7[_0x4df22a(0xdf)]=_0x145934,_0x9d21c7;}),_0x52c58c={};return _0x52c58c[_0x5d3930(0xc3)]=_0x29cff7,_0x52c58c[_0x5d3930(0xc9)]=_0x1af0ca,_0x52c58c[_0x5d3930(0xf0)]=_0x7fa4c2,_0x52c58c[_0x5d3930(0xe5)]=_0x1537be,_0x52c58c;}function prepareProject(_0x428f6b){const _0x3d8bfb=_0x35cdcc,{draft:_0x15064d,deployment:_0x180f26,forcePaths:_0x1216c3,changes:_0xfcc1ca}=renderProject(_0x428f6b),_0x5b5e2e={};_0x5b5e2e[_0x3d8bfb(0xd5)]=_0x428f6b[_0x3d8bfb(0xd5)];const _0x4d2d8a=ResourceTransaction['prepare'](_0x15064d[_0x3d8bfb(0xd6)],_0xfcc1ca,_0x5b5e2e);if(_0x428f6b[_0x3d8bfb(0xa4)])_0x4d2d8a[_0x3d8bfb(0xb9)][_0x3d8bfb(0xf0)]=[..._0x1216c3]['sort']();else{for(const _0x21f267 of _0x180f26[_0x3d8bfb(0xb3)][_0x3d8bfb(0xf8)])_0x4d2d8a[_0x3d8bfb(0xb9)]['conflicts'][_0x3d8bfb(0xaa)]({'path':_0x21f267,'code':_0x3d8bfb(0x10a),'required':!![]});}_0x4d2d8a[_0x3d8bfb(0xb9)][_0x3d8bfb(0xbf)]=resourceContractDigest(_0x4d2d8a[_0x3d8bfb(0xb9)]),_0x4d2d8a[_0x3d8bfb(0xca)]();const _0x2528c0=null,_0x4245c5={};_0x4245c5[_0x3d8bfb(0xa9)]='not-required',_0x4245c5['blockers']=[];const _0x5cb502=_0x4245c5,_0x182ec0={};return _0x182ec0['resourcePlan']=_0x4d2d8a,_0x182ec0[_0x3d8bfb(0x10c)]=_0x2528c0,_0x182ec0[_0x3d8bfb(0x102)]=_0x5cb502,_0x182ec0[_0x3d8bfb(0xc9)]=_0x180f26,_0x182ec0[_0x3d8bfb(0xa0)]=_0x428f6b[_0x3d8bfb(0xdc)]===!![],_0x182ec0;}function verifyPreparedProject(_0x1eb8be,_0x55d4cd){const _0x59da68=_0x35cdcc,_0x1c74e8=_0x55d4cd instanceof ResourceTransaction?_0x55d4cd:new ResourceTransaction(_0x55d4cd),_0x4f1a8c=require('../core/resource-transaction')[_0x59da68(0xab)](_0x1c74e8[_0x59da68(0xb2)]);if(_0x4f1a8c[_0x59da68(0xb5)]||_0x1c74e8[_0x59da68(0xb9)]['status']!==_0x59da68(0xbe)||_0x4f1a8c[_0x59da68(0xe6)][_0x59da68(0xe9)](_0x3569b0=>_0x3569b0['status']!==_0x59da68(0xbe)||_0x3569b0['bytes']!==_0x59da68(0xf6))||_0x1c74e8[_0x59da68(0xb9)][_0x59da68(0x109)][_0x59da68(0xe9)](_0x5523d6=>_0x5523d6['required'])||!sameWorkspace(_0x1c74e8[_0x59da68(0xb9)][_0x59da68(0xd6)],_0x1eb8be[_0x59da68(0xce)]))return![];const {changes:_0x2cd0ef,forcePaths:_0x1d972c}=renderProject(_0x1eb8be);if(_0x2cd0ef[_0x59da68(0xd1)]!==_0x1c74e8['plan'][_0x59da68(0x106)]['length']||!require('node:util')[_0x59da68(0xbd)](_0x1c74e8[_0x59da68(0xb9)][_0x59da68(0xf0)]||[],_0x1eb8be['forceRecover']?[..._0x1d972c][_0x59da68(0xb8)]():[]))return![];const _0x44ce54=new Map(_0x2cd0ef[_0x59da68(0x100)](_0x1bd52b=>[_0x1bd52b[_0x59da68(0xf7)],_0x1bd52b]));for(const _0x19a480 of _0x1c74e8[_0x59da68(0xb9)]['operations']){const _0x5589d0=_0x44ce54['get'](_0x19a480[_0x59da68(0xf7)]);if(!_0x5589d0||_0x19a480[_0x59da68(0xda)]!==_0x5589d0[_0x59da68(0xda)]||_0x19a480[_0x59da68(0xa1)]!==_0x5589d0[_0x59da68(0xdf)])return![];if(_0x19a480[_0x59da68(0xda)]==='delete')continue;const _0x37811a=fs[_0x59da68(0x101)](path['join'](_0x1c74e8[_0x59da68(0xb2)],_0x19a480['stage']));if(_0x19a480[_0x59da68(0xf7)]!=='.agents/manifest.json'){if(!_0x37811a[_0x59da68(0xf2)](_0x5589d0[_0x59da68(0xc4)]))return![];}else{const _0xb0135b=JSON[_0x59da68(0xa2)](_0x37811a),_0x5d9131=JSON['parse'](_0x5589d0[_0x59da68(0xc4)]);if(typeof _0xb0135b['deployedAt']!==_0x59da68(0xdd)||!Number['isFinite'](Date['parse'](_0xb0135b[_0x59da68(0x10b)])))return![];delete _0xb0135b[_0x59da68(0x10b)],delete _0x5d9131['deployedAt'];if(!require(_0x59da68(0xdb))[_0x59da68(0xbd)](_0xb0135b,_0x5d9131))return![];}}return!![];}const _0x34d7eb={};_0x34d7eb[_0x35cdcc(0xd2)]=DeploymentDraft,_0x34d7eb[_0x35cdcc(0xa8)]=prepareProject,_0x34d7eb[_0x35cdcc(0xf9)]=verifyPreparedProject,module['exports']=_0x34d7eb;
|
|
1
|
+
'use strict';function _0x2e55(_0x4f0553,_0x55c1b5){_0x4f0553=_0x4f0553-0x1d1;const _0x5958df=_0x5958();let _0x2e558f=_0x5958df[_0x4f0553];if(_0x2e55['dbZIWQ']===undefined){var _0xb951c2=function(_0x564c45){const _0x11fc7c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x20d42d='',_0x14b869='';for(let _0x199765=0x0,_0x94c3aa,_0x10cc65,_0x4c6199=0x0;_0x10cc65=_0x564c45['charAt'](_0x4c6199++);~_0x10cc65&&(_0x94c3aa=_0x199765%0x4?_0x94c3aa*0x40+_0x10cc65:_0x10cc65,_0x199765++%0x4)?_0x20d42d+=String['fromCharCode'](0xff&_0x94c3aa>>(-0x2*_0x199765&0x6)):0x0){_0x10cc65=_0x11fc7c['indexOf'](_0x10cc65);}for(let _0x3e4fb2=0x0,_0x217d75=_0x20d42d['length'];_0x3e4fb2<_0x217d75;_0x3e4fb2++){_0x14b869+='%'+('00'+_0x20d42d['charCodeAt'](_0x3e4fb2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x14b869);};_0x2e55['qbAlUF']=_0xb951c2,_0x2e55['qyyRTK']={},_0x2e55['dbZIWQ']=!![];}const _0x3cfcdc=_0x5958df[0x0],_0x2269c7=_0x4f0553+_0x3cfcdc,_0x59657c=_0x2e55['qyyRTK'][_0x2269c7];return!_0x59657c?(_0x2e558f=_0x2e55['qbAlUF'](_0x2e558f),_0x2e55['qyyRTK'][_0x2269c7]=_0x2e558f):_0x2e558f=_0x59657c,_0x2e558f;}const _0x37b6d3=_0x2e55;(function(_0x28596a,_0x115269){const _0x1b46f4=_0x2e55,_0x40a96b=_0x28596a();while(!![]){try{const _0x5b8b27=parseInt(_0x1b46f4(0x233))/0x1+parseInt(_0x1b46f4(0x21a))/0x2*(-parseInt(_0x1b46f4(0x21d))/0x3)+-parseInt(_0x1b46f4(0x20b))/0x4*(-parseInt(_0x1b46f4(0x210))/0x5)+-parseInt(_0x1b46f4(0x20f))/0x6+-parseInt(_0x1b46f4(0x1ff))/0x7+parseInt(_0x1b46f4(0x23d))/0x8*(parseInt(_0x1b46f4(0x1e8))/0x9)+parseInt(_0x1b46f4(0x226))/0xa*(parseInt(_0x1b46f4(0x237))/0xb);if(_0x5b8b27===_0x115269)break;else _0x40a96b['push'](_0x40a96b['shift']());}catch(_0x277dd9){_0x40a96b['push'](_0x40a96b['shift']());}}}(_0x5958,0xdf0a6));const fs=require(_0x37b6d3(0x230)),path=require(_0x37b6d3(0x1e5)),crypto=require(_0x37b6d3(0x243)),{containsWorkspace,sameWorkspace}=require(_0x37b6d3(0x1d6)),{ResourceTransaction,resourceContractDigest}=require(_0x37b6d3(0x205)),hash=_0x284a15=>crypto[_0x37b6d3(0x242)](_0x37b6d3(0x241))[_0x37b6d3(0x1e7)](_0x284a15)[_0x37b6d3(0x1d3)](_0x37b6d3(0x221));class DeploymentDraft{constructor(_0x27f830){const _0x189721=_0x37b6d3;this[_0x189721(0x1ee)]=fs[_0x189721(0x22e)](_0x27f830),this[_0x189721(0x232)]=new Map(),this[_0x189721(0x1db)]=new Map(),this[_0x189721(0x1ea)]=new Set();const _0x43fe07={};_0x43fe07[_0x189721(0x225)]=()=>!![],_0x43fe07[_0x189721(0x219)]=()=>![];const _0x40dcf0={};_0x40dcf0[_0x189721(0x225)]=()=>![],_0x40dcf0[_0x189721(0x219)]=()=>!![],this['fs']={'existsSync':_0xe9023a=>this['exists'](_0xe9023a),'readFileSync':(_0x1b523a,_0x18cb0c)=>this[_0x189721(0x20e)](_0x1b523a,_0x18cb0c),'writeFileSync':(_0x5c1d21,_0x37b10a,_0x1ca2b5)=>this[_0x189721(0x1e9)](_0x5c1d21,_0x37b10a,_0x1ca2b5),'appendFileSync':(_0x35f188,_0xde2b64)=>this[_0x189721(0x1e9)](_0x35f188,Buffer['concat']([this[_0x189721(0x1ef)](_0x35f188)?this[_0x189721(0x20e)](_0x35f188):Buffer[_0x189721(0x1d7)](0x0),Buffer[_0x189721(0x207)](_0xde2b64)])),'copyFileSync':(_0x187161,_0x33bf90)=>this[_0x189721(0x1e9)](_0x33bf90,this[_0x189721(0x20e)](_0x187161)),'renameSync':(_0x3025df,_0x5b3511)=>{const _0xe52549=_0x189721;this[_0xe52549(0x1e9)](_0x5b3511,this[_0xe52549(0x20e)](_0x3025df)),this[_0xe52549(0x21b)](_0x3025df);},'unlinkSync':_0x3ee2dc=>this[_0x189721(0x21b)](_0x3ee2dc),'mkdirSync':_0x3bd6f0=>this[_0x189721(0x1ea)][_0x189721(0x202)](this[_0x189721(0x240)](_0x3bd6f0)),'rmdirSync':_0x14fc20=>this['directories']['delete'](this[_0x189721(0x240)](_0x14fc20)),'statSync':_0x562e72=>this[_0x189721(0x232)][_0x189721(0x215)](path['resolve'](_0x562e72))&&this[_0x189721(0x232)]['get'](path['resolve'](_0x562e72))!==null?_0x43fe07:this[_0x189721(0x1ea)][_0x189721(0x215)](path[_0x189721(0x223)](_0x562e72))?_0x40dcf0:fs[_0x189721(0x20a)](_0x562e72),'readdirSync':_0x41643e=>this[_0x189721(0x22a)](_0x41643e),'realpathSync':_0x5ae1d5=>fs['realpathSync'](_0x5ae1d5)};}[_0x37b6d3(0x240)](_0x31845d){const _0x47e715=_0x37b6d3,_0x2ec42b=path[_0x47e715(0x223)](_0x31845d),_0x346058=path[_0x47e715(0x23a)](this[_0x47e715(0x1ee)],_0x2ec42b);let _0x3072dc=_0x2ec42b;while(!fs[_0x47e715(0x1e4)](_0x3072dc)&&path[_0x47e715(0x22f)](_0x3072dc)!==_0x3072dc)_0x3072dc=path['dirname'](_0x3072dc);const _0x15d6b1={};_0x15d6b1[_0x47e715(0x1f1)]='RESOURCE_PATH_ESCAPE';if(_0x346058==='..'||_0x346058[_0x47e715(0x218)]('..'+path['sep'])||path['isAbsolute'](_0x346058)||!sameWorkspace(_0x3072dc,this[_0x47e715(0x1ee)])&&!containsWorkspace(this[_0x47e715(0x1ee)],_0x3072dc))throw Object['assign'](new Error(_0x47e715(0x1fc)),_0x15d6b1);return _0x2ec42b;}[_0x37b6d3(0x1ef)](_0x4b4cfc){const _0x5dc779=_0x37b6d3;_0x4b4cfc=path[_0x5dc779(0x223)](_0x4b4cfc);if(this[_0x5dc779(0x232)][_0x5dc779(0x215)](_0x4b4cfc))return this[_0x5dc779(0x232)][_0x5dc779(0x1f7)](_0x4b4cfc)!==null;return this[_0x5dc779(0x1ea)]['has'](_0x4b4cfc)||fs['existsSync'](_0x4b4cfc);}[_0x37b6d3(0x1e3)](_0x31e252){const _0x2cd5d9=_0x37b6d3;if(this['originals']['has'](_0x31e252))return;try{this[_0x2cd5d9(0x1db)][_0x2cd5d9(0x235)](_0x31e252,fs[_0x2cd5d9(0x1f0)](_0x31e252));}catch(_0x4d5ec6){if(_0x4d5ec6[_0x2cd5d9(0x1f1)]===_0x2cd5d9(0x212))this['originals']['set'](_0x31e252,null);else throw _0x4d5ec6;}}['read'](_0x5c614e,_0x29ac49){const _0x564f04=_0x37b6d3;_0x5c614e=path[_0x564f04(0x223)](_0x5c614e);let _0x12f456;if(this['files'][_0x564f04(0x215)](_0x5c614e))_0x12f456=this['files'][_0x564f04(0x1f7)](_0x5c614e);else{_0x12f456=fs[_0x564f04(0x1f0)](_0x5c614e);const _0x2a6339=path['relative'](this[_0x564f04(0x1ee)],_0x5c614e);if(_0x2a6339&&_0x2a6339!=='..'&&!_0x2a6339[_0x564f04(0x218)]('..'+path['sep'])&&!path[_0x564f04(0x1e0)](_0x2a6339)&&!this[_0x564f04(0x1db)][_0x564f04(0x215)](_0x5c614e))this['originals'][_0x564f04(0x235)](_0x5c614e,Buffer['from'](_0x12f456));}const _0x4a612d={};_0x4a612d[_0x564f04(0x1f1)]=_0x564f04(0x212);if(_0x12f456===null)throw Object['assign'](new Error('Draft\x20file\x20has\x20been\x20removed'),_0x4a612d);const _0x5f38cf=typeof _0x29ac49===_0x564f04(0x1df)?_0x29ac49:_0x29ac49?.[_0x564f04(0x1f5)];return _0x5f38cf?_0x12f456[_0x564f04(0x1d5)](_0x5f38cf):Buffer['from'](_0x12f456);}['write'](_0x330e3c,_0x3f6cdc,_0x51d2b9){const _0x2ce5c9=_0x37b6d3;_0x330e3c=this[_0x2ce5c9(0x240)](_0x330e3c);const _0x3e9ac9={};_0x3e9ac9[_0x2ce5c9(0x1f1)]=_0x2ce5c9(0x200);if(_0x51d2b9?.['flag']==='wx'&&this['exists'](_0x330e3c))throw Object[_0x2ce5c9(0x1dd)](new Error(_0x2ce5c9(0x22d)),_0x3e9ac9);this[_0x2ce5c9(0x1e3)](_0x330e3c),this[_0x2ce5c9(0x232)][_0x2ce5c9(0x235)](_0x330e3c,Buffer[_0x2ce5c9(0x207)](_0x3f6cdc)),this[_0x2ce5c9(0x1ea)]['add'](path[_0x2ce5c9(0x22f)](_0x330e3c));}[_0x37b6d3(0x21b)](_0x4c6d24){const _0x40af42=_0x37b6d3;_0x4c6d24=this[_0x40af42(0x240)](_0x4c6d24),this[_0x40af42(0x1e3)](_0x4c6d24),this['files'][_0x40af42(0x235)](_0x4c6d24,null);}['entries'](_0x276eea){const _0x5edeaf=_0x37b6d3;_0x276eea=path['resolve'](_0x276eea);let _0x4aea74;try{_0x4aea74=new Set(fs[_0x5edeaf(0x227)](_0x276eea));}catch(_0x13e742){if(_0x13e742['code']===_0x5edeaf(0x212))_0x4aea74=new Set();else throw _0x13e742;}for(const [_0x1312d8,_0x50cf69]of this[_0x5edeaf(0x232)])if(path['dirname'](_0x1312d8)===_0x276eea){if(_0x50cf69===null)_0x4aea74['delete'](path['basename'](_0x1312d8));else _0x4aea74[_0x5edeaf(0x202)](path[_0x5edeaf(0x208)](_0x1312d8));}for(const _0x5b0389 of this[_0x5edeaf(0x1ea)])if(path[_0x5edeaf(0x22f)](_0x5b0389)===_0x276eea)_0x4aea74[_0x5edeaf(0x202)](path['basename'](_0x5b0389));return[..._0x4aea74];}[_0x37b6d3(0x214)](){const _0x697dda=_0x37b6d3;return[...this[_0x697dda(0x232)]][_0x697dda(0x1d8)](([_0x4c33a4,_0x283a5c])=>{const _0x3e6a87=_0x697dda,_0x1335c0=this[_0x3e6a87(0x1db)]['get'](_0x4c33a4);return _0x283a5c===null?_0x1335c0!==null:_0x1335c0===null||!_0x283a5c[_0x3e6a87(0x1d4)](_0x1335c0);})['map'](([_0x1e51d4,_0x60c3d])=>({'path':path[_0x697dda(0x23a)](this[_0x697dda(0x1ee)],_0x1e51d4)['replaceAll']('\x5c','/'),'type':_0x60c3d===null?_0x697dda(0x234):_0x697dda(0x1da),'bytes':_0x60c3d,'managedHash':this[_0x697dda(0x1db)]['get'](_0x1e51d4)===null?null:hash(this[_0x697dda(0x1db)]['get'](_0x1e51d4))}));}}function renderProject(_0x54300c){const _0x45df73=_0x37b6d3,_0x36e6db=new DeploymentDraft(_0x54300c[_0x45df73(0x236)]),_0x5429dd={};_0x5429dd[_0x45df73(0x204)]=[];const _0x114961={..._0x54300c,'fileSystem':_0x36e6db['fs'],'preparation':!![],..._0x54300c[_0x45df73(0x231)]?_0x5429dd:{}},_0x417dcf=require('./project-setup')[_0x45df73(0x1d1)](_0x114961),_0xbf0062=path['join'](_0x36e6db[_0x45df73(0x1ee)],_0x45df73(0x1f8),_0x45df73(0x244)),_0x4eb914=_0x36e6db[_0x45df73(0x214)]();if(_0x4eb914[_0x45df73(0x22b)](_0x34ecfd=>_0x34ecfd[_0x45df73(0x23c)]===_0x45df73(0x1dc))&&fs[_0x45df73(0x1e4)](_0xbf0062)){const _0x130ecb=fs[_0x45df73(0x1f0)](_0xbf0062),_0x2f659a=_0x3fda5b=>{const {deployedAt:_0x41e477,previousVersion:_0x52fc22,contextMigrations:_0x26a158,..._0x14871e}=_0x3fda5b;return _0x14871e;},_0x14b222=JSON[_0x45df73(0x1d2)](_0x130ecb);require(_0x45df73(0x228))[_0x45df73(0x1e2)](_0x2f659a(_0x14b222),_0x2f659a(_0x417dcf['manifest']))&&!_0x417dcf['manifest'][_0x45df73(0x211)][_0x45df73(0x203)]&&(_0x36e6db['fs']['writeFileSync'](_0xbf0062,_0x130ecb),_0x417dcf[_0x45df73(0x21c)]=_0x14b222);}const _0x6142d9=_0x54300c['forceRecover']?new Set((_0x417dcf['manifest']['files']||[])[_0x45df73(0x1d8)](_0x396f98=>typeof _0x396f98===_0x45df73(0x1df))):new Set(),_0x1714bd=_0x36e6db[_0x45df73(0x214)]()[_0x45df73(0x23b)](_0x4e69fd=>{const _0x39c7ac=_0x45df73;if(!_0x6142d9[_0x39c7ac(0x215)](_0x4e69fd[_0x39c7ac(0x23c)]))return _0x4e69fd;const _0x333db9=path[_0x39c7ac(0x21e)](_0x36e6db['workspace'],_0x4e69fd[_0x39c7ac(0x23c)]);let _0x23855f=null;try{_0x23855f=hash(fs[_0x39c7ac(0x1f0)](_0x333db9));}catch(_0x5e1fa4){if(_0x5e1fa4['code']!=='ENOENT')throw _0x5e1fa4;}const _0x4fd1f2={..._0x4e69fd};return _0x4fd1f2['managedHash']=_0x23855f,_0x4fd1f2;}),_0x1014cd={};return _0x1014cd[_0x45df73(0x1ed)]=_0x36e6db,_0x1014cd[_0x45df73(0x20c)]=_0x417dcf,_0x1014cd[_0x45df73(0x1fd)]=_0x6142d9,_0x1014cd[_0x45df73(0x214)]=_0x1714bd,_0x1014cd;}function prepareProject(_0x55952f){const _0x204c8f=_0x37b6d3,{draft:_0x22d7ae,deployment:_0x24ee4b,forcePaths:_0x43e0be,changes:_0x539fd4}=renderProject(_0x55952f),_0x1b145c={};_0x1b145c[_0x204c8f(0x20d)]=_0x55952f[_0x204c8f(0x20d)];const _0x778075=ResourceTransaction[_0x204c8f(0x216)](_0x22d7ae[_0x204c8f(0x1ee)],_0x539fd4,_0x1b145c);if(_0x55952f[_0x204c8f(0x1e6)])_0x778075['plan'][_0x204c8f(0x1fd)]=[..._0x43e0be][_0x204c8f(0x209)]();else{for(const _0x2ec4f5 of _0x24ee4b[_0x204c8f(0x21c)][_0x204c8f(0x1fb)])_0x778075['plan'][_0x204c8f(0x206)][_0x204c8f(0x238)]({'path':_0x2ec4f5,'code':_0x204c8f(0x213),'required':!![]});}_0x778075[_0x204c8f(0x1f4)][_0x204c8f(0x239)]=resourceContractDigest(_0x778075['plan']),_0x778075[_0x204c8f(0x245)]();const _0x385d2c=null,_0xf607ba={};_0xf607ba[_0x204c8f(0x1f6)]='not-required',_0xf607ba[_0x204c8f(0x222)]=[];const _0x24c60c=_0xf607ba,_0x48d074={};return _0x48d074['resourcePlan']=_0x778075,_0x48d074[_0x204c8f(0x23f)]=_0x385d2c,_0x48d074[_0x204c8f(0x1f2)]=_0x24c60c,_0x48d074[_0x204c8f(0x20c)]=_0x24ee4b,_0x48d074[_0x204c8f(0x1de)]=_0x55952f[_0x204c8f(0x22c)]===!![],_0x48d074;}function verifyPreparedProject(_0x45d915,_0x565ff6){const _0x33d557=_0x37b6d3,_0x392a9a=_0x565ff6 instanceof ResourceTransaction?_0x565ff6:new ResourceTransaction(_0x565ff6),_0x159ac1=require(_0x33d557(0x205))[_0x33d557(0x229)](_0x392a9a[_0x33d557(0x1e1)]);if(_0x159ac1['contractMismatch']||_0x392a9a[_0x33d557(0x1f4)]['status']!=='prepared'||_0x159ac1[_0x33d557(0x22a)][_0x33d557(0x23e)](_0x54739a=>_0x54739a['status']!==_0x33d557(0x201)||_0x54739a[_0x33d557(0x1f3)]!==_0x33d557(0x1ec))||_0x392a9a[_0x33d557(0x1f4)]['conflicts'][_0x33d557(0x23e)](_0x3fc9e5=>_0x3fc9e5[_0x33d557(0x21f)])||!sameWorkspace(_0x392a9a['plan']['workspace'],_0x45d915[_0x33d557(0x236)]))return![];const {changes:_0x4a4041,forcePaths:_0x412229}=renderProject(_0x45d915);if(_0x4a4041[_0x33d557(0x203)]!==_0x392a9a[_0x33d557(0x1f4)][_0x33d557(0x1d9)][_0x33d557(0x203)]||!require(_0x33d557(0x228))[_0x33d557(0x1e2)](_0x392a9a[_0x33d557(0x1f4)]['forcePaths']||[],_0x45d915[_0x33d557(0x1e6)]?[..._0x412229][_0x33d557(0x209)]():[]))return![];const _0x42a37e=new Map(_0x4a4041['map'](_0x71244a=>[_0x71244a[_0x33d557(0x23c)],_0x71244a]));for(const _0xd69a7d of _0x392a9a[_0x33d557(0x1f4)][_0x33d557(0x1d9)]){const _0x416f90=_0x42a37e['get'](_0xd69a7d[_0x33d557(0x23c)]);if(!_0x416f90||_0xd69a7d['type']!==_0x416f90[_0x33d557(0x220)]||_0xd69a7d[_0x33d557(0x217)]!==_0x416f90['managedHash'])return![];if(_0xd69a7d[_0x33d557(0x220)]===_0x33d557(0x234))continue;const _0x5a91ea=fs[_0x33d557(0x1f0)](path[_0x33d557(0x21e)](_0x392a9a[_0x33d557(0x1e1)],_0xd69a7d['stage']));if(_0xd69a7d['path']!==_0x33d557(0x1dc)){if(!_0x5a91ea[_0x33d557(0x1d4)](_0x416f90[_0x33d557(0x1f3)]))return![];}else{const _0x3d4bb3=JSON[_0x33d557(0x1d2)](_0x5a91ea),_0x4c067e=JSON[_0x33d557(0x1d2)](_0x416f90[_0x33d557(0x1f3)]);if(typeof _0x3d4bb3[_0x33d557(0x1fa)]!==_0x33d557(0x1df)||!Number['isFinite'](Date['parse'](_0x3d4bb3['deployedAt'])))return![];delete _0x3d4bb3['deployedAt'],delete _0x4c067e['deployedAt'];if(!require(_0x33d557(0x228))[_0x33d557(0x1e2)](_0x3d4bb3,_0x4c067e))return![];}}return!![];}function _0x5958(){const _0x21903d=['AxneAxjLy3rVCNK','mJm4mJa2mK9rsNnisq','CMvTB3zL','BwfUAwzLC3q','m2rzExbJvG','AM9PBG','CMvXDwLYzwq','DhLWzq','Agv4','yMXVy2TLCNm','CMvZB2X2zq','ChjLCgfYzvbYB2PLy3q','AxngAwXL','mtKWtw5Qq2Hs','CMvHzgrPCLn5BMm','BM9KztP1DgLS','Aw5ZCgvJDfbYzxbHCMvKugXHBG','zw50CMLLCW','zxzLCNK','CMvIDwLSzeLUzgv4','rhjHzNqGzMLSzsbLEgLZDhm','CMvHBhbHDgHtEw5J','zgLYBMfTzq','BM9KztPMCW','CMvNAxn0CMf0Aw9Usg9ZDhm','zMLSzxm','odmZmJmZtMThq055','zgvSzxrL','C2v0','ChjVAMvJDfbHDgG','mte0nZGXn2jlAKD1CG','ChvZAa','y29UDhjHy3reAwDLC3q','CMvSyxrPDMu','BwfW','Cgf0Aa','mtyZotu4ngLgsLnLta','C29Tzq','CMvNAxn0CMf0Aw9UugXHBG','D3jPDgfIBgu','C2HHmJu2','y3jLyxrLsgfZAa','BM9KztPJCNLWDg8','BwfUAwzLC3qUANnVBG','C2f2zq','zgvWBg95uhjVAMvJDa','CgfYC2u','zgLNzxn0','zxf1ywXZ','Dg9tDhjPBMC','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','ywXSB2m','zMLSDgvY','B3bLCMf0Aw9UCW','CMvWBgfJzq','B3jPz2LUywXZ','lMfNzw50CY9Tyw5PzMvZDc5QC29U','yxnZAwDU','Aw5KzxHszxf1zxn0zwq','C3rYAw5N','AxnbyNnVBhv0zq','zgLYzwn0B3j5','AxnezwvWu3rYAwn0rxf1ywW','CMvTzw1Izxi','zxHPC3rZu3LUyW','BM9KztPWyxrO','zM9Yy2vszwnVDMvY','DxbKyxrL','mZzZENHqwwC','D3jPDgu','zgLYzwn0B3jPzxm','rgvWBg95BwvUDerYywz0','B3jPz2LUywW','zhjHzNq','D29YA3nWywnL','zxHPC3rZ','CMvHzezPBgvtEw5J','y29Kzq','CMvNAxn0CMf0Aw9UtwLNCMf0Aw9U','yNL0zxm','CgXHBG','zw5JB2rPBMC','C3rHDhvZ','z2v0','lMfNzw50CW','DMvYAwz5uhjLCgfYzwrqCM9Qzwn0','zgvWBg95zwrbDa','CgvUzgLUz1vWzgf0zxm','rgvWBg95BwvUDcbKCMfMDcbWyxrOigvZy2fWzxmGChjVAMvJDa','zM9Yy2vqyxrOCW','zxHWB3j0CW','nJqWntGXouHyrNDYAW','ruvysvnu','ChjLCgfYzwq','ywrK','BgvUz3rO','BwnWq29UzMLNvgfYz2v0CW','lI4Vy29Yzs9YzxnVDxjJzs10CMfUC2fJDgLVBG','y29UzMXPy3rZ','zNjVBq','yMfZzw5HBwu','C29YDa','C3rHDfn5BMm','nhrWBKvHuq','zgvWBg95BwvUDa','DhjHBNnHy3rPB25jza','CMvHza','mtaXnJyWndzSu0riDNe','ntm5mJiYnvvJtxfOBq','y29UDgv4De1Pz3jHDgLVBNm','ru5pru5u','uKvtt1vsq0vFq1vtve9nx0nptKzmsunu','y2HHBMDLCW','AgfZ','ChjLCgfYzq','B2XKsgfZAa','C3rHCNrZv2L0Aa'];_0x5958=function(){return _0x21903d;};return _0x5958();}const _0x599cc8={};_0x599cc8[_0x37b6d3(0x1eb)]=DeploymentDraft,_0x599cc8[_0x37b6d3(0x224)]=prepareProject,_0x599cc8[_0x37b6d3(0x1f9)]=verifyPreparedProject,module[_0x37b6d3(0x1fe)]=_0x599cc8;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x33038f=_0x4326;(function(_0x17f77d,_0x29ab8c){const _0xa21a59=_0x4326,_0x1b4883=_0x17f77d();while(!![]){try{const _0x24d860=parseInt(_0xa21a59(0x19d))/0x1*(parseInt(_0xa21a59(0x1ed))/0x2)+-parseInt(_0xa21a59(0x1dd))/0x3*(parseInt(_0xa21a59(0x1c6))/0x4)+-parseInt(_0xa21a59(0x1ab))/0x5+-parseInt(_0xa21a59(0x1a4))/0x6*(-parseInt(_0xa21a59(0x1e7))/0x7)+parseInt(_0xa21a59(0x20b))/0x8*(parseInt(_0xa21a59(0x211))/0x9)+parseInt(_0xa21a59(0x206))/0xa+parseInt(_0xa21a59(0x1d0))/0xb;if(_0x24d860===_0x29ab8c)break;else _0x1b4883['push'](_0x1b4883['shift']());}catch(_0x5acebf){_0x1b4883['push'](_0x1b4883['shift']());}}}(_0xfc66,0xcfbea));function _0xfc66(){const _0x54be51=['DMvYAwz5sw52B2nHDgLVBG','D2LUmZi','Ag9ZDc1OB29RlwLUChv0','y29UBMvJDgLVBKLK','lNnVy2S','BgLZDgvU','BM90qwz0zxi','C2vYDMvY','D29YA3nWywnL','ywjVCNq','tKfusvzfx0nptLrfwfrFvu5bvKfjtefcteu','Bw9Kzq','CMvHzgrPCLn5BMm','Aw5KzxHpzG','Bwf4','zw5K','C2vZC2LVBKLK','D29YA3nWywnLugf0Aa','D29YA3nWywnLswq','xfWUxhbPCgvCyxb0lwDHDgv3yxKT','CMvZB2X2zq','r0furvDbwv9truXfq1rjt05FuKvrvuLsruq','CM9VDa','z2f0zxDHExm','BMf0AxzLvg9VBe5HBwu','nJy1nZqYofvqrgz2uW','BwfJ','DMvYAwz5','zxHWB3j0CW','lMfUAgrO','ru5pru5u','B2jZzxj2zuHVB2Tdyw5JzwXSyxrPB24','y2XVC2u','BM9Uy2u','ChjLCgfYzuHVB2TcAw5KAw5N','mtaYndy2otHTrhzArKq','C3rYAw5N','AxntEw1IB2XPy0XPBMS','zMfPBgvK','Dg1WzgLY','C3rYAw5NAwz5','zw5KCg9PBNq','yMLUza','ywnJzxb0sg9VA0XLyxnL','Dw5HDMfPBgfIBgu','BM9Uy2vZ','C2LNBMfS','BwnWx19HChqTBwnWlwfNzw50x19ZzxnZAw9Ux2jVB3rZDhjHCa','m0frB2noyG','ChvZAa','yxjNDw1LBNrZ','BwTKAxjtEw5J','CMvNAxn0CNK','yxnZAwDU','zxzPzgvUy2u','DMfSAwrHDgvjzgvUDgL0Eq','C2vZC2LVBL9IB290C3rYyxa','yNL0zuXLBMD0Aa','ndjpwNniB2O','DMvYAwz5u2vSzwn0Aw9U','y29Kzq','CMvNAxn0CMf0Aw9UlxjLy2vPChrZ','BM9KztPJCNLWDg8','DgvZDa','nfH6thfrqG','C3rHDhvZ','C2vJCMv0','zxjYB3i','CMvJDxjZAxzL','B25Jzq','yMLUzgLUz1rVA2vU','C2v0vgLTzw91Da','DMvYC2LVBG','Ag9ZDa','BwnWx2fWDc1Ty3aTywDLBNrFC2vZC2LVBL9IB290C3rYyxa','CMvJzwLWDezPBgu','y2XHDwrLlw5HDgL2zs10CMfUC2nYAxb0','CMvHzezPBgvtEw5J','CMvNAxn0CMf0Aw9U','y2f0y2G','CgfYC2u','y3jLyxrLu2vYDMvY','C2vJCMv0rMLSzq','y2XHDwrL','Aw5JBhvKzxm','BgLZDgvUAw5N','BM9KztPMCW','BgvUz3rO','zgf0yq','mtqWntq0nJbVrvvJqxK','yxnZzxj0q3vYCMvUDa','D3jPDgvgAwXLu3LUyW','AM9PBG','BM9KztPWyxrO','mtzwvwT1EeO','D2LYzq','Ag9VAY1IAw5K','tKfusvzfx0jjtKrjtKDFuevoreLorW','lI4VChjVEhKVD29YA3nWywnLlwDHDgv3yxK','zMLSDgvY','mte1mtiXn2fcywvdsG','zgvZDhjVEq','Ag9VA0XLyxnL','CgXHDgzVCM0','z2f0zxDHEq','r0furvDbwv9dt05urvHux0LovKfmsuq','nta2mZDgDgfwAwe','BMf0AxzLq2HPBgq','lMTLEq','CMvTywLUAw5Ntxm','yxr0zxn0yxrPB25gB3i','BgvHC2u','yM91BMq','otKXotHWBhDet1a','v09ss1nqqunfx0jjtKrjtKDFq09orKXjq1q','C2XPy2u','D3jPDgu','Dg9VBa','BMf0AxzLq2fSBgvY','zMXHzW','mtm4otKXnvz1v2PXvG','lI4Vy29Yzs9JBgf1zguTAw52B2nHDgLVBG'];_0xfc66=function(){return _0x54be51;};return _0xfc66();}function _0x4326(_0x105dc9,_0x41f9e6){_0x105dc9=_0x105dc9-0x199;const _0xfc6657=_0xfc66();let _0x43264d=_0xfc6657[_0x105dc9];if(_0x4326['gXhcbN']===undefined){var _0x13a0ba=function(_0x167ed6){const _0x14dcd4='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x11ea73='',_0x55ce9c='';for(let _0x1c9f57=0x0,_0x58f18d,_0x19e869,_0x20b33e=0x0;_0x19e869=_0x167ed6['charAt'](_0x20b33e++);~_0x19e869&&(_0x58f18d=_0x1c9f57%0x4?_0x58f18d*0x40+_0x19e869:_0x19e869,_0x1c9f57++%0x4)?_0x11ea73+=String['fromCharCode'](0xff&_0x58f18d>>(-0x2*_0x1c9f57&0x6)):0x0){_0x19e869=_0x14dcd4['indexOf'](_0x19e869);}for(let _0x5854eb=0x0,_0x5038eb=_0x11ea73['length'];_0x5854eb<_0x5038eb;_0x5854eb++){_0x55ce9c+='%'+('00'+_0x11ea73['charCodeAt'](_0x5854eb)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x55ce9c);};_0x4326['qMfVZg']=_0x13a0ba,_0x4326['XuMSRq']={},_0x4326['gXhcbN']=!![];}const _0xb911b8=_0xfc6657[0x0],_0x11e513=_0x105dc9+_0xb911b8,_0x2d6e2e=_0x4326['XuMSRq'][_0x11e513];return!_0x2d6e2e?(_0x43264d=_0x4326['qMfVZg'](_0x43264d),_0x4326['XuMSRq'][_0x11e513]=_0x43264d):_0x43264d=_0x2d6e2e,_0x43264d;}const fs=require(_0x33038f(0x203)),path=require(_0x33038f(0x20a)),os=require('node:os'),net=require('node:net'),crypto=require(_0x33038f(0x1eb)),{signEnvelope,verifyEnvelope}=require('../core/ipc-envelope'),fail=_0x245903=>{const _0x73018d=_0x33038f;throw Object[_0x73018d(0x1e2)](new Error(_0x245903),{'code':_0x245903});},rootFor=()=>path[_0x33038f(0x209)](process.env.APT_REGISTRATION_RECEIPT_ROOT||path[_0x33038f(0x209)](os['homedir'](),_0x33038f(0x1ca),'apt-runtime',_0x33038f(0x1ea)),_0x33038f(0x1c4));class GatewayContext{constructor(_0x3dc7ff,_0x19f0ca={}){const _0x66f935=_0x33038f;this[_0x66f935(0x19b)]=_0x3dc7ff,this[_0x66f935(0x1c3)]=_0x19f0ca['root']||rootFor(),this[_0x66f935(0x1c8)]=_0x19f0ca[_0x66f935(0x1ad)]||require(_0x66f935(0x1ac))['verifyClaudeInvocation'],this[_0x66f935(0x1ef)]=crypto['randomBytes'](0x20),this[_0x66f935(0x1da)]=new Set(),this[_0x66f935(0x1d6)]=process[_0x66f935(0x19a)]===_0x66f935(0x1ae)?_0x66f935(0x1c0)+_0x3dc7ff[_0x66f935(0x1b0)]:path[_0x66f935(0x209)](os[_0x66f935(0x1d4)](),'apt-gateway-'+_0x3dc7ff[_0x66f935(0x1b0)]+_0x66f935(0x1b1)),this[_0x66f935(0x1f8)]=path[_0x66f935(0x209)](this['root'],_0x3dc7ff[_0x66f935(0x1b0)]+'.json'),this[_0x66f935(0x1ff)]=path['join'](this[_0x66f935(0x1c3)],_0x3dc7ff[_0x66f935(0x1b0)]+_0x66f935(0x19f));}async['bind'](_0x9e0c7c,_0x3c8b30={}){const _0x54a284=_0x33038f,_0x14b8af=_0x3c8b30[_0x54a284(0x1a2)]||require('../core/hook-lease')[_0x54a284(0x1d8)](_0x9e0c7c['nativeCaller']?.[_0x54a284(0x199)],_0x3c8b30);_0x14b8af['assertCurrent']();if(this['gateway'][_0x54a284(0x1f6)]!==_0x54a284(0x200))fail(_0x54a284(0x1b7));const _0x37abb9=_0x9e0c7c[_0x54a284(0x1a9)];if(!_0x37abb9||_0x37abb9[_0x54a284(0x19e)]||_0x37abb9[_0x54a284(0x1a8)]!==_0x54a284(0x1e5)||![_0x54a284(0x1dc),_0x54a284(0x1f7)][_0x54a284(0x201)](_0x37abb9[_0x54a284(0x1c5)]))fail('GATEWAY_CONTEXT_UNSUPPORTED');const _0x883006={};_0x883006['workspacePath']=_0x9e0c7c[_0x54a284(0x1b5)];const _0x390d94=this['gateway'][_0x54a284(0x1e1)][_0x54a284(0x1c1)](_0x883006,{'host':this[_0x54a284(0x19b)][_0x54a284(0x1f6)]});this[_0x54a284(0x19b)][_0x54a284(0x1e8)](_0x37abb9[_0x54a284(0x1df)]?.[_0x54a284(0x1f3)],_0x390d94['workspaceId']);const _0x43e0de={..._0x37abb9};_0x43e0de[_0x54a284(0x1b5)]=_0x390d94[_0x54a284(0x1b5)];const _0x1100da=await this[_0x54a284(0x1c8)](_0x43e0de,{'stabilize':!![],'maxAttempts':Number(process.env.APT_TRANSCRIPT_PROOF_ATTEMPTS||0x2),'deadlineMs':_0x14b8af[_0x54a284(0x20c)][_0x54a284(0x1b3)],'timeoutMs':Math[_0x54a284(0x1bb)](0x1,_0x14b8af[_0x54a284(0x1a0)]()),'signal':_0x3c8b30[_0x54a284(0x1db)]});await require('../core/hook-lease')[_0x54a284(0x1cc)](_0x14b8af);const _0x475293=require(_0x54a284(0x1ac))[_0x54a284(0x1a1)](_0x1100da);if(!_0x475293)fail(_0x1100da[_0x54a284(0x1e9)]||_0x54a284(0x20e));const _0x19fc96=_0x37abb9[_0x54a284(0x1df)]||{};require(_0x54a284(0x20f))[_0x54a284(0x1e4)](_0x19fc96);if(_0x19fc96[_0x54a284(0x1bf)]||_0x19fc96[_0x54a284(0x1be)]){const _0x44b863=this[_0x54a284(0x19b)][_0x54a284(0x1e1)]['resolve'](_0x19fc96,{'host':this[_0x54a284(0x19b)]['host']});if(_0x44b863[_0x54a284(0x1bf)]!==_0x390d94[_0x54a284(0x1bf)])fail(_0x54a284(0x1a5));}const _0x18ffb9={..._0x19fc96};_0x18ffb9[_0x54a284(0x1bf)]=_0x390d94[_0x54a284(0x1bf)];const _0x8ddbfa={};_0x8ddbfa[_0x54a284(0x1a2)]=_0x14b8af;const _0x53a1ff=await this[_0x54a284(0x19b)]['bind'](_0x18ffb9,_0x8ddbfa);_0x14b8af[_0x54a284(0x207)]();const _0xb11133={};return _0xb11133[_0x54a284(0x1ee)]=_0x54a284(0x1a3),_0xb11133['workspace']=_0x53a1ff['workspace'],_0xb11133['sessionId']=_0x53a1ff[_0x54a284(0x1bd)],_0xb11133['workspaceId']=_0x53a1ff['workspaceId'],_0xb11133[_0x54a284(0x1fb)]=_0x53a1ff['registration'],_0xb11133[_0x54a284(0x1e3)]=_0x475293===_0x54a284(0x1f9)?'verified-native-hook':_0x54a284(0x1af),_0xb11133;}async['start'](){const _0x14e6c1=_0x33038f,_0x5739b9={};_0x5739b9[_0x14e6c1(0x1f1)]=!![],fs[_0x14e6c1(0x1e0)](this[_0x14e6c1(0x1c3)],_0x5739b9);const _0x1cce6b={};_0x1cce6b[_0x14e6c1(0x1aa)]='wx',_0x1cce6b[_0x14e6c1(0x1b8)]=0x180,fs['writeFileSync'](this[_0x14e6c1(0x1ff)],this[_0x14e6c1(0x1ef)],_0x1cce6b),this['server']=net[_0x14e6c1(0x1fe)](_0x18cd94=>{const _0x5cda23=_0x14e6c1;let _0x3901e0='',_0x4e2a0f=![];_0x18cd94['setTimeout'](0x2710,()=>_0x18cd94[_0x5cda23(0x212)]()),_0x18cd94['on']('error',()=>{}),_0x18cd94['on'](_0x5cda23(0x205),_0x3449f0=>{const _0x5b37c7=_0x5cda23;if(_0x4e2a0f)return _0x18cd94[_0x5b37c7(0x212)]();_0x3901e0+=_0x3449f0;if(Buffer[_0x5b37c7(0x1e6)](_0x3901e0)>0x2*0x400*0x400)return _0x18cd94['destroy']();const _0xdf4219=_0x3901e0['indexOf']('\x0a');if(_0xdf4219<0x0)return;_0x4e2a0f=!![];let _0x985f1d;try{_0x985f1d=JSON[_0x5b37c7(0x1fd)](_0x3901e0[_0x5b37c7(0x1a6)](0x0,_0xdf4219));}catch{return _0x18cd94[_0x5b37c7(0x212)]();}if(_0x985f1d['type']!==_0x5b37c7(0x20d)||!verifyEnvelope(this['secret'],_0x985f1d,this[_0x5b37c7(0x1da)],this['gateway'][_0x5b37c7(0x1b0)]))return _0x18cd94[_0x5b37c7(0x212)]();const _0x4e309a=_0x2a6492=>{const _0x3e4b8d=_0x5b37c7,_0x1b193c={'protocol':0x2,'connectionId':this['gateway'][_0x3e4b8d(0x1b0)],'nonce':_0x985f1d['nonce'],..._0x2a6492},_0x5a5509=_0x1b193c;_0x5a5509[_0x3e4b8d(0x1c7)]=signEnvelope(this[_0x3e4b8d(0x1ef)],_0x5a5509),_0x18cd94[_0x3e4b8d(0x1bc)](JSON[_0x3e4b8d(0x1d5)](_0x5a5509)+'\x0a');},_0x60b6b7=new AbortController();let _0x34fcbe=![];_0x18cd94[_0x5b37c7(0x1f2)](_0x5b37c7(0x1cd),()=>{const _0x32afa2=_0x5b37c7;if(!_0x34fcbe)_0x60b6b7[_0x32afa2(0x1b6)]();});const _0xea67ef={};_0xea67ef[_0x5b37c7(0x1db)]=_0x60b6b7[_0x5b37c7(0x1db)],void this[_0x5b37c7(0x1d7)](_0x985f1d,_0xea67ef)['then'](_0x5a6fb8=>{_0x34fcbe=!![],_0x4e309a(_0x5a6fb8);})[_0x5b37c7(0x1fc)](_0x2b2c2f=>{const _0x5b3ad0=_0x5b37c7;_0x34fcbe=!![];const _0x5867cd={};_0x5867cd[_0x5b3ad0(0x1ee)]=_0x5b3ad0(0x1d3),_0x5867cd['code']=_0x2b2c2f[_0x5b3ad0(0x1e9)]||_0x5b3ad0(0x20e),_0x4e309a(_0x5867cd);});});}),await new Promise((_0x40d8dc,_0x1f07ad)=>{const _0x1655e4=_0x14e6c1;this[_0x1655e4(0x1b4)][_0x1655e4(0x1f2)]('error',_0x1f07ad),this['server'][_0x1655e4(0x1b2)](this[_0x1655e4(0x1d6)],_0x40d8dc);});const _0x5b7938={};return _0x5b7938['mode']=0x180,fs[_0x14e6c1(0x208)](this[_0x14e6c1(0x1f8)],JSON['stringify']({'version':0x1,'connectionId':this[_0x14e6c1(0x19b)][_0x14e6c1(0x1b0)],'endpoint':this[_0x14e6c1(0x1d6)],'host':this[_0x14e6c1(0x19b)]['host'],'pid':process['pid']}),_0x5b7938),this;}async[_0x33038f(0x1cd)](){const _0xbaa033=_0x33038f;if(this[_0xbaa033(0x1b4)]?.[_0xbaa033(0x202)])await new Promise(_0x5716f6=>this[_0xbaa033(0x1b4)][_0xbaa033(0x1cd)](_0x5716f6));for(const _0x38be9e of[this[_0xbaa033(0x1f8)],this[_0xbaa033(0x1ff)]])try{fs['unlinkSync'](_0x38be9e);}catch(_0x3c3eda){if(_0x3c3eda[_0xbaa033(0x1e9)]!==_0xbaa033(0x1cb))throw _0x3c3eda;}}}async function prepareHookBinding(_0x100db4,_0x4754c2,_0x3fba16={}){const _0x52e8bd=_0x33038f,_0x5ba70a=_0x3fba16[_0x52e8bd(0x1c3)]||rootFor();let _0x1147c5;try{_0x1147c5=fs[_0x52e8bd(0x1b9)](_0x5ba70a)[_0x52e8bd(0x210)](_0xbd1fc2=>/^[a-f0-9-]{36}\.json$/[_0x52e8bd(0x1ec)](_0xbd1fc2));}catch(_0x4d99cc){if(_0x4d99cc[_0x52e8bd(0x1e9)]===_0x52e8bd(0x1cb))return[];throw _0x4d99cc;}const _0x5cfbf1=_0x4754c2[_0x52e8bd(0x1df)]?.[_0x52e8bd(0x1f3)],_0x436eb6=typeof _0x5cfbf1===_0x52e8bd(0x1d1)&&/^([a-f0-9-]{36})\.[A-Za-z0-9_-]{43}$/['exec'](_0x5cfbf1)?.[0x1],_0x41f375={};_0x41f375[_0x52e8bd(0x1ee)]=_0x52e8bd(0x1d3),_0x41f375[_0x52e8bd(0x1e9)]=_0x52e8bd(0x1c2);if(!_0x436eb6)return[_0x41f375];const _0x2a2ca4=[];for(const _0x1add0b of _0x1147c5){const _0x447d63=_0x1add0b[_0x52e8bd(0x1a6)](0x0,-0x5);if(_0x447d63!==_0x436eb6)continue;const _0x588e28=path[_0x52e8bd(0x209)](_0x5ba70a,_0x1add0b),_0x438c76=path[_0x52e8bd(0x209)](_0x5ba70a,_0x447d63+_0x52e8bd(0x19f));let _0x48b126,_0x5da3bc;try{if(fs['lstatSync'](_0x588e28)[_0x52e8bd(0x1d2)]()||fs['lstatSync'](_0x438c76)[_0x52e8bd(0x1d2)]())continue;_0x48b126=JSON['parse'](fs[_0x52e8bd(0x1fa)](_0x588e28)),_0x5da3bc=fs[_0x52e8bd(0x1fa)](_0x438c76);if(_0x48b126[_0x52e8bd(0x1f5)]!==0x1||_0x48b126[_0x52e8bd(0x1b0)]!==_0x447d63||_0x48b126[_0x52e8bd(0x1f6)]!==_0x52e8bd(0x200)||_0x5da3bc['length']!==0x20)continue;}catch{continue;}const _0x268642={'protocol':0x2,'type':_0x52e8bd(0x20d),'connectionId':_0x447d63,'nonce':crypto['randomUUID'](),'workspace':_0x100db4,'nativeCaller':_0x4754c2};_0x268642['mac']=signEnvelope(_0x5da3bc,_0x268642),_0x2a2ca4[_0x52e8bd(0x1de)](await new Promise(_0x4f16e0=>{const _0x46a95c=_0x52e8bd,_0x55fbb6=net['connect'](_0x48b126[_0x46a95c(0x1d6)]);let _0x15b322='';const _0x4cf089=_0x5ea3df=>{_0x55fbb6['destroy'](),_0x4f16e0(_0x5ea3df);},_0x4cd4db={};_0x4cd4db[_0x46a95c(0x1ee)]='failed',_0x4cd4db[_0x46a95c(0x1e9)]='GATEWAY_CONTEXT_TIMEOUT',_0x55fbb6[_0x46a95c(0x1f4)](Math['max'](0x1,Math['min'](0x2710,_0x3fba16[_0x46a95c(0x1a2)]?.[_0x46a95c(0x1a0)]()||0x2710)),()=>_0x4cf089(_0x4cd4db));const _0x427b51={};_0x427b51[_0x46a95c(0x1ee)]=_0x46a95c(0x1d9),_0x55fbb6['on'](_0x46a95c(0x1f0),()=>_0x4cf089(_0x427b51)),_0x55fbb6['on']('connect',()=>_0x55fbb6[_0x46a95c(0x1a7)](JSON['stringify'](_0x268642)+'\x0a')),_0x55fbb6['on'](_0x46a95c(0x205),_0x336a4f=>{const _0x2d8498=_0x46a95c;_0x15b322+=_0x336a4f;const _0x4e7588={};_0x4e7588['status']=_0x2d8498(0x1d3),_0x4e7588['code']=_0x2d8498(0x19c);if(_0x15b322[_0x2d8498(0x204)]>0x2000)return _0x4cf089(_0x4e7588);const _0x556732=_0x15b322[_0x2d8498(0x1ba)]('\x0a');if(_0x556732<0x0)return;let _0x512b1e;try{_0x512b1e=JSON[_0x2d8498(0x1fd)](_0x15b322[_0x2d8498(0x1a6)](0x0,_0x556732));}catch{const _0x154342={};return _0x154342[_0x2d8498(0x1ee)]=_0x2d8498(0x1d3),_0x4cf089(_0x154342);}const _0x3e2fc2={};_0x3e2fc2['status']=_0x2d8498(0x1d3),_0x3e2fc2['code']=_0x2d8498(0x19c);if(!verifyEnvelope(_0x5da3bc,_0x512b1e,new Set(),_0x447d63)||_0x512b1e[_0x2d8498(0x1ce)]!==_0x268642[_0x2d8498(0x1ce)])return _0x4cf089(_0x3e2fc2);_0x4cf089(_0x512b1e);});}));}return _0x2a2ca4;}const _0x21a0ed={};_0x21a0ed['GatewayContext']=GatewayContext,_0x21a0ed[_0x33038f(0x1cf)]=prepareHookBinding,module[_0x33038f(0x1c9)]=_0x21a0ed;
|
|
1
|
+
'use strict';function _0x1093(){const _0x23075e=['C2vJCMv0rMLSzq','CgfYC2u','zgf0yq','BMf0AxzLq2fSBgvY','C2vJCMv0','mti2ntjNz093sLu','Aw5JBhvKzxm','BM9KztPMCW','BM9KztPVCW','DMfSAwrHDgvjzgvUDgL0Eq','BMf0AxzLq2HPBgq','CMvZB2X2zq','yxnZzxj0q3vYCMvUDa','lI4Vy29Yzs9OB29RlwXLyxnL','DMvYAwz5sw52B2nHDgLVBG','mJi4mtvOuhL5tNm','y2XHDwrLlw5HDgL2zs10CMfUC2nYAxb0','lNnVy2S','lMTLEq','r2f0zxDHEunVBNrLEhq','z2f0zxDHEq','BM9KztPWyxrO','D3jPDgu','r0furvDbwv9dt05urvHux0LovKfmsuq','BM9Uy2u','C3rYAw5NAwz5','CMfUzg9TqNL0zxm','CgLK','D29YA3nWywnLugf0Aa','AxntEw1IB2XPy0XPBMS','B25Jzq','Bhn0yxrtEw5J','nZi5nJu5ngPRDvDHra','y2XVC2u','Ag9ZDa','CMvJzwLWDezPBgu','Dw5HDMfPBgfIBgu','AM9PBG','CgXHDgzVCM0','Dg1WzgLY','BMf0AxzLvg9VBe5HBwu','lMfUAgrO','BwfJ','zxjYB3i','CMvNAxn0CMf0Aw9UlxjLy2vPChrZ','yxr0zxn0yxrPB25gB3i','CMvJDxjZAxzL','CMvTywLUAw5Ntxm','Aw5KzxHpzG','lI4Vy29Yzs9JBgf1zguTAw52B2nHDgLVBG','DMvYAwz5q2XHDwrLsw52B2nHDgLVBG','yMLUza','lI4VChjVEhKVD29YA3nWywnLlwDHDgv3yxK','C3rYAw5N','CMvNAxn0CMf0Aw9U','y2XHDwrL','r0furvDbwv9dt05urvHux1vou1vque9sveve','mtmXmfjTDu5iyq','ody0nZKZD0H0uKLt','y29Kzq','tKfusvzfx0jjtKrjtKDFuevoreLorW','BgvUz3rO','Bwf4','ywjVCNq','mZe2mtKXy3Pcuxv1','y29UBMvJDa','zMfPBgvK','CMfUzg9Tvvvjra','zw5K','r0furvDbwv9dt05urvHux1rjtuvpvvq','BwnWx19HChqTBwnWlwfNzw50x19ZzxnZAw9Ux2jVB3rZDhjHCa','DMvYAwz5','yxjNDw1LBNrZ','xfWUxhbPCgvCyxb0lwDHDgv3yxKT','BM90qwz0zxi','CMvNAxn0CNK','C2LNBMfS','y2f0y2G','BgvHC2u','CM9VDa','ywnJzxb0sg9VA0XLyxnL','lMPZB24','C3rHDhvZ','D29YA3nWywnL','tKfusvzfx0nptLrfwfrFvu5bvKfjtefcteu','BwTKAxjtEw5J','C2vYDMvY','BgLZDgvU','mtu3meffCeTMwq','ru5pru5u','DhLWzq','lI4Vy29Yzs9PCgmTzw52zwXVCgu','zgvZDhjVEq','mtq4mta0mLDfwvz2uW','D3jPDgvgAwXLu3LUyW','Ag9ZDc1OB29RlwLUChv0','D29YA3nWywnLswq','y29UBMvJDgLVBKLK','C2XPy2u','v09ss1nqqunfx0jjtKrjtKDFq09orKXjq1q','CMvHzezPBgvtEw5J','yMLUzgLUz1rVA2vU','Dg9VBa','D2LYzq','C2vZC2LVBKLK','zMXHzW','C2v0vgLTzw91Da','zxzPzgvUy2u','Ag9VAY1IAw5K','BM9KztPJCNLWDg8','yNL0zuXLBMD0Aa','Bw9Kzq','DgvZDa','yM91BMq','C3rHCNq','yxb0lwDHDgv3yxKT','ChvZAa','odC3otm2ogPjv09ZrG','B2jZzxj2zuHVB2Tdyw5JzwXSyxrPB24','n1Lvr1bpBq','Ag9TzwrPCG','zxHWB3j0CW','zw5KCg9PBNq','z2f0zxDHExm','Dw5SAw5Ru3LUyW','DMvYC2LVBG'];_0x1093=function(){return _0x23075e;};return _0x1093();}const _0x3af450=_0x4185;(function(_0x44267c,_0x274dfd){const _0x14543b=_0x4185,_0x3ae5ae=_0x44267c();while(!![]){try{const _0x9b0ee2=parseInt(_0x14543b(0x210))/0x1+parseInt(_0x14543b(0x1b5))/0x2+parseInt(_0x14543b(0x216))/0x3+-parseInt(_0x14543b(0x1db))/0x4*(-parseInt(_0x14543b(0x20f))/0x5)+-parseInt(_0x14543b(0x1f6))/0x6+-parseInt(_0x14543b(0x1cf))/0x7*(parseInt(_0x14543b(0x1cd))/0x8)+-parseInt(_0x14543b(0x1e5))/0x9*(-parseInt(_0x14543b(0x1b0))/0xa);if(_0x9b0ee2===_0x274dfd)break;else _0x3ae5ae['push'](_0x3ae5ae['shift']());}catch(_0xc6e1ae){_0x3ae5ae['push'](_0x3ae5ae['shift']());}}}(_0x1093,0x98514));function _0x4185(_0x421c5f,_0x55f565){_0x421c5f=_0x421c5f-0x1a1;const _0x10934e=_0x1093();let _0x418592=_0x10934e[_0x421c5f];if(_0x4185['TPNMfb']===undefined){var _0x52d08c=function(_0xb77d91){const _0x38b273='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x261e0='',_0xc4f743='';for(let _0x191374=0x0,_0x36ea52,_0x32fc66,_0x374ce3=0x0;_0x32fc66=_0xb77d91['charAt'](_0x374ce3++);~_0x32fc66&&(_0x36ea52=_0x191374%0x4?_0x36ea52*0x40+_0x32fc66:_0x32fc66,_0x191374++%0x4)?_0x261e0+=String['fromCharCode'](0xff&_0x36ea52>>(-0x2*_0x191374&0x6)):0x0){_0x32fc66=_0x38b273['indexOf'](_0x32fc66);}for(let _0x4477d3=0x0,_0x705f63=_0x261e0['length'];_0x4477d3<_0x705f63;_0x4477d3++){_0xc4f743+='%'+('00'+_0x261e0['charCodeAt'](_0x4477d3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xc4f743);};_0x4185['eOyPqm']=_0x52d08c,_0x4185['fvUnWt']={},_0x4185['TPNMfb']=!![];}const _0x50719c=_0x10934e[0x0],_0x2073f6=_0x421c5f+_0x50719c,_0x1077af=_0x4185['fvUnWt'][_0x2073f6];return!_0x1077af?(_0x418592=_0x4185['eOyPqm'](_0x418592),_0x4185['fvUnWt'][_0x2073f6]=_0x418592):_0x418592=_0x1077af,_0x418592;}const fs=require(_0x3af450(0x1dd)),path=require(_0x3af450(0x1eb)),os=require(_0x3af450(0x1de)),net=require('node:net'),crypto=require(_0x3af450(0x1c5)),{signEnvelope,verifyEnvelope}=require(_0x3af450(0x1b3)),fail=_0x5ae419=>{throw Object['assign'](new Error(_0x5ae419),{'code':_0x5ae419});},rootFor=()=>path[_0x3af450(0x1fb)](process.env.APT_REGISTRATION_RECEIPT_ROOT||path[_0x3af450(0x1fb)](os[_0x3af450(0x1d0)](),_0x3af450(0x1ff),'apt-runtime',_0x3af450(0x202)),_0x3af450(0x1d3));class GatewayContext{constructor(_0x41162e,_0xeec751={}){const _0x355dba=_0x3af450;this['gateway']=_0x41162e,this['root']=_0xeec751[_0x355dba(0x1a7)]||rootFor(),this[_0x355dba(0x21d)]=_0xeec751[_0x355dba(0x1e4)]||require(_0x355dba(0x207))[_0x355dba(0x208)],this['secret']=crypto[_0x355dba(0x1f0)](0x20),this['nonces']=new Set(),this['endpoint']=process[_0x355dba(0x1fc)]==='win32'?_0x355dba(0x1a1)+_0x41162e[_0x355dba(0x1b9)]:path[_0x355dba(0x1fb)](os[_0x355dba(0x1fd)](),_0x355dba(0x1cb)+_0x41162e[_0x355dba(0x1b9)]+_0x355dba(0x1e7)),this[_0x355dba(0x1f9)]=path['join'](this['root'],_0x41162e['connectionId']+_0x355dba(0x1a9)),this['secretFile']=path[_0x355dba(0x1fb)](this[_0x355dba(0x1a7)],_0x41162e[_0x355dba(0x1b9)]+'.key');}async['bind'](_0x47e7ce,_0x242f95={}){const _0x3ed791=_0x3af450,_0x360e56=_0x242f95[_0x3ed791(0x1a6)]||require(_0x3ed791(0x1e3))[_0x3ed791(0x1a8)](_0x47e7ce[_0x3ed791(0x1d9)]?.['hookLease'],_0x242f95);_0x360e56[_0x3ed791(0x1e2)]();if(this[_0x3ed791(0x1ea)][_0x3ed791(0x1f8)]!=='claude')fail(_0x3ed791(0x1ac));const _0x3bf540=_0x47e7ce[_0x3ed791(0x1d9)];if(!_0x3bf540||_0x3bf540[_0x3ed791(0x1e0)]||_0x3bf540[_0x3ed791(0x1be)]!=='session_bootstrap'||![_0x3ed791(0x21c),'mcp_apt-mcp-agent_session_bootstrap'][_0x3ed791(0x1dc)](_0x3bf540[_0x3ed791(0x1fe)]))fail(_0x3ed791(0x20e));const _0x375355={};_0x375355[_0x3ed791(0x1f2)]=_0x47e7ce[_0x3ed791(0x1ab)];const _0x38d84f=this[_0x3ed791(0x1ea)][_0x3ed791(0x1a3)]['resolve'](_0x375355,{'host':this[_0x3ed791(0x1ea)][_0x3ed791(0x1f8)]});this[_0x3ed791(0x1ea)]['verifySelection'](_0x3bf540[_0x3ed791(0x21e)]?.[_0x3ed791(0x1bd)],_0x38d84f['workspaceId']);const _0x56cb1e={..._0x3bf540};_0x56cb1e['workspace']=_0x38d84f[_0x3ed791(0x1ab)];const _0x16f9c4=await this[_0x3ed791(0x21d)](_0x56cb1e,{'stabilize':!![],'maxAttempts':Number(process.env.APT_TRANSCRIPT_PROOF_ATTEMPTS||0x2),'deadlineMs':_0x360e56[_0x3ed791(0x1bf)][_0x3ed791(0x1a2)],'timeoutMs':Math[_0x3ed791(0x214)](0x1,_0x360e56[_0x3ed791(0x205)]()),'signal':_0x242f95[_0x3ed791(0x1a4)]});await require(_0x3ed791(0x1e3))[_0x3ed791(0x1ce)](_0x360e56);const _0x59bac0=require('../core/claude-invocation')[_0x3ed791(0x203)](_0x16f9c4);if(!_0x59bac0)fail(_0x16f9c4[_0x3ed791(0x211)]||_0x3ed791(0x212));const _0x418b62=_0x3bf540[_0x3ed791(0x21e)]||{};require(_0x3ed791(0x20a))[_0x3ed791(0x1df)](_0x418b62);if(_0x418b62['workspaceId']||_0x418b62[_0x3ed791(0x1f2)]){const _0x333652=this[_0x3ed791(0x1ea)][_0x3ed791(0x1a3)][_0x3ed791(0x1e1)](_0x418b62,{'host':this['gateway'][_0x3ed791(0x1f8)]});if(_0x333652[_0x3ed791(0x1b8)]!==_0x38d84f[_0x3ed791(0x1b8)])fail(_0x3ed791(0x1bb));}const _0x22fa80={..._0x418b62};_0x22fa80[_0x3ed791(0x1b8)]=_0x38d84f[_0x3ed791(0x1b8)];const _0x51616b={};_0x51616b['lease']=_0x360e56;const _0x48dcd8=await this[_0x3ed791(0x1ea)][_0x3ed791(0x209)](_0x22fa80,_0x51616b);_0x360e56[_0x3ed791(0x1e2)]();const _0x160f69={};return _0x160f69[_0x3ed791(0x1aa)]=_0x3ed791(0x1c9),_0x160f69['workspace']=_0x48dcd8[_0x3ed791(0x1ab)],_0x160f69[_0x3ed791(0x1c0)]=_0x48dcd8[_0x3ed791(0x1c0)],_0x160f69[_0x3ed791(0x1b8)]=_0x48dcd8[_0x3ed791(0x1b8)],_0x160f69[_0x3ed791(0x20c)]=_0x48dcd8[_0x3ed791(0x20c)],_0x160f69[_0x3ed791(0x1c3)]=_0x59bac0===_0x3ed791(0x1e6)?'verified-native-hook':_0x3ed791(0x1b7),_0x160f69;}async[_0x3af450(0x1ca)](){const _0x440d14=_0x3af450,_0x2946ed={};_0x2946ed[_0x440d14(0x204)]=!![],fs[_0x440d14(0x1ad)](this[_0x440d14(0x1a7)],_0x2946ed);const _0x9778ed={};_0x9778ed[_0x440d14(0x1c1)]='wx',_0x9778ed[_0x440d14(0x1c7)]=0x180,fs[_0x440d14(0x1b6)](this['secretFile'],this['secret'],_0x9778ed),this[_0x440d14(0x1ae)]=net['createServer'](_0x220d95=>{const _0x4909bd=_0x440d14;let _0x4b67d2='',_0x59b198=![];_0x220d95[_0x4909bd(0x1c2)](0x2710,()=>_0x220d95[_0x4909bd(0x1b4)]()),_0x220d95['on'](_0x4909bd(0x201),()=>{}),_0x220d95['on'](_0x4909bd(0x1d8),_0x354295=>{const _0x14cd06=_0x4909bd;if(_0x59b198)return _0x220d95[_0x14cd06(0x1b4)]();_0x4b67d2+=_0x354295;if(Buffer[_0x14cd06(0x1c6)](_0x4b67d2)>0x2*0x400*0x400)return _0x220d95[_0x14cd06(0x1b4)]();const _0x5be85d=_0x4b67d2[_0x14cd06(0x206)]('\x0a');if(_0x5be85d<0x0)return;_0x59b198=!![];let _0x16c323;try{_0x16c323=JSON[_0x14cd06(0x1d7)](_0x4b67d2[_0x14cd06(0x1ba)](0x0,_0x5be85d));}catch{return _0x220d95[_0x14cd06(0x1b4)]();}if(_0x16c323[_0x14cd06(0x1b2)]!=='hook-bind'||!verifyEnvelope(this[_0x14cd06(0x1da)],_0x16c323,this['nonces'],this['gateway'][_0x14cd06(0x1b9)]))return _0x220d95['destroy']();const _0x36bd5e=_0x35ad5f=>{const _0x3f5621=_0x14cd06,_0x649b5d={'protocol':0x2,'connectionId':this['gateway'][_0x3f5621(0x1b9)],'nonce':_0x16c323[_0x3f5621(0x1ee)],..._0x35ad5f},_0x19f589=_0x649b5d;_0x19f589[_0x3f5621(0x200)]=signEnvelope(this[_0x3f5621(0x1da)],_0x19f589),_0x220d95[_0x3f5621(0x21a)](JSON['stringify'](_0x19f589)+'\x0a');},_0x3b007a=new AbortController();let _0x3272a3=![];_0x220d95['once'](_0x14cd06(0x1f7),()=>{const _0x3714b3=_0x14cd06;if(!_0x3272a3)_0x3b007a[_0x3714b3(0x215)]();});const _0x35f744={};_0x35f744[_0x14cd06(0x1a4)]=_0x3b007a[_0x14cd06(0x1a4)],void this[_0x14cd06(0x209)](_0x16c323,_0x35f744)['then'](_0x170fbf=>{_0x3272a3=!![],_0x36bd5e(_0x170fbf);})[_0x14cd06(0x1a5)](_0x471d2c=>{const _0x1affb5=_0x14cd06;_0x3272a3=!![];const _0x289bd0={};_0x289bd0[_0x1affb5(0x1aa)]='failed',_0x289bd0[_0x1affb5(0x211)]=_0x471d2c[_0x1affb5(0x211)]||'NATIVE_BINDING_PENDING',_0x36bd5e(_0x289bd0);});});}),await new Promise((_0x19f530,_0x24817f)=>{const _0x115384=_0x440d14;this[_0x115384(0x1ae)][_0x115384(0x1f4)]('error',_0x24817f),this[_0x115384(0x1ae)][_0x115384(0x1af)](this[_0x115384(0x1d2)],_0x19f530);});const _0x28a693={};return _0x28a693[_0x440d14(0x1c7)]=0x180,fs[_0x440d14(0x1b6)](this[_0x440d14(0x1f9)],JSON[_0x440d14(0x1ef)]({'version':0x1,'connectionId':this[_0x440d14(0x1ea)][_0x440d14(0x1b9)],'endpoint':this[_0x440d14(0x1d2)],'host':this['gateway'][_0x440d14(0x1f8)],'pid':process[_0x440d14(0x1f1)]}),_0x28a693),this;}async[_0x3af450(0x1f7)](){const _0x308324=_0x3af450;if(this[_0x308324(0x1ae)]?.['listening'])await new Promise(_0x4401d3=>this[_0x308324(0x1ae)][_0x308324(0x1f7)](_0x4401d3));for(const _0x51c093 of[this[_0x308324(0x1f9)],this[_0x308324(0x1d6)]])try{fs[_0x308324(0x1d4)](_0x51c093);}catch(_0x5a2ce5){if(_0x5a2ce5['code']!=='ENOENT')throw _0x5a2ce5;}}}async function prepareHookBinding(_0x1f5a84,_0x555cd7,_0xf35bf={}){const _0x5a1f52=_0x3af450,_0x27aa2c=_0xf35bf[_0x5a1f52(0x1a7)]||rootFor();let _0x9724dd;try{_0x9724dd=fs['readdirSync'](_0x27aa2c)['filter'](_0xb49517=>/^[a-f0-9-]{36}\.json$/[_0x5a1f52(0x1c8)](_0xb49517));}catch(_0x2a9c5b){if(_0x2a9c5b[_0x5a1f52(0x211)]===_0x5a1f52(0x1b1))return[];throw _0x2a9c5b;}const _0x22f748=_0x555cd7[_0x5a1f52(0x21e)]?.[_0x5a1f52(0x1bd)],_0x486ab7=typeof _0x22f748===_0x5a1f52(0x20b)&&/^([a-f0-9-]{36})\.[A-Za-z0-9_-]{43}$/['exec'](_0x22f748)?.[0x1],_0x10a31f={};_0x10a31f[_0x5a1f52(0x1aa)]='failed',_0x10a31f[_0x5a1f52(0x211)]='GATEWAY_SELECTION_REQUIRED';if(!_0x486ab7)return[_0x10a31f];const _0x4bf10b=[];for(const _0x550a1f of _0x9724dd){const _0x2be0a9=_0x550a1f['slice'](0x0,-0x5);if(_0x2be0a9!==_0x486ab7)continue;const _0x2cedf0=path[_0x5a1f52(0x1fb)](_0x27aa2c,_0x550a1f),_0x59093e=path[_0x5a1f52(0x1fb)](_0x27aa2c,_0x2be0a9+_0x5a1f52(0x1e8));let _0x4b92dd,_0x3f70a4;try{if(fs[_0x5a1f52(0x1f5)](_0x2cedf0)[_0x5a1f52(0x1f3)]()||fs['lstatSync'](_0x59093e)['isSymbolicLink']())continue;_0x4b92dd=JSON['parse'](fs[_0x5a1f52(0x1bc)](_0x2cedf0)),_0x3f70a4=fs['readFileSync'](_0x59093e);if(_0x4b92dd[_0x5a1f52(0x1d5)]!==0x1||_0x4b92dd['connectionId']!==_0x2be0a9||_0x4b92dd['host']!==_0x5a1f52(0x20d)||_0x3f70a4[_0x5a1f52(0x213)]!==0x20)continue;}catch{continue;}const _0x272761={'protocol':0x2,'type':_0x5a1f52(0x1c4),'connectionId':_0x2be0a9,'nonce':crypto[_0x5a1f52(0x219)](),'workspace':_0x1f5a84,'nativeCaller':_0x555cd7};_0x272761[_0x5a1f52(0x200)]=signEnvelope(_0x3f70a4,_0x272761),_0x4bf10b[_0x5a1f52(0x1cc)](await new Promise(_0x1e2ca3=>{const _0x2ef0b0=_0x5a1f52,_0x2bc354=net[_0x2ef0b0(0x217)](_0x4b92dd[_0x2ef0b0(0x1d2)]);let _0x33b429='';const _0x51c4ae=_0xe410ab=>{const _0xe7f94a=_0x2ef0b0;_0x2bc354[_0xe7f94a(0x1b4)](),_0x1e2ca3(_0xe410ab);},_0x30ee1a={};_0x30ee1a[_0x2ef0b0(0x1aa)]=_0x2ef0b0(0x218),_0x30ee1a[_0x2ef0b0(0x211)]=_0x2ef0b0(0x21b),_0x2bc354[_0x2ef0b0(0x1c2)](Math[_0x2ef0b0(0x214)](0x1,Math['min'](0x2710,_0xf35bf['lease']?.[_0x2ef0b0(0x205)]()||0x2710)),()=>_0x51c4ae(_0x30ee1a));const _0xb377d1={};_0xb377d1[_0x2ef0b0(0x1aa)]=_0x2ef0b0(0x1fa),_0x2bc354['on'](_0x2ef0b0(0x201),()=>_0x51c4ae(_0xb377d1)),_0x2bc354['on']('connect',()=>_0x2bc354[_0x2ef0b0(0x1ec)](JSON['stringify'](_0x272761)+'\x0a')),_0x2bc354['on'](_0x2ef0b0(0x1d8),_0x50259b=>{const _0x352621=_0x2ef0b0;_0x33b429+=_0x50259b;const _0x570c66={};_0x570c66[_0x352621(0x1aa)]=_0x352621(0x218),_0x570c66[_0x352621(0x211)]=_0x352621(0x1ed);if(_0x33b429[_0x352621(0x213)]>0x2000)return _0x51c4ae(_0x570c66);const _0x2b7965=_0x33b429[_0x352621(0x206)]('\x0a');if(_0x2b7965<0x0)return;let _0x5a4673;try{_0x5a4673=JSON[_0x352621(0x1d7)](_0x33b429['slice'](0x0,_0x2b7965));}catch{const _0x183ae7={};return _0x183ae7[_0x352621(0x1aa)]=_0x352621(0x218),_0x51c4ae(_0x183ae7);}const _0xbea730={};_0xbea730[_0x352621(0x1aa)]=_0x352621(0x218),_0xbea730[_0x352621(0x211)]=_0x352621(0x1ed);if(!verifyEnvelope(_0x3f70a4,_0x5a4673,new Set(),_0x2be0a9)||_0x5a4673[_0x352621(0x1ee)]!==_0x272761[_0x352621(0x1ee)])return _0x51c4ae(_0xbea730);_0x51c4ae(_0x5a4673);});}));}return _0x4bf10b;}const _0x855f26={};_0x855f26[_0x3af450(0x1e9)]=GatewayContext,_0x855f26['prepareHookBinding']=prepareHookBinding,module[_0x3af450(0x1d1)]=_0x855f26;
|